jenosize-ui 0.1.0 → 0.2.1

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 (204) hide show
  1. package/README.md +13 -10
  2. package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
  3. package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
  4. package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
  5. package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
  6. package/dist/area-chart.d.ts +54 -0
  7. package/dist/area-chart.js +9 -0
  8. package/dist/avatar.d.ts +24 -0
  9. package/dist/avatar.js +13 -7
  10. package/dist/badge.d.ts +4 -0
  11. package/dist/badge.js +6 -5
  12. package/dist/bar-chart.d.ts +32 -0
  13. package/dist/bar-chart.js +9 -0
  14. package/dist/breadcrumb.d.ts +4 -0
  15. package/dist/breadcrumb.js +5 -3
  16. package/dist/button.d.ts +16 -1
  17. package/dist/button.js +10 -8
  18. package/dist/calendar.d.ts +5 -0
  19. package/dist/calendar.js +18 -14
  20. package/dist/callout.d.ts +6 -6
  21. package/dist/callout.js +12 -9
  22. package/dist/card-D56VxyAe.d.ts +123 -0
  23. package/dist/card.d.ts +3 -1
  24. package/dist/card.js +7 -3
  25. package/dist/checkbox.js +9 -7
  26. package/dist/chunk-22M75A3N.js +396 -0
  27. package/dist/{chunk-D5BTFSL7.js → chunk-33TOK7ES.js} +7 -5
  28. package/dist/{chunk-THC2ISYP.js → chunk-3H444OJA.js} +6 -4
  29. package/dist/{chunk-GFOAJVW5.js → chunk-3QXLIZIX.js} +4 -13
  30. package/dist/chunk-3ZEEGXYF.js +8 -0
  31. package/dist/chunk-45Y2ZGNK.js +34 -0
  32. package/dist/{chunk-FHHAPGCR.js → chunk-4RBIWI2Q.js} +3 -3
  33. package/dist/chunk-4VGEJG4M.js +1510 -0
  34. package/dist/{chunk-PWKWNDBS.js → chunk-54SIZR63.js} +16 -8
  35. package/dist/chunk-5AZKP4KZ.js +49 -0
  36. package/dist/chunk-5DP7W5HX.js +254 -0
  37. package/dist/{chunk-J2BCKBHC.js → chunk-5KSD4WKN.js} +14 -5
  38. package/dist/{chunk-ZOOX3TUB.js → chunk-5XPMY2LF.js} +6 -6
  39. package/dist/chunk-5ZEUTSCV.js +147 -0
  40. package/dist/chunk-5ZPUAGOP.js +19 -0
  41. package/dist/{chunk-JTNFJLIY.js → chunk-667ZHY3T.js} +114 -42
  42. package/dist/{chunk-JP26LPCY.js → chunk-6B6BWTXC.js} +30 -13
  43. package/dist/{chunk-W5GGOUUI.js → chunk-6H4LNWQ7.js} +3 -3
  44. package/dist/{chunk-WFY7DKQD.js → chunk-6MMBQVRO.js} +61 -51
  45. package/dist/{chunk-7HOIZ3UO.js → chunk-7GUPNTAH.js} +15 -7
  46. package/dist/chunk-7VLYQR4D.js +44 -0
  47. package/dist/{chunk-KNYKWUYX.js → chunk-7ZM7SNCZ.js} +3 -3
  48. package/dist/{chunk-E7ZSWBAK.js → chunk-A323V6AI.js} +6 -4
  49. package/dist/chunk-AFYXSZGW.js +23 -0
  50. package/dist/chunk-AIARANKE.js +33 -0
  51. package/dist/{chunk-4OLULPQG.js → chunk-AIGYMTCU.js} +10 -6
  52. package/dist/{chunk-JVJRHBTD.js → chunk-AZ7DKRBY.js} +21 -8
  53. package/dist/{chunk-JYGR44ZC.js → chunk-BBKE4W3B.js} +19 -11
  54. package/dist/{chunk-Z3ETJN5G.js → chunk-BFVJHH7S.js} +8 -12
  55. package/dist/chunk-BLIZ3CL3.js +49 -0
  56. package/dist/{chunk-F2K7VJUV.js → chunk-CFFWYXDW.js} +19 -7
  57. package/dist/{chunk-MQGD2OUF.js → chunk-CGHYXWTT.js} +11 -5
  58. package/dist/{chunk-CYPPEUX5.js → chunk-CKMWBVRR.js} +27 -12
  59. package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
  60. package/dist/{chunk-5NOBSXJN.js → chunk-E2YZ7IMT.js} +24 -8
  61. package/dist/{chunk-T7FCG7XV.js → chunk-FFMTYQXE.js} +31 -11
  62. package/dist/{chunk-J36M3KRX.js → chunk-FH7Z7SGQ.js} +67 -32
  63. package/dist/chunk-FKVPAEJ6.js +57 -0
  64. package/dist/{chunk-GRLSUQQE.js → chunk-FNQJJO63.js} +4 -4
  65. package/dist/{chunk-5RAPA22E.js → chunk-FWRHBMWT.js} +4 -4
  66. package/dist/chunk-GLKFFA7N.js +171 -0
  67. package/dist/{chunk-KDLPXXD2.js → chunk-GQRSABRN.js} +4 -4
  68. package/dist/{chunk-DRZCJCBO.js → chunk-GZMDZF2V.js} +8 -7
  69. package/dist/chunk-HHYEAFCL.js +525 -0
  70. package/dist/{chunk-LME57Z6J.js → chunk-I6WMNXC7.js} +6 -6
  71. package/dist/chunk-IQNVSQRK.js +605 -0
  72. package/dist/chunk-KHGW72BM.js +10 -0
  73. package/dist/{chunk-ZZA2LUTL.js → chunk-KZP6B6B3.js} +41 -16
  74. package/dist/chunk-LCG34A5T.js +98 -0
  75. package/dist/chunk-LLPWQDF7.js +26 -0
  76. package/dist/{chunk-J7ZQQFPT.js → chunk-LO22VQL5.js} +18 -18
  77. package/dist/{chunk-BVJWBYIG.js → chunk-LQURV7HQ.js} +9 -7
  78. package/dist/{chunk-R6RGJF4L.js → chunk-LYXPJERB.js} +15 -5
  79. package/dist/{chunk-CME4DIML.js → chunk-MCQG4H6T.js} +54 -3
  80. package/dist/{chunk-VWC72TR3.js → chunk-MVG5MABV.js} +11 -8
  81. package/dist/{chunk-5FATN5YD.js → chunk-N3RVMBPX.js} +6 -9
  82. package/dist/chunk-NKG4N6HA.js +188 -0
  83. package/dist/{chunk-W46K56XU.js → chunk-OACWA4TC.js} +15 -69
  84. package/dist/chunk-OLLD2BZN.js +33 -0
  85. package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
  86. package/dist/chunk-PO2TYK3C.js +17 -0
  87. package/dist/{chunk-7EWQKTNQ.js → chunk-POQTE7JI.js} +66 -25
  88. package/dist/{chunk-HMUZE6EK.js → chunk-QDKETK7D.js} +4 -4
  89. package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
  90. package/dist/{chunk-WEUJYDCV.js → chunk-QHH6AUR3.js} +16 -8
  91. package/dist/chunk-RJTVCA62.js +42 -0
  92. package/dist/{chunk-MUFHLP4S.js → chunk-S5TEWPWW.js} +50 -41
  93. package/dist/{chunk-D6TPWNRK.js → chunk-SB3DG572.js} +15 -8
  94. package/dist/chunk-SKRR3ZMP.js +10 -0
  95. package/dist/chunk-T4ZFZTY6.js +62 -0
  96. package/dist/{chunk-I7WU4GTY.js → chunk-T5574MXM.js} +34 -46
  97. package/dist/{chunk-MKC5HNA7.js → chunk-U4WSJAYK.js} +374 -147
  98. package/dist/{chunk-BJUZVYQC.js → chunk-UGKELBNC.js} +60 -44
  99. package/dist/chunk-ULGCGKOE.js +77 -0
  100. package/dist/{chunk-QA74ITR4.js → chunk-X2VMIBK5.js} +45 -17
  101. package/dist/chunk-X2X7Q7NW.js +17 -0
  102. package/dist/chunk-YHBI52P2.js +10 -0
  103. package/dist/chunk-YIHKQ63K.js +13 -0
  104. package/dist/{chunk-3Y5X7B5C.js → chunk-YQYVGWIC.js} +6 -11
  105. package/dist/{chunk-WZQFC7ZN.js → chunk-ZHAT2XZ4.js} +139 -66
  106. package/dist/{chunk-7IU5TMFL.js → chunk-ZMFY7WAY.js} +124 -40
  107. package/dist/{chunk-SV56BSUQ.js → chunk-ZZSNTCCL.js} +6 -5
  108. package/dist/combobox.d.ts +5 -0
  109. package/dist/combobox.js +15 -12
  110. package/dist/control-size-CaxQhkKh.d.ts +3 -0
  111. package/dist/date-input.d.ts +4 -0
  112. package/dist/date-input.js +12 -9
  113. package/dist/date-picker.d.ts +6 -0
  114. package/dist/date-picker.js +25 -20
  115. package/dist/dialog.d.ts +37 -5
  116. package/dist/dialog.js +12 -8
  117. package/dist/drawer.d.ts +20 -3
  118. package/dist/drawer.js +11 -7
  119. package/dist/dropdown-menu.d.ts +26 -2
  120. package/dist/dropdown-menu.js +9 -4
  121. package/dist/dropzone.d.ts +35 -0
  122. package/dist/dropzone.js +23 -0
  123. package/dist/form.d.ts +82 -3
  124. package/dist/form.js +205 -45
  125. package/dist/header-navigation.d.ts +19 -4
  126. package/dist/header-navigation.js +23 -16
  127. package/dist/helper.d.ts +36 -0
  128. package/dist/helper.js +3 -0
  129. package/dist/index.d.ts +32 -8
  130. package/dist/index.js +87 -62
  131. package/dist/indicator.js +4 -4
  132. package/dist/input.d.ts +4 -0
  133. package/dist/input.js +10 -8
  134. package/dist/kanban-board.d.ts +489 -0
  135. package/dist/kanban-board.js +25 -0
  136. package/dist/labels-DPrh0se9.d.ts +627 -0
  137. package/dist/line-chart.d.ts +36 -0
  138. package/dist/line-chart.js +9 -0
  139. package/dist/{nav-Bla0o_-1.d.ts → nav-CKKqjBs6.d.ts} +18 -11
  140. package/dist/number-input.d.ts +4 -0
  141. package/dist/number-input.js +10 -8
  142. package/dist/pagination.d.ts +7 -1
  143. package/dist/pagination.js +14 -10
  144. package/dist/panel-El4oI68p.d.ts +9 -0
  145. package/dist/payment-input.d.ts +3 -2
  146. package/dist/payment-input.js +10 -8
  147. package/dist/pie-chart.d.ts +64 -0
  148. package/dist/pie-chart.js +9 -0
  149. package/dist/popover.d.ts +9 -3
  150. package/dist/popover.js +11 -7
  151. package/dist/progress-steps.d.ts +275 -0
  152. package/dist/progress-steps.js +8 -0
  153. package/dist/progress.d.ts +21 -1
  154. package/dist/progress.js +3 -2
  155. package/dist/provider.d.ts +212 -0
  156. package/dist/provider.js +7 -0
  157. package/dist/radar-chart.d.ts +77 -0
  158. package/dist/radar-chart.js +9 -0
  159. package/dist/radial-chart.d.ts +73 -0
  160. package/dist/radial-chart.js +9 -0
  161. package/dist/radio.js +9 -7
  162. package/dist/rule-BqzaIwJy.d.ts +80 -0
  163. package/dist/scroll-area.d.ts +62 -0
  164. package/dist/scroll-area.js +7 -0
  165. package/dist/select.d.ts +3 -3
  166. package/dist/select.js +17 -14
  167. package/dist/separator.d.ts +114 -0
  168. package/dist/separator.js +5 -0
  169. package/dist/shared-CxAedkiy.d.ts +68 -0
  170. package/dist/sidebar-navigation.d.ts +80 -12
  171. package/dist/sidebar-navigation.js +18 -9
  172. package/dist/skeleton.d.ts +61 -0
  173. package/dist/skeleton.js +5 -0
  174. package/dist/styles.css +1 -1
  175. package/dist/switch.js +4 -4
  176. package/dist/table.d.ts +148 -42
  177. package/dist/table.js +39 -33
  178. package/dist/tabs.d.ts +22 -0
  179. package/dist/tabs.js +3 -3
  180. package/dist/tag-input.d.ts +3 -2
  181. package/dist/tag-input.js +13 -11
  182. package/dist/tag.d.ts +4 -0
  183. package/dist/tag.js +4 -3
  184. package/dist/textarea.js +7 -5
  185. package/dist/theme.css +151 -6
  186. package/dist/theme.js +11 -9
  187. package/dist/toast.d.ts +11 -2
  188. package/dist/toast.js +12 -9
  189. package/dist/tooltip-surface-C2I9o2QM.d.ts +35 -0
  190. package/dist/tooltip.d.ts +15 -1
  191. package/dist/tooltip.js +3 -2
  192. package/dist/tree.d.ts +5 -0
  193. package/dist/tree.js +8 -6
  194. package/dist/types-DR9rAEy1.d.ts +188 -0
  195. package/dist/use-uploads-KaPqDklo.d.ts +482 -0
  196. package/dist/verification-code-input.d.ts +84 -0
  197. package/dist/verification-code-input.js +14 -0
  198. package/package.json +70 -9
  199. package/dist/card-nWicloNi.d.ts +0 -80
  200. package/dist/chunk-24TO7E32.js +0 -42
  201. package/dist/chunk-FXIBGTS5.js +0 -14
  202. package/dist/chunk-MFJP5FA7.js +0 -20
  203. package/dist/chunk-ZZT2E5VT.js +0 -24
  204. package/dist/shared-BNXAdgh2.d.ts +0 -9
