@overmap-ai/blocks 1.0.31-tailwind-components.45 → 1.0.32

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 CHANGED
@@ -292,7 +292,9 @@ const buttonCva = cva(
292
292
  "hover:inset-ring-0",
293
293
  "hover:bg-(--accent-a3)",
294
294
  "hover:text-(--accent-a12)",
295
- "active:bg-(--accent-a4)"
295
+ "active:bg-(--accent-a4)",
296
+ "data-[state='open']:inset-ring-0",
297
+ "data-[state='open']:bg-(--accent-a3)"
296
298
  ]
297
299
  },
298
300
  icon: {
@@ -1054,7 +1056,7 @@ const dayButtonCva = cva(
1054
1056
  "focus-visible:outline-(--accent-a8)",
1055
1057
  // range middle
1056
1058
  "group-[.rdp-range-middle]/day:rounded-none",
1057
- "group-[.rdp-range-middle]/day:bg-(--accent-a2)",
1059
+ "group-[.rdp-range-middle]/day:bg-(--accent-a3)",
1058
1060
  // range start/end
1059
1061
  "group-[.rdp-range-start:not(.rdp-range-end)]/day:rounded-r-none",
1060
1062
  "group-[.rdp-range-end:not(.rdp-range-start)]/day:rounded-l-none",
@@ -1099,6 +1101,9 @@ const dayButtonCva = cva(
1099
1101
  );
1100
1102
  const navButtonCva = cva(
1101
1103
  [
1104
+ "focus-visible:outline-2",
1105
+ "focus-visible:-outline-offset-1",
1106
+ "focus-visible:outline-(--base-a8)",
1102
1107
  "flex",
1103
1108
  "items-center",
1104
1109
  "justify-center",
@@ -1252,7 +1257,7 @@ const DialogContent = forwardRef((props, ref) => {
1252
1257
  children: [
1253
1258
  /* @__PURE__ */ jsxs("div", { className: "flex h-max w-full justify-between", children: [
1254
1259
  /* @__PURE__ */ jsx(RadixDialog.Title, { className: "font-medium", children: title }),
1255
- /* @__PURE__ */ jsx(RadixDialog.Close, { children: /* @__PURE__ */ jsx(IconButton, { accentColor: "base", size: size2, variant: "ghost", children: /* @__PURE__ */ jsx(HiX, {}) }) })
1260
+ /* @__PURE__ */ jsx(RadixDialog.Close, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { accentColor: "base", size: size2, variant: "ghost", children: /* @__PURE__ */ jsx(HiX, {}) }) })
1256
1261
  ] }),
1257
1262
  computedChildren
1258
1263
  ]