cooterlabs 2.1.0 → 2.2.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/bin/index.js CHANGED
@@ -212,7 +212,7 @@ const THEMES = {
212
212
  --color-secondary-foreground: #1c222a;
213
213
  --color-muted: #e7e9ec;
214
214
  --color-muted-foreground: #475569;
215
- --color-accent: #f1f3f3;
215
+ --color-accent: #0F3D3E;
216
216
  --color-accent-foreground: #0a2b2b;
217
217
  --color-destructive: #821717;
218
218
  --color-destructive-foreground: #ffffff;
@@ -289,6 +289,7 @@ const THEMES = {
289
289
  --color-info-700: #053e5d;
290
290
  --color-info-800: #04314a;
291
291
  --color-info-900: #032435;
292
+ --color-disabled: #7e8896
292
293
 
293
294
  /* Typography — Aeon text ramp (text-h1 … text-c3, text-label, text-btn-*) */
294
295
  --text-h1: 3rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cooterlabs",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Component library CLI for CooterLabs apps",
5
5
  "files": [
6
6
  "bin",
@@ -69,7 +69,7 @@ const Alert = React.forwardRef<HTMLDivElement, AlertProps>(
69
69
  ref={ref}
70
70
  role="alert"
71
71
  className={cn(
72
- "group relative overflow-hidden rounded-xs p-4 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:size-5 [&>svg~*]:pl-8",
72
+ "group relative overflow-hidden rounded-md p-4 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:size-5 [&>svg~*]:pl-8",
73
73
  alertVariants[variant][severity],
74
74
  position && alertPositions[position],
75
75
  dismissible && "pr-12",
@@ -72,7 +72,7 @@ const ButtonGroupItem = React.forwardRef<
72
72
  onClick?.(event)
73
73
  }}
74
74
  className={cn(
75
- "-ml-px inline-flex items-center justify-center whitespace-nowrap border border-primary font-semibold transition-colors first:-ml-0 first:rounded-l-xs last:rounded-r-xs focus-visible:z-10 focus-visible:outline-none focus-visible:shadow-focus disabled:pointer-events-none disabled:border-grey-200 disabled:text-grey-400 [&_svg]:size-[1.25em] [&_svg]:shrink-0",
75
+ "-ml-px inline-flex items-center justify-center whitespace-nowrap border border-primary font-semibold transition-colors first:-ml-0 first:rounded-l-md last:rounded-r-md focus-visible:z-10 focus-visible:outline-none focus-visible:shadow-focus disabled:pointer-events-none disabled:border-grey-200 disabled:text-grey-400 [&_svg]:size-[1.25em] [&_svg]:shrink-0",
76
76
  iconOnly ? iconOnlySizes[ctx.size] : buttonGroupItemSizes[ctx.size],
77
77
  selected
78
78
  ? "z-10 bg-primary text-primary-foreground"
@@ -11,7 +11,7 @@ const TabsList = React.forwardRef<
11
11
  <TabsPrimitive.List
12
12
  ref={ref}
13
13
  className={cn(
14
- "inline-flex items-center justify-center gap-1 rounded-xs bg-secondary p-1",
14
+ "inline-flex items-center justify-center gap-1 rounded-full bg-secondary p-2",
15
15
  className
16
16
  )}
17
17
  {...props}
@@ -26,7 +26,7 @@ const TabsTrigger = React.forwardRef<
26
26
  <TabsPrimitive.Trigger
27
27
  ref={ref}
28
28
  className={cn(
29
- "inline-flex h-10 items-center justify-center whitespace-nowrap rounded-xxs px-4 text-b4 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:shadow-focus disabled:pointer-events-none disabled:text-grey-400 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-100",
29
+ "inline-flex h-10 items-center justify-center whitespace-nowrap rounded-full px-4 text-b4 text-accent transition-colors hover:text-foreground hover:bg-primary-50 focus-visible:outline-none focus-visible:shadow-focus disabled:pointer-events-none disabled:text-disabled data-[state=active]:bg-primary-500 data-[state=active]:text-white data-[state=active]:shadow-100",
30
30
  className
31
31
  )}
32
32
  {...props}