@synerise/ds-color-picker 1.3.1 → 1.3.3
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 +7 -117
- package/dist/ColorPicker.d.ts +1 -1
- package/dist/ColorPicker.js +10 -19
- package/dist/ColorPicker.styles.d.ts +2 -2
- package/dist/ColorPicker.styles.js +4 -4
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,243 +3,133 @@
|
|
|
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.3.
|
|
6
|
+
## [1.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.3.2...@synerise/ds-color-picker@1.3.3) (2025-12-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
9
9
|
|
|
10
|
+
## [1.3.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.3.1...@synerise/ds-color-picker@1.3.2) (2025-11-28)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
11
13
|
|
|
14
|
+
## [1.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.3.0...@synerise/ds-color-picker@1.3.1) (2025-11-13)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
13
17
|
|
|
14
18
|
# [1.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.34...@synerise/ds-color-picker@1.3.0) (2025-11-06)
|
|
15
19
|
|
|
16
|
-
|
|
17
20
|
### Features
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
- **dropdown:** dropdownMenu component ([f0ec827](https://github.com/Synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
|
|
24
23
|
|
|
25
24
|
## [1.2.34](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.33...@synerise/ds-color-picker@1.2.34) (2025-10-31)
|
|
26
25
|
|
|
27
26
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
28
|
## [1.2.33](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.32...@synerise/ds-color-picker@1.2.33) (2025-10-27)
|
|
34
29
|
|
|
35
30
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
32
|
## [1.2.32](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.31...@synerise/ds-color-picker@1.2.32) (2025-10-22)
|
|
42
33
|
|
|
43
34
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
44
35
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
36
|
## [1.2.31](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.30...@synerise/ds-color-picker@1.2.31) (2025-10-16)
|
|
50
37
|
|
|
51
38
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
52
39
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
40
|
## [1.2.30](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.29...@synerise/ds-color-picker@1.2.30) (2025-10-10)
|
|
58
41
|
|
|
59
42
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
60
43
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
44
|
## [1.2.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.28...@synerise/ds-color-picker@1.2.29) (2025-10-08)
|
|
66
45
|
|
|
67
46
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
68
47
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
48
|
## [1.2.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.27...@synerise/ds-color-picker@1.2.28) (2025-10-03)
|
|
74
49
|
|
|
75
50
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
76
51
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
52
|
## [1.2.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.26...@synerise/ds-color-picker@1.2.27) (2025-09-30)
|
|
82
53
|
|
|
83
54
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
84
55
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
56
|
## [1.2.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.25...@synerise/ds-color-picker@1.2.26) (2025-09-30)
|
|
90
57
|
|
|
91
58
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
92
59
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
60
|
## [1.2.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.24...@synerise/ds-color-picker@1.2.25) (2025-09-26)
|
|
98
61
|
|
|
99
62
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
100
63
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
64
|
## [1.2.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.23...@synerise/ds-color-picker@1.2.24) (2025-09-25)
|
|
106
65
|
|
|
107
66
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
108
67
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
68
|
## [1.2.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.22...@synerise/ds-color-picker@1.2.23) (2025-09-24)
|
|
114
69
|
|
|
115
70
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
116
71
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
72
|
## [1.2.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.21...@synerise/ds-color-picker@1.2.22) (2025-09-23)
|
|
122
73
|
|
|
123
74
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
124
75
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
76
|
## [1.2.21](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.20...@synerise/ds-color-picker@1.2.21) (2025-09-19)
|
|
130
77
|
|
|
131
78
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
132
79
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
80
|
## [1.2.20](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.19...@synerise/ds-color-picker@1.2.20) (2025-09-16)
|
|
138
81
|
|
|
139
82
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
140
83
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
84
|
## [1.2.19](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.18...@synerise/ds-color-picker@1.2.19) (2025-09-02)
|
|
146
85
|
|
|
147
86
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
148
87
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
88
|
## [1.2.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.17...@synerise/ds-color-picker@1.2.18) (2025-08-28)
|
|
154
89
|
|
|
155
90
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
156
91
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
92
|
## [1.2.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.16...@synerise/ds-color-picker@1.2.17) (2025-08-20)
|
|
162
93
|
|
|
163
94
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
164
95
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
96
|
## [1.2.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.15...@synerise/ds-color-picker@1.2.16) (2025-08-14)
|
|
170
97
|
|
|
171
98
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
172
99
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
100
|
## [1.2.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.14...@synerise/ds-color-picker@1.2.15) (2025-07-24)
|
|
178
101
|
|
|
179
102
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
180
103
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
104
|
## [1.2.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.13...@synerise/ds-color-picker@1.2.14) (2025-07-24)
|
|
186
105
|
|
|
187
106
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
188
107
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
108
|
## [1.2.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.12...@synerise/ds-color-picker@1.2.13) (2025-07-17)
|
|
194
109
|
|
|
195
110
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
196
111
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
112
|
## [1.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.11...@synerise/ds-color-picker@1.2.12) (2025-07-15)
|
|
202
113
|
|
|
203
114
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
204
115
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
116
|
## [1.2.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.10...@synerise/ds-color-picker@1.2.11) (2025-07-08)
|
|
210
117
|
|
|
211
118
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
212
119
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
120
|
## [1.2.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.9...@synerise/ds-color-picker@1.2.10) (2025-07-01)
|
|
218
121
|
|
|
219
122
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
220
123
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
124
|
## [1.2.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.8...@synerise/ds-color-picker@1.2.9) (2025-06-26)
|
|
226
125
|
|
|
227
126
|
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
228
127
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
128
|
## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.7...@synerise/ds-color-picker@1.2.8) (2025-06-24)
|
|
234
129
|
|
|
235
|
-
|
|
236
130
|
### Bug Fixes
|
|
237
131
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
132
|
+
- **color-picker:** prevent triggering onchange handler ([bc663d0](https://github.com/Synerise/synerise-design/commit/bc663d03c15cbbbc78641329ed66b0c46491b0fb))
|
|
243
133
|
|
|
244
134
|
## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@1.2.6...@synerise/ds-color-picker@1.2.7) (2025-06-12)
|
|
245
135
|
|
package/dist/ColorPicker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ColorPickerProps } from './ColorPicker.types';
|
|
3
|
-
declare const ColorPicker: ({ maxWidth, value, onChange, colors, onSaveColors, infix, getPopupContainer, placeholder, inputProps, maxSavedColors,
|
|
3
|
+
declare const ColorPicker: ({ maxWidth, value, onChange, colors, onSaveColors, infix, getPopupContainer, placeholder, inputProps, maxSavedColors, isShownSavedColors, size, errorText, description, disabled, error, readOnly, tooltip, }: ColorPickerProps) => React.JSX.Element;
|
|
4
4
|
export default ColorPicker;
|
package/dist/ColorPicker.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
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); }
|
|
2
|
-
import copy from 'copy-to-clipboard';
|
|
3
2
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
3
|
import { HexColorPicker as ReactColorful } from 'react-colorful';
|
|
5
4
|
import Divider from '@synerise/ds-divider';
|
|
6
5
|
import Dropdown from '@synerise/ds-dropdown';
|
|
7
|
-
import Icon, {
|
|
6
|
+
import Icon, { FormulaPlusM } from '@synerise/ds-icon';
|
|
8
7
|
import Tags, { Tag, TagShape } from '@synerise/ds-tags';
|
|
9
8
|
import Tooltip from '@synerise/ds-tooltip';
|
|
10
9
|
import { getPopupContainer as defaultGetPopupContainer, useOnClickOutside } from '@synerise/ds-utils';
|
|
@@ -29,7 +28,6 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
29
28
|
inputProps = _ref.inputProps,
|
|
30
29
|
_ref$maxSavedColors = _ref.maxSavedColors,
|
|
31
30
|
maxSavedColors = _ref$maxSavedColors === void 0 ? 9 : _ref$maxSavedColors,
|
|
32
|
-
tooltip = _ref.tooltip,
|
|
33
31
|
isShownSavedColors = _ref.isShownSavedColors,
|
|
34
32
|
_ref$size = _ref.size,
|
|
35
33
|
size = _ref$size === void 0 ? 'M' : _ref$size,
|
|
@@ -37,7 +35,8 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
37
35
|
description = _ref.description,
|
|
38
36
|
disabled = _ref.disabled,
|
|
39
37
|
error = _ref.error,
|
|
40
|
-
readOnly = _ref.readOnly
|
|
38
|
+
readOnly = _ref.readOnly,
|
|
39
|
+
tooltip = _ref.tooltip;
|
|
41
40
|
var _useState = useState(value),
|
|
42
41
|
colorTextInput = _useState[0],
|
|
43
42
|
setColorTextInput = _useState[1];
|
|
@@ -56,9 +55,6 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
56
55
|
var _useState6 = useState(colors),
|
|
57
56
|
savedColors = _useState6[0],
|
|
58
57
|
setSavedColors = _useState6[1];
|
|
59
|
-
var _useState7 = useState(tooltip == null ? void 0 : tooltip.copy),
|
|
60
|
-
tooltipText = _useState7[0],
|
|
61
|
-
setTooltipText = _useState7[1];
|
|
62
58
|
var setLocalValues = useCallback(function (colorValue) {
|
|
63
59
|
setColorTextInput(colorValue);
|
|
64
60
|
if (isValidTextColor(colorValue)) {
|
|
@@ -101,13 +97,6 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
101
97
|
var onClickHandler = useCallback(function () {
|
|
102
98
|
setDropdownVisible(!dropdownVisible);
|
|
103
99
|
}, [dropdownVisible]);
|
|
104
|
-
var copyHandler = useCallback(function () {
|
|
105
|
-
lastValidHexColor && copy(lastValidHexColor);
|
|
106
|
-
setTooltipText(tooltip == null ? void 0 : tooltip.copied);
|
|
107
|
-
setTimeout(function () {
|
|
108
|
-
setTooltipText(tooltip == null ? void 0 : tooltip.copy);
|
|
109
|
-
}, 3000);
|
|
110
|
-
}, [lastValidHexColor, tooltip]);
|
|
111
100
|
useEffect(function () {
|
|
112
101
|
if (value && (isValidHexColor(value) || isValidTextColor(value))) {
|
|
113
102
|
setLocalValues(value);
|
|
@@ -194,11 +183,13 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
194
183
|
},
|
|
195
184
|
onBlur: onBlurHandler,
|
|
196
185
|
placeholder: placeholder,
|
|
197
|
-
icon1:
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
186
|
+
icon1: /*#__PURE__*/React.createElement(S.StyledCopyIcon, {
|
|
187
|
+
copyValue: lastValidHexColor != null ? lastValidHexColor : '',
|
|
188
|
+
texts: {
|
|
189
|
+
copyTooltip: tooltip == null ? void 0 : tooltip.copy,
|
|
190
|
+
copiedTooltip: tooltip == null ? void 0 : tooltip.copied
|
|
191
|
+
}
|
|
192
|
+
})
|
|
202
193
|
}), isShownSavedColors && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Divider, null), swatchSection)));
|
|
203
194
|
var trigger = useMemo(function () {
|
|
204
195
|
var isClickable = !disabled && !readOnly;
|
|
@@ -54,7 +54,7 @@ export declare const AddColorButton: import("styled-components").StyledComponent
|
|
|
54
54
|
Star: (props: import("@synerise/ds-button").StarButtonProps) => React.ReactElement;
|
|
55
55
|
Checkbox: (props: import("@synerise/ds-button").CheckboxButtonProps) => React.ReactElement;
|
|
56
56
|
}, any, {}, never>;
|
|
57
|
-
export declare const
|
|
57
|
+
export declare const StyledCopyIcon: import("styled-components").StyledComponent<({ copyValue, texts, onMouseEnter, onMouseLeave, icon, placement, onCopy, ...rest }: import("@synerise/ds-copy-icon").CopyIconProps) => React.JSX.Element, any, {}, never>;
|
|
58
58
|
export declare const ColorPickerInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
59
59
|
error?: boolean;
|
|
60
60
|
className?: string;
|
|
@@ -162,7 +162,7 @@ declare const _default: {
|
|
|
162
162
|
SwatchSectionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
163
163
|
PreffixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
164
164
|
ValueWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
165
|
-
CopyIcon:
|
|
165
|
+
CopyIcon: ({ copyValue, texts, onMouseEnter, onMouseLeave, icon, placement, onCopy, ...rest }: import("@synerise/ds-copy-icon").CopyIconProps) => React.JSX.Element;
|
|
166
166
|
ColorPickerInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
167
167
|
error?: boolean;
|
|
168
168
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
2
2
|
import Button from '@synerise/ds-button';
|
|
3
|
-
import
|
|
3
|
+
import CopyIcon from '@synerise/ds-copy-icon';
|
|
4
4
|
import { Input } from '@synerise/ds-input';
|
|
5
5
|
import { Tag, TagsStyles } from '@synerise/ds-tags';
|
|
6
6
|
import { ColorPickerSize } from './ColorPicker.types';
|
|
@@ -43,14 +43,14 @@ export var AddColorButton = styled(Button).withConfig({
|
|
|
43
43
|
displayName: "ColorPickerstyles__AddColorButton",
|
|
44
44
|
componentId: "sc-1iu8b6j-4"
|
|
45
45
|
})(["&&&.ant-btn{width:16px;height:16px;margin-right:0;}"]);
|
|
46
|
-
export var
|
|
47
|
-
displayName: "
|
|
46
|
+
export var StyledCopyIcon = styled(CopyIcon).withConfig({
|
|
47
|
+
displayName: "ColorPickerstyles__StyledCopyIcon",
|
|
48
48
|
componentId: "sc-1iu8b6j-5"
|
|
49
49
|
})(["display:none;"]);
|
|
50
50
|
export var ColorPickerInput = styled(Input).withConfig({
|
|
51
51
|
displayName: "ColorPickerstyles__ColorPickerInput",
|
|
52
52
|
componentId: "sc-1iu8b6j-6"
|
|
53
|
-
})(["&:hover{", "{display:flex;}}"],
|
|
53
|
+
})(["&:hover{", "{display:flex;}}"], StyledCopyIcon);
|
|
54
54
|
export var ColorPickerSelect = styled(Input).withConfig({
|
|
55
55
|
displayName: "ColorPickerstyles__ColorPickerSelect",
|
|
56
56
|
componentId: "sc-1iu8b6j-7"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-color-picker",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Color-Picker Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
22
|
"build:watch": "npm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
|
-
"pack:ci": "
|
|
24
|
+
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
@@ -35,15 +35,16 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-
|
|
40
|
-
"@synerise/ds-
|
|
41
|
-
"@synerise/ds-
|
|
42
|
-
"@synerise/ds-
|
|
43
|
-
"@synerise/ds-
|
|
44
|
-
"@synerise/ds-
|
|
45
|
-
"@synerise/ds-
|
|
46
|
-
"
|
|
38
|
+
"@synerise/ds-button": "^1.5.2",
|
|
39
|
+
"@synerise/ds-copy-icon": "^1.0.2",
|
|
40
|
+
"@synerise/ds-divider": "^1.2.3",
|
|
41
|
+
"@synerise/ds-dropdown": "^1.1.3",
|
|
42
|
+
"@synerise/ds-form-field": "^1.1.21",
|
|
43
|
+
"@synerise/ds-icon": "^1.9.1",
|
|
44
|
+
"@synerise/ds-input": "^1.5.2",
|
|
45
|
+
"@synerise/ds-tags": "^1.5.3",
|
|
46
|
+
"@synerise/ds-tooltip": "^1.3.2",
|
|
47
|
+
"@synerise/ds-utils": "^1.5.1",
|
|
47
48
|
"react-colorful": "^5.2.0"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
@@ -52,5 +53,5 @@
|
|
|
52
53
|
"react": ">=16.9.0 <= 18.3.1",
|
|
53
54
|
"styled-components": "^5.3.3"
|
|
54
55
|
},
|
|
55
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
|
|
56
57
|
}
|