Oct 15, 2024
  • Apply max width to all inline components

    Apply a maxWidth of content to ensure component widths are controlled by their content — not growing to the size of their container.

Jun 28, 2024
  • Tag: Add missing click event parameter to onClear prop type

  • Tag: Introduce "addable" support

    Tag actions have been extended to now support being “added”. A Tag will include a small add icon button when both an onAdd handler and addLabel prop are provided.

    EXAMPLE USAGE:

    <Tag onAdd={() => {...}} addLabel="Add Tag" />
Jun 14, 2024
  • Move secondary ButtonIcon tone to icons

    Following the deprecation of the secondary tone of ButtonIcon, this updates all internal usages to apply the secondary tone directly to the icon.

May 24, 2024
  • Tag: Add small size

    Introduce a new small size for Tag component. This size sits alongside the existing standard size, which is the default.

    EXAMPLE USAGE:

    <Tag size="small">
      Tag
    </Tag>
Nov 9, 2022
  • Support data attribute boolean values

    The data attribute map now supports boolean values. This provides an improvement for the developer experience, no longer having to convert values to strings explicitly.

    EXAMPLE USAGE:

    <Component
      data={{
        'custom-attribute': true,
      }}
    />
    // => <div data-custom-attribute="true" />
Oct 21, 2022
  • Removes custom icon sizing and layout in favour of new typography icon sizes and layout.

Apr 8, 2022
  • Tag: Add id support

  • Tag: Add icon support

    Provides a designed slot for adding an icon to a Tag

    EXAMPLE USAGE:

    <Tag
      icon={<IconPromote />}
      {...}
    />
  • Autosuggest, Dialog, Drawer, OverflowMenu, Tag, TextField, useToast: Migrate to use ButtonIcon

    Adopt new ButtonIcon for clear/close actions in favour of custom internal buttons.

Dec 7, 2021
  • Alert, Autosuggest, Tag, TextField: Use neutral tone button style for clear action

Jun 21, 2021
  • Box, Tag, Toggle: Make borderRadius="full" always circular

    Fixes circular border radius bug where non-square elements would result in an ellipse.

May 19, 2021
  • Add support for data attribute maps on all components.

    EXAMPLE USAGE:

    <Alert
      data={{
        testId: 'message'
      }}
    />
    
    // => <div data-testId="message" />