@synerise/ds-column-manager 0.11.72 → 0.12.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/ColumnManager.d.ts +7 -3
  3. package/dist/ColumnManager.js +1 -1
  4. package/dist/ColumnManager.types.d.ts +1 -1
  5. package/dist/ColumnManagerActions/ColumnManagerActions.d.ts +1 -1
  6. package/dist/ColumnManagerActions/ColumnManagerActions.js +1 -1
  7. package/dist/ColumnManagerActions/ColumnManagerActions.types.d.ts +1 -1
  8. package/dist/ColumnManagerGroupSettings/ColumnManagerGroupSettings.d.ts +1 -1
  9. package/dist/ColumnManagerGroupSettings/ColumnManagerGroupSettings.js +1 -1
  10. package/dist/ColumnManagerGroupSettings/ColumnManagerGroupSettings.types.d.ts +1 -1
  11. package/dist/ColumnManagerGroupSettings/RangesForm/RangeRow.d.ts +1 -1
  12. package/dist/ColumnManagerGroupSettings/RangesForm/RangeRow.js +1 -1
  13. package/dist/ColumnManagerGroupSettings/RangesForm/RangesForm.d.ts +1 -1
  14. package/dist/ColumnManagerGroupSettings/RangesForm/RangesForm.js +1 -1
  15. package/dist/ColumnManagerItem/ColumManagerItem.types.d.ts +1 -1
  16. package/dist/ColumnManagerItem/ColumnManagerItem.d.ts +1 -1
  17. package/dist/ColumnManagerItem/ColumnManagerItem.js +1 -1
  18. package/dist/ColumnManagerList/ColumnManagerList.d.ts +1 -1
  19. package/dist/ColumnManagerList/ColumnManagerList.js +1 -1
  20. package/dist/ColumnManagerList/ColumnManagerList.types.d.ts +1 -1
  21. package/dist/ColumnManagerSearchResults/ColumManagerResults.types.d.ts +1 -1
  22. package/dist/ColumnManagerSearchResults/ColumnManagerSearchResults.d.ts +1 -1
  23. package/dist/ColumnManagerSearchResults/ColumnManagerSearchResults.js +1 -1
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.js +2 -1
  26. package/package.json +20 -20
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.12.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@0.11.72...@synerise/ds-column-manager@0.12.0) (2024-09-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **storybook7:** table stories ([e90a78b](https://github.com/Synerise/synerise-design/commit/e90a78bc5673f1869e0cd9ffd98c9f1f82bf148e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.11.72](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@0.11.71...@synerise/ds-column-manager@0.11.72) (2024-09-13)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-column-manager
@@ -1,5 +1,9 @@
1
- import * as React from 'react';
2
- declare const _default: React.FC<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>> & {
3
- WrappedComponent: React.ComponentType<import("react-intl").WrappedComponentProps<string>>;
1
+ import React from 'react';
2
+ import { WrappedComponentProps } from 'react-intl';
3
+ import { ColumnManagerProps } from './ColumnManager.types';
4
+ declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<ColumnManagerProps & WrappedComponentProps<"intl">, "intl"> & {
5
+ forwardedRef?: React.Ref<any> | undefined;
6
+ } & React.RefAttributes<any>> & {
7
+ WrappedComponent: React.ComponentType<ColumnManagerProps & WrappedComponentProps<"intl">>;
4
8
  };
5
9
  export default _default;
@@ -12,7 +12,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
12
12
 
13
13
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
14
 
15
- import * as React from 'react';
15
+ import React from 'react';
16
16
  import { injectIntl } from 'react-intl';
17
17
  import Typography from 'antd/lib/typography';
18
18
  import Drawer from '@synerise/ds-drawer';
@@ -1,5 +1,5 @@
1
1
  import { ItemFilterProps } from '@synerise/ds-item-filter/dist/ItemFilter.types';
2
- import * as React from 'react';
2
+ import 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';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props, State } from './ColumnManagerActions.types';
3
3
  declare class ColumnManagerActions extends React.Component<Props, State> {
4
4
  state: State;
@@ -6,7 +6,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
6
6
 
7
7
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
8
 
9
- import * as React from 'react';
9
+ import React from 'react';
10
10
  import Button from '@synerise/ds-button';
11
11
  import Modal from '@synerise/ds-modal';
12
12
  import { Input, TextArea } from '@synerise/ds-input';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ViewMeta } from '../ColumnManager.types';
3
3
  export type Props = {
4
4
  onSave: (viewMeta: ViewMeta) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { GroupSettingsProps } from './ColumnManagerGroupSettings.types';
3
3
  declare const ColumnManagerGroupSettings: React.FC<GroupSettingsProps>;
4
4
  export default ColumnManagerGroupSettings;
@@ -5,7 +5,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
5
5
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
 
7
7
  import Modal from '@synerise/ds-modal';
8
- import * as React from 'react';
8
+ import React from 'react';
9
9
  import Select from '@synerise/ds-select';
10
10
  import Icon, { InfoFillS, Add3M } from '@synerise/ds-icon';
11
11
  import Tooltip from '@synerise/ds-tooltip';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { GroupSettings } from '../ColumnManager.types';
3
3
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
4
4
  export type GroupSettingsTexts = 'groupByValue' | 'groupByRanges' | 'groupByIntervals' | 'groupDisabled' | 'groupTitle' | 'selectPlaceholder' | 'intervalPlaceholder' | 'groupingType' | 'groupingTypeTooltip' | 'from' | 'to' | 'remove' | 'addRange' | 'errorEmptyRange' | 'errorEmptyFromField' | 'errorEmptyToField' | 'errorChooseGrouping' | 'errorInterval' | 'errorRange';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { ColumnType } from '../../ColumnManagerItem/ColumManagerItem.types';
3
3
  import { GroupSettingsTexts, Range } from '../ColumnManagerGroupSettings.types';
4
4
  interface RangeRowProps {
@@ -4,7 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4
4
 
5
5
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
 
7
- import * as React from 'react';
7
+ import React from 'react';
8
8
  import Icon, { CloseS } from '@synerise/ds-icon';
9
9
  import { theme } from '@synerise/ds-core';
10
10
  import Tooltip from '@synerise/ds-tooltip';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { GroupSettingsTexts, Range } from '../ColumnManagerGroupSettings.types';
3
3
  import { ColumnType } from '../../ColumnManagerItem/ColumManagerItem.types';
4
4
  interface RangeFormProps {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { v4 as uuid } from 'uuid';
3
3
  import * as S from './RangesForm.styles';
4
4
  import RangeRow from './RangeRow';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export type ColumnType = string | 'text' | 'number' | 'date' | 'boolean' | 'list';
3
3
  export type Column = {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const _default: React.ForwardRefExoticComponent<{
3
3
  draggable?: boolean | undefined;
4
4
  children?: React.ReactNode;
@@ -2,7 +2,7 @@ var _excluded = ["item", "theme", "setFixed", "switchAction", "draggable", "sear
2
2
 
3
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
4
 
5
- import * as React from 'react';
5
+ import React from 'react';
6
6
  import Icon, { CheckS, DividerM, DragHandleM, Grid4M, Grid5M, OptionHorizontalM, PinM, VarTypeBooleanM, VarTypeDateM, VarTypeListM, VarTypeNumberM, VarTypeStringM } from '@synerise/ds-icon';
7
7
  import Switch from '@synerise/ds-switch/dist/Switch';
8
8
  import { withTheme } from 'styled-components';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props } from './ColumnManagerList.types';
3
3
  declare const ColumnManagerList: React.FC<Props>;
4
4
  export default ColumnManagerList;
@@ -1,6 +1,6 @@
1
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import * as React from 'react';
3
+ import React from 'react';
4
4
  import { ReactSortable } from 'react-sortablejs';
5
5
  import * as S from './ColumnManager.style';
6
6
  import ColumnManagerItem from '../ColumnManagerItem/ColumnManagerItem';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
3
3
  import { GroupSettings } from '../ColumnManager.types';
4
4
  export type Props = {
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Column } from '../ColumnManagerItem/ColumManagerItem.types';
3
3
  export type Props = {
4
4
  searchResults: Column[];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props } from './ColumManagerResults.types';
3
3
  declare const ColumnManagerSearchResults: React.FC<Props>;
4
4
  export default ColumnManagerSearchResults;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import Result from '@synerise/ds-result';
3
3
  import * as S from '../ColumnManagerList/ColumnManager.style';
4
4
  import { SearchResults } from './ColumnMangerSearchResults.styles';
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export { default } from './ColumnManager';
2
+ export { GROUP_BY } from './ColumnManagerGroupSettings/ColumnManagerGroupSettings.types';
3
+ export type { GroupSettings } from './ColumnManager.types';
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
- export { default } from './ColumnManager';
1
+ export { default } from './ColumnManager';
2
+ export { GROUP_BY } from './ColumnManagerGroupSettings/ColumnManagerGroupSettings.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-column-manager",
3
- "version": "0.11.72",
3
+ "version": "0.12.0",
4
4
  "description": "ColumnManager UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -30,24 +30,24 @@
30
30
  "sideEffects": false,
31
31
  "types": "dist/index.d.ts",
32
32
  "dependencies": {
33
- "@synerise/ds-alert": "^0.8.28",
34
- "@synerise/ds-button": "^0.21.10",
35
- "@synerise/ds-drawer": "^0.6.23",
36
- "@synerise/ds-dropdown": "^0.18.14",
37
- "@synerise/ds-icon": "^0.65.5",
38
- "@synerise/ds-input": "^0.24.4",
39
- "@synerise/ds-input-number": "^0.10.5",
40
- "@synerise/ds-item-filter": "^0.8.147",
41
- "@synerise/ds-menu": "^0.19.14",
42
- "@synerise/ds-modal": "^0.17.41",
43
- "@synerise/ds-result": "^0.7.4",
44
- "@synerise/ds-scrollbar": "^0.11.10",
45
- "@synerise/ds-search-bar": "^0.6.89",
46
- "@synerise/ds-select": "^0.16.16",
47
- "@synerise/ds-switch": "^0.6.14",
48
- "@synerise/ds-tooltip": "^0.14.40",
49
- "@synerise/ds-typography": "^0.15.1",
50
- "@synerise/ds-utils": "^0.29.2",
33
+ "@synerise/ds-alert": "^0.8.29",
34
+ "@synerise/ds-button": "^0.21.11",
35
+ "@synerise/ds-drawer": "^0.6.24",
36
+ "@synerise/ds-dropdown": "^0.18.15",
37
+ "@synerise/ds-icon": "^0.65.6",
38
+ "@synerise/ds-input": "^0.24.5",
39
+ "@synerise/ds-input-number": "^0.10.6",
40
+ "@synerise/ds-item-filter": "^0.8.148",
41
+ "@synerise/ds-menu": "^0.19.15",
42
+ "@synerise/ds-modal": "^0.17.42",
43
+ "@synerise/ds-result": "^0.7.5",
44
+ "@synerise/ds-scrollbar": "^0.11.11",
45
+ "@synerise/ds-search-bar": "^0.6.90",
46
+ "@synerise/ds-select": "^0.16.17",
47
+ "@synerise/ds-switch": "^0.6.15",
48
+ "@synerise/ds-tooltip": "^0.14.41",
49
+ "@synerise/ds-typography": "^0.15.2",
50
+ "@synerise/ds-utils": "^0.29.3",
51
51
  "react-intl": "3.12.0",
52
52
  "react-sortablejs": "^6.0.0",
53
53
  "uuid": "^8.3.2"
@@ -58,5 +58,5 @@
58
58
  "react": ">=16.9.0 <= 17.0.2",
59
59
  "styled-components": "5.0.1"
60
60
  },
61
- "gitHead": "6f3231e4a9e0720ffee61b748488cecd590da6e6"
61
+ "gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
62
62
  }