@siyahi/ui 0.1.9-next.13 → 0.1.9-next.15

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.
@@ -149,7 +149,7 @@ function TableFacetedFilter({ column, title, options = [], multiple, onValueChan
149
149
  ] })
150
150
  ]
151
151
  }) }), /* @__PURE__ */ jsx(PopoverContent, {
152
- className: "w-52 p-0",
152
+ className: "w-max min-w-52 max-w-(--available-width) p-0",
153
153
  align: "start",
154
154
  children: /* @__PURE__ */ jsx(TableFacetedFilterContent, {
155
155
  title,
@@ -177,16 +177,16 @@ function TableFacetedFilterContent({ title, options, selectedValues, onItemSelec
177
177
  onSelect: () => onItemSelect(option, isSelected),
178
178
  children: [
179
179
  /* @__PURE__ */ jsx("div", {
180
- className: cn("mr-2 flex size-4 items-center justify-center rounded-sm border border-primary", isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"),
180
+ className: cn("mr-2 flex size-4 shrink-0 items-center justify-center rounded-sm border border-primary", isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"),
181
181
  children: /* @__PURE__ */ jsx(Check, { className: "size-4" })
182
182
  }),
183
183
  option.icon && /* @__PURE__ */ jsx(option.icon, { className: "mr-2 size-4" }),
184
184
  /* @__PURE__ */ jsx("span", {
185
- className: "truncate",
185
+ className: "min-w-0 flex-1 whitespace-normal wrap-anywhere",
186
186
  children: option.label
187
187
  }),
188
188
  option.count !== void 0 && /* @__PURE__ */ jsx("span", {
189
- className: "ml-auto font-mono text-xs",
189
+ className: "ml-auto shrink-0 font-mono text-xs",
190
190
  children: option.count
191
191
  })
192
192
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siyahi/ui",
3
- "version": "0.1.9-next.13",
3
+ "version": "0.1.9-next.15",
4
4
  "description": "Stock shadcn/ui on Base UI and Tailwind v4, a finance theme, a few compositions and formatters.",
5
5
  "keywords": [
6
6
  "base-ui",