@synerise/ds-mapping 1.0.13 → 1.1.1

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,7 +3,7 @@
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.0.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.12...@synerise/ds-mapping@1.0.13) (2025-06-26)
6
+ ## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.1.0...@synerise/ds-mapping@1.1.1) (2025-07-08)
7
7
 
8
8
  **Note:** Version bump only for package @synerise/ds-mapping
9
9
 
@@ -11,15 +11,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [1.0.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.11...@synerise/ds-mapping@1.0.12) (2025-06-24)
14
+ # [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.13...@synerise/ds-mapping@1.1.0) (2025-07-01)
15
15
 
16
- **Note:** Version bump only for package @synerise/ds-mapping
17
16
 
17
+ ### Features
18
+
19
+ * **checkbox:** merge checkbox and tristate cb ([ef7f09c](https://github.com/Synerise/synerise-design/commit/ef7f09cb8293728d5e7e73a0022d57e93dcc4748))
18
20
 
19
21
 
20
22
 
21
23
 
22
- ## [1.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.10...@synerise/ds-mapping@1.0.11) (2025-06-05)
24
+
25
+ ## [1.0.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.12...@synerise/ds-mapping@1.0.13) (2025-06-26)
23
26
 
24
27
  **Note:** Version bump only for package @synerise/ds-mapping
25
28
 
@@ -27,7 +30,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
30
 
28
31
 
29
32
 
30
- ## [1.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.9...@synerise/ds-mapping@1.0.10) (2025-06-03)
33
+ ## [1.0.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.11...@synerise/ds-mapping@1.0.12) (2025-06-24)
31
34
 
32
35
  **Note:** Version bump only for package @synerise/ds-mapping
33
36
 
@@ -35,70 +38,46 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
35
38
 
36
39
 
37
40
 
38
- ## [1.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.8...@synerise/ds-mapping@1.0.9) (2025-05-26)
41
+ ## [1.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.10...@synerise/ds-mapping@1.0.11) (2025-06-05)
39
42
 
40
43
  **Note:** Version bump only for package @synerise/ds-mapping
41
44
 
45
+ ## [1.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.9...@synerise/ds-mapping@1.0.10) (2025-06-03)
42
46
 
47
+ **Note:** Version bump only for package @synerise/ds-mapping
43
48
 
49
+ ## [1.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.8...@synerise/ds-mapping@1.0.9) (2025-05-26)
44
50
 
51
+ **Note:** Version bump only for package @synerise/ds-mapping
45
52
 
46
53
  ## [1.0.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.7...@synerise/ds-mapping@1.0.8) (2025-05-19)
47
54
 
48
55
  **Note:** Version bump only for package @synerise/ds-mapping
49
56
 
50
-
51
-
52
-
53
-
54
57
  ## [1.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.6...@synerise/ds-mapping@1.0.7) (2025-05-07)
55
58
 
56
59
  **Note:** Version bump only for package @synerise/ds-mapping
57
60
 
58
-
59
-
60
-
61
-
62
61
  ## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.5...@synerise/ds-mapping@1.0.6) (2025-04-24)
63
62
 
64
63
  **Note:** Version bump only for package @synerise/ds-mapping
65
64
 
66
-
67
-
68
-
69
-
70
65
  ## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.4...@synerise/ds-mapping@1.0.5) (2025-04-16)
71
66
 
72
67
  **Note:** Version bump only for package @synerise/ds-mapping
73
68
 
74
-
75
-
76
-
77
-
78
69
  ## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.3...@synerise/ds-mapping@1.0.4) (2025-04-02)
79
70
 
80
71
  **Note:** Version bump only for package @synerise/ds-mapping
81
72
 
82
-
83
-
84
-
85
-
86
73
  ## [1.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.2...@synerise/ds-mapping@1.0.3) (2025-03-31)
87
74
 
88
75
  **Note:** Version bump only for package @synerise/ds-mapping
89
76
 
90
-
91
-
92
-
93
-
94
77
  ## [1.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.1...@synerise/ds-mapping@1.0.2) (2025-03-26)
95
78
 
96
79
  **Note:** Version bump only for package @synerise/ds-mapping
97
80
 
98
-
99
-
100
-
101
-
102
81
  ## [1.0.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-mapping@1.0.0...@synerise/ds-mapping@1.0.1) (2025-03-18)
103
82
 
104
83
  **Note:** Version bump only for package @synerise/ds-mapping
package/dist/Mapping.js CHANGED
@@ -2,13 +2,13 @@ var _excluded = ["batchSelection", "dataSource", "leftTitle", "leftTitleTooltip"
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
3
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
5
- import Icon, { HideM, TaskCheckM } from '@synerise/ds-icon';
6
5
  import Button from '@synerise/ds-button';
6
+ import Icon, { HideM, TaskCheckM } from '@synerise/ds-icon';
7
7
  import * as S from './Mapping.styles';
8
8
  import { BatchSelectionHeader, RowSelection, TitleRow } from './components';
9
- import { renderCounter as defaultRenderCounter } from './utils/counter';
10
9
  import { useBatchSelection } from './hooks/useBatchSelection';
11
10
  import { useTexts } from './hooks/useTexts';
11
+ import { renderCounter as defaultRenderCounter } from './utils/counter';
12
12
  var Mapping = function Mapping(_ref) {
13
13
  var batchSelection = _ref.batchSelection,
14
14
  dataSource = _ref.dataSource,
@@ -1,8 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { TooltipProps } from '@synerise/ds-tooltip';
3
- import { CheckboxTristateProps } from '@synerise/ds-checkbox-tristate';
4
- import { CheckboxProps } from '@synerise/ds-checkbox';
5
- import { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { type ReactNode } from 'react';
2
+ import { type CheckboxProps, type CheckboxTristateProps } from '@synerise/ds-checkbox';
3
+ import { type TooltipProps } from '@synerise/ds-tooltip';
4
+ import { type WithHTMLAttributes } from '@synerise/ds-utils';
6
5
  export type BaseItemType = {
7
6
  id: string | number;
8
7
  };
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { BatchSelectionProps } from '../../Mapping.types';
2
+ import { type BatchSelectionProps } from '../../Mapping.types';
3
3
  export declare const BatchSelectionHeader: ({ counter, checkboxState, onChange, actionButtons, batchButton, enabled, }: BatchSelectionProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import CheckboxTristate from '@synerise/ds-checkbox-tristate';
2
+ import Checkbox from '@synerise/ds-checkbox';
3
3
  import * as S from '../../Mapping.styles';
4
4
  export var BatchSelectionHeader = function BatchSelectionHeader(_ref) {
5
5
  var counter = _ref.counter,
@@ -15,7 +15,8 @@ export var BatchSelectionHeader = function BatchSelectionHeader(_ref) {
15
15
  onChange(false);
16
16
  }
17
17
  };
18
- return /*#__PURE__*/React.createElement(S.BatchSelectionWrapper, null, enabled && /*#__PURE__*/React.createElement(S.RowSelectionWrapper, null, /*#__PURE__*/React.createElement(CheckboxTristate, {
18
+ return /*#__PURE__*/React.createElement(S.BatchSelectionWrapper, null, enabled && /*#__PURE__*/React.createElement(S.RowSelectionWrapper, null, /*#__PURE__*/React.createElement(Checkbox, {
19
+ tristate: true,
19
20
  withoutPadding: true,
20
21
  checked: checkboxState,
21
22
  onChange: handleChange
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { BaseItemType, RowSelectionProps } from '../../Mapping.types';
3
- export declare const RowSelection: <T extends BaseItemType>({ itemId, checkboxState, onChange }: RowSelectionProps<T>) => React.JSX.Element;
3
+ export declare const RowSelection: <T extends BaseItemType>({ itemId, checkboxState, onChange, }: RowSelectionProps<T>) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import Tooltip from '@synerise/ds-tooltip';
3
- import Icon, { InfoFillS } from '@synerise/ds-icon';
4
2
  import { theme } from '@synerise/ds-core';
3
+ import Icon, { InfoFillS } from '@synerise/ds-icon';
4
+ import Tooltip from '@synerise/ds-tooltip';
5
5
  import * as S from '../../Mapping.styles';
6
6
  export var TitleRow = function TitleRow(_ref) {
7
7
  var leftTitle = _ref.leftTitle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-mapping",
3
- "version": "1.0.13",
3
+ "version": "1.1.1",
4
4
  "description": "Mapping UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,13 +34,12 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-button": "^1.4.1",
38
- "@synerise/ds-checkbox": "^1.0.12",
39
- "@synerise/ds-checkbox-tristate": "^1.0.12",
40
- "@synerise/ds-icon": "^1.5.3",
41
- "@synerise/ds-tooltip": "^1.1.11",
42
- "@synerise/ds-typography": "^1.0.12",
43
- "@synerise/ds-utils": "^1.3.0"
37
+ "@synerise/ds-button": "^1.4.3",
38
+ "@synerise/ds-checkbox": "^1.1.1",
39
+ "@synerise/ds-icon": "^1.5.4",
40
+ "@synerise/ds-tooltip": "^1.1.12",
41
+ "@synerise/ds-typography": "^1.0.14",
42
+ "@synerise/ds-utils": "^1.3.1"
44
43
  },
45
44
  "peerDependencies": {
46
45
  "@synerise/ds-core": "*",
@@ -49,5 +48,5 @@
49
48
  "react-intl": ">=3.12.0 <= 6.8",
50
49
  "styled-components": "^5.3.3"
51
50
  },
52
- "gitHead": "11fe1d29b2ac23e70c3d5e6ce8ae20201a619a34"
51
+ "gitHead": "8db1900bf3f7b0782c834ff82f628199530cd934"
53
52
  }