sherick-ui 2.7.0 → 2.8.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.
Files changed (111) hide show
  1. package/dist/cjs/components/Accordion.cjs +3 -2
  2. package/dist/cjs/components/Accordion.cjs.map +1 -1
  3. package/dist/cjs/components/Alert.cjs +10 -9
  4. package/dist/cjs/components/Alert.cjs.map +1 -1
  5. package/dist/cjs/components/Breadcrumb.cjs +3 -2
  6. package/dist/cjs/components/Breadcrumb.cjs.map +1 -1
  7. package/dist/cjs/components/Calendar.cjs +3 -2
  8. package/dist/cjs/components/Calendar.cjs.map +1 -1
  9. package/dist/cjs/components/Checkbox.cjs +3 -2
  10. package/dist/cjs/components/Checkbox.cjs.map +1 -1
  11. package/dist/cjs/components/CheckboxGroup.cjs +3 -2
  12. package/dist/cjs/components/CheckboxGroup.cjs.map +1 -1
  13. package/dist/cjs/components/Chip.cjs +3 -2
  14. package/dist/cjs/components/Chip.cjs.map +1 -1
  15. package/dist/cjs/components/Collapsible.cjs +3 -2
  16. package/dist/cjs/components/Collapsible.cjs.map +1 -1
  17. package/dist/cjs/components/Combobox.cjs +5 -4
  18. package/dist/cjs/components/Combobox.cjs.map +1 -1
  19. package/dist/cjs/components/Command.cjs +3 -2
  20. package/dist/cjs/components/Command.cjs.map +1 -1
  21. package/dist/cjs/components/DateTimePicker.cjs +3 -2
  22. package/dist/cjs/components/DateTimePicker.cjs.map +1 -1
  23. package/dist/cjs/components/DialogSurface.cjs +3 -2
  24. package/dist/cjs/components/DialogSurface.cjs.map +1 -1
  25. package/dist/cjs/components/FileUpload.cjs +6 -5
  26. package/dist/cjs/components/FileUpload.cjs.map +1 -1
  27. package/dist/cjs/components/Input.cjs +1 -1
  28. package/dist/cjs/components/Input.cjs.map +1 -1
  29. package/dist/cjs/components/NumberField.cjs +4 -3
  30. package/dist/cjs/components/NumberField.cjs.map +1 -1
  31. package/dist/cjs/components/Pagination.cjs +3 -2
  32. package/dist/cjs/components/Pagination.cjs.map +1 -1
  33. package/dist/cjs/components/Search.cjs +3 -2
  34. package/dist/cjs/components/Search.cjs.map +1 -1
  35. package/dist/cjs/components/Select.cjs +4 -3
  36. package/dist/cjs/components/Select.cjs.map +1 -1
  37. package/dist/cjs/components/Spinner.cjs +3 -2
  38. package/dist/cjs/components/Spinner.cjs.map +1 -1
  39. package/dist/cjs/components/Stepper.cjs +3 -2
  40. package/dist/cjs/components/Stepper.cjs.map +1 -1
  41. package/dist/cjs/components/Textarea.cjs +1 -1
  42. package/dist/cjs/components/Textarea.cjs.map +1 -1
  43. package/dist/cjs/components/Toast.cjs +8 -7
  44. package/dist/cjs/components/Toast.cjs.map +1 -1
  45. package/dist/cjs/components/TreeView.cjs +3 -2
  46. package/dist/cjs/components/TreeView.cjs.map +1 -1
  47. package/dist/cjs/components/choice-row.cjs +1 -1
  48. package/dist/cjs/components/choice-row.cjs.map +1 -1
  49. package/dist/cjs/components/date-field.cjs +3 -2
  50. package/dist/cjs/components/date-field.cjs.map +1 -1
  51. package/dist/cjs/components/ui.common.cjs +57 -47
  52. package/dist/cjs/components/ui.common.cjs.map +1 -1
  53. package/dist/esm/components/Accordion.js +3 -2
  54. package/dist/esm/components/Accordion.js.map +1 -1
  55. package/dist/esm/components/Alert.js +10 -9
  56. package/dist/esm/components/Alert.js.map +1 -1
  57. package/dist/esm/components/Breadcrumb.js +3 -2
  58. package/dist/esm/components/Breadcrumb.js.map +1 -1
  59. package/dist/esm/components/Calendar.js +3 -2
  60. package/dist/esm/components/Calendar.js.map +1 -1
  61. package/dist/esm/components/Checkbox.js +3 -2
  62. package/dist/esm/components/Checkbox.js.map +1 -1
  63. package/dist/esm/components/CheckboxGroup.js +3 -2
  64. package/dist/esm/components/CheckboxGroup.js.map +1 -1
  65. package/dist/esm/components/Chip.js +3 -2
  66. package/dist/esm/components/Chip.js.map +1 -1
  67. package/dist/esm/components/CodeBlock.js +3 -2
  68. package/dist/esm/components/CodeBlock.js.map +1 -1
  69. package/dist/esm/components/Collapsible.js +3 -2
  70. package/dist/esm/components/Collapsible.js.map +1 -1
  71. package/dist/esm/components/Combobox.js +5 -4
  72. package/dist/esm/components/Combobox.js.map +1 -1
  73. package/dist/esm/components/Command.js +3 -2
  74. package/dist/esm/components/Command.js.map +1 -1
  75. package/dist/esm/components/DateTimePicker.js +3 -2
  76. package/dist/esm/components/DateTimePicker.js.map +1 -1
  77. package/dist/esm/components/DialogSurface.js +3 -2
  78. package/dist/esm/components/DialogSurface.js.map +1 -1
  79. package/dist/esm/components/FileUpload.js +6 -5
  80. package/dist/esm/components/FileUpload.js.map +1 -1
  81. package/dist/esm/components/Input.js +1 -1
  82. package/dist/esm/components/Input.js.map +1 -1
  83. package/dist/esm/components/NumberField.js +4 -3
  84. package/dist/esm/components/NumberField.js.map +1 -1
  85. package/dist/esm/components/Pagination.js +3 -2
  86. package/dist/esm/components/Pagination.js.map +1 -1
  87. package/dist/esm/components/Search.js +3 -2
  88. package/dist/esm/components/Search.js.map +1 -1
  89. package/dist/esm/components/Select.js +4 -3
  90. package/dist/esm/components/Select.js.map +1 -1
  91. package/dist/esm/components/Spinner.js +3 -2
  92. package/dist/esm/components/Spinner.js.map +1 -1
  93. package/dist/esm/components/Stepper.js +3 -2
  94. package/dist/esm/components/Stepper.js.map +1 -1
  95. package/dist/esm/components/Textarea.js +1 -1
  96. package/dist/esm/components/Textarea.js.map +1 -1
  97. package/dist/esm/components/Toast.js +8 -7
  98. package/dist/esm/components/Toast.js.map +1 -1
  99. package/dist/esm/components/TreeView.js +3 -2
  100. package/dist/esm/components/TreeView.js.map +1 -1
  101. package/dist/esm/components/choice-row.js +1 -1
  102. package/dist/esm/components/choice-row.js.map +1 -1
  103. package/dist/esm/components/date-field.js +3 -2
  104. package/dist/esm/components/date-field.js.map +1 -1
  105. package/dist/esm/components/ui.common.js +57 -47
  106. package/dist/esm/components/ui.common.js.map +1 -1
  107. package/dist/styles.css +38 -58
  108. package/dist/theme.css +3 -0
  109. package/dist/types/dev.d.cts +15 -16
  110. package/dist/types/dev.d.ts +15 -16
  111. package/package.json +3 -2
