@commercetools-uikit/filters 20.2.1 → 20.2.3
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.
|
@@ -418,10 +418,6 @@ function getFilterOptions(filters, filterGroups) {
|
|
|
418
418
|
return [formattedOption, ...filterOptions];
|
|
419
419
|
}, filterOptions);
|
|
420
420
|
}
|
|
421
|
-
var _ref9 = {
|
|
422
|
-
name: "1lv1yo7",
|
|
423
|
-
styles: "display:inline-flex"
|
|
424
|
-
} ;
|
|
425
421
|
function Filters(_ref) {
|
|
426
422
|
var _context, _context2;
|
|
427
423
|
let appliedFilters = _ref.appliedFilters,
|
|
@@ -570,18 +566,15 @@ function Filters(_ref) {
|
|
|
570
566
|
}), jsxRuntime.jsxs(Popover__namespace.Root, {
|
|
571
567
|
children: [jsxRuntime.jsx(Popover__namespace.Trigger, {
|
|
572
568
|
asChild: true,
|
|
573
|
-
children: jsxRuntime.jsx("
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
if (onAddFilterRequest) {
|
|
580
|
-
onAddFilterRequest(e);
|
|
581
|
-
}
|
|
582
|
-
setShowFilterControls(true);
|
|
569
|
+
children: jsxRuntime.jsx(FlatButton__default["default"], {
|
|
570
|
+
label: intl.formatMessage(messages.addFilterButtonLabel),
|
|
571
|
+
icon: jsxRuntime.jsx(icons.PlusBoldIcon, {}),
|
|
572
|
+
onClick: e => {
|
|
573
|
+
if (onAddFilterRequest) {
|
|
574
|
+
onAddFilterRequest(e);
|
|
583
575
|
}
|
|
584
|
-
|
|
576
|
+
setShowFilterControls(true);
|
|
577
|
+
}
|
|
585
578
|
})
|
|
586
579
|
}), jsxRuntime.jsx(Popover__namespace.Portal, {
|
|
587
580
|
children: jsxRuntime.jsx(Popover__namespace.Content, {
|
|
@@ -630,7 +623,7 @@ function Filters(_ref) {
|
|
|
630
623
|
Filters.displayName = 'Filters';
|
|
631
624
|
|
|
632
625
|
// NOTE: This string will be replaced on build time with the package version.
|
|
633
|
-
var version = "20.2.
|
|
626
|
+
var version = "20.2.3";
|
|
634
627
|
|
|
635
628
|
exports["default"] = Filters;
|
|
636
629
|
exports.version = version;
|