@overmap-ai/blocks 1.0.31-tailwind-components.46 → 1.0.33-menu-styling-updates.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/dist/blocks.js +22 -17
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +22 -17
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.js
CHANGED
|
@@ -136,7 +136,8 @@ const dialogContent = cva(
|
|
|
136
136
|
"max-h-3/4",
|
|
137
137
|
"overflow-hidden",
|
|
138
138
|
"w-full",
|
|
139
|
-
"bg-(--
|
|
139
|
+
"bg-(--color-background)",
|
|
140
|
+
"dark:bg-(--base-2)",
|
|
140
141
|
"ring-1",
|
|
141
142
|
"ring-(--base-6)",
|
|
142
143
|
"fixed",
|
|
@@ -292,7 +293,9 @@ const buttonCva = cva(
|
|
|
292
293
|
"hover:inset-ring-0",
|
|
293
294
|
"hover:bg-(--accent-a3)",
|
|
294
295
|
"hover:text-(--accent-a12)",
|
|
295
|
-
"active:bg-(--accent-a4)"
|
|
296
|
+
"active:bg-(--accent-a4)",
|
|
297
|
+
"data-[state='open']:inset-ring-0",
|
|
298
|
+
"data-[state='open']:bg-(--accent-a3)"
|
|
296
299
|
]
|
|
297
300
|
},
|
|
298
301
|
icon: {
|
|
@@ -1255,7 +1258,7 @@ const DialogContent = forwardRef((props, ref) => {
|
|
|
1255
1258
|
children: [
|
|
1256
1259
|
/* @__PURE__ */ jsxs("div", { className: "flex h-max w-full justify-between", children: [
|
|
1257
1260
|
/* @__PURE__ */ jsx(RadixDialog.Title, { className: "font-medium", children: title }),
|
|
1258
|
-
/* @__PURE__ */ jsx(RadixDialog.Close, { children: /* @__PURE__ */ jsx(IconButton, { accentColor: "base", size: size2, variant: "ghost", children: /* @__PURE__ */ jsx(HiX, {}) }) })
|
|
1261
|
+
/* @__PURE__ */ jsx(RadixDialog.Close, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { accentColor: "base", size: size2, variant: "ghost", children: /* @__PURE__ */ jsx(HiX, {}) }) })
|
|
1259
1262
|
] }),
|
|
1260
1263
|
computedChildren
|
|
1261
1264
|
]
|
|
@@ -1384,7 +1387,7 @@ const HoverCardArrow = forwardRef((props, ref) => {
|
|
|
1384
1387
|
return /* @__PURE__ */ jsx(RadixHoverCard.Arrow, { className: cx(className, "fill-(--base-6)"), ref, ...rest });
|
|
1385
1388
|
});
|
|
1386
1389
|
HoverCardArrow.displayName = "HoverCardArrow";
|
|
1387
|
-
const hoverCardContent = cva(["bg-(--base-
|
|
1390
|
+
const hoverCardContent = cva(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
|
|
1388
1391
|
variants: {
|
|
1389
1392
|
size: {
|
|
1390
1393
|
xs: ["text-xs", "p-2"],
|
|
@@ -2044,11 +2047,11 @@ const menuItem = cva(
|
|
|
2044
2047
|
{
|
|
2045
2048
|
variants: {
|
|
2046
2049
|
size: {
|
|
2047
|
-
xs: ["h-5", "text-xs", "gap-1", "px-1"],
|
|
2048
|
-
sm: ["h-6", "text-sm", "gap-
|
|
2049
|
-
md: ["h-7", "text-base", "gap-
|
|
2050
|
-
lg: ["h-8", "text-lg", "gap-
|
|
2051
|
-
xl: ["h-9", "text-xl", "gap-
|
|
2050
|
+
xs: ["h-5", "text-xs", "gap-1.5", "px-1.5"],
|
|
2051
|
+
sm: ["h-6", "text-sm", "gap-2.25", "px-2.25"],
|
|
2052
|
+
md: ["h-7", "text-base", "gap-3", "px-3"],
|
|
2053
|
+
lg: ["h-8", "text-lg", "gap-3.75", "px-3.75"],
|
|
2054
|
+
xl: ["h-9", "text-xl", "gap-4.5", "px-4.5"]
|
|
2052
2055
|
},
|
|
2053
2056
|
variant: {
|
|
2054
2057
|
solid: [
|
|
@@ -2100,7 +2103,8 @@ const menuContent = cva(
|
|
|
2100
2103
|
"w-max",
|
|
2101
2104
|
"outline-none",
|
|
2102
2105
|
"pointer-events-auto",
|
|
2103
|
-
"bg-(--
|
|
2106
|
+
"bg-(--color-background)",
|
|
2107
|
+
"dark:bg-(--base-2)",
|
|
2104
2108
|
"ring-1",
|
|
2105
2109
|
"ring-(--base-6)",
|
|
2106
2110
|
"overflow-hidden"
|
|
@@ -2156,11 +2160,11 @@ const inputRoot = cva(
|
|
|
2156
2160
|
{
|
|
2157
2161
|
variants: {
|
|
2158
2162
|
size: {
|
|
2159
|
-
xs: ["h-5", "text-xs", "px-1", "gap-1"],
|
|
2160
|
-
sm: ["h-6", "text-sm", "px-
|
|
2161
|
-
md: ["h-7", "text-base", "px-
|
|
2162
|
-
lg: ["h-8", "text-lg", "px-
|
|
2163
|
-
xl: ["h-9", "text-xl", "px-
|
|
2163
|
+
xs: ["h-5", "text-xs", "px-1.5", "gap-1.5"],
|
|
2164
|
+
sm: ["h-6", "text-sm", "px-2.25", "gap-2.25"],
|
|
2165
|
+
md: ["h-7", "text-base", "px-3", "gap-3"],
|
|
2166
|
+
lg: ["h-8", "text-lg", "px-3.75", "gap-3.75"],
|
|
2167
|
+
xl: ["h-9", "text-xl", "px-4.5", "gap-4.5"]
|
|
2164
2168
|
}
|
|
2165
2169
|
},
|
|
2166
2170
|
defaultVariants: {
|
|
@@ -3105,7 +3109,7 @@ const PopoverArrow = forwardRef((props, ref) => {
|
|
|
3105
3109
|
return /* @__PURE__ */ jsx(RadixPopover.Arrow, { className: cx(className, "fill-(--base-6)"), ref, ...rest });
|
|
3106
3110
|
});
|
|
3107
3111
|
PopoverArrow.displayName = "PopoverArrow";
|
|
3108
|
-
const popoverContent = cva(["bg-(--base-
|
|
3112
|
+
const popoverContent = cva(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
|
|
3109
3113
|
variants: {
|
|
3110
3114
|
size: {
|
|
3111
3115
|
xs: ["text-xs", "p-2"],
|
|
@@ -4396,7 +4400,8 @@ const tooltipContent = cva(
|
|
|
4396
4400
|
"data-[state=closed]:animate-out",
|
|
4397
4401
|
"data-[state=closed]:fade-out-0",
|
|
4398
4402
|
"data-[state=closed]:zoom-out-95",
|
|
4399
|
-
"bg-(--
|
|
4403
|
+
"bg-(--color-background)",
|
|
4404
|
+
"dark:bg-(--base-2)",
|
|
4400
4405
|
"ring-1",
|
|
4401
4406
|
"ring-inset",
|
|
4402
4407
|
"ring-(--base-a6)",
|