@commercetools-uikit/calendar-utils 19.9.0 → 19.10.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.
@@ -645,7 +645,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
645
645
  } : {};
646
646
 
647
647
  // NOTE: This string will be replaced on build time with the package version.
648
- var version = "19.9.0";
648
+ var version = "19.10.0";
649
649
 
650
650
  exports.CalendarBody = CalendarBody$1;
651
651
  exports.CalendarContent = CalendarContent$1;
@@ -551,7 +551,7 @@ CalendarMenu.displayName = 'CalendarMenu';
551
551
  CalendarMenu.propTypes = {};
552
552
 
553
553
  // NOTE: This string will be replaced on build time with the package version.
554
- var version = "19.9.0";
554
+ var version = "19.10.0";
555
555
 
556
556
  exports.CalendarBody = CalendarBody$1;
557
557
  exports.CalendarContent = CalendarContent$1;
@@ -614,6 +614,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
614
614
  } : {};
615
615
 
616
616
  // NOTE: This string will be replaced on build time with the package version.
617
- var version = "19.9.0";
617
+ var version = "19.10.0";
618
618
 
619
619
  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 };
@@ -6,6 +6,7 @@ export type TClearSection = {
6
6
  hasError?: boolean;
7
7
  hasWarning?: boolean;
8
8
  onClear?: () => void;
9
+ /** @deprecated */
9
10
  theme?: Theme;
10
11
  isFocused?: boolean;
11
12
  isOpen?: boolean;
@@ -15,7 +16,13 @@ export declare const ClearSection: {
15
16
  displayName: string;
16
17
  };
17
18
  export type TInputProps = {
19
+ /**
20
+ * Indicate if the value entered in the input is invalid.
21
+ */
18
22
  'aria-invalid'?: boolean;
23
+ /**
24
+ * HTML ID of an element containing an error message related to the input.
25
+ */
19
26
  'aria-errormessage'?: string;
20
27
  onBlur?: FocusEventHandler;
21
28
  onFocus?: FocusEventHandler;
@@ -38,6 +45,7 @@ export type TCalendarBody = {
38
45
  hasError?: boolean;
39
46
  onClear?: () => void;
40
47
  placeholder?: string;
48
+ /** @deprecated */
41
49
  theme?: Theme;
42
50
  };
43
51
  export declare const CalendarBody: {
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": "19.9.0",
4
+ "version": "19.10.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,16 +21,16 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "19.9.0",
25
- "@commercetools-uikit/design-system": "19.9.0",
26
- "@commercetools-uikit/hooks": "19.9.0",
27
- "@commercetools-uikit/icons": "19.9.0",
28
- "@commercetools-uikit/input-utils": "19.9.0",
29
- "@commercetools-uikit/secondary-icon-button": "19.9.0",
30
- "@commercetools-uikit/spacings-inline": "19.9.0",
31
- "@commercetools-uikit/text": "19.9.0",
32
- "@commercetools-uikit/tooltip": "19.9.0",
33
- "@commercetools-uikit/utils": "19.9.0",
24
+ "@commercetools-uikit/accessible-button": "19.10.0",
25
+ "@commercetools-uikit/design-system": "19.10.0",
26
+ "@commercetools-uikit/hooks": "19.10.0",
27
+ "@commercetools-uikit/icons": "19.10.0",
28
+ "@commercetools-uikit/input-utils": "19.10.0",
29
+ "@commercetools-uikit/secondary-icon-button": "19.10.0",
30
+ "@commercetools-uikit/spacings-inline": "19.10.0",
31
+ "@commercetools-uikit/text": "19.10.0",
32
+ "@commercetools-uikit/tooltip": "19.10.0",
33
+ "@commercetools-uikit/utils": "19.10.0",
34
34
  "@emotion/react": "^11.10.5",
35
35
  "@emotion/styled": "^11.10.5",
36
36
  "lodash": "4.17.21",