braid-design-system@25.2.0
·
1350 commits
to master
since this release
Minor Changes
-
Theme: Introduce the Catho theme (#550)
Adds support to build product for the Catho market. This theme is an adaption of the Quantum Design System.
-
Add
AccordionandAccordionItemcomponents (#587)Example usage:
<Accordion> <AccordionItem id="item_1" label="Accordion item 1"> <Text>Accordion item content</Text> </AccordionItem> <AccordionItem id="item_2" label="Accordion item 2"> <Text>Accordion item content</Text> </AccordionItem> <AccordionItem id="item_3" label="Accordion item 3"> <Text>Accordion item content</Text> </AccordionItem> </Accordion>
Accordions manage their own state internally by default. If you'd like to take control of them yourself, you can pass an
expandedprop toAccordionItemas well as anonTogglecallback.const [expanded, setExpanded] = useState(false); <AccordionItem id="id" label="Accordion item" expanded={expanded} onToggle={setExpanded} > <Text>Accordion item content</Text> </AccordionItem>;
-
Box: Add support for
outline="none"(#587)
Patch Changes
-
Drop lodash usage to decrease bundle size. (#585)
This directly affects
MonthPickerand any components using thedataprop:- All field components
- OverflowMenu
- MenuRenderer
- Button