@eqtylab/equality 1.2.3 → 1.2.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
@@ -2726,26 +2726,33 @@ function SortSelector({
2726
2726
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: currentLabel }),
2727
2727
  /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon4, { className: styles47__default.default["chevron-down-icon"] })
2728
2728
  ] }) }),
2729
- /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuContent, { align: "end", className: styles47__default.default["dropdown-menu-content"], children: [
2730
- /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuLabel, { children: [
2731
- "Sort",
2732
- !isDefaultSort && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "link", size: "sm", onClick: handleReset, children: "Reset" })
2733
- ] }),
2734
- /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuSeparator, {}),
2735
- filteredOptions.map((option) => {
2736
- const isSelected = currentValue === option.value;
2737
- return /* @__PURE__ */ jsxRuntime.jsx(
2738
- DropdownMenuCheckboxItem,
2739
- {
2740
- checked: isSelected,
2741
- onCheckedChange: () => handleChange(option.value),
2742
- onSelect: (e) => e.preventDefault(),
2743
- children: option.label
2744
- },
2745
- option.value
2746
- );
2747
- })
2748
- ] })
2729
+ /* @__PURE__ */ jsxRuntime.jsxs(
2730
+ DropdownMenuContent,
2731
+ {
2732
+ align: "end",
2733
+ style: { minWidth: "var(--radix-dropdown-menu-trigger-width)" },
2734
+ children: [
2735
+ /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuLabel, { children: [
2736
+ "Sort",
2737
+ !isDefaultSort && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "link", size: "sm", onClick: handleReset, children: "Reset" })
2738
+ ] }),
2739
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuSeparator, {}),
2740
+ filteredOptions.map((option) => {
2741
+ const isSelected = currentValue === option.value;
2742
+ return /* @__PURE__ */ jsxRuntime.jsx(
2743
+ DropdownMenuCheckboxItem,
2744
+ {
2745
+ checked: isSelected,
2746
+ onCheckedChange: () => handleChange(option.value),
2747
+ onSelect: (e) => e.preventDefault(),
2748
+ children: option.label
2749
+ },
2750
+ option.value
2751
+ );
2752
+ })
2753
+ ]
2754
+ }
2755
+ )
2749
2756
  ] });
2750
2757
  }
2751
2758
  var Switch = React15__namespace.forwardRef(