@commercetools-uikit/data-table-manager 15.9.0 → 15.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -968,7 +968,7 @@ DataTableManager.displayName = 'DataTableManager';
968
968
  var DataTableManager$1 = DataTableManager;
969
969
 
970
970
  // NOTE: This string will be replaced on build time with the package version.
971
- var version = "15.9.0";
971
+ var version = "15.10.0";
972
972
 
973
973
  Object.defineProperty(exports, 'useRowSelection', {
974
974
  enumerable: true,
@@ -818,7 +818,7 @@ DataTableManager.displayName = 'DataTableManager';
818
818
  var DataTableManager$1 = DataTableManager;
819
819
 
820
820
  // NOTE: This string will be replaced on build time with the package version.
821
- var version = "15.9.0";
821
+ var version = "15.10.0";
822
822
 
823
823
  Object.defineProperty(exports, 'useRowSelection', {
824
824
  enumerable: true,
@@ -930,6 +930,6 @@ DataTableManager.displayName = 'DataTableManager';
930
930
  var DataTableManager$1 = DataTableManager;
931
931
 
932
932
  // NOTE: This string will be replaced on build time with the package version.
933
- var version = "15.9.0";
933
+ var version = "15.10.0";
934
934
 
935
935
  export { UPDATE_ACTIONS, DataTableManager$1 as default, version };
@@ -1,10 +1,10 @@
1
1
  import { type ReactElement, type ReactNode, type MouseEvent, type KeyboardEvent, type Dispatch } from 'react';
2
2
  import { type DropResult } from 'react-beautiful-dnd';
3
- declare type TColumnData = {
3
+ type TColumnData = {
4
4
  key: string;
5
5
  label: ReactNode;
6
6
  };
7
- declare type TColumnSettingsManagerProps = {
7
+ type TColumnSettingsManagerProps = {
8
8
  availableColumns: TColumnData[];
9
9
  selectedColumns: TColumnData[];
10
10
  onUpdateColumns: (updatedColums: TColumnData[]) => void;
@@ -3,7 +3,7 @@ import { type TDataTableSettingsProps } from './data-table-settings';
3
3
  export interface TRow {
4
4
  id: string;
5
5
  }
6
- export declare type TColumnProps = {
6
+ export type TColumnProps = {
7
7
  key: string;
8
8
  label: ReactNode;
9
9
  width?: string;
@@ -16,7 +16,7 @@ export declare type TColumnProps = {
16
16
  disableResizing?: boolean;
17
17
  shouldIgnoreRowClick?: boolean;
18
18
  };
19
- declare type TDataTableManagerProps = {
19
+ type TDataTableManagerProps = {
20
20
  columns: TColumnProps[];
21
21
  children: ReactElement;
22
22
  displaySettings?: TDataTableSettingsProps['displaySettings'];
@@ -1,18 +1,18 @@
1
1
  import { type ReactElement, type ReactNode } from 'react';
2
2
  import { type MessageDescriptor } from 'react-intl';
3
- declare type TColumnData = {
3
+ type TColumnData = {
4
4
  key: string;
5
5
  label: ReactNode;
6
6
  };
7
- declare type MappedColumns = Record<string, TColumnData>;
8
- export declare type TDisplaySettingsProps = {
7
+ type MappedColumns = Record<string, TColumnData>;
8
+ export type TDisplaySettingsProps = {
9
9
  disableDisplaySettings?: boolean;
10
10
  isCondensed?: boolean;
11
11
  isWrappingText?: boolean;
12
12
  primaryButton?: ReactElement;
13
13
  secondaryButton?: ReactElement;
14
14
  };
15
- export declare type TColumnManagerProps = {
15
+ export type TColumnManagerProps = {
16
16
  areHiddenColumnsSearchable?: boolean;
17
17
  disableColumnManager?: boolean;
18
18
  visibleColumnKeys: string[];
@@ -22,7 +22,7 @@ export declare type TColumnManagerProps = {
22
22
  primaryButton?: ReactElement;
23
23
  secondaryButton?: ReactElement;
24
24
  };
25
- export declare type TDataTableSettingsProps = {
25
+ export type TDataTableSettingsProps = {
26
26
  topBar?: ReactNode;
27
27
  onSettingsChange?: (settingName: string, settingValue: boolean | string[]) => void;
28
28
  displaySettings?: TDisplaySettingsProps;
@@ -1,5 +1,5 @@
1
1
  import type { ChangeEventHandler, MouseEvent, KeyboardEvent, ReactElement } from 'react';
2
- export declare type TDensityManagerProps = {
2
+ export type TDensityManagerProps = {
3
3
  isCondensed?: boolean;
4
4
  isWrappingText?: boolean;
5
5
  primaryButton?: ReactElement;
@@ -1,9 +1,9 @@
1
1
  import type { ReactNode } from 'react';
2
- declare type TColumnData = {
2
+ type TColumnData = {
3
3
  key: string;
4
4
  label: ReactNode;
5
5
  };
6
- declare type TDraggableTagProps = {
6
+ type TDraggableTagProps = {
7
7
  column: TColumnData;
8
8
  index: number;
9
9
  isDisabled?: boolean;
@@ -1,9 +1,9 @@
1
1
  import type { ReactNode } from 'react';
2
- declare type TColumnData = {
2
+ type TColumnData = {
3
3
  key: string;
4
4
  label: ReactNode;
5
5
  };
6
- declare type TDroppablePanelProps = {
6
+ type TDroppablePanelProps = {
7
7
  droppableId: string;
8
8
  noColumnsText: ReactNode;
9
9
  columns: TColumnData[];
@@ -1,6 +1,6 @@
1
1
  import type { KeyboardEvent, MouseEvent, ReactElement, ReactNode } from 'react';
2
2
  import { type MessageDescriptor } from 'react-intl';
3
- declare type TSettingsContainerProps = {
3
+ type TSettingsContainerProps = {
4
4
  title: MessageDescriptor & {
5
5
  values?: Record<string, React.ReactNode>;
6
6
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/data-table-manager",
3
3
  "description": "This component enhances the DataTable component and additionally provides a UI and state management to handle configuration of the table such as column manager.",
4
- "version": "15.9.0",
4
+ "version": "15.10.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,25 +21,25 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.19.0",
23
23
  "@babel/runtime-corejs3": "^7.19.1",
24
- "@commercetools-uikit/accessible-button": "15.9.0",
25
- "@commercetools-uikit/accessible-hidden": "15.9.0",
26
- "@commercetools-uikit/async-select-input": "15.9.0",
27
- "@commercetools-uikit/card": "15.9.0",
28
- "@commercetools-uikit/collapsible-motion": "15.9.0",
29
- "@commercetools-uikit/design-system": "15.9.0",
30
- "@commercetools-uikit/field-label": "15.9.0",
31
- "@commercetools-uikit/grid": "15.9.0",
32
- "@commercetools-uikit/hooks": "15.9.0",
33
- "@commercetools-uikit/icons": "15.9.0",
34
- "@commercetools-uikit/primary-button": "15.9.0",
35
- "@commercetools-uikit/radio-input": "15.9.0",
36
- "@commercetools-uikit/secondary-button": "15.9.0",
37
- "@commercetools-uikit/secondary-icon-button": "15.9.0",
38
- "@commercetools-uikit/select-input": "15.9.0",
39
- "@commercetools-uikit/spacings": "15.9.0",
40
- "@commercetools-uikit/tag": "15.9.0",
41
- "@commercetools-uikit/text": "15.9.0",
42
- "@commercetools-uikit/utils": "15.9.0",
24
+ "@commercetools-uikit/accessible-button": "15.10.0",
25
+ "@commercetools-uikit/accessible-hidden": "15.10.0",
26
+ "@commercetools-uikit/async-select-input": "15.10.0",
27
+ "@commercetools-uikit/card": "15.10.0",
28
+ "@commercetools-uikit/collapsible-motion": "15.10.0",
29
+ "@commercetools-uikit/design-system": "15.10.0",
30
+ "@commercetools-uikit/field-label": "15.10.0",
31
+ "@commercetools-uikit/grid": "15.10.0",
32
+ "@commercetools-uikit/hooks": "15.10.0",
33
+ "@commercetools-uikit/icons": "15.10.0",
34
+ "@commercetools-uikit/primary-button": "15.10.0",
35
+ "@commercetools-uikit/radio-input": "15.10.0",
36
+ "@commercetools-uikit/secondary-button": "15.10.0",
37
+ "@commercetools-uikit/secondary-icon-button": "15.10.0",
38
+ "@commercetools-uikit/select-input": "15.10.0",
39
+ "@commercetools-uikit/spacings": "15.10.0",
40
+ "@commercetools-uikit/tag": "15.10.0",
41
+ "@commercetools-uikit/text": "15.10.0",
42
+ "@commercetools-uikit/utils": "15.10.0",
43
43
  "@emotion/react": "^11.4.0",
44
44
  "@emotion/styled": "^11.3.0",
45
45
  "debounce-promise": "^3.1.2",