package/dist/theme.css CHANGED
@@ -44,7 +44,29 @@
44
44
  * consumer who already copied that script, which is the exact failure the script exists to prevent. */
45
45
  @custom-variant dark (&:where(.dark, .dark *));
46
46
 
47
- @theme {
47
+ /*
48
+ * `static`, not a bare `@theme`, and it is load-bearing.
49
+ *
50
+ * By default Tailwind tree-shakes every `@theme` custom property no source utility references out
51
+ * of `:root`. That is invisible while a token is only ever read THROUGH a class — the class and its
52
+ * var are emitted or pruned together, so they cannot disagree. It stops being invisible the moment
53
+ * a token is read as a VALUE: `token()` (`src/lib/token.ts`) and the chart palette
54
+ * (`src/components/chart/palette.ts`) both hand `var(--color-…)` to an inline `style`, and a pruned
55
+ * var there is invalid at computed-value time — `color` is inherited, so the mark silently paints
56
+ * whatever its ancestor painted. No warning, no error, no gate.
57
+ *
58
+ * MEASURED, not assumed: with a bare `@theme`, 9 of the 127 declared `--color-*` properties were
59
+ * absent from `:root` — `utility-neutral-400` and the `-300`/`-400` rungs of red/amber/green/blue,
60
+ * i.e. exactly the "spare rungs" the DECLARE-ALL-EIGHT note below says cost nothing at runtime.
61
+ * They cost nothing as classes and everything as values. `.dark` is a literal rule and always
62
+ * emitted all 48, so the hole was LIGHT-ONLY — the shape that survives a dark screenshot.
63
+ *
64
+ * Price: 1,691 bytes on `dist/styles.css` (139,270 → 140,961, +1.2%).
65
+ *
66
+ * `scripts/theme-lib.mjs`'s `block()` must keep matching an at-rule with options — a parser that
67
+ * only accepts a bare `@theme {` reads an EMPTY theme here and takes every token gate quiet with it.
68
+ */
69
+ @theme static {
48
70
  /* ═══════════════════ Primitive: brand — the ONLY ramp we declare ═══════════════════
49
71
  *
50
72
  * It is the REBRANDING SEAM. Untitled UI's own brand-swap workflow is "replace these 11 hexes
@@ -79,7 +101,7 @@
79
101
  /* Reads as sitting ABOVE its host when the host is `bg-primary` too. Plain white in light —
80
102
  * there a raised box is carried by its drop shadow — but one stop UP in dark, because a black
81
103
  * shadow is invisible on a dark surface and an equal fill leaves the box merely outlined.
82
- * Used by: the Callout's raised neutral icon container, and `SURFACE_VARIANT.elevated`. */
104
+ * Used by: the Callout's raised neutral icon container, and `SURFACE_FILL.outlined.lifted`. */
83
105
  --color-bg-primary_alt: #ffffff;
84
106
  /* The mirror of `bg-primary_alt`: a surface that reads as sitting BELOW its host — a well, an
85
107
  * inset region. HOUSE EXTENSION: nothing in Untitled UI recedes (its `bg-primary_hover` goes
@@ -161,6 +183,11 @@
161
183
  * though the COMPOSITED result is not: #868686 over white vs #0a0a0a over the dark page, so a
162
184
  * scrim always reads against content, never against bare page. */
163
185
  --color-bg-overlay: color-mix(in oklab, var(--color-neutral-950) 50%, transparent);
186
+ /* The `blur` backdrop's wash — 20%, a fifth of the scrim's, because it sits UNDER a blur: at 50%
187
+ the blurred page reads as mush, at 0% the dialog loses its tonal boundary entirely (light
188
+ dialog-vs-backdrop measured 1.00:1). Its own role rather than `bg-overlay/20` at the call site,
189
+ so the pairing lives in the token layer next to the radius it is tuned against. */
190
+ --color-bg-overlay-soft: color-mix(in oklab, var(--color-neutral-950) 20%, transparent);
164
191
 
165
192
  /* Type. `text-*` is TYPE; `fg-*` below is NON-TEXT foreground (icons, dots, bars). The property
166
193
  * prefix does not tell you which — `text-fg-quaternary` is an ICON coloured with the `text`
@@ -212,6 +239,24 @@
212
239
  /* Absorbs the former `fg-on-brand` AND `fg-on-inverse` — both were the literal #ffffff in both
213
240
  * themes. (`text-primary_on-brand` is NOT equivalent: its dark value is neutral-50.) */
214
241
  --color-fg-white: #ffffff;
242
+ /* Primary feedback glyph tints — the -600 stop, one step deeper than the `-secondary` pair below.
243
+ * NOT interchangeable with `text-success-primary`/`text-warning-primary`/`text-error-primary`:
244
+ * identical here in LIGHT (both -600) and DIVERGENT in dark (fg -500 vs text -400), which is exactly
245
+ * the §7 trap — a glyph mis-filed under the `text-*` family passes the light baseline and fails the
246
+ * dark one. Used by the FileList status glyphs (`CircleCheckIcon` / `CircleXIcon`) and by
247
+ * `ButtonUtility`'s `color` axis (`GLYPH` in `src/lib/color.ts`). */
248
+ --color-fg-success-primary: var(--color-green-600);
249
+ --color-fg-warning-primary: var(--color-amber-600);
250
+ --color-fg-error-primary: var(--color-red-600);
251
+ /* The hover step for the three feedback glyphs. Load-bearing, not polish: over `bg-ghost-hover`
252
+ * — the wash a `tertiary` icon button takes — success and warning at REST measure 2.97 / 2.95,
253
+ * i.e. BELOW §1.4.11's 3:1 at the exact moment the pointer is on the control. Stepping the glyph,
254
+ * not merely washing the box, is what keeps every co-occurring pair ≥3:1; it is the same lesson
255
+ * `DISMISS` records in `src/lib/color.ts`. Dark steps LIGHTER (-400), mirroring
256
+ * `fg-brand-secondary_hover`, so the transition stays monotonic in both themes. */
257
+ --color-fg-success-primary_hover: var(--color-green-700);
258
+ --color-fg-warning-primary_hover: var(--color-amber-700);
259
+ --color-fg-error-primary_hover: var(--color-red-700);
215
260
  /* Leading-dot / secondary glyph tints — the saturated -500 stop. */
216
261
  --color-fg-brand-secondary: var(--color-brand-500);
217
262
  --color-fg-brand-secondary_hover: var(--color-brand-600);
@@ -225,6 +270,18 @@
225
270
  * falls. Reads as backwards in a diff; it is not. */
226
271
  --color-border-secondary: var(--color-neutral-200);
227
272
  --color-border-primary: var(--color-neutral-300);
273
+ /* The EMPHATIC edge — `<Separator tone="strong">` and the rule vocabulary's `--rule` (src/lib/rule.ts).
274
+ *
275
+ * A WEIGHT word, not a fourth ordinal: the tertiary → secondary → primary rank has no name above
276
+ * `primary`, and `strong` matches the `RuleTone` member 1:1 so the token and the prop read the same.
277
+ *
278
+ * Minted because `strong` used to BE `border-primary`, one ramp stop off the default — measured
279
+ * ΔL 5.2 in light on a 1px line, which is not a weight the eye can resolve, so the prop moved and
280
+ * nothing happened. neutral-400 / dark neutral-600 puts it at ΔL 21.4 / 17.0: two weights of one
281
+ * rule, which is the whole point of the tone axis. It is NOT `fg-quaternary` (same light value):
282
+ * that role is non-text FOREGROUND and a rule is an EDGE — the §7 mis-file, invisible in light and
283
+ * wrong in dark, where the two diverge. */
284
+ --color-border-strong: var(--color-neutral-400);
228
285
  /* One stop softer than `border-secondary` — a subordinate rule that must read as beneath the grid
229
286
  * it subdivides. Minted for the calendar's sub-hour slot line: ruling every 30-minute step at full
230
287
  * weight turns a time grid into ruled paper. DARK IS HOUSE (neutral-900): UUI's own value there is
@@ -243,7 +300,28 @@
243
300
  * `border-error` (-500/-400) has no call site here and is not declared — an unused token is what
244
301
  * `--shadow-3xl` was. */
245
302
  --color-border-error_subtle: var(--color-red-300);
246
- --color-border-success: var(--color-green-300);
303
+ /* `success` is the ONE edge that leaves the shared recipe, and the only ramp value in this file
304
+ * besides `brand` spelled as a literal.
305
+ *
306
+ * Tailwind v4's stock `green` is a NEON ramp — far more chromatic than the classic Untitled UI
307
+ * success it replaced — and a rim is where that shows worst, because a hairline has no area to
308
+ * soften it: `green-300` read as a highlighter drawn round the button rather than as an edge.
309
+ * Stepping down the same ramp does not fix it and makes it worse; that ramp's chroma PEAKS at
310
+ * -400/-500 (0.209 / 0.219 against -300's 0.150), so a darker rim is a more saturated one.
311
+ *
312
+ * This is UUI's own `success-400`, and it is both darker and calmer than either:
313
+ * tw green-300 L 87.1 C 0.150 tw green-400 L 79.2 C 0.209
314
+ * #47cd89 L 75.8 C 0.153 ← darker than -400, at -300's chroma
315
+ * Dark takes UUI's `success-500` (#17b26a, L 67.3 C 0.160), keeping the same one-step-down
316
+ * relationship the mirrored `-300 → -500` rule gives the other two edges.
317
+ *
318
+ * SCOPED ON PURPOSE: this role has exactly one consumer, `BOX_RING.success` in `src/lib/color.ts`
319
+ * (the boxed-control rim — Button `secondary`, ButtonUtility, Pagination's arrows). Every other
320
+ * green in the library still reads `utility-green-*`, so a Badge chip, a success Callout and the
321
+ * online dot are all untouched. If the neon ramp turns out to be wrong everywhere and not just on
322
+ * an edge, the fix is `green`→`emerald` (or a declared ramp) at the layer above, and this literal
323
+ * should then go away rather than being joined by five more. */
324
+ --color-border-success: #47cd89;
247
325
  --color-border-warning: var(--color-amber-300);
248
326
 
249
327
  /* Component tokens. No mirror: the focus ring is spelled `outline-focus-ring` / `ring-focus-ring`
@@ -263,8 +341,9 @@
263
341
  *
264
342
  * DECLARE ALL EIGHT even though components consume six. A hole in a ramp fails SILENTLY: Tailwind
265
343
  * emits NO class for an undeclared token — no warning, no error, no gate — so `bg-utility-red-300`
266
- * in six months would simply paint nothing. The spare rungs cost nothing at runtime; Tailwind
267
- * tree-shakes unreferenced `@theme` colour vars out of the build.
344
+ * in six months would simply paint nothing. The spare rungs used to be free because Tailwind
345
+ * tree-shook them out of `:root`; that pruning is now OFF (`@theme static`, see the header),
346
+ * because a rung read as a VALUE rather than through a class needs to actually be declared.
268
347
  *
269
348
  * The tone→hue map is NOT identity: `neutral`→neutral, `info`→blue, and success/warning/error→
270
349
  * green/amber/red. `src/lib/color.ts` is tone-indexed and must never derive a token name from its
@@ -409,6 +488,7 @@
409
488
  --background-color-warning-solid: var(--color-bg-warning-solid);
410
489
  --background-color-warning-solid_hover: var(--color-bg-warning-solid_hover);
411
490
  --background-color-overlay: var(--color-bg-overlay);
491
+ --background-color-overlay-soft: var(--color-bg-overlay-soft);
412
492
 
413
493
  /* ── text-color ── */
414
494
  --text-color-primary: var(--color-text-primary);
@@ -427,6 +507,7 @@
427
507
  /* ── border-color ── */
428
508
  --border-color-secondary: var(--color-border-secondary);
429
509
  --border-color-primary: var(--color-border-primary);
510
+ --border-color-strong: var(--color-border-strong);
430
511
  --border-color-tertiary: var(--color-border-tertiary);
431
512
  --border-color-secondary_alt: var(--color-border-secondary_alt);
432
513
  --border-color-brand: var(--color-border-brand);
@@ -438,6 +519,7 @@
438
519
  /* ── ring-color ── */
439
520
  --ring-color-secondary: var(--color-border-secondary);
440
521
  --ring-color-primary: var(--color-border-primary);
522
+ --ring-color-strong: var(--color-border-strong);
441
523
  --ring-color-tertiary: var(--color-border-tertiary);
442
524
  --ring-color-secondary_alt: var(--color-border-secondary_alt);
443
525
  --ring-color-brand: var(--color-border-brand);
@@ -449,6 +531,7 @@
449
531
  /* ── outline-color ── */
450
532
  --outline-color-secondary: var(--color-border-secondary);
451
533
  --outline-color-primary: var(--color-border-primary);
534
+ --outline-color-strong: var(--color-border-strong);
452
535
  --outline-color-tertiary: var(--color-border-tertiary);
453
536
  --outline-color-secondary_alt: var(--color-border-secondary_alt);
454
537
  --outline-color-brand: var(--color-border-brand);
@@ -482,6 +565,16 @@
482
565
  * theme key beats a static value. Deleting it restores the static form; identical below
483
566
  * ~19998px of box height. */
484
567
 
568
+ /* ─────────────────────────── Blur ────────────────────────────────────────────── */
569
+ /* The modal scrim's optional backdrop blur (`<Dialog backdrop="blur">`).
570
+ 6px, a DELIBERATE departure from the design system's 16px — reasoned in
571
+ src/components/overlay/backdrop.ts. It must be a token either way: Tailwind's steps are 4px
572
+ (`xs`) and 8px (`sm`), so there is no stock utility for 6px at all, and its `backdrop-blur-md`
573
+ is 12px while the DS token of that same NAME is 16px — the one name that could be mistaken for
574
+ a match is the one that isn't. Tailwind v4 reads `--blur-*` for both `blur-*` and
575
+ `backdrop-blur-*`, so this single declaration yields `backdrop-blur-overlay`. */
576
+ --blur-overlay: 6px;
577
+
485
578
  /* ─────────────────────────── Shadows (Untitled UI — pure black, low opacity) ──── */
486
579
  --shadow-xs: 0 1px 2px 0 oklch(0 0 0 / 0.05);
487
580
  --shadow-sm: 0 1px 3px 0 oklch(0 0 0 / 0.1), 0 1px 2px -1px oklch(0 0 0 / 0.1);
@@ -708,6 +801,16 @@
708
801
  /* neutral-500 in both themes — constant, so it is declared by absence in this block. Against a
709
802
  * neutral-600 rest it still steps LIGHTER here, which is the direction a dark hover must go. */
710
803
  --color-fg-disabled: var(--color-neutral-600);
804
+ /* -500 here, while `text-success-primary`/`text-warning-primary`/`text-error-primary` go to -400.
805
+ * The two families are equal in light and split in dark — see the light block. */
806
+ --color-fg-success-primary: var(--color-green-500);
807
+ --color-fg-warning-primary: var(--color-amber-500);
808
+ --color-fg-error-primary: var(--color-red-500);
809
+ /* The hover step goes LIGHTER here (-400) where light goes darker (-700) — a dark surface needs the
810
+ * hovered glyph to step OUT of the page, not into it. Same direction as `fg-brand-secondary_hover`. */
811
+ --color-fg-success-primary_hover: var(--color-green-400);
812
+ --color-fg-warning-primary_hover: var(--color-amber-400);
813
+ --color-fg-error-primary_hover: var(--color-red-400);
711
814
  --color-fg-brand-secondary: var(--color-brand-400);
712
815
  --color-fg-brand-secondary_hover: var(--color-brand-300);
713
816
  --color-fg-error-secondary: var(--color-red-400);
@@ -716,13 +819,18 @@
716
819
  /* Borders */
717
820
  --color-border-secondary: var(--color-neutral-800);
718
821
  --color-border-primary: var(--color-neutral-700);
822
+ /* neutral-600, TWO stops past `border-primary` — dark needs the extra step because the emphatic
823
+ * rule has to climb away from a near-black page, not sink toward it. ΔL 17.0 against the default. */
824
+ --color-border-strong: var(--color-neutral-600);
719
825
  /* neutral-900 — HOUSE. UUI's own value here is neutral-800, identical to its `border-secondary`. */
720
826
  --color-border-tertiary: var(--color-neutral-900);
721
827
  /* Resolves to a solid gray in dark, not a translucent black — matches `border-secondary`. */
722
828
  --color-border-secondary_alt: var(--color-neutral-800);
723
829
  --color-border-brand: var(--color-brand-400);
724
830
  --color-border-error_subtle: var(--color-red-500);
725
- --color-border-success: var(--color-green-500);
831
+ /* UUI `success-500` — the dark half of the literal explained beside the light value. It keeps the
832
+ * mirrored `-300 → -500` step its two siblings take, on the calmer ramp. */
833
+ --color-border-success: #17b26a;
726
834
  --color-border-warning: var(--color-amber-500);
727
835
 
728
836
  /* Utility — the stop MIRROR. 50↔950 · 100↔900 · 200↔800 · 300↔700 · 400↔600 · 500↔500 (the fixed
@@ -825,6 +933,7 @@
825
933
  --background-color-warning-solid: var(--color-bg-warning-solid);
826
934
  --background-color-warning-solid_hover: var(--color-bg-warning-solid_hover);
827
935
  --background-color-overlay: var(--color-bg-overlay);
936
+ --background-color-overlay-soft: var(--color-bg-overlay-soft);
828
937
 
829
938
  /* ── text-color ── */
830
939
  --text-color-primary: var(--color-text-primary);
@@ -843,6 +952,7 @@
843
952
  /* ── border-color ── */
844
953
  --border-color-secondary: var(--color-border-secondary);
845
954
  --border-color-primary: var(--color-border-primary);
955
+ --border-color-strong: var(--color-border-strong);
846
956
  --border-color-tertiary: var(--color-border-tertiary);
847
957
  --border-color-secondary_alt: var(--color-border-secondary_alt);
848
958
  --border-color-brand: var(--color-border-brand);
@@ -854,6 +964,7 @@
854
964
  /* ── ring-color ── */
855
965
  --ring-color-secondary: var(--color-border-secondary);
856
966
  --ring-color-primary: var(--color-border-primary);
967
+ --ring-color-strong: var(--color-border-strong);
857
968
  --ring-color-tertiary: var(--color-border-tertiary);
858
969
  --ring-color-secondary_alt: var(--color-border-secondary_alt);
859
970
  --ring-color-brand: var(--color-border-brand);
@@ -865,6 +976,7 @@
865
976
  /* ── outline-color ── */
866
977
  --outline-color-secondary: var(--color-border-secondary);
867
978
  --outline-color-primary: var(--color-border-primary);
979
+ --outline-color-strong: var(--color-border-strong);
868
980
  --outline-color-tertiary: var(--color-border-tertiary);
869
981
  --outline-color-secondary_alt: var(--color-border-secondary_alt);
870
982
  --outline-color-brand: var(--color-border-brand);
@@ -907,6 +1019,39 @@
907
1019
  }
908
1020
  }
