Jun 12, 2024
  • ContentBlock: Add support for left alignment

    Introduces horizontal alignment support for ContentBlock, enabling content to be constrained to a max width and aligned to the left.

    Useful inside of larger PageBlock or ContentBlock elements when constraining the content for readability or length of form fields.

    EXAMPLE USAGE:

    <ContentBlock align="left">
      ...
    </ContentBlock>
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" />
May 19, 2021
  • Add support for data attribute maps on all components.

    EXAMPLE USAGE:

    <Alert
      data={{
        testId: 'message'
      }}
    />
    
    // => <div data-testId="message" />
Aug 27, 2020
  • ContentBlock: Ensure block is full width

    Fixes an issue where ContentBlocks inside of flex containers would not grow to their defined max-width.

Aug 21, 2020
  • ContentBlock: Add support for xsmall & small widths

    EXAMPLE USAGE

    <ContentBlock width="small">
      ...
    </ContentBlock>