@overmap-ai/blocks 1.0.36-improvements.0 → 1.0.36-improvements.2

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
@@ -140,7 +140,7 @@ const dialogContent = cva(
140
140
  "bg-(--color-background)",
141
141
  "dark:bg-(--base-2)",
142
142
  "ring-1",
143
- "ring-(--base-a6)",
143
+ "ring-(--base-6)",
144
144
  "[scrollbar-width:thin]",
145
145
  "[scrollbar-color:var(--base-6)_transparent]",
146
146
  // positioning
@@ -664,15 +664,15 @@ const cardCva = cva([], {
664
664
  variants: {
665
665
  variant: {
666
666
  soft: ["bg-(--accent-2)"],
667
- surface: ["bg-(--accent-2)", "inset-ring", "inset-ring-(--accent-a6)"],
668
- outline: ["inset-ring-1", "inset-ring-(--accent-a6)"]
667
+ surface: ["bg-(--accent-2)", "inset-ring", "inset-ring-(--accent-6)"],
668
+ outline: ["inset-ring-1", "inset-ring-(--accent-6)"]
669
669
  },
670
670
  size: {
671
- xs: ["p-2", "text-xs"],
672
- sm: ["p-3", "text-sm"],
673
- md: ["p-4", "text-base"],
674
- lg: ["p-5", "text-lg"],
675
- xl: ["p-6", "text-xl"]
671
+ xs: ["p-2"],
672
+ sm: ["p-3"],
673
+ md: ["p-4"],
674
+ lg: ["p-5"],
675
+ xl: ["p-6"]
676
676
  }
677
677
  },
678
678
  defaultVariants: {
@@ -1076,7 +1076,7 @@ const CommandMenuCheckboxIndicator = (props) => {
1076
1076
  const commandMenuContentCva = cva(
1077
1077
  [
1078
1078
  "ring",
1079
- "ring-(--base-a6)",
1079
+ "ring-(--base-6)",
1080
1080
  "shadow-md",
1081
1081
  "fixed",
1082
1082
  "max-w-lg",
@@ -2029,11 +2029,11 @@ HoverCardArrow.displayName = "HoverCardArrow";
2029
2029
  const hoverCardContent = cva(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
2030
2030
  variants: {
2031
2031
  size: {
2032
- xs: ["text-xs", "p-2"],
2033
- sm: ["text-sm", "p-3"],
2034
- md: ["text-base", "p-4"],
2035
- lg: ["text-lg", "p-5"],
2036
- xl: ["text-xl", "p-6"]
2032
+ xs: ["p-2"],
2033
+ sm: ["p-3"],
2034
+ md: ["p-4"],
2035
+ lg: ["p-5"],
2036
+ xl: ["p-6"]
2037
2037
  }
2038
2038
  },
2039
2039
  defaultVariants: {
@@ -3749,11 +3749,11 @@ PopoverArrow.displayName = "PopoverArrow";
3749
3749
  const popoverContent = cva(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(--base-6)"], {
3750
3750
  variants: {
3751
3751
  size: {
3752
- xs: ["text-xs", "p-2"],
3753
- sm: ["text-sm", "p-3"],
3754
- md: ["text-base", "p-4"],
3755
- lg: ["text-lg", "p-5"],
3756
- xl: ["text-xl", "p-6"]
3752
+ xs: ["p-2"],
3753
+ sm: ["p-3"],
3754
+ md: ["p-4"],
3755
+ lg: ["p-5"],
3756
+ xl: ["p-6"]
3757
3757
  }
3758
3758
  },
3759
3759
  defaultVariants: {
@@ -4399,9 +4399,9 @@ const separator = cva(["shrink-0"], {
4399
4399
  vertical: ["w-px"]
4400
4400
  },
4401
4401
  weight: {
4402
- light: ["bg-(--accent-a6)"],
4403
- medium: ["bg-(--accent-a7)"],
4404
- heavy: ["bg-(--accent-a8)"]
4402
+ light: ["bg-(--accent-6)"],
4403
+ medium: ["bg-(--accent-7)"],
4404
+ heavy: ["bg-(--accent-8)"]
4405
4405
  }
4406
4406
  },
4407
4407
  compoundVariants: [
@@ -4847,7 +4847,7 @@ const tableRootCva = cva(["border-collapse text-left"], {
4847
4847
  variants: {
4848
4848
  variant: {
4849
4849
  ghost: [],
4850
- surface: ["border-1", "border-(--accent-a6)", "box-border", "overflow-hidden"]
4850
+ surface: ["border-1", "border-(--accent-6)", "box-border", "overflow-hidden"]
4851
4851
  },
4852
4852
  size: {
4853
4853
  xs: ["text-xs"],
@@ -4876,9 +4876,9 @@ const tableCellCva = cva([], {
4876
4876
  xl: ["p-10"]
4877
4877
  },
4878
4878
  border: {
4879
- grid: ["box-border", "border", "border-(--accent-a6)"],
4880
- row: ["box-border", "border-b", "border-(--accent-a6)"],
4881
- col: ["box-border", "border-x", "border-(--accent-a6)"],
4879
+ grid: ["box-border", "border", "border-(--accent-6)"],
4880
+ row: ["box-border", "border-b", "border-(--accent-6)"],
4881
+ col: ["box-border", "border-x", "border-(--accent-6)"],
4882
4882
  none: []
4883
4883
  }
4884
4884
  },
@@ -5190,7 +5190,7 @@ const toastCva = cva(
5190
5190
  {
5191
5191
  variants: {
5192
5192
  variant: {
5193
- surface: ["bg-(--accent-1)", "text-(--accent-11)", "ring-1", "ring-inset", "ring-(--accent-a6)"],
5193
+ surface: ["bg-(--accent-1)", "text-(--accent-11)", "ring-1", "ring-inset", "ring-(--accent-6)"],
5194
5194
  soft: ["bg-(--accent-1)", "text-(--accent-11)"]
5195
5195
  },
5196
5196
  size: {
@@ -5494,19 +5494,18 @@ const tooltipContent = cva(
5494
5494
  "bg-(--color-background)",
5495
5495
  "dark:bg-(--base-2)",
5496
5496
  "ring-1",
5497
- "ring-inset",
5498
- "ring-(--base-a6)",
5497
+ "ring-(--base-6)",
5499
5498
  "text-(--base-12)",
5500
5499
  "shadow-sm"
5501
5500
  ],
5502
5501
  {
5503
5502
  variants: {
5504
5503
  size: {
5505
- xs: ["text-xs", "px-2"],
5506
- sm: ["text-sm", "px-3"],
5507
- md: ["text-base", "px-4"],
5508
- lg: ["text-lg", "px-5"],
5509
- xl: ["text-xl", "px-6"]
5504
+ xs: ["px-3"],
5505
+ sm: ["px-3.5"],
5506
+ md: ["px-4"],
5507
+ lg: ["px-4.5"],
5508
+ xl: ["px-5"]
5510
5509
  },
5511
5510
  side: {
5512
5511
  top: ["data-[side=top]:slide-in-from-bottom-1"],
@@ -5690,7 +5689,9 @@ export {
5690
5689
  TooltipContent,
5691
5690
  badge,
5692
5691
  buttonCva,
5692
+ floating,
5693
5693
  mergeRefs,
5694
+ radiusCva,
5694
5695
  stopPropagation,
5695
5696
  unsafeShowToast,
5696
5697
  useAlertDialog,