Upgrade 0.23 to 0.24
Change startupjs and all @startupjs/* dependencies in your package.json to ^0.24.
DEPRECATIONS
UI configuration and overrides
- Override ui configuration in
startupjs.config.jsis now deprecated. Your root styles filestyles/index.stylshould be used instead:
- When you want to have your ui configuration available in JS, use the newly added feature of exporting css to js:
Then import variables colors, config and foobar in the ShoppingCart/index.js file:
BREAKING CHANGES
Alert
- Deprecated
iconColorproperty is removed - Deprecated
colorproperty is removed. Use thevariantproperty instead.
Button
- For
colorproperty use color names from$UI.colorsinstead of passing hex color - Deprecated
iconColorproperty is removed. UseiconStyleNameinstead - Deprecated
textColorproperty is removed. UsetextStyleNameinstead
Icon
- Deprecated
colorproperty is removed. UsestyleNameinstead
Loader
- For
colorproperty use color names from$UI.colorsinstead of passing hex color
TextInput
- Deprecated
iconColorproperty is removed. UseiconStyleNameinstead
Span
- Deprecated
sizeproperty is removed. Usefont()mixin in your StyleSheet
Tag
- For
colorproperty use color names from$UI.colorsinstead of passing hex color - Deprecated
iconColorproperty is removed. UseiconStyleNameinstead - Deprecated
textColorproperty is removed. UsetextStyleNameinstead