@synerise/ds-color-picker 2.1.0 → 2.1.2
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 +16 -0
- package/CLAUDE.md +1 -0
- package/dist/ColorPicker.styles.d.ts +2 -38
- package/package.json +12 -11
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
|
+
## [2.1.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@2.1.1...@synerise/ds-color-picker@2.1.2) (2026-11-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@2.1.0...@synerise/ds-color-picker@2.1.1) (2026-11-03)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-color-picker
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-color-picker@2.0.14...@synerise/ds-color-picker@2.1.0) (2026-10-29)
|
|
7
23
|
|
|
8
24
|
|
package/CLAUDE.md
CHANGED
|
@@ -97,6 +97,7 @@ The saved-colour **swatch section** is built from plain styled elements matching
|
|
|
97
97
|
- `@synerise/ds-dropdown` — popover/overlay shell for the picker panel
|
|
98
98
|
- `@synerise/ds-input` — trigger text input and the hex input inside the dropdown
|
|
99
99
|
- `@synerise/ds-tags` — `Tag` for the colour preview swatch (trigger `innerPrefix` + the dropdown preview square); **not** used for saved-colour swatches
|
|
100
|
+
- `@synerise/ds-tag` — no runtime import; listed because the published `ColorPicker.styles.d.ts` names `TagShape`/`TagTexts` from it (the inferred type of the styled `Tag`)
|
|
100
101
|
- `@synerise/ds-copy-icon` — copy-to-clipboard button in the dropdown hex input
|
|
101
102
|
- `@synerise/ds-icon` — the `FormulaPlusM` plus glyph inside the swatch creator button
|
|
102
103
|
- `@synerise/ds-form-field` — `FormFieldCommonProps` for `description`/`errorText`
|
|
@@ -4,25 +4,7 @@ export declare const Container: import('styled-components').StyledComponent<"div
|
|
|
4
4
|
export declare const SubContainer: import('styled-components').StyledComponent<"div", any, {
|
|
5
5
|
savedColors?: boolean;
|
|
6
6
|
}, never>;
|
|
7
|
-
export declare const ColorTag: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<{
|
|
8
|
-
id?: string | number;
|
|
9
|
-
name?: string;
|
|
10
|
-
textColor?: string;
|
|
11
|
-
color?: string;
|
|
12
|
-
image?: string;
|
|
13
|
-
shape?: import('@synerise/ds-tags').TagShape;
|
|
14
|
-
removable?: boolean;
|
|
15
|
-
className?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
onClick?: () => void;
|
|
18
|
-
onRemove?: (tag: string | number) => void;
|
|
19
|
-
prefixel?: React.ReactNode;
|
|
20
|
-
suffixel?: React.ReactNode;
|
|
21
|
-
texts?: import('@synerise/ds-tags').TagTexts;
|
|
22
|
-
asPill?: boolean;
|
|
23
|
-
dashed?: boolean;
|
|
24
|
-
tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
|
|
25
|
-
} & Omit<import('react').HTMLAttributes<HTMLDivElement>, "id" | "disabled" | "name" | "className" | "color" | "onClick" | "prefixel" | "suffixel" | "image" | "shape" | "textColor" | "removable" | "onRemove" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import('@synerise/ds-utils').DataAttributes & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
7
|
+
export declare const ColorTag: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('@synerise/ds-tag').TagProps & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
26
8
|
/** The "+" swatch creator (Figma: Swatch Creator). Plain button, not ds-button. */
|
|
27
9
|
export declare const SwatchCreatorButton: import('styled-components').StyledComponent<"button", any, {}, never>;
|
|
28
10
|
/** A single filled saved-colour swatch (Figma: Swatch — Filled / Filled Selected). */
|
|
@@ -105,25 +87,7 @@ declare const _default: {
|
|
|
105
87
|
SubContainer: import('styled-components').StyledComponent<"div", any, {
|
|
106
88
|
savedColors?: boolean;
|
|
107
89
|
}, never>;
|
|
108
|
-
ColorTag: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<{
|
|
109
|
-
id?: string | number;
|
|
110
|
-
name?: string;
|
|
111
|
-
textColor?: string;
|
|
112
|
-
color?: string;
|
|
113
|
-
image?: string;
|
|
114
|
-
shape?: import('@synerise/ds-tags').TagShape;
|
|
115
|
-
removable?: boolean;
|
|
116
|
-
className?: string;
|
|
117
|
-
disabled?: boolean;
|
|
118
|
-
onClick?: () => void;
|
|
119
|
-
onRemove?: (tag: string | number) => void;
|
|
120
|
-
prefixel?: React.ReactNode;
|
|
121
|
-
suffixel?: React.ReactNode;
|
|
122
|
-
texts?: import('@synerise/ds-tags').TagTexts;
|
|
123
|
-
asPill?: boolean;
|
|
124
|
-
dashed?: boolean;
|
|
125
|
-
tooltipProps?: import('@synerise/ds-tooltip').TooltipProps;
|
|
126
|
-
} & Omit<import('react').HTMLAttributes<HTMLDivElement>, "id" | "disabled" | "name" | "className" | "color" | "onClick" | "prefixel" | "suffixel" | "image" | "shape" | "textColor" | "removable" | "onRemove" | "texts" | "asPill" | "dashed" | "tooltipProps"> & import('@synerise/ds-utils').DataAttributes & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
90
|
+
ColorTag: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('@synerise/ds-tag').TagProps & import('react').RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
127
91
|
PrefixTag: import('styled-components').StyledComponent<"div", any, {
|
|
128
92
|
height?: boolean;
|
|
129
93
|
size?: "S" | "M" | "L";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-color-picker",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Color-Picker Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,15 +42,16 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-copy-icon": "^2.1.
|
|
46
|
-
"@synerise/ds-divider": "^2.1.
|
|
47
|
-
"@synerise/ds-dropdown": "^2.2.
|
|
48
|
-
"@synerise/ds-form-field": "^2.1.
|
|
49
|
-
"@synerise/ds-icon": "^2.3.
|
|
50
|
-
"@synerise/ds-input": "^2.1.
|
|
51
|
-
"@synerise/ds-
|
|
52
|
-
"@synerise/ds-
|
|
53
|
-
"@synerise/ds-
|
|
45
|
+
"@synerise/ds-copy-icon": "^2.1.1",
|
|
46
|
+
"@synerise/ds-divider": "^2.1.1",
|
|
47
|
+
"@synerise/ds-dropdown": "^2.2.2",
|
|
48
|
+
"@synerise/ds-form-field": "^2.1.1",
|
|
49
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
50
|
+
"@synerise/ds-input": "^2.1.1",
|
|
51
|
+
"@synerise/ds-tag": "^2.1.1",
|
|
52
|
+
"@synerise/ds-tags": "^2.1.2",
|
|
53
|
+
"@synerise/ds-tooltip": "^2.1.1",
|
|
54
|
+
"@synerise/ds-utils": "^2.3.1",
|
|
54
55
|
"react-colorful": "^5.2.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
@@ -61,5 +62,5 @@
|
|
|
61
62
|
"react": ">=16.9.0 <= 18.3.1",
|
|
62
63
|
"styled-components": "^5.3.3"
|
|
63
64
|
},
|
|
64
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "4547f33b8c9317ccc697f89a2b2c62bcf97fbec3"
|
|
65
66
|
}
|