Skip to content

Commit 45bbc8c

Browse files
feat: update to [ui5-webcomponents 1.0.0-rc.8](https://github.com/SAP/ui5-webcomponents/releases/tag/v1.0.0-rc.8) (#623)
BREAKING CHANGE: Deleted `Notification` component, replaced by `NotificationListItem` BREAKING CHANGE: Deleted `NotificationGroup` component, replaced by `NotificationGroupListItem` BREAKING CHANGE: **ProgressIndicator** replaced by UI5 Web Component with new API BREAKING CHANGE: **ShellBar**: `logo` is now accepting an `img` tag or the `Avatar` component. Passing a `string` with the URL to the image is not longer supported. BREAKING CHANGE: **TabContainer** will no longer automatically select the first tab, if no tab is selected. If you relied on this behaviour, you should now explicitly set the selected property on the first tab.
1 parent 3aec447 commit 45bbc8c

File tree

252 files changed

+3582
-5708
lines changed

Some content is hidden

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

252 files changed

+3582
-5708
lines changed

.eslint-imports.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
extends: ['plugin:import/errors', 'plugin:import/warnings', 'plugin:import/typescript'],
3+
rules: {
4+
'@typescript-eslint/no-unused-vars': 0,
5+
'@typescript-eslint/ban-types': 0,
6+
'import/order': [
7+
'error',
8+
{
9+
'newlines-between': 'never',
10+
alphabetize: {
11+
order: 'asc',
12+
caseInsensitive: true
13+
}
14+
}
15+
],
16+
'import/no-duplicates': 2
17+
}
18+
};

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ module.exports = {
66
'plugin:@typescript-eslint/recommended',
77
'plugin:@typescript-eslint/recommended-requiring-type-checking',
88
'plugin:react/recommended',
9-
'prettier'
9+
'prettier',
10+
'./.eslint-imports.js'
1011
],
1112
parser: '@typescript-eslint/parser',
1213
parserOptions: {

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: install dependencies
2525
run: yarn install
2626
- name: run tests
27-
run: yarn test
27+
run: yarn test --runInBand
2828
- name: Coveralls
2929
uses: coverallsapp/[email protected]
3030
with:

.github/workflows/npm-snapshot-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: install dependencies
2020
run: yarn install
2121
- name: run tests
22-
run: yarn test
22+
run: yarn test --runInBand
2323
- name: build project
2424
run: yarn build
2525
- name: publish

.storybook/preview-head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
.pageWithPadding > section {
88
padding: 1rem;
99
}
10+
11+
.sbdocs-content {
12+
max-width: 1400px !important;
13+
}
1014
</style>
1115
<script data-ui5-config type="application/json">
1216
{

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ You can find our documentation under the following links:
3333
- [Next Release Documentation](https://sap.github.io/ui5-webcomponents-react/master/)
3434

3535
## Migration Guide
36-
Migrating your app from `v0.8.X` to `v0.9.0` requires a few updates. You can find the most important changes and how to adapt your code to migrate to `v0.9.0` in our [Migration Guide](https://github.com/SAP/ui5-webcomponents-react/blob/master/docs/MigrationGuide.stories.mdx).
36+
Each new major version of this project might contain breaking changes which require you to change coding in your project.
37+
In order to help you with those tasks, we have prepared a [Migration Guide](https://sap.github.io/ui5-webcomponents-react/master/?path=/docs/migration-guide--page).
3738

3839

3940
## Package Overview

config/jestsetup.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import contentLoaderSerializer from '@shared/tests/serializer/content-loader-serializer.js';
22
import jssSerializer from '@shared/tests/serializer/jss-snapshot-serializer';
3+
import '@testing-library/jest-dom';
34
import Enzyme from 'enzyme';
45
import Adapter from 'enzyme-adapter-react-16';
56
import { createSerializer } from 'enzyme-to-json';
6-
import ResizeObserver from 'resize-observer-polyfill';
77
import 'intersection-observer';
8-
import '@testing-library/jest-dom';
8+
import ResizeObserver from 'resize-observer-polyfill';
99

1010
beforeAll(async () => {
1111
await import('@ui5/webcomponents/dist/Assets');
@@ -55,3 +55,4 @@ export const setupResizeObserver = () => {
5555

5656
setupMatchMedia();
5757
setupResizeObserver();
58+
window.scrollTo = jest.fn();

0 commit comments

Comments
 (0)