jenosize-ui 0.2.0 → 0.2.2

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 (184) hide show
  1. package/README.md +2 -2
  2. package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
  3. package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
  4. package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
  5. package/dist/area-chart.d.ts +3 -2
  6. package/dist/area-chart.js +6 -5
  7. package/dist/avatar.d.ts +5 -0
  8. package/dist/avatar.js +10 -9
  9. package/dist/badge.d.ts +4 -0
  10. package/dist/badge.js +5 -4
  11. package/dist/bar-chart.d.ts +3 -2
  12. package/dist/bar-chart.js +6 -5
  13. package/dist/breadcrumb.d.ts +4 -0
  14. package/dist/breadcrumb.js +4 -2
  15. package/dist/button.d.ts +6 -1
  16. package/dist/button.js +9 -8
  17. package/dist/calendar.d.ts +5 -0
  18. package/dist/calendar.js +16 -14
  19. package/dist/callout.d.ts +6 -6
  20. package/dist/callout.js +11 -9
  21. package/dist/card-D56VxyAe.d.ts +123 -0
  22. package/dist/card.d.ts +3 -51
  23. package/dist/card.js +5 -5
  24. package/dist/checkbox.js +8 -7
  25. package/dist/{chunk-75M43ELV.js → chunk-22M75A3N.js} +75 -45
  26. package/dist/{chunk-X2X7Q7NW.js → chunk-2R3QWWOT.js} +3 -3
  27. package/dist/{chunk-A46ED5JQ.js → chunk-33TOK7ES.js} +7 -5
  28. package/dist/{chunk-BNIWT6CW.js → chunk-3HOHLQVP.js} +7 -6
  29. package/dist/{chunk-DJYWPJZ3.js → chunk-3QXLIZIX.js} +3 -12
  30. package/dist/chunk-3ZEEGXYF.js +8 -0
  31. package/dist/chunk-45Y2ZGNK.js +34 -0
  32. package/dist/{chunk-ILICYNK7.js → chunk-4RBIWI2Q.js} +3 -3
  33. package/dist/{chunk-EX374YWB.js → chunk-54SIZR63.js} +15 -7
  34. package/dist/chunk-5AZKP4KZ.js +49 -0
  35. package/dist/{chunk-NA35YZRD.js → chunk-5DP7W5HX.js} +13 -11
  36. package/dist/{chunk-QKDEQFOQ.js → chunk-5KSD4WKN.js} +13 -4
  37. package/dist/{chunk-RIXEUAPY.js → chunk-5XPMY2LF.js} +5 -5
  38. package/dist/{chunk-L53Y7KUV.js → chunk-5YWH2ANQ.js} +62 -29
  39. package/dist/{chunk-6UBYHSBX.js → chunk-5ZEUTSCV.js} +5 -5
  40. package/dist/{chunk-JAVNGTOE.js → chunk-6MMBQVRO.js} +58 -43
  41. package/dist/{chunk-RNXRZGXN.js → chunk-74AIU53R.js} +5 -3
  42. package/dist/{chunk-JMWYCT63.js → chunk-7GUPNTAH.js} +14 -6
  43. package/dist/{chunk-DCGTB7P7.js → chunk-7QXOGAN6.js} +111 -39
  44. package/dist/{chunk-TBN644IN.js → chunk-7ZM7SNCZ.js} +3 -3
  45. package/dist/{chunk-AC6ZWKRN.js → chunk-AFYXSZGW.js} +2 -2
  46. package/dist/chunk-AIARANKE.js +33 -0
  47. package/dist/{chunk-54S5CUY6.js → chunk-AIGYMTCU.js} +5 -4
  48. package/dist/{chunk-C6OTOTKI.js → chunk-AZ7DKRBY.js} +5 -5
  49. package/dist/{chunk-QBHQOX23.js → chunk-BBKE4W3B.js} +18 -10
  50. package/dist/{chunk-FFTRB2UU.js → chunk-CFFWYXDW.js} +18 -6
  51. package/dist/{chunk-42FCPC77.js → chunk-CGHYXWTT.js} +10 -4
  52. package/dist/{chunk-FZBZGA3P.js → chunk-CGZXQ7PA.js} +4 -4
  53. package/dist/{chunk-GAFGIT4Q.js → chunk-D6XO4JVM.js} +30 -10
  54. package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
  55. package/dist/{chunk-USL3TDZM.js → chunk-DD5KJVFV.js} +321 -105
  56. package/dist/{chunk-NMERLWT7.js → chunk-E2YZ7IMT.js} +23 -7
  57. package/dist/{chunk-5JRM3OES.js → chunk-FNQJJO63.js} +3 -3
  58. package/dist/{chunk-MD4AR43X.js → chunk-FWRHBMWT.js} +3 -3
  59. package/dist/{chunk-4K6V6NNK.js → chunk-GLKFFA7N.js} +10 -8
  60. package/dist/{chunk-EDOUI2BG.js → chunk-GQRSABRN.js} +4 -4
  61. package/dist/{chunk-PO2TYK3C.js → chunk-GWYDOZGQ.js} +3 -3
  62. package/dist/{chunk-HSVBTIP2.js → chunk-HHYEAFCL.js} +70 -27
  63. package/dist/{chunk-DTMYD63D.js → chunk-HV2W6HUR.js} +47 -27
  64. package/dist/{chunk-P7DH62UY.js → chunk-I6WMNXC7.js} +5 -5
  65. package/dist/{chunk-6HJA7NPL.js → chunk-IEAWNA3V.js} +9 -4
  66. package/dist/{chunk-34J5AANZ.js → chunk-IQNVSQRK.js} +3 -3
  67. package/dist/{chunk-MCUASLZH.js → chunk-KHGW72BM.js} +3 -3
  68. package/dist/{chunk-FIGBJGH2.js → chunk-KJ5JUS53.js} +115 -79
  69. package/dist/{chunk-4R7WDDCW.js → chunk-KZP6B6B3.js} +4 -4
  70. package/dist/{chunk-4W6AYGLR.js → chunk-LE44X5GS.js} +55 -39
  71. package/dist/{chunk-7HV6EIGZ.js → chunk-LLPWQDF7.js} +3 -3
  72. package/dist/{chunk-JXHZHUB3.js → chunk-LQURV7HQ.js} +9 -7
  73. package/dist/{chunk-EDT5J5WK.js → chunk-LYXPJERB.js} +14 -4
  74. package/dist/{chunk-6IUTVDNI.js → chunk-MCQG4H6T.js} +35 -3
  75. package/dist/{chunk-4BRMM3I5.js → chunk-MFFA5MXY.js} +7 -6
  76. package/dist/{chunk-PXEJ5RKO.js → chunk-N3RVMBPX.js} +6 -9
  77. package/dist/{chunk-VH35QHD4.js → chunk-NC63TYNW.js} +16 -8
  78. package/dist/{chunk-VWGAMOSE.js → chunk-NKG4N6HA.js} +3 -3
  79. package/dist/{chunk-A5WQLN4B.js → chunk-OACWA4TC.js} +14 -52
  80. package/dist/{chunk-LBYCCLVI.js → chunk-OLLD2BZN.js} +9 -9
  81. package/dist/{chunk-T2WAD4QP.js → chunk-POQTE7JI.js} +55 -16
  82. package/dist/{chunk-74HPBSVY.js → chunk-QDKETK7D.js} +4 -4
  83. package/dist/{chunk-VEOYCAJP.js → chunk-QNIKRB62.js} +27 -7
  84. package/dist/{chunk-JYBGO6GY.js → chunk-R4Z7BINC.js} +11 -8
  85. package/dist/chunk-RJTVCA62.js +42 -0
  86. package/dist/{chunk-3GT43XPK.js → chunk-SB3DG572.js} +15 -8
  87. package/dist/{chunk-FKVPAEJ6.js → chunk-SKJC2KYD.js} +4 -3
  88. package/dist/{chunk-NKDW6C7K.js → chunk-SKRR3ZMP.js} +3 -3
  89. package/dist/{chunk-CTENRS34.js → chunk-T4ZFZTY6.js} +8 -6
  90. package/dist/{chunk-YLEHYDXC.js → chunk-T5574MXM.js} +33 -45
  91. package/dist/{chunk-4HKDD3PR.js → chunk-TX57TNJS.js} +92 -58
  92. package/dist/{chunk-CWMFEF6R.js → chunk-UGBNYSBN.js} +81 -29
  93. package/dist/{chunk-M5TVCASC.js → chunk-ULGCGKOE.js} +8 -6
  94. package/dist/{chunk-JUWDRRD6.js → chunk-X2VMIBK5.js} +4 -4
  95. package/dist/{chunk-763VS2FY.js → chunk-YHBI52P2.js} +3 -3
  96. package/dist/chunk-YIHKQ63K.js +13 -0
  97. package/dist/{chunk-3Z3SDKIA.js → chunk-YPNL2NBD.js} +5 -5
  98. package/dist/{chunk-MYQ3FD4Y.js → chunk-ZD3MOLIB.js} +8 -5
  99. package/dist/{chunk-BD5YKFRA.js → chunk-ZR6HNKSN.js} +5 -3
  100. package/dist/{chunk-WKWAUU64.js → chunk-ZZSNTCCL.js} +6 -5
  101. package/dist/combobox.d.ts +5 -0
  102. package/dist/combobox.js +13 -12
  103. package/dist/date-input.d.ts +4 -0
  104. package/dist/date-input.js +11 -9
  105. package/dist/date-picker.d.ts +6 -0
  106. package/dist/date-picker.js +24 -22
  107. package/dist/dialog.d.ts +21 -1
  108. package/dist/dialog.js +11 -9
  109. package/dist/drawer.d.ts +11 -1
  110. package/dist/drawer.js +10 -8
  111. package/dist/dropdown-menu.d.ts +12 -0
  112. package/dist/dropdown-menu.js +7 -6
  113. package/dist/dropzone.d.ts +3 -2
  114. package/dist/dropzone.js +13 -12
  115. package/dist/form.d.ts +5 -4
  116. package/dist/form.js +61 -45
  117. package/dist/header-navigation.d.ts +5 -1
  118. package/dist/header-navigation.js +21 -19
  119. package/dist/helper.d.ts +36 -0
  120. package/dist/helper.js +3 -0
  121. package/dist/index.d.ts +13 -11
  122. package/dist/index.js +83 -78
  123. package/dist/indicator.js +4 -4
  124. package/dist/input.d.ts +4 -0
  125. package/dist/input.js +9 -8
  126. package/dist/kanban-board.d.ts +21 -81
  127. package/dist/kanban-board.js +15 -13
  128. package/dist/labels-DPrh0se9.d.ts +627 -0
  129. package/dist/line-chart.d.ts +3 -2
  130. package/dist/line-chart.js +6 -5
  131. package/dist/{nav-DcCyt00p.d.ts → nav-CKKqjBs6.d.ts} +10 -0
  132. package/dist/number-input.d.ts +4 -0
  133. package/dist/number-input.js +9 -8
  134. package/dist/pagination.d.ts +7 -1
  135. package/dist/pagination.js +11 -10
  136. package/dist/payment-input.d.ts +3 -2
  137. package/dist/payment-input.js +9 -8
  138. package/dist/pie-chart.d.ts +7 -3
  139. package/dist/pie-chart.js +6 -5
  140. package/dist/popover.js +10 -8
  141. package/dist/progress-steps.js +2 -2
  142. package/dist/progress.d.ts +21 -1
  143. package/dist/progress.js +3 -2
  144. package/dist/provider.d.ts +212 -0
  145. package/dist/provider.js +7 -0
  146. package/dist/radar-chart.d.ts +7 -3
  147. package/dist/radar-chart.js +6 -5
  148. package/dist/radial-chart.d.ts +7 -3
  149. package/dist/radial-chart.js +6 -5
  150. package/dist/radio.js +8 -7
  151. package/dist/scroll-area.js +2 -2
  152. package/dist/select.d.ts +2 -1
  153. package/dist/select.js +15 -14
  154. package/dist/shared-CxAedkiy.d.ts +68 -0
  155. package/dist/sidebar-navigation.d.ts +36 -7
  156. package/dist/sidebar-navigation.js +15 -13
  157. package/dist/skeleton.js +2 -2
  158. package/dist/styles.css +1 -1
  159. package/dist/switch.js +4 -4
  160. package/dist/table.d.ts +56 -6
  161. package/dist/table.js +37 -35
  162. package/dist/tabs.d.ts +22 -0
  163. package/dist/tabs.js +3 -3
  164. package/dist/tag-input.d.ts +3 -2
  165. package/dist/tag-input.js +12 -11
  166. package/dist/tag.d.ts +4 -0
  167. package/dist/tag.js +3 -2
  168. package/dist/textarea.js +6 -5
  169. package/dist/theme.css +69 -6
  170. package/dist/theme.js +10 -9
  171. package/dist/toast.d.ts +11 -2
  172. package/dist/toast.js +11 -9
  173. package/dist/{tooltip-surface-Dmvb8v5K.d.ts → tooltip-surface-C2I9o2QM.d.ts} +1 -1
  174. package/dist/tooltip.d.ts +2 -2
  175. package/dist/tooltip.js +3 -3
  176. package/dist/tree.d.ts +5 -0
  177. package/dist/tree.js +5 -4
  178. package/dist/{types-6kvYwtRH.d.ts → types-DR9rAEy1.d.ts} +45 -13
  179. package/dist/{use-uploads-ButS4dGe.d.ts → use-uploads-KaPqDklo.d.ts} +9 -0
  180. package/dist/verification-code-input.js +8 -7
  181. package/package.json +12 -1
  182. package/dist/chunk-MFJP5FA7.js +0 -20
  183. package/dist/shared-BNXAdgh2.d.ts +0 -9
  184. package/dist/surface-DFyDnrTJ.d.ts +0 -34
