@commercetools-uikit/calendar-utils 13.0.2 → 14.0.1

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.
@@ -427,6 +427,8 @@ CalendarBody.propTypes = process.env.NODE_ENV !== "production" ? {
427
427
  icon: _pt__default["default"].string,
428
428
  id: _pt__default["default"].string,
429
429
  inputProps: _pt__default["default"].shape({
430
+ 'aria-invalid': _pt__default["default"].bool,
431
+ 'aria-errormessage': _pt__default["default"].string,
430
432
  onBlur: _pt__default["default"].func,
431
433
  onFocus: _pt__default["default"].func,
432
434
  onKeyDown: _pt__default["default"].func
@@ -765,7 +767,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
765
767
  } : {};
766
768
 
767
769
  // NOTE: This string will be replaced on build time with the package version.
768
- var version = "13.0.2";
770
+ var version = "14.0.1";
769
771
 
770
772
  exports.CalendarBody = CalendarBody$1;
771
773
  exports.CalendarContent = CalendarContent$1;
@@ -670,7 +670,7 @@ CalendarMenu.displayName = 'CalendarMenu';
670
670
  CalendarMenu.propTypes = {};
671
671
 
672
672
  // NOTE: This string will be replaced on build time with the package version.
673
- var version = "13.0.2";
673
+ var version = "14.0.1";
674
674
 
675
675
  exports.CalendarBody = CalendarBody$1;
676
676
  exports.CalendarContent = CalendarContent$1;
@@ -396,6 +396,8 @@ CalendarBody.propTypes = process.env.NODE_ENV !== "production" ? {
396
396
  icon: _pt.string,
397
397
  id: _pt.string,
398
398
  inputProps: _pt.shape({
399
+ 'aria-invalid': _pt.bool,
400
+ 'aria-errormessage': _pt.string,
399
401
  onBlur: _pt.func,
400
402
  onFocus: _pt.func,
401
403
  onKeyDown: _pt.func
@@ -734,6 +736,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
734
736
  } : {};
735
737
 
736
738
  // NOTE: This string will be replaced on build time with the package version.
737
- var version = "13.0.2";
739
+ var version = "14.0.1";
738
740
 
739
741
  export { CalendarBody$1 as CalendarBody, CalendarContent$1 as CalendarContent, CalendarDay$1 as CalendarDay, CalendarHeader$1 as CalendarHeader, CalendarMenu, changeMonth, createCalendarItems, createItemRangeToString, createItemToString, formatDate, formatRange, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getExampleDateStrings, getIsDateInRange, getMonthCalendarLabel, getNextDay, getPaddingDayCount, getPreviousDay, getToday, getWeekdayNames, getYearCalendarLabel, isBetween, isSameDay, parseInputToDate, version };
@@ -14,6 +14,8 @@ export declare const ClearSection: {
14
14
  displayName: string;
15
15
  };
16
16
  export declare type TInputProps = {
17
+ 'aria-invalid'?: boolean;
18
+ 'aria-errormessage'?: string;
17
19
  onBlur?: FocusEventHandler;
18
20
  onFocus?: FocusEventHandler;
19
21
  onKeyDown?: (event: KeyboardEvent<HTMLInputElement | HTMLButtonElement>) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/calendar-utils",
3
3
  "description": "Utilities to work with values for a calendar.",
4
- "version": "13.0.2",
4
+ "version": "14.0.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/calendar-utils"
10
10
  },
11
11
  "homepage": "https://uikit.commercetools.com",
12
- "keywords": ["javascript", "design system", "react", "uikit"],
12
+ "keywords": ["javascript", "typescript", "design-system", "react", "uikit"],
13
13
  "license": "MIT",
14
14
  "publishConfig": {
15
15
  "access": "public"
@@ -19,18 +19,18 @@
19
19
  "module": "dist/commercetools-uikit-calendar-utils.esm.js",
20
20
  "files": ["dist"],
21
21
  "dependencies": {
22
- "@babel/runtime": "7.17.2",
23
- "@babel/runtime-corejs3": "7.17.2",
24
- "@commercetools-uikit/accessible-button": "13.0.2",
25
- "@commercetools-uikit/design-system": "13.0.0",
26
- "@commercetools-uikit/hooks": "13.0.2",
27
- "@commercetools-uikit/icons": "13.0.2",
28
- "@commercetools-uikit/input-utils": "13.0.2",
29
- "@commercetools-uikit/secondary-icon-button": "13.0.2",
30
- "@commercetools-uikit/spacings-inline": "13.0.2",
31
- "@commercetools-uikit/text": "13.0.2",
32
- "@commercetools-uikit/tooltip": "13.0.2",
33
- "@commercetools-uikit/utils": "13.0.2",
22
+ "@babel/runtime": "^7.17.2",
23
+ "@babel/runtime-corejs3": "^7.17.2",
24
+ "@commercetools-uikit/accessible-button": "14.0.1",
25
+ "@commercetools-uikit/design-system": "14.0.0",
26
+ "@commercetools-uikit/hooks": "14.0.1",
27
+ "@commercetools-uikit/icons": "14.0.1",
28
+ "@commercetools-uikit/input-utils": "14.0.1",
29
+ "@commercetools-uikit/secondary-icon-button": "14.0.1",
30
+ "@commercetools-uikit/spacings-inline": "14.0.1",
31
+ "@commercetools-uikit/text": "14.0.1",
32
+ "@commercetools-uikit/tooltip": "14.0.1",
33
+ "@commercetools-uikit/utils": "14.0.1",
34
34
  "@emotion/react": "^11.4.0",
35
35
  "@emotion/styled": "^11.3.0",
36
36
  "prop-types": "15.8.1",
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "moment": "2.29.1",
41
41
  "react": "17.0.2",
42
- "react-intl": "5.24.6"
42
+ "react-intl": "^5.24.6"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "moment": "2.x",