jenosize-ui 0.2.1 → 0.3.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 (225) hide show
  1. package/README.md +183 -63
  2. package/THIRD-PARTY-NOTICES.md +15 -0
  3. package/dist/GradientPicker-CQm3GT7F.d.ts +144 -0
  4. package/dist/{PaymentInput-Dn5WVQVy.d.ts → PaymentInput-Cz5jFB3p.d.ts} +1 -1
  5. package/dist/{Select-Dt5ARIH8.d.ts → Select-CXOAMlk7.d.ts} +15 -1
  6. package/dist/{TagInput-BaBeve6L.d.ts → TagInput-CzIrONr-.d.ts} +1 -1
  7. package/dist/area-chart.d.ts +2 -2
  8. package/dist/area-chart.js +7 -6
  9. package/dist/at-least-one-BZ2dsck-.d.ts +18 -0
  10. package/dist/avatar.d.ts +1 -1
  11. package/dist/avatar.js +12 -11
  12. package/dist/badge.d.ts +1 -1
  13. package/dist/badge.js +6 -6
  14. package/dist/bar-chart.d.ts +2 -2
  15. package/dist/bar-chart.js +7 -6
  16. package/dist/breadcrumb.d.ts +1 -1
  17. package/dist/breadcrumb.js +4 -4
  18. package/dist/button.d.ts +1 -1
  19. package/dist/button.js +11 -10
  20. package/dist/calendar.d.ts +1 -1
  21. package/dist/calendar.js +16 -15
  22. package/dist/callout.d.ts +4 -2
  23. package/dist/callout.js +12 -11
  24. package/dist/card.d.ts +59 -3
  25. package/dist/card.js +4 -4
  26. package/dist/carousel.d.ts +169 -0
  27. package/dist/carousel.js +9 -0
  28. package/dist/catalog.json +11180 -0
  29. package/dist/checkbox.js +8 -7
  30. package/dist/{chunk-MVG5MABV.js → chunk-26XQU3TC.js} +8 -8
  31. package/dist/{chunk-X2X7Q7NW.js → chunk-2R3QWWOT.js} +3 -3
  32. package/dist/{chunk-AIARANKE.js → chunk-3JQKVC2K.js} +4 -4
  33. package/dist/chunk-3P3QZPHV.js +109 -0
  34. package/dist/{chunk-GLKFFA7N.js → chunk-44AWXIQK.js} +5 -5
  35. package/dist/{chunk-FWRHBMWT.js → chunk-4Y32RIC7.js} +5 -19
  36. package/dist/{chunk-5XPMY2LF.js → chunk-5ECTNYKU.js} +5 -5
  37. package/dist/{chunk-6B6BWTXC.js → chunk-5GBA6X6A.js} +5 -5
  38. package/dist/{chunk-UGKELBNC.js → chunk-5SGF47TZ.js} +9 -9
  39. package/dist/{chunk-POQTE7JI.js → chunk-5XSR757T.js} +7 -7
  40. package/dist/{chunk-GZMDZF2V.js → chunk-6FGLABYH.js} +3 -3
  41. package/dist/{chunk-MCQG4H6T.js → chunk-6T3QAO5K.js} +12 -4
  42. package/dist/{chunk-SKRR3ZMP.js → chunk-737A4YNC.js} +3 -3
  43. package/dist/{chunk-AFYXSZGW.js → chunk-7LSUUEAF.js} +7 -5
  44. package/dist/{chunk-7VLYQR4D.js → chunk-7OFGPDYJ.js} +3 -3
  45. package/dist/{chunk-54SIZR63.js → chunk-7UCKFULR.js} +7 -7
  46. package/dist/{chunk-LQURV7HQ.js → chunk-7ZA3QZRP.js} +4 -4
  47. package/dist/{chunk-X2VMIBK5.js → chunk-A4YPUS6C.js} +4 -4
  48. package/dist/{chunk-5ZEUTSCV.js → chunk-B4OVIE2X.js} +6 -6
  49. package/dist/{chunk-P6CON2R2.js → chunk-BH32X25C.js} +3 -3
  50. package/dist/{chunk-667ZHY3T.js → chunk-BJHLW25G.js} +85 -538
  51. package/dist/{chunk-ULGCGKOE.js → chunk-BKBINQJZ.js} +4 -4
  52. package/dist/{chunk-CFFWYXDW.js → chunk-BXQFBFT7.js} +5 -5
  53. package/dist/{chunk-I6WMNXC7.js → chunk-CQGMOPLG.js} +6 -6
  54. package/dist/{chunk-FNQJJO63.js → chunk-CUONE6LA.js} +4 -4
  55. package/dist/{chunk-FFMTYQXE.js → chunk-CVCS5G3E.js} +43 -21
  56. package/dist/{chunk-33TOK7ES.js → chunk-DCKVNHV5.js} +5 -5
  57. package/dist/{chunk-A323V6AI.js → chunk-DYRGHXT5.js} +3 -3
  58. package/dist/{chunk-T4ZFZTY6.js → chunk-EHML2DLR.js} +4 -4
  59. package/dist/{chunk-N3RVMBPX.js → chunk-EJKQGUUM.js} +4 -4
  60. package/dist/{chunk-E2YZ7IMT.js → chunk-ESDSTS5N.js} +6 -6
  61. package/dist/{chunk-LCG34A5T.js → chunk-EVINS473.js} +5 -3
  62. package/dist/chunk-EXRVOGJ5.js +325 -0
  63. package/dist/{chunk-YHBI52P2.js → chunk-GDW6NFYN.js} +3 -3
  64. package/dist/chunk-GOCO45FF.js +619 -0
  65. package/dist/{chunk-7ZM7SNCZ.js → chunk-GPHGPY6T.js} +3 -3
  66. package/dist/{chunk-PO2TYK3C.js → chunk-GWYDOZGQ.js} +3 -3
  67. package/dist/{chunk-LO22VQL5.js → chunk-HNNNJP3A.js} +4 -4
  68. package/dist/{chunk-ZZSNTCCL.js → chunk-IESEBPYA.js} +4 -4
  69. package/dist/{chunk-3H444OJA.js → chunk-JZ4HGFWK.js} +3 -3
  70. package/dist/chunk-KBQJIVUB.js +33 -0
  71. package/dist/{chunk-CKMWBVRR.js → chunk-KCM4KEZ2.js} +4 -4
  72. package/dist/{chunk-3QXLIZIX.js → chunk-KNGJ3CSB.js} +3 -3
  73. package/dist/{chunk-FH7Z7SGQ.js → chunk-KNW3IUWX.js} +12 -11
  74. package/dist/{chunk-KZP6B6B3.js → chunk-KTWTYK5U.js} +16 -5
  75. package/dist/{chunk-LYXPJERB.js → chunk-L7Z6XGBU.js} +5 -5
  76. package/dist/{chunk-ZHAT2XZ4.js → chunk-LLUWBQK6.js} +10 -10
  77. package/dist/{chunk-QHH6AUR3.js → chunk-MDKVYC6R.js} +7 -7
  78. package/dist/{chunk-22M75A3N.js → chunk-MS6DY4CE.js} +14 -11
  79. package/dist/{chunk-LLPWQDF7.js → chunk-MTOTPAYZ.js} +3 -3
  80. package/dist/{chunk-AZ7DKRBY.js → chunk-MVF7FA4D.js} +5 -5
  81. package/dist/{chunk-AIGYMTCU.js → chunk-MVUNB43J.js} +3 -3
  82. package/dist/{chunk-ZMFY7WAY.js → chunk-O24HHIQG.js} +41 -39
  83. package/dist/{chunk-NKG4N6HA.js → chunk-O5EHNNPS.js} +4 -4
  84. package/dist/{chunk-5DP7W5HX.js → chunk-OIPFTJS6.js} +3 -3
  85. package/dist/{chunk-U4WSJAYK.js → chunk-OXNIEIOY.js} +20 -20
  86. package/dist/chunk-P2BGR77C.js +344 -0
  87. package/dist/{chunk-CGHYXWTT.js → chunk-PFAFTLN3.js} +4 -4
  88. package/dist/{chunk-4RBIWI2Q.js → chunk-Q2KR7PSX.js} +3 -3
  89. package/dist/{chunk-7GUPNTAH.js → chunk-QSOLK2I2.js} +7 -7
  90. package/dist/chunk-QTWRR7IS.js +1129 -0
  91. package/dist/{chunk-OLLD2BZN.js → chunk-QZHAL4BL.js} +3 -3
  92. package/dist/{chunk-OACWA4TC.js → chunk-R25NHHYT.js} +6 -6
  93. package/dist/{chunk-QDKETK7D.js → chunk-S55JKMG7.js} +5 -5
  94. package/dist/{chunk-S5TEWPWW.js → chunk-S5LLA36K.js} +10 -10
  95. package/dist/{chunk-QDYE5LVT.js → chunk-SF3HCW4G.js} +45 -4
  96. package/dist/{chunk-KHGW72BM.js → chunk-SGMVB7HD.js} +3 -3
  97. package/dist/{chunk-FKVPAEJ6.js → chunk-SKJC2KYD.js} +4 -3
  98. package/dist/chunk-SKPKL47Y.js +5671 -0
  99. package/dist/{chunk-6MMBQVRO.js → chunk-TCTTZHUS.js} +9 -9
  100. package/dist/chunk-U5X3MLM5.js +67 -0
  101. package/dist/chunk-UHSGD4CD.js +364 -0
  102. package/dist/chunk-UJ4WEQHR.js +525 -0
  103. package/dist/{chunk-6H4LNWQ7.js → chunk-VDFWWWLL.js} +9 -4
  104. package/dist/{chunk-5KSD4WKN.js → chunk-VIKV25VP.js} +5 -5
  105. package/dist/chunk-WJB5GWAZ.js +20 -0
  106. package/dist/{chunk-HHYEAFCL.js → chunk-XAQQ4LYL.js} +11 -11
  107. package/dist/{chunk-4VGEJG4M.js → chunk-XCFFM2C7.js} +9 -9
  108. package/dist/chunk-XKTD3X6Z.js +183 -0
  109. package/dist/{chunk-GQRSABRN.js → chunk-XWXXKEG6.js} +4 -4
  110. package/dist/chunk-YGFTNICV.js +110 -0
  111. package/dist/{chunk-T5574MXM.js → chunk-YGJL7QS7.js} +8 -8
  112. package/dist/{chunk-SB3DG572.js → chunk-YKPTUANT.js} +6 -6
  113. package/dist/{chunk-YQYVGWIC.js → chunk-YQAYAJ2T.js} +33 -11
  114. package/dist/chunk-YXYZW6WU.js +998 -0
  115. package/dist/{chunk-IQNVSQRK.js → chunk-Z6NSOC6T.js} +5 -5
  116. package/dist/{chunk-BBKE4W3B.js → chunk-ZAWGG4H2.js} +7 -7
  117. package/dist/{chunk-BFVJHH7S.js → chunk-ZF362B2X.js} +5 -5
  118. package/dist/{chunk-RJTVCA62.js → chunk-ZJIY642R.js} +3 -3
  119. package/dist/color-input.d.ts +93 -0
  120. package/dist/color-input.js +35 -0
  121. package/dist/color-picker.d.ts +268 -0
  122. package/dist/color-picker.js +28 -0
  123. package/dist/color-value-DYzChVOW.d.ts +129 -0
  124. package/dist/combobox.d.ts +1 -1
  125. package/dist/combobox.js +13 -12
  126. package/dist/date-calendar.d.ts +49 -0
  127. package/dist/date-calendar.js +12 -0
  128. package/dist/date-input.d.ts +1 -1
  129. package/dist/date-input.js +11 -10
  130. package/dist/date-picker.d.ts +15 -131
  131. package/dist/date-picker.js +26 -22
  132. package/dist/date-types-DrDdF6WJ.d.ts +100 -0
  133. package/dist/dialog.d.ts +1 -1
  134. package/dist/dialog.js +10 -10
  135. package/dist/drawer.d.ts +1 -1
  136. package/dist/drawer.js +9 -9
  137. package/dist/dropdown-menu.d.ts +1 -1
  138. package/dist/dropdown-menu.js +6 -6
  139. package/dist/dropzone.d.ts +3 -3
  140. package/dist/dropzone.js +17 -16
  141. package/dist/form.d.ts +15 -5
  142. package/dist/form.js +75 -36
  143. package/dist/header-navigation.d.ts +2 -2
  144. package/dist/header-navigation.js +21 -20
  145. package/dist/helper.d.ts +1 -1
  146. package/dist/index.d.ts +25 -11
  147. package/dist/index.js +92 -79
  148. package/dist/indicator.js +4 -4
  149. package/dist/inline-banner.d.ts +68 -0
  150. package/dist/inline-banner.js +20 -0
  151. package/dist/input.d.ts +1 -1
  152. package/dist/input.js +10 -9
  153. package/dist/kanban-board.d.ts +2 -2
  154. package/dist/kanban-board.js +16 -15
  155. package/dist/labels-C992bt7G.d.ts +1160 -0
  156. package/dist/line-chart.d.ts +2 -2
  157. package/dist/line-chart.js +7 -6
  158. package/dist/mcp.js +231 -0
  159. package/dist/number-input.d.ts +1 -1
  160. package/dist/number-input.js +10 -9
  161. package/dist/pagination.d.ts +1 -1
  162. package/dist/pagination.js +14 -13
  163. package/dist/{card-D56VxyAe.d.ts → panel-CUGm_Mxy.d.ts} +9 -57
  164. package/dist/payment-input.d.ts +3 -3
  165. package/dist/payment-input.js +10 -9
  166. package/dist/picker-draft-BPV3MUPY.d.ts +9 -0
  167. package/dist/pie-chart.d.ts +2 -2
  168. package/dist/pie-chart.js +7 -6
  169. package/dist/popover.d.ts +65 -4
  170. package/dist/popover.js +9 -9
  171. package/dist/progress-steps.js +4 -4
  172. package/dist/progress.js +3 -3
  173. package/dist/provider.d.ts +1 -1
  174. package/dist/provider.js +3 -3
  175. package/dist/qr-code.d.ts +227 -0
  176. package/dist/qr-code.js +19 -0
  177. package/dist/radar-chart.d.ts +2 -2
  178. package/dist/radar-chart.js +7 -6
  179. package/dist/radial-chart.d.ts +2 -2
  180. package/dist/radial-chart.js +7 -6
  181. package/dist/radio.js +8 -7
  182. package/dist/rich-text-editor.d.ts +624 -0
  183. package/dist/rich-text-editor.js +51 -0
  184. package/dist/rich-text-highlight.d.ts +11 -0
  185. package/dist/rich-text-highlight.js +65 -0
  186. package/dist/rich-text-sanitize.d.ts +17 -0
  187. package/dist/rich-text-sanitize.js +176 -0
  188. package/dist/scroll-area.js +2 -2
  189. package/dist/select.d.ts +2 -2
  190. package/dist/select.js +17 -16
  191. package/dist/separator.js +2 -2
  192. package/dist/shared-CGf2D8ZX.d.ts +20 -0
  193. package/dist/sidebar-navigation.d.ts +76 -27
  194. package/dist/sidebar-navigation.js +16 -15
  195. package/dist/sidebar-state.d.ts +76 -0
  196. package/dist/sidebar-state.js +27 -0
  197. package/dist/skeleton.js +2 -2
  198. package/dist/slider.d.ts +321 -0
  199. package/dist/slider.js +13 -0
  200. package/dist/styles.css +1 -1
  201. package/dist/switch.d.ts +1 -1
  202. package/dist/switch.js +2 -2
  203. package/dist/table.d.ts +3 -19
  204. package/dist/table.js +34 -33
  205. package/dist/tabs.js +2 -2
  206. package/dist/tag-input.d.ts +3 -3
  207. package/dist/tag-input.js +13 -12
  208. package/dist/tag.d.ts +1 -1
  209. package/dist/tag.js +4 -4
  210. package/dist/textarea.js +8 -7
  211. package/dist/theme.css +965 -0
  212. package/dist/theme.js +12 -11
  213. package/dist/toast.d.ts +1 -1
  214. package/dist/toast.js +12 -11
  215. package/dist/tooltip.js +4 -3
  216. package/dist/tree.d.ts +1 -1
  217. package/dist/tree.js +6 -6
  218. package/dist/{types-DR9rAEy1.d.ts → types-DYFl0CEB.d.ts} +1 -1
  219. package/dist/{use-uploads-KaPqDklo.d.ts → use-uploads-2E7n0PWT.d.ts} +1 -1
  220. package/dist/verification-code-input.js +10 -9
  221. package/package.json +92 -8
  222. package/dist/chunk-BLIZ3CL3.js +0 -49
  223. package/dist/labels-DPrh0se9.d.ts +0 -627
  224. package/dist/panel-El4oI68p.d.ts +0 -9
  225. package/dist/shared-BYXJPnsN.d.ts +0 -11
