@synerise/ds-column-manager 1.2.12 → 1.2.13

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,14 @@
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
+ ## [1.2.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.12...@synerise/ds-column-manager@1.2.13) (2025-09-16)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-column-manager
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.2.11...@synerise/ds-column-manager@1.2.12) (2025-09-02)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-column-manager
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import type { ColumnManagerProps } from './ColumnManager.types';
3
- import type { Column } from './ColumnManagerItem/ColumManagerItem.types';
2
+ import type { Column, ColumnManagerProps } from './ColumnManager.types';
4
3
  declare const ColumnManager: <ColumnType extends Column>({ columns, texts: customTexts, onApply, visible, hide, draggable, }: ColumnManagerProps<ColumnType>) => React.JSX.Element;
5
4
  export default ColumnManager;
@@ -1,5 +1,12 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { Column } from './ColumnManagerItem/ColumManagerItem.types';
2
+ export type Column = {
3
+ id: string;
4
+ name: string;
5
+ visible: boolean;
6
+ readOnly?: boolean;
7
+ type?: ColumnIconType;
8
+ };
9
+ export type ColumnIconType = string | 'text' | 'number' | 'date' | 'boolean' | 'list';
3
10
  type TextsString = 'searchPlaceholder';
4
11
  type TextsReactNode = 'title' | 'searchClearTooltip' | 'noResults' | 'cancel' | 'apply' | 'clear' | 'switchOn' | 'switchOff';
5
12
  export type ColumnManagerTexts = {
@@ -1,13 +1,5 @@
1
1
  import type { DraggableAttributes, DraggableSyntheticListeners } from '@dnd-kit/core';
2
- import type { ColumnManagerTexts } from '../ColumnManager.types';
3
- export type ColumnIconType = string | 'text' | 'number' | 'date' | 'boolean' | 'list';
4
- export type Column = {
5
- id: string;
6
- name: string;
7
- visible: boolean;
8
- readOnly?: boolean;
9
- type?: ColumnIconType;
10
- };
2
+ import type { Column, ColumnManagerTexts } from '../ColumnManager.types';
11
3
  export type ColumnManagerItemProps<ColumnType extends Column> = {
12
4
  draggable?: boolean;
13
5
  isDragged?: boolean;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
- import { type Column, type ColumnManagerItemProps } from './ColumManagerItem.types';
2
+ import { type Column } from '../ColumnManager.types';
3
+ import { type ColumnManagerItemProps } from './ColumManagerItem.types';
3
4
  export declare const ColumnManagerItem: <ColumnType extends Column>({ item, switchAction, draggable, searchQuery, texts, dragHandleProps, id, isDragged, ...rest }: ColumnManagerItemProps<ColumnType>) => React.JSX.Element;
4
5
  export default ColumnManagerItem;
@@ -1,5 +1,5 @@
1
1
  import React, { type CSSProperties } from 'react';
2
- import type { Column } from '../ColumnManagerItem/ColumManagerItem.types';
2
+ import { type Column } from '../ColumnManager.types';
3
3
  import { type ColumnManagerListProps } from './ColumnManagerList.types';
4
4
  export declare const LIST_STYLE: CSSProperties;
5
5
  declare const ColumnManagerList: <ColumnType extends Column>({ searchQuery, columns, draggable, handleOrderChange, toggleColumn, texts, }: ColumnManagerListProps<ColumnType>) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { ColumnManagerTexts } from '../ColumnManager.types';
2
- import type { Column, ColumnManagerItemProps } from '../ColumnManagerItem/ColumManagerItem.types';
1
+ import type { Column, ColumnManagerTexts } from '../ColumnManager.types';
2
+ import type { ColumnManagerItemProps } from '../ColumnManagerItem/ColumManagerItem.types';
3
3
  export type ColumnManagerListProps<ColumnType extends Column> = {
4
4
  searchQuery: string;
5
5
  columns: ColumnType[];
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { type Column } from '../ColumnManagerItem/ColumManagerItem.types';
2
+ import { type Column } from '../ColumnManager.types';
3
3
  import { type ColumnManagerSortableItemProps } from './ColumnManagerSortableItem.types';
4
4
  export declare const ColumnManagerSortableItem: <ColumnType extends Column>(props: ColumnManagerSortableItemProps<ColumnType>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import type { ListChildComponentProps } from 'react-window';
2
- import type { Column, ColumnManagerItemProps } from '../ColumnManagerItem/ColumManagerItem.types';
2
+ import type { Column } from '../ColumnManager.types';
3
+ import type { ColumnManagerItemProps } from '../ColumnManagerItem/ColumManagerItem.types';
3
4
  export type ColumnManagerSortableItemProps<ColumnType extends Column> = ListChildComponentProps<ColumnManagerItemProps<ColumnType>[]>;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export { default } from './ColumnManager';
2
- export type { ColumnManagerProps } from './ColumnManager.types';
3
- export type { Column } from './ColumnManagerItem/ColumManagerItem.types';
2
+ export * from './ColumnManager.types';
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
- export { default } from './ColumnManager';
1
+ export { default } from './ColumnManager';
2
+ export * from './ColumnManager.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-column-manager",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "ColumnManager UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -26,23 +26,24 @@
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
28
28
  "types": "tsc --noEmit",
29
+ "check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
29
30
  "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
30
31
  },
31
32
  "sideEffects": false,
32
33
  "types": "dist/index.d.ts",
33
34
  "dependencies": {
34
- "@synerise/ds-button": "^1.4.9",
35
- "@synerise/ds-drawer": "^1.0.8",
36
- "@synerise/ds-icon": "^1.7.1",
37
- "@synerise/ds-menu": "^1.0.21",
38
- "@synerise/ds-result": "^1.0.22",
39
- "@synerise/ds-scrollbar": "^1.1.7",
40
- "@synerise/ds-search-bar": "^1.3.10",
41
- "@synerise/ds-sortable": "^1.3.4",
42
- "@synerise/ds-switch": "^1.1.15",
43
- "@synerise/ds-tooltip": "^1.1.17",
44
- "@synerise/ds-typography": "^1.0.19",
45
- "@synerise/ds-utils": "^1.4.1",
35
+ "@synerise/ds-button": "^1.4.10",
36
+ "@synerise/ds-drawer": "^1.0.9",
37
+ "@synerise/ds-icon": "^1.7.2",
38
+ "@synerise/ds-menu": "^1.0.22",
39
+ "@synerise/ds-result": "^1.0.23",
40
+ "@synerise/ds-scrollbar": "^1.1.8",
41
+ "@synerise/ds-search-bar": "^1.3.11",
42
+ "@synerise/ds-sortable": "^1.3.5",
43
+ "@synerise/ds-switch": "^1.1.16",
44
+ "@synerise/ds-tooltip": "^1.1.18",
45
+ "@synerise/ds-typography": "^1.0.20",
46
+ "@synerise/ds-utils": "^1.4.2",
46
47
  "react-window": "1.8.11"
47
48
  },
48
49
  "peerDependencies": {
@@ -52,5 +53,5 @@
52
53
  "react-intl": ">=3.12.0 <= 6.8",
53
54
  "styled-components": "^5.3.3"
54
55
  },
55
- "gitHead": "eae85627e064add7fde7d67bbc4727f9b55453a5"
56
+ "gitHead": "5beb6ab5f2d77b9e98e04caab7dff20b8436078b"
56
57
  }