@firecms/ui 3.0.0-canary.253 → 3.0.0-canary.254

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.
@@ -9,6 +9,7 @@ export type SelectProps<T extends SelectValue = string> = {
9
9
  value?: T;
10
10
  className?: string;
11
11
  inputClassName?: string;
12
+ viewportClassName?: string;
12
13
  onChange?: React.EventHandler<ChangeEvent<HTMLSelectElement>>;
13
14
  onValueChange?: (updatedValue: T) => void;
14
15
  placeholder?: React.ReactNode;
package/dist/index.es.js CHANGED
@@ -30542,6 +30542,7 @@ const Select = forwardRef(({
30542
30542
  onValueChange,
30543
30543
  className,
30544
30544
  inputClassName,
30545
+ viewportClassName,
30545
30546
  placeholder,
30546
30547
  renderValue,
30547
30548
  label,
@@ -30636,7 +30637,7 @@ const Select = forwardRef(({
30636
30637
  e_0.stopPropagation();
30637
30638
  }, children: endAdornment })
30638
30639
  ] }),
30639
- /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(SelectPrimitive.Content, { position, className: cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-surface-900 p-2 rounded-lg", defaultBorderMixin), children: /* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: "p-1", style: {
30640
+ /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(SelectPrimitive.Content, { position, className: cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-surface-900 p-2 rounded-lg", defaultBorderMixin), children: /* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: cls("p-1", viewportClassName), style: {
30640
30641
  maxHeight: "var(--radix-select-content-available-height)"
30641
30642
  }, children }) }) })
30642
30643
  ] });