909
1021
 
1022
+ /* The RULE readers — the paint half of every divider, separator and connector in the library.
1023
+ * The table that drives them is `src/lib/rule.ts`; the policy is `docs/rule-policy.md`.
1024
+ *
1025
+ * Why the texture arrives as a custom property instead of a class: three consumer shapes need the
1026
+ * same paint — a real element (`<Separator>`), a pseudo-element (a panel header's `::after`) and an
1027
+ * absolutely-positioned connector (ProgressSteps). A variant prefix (`after:`) cannot be
1028
+ * interpolated and Tailwind's JIT scans source TEXT, so no class may be built from fragments. But
1029
+ * custom properties INHERIT into pseudo-elements, so if texture and tone are property SETTERS they
1030
+ * are prefix-free by construction and only this reader ever needs prefixing (`after:rule-y`).
1031
+ *
1032
+ * `background-image` even for the solid case: it is the one property all three textures can express,
1033
+ * so the reader stays texture-agnostic. A 1px `linear-gradient(c,c)` is pixel-identical to a
1034
+ * `background-color` — no edge falls inside the box, so there is nothing to antialias differently.
1035
+ *
1036
+ * The `var()` fallbacks are the chosen failure mode: a rule whose properties never arrived degrades
1037
+ * to the house hairline, never to nothing. `--rule-image: initial` is how the `line` texture opts
1038
+ * back into that fallback — `initial` on a custom property IS the guaranteed-invalid value, so
1039
+ * `var(--rule-image, …)` takes the fallback branch. That keeps the long expression here, once,
1040
+ * instead of in every table cell. */
1041
+ @utility rule-y {
1042
+ background-image: var(--rule-image, linear-gradient(var(--rule, var(--color-border-secondary)), var(--rule, var(--color-border-secondary))));
1043
+ background-size: var(--rule-size, auto);
1044
+ background-repeat: repeat-x;
1045
+ }
1046
+
1047
+ /* The same, for a rule that runs DOWN. Named after `src/lib/drop-line.ts`: the axis a rule
1048
+ * SEPARATES, never the dimension it sets — `rule-x` separates side-by-side columns. */
1049
+ @utility rule-x {
1050
+ background-image: var(--rule-image, linear-gradient(var(--rule, var(--color-border-secondary)), var(--rule, var(--color-border-secondary))));
1051
+ background-size: var(--rule-size, auto);
1052
+ background-repeat: repeat-y;
1053
+ }
1054
+
910
1055
  /* Toast's auto-dismiss countdown — the bar pinned to the card's bottom edge that shows how long
911
1056
  * is left before the toast leaves on its own.
912
1057
  *
package/dist/theme.js CHANGED
@@ -1,15 +1,17 @@
1
- "use client";export { ThemeProvider, ThemeScript, ThemeToggle, buildThemeScript, useTheme } from './chunk-GRLSUQQE.js';
2
- import './chunk-W46K56XU.js';
3
- import './chunk-CME4DIML.js';
4
- import './chunk-MQGD2OUF.js';
5
- import './chunk-JVJRHBTD.js';
1
+ "use client";export { ThemeProvider, ThemeScript, ThemeToggle, buildThemeScript, useTheme } from './chunk-FNQJJO63.js';
2
+ import './chunk-OACWA4TC.js';
3
+ import './chunk-AZ7DKRBY.js';
4
+ import './chunk-MCQG4H6T.js';
5
+ import './chunk-CGHYXWTT.js';
6
6
  import './chunk-DWKILXHE.js';
7
- import './chunk-KNYKWUYX.js';
7
+ import './chunk-7ZM7SNCZ.js';
8
8
  import './chunk-52IFGFTL.js';
9
- import './chunk-24TO7E32.js';
10
- import './chunk-ZZA2LUTL.js';
9
+ import './chunk-KZP6B6B3.js';
10
+ import './chunk-AFYXSZGW.js';
11
11
  import './chunk-O4GRKO3I.js';
12
- import './chunk-GCVA3OIV.js';
12
+ import './chunk-BLIZ3CL3.js';
13
13
  import './chunk-ZSNJ6UA3.js';
14
+ import './chunk-RJTVCA62.js';
15
+ import './chunk-QDYE5LVT.js';
14
16
  //# sourceMappingURL=theme.js.map
15
17
  //# sourceMappingURL=theme.js.map
package/dist/toast.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import * as React from 'react';
2
+ import { m as ToastLabels } from './labels-DPrh0se9.js';
2
3
 
3
4
  /**
4
5
  * The five intents. Drives the leading glyph + icon-circle tint, and the live-region priority.
5
6
  *
6
7
  * `neutral` is the one with no valence — a release note, a mention, an FYI. It exists because the
7
- * alternative was spelling those as `info`, which is brand-tinted and therefore reads as "we want
8
- * you to look at this". Not a `loading` type: a pending operation is `duration: Infinity` plus an
8
+ * alternative was spelling those as `info`, which carries a hue and therefore reads as "we want you
9
+ * to look at this". Not a `loading` type: a pending operation is `duration: Infinity` plus an
9
10
  * `addOn` bar, resolved in place by `toast.update`.
10
11
  */