package/dist/switch.js CHANGED
@@ -1,7 +1,7 @@
1
- "use client";export { Switch } from './chunk-74HPBSVY.js';
2
- import './chunk-GTHJWR3Q.js';
3
- import './chunk-MFJP5FA7.js';
4
- import './chunk-QDYE5LVT.js';
1
+ "use client";export { Switch } from './chunk-QDKETK7D.js';
2
+ import './chunk-D7EE5GWU.js';
3
+ import './chunk-45Y2ZGNK.js';
5
4
  import './chunk-ZSNJ6UA3.js';
5
+ import './chunk-QDYE5LVT.js';
6
6
  //# sourceMappingURL=switch.js.map
7
7
  //# sourceMappingURL=switch.js.map
package/dist/table.d.ts CHANGED
@@ -4,6 +4,7 @@ import { PaginationVariant, PaginationAlign, PaginationColor } from './paginatio
4
4
  import { S as SemanticColor } from './color-CtSxc1Rh.js';
5
5
  import { O as OverflowMode } from './overflow-Df0h42Oi.js';
6
6
  import { DropdownMenuSeparatorItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem } from './dropdown-menu.js';
7
+ import { T as TableLabels } from './labels-DPrh0se9.js';
7
8
  import './rule-BqzaIwJy.js';
