@commercetools-uikit/date-range-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
|
@@ -51,10 +51,10 @@ export default Example;
|
|
|
51
51
|
| `value` | `Array: MomentInput[]` | ✅ | | The selected date range, must either be an empty array or an array of two strings holding dates formatted as "YYYY-MM-DD". |
|
|
52
52
|
| `aria-invalid` | `boolean` | | | Indicate if the value entered in the input is invalid. |
|
|
53
53
|
| `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
|
|
54
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
54
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Called when the date range changes. Called with an event containing either an empty array (no value) or an array holding two string in this format: "YYYY-MM-DD". |
|
|
55
55
|
| `isClearable` | `boolean` | | `true` | Allows the range to be cleared |
|
|
56
|
-
| `onFocus` | `Function`<br/>[See signature.](#signature-
|
|
57
|
-
| `onBlur` | `Function`<br/>[See signature.](#signature-
|
|
56
|
+
| `onFocus` | `Function`<br/>[See signature.](#signature-onfocus) | | | Called when the date input gains focus. |
|
|
57
|
+
| `onBlur` | `Function`<br/>[See signature.](#signature-onblur) | | | Called when the date input loses focus. |
|
|
58
58
|
| `id` | `string` | | | Used as the HTML `id` attribute. |
|
|
59
59
|
| `name` | `string` | | | Used as the HTML `name` attribute. |
|
|
60
60
|
| `placeholder` | `string` | | | Placeholder value to show in the input field |
|
|
@@ -453,7 +453,7 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
453
453
|
var dateRangeInput = reactIntl.injectIntl(DateRangeInput);
|
|
454
454
|
|
|
455
455
|
// NOTE: This string will be replaced on build time with the package version.
|
|
456
|
-
var version = "19.22.
|
|
456
|
+
var version = "19.22.6";
|
|
457
457
|
|
|
458
458
|
exports["default"] = dateRangeInput;
|
|
459
459
|
exports.version = version;
|
|
@@ -435,7 +435,7 @@ DateRangeInput.propTypes = {};
|
|
|
435
435
|
var dateRangeInput = reactIntl.injectIntl(DateRangeInput);
|
|
436
436
|
|
|
437
437
|
// NOTE: This string will be replaced on build time with the package version.
|
|
438
|
-
var version = "19.22.
|
|
438
|
+
var version = "19.22.6";
|
|
439
439
|
|
|
440
440
|
exports["default"] = dateRangeInput;
|
|
441
441
|
exports.version = version;
|
|
@@ -430,6 +430,6 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
430
430
|
var dateRangeInput = injectIntl(DateRangeInput);
|
|
431
431
|
|
|
432
432
|
// NOTE: This string will be replaced on build time with the package version.
|
|
433
|
-
var version = "19.22.
|
|
433
|
+
var version = "19.22.6";
|
|
434
434
|
|
|
435
435
|
export { dateRangeInput as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/date-range-input",
|
|
3
3
|
"description": "The `DateRangeInput` component allows the user to select a date range.",
|
|
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",
|