@biotechusa/pdo-ui 1.0.6 → 1.0.7

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.
@@ -20,7 +20,7 @@ function AlertDialogPortal(props) {
20
20
  }
21
21
  function AlertDialogBackdrop({ className, ...props }) {
22
22
  return /*#__PURE__*/ jsx(AlertDialog.Backdrop, {
23
- className: cn("fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 ease-out data-ending-style:opacity-0 data-starting-style:opacity-0", className),
23
+ className: cn("fixed inset-0 z-50 bg-[oklch(from_var(--destructive)_0.03_c_h)]/30 backdrop-blur-sm transition-all duration-200 ease-out data-ending-style:opacity-0 data-starting-style:opacity-0", className),
24
24
  "data-slot": "alert-dialog-backdrop",
25
25
  ...props
26
26
  });
@@ -49,7 +49,7 @@ function AutocompletePopup({ className, children, sideOffset = 4, ...props }) {
49
49
  }
50
50
  function AutocompleteItem({ className, children, ...props }) {
51
51
  return /*#__PURE__*/ jsx(Autocomplete.Item, {
52
- className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm", className),
52
+ className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm", className),
53
53
  "data-slot": "autocomplete-item",
54
54
  ...props,
55
55
  children: children
package/dist/badge.js CHANGED
@@ -18,7 +18,7 @@ const badgeVariants = cva("relative inline-flex shrink-0 items-center justify-ce
18
18
  destructive: "bg-destructive text-white [button,a&]:hover:bg-destructive/90",
19
19
  error: "bg-destructive/8 text-destructive-foreground dark:bg-destructive/16",
20
20
  info: "bg-info/8 text-info-foreground dark:bg-info/16",
21
- outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-accent/50 dark:[button,a&]:hover:bg-input/48",
21
+ outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-highlight/50 dark:[button,a&]:hover:bg-input/48",
22
22
  secondary: "bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90",
23
23
  success: "bg-success/8 text-success-foreground dark:bg-success/16",
24
24
  warning: "bg-warning/8 text-warning-foreground dark:bg-warning/16"
package/dist/button.js CHANGED
@@ -25,9 +25,9 @@ const buttonVariants = cva("relative inline-flex shrink-0 cursor-pointer items-c
25
25
  default: "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-primary bg-primary text-primary-foreground shadow-primary/24 shadow-xs hover:bg-primary/90 [&:is(:active,[data-pressed])]:inset-shadow-[0_1px_--theme(--color-black/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none",
26
26
  destructive: "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-destructive bg-destructive text-white shadow-destructive/24 shadow-xs hover:bg-destructive/90 [&:is(:active,[data-pressed])]:inset-shadow-[0_1px_--theme(--color-black/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none",
27
27
  "destructive-outline": "border-border bg-transparent text-destructive-foreground shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:border-destructive/32 [&:is(:hover,[data-pressed])]:bg-destructive/4",
28
- ghost: "border-transparent hover:bg-accent data-pressed:bg-accent",
28
+ ghost: "border-transparent hover:bg-highlight data-pressed:bg-highlight",
29
29
  link: "border-transparent underline-offset-4 hover:underline",
30
- outline: "border-border bg-background shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:bg-accent/50 dark:[&:is(:hover,[data-pressed])]:bg-input/64",
30
+ outline: "border-border bg-background shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:bg-highlight/50 dark:[&:is(:hover,[data-pressed])]:bg-input/64",
31
31
  secondary: "border-secondary bg-secondary text-secondary-foreground hover:bg-secondary/90 data-pressed:bg-secondary/90"
32
32
  }
33
33
  }
package/dist/checkbox.js CHANGED
@@ -3,11 +3,11 @@ import { Checkbox } from "@base-ui-components/react/checkbox";
3
3
  import { cn } from "./lib/utils.js";
4
4
  function checkbox_Checkbox({ className, ...props }) {
5
5
  return /*#__PURE__*/ jsx(Checkbox.Root, {
6
- className: cn("relative inline-flex size-4 shrink-0 items-center justify-center rounded-lg border border-input bg-background bg-clip-padding shadow-xs outline-none ring-ring transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(0.25rem-1px)] not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 dark:not-data-checked:bg-input/32 dark:bg-clip-border dark:aria-invalid:ring-destructive/24 dark:not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,[data-checked],[aria-invalid])]:shadow-none", className),
6
+ className: cn("relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-[5px] border border-input bg-background bg-clip-padding shadow-sm outline-none ring-ring transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(0.25rem-1px)] not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/6%)] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 dark:not-data-checked:bg-input/32 dark:bg-clip-border dark:aria-invalid:ring-destructive/24 dark:not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,[data-checked],[aria-invalid])]:shadow-none", className),
7
7
  "data-slot": "checkbox",
8
8
  ...props,
9
9
  children: /*#__PURE__*/ jsx(Checkbox.Indicator, {
10
- className: "-inset-px absolute flex items-center justify-center rounded-lg text-primary-foreground data-unchecked:hidden data-checked:bg-primary data-indeterminate:text-foreground",
10
+ className: "-inset-px absolute flex items-center justify-center rounded-[5px] text-primary-foreground data-unchecked:hidden data-checked:bg-[oklch(from_var(--accent)_l_0.07_h)] transition-all duration-100 data-indeterminate:text-foreground",
11
11
  "data-slot": "checkbox-indicator",
12
12
  render: (props, state)=>/*#__PURE__*/ jsx("span", {
13
13
  ...props,
@@ -37,7 +37,7 @@ function checkbox_Checkbox({ className, ...props }) {
37
37
  width: "24",
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  children: /*#__PURE__*/ jsx("path", {
40
- d: "M5.252 12.7 10.2 18.63 18.748 5.37"
40
+ d: "M5.252 13.7 10.2 18.63 18.748 6.37"
41
41
  })
42
42
  })
43
43
  })
package/dist/combobox.js CHANGED
@@ -83,7 +83,7 @@ function ComboboxPopup({ className, children, sideOffset = 4, ...props }) {
83
83
  }
84
84
  function ComboboxItem({ className, children, ...props }) {
85
85
  return /*#__PURE__*/ jsxs(Combobox.Item, {
86
- className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
86
+ className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-highlight-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
87
87
  "data-slot": "combobox-item",
88
88
  ...props,
89
89
  children: [
@@ -193,7 +193,7 @@ function ComboboxChips({ className, ...props }) {
193
193
  }
194
194
  function ComboboxChip({ children, ...props }) {
195
195
  return /*#__PURE__*/ jsxs(Combobox.Chip, {
196
- className: "flex items-center rounded-[calc(var(--radius-md)-1px)] bg-accent ps-2 font-medium text-accent-foreground text-xs outline-none",
196
+ className: "flex items-center rounded-[calc(var(--radius-md)-1px)] bg-highlight ps-2 font-medium text-accent-foreground text-xs outline-none",
197
197
  "data-slot": "combobox-chip",
198
198
  ...props,
199
199
  children: [
package/dist/dialog.js CHANGED
@@ -22,7 +22,7 @@ function DialogClose(props) {
22
22
  }
23
23
  function DialogBackdrop({ className, ...props }) {
24
24
  return /*#__PURE__*/ jsx(Dialog.Backdrop, {
25
- className: cn("fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", className),
25
+ className: cn("fixed inset-0 z-50 bg-[oklch(from_var(--accent)_0.09_c_h)]/30 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", className),
26
26
  "data-slot": "dialog-backdrop",
27
27
  ...props
28
28
  });
package/dist/index.css CHANGED
@@ -672,6 +672,16 @@
672
672
  height: calc(var(--spacing) * 4);
673
673
  }
674
674
 
675
+ .size-4\.5 {
676
+ width: calc(var(--spacing) * 4.5);
677
+ height: calc(var(--spacing) * 4.5);
678
+ }
679
+
680
+ .size-5\.5 {
681
+ width: calc(var(--spacing) * 5.5);
682
+ height: calc(var(--spacing) * 5.5);
683
+ }
684
+
675
685
  .size-6 {
676
686
  width: calc(var(--spacing) * 6);
677
687
  height: calc(var(--spacing) * 6);
@@ -858,10 +868,6 @@
858
868
  width: 100%;
859
869
  }
860
870
 
861
- .w-screen {
862
- width: 100vw;
863
- }
864
-
865
871
  .max-w-\(--available-width\) {
866
872
  max-width: var(--available-width);
867
873
  }
@@ -1157,6 +1163,10 @@
1157
1163
  border-radius: var(--radius-2xl);
1158
1164
  }
1159
1165
 
1166
+ .rounded-\[5px\] {
1167
+ border-radius: 5px;
1168
+ }
1169
+
1160
1170
  .rounded-\[calc\(var\(--radius-md\)-1px\)\] {
1161
1171
  border-radius: calc(var(--radius-md) - 1px);
1162
1172
  }
@@ -1289,8 +1299,24 @@
1289
1299
  }
1290
1300
  }
1291
1301
 
1292
- .bg-accent {
1293
- background-color: var(--accent);
1302
+ .bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
1303
+ background-color: oklch(from var(--accent) .09 c h);
1304
+ }
1305
+
1306
+ @supports (color: color-mix(in lab, red, red)) {
1307
+ .bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
1308
+ background-color: color-mix(in oklab, oklch(from var(--accent) .09 c h) 30%, transparent);
1309
+ }
1310
+ }
1311
+
1312
+ .bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
1313
+ background-color: oklch(from var(--destructive) .03 c h);
1314
+ }
1315
+
1316
+ @supports (color: color-mix(in lab, red, red)) {
1317
+ .bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
1318
+ background-color: color-mix(in oklab, oklch(from var(--destructive) .03 c h) 30%, transparent);
1319
+ }
1294
1320
  }
1295
1321
 
1296
1322
  .bg-amber-500 {
@@ -1353,6 +1379,10 @@
1353
1379
  }
1354
1380
  }
1355
1381
 
1382
+ .bg-highlight {
1383
+ background-color: var(--highlight);
1384
+ }
1385
+
1356
1386
  .bg-info\/4 {
1357
1387
  background-color: var(--info);
1358
1388
  }
@@ -1859,17 +1889,22 @@
1859
1889
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1860
1890
  }
1861
1891
 
1862
- .inset-shadow-\[0_1px_--theme\(--color-black\/4\%\)\] {
1863
- --tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, #0000000a);
1892
+ .ring-1 {
1893
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1894
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1895
+ }
1896
+
1897
+ .inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
1898
+ --tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, #00000014);
1864
1899
  }
1865
1900
 
1866
1901
  @supports (color: color-mix(in lab, red, red)) {
1867
- .inset-shadow-\[0_1px_--theme\(--color-black\/4\%\)\] {
1868
- --tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black) 4%, transparent));
1902
+ .inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
1903
+ --tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black) 8%, transparent));
1869
1904
  }
1870
1905
  }
1871
1906
 
1872
- .inset-shadow-\[0_1px_--theme\(--color-black\/4\%\)\] {
1907
+ .inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
1873
1908
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1874
1909
  }
1875
1910
 
@@ -1913,6 +1948,16 @@
1913
1948
  }
1914
1949
  }