package/dist/styles.css CHANGED
@@ -6,6 +6,7 @@
6
6
  --sui-canvas: 0.970 0.003 290;
7
7
  --sui-surface: 0.998 0.001 290;
8
8
  --sui-surface-high: 0.934 0.006 290;
9
+ --sui-tray-deep: 0.900 0.008 290;
9
10
  --sui-surface-float: 0.999 0.001 290;
10
11
  --sui-puck: 1 0 0;
11
12
  --sui-media: 0.200 0.008 285;
@@ -75,6 +76,7 @@
75
76
  --sui-canvas: 0.160 0.006 285;
76
77
  --sui-surface: 0.200 0.008 285;
77
78
  --sui-surface-high: 0.252 0.010 285;
79
+ --sui-tray-deep: 0.290 0.011 285;
78
80
  --sui-surface-float: 0.226 0.009 285;
79
81
  --sui-puck: 0.315 0.012 285;
80
82
  --sui-media: 0.160 0.006 285;
@@ -145,6 +147,7 @@
145
147
  --sui-canvas: 0.160 0.006 285;
146
148
  --sui-surface: 0.200 0.008 285;
147
149
  --sui-surface-high: 0.252 0.010 285;
150
+ --sui-tray-deep: 0.290 0.011 285;
148
151
  --sui-surface-float: 0.226 0.009 285;
