@justanarthur/modo-ui 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/LICENSE.beui +21 -0
- package/LICENSE.fluid-functionalism +21 -0
- package/LICENSE.motion-primitives +21 -0
- package/LICENSE.sileo +21 -0
- package/README.md +608 -2
- package/dist/base.css +994 -0
- package/dist/blocks/sidebar-app/index.d.ts +34 -0
- package/dist/blocks/sidebar-app/index.js +34 -0
- package/dist/components/badge/index.d.ts +59 -0
- package/dist/components/badge/index.js +18 -0
- package/dist/components/button/index.d.ts +59 -0
- package/dist/components/button/index.js +16 -0
- package/dist/components/card/index.d.ts +141 -0
- package/dist/components/card/index.js +44 -0
- package/dist/components/inputs/checkbox-group/index.d.ts +50 -0
- package/dist/components/inputs/checkbox-group/index.js +23 -0
- package/dist/components/inputs/color-picker/index.d.ts +137 -0
- package/dist/components/inputs/color-picker/index.js +37 -0
- package/dist/components/inputs/combobox/index.d.ts +161 -0
- package/dist/components/inputs/combobox/index.js +41 -0
- package/dist/components/inputs/date-time/calendar/index.d.ts +45 -0
- package/dist/components/inputs/date-time/calendar/index.js +20 -0
- package/dist/components/inputs/date-time/date-picker/index.d.ts +82 -0
- package/dist/components/inputs/date-time/date-picker/index.js +34 -0
- package/dist/components/inputs/date-time/date-range-picker/index.d.ts +64 -0
- package/dist/components/inputs/date-time/date-range-picker/index.js +33 -0
- package/dist/components/inputs/date-time/duration-picker/index.d.ts +57 -0
- package/dist/components/inputs/date-time/duration-picker/index.js +33 -0
- package/dist/components/inputs/date-time/month-picker/index.d.ts +57 -0
- package/dist/components/inputs/date-time/month-picker/index.js +32 -0
- package/dist/components/inputs/date-time/time-picker/index.d.ts +59 -0
- package/dist/components/inputs/date-time/time-picker/index.js +33 -0
- package/dist/components/inputs/input/index.d.ts +84 -0
- package/dist/components/inputs/input/index.js +20 -0
- package/dist/components/inputs/input-copy/index.d.ts +44 -0
- package/dist/components/inputs/input-copy/index.js +18 -0
- package/dist/components/inputs/input-message/index.d.ts +125 -0
- package/dist/components/inputs/input-message/index.js +27 -0
- package/dist/components/inputs/radio-group/index.d.ts +58 -0
- package/dist/components/inputs/radio-group/index.js +22 -0
- package/dist/components/inputs/search/index.d.ts +83 -0
- package/dist/components/inputs/search/index.js +28 -0
- package/dist/components/inputs/select/index.d.ts +105 -0
- package/dist/components/inputs/select/index.js +37 -0
- package/dist/components/inputs/slider/index.d.ts +108 -0
- package/dist/components/inputs/slider/index.js +16 -0
- package/dist/components/inputs/switch/index.d.ts +43 -0
- package/dist/components/inputs/switch/index.js +16 -0
- package/dist/components/navigation/accordion/index.d.ts +117 -0
- package/dist/components/navigation/accordion/index.js +30 -0
- package/dist/components/navigation/sidebar/index.d.ts +388 -0
- package/dist/components/navigation/sidebar/index.js +101 -0
- package/dist/components/navigation/tabs/index.d.ts +70 -0
- package/dist/components/navigation/tabs/index.js +25 -0
- package/dist/components/navigation/tabs-subtle/index.d.ts +73 -0
- package/dist/components/navigation/tabs-subtle/index.js +23 -0
- package/dist/components/overlays/alert-dialog/index.d.ts +67 -0
- package/dist/components/overlays/alert-dialog/index.js +24 -0
- package/dist/components/overlays/command/index.d.ts +121 -0
- package/dist/components/overlays/command/index.js +39 -0
- package/dist/components/overlays/context-menu/index.d.ts +97 -0
- package/dist/components/overlays/context-menu/index.js +32 -0
- package/dist/components/overlays/dialog/index.d.ts +130 -0
- package/dist/components/overlays/dialog/index.js +39 -0
- package/dist/components/overlays/dropdown/index.d.ts +222 -0
- package/dist/components/overlays/dropdown/index.js +47 -0
- package/dist/components/overlays/popover/index.d.ts +87 -0
- package/dist/components/overlays/popover/index.js +28 -0
- package/dist/components/overlays/preview-card/index.d.ts +75 -0
- package/dist/components/overlays/preview-card/index.js +21 -0
- package/dist/components/overlays/sheet/index.d.ts +67 -0
- package/dist/components/overlays/sheet/index.js +26 -0
- package/dist/components/overlays/toast/index.d.ts +107 -0
- package/dist/components/overlays/toast/index.js +23 -0
- package/dist/components/overlays/tooltip/index.d.ts +75 -0
- package/dist/components/overlays/tooltip/index.js +19 -0
- package/dist/components/table/index.d.ts +44 -0
- package/dist/components/table/index.js +28 -0
- package/dist/components/thinking-indicator/index.d.ts +32 -0
- package/dist/components/thinking-indicator/index.js +15 -0
- package/dist/index.d.ts +3926 -0
- package/dist/index.js +513 -0
- package/dist/preset.d.ts +104 -0
- package/dist/preset.js +124 -0
- package/dist/primitives/code/index.d.ts +23 -0
- package/dist/primitives/code/index.js +12 -0
- package/dist/primitives/craft/index.d.ts +31 -0
- package/dist/primitives/craft/index.js +13 -0
- package/dist/primitives/fluid-hover/index.d.ts +233 -0
- package/dist/primitives/fluid-hover/index.js +27 -0
- package/dist/primitives/morph/index.d.ts +127 -0
- package/dist/primitives/morph/index.js +21 -0
- package/dist/primitives/motion/index.d.ts +115 -0
- package/dist/primitives/motion/index.js +20 -0
- package/dist/primitives/scroll-area/index.d.ts +41 -0
- package/dist/primitives/scroll-area/index.js +13 -0
- package/dist/primitives/sizes/index.d.ts +128 -0
- package/dist/primitives/sizes/index.js +22 -0
- package/dist/primitives/surface/index.d.ts +69 -0
- package/dist/primitives/surface/index.js +18 -0
- package/dist/shared/components-0f0as45n.js +17 -0
- package/dist/shared/components-40j34hdb.js +986 -0
- package/dist/shared/components-4hh0gm0v.js +292 -0
- package/dist/shared/components-4xxddc44.js +15 -0
- package/dist/shared/components-4xxtggzp.js +110 -0
- package/dist/shared/components-54nf2x99.js +293 -0
- package/dist/shared/components-5pkcfprd.js +232 -0
- package/dist/shared/components-5vxtcp88.js +9 -0
- package/dist/shared/components-5zry9te1.js +152 -0
- package/dist/shared/components-61ckf42z.js +220 -0
- package/dist/shared/components-6hzwfmfd.js +58 -0
- package/dist/shared/components-6phwsry6.js +361 -0
- package/dist/shared/components-6t6nr33r.js +86 -0
- package/dist/shared/components-6y1th6k4.js +111 -0
- package/dist/shared/components-74c20v2f.js +32 -0
- package/dist/shared/components-7cqq1sqy.js +193 -0
- package/dist/shared/components-7gv95yfy.js +496 -0
- package/dist/shared/components-7nww01w4.js +375 -0
- package/dist/shared/components-7zp99w5d.js +62 -0
- package/dist/shared/components-8hk9ve3r.js +1200 -0
- package/dist/shared/components-8hzbsfbd.js +123 -0
- package/dist/shared/components-9p8s8n5q.js +171 -0
- package/dist/shared/components-aaq3yk4f.js +304 -0
- package/dist/shared/components-bf2d9k02.js +484 -0
- package/dist/shared/components-bkvb6nem.js +63 -0
- package/dist/shared/components-brnzrp2t.js +262 -0
- package/dist/shared/components-csxz9f52.js +42 -0
- package/dist/shared/components-de8xsm9y.js +22 -0
- package/dist/shared/components-dg0w8g5p.js +26 -0
- package/dist/shared/components-dphg9gjr.js +42 -0
- package/dist/shared/components-e46kf6cp.js +298 -0
- package/dist/shared/components-ed7cmssr.js +105 -0
- package/dist/shared/components-ess3ch6w.js +137 -0
- package/dist/shared/components-gjfrycb5.js +984 -0
- package/dist/shared/components-gndm6am4.js +128 -0
- package/dist/shared/components-hjkrv00c.js +191 -0
- package/dist/shared/components-hzfp4tjb.js +270 -0
- package/dist/shared/components-j65qt1mq.js +719 -0
- package/dist/shared/components-jw16snbn.js +19 -0
- package/dist/shared/components-jxgznftn.js +146 -0
- package/dist/shared/components-kf2ehztc.js +216 -0
- package/dist/shared/components-kpbcms10.js +9 -0
- package/dist/shared/components-m5br529r.js +141 -0
- package/dist/shared/components-nn6xezy2.js +1828 -0
- package/dist/shared/components-nnnd2xef.js +9 -0
- package/dist/shared/components-p2vmyfe1.js +345 -0
- package/dist/shared/components-peg09pzs.js +79 -0
- package/dist/shared/components-r22vtgqc.js +45 -0
- package/dist/shared/components-r2gke5p6.js +1759 -0
- package/dist/shared/components-r43mqnd6.js +160 -0
- package/dist/shared/components-r4jt6hgd.js +58 -0
- package/dist/shared/components-rc63qsy6.js +159 -0
- package/dist/shared/components-s3yfvfkr.js +149 -0
- package/dist/shared/components-s5pkbjx1.js +445 -0
- package/dist/shared/components-tad5h7ta.js +346 -0
- package/dist/shared/components-taxmgbnh.js +120 -0
- package/dist/shared/components-tm88ghva.js +215 -0
- package/dist/shared/components-v7es8aan.js +144 -0
- package/dist/shared/components-vb033rns.js +28 -0
- package/dist/shared/components-vc1k7yv2.js +30 -0
- package/dist/shared/components-vktws5r6.js +667 -0
- package/dist/shared/components-x2xyckd5.js +198 -0
- package/dist/shared/components-x3rz4cyn.js +61 -0
- package/dist/shared/components-xszag63d.js +141 -0
- package/dist/shared/components-y3cqdrgy.js +291 -0
- package/dist/shared/components-zvb11ker.js +288 -0
- package/dist/shared/components-zx2hr57f.js +124 -0
- package/dist/styles.css +1949 -0
- package/dist/tailwind.css +219 -0
- package/dist/tokens.css +345 -0
- package/package.json +102 -3
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useShape
|
|
3
|
+
} from "./components-7zp99w5d.js";
|
|
4
|
+
import {
|
|
5
|
+
cn
|
|
6
|
+
} from "./components-0f0as45n.js";
|
|
7
|
+
|
|
8
|
+
// primitives/scroll-area/index.tsx
|
|
9
|
+
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
10
|
+
import {
|
|
11
|
+
createContext,
|
|
12
|
+
forwardRef,
|
|
13
|
+
useContext
|
|
14
|
+
} from "react";
|
|
15
|
+
|
|
16
|
+
// lib/use-touch-primary.tsx
|
|
17
|
+
import { useEffect, useState } from "react";
|
|
18
|
+
function useTouchPrimary() {
|
|
19
|
+
const [isTouchPrimary, setIsTouchPrimary] = useState(false);
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (typeof window === "undefined")
|
|
22
|
+
return;
|
|
23
|
+
const controller = new AbortController;
|
|
24
|
+
const { signal } = controller;
|
|
25
|
+
const handleTouch = () => {
|
|
26
|
+
const hasTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0;
|
|
27
|
+
const prefersTouch = window.matchMedia("(pointer: coarse)").matches;
|
|
28
|
+
setIsTouchPrimary(hasTouch && prefersTouch);
|
|
29
|
+
};
|
|
30
|
+
const mq = window.matchMedia("(pointer: coarse)");
|
|
31
|
+
mq.addEventListener("change", handleTouch, { signal });
|
|
32
|
+
window.addEventListener("pointerdown", handleTouch, { signal });
|
|
33
|
+
handleTouch();
|
|
34
|
+
return () => controller.abort();
|
|
35
|
+
}, []);
|
|
36
|
+
return isTouchPrimary;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// primitives/scroll-area/index.tsx
|
|
40
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
41
|
+
var ScrollAreaContext = createContext(false);
|
|
42
|
+
var ScrollArea = forwardRef(({ className, children, viewportClassName, orientation = "vertical", ...props }, ref) => {
|
|
43
|
+
const isTouch = useTouchPrimary();
|
|
44
|
+
return /* @__PURE__ */ jsx(ScrollAreaContext.Provider, {
|
|
45
|
+
value: isTouch,
|
|
46
|
+
children: isTouch ? /* @__PURE__ */ jsx("div", {
|
|
47
|
+
ref,
|
|
48
|
+
role: "group",
|
|
49
|
+
"data-slot": "scroll-area",
|
|
50
|
+
"aria-roledescription": "scroll area",
|
|
51
|
+
className: cn("relative overflow-hidden", className),
|
|
52
|
+
...props,
|
|
53
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
54
|
+
"data-slot": "scroll-area-viewport",
|
|
55
|
+
className: cn("size-full rounded-[inherit]", orientation === "vertical" && "overflow-y-auto", orientation === "horizontal" && "overflow-x-auto", orientation === "both" && "overflow-auto", viewportClassName),
|
|
56
|
+
tabIndex: 0,
|
|
57
|
+
children
|
|
58
|
+
})
|
|
59
|
+
}) : /* @__PURE__ */ jsxs(ScrollAreaPrimitive.Root, {
|
|
60
|
+
ref,
|
|
61
|
+
"data-slot": "scroll-area",
|
|
62
|
+
className: cn("relative overflow-hidden", className),
|
|
63
|
+
...props,
|
|
64
|
+
children: [
|
|
65
|
+
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, {
|
|
66
|
+
"data-slot": "scroll-area-viewport",
|
|
67
|
+
className: cn("size-full rounded-[inherit]", viewportClassName),
|
|
68
|
+
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.Content, {
|
|
69
|
+
children
|
|
70
|
+
})
|
|
71
|
+
}),
|
|
72
|
+
orientation !== "horizontal" && /* @__PURE__ */ jsx(ScrollBar, {
|
|
73
|
+
orientation: "vertical"
|
|
74
|
+
}),
|
|
75
|
+
orientation !== "vertical" && /* @__PURE__ */ jsx(ScrollBar, {
|
|
76
|
+
orientation: "horizontal"
|
|
77
|
+
}),
|
|
78
|
+
orientation === "both" && /* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
|
|
79
|
+
]
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
ScrollArea.displayName = "ScrollArea";
|
|
84
|
+
var ScrollBar = forwardRef(({ className, orientation = "vertical", ...props }, ref) => {
|
|
85
|
+
const isTouch = useContext(ScrollAreaContext);
|
|
86
|
+
const shape = useShape();
|
|
87
|
+
if (isTouch)
|
|
88
|
+
return null;
|
|
89
|
+
return /* @__PURE__ */ jsx(ScrollAreaPrimitive.Scrollbar, {
|
|
90
|
+
ref,
|
|
91
|
+
orientation,
|
|
92
|
+
"data-slot": "scroll-area-scrollbar",
|
|
93
|
+
className: cn("group/scrollbar absolute z-20 flex touch-none select-none", "opacity-0 transition-opacity duration-moderate-exit ease-out delay-moderate", "data-[hovering]:duration-moderate data-[scrolling]:duration-moderate", "data-[hovering]:opacity-100 data-[scrolling]:opacity-100", "data-[hovering]:delay-0 data-[scrolling]:delay-0", orientation === "vertical" && "top-0 right-0 h-full w-2.5", orientation === "horizontal" && "bottom-0 left-0 h-2.5 w-full flex-col", className),
|
|
94
|
+
...props,
|
|
95
|
+
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.Thumb, {
|
|
96
|
+
"data-slot": "scroll-area-thumb",
|
|
97
|
+
className: cn("relative bg-overlay/8 transition-[background-color,width,height] duration-moderate ease-in-out", "group-hover/scrollbar:bg-overlay/12 active:!bg-overlay/16", shape.bg, orientation === "vertical" && "mx-auto my-1 w-1 -translate-x-0.5 h-[var(--scroll-area-thumb-height)] group-hover/scrollbar:w-1.5", orientation === "horizontal" && "my-auto mx-1 h-1 -translate-y-0.5 w-[var(--scroll-area-thumb-width)] group-hover/scrollbar:h-1.5")
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
ScrollBar.displayName = "ScrollBar";
|
|
102
|
+
Object.assign(ScrollArea, { Bar: ScrollBar });
|
|
103
|
+
var scroll_area_default = ScrollArea;
|
|
104
|
+
|
|
105
|
+
export { ScrollArea, ScrollBar, scroll_area_default };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FluidHoverHighlight
|
|
3
|
+
} from "./components-r22vtgqc.js";
|
|
4
|
+
import {
|
|
5
|
+
useFluidHover,
|
|
6
|
+
useRegisterFluidHoverItem
|
|
7
|
+
} from "./components-e46kf6cp.js";
|
|
8
|
+
import {
|
|
9
|
+
useShape
|
|
10
|
+
} from "./components-7zp99w5d.js";
|
|
11
|
+
import {
|
|
12
|
+
cn
|
|
13
|
+
} from "./components-0f0as45n.js";
|
|
14
|
+
|
|
15
|
+
// primitives/fluid-hover/index.tsx
|
|
16
|
+
import {
|
|
17
|
+
Children,
|
|
18
|
+
cloneElement,
|
|
19
|
+
createContext,
|
|
20
|
+
forwardRef,
|
|
21
|
+
isValidElement,
|
|
22
|
+
useContext,
|
|
23
|
+
useMemo,
|
|
24
|
+
useRef
|
|
25
|
+
} from "react";
|
|
26
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
|
+
var FluidHoverContext = createContext(null);
|
|
28
|
+
function isItemDisabled(element) {
|
|
29
|
+
return element.hasAttribute("data-disabled");
|
|
30
|
+
}
|
|
31
|
+
var itemBaseClass = "relative z-10 flex shrink-0 cursor-pointer items-center text-left text-body text-foreground outline-none focus-visible:ring-1 focus-visible:ring-focus-ring";
|
|
32
|
+
var itemAxisClass = {
|
|
33
|
+
y: "h-9 w-full px-3",
|
|
34
|
+
x: "h-9 justify-center whitespace-nowrap px-3",
|
|
35
|
+
xy: "min-h-20 w-full flex-col items-start justify-center gap-0.5 p-3"
|
|
36
|
+
};
|
|
37
|
+
var containerAxisClass = {
|
|
38
|
+
y: "flex flex-col gap-1",
|
|
39
|
+
x: "flex flex-row gap-1",
|
|
40
|
+
xy: "grid gap-1"
|
|
41
|
+
};
|
|
42
|
+
var FluidHoverItem = forwardRef(({ index, disabled = false, className, children, ...props }, ref) => {
|
|
43
|
+
const list = useContext(FluidHoverContext);
|
|
44
|
+
const shape = useShape();
|
|
45
|
+
const innerRef = useRef(null);
|
|
46
|
+
useRegisterFluidHoverItem(list?.registerItem, index, innerRef);
|
|
47
|
+
const axis = list?.axis ?? "y";
|
|
48
|
+
return /* @__PURE__ */ jsx("button", {
|
|
49
|
+
ref: (node) => {
|
|
50
|
+
innerRef.current = node;
|
|
51
|
+
if (typeof ref === "function")
|
|
52
|
+
ref(node);
|
|
53
|
+
else if (ref)
|
|
54
|
+
ref.current = node;
|
|
55
|
+
},
|
|
56
|
+
type: "button",
|
|
57
|
+
"data-slot": "fluid-hover-item",
|
|
58
|
+
"data-disabled": disabled || undefined,
|
|
59
|
+
disabled,
|
|
60
|
+
...props,
|
|
61
|
+
className: cn(itemBaseClass, itemAxisClass[axis], shape.item, disabled && "cursor-default text-muted-foreground opacity-55", className),
|
|
62
|
+
children
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
FluidHoverItem.displayName = "FluidHoverItem";
|
|
66
|
+
var FluidHover = forwardRef(({
|
|
67
|
+
axis,
|
|
68
|
+
columns,
|
|
69
|
+
items,
|
|
70
|
+
renderItem,
|
|
71
|
+
disabledIndices,
|
|
72
|
+
gapClick = true,
|
|
73
|
+
highlightClassName,
|
|
74
|
+
className,
|
|
75
|
+
children,
|
|
76
|
+
style,
|
|
77
|
+
...props
|
|
78
|
+
}, ref) => {
|
|
79
|
+
const containerRef = useRef(null);
|
|
80
|
+
const shape = useShape();
|
|
81
|
+
const resolvedAxis = axis ?? ((columns ?? 1) > 1 ? "xy" : "y");
|
|
82
|
+
const resolvedColumns = resolvedAxis === "xy" ? Math.max(1, columns ?? 2) : 1;
|
|
83
|
+
const hover = useFluidHover(containerRef, {
|
|
84
|
+
axis: resolvedAxis,
|
|
85
|
+
isItemDisabled,
|
|
86
|
+
gapClick
|
|
87
|
+
});
|
|
88
|
+
const { handlers, registerItem } = hover;
|
|
89
|
+
const contextValue = useMemo(() => ({ registerItem, axis: resolvedAxis }), [registerItem, resolvedAxis]);
|
|
90
|
+
const disabled = new Set(disabledIndices);
|
|
91
|
+
const rows = items ? items.map((item, i) => /* @__PURE__ */ jsx(FluidHoverItem, {
|
|
92
|
+
index: i,
|
|
93
|
+
disabled: disabled.has(i),
|
|
94
|
+
children: renderItem ? renderItem(item, i) : item
|
|
95
|
+
}, `${i}-${item}`)) : Children.toArray(children).map((child, i) => {
|
|
96
|
+
if (!isValidElement(child) || child.type !== FluidHoverItem)
|
|
97
|
+
return child;
|
|
98
|
+
const row = child;
|
|
99
|
+
return cloneElement(row, {
|
|
100
|
+
index: row.props.index ?? i,
|
|
101
|
+
disabled: row.props.disabled ?? disabled.has(i)
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
return /* @__PURE__ */ jsx(FluidHoverContext.Provider, {
|
|
105
|
+
value: contextValue,
|
|
106
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
107
|
+
ref: (node) => {
|
|
108
|
+
containerRef.current = node;
|
|
109
|
+
if (typeof ref === "function")
|
|
110
|
+
ref(node);
|
|
111
|
+
else if (ref)
|
|
112
|
+
ref.current = node;
|
|
113
|
+
},
|
|
114
|
+
...props,
|
|
115
|
+
...handlers,
|
|
116
|
+
"data-slot": "fluid-hover",
|
|
117
|
+
"data-axis": resolvedAxis,
|
|
118
|
+
className: cn("relative", containerAxisClass[resolvedAxis], className),
|
|
119
|
+
style: resolvedAxis === "xy" ? {
|
|
120
|
+
gridTemplateColumns: `repeat(${resolvedColumns}, minmax(0, 1fr))`,
|
|
121
|
+
...style
|
|
122
|
+
} : style,
|
|
123
|
+
children: [
|
|
124
|
+
/* @__PURE__ */ jsx(FluidHoverHighlight, {
|
|
125
|
+
hover,
|
|
126
|
+
className: cn("z-0", shape.bg, highlightClassName)
|
|
127
|
+
}),
|
|
128
|
+
rows
|
|
129
|
+
]
|
|
130
|
+
})
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
FluidHover.displayName = "FluidHover";
|
|
134
|
+
Object.assign(FluidHover, { Item: FluidHoverItem });
|
|
135
|
+
var fluid_hover_default = FluidHover;
|
|
136
|
+
|
|
137
|
+
export { FluidHoverItem, FluidHover, fluid_hover_default };
|