1915
1950
 
1951
+ .ring-ring\/50 {
1952
+ --tw-ring-color: var(--ring);
1953
+ }
1954
+
1955
+ @supports (color: color-mix(in lab, red, red)) {
1956
+ .ring-ring\/50 {
1957
+ --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
1958
+ }
1959
+ }
1960
+
1916
1961
  .outline {
1917
1962
  outline-style: var(--tw-outline-style);
1918
1963
  outline-width: 1px;
@@ -2015,6 +2060,11 @@
2015
2060
  transition-delay: .3s;
2016
2061
  }
2017
2062
 
2063
+ .duration-100 {
2064
+ --tw-duration: .1s;
2065
+ transition-duration: .1s;
2066
+ }
2067
+
2018
2068
  .duration-200 {
2019
2069
  --tw-duration: .2s;
2020
2070
  transition-duration: .2s;
@@ -2229,8 +2279,8 @@
2229
2279
  border-bottom-width: 0;
2230
2280
  }
2231
2281
 
2232
- .group-active\/switch\:w-4\.5:is(:where(.group\/switch):active *) {
2233
- width: calc(var(--spacing) * 4.5);
2282
+ .group-active\/switch\:w-6:is(:where(.group\/switch):active *) {
2283
+ width: calc(var(--spacing) * 6);
2234
2284
  }
2235
2285
 
2236
2286
  .file\:me-3::file-selector-button {
@@ -2255,13 +2305,13 @@
2255
2305
  color: var(--foreground);
2256
2306
  }
2257
2307
 
2258
- .placeholder\:text-muted-foreground\/64::placeholder {
2308
+ .placeholder\:text-muted-foreground\/80::placeholder {
2259
2309
  color: var(--muted-foreground);
2260
2310
  }
2261
2311
 
2262
2312
  @supports (color: color-mix(in lab, red, red)) {
2263
- .placeholder\:text-muted-foreground\/64::placeholder {
2264
- color: color-mix(in oklab, var(--muted-foreground) 64%, transparent);
2313
+ .placeholder\:text-muted-foreground\/80::placeholder {
2314
+ color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
2265
2315
  }
2266
2316
  }
2267
2317
 
@@ -2521,6 +2571,21 @@
2521
2571
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2522
2572
  }
2523
2573
 
2574
+ .not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
2575
+ content: var(--tw-content);
2576
+ --tw-shadow: 0 1px var(--tw-shadow-color, #0000000f);
2577
+ }
2578
+
2579
+ @supports (color: color-mix(in lab, red, red)) {
2580
+ .not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
2581
+ --tw-shadow: 0 1px var(--tw-shadow-color, color-mix(in oklab, var(--color-black) 6%, transparent));
2582
+ }
2583
+ }
2584
+
2585
+ .not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
2586
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2587
+ }
2588
+
2524
2589
  .not-data-disabled\:not-focus-within\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/4\%\)\]:not([data-disabled]):not(:focus-within):not([aria-invalid="true"]):before {
2525
2590
  content: var(--tw-content);
2526
2591
  --tw-shadow: 0 1px var(--tw-shadow-color, #0000000a);
@@ -2640,7 +2705,7 @@
2640
2705
  }
2641
2706
 
2642
2707
  @media (hover: hover) {
2643
- .hover\:bg-accent:hover, .hover\:bg-accent\/50:hover {
2708
+ .hover\:bg-accent\/50:hover {
2644
2709
  background-color: var(--accent);
2645
2710
  }
2646
2711
 
@@ -2660,6 +2725,16 @@
2660
2725
  }
2661
2726
  }
2662
2727
 
2728
+ .hover\:bg-highlight:hover, .hover\:bg-highlight\/50:hover {
2729
+ background-color: var(--highlight);
2730
+ }
2731
+
2732
+ @supports (color: color-mix(in lab, red, red)) {
2733
+ .hover\:bg-highlight\/50:hover {
2734
+ background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
2735
+ }
2736
+ }
2737
+
2663
2738
  .hover\:bg-muted:hover {
2664
2739
  background-color: var(--muted);
2665
2740
  }
@@ -2952,6 +3027,16 @@
2952
3027
  }
