@synerise/ds-format-picker 2.1.3 → 2.2.0

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,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.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)
7
+
8
+
9
+ ### Features
10
+
11
+ * integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
12
+
13
+
14
+
15
+
16
+
17
+ ## [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)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-format-picker
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-format-picker@2.1.2...@synerise/ds-format-picker@2.1.3) (2026-10-26)
7
26
 
8
27
 
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 `theme.palette` tokens (`white`, `grey-050`, `grey-100`, `grey-300`, `grey-500`, `grey-700`). Hardcoded `min-width: 268px` for the panel container.
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:", ";color:", ";}}&:hover{", "{svg{fill:", " !important;color:", " !important;}}}&:focus{.btn-focus{box-shadow:none;}}}"], IconContainer, (props) => props.theme.palette["red-600"], (props) => props.theme.palette["red-600"], IconContainer, (props) => props.theme.palette["red-600"], (props) => props.theme.palette["red-600"]);
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:", ";min-width:268px;.ds-title{margin-bottom:8px;}"], (props) => props.theme.palette.white);
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:", ";padding:8px 10px;border-top:1px solid ", ";width:100%;"], (props) => props.theme.palette["grey-050"], (props) => props.theme.palette["grey-100"]);
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 ", ";width:100%;margin-bottom:20px;"], (props) => props.theme.palette["grey-300"]);
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:", ";"], (props) => props.theme.palette["grey-700"]);
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:", ";font-weight:400;"], (props) => props.theme.palette["grey-500"]);
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",
3
+ "version": "2.2.0",
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.5",
46
- "@synerise/ds-button-group": "^2.0.10",
47
- "@synerise/ds-checkbox": "^2.0.10",
48
- "@synerise/ds-dropdown": "^2.1.7",
49
- "@synerise/ds-icon": "^2.2.3",
50
- "@synerise/ds-radio": "^2.0.10",
51
- "@synerise/ds-tooltip": "^2.0.10",
52
- "@synerise/ds-typography": "^2.0.10",
53
- "@synerise/ds-utils": "^2.2.2"
45
+ "@synerise/ds-button": "^2.2.0",
46
+ "@synerise/ds-button-group": "^2.1.0",
47
+ "@synerise/ds-checkbox": "^2.1.0",
48
+ "@synerise/ds-dropdown": "^2.2.0",
49
+ "@synerise/ds-icon": "^2.3.0",
50
+ "@synerise/ds-radio": "^2.1.0",
51
+ "@synerise/ds-tooltip": "^2.1.0",
52
+ "@synerise/ds-typography": "^2.1.0",
53
+ "@synerise/ds-utils": "^2.3.0"
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.2.3",
62
+ "@synerise/ds-list-item": "^2.3.0",
63
63
  "vitest": "4"
64
64
  },
65
- "gitHead": "5ac0f7dcb7c3995b402c86c087d8f32770f80a1d"
65
+ "gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
66
66
  }