Skip to content

braid-design-system@31.24.0

Choose a tag to compare

@seek-oss-ci seek-oss-ci released this 05 Feb 22:19
· 799 commits to master since this release
588f302

Minor Changes

  • Accordion, AccordionItem: Add weight support (#1211)

    Add support for customising the weight of AccordionItems.
    This can be either at an Accordion level or on a standalone AccordionItem based on design requirements.

    Note, in order to maintain visual consistency, the weight prop can only be specified on an AccordionItem when outside of an Accordion.

    EXAMPLE USAGE:

    <Accordion weight="strong">
      <AccordionItem />
      ...
    </Accordion>

    or

    <AccordionItem weight="strong" />

Patch Changes

  • CheckboxStandalone: Enable alignment with Text (#1209)

    Enables CheckboxStandalone to be wrapped in a Text component, 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>