@commercetools-uikit/date-input 19.1.0 → 19.2.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
@@ -57,6 +57,7 @@ export default Example;
57
57
  | `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
58
58
  | `name` | `string` | | | Used as the HTML `name` attribute. |
59
59
  | `placeholder` | `string` | | | Placeholder value to show in the input field |
60
+ | `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
60
61
  | `isDisabled` | `boolean` | | | Disables the date picker |
61
62
  | `isReadOnly` | `boolean` | | | Disables the date picker menu and makes input field read-only |
62
63
  | `hasError` | `boolean` | | | Indicates the input field has an error |
@@ -230,6 +230,7 @@ const DateInput = props => {
230
230
  isOpen: isOpen,
231
231
  isDisabled: props.isDisabled,
232
232
  isReadOnly: props.isReadOnly,
233
+ isCondensed: props.isCondensed,
233
234
  toggleButtonProps: getToggleButtonProps(),
234
235
  hasError: props.hasError,
235
236
  hasWarning: props.hasWarning
@@ -282,6 +283,7 @@ DateInput.propTypes = process.env.NODE_ENV !== "production" ? {
282
283
  'aria-errormessage': _pt__default["default"].string,
283
284
  name: _pt__default["default"].string,
284
285
  placeholder: _pt__default["default"].string,
286
+ isCondensed: _pt__default["default"].bool,
285
287
  isDisabled: _pt__default["default"].bool,
286
288
  isReadOnly: _pt__default["default"].bool,
287
289
  hasError: _pt__default["default"].bool,
@@ -294,7 +296,7 @@ DateInput.isEmpty = value => value === '';
294
296
  var DateInput$1 = DateInput;
295
297
 
296
298
  // NOTE: This string will be replaced on build time with the package version.
297
- var version = "19.1.0";
299
+ var version = "19.2.0";
298
300
 
299
301
  exports["default"] = DateInput$1;
300
302
  exports.version = version;
@@ -227,6 +227,7 @@ const DateInput = props => {
227
227
  isOpen: isOpen,
228
228
  isDisabled: props.isDisabled,
229
229
  isReadOnly: props.isReadOnly,
230
+ isCondensed: props.isCondensed,
230
231
  toggleButtonProps: getToggleButtonProps(),
231
232
  hasError: props.hasError,
232
233
  hasWarning: props.hasWarning
@@ -274,7 +275,7 @@ DateInput.isEmpty = value => value === '';
274
275
  var DateInput$1 = DateInput;
275
276
 
276
277
  // NOTE: This string will be replaced on build time with the package version.
277
- var version = "19.1.0";
278
+ var version = "19.2.0";
278
279
 
279
280
  exports["default"] = DateInput$1;
280
281
  exports.version = version;
@@ -209,6 +209,7 @@ const DateInput = props => {
209
209
  isOpen: isOpen,
210
210
  isDisabled: props.isDisabled,
211
211
  isReadOnly: props.isReadOnly,
212
+ isCondensed: props.isCondensed,
212
213
  toggleButtonProps: getToggleButtonProps(),
213
214
  hasError: props.hasError,
214
215
  hasWarning: props.hasWarning
@@ -261,6 +262,7 @@ DateInput.propTypes = process.env.NODE_ENV !== "production" ? {
261
262
  'aria-errormessage': _pt.string,
262
263
  name: _pt.string,
263
264
  placeholder: _pt.string,
265
+ isCondensed: _pt.bool,
264
266
  isDisabled: _pt.bool,
265
267
  isReadOnly: _pt.bool,
266
268
  hasError: _pt.bool,
@@ -273,6 +275,6 @@ DateInput.isEmpty = value => value === '';
273
275
  var DateInput$1 = DateInput;
274
276
 
275
277
  // NOTE: This string will be replaced on build time with the package version.
276
- var version = "19.1.0";
278
+ var version = "19.2.0";
277
279
 
278
280
  export { DateInput$1 as default, version };
@@ -17,6 +17,7 @@ export type TDateInput = {
17
17
  'aria-errormessage'?: string;
18
18
  name?: string;
19
19
  placeholder?: string;
20
+ isCondensed?: boolean;
20
21
  isDisabled?: boolean;
21
22
  isReadOnly?: boolean;
22
23
  hasError?: boolean;
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.1.0",
4
+ "version": "19.2.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.2.0",
25
+ "@commercetools-uikit/calendar-time-utils": "19.2.0",
26
+ "@commercetools-uikit/calendar-utils": "19.2.0",
27
+ "@commercetools-uikit/constraints": "19.2.0",
28
+ "@commercetools-uikit/design-system": "19.2.0",
29
+ "@commercetools-uikit/hooks": "19.2.0",
30
+ "@commercetools-uikit/icons": "19.2.0",
31
+ "@commercetools-uikit/secondary-icon-button": "19.2.0",
32
+ "@commercetools-uikit/select-utils": "19.2.0",
33
+ "@commercetools-uikit/spacings-inline": "19.2.0",
34
+ "@commercetools-uikit/text": "19.2.0",
35
+ "@commercetools-uikit/tooltip": "19.2.0",
36
+ "@commercetools-uikit/utils": "19.2.0",
37
37
  "@emotion/react": "^11.10.5",
38
38
  "@emotion/styled": "^11.10.5",
39
39
  "downshift": "6.1.12",