@commercetools-uikit/filters 20.0.0 → 20.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.
@@ -56,8 +56,12 @@ export type TFilterMenuProps = {
56
56
  * controls whether menu is open on initial render
57
57
  */
58
58
  defaultOpen?: boolean;
59
+ /**
60
+ * controls whether menu is expanded
61
+ */
62
+ hasWideMenu?: boolean;
59
63
  };
60
- export declare const menuStyles: import("@emotion/utils").SerializedStyles;
64
+ export declare const menuStyles: (props?: Partial<TFilterMenuProps>) => import("@emotion/utils").SerializedStyles;
61
65
  export declare const menuBodyStyle: import("@emotion/utils").SerializedStyles;
62
66
  declare function FilterMenu(props: TFilterMenuProps): import("@emotion/react/jsx-runtime").JSX.Element;
63
67
  export default FilterMenu;
@@ -60,6 +60,10 @@ export type TFilterConfiguration = {
60
60
  * indicates whether the filter is disabled
61
61
  */
62
62
  isDisabled?: boolean;
63
+ /**
64
+ * controls whether menu is wider than the default width. Set to true to allow the menu to be wider than the default width.
65
+ */
66
+ hasWideMenu?: boolean;
63
67
  };
64
68
  export type TFilterGroupConfiguration = {
65
69
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/filters",
3
3
  "description": "The `Filters` component displays filter controls.",
4
- "version": "20.0.0",
4
+ "version": "20.2.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/collapsible-motion": "20.0.0",
25
- "@commercetools-uikit/design-system": "20.0.0",
26
- "@commercetools-uikit/flat-button": "20.0.0",
27
- "@commercetools-uikit/icon-button": "20.0.0",
28
- "@commercetools-uikit/icons": "20.0.0",
29
- "@commercetools-uikit/secondary-icon-button": "20.0.0",
30
- "@commercetools-uikit/select-input": "20.0.0",
31
- "@commercetools-uikit/spacings": "20.0.0",
32
- "@commercetools-uikit/utils": "20.0.0",
24
+ "@commercetools-uikit/collapsible-motion": "20.2.0",
25
+ "@commercetools-uikit/design-system": "20.2.0",
26
+ "@commercetools-uikit/flat-button": "20.2.0",
27
+ "@commercetools-uikit/icon-button": "20.2.0",
28
+ "@commercetools-uikit/icons": "20.2.0",
29
+ "@commercetools-uikit/secondary-icon-button": "20.2.0",
30
+ "@commercetools-uikit/select-input": "20.2.0",
31
+ "@commercetools-uikit/spacings": "20.2.0",
32
+ "@commercetools-uikit/utils": "20.2.0",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",
35
35
  "@radix-ui/react-popover": "^1.1.4",
@@ -40,8 +40,8 @@
40
40
  "@commercetools-uikit/radio-input": "workspace:^",
41
41
  "@commercetools-uikit/search-text-input": "workspace:^",
42
42
  "@commercetools-uikit/text-input": "workspace:^",
43
- "react": "19.0.0",
44
- "react-dom": "19.0.0"
43
+ "react": "19.1.0",
44
+ "react-dom": "19.1.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "19.x",