@synerise/ds-time-picker 2.0.12 → 2.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 +19 -0
- package/dist/TimePicker.styles.js +10 -10
- package/package.json +9 -9
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.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@2.1.0...@synerise/ds-time-picker@2.1.1) (2026-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-time-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@2.0.12...@synerise/ds-time-picker@2.1.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.0.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@2.0.11...@synerise/ds-time-picker@2.0.12) (2026-10-28)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-time-picker
|
|
@@ -14,7 +14,7 @@ const Container = /* @__PURE__ */ styled.div.withConfig({
|
|
|
14
14
|
const OverlayContainer = /* @__PURE__ */ styled.div.withConfig({
|
|
15
15
|
displayName: "TimePickerstyles__OverlayContainer",
|
|
16
16
|
componentId: "sc-5k0z0v-2"
|
|
17
|
-
})(["background-color:
|
|
17
|
+
})(["background-color:var(--ds-time-picker-overlay-bg);border-radius:3px;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;"]);
|
|
18
18
|
const Unit = /* @__PURE__ */ styled.div.withConfig({
|
|
19
19
|
displayName: "TimePickerstyles__Unit",
|
|
20
20
|
componentId: "sc-5k0z0v-3"
|
|
@@ -22,30 +22,30 @@ const Unit = /* @__PURE__ */ styled.div.withConfig({
|
|
|
22
22
|
const UnitSeperator = /* @__PURE__ */ styled.div.withConfig({
|
|
23
23
|
displayName: "TimePickerstyles__UnitSeperator",
|
|
24
24
|
componentId: "sc-5k0z0v-4"
|
|
25
|
-
})(["width:1px;height:inherit;display:flex;flex-shrink:0;background-color:
|
|
25
|
+
})(["width:1px;height:inherit;display:flex;flex-shrink:0;background-color:var(--ds-time-picker-overlay-separator-bg);"]);
|
|
26
26
|
const CellText = /* @__PURE__ */ styled(Label).withConfig({
|
|
27
27
|
displayName: "TimePickerstyles__CellText",
|
|
28
28
|
componentId: "sc-5k0z0v-5"
|
|
29
|
-
})(["&&{width:22px;height:18px;text-align:center;color:
|
|
29
|
+
})(["&&{width:22px;height:18px;text-align:center;color:var(--ds-time-picker-item-text-default);transition:color 0.3s;}"]);
|
|
30
30
|
const Cell = /* @__PURE__ */ styled.button.withConfig({
|
|
31
31
|
displayName: "TimePickerstyles__Cell",
|
|
32
32
|
componentId: "sc-5k0z0v-6"
|
|
33
|
-
})(["height:32px;width:100%;text-align:center;display:flex;flex-shrink:0;align-items:center;justify-content:center;transition:background-color 0.3s;cursor:pointer;background-color:
|
|
34
|
-
background-color:
|
|
35
|
-
opacity:
|
|
33
|
+
})(["height:32px;width:100%;text-align:center;display:flex;flex-shrink:0;align-items:center;justify-content:center;transition:background-color 0.3s;cursor:pointer;background-color:var(--ds-time-picker-item-bg-default);&&{border:none;padding:0;}&:hover{background-color:var(--ds-time-picker-item-bg-hover);", "{color:var(--ds-time-picker-item-text-hover);}}&:disabled{&&{cursor:not-allowed;background-color:var(--ds-time-picker-item-bg-default);", "}", "{cursor:not-allowed;opacity:var(--ds-opacity-disabled);}}", ";"], CellText, (props) => props.active && `
|
|
34
|
+
background-color: var(--ds-time-picker-item-bg-selected);
|
|
35
|
+
opacity: var(--ds-opacity-muted);
|
|
36
36
|
${CellText}${CellText} {
|
|
37
37
|
opacity: 1;
|
|
38
|
-
color:
|
|
38
|
+
color: var(--ds-time-picker-item-text-selected);
|
|
39
39
|
}
|
|
40
|
-
`, CellText, (props) => props.active && css(["&&{cursor:initial;background-color:
|
|
40
|
+
`, CellText, (props) => props.active && css(["&&{cursor:initial;background-color:var(--ds-time-picker-item-bg-selected);}", "", "{cursor:initial;color:var(--ds-time-picker-item-text-selected);}"], CellText, CellText));
|
|
41
41
|
const ClearIcon = /* @__PURE__ */ styled(Icon).withConfig({
|
|
42
42
|
displayName: "TimePickerstyles__ClearIcon",
|
|
43
43
|
componentId: "sc-5k0z0v-7"
|
|
44
|
-
})(["&&,&&:hover{
|
|
44
|
+
})(["&&,&&:hover{color:var(--ds-form-clear-icon);}"]);
|
|
45
45
|
const TimePickerInput = /* @__PURE__ */ styled(Input).withConfig({
|
|
46
46
|
displayName: "TimePickerstyles__TimePickerInput",
|
|
47
47
|
componentId: "sc-5k0z0v-8"
|
|
48
|
-
})(["margin-bottom:0
|
|
48
|
+
})(["margin-bottom:0;&& input:hover:not(:disabled):not(:focus){border-color:var(--ds-form-field-border-hover);}&:not(.active){input{&:focus{box-shadow:none;background-color:var(--ds-color-background-base-default);border-color:var(--ds-form-field-border-default);}}}"]);
|
|
49
49
|
const PlaceholderWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
50
50
|
displayName: "TimePickerstyles__PlaceholderWrapper",
|
|
51
51
|
componentId: "sc-5k0z0v-9"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-time-picker",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "TimePicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
],
|
|
47
47
|
"types": "dist/index.d.ts",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@synerise/ds-dropdown": "^2.1
|
|
50
|
-
"@synerise/ds-icon": "^2.
|
|
51
|
-
"@synerise/ds-input": "^2.
|
|
52
|
-
"@synerise/ds-popover": "^2.
|
|
53
|
-
"@synerise/ds-scrollbar": "^2.
|
|
54
|
-
"@synerise/ds-tooltip": "^2.
|
|
55
|
-
"@synerise/ds-typography": "^2.
|
|
49
|
+
"@synerise/ds-dropdown": "^2.2.1",
|
|
50
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
51
|
+
"@synerise/ds-input": "^2.1.1",
|
|
52
|
+
"@synerise/ds-popover": "^2.3.0",
|
|
53
|
+
"@synerise/ds-scrollbar": "^2.1.1",
|
|
54
|
+
"@synerise/ds-tooltip": "^2.1.1",
|
|
55
|
+
"@synerise/ds-typography": "^2.1.1",
|
|
56
56
|
"dayjs": "^1.8.19",
|
|
57
57
|
"debounce": "^1.2.0",
|
|
58
58
|
"lodash.range": "^3.2.0"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
68
68
|
"styled-components": "^5.3.3"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
|
|
71
71
|
}
|