Skip to content

Commit d6d3e2a

Browse files
Merge branch 'master' into ESMDevScripts
2 parents fccb1ef + 831a5d7 commit d6d3e2a

File tree

195 files changed

+8356
-6094
lines changed

Some content is hidden

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

195 files changed

+8356
-6094
lines changed

.eslintignore

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,44 @@
11
packages/*/src/lib/
2-
packages/*/lib/
3-
packages/*/dist/
2+
3+
# build results for base package
4+
packages/base/cjs
5+
packages/base/Device
6+
packages/base/hooks
7+
packages/base/lib
8+
packages/base/polyfill
9+
packages/base/scripts
10+
packages/base/styling
11+
packages/base/types
12+
packages/base/utils
13+
14+
# build results for charts package
15+
packages/charts/cjs
16+
packages/charts/components
17+
packages/charts/hooks
18+
packages/charts/interfaces
19+
packages/charts/internal
20+
packages/charts/lib
21+
22+
# build results for main package
23+
packages/main/cjs
24+
packages/main/components
25+
packages/main/dist
26+
packages/main/enums
27+
packages/main/interfaces
28+
packages/main/internal
29+
packages/main/lib
30+
packages/main/scripts
31+
packages/main/webComponents
32+
33+
434
scripts
535
shared
6-
.eslintrc.js
36+
.eslintrc.cjs
737
*.stories.tsx
838
*.test.tsx
939
*.test.ts
1040
rollup.config.js
1141
index.cjs.js
1242
index.esm.js
1343
packages/cra-template
44+

.eslintrc.cjs

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ module.exports = {
66
'plugin:@typescript-eslint/recommended',
77
'plugin:@typescript-eslint/recommended-requiring-type-checking',
88
'plugin:react/recommended',
9-
'prettier',
10-
'./.eslint-imports.js'
9+
'plugin:import/errors',
10+
'plugin:import/warnings',
11+
'plugin:import/typescript',
12+
'prettier'
1113
],
1214
parser: '@typescript-eslint/parser',
1315
parserOptions: {
@@ -122,6 +124,17 @@ module.exports = {
122124
'react/self-closing-comp': 'error',
123125
'spaced-comment': 'error',
124126
'use-isnan': 'error',
125-
'valid-typeof': 'off'
127+
'valid-typeof': 'off',
128+
'import/order': [
129+
'error',
130+
{
131+
'newlines-between': 'never',
132+
alphabetize: {
133+
order: 'asc',
134+
caseInsensitive: true
135+
}
136+
}
137+
],
138+
'import/no-duplicates': 2
126139
}
127140
};

.github/workflows/release-rc.yml

Lines changed: 40 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,48 @@
11
name: 'Release - Release Candidate'
22

3-
on:
4-
workflow_dispatch
5-
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_type:
7+
description: 'Release Type: premajor | preminor | prepatch | prerelease'
8+
required: true
9+
default: 'prerelease'
10+
611
jobs:
712
build-and-release:
813
if: github.actor == 'MarcusNotheis' || github.actor == 'vbersch' || github.actor == 'Lukas742'
9-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest
1015

1116
steps:
12-
- uses: actions/[email protected]
13-
with:
14-
token: ${{ secrets.ACCESS_TOKEN }}
15-
fetch-depth: 0
16-
17-
- name: Setup Node.js environment
18-
uses: actions/[email protected]
19-
with:
20-
node-version: 12.x
21-
22-
- name: Install, test and build
23-
run: |
24-
yarn install
25-
yarn test
26-
yarn build
27-
28-
- name: publish
29-
run: |
30-
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
31-
32-
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
33-
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
34-
35-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
36-
--conventional-prerelease \
37-
--create-release github \
38-
--dist-tag next \
39-
--pre-dist-tag next
40-
env:
41-
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
17+
- uses: actions/[email protected]
18+
with:
19+
token: ${{ secrets.ACCESS_TOKEN }}
20+
fetch-depth: 0
21+
22+
- name: Setup Node.js environment
23+
uses: actions/[email protected]
24+
with:
25+
node-version: 12.x
26+
27+
- name: Install, test and build
28+
run: |
29+
yarn install
30+
yarn test
31+
yarn build
32+
33+
- name: publish
34+
run: |
35+
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
36+
37+
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
38+
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
39+
40+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
41+
--conventional-prerelease \
42+
--create-release github \
43+
--dist-tag next \
44+
--pre-dist-tag next
45+
env:
46+
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
4348

.github/workflows/release.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: 'Release'
22

3-
on:
3+
on:
44
workflow_dispatch:
55
inputs:
66
release_type:
77
description: 'Release Type: patch | minor | major'
88
required: true
99
default: 'patch'
10-
10+
1111
jobs:
1212
build-and-release:
1313
if: github.actor == 'MarcusNotheis' || github.actor == 'vbersch' || github.actor == 'Lukas742'
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/[email protected]
18-
with:
19-
token: ${{ secrets.ACCESS_TOKEN }}
20-
fetch-depth: 0
21-
22-
- name: Setup Node.js environment
23-
uses: actions/[email protected]
24-
with:
25-
node-version: 12.x
26-
27-
- name: Install, test and build
28-
run: |
29-
yarn install
30-
yarn test
31-
yarn build
32-
33-
- name: publish
34-
run: |
35-
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
36-
37-
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
38-
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
39-
40-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
41-
--conventional-graduate \
42-
--create-release github
43-
env:
44-
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
45-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
17+
- uses: actions/[email protected]
18+
with:
19+
token: ${{ secrets.ACCESS_TOKEN }}
20+
fetch-depth: 0
21+
22+
- name: Setup Node.js environment
23+
uses: actions/[email protected]
24+
with:
25+
node-version: 12.x
26+
27+
- name: Install, test and build
28+
run: |
29+
yarn install
30+
yarn test
31+
yarn build
32+
33+
- name: publish
34+
run: |
35+
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
36+
37+
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
38+
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
39+
40+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
41+
--conventional-graduate \
42+
--create-release github
43+
env:
44+
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
45+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.github/workflows/stale.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Mark and close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
17+
days-before-stale: 21
18+
# The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues.
19+
days-before-close: 30
20+
# The message to post on the issue when tagging it. If none provided, will not mark issues stale.
21+
stale-issue-message: >
22+
Hi everyone!
23+
Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion.
24+
Inactive issues will be closed after 30 days. Thanks.
25+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
26+
close-issue-message: >
27+
Hey there, it's me again!
28+
I am going close this issue to help our maintainers focus on the current development roadmap instead.
29+
If the issue mentioned is still a concern, please open a new ticket and mention this old one.
30+
# The labels to apply when an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2")
31+
exempt-issue-labels: 'good first issue,todo'

CHANGELOG.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,83 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.11.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.11.0-rc.1...v0.11.0) (2020-10-15)
7+
8+
_This release is a combining the changes of `0.11.0-rc.0` and `0.11.0-rc.1` in a stable release._
9+
10+
### Features
11+
12+
* **AnalyticalTable:** add header tooltip property to column ([#721](https://github.com/SAP/ui5-webcomponents-react/issues/721)) ([3cde696](https://github.com/SAP/ui5-webcomponents-react/commit/3cde6965f26e53465e9a8af1fef53874da910307)), closes [#704](https://github.com/SAP/ui5-webcomponents-react/issues/704)
13+
* **AnalyticalTable:** always show scrollbars if needed ([#706](https://github.com/SAP/ui5-webcomponents-react/issues/706)) ([6fcb42a](https://github.com/SAP/ui5-webcomponents-react/commit/6fcb42ae61ea3723a6bf7411a83cbf3c0aace9c4)), closes [#698](https://github.com/SAP/ui5-webcomponents-react/issues/698
14+
* **Toolbar:** accept react fragments as children ([#723](https://github.com/SAP/ui5-webcomponents-react/issues/723)) ([9697b43](https://github.com/SAP/ui5-webcomponents-react/commit/9697b432541c34d29fda35b7a225cd4ac9c431d0))
15+
* **upgrade ui5-webcomponents to 1.0.0-rc.9** ([#705](https://github.com/SAP/ui5-webcomponents-react/issues/705)) ([fb7d5c6](https://github.com/SAP/ui5-webcomponents-react/commit/fb7d5c62d10a6afa161cbd55c75850a068ec3383)), closes [#674](https://github.com/SAP/ui5-webcomponents-react/issues/674)
16+
17+
### Bug Fixes
18+
19+
* **AnalyticalTable:** don't crash when removing columns ([#716](https://github.com/SAP/ui5-webcomponents-react/issues/716)) ([6c74e5d](https://github.com/SAP/ui5-webcomponents-react/commit/6c74e5dcdefbdd41812c4a8d081afd060dbecdb0))
20+
* **AnalyticalTable:** show all columns in Dialog ([#722](https://github.com/SAP/ui5-webcomponents-react/issues/722)) ([5e21750](https://github.com/SAP/ui5-webcomponents-react/commit/5e21750443e76d2e92b276513af59562106e6f8e)), closes [#719](https://github.com/SAP/ui5-webcomponents-react/issues/719)
21+
22+
23+
### chore
24+
25+
* delete deprecated FilterItem ([#717](https://github.com/SAP/ui5-webcomponents-react/issues/717)) ([f30d2fc](https://github.com/SAP/ui5-webcomponents-react/commit/f30d2fc83a6bc4173b83e303fc2659e673c8633b)), closes [#646](https://github.com/SAP/ui5-webcomponents-react/issues/646)
26+
27+
28+
### BREAKING CHANGES
29+
30+
* deleted deprecated component `FilterItem`, please use `FilterGroupItem` instead. The `FilterBar` is now accepting only `FilterGroupItem`s as children.
31+
* **Token**: the Token text is now defined via the `text` prop, `children` has no effect anymore.
32+
* **Token**: `onDelete` is removed as the Token shouldn’t be used as a standalone component.
33+
34+
35+
36+
37+
38+
# [0.11.0-rc.1](https://github.com/SAP/ui5-webcomponents-react/compare/v0.11.0-rc.0...v0.11.0-rc.1) (2020-10-13)
39+
40+
41+
### Bug Fixes
42+
43+
* **AnalyticalTable:** show all columns in Dialog ([#722](https://github.com/SAP/ui5-webcomponents-react/issues/722)) ([5e21750](https://github.com/SAP/ui5-webcomponents-react/commit/5e21750443e76d2e92b276513af59562106e6f8e)), closes [#719](https://github.com/SAP/ui5-webcomponents-react/issues/719)
44+
45+
46+
### Features
47+
48+
* **AnalyticalTable:** add header tooltip property to column ([#721](https://github.com/SAP/ui5-webcomponents-react/issues/721)) ([3cde696](https://github.com/SAP/ui5-webcomponents-react/commit/3cde6965f26e53465e9a8af1fef53874da910307)), closes [#704](https://github.com/SAP/ui5-webcomponents-react/issues/704)
49+
* **AnalyticalTable:** always show scrollbars if needed ([#706](https://github.com/SAP/ui5-webcomponents-react/issues/706)) ([6fcb42a](https://github.com/SAP/ui5-webcomponents-react/commit/6fcb42ae61ea3723a6bf7411a83cbf3c0aace9c4)), closes [#698](https://github.com/SAP/ui5-webcomponents-react/issues/698)
50+
51+
52+
53+
54+
55+
# [0.11.0-rc.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.10.10...v0.11.0-rc.0) (2020-10-08)
56+
57+
58+
### Bug Fixes
59+
60+
* **AnalyticalTable:** don't crash when removing columns ([#716](https://github.com/SAP/ui5-webcomponents-react/issues/716)) ([6c74e5d](https://github.com/SAP/ui5-webcomponents-react/commit/6c74e5dcdefbdd41812c4a8d081afd060dbecdb0))
61+
62+
63+
### chore
64+
65+
* delete deprecated FilterItem ([#717](https://github.com/SAP/ui5-webcomponents-react/issues/717)) ([f30d2fc](https://github.com/SAP/ui5-webcomponents-react/commit/f30d2fc83a6bc4173b83e303fc2659e673c8633b)), closes [#646](https://github.com/SAP/ui5-webcomponents-react/issues/646)
66+
67+
68+
### Features
69+
70+
* upgrade ui5-webcomponents to 1.0.0-rc.9 ([#705](https://github.com/SAP/ui5-webcomponents-react/issues/705)) ([fb7d5c6](https://github.com/SAP/ui5-webcomponents-react/commit/fb7d5c62d10a6afa161cbd55c75850a068ec3383)), closes [#674](https://github.com/SAP/ui5-webcomponents-react/issues/674)
71+
72+
73+
### BREAKING CHANGES
74+
75+
* deleted deprecated component `FilterItem`, please use `FilterGroupItem` instead. The `FilterBar` is now accepting only `FilterGroupItem`s as children.
76+
* **Token**: the Token text is now defined via the `text` prop, `children` has no effect anymore.
77+
* **Token**: `onDelete` is removed as the Token shouldn’t be used as a standalone component.
78+
79+
80+
81+
82+
683
## [0.10.10](https://github.com/SAP/ui5-webcomponents-react/compare/v0.10.9...v0.10.10) (2020-10-02)
784

885

0 commit comments

Comments
 (0)