Skip to content

braid-design-system@34.5.0

Choose a tag to compare

@seek-oss-ci seek-oss-ci released this 21 Jul 04:41
f3c5c79

Minor Changes

  • Drawer: Allow users to add fixed footer content to Drawer. (#2091)

    EXAMPLE USAGE:

      <Drawer
        title="Drawer"
        open={true}
        footer={
          <Actions>
            <Button variant="solid" tone="formAccent">
              Save
            </Button>
            <Button variant="transparent" tone="formAccent">
              Cancel
            </Button>
          </Actions>
        }
      >
  • IconRenderer: Add tone support (#2085)

    Enable custom icons to use Braid tones in the same way as first-class Braid icons.

    EXAMPLE USAGE:

    <IconRenderer tone={tone}>
      {({ className }) => (
        <svg
          xmlns="http://www.w3.org/2000/svg"
          viewBox="0 0 24 24"
          fill="currentColor"
          className={className}
        >
          ...
        </svg>
      )}
    </IconRenderer>
  • Dialog: Allow users to add fixed footer content to Dialog. (#2091)

    EXAMPLE USAGE:

      <Dialog
        title="Dialog"
        open={true}
        footer={
          <Actions>
            <Button variant="solid" tone="formAccent">
              Save
            </Button>
            <Button variant="transparent" tone="formAccent">
              Cancel
            </Button>
          </Actions>
        }
      >

Patch Changes

  • Reduce consumer bundle size by including only the required fonts from @capsizecss/metrics (#2086)