@synerise/ds-column-manager 0.11.9 → 0.11.11

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.11.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@0.11.10...@synerise/ds-column-manager@0.11.11) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-column-manager
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.11.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@0.11.9...@synerise/ds-column-manager@0.11.10) (2023-09-26)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-column-manager
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.11.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@0.11.8...@synerise/ds-column-manager@0.11.9) (2023-09-21)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-column-manager
@@ -463,8 +463,7 @@ var ColumnManager = /*#__PURE__*/function (_React$Component) {
463
463
  }]);
464
464
 
465
465
  return ColumnManager;
466
- }(React.Component); // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
467
- // @ts-ignore
466
+ }(React.Component); // @ts-ignore
468
467
 
469
468
 
470
469
  export default injectIntl(ColumnManager);
@@ -3,8 +3,8 @@ import * as React from 'react';
3
3
  import { IntlFormatters } from 'react-intl';
4
4
  import { Column } from './ColumnManagerItem/ColumManagerItem.types';
5
5
  import { Range, GroupSettingsTexts } from './ColumnManagerGroupSettings/ColumnManagerGroupSettings.types';
6
- export declare type Texts = GroupSettingsTexts | 'title' | 'savedViews' | 'searchPlaceholder' | 'searchClearTooltip' | 'noResults' | 'searchResults' | 'visible' | 'hidden' | 'saveView' | 'cancel' | 'apply' | 'fixedLeft' | 'fixedRight' | 'group' | 'clear' | 'viewName' | 'viewDescription' | 'viewNamePlaceholder' | 'viewDescriptionPlaceholder' | 'switchOn' | 'switchOff' | 'mustNotBeEmpty';
7
- export declare type ColumnManagerProps = {
6
+ export type Texts = GroupSettingsTexts | 'title' | 'savedViews' | 'searchPlaceholder' | 'searchClearTooltip' | 'noResults' | 'searchResults' | 'visible' | 'hidden' | 'saveView' | 'cancel' | 'apply' | 'fixedLeft' | 'fixedRight' | 'group' | 'clear' | 'viewName' | 'viewDescription' | 'viewNamePlaceholder' | 'viewDescriptionPlaceholder' | 'switchOn' | 'switchOff' | 'mustNotBeEmpty';
7
+ export type ColumnManagerProps = {
8
8
  hide: () => void;
9
9
  visible: boolean;
10
10
  onSave: (savedView: SavedView) => void;
@@ -19,17 +19,17 @@ export declare type ColumnManagerProps = {
19
19
  intl: IntlFormatters;
20
20
  groupSettings?: GroupSettings;
21
21
  };
22
- export declare type SavedView = {
22
+ export type SavedView = {
23
23
  meta: ViewMeta;
24
24
  groupSettings?: GroupSettings;
25
25
  columns: Column[];
26
26
  };
27
- export declare type ViewMeta = {
27
+ export type ViewMeta = {
28
28
  name: string;
29
29
  description: string;
30
30
  };
31
- export declare type GroupType = 'value' | 'ranges' | 'interval' | string | undefined;
32
- export declare type GroupSettings = {
31
+ export type GroupType = 'value' | 'ranges' | 'interval' | string | undefined;
32
+ export type GroupSettings = {
33
33
  column?: Column;
34
34
  settings: {
35
35
  type: GroupType;
@@ -37,7 +37,7 @@ export declare type GroupSettings = {
37
37
  interval: number | false;
38
38
  };
39
39
  };
40
- export declare type State = {
40
+ export type State = {
41
41
  searchQuery: string;
42
42
  visibleList: Column[];
43
43
  hiddenList: Column[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ViewMeta } from '../ColumnManager.types';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  onSave: (viewMeta: ViewMeta) => void;
5
5
  onApply: () => void;
6
6
  onCancel: () => void;
@@ -9,12 +9,12 @@ export declare type Props = {
9
9
  };
10
10
  };
11
11
  export declare const INPUT_NAMES: readonly ["name", "description"];
12
- export declare type FormFields = {
12
+ export type FormFields = {
13
13
  [k in typeof INPUT_NAMES[number]]: {
14
14
  value: string;
15
15
  error: string | React.ReactNode;
16
16
  };
17
17
  };
18
- export declare type State = FormFields & {
18
+ export type State = FormFields & {
19
19
  modalVisible: boolean;
20
20
  };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { GroupSettings } from '../ColumnManager.types';
3
3
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
4
- export declare type GroupSettingsTexts = 'groupByValue' | 'groupByRanges' | 'groupByIntervals' | 'groupDisabled' | 'groupTitle' | 'selectPlaceholder' | 'intervalPlaceholder' | 'groupingType' | 'groupingTypeTooltip' | 'from' | 'to' | 'remove' | 'addRange' | 'errorEmptyRange' | 'errorEmptyFromField' | 'errorEmptyToField' | 'errorChooseGrouping' | 'errorInterval' | 'errorRange';
4
+ export type GroupSettingsTexts = 'groupByValue' | 'groupByRanges' | 'groupByIntervals' | 'groupDisabled' | 'groupTitle' | 'selectPlaceholder' | 'intervalPlaceholder' | 'groupingType' | 'groupingTypeTooltip' | 'from' | 'to' | 'remove' | 'addRange' | 'errorEmptyRange' | 'errorEmptyFromField' | 'errorEmptyToField' | 'errorChooseGrouping' | 'errorInterval' | 'errorRange';
5
5
  export declare const GROUP_BY: {
6
6
  [key: string]: string;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Props } from '@synerise/ds-input/dist/Input.types';
3
3
  import { Props as NumberInputProps } from '@synerise/ds-input-number/dist/InputNumber.types';
4
- declare type RangeInputProps = Omit<Props, 'value' | 'onChange'> & Omit<NumberInputProps, 'value' | 'onChange'> & {
4
+ type RangeInputProps = Omit<Props, 'value' | 'onChange'> & Omit<NumberInputProps, 'value' | 'onChange'> & {
5
5
  value: React.ReactText | undefined;
6
6
  onChange: (value: number | string | undefined) => void;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- export declare type ColumnType = string | 'text' | 'number' | 'date' | 'boolean' | 'list';
3
- export declare type Column = {
2
+ export type ColumnType = string | 'text' | 'number' | 'date' | 'boolean' | 'list';
3
+ export type Column = {
4
4
  id: string;
5
5
  key: React.ReactText;
6
6
  name: string;
@@ -9,7 +9,7 @@ export declare type Column = {
9
9
  fixed?: string | 'left' | 'right';
10
10
  group?: boolean;
11
11
  };
12
- export declare type ColumnProps = {
12
+ export type ColumnProps = {
13
13
  setFixed: (id: string, fixed?: string) => void;
14
14
  showGroupSettings: (item: Column) => void;
15
15
  draggable?: boolean;
@@ -1,6 +1,16 @@
1
1
  import * as React from 'react';
2
- import { ColumnProps } from './ColumManagerItem.types';
3
- declare const _default: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<ColumnProps>, "children" | "draggable" | "texts" | "item" | "setFixed" | "switchAction" | "searchQuery" | "showGroupSettings"> & {
2
+ declare const _default: React.ForwardRefExoticComponent<{
3
+ draggable?: boolean | undefined;
4
+ children?: React.ReactNode;
5
+ texts: {
6
+ [k: string]: React.ReactNode;
7
+ };
8
+ item: import("./ColumManagerItem.types").Column;
9
+ setFixed: (id: string, fixed?: string | undefined) => void;
10
+ switchAction: (id: string, visible: boolean) => void;
11
+ searchQuery?: string | undefined;
12
+ showGroupSettings: (item: import("./ColumManagerItem.types").Column) => void;
13
+ } & {
4
14
  theme?: any;
5
15
  }>;
6
16
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
3
3
  import { GroupSettings } from '../ColumnManager.types';
4
- export declare type Props = {
4
+ export type Props = {
5
5
  searchQuery: string;
6
6
  visibleList: Column[];
7
7
  hiddenList: Column[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  searchResults: Column[];
5
5
  searchQuery: string;
6
6
  setFixed: (id: string, fixed?: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-column-manager",
3
- "version": "0.11.9",
3
+ "version": "0.11.11",
4
4
  "description": "ColumnManager UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -29,24 +29,24 @@
29
29
  "sideEffects": false,
30
30
  "types": "dist/index.d.ts",
31
31
  "dependencies": {
32
- "@synerise/ds-alert": "^0.7.42",
33
- "@synerise/ds-button": "^0.18.1",
34
- "@synerise/ds-drawer": "^0.5.42",
35
- "@synerise/ds-dropdown": "^0.17.79",
36
- "@synerise/ds-icon": "^0.58.1",
37
- "@synerise/ds-input": "^0.19.1",
38
- "@synerise/ds-input-number": "^0.8.23",
39
- "@synerise/ds-item-filter": "^0.8.87",
40
- "@synerise/ds-menu": "^0.17.18",
41
- "@synerise/ds-modal": "^0.17.4",
42
- "@synerise/ds-result": "^0.6.30",
43
- "@synerise/ds-scrollbar": "^0.6.6",
44
- "@synerise/ds-search-bar": "^0.6.43",
45
- "@synerise/ds-select": "^0.15.19",
46
- "@synerise/ds-switch": "^0.4.43",
47
- "@synerise/ds-tooltip": "^0.14.3",
48
- "@synerise/ds-typography": "^0.12.10",
49
- "@synerise/ds-utils": "^0.24.15",
32
+ "@synerise/ds-alert": "^0.7.44",
33
+ "@synerise/ds-button": "^0.18.3",
34
+ "@synerise/ds-drawer": "^0.5.44",
35
+ "@synerise/ds-dropdown": "^0.17.81",
36
+ "@synerise/ds-icon": "^0.58.3",
37
+ "@synerise/ds-input": "^0.19.3",
38
+ "@synerise/ds-input-number": "^0.8.25",
39
+ "@synerise/ds-item-filter": "^0.8.89",
40
+ "@synerise/ds-menu": "^0.17.20",
41
+ "@synerise/ds-modal": "^0.17.6",
42
+ "@synerise/ds-result": "^0.6.32",
43
+ "@synerise/ds-scrollbar": "^0.6.8",
44
+ "@synerise/ds-search-bar": "^0.6.45",
45
+ "@synerise/ds-select": "^0.15.21",
46
+ "@synerise/ds-switch": "^0.4.45",
47
+ "@synerise/ds-tooltip": "^0.14.5",
48
+ "@synerise/ds-typography": "^0.13.1",
49
+ "@synerise/ds-utils": "^0.24.17",
50
50
  "react-intl": "3.12.0",
51
51
  "react-sortablejs": "^6.0.0",
52
52
  "uuid": "^8.3.2"
@@ -61,5 +61,5 @@
61
61
  "@testing-library/jest-dom": "5.1.1",
62
62
  "@testing-library/react": "10.0.1"
63
63
  },
64
- "gitHead": "7df57233258ec34b90c3c92dbe1696788abd6ec6"
64
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
65
65
  }