149
152
  --sui-puck: 0.315 0.012 285;
150
153
  --sui-media: 0.160 0.006 285;
@@ -1117,18 +1120,6 @@
1117
1120
  :where(.sui-scope).border-transparent {
1118
1121
  border-color: transparent
1119
1122
  }
1120
- :where(.sui-scope).border-b-sherick-danger {
1121
- --tw-border-opacity: 1;
1122
- border-bottom-color: oklch(var(--sui-danger) / var(--tw-border-opacity, 1))
1123
- }
1124
- :where(.sui-scope).border-b-sherick-ink-muted {
1125
- --tw-border-opacity: 1;
1126
- border-bottom-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
1127
- }
1128
- :where(.sui-scope).border-b-sherick-rim {
1129
- --tw-border-opacity: 1;
1130
- border-bottom-color: oklch(var(--sui-rim) / var(--tw-border-opacity, 1))
1131
- }
1132
1123
  :where(.sui-scope).border-e-transparent {
1133
1124
  border-inline-end-color: transparent
1134
1125
  }
@@ -1157,9 +1148,6 @@
1157
1148
  --tw-bg-opacity: 1;
1158
1149
  background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
1159
1150
  }
1160
- :where(.sui-scope).bg-sherick-danger-soft\/\[0\.55\] {
1161
- background-color: oklch(var(--sui-danger-soft) / 0.55)
1162
- }
1163
1151
  :where(.sui-scope).bg-sherick-detail {
1164
1152
  --tw-bg-opacity: 1;
1165
1153
  background-color: oklch(var(--sui-detail) / var(--tw-bg-opacity, 1))
@@ -1219,9 +1207,6 @@
1219
1207
  :where(.sui-scope).bg-sherick-surface-high\/\[0\.56\] {
1220
1208
  background-color: oklch(var(--sui-surface-high) / 0.56)
1221
1209
  }
1222
- :where(.sui-scope).bg-sherick-surface-high\/\[0\.6\] {
1223
- background-color: oklch(var(--sui-surface-high) / 0.6)
1224
- }
1225
1210
  :where(.sui-scope).bg-sherick-surface-high\/\[0\.72\] {
1226
1211
  background-color: oklch(var(--sui-surface-high) / 0.72)
1227
1212
  }
@@ -1237,6 +1222,10 @@
1237
1222
  :where(.sui-scope).bg-sherick-surface\/\[0\.78\] {
1238
1223
  background-color: oklch(var(--sui-surface) / 0.78)
1239
1224
  }
1225
+ :where(.sui-scope).bg-sherick-tray-deep {
1226
+ --tw-bg-opacity: 1;
1227
+ background-color: oklch(var(--sui-tray-deep) / var(--tw-bg-opacity, 1))
1228
+ }
1240
1229
  :where(.sui-scope).bg-sherick-warning {
1241
1230
  --tw-bg-opacity: 1;
1242
1231
  background-color: oklch(var(--sui-warning) / var(--tw-bg-opacity, 1))
@@ -2017,6 +2006,10 @@
2017
2006
  --tw-border-opacity: 1;
2018
2007
  border-color: oklch(var(--sui-rim) / var(--tw-border-opacity, 1))
2019
2008
  }
2009
+ :where(.sui-scope).after\:border-transparent::after {
2010
+ content: var(--tw-content);
2011
+ border-color: transparent
2012
+ }
2020
2013
  :where(.sui-scope).after\:bg-sherick-rim::after {
2021
2014
  content: var(--tw-content);
2022
2015
  --tw-bg-opacity: 1;
@@ -2064,18 +2057,16 @@
2064
2057
  :where(.sui-scope).last\:border-b-0:last-child {
2065
2058
  border-bottom-width: 0px
2066
2059
  }
2067
- :where(.sui-scope).hover\:border-b-sherick-ink-muted:hover {
2068
- --tw-border-opacity: 1;
2069
- border-bottom-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
2070
- }
2071
- :where(.sui-scope).hover\:bg-sherick-danger-soft\/\[0\.55\]:hover {
2072
- background-color: oklch(var(--sui-danger-soft) / 0.55)
2060
+ :where(.sui-scope).hover\:bg-sherick-danger-soft:hover {
2061
+ --tw-bg-opacity: 1;
2062
+ background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
2073
2063
  }
2074
2064
  :where(.sui-scope).hover\:bg-sherick-ink\/\[0\.05\]:hover {
2075
2065
  background-color: oklch(var(--sui-ink) / 0.05)
2076
2066
  }
2077
- :where(.sui-scope).hover\:bg-sherick-surface-high\/\[0\.82\]:hover {
2078
- background-color: oklch(var(--sui-surface-high) / 0.82)
2067
+ :where(.sui-scope).hover\:bg-sherick-tray-deep:hover {
2068
+ --tw-bg-opacity: 1;
2069
+ background-color: oklch(var(--sui-tray-deep) / var(--tw-bg-opacity, 1))
2079
2070
  }
2080
2071
  :where(.sui-scope).hover\:text-sherick-ink:hover {
2081
2072
  --tw-text-opacity: 1;
@@ -2089,16 +2080,13 @@
2089
2080
  --tw-bg-opacity: 1;
2090
2081
  background-color: oklch(var(--sui-ink-muted) / var(--tw-bg-opacity, 1))
2091
2082
  }
2092
- :where(.sui-scope).focus\:border-b-sherick-ink-muted:focus {
2093
- --tw-border-opacity: 1;
2094
- border-bottom-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
2095
- }
2096
- :where(.sui-scope).focus\:bg-sherick-danger-soft\/\[0\.55\]:focus {
2097
- background-color: oklch(var(--sui-danger-soft) / 0.55)
2083
+ :where(.sui-scope).focus\:bg-sherick-danger-soft:focus {
2084
+ --tw-bg-opacity: 1;
2085
+ background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
2098
2086
  }
2099
- :where(.sui-scope).focus\:bg-sherick-surface-high:focus {
2087
+ :where(.sui-scope).focus\:bg-sherick-tray-deep:focus {
2100
2088
  --tw-bg-opacity: 1;
2101
- background-color: oklch(var(--sui-surface-high) / var(--tw-bg-opacity, 1))
2089
+ background-color: oklch(var(--sui-tray-deep) / var(--tw-bg-opacity, 1))
2102
2090
  }
2103
2091
  :where(.sui-scope).focus\:outline-none:focus {
2104
2092
  outline: 2px solid transparent;
@@ -2267,6 +2255,11 @@
2267
2255
  :where(.sui-scope).has-\[\:focus-visible\]\:outline-sherick-focus:has(:focus-visible) {
2268
2256
  outline-color: oklch(var(--sui-focus) / 1)
2269
2257
  }
2258
+ :where(.sui-scope).has-\[\[data-checked\]\]\:after\:border-sherick-primary:has([data-checked])::after {
2259
+ content: var(--tw-content);
2260
+ --tw-border-opacity: 1;
2261
+ border-color: oklch(var(--sui-primary) / var(--tw-border-opacity, 1))
2262
+ }
2270
2263
  :where(.sui-scope).group:has([data-checked]) :where(.sui-scope).group-has-\[\[data-checked\]\]\:text-sherick-ink {
2271
2264
  --tw-text-opacity: 1;
2272
2265
  color: oklch(var(--sui-ink) / var(--tw-text-opacity, 1))
@@ -2304,16 +2297,13 @@
2304
2297
  :where(.sui-scope).data-\[orientation\=vertical\]\:items-stretch[data-orientation="vertical"] {
2305
2298
  align-items: stretch
2306
2299
  }
2307
- :where(.sui-scope).data-\[invalid\]\:border-b-sherick-danger[data-invalid] {
2308
- --tw-border-opacity: 1;
2309
- border-bottom-color: oklch(var(--sui-danger) / var(--tw-border-opacity, 1))
2310
- }
2311
2300
  :where(.sui-scope).data-\[dragging\]\:bg-sherick-primary-strong[data-dragging] {
2312
2301
  --tw-bg-opacity: 1;
2313
2302
  background-color: oklch(var(--sui-primary-strong) / var(--tw-bg-opacity, 1))
2314
2303
  }
2315
- :where(.sui-scope).data-\[invalid\]\:bg-sherick-danger-soft\/\[0\.55\][data-invalid] {
2316
- background-color: oklch(var(--sui-danger-soft) / 0.55)
2304
+ :where(.sui-scope).data-\[invalid\]\:bg-sherick-danger-soft[data-invalid] {
2305
+ --tw-bg-opacity: 1;
2306
+ background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
2317
2307
  }
2318
2308
  :where(.sui-scope).data-\[dragging\]\:text-sherick-on-primary[data-dragging] {
2319
2309
  --tw-text-opacity: 1;
@@ -2456,12 +2446,9 @@
2456
2446
  --tw-bg-opacity: 1;
2457
2447
  background-color: oklch(var(--sui-primary) / var(--tw-bg-opacity, 1))
2458
2448
  }
2459
- :where(.sui-scope).data-\[invalid\]\:hover\:border-b-sherick-danger:hover[data-invalid] {
2460
- --tw-border-opacity: 1;
2461
- border-bottom-color: oklch(var(--sui-danger) / var(--tw-border-opacity, 1))
2462
- }
2463
- :where(.sui-scope).data-\[invalid\]\:hover\:bg-sherick-danger-soft\/\[0\.55\]:hover[data-invalid] {
2464
- background-color: oklch(var(--sui-danger-soft) / 0.55)
2449
+ :where(.sui-scope).data-\[invalid\]\:hover\:bg-sherick-danger-soft:hover[data-invalid] {
2450
+ --tw-bg-opacity: 1;
2451
+ background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
2465
2452
  }
2466
2453
  :where(.sui-scope).group[data-checked] :where(.sui-scope).group-data-\[checked\]\:h-6 {
2467
2454
  height: 1.5rem
@@ -2668,20 +2655,13 @@
2668
2655
  outline-style: none
2669
2656
  }
2670
2657
  }
2671
- :where(.sui-scope).\[\&\&\]\:focus-within\:border-b-sherick-ink-muted:focus-within.\[\&\&\]\:focus-within\:border-b-sherick-ink-muted:focus-within {
2672
- --tw-border-opacity: 1;
2673
- border-bottom-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
2674
- }
2675
- :where(.sui-scope).\[\&\&\]\:focus-within\:bg-sherick-surface-high:focus-within.\[\&\&\]\:focus-within\:bg-sherick-surface-high:focus-within {
2658
+ :where(.sui-scope).\[\&\&\]\:focus-within\:bg-sherick-tray-deep:focus-within.\[\&\&\]\:focus-within\:bg-sherick-tray-deep:focus-within {
2676
2659
  --tw-bg-opacity: 1;
2677
- background-color: oklch(var(--sui-surface-high) / var(--tw-bg-opacity, 1))
2678
- }
2679
- :where(.sui-scope).\[\&\&\]\:data-\[invalid\]\:focus-within\:border-b-sherick-danger:focus-within[data-invalid].\[\&\&\]\:data-\[invalid\]\:focus-within\:border-b-sherick-danger:focus-within[data-invalid] {
2680
- --tw-border-opacity: 1;
2681
- border-bottom-color: oklch(var(--sui-danger) / var(--tw-border-opacity, 1))
2660
+ background-color: oklch(var(--sui-tray-deep) / var(--tw-bg-opacity, 1))
2682
2661
  }
2683
- :where(.sui-scope).\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft\/\[0\.55\]:focus-within[data-invalid].\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft\/\[0\.55\]:focus-within[data-invalid] {
2684
- background-color: oklch(var(--sui-danger-soft) / 0.55)
2662
+ :where(.sui-scope).\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft:focus-within[data-invalid].\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger-soft:focus-within[data-invalid] {
2663
+ --tw-bg-opacity: 1;
2664
+ background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
2685
2665
  }
2686
2666
  :where(.sui-scope).\[\&\:has\(\+div\:not\(\[data-open\]\)\:hover\)\]\:opacity-0:has(+div:not([data-open]):hover) {
2687
2667
  opacity: 0
package/dist/theme.css CHANGED
@@ -6,6 +6,7 @@
6
6
  --sui-canvas: 0.970 0.003 290;
7
7
  --sui-surface: 0.998 0.001 290;
8
8
  --sui-surface-high: 0.934 0.006 290;
9
+ --sui-tray-deep: 0.900 0.008 290;
9
10
  --sui-surface-float: 0.999 0.001 290;
10
11
  --sui-puck: 1 0 0;
11
12
  --sui-media: 0.200 0.008 285;
@@ -75,6 +76,7 @@
75
76
  --sui-canvas: 0.160 0.006 285;
76
77
  --sui-surface: 0.200 0.008 285;
77
78
  --sui-surface-high: 0.252 0.010 285;
79
+ --sui-tray-deep: 0.290 0.011 285;
78
80
  --sui-surface-float: 0.226 0.009 285;
79
81
  --sui-puck: 0.315 0.012 285;
80
82
  --sui-media: 0.160 0.006 285;
@@ -145,6 +147,7 @@
145
147
  --sui-canvas: 0.160 0.006 285;
146
148
  --sui-surface: 0.200 0.008 285;
147
149
  --sui-surface-high: 0.252 0.010 285;
150
+ --sui-tray-deep: 0.290 0.011 285;
148
151
  --sui-surface-float: 0.226 0.009 285;
149
152
  --sui-puck: 0.315 0.012 285;
150
153
  --sui-media: 0.160 0.006 285;
@@ -33,8 +33,7 @@ declare const edgeTone: {
33
33
  readonly rule: "border-sherick-edge/[0.075]";
34
34
  };
35
35
  declare const rim: {
36
- readonly field: "border-[1.5px] border-transparent border-b-sherick-rim";
37
- readonly fieldError: "border-[1.5px] border-transparent border-b-sherick-danger";
36
+ readonly field: "border-[1.5px] border-transparent";
38
37
  readonly dashed: string;
39
38
  readonly dashedHover: "hover:after:bg-sherick-ink-muted";
40
39
  readonly dashedDragging: "data-[dragging]:after:bg-sherick-primary";
@@ -56,17 +55,17 @@ declare const state: {
56
55
  readonly text: "cursor-text";
57
56
  readonly rowHover: "hover:bg-sherick-ink/[0.05]";
58
57
  readonly field: {
59
- readonly hover: "hover:bg-sherick-surface-high/[0.82] hover:border-b-sherick-ink-muted";
60
- readonly focus: "focus:bg-sherick-surface-high focus:border-b-sherick-ink-muted";
61
- readonly focusWithin: "[&&]:focus-within:bg-sherick-surface-high [&&]:focus-within:border-b-sherick-ink-muted";
62
- readonly engaged: "bg-sherick-surface-high border-b-sherick-ink-muted";
63
- readonly errorHover: "hover:bg-sherick-danger-soft/[0.55]";
64
- readonly errorFocus: "focus:bg-sherick-danger-soft/[0.55]";
65
- readonly errorEngaged: "bg-sherick-danger-soft/[0.55]";
66
- readonly invalid: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
67
- readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger-soft/[0.55] data-[invalid]:hover:border-b-sherick-danger";
68
- readonly invalidEngaged: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
69
- readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger-soft/[0.55] [&&]:data-[invalid]:focus-within:border-b-sherick-danger";
58
+ readonly hover: "hover:bg-sherick-tray-deep";
59
+ readonly focus: "focus:bg-sherick-tray-deep";
60
+ readonly focusWithin: "[&&]:focus-within:bg-sherick-tray-deep";
61
+ readonly engaged: "bg-sherick-tray-deep";
62
+ readonly errorHover: "hover:bg-sherick-danger-soft";
63
+ readonly errorFocus: "focus:bg-sherick-danger-soft";
64
+ readonly errorEngaged: "bg-sherick-danger-soft";
65
+ readonly invalid: "data-[invalid]:bg-sherick-danger-soft";
66
+ readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger-soft";
67
+ readonly invalidEngaged: "data-[invalid]:bg-sherick-danger-soft";
68
+ readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger-soft";
70
69
  };
71
70
  };
72
71
  declare const stateLayerQuietComposite: string;
@@ -86,8 +85,8 @@ declare const material: {
86
85
  readonly matteQuiet: "bg-sherick-surface/[0.42] text-sherick-ink";
87
86
  readonly matte: "bg-sherick-surface/[0.78] text-sherick-ink";
88
87
  readonly matteHigh: "bg-sherick-surface-high/[0.72] text-sherick-ink";
89
- readonly control: "bg-sherick-surface-high/[0.6] text-sherick-ink placeholder:text-sherick-ink-muted";
90
- readonly controlError: "bg-sherick-danger-soft/[0.55] text-sherick-ink placeholder:text-sherick-danger";
88
+ readonly control: "bg-sherick-surface-high text-sherick-ink placeholder:text-sherick-ink-muted";
89
+ readonly controlError: "bg-sherick-danger-soft text-sherick-ink placeholder:text-sherick-danger";
91
90
  readonly handle: "bg-sherick-ink-muted text-sherick-canvas";
92
91
  readonly acrylic: "bg-sherick-surface-float/[var(--sui-glass-fill)] bg-[image:var(--sui-glass-gradient)] text-sherick-ink backdrop-blur-[var(--sui-glass-blur)] backdrop-saturate-[var(--sui-glass-saturation)] backdrop-brightness-[var(--sui-glass-brightness)]";
93
92
  readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink backdrop-blur-[var(--sui-glass-dense-blur)] backdrop-saturate-[var(--sui-glass-dense-saturation)] backdrop-brightness-[var(--sui-glass-dense-brightness)]";
@@ -199,7 +198,7 @@ declare const tone: {
199
198
  };
200
199
  declare const currentDestination = "bg-sherick-primary-soft text-sherick-ink font-medium";
201
200
  declare const puck = "bg-sherick-puck";
202
- declare const selectableRowSurface = "has-[[data-checked]]:bg-sherick-primary-soft has-[[data-checked]]:text-sherick-ink";
201
+ declare const selectableRowSurface: string;
203
202
  declare const selectableRowSupporting = "group-has-[[data-checked]]:text-sherick-ink";
204
203
  declare const selectable: {
205
204
  readonly surface: string;
@@ -33,8 +33,7 @@ declare const edgeTone: {
33
33
  readonly rule: "border-sherick-edge/[0.075]";
34
34
  };
35
35
  declare const rim: {
36
- readonly field: "border-[1.5px] border-transparent border-b-sherick-rim";
37
- readonly fieldError: "border-[1.5px] border-transparent border-b-sherick-danger";
36
+ readonly field: "border-[1.5px] border-transparent";
38
37
  readonly dashed: string;
39
38
  readonly dashedHover: "hover:after:bg-sherick-ink-muted";
40
39
  readonly dashedDragging: "data-[dragging]:after:bg-sherick-primary";
@@ -56,17 +55,17 @@ declare const state: {
56
55
  readonly text: "cursor-text";
57
56
  readonly rowHover: "hover:bg-sherick-ink/[0.05]";
58
57
  readonly field: {
59
- readonly hover: "hover:bg-sherick-surface-high/[0.82] hover:border-b-sherick-ink-muted";
60
- readonly focus: "focus:bg-sherick-surface-high focus:border-b-sherick-ink-muted";
61
- readonly focusWithin: "[&&]:focus-within:bg-sherick-surface-high [&&]:focus-within:border-b-sherick-ink-muted";
62
- readonly engaged: "bg-sherick-surface-high border-b-sherick-ink-muted";
63
- readonly errorHover: "hover:bg-sherick-danger-soft/[0.55]";
64
- readonly errorFocus: "focus:bg-sherick-danger-soft/[0.55]";
65
- readonly errorEngaged: "bg-sherick-danger-soft/[0.55]";
66
- readonly invalid: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
67
- readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger-soft/[0.55] data-[invalid]:hover:border-b-sherick-danger";
68
- readonly invalidEngaged: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
69
- readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger-soft/[0.55] [&&]:data-[invalid]:focus-within:border-b-sherick-danger";
58
+ readonly hover: "hover:bg-sherick-tray-deep";
59
+ readonly focus: "focus:bg-sherick-tray-deep";
60
+ readonly focusWithin: "[&&]:focus-within:bg-sherick-tray-deep";
61
+ readonly engaged: "bg-sherick-tray-deep";
62
+ readonly errorHover: "hover:bg-sherick-danger-soft";
63
+ readonly errorFocus: "focus:bg-sherick-danger-soft";
64
+ readonly errorEngaged: "bg-sherick-danger-soft";
65
+ readonly invalid: "data-[invalid]:bg-sherick-danger-soft";
66
+ readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger-soft";
67
+ readonly invalidEngaged: "data-[invalid]:bg-sherick-danger-soft";
68
+ readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger-soft";
70
69
  };
71
70
  };
72
71
  declare const stateLayerQuietComposite: string;
@@ -86,8 +85,8 @@ declare const material: {
86
85
  readonly matteQuiet: "bg-sherick-surface/[0.42] text-sherick-ink";
87
86
  readonly matte: "bg-sherick-surface/[0.78] text-sherick-ink";
88
87
  readonly matteHigh: "bg-sherick-surface-high/[0.72] text-sherick-ink";
89
- readonly control: "bg-sherick-surface-high/[0.6] text-sherick-ink placeholder:text-sherick-ink-muted";
90
- readonly controlError: "bg-sherick-danger-soft/[0.55] text-sherick-ink placeholder:text-sherick-danger";
88
+ readonly control: "bg-sherick-surface-high text-sherick-ink placeholder:text-sherick-ink-muted";
89
+ readonly controlError: "bg-sherick-danger-soft text-sherick-ink placeholder:text-sherick-danger";
91
90
  readonly handle: "bg-sherick-ink-muted text-sherick-canvas";
92
91
  readonly acrylic: "bg-sherick-surface-float/[var(--sui-glass-fill)] bg-[image:var(--sui-glass-gradient)] text-sherick-ink backdrop-blur-[var(--sui-glass-blur)] backdrop-saturate-[var(--sui-glass-saturation)] backdrop-brightness-[var(--sui-glass-brightness)]";
93
92
  readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink backdrop-blur-[var(--sui-glass-dense-blur)] backdrop-saturate-[var(--sui-glass-dense-saturation)] backdrop-brightness-[var(--sui-glass-dense-brightness)]";
@@ -199,7 +198,7 @@ declare const tone: {
199
198
  };
200
199
  declare const currentDestination = "bg-sherick-primary-soft text-sherick-ink font-medium";
201
200
  declare const puck = "bg-sherick-puck";
202
- declare const selectableRowSurface = "has-[[data-checked]]:bg-sherick-primary-soft has-[[data-checked]]:text-sherick-ink";
201
+ declare const selectableRowSurface: string;
203
202
  declare const selectableRowSupporting = "group-has-[[data-checked]]:text-sherick-ink";
204
203
  declare const selectable: {
205
204
  readonly surface: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sherick-ui",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "A React component library in graphite and iris, with light and dark themes.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -85,10 +85,11 @@
85
85
  },
86
86
  "dependencies": {
87
87
  "@base-ui/react": "1.8.0",
88
+ "@hugeicons/core-free-icons": "^4.3.5",
89
+ "@hugeicons/react": "^1.1.10",
88
90
  "class-variance-authority": "^0.7.1",
89
91
  "clsx": "^2.1.1",
90
92
  "katex": "^0.16.47",
91
- "lucide-react": "^1.46.0",
92
93
  "prism-react-renderer": "^2.4.1",
93
94
  "prismjs": "^1.30.0",
94
95
  "react-markdown": "^10.1.0",