@synerise/ds-time-picker 0.7.1 → 0.7.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 +12 -0
- package/dist/TimePicker.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [0.7.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@0.7.1...@synerise/ds-time-picker@0.7.2) (2023-03-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **date-range-picker:** data format in date range picker usage fix ([0f17e68](https://github.com/Synerise/synerise-design/commit/0f17e68dbdf1d324e939e2dc45f5c5a454dc20f7))
|
|
12
|
+
* **time-picker:** test fix ([ca3dd75](https://github.com/Synerise/synerise-design/commit/ca3dd75d9b39bc49ca571872528673945ead6a60))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [0.7.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@0.7.0...@synerise/ds-time-picker@0.7.1) (2023-03-21)
|
|
7
19
|
|
|
8
20
|
|
package/dist/TimePicker.js
CHANGED
|
@@ -179,13 +179,13 @@ var TimePicker = function TimePicker(_ref) {
|
|
|
179
179
|
}, [open, dateString, clear, clearTooltip, alwaysOpen, disabled]);
|
|
180
180
|
var placeholderValue = React.useMemo(function () {
|
|
181
181
|
if (value) {
|
|
182
|
-
return
|
|
182
|
+
return getTimeString(value);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
return placeholder || intl.formatMessage({
|
|
186
186
|
id: 'DS.TIME-PICKER.PLACEHOLDER'
|
|
187
187
|
});
|
|
188
|
-
}, [placeholder, intl, value,
|
|
188
|
+
}, [placeholder, intl, value, getTimeString]);
|
|
189
189
|
|
|
190
190
|
if (raw) {
|
|
191
191
|
return overlay;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-time-picker",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "TimePicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/debounce": "^1.2.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "f6617e99a823599ee63f3d094b81cdbec3a979ea"
|
|
51
51
|
}
|