@synerise/ds-format-picker 2.1.4 → 2.2.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 +19 -0
- package/CLAUDE.md +1 -1
- package/dist/FormatPicker.styles.js +1 -1
- package/dist/FormatSettings/FormatSettings.styles.js +5 -5
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@2.2.0...@synerise/ds-format-picker@2.2.1) (2026-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-format-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@2.1.4...@synerise/ds-format-picker@2.2.0) (2026-10-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@2.1.3...@synerise/ds-format-picker@2.1.4) (2026-10-28)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-format-picker
|
package/CLAUDE.md
CHANGED
|
@@ -107,7 +107,7 @@ const [format, setFormat] = useState<FormattingValue>({
|
|
|
107
107
|
|
|
108
108
|
## Styling
|
|
109
109
|
|
|
110
|
-
`FormatSettings.styles.ts` — all styles for the dropdown panel. Uses `
|
|
110
|
+
`FormatSettings.styles.ts` — all styles for the dropdown panel. Uses `var(--ds-*)` tokens (`--ds-dropdown-bg`, `--ds-dropdown-footer-bg`/`-footer-border`, `--ds-form-field-border-default`, `--ds-form-field-text-value`, `--ds-color-text-neutral-default`). Hardcoded `min-width: 268px` for the panel container.
|
|
111
111
|
|
|
112
112
|
## Key dependencies
|
|
113
113
|
|
|
@@ -8,7 +8,7 @@ const TriggerButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
|
8
8
|
const ClearButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
9
9
|
displayName: "FormatPickerstyles__ClearButton",
|
|
10
10
|
componentId: "sc-1sk419c-1"
|
|
11
|
-
})(["&&&{", "{svg{fill:
|
|
11
|
+
})(["&&&{", "{svg{fill:var(--ds-color-icon-danger-default);color:var(--ds-color-icon-danger-default);}}&:hover{", "{svg{fill:var(--ds-color-icon-danger-default) !important;color:var(--ds-color-icon-danger-default) !important;}}}&:focus{.btn-focus{box-shadow:none;}}}"], IconContainer, IconContainer);
|
|
12
12
|
const FormatPickerWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
13
13
|
displayName: "FormatPickerstyles__FormatPickerWrapper",
|
|
14
14
|
componentId: "sc-1sk419c-2"
|
|
@@ -4,7 +4,7 @@ import ButtonGroup from "@synerise/ds-button-group";
|
|
|
4
4
|
const FormatSettingsContainer = /* @__PURE__ */ styled.div.withConfig({
|
|
5
5
|
displayName: "FormatSettingsstyles__FormatSettingsContainer",
|
|
6
6
|
componentId: "sc-ipk0xd-0"
|
|
7
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:stretch;background-color:
|
|
7
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:stretch;background-color:var(--ds-dropdown-bg);min-width:268px;.ds-title{margin-bottom:8px;}"]);
|
|
8
8
|
const FormatSettingsWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
9
9
|
displayName: "FormatSettingsstyles__FormatSettingsWrapper",
|
|
10
10
|
componentId: "sc-ipk0xd-1"
|
|
@@ -20,19 +20,19 @@ const FormatOptions = /* @__PURE__ */ styled.div.withConfig({
|
|
|
20
20
|
const FormatFooter = /* @__PURE__ */ styled.div.withConfig({
|
|
21
21
|
displayName: "FormatSettingsstyles__FormatFooter",
|
|
22
22
|
componentId: "sc-ipk0xd-4"
|
|
23
|
-
})(["background-color:
|
|
23
|
+
})(["background-color:var(--ds-dropdown-footer-bg);padding:8px 10px;border-top:1px solid var(--ds-dropdown-footer-border);width:100%;"]);
|
|
24
24
|
const DropdownTrigger = /* @__PURE__ */ styled.div.withConfig({
|
|
25
25
|
displayName: "FormatSettingsstyles__DropdownTrigger",
|
|
26
26
|
componentId: "sc-ipk0xd-5"
|
|
27
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 8px 0 12px;height:32px;border-radius:3px;border:1px solid
|
|
27
|
+
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 8px 0 12px;height:32px;border-radius:3px;border:1px solid var(--ds-form-field-border-default);width:100%;margin-bottom:20px;"]);
|
|
28
28
|
const DropdownValue = /* @__PURE__ */ styled.span.withConfig({
|
|
29
29
|
displayName: "FormatSettingsstyles__DropdownValue",
|
|
30
30
|
componentId: "sc-ipk0xd-6"
|
|
31
|
-
})(["font-size:13px;line-height:18px;font-weight:400;color:
|
|
31
|
+
})(["font-size:13px;line-height:18px;font-weight:400;color:var(--ds-form-field-text-value);"]);
|
|
32
32
|
const CurrencyExample = /* @__PURE__ */ styled.span.withConfig({
|
|
33
33
|
displayName: "FormatSettingsstyles__CurrencyExample",
|
|
34
34
|
componentId: "sc-ipk0xd-7"
|
|
35
|
-
})(["color:
|
|
35
|
+
})(["color:var(--ds-color-text-neutral-default);font-weight:400;"]);
|
|
36
36
|
const FixedLengthButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
37
37
|
displayName: "FormatSettingsstyles__FixedLengthButton",
|
|
38
38
|
componentId: "sc-ipk0xd-8"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-format-picker",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "FormatPicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.1
|
|
46
|
-
"@synerise/ds-button-group": "^2.
|
|
47
|
-
"@synerise/ds-checkbox": "^2.
|
|
48
|
-
"@synerise/ds-dropdown": "^2.1
|
|
49
|
-
"@synerise/ds-icon": "^2.
|
|
50
|
-
"@synerise/ds-radio": "^2.
|
|
51
|
-
"@synerise/ds-tooltip": "^2.
|
|
52
|
-
"@synerise/ds-typography": "^2.
|
|
53
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-button": "^2.2.1",
|
|
46
|
+
"@synerise/ds-button-group": "^2.1.1",
|
|
47
|
+
"@synerise/ds-checkbox": "^2.1.1",
|
|
48
|
+
"@synerise/ds-dropdown": "^2.2.1",
|
|
49
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
50
|
+
"@synerise/ds-radio": "^2.1.1",
|
|
51
|
+
"@synerise/ds-tooltip": "^2.1.1",
|
|
52
|
+
"@synerise/ds-typography": "^2.1.1",
|
|
53
|
+
"@synerise/ds-utils": "^2.3.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@synerise/ds-core": "*",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"styled-components": "^5.3.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@synerise/ds-list-item": "^2.
|
|
62
|
+
"@synerise/ds-list-item": "^2.4.0",
|
|
63
63
|
"vitest": "4"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
|
|
66
66
|
}
|