You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/2-MigrationGuide.stories.mdx
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,41 @@ or the [changelog](https://github.com/SAP/ui5-webcomponents-react/blob/master/CH
23
23
24
24
<br />
25
25
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
+
26
39
### Deleted Components
27
40
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
+
28
61
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.
0 commit comments