@eqtylab/equality 2.1.3 → 2.1.4

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/dist/index.cjs CHANGED
@@ -2014,20 +2014,29 @@ var FilterDropdown = ({
2014
2014
  onToggleFilter,
2015
2015
  onClearAll,
2016
2016
  buttonClassName,
2017
- contentClassName
2017
+ contentClassName,
2018
+ disabled = false
2018
2019
  }) => {
2019
2020
  const hasSelectedFilters = selectedFilters.length > 0;
2020
2021
  const filteredOptions = options.filter(
2021
2022
  (option) => option.value && option.value.trim() !== "" && option.label && option.label.trim() !== ""
2022
2023
  );
2023
2024
  return /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu, { children: [
2024
- /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "tertiary", className: cn(styles24__default.default["selector-button"], buttonClassName), children: [
2025
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles24__default.default["selector-button-content"], children: [
2026
- label,
2027
- hasSelectedFilters && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "primary", children: selectedFilters.length })
2028
- ] }),
2029
- /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { className: styles24__default.default["chevron-icon"] })
2030
- ] }) }),
2025
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
2026
+ Button,
2027
+ {
2028
+ variant: "tertiary",
2029
+ disabled,
2030
+ className: cn(styles24__default.default["selector-button"], buttonClassName),
2031
+ children: [
2032
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: styles24__default.default["selector-button-content"], children: [
2033
+ label,
2034
+ hasSelectedFilters && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "primary", children: selectedFilters.length })
2035
+ ] }),
2036
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { className: styles24__default.default["chevron-icon"] })
2037
+ ]
2038
+ }
2039
+ ) }),
2031
2040
  /* @__PURE__ */ jsxRuntime.jsxs(
2032
2041
  DropdownMenuContent,
2033
2042
  {