@commercetools-uikit/date-range-input 19.1.0 → 19.3.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
@@ -58,6 +58,7 @@ export default Example;
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 |
61
+ | `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
61
62
  | `isDisabled` | `boolean` | | | Disables the date picker |
62
63
  | `isReadOnly` | `boolean` | | | Disables the date picker menu and makes input field read-only |
63
64
  | `hasError` | `boolean` | | | Indicates the input field has an error |
@@ -359,6 +359,7 @@ let DateRangeInput = /*#__PURE__*/function (_Component) {
359
359
  isOpen: isOpen,
360
360
  isDisabled: this.props.isDisabled,
361
361
  isReadOnly: this.props.isReadOnly,
362
+ isCondensed: this.props.isCondensed,
362
363
  toggleButtonProps: getToggleButtonProps(),
363
364
  hasError: this.props.hasError,
364
365
  hasWarning: this.props.hasWarning
@@ -450,6 +451,7 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
450
451
  id: _pt__default["default"].string,
451
452
  name: _pt__default["default"].string,
452
453
  placeholder: _pt__default["default"].string,
454
+ isCondensed: _pt__default["default"].bool,
453
455
  isDisabled: _pt__default["default"].bool,
454
456
  isReadOnly: _pt__default["default"].bool,
455
457
  hasError: _pt__default["default"].bool,
@@ -458,7 +460,7 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
458
460
  var dateRangeInput = reactIntl.injectIntl(DateRangeInput);
459
461
 
460
462
  // NOTE: This string will be replaced on build time with the package version.
461
- var version = "19.1.0";
463
+ var version = "19.3.0";
462
464
 
463
465
  exports["default"] = dateRangeInput;
464
466
  exports.version = version;
@@ -358,6 +358,7 @@ let DateRangeInput = /*#__PURE__*/function (_Component) {
358
358
  isOpen: isOpen,
359
359
  isDisabled: this.props.isDisabled,
360
360
  isReadOnly: this.props.isReadOnly,
361
+ isCondensed: this.props.isCondensed,
361
362
  toggleButtonProps: getToggleButtonProps(),
362
363
  hasError: this.props.hasError,
363
364
  hasWarning: this.props.hasWarning
@@ -441,7 +442,7 @@ DateRangeInput.propTypes = {};
441
442
  var dateRangeInput = reactIntl.injectIntl(DateRangeInput);
442
443
 
443
444
  // NOTE: This string will be replaced on build time with the package version.
444
- var version = "19.1.0";
445
+ var version = "19.3.0";
445
446
 
446
447
  exports["default"] = dateRangeInput;
447
448
  exports.version = version;
@@ -335,6 +335,7 @@ let DateRangeInput = /*#__PURE__*/function (_Component) {
335
335
  isOpen: isOpen,
336
336
  isDisabled: this.props.isDisabled,
337
337
  isReadOnly: this.props.isReadOnly,
338
+ isCondensed: this.props.isCondensed,
338
339
  toggleButtonProps: getToggleButtonProps(),
339
340
  hasError: this.props.hasError,
340
341
  hasWarning: this.props.hasWarning
@@ -426,6 +427,7 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
426
427
  id: _pt.string,
427
428
  name: _pt.string,
428
429
  placeholder: _pt.string,
430
+ isCondensed: _pt.bool,
429
431
  isDisabled: _pt.bool,
430
432
  isReadOnly: _pt.bool,
431
433
  hasError: _pt.bool,
@@ -434,6 +436,6 @@ DateRangeInput.propTypes = process.env.NODE_ENV !== "production" ? {
434
436
  var dateRangeInput = injectIntl(DateRangeInput);
435
437
 
436
438
  // NOTE: This string will be replaced on build time with the package version.
437
- var version = "19.1.0";
439
+ var version = "19.3.0";
438
440
 
439
441
  export { dateRangeInput as default, version };
@@ -20,6 +20,7 @@ export type TDateRangeInputProps = {
20
20
  id?: string;
21
21
  name?: string;
22
22
  placeholder?: string;
23
+ isCondensed?: boolean;
23
24
  isDisabled?: boolean;
24
25
  isReadOnly?: boolean;
25
26
  hasError?: boolean;
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.1.0",
4
+ "version": "19.3.0",
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.1.0",
25
- "@commercetools-uikit/calendar-time-utils": "19.1.0",
26
- "@commercetools-uikit/calendar-utils": "19.1.0",
27
- "@commercetools-uikit/constraints": "19.1.0",
28
- "@commercetools-uikit/design-system": "19.1.0",
29
- "@commercetools-uikit/hooks": "19.1.0",
30
- "@commercetools-uikit/icons": "19.1.0",
31
- "@commercetools-uikit/secondary-icon-button": "19.1.0",
32
- "@commercetools-uikit/select-utils": "19.1.0",
33
- "@commercetools-uikit/spacings-inline": "19.1.0",
34
- "@commercetools-uikit/text": "19.1.0",
35
- "@commercetools-uikit/tooltip": "19.1.0",
36
- "@commercetools-uikit/utils": "19.1.0",
24
+ "@commercetools-uikit/accessible-button": "19.3.0",
25
+ "@commercetools-uikit/calendar-time-utils": "19.3.0",
26
+ "@commercetools-uikit/calendar-utils": "19.3.0",
27
+ "@commercetools-uikit/constraints": "19.3.0",
28
+ "@commercetools-uikit/design-system": "19.3.0",
29
+ "@commercetools-uikit/hooks": "19.3.0",
30
+ "@commercetools-uikit/icons": "19.3.0",
31
+ "@commercetools-uikit/secondary-icon-button": "19.3.0",
32
+ "@commercetools-uikit/select-utils": "19.3.0",
33
+ "@commercetools-uikit/spacings-inline": "19.3.0",
34
+ "@commercetools-uikit/text": "19.3.0",
35
+ "@commercetools-uikit/tooltip": "19.3.0",
36
+ "@commercetools-uikit/utils": "19.3.0",
37
37
  "@emotion/react": "^11.10.5",
38
38
  "@emotion/styled": "^11.10.5",
39
39
  "downshift": "6.1.12",