v0.4.0
0.4.0 (2019-07-15)
This is the consolidated Changelog from v0.3.0 to v0.4.0, if you are upgrading from a rc
version please check the detailed changelog,
Features
- AnalyticalTable: Added option to create pivot tables (#47) (71b546d)
- ThemeProvider: Read config from UI5 Web Components (efee11f)
- WebComponents: Updated to v1.0.0-rc.2 (#51) (8a40deb), closes #51
Bug Fixes
- CSS-Variables: remove trailing semicolon (#53) (f9d1daf), closes #49
- ObjectPage: Highlight selected section while scrolling (#56) (42a6a10)
- ObjectPage: Added Hide Header Button (#28) (5509098)
- RadialChart: Handle width and height prop correctly (#52) (2d3f091)
- ThemeProvider: Only inject theme properties if they are not present (#55) (3ec61d5)
- Table: Fixed Table and adapt slot handling (#50) (2159ab1)
Code Refactoring
- base: Merge
styles
andutils
intobase
(#38) (9309505), closes #34 - Custom Components: Expose HTML Element via ref in every component (#54) (c285ee6)
- withWebComponent: replace innerComponentRef with ref for Web Components (#44) (08982ba)
BREAKING CHANGES
- Button: Use design with
ButtonDesign
, type withButtonType
is deleted - Button:
onPress
renamed toonClick
- Card:
onHeaderPress
renamed toonHeaderClick
- Custom Components: All Components now expose their root html node/the encapsulated Web Component via ref instead of the React instance.
- Dialog: remove prop
noHeader
- Link:
onPress
renamed toonClick
- List:
onItemPress
renamed toonItemClick
- Link: Use design with
LinkDesign
, type withLinkType
is deleted - MessageStrip:
hideIcon
andhideCloseButton
are renamed tonoIcon
andnoCloseButton
- Popup: remove prop
noHeader
- ResponsivePopover: Deleted
ResponsivePopover
, please use thePopover
Component - Select: the parameter of the change event is now called
selectedOption
- Select: Use
Option
instead ofStandardListItem
for selection - ShellBar:
onProfilePress
renamed toonProfileClick
- ShellBar:
onNotificationsPress
renamed toonNotificationsClick
- ShellBar:
onProductSwitchPress
renamed toonProductSwitchClick
- ShellBar:
onLogoPress
renamed toonLogoClick
- ShellBar:
onCoPilotPress
renamed toonCoPilotClick
- ShellBarItem: prop
onPress
is renamed toonClick
- Switch: type is removed, use
graphical
- Table: Use prop
slot
instead ofdata-ui5-slot
- Table: prop
rows
is replaced bychildren
- TableRow: prop
header
is replaced bychildren
- ThemeProvider: Themes: rename Theme
sap_fiori3_light
tosap_fiori_3
- ThemeProvider: ThemeProvider: removed contentDensity and theme props. To set those, use the ui5 WebComponents configuration script tag.
- TimelineItem:
onItemNamePress
renamed toonItemNameClick
- ToggleButton: Use design with
ButtonDesign
, type withButtonDesign
is deleted - ToggleButton:
onPress
renamed toonClick
- withWebComponent: Replaced
innerComponentRef
withref
to support ReactRefObject
Please also check the UI5 Web Components Release Notes