@firecms/ui 3.0.0-canary.124 → 3.0.0-canary.126
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/components/Tooltip.d.ts +2 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/MultiSelect.tsx +0 -1
- package/src/components/Select.tsx +4 -4
- package/src/components/Sheet.tsx +1 -1
- package/src/components/Tooltip.tsx +3 -1
@@ -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
@@ -15553,7 +15553,6 @@ const MultiSelect = React.forwardRef(
|
|
15553
15553
|
}, ref) => {
|
15554
15554
|
const [isPopoverOpen, setIsPopoverOpen] = React.useState(open ?? false);
|
15555
15555
|
const [selectedValues, setSelectedValues] = React.useState(value ?? []);
|
15556
|
-
console.log("selectedValues", selectedValues);
|
15557
15556
|
const onPopoverOpenChange = (open2) => {
|
15558
15557
|
setIsPopoverOpen(open2);
|
15559
15558
|
onOpenChange?.(open2);
|
@@ -16109,7 +16108,7 @@ const Select = forwardRef(({
|
|
16109
16108
|
SelectPrimitive.Content,
|
16110
16109
|
{
|
16111
16110
|
position,
|
16112
|
-
className: cls("z-50 relative overflow-hidden border bg-white dark:bg-gray-900 p-2 rounded-lg", defaultBorderMixin),
|
16111
|
+
className: cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-gray-900 p-2 rounded-lg", defaultBorderMixin),
|
16113
16112
|
children: /* @__PURE__ */ jsx(
|
16114
16113
|
SelectPrimitive.Viewport,
|
16115
16114
|
{
|
@@ -16221,7 +16220,7 @@ const Sheet = ({
|
|
16221
16220
|
open: displayed || open,
|
16222
16221
|
onOpenChange,
|
16223
16222
|
children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [
|
16224
|
-
/* @__PURE__ */ jsx(DialogPrimitive.Title, { children: title ?? "Sheet" }),
|
16223
|
+
/* @__PURE__ */ jsx(DialogPrimitive.Title, { autoFocus: true, tabIndex: 0, children: title ?? "Sheet" }),
|
16225
16224
|
/* @__PURE__ */ jsx(
|
16226
16225
|
DialogPrimitive.Overlay,
|
16227
16226
|
{
|
@@ -16638,6 +16637,7 @@ const Tooltip = ({
|
|
16638
16637
|
tooltipStyle,
|
16639
16638
|
children,
|
16640
16639
|
asChild = false,
|
16640
|
+
container,
|
16641
16641
|
className,
|
16642
16642
|
style
|
16643
16643
|
}) => {
|
@@ -16647,7 +16647,7 @@ const Tooltip = ({
|
|
16647
16647
|
const trigger = asChild ? /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { asChild: true, children }) : /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { asChild: true, children: /* @__PURE__ */ jsx("div", { style, className, children }) });
|
16648
16648
|
return /* @__PURE__ */ jsx(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs(TooltipPrimitive.Root, { open, onOpenChange, defaultOpen, children: [
|
16649
16649
|
trigger,
|
16650
|
-
/* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
16650
|
+
/* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container, children: /* @__PURE__ */ jsx(
|
16651
16651
|
TooltipPrimitive.Content,
|
16652
16652
|
{
|
16653
16653
|
className: cls(
|