Releases: EventStore/Design-System
@eventstore-ui/[email protected]
Patch Changes
032ca21
- Prevent es-loading-text from overflowing it's parents
@eventstore-ui/[email protected]
Minor Changes
f895224
- Addes-empty-state
to be used as therenderEmptyState
ofPage
@eventstore-ui/[email protected]
Minor Changes
-
a55cd76
- Improvements:renderLoadingState
prop in thePage
component now accepts false to render normally.TableCell
propsexptectedLength
andvariance
for<es-loading-text />
rendering.es-table
proploading
added to indicate<es-loading-text />
rendering,.withloadingRows
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]
Minor Changes
-
a55cd76
- Improvements:renderLoadingState
prop in thePage
component now accepts false to render normally.TableCell
propsexptectedLength
andvariance
for<es-loading-text />
rendering.es-table
proploading
added to indicate<es-loading-text />
rendering,.withloadingRows
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]
Minor Changes
-
a55cd76
- Improvements:renderLoadingState
prop in thePage
component now accepts false to render normally.TableCell
propsexptectedLength
andvariance
for<es-loading-text />
rendering.es-table
proploading
added to indicate<es-loading-text />
rendering,.withloadingRows
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]
@eventstore-ui/[email protected]
Minor Changes
-
389e7e2
- Addactions
for use in tables and panel headerses-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 parentes-portal
is moved in the DOM.
@eventstore-ui/[email protected]
Minor Changes
-
14620f6
- Previously, when passing data directly to a table's rows (rather than passing strings and usinggetCellData
), 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 propgetRowKey
to allow you to convert the data into a stable key.renderExpansion
is now more accurately typed to have the passed row asany
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 asany
.es-table-nested
exposes bothgetRowKey
andgetNestedRowKey
for the nested table.
@eventstore-ui/[email protected]
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]
Minor Changes
-
600322d
-es-tabs
Features
- Add an icon between tabs with the
interTabIcon
andinterTabIconSize
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
- Add an icon between tabs with the