11
12
  type ToastType = "neutral" | "info" | "success" | "warning" | "error";
@@ -206,6 +207,14 @@ interface ToastProviderProps {
206
207
  * many that is. @default true
207
208
  */
208
209
  stacked?: boolean;
210
+ /**
211
+ * Override the toast family's own copy — the dismiss button and the viewport landmark.
212
+ *
213
+ * Republished into the shared label table for the whole subtree, because a card renders three
214
+ * levels down AND inside a portal, so a prop thread would not reach it. Merges under
215
+ * `<JenosizeUIProvider labels={{ toast }}>`; see `docs/i18n-policy.md`.
216
+ */
217
+ labels?: ToastLabels;
209
218
  /**
210
219
  * Draw the auto-dismiss countdown — a thin bar on each card's bottom edge that drains over the
211
220
  * toast's own `duration`, so a reader can see how long is left rather than being surprised.
package/dist/toast.js CHANGED
@@ -1,15 +1,18 @@
1
- "use client";export { ToastProvider, toast } from './chunk-I7WU4GTY.js';
2
- import './chunk-W46K56XU.js';
3
- import './chunk-CME4DIML.js';
4
- import './chunk-MQGD2OUF.js';
5
- import './chunk-JVJRHBTD.js';
1
+ "use client";export { ToastProvider, toast } from './chunk-T5574MXM.js';
2
+ import './chunk-5AZKP4KZ.js';
3
+ import './chunk-OACWA4TC.js';
4
+ import './chunk-AZ7DKRBY.js';
5
+ import './chunk-MCQG4H6T.js';
6
+ import './chunk-CGHYXWTT.js';
6
7
  import './chunk-DWKILXHE.js';
7
- import './chunk-KNYKWUYX.js';
8
+ import './chunk-7ZM7SNCZ.js';
8
9
  import './chunk-52IFGFTL.js';
9
- import './chunk-24TO7E32.js';
10
- import './chunk-ZZA2LUTL.js';
10
+ import './chunk-KZP6B6B3.js';
11
+ import './chunk-AFYXSZGW.js';
11
12
  import './chunk-O4GRKO3I.js';
12
- import './chunk-GCVA3OIV.js';
13
+ import './chunk-BLIZ3CL3.js';
13
14
  import './chunk-ZSNJ6UA3.js';
15
+ import './chunk-RJTVCA62.js';
16
+ import './chunk-QDYE5LVT.js';
14
17
  //# sourceMappingURL=toast.js.map
15
18
  //# sourceMappingURL=toast.js.map
@@ -0,0 +1,35 @@
1
+ /**
2
+ * The tooltip surface — **ONE recipe, two tones**, shared by `<Tooltip>` (the real, triggered one)
3
+ * and by the chart family's internal `ChartTooltipContent`.
4
+ *
5
+ * Why this file exists: the two used to be *parallel* strings that happened to match, with a comment
6
+ * in each promising they'd stay that way. Nothing gated it — `chart/shared.ts`'s `TOOLTIP.surface`
7
+ * and `tooltip/Tooltip.tsx`'s `POPUP` could drift on any edit and no test, gate or baseline would
8
+ * notice, because the two never render in the same screenshot. A promise between two files is not a
9
+ * contract; one exported table is.
10
+ *
11
+ * **`tone` is a prop, not a media query.** The light/dark split is already inside the tokens — every
12
+ * role below is theme-paired in `theme.css`, so BOTH tones render correctly in BOTH themes. What
13
+ * `tone` picks is which *relationship to the page* the tooltip has:
14
+ *
15
+ * - **`surface`** (default) — a raised panel: it reads as sitting ABOVE its host. Same recipe as the
16
+ * library's other floating readouts (`Progress`'s value bubble, `DRAG_GHOST`, a lifted `Card`), so
17
+ * a tooltip and a drag ghost over the same page are the same object. `bg-primary_alt` rather than
18
+ * `bg-primary` for the documented reason: in dark, `bg-primary` IS the page (neutral-950) and a
19
+ * black `shadow-lg` is invisible against it, so the fill has to do the elevating — `_alt` steps one
20
+ * stop up.
21
+ * - **`inverse`** — the older always-dark chip. Kept because it is genuinely the right answer over an
22
+ * image, a video frame, or a `bg-primary-solid` stage (the playground's own dark Button stages),
23
+ * where a raised light panel competes with the content instead of annotating it.
24
+ *
25
+ * §4: the union member owns EVERY behaviour derived from it, in ONE table — so a tone's arrow fill
26
+ * lives here beside its surface class, and nothing outside this file re-derives a colour from the
27
+ * tone's name.
28
+ */
29
+ /**
30
+ * Which relationship to the page the tooltip has. Both members are correct in both themes — see the
31
+ * file comment for why this is a prop and not a `prefers-color-scheme` branch.
32
+ */
33
+ type TooltipTone = "surface" | "inverse";
34
+
35
+ export type { TooltipTone as T };
package/dist/tooltip.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
2
2
  import * as React from 'react';
3
+ import { T as TooltipTone } from './tooltip-surface-C2I9o2QM.js';
3
4
 
4
5
  interface TooltipProviderProps {
5
6
  /** Grouped open delay (ms) shared by tooltips in this region. @default 300 */
@@ -15,6 +16,7 @@ declare function TooltipProvider(props: TooltipProviderProps): React.JSX.Element
15
16
  declare namespace TooltipProvider {
16
17
  var displayName: string;
17
18
  }
19
+
18
20
  type TooltipSide = "top" | "right" | "bottom" | "left";
19
21
  type TooltipAlign = "start" | "center" | "end";
20
22
  /** Two steps, no `sm` — see `SIZE` below for why the ladder stops here. */
@@ -33,6 +35,18 @@ interface TooltipProps {
33
35
  * @default "md"
34
36
  */
35
37
  size?: TooltipSize;
38
+ /**
39
+ * How the tooltip relates to the page. **Both members are correct in both themes** — the light/dark
40
+ * split lives in the tokens, so this is not a theme switch.
41
+ *
42
+ * - `surface` — a raised panel, the same recipe as the library's other floating readouts
43
+ * (`Progress`'s value bubble, the drag ghost, a lifted `Card`).
44
+ * - `inverse` — the always-dark chip. Reach for it over an image, a video frame, or a
45
+ * `bg-primary-solid` stage, where a raised light panel competes with the content.
46
+ *
47
+ * @default "surface"
48
+ */
49
+ tone?: TooltipTone;
36
50
  /** Preferred placement; auto-flips on collision. @default "top" */
37
51
  side?: TooltipSide;
38
52
  /** Cross-axis alignment against the trigger (with `side` → UUI's 8 placements). @default "center" */
@@ -67,4 +81,4 @@ declare const TooltipExport: typeof Tooltip & {
67
81
  Provider: typeof TooltipProvider;
68
82
  };
69
83
 
70
- export { TooltipExport as Tooltip, type TooltipAlign, type TooltipProps, type TooltipProviderProps, type TooltipSide, type TooltipSize };
84
+ export { TooltipExport as Tooltip, type TooltipAlign, type TooltipProps, type TooltipProviderProps, type TooltipSide, type TooltipSize, TooltipTone };
package/dist/tooltip.js CHANGED
@@ -1,6 +1,7 @@
1
- "use client";export { TooltipExport as Tooltip } from './chunk-ZZA2LUTL.js';
1
+ "use client";export { TooltipExport as Tooltip } from './chunk-KZP6B6B3.js';
2
+ import './chunk-AFYXSZGW.js';
2
3
  import './chunk-O4GRKO3I.js';
3
- import './chunk-GCVA3OIV.js';
4
4
  import './chunk-ZSNJ6UA3.js';
5
+ import './chunk-QDYE5LVT.js';
5
6
  //# sourceMappingURL=tooltip.js.map
6
7
  //# sourceMappingURL=tooltip.js.map
package/dist/tree.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { useRender } from '@base-ui/react/use-render';
2
2
  import * as React from 'react';
3
+ import { n as TreeLabels } from './labels-DPrh0se9.js';
3
4
 
4
5
  /** What a slot function is told about the row it is rendering into. */
5
6
  interface TreeNodeState {
@@ -287,6 +288,10 @@ interface TreeProps<Id extends string = string> extends Omit<React.ComponentProp
287
288
  guide?: TreeGuide;
288
289
  /** Shown when the tree has no visible nodes, and inside an expanded empty branch. */
289
290
  emptyMessage?: React.ReactNode;
291
+ /** Override the component's own copy — what `emptyMessage` defaults to, the no-matches sentence,
292
+ * a failed branch's error + retry, and what the reorder live region announces. Merges under
293
+ * `<JenosizeUIProvider labels={{ tree }}>`; see `docs/i18n-policy.md`. */
294
+ labels?: TreeLabels;
290
295
  render?: useRender.RenderProp<React.ComponentProps<"ul">>;
291
296
  /** Layout/spacing for the `<ul>` only, merged via `cn()`. Cannot restyle rows. */
292
297
  className?: string;
package/dist/tree.js CHANGED
@@ -1,11 +1,13 @@
1
- "use client";export { Tree, ancestorIds, applyTreeMove, attachChildren, isBranch, isDescendant, useTree, walkTree } from './chunk-7EWQKTNQ.js';
2
- import './chunk-KMSYEE23.js';
3
- import './chunk-FXIBGTS5.js';
1
+ "use client";export { Tree, ancestorIds, applyTreeMove, attachChildren, isBranch, isDescendant, useTree, walkTree } from './chunk-POQTE7JI.js';
2
+ import './chunk-5ZPUAGOP.js';
3
+ import './chunk-P6CON2R2.js';
4
+ import './chunk-LLPWQDF7.js';
4
5
  import './chunk-F6NLE6XJ.js';
5
- import './chunk-52IFGFTL.js';
6
6
  import './chunk-EDSK6FEH.js';
7
- import './chunk-24TO7E32.js';
8
- import './chunk-GCVA3OIV.js';
7
+ import './chunk-52IFGFTL.js';
8
+ import './chunk-BLIZ3CL3.js';
9
9
  import './chunk-ZSNJ6UA3.js';
10
+ import './chunk-RJTVCA62.js';
11
+ import './chunk-QDYE5LVT.js';
10
12
  //# sourceMappingURL=tree.js.map
11
13
  //# sourceMappingURL=tree.js.map