Skip to content

Releases: EventStore/Design-System

@eventstore-ui/[email protected]

24 Jul 17:53
Compare
Choose a tag to compare

Patch Changes

  • 032ca21 - Prevent es-loading-text from overflowing it's parents

@eventstore-ui/[email protected]

21 Jun 12:38
Compare
Choose a tag to compare

Minor Changes

  • f895224 - Add es-empty-state to be used as the renderEmptyState of Page

@eventstore-ui/[email protected]

29 May 11:37
Compare
Choose a tag to compare

Minor Changes

  • a55cd76 - Improvements:

    • renderLoadingState prop in the Page component now accepts false to render normally.
    • TableCell props exptectedLength and variance for <es-loading-text /> rendering.
    • es-table prop loading added to indicate <es-loading-text /> rendering,.with loadingRows props to specify the number of rows to render.

    Bug fixes:

    • Removed fixStyle: 'inline-type-imports' from ESLint rules due to compatibility issues with @typescript-eslint/consistent-type-imports.

@eventstore-ui/[email protected]

29 May 11:37
Compare
Choose a tag to compare

Minor Changes

  • a55cd76 - Improvements:

    • renderLoadingState prop in the Page component now accepts false to render normally.
    • TableCell props exptectedLength and variance for <es-loading-text /> rendering.
    • es-table prop loading added to indicate <es-loading-text /> rendering,.with loadingRows props to specify the number of rows to render.

    Bug fixes:

    • Removed fixStyle: 'inline-type-imports' from ESLint rules due to compatibility issues with @typescript-eslint/consistent-type-imports.

@eventstore-ui/[email protected]

29 May 11:37
Compare
Choose a tag to compare

Minor Changes

  • a55cd76 - Improvements:

    • renderLoadingState prop in the Page component now accepts false to render normally.
    • TableCell props exptectedLength and variance for <es-loading-text /> rendering.
    • es-table prop loading added to indicate <es-loading-text /> rendering,.with loadingRows props to specify the number of rows to render.

    Bug fixes:

    • Removed fixStyle: 'inline-type-imports' from ESLint rules due to compatibility issues with @typescript-eslint/consistent-type-imports.

@eventstore-ui/[email protected]

27 May 13:13
Compare
Choose a tag to compare

Patch Changes

  • afe6084 - Add missing confirmVariant to ConfirmModalOptions

  • 59d3f19 - Add missing disabled prop to es-action-dropdown

@eventstore-ui/[email protected]

24 May 13:32
Compare
Choose a tag to compare

Minor Changes

  • 389e7e2 - Add actions for use in tables and panel headers

    es-actions - Action container.
    es-action - Generic button action.
    es-action-with-confirmation - An action button with confirmation modal.
    es-action-link - Link action.
    es-action-dropdown - A dropdown to contain more actions.
    ActionCopy - Copy some text.
    ActionDelete - Delete icon and confirmation modal.
    action.css - Styles for creating custom actions.

Patch Changes

  • 918e384 - Bug fix: Persist portaled elements when parent es-portal is moved in the DOM.

@eventstore-ui/[email protected]

15 May 07:53
Compare
Choose a tag to compare

Minor Changes

  • 14620f6 - Previously, when passing data directly to a table's rows (rather than passing strings and using getCellData), the data objects were being used as keys, causing unnecessary re-renders.

    es-table will now warn when this is happening, and exposes a new prop getRowKey to allow you to convert the data into a stable key.

    renderExpansion is now more accurately typed to have the passed row as any and and additionally recieves this converted key, as well as the index of the row.
    rowClass is also more accurately typed to have the passed row as any.

    es-table-nested exposes both getRowKey and getNestedRowKey for the nested table.

@eventstore-ui/[email protected]

14 May 09:01
Compare
Choose a tag to compare

Minor Changes

  • a643d2e - Get's a single item from the list store, or inserts a default and returns it.

    const item = store.getOrInsert('my-id', () => ({
        id: 'my-id',
        value: Math.random(),
    }));

@eventstore-ui/[email protected]

14 May 09:01
Compare
Choose a tag to compare

Minor Changes

  • 600322d - es-tabs

    Features

    • Add an icon between tabs with the interTabIcon and interTabIconSize props.
    • "header-end" slot added, for placing buttons alongside tabs

    Improvements

    • Tab sizes are now tracked, so that the indicator resizes (without animating) when the tabs are resized.
    • Tabs will now evenly collapse, and elipsis overflowing text

    Bug fixes

    • activeParam prop can now be changed after initial render