Skip to content

Commit d440b59

Browse files
docs: update migration guide (#927)
1 parent 1b8a7b1 commit d440b59

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

docs/2-MigrationGuide.stories.mdx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,41 @@ or the [changelog](https://github.com/SAP/ui5-webcomponents-react/blob/master/CH
2323

2424
<br />
2525

26+
### Updated import paths for `icons`
27+
28+
All icons imports are changed. The individual icons modules are available in the icon package's `dist` folder.
29+
If you previously had `import "@ui5/webcomponents-icons/dist/icons/accept.js"`, now it becomes `import "@ui5/webcomponents-icons/dist/accept.js";`.
30+
31+
<br />
32+
33+
### API Updates
34+
35+
The `Toolbar` was firing an event `onToolbarClick`. This event has been replaced with `onClick`.
36+
37+
<br />
38+
2639
### Deleted Components
2740

41+
<br />
42+
43+
#### Spinner
44+
45+
The deprecated `Spinner` component has been removed in favor of the [BusyIndicator](https://sap.github.io/ui5-webcomponents-react/?path=/docs/ui5-web-components-busyindicator) component.
46+
47+
Migration Example:
48+
49+
```jsx
50+
<Spinner size={Size.Large} delay={1000} />
51+
```
52+
53+
will become
54+
55+
```jsx
56+
<BusyIndicator size={BusyIndicatorSize.Large} active />
57+
```
58+
59+
#### Tokenizer
60+
2861
The deprecated `Tokenizer` component has been removed in favor of the [MultiInput](https://sap.github.io/ui5-webcomponents-react/?path=/docs/ui5-web-components-multiinput) component.
2962

3063
Migration Example:

0 commit comments

Comments
 (0)