8
9
 
9
10
  /** Which edge a cell's content sits against. `end` is for QUANTITIES — counts, hours, money,
@@ -210,11 +211,31 @@ type RowAction = {
210
211
  icon?: React.ReactNode;
211
212
  /** Fires on activation — and still fires on an `href` action, for the analytics/side-effect case. */
212
213
  onClick?: () => void;
213
- /** Tints the control — `error` for a destructive action. */
214
- tone?: SemanticColor;
214
+ /** Tints the control — `error` for a destructive action. The library's ONE colour axis, so it is
215
+ * spelled `color` here exactly as on `Button`/`Badge`/`Callout` (it was `tone` before this pass). */
216
+ color?: SemanticColor;
215
217
  /** A disabled action is never a link: navigation is the browser's and an `<a>` cannot be
216
218
  * disabled, so dropping the `href` is what actually makes it inert. */
217
219
  disabled?: boolean;
220
+ /**
221
+ * WHY this action is disabled — a short sentence, shown only while `disabled` is true.
222
+ *
223
+ * It exists because a page CANNOT add it from outside. A disabled control emits no pointer
224
+ * events, so an explanation has to hang off a focusable wrapper — and `Table` builds the trigger
225
+ * itself, so the caller never holds an element to wrap. That asymmetry (a page can explain a
226
+ * disabled Button, but not a disabled row action) is the whole argument for putting it here.
227
+ *
228
+ * How it renders is per presentation, because a tooltip is not available in both:
229
+ * · `icon` / `link` — a `<Tooltip>` on a focusable wrapper the cell owns. The wrapper is what
230
+ * keeps the explanation reachable at all: a disabled control drops out of the tab order and
231
+ * takes its reason with it.
232
+ * · `menu` — supporting text UNDER the row's label. A floating popover anchored inside an open
233
+ * popover is its own problem, and a menu row has somewhere to put a second line.
234
+ * Either way it joins the control's accessible NAME, so it is announced without a hover.
235
+ *
236
+ * Ignored unless `disabled`. Free text a human wrote, so `string` (see `docs/type-safety-policy.md`).
237
+ */
238
+ disabledReason?: string;
218
239
  } & ({
219
240
  href: string;
220
241
  confirm?: never;
@@ -225,6 +246,15 @@ type RowAction = {
225
246
  title: string;
226
247
  description?: string;
227
248
  confirmLabel?: string;
249
+ /**
250
+ * The dismiss button's label. Defaults to the `table.cancel` label, so an app that has
251
+ * declared its copy once does not repeat it per action.
252
+ *
253
+ * It exists beside `confirmLabel` because the pair reads as deliberate otherwise: three
254
+ * translatable strings and then a fourth, hard-coded, on the button that means STOP — in a
255
+ * modal asking permission to do something irreversible.
256
+ */
257
+ cancelLabel?: string;
228
258
  };
229
259
  });