2953
3028
  }
2954
3029
 
3030
+ .has-data-checked\:border-ring\/48:has([data-checked]) {
3031
+ border-color: var(--ring);
3032
+ }
3033
+
3034
+ @supports (color: color-mix(in lab, red, red)) {
3035
+ .has-data-checked\:border-ring\/48:has([data-checked]) {
3036
+ border-color: color-mix(in oklab, var(--ring) 48%, transparent);
3037
+ }
3038
+ }
3039
+
2955
3040
  .has-data-checked\:bg-accent\/50:has([data-checked]) {
2956
3041
  background-color: var(--accent);
2957
3042
  }
@@ -2962,6 +3047,16 @@
2962
3047
  }
2963
3048
  }
2964
3049
 
3050
+ .has-data-checked\:bg-highlight\/50:has([data-checked]) {
3051
+ background-color: var(--highlight);
3052
+ }
3053
+
3054
+ @supports (color: color-mix(in lab, red, red)) {
3055
+ .has-data-checked\:bg-highlight\/50:has([data-checked]) {
3056
+ background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
3057
+ }
3058
+ }
3059
+
2965
3060
  .has-data-starting-style\:scale-98:has([data-starting-style]) {
2966
3061
  --tw-scale-x: 98%;
2967
3062
  --tw-scale-y: 98%;
@@ -3175,6 +3270,10 @@
3175
3270
  }
