@commercetools-uikit/date-time-input 19.22.4 → 19.22.6
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/README.md
CHANGED
|
@@ -54,9 +54,9 @@ export default Example;
|
|
|
54
54
|
| `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
|
|
55
55
|
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | | Horizontal size limit of the input field. |
|
|
56
56
|
| `value` | `string` | ✅ | | The selected date, must either be an empty string or a date formatted in ISO 8601 (e.g. "2018-10-04T09:00:00.000Z"). |
|
|
57
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
57
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Called when the date changes. Called with an event containing an empty string (no value) or a string in this format: "YYYY-MM-DD". |
|
|
58
58
|
| `onFocus` | `FocusEventHandler` | | | Called when the date input gains focus. |
|
|
59
|
-
| `onBlur` | `Function`<br/>[See signature.](#signature-
|
|
59
|
+
| `onBlur` | `Function`<br/>[See signature.](#signature-onblur) | | | Called when the date input loses focus. |
|
|
60
60
|
| `timeZone` | `string` | ✅ | | Specifies the time zone in which the calendar and selected values are shown. It also influences how entered dates and times are parsed.
Get list of timezone with `moment.tz.names()` [See moment docs](https://momentjs.com/timezone/docs/#/data-loading/getting-zone-names/) |
|
|
61
61
|
| `id` | `string` | | | Used as the HTML `id` attribute. |
|
|
62
62
|
| `name` | `string` | | | Used as the HTML `name` attribute. |
|
|
@@ -427,7 +427,7 @@ DateTimeInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
427
427
|
var dateTimeInput = reactIntl.injectIntl(DateTimeInput);
|
|
428
428
|
|
|
429
429
|
// NOTE: This string will be replaced on build time with the package version.
|
|
430
|
-
var version = "19.22.
|
|
430
|
+
var version = "19.22.6";
|
|
431
431
|
|
|
432
432
|
exports["default"] = dateTimeInput;
|
|
433
433
|
exports.version = version;
|
|
@@ -403,7 +403,7 @@ DateTimeInput.propTypes = {};
|
|
|
403
403
|
var dateTimeInput = reactIntl.injectIntl(DateTimeInput);
|
|
404
404
|
|
|
405
405
|
// NOTE: This string will be replaced on build time with the package version.
|
|
406
|
-
var version = "19.22.
|
|
406
|
+
var version = "19.22.6";
|
|
407
407
|
|
|
408
408
|
exports["default"] = dateTimeInput;
|
|
409
409
|
exports.version = version;
|
|
@@ -405,6 +405,6 @@ DateTimeInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
405
405
|
var dateTimeInput = injectIntl(DateTimeInput);
|
|
406
406
|
|
|
407
407
|
// NOTE: This string will be replaced on build time with the package version.
|
|
408
|
-
var version = "19.22.
|
|
408
|
+
var version = "19.22.6";
|
|
409
409
|
|
|
410
410
|
export { dateTimeInput as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/date-time-input",
|
|
3
3
|
"description": "The `DateTimeInput` component allows the user to select a date. This component also supports multiple date selection.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.6",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "19.22.
|
|
25
|
-
"@commercetools-uikit/calendar-time-utils": "19.22.
|
|
26
|
-
"@commercetools-uikit/calendar-utils": "19.22.
|
|
27
|
-
"@commercetools-uikit/constraints": "19.22.
|
|
28
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
29
|
-
"@commercetools-uikit/hooks": "19.22.
|
|
30
|
-
"@commercetools-uikit/icons": "19.22.
|
|
31
|
-
"@commercetools-uikit/secondary-icon-button": "19.22.
|
|
32
|
-
"@commercetools-uikit/select-utils": "19.22.
|
|
33
|
-
"@commercetools-uikit/spacings-inline": "19.22.
|
|
34
|
-
"@commercetools-uikit/text": "19.22.
|
|
35
|
-
"@commercetools-uikit/tooltip": "19.22.
|
|
36
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "19.22.6",
|
|
25
|
+
"@commercetools-uikit/calendar-time-utils": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/calendar-utils": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/constraints": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/hooks": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
31
|
+
"@commercetools-uikit/secondary-icon-button": "19.22.6",
|
|
32
|
+
"@commercetools-uikit/select-utils": "19.22.6",
|
|
33
|
+
"@commercetools-uikit/spacings-inline": "19.22.6",
|
|
34
|
+
"@commercetools-uikit/text": "19.22.6",
|
|
35
|
+
"@commercetools-uikit/tooltip": "19.22.6",
|
|
36
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
38
38
|
"@emotion/styled": "^11.10.5",
|
|
39
39
|
"downshift": "6.1.12",
|