Skip to content

Commit fb7d5c6

Browse files
feat: upgrade ui5-webcomponents to 1.0.0-rc.9 (#705)
BREAKING CHANGE: **Token**: the Token text is now defined via the `text` prop, `children` has no effect anymore. BREAKING CHANGE: **Token**: `onDelete` is removed as the Token shouldn’t be used as a standalone component. Closes #674
1 parent 6c74e5d commit fb7d5c6

File tree

91 files changed

+770
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+770
-225
lines changed

.github/workflows/release-rc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: 'Release - Release Candidate'
22

33
on:
44
workflow_dispatch
5+
inputs:
6+
release_type:
7+
description: 'Release Type: premajor | preminor | prepatch | prerelease'
8+
required: true
9+
default: 'prerelease'
510

611
jobs:
712
build-and-release:
@@ -32,7 +37,7 @@ jobs:
3237
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
3338
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
3439
35-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
40+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
3641
--conventional-prerelease \
3742
--create-release github \
3843
--dist-tag next \

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"pretest": "rimraf coverage && lerna run build:i18n",
1414
"test": "jest --config=config/jest.config.js --coverage",
1515
"clean": "lerna run clean --stream && rimraf coverage",
16-
"prettier:all": "prettier --write --config ./prettier.config.js \"packages/**/*.{ts,tsx}\"",
16+
"prettier:all": "prettier --write --config ./prettier.config.js \"packages/**/*.{ts,tsx,mdx}\"",
1717
"lint": "eslint packages",
1818
"lerna:version-dryrun": "lerna version --conventional-graduate --no-git-tag-version --no-push",
1919
"deploy:storybook": "lerna run build:i18n && storybook-to-ghpages --ci"
@@ -27,9 +27,9 @@
2727
"@storybook/cli": "6.0.26",
2828
"@storybook/react": "6.0.26",
2929
"@storybook/theming": "6.0.26",
30-
"@ui5/webcomponents": "1.0.0-rc.8",
31-
"@ui5/webcomponents-fiori": "1.0.0-rc.8",
32-
"@ui5/webcomponents-icons": "1.0.0-rc.8",
30+
"@ui5/webcomponents": "1.0.0-rc.9",
31+
"@ui5/webcomponents-fiori": "1.0.0-rc.9",
32+
"@ui5/webcomponents-icons": "1.0.0-rc.9",
3333
"react": "16.8.0",
3434
"react-dom": "16.8.0",
3535
"react-syntax-highlighter": "^13.5.1"
@@ -59,7 +59,7 @@
5959
"@types/react-dom": "^16.9.6",
6060
"@typescript-eslint/eslint-plugin": "^4.4.0",
6161
"@typescript-eslint/parser": "^4.4.0",
62-
"@ui5/webcomponents-tools": "^1.0.0-rc.8",
62+
"@ui5/webcomponents-tools": "^1.0.0-rc.9",
6363
"babel-loader": "^8.1.0",
6464
"chalk": "^4.0.0",
6565
"dedent": "^0.7.0",

packages/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@sap-theming/theming-base-content": "11.1.18"
3737
},
3838
"peerDependencies": {
39-
"@ui5/webcomponents-base": "0.22.0",
39+
"@ui5/webcomponents-base": "1.0.0-rc.9",
4040
"react": "^16.8.0",
4141
"react-jss": "^10.0.4"
4242
},

packages/charts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"recharts": "2.0.0-beta.6"
2727
},
2828
"peerDependencies": {
29-
"@ui5/webcomponents-react": "^0.9.0",
30-
"@ui5/webcomponents-react-base": "^0.9.0",
29+
"@ui5/webcomponents-react": "^0.11.0",
30+
"@ui5/webcomponents-react-base": "^0.11.0",
3131
"react": "^16.8.0",
3232
"react-jss": "^10.0.4"
3333
},