230
260
  /**
@@ -240,7 +270,7 @@ type RowAction = {
240
270
  * So the union substitutes {@link RowAction} for DropdownMenu's action row and reuses the rest:
241
271
  *
242
272
  * - **action row** — a `RowAction`, keeping the row-action extras a bare menu row has no idea about
243
- * (`tone`, `confirm`, and the disabled-drops-`href` rule).
273
+ * (`color`, `confirm`, and the disabled-drops-`href` rule).
244
274
  * - **`{ separator: true }`** · **checkbox** · **radio** — no row-action semantics to add, so these
245
275
  * are DropdownMenu's own types, passed through untouched.
246
276
  * - **group** and **submenu** — spelled here rather than reused, because their `items` must recurse
@@ -302,7 +332,7 @@ type RowMenuItem = RowAction | DropdownMenuSeparatorItem | DropdownMenuCheckboxI
302
332
  * not merely unused, it was wrong: it defaulted to **3**, and `slice(0, max - 1)` kept the HEAD, so
303
333
  * a 4-action row rendered its first two inline and swallowed everything from index 2 into a ⋮ nobody
304
334
  * asked for. The action that vanished was the LAST one — which by convention is the trailing
305
- * `tone: "error"` Delete. A destructive action silently relocating into a menu is the opposite of
335
+ * `color: "error"` Delete. A destructive action silently relocating into a menu is the opposite of
306
336
  * what a cap is for.
307
337
  *
308
338
  * The three members are spelled inline rather than as named types, for the same reason
@@ -334,10 +364,14 @@ type RowActionSlot =
334
364
  * right edge does not jitter row to row) and never opens — unlike `items: []`, which
335
365
  * renders no slot at all. */
336
366
  disabled?: boolean;
367
+ /** WHY the ⋮ is unavailable — a tooltip on a focusable wrapper the cell owns, same as an
368
+ * `icon` slot's. Ignored unless `disabled`; a disabled trigger opens nothing, so the reason
369
+ * is the only thing it CAN say. (An individual disabled ROW states its own separately.) */
370
+ disabledReason?: string;
337
371
  onClick?: never;
338
372
  href?: never;
339
373
  confirm?: never;
340
- tone?: never;
374
+ color?: never;
341
375
  icon?: never;
342
376
  };
343
377
  /**
@@ -351,13 +385,16 @@ type RowActions<Row> = (row: Row) => readonly RowActionSlot[];
351
385
  interface BulkAction {
352
386
  label: string;
353
387
  icon?: React.ReactNode;
354
- tone?: SemanticColor;
388
+ color?: SemanticColor;
355
389
  onClick: (ids: ReadonlySet<string>) => void;
356
390
  /** Routes the action through the same confirmation dialog a `RowAction` uses. */
357
391
  confirm?: {
358
392
  title: string;
359
393
  description?: string;
360
394
  confirmLabel?: string;
395
+ /** The dismiss button's label. Defaults to the `table.cancel` label, so an app that has
396
+ * declared its copy once does not repeat it per action. */
397
+ cancelLabel?: string;
361
398
  };
362
399
  }
