Skip to content

braid-design-system@34.8.0

Choose a tag to compare

@seek-oss-ci seek-oss-ci released this 01 Sep 06:02
· 6 commits to master since this release
2eeb061

Minor Changes

  • IconRenderer: Add support for size="fill" (#2132)

    EXAMPLE USAGE:
    Provides the ability for custom icons to be sized to their container in the same way as Braid icons.

    <Box style={{ height: 60, width: 60 }}>
      <IconRenderer size="fill">
        {({ className }) => (
          <svg
            viewBox="0 0 24 24"
            className={className}
            fill="currentcolor"
            aria-hidden
          >
            ...
          </svg>
        )}
      </IconRenderer>
    </Box>
  • Accordion: Deprecate space prop and update spacing defaults (#2120)

    The space prop is now deprecated and will be removed in a future release. Spacing between items is now automatically derived from the size prop.

    The following default spacing value has been updated:

    dividers size Previous default New default
    false standard large medium

    MIGRATION GUIDE:

    If the updated default causes an undesired visual change, you can preserve the previous spacing by explicitly setting the space prop while migrating:

     <Accordion
    +  space="large"
       dividers={false}
       size="standard"
     >

Patch Changes

  • Dialog, Drawer: Improve close button positioning on mobile (#2130)

  • Drawer: Ensure full height content extends to available height (#2130)