@commercetools-uikit/calendar-utils 15.9.0 → 15.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.
@@ -757,7 +757,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
757
757
  } : {};
758
758
 
759
759
  // NOTE: This string will be replaced on build time with the package version.
760
- var version = "15.9.0";
760
+ var version = "15.10.0";
761
761
 
762
762
  exports.CalendarBody = CalendarBody$1;
763
763
  exports.CalendarContent = CalendarContent$1;
@@ -660,7 +660,7 @@ CalendarMenu.displayName = 'CalendarMenu';
660
660
  CalendarMenu.propTypes = {};
661
661
 
662
662
  // NOTE: This string will be replaced on build time with the package version.
663
- var version = "15.9.0";
663
+ var version = "15.10.0";
664
664
 
665
665
  exports.CalendarBody = CalendarBody$1;
666
666
  exports.CalendarContent = CalendarContent$1;
@@ -726,6 +726,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
726
726
  } : {};
727
727
 
728
728
  // NOTE: This string will be replaced on build time with the package version.
729
- var version = "15.9.0";
729
+ var version = "15.10.0";
730
730
 
731
731
  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 };
@@ -1,6 +1,6 @@
1
1
  import { type LegacyRef, type FocusEventHandler, type KeyboardEvent } from 'react';
2
2
  import type { Theme } from '@emotion/react';
3
- export declare type TClearSection = {
3
+ export type TClearSection = {
4
4
  isDisabled?: boolean;
5
5
  hasError?: boolean;
6
6
  hasWarning?: boolean;
@@ -13,14 +13,14 @@ export declare const ClearSection: {
13
13
  (props: TClearSection): import("@emotion/react/jsx-runtime").JSX.Element;
14
14
  displayName: string;
15
15
  };
16
- export declare type TInputProps = {
16
+ export type TInputProps = {
17
17
  'aria-invalid'?: boolean;
18
18
  'aria-errormessage'?: string;
19
19
  onBlur?: FocusEventHandler;
20
20
  onFocus?: FocusEventHandler;
21
21
  onKeyDown?: (event: KeyboardEvent<HTMLInputElement | HTMLButtonElement>) => void;
22
22
  };
23
- export declare type TCalendarBody = {
23
+ export type TCalendarBody = {
24
24
  inputRef: LegacyRef<HTMLInputElement>;
25
25
  icon?: string;
26
26
  id?: string;
@@ -1,6 +1,6 @@
1
1
  import type { TCalendarBody } from './calendar-body';
2
2
  declare const getClearSectionStyles: () => import("@emotion/utils").SerializedStyles;
3
- declare type TState = {
3
+ type TState = {
4
4
  isFocused: boolean;
5
5
  };
6
6
  declare const getCalendarIconContainerStyles: (props: TCalendarBody, state: TState, isNewTheme: boolean) => (false | import("@emotion/utils").SerializedStyles)[];
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- declare type TCalendarDay = {
2
+ type TCalendarDay = {
3
3
  children?: ReactNode;
4
4
  type?: 'heading' | 'spacing' | 'day';
5
5
  isHighlighted?: boolean;
@@ -1,4 +1,4 @@
1
- declare type TCalendarHeader = {
1
+ type TCalendarHeader = {
2
2
  monthLabel: string;
3
3
  yearLabel: string;
4
4
  onPrevMonthClick: () => void;
@@ -1,5 +1,5 @@
1
1
  import { Component, ReactNode } from 'react';
2
- declare type TCalendarMenu = {
2
+ type TCalendarMenu = {
3
3
  children: ReactNode;
4
4
  hasFooter?: boolean;
5
5
  hasError?: boolean;
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": "15.9.0",
4
+ "version": "15.10.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,20 +21,20 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.19.0",
23
23
  "@babel/runtime-corejs3": "^7.19.1",
24
- "@commercetools-uikit/accessible-button": "15.9.0",
25
- "@commercetools-uikit/design-system": "15.9.0",
26
- "@commercetools-uikit/hooks": "15.9.0",
27
- "@commercetools-uikit/icons": "15.9.0",
28
- "@commercetools-uikit/input-utils": "15.9.0",
29
- "@commercetools-uikit/secondary-icon-button": "15.9.0",
30
- "@commercetools-uikit/spacings-inline": "15.9.0",
31
- "@commercetools-uikit/text": "15.9.0",
32
- "@commercetools-uikit/tooltip": "15.9.0",
33
- "@commercetools-uikit/utils": "15.9.0",
24
+ "@commercetools-uikit/accessible-button": "15.10.0",
25
+ "@commercetools-uikit/design-system": "15.10.0",
26
+ "@commercetools-uikit/hooks": "15.10.0",
27
+ "@commercetools-uikit/icons": "15.10.0",
28
+ "@commercetools-uikit/input-utils": "15.10.0",
29
+ "@commercetools-uikit/secondary-icon-button": "15.10.0",
30
+ "@commercetools-uikit/spacings-inline": "15.10.0",
31
+ "@commercetools-uikit/text": "15.10.0",
32
+ "@commercetools-uikit/tooltip": "15.10.0",
33
+ "@commercetools-uikit/utils": "15.10.0",
34
34
  "@emotion/react": "^11.4.0",
35
35
  "@emotion/styled": "^11.3.0",
36
36
  "prop-types": "15.8.1",
37
- "react-select": "5.5.2"
37
+ "react-select": "5.7.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "moment": "2.29.4",