@camox/ui 0.11.0 → 0.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/ui",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "files": [
5
5
  "src"
6
6
  ],
@@ -139,5 +139,10 @@
139
139
  "peerDependencies": {
140
140
  "react": ">=18",
141
141
  "react-dom": ">=18"
142
+ },
143
+ "nx": {
144
+ "tags": [
145
+ "type:pkg"
146
+ ]
142
147
  }
143
148
  }
@@ -21,7 +21,7 @@ function AlertDialogOverlay({ className, ...props }: AlertDialogPrimitive.Backdr
21
21
  <AlertDialogPrimitive.Backdrop
22
22
  data-slot="alert-dialog-overlay"
23
23
  className={cn(
24
- "fixed inset-0 isolate z-50 bg-black/50 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
24
+ "fixed inset-0 isolate z-50 bg-black/66 duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
25
25
  className,
26
26
  )}
27
27
  {...props}
@@ -26,7 +26,7 @@ function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props)
26
26
  <DialogPrimitive.Backdrop
27
27
  data-slot="dialog-overlay"
28
28
  className={cn(
29
- "fixed inset-0 isolate z-50 bg-black/50 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
29
+ "fixed inset-0 isolate z-50 bg-black/66 duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
30
30
  className,
31
31
  )}
32
32
  {...props}
@@ -26,7 +26,7 @@ function SheetOverlay({ className, ...props }: SheetPrimitive.Backdrop.Props) {
26
26
  <SheetPrimitive.Backdrop
27
27
  data-slot="sheet-overlay"
28
28
  className={cn(
29
- "fixed inset-0 z-50 bg-black/50 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
29
+ "fixed inset-0 z-50 bg-black/66 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0",
30
30
  className,
31
31
  )}
32
32
  {...props}
@@ -14,8 +14,8 @@
14
14
  --secondary-foreground: theme(--color-zinc-900);
15
15
  --muted: theme(--color-zinc-100);
16
16
  --muted-foreground: theme(--color-zinc-500);
17
- --accent: oklch(0.95 0.01 190);
18
- --accent-foreground: theme(--color-slate-900);
17
+ --accent: oklch(0.95 0.005 190);
18
+ --accent-foreground: oklch(0.2 0.01 190);
19
19
  --destructive: theme(--color-red-600);
20
20
  --destructive-foreground: theme(--color-red-600);
21
21
  --border: theme(--color-zinc-200);
@@ -50,8 +50,8 @@
50
50
  --secondary-foreground: theme(--color-zinc-50);
51
51
  --muted: theme(--color-zinc-800);
52
52
  --muted-foreground: theme(--color-zinc-400);
53
- --accent: oklch(0.27 0.02 182);
54
- --accent-foreground: theme(--color-slate-50);
53
+ --accent: oklch(0.27 0.01 182);
54
+ --accent-foreground: oklch(0.97 0.01 182);
55
55
  --destructive: theme(--color-red-400);
56
56
  --destructive-foreground: theme(--color-red-500);
57
57
  --border: oklch(1 0 0 / 10%);
@@ -115,9 +115,26 @@
115
115
  * {
116
116
  @apply border-border outline-ring/50;
117
117
  }
118
+
118
119
  body {
119
- @apply bg-background text-foreground;
120
+ @apply bg-background text-foreground m-0;
121
+ font-family:
122
+ "Lato",
123
+ -apple-system,
124
+ BlinkMacSystemFont,
125
+ "Segoe UI",
126
+ "Roboto",
127
+ "Oxygen",
128
+ "Ubuntu",
129
+ "Cantarell",
130
+ "Fira Sans",
131
+ "Droid Sans",
132
+ "Helvetica Neue",
133
+ sans-serif;
134
+ -webkit-font-smoothing: antialiased;
135
+ -moz-osx-font-smoothing: grayscale;
120
136
  }
137
+
121
138
  a:focus-visible,
122
139
  button:focus-visible {
123
140
  @apply outline-ring ring-ring/50 rounded-md ring-3 outline-1 -outline-offset-1;