Skip to content

Commit

Permalink
feat(types): adds types for Filters, QuickFilters, Spacings, DataTabl…
Browse files Browse the repository at this point in the history
…e, and DataTableManager components to UI Kit preset (#3004)
  • Loading branch information
ByronDWall authored Dec 4, 2024
1 parent a7ff09f commit 8bee358
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-mirrors-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/ui-kit': patch
---

Add types for Filters, QuickFilters, Spacings, DataTable, and DataTableManager components to UI Kit preset
39 changes: 34 additions & 5 deletions presets/ui-kit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ export {
type TFieldErrors,
} from '@commercetools-uikit/field-errors';
/** TODO: Add Types w/next release */
export { default as Filters } from '@commercetools-uikit/filters';
export {
default as Filters,
type TFiltersProps,
type TFilterConfiguration,
type TFilterGroupConfiguration,
type TAppliedFilter,
} from '@commercetools-uikit/filters';
export {
default as Grid,
type TGridItemProps,
Expand Down Expand Up @@ -106,16 +112,39 @@ export {
type TProgressBarProps,
} from '@commercetools-uikit/progress-bar';
/** TODO: Add Types w/next release */
export { default as QuickFilters } from '@commercetools-uikit/quick-filters';
export {
default as QuickFilters,
type TQuickFiltersProps,
} from '@commercetools-uikit/quick-filters';
/** TODO: Add Types w/next release */
export { default as Spacings } from '@commercetools-uikit/spacings';
export {
default as Spacings,
type TSpacings,
type TInlineProps,
type TInsetProps,
type TInsetSquishProps,
type TStackProps,
} from '@commercetools-uikit/spacings';
export {
default as Stamp,
type TStampProps,
type TTone as TStampTone,
} from '@commercetools-uikit/stamp';
export { default as DataTable } from '@commercetools-uikit/data-table';
export { default as DataTableManager } from '@commercetools-uikit/data-table-manager';
export {
default as DataTable,
type TRow,
type TColumn,
type TDataTableProps,
} from '@commercetools-uikit/data-table';
export {
default as DataTableManager,
type TDataTableManagerProps,
type TColumnProps,
type TColumnData,
type TDataTableSettingsProps,
type TColumnSettingsManagerProps,
type TDataTableManagerContext,
} from '@commercetools-uikit/data-table-manager';
export {
Tag,
TagList,
Expand Down

0 comments on commit 8bee358

Please sign in to comment.