packages/cra-template/template.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"package": {
33
"dependencies": {
4-
"@ui5/webcomponents": "1.0.0-rc.8",
5-
"@ui5/webcomponents-fiori": "1.0.0-rc.8",
6-
"@ui5/webcomponents-icons": "1.0.0-rc.8",
7-
"@ui5/webcomponents-react": "^0.10.0",
4+
"@ui5/webcomponents": "1.0.0-rc.9",
5+
"@ui5/webcomponents-fiori": "1.0.0-rc.9",
6+
"@ui5/webcomponents-icons": "1.0.0-rc.9",
7+
"@ui5/webcomponents-react": "^0.11.0",
88
"@testing-library/react": "^9.3.2",
99
"@testing-library/jest-dom": "^4.2.4",
1010
"@testing-library/user-event": "^7.1.2",

packages/main/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"react-virtual": "2.2.4"
4242
},
4343
"peerDependencies": {
44-
"@ui5/webcomponents": "1.0.0-rc.8",
45-
"@ui5/webcomponents-base": "0.22.0",
46-
"@ui5/webcomponents-fiori": "1.0.0-rc.8",
47-
"@ui5/webcomponents-icons": "1.0.0-rc.8",
44+
"@ui5/webcomponents": "1.0.0-rc.9",
45+
"@ui5/webcomponents-base": "1.0.0-rc.9",
46+
"@ui5/webcomponents-fiori": "1.0.0-rc.9",
47+
"@ui5/webcomponents-icons": "1.0.0-rc.9",
4848
"react": "^16.8.0",
4949
"react-dom": "^16.8.0"
5050
},

packages/main/src/components/ActionSheet/__snapshots__/ActionSheet.test.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,27 @@ exports[`ActionSheet Render without Crashing 1`] = `
77
class="ActionSheet-actionSheet myCustomClass"
88
horizontal-align="Center"
99
placement-type="Right"
10+
ui5-responsive-popover=""
1011
vertical-align="Center"
1112
>
1213
<ui5-button
1314
data-is-action-sheet-button=""
1415
design="Transparent"
16+
ui5-button=""
1517
>
1618
Accept
1719
</ui5-button>
1820
<ui5-button
1921
data-is-action-sheet-button=""
2022
design="Transparent"
23+
ui5-button=""
2124
>
2225
Reject
2326
</ui5-button>
2427
<ui5-button
2528
data-is-action-sheet-button=""
2629
design="Transparent"
30+
ui5-button=""
2731
>
2832
This is my super long text!
2933
</ui5-button>
@@ -38,11 +42,13 @@ exports[`ActionSheet does not crash with other component 1`] = `
3842
class="ActionSheet-actionSheet"
3943
horizontal-align="Center"
4044
placement-type="Right"
45+
ui5-responsive-popover=""
4146
vertical-align="Center"
4247
>
4348
<ui5-label
4449
data-is-action-sheet-button=""
4550
design="Transparent"
51+
ui5-label=""
4652
>
4753
I should not crash
4854
</ui5-label>

packages/main/src/components/AnalyticalTable/__snapshots__/AnalyticalTable.test.tsx.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,6 +2741,7 @@ exports[`AnalyticalTable test Asc desc 1`] = `
27412741
>
27422742
<ui5-title
27432743
level="H2"
2744+
ui5-title=""
27442745
>
27452746
Test
27462747
</ui5-title>
@@ -3147,6 +3148,7 @@ exports[`AnalyticalTable test Asc desc 2`] = `
31473148
>
31483149
<ui5-title
31493150
level="H2"
3151+
ui5-title=""
31503152
>
31513153
Test
31523154
</ui5-title>
@@ -3553,6 +3555,7 @@ exports[`AnalyticalTable test Asc desc 3`] = `
35533555
>
35543556
<ui5-title
35553557
level="H2"
3558+
ui5-title=""
35563559
>
35573560
Test
35583561
</ui5-title>

0 commit comments

Comments
 (0)