braid-design-system@33.3.0
Minor Changes
-
Table: Add component (#1673)
EXAMPLE USAGE:
<Table label="Table example"> <TableHeader> <TableRow> <TableHeaderCell>...</TableHeaderCell> <TableHeaderCell>...</TableHeaderCell> <TableHeaderCell>...</TableHeaderCell> </TableRow> </TableHeader> <TableBody> <TableRow> <TableCell>...</TableCell> <TableCell>...</TableCell> <TableCell>...</TableCell> </TableRow> ... </TableBody> </Table>
-
MenuRenderer, OverflowMenu: Add
smallsize. (#1675)Introduce a new
smallsize forMenuRendererandOverflowMenu.
This is available via thesizeprop, which supports the existingstandard(default) andsmall.EXAMPLE USAGE:
<MenuRenderer size="small" ... />
Patch Changes
-
Tiles: Fixes a bug where nested
Tilescomponents could calculate their columns incorrectly. (#1667)Previously, when using a
Tilescomponent inside anotherTilescomponent, the responsive column calculation could be incorrect in certain scenarios.
This change ensures nestedTileselements always calculate their columns correctly. -
Button, ButtonLink: Ensure inner label is full width (#1671)
Ensuring the inner label element is full width to maintain backwards compatibility with previous block layout.
-
Columns: Ensure component occupies available height (#1672)
Enables
Columnscontent to occupy the available height of the parent container. -
AccordionItem: Simplify internal layout. (#1674)
-
Accordion, AccordionItem: Adjust spacing values for improved visual balance. (#1674)
This change reduces the default spacing within
AccordionandAccordionItemcomponents at certain sizes, ensuring the content is better associated with the correctAccordionItem.Within the
Accordioncomponent, the default space betweenAccordionItemcomponents has been reduced for sizelargewith dividers, and sizessmallandxsmallwithout dividers.
Within theAccordionItemcomponent, the space between thelabeland content has been reduced for sizeslargeandsmall.