3176
3271
  }
3177
3272
 
3273
+ .data-active\:text-foreground[data-active] {
3274
+ color: var(--foreground);
3275
+ }
3276
+
3178
3277
  .data-behind\:pointer-events-none[data-behind] {
3179
3278
  pointer-events: none;
3180
3279
  }
@@ -3188,8 +3287,16 @@
3188
3287
  translate: var(--tw-translate-x) var(--tw-translate-y);
3189
3288
  }
3190
3289
 
3191
- .data-checked\:bg-primary[data-checked] {
3192
- background-color: var(--primary);
3290
+ .data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.05_h\)\][data-checked] {
3291
+ background-color: oklch(from var(--accent) l .05 h);
3292
+ }
3293
+
3294
+ .data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.07_h\)\][data-checked] {
3295
+ background-color: oklch(from var(--accent) l .07 h);
3296
+ }
3297
+
3298
+ .data-checked\:bg-accent[data-checked] {
3299
+ background-color: var(--accent);
3193
3300
  }
3194
3301
 
3195
3302
  .data-checked\:group-active\/switch\:translate-x-2\.5[data-checked]:is(:where(.group\/switch):active *) {
@@ -3271,14 +3378,18 @@
3271
3378
  opacity: 1;
3272
3379
  }
3273
3380
 
3274
- .data-highlighted\:bg-accent[data-highlighted] {
3275
- background-color: var(--accent);
3381
+ .data-highlighted\:bg-highlight[data-highlighted] {
3382
+ background-color: var(--highlight);
3276
3383
  }
3277
3384
 
3278
3385
  .data-highlighted\:text-accent-foreground[data-highlighted] {
3279
3386
  color: var(--accent-foreground);
3280
3387
  }
3281
3388
 
3389
+ .data-highlighted\:text-highlight-foreground[data-highlighted] {
3390
+ color: var(--highlight-foreground);
3391
+ }
3392
+
3282
3393
  .data-hovering\:opacity-100[data-hovering] {
3283
3394
  opacity: 1;
3284
3395
  }
@@ -3318,8 +3429,8 @@
3318
3429
  opacity: 0;
3319
3430
  }
3320
3431
 
3321
- .data-pressed\:bg-accent[data-pressed] {
3322
- background-color: var(--accent);
3432
+ .data-pressed\:bg-highlight[data-pressed] {
3433
+ background-color: var(--highlight);
3323
3434
  }
3324
3435
 
3325
3436
  .data-pressed\:bg-secondary\/90[data-pressed] {
@@ -3358,10 +3469,6 @@
3358
3469
  animation-delay: 0s;
3359
3470
  }
3360
3471
 
3361
- .data-selected\:text-foreground[data-selected] {
3362
- color: var(--foreground);
3363
- }
3364
-
3365
3472
  .data-starting-style\:h-0[data-starting-style] {
3366
3473
  height: calc(var(--spacing) * 0);
3367
3474
  }
@@ -3401,8 +3508,8 @@
3401
3508
  display: none;
3402
3509
  }
3403
3510
 
3404
- .data-unchecked\:translate-x-0[data-unchecked] {
3405
- --tw-translate-x: calc(var(--spacing) * 0);
3511
+ .data-unchecked\:translate-x-\[-4px\][data-unchecked] {
3512
+ --tw-translate-x: -4px;
3406
3513
  translate: var(--tw-translate-x) var(--tw-translate-y);
3407
3514
  }
3408
3515
 
@@ -3410,10 +3517,6 @@
3410
3517
  background-color: var(--input);
3411
3518
  }
3412
3519
 
3413
- .data-\[disabled\]\:pointer-events-none[data-disabled] {
3414
- pointer-events: none;
3415
- }
3416
-
3417
3520
  .data-\[orientation\=horizontal\]\:my-0\.5[data-orientation="horizontal"] {
3418
3521
  margin-block: calc(var(--spacing) * .5);
3419
3522
  }
@@ -3672,8 +3775,8 @@
3672
3775
  }
3673
3776
 
3674
3777
  @media (hover: hover) {
3675
- :is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-accent > *)[data-slot="tabs-trigger"]:hover {
3676
- background-color: var(--accent);
3778
+ :is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-highlight > *)[data-slot="tabs-trigger"]:hover {
3779
+ background-color: var(--highlight);
3677
3780
  }
3678
3781
  }
3679
3782
 
@@ -3944,10 +4047,6 @@
3944
4047
  border-color: var(--background);
3945
4048
  }
3946
4049
 
3947
- .dark\:bg-accent:is(.dark *) {
3948
- background-color: var(--accent);
3949
- }
3950
-
3951
4050
  .dark\:bg-destructive\/16:is(.dark *) {
3952
4051
  background-color: var(--destructive);
3953
4052
  }
