braid-design-system@31.24.0
·
799 commits
to master
since this release
Minor Changes
-
Accordion, AccordionItem: Add
weightsupport (#1211)Add support for customising the
weightofAccordionItems.
This can be either at anAccordionlevel or on a standaloneAccordionItembased on design requirements.Note, in order to maintain visual consistency, the
weightprop can only be specified on anAccordionItemwhen outside of anAccordion.EXAMPLE USAGE:
<Accordion weight="strong"> <AccordionItem /> ... </Accordion>
or
<AccordionItem weight="strong" />
Patch Changes
-
CheckboxStandalone: Enable alignment with Text (#1209)
Enables
CheckboxStandaloneto be wrapped in aTextcomponent, ensuring it only occupies the same layout as text.
This is useful for visually aligning checkboxes in a custom layout alongside other text-based components, e.g.AccordionItem.EXAMPLE USAGE:
<Columns> <Column> <Text> <CheckboxStandalone /> </Text> </Column> <Column> <AccordionItem /> </Column> </Columns>