@@ -0,0 +1,1160 @@
1
+ declare const AVATAR_LABELS: {
2
+ /** The verified indicator's accessible name — the one Avatar marker that carries meaning. */
3
+ verified: string;
4
+ /** The `+N` tile's trigger, when the group's overflow opens a list. */
5
+ showMore: (ctx: {
6
+ count: number;
7
+ }) => string;
8
+ /** The `+N` tile itself, which is a `role="img"` and needs a name of its own. */
9
+ overflowCount: (ctx: {
10
+ count: number;
11
+ }) => string;
12
+ /** The overflow list with nothing in it. */
13
+ empty: string;
14
+ /** A revealed avatar that carries no `name`. */
15
+ unknownName: string;
16
+ /** The presence dot's two states — the marker is a dot, so its name is all it says. */
17
+ online: string;
18
+ offline: string;
19
+ };
20
+ type AvatarLabels = LabelOverrides<typeof AVATAR_LABELS>;
21
+
22
+ /** The default behind the `dismissLabel` prop — the prop is still the per-instance answer. */
23
+ declare const BADGE_LABELS: {
24
+ dismiss: string;
25
+ };
26
+ type BadgeLabels = LabelOverrides<typeof BADGE_LABELS>;
27
+
28
+ declare const BREADCRUMB_LABELS: {
29
+ /** The "…" trigger. The English default owns its own `count === 1` branch — a language with a
30
+ * different plural rule owns the whole function, which is why this is not a string. */
31
+ showHidden: (ctx: {
32
+ count: number;
33
+ }) => string;
34
+ };
35
+ type BreadcrumbLabels = LabelOverrides<typeof BREADCRUMB_LABELS>;
36
+
37
+ /** `CloseButton` is what Dialog, AlertDialog, Drawer and Popover render, so this one key names
38
+ * every overlay's close affordance. The `label` prop remains the per-instance override. */
39
+ declare const CLOSE_BUTTON_LABELS: {
40
+ close: string;
41
+ };
42
+ type CloseButtonLabels = LabelOverrides<typeof CLOSE_BUTTON_LABELS>;
43
+
44
+ /**
45
+ * Every ctx here carries an **already-formatted** display string (`when`, `time`, `period`),
46
+ * produced by `formatIn` with the resolved locale, timezone and era. A label function never
47
+ * receives a `Date` — formatting is the calendar's decision and translation only reorders words.
48
+ */
49
+ declare const CALENDAR_LABELS: {
50
+ /** The grid's landmark name, when the caller gave none. */
51
+ nav: (ctx: {
52
+ period: string;
53
+ }) => string;
54
+ agendaEmpty: string;
55
+ /** VISIBLE — the time grid's all-day row, in the hour gutter. Lowercase, matching the hour labels
56
+ * beneath it ("9 AM"), and the one string in this scope a user READS rather than hears. */
57
+ allDay: string;
58
+ /** A day cell that cannot take an event. */
59
+ unavailable: (ctx: {
60
+ name: string;
61
+ }) => string;
62
+ /** A time-grid slot button — the same "(unavailable)" suffix, on a name that includes the hour. */
63
+ slot: (ctx: {
64
+ when: string;
65
+ placeable: boolean;
66
+ }) => string;
67
+ /** The week-of-month readout. */
68
+ weekNumber: (ctx: {
69
+ week: number;
70
+ }) => string;
71
+ grabbed: (ctx: {
72
+ title: string;
73
+ }) => string;
74
+ movedTo: (ctx: {
75
+ title: string;
76
+ when: string;
77
+ }) => string;
78
+ nowEndsAt: (ctx: {
79
+ title: string;
80
+ time: string;
81
+ }) => string;
82
+ };
83
+ type CalendarLabels = LabelOverrides<typeof CALENDAR_LABELS>;
84
+
85
+ declare const CAROUSEL_LABELS: {
86
+ /** The region's `aria-roledescription`. A screen reader reads it after the name, so a site that
87
+ * ships a Thai UI says "แกลเลอรี" rather than the English word. */
88
+ roleDescription: string;
89
+ /** Each slide's `aria-roledescription`. */
90
+ slideRoleDescription: string;
91
+ previous: string;
92
+ next: string;
93
+ /**
94
+ * The live region's text, and each slide's fallback accessible name.
95
+ *
96
+ * `index` is 1-based and `total` is the slide count — both already decided by the component, which
97
+ * is what a ctx carries: formatted display values, never an engine index. A language that puts the
98
+ * total first overrides the whole function rather than fighting the word order.
99
+ */
100
+ slideOf: (ctx: {
101
+ index: number;
102
+ total: number;
103
+ }) => string;
104
+ /** Each indicator button, and each thumbnail. Deliberately not just "Slide 3" — the position is the
105
+ * whole information a dot carries, and "3" alone does not say how far there is to go. */
106
+ goToSlide: (ctx: {
107
+ index: number;
108
+ total: number;
109
+ }) => string;
110
+ /**
111
+ * Each indicator button once one press moves SEVERAL slides — `slides.perView > 1` or `step > 1`.
112
+ *
113
+ * A second key rather than a re-numbered `goToSlide`, because the component now has two countable
114
+ * things and they do not agree: the pips count PAGES (four items three-per-view is two pages, and
115
+ * `containScroll: "trimSnaps"` is what drops the third), while the thumbnail strip stays one thumb
116
+ * per SLIDE — a picture of slide 3 is not a picture of page 2. `goToSlide` keeps the strip and every
117
+ * ungrouped carousel's pips, so the default English of a one-slide-per-view carousel is unchanged.
118
+ */
119
+ goToPage: (ctx: {
120
+ index: number;
121
+ total: number;
122
+ }) => string;
123
+ /** The indicator strip's group name. */
124
+ slides: string;
125
+ /** The thumbnail strip's group name. */
126
+ thumbnails: string;
127
+ /** The autoplay toggle, whose LABEL is the state (there is no `aria-pressed` — a toggle that
128
+ * changes both announces twice). */
129
+ pause: string;
130
+ play: string;
131
+ /** Announced when the toggle is used. */
132
+ paused: string;
133
+ playing: string;
134
+ };
135
+ type CarouselLabels = LabelOverrides<typeof CAROUSEL_LABELS>;
136
+
137
+ /**
138
+ * Every string the colour family authors on the caller's behalf.
139
+ *
140
+ * Almost all of it is an accessible name or a live value readout — the half of a picker a sighted
141
+ * user never sees and a screen-reader user has nothing BUT. The value texts are `Label<Ctx>`
142
+ * functions rather than a `{token}` grammar, and their ctx carries already-FORMATTED display strings
143
+ * (`"62%"`, `"259"`), never numbers: rounding and percent notation are the component's decision, and
144
+ * the label only reorders words.
145
+ */
146
+ declare const COLOR_PICKER_LABELS: {
147
+ /** The saturation plane, and the two tracks. */
148
+ area: string;
149
+ hue: string;
150
+ alpha: string;
151
+ /** A track that edits opacity as its OWN subject rather than as a colour's channel. */
152
+ opacity: string;
153
+ /** The Solid / Gradient strip. A single mode renders no strip, so these appear together. */
154
+ mode: string;
155
+ solid: string;
156
+ gradient: string;
157
+ /** The value row. */
158
+ format: string;
159
+ value: string;
160
+ alphaPercent: string;
161
+ eyedropper: string;
162
+ /** `<ColorInput>` — the bar, and the staged footer under `commit="confirm"`. */
163
+ placeholder: string;
164
+ openPicker: string;
165
+ required: string;
166
+ cancel: string;
167
+ apply: string;
168
+ /** The gradient body: the direction area, the type row, and the stop list. */
169
+ direction: string;
170
+ gradientType: string;
171
+ typeLinear: string;
172
+ typeRadial: string;
173
+ typeAngular: string;
174
+ typeDiamond: string;
175
+ reverse: string;
176
+ stops: string;
177
+ stopRail: string;
178
+ addStop: string;
179
+ stopOffset: string;
180
+ /** Each endpoint handle and each rail thumb names the stop it moves. */
181
+ stopAt: (c: {
182
+ percent: string;
183
+ }) => string;
184
+ removeStop: (c: {
185
+ percent: string;
186
+ }) => string;
187
+ /** The swatch grid and its header. */
188
+ saved: string;
189
+ add: string;
190
+ swatches: string;
191
+ emptyPalette: string;
192
+ gradientSwatches: string;
193
+ emptyGradients: string;
194
+ areaValue: (c: {
195
+ saturation: string;
196
+ brightness: string;
197
+ }) => string;
198
+ hueValue: (c: {
199
+ degrees: string;
200
+ }) => string;
201
+ alphaValue: (c: {
202
+ percent: string;
203
+ }) => string;
204
+ swatch: (c: {
205
+ color: string;
206
+ }) => string;
207
+ addSwatch: (c: {
208
+ color: string;
209
+ }) => string;
210
+ gradientSwatch: (c: {
211
+ gradient: string;
212
+ }) => string;
213
+ addGradientSwatch: (c: {
214
+ gradient: string;
215
+ }) => string;
216
+ };
217
+ type ColorPickerLabels = LabelOverrides<typeof COLOR_PICKER_LABELS>;
218
+
219
+ declare const COMBOBOX_LABELS: {
220
+ /** The trigger that opens the list without typing. */
221
+ showOptions: string;
222
+ /** The ✕ that empties the input. */
223
+ clear: string;
224
+ /** A multi-value chip's remove button, named after the value it drops. */
225
+ removeValue: (ctx: {
226
+ label: string;
227
+ }) => string;
228
+ /** The free-text creation row. */
229
+ create: (ctx: {
230
+ query: string;
231
+ }) => string;
232
+ /** Defaults behind the `placeholder`, `emptyMessage` and loading props — each prop still wins. */
233
+ placeholder: string;
234
+ emptyMessage: string;
235
+ loading: string;
236
+ };
237
+ type ComboboxLabels = LabelOverrides<typeof COMBOBOX_LABELS>;
238
+
239
+ /**
240
+ * Each segment's accessible name. Untranslated, a DateInput announces "Month, spinbutton" in English
241
+ * inside an otherwise Thai form — the segments are what the user actually focuses, so this is the
242
+ * whole control as far as a screen reader is concerned.
243
+ *
244
+ * `dayPeriod` is a FORMAT rather than prose in many locales; the key exists because some do
245
+ * translate it, and leaving one member of a seven-member table untranslatable is worse than
246
+ * offering it.
247
+ */
248
+ declare const DATE_INPUT_LABELS: {
249
+ month: string;
250
+ day: string;
251
+ year: string;
252
+ hour: string;
253
+ minute: string;
254
+ second: string;
255
+ dayPeriod: string;
256
+ };
257
+ type DateInputLabels = LabelOverrides<typeof DATE_INPUT_LABELS>;
258
+
259
+ /** One scope for the whole picker family — `DatePicker`, `DateRangePicker` and the two calendars,
260
+ * which share `picker-shared.tsx`. */
261
+ declare const DATE_PICKER_LABELS: {
262
+ /** The trigger's accessible name when the field has no `label`. */
263
+ openCalendar: string;
264
+ openRange: string;
265
+ /** The two typed segments of a range. */
266
+ startDate: string;
267
+ endDate: string;
268
+ /** The confirm footer, shown under `commit="confirm"`. */
269
+ cancel: string;
270
+ apply: string;
271
+ /** Defaults behind the `placeholder` props — each prop still wins. */
272
+ placeholder: string;
273
+ rangePlaceholder: string;
274
+ /** Defaults behind the standalone calendars' `aria-label`. */
275
+ calendarName: string;
276
+ rangeCalendarName: string;
277
+ /**
278
+ * Appended to the trigger's accessible name when the field is required, visually hidden —
279
+ * `aria-required` is illegal on `role="button"`, so the requirement has to travel in the NAME.
280
+ *
281
+ * Deliberately the bare word, NOT the `", required"` that `FIELD_LABELS` and `DROPZONE_LABELS`
282
+ * carry: this converts an existing literal and the pass's rule is that a default is byte-identical
283
+ * to what it replaced. The three spellings SHOULD agree — the comma is a pause a screen reader
284
+ * honours — but changing what a picker announces is a decision, not a conversion.
285
+ */
286
+ required: string;
287
+ };
288
+ type DatePickerLabels = LabelOverrides<typeof DATE_PICKER_LABELS>;
289
+
290
+ declare const DROPZONE_LABELS: {
291
+ /** The bright half of the prompt — a real `<button>`, which is why it is its own key. */
292
+ clickToUpload: string;
293
+ /**
294
+ * The muted remainder of the same sentence.
295
+ *
296
+ * The two halves are ONE sentence split across an element boundary for styling, and the styled
297
+ * action always comes first. A language that cannot keep that order sets `clickToUpload` to the
298
+ * whole phrase and `dragAndDrop` to `""` (or the reverse) — deliberately a documented workaround
299
+ * rather than a third "whole sentence" key, because interpolating a styled NODE would mean a ctx
300
+ * carrying markup, which this layer does not do.
301
+ */
302
+ dragAndDrop: string;
303
+ /** Appended to the zone's accessible name when the field is required. */
304
+ required: string;
305
+ };
306
+ type DropzoneLabels = LabelOverrides<typeof DROPZONE_LABELS>;
307
+ declare const FILE_LIST_LABELS: {
308
+ /** The three status words, visible beside each row's glyph. */
309
+ statusUploading: string;
310
+ statusComplete: string;
311
+ statusFailed: string;
312
+ /** The row affordance's verb, which also composes into its accessible name. */
313
+ cancel: string;
314
+ remove: string;
315
+ /** The retry link under a failed row. */
316
+ retry: string;
317
+ /** The fallback failure line, when the upload reported no error of its own. */
318
+ uploadFailed: string;
319
+ /** A bare "Remove" makes a five-row list announce five identical buttons, so the file's name is
320
+ * part of the name. */
321
+ actionForFile: (ctx: {
322
+ verb: string;
323
+ name: string;
324
+ }) => string;
325
+ /** The progress bar's name while a row uploads. */
326
+ uploading: (ctx: {
327
+ name: string;
328
+ }) => string;
329
+ };
330
+ type FileListLabels = LabelOverrides<typeof FILE_LIST_LABELS>;
331
+
332
+ /**
333
+ * The Field frame's own copy. It lives on `FieldFrame` / `FieldGroupFrame`, so ONE table serves all
334
+ * 14 Field controls — this is deliberately NOT a per-control `labels` prop, because the frame-parity
335
+ * contract (AGENTS §6) is about the shared frame PROPS and this string is the frame's own.
336
+ */
337
+ declare const FIELD_LABELS: {
338
+ /** Appended to a required control's accessible name, visually hidden. Leading comma included:
339
+ * it is a name FRAGMENT ("Email, required"), not a sentence. */
340
+ required: string;
341
+ };
342
+ type FieldLabels = LabelOverrides<typeof FIELD_LABELS>;
343
+
344
+ declare const HEADER_NAVIGATION_LABELS: {
345
+ /** The mobile drawer trigger's tooltip, which is also its accessible name. */
346
+ openNavigation: string;
347
+ /** The brand lockup, which is a link with a logo inside and therefore no text of its own. */
348
+ homepage: string;
349
+ };
350
+ type HeaderNavigationLabels = LabelOverrides<typeof HEADER_NAVIGATION_LABELS>;
351
+
352
+ /** The password reveal toggle, whose name flips with state — it names the ACTION, not the state. */
353
+ declare const INPUT_LABELS: {
354
+ showPassword: string;
355
+ hidePassword: string;
356
+ };
357
+ type InputLabels = LabelOverrides<typeof INPUT_LABELS>;
358
+
359
+ declare const KANBAN_BOARD_LABELS: {
360
+ expandColumn: string;
361
+ collapseColumn: string;
362
+ /** The per-column overflow menu's trigger tooltip. */
363
+ columnActions: string;
364
+ /** The fallback behind a column's own `emptyMessage`. */
365
+ emptyColumn: string;
366
+ loadMore: string;
367
+ loading: string;
368
+ loadFailed: string;
369
+ grabbed: (ctx: {
370
+ label: string;
371
+ }) => string;
372
+ /**
373
+ * The cursor's position, as a FRAGMENT composed into three other messages.
374
+ *
375
+ * It stays a separate key precisely because it is a fragment: a translation that reorders
376
+ * "lane, column, position N of M" cannot do so if the phrase is baked into its three callers.
377
+ * The ctx carries already-resolved display titles, never board internals.
378
+ */
379
+ positionText: (ctx: {
380
+ lane?: string;
381
+ column: string;
382
+ index: number;
383
+ total: number;
384
+ }) => string;
385
+ position: (ctx: {
386
+ label: string;
387
+ position: string;
388
+ }) => string;
389
+ dropped: (ctx: {
390
+ label: string;
391
+ position: string;
392
+ }) => string;
393
+ cancelled: (ctx: {
394
+ label: string;
395
+ column: string;
396
+ }) => string;
397
+ /** The COLUMN reorder (Alt+←/→ on a header), announced through the same one status region. */
398
+ columnMoved: (ctx: {
399
+ column: string;
400
+ index: number;
401
+ total: number;
402
+ }) => string;
403
+ /**
404
+ * Every card's `aria-describedby` — the longest single sentence the board speaks, and the last one
405
+ * still hard-coded. It hid in a module `const`, which is a shape no gate rule matches, behind a
406
+ * `sr-only` the line-scoped `sr-only` rule could not see across.
407
+ */
408
+ grabHint: string;
409
+ /**
410
+ * `aria-roledescription` — spoken IN PLACE OF the role, so an untranslated value leaves a screen
411
+ * reader with no fallback at all. Three of them, and the gate had no rule for the attribute.
412
+ */
413
+ roleBoard: string;
414
+ roleColumn: string;
415
+ roleCard: string;
416
+ };
417
+ type KanbanBoardLabels = LabelOverrides<typeof KANBAN_BOARD_LABELS>;
418
+
419
+ /** The stepper's two affordances. Both increment buttons (the ± pair and the chevron stack) share
420
+ * one name — they are the same action drawn twice, and a screen reader should not learn two. */
421
+ declare const NUMBER_INPUT_LABELS: {
422
+ decrease: string;
423
+ increase: string;
424
+ };
425
+ type NumberInputLabels = LabelOverrides<typeof NUMBER_INPUT_LABELS>;
426
+
427
+ declare const PAGINATION_LABELS: {
428
+ /** The `<nav>` landmark. */
429
+ nav: string;
430
+ /** VISIBLE — the readout word before the page number. */
431
+ page: string;
432
+ /**
433
+ * VISIBLE — the words AFTER the page number, carrying the total: `Page` [3] `of 12`.
434
+ *
435
+ * Two keys bracketing the number rather than one whole-sentence key, because under `goto` the
436
+ * middle of that sentence is an `<input>`. A label returns a STRING, so it cannot wrap a node —
437
+ * the field has to sit between two labels. Thai keeps the same order (`หน้า` 3 `จาก 12`), so the
438
+ * bracket is a fit here and not a compromise; a language that puts the total first would need
439
+ * this pair rethought, and the existing `page` key already carried that constraint.
440
+ */
441
+ ofTotal: (ctx: {
442
+ total: number;
443
+ }) => string;
444
+ /** The jump input's accessible name. */
445
+ goToPage: string;
446
+ /** Each numbered button. */
447
+ pageNumber: (ctx: {
448
+ page: number;
449
+ }) => string;
450
+ /** VISIBLE and also the select's accessible name — one key, both sites, because they are one
451
+ * phrase and a translation that split them would be saying two things. */
452
+ rowsPerPage: string;
453
+ /**
454
+ * VISIBLE — the result count beside the pager.
455
+ *
456
+ * `formatted` arrives already locale-grouped (`"1,204"`), because formatting is the component's
457
+ * decision and a translator must never have to reimplement `toLocaleString`. `count` is the raw
458
+ * number, there for a plural rule: English owns its own two-form branch here, so a language with
459
+ * three forms overrides the whole function rather than fighting a hard-coded `s`.
460
+ */
461
+ results: (ctx: {
462
+ count: number;
463
+ formatted: string;
464
+ }) => string;
465
+ first: string;
466
+ previous: string;
467
+ next: string;
468
+ last: string;
469
+ };
470
+ type PaginationLabels = LabelOverrides<typeof PAGINATION_LABELS>;
471
+
472
+ /** The two validation sentences the control writes itself. Both already have per-instance props
473
+ * (`brandError` / `luhnError`); this is what those props default to. */
474
+ declare const PAYMENT_INPUT_LABELS: {
475
+ brandError: string;
476
+ luhnError: string;
477
+ };
478
+ type PaymentInputLabels = LabelOverrides<typeof PAYMENT_INPUT_LABELS>;
479
+
480
+ /**
481
+ * Four strings. The accessible name is the interesting one: it is a sentence with a hole, so it is a
482
+ * `Label<Ctx>` function rather than a `{token}` grammar — a grammar cannot express a plural and `Intl`
483
+ * belongs to the app. Its ctx carries the value as an already-FORMATTED display string, never a URL
484
+ * object, because reordering words is all a translator should have to do.
485
+ */
486
+ declare const QR_CODE_LABELS: {
487
+ /** The `sr-only` text the `role="img"` svg is named by. */
488
+ name: (ctx: {
489
+ value: string;
490
+ }) => string;
491
+ /** Shown in place of the name when `value` did not encode. */
492
+ unavailable: string;
493
+ downloadPng: string;
494
+ downloadSvg: string;
495
+ };
496
+ type QrCodeLabels = LabelOverrides<typeof QR_CODE_LABELS>;
497
+
498
+ /**
499
+ * The editor's copy. **Every toolbar control's accessible name lives here**, because a toolbar is
500
+ * ~13 icon-only buttons and an icon-only button's name IS its whole announcement — a hard-coded
501
+ * literal there is a component that cannot be translated at all, not a cosmetic slip.
502
+ *
503
+ * Two things deliberately NOT in this table:
504
+ *
505
+ * - **`placeholder`** — it is per-instance CONTENT, so it stays a prop. Same rule as
506
+ * `emptyMessage`/`label` elsewhere in the library: the table only supplies what a prop DEFAULTS
507
+ * to, and this one has no default worth having.
508
+ * - **The keyboard shortcut hints** (`⌘B`). They are not copy — the modifier glyph is a platform
509
+ * fact and the letter comes from Tiptap's own keymap, so a translator overriding them could only
510
+ * make them wrong. They are composed at the call site from {@link RICH_TEXT_EDITOR_LABELS.shortcut}
511
+ * plus the registry's own `shortcut` string.
512
+ *
513
+ * Per AGENTS §4, every default here is the exact English the component would otherwise have
514
+ * hard-coded, so adding this table changes no rendered pixel.
515
+ */
516
+ declare const RICH_TEXT_EDITOR_LABELS: {
517
+ /** The `role="toolbar"` container's accessible name. */
518
+ toolbar: string;
519
+ /** The editable region itself, when the caller supplies no `label`/`aria-label`. */
520
+ editor: string;
521
+ /** The bubble strip's own name. **Distinct from {@link RICH_TEXT_EDITOR_LABELS.toolbar} on purpose**:
522
+ * with a `bubbleToolbar` configured there are two `role="toolbar"` regions on the page, and two of
523
+ * them answering to "Text formatting" is a landmark list a screen-reader user cannot navigate. */
524
+ bubbleToolbar: string;
525
+ /** The slash menu's `role="listbox"`. It is not "Commands" — the name has to say how it was reached,
526
+ * because it is the only surface here a user opens by typing a punctuation mark. */
527
+ slashMenu: string;
528
+ /** The `@` menu's `role="listbox"`. */
529
+ mentionMenu: string;
530
+ /** Shown in the `@` menu while the caller's `mentions` function has not answered yet. */
531
+ mentionLoading: string;
532
+ /** Shown when it answered with nobody. **The one status message that is not optional**: an empty
533
+ * directory result is an ANSWER, and a surface that closed instead would read as the feature being
534
+ * broken. The SLASH menu still has no equivalent — there, no rows means the character was prose. */
535
+ mentionEmpty: string;
536
+ bold: string;
537
+ italic: string;
538
+ underline: string;
539
+ strike: string;
540
+ clearFormat: string;
541
+ /** The block-type `<Select>`'s accessible name. */
542
+ blockType: string;
543
+ paragraph: string;
544
+ heading1: string;
545
+ heading2: string;
546
+ heading3: string;
547
+ bulletList: string;
548
+ orderedList: string;
549
+ indent: string;
550
+ outdent: string;
551
+ link: string;
552
+ /** The popover's own heading, when editing an existing link rather than adding one. */
553
+ editLink: string;
554
+ /** The URL field's visible label. */
555
+ linkUrl: string;
556
+ /** Confirm button in the link popover. */
557
+ linkApply: string;
558
+ /** Removes the mark without touching the text it covered. */
559
+ linkRemove: string;
560
+ /** Opens the current target in a new tab. */
561
+ linkOpen: string;
562
+ /** The strip that appears over a link the caret is sitting in. **Distinct from every other toolbar
563
+ * name in this table on purpose**, on the grounds {@link RICH_TEXT_EDITOR_LABELS.bubbleToolbar}
564
+ * gives: two `role="toolbar"` regions answering to one name is a landmark list nobody can
565
+ * navigate. "Actions" rather than "Link", which is already the TOOL's name. */
566
+ linkToolbar: string;
567
+ blockquote: string;
568
+ hr: string;
569
+ code: string;
570
+ codeBlock: string;
571
+ /** The code-block language `<Select>`'s accessible name. The language NAMES themselves are not copy
572
+ * — they are proper nouns, and live in `CODE_LANGUAGES` (see its TSDoc). */
573
+ codeLanguage: string;
574
+ /** The `plain` member's display name — the one language option that IS a word rather than a name. */
575
+ codeLanguagePlain: string;
576
+ taskList: string;
577
+ alignLeft: string;
578
+ alignCenter: string;
579
+ alignRight: string;
580
+ alignJustify: string;
581
+ superscript: string;
582
+ subscript: string;
583
+ /** The text-colour tool's accessible name and its popover's heading. */
584
+ textColor: string;
585
+ /** The highlight tool's. */
586
+ highlight: string;
587
+ /**
588
+ * The "no colour" chip in each grid, and it is a REMOVE rather than a colour — the only way back
589
+ * without it is Clear formatting, which also takes bold and italic with it.
590
+ *
591
+ * One key for both grids on purpose: a chip that removes a text colour and one that removes a
592
+ * highlight say the same word in every language this could be translated into, and two keys would
593
+ * be two things to keep in step for no gain.
594
+ */
595
+ colorNone: string;
596
+ /**
597
+ * How a colour chip announces itself — the swatch is a coloured square with no text, so this is
598
+ * its whole accessible name.
599
+ *
600
+ * A `Label<Ctx>` rather than a plain string because the colour's own name is the hole in the
601
+ * sentence, and that name may be the CALLER's (a custom `{ name, label }` slot brings its own
602
+ * label, which arrives here as `ctx.color`). The ctx carries an already-DISPLAY string, never a
603
+ * token or a hue id — formatting is the component's decision and the label only orders words.
604
+ */
605
+ colorSwatch: (ctx: {
606
+ color: string;
607
+ }) => string;
608
+ /** The highlight grid's equivalent. Separate from {@link colorSwatch} because the two grids are on
609
+ * screen at different times and "Highlight blue" is not "Text colour blue". */
610
+ markSwatch: (ctx: {
611
+ color: string;
612
+ }) => string;
613
+ /** The cell grid's equivalent. A third key rather than reusing {@link markSwatch}, even though the
614
+ * two grids paint from the SAME `--color-prose-*-mark` roles: what is being coloured is a table
615
+ * cell, not a run of text, and "Highlight blue" over a cell would name the wrong object. */
616
+ cellSwatch: (ctx: {
617
+ color: string;
618
+ }) => string;
619
+ /**
620
+ * The two group headings in the colour surface.
621
+ *
622
+ * `colorPalette` names the chips the SITE chose (`colors`); `colorCustom` names everything else —
623
+ * a literal already in the document, one the caller passed, and one saved this session. "Custom"
624
+ * rather than "Recent" or "In document" because it is the only word true of all three sources, and
625
+ * it is also what the second pane is: the same word does both jobs, so a reader who presses `+`
626
+ * lands somewhere that is still called what they pressed.
627
+ */
628
+ colorPalette: string;
629
+ colorCustom: string;
630
+ /**
631
+ * The `+` that opens the picker.
632
+ *
633
+ * Its visible text is the picker's own `add` ("Add"), because the button belongs to the row it
634
+ * sits in — but "Add" alone is not a name a screen-reader user can act on when the same panel also
635
+ * offers eight colours, so the accessible name says what is added.
636
+ */
637
+ colorAddCustom: string;
638
+ /** Back to the swatch groups. The picker pane is a SECOND pane of the same popover, not a second
639
+ * popover — so the way out of it is Back, and Esc still closes the whole thing. */
640
+ colorBack: string;
641
+ colorNeutral: string;
642
+ colorBrand: string;
643
+ colorRed: string;
644
+ colorAmber: string;
645
+ colorGreen: string;
646
+ colorBlue: string;
647
+ colorPurple: string;
648
+ colorPink: string;
649
+ image: string;
650
+ /** The popover's heading when an image is already selected. */
651
+ editImage: string;
652
+ imageUrl: string;
653
+ /** The alt field's visible label. Deliberately not marked optional in the copy: an empty alt is a
654
+ * decision (a decorative image), and the hint below says so. */
655
+ imageAlt: string;
656
+ imageAltHint: string;
657
+ imageApply: string;
658
+ imageRemove: string;
659
+ /** Turns the picture back into a text link to its own URL — the discoverable form of the undo that
660
+ * a paste already offers, for anyone who does not know ⌘Z reverts a transformation before it
661
+ * reverts content. Deliberately NOT worded like `imageHref` below: that one says where a picture
662
+ * NAVIGATES when clicked, this one says the picture should not be a picture at all. */
663
+ imageToLink: string;
664
+ /** Where the picture goes when clicked. Its own field rather than the link tool, because a picture is
665
+ * a block and cannot carry the link MARK — see `extensions.ts`. */
666
+ imageHref: string;
667
+ imageHrefHint: string;
668
+ /** Announced when a pasted URL turned out to be an image and the link was swapped for one. The
669
+ * document changed without the user acting — a few hundred milliseconds after they pasted — so it
670
+ * is the one edit in this component that owes a live region. */
671
+ imagePasteReplaced: string;
672
+ /** The strip that appears over a selected picture. **Distinct from both other toolbars on purpose**,
673
+ * for the reason {@link RICH_TEXT_EDITOR_LABELS.bubbleToolbar} gives: two regions answering to one
674
+ * name is two regions a screen-reader user cannot tell apart. */
675
+ imageToolbar: string;
676
+ /**
677
+ * Announced after a resize — by drag or by `Shift`+arrow — because the width is the one thing about
678
+ * the picture that changed and nothing on screen says it in words.
679
+ *
680
+ * `ctx.width` arrives **already formatted**, as a display string. Formatting a percentage is the
681
+ * component's decision (it owns the locale), and a label only orders the words around it — see
682
+ * `docs/i18n-policy.md`.
683
+ */
684
+ imageWidth: (ctx: {
685
+ width: string;
686
+ }) => string;
687
+ /** The other end of the same announcement: a picture narrower than the smallest painted step carries
688
+ * no width at all, so there is no percentage to read out — see `applyImageWidth`. */
689
+ imageNaturalWidth: string;
690
+ /** The full-screen toggle's name — and it does NOT flip to "Exit full screen" when it is on. The
691
+ * button carries `aria-pressed`, which is what states the mode, and a control that renames itself
692
+ * on press is one a screen-reader user cannot find twice. The GLYPH flips (see `ToolSpec.iconActive`),
693
+ * because sighted users read the arrows as the action rather than the state. */
694
+ fullscreen: string;
695
+ table: string;
696
+ tableRows: string;
697
+ tableColumns: string;
698
+ tableHeaderRow: string;
699
+ tableInsert: string;
700
+ /** **Level 1 of the table menu — the four group names**, which are also the tooltips on the floating
701
+ * strip's four group triggers. Each one names the AXIS PAIR rather than the group's internal key
702
+ * ("Insert row or column", not "Insert"): a submenu row and a tooltip are both read on their own,
703
+ * with nothing beside them to say what is being inserted. */
704
+ tableGroupInsert: string;
705
+ tableGroupDelete: string;
706
+ tableGroupCells: string;
707
+ tableGroupHeader: string;
708
+ tableAddRowBefore: string;
709
+ tableAddRowAfter: string;
710
+ tableAddColumnBefore: string;
711
+ tableAddColumnAfter: string;
712
+ tableDeleteRow: string;
713
+ tableDeleteColumn: string;
714
+ tableMergeCells: string;
715
+ tableSplitCell: string;
716
+ /** The two header toggles. Distinct from {@link tableHeaderRow}, which names the CHECKBOX in the
717
+ * insert grid ("should the table I am about to make have one") — this one names the op that turns
718
+ * an existing row into a header and back, and a translation that reused the noun would read as a
719
+ * state rather than an action. */
720
+ tableToggleHeaderRow: string;
721
+ tableToggleHeaderColumn: string;
722
+ tableDelete: string;
723
+ /**
724
+ * The three grips — a bar per column along the table's top edge, one per row down its left, and the
725
+ * corner that takes every cell.
726
+ *
727
+ * A `Label<Ctx>` for the two that name a band, because the band's NUMBER is the hole in the sentence
728
+ * and a `{token}` grammar could not express a language that orders it differently. The ctx carries an
729
+ * already-formatted display string (the component decides that it is 1-based and how it is written),
730
+ * never an index — same rule the colour swatch labels follow.
731
+ */
732
+ tableSelectColumn: (ctx: {
733
+ index: string;
734
+ }) => string;
735
+ tableSelectRow: (ctx: {
736
+ index: string;
737
+ }) => string;
738
+ /** The corner grip. "All cells" rather than "table": what it selects is every CELL, which is what the
739
+ * ops act on — selecting the table as a NODE is a different thing this does not do. */
740
+ tableSelectAll: string;
741
+ /** The floating strip under a table the caret is inside. A SECOND `role="toolbar"` on the page, so it
742
+ * must not answer to the band's name — two toolbars called "Text formatting" is a list a screen
743
+ * reader user cannot navigate. Same rule as `bubbleToolbar` / `imageToolbar` / `linkToolbar`. */
744
+ /** **Level 1 · the two style groups.** They name an axis pair for the reason the four structural
745
+ * groups do — a submenu row and a strip tooltip are both read with nothing beside them. */
746
+ tableGroupMove: string;
747
+ tableGroupStyle: string;
748
+ tableMoveRowUp: string;
749
+ tableMoveRowDown: string;
750
+ tableMoveColumnLeft: string;
751
+ tableMoveColumnRight: string;
752
+ /** The three sub-headings inside the style group. Each names the axis, so the members below it can
753
+ * be one word each without losing what they are one word ABOUT. */
754
+ /** Heading for the treatment cluster. "Table" rather than "Rows": the axis decides how the whole
755
+ * grid is ruled — `Grid` is not a statement about rows at all — and the members below it are the
756
+ * three looks. */
757
+ tableTreatment: string;
758
+ tableCellAlign: string;
759
+ tableColumnWidth: string;
760
+ /** The treatment members. "Grid" is the resting state and has a real name for the reason the union
761
+ * does (AGENTS §4 — the neither state gets a name), so a reader can choose it back deliberately
762
+ * rather than hunting for an off switch. */
763
+ tableTreatmentGrid: string;
764
+ tableTreatmentStriped: string;
765
+ tableTreatmentPlain: string;
766
+ tableAlignTop: string;
767
+ tableAlignMiddle: string;
768
+ tableAlignBottom: string;
769
+ tableWidthAuto: string;
770
+ tableWidthNarrow: string;
771
+ tableWidthWide: string;
772
+ /** The colour surface a cell opens — the THIRD target of the one shared grid, after the two text
773
+ * marks and the divider. It names what is filled ("Cell"), never how, because the same surface
774
+ * offers a palette name, a literal and a gradient. */
775
+ tableCellFill: string;
776
+ tableToolbar: string;
777
+ /** The floating strip over a selected divider — a FIFTH `role="toolbar"` on the page, so it takes a
778
+ * distinct name for the reason every sibling above does. "Divider" alone is already the TOOL's
779
+ * name ({@link RICH_TEXT_EDITOR_LABELS.hr}), same collision `linkToolbar` avoids. */
780
+ hrToolbar: string;
781
+ /** The three textures. They are the HOUSE vocabulary's members (`src/lib/rule.ts`), so the words
782
+ * here name what a reader sees rather than translating the code's spelling: `line` is drawn solid,
783
+ * and "Solid" is what every other editor calls it. */
784
+ hrTextureLine: string;
785
+ hrTextureDashed: string;
786
+ hrTextureDot: string;
787
+ /** The weight toggle. One button rather than a hairline/thick pair, because the axis has exactly
788
+ * two steps and the resting one needs no button of its own to return to. */
789
+ hrThick: string;
790
+ /** The divider's colour surface. Distinct from {@link RICH_TEXT_EDITOR_LABELS.textColor} because the
791
+ * two write different things — a run's colour and a rule's — and a shared word would name one
792
+ * popover for both. */
793
+ hrColor: string;
794
+ undo: string;
795
+ redo: string;
796
+ /** The drag handle's accessible name. It is a real `<button>`, so it is reachable by keyboard and
797
+ * announces itself; pressing it selects the block, which is the keyboard-usable half of a feature
798
+ * whose main gesture is a mouse drag. */
799
+ dragBlock: string;
800
+ /** The band's `role="search"` region. */
801
+ findReplace: string;
802
+ /** The search field's accessible name AND its placeholder — the same word does both jobs here, and
803
+ * a placeholder that repeats a visible label is the correct pattern for a control with no room for
804
+ * one. */
805
+ findLabel: string;
806
+ replaceLabel: string;
807
+ /** The `n of m` readout. A function, because the two numbers arrive already formatted and a
808
+ * translation may want them in the other order. */
809
+ findCount: (ctx: {
810
+ position: string;
811
+ total: string;
812
+ }) => string;
813
+ findPrevious: string;
814
+ findNext: string;
815
+ /** The button that replaces the CURRENT match only. */
816
+ replace: string;
817
+ replaceAll: string;
818
+ findClose: string;
819
+ /**
820
+ * The character and word readouts, and the limited form of the first.
821
+ *
822
+ * **Functions, because a count is a sentence with a hole in it** — and the hole carries an
823
+ * already-FORMATTED string, never the raw number (`docs/i18n-policy.md`). The component owns the
824
+ * formatting because it owns the locale; the label only decides where the number sits and what the
825
+ * word around it is. That is also what makes a plural rule expressible: an override can call
826
+ * `Intl.PluralRules` on its own, which a `{count} characters` token grammar could not.
827
+ */
828
+ characterCount: (ctx: {
829
+ count: string;
830
+ }) => string;
831
+ wordCount: (ctx: {
832
+ count: string;
833
+ }) => string;
834
+ /** The limited form. Deliberately not "N characters of M": the readout sits under a live editor and
835
+ * is read at a glance, so it is a fraction. */
836
+ characterLimit: (ctx: {
837
+ count: string;
838
+ limit: string;
839
+ }) => string;
840
+ /** The counter strip's own accessible name — it is a `role="status"`, so it needs one to be
841
+ * navigable rather than announced as a bare number. */
842
+ counter: string;
843
+ /**
844
+ * How a shortcut is appended to a control's name in its tooltip — NOT in its accessible name.
845
+ *
846
+ * A screen reader already announces the key binding from the platform, so folding it into
847
+ * `aria-label` would make every button announce its shortcut twice. This key exists so the
848
+ * bracketing punctuation is translatable; the keys themselves are not copy (see the header).
849
+ */
850
+ shortcut: (ctx: {
851
+ name: string;
852
+ keys: string;
853
+ }) => string;
854
+ };
855
+ type RichTextEditorLabels = LabelOverrides<typeof RICH_TEXT_EDITOR_LABELS>;
856
+
857
+ /**
858
+ * `Select`'s one authored string.
859
+ *
860
+ * Small, and that is the point: `Select` was one of two Field controls with no scope at all, so an app
861
+ * could configure `Combobox`'s and `DatePicker`'s placeholder app-wide and then had to pass
862
+ * `<Select placeholder>` at every call site to reach the same word. A scope with one key is cheaper
863
+ * than that asymmetry.
864
+ */
865
+ declare const SELECT_LABELS: {
866
+ /** Default behind the `placeholder` prop — the caller's own prop still wins. */
867
+ placeholder: string;
868
+ };
869
+ type SelectLabels = LabelOverrides<typeof SELECT_LABELS>;
870
+
871
+ /** The rail's collapse toggle. The `<nav>` landmark's own name is already an `aria-label` prop
872
+ * (defaulting to "Main") and stays there — a landmark name is the app's, not the library's. */
873
+ declare const SIDEBAR_NAVIGATION_LABELS: {
874
+ expand: string;
875
+ collapse: string;
876
+ };
877
+ type SidebarNavigationLabels = LabelOverrides<typeof SIDEBAR_NAVIGATION_LABELS>;
878
+
879
+ /** The three strings a slider authors that the caller never passes in.
880
+ *
881
+ * `minimum` / `maximum` name the two thumbs of a RANGE — a single-thumb slider takes its name from
882
+ * the field label instead and needs neither. Base UI already announces which end a thumb is
883
+ * through `aria-valuetext` ("1,500 start range"), but that string is hard-coded English inside the
884
+ * primitive, so it cannot be the only channel that says it: these are the translatable ones. */
885
+ declare const SLIDER_LABELS: {
886
+ /** `getAriaLabel(0)` on a range — the lower thumb. */
887
+ minimum: string;
888
+ /** `getAriaLabel(1)` on a range — the upper thumb. */
889
+ maximum: string;
890
+ /** The `editable` bubble's text input. It is a SECOND focusable control inside the slider, so it
891
+ * owes its own name — the thumbs keep theirs. */
892
+ editValue: string;
893
+ };
894
+ type SliderLabels = LabelOverrides<typeof SLIDER_LABELS>;
895
+
896
+ /**
897
+ * One scope for the whole table family — `Table.tsx`, `cells.tsx`, `toolbar.tsx` and `cards.tsx`.
898
+ * `<Table>` resolves it once and threads the reader down as a prop, so an override lands everywhere
899
+ * at once and the sub-files never re-resolve (there is no table context to hang it on).
900
+ */
901
+ declare const TABLE_LABELS: {
902
+ selectAll: string;
903
+ selectRow: string;
904
+ /** The selection column's header, visually hidden. */
905
+ selectColumn: string;
906
+ /** The expansion column's header, visually hidden. */
907
+ expandColumn: string;
908
+ /** The row-actions column's header, visually hidden. */
909
+ actionsColumn: string;
910
+ expandRow: string;
911
+ collapseRow: string;
912
+ /** A column header's help tooltip trigger. */
913
+ columnInfo: (ctx: {
914
+ header: string;
915
+ }) => string;
916
+ /** The column-visibility trigger in the toolbar. */
917
+ columns: string;
918
+ /** The fallback name for a row-action slot that brought none. */
919
+ rowActions: string;
920
+ /** The confirmation dialog's DISMISS button. Its sibling `confirmLabel` is per action (the verb
921
+ * belongs to the deed — "Delete", "Revoke"), but "stop" is one word for the whole app, so it
922
+ * lives here and a per-action `cancelLabel` still wins. */
923
+ cancel: string;
924
+ emptyTitle: string;
925
+ emptyDescription: string;
926
+ emptyFilteredTitle: string;
927
+ emptyFilteredDescription: string;
928
+ /** The filtered-empty description when a SEARCH is what emptied it — the query is quoted back. */
929
+ emptySearch: (ctx: {
930
+ query: string;
931
+ }) => string;
932
+ clearFilters: string;
933
+ errorDescription: string;
934
+ errorRetry: string;
935
+ /** Default behind `search.placeholder` / `search.label`. */
936
+ search: string;
937
+ /** LIVE REGION. The English default owns its own plural branch — a language with three forms
938
+ * owns the whole function, and `Intl.PluralRules` belongs to the app. */
939
+ selectionCount: (ctx: {
940
+ count: number;
941
+ }) => string;
942
+ /** LIVE REGION, announced only after a selection has been made and then cleared. */
943
+ selectionCleared: string;
944
+ removeFilter: (ctx: {
945
+ label: string;
946
+ }) => string;
947
+ filterMin: (ctx: {
948
+ label: string;
949
+ }) => string;
950
+ filterMax: (ctx: {
951
+ label: string;
952
+ }) => string;
953
+ /**
954
+ * The SIGHTED half of those same two inputs. They were the tell that the gate had no
955
+ * `placeholder` rule: both `aria-label`s above went through this table while the placeholder a
956
+ * sighted user actually reads sat beside them as a literal.
957
+ */
958
+ filterMinPlaceholder: string;
959
+ filterMaxPlaceholder: string;
960
+ filterFrom: (ctx: {
961
+ label: string;
962
+ }) => string;
963
+ filterTo: (ctx: {
964
+ label: string;
965
+ }) => string;
966
+ sortBy: string;
967
+ /** The "no sort" option in the card-mode sort select. */
968
+ sortNone: string;
969
+ };
970
+ type TableLabels = LabelOverrides<typeof TABLE_LABELS>;
971
+
972
+ declare const TAG_LABELS: {
973
+ /** Names the remove button after the tag it removes, so a row of five is five distinct names. */
974
+ remove: (ctx: {
975
+ label: string;
976
+ }) => string;
977
+ /** The fallback when the tag's children are a node, which has no text to name it with. */
978
+ removeGeneric: string;
979
+ };
980
+ type TagLabels = LabelOverrides<typeof TAG_LABELS>;
981
+
982
+ /**
983
+ * One scope for both spellings of the control — `TagInput` and `TagInputOuter` — which is the whole
984
+ * reason it is a scope rather than two defaults. The literal was written twice, once per file, so a
985
+ * caller wanting a different word had to pass `placeholder` at every call site of BOTH.
986
+ */
987
+ declare const TAG_INPUT_LABELS: {
988
+ /** Default behind the `placeholder` prop — the caller's own prop still wins. */
989
+ placeholder: string;
990
+ };
991
+ type TagInputLabels = LabelOverrides<typeof TAG_INPUT_LABELS>;
992
+
993
+ declare const TOAST_LABELS: {
994
+ /** The close affordance on every toast. */
995
+ dismiss: string;
996
+ /** The viewport landmark. A secondary viewport names its corner so two regions are tellable
997
+ * apart; the ctx carries the raw `position`, and the space-separated rendering is this default's
998
+ * decision, not the caller's. */
999
+ region: (ctx: {
1000
+ position: string;
1001
+ primary: boolean;
1002
+ }) => string;
1003
+ };
1004
+ type ToastLabels = LabelOverrides<typeof TOAST_LABELS>;
1005
+
1006
+ declare const TREE_LABELS: {
1007
+ /** The default behind the `emptyMessage` prop. */
1008
+ emptyMessage: string;
1009
+ /** The OTHER empty state: "nothing matched" and "there is nothing here" are different sentences. */
1010
+ noMatches: (ctx: {
1011
+ query: string;
1012
+ }) => string;
1013
+ /** A branch whose lazy children failed to load, and the button beside it. */
1014
+ loadError: string;
1015
+ retry: string;
1016
+ /** The name a moved node falls back to when its label is a node, not a string. */
1017
+ itemFallback: string;
1018
+ /**
1019
+ * The reorder live region.
1020
+ *
1021
+ * The ctx carries the raw `position` union, not an English preposition — a translation should not
1022
+ * have to parse `"into"`, so the position → verb mapping is this default's job.
1023
+ */
1024
+ moved: (ctx: {
1025
+ name: string;
1026
+ position: "child" | "before" | "after";
1027
+ target: string;
1028
+ }) => string;
1029
+ /** The same move with no named target. */
1030
+ movedRoot: (ctx: {
1031
+ name: string;
1032
+ }) => string;
1033
+ };
1034
+ type TreeLabels = LabelOverrides<typeof TREE_LABELS>;
1035
+
1036
+ /**
1037
+ * The form layer's authored CHROME copy.
1038
+ *
1039
+ * Deliberately separate from `src/form/messages.tsx`, which is not the same thing under a different
1040
+ * name: that file holds VALIDATION copy, keyed by rule ("required", "minLength"), and it shipped this
1041
+ * exact cascade before `src/lib/labels.ts` generalised it. What lives here is the furniture — a row's
1042
+ * remove button, an array's add button, a file field's trigger and its empty text — none of which is
1043
+ * a rule name and none of which had anywhere to go.
1044
+ *
1045
+ * These were unreachable for a different reason than the components': the gate's scan root was
1046
+ * `src/components`, so the whole `jenosize-ui/form` subpath was never read at all. A scan root is a
1047
+ * claim about coverage, and that one quietly excluded a public entry point.
1048
+ */
1049
+ declare const FORM_LABELS: {
1050
+ /** `FormArray`'s per-row remove button, when it renders icon-only and has no visible text. */
1051
+ removeRow: string;
1052
+ /** Default behind `FormArray`'s `addLabel` prop — the caller's own prop still wins. */
1053
+ addRow: string;
1054
+ /** Defaults behind `Form.FileInput`'s `buttonLabel` / `placeholder` props — each prop still wins. */
1055
+ uploadButton: string;
1056
+ filePlaceholder: string;
1057
+ };
1058
+ type FormLabels = LabelOverrides<typeof FORM_LABELS>;
1059
+
1060
+ /**
1061
+ * The ONE place the library decides what its own copy says.
1062
+ *
1063
+ * **Why this is a shared layer and not 108 props.** Twenty-two components author user-facing text
1064
+ * the caller never passes in — `aria-label="Select row"`, a `sr-only` "Actions", the live region's
1065
+ * `"Move cancelled. Card returned to Backlog."`. A Thai app could restyle every pixel of this
1066
+ * library and still ship an English screen reader, because none of that text has a way in.
1067
+ *
1068
+ * **This is not a new mechanism.** `src/form/messages.tsx` already solved it for validation copy,
1069
+ * and its header states the rule: ONE key space, TWO scopes that cascade like CSS, app-level IS
1070
+ * i18n and field-level IS the one-off. This generalises that from 24 rule names to the whole
1071
+ * library:
1072
+ *
1073
+ * instance `labels` prop → <JenosizeUIProvider labels={…}> → the built-in English default
1074
+ *
1075
+ * **Three things it deliberately does NOT do.**
1076
+ *
1077
+ * 1. **It does not hold a central defaults registry.** A `DEFAULT_LABELS` importing all 22
1078
+ * components would make `import { Badge }` pull in Table, Calendar and the whole board —
1079
+ * `pnpm treeshake:check` exists to catch exactly that. So a component passes its OWN defaults
1080
+ * in, and the context carries only the caller's plain nested object, which imports nothing.
1081
+ * 2. **It does not translate.** There is no `th` bundle here and never will be; the library ships
1082
+ * English defaults and a seam, and the app feeds it from whatever i18n runtime it already has.
1083
+ * 3. **It does not replace content props.** `placeholder`, `emptyMessage`, `label`, `aria-label`
1084
+ * are per-instance CONTENT and still win — a label table only supplies what they fall back to.
1085
+ *
1086
+ * The guarantee that makes it safe to adopt: **every built-in default is byte-identical to the
1087
+ * literal it replaced**, so a provider that is not mounted renders exactly what shipped before this
1088
+ * layer existed. Same DOM, same accessible names, same pixels.
1089
+ */
1090
+
1091
+ /**
1092
+ * A translatable string.
1093
+ *
1094
+ * `Ctx` is `void` for the ~77 fixed keys ("Select row") and an object for the ~31 that interpolate
1095
+ * caller data (`` `About ${header}` ``). Deliberately the same shape as `FormMessage` — a plain
1096
+ * string where a string is enough, a function where the sentence has a hole in it.
1097
+ *
1098
+ * **A ctx always carries already-FORMATTED display strings**, never a `Date`, a node or a domain
1099
+ * object. Formatting is the component's decision (it owns the locale, the timezone and the era);
1100
+ * the label function only reorders words. A translator must never have to reimplement `formatIn`.
1101
+ */
1102
+ type Label<Ctx = void> = [Ctx] extends [void] ? string : (ctx: Ctx) => string;
1103
+ /** The shape every component's defaults table satisfies. */
1104
+ type LabelTable = Record<string, string | ((ctx: never) => string)>;
1105
+ /**
1106
+ * A component's table as the CALLER may override it — every key optional, and a key that takes a
1107
+ * ctx also accepts a plain constant string (a language that does not need the interpolation should
1108
+ * not have to write `() => "…"`).
1109
+ */
1110
+ type LabelOverrides<T extends LabelTable> = {
1111
+ [K in keyof T]?: T[K] extends (ctx: infer C) => string ? string | ((ctx: C) => string) : string;
1112
+ };
1113
+ /**
1114
+ * Every scope the app can override, keyed by component.
1115
+ *
1116
+ * These are **type-only** imports — erased at build, so naming all 22 scopes here costs no runtime
1117
+ * import and cannot drag a component into a bundle that did not ask for it.
1118
+ */
1119
+ interface LibraryLabels {
1120
+ avatar?: AvatarLabels;
1121
+ badge?: BadgeLabels;
1122
+ breadcrumb?: BreadcrumbLabels;
1123
+ calendar?: CalendarLabels;
1124
+ carousel?: CarouselLabels;
1125
+ chart?: ChartLabels;
1126
+ closeButton?: CloseButtonLabels;
1127
+ colorPicker?: ColorPickerLabels;
1128
+ combobox?: ComboboxLabels;
1129
+ dateInput?: DateInputLabels;
1130
+ datePicker?: DatePickerLabels;
1131
+ dropzone?: DropzoneLabels;
1132
+ field?: FieldLabels;
1133
+ form?: FormLabels;
1134
+ fileList?: FileListLabels;
1135
+ headerNavigation?: HeaderNavigationLabels;
1136
+ input?: InputLabels;
1137
+ kanbanBoard?: KanbanBoardLabels;
1138
+ numberInput?: NumberInputLabels;
1139
+ pagination?: PaginationLabels;
1140
+ paymentInput?: PaymentInputLabels;
1141
+ qrCode?: QrCodeLabels;
1142
+ richTextEditor?: RichTextEditorLabels;
1143
+ select?: SelectLabels;
1144
+ sidebarNavigation?: SidebarNavigationLabels;
1145
+ slider?: SliderLabels;
1146
+ tagInput?: TagInputLabels;
1147
+ table?: TableLabels;
1148
+ tag?: TagLabels;
1149
+ toast?: ToastLabels;
1150
+ tree?: TreeLabels;
1151
+ }
1152
+
1153
+ /** One scope for all six charts — they share `ChartFrame`, so they share the sentence it renders
1154
+ * in place of a plot. The per-instance `emptyMessage` prop still wins. */
1155
+ declare const CHART_LABELS: {
1156
+ empty: string;
1157
+ };
1158
+ type ChartLabels = LabelOverrides<typeof CHART_LABELS>;
1159
+
1160
+ export type { AvatarLabels as A, BadgeLabels as B, ChartLabels as C, DatePickerLabels as D, FieldLabels as F, HeaderNavigationLabels as H, InputLabels as I, KanbanBoardLabels as K, Label as L, NumberInputLabels as N, PaginationLabels as P, QrCodeLabels as Q, RichTextEditorLabels as R, SelectLabels as S, TableLabels as T, BreadcrumbLabels as a, CalendarLabels as b, CarouselLabels as c, CloseButtonLabels as d, ColorPickerLabels as e, ComboboxLabels as f, DateInputLabels as g, DropzoneLabels as h, FileListLabels as i, LabelOverrides as j, LibraryLabels as k, PaymentInputLabels as l, SidebarNavigationLabels as m, SliderLabels as n, TagLabels as o, ToastLabels as p, TreeLabels as q, TagInputLabels as r };