@commercetools-uikit/calendar-utils 19.26.0 → 20.1.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.
@@ -47,6 +47,11 @@ export type TCalendarBody = {
47
47
  placeholder?: string;
48
48
  /** @deprecated */
49
49
  theme?: Theme;
50
+ /**
51
+ * Indicates the appearance of the input.
52
+ * Filter appearance removes borders and box shadows for use in filter components.
53
+ */
54
+ appearance?: 'default' | 'filter';
50
55
  };
51
56
  export declare const CalendarBody: {
52
57
  ({ isClearable, ...props }: TCalendarBody): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -5,6 +5,11 @@ type TCalendarMenu = {
5
5
  hasError?: boolean;
6
6
  hasWarning?: boolean;
7
7
  footer?: ReactNode;
8
+ /**
9
+ * Indicates the appearance of the calendar menu.
10
+ * Filter appearance removes box shadows and positioning for inline display.
11
+ */
12
+ appearance?: 'default' | 'filter';
8
13
  };
9
14
  export default class CalendarMenu extends Component<TCalendarMenu> {
10
15
  static displayName: string;
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.26.0",
4
+ "version": "20.1.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,32 +21,31 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "19.26.0",
25
- "@commercetools-uikit/design-system": "19.26.0",
26
- "@commercetools-uikit/hooks": "19.26.0",
27
- "@commercetools-uikit/icons": "19.26.0",
28
- "@commercetools-uikit/input-utils": "19.26.0",
29
- "@commercetools-uikit/secondary-icon-button": "19.26.0",
30
- "@commercetools-uikit/spacings-inline": "19.26.0",
31
- "@commercetools-uikit/text": "19.26.0",
32
- "@commercetools-uikit/tooltip": "19.26.0",
33
- "@commercetools-uikit/utils": "19.26.0",
24
+ "@commercetools-uikit/accessible-button": "20.1.0",
25
+ "@commercetools-uikit/design-system": "20.1.0",
26
+ "@commercetools-uikit/hooks": "20.1.0",
27
+ "@commercetools-uikit/icons": "20.1.0",
28
+ "@commercetools-uikit/input-utils": "20.1.0",
29
+ "@commercetools-uikit/secondary-icon-button": "20.1.0",
30
+ "@commercetools-uikit/spacings-inline": "20.1.0",
31
+ "@commercetools-uikit/text": "20.1.0",
32
+ "@commercetools-uikit/tooltip": "20.1.0",
33
+ "@commercetools-uikit/utils": "20.1.0",
34
34
  "@emotion/react": "^11.10.5",
35
35
  "@emotion/styled": "^11.10.5",
36
36
  "lodash": "4.17.21",
37
- "prop-types": "15.8.1",
38
37
  "react-select": "5.10.1"
39
38
  },
40
39
  "devDependencies": {
41
40
  "moment": "2.30.1",
42
- "react": "17.0.2",
43
- "react-dom": "17.0.2",
44
- "react-intl": "^6.3.2"
41
+ "react": "19.1.0",
42
+ "react-dom": "19.1.0",
43
+ "react-intl": "^7.1.4"
45
44
  },
46
45
  "peerDependencies": {
47
46
  "moment": "2.x",
48
- "react": "17.x",
49
- "react-dom": "17.x",
50
- "react-intl": "6.x"
47
+ "react": "19.x",
48
+ "react-dom": "19.x",
49
+ "react-intl": "7.x"
51
50
  }
52
51
  }