@commercetools-uikit/date-input 19.22.5 → 19.22.7
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
|
@@ -49,9 +49,9 @@ export default Example;
|
|
|
49
49
|
| ---------------------- | -------------------------------------------------------------------------------------------- | :------: | ------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
50
50
|
| `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. |
|
|
51
51
|
| `value` | `string` | ✅ | | The selected date, must either be an empty string or a date formatted as "YYYY-MM-DD". |
|
|
52
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
52
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Called when the date changes. Called with an event containing either an empty string (no value) or a string in this format: "YYYY-MM-DD". |
|
|
53
53
|
| `onFocus` | `FocusEventHandler` | | | Called when the date input gains focus. |
|
|
54
|
-
| `onBlur` | `Function`<br/>[See signature.](#signature-
|
|
54
|
+
| `onBlur` | `Function`<br/>[See signature.](#signature-onblur) | | | Called when the date input loses focus. |
|
|
55
55
|
| `id` | `string` | | | Used as the HTML `id` attribute. |
|
|
56
56
|
| `aria-invalid` | `boolean` | | | Indicate if the value entered in the input is invalid. |
|
|
57
57
|
| `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
|
|
@@ -306,7 +306,7 @@ DateInput.isEmpty = value => value === '';
|
|
|
306
306
|
var DateInput$1 = DateInput;
|
|
307
307
|
|
|
308
308
|
// NOTE: This string will be replaced on build time with the package version.
|
|
309
|
-
var version = "19.22.
|
|
309
|
+
var version = "19.22.7";
|
|
310
310
|
|
|
311
311
|
exports["default"] = DateInput$1;
|
|
312
312
|
exports.version = version;
|
|
@@ -285,7 +285,7 @@ DateInput.isEmpty = value => value === '';
|
|
|
285
285
|
var DateInput$1 = DateInput;
|
|
286
286
|
|
|
287
287
|
// NOTE: This string will be replaced on build time with the package version.
|
|
288
|
-
var version = "19.22.
|
|
288
|
+
var version = "19.22.7";
|
|
289
289
|
|
|
290
290
|
exports["default"] = DateInput$1;
|
|
291
291
|
exports.version = version;
|
|
@@ -286,6 +286,6 @@ DateInput.isEmpty = value => value === '';
|
|
|
286
286
|
var DateInput$1 = DateInput;
|
|
287
287
|
|
|
288
288
|
// NOTE: This string will be replaced on build time with the package version.
|
|
289
|
-
var version = "19.22.
|
|
289
|
+
var version = "19.22.7";
|
|
290
290
|
|
|
291
291
|
export { DateInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/date-input",
|
|
3
3
|
"description": "The `DateInput` component allows the user to select a date. It formats the selected date depending on the users' locale.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.7",
|
|
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.7",
|
|
25
|
+
"@commercetools-uikit/calendar-time-utils": "19.22.7",
|
|
26
|
+
"@commercetools-uikit/calendar-utils": "19.22.7",
|
|
27
|
+
"@commercetools-uikit/constraints": "19.22.7",
|
|
28
|
+
"@commercetools-uikit/design-system": "19.22.7",
|
|
29
|
+
"@commercetools-uikit/hooks": "19.22.7",
|
|
30
|
+
"@commercetools-uikit/icons": "19.22.7",
|
|
31
|
+
"@commercetools-uikit/secondary-icon-button": "19.22.7",
|
|
32
|
+
"@commercetools-uikit/select-utils": "19.22.7",
|
|
33
|
+
"@commercetools-uikit/spacings-inline": "19.22.7",
|
|
34
|
+
"@commercetools-uikit/text": "19.22.7",
|
|
35
|
+
"@commercetools-uikit/tooltip": "19.22.7",
|
|
36
|
+
"@commercetools-uikit/utils": "19.22.7",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
38
38
|
"@emotion/styled": "^11.10.5",
|
|
39
39
|
"downshift": "6.1.12",
|