v29.3.0
Minor Changes
-
Badge: Allow custom title text (#738)
EXAMPLE USAGE
<Badge tone="positive" title="3 new jobs"> 3 </Badge>
-
Improved server rendering of Tabs (#737)
Previously,
TabandTabPanelcomponents only showed their content and active states after the first render, which meant server rendering was not ideal. Active Tabs and TabPanel content can now be server rendered. Uncontrolled usages of Tabs should just work.For controlled Tabs using the
selectedItemprop, you now need to pass theitemprop (already onTab) toTabPanelas well.<TabsProvider id="id" selectedItem="second"> <Tabs label="Test tabs"> <Tab item="first">The first tab</Tab> <Tab item="second">The second tab</Tab> <Tab item="third">The third tab</Tab> </Tabs> <TabPanels> - <TabPanel> + <TabPanel item="first"> <Placeholder height={200} label="Panel 1" /> </TabPanel> - <TabPanel> + <TabPanel item="second"> <Placeholder height={200} label="Panel 2" /> </TabPanel> - <TabPanel> + <TabPanel item="third"> <Placeholder height={200} label="Panel 3" /> </TabPanel> </TabPanels> </TabsProvider> -
ContentBlock: Add support for xsmall & small widths (#735)
EXAMPLE USAGE
<ContentBlock width="small">...</ContentBlock>