363
400
  interface TableToolbar {
@@ -574,6 +611,14 @@ interface UseTableResult<Row, K extends string = string> {
574
611
  selectionOnPage: number;
575
612
  /** Toggle one row. Under `single` this REPLACES the selection; under `none` it does nothing. */
576
613
  toggleRow: (id: string) => void;
614
+ /**
615
+ * Adds every selectable row between two ids, inclusive — what Shift+click and Shift+arrow commit.
616
+ *
617
+ * Additive (Shift means EXTEND), ordered by what is on screen rather than by the source array, and
618
+ * inert outside `selection: "multiple"`. Without it the view had no engine call to make, which is
619
+ * why range selection did not exist at all.
620
+ */
621
+ selectRange: (fromId: string, toId: string) => void;
577
622
  /** Replace the whole selection with one row — what `single` commits. */
578
623
  selectOnly: (id: string) => void;
579
624
  /** Select-all for the visible page. Only `multiple` has a page to select. */
@@ -730,6 +775,11 @@ interface TableProps<Row, K extends string = string> {
730
775
  maxHeight?: number;
731
776
  /** @default "scroll" */
732
777
  responsive?: TableResponsive;
778
+ /** Override the table family's own copy — the selection and expansion controls, the empty and
779
+ * error states, the toolbar's search + filter names, its selection live region, and card mode's
780
+ * sort row. ONE scope for `Table` + its toolbar, cells and cards. Merges under
781
+ * `<JenosizeUIProvider labels={{ table }}>`; see `docs/i18n-policy.md`. */
782
+ labels?: TableLabels;
733
783
  /** Layout/spacing only. Never restyles internals. */
734
784
  className?: string;
735
785
  }
package/dist/table.js CHANGED
@@ -1,48 +1,50 @@
1
- "use client";export { Table, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable } from './chunk-USL3TDZM.js';
2
- import './chunk-JXHZHUB3.js';
1
+ "use client";export { Table, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable } from './chunk-DD5KJVFV.js';
2
+ import './chunk-6MMBQVRO.js';
3
+ import './chunk-LQURV7HQ.js';
3
4
  import './chunk-OHUFNYGN.js';
4
- import './chunk-JAVNGTOE.js';
5
- import './chunk-EX374YWB.js';
6
- import './chunk-RNXRZGXN.js';
7
- import './chunk-VEOYCAJP.js';
8
- import './chunk-MYQ3FD4Y.js';
9
- import './chunk-7HV6EIGZ.js';
10
- import './chunk-FZBZGA3P.js';
11
- import './chunk-F6NLE6XJ.js';
12
- import './chunk-RIXEUAPY.js';
13
- import './chunk-GTHJWR3Q.js';
14
- import './chunk-MFJP5FA7.js';
15
- import './chunk-7VLYQR4D.js';
16
- import './chunk-LCG34A5T.js';
17
- import './chunk-A5WQLN4B.js';
18
- import './chunk-42FCPC77.js';
19
- import './chunk-C6OTOTKI.js';
20
- import './chunk-6IUTVDNI.js';
21
- import './chunk-JMWYCT63.js';
22
- import './chunk-7EUAMHMU.js';
23
- import './chunk-GAFGIT4Q.js';
5
+ import './chunk-ZD3MOLIB.js';
6
+ import './chunk-54SIZR63.js';
7
+ import './chunk-LLPWQDF7.js';
8
+ import './chunk-74AIU53R.js';
9
+ import './chunk-QNIKRB62.js';
10
+ import './chunk-CGZXQ7PA.js';
11
+ import './chunk-D6XO4JVM.js';
24
12
  import './chunk-7S2TBALK.js';
25
- import './chunk-P7DH62UY.js';
26
- import './chunk-EDT5J5WK.js';
13
+ import './chunk-I6WMNXC7.js';
14
+ import './chunk-GWYDOZGQ.js';
15
+ import './chunk-LYXPJERB.js';
27
16
  import './chunk-S7NNXWIN.js';
28
- import './chunk-PO2TYK3C.js';
29
- import './chunk-ILICYNK7.js';
30
- import './chunk-6HJA7NPL.js';
17
+ import './chunk-F6NLE6XJ.js';
18
+ import './chunk-4RBIWI2Q.js';
19
+ import './chunk-IEAWNA3V.js';
31
20
  import './chunk-4P2NBLBW.js';
32
- import './chunk-FKVPAEJ6.js';
21
+ import './chunk-SKJC2KYD.js';
22
+ import './chunk-5XPMY2LF.js';
33
23
  import './chunk-7JBNLEJ7.js';
24
+ import './chunk-D7EE5GWU.js';
25
+ import './chunk-45Y2ZGNK.js';
26
+ import './chunk-7VLYQR4D.js';
27
+ import './chunk-LCG34A5T.js';
28
+ import './chunk-5AZKP4KZ.js';
29
+ import './chunk-OACWA4TC.js';
30
+ import './chunk-AZ7DKRBY.js';
31
+ import './chunk-MCQG4H6T.js';
32
+ import './chunk-CGHYXWTT.js';
34
33
  import './chunk-DWKILXHE.js';
35
- import './chunk-JUWDRRD6.js';
36
- import './chunk-TBN644IN.js';
37
- import './chunk-52IFGFTL.js';
34
+ import './chunk-7GUPNTAH.js';
35
+ import './chunk-7EUAMHMU.js';
36
+ import './chunk-X2VMIBK5.js';
38
37
  import './chunk-O2LG3PNI.js';
39
38
  import './chunk-EDSK6FEH.js';
40
- import './chunk-QKDEQFOQ.js';
41
- import './chunk-4R7WDDCW.js';
42
- import './chunk-AC6ZWKRN.js';
39
+ import './chunk-5KSD4WKN.js';
40
+ import './chunk-7ZM7SNCZ.js';
41
+ import './chunk-52IFGFTL.js';
42
+ import './chunk-KZP6B6B3.js';
43
+ import './chunk-AFYXSZGW.js';
43
44
  import './chunk-O4GRKO3I.js';
44
45
  import './chunk-BLIZ3CL3.js';
45
- import './chunk-QDYE5LVT.js';
46
46
  import './chunk-ZSNJ6UA3.js';
47
+ import './chunk-RJTVCA62.js';
48
+ import './chunk-QDYE5LVT.js';
47
49
  //# sourceMappingURL=table.js.map
48
50
  //# sourceMappingURL=table.js.map
package/dist/tabs.d.ts CHANGED
@@ -26,6 +26,28 @@ interface TabItem<V extends string = string> {
26
26
  trailing?: React.ReactNode;
27
27
  /** Disable this single tab (focusable per the ARIA pattern, but never activates). */
28
28
  disabled?: boolean;
29
+ /**
30
+ * Render this tab as your own element — the router escape hatch. Same shape and same name as
31
+ * `NavLink.render` and `BreadcrumbItem.render`, deliberately: a caller who learned it on one
32
+ * uses it here without looking it up (AGENTS §4 `Polymorphism`).
33
+ *
34
+ * **Why a strip of tabs needs one at all.** When the "panels" are ROUTES rather than content, each
35
+ * tab is a destination, and a destination has to be an `<a href>` — otherwise there is no
36
+ * ⌘-click, no middle-click, no "open in new tab", no status-bar URL, and nothing for the app's
37
+ * router to intercept. `HeaderNavigation`'s `secondary="tabs"` tier had no way to say that, so it
38
+ * navigated imperatively with `location.assign` — a full document load, and worse: this list sets
39
+ * `activateOnFocus`, so ARROW-KEYING THE STRIP fired that navigation on the first keypress and the
40
+ * tier could not be traversed by keyboard at all.
41
+ *
42
+ * Pass an element, never a component: `render={<Link href="/members" />}`. Base UI merges the
43
+ * tab's own props (role, `aria-selected`, roving `tabIndex`, handlers, className) onto it, so
44
+ * anything you set — `aria-current="page"`, `target`, `onClick` — survives the swap.
45
+ *
46
+ * A tab with `render` still owns `value`: that is what wires it to the strip's selection, and
47
+ * with a CONTROLLED `value` derived from the route, arrow-key focus moves without moving the
48
+ * selection — which is exactly right, since "you are here" must not change until you arrive.
49
+ */
50
+ render?: React.ReactElement;
29
51
  /** Layout/spacing overrides for THIS tab button only (e.g. `flex-1`), merged via `cn()`. */
30
52
  className?: string;
31
53
  /** Keep THIS panel mounted (hidden) when inactive — overrides the root `keepMounted`. */
package/dist/tabs.js CHANGED
@@ -1,8 +1,8 @@
1
- "use client";export { Tabs } from './chunk-54S5CUY6.js';
2
- import './chunk-52IFGFTL.js';
1
+ "use client";export { Tabs } from './chunk-AIGYMTCU.js';
3
2
  import './chunk-O2LG3PNI.js';
4
3
  import './chunk-EDSK6FEH.js';
5
- import './chunk-QDYE5LVT.js';
4
+ import './chunk-52IFGFTL.js';
6
5
  import './chunk-ZSNJ6UA3.js';
6
+ import './chunk-QDYE5LVT.js';
7
7
  //# sourceMappingURL=tabs.js.map
8
8
  //# sourceMappingURL=tabs.js.map
@@ -1,6 +1,7 @@
1
- import { d as TagInputBaseProps } from './TagInput-CTJYOB4J.js';
2
- export { T as TagInput, a as TagInputProps, b as TagInputSeparator, c as TagInputSize } from './TagInput-CTJYOB4J.js';
1
+ import { d as TagInputBaseProps } from './TagInput-BaBeve6L.js';
2
+ export { T as TagInput, a as TagInputProps, b as TagInputSeparator, c as TagInputSize } from './TagInput-BaBeve6L.js';
3
3
  import * as React from 'react';
4
+ import './labels-DPrh0se9.js';
4
5
 
5
6
  type TagInputOuterProps = TagInputBaseProps;
6
7
  /** Tag input with removable pills rendered in a block BELOW the field.
package/dist/tag-input.js CHANGED
@@ -1,20 +1,21 @@
1
- "use client";export { TagInputOuter } from './chunk-JYBGO6GY.js';
2
- export { TagInput } from './chunk-VH35QHD4.js';
3
- import './chunk-EDT5J5WK.js';
4
- import './chunk-6HJA7NPL.js';
1
+ "use client";export { TagInputOuter } from './chunk-R4Z7BINC.js';
2
+ export { TagInput } from './chunk-NC63TYNW.js';
3
+ import './chunk-LYXPJERB.js';
4
+ import './chunk-IEAWNA3V.js';
5
5
  import './chunk-4P2NBLBW.js';
6
6
  import './chunk-DWKILXHE.js';
7
- import './chunk-JUWDRRD6.js';
8
- import './chunk-TBN644IN.js';
9
- import './chunk-52IFGFTL.js';
7
+ import './chunk-X2VMIBK5.js';
10
8
  import './chunk-O2LG3PNI.js';
11
9
  import './chunk-EDSK6FEH.js';
12
- import './chunk-QKDEQFOQ.js';
13
- import './chunk-4R7WDDCW.js';
14
- import './chunk-AC6ZWKRN.js';
10
+ import './chunk-5KSD4WKN.js';
11
+ import './chunk-7ZM7SNCZ.js';
12
+ import './chunk-52IFGFTL.js';
13
+ import './chunk-KZP6B6B3.js';
14
+ import './chunk-AFYXSZGW.js';
15
15
  import './chunk-O4GRKO3I.js';
16
16
  import './chunk-BLIZ3CL3.js';
17
- import './chunk-QDYE5LVT.js';
18
17
  import './chunk-ZSNJ6UA3.js';
18
+ import './chunk-RJTVCA62.js';
19
+ import './chunk-QDYE5LVT.js';
19
20
  //# sourceMappingURL=tag-input.js.map
20
21
  //# sourceMappingURL=tag-input.js.map
package/dist/tag.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { O as OverflowMode } from './overflow-Df0h42Oi.js';
3
+ import { l as TagLabels } from './labels-DPrh0se9.js';
3
4
  import { b as Option } from './options-CPEIgjtd.js';
4
5
 
5
6
  type TagSize = "sm" | "md" | "lg";
@@ -25,6 +26,9 @@ interface TagProps extends Omit<React.ComponentPropsWithoutRef<"span">, "childre
25
26
  onRemove?: () => void;
26
27
  /** Accessible label for the close button. @default `Remove ${children}` (string label) or "Remove tag". */
27
28
  removeLabel?: string;
29
+ /** Override the component's own copy — what the remove button is named when `removeLabel` is
30
+ * absent. Merges under `<JenosizeUIProvider labels={{ tag }}>`; see `docs/i18n-policy.md`. */
31
+ labels?: TagLabels;
28
32
  /** Take the close button out of the tab order (removal is driven elsewhere, e.g. `TagInput`'s Backspace). @default false */
29
33
  removeExcludeFromTabOrder?: boolean;
30
34
  /** `cursor-not-allowed` + disables the close button (the pill keeps full color, per UUI). @default false */
package/dist/tag.js CHANGED
@@ -1,9 +1,10 @@
1
- "use client";export { Tag, TagGroup } from './chunk-EDT5J5WK.js';
1
+ "use client";export { Tag, TagGroup } from './chunk-LYXPJERB.js';
2
2
  import './chunk-4P2NBLBW.js';
3
3
  import './chunk-DWKILXHE.js';
4
4
  import './chunk-52IFGFTL.js';
5
5
  import './chunk-BLIZ3CL3.js';
6
- import './chunk-QDYE5LVT.js';
7
6
  import './chunk-ZSNJ6UA3.js';
7
+ import './chunk-RJTVCA62.js';
8
+ import './chunk-QDYE5LVT.js';
8
9
  //# sourceMappingURL=tag.js.map
9
10
  //# sourceMappingURL=tag.js.map
package/dist/textarea.js CHANGED
@@ -1,13 +1,14 @@
1
- "use client";export { Textarea } from './chunk-EDOUI2BG.js';
1
+ "use client";export { Textarea } from './chunk-GQRSABRN.js';
2
2
  import './chunk-7EUAMHMU.js';
3
3
  import './chunk-O2LG3PNI.js';
4
4
  import './chunk-EDSK6FEH.js';
5
- import './chunk-QKDEQFOQ.js';
6
- import './chunk-4R7WDDCW.js';
7
- import './chunk-AC6ZWKRN.js';
5
+ import './chunk-5KSD4WKN.js';
6
+ import './chunk-KZP6B6B3.js';
7
+ import './chunk-AFYXSZGW.js';
8
8
  import './chunk-O4GRKO3I.js';
9
9
  import './chunk-BLIZ3CL3.js';
10
- import './chunk-QDYE5LVT.js';
11
10
  import './chunk-ZSNJ6UA3.js';
11
+ import './chunk-RJTVCA62.js';
12
+ import './chunk-QDYE5LVT.js';
12
13
  //# sourceMappingURL=textarea.js.map
13
14
  //# sourceMappingURL=textarea.js.map
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`
@@ -273,7 +300,28 @@
273
300
  * `border-error` (-500/-400) has no call site here and is not declared — an unused token is what
274
301
  * `--shadow-3xl` was. */
275
302
  --color-border-error_subtle: var(--color-red-300);
276
- --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;
277
325
  --color-border-warning: var(--color-amber-300);
278
326
 
279
327
  /* Component tokens. No mirror: the focus ring is spelled `outline-focus-ring` / `ring-focus-ring`
@@ -293,8 +341,9 @@
293
341
  *
294
342
  * DECLARE ALL EIGHT even though components consume six. A hole in a ramp fails SILENTLY: Tailwind
295
343
  * emits NO class for an undeclared token — no warning, no error, no gate — so `bg-utility-red-300`
296
- * in six months would simply paint nothing. The spare rungs cost nothing at runtime; Tailwind
297
- * 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.
298
347
  *
299
348
  * The tone→hue map is NOT identity: `neutral`→neutral, `info`→blue, and success/warning/error→
300
349
  * green/amber/red. `src/lib/color.ts` is tone-indexed and must never derive a token name from its
@@ -439,6 +488,7 @@
439
488
  --background-color-warning-solid: var(--color-bg-warning-solid);
440
489
  --background-color-warning-solid_hover: var(--color-bg-warning-solid_hover);
441
490
  --background-color-overlay: var(--color-bg-overlay);
491
+ --background-color-overlay-soft: var(--color-bg-overlay-soft);
442
492
 
443
493
  /* ── text-color ── */
444
494
  --text-color-primary: var(--color-text-primary);
@@ -515,6 +565,16 @@
515
565
  * theme key beats a static value. Deleting it restores the static form; identical below
516
566
  * ~19998px of box height. */
517
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
+
518
578
  /* ─────────────────────────── Shadows (Untitled UI — pure black, low opacity) ──── */
519
579
  --shadow-xs: 0 1px 2px 0 oklch(0 0 0 / 0.05);
520
580
  --shadow-sm: 0 1px 3px 0 oklch(0 0 0 / 0.1), 0 1px 2px -1px oklch(0 0 0 / 0.1);
@@ -768,7 +828,9 @@
768
828
  --color-border-secondary_alt: var(--color-neutral-800);
769
829
  --color-border-brand: var(--color-brand-400);
770
830
  --color-border-error_subtle: var(--color-red-500);
771
- --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;
772
834
  --color-border-warning: var(--color-amber-500);
773
835
 
774
836
  /* Utility — the stop MIRROR. 50↔950 · 100↔900 · 200↔800 · 300↔700 · 400↔600 · 500↔500 (the fixed
@@ -871,6 +933,7 @@
871
933
  --background-color-warning-solid: var(--color-bg-warning-solid);
872
934
  --background-color-warning-solid_hover: var(--color-bg-warning-solid_hover);
873
935
  --background-color-overlay: var(--color-bg-overlay);
936
+ --background-color-overlay-soft: var(--color-bg-overlay-soft);
874
937
 
875
938
  /* ── text-color ── */
876
939
  --text-color-primary: var(--color-text-primary);
package/dist/theme.js CHANGED
@@ -1,16 +1,17 @@
1
- "use client";export { ThemeProvider, ThemeScript, ThemeToggle, buildThemeScript, useTheme } from './chunk-5JRM3OES.js';
2
- import './chunk-A5WQLN4B.js';
3
- import './chunk-42FCPC77.js';
4
- import './chunk-C6OTOTKI.js';
5
- import './chunk-6IUTVDNI.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-TBN644IN.js';
7
+ import './chunk-7ZM7SNCZ.js';
8
8
  import './chunk-52IFGFTL.js';
9
- import './chunk-4R7WDDCW.js';
10
- import './chunk-AC6ZWKRN.js';
9
+ import './chunk-KZP6B6B3.js';
10
+ import './chunk-AFYXSZGW.js';
11
11
  import './chunk-O4GRKO3I.js';
12
12
  import './chunk-BLIZ3CL3.js';
13
- import './chunk-QDYE5LVT.js';
14
13
  import './chunk-ZSNJ6UA3.js';
14
+ import './chunk-RJTVCA62.js';
15
+ import './chunk-QDYE5LVT.js';
15
16
  //# sourceMappingURL=theme.js.map
16
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,16 +1,18 @@
1
- "use client";export { ToastProvider, toast } from './chunk-YLEHYDXC.js';
2
- import './chunk-A5WQLN4B.js';
3
- import './chunk-42FCPC77.js';
4
- import './chunk-C6OTOTKI.js';
5
- import './chunk-6IUTVDNI.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-TBN644IN.js';
8
+ import './chunk-7ZM7SNCZ.js';
8
9
  import './chunk-52IFGFTL.js';
9
- import './chunk-4R7WDDCW.js';
10
- import './chunk-AC6ZWKRN.js';
10
+ import './chunk-KZP6B6B3.js';
11
+ import './chunk-AFYXSZGW.js';
11
12
  import './chunk-O4GRKO3I.js';
12
13
  import './chunk-BLIZ3CL3.js';
13
- import './chunk-QDYE5LVT.js';
14
14
  import './chunk-ZSNJ6UA3.js';
15
+ import './chunk-RJTVCA62.js';
16
+ import './chunk-QDYE5LVT.js';
15
17
  //# sourceMappingURL=toast.js.map
16
18
  //# sourceMappingURL=toast.js.map
@@ -13,7 +13,7 @@
13
13
  * `tone` picks is which *relationship to the page* the tooltip has:
14
14
  *
15
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`, `Card` elevated), so
16
+ * library's other floating readouts (`Progress`'s value bubble, `DRAG_GHOST`, a lifted `Card`), so
17
17
  * a tooltip and a drag ghost over the same page are the same object. `bg-primary_alt` rather than
18
18
  * `bg-primary` for the documented reason: in dark, `bg-primary` IS the page (neutral-950) and a
19
19
  * black `shadow-lg` is invisible against it, so the fill has to do the elevating — `_alt` steps one
package/dist/tooltip.d.ts CHANGED
@@ -1,6 +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-Dmvb8v5K.js';
3
+ import { T as TooltipTone } from './tooltip-surface-C2I9o2QM.js';
4
4
 
5
5
  interface TooltipProviderProps {
6
6
  /** Grouped open delay (ms) shared by tooltips in this region. @default 300 */
@@ -40,7 +40,7 @@ interface TooltipProps {
40
40
  * split lives in the tokens, so this is not a theme switch.
41
41
  *
42
42
  * - `surface` — a raised panel, the same recipe as the library's other floating readouts
43
- * (`Progress`'s value bubble, the drag ghost, an elevated `Card`).
43
+ * (`Progress`'s value bubble, the drag ghost, a lifted `Card`).
44
44
  * - `inverse` — the always-dark chip. Reach for it over an image, a video frame, or a
45
45
  * `bg-primary-solid` stage, where a raised light panel competes with the content.
46
46
  *
package/dist/tooltip.js CHANGED
@@ -1,7 +1,7 @@
1
- "use client";export { TooltipExport as Tooltip } from './chunk-4R7WDDCW.js';
2
- import './chunk-AC6ZWKRN.js';
1
+ "use client";export { TooltipExport as Tooltip } from './chunk-KZP6B6B3.js';
2
+ import './chunk-AFYXSZGW.js';
3
3
  import './chunk-O4GRKO3I.js';
4
- import './chunk-QDYE5LVT.js';
5
4
  import './chunk-ZSNJ6UA3.js';
5
+ import './chunk-QDYE5LVT.js';
6
6
  //# sourceMappingURL=tooltip.js.map
7
7
  //# sourceMappingURL=tooltip.js.map