@commercetools-uikit/date-input 20.5.0 → 20.6.0
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -->
|
|
2
|
-
<!-- This file is created by the `
|
|
2
|
+
<!-- This file is created by the `pnpm generate-readme` script. -->
|
|
3
3
|
|
|
4
4
|
# DateInput
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@ The \`DateInput\` component allows the user to select a date. It formats the sel
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
|
|
13
|
+
pnpm add @commercetools-uikit/date-input
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
```
|
|
@@ -20,7 +20,7 @@ npm --save install @commercetools-uikit/date-input
|
|
|
20
20
|
Additionally install the peer dependencies (if not present)
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
|
|
23
|
+
pnpm add moment react react-intl
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
```
|
|
@@ -64,6 +64,7 @@ export default Example;
|
|
|
64
64
|
| `hasWarning` | `boolean` | | | Indicates the input field has a warning |
|
|
65
65
|
| `minValue` | `string` | | | A minimum selectable date. Must either be an empty string or a date formatted as "YYYY-MM-DD". |
|
|
66
66
|
| `maxValue` | `string` | | | A maximum selectable date. Must either be an empty string or a date formatted as "YYYY-MM-DD". |
|
|
67
|
+
| `appearance` | `union`<br/>Possible values:<br/>`'default' , 'filter'` | | | Indicates the appearance of the input.
Filter appearance removes borders and box shadows, and calendar is always open. |
|
|
67
68
|
|
|
68
69
|
## Signatures
|
|
69
70
|
|
|
@@ -14,6 +14,7 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
14
14
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
15
15
|
var _fillInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/fill');
|
|
16
16
|
var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
|
|
17
|
+
var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
17
18
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
18
19
|
var react = require('react');
|
|
19
20
|
var Downshift = require('downshift');
|
|
@@ -36,12 +37,13 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
36
37
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
37
38
|
var _fillInstanceProperty__default = /*#__PURE__*/_interopDefault(_fillInstanceProperty);
|
|
38
39
|
var _trimInstanceProperty__default = /*#__PURE__*/_interopDefault(_trimInstanceProperty);
|
|
40
|
+
var _bindInstanceProperty__default = /*#__PURE__*/_interopDefault(_bindInstanceProperty);
|
|
39
41
|
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
40
42
|
var Downshift__default = /*#__PURE__*/_interopDefault(Downshift);
|
|
41
43
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
42
44
|
|
|
43
45
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
46
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context4, _context5; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t), !0)).call(_context4, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context5 = ownKeys(Object(t))).call(_context5, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
45
47
|
const preventDownshiftDefault = event => {
|
|
46
48
|
event.nativeEvent.preventDownshiftDefault = true;
|
|
47
49
|
};
|
|
@@ -65,7 +67,7 @@ const DateInput = props => {
|
|
|
65
67
|
process.env.NODE_ENV !== "production" ? utils.warning(typeof props.onChange === 'function', 'DateInput: `onChange` is required when input is not read only.') : void 0;
|
|
66
68
|
}
|
|
67
69
|
const onChange = props.onChange;
|
|
68
|
-
const emit = react.useCallback(value => onChange
|
|
70
|
+
const emit = react.useCallback(value => onChange?.({
|
|
69
71
|
target: {
|
|
70
72
|
id: props.id,
|
|
71
73
|
name: props.name,
|
|
@@ -75,8 +77,7 @@ const DateInput = props => {
|
|
|
75
77
|
}
|
|
76
78
|
}), [onChange, props.id, props.name]);
|
|
77
79
|
const handleChange = react.useCallback(date => {
|
|
78
|
-
|
|
79
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.setSelectionRange(0, 100);
|
|
80
|
+
inputRef.current?.setSelectionRange(0, 100);
|
|
80
81
|
emit(date);
|
|
81
82
|
}, [inputRef, emit]);
|
|
82
83
|
const onBlur = props.onBlur;
|
|
@@ -89,11 +90,10 @@ const DateInput = props => {
|
|
|
89
90
|
});
|
|
90
91
|
}, [onBlur, props.id, props.name]);
|
|
91
92
|
const showToday = () => {
|
|
92
|
-
var _inputRef$current2;
|
|
93
93
|
const today = calendarUtils.getToday();
|
|
94
94
|
setCalendarDate(today);
|
|
95
95
|
setHighlightedIndex(suggestedItems.length + calendarUtils.getDateInMonth(today) - 1);
|
|
96
|
-
|
|
96
|
+
inputRef.current?.focus();
|
|
97
97
|
};
|
|
98
98
|
const jumpMonth = function (amount) {
|
|
99
99
|
let dayToHighlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
@@ -191,11 +191,12 @@ const DateInput = props => {
|
|
|
191
191
|
if (isOpen) setDownshiftHighlightedIndex(null);
|
|
192
192
|
},
|
|
193
193
|
onKeyDown: event => {
|
|
194
|
+
var _context2, _context3;
|
|
194
195
|
if (props.isReadOnly) {
|
|
195
196
|
preventDownshiftDefault(event);
|
|
196
197
|
return;
|
|
197
198
|
}
|
|
198
|
-
if (event.key === 'Enter' && (
|
|
199
|
+
if (event.key === 'Enter' && ((_context2 = inputValue) == null ? void 0 : _bindInstanceProperty__default["default"](_context3 = Function.call).call(_context3, _trimInstanceProperty__default["default"](_context2), _context2))?.() === '') {
|
|
199
200
|
clearSelection();
|
|
200
201
|
}
|
|
201
202
|
// ArrowDown
|
|
@@ -292,7 +293,7 @@ DateInput.isEmpty = value => value === '';
|
|
|
292
293
|
var DateInput$1 = DateInput;
|
|
293
294
|
|
|
294
295
|
// NOTE: This string will be replaced on build time with the package version.
|
|
295
|
-
var version = "20.
|
|
296
|
+
var version = "20.6.0";
|
|
296
297
|
|
|
297
298
|
exports["default"] = DateInput$1;
|
|
298
299
|
exports.version = version;
|
|
@@ -14,6 +14,7 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
14
14
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
15
15
|
var _fillInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/fill');
|
|
16
16
|
var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
|
|
17
|
+
var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
17
18
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
18
19
|
var react = require('react');
|
|
19
20
|
var Downshift = require('downshift');
|
|
@@ -36,12 +37,13 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
36
37
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
37
38
|
var _fillInstanceProperty__default = /*#__PURE__*/_interopDefault(_fillInstanceProperty);
|
|
38
39
|
var _trimInstanceProperty__default = /*#__PURE__*/_interopDefault(_trimInstanceProperty);
|
|
40
|
+
var _bindInstanceProperty__default = /*#__PURE__*/_interopDefault(_bindInstanceProperty);
|
|
39
41
|
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
40
42
|
var Downshift__default = /*#__PURE__*/_interopDefault(Downshift);
|
|
41
43
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
42
44
|
|
|
43
45
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
46
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context4, _context5; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t), !0)).call(_context4, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context5 = ownKeys(Object(t))).call(_context5, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
45
47
|
const preventDownshiftDefault = event => {
|
|
46
48
|
event.nativeEvent.preventDownshiftDefault = true;
|
|
47
49
|
};
|
|
@@ -63,7 +65,7 @@ const DateInput = props => {
|
|
|
63
65
|
const appearance = props.appearance || 'default';
|
|
64
66
|
if (!props.isReadOnly) ;
|
|
65
67
|
const onChange = props.onChange;
|
|
66
|
-
const emit = react.useCallback(value => onChange
|
|
68
|
+
const emit = react.useCallback(value => onChange?.({
|
|
67
69
|
target: {
|
|
68
70
|
id: props.id,
|
|
69
71
|
name: props.name,
|
|
@@ -73,8 +75,7 @@ const DateInput = props => {
|
|
|
73
75
|
}
|
|
74
76
|
}), [onChange, props.id, props.name]);
|
|
75
77
|
const handleChange = react.useCallback(date => {
|
|
76
|
-
|
|
77
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.setSelectionRange(0, 100);
|
|
78
|
+
inputRef.current?.setSelectionRange(0, 100);
|
|
78
79
|
emit(date);
|
|
79
80
|
}, [inputRef, emit]);
|
|
80
81
|
const onBlur = props.onBlur;
|
|
@@ -87,11 +88,10 @@ const DateInput = props => {
|
|
|
87
88
|
});
|
|
88
89
|
}, [onBlur, props.id, props.name]);
|
|
89
90
|
const showToday = () => {
|
|
90
|
-
var _inputRef$current2;
|
|
91
91
|
const today = calendarUtils.getToday();
|
|
92
92
|
setCalendarDate(today);
|
|
93
93
|
setHighlightedIndex(suggestedItems.length + calendarUtils.getDateInMonth(today) - 1);
|
|
94
|
-
|
|
94
|
+
inputRef.current?.focus();
|
|
95
95
|
};
|
|
96
96
|
const jumpMonth = function (amount) {
|
|
97
97
|
let dayToHighlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
@@ -189,11 +189,12 @@ const DateInput = props => {
|
|
|
189
189
|
if (isOpen) setDownshiftHighlightedIndex(null);
|
|
190
190
|
},
|
|
191
191
|
onKeyDown: event => {
|
|
192
|
+
var _context2, _context3;
|
|
192
193
|
if (props.isReadOnly) {
|
|
193
194
|
preventDownshiftDefault(event);
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
|
-
if (event.key === 'Enter' && (
|
|
197
|
+
if (event.key === 'Enter' && ((_context2 = inputValue) == null ? void 0 : _bindInstanceProperty__default["default"](_context3 = Function.call).call(_context3, _trimInstanceProperty__default["default"](_context2), _context2))?.() === '') {
|
|
197
198
|
clearSelection();
|
|
198
199
|
}
|
|
199
200
|
// ArrowDown
|
|
@@ -290,7 +291,7 @@ DateInput.isEmpty = value => value === '';
|
|
|
290
291
|
var DateInput$1 = DateInput;
|
|
291
292
|
|
|
292
293
|
// NOTE: This string will be replaced on build time with the package version.
|
|
293
|
-
var version = "20.
|
|
294
|
+
var version = "20.6.0";
|
|
294
295
|
|
|
295
296
|
exports["default"] = DateInput$1;
|
|
296
297
|
exports.version = version;
|
|
@@ -10,6 +10,7 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
11
11
|
import _fillInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/fill';
|
|
12
12
|
import _trimInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/trim';
|
|
13
|
+
import _bindInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
13
14
|
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
14
15
|
import { useState, useRef, useCallback } from 'react';
|
|
15
16
|
import Downshift from 'downshift';
|
|
@@ -21,7 +22,7 @@ import { getLocalizedDateTimeFormatPattern } from '@commercetools-uikit/calendar
|
|
|
21
22
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
22
23
|
|
|
23
24
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
25
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context4, _context5; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context4 = ownKeys(Object(t), !0)).call(_context4, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context5 = ownKeys(Object(t))).call(_context5, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25
26
|
const preventDownshiftDefault = event => {
|
|
26
27
|
event.nativeEvent.preventDownshiftDefault = true;
|
|
27
28
|
};
|
|
@@ -45,7 +46,7 @@ const DateInput = props => {
|
|
|
45
46
|
process.env.NODE_ENV !== "production" ? warning(typeof props.onChange === 'function', 'DateInput: `onChange` is required when input is not read only.') : void 0;
|
|
46
47
|
}
|
|
47
48
|
const onChange = props.onChange;
|
|
48
|
-
const emit = useCallback(value => onChange
|
|
49
|
+
const emit = useCallback(value => onChange?.({
|
|
49
50
|
target: {
|
|
50
51
|
id: props.id,
|
|
51
52
|
name: props.name,
|
|
@@ -55,8 +56,7 @@ const DateInput = props => {
|
|
|
55
56
|
}
|
|
56
57
|
}), [onChange, props.id, props.name]);
|
|
57
58
|
const handleChange = useCallback(date => {
|
|
58
|
-
|
|
59
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.setSelectionRange(0, 100);
|
|
59
|
+
inputRef.current?.setSelectionRange(0, 100);
|
|
60
60
|
emit(date);
|
|
61
61
|
}, [inputRef, emit]);
|
|
62
62
|
const onBlur = props.onBlur;
|
|
@@ -69,11 +69,10 @@ const DateInput = props => {
|
|
|
69
69
|
});
|
|
70
70
|
}, [onBlur, props.id, props.name]);
|
|
71
71
|
const showToday = () => {
|
|
72
|
-
var _inputRef$current2;
|
|
73
72
|
const today = getToday();
|
|
74
73
|
setCalendarDate(today);
|
|
75
74
|
setHighlightedIndex(suggestedItems.length + getDateInMonth(today) - 1);
|
|
76
|
-
|
|
75
|
+
inputRef.current?.focus();
|
|
77
76
|
};
|
|
78
77
|
const jumpMonth = function (amount) {
|
|
79
78
|
let dayToHighlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
@@ -171,11 +170,12 @@ const DateInput = props => {
|
|
|
171
170
|
if (isOpen) setDownshiftHighlightedIndex(null);
|
|
172
171
|
},
|
|
173
172
|
onKeyDown: event => {
|
|
173
|
+
var _context2, _context3;
|
|
174
174
|
if (props.isReadOnly) {
|
|
175
175
|
preventDownshiftDefault(event);
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
|
-
if (event.key === 'Enter' && (
|
|
178
|
+
if (event.key === 'Enter' && ((_context2 = inputValue) == null ? void 0 : _bindInstanceProperty(_context3 = Function.call).call(_context3, _trimInstanceProperty(_context2), _context2))?.() === '') {
|
|
179
179
|
clearSelection();
|
|
180
180
|
}
|
|
181
181
|
// ArrowDown
|
|
@@ -272,6 +272,6 @@ DateInput.isEmpty = value => value === '';
|
|
|
272
272
|
var DateInput$1 = DateInput;
|
|
273
273
|
|
|
274
274
|
// NOTE: This string will be replaced on build time with the package version.
|
|
275
|
-
var version = "20.
|
|
275
|
+
var version = "20.6.0";
|
|
276
276
|
|
|
277
277
|
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": "20.
|
|
4
|
+
"version": "20.6.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
"directory": "packages/components/inputs/date-input"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://uikit.commercetools.com",
|
|
12
|
-
"keywords": [
|
|
12
|
+
"keywords": [
|
|
13
|
+
"javascript",
|
|
14
|
+
"typescript",
|
|
15
|
+
"design-system",
|
|
16
|
+
"react",
|
|
17
|
+
"uikit"
|
|
18
|
+
],
|
|
13
19
|
"license": "MIT",
|
|
14
20
|
"publishConfig": {
|
|
15
21
|
"access": "public"
|
|
@@ -17,31 +23,34 @@
|
|
|
17
23
|
"sideEffects": false,
|
|
18
24
|
"main": "dist/commercetools-uikit-date-input.cjs.js",
|
|
19
25
|
"module": "dist/commercetools-uikit-date-input.esm.js",
|
|
20
|
-
"files": [
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
21
29
|
"dependencies": {
|
|
22
30
|
"@babel/runtime": "^7.20.13",
|
|
23
31
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "20.5.0",
|
|
25
|
-
"@commercetools-uikit/calendar-time-utils": "20.5.0",
|
|
26
|
-
"@commercetools-uikit/calendar-utils": "20.5.0",
|
|
27
|
-
"@commercetools-uikit/constraints": "20.5.0",
|
|
28
|
-
"@commercetools-uikit/design-system": "20.5.0",
|
|
29
|
-
"@commercetools-uikit/hooks": "20.5.0",
|
|
30
|
-
"@commercetools-uikit/icons": "20.5.0",
|
|
31
|
-
"@commercetools-uikit/secondary-icon-button": "20.5.0",
|
|
32
|
-
"@commercetools-uikit/select-utils": "20.5.0",
|
|
33
|
-
"@commercetools-uikit/spacings-inline": "20.5.0",
|
|
34
|
-
"@commercetools-uikit/text": "20.5.0",
|
|
35
|
-
"@commercetools-uikit/tooltip": "20.5.0",
|
|
36
|
-
"@commercetools-uikit/utils": "20.5.0",
|
|
37
32
|
"@emotion/react": "^11.10.5",
|
|
38
33
|
"@emotion/styled": "^11.10.5",
|
|
39
34
|
"downshift": "9.0.10",
|
|
40
35
|
"react-is": "19.2.0",
|
|
41
|
-
"warning": "4.0.3"
|
|
36
|
+
"warning": "4.0.3",
|
|
37
|
+
"@commercetools-uikit/accessible-button": "^20.6.0",
|
|
38
|
+
"@commercetools-uikit/calendar-time-utils": "^20.6.0",
|
|
39
|
+
"@commercetools-uikit/calendar-utils": "^20.6.0",
|
|
40
|
+
"@commercetools-uikit/constraints": "^20.6.0",
|
|
41
|
+
"@commercetools-uikit/design-system": "^20.6.0",
|
|
42
|
+
"@commercetools-uikit/hooks": "^20.6.0",
|
|
43
|
+
"@commercetools-uikit/icons": "^20.6.0",
|
|
44
|
+
"@commercetools-uikit/secondary-icon-button": "^20.6.0",
|
|
45
|
+
"@commercetools-uikit/select-utils": "^20.6.0",
|
|
46
|
+
"@commercetools-uikit/spacings-inline": "^20.6.0",
|
|
47
|
+
"@commercetools-uikit/text": "^20.6.0",
|
|
48
|
+
"@commercetools-uikit/tooltip": "^20.6.0",
|
|
49
|
+
"@commercetools-uikit/utils": "^20.6.0"
|
|
42
50
|
},
|
|
43
51
|
"devDependencies": {
|
|
44
52
|
"moment": "2.30.1",
|
|
53
|
+
"prop-types": "^15.8.1",
|
|
45
54
|
"react": "19.2.0",
|
|
46
55
|
"react-intl": "^7.1.4"
|
|
47
56
|
},
|
|
@@ -50,4 +59,4 @@
|
|
|
50
59
|
"react": "19.x",
|
|
51
60
|
"react-intl": "7.x"
|
|
52
61
|
}
|
|
53
|
-
}
|
|
62
|
+
}
|