@firecms/ui 3.0.0-canary.124 → 3.0.0-canary.125

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.
@@ -13,6 +13,7 @@ export type TooltipProps = {
13
13
  tooltipStyle?: React.CSSProperties;
14
14
  children: React.ReactNode;
15
15
  className?: string;
16
+ container?: HTMLElement;
16
17
  style?: React.CSSProperties;
17
18
  };
18
- export declare const Tooltip: ({ open, defaultOpen, side, delayDuration, sideOffset, align, onOpenChange, title, tooltipClassName, tooltipStyle, children, asChild, className, style }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const Tooltip: ({ open, defaultOpen, side, delayDuration, sideOffset, align, onOpenChange, title, tooltipClassName, tooltipStyle, children, asChild, container, className, style }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
package/dist/index.es.js CHANGED
@@ -16109,7 +16109,7 @@ const Select = forwardRef(({
16109
16109
  SelectPrimitive.Content,
16110
16110
  {
16111
16111
  position,
16112
- className: cls("z-50 relative overflow-hidden border bg-white dark:bg-gray-900 p-2 rounded-lg", defaultBorderMixin),
16112
+ className: cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-gray-900 p-2 rounded-lg", defaultBorderMixin),
16113
16113
  children: /* @__PURE__ */ jsx(
16114
16114
  SelectPrimitive.Viewport,
16115
16115
  {
@@ -16221,7 +16221,7 @@ const Sheet = ({
16221
16221
  open: displayed || open,
16222
16222
  onOpenChange,
16223
16223
  children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [
16224
- /* @__PURE__ */ jsx(DialogPrimitive.Title, { children: title ?? "Sheet" }),
16224
+ /* @__PURE__ */ jsx(DialogPrimitive.Title, { autoFocus: true, tabIndex: 0, children: title ?? "Sheet" }),
16225
16225
  /* @__PURE__ */ jsx(
16226
16226
  DialogPrimitive.Overlay,
16227
16227
  {
@@ -16638,6 +16638,7 @@ const Tooltip = ({
16638
16638
  tooltipStyle,
16639
16639
  children,
16640
16640
  asChild = false,
16641
+ container,
16641
16642
  className,
16642
16643
  style
16643
16644
  }) => {
@@ -16647,7 +16648,7 @@ const Tooltip = ({
16647
16648
  const trigger = asChild ? /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { asChild: true, children }) : /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { style, className, children }) });
16648
16649
  return /* @__PURE__ */ jsx(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs(TooltipPrimitive.Root, { open, onOpenChange, defaultOpen, children: [
16649
16650
  trigger,
16650
- /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
16651
+ /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container, children: /* @__PURE__ */ jsx(
16651
16652
  TooltipPrimitive.Content,
16652
16653
  {
16653
16654
  className: cls(