@commercetools-uikit/filters 19.22.5 → 19.22.7
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.
package/README.md
CHANGED
|
@@ -115,11 +115,11 @@ export default FiltersExample;
|
|
|
115
115
|
|
|
116
116
|
| Props | Type | Required | Default | Description |
|
|
117
117
|
| ----------------------- | ---------------------------------------------------------------------------------- | :------: | ------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
118
|
-
| `appliedFilters` | `Array: TAppliedFilter[]`<br/>[See signature.](#signature-
|
|
118
|
+
| `appliedFilters` | `Array: TAppliedFilter[]`<br/>[See signature.](#signature-appliedfilters) | ✅ | | array of applied filters, each containing a unique key and an array of values. |
|
|
119
119
|
| `filters` | `Array: TFilterConfiguration[]`<br/>[See signature.](#signature-filters) | ✅ | | configuration for the available filters. |
|
|
120
|
-
| `filterGroups` | `Array: TFilterGroupConfiguration[]`<br/>[See signature.](#signature-
|
|
121
|
-
| `onClearAllRequest` | `Function`<br/>[See signature.](#signature-
|
|
122
|
-
| `onAddFilterRequest` | `Function`<br/>[See signature.](#signature-
|
|
120
|
+
| `filterGroups` | `Array: TFilterGroupConfiguration[]`<br/>[See signature.](#signature-filtergroups) | | | optional configuration for filter groups. |
|
|
121
|
+
| `onClearAllRequest` | `Function`<br/>[See signature.](#signature-onclearallrequest) | ✅ | | controls the `clear all` (added filters) button from the menu list, meant to clear the parent application's filter state |
|
|
122
|
+
| `onAddFilterRequest` | `Function`<br/>[See signature.](#signature-onaddfilterrequest) | | | optional callback when the add filter button is clicked |
|
|
123
123
|
| `renderSearchComponent` | `ReactNode` | ✅ | | function to render a search input, selectable from applicable UI Kit components. |
|
|
124
124
|
| `defaultOpen` | `boolean` | | `false` | controls whether the filters list is initially open |
|
|
125
125
|
|
|
@@ -671,7 +671,7 @@ Filters.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
671
671
|
Filters.displayName = 'Filters';
|
|
672
672
|
|
|
673
673
|
// NOTE: This string will be replaced on build time with the package version.
|
|
674
|
-
var version = "19.22.
|
|
674
|
+
var version = "19.22.7";
|
|
675
675
|
|
|
676
676
|
exports["default"] = Filters;
|
|
677
677
|
exports.version = version;
|
|
@@ -604,7 +604,7 @@ Filters.propTypes = {};
|
|
|
604
604
|
Filters.displayName = 'Filters';
|
|
605
605
|
|
|
606
606
|
// NOTE: This string will be replaced on build time with the package version.
|
|
607
|
-
var version = "19.22.
|
|
607
|
+
var version = "19.22.7";
|
|
608
608
|
|
|
609
609
|
exports["default"] = Filters;
|
|
610
610
|
exports.version = version;
|
|
@@ -623,6 +623,6 @@ Filters.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
623
623
|
Filters.displayName = 'Filters';
|
|
624
624
|
|
|
625
625
|
// NOTE: This string will be replaced on build time with the package version.
|
|
626
|
-
var version = "19.22.
|
|
626
|
+
var version = "19.22.7";
|
|
627
627
|
|
|
628
628
|
export { Filters as default, version };
|
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": "19.22.
|
|
4
|
+
"version": "19.22.7",
|
|
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": "19.22.
|
|
25
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
26
|
-
"@commercetools-uikit/flat-button": "19.22.
|
|
27
|
-
"@commercetools-uikit/icon-button": "19.22.
|
|
28
|
-
"@commercetools-uikit/icons": "19.22.
|
|
29
|
-
"@commercetools-uikit/secondary-icon-button": "19.22.
|
|
30
|
-
"@commercetools-uikit/select-input": "19.22.
|
|
31
|
-
"@commercetools-uikit/spacings": "19.22.
|
|
32
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/collapsible-motion": "19.22.7",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.7",
|
|
26
|
+
"@commercetools-uikit/flat-button": "19.22.7",
|
|
27
|
+
"@commercetools-uikit/icon-button": "19.22.7",
|
|
28
|
+
"@commercetools-uikit/icons": "19.22.7",
|
|
29
|
+
"@commercetools-uikit/secondary-icon-button": "19.22.7",
|
|
30
|
+
"@commercetools-uikit/select-input": "19.22.7",
|
|
31
|
+
"@commercetools-uikit/spacings": "19.22.7",
|
|
32
|
+
"@commercetools-uikit/utils": "19.22.7",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
35
35
|
"@radix-ui/react-popover": "^1.1.2",
|