@overmap-ai/blocks 1.0.31-tailwind-components.36 → 1.0.31-tailwind-components.37
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/blocks.js +28 -11
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +28 -11
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -175,14 +175,18 @@
|
|
|
175
175
|
const AlertDialogContent = React.forwardRef((props, ref) => {
|
|
176
176
|
const { radius } = useProvider();
|
|
177
177
|
const { className, size, container, ...rest } = props;
|
|
178
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
179
|
-
RadixAlertDialog__namespace.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
178
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(RadixAlertDialog__namespace.Portal, { container, children: [
|
|
179
|
+
/* @__PURE__ */ jsxRuntime.jsx(RadixAlertDialog__namespace.Overlay, { className: dialogOverlay({}), "data-floating-content": "" }),
|
|
180
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
181
|
+
RadixAlertDialog__namespace.Content,
|
|
182
|
+
{
|
|
183
|
+
className: classVarianceAuthority.cx(className, dialogContent({ size }), radiusCva({ radius, maxLarge: true })),
|
|
184
|
+
ref,
|
|
185
|
+
"data-floating-content": "",
|
|
186
|
+
...rest
|
|
187
|
+
}
|
|
188
|
+
)
|
|
189
|
+
] });
|
|
186
190
|
});
|
|
187
191
|
AlertDialogContent.displayName = "AlertDialogContent";
|
|
188
192
|
const AlertDialogContext = React.createContext(() => {
|
|
@@ -1003,6 +1007,7 @@
|
|
|
1003
1007
|
{
|
|
1004
1008
|
className: classVarianceAuthority.cx(className, dialogContent({ size }), radiusCva({ radius, maxLarge: true })),
|
|
1005
1009
|
ref,
|
|
1010
|
+
"data-floating-content": "",
|
|
1006
1011
|
...rest,
|
|
1007
1012
|
children: [
|
|
1008
1013
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-max w-full justify-between", children: [
|
|
@@ -1017,7 +1022,15 @@
|
|
|
1017
1022
|
DialogContent.displayName = "DialogContent";
|
|
1018
1023
|
const DialogOverlay = React.forwardRef((props, ref) => {
|
|
1019
1024
|
const { className, container, ...rest } = props;
|
|
1020
|
-
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Portal, { container, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1025
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Portal, { container, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1026
|
+
RadixDialog__namespace.Overlay,
|
|
1027
|
+
{
|
|
1028
|
+
ref,
|
|
1029
|
+
className: classVarianceAuthority.cx(className, dialogOverlay({})),
|
|
1030
|
+
"data-floating-content": "",
|
|
1031
|
+
...rest
|
|
1032
|
+
}
|
|
1033
|
+
) });
|
|
1021
1034
|
});
|
|
1022
1035
|
DialogOverlay.displayName = "DialogOverlay";
|
|
1023
1036
|
const DialogRoot = (props) => {
|
|
@@ -1181,6 +1194,7 @@
|
|
|
1181
1194
|
side,
|
|
1182
1195
|
"data-accent-color": accentColor,
|
|
1183
1196
|
sideOffset,
|
|
1197
|
+
"data-floating-content": "",
|
|
1184
1198
|
...rest
|
|
1185
1199
|
}
|
|
1186
1200
|
) });
|
|
@@ -2027,7 +2041,7 @@
|
|
|
2027
2041
|
visibility: ((_a2 = middlewareData.hide) == null ? void 0 : _a2.referenceHidden) ? "hidden" : "visible"
|
|
2028
2042
|
};
|
|
2029
2043
|
}, [floatingStyles, (_a = middlewareData.hide) == null ? void 0 : _a.referenceHidden]);
|
|
2030
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.FloatingNode, { id: nodeId, children: open && /* @__PURE__ */ jsxRuntime.jsx(react.FloatingPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.FloatingOverlay, { className:
|
|
2044
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.FloatingNode, { id: nodeId, children: open && /* @__PURE__ */ jsxRuntime.jsx(react.FloatingPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.FloatingOverlay, { className: menuOverlay({ modal }), lockScroll: true, "data-floating": "", children: /* @__PURE__ */ jsxRuntime.jsx(react.FloatingFocusManager, { context, children: /* @__PURE__ */ jsxRuntime.jsx(react.FloatingList, { elementsRef, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2031
2045
|
MenuContentContext.Provider,
|
|
2032
2046
|
{
|
|
2033
2047
|
value: {
|
|
@@ -2050,13 +2064,13 @@
|
|
|
2050
2064
|
ref: refs.setFloating,
|
|
2051
2065
|
tabIndex: -1,
|
|
2052
2066
|
style: computedFloatingStyles,
|
|
2067
|
+
"data-floating": "",
|
|
2053
2068
|
...getFloatingProps(),
|
|
2054
2069
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2055
2070
|
"div",
|
|
2056
2071
|
{
|
|
2057
2072
|
className: classVarianceAuthority.cx(
|
|
2058
2073
|
className,
|
|
2059
|
-
"overmap-menu-content",
|
|
2060
2074
|
menuContent({ size }),
|
|
2061
2075
|
floating({ side, shadow: "3" }),
|
|
2062
2076
|
radiusCva({ radius, maxLarge: true }),
|
|
@@ -2855,6 +2869,7 @@
|
|
|
2855
2869
|
ref,
|
|
2856
2870
|
sideOffset,
|
|
2857
2871
|
"data-accent-color": accentColor,
|
|
2872
|
+
"data-floating-content": "",
|
|
2858
2873
|
...rest
|
|
2859
2874
|
}
|
|
2860
2875
|
) });
|
|
@@ -3856,6 +3871,7 @@
|
|
|
3856
3871
|
type: sensitivity,
|
|
3857
3872
|
onOpenChange: handleOpenChange,
|
|
3858
3873
|
"data-accent-color": accentColor,
|
|
3874
|
+
"data-floating-content": "",
|
|
3859
3875
|
...rest,
|
|
3860
3876
|
children: [
|
|
3861
3877
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex grow items-center gap-3", children: [
|
|
@@ -4151,6 +4167,7 @@
|
|
|
4151
4167
|
className: classVarianceAuthority.cx(className, tooltipContent({ size, side }), radiusCva({ radius, maxLarge: false })),
|
|
4152
4168
|
ref,
|
|
4153
4169
|
sideOffset,
|
|
4170
|
+
"data-floating-content": "",
|
|
4154
4171
|
...rest,
|
|
4155
4172
|
children
|
|
4156
4173
|
}
|