@@ -3958,6 +4057,10 @@
3958
4057
  }
3959
4058
  }
3960
4059
 
4060
+ .dark\:bg-highlight:is(.dark *) {
4061
+ background-color: var(--highlight);
4062
+ }
4063
+
3961
4064
  .dark\:bg-info\/16:is(.dark *) {
3962
4065
  background-color: var(--info);
3963
4066
  }
@@ -4207,8 +4310,8 @@
4207
4310
  }
4208
4311
 
4209
4312
  @media (hover: hover) {
4210
- .dark\:hover\:bg-accent:is(.dark *):hover {
4211
- background-color: var(--accent);
4313
+ .dark\:hover\:bg-highlight:is(.dark *):hover {
4314
+ background-color: var(--highlight);
4212
4315
  }
4213
4316
 
4214
4317
  .dark\:hover\:bg-input\/64:is(.dark *):hover {
@@ -4438,23 +4541,23 @@
4438
4541
  }
4439
4542
  }
4440
4543
 
4441
- .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-accent\/50:is(:hover, [data-pressed]) {
4442
- background-color: var(--accent);
4544
+ .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
4545
+ background-color: var(--destructive);
4443
4546
  }
4444
4547
 
4445
4548
  @supports (color: color-mix(in lab, red, red)) {
4446
- .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-accent\/50:is(:hover, [data-pressed]) {
4447
- background-color: color-mix(in oklab, var(--accent) 50%, transparent);
4549
+ .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
4550
+ background-color: color-mix(in oklab, var(--destructive) 4%, transparent);
4448
4551
  }
4449
4552
  }
4450
4553
 
4451
- .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
4452
- background-color: var(--destructive);
4554
+ .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
4555
+ background-color: var(--highlight);
4453
4556
  }
4454
4557
 
4455
4558
  @supports (color: color-mix(in lab, red, red)) {
4456
- .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
4457
- background-color: color-mix(in oklab, var(--destructive) 4%, transparent);
4559
+ .\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
4560
+ background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
4458
4561
  }
4459
4562
  }
4460
4563
 
@@ -4711,23 +4814,23 @@
4711
4814
  }
4712
4815
 
4713
4816
  @media (hover: hover) {
4714
- :is(.\[button\,a\&\]\:hover\:bg-accent\/50 button, a.\[button\,a\&\]\:hover\:bg-accent\/50):hover {
4715
- background-color: var(--accent);
4817
+ :is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
4818
+ background-color: var(--destructive);
4716
4819
  }
4717
4820
 
4718
4821
  @supports (color: color-mix(in lab, red, red)) {
4719
- :is(.\[button\,a\&\]\:hover\:bg-accent\/50 button, a.\[button\,a\&\]\:hover\:bg-accent\/50):hover {
4720
- background-color: color-mix(in oklab, var(--accent) 50%, transparent);
4822
+ :is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
4823
+ background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
4721
4824
  }
4722
4825
  }
4723
4826
 
4724
- :is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
4725
- background-color: var(--destructive);
4827
+ :is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
4828
+ background-color: var(--highlight);
4726
4829
  }
4727
4830
 
4728
4831
  @supports (color: color-mix(in lab, red, red)) {
4729
- :is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
4730
- background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
4832
+ :is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
4833
+ background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
4731
4834
  }
4732
4835
  }
4733
4836
 
@@ -4902,20 +5005,20 @@
4902
5005
  }
4903
5006
 
4904
5007
  :root {
5008
+ --accent: oklch(44% .12 146.31);
5009
+ --accent-foreground: oklch(20.5% 0 0);
4905
5010
  --background: oklch(100% 0 0);
4906
- --foreground: oklch(14.5% 0 0);
5011
+ --foreground: oklch(from var(--accent) .25 c h);
4907
5012
  --card: oklch(100% 0 0);
4908
5013
  --card-foreground: oklch(14.5% 0 0);
4909
5014
  --popover: oklch(100% 0 0);
4910
5015
  --popover-foreground: oklch(14.5% 0 0);
4911
- --primary: oklch(20.5% 0 0);
5016
+ --primary: oklch(from var(--accent) .1 c h);
4912
5017
  --primary-foreground: oklch(98.5% 0 0);
4913
5018
  --secondary: oklch(97% 0 0);
4914
5019
  --secondary-foreground: oklch(20.5% 0 0);
4915
5020
  --muted: oklch(97% 0 0);
4916
- --muted-foreground: oklch(55.6% 0 0);
4917
- --accent: oklch(97% 0 0);
4918
- --accent-foreground: oklch(20.5% 0 0);
5021
+ --muted-foreground: oklch(from var(--accent) .65 .015 h);
4919
5022
  --destructive: oklch(57.7% .245 27.325);
4920
5023
  --destructive-foreground: oklch(57.7% .245 27.325);
4921
5024
  --border: oklch(92.2% 0 0);
@@ -4936,6 +5039,8 @@
4936
5039
  --sidebar-border: oklch(92.2% 0 0);
4937
5040
  --sidebar-ring: oklch(70.8% 0 0);
4938
5041
  --spacing-touch: calc(var(--spacing) * 4);
5042
+ --highlight: oklch(97% 0 0);
5043
+ --highlight-foreground: oklch(20.5% 0 0);
4939
5044
  --info: var(--color-blue-500);
4940
5045
  --info-foreground: var(--color-blue-700);
4941
5046
  --success: var(--color-emerald-500);
@@ -4977,6 +5082,8 @@
4977
5082
  --sidebar-accent-foreground: oklch(98.5% 0 0);
4978
5083
  --sidebar-border: oklch(26.9% 0 0);
4979
5084
  --sidebar-ring: oklch(43.9% 0 0);
5085
+ --highlight: oklch(97% 0 0);
5086
+ --highlight-foreground: oklch(20.5% 0 0);
4980
5087
  --info: var(--color-blue-500);
4981
5088
  --info-foreground: var(--color-blue-400);
4982
5089
  --success: var(--color-emerald-500);
package/dist/input.js CHANGED
@@ -7,7 +7,7 @@ function input_Input({ className, size = "default", unstyled = false, ...props }
7
7
  "data-size": size,
8
8
  "data-slot": "input-control",
9
9
  children: /*#__PURE__*/ jsx(Input, {
10
- className: cn("w-full min-w-0 rounded-[inherit] px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] outline-none placeholder:text-muted-foreground/64", "sm" === size && "px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)]", "lg" === size && "py-[calc(--spacing(2)-1px)]", "touch" === size && "py-[calc(--spacing(4)-1px)] px-[calc(--spacing(4)-1px)]", "search" === props.type && "[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none", "file" === props.type && "text-muted-foreground file:me-3 file:bg-transparent file:font-medium file:text-foreground file:text-sm"),
10
+ className: cn("w-full min-w-0 rounded-[inherit] px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] outline-none placeholder:text-muted-foreground/80", "sm" === size && "px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)]", "lg" === size && "py-[calc(--spacing(2)-1px)]", "touch" === size && "py-[calc(--spacing(4)-1px)] px-[calc(--spacing(4)-1px)]", "search" === props.type && "[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none", "file" === props.type && "text-muted-foreground file:me-3 file:bg-transparent file:font-medium file:text-foreground file:text-sm"),
11
11
  "data-slot": "input",
12
12
  size: "number" == typeof size ? size : void 0,
13
13
  ...props
package/dist/menu.js CHANGED
@@ -38,7 +38,7 @@ function MenuGroup(props) {
38
38
  }
39
39
  function MenuItem({ className, inset, variant = "default", size = "default", ...props }) {
40
40
  return /*#__PURE__*/ jsx(Menu.Item, {
41
- className: cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
41
+ className: cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
42
42
  "data-inset": inset,
43
43
  "data-slot": "menu-item",
44
44
  "data-variant": variant,
@@ -49,7 +49,7 @@ function MenuItem({ className, inset, variant = "default", size = "default", ...
49
49
  function MenuCheckboxItem({ className, children, checked, size = "default", ...props }) {
50
50
  return /*#__PURE__*/ jsxs(Menu.CheckboxItem, {
51
51
  checked: checked,
52
- className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
52
+ className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
53
53
  "data-slot": "menu-checkbox-item",
54
54
  "data-size": size,
55
55
  ...props,
@@ -73,7 +73,7 @@ function MenuRadioGroup(props) {
73
73
  }
74
74
  function MenuRadioItem({ className, children, size = "default", ...props }) {
75
75
  return /*#__PURE__*/ jsxs(Menu.RadioItem, {
76
- className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
76
+ className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
77
77
  "data-slot": "menu-radio-item",
78
78
  "data-size": size,
79
79
  ...props,
@@ -119,7 +119,7 @@ function MenuSub(props) {
119
119
  }
120
120
  function MenuSubTrigger({ className, inset, children, size = "default", ...props }) {
121
121
  return /*#__PURE__*/ jsxs(Menu.SubmenuTrigger, {
122
- className: cn("flex items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-inset:ps-8 data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none data-[size=touch]:py-(--spacing-touch)", className),
122
+ className: cn("flex items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-inset:ps-8 data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none data-[size=touch]:py-(--spacing-touch)", className),
123
123
  "data-inset": inset,
124
124
  "data-slot": "menu-sub-trigger",
125
125
  "data-size": size,
@@ -30,7 +30,7 @@ function NumberFieldGroup({ className, ...props }) {
30
30
  }
31
31
  function NumberFieldDecrement({ className, ...props }) {
32
32
  return /*#__PURE__*/ jsx(NumberField.Decrement, {
33
- className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-s-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent", className),
33
+ className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-s-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight", className),
34
34
  "data-slot": "number-field-decrement",
35
35
  ...props,
36
36
  children: /*#__PURE__*/ jsx(MinusIcon, {})
@@ -38,7 +38,7 @@ function NumberFieldDecrement({ className, ...props }) {
38
38
  }
39
39
  function NumberFieldIncrement({ className, ...props }) {
40
40
  return /*#__PURE__*/ jsx(NumberField.Increment, {
41
- className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-e-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent", className),
41
+ className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-e-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight", className),
42
42
  "data-slot": "number-field-increment",
43
43
  ...props,
44
44
  children: /*#__PURE__*/ jsx(PlusIcon, {})
@@ -15,7 +15,7 @@ function radio_group_Radio({ className, ...props }) {
15
15
  "data-slot": "radio",
16
16
  ...props,
17
17
  children: /*#__PURE__*/ jsx(Radio.Indicator, {
18
- className: "-inset-px absolute flex size-4 items-center justify-center rounded-full before:size-1.5 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-primary",
18
+ className: "-inset-px absolute flex size-4 items-center justify-center rounded-full before:size-1.5 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-[oklch(from_var(--accent)_l_0.05_h)]",
19
19
  "data-slot": "radio-indicator"
20
20
  })
21
21
  });
package/dist/select.js CHANGED
@@ -67,7 +67,7 @@ function SelectPopup({ className, children, sideOffset = 4, alignItemWithTrigger
67
67
  }
68
68
  function SelectItem({ className, children, ...props }) {
69
69
  return /*#__PURE__*/ jsxs(Select.Item, {
70
- className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
70
+ className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
71
71
  "data-slot": "select-item",
72
72
  ...props,
73
73
  children: [
package/dist/slider.js CHANGED
@@ -29,7 +29,7 @@ function slider_Slider({ className, children, defaultValue, value, min = 0, max
29
29
  children: [
30
30
  children,
31
31
  /*#__PURE__*/ jsx(Slider.Control, {
32
- className: cn("flex touch-none select-none data-[disabled]:pointer-events-none data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=horizontal]:w-full data-[orientation=horizontal]:min-w-44 data-[orientation=vertical]:flex-col data-disabled:opacity-64", className),
32
+ className: cn("flex touch-none select-none data-disabled:pointer-events-none data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=horizontal]:w-full data-[orientation=horizontal]:min-w-44 data-[orientation=vertical]:flex-col data-disabled:opacity-64", className),
33
33
  "data-slot": "slider-control",
34
34
  children: /*#__PURE__*/ jsxs(Slider.Track, {
35
35
  className: "relative grow select-none before:absolute before:rounded-full before:bg-input data-[orientation=horizontal]:h-1 data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-1 data-[orientation=horizontal]:before:inset-x-0.5 data-[orientation=vertical]:before:inset-x-0 data-[orientation=horizontal]:before:inset-y-0 data-[orientation=vertical]:before:inset-y-0.5",
package/dist/styles.css CHANGED
@@ -4,20 +4,20 @@
4
4
  @custom-variant dark (&:is(.dark *));
5
5
 
6
6
  :root {
7
+ --accent: oklch(0.44 0.12 146.31);
8
+ --accent-foreground: oklch(0.205 0 0);
7
9
  --background: oklch(1 0 0);
8
- --foreground: oklch(0.145 0 0);
10
+ --foreground: oklch(from var(--accent) 0.25 c h);
9
11
  --card: oklch(1 0 0);
10
12
  --card-foreground: oklch(0.145 0 0);
11
13
  --popover: oklch(1 0 0);
12
14
  --popover-foreground: oklch(0.145 0 0);
13
- --primary: oklch(0.205 0 0);
15
+ --primary: oklch(from var(--accent) 0.1 c h);
14
16
  --primary-foreground: oklch(0.985 0 0);
15
17
  --secondary: oklch(0.97 0 0);
16
18
  --secondary-foreground: oklch(0.205 0 0);
17
19
  --muted: oklch(0.97 0 0);
18
- --muted-foreground: oklch(0.556 0 0);
19
- --accent: oklch(0.97 0 0);
20
- --accent-foreground: oklch(0.205 0 0);
20
+ --muted-foreground: oklch(from var(--accent) 0.65 0.015 h);
21
21
  --destructive: oklch(0.577 0.245 27.325);
22
22
  --destructive-foreground: oklch(0.577 0.245 27.325);
23
23
  --border: oklch(0.922 0 0);
@@ -38,6 +38,8 @@
38
38
  --sidebar-border: oklch(0.922 0 0);
39
39
  --sidebar-ring: oklch(0.708 0 0);
40
40
  --spacing-touch: calc(var(--spacing) * 4);
41
+ --highlight: oklch(0.97 0 0);
42
+ --highlight-foreground: oklch(0.205 0 0);
41
43
 
42
44
  --info: var(--color-blue-500);
43
45
  --info-foreground: var(--color-blue-700);
@@ -80,6 +82,8 @@
80
82
  --sidebar-accent-foreground: oklch(0.985 0 0);
81
83
  --sidebar-border: oklch(0.269 0 0);
82
84
  --sidebar-ring: oklch(0.439 0 0);
85
+ --highlight: oklch(0.97 0 0);
86
+ --highlight-foreground: oklch(0.205 0 0);
83
87
 
84
88
  --info: var(--color-blue-500);
85
89
  --info-foreground: var(--color-blue-400);
@@ -126,6 +130,8 @@
126
130
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
127
131
  --color-sidebar-border: var(--sidebar-border);
128
132
  --color-sidebar-ring: var(--sidebar-ring);
133
+ --color-highlight: var(--highlight);
134
+ --color-highlight-foreground: var(--highlight-foreground);
129
135
 
130
136
  --color-info: var(--info);
131
137
  --color-info-foreground: var(--info-foreground);
package/dist/switch.js CHANGED
@@ -3,11 +3,11 @@ import { Switch } from "@base-ui-components/react/switch";
3
3
  import { cn } from "./lib/utils.js";
4
4
  function switch_Switch({ className, ...props }) {
5
5
  return /*#__PURE__*/ jsx(Switch.Root, {
6
- className: cn("group/switch inset-shadow-[0_1px_--theme(--color-black/4%)] inline-flex h-4.5 w-7.5 shrink-0 items-center rounded-full p-px outline-none transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 data-checked:bg-primary data-unchecked:bg-input", className),
6
+ className: cn("group/switch inset-shadow-[0_1px_--theme(--color-black/8%)] inline-flex h-4.5 w-7.5 shrink-0 items-center rounded-sm p-px outline-none transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 data-checked:bg-accent data-unchecked:bg-input", className),
7
7
  "data-slot": "switch",
8
8
  ...props,
9
9
  children: /*#__PURE__*/ jsx(Switch.Thumb, {
10
- className: cn("pointer-events-none block size-4 rounded-full bg-background shadow-sm transition-[translate,width] group-active/switch:w-4.5 data-checked:translate-x-3 data-unchecked:translate-x-0 data-checked:group-active/switch:translate-x-2.5"),
10
+ className: cn("pointer-events-none block size-5.5 rounded-sm bg-background ring-1 ring-ring/50 shadow-md transition-[translate,width] group-active/switch:w-6 data-checked:translate-x-3 data-unchecked:translate-x-[-4px] data-checked:group-active/switch:translate-x-2.5"),
11
11
  "data-slot": "switch-thumb"
12
12
  })
13
13
  });
package/dist/tabs.js CHANGED
@@ -10,13 +10,13 @@ function tabs_Tabs({ className, ...props }) {
10
10
  }
11
11
  function TabsList({ variant = "default", className, children, ...props }) {
12
12
  return /*#__PURE__*/ jsxs(Tabs.List, {
13
- className: cn("relative z-0 flex w-fit items-center justify-center gap-x-0.5 text-muted-foreground", "data-[orientation=vertical]:flex-col", "default" === variant ? "rounded-lg bg-muted p-0.5 text-muted-foreground/64" : "data-[orientation=vertical]:px-1 data-[orientation=horizontal]:py-1 *:data-[slot=tabs-trigger]:hover:bg-accent", className),
13
+ className: cn("relative z-0 flex w-fit items-center justify-center gap-x-0.5 text-muted-foreground", "data-[orientation=vertical]:flex-col", "default" === variant ? "rounded-lg bg-muted p-0.5 text-muted-foreground/64" : "data-[orientation=vertical]:px-1 data-[orientation=horizontal]:py-1 *:data-[slot=tabs-trigger]:hover:bg-highlight", className),
14
14
  "data-slot": "tabs-list",
15
15
  ...props,
16
16
  children: [
17
17
  children,
18
18
  /*#__PURE__*/ jsx(Tabs.Indicator, {
19
- className: cn("-translate-y-(--active-tab-bottom) absolute bottom-0 left-0 h-(--active-tab-height) w-(--active-tab-width) translate-x-(--active-tab-left) transition-[width,translate] duration-200 ease-in-out", "underline" === variant ? "data-[orientation=vertical]:-translate-x-px z-10 bg-primary data-[orientation=horizontal]:h-0.5 data-[orientation=vertical]:w-0.5 data-[orientation=horizontal]:translate-y-px" : "-z-1 rounded-md bg-background shadow-sm dark:bg-accent"),
19
+ className: cn("-translate-y-(--active-tab-bottom) absolute bottom-0 left-0 h-(--active-tab-height) w-(--active-tab-width) translate-x-(--active-tab-left) transition-[width,translate] duration-200 ease-in-out", "underline" === variant ? "data-[orientation=vertical]:-translate-x-px z-10 bg-primary data-[orientation=horizontal]:h-0.5 data-[orientation=vertical]:w-0.5 data-[orientation=horizontal]:translate-y-px" : "-z-1 rounded-md bg-background shadow-sm dark:bg-highlight"),
20
20
  "data-slot": "tab-indicator"
21
21
  })
22
22
  ]
@@ -24,7 +24,7 @@ function TabsList({ variant = "default", className, children, ...props }) {
24
24
  }
25
25
  function TabsTab({ className, ...props }) {
26
26
  return /*#__PURE__*/ jsx(Tabs.Tab, {
27
- className: cn("flex flex-1 shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-transparent font-medium text-sm outline-none transition-[color,background-color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring data-disabled:pointer-events-none data-disabled:opacity-64 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "hover:text-muted-foreground data-selected:text-foreground", "gap-1.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1.5)-1px)]", "data-[orientation=vertical]:w-full data-[orientation=vertical]:justify-start", className),
27
+ className: cn("flex flex-1 shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-transparent font-medium text-sm outline-none transition-[color,background-color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring data-disabled:pointer-events-none data-disabled:opacity-64 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "hover:text-muted-foreground data-active:text-foreground", "gap-1.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1.5)-1px)]", "data-[orientation=vertical]:w-full data-[orientation=vertical]:justify-start", className),
28
28
  "data-slot": "tabs-trigger",
29
29
  ...props
30
30
  });
package/dist/toggle.js CHANGED
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { Toggle } from "@base-ui-components/react/toggle";
3
3
  import { cva } from "class-variance-authority";
4
4
  import { cn } from "./lib/utils.js";
5
- const toggleVariants = cva("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-accent data-pressed:text-accent-foreground data-pressed:transition-none dark:data-pressed:bg-input/80 dark:hover:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
5
+ const toggleVariants = cva("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-highlight data-pressed:text-accent-foreground data-pressed:transition-none dark:data-pressed:bg-input/80 dark:hover:bg-highlight [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
6
6
  defaultVariants: {
7
7
  size: "default",
8
8
  variant: "default"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biotechusa/pdo-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {