jenosize-ui 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/README.md +13 -10
  2. package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
  3. package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
  4. package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
  5. package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
  6. package/dist/area-chart.d.ts +54 -0
  7. package/dist/area-chart.js +9 -0
  8. package/dist/avatar.d.ts +24 -0
  9. package/dist/avatar.js +13 -7
  10. package/dist/badge.d.ts +4 -0
  11. package/dist/badge.js +6 -5
  12. package/dist/bar-chart.d.ts +32 -0
  13. package/dist/bar-chart.js +9 -0
  14. package/dist/breadcrumb.d.ts +4 -0
  15. package/dist/breadcrumb.js +5 -3
  16. package/dist/button.d.ts +16 -1
  17. package/dist/button.js +10 -8
  18. package/dist/calendar.d.ts +5 -0
  19. package/dist/calendar.js +18 -14
  20. package/dist/callout.d.ts +6 -6
  21. package/dist/callout.js +12 -9
  22. package/dist/card-D56VxyAe.d.ts +123 -0
  23. package/dist/card.d.ts +3 -1
  24. package/dist/card.js +7 -3
  25. package/dist/checkbox.js +9 -7
  26. package/dist/chunk-22M75A3N.js +396 -0
  27. package/dist/{chunk-D5BTFSL7.js → chunk-33TOK7ES.js} +7 -5
  28. package/dist/{chunk-THC2ISYP.js → chunk-3H444OJA.js} +6 -4
  29. package/dist/{chunk-GFOAJVW5.js → chunk-3QXLIZIX.js} +4 -13
  30. package/dist/chunk-3ZEEGXYF.js +8 -0
  31. package/dist/chunk-45Y2ZGNK.js +34 -0
  32. package/dist/{chunk-FHHAPGCR.js → chunk-4RBIWI2Q.js} +3 -3
  33. package/dist/chunk-4VGEJG4M.js +1510 -0
  34. package/dist/{chunk-PWKWNDBS.js → chunk-54SIZR63.js} +16 -8
  35. package/dist/chunk-5AZKP4KZ.js +49 -0
  36. package/dist/chunk-5DP7W5HX.js +254 -0
  37. package/dist/{chunk-J2BCKBHC.js → chunk-5KSD4WKN.js} +14 -5
  38. package/dist/{chunk-ZOOX3TUB.js → chunk-5XPMY2LF.js} +6 -6
  39. package/dist/chunk-5ZEUTSCV.js +147 -0
  40. package/dist/chunk-5ZPUAGOP.js +19 -0
  41. package/dist/{chunk-JTNFJLIY.js → chunk-667ZHY3T.js} +114 -42
  42. package/dist/{chunk-JP26LPCY.js → chunk-6B6BWTXC.js} +30 -13
  43. package/dist/{chunk-W5GGOUUI.js → chunk-6H4LNWQ7.js} +3 -3
  44. package/dist/{chunk-WFY7DKQD.js → chunk-6MMBQVRO.js} +61 -51
  45. package/dist/{chunk-7HOIZ3UO.js → chunk-7GUPNTAH.js} +15 -7
  46. package/dist/chunk-7VLYQR4D.js +44 -0
  47. package/dist/{chunk-KNYKWUYX.js → chunk-7ZM7SNCZ.js} +3 -3
  48. package/dist/{chunk-E7ZSWBAK.js → chunk-A323V6AI.js} +6 -4
  49. package/dist/chunk-AFYXSZGW.js +23 -0
  50. package/dist/chunk-AIARANKE.js +33 -0
  51. package/dist/{chunk-4OLULPQG.js → chunk-AIGYMTCU.js} +10 -6
  52. package/dist/{chunk-JVJRHBTD.js → chunk-AZ7DKRBY.js} +21 -8
  53. package/dist/{chunk-JYGR44ZC.js → chunk-BBKE4W3B.js} +19 -11
  54. package/dist/{chunk-Z3ETJN5G.js → chunk-BFVJHH7S.js} +8 -12
  55. package/dist/chunk-BLIZ3CL3.js +49 -0
  56. package/dist/{chunk-F2K7VJUV.js → chunk-CFFWYXDW.js} +19 -7
  57. package/dist/{chunk-MQGD2OUF.js → chunk-CGHYXWTT.js} +11 -5
  58. package/dist/{chunk-CYPPEUX5.js → chunk-CKMWBVRR.js} +27 -12
  59. package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
  60. package/dist/{chunk-5NOBSXJN.js → chunk-E2YZ7IMT.js} +24 -8
  61. package/dist/{chunk-T7FCG7XV.js → chunk-FFMTYQXE.js} +31 -11
  62. package/dist/{chunk-J36M3KRX.js → chunk-FH7Z7SGQ.js} +67 -32
  63. package/dist/chunk-FKVPAEJ6.js +57 -0
  64. package/dist/{chunk-GRLSUQQE.js → chunk-FNQJJO63.js} +4 -4
  65. package/dist/{chunk-5RAPA22E.js → chunk-FWRHBMWT.js} +4 -4
  66. package/dist/chunk-GLKFFA7N.js +171 -0
  67. package/dist/{chunk-KDLPXXD2.js → chunk-GQRSABRN.js} +4 -4
  68. package/dist/{chunk-DRZCJCBO.js → chunk-GZMDZF2V.js} +8 -7
  69. package/dist/chunk-HHYEAFCL.js +525 -0
  70. package/dist/{chunk-LME57Z6J.js → chunk-I6WMNXC7.js} +6 -6
  71. package/dist/chunk-IQNVSQRK.js +605 -0
  72. package/dist/chunk-KHGW72BM.js +10 -0
  73. package/dist/{chunk-ZZA2LUTL.js → chunk-KZP6B6B3.js} +41 -16
  74. package/dist/chunk-LCG34A5T.js +98 -0
  75. package/dist/chunk-LLPWQDF7.js +26 -0
  76. package/dist/{chunk-J7ZQQFPT.js → chunk-LO22VQL5.js} +18 -18
  77. package/dist/{chunk-BVJWBYIG.js → chunk-LQURV7HQ.js} +9 -7
  78. package/dist/{chunk-R6RGJF4L.js → chunk-LYXPJERB.js} +15 -5
  79. package/dist/{chunk-CME4DIML.js → chunk-MCQG4H6T.js} +54 -3
  80. package/dist/{chunk-VWC72TR3.js → chunk-MVG5MABV.js} +11 -8
  81. package/dist/{chunk-5FATN5YD.js → chunk-N3RVMBPX.js} +6 -9
  82. package/dist/chunk-NKG4N6HA.js +188 -0
  83. package/dist/{chunk-W46K56XU.js → chunk-OACWA4TC.js} +15 -69
  84. package/dist/chunk-OLLD2BZN.js +33 -0
  85. package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
  86. package/dist/chunk-PO2TYK3C.js +17 -0
  87. package/dist/{chunk-7EWQKTNQ.js → chunk-POQTE7JI.js} +66 -25
  88. package/dist/{chunk-HMUZE6EK.js → chunk-QDKETK7D.js} +4 -4
  89. package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
  90. package/dist/{chunk-WEUJYDCV.js → chunk-QHH6AUR3.js} +16 -8
  91. package/dist/chunk-RJTVCA62.js +42 -0
  92. package/dist/{chunk-MUFHLP4S.js → chunk-S5TEWPWW.js} +50 -41
  93. package/dist/{chunk-D6TPWNRK.js → chunk-SB3DG572.js} +15 -8
  94. package/dist/chunk-SKRR3ZMP.js +10 -0
  95. package/dist/chunk-T4ZFZTY6.js +62 -0
  96. package/dist/{chunk-I7WU4GTY.js → chunk-T5574MXM.js} +34 -46
  97. package/dist/{chunk-MKC5HNA7.js → chunk-U4WSJAYK.js} +374 -147
  98. package/dist/{chunk-BJUZVYQC.js → chunk-UGKELBNC.js} +60 -44
  99. package/dist/chunk-ULGCGKOE.js +77 -0
  100. package/dist/{chunk-QA74ITR4.js → chunk-X2VMIBK5.js} +45 -17
  101. package/dist/chunk-X2X7Q7NW.js +17 -0
  102. package/dist/chunk-YHBI52P2.js +10 -0
  103. package/dist/chunk-YIHKQ63K.js +13 -0
  104. package/dist/{chunk-3Y5X7B5C.js → chunk-YQYVGWIC.js} +6 -11
  105. package/dist/{chunk-WZQFC7ZN.js → chunk-ZHAT2XZ4.js} +139 -66
  106. package/dist/{chunk-7IU5TMFL.js → chunk-ZMFY7WAY.js} +124 -40
  107. package/dist/{chunk-SV56BSUQ.js → chunk-ZZSNTCCL.js} +6 -5
  108. package/dist/combobox.d.ts +5 -0
  109. package/dist/combobox.js +15 -12
  110. package/dist/control-size-CaxQhkKh.d.ts +3 -0
  111. package/dist/date-input.d.ts +4 -0
  112. package/dist/date-input.js +12 -9
  113. package/dist/date-picker.d.ts +6 -0
  114. package/dist/date-picker.js +25 -20
  115. package/dist/dialog.d.ts +37 -5
  116. package/dist/dialog.js +12 -8
  117. package/dist/drawer.d.ts +20 -3
  118. package/dist/drawer.js +11 -7
  119. package/dist/dropdown-menu.d.ts +26 -2
  120. package/dist/dropdown-menu.js +9 -4
  121. package/dist/dropzone.d.ts +35 -0
  122. package/dist/dropzone.js +23 -0
  123. package/dist/form.d.ts +82 -3
  124. package/dist/form.js +205 -45
  125. package/dist/header-navigation.d.ts +19 -4
  126. package/dist/header-navigation.js +23 -16
  127. package/dist/helper.d.ts +36 -0
  128. package/dist/helper.js +3 -0
  129. package/dist/index.d.ts +32 -8
  130. package/dist/index.js +87 -62
  131. package/dist/indicator.js +4 -4
  132. package/dist/input.d.ts +4 -0
  133. package/dist/input.js +10 -8
  134. package/dist/kanban-board.d.ts +489 -0
  135. package/dist/kanban-board.js +25 -0
  136. package/dist/labels-DPrh0se9.d.ts +627 -0
  137. package/dist/line-chart.d.ts +36 -0
  138. package/dist/line-chart.js +9 -0
  139. package/dist/{nav-Bla0o_-1.d.ts → nav-CKKqjBs6.d.ts} +18 -11
  140. package/dist/number-input.d.ts +4 -0
  141. package/dist/number-input.js +10 -8
  142. package/dist/pagination.d.ts +7 -1
  143. package/dist/pagination.js +14 -10
  144. package/dist/panel-El4oI68p.d.ts +9 -0
  145. package/dist/payment-input.d.ts +3 -2
  146. package/dist/payment-input.js +10 -8
  147. package/dist/pie-chart.d.ts +64 -0
  148. package/dist/pie-chart.js +9 -0
  149. package/dist/popover.d.ts +9 -3
  150. package/dist/popover.js +11 -7
  151. package/dist/progress-steps.d.ts +275 -0
  152. package/dist/progress-steps.js +8 -0
  153. package/dist/progress.d.ts +21 -1
  154. package/dist/progress.js +3 -2
  155. package/dist/provider.d.ts +212 -0
  156. package/dist/provider.js +7 -0
  157. package/dist/radar-chart.d.ts +77 -0
  158. package/dist/radar-chart.js +9 -0
  159. package/dist/radial-chart.d.ts +73 -0
  160. package/dist/radial-chart.js +9 -0
  161. package/dist/radio.js +9 -7
  162. package/dist/rule-BqzaIwJy.d.ts +80 -0
  163. package/dist/scroll-area.d.ts +62 -0
  164. package/dist/scroll-area.js +7 -0
  165. package/dist/select.d.ts +3 -3
  166. package/dist/select.js +17 -14
  167. package/dist/separator.d.ts +114 -0
  168. package/dist/separator.js +5 -0
  169. package/dist/shared-CxAedkiy.d.ts +68 -0
  170. package/dist/sidebar-navigation.d.ts +80 -12
  171. package/dist/sidebar-navigation.js +18 -9
  172. package/dist/skeleton.d.ts +61 -0
  173. package/dist/skeleton.js +5 -0
  174. package/dist/styles.css +1 -1
  175. package/dist/switch.js +4 -4
  176. package/dist/table.d.ts +148 -42
  177. package/dist/table.js +39 -33
  178. package/dist/tabs.d.ts +22 -0
  179. package/dist/tabs.js +3 -3
  180. package/dist/tag-input.d.ts +3 -2
  181. package/dist/tag-input.js +13 -11
  182. package/dist/tag.d.ts +4 -0
  183. package/dist/tag.js +4 -3
  184. package/dist/textarea.js +7 -5
  185. package/dist/theme.css +151 -6
  186. package/dist/theme.js +11 -9
  187. package/dist/toast.d.ts +11 -2
  188. package/dist/toast.js +12 -9
  189. package/dist/tooltip-surface-C2I9o2QM.d.ts +35 -0
  190. package/dist/tooltip.d.ts +15 -1
  191. package/dist/tooltip.js +3 -2
  192. package/dist/tree.d.ts +5 -0
  193. package/dist/tree.js +8 -6
  194. package/dist/types-DR9rAEy1.d.ts +188 -0
  195. package/dist/use-uploads-KaPqDklo.d.ts +482 -0
  196. package/dist/verification-code-input.d.ts +84 -0
  197. package/dist/verification-code-input.js +14 -0
  198. package/package.json +70 -9
  199. package/dist/card-nWicloNi.d.ts +0 -80
  200. package/dist/chunk-24TO7E32.js +0 -42
  201. package/dist/chunk-FXIBGTS5.js +0 -14
  202. package/dist/chunk-MFJP5FA7.js +0 -20
  203. package/dist/chunk-ZZT2E5VT.js +0 -24
  204. package/dist/shared-BNXAdgh2.d.ts +0 -9
package/dist/combobox.js CHANGED
@@ -1,21 +1,24 @@
1
- "use client";export { Combobox } from './chunk-MUFHLP4S.js';
1
+ "use client";export { Combobox } from './chunk-S5TEWPWW.js';
2
2
  import './chunk-F6NLE6XJ.js';
3
- import './chunk-7EUAMHMU.js';
4
- import './chunk-FHHAPGCR.js';
5
- import './chunk-7JBNLEJ7.js';
6
- import './chunk-W5GGOUUI.js';
3
+ import './chunk-4RBIWI2Q.js';
4
+ import './chunk-6H4LNWQ7.js';
7
5
  import './chunk-4P2NBLBW.js';
6
+ import './chunk-FKVPAEJ6.js';
7
+ import './chunk-7JBNLEJ7.js';
8
8
  import './chunk-DWKILXHE.js';
9
- import './chunk-QA74ITR4.js';
10
- import './chunk-KNYKWUYX.js';
11
- import './chunk-52IFGFTL.js';
9
+ import './chunk-7EUAMHMU.js';
10
+ import './chunk-X2VMIBK5.js';
12
11
  import './chunk-O2LG3PNI.js';
13
12
  import './chunk-EDSK6FEH.js';
14
- import './chunk-J2BCKBHC.js';
15
- import './chunk-24TO7E32.js';
16
- import './chunk-ZZA2LUTL.js';
13
+ import './chunk-5KSD4WKN.js';
14
+ import './chunk-7ZM7SNCZ.js';
15
+ import './chunk-52IFGFTL.js';
16
+ import './chunk-KZP6B6B3.js';
17
+ import './chunk-AFYXSZGW.js';
17
18
  import './chunk-O4GRKO3I.js';
18
- import './chunk-GCVA3OIV.js';
19
+ import './chunk-BLIZ3CL3.js';
19
20
  import './chunk-ZSNJ6UA3.js';
21
+ import './chunk-RJTVCA62.js';
22
+ import './chunk-QDYE5LVT.js';
20
23
  //# sourceMappingURL=combobox.js.map
21
24
  //# sourceMappingURL=combobox.js.map
@@ -0,0 +1,3 @@
1
+ type ControlSize = "sm" | "md" | "lg";
2
+
3
+ export type { ControlSize as C };
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { E as Era } from './date-utils-7hTFTXNK.js';
3
3
  export { D as DateOrder, H as HourCycle, P as ParsedFormat } from './date-utils-7hTFTXNK.js';
4
+ import { D as DateInputLabels } from './labels-DPrh0se9.js';
4
5
 
5
6
  type DateInputSize = "sm" | "md" | "lg";
6
7
 
@@ -36,6 +37,9 @@ interface DateInputProps {
36
37
  /** Year era shown/typed in the year segment: `"ce"` (ค.ศ.) or `"be"` (พ.ศ. = ค.ศ. + 543).
37
38
  * Not a `format` token — the era is a calendar, not a layout. The emitted value is always CE. @default "ce" */
38
39
  era?: Era;
40
+ /** Override the component's own copy — the seven segment names a screen reader announces. Merges
41
+ * under `<JenosizeUIProvider labels={{ dateInput }}>`; see `docs/i18n-policy.md`. */
42
+ labels?: DateInputLabels;
39
43
  /** Start slot: a **node** renders as an icon (e.g. a calendar, `fg-quaternary`); a **string** as a
40
44
  * muted text affix. */
41
45
  leading?: React.ReactNode;
@@ -1,16 +1,19 @@
1
- "use client";export { DateInput } from './chunk-5NOBSXJN.js';
2
- import './chunk-GFOAJVW5.js';
1
+ "use client";export { DateInput } from './chunk-E2YZ7IMT.js';
2
+ import './chunk-3QXLIZIX.js';
3
+ import './chunk-YIHKQ63K.js';
3
4
  import './chunk-7EUAMHMU.js';
4
- import './chunk-QA74ITR4.js';
5
- import './chunk-KNYKWUYX.js';
6
- import './chunk-52IFGFTL.js';
5
+ import './chunk-X2VMIBK5.js';
7
6
  import './chunk-O2LG3PNI.js';
8
7
  import './chunk-EDSK6FEH.js';
9
- import './chunk-J2BCKBHC.js';
10
- import './chunk-24TO7E32.js';
11
- import './chunk-ZZA2LUTL.js';
8
+ import './chunk-5KSD4WKN.js';
9
+ import './chunk-7ZM7SNCZ.js';
10
+ import './chunk-52IFGFTL.js';
11
+ import './chunk-KZP6B6B3.js';
12
+ import './chunk-AFYXSZGW.js';
12
13
  import './chunk-O4GRKO3I.js';
13
- import './chunk-GCVA3OIV.js';
14
+ import './chunk-BLIZ3CL3.js';
14
15
  import './chunk-ZSNJ6UA3.js';
16
+ import './chunk-RJTVCA62.js';
17
+ import './chunk-QDYE5LVT.js';
15
18
  //# sourceMappingURL=date-input.js.map
16
19
  //# sourceMappingURL=date-input.js.map
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { e as DatePickerLabels } from './labels-DPrh0se9.js';
2
3
  import { W as WeekStart } from './date-vMJBKAFK.js';
3
4
  import { E as Era } from './date-utils-7hTFTXNK.js';
4
5
  import { Locale } from 'date-fns';
@@ -78,6 +79,11 @@ interface DateCommonProps {
78
79
  size?: DateCalendarSize;
79
80
  /** Month shown when nothing is selected. @default today */
80
81
  defaultMonth?: Date;
82
+ /** Override the picker family's own copy — the trigger names, the two typed-row labels, the
83
+ * confirm footer's buttons, and what `placeholder` defaults to. ONE scope for `DatePicker`,
84
+ * `DateRangePicker` and both standalone calendars. Merges under
85
+ * `<JenosizeUIProvider labels={{ datePicker }}>`; see `docs/i18n-policy.md`. */
86
+ labels?: DatePickerLabels;
81
87
  /** Layout/spacing only, merged via `cn()`. Never restyles a cell. */
82
88
  className?: string;
83
89
  }
@@ -1,29 +1,34 @@
1
- "use client";export { DATE_PRESETS, DateCalendar, DatePicker, DateRangeCalendar, DateRangePicker, resolvePreset } from './chunk-JTNFJLIY.js';
2
- import './chunk-5RAPA22E.js';
3
- import './chunk-3Y5X7B5C.js';
4
- import './chunk-CYPPEUX5.js';
5
- import './chunk-J7ZQQFPT.js';
6
- import './chunk-MFJP5FA7.js';
7
- import './chunk-5NOBSXJN.js';
8
- import './chunk-GFOAJVW5.js';
9
- import './chunk-W46K56XU.js';
10
- import './chunk-CME4DIML.js';
11
- import './chunk-MQGD2OUF.js';
12
- import './chunk-JVJRHBTD.js';
13
- import './chunk-7EUAMHMU.js';
1
+ "use client";export { DATE_PRESETS, DateCalendar, DatePicker, DateRangeCalendar, DateRangePicker, resolvePreset } from './chunk-667ZHY3T.js';
2
+ import './chunk-FWRHBMWT.js';
3
+ import './chunk-YQYVGWIC.js';
4
+ import './chunk-CKMWBVRR.js';
5
+ import './chunk-LO22VQL5.js';
6
+ import './chunk-E2YZ7IMT.js';
7
+ import './chunk-3QXLIZIX.js';
14
8
  import './chunk-7S2TBALK.js';
15
9
  import './chunk-S7NNXWIN.js';
10
+ import './chunk-FKVPAEJ6.js';
11
+ import './chunk-45Y2ZGNK.js';
12
+ import './chunk-LCG34A5T.js';
13
+ import './chunk-YIHKQ63K.js';
14
+ import './chunk-OACWA4TC.js';
15
+ import './chunk-AZ7DKRBY.js';
16
+ import './chunk-MCQG4H6T.js';
17
+ import './chunk-CGHYXWTT.js';
16
18
  import './chunk-DWKILXHE.js';
17
- import './chunk-QA74ITR4.js';
18
- import './chunk-KNYKWUYX.js';
19
- import './chunk-52IFGFTL.js';
19
+ import './chunk-7EUAMHMU.js';
20
+ import './chunk-X2VMIBK5.js';
20
21
  import './chunk-O2LG3PNI.js';
21
22
  import './chunk-EDSK6FEH.js';
22
- import './chunk-J2BCKBHC.js';
23
- import './chunk-24TO7E32.js';
24
- import './chunk-ZZA2LUTL.js';
23
+ import './chunk-5KSD4WKN.js';
24
+ import './chunk-7ZM7SNCZ.js';
25
+ import './chunk-52IFGFTL.js';
26
+ import './chunk-KZP6B6B3.js';
27
+ import './chunk-AFYXSZGW.js';
25
28
  import './chunk-O4GRKO3I.js';
26
- import './chunk-GCVA3OIV.js';
29
+ import './chunk-BLIZ3CL3.js';
27
30
  import './chunk-ZSNJ6UA3.js';
31
+ import './chunk-RJTVCA62.js';
32
+ import './chunk-QDYE5LVT.js';
28
33
  //# sourceMappingURL=date-picker.js.map
29
34
  //# sourceMappingURL=date-picker.js.map
package/dist/dialog.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
- import { a as DialogSize, D as DialogFooter } from './shared-BNXAdgh2.js';
2
+ import { a as DialogSize, b as OverlayBackdrop, D as DialogFooter } from './shared-CxAedkiy.js';
3
+ import { P as PanelDividers } from './panel-El4oI68p.js';
4
+ import './rule-BqzaIwJy.js';
3
5
 
4
6
  interface AlertDialogProps {
5
7
  /** Opens the dialog from your own element (e.g. a `<Button>`) and wires focus-return
@@ -13,10 +15,25 @@ interface AlertDialogProps {
13
15
  onOpenChange?: (open: boolean) => void;
14
16
  /** Max width of the popup surface. @default "md" */
15
17
  size?: DialogSize;
18
+ /**
19
+ * The scrim behind the dialog. `scrim` (default) is the flat `bg-overlay` wash (gray-950 @ 50%) —
20
+ * the page is dimmed and plainly out of play. `blur` is the ALTERNATIVE, not an addition: a LIGHTER
21
+ * 20% wash + a 6px backdrop blur, so the page is frosted rather than curtained — layout still
22
+ * legible, content not. The 20% is not decoration: with no wash the panel's own fill stops
23
+ * contrasting with its surroundings (light, measured: 3.74:1 → 1.00:1). Both numbers, and the seven
24
+ * combinations they were chosen from, are in `src/components/overlay/backdrop.ts`.
25
+ * @default "scrim"
26
+ */
27
+ backdrop?: OverlayBackdrop;
16
28
  /** Render the top-right close icon button. @default false */
17
29
  showClose?: boolean;
18
- /** Draw a full-bleed hairline between the header and body, and the body and footer. @default true */
19
- dividers?: boolean;
30
+ /**
31
+ * Full-bleed rule between the header and body, and the body and footer — in the library-wide
32
+ * texture vocabulary (`line` · `dot` · `dashed`), with `"none"` naming the off state. All three
33
+ * draw the same token; the texture changes the ink, never the colour. See `docs/rule-policy.md`.
34
+ * @default "line"
35
+ */
36
+ dividers?: PanelDividers;
20
37
  /** Keep the portal mounted (hidden) while closed, preserving body state instead of unmounting. @default false */
21
38
  keepMounted?: boolean;
22
39
  /** Title text (wired to `aria-labelledby`). Provide this or `aria-label`. */
@@ -53,10 +70,25 @@ interface DialogProps {
53
70
  onOpenChange?: (open: boolean) => void;
54
71
  /** Max width of the popup surface. @default "md" */
55
72
  size?: DialogSize;
73
+ /**
74
+ * The scrim behind the dialog. `scrim` (default) is the flat `bg-overlay` wash (gray-950 @ 50%) —
75
+ * the page is dimmed and plainly out of play. `blur` is the ALTERNATIVE, not an addition: a LIGHTER
76
+ * 20% wash + a 6px backdrop blur, so the page is frosted rather than curtained — layout still
77
+ * legible, content not. The 20% is not decoration: with no wash the panel's own fill stops
78
+ * contrasting with its surroundings (light, measured: 3.74:1 → 1.00:1). Both numbers, and the seven
79
+ * combinations they were chosen from, are in `src/components/overlay/backdrop.ts`.
80
+ * @default "scrim"
81
+ */
82
+ backdrop?: OverlayBackdrop;
56
83
  /** Render the top-right close icon button. @default true */
57
84
  showClose?: boolean;
58
- /** Draw a full-bleed hairline between the header and body, and the body and footer. @default true */
59
- dividers?: boolean;
85
+ /**
86
+ * Full-bleed rule between the header and body, and the body and footer — in the library-wide
87
+ * texture vocabulary (`line` · `dot` · `dashed`), with `"none"` naming the off state. All three
88
+ * draw the same token; the texture changes the ink, never the colour. See `docs/rule-policy.md`.
89
+ * @default "line"
90
+ */
91
+ dividers?: PanelDividers;
60
92
  /** Keep the portal mounted (hidden) while closed, preserving body state instead of unmounting. @default false */
61
93
  keepMounted?: boolean;
62
94
  /** Allow closing via backdrop click and `Esc`. The close icon and footer still close when `false`. @default true */
package/dist/dialog.js CHANGED
@@ -1,15 +1,19 @@
1
- "use client";export { Dialog } from './chunk-E7ZSWBAK.js';
2
- export { AlertDialog } from './chunk-THC2ISYP.js';
3
- import './chunk-CYPPEUX5.js';
4
- import './chunk-J7ZQQFPT.js';
5
- import './chunk-MFJP5FA7.js';
6
- import './chunk-MQGD2OUF.js';
1
+ "use client";export { Dialog } from './chunk-A323V6AI.js';
2
+ export { AlertDialog } from './chunk-3H444OJA.js';
3
+ import './chunk-CKMWBVRR.js';
4
+ import './chunk-LO22VQL5.js';
7
5
  import './chunk-S7NNXWIN.js';
8
- import './chunk-52IFGFTL.js';
6
+ import './chunk-FKVPAEJ6.js';
7
+ import './chunk-45Y2ZGNK.js';
8
+ import './chunk-LCG34A5T.js';
9
+ import './chunk-CGHYXWTT.js';
9
10
  import './chunk-O2LG3PNI.js';
10
11
  import './chunk-EDSK6FEH.js';
11
- import './chunk-24TO7E32.js';
12
+ import './chunk-52IFGFTL.js';
12
13
  import './chunk-O4GRKO3I.js';
14
+ import './chunk-BLIZ3CL3.js';
13
15
  import './chunk-ZSNJ6UA3.js';
16
+ import './chunk-RJTVCA62.js';
17
+ import './chunk-QDYE5LVT.js';
14
18
  //# sourceMappingURL=dialog.js.map
15
19
  //# sourceMappingURL=dialog.js.map
package/dist/drawer.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
- import { D as DialogFooter } from './shared-BNXAdgh2.js';
2
+ import { P as PanelDividers } from './panel-El4oI68p.js';
3
+ import { b as OverlayBackdrop, D as DialogFooter } from './shared-CxAedkiy.js';
4
+ import './rule-BqzaIwJy.js';
3
5
 
4
6
  type DrawerSide = "left" | "right" | "top" | "bottom";
5
7
  type DrawerSize = "sm" | "md" | "lg" | "fit";
@@ -28,10 +30,25 @@ interface DrawerProps {
28
30
  * `fit` needs a child that HAS an intrinsic size — text-only content collapses to its
29
31
  * longest line. @default "md" */
30
32
  size?: DrawerSize;
33
+ /**
34
+ * The scrim behind the drawer. `scrim` (default) is the flat `bg-overlay` wash (gray-950 @ 50%) —
35
+ * the page is dimmed and plainly out of play. `blur` is the ALTERNATIVE, not an addition: a LIGHTER
36
+ * 20% wash + a 6px backdrop blur, so the page is frosted rather than curtained — layout still
37
+ * legible, content not. The 20% is not decoration: with no wash the panel's own fill stops
38
+ * contrasting with its surroundings (light, measured: 3.74:1 → 1.00:1). Both numbers, and the seven
39
+ * combinations they were chosen from, are in `src/components/overlay/backdrop.ts`.
40
+ * @default "scrim"
41
+ */
42
+ backdrop?: OverlayBackdrop;
31
43
  /** Render the top-right close icon button. @default true */
32
44
  showClose?: boolean;
33
- /** Draw a full-bleed hairline between the header and body, and the body and footer. @default true */
34
- dividers?: boolean;
45
+ /**
46
+ * Full-bleed rule between the header and body, and the body and footer — in the library-wide
47
+ * texture vocabulary (`line` · `dot` · `dashed`), with `"none"` naming the off state. All three
48
+ * draw the same token; the texture changes the ink, never the colour. See `docs/rule-policy.md`.
49
+ * @default "line"
50
+ */
51
+ dividers?: PanelDividers;
35
52
  /** Keep the portal mounted (hidden) while closed, preserving body state instead of unmounting. @default false */
36
53
  keepMounted?: boolean;
37
54
  /** Allow closing via backdrop click, swipe, `Esc`, and the Android back gesture. The close icon,
package/dist/drawer.js CHANGED
@@ -1,14 +1,18 @@
1
- "use client";export { Drawer } from './chunk-Z3ETJN5G.js';
2
- import './chunk-CYPPEUX5.js';
3
- import './chunk-J7ZQQFPT.js';
4
- import './chunk-MFJP5FA7.js';
5
- import './chunk-MQGD2OUF.js';
1
+ "use client";export { Drawer } from './chunk-BFVJHH7S.js';
2
+ import './chunk-CKMWBVRR.js';
3
+ import './chunk-LO22VQL5.js';
6
4
  import './chunk-S7NNXWIN.js';
7
- import './chunk-52IFGFTL.js';
5
+ import './chunk-FKVPAEJ6.js';
6
+ import './chunk-45Y2ZGNK.js';
7
+ import './chunk-LCG34A5T.js';
8
+ import './chunk-CGHYXWTT.js';
8
9
  import './chunk-O2LG3PNI.js';
9
10
  import './chunk-EDSK6FEH.js';
10
- import './chunk-24TO7E32.js';
11
+ import './chunk-52IFGFTL.js';
11
12
  import './chunk-O4GRKO3I.js';
13
+ import './chunk-BLIZ3CL3.js';
12
14
  import './chunk-ZSNJ6UA3.js';
15
+ import './chunk-RJTVCA62.js';
16
+ import './chunk-QDYE5LVT.js';
13
17
  //# sourceMappingURL=drawer.js.map
14
18
  //# sourceMappingURL=drawer.js.map
@@ -1,4 +1,6 @@
1
1
  import * as React from 'react';
2
+ import { P as PanelDividers } from './panel-El4oI68p.js';
3
+ import './rule-BqzaIwJy.js';
2
4
 
3
5
  type DropdownMenuSize = "sm" | "md" | "lg";
4
6
  type DropdownMenuSide = "top" | "right" | "bottom" | "left";
@@ -178,6 +180,18 @@ interface DropdownMenuActionItem {
178
180
  onClick?: (event: React.MouseEvent<HTMLElement>) => void;
179
181
  /** Render the row as a link to this href. */
180
182
  href?: string;
183
+ /**
184
+ * Render the row as your own element — the router escape hatch, same shape and same name as
185
+ * `NavLink.render`, `BreadcrumbItem.render` and `TabItem.render`. **Wins over {@link href}**, and
186
+ * over the app-wide `link` on `<JenosizeUIProvider>`, because it is the more specific statement.
187
+ *
188
+ * It exists because the menu is not always the caller's own: a collapsed `<SidebarNavigation>`
189
+ * branch flies out as one of these, and `toMenuItems` had nothing to forward a row's `render` INTO
190
+ * — so a nav row carrying a hand-picked `<Link>` silently degraded to the provider's link (or a
191
+ * bare anchor) the moment the rail collapsed. The two-layer promise ("per item wins") was true of
192
+ * every site except the one where the row was built by us.
193
+ */
194
+ render?: React.ReactElement;
181
195
  /** Keep the menu open after a click. @default false (closes) */
182
196
  closeOnClick?: boolean;
183
197
  /** Layout/spacing only, merged via `cn()`. */
@@ -203,10 +217,20 @@ interface DropdownMenuProps<V extends string = string> {
203
217
  onOpenChange?: (open: boolean) => void;
204
218
  /** Trap focus + lock background scroll while open. @default true */
205
219
  modal?: boolean;
206
- /** Pinned node above the item list (e.g. a profile card). Renders with a bottom hairline. */
220
+ /** Pinned node above the item list (e.g. a profile card). Renders with a bottom rule. */
207
221
  header?: React.ReactNode;
208
- /** Pinned node below the item list (e.g. an action button). Renders with a top hairline. */
222
+ /** Pinned node below the item list (e.g. an action button). Renders with a top rule. */
209
223
  footer?: React.ReactNode;
224
+ /**
225
+ * How the rules under `header` and above `footer` are drawn — the library-wide texture vocabulary
226
+ * (`src/lib/rule.ts`), with `"none"` naming the off state. Same prop, same type and same default
227
+ * spelling as `Card` / `Dialog` / `Drawer` / `Popover`, because it is the same band seam.
228
+ *
229
+ * Only ever visible when `header` or `footer` is set: with neither, the popup has no bands to
230
+ * separate. The rule BETWEEN two menu items is a `{ separator: true }` item, not this.
231
+ * @default "line"
232
+ */
233
+ dividers?: PanelDividers;
210
234
  /** Layout/spacing overrides for the popup only (merged via `cn()`). */
211
235
  className?: string;
212
236
  }
@@ -1,10 +1,15 @@
1
- "use client";export { DropdownMenu } from './chunk-JP26LPCY.js';
2
- import './chunk-ZZT2E5VT.js';
3
- import './chunk-52IFGFTL.js';
1
+ "use client";export { DropdownMenu } from './chunk-6B6BWTXC.js';
2
+ import './chunk-LO22VQL5.js';
3
+ import './chunk-PO2TYK3C.js';
4
+ import './chunk-FKVPAEJ6.js';
5
+ import './chunk-45Y2ZGNK.js';
6
+ import './chunk-LCG34A5T.js';
7
+ import './chunk-5AZKP4KZ.js';
4
8
  import './chunk-O2LG3PNI.js';
5
9
  import './chunk-EDSK6FEH.js';
6
- import './chunk-24TO7E32.js';
10
+ import './chunk-52IFGFTL.js';
7
11
  import './chunk-O4GRKO3I.js';
12
+ import './chunk-BLIZ3CL3.js';
8
13
  import './chunk-ZSNJ6UA3.js';
9
14
  //# sourceMappingURL=dropdown-menu.js.map
10
15
  //# sourceMappingURL=dropdown-menu.js.map
@@ -0,0 +1,35 @@
1
+ import { c as FileExtension } from './use-uploads-KaPqDklo.js';
2
+ export { B as BucketResult, D as Dropzone, a as DropzoneProps, F as FILE_TONE, b as FILE_TONE_BUCKETS, d as FileList, e as FileListProps, f as FileListTreatment, g as FileRejectReason, h as FileRejection, i as FileRules, G as GLYPH_BOX, K as KnownFileExtension, U as UploadContext, j as UploadEvent, k as UploadFile, l as UploadStatus, m as UploadTransport, n as UseUploadsOptions, o as UseUploadsResult, p as bucketFiles, q as extensionTone, r as fileExtension, s as fileGlyphSource, t as fileTone, u as formatFileSize, v as invalidAcceptEntries, w as isFileTypeAccepted, x as reduceUpload, y as splitBatchProgress, z as toUploadFile, A as useUploads } from './use-uploads-KaPqDklo.js';
3
+ import * as React from 'react';
4
+ import '@base-ui/react/use-render';
5
+ import './labels-DPrh0se9.js';
6
+ import './color-CtSxc1Rh.js';
7
+
8
+ interface FileTypeGlyphProps {
9
+ /**
10
+ * The file TYPE, and the only input — required, because it is the whole subject of the component:
11
+ * a glyph with no type to name is not a file glyph, it is a rectangle.
12
+ *
13
+ * A bare extension, no dot (`"xlsx"`, `"pdf"`). NOT a file name and NOT a MIME string: parsing one
14
+ * of those is the caller's step, and `fileExtension` / `fileGlyphSource` are exported for exactly
15
+ * that. Taking a name here meant sniffing a vocabulary we own out of caller data, which is the
16
+ * looseness AGENTS §4 warns about — the prop described a filename while the component only ever
17
+ * used four characters of it.
18
+ *
19
+ * {@link FileExtension} is the 27 members of {@link FILE_TONE} plus any other string: the known
20
+ * set autocompletes and a typo is visible beside it, while a real `.parquet` still renders. The
21
+ * tone follows from this value and nothing else — see {@link extensionTone}.
22
+ *
23
+ * `""` is legal and draws the bare page, which is what an extensionless file (`Makefile`,
24
+ * `.env`, a name ending in a dot) resolves to.
25
+ */
26
+ extension: FileExtension;
27
+ /** Layout/spacing only, merged via `cn()`. */
28
+ className?: string;
29
+ }
30
+ /** Our own fixed chrome, so the whole tile is `aria-hidden`: the row's `<p>` already announces the
31
+ * file name, and a duplicated "PDF" is noise. This is NOT the slot-policy violation §4 warns about
32
+ * — that rule is about a CALLER's node, and `fileIcon` (the caller's seam) is never wrapped. */
33
+ declare function FileTypeGlyph({ extension, className }: FileTypeGlyphProps): React.JSX.Element;
34
+
35
+ export { FileExtension, FileTypeGlyph, type FileTypeGlyphProps };
@@ -0,0 +1,23 @@
1
+ "use client";export { reduceUpload, splitBatchProgress, useUploads } from './chunk-NKG4N6HA.js';
2
+ export { Dropzone, FILE_TONE, FILE_TONE_BUCKETS, FileList, FileTypeGlyph, GLYPH_BOX, bucketFiles, extensionTone, fileExtension, fileGlyphSource, fileTone, formatFileSize, invalidAcceptEntries, isFileTypeAccepted, toUploadFile } from './chunk-HHYEAFCL.js';
3
+ import './chunk-33TOK7ES.js';
4
+ import './chunk-7VLYQR4D.js';
5
+ import './chunk-LCG34A5T.js';
6
+ import './chunk-DJSXIAFH.js';
7
+ import './chunk-OACWA4TC.js';
8
+ import './chunk-AZ7DKRBY.js';
9
+ import './chunk-MCQG4H6T.js';
10
+ import './chunk-CGHYXWTT.js';
11
+ import './chunk-DWKILXHE.js';
12
+ import './chunk-5KSD4WKN.js';
13
+ import './chunk-7ZM7SNCZ.js';
14
+ import './chunk-52IFGFTL.js';
15
+ import './chunk-KZP6B6B3.js';
16
+ import './chunk-AFYXSZGW.js';
17
+ import './chunk-O4GRKO3I.js';
18
+ import './chunk-BLIZ3CL3.js';
19
+ import './chunk-ZSNJ6UA3.js';
20
+ import './chunk-RJTVCA62.js';
21
+ import './chunk-QDYE5LVT.js';
22
+ //# sourceMappingURL=dropzone.js.map
23
+ //# sourceMappingURL=dropzone.js.map
package/dist/form.d.ts CHANGED
@@ -5,19 +5,21 @@ import { a as ButtonProps } from './Button-Bt7pzM4R.js';
5
5
  import { CheckboxProps, CheckboxGroupProps, CheckboxGroupOption } from './checkbox.js';
6
6
  import { ComboboxProps, ComboboxOption } from './combobox.js';
7
7
  import { DateInputProps } from './date-input.js';
8
+ import { a as DropzoneProps, h as FileRejection, o as UseUploadsResult } from './use-uploads-KaPqDklo.js';
8
9
  import { InputProps } from './input.js';
9
10
  import { NumberInputProps } from './number-input.js';
10
- import { c as PaymentInputProps } from './PaymentInput-CKPIPNWH.js';
11
+ import { c as PaymentInputProps } from './PaymentInput-Dn5WVQVy.js';
11
12
  import { RadioGroupProps, RadioOption } from './radio.js';
12
- import { f as SelectProps, e as SelectOption } from './Select-CVbEQ2Ep.js';
13
+ import { f as SelectProps, e as SelectOption } from './Select-Dt5ARIH8.js';
13
14
  import { SwitchProps } from './switch.js';
14
- import { a as TagInputProps } from './TagInput-CTJYOB4J.js';
15
+ import { a as TagInputProps } from './TagInput-BaBeve6L.js';
15
16
  import { TextareaProps } from './textarea.js';
16
17
  import { b as Option, d as OptionOrGroup } from './options-CPEIgjtd.js';
17
18
  import '@base-ui/react/use-render';
18
19
  import './color-CtSxc1Rh.js';
19
20
  import './overflow-Df0h42Oi.js';
20
21
  import './multi-value-CJb_tnvi.js';
22
+ import './labels-DPrh0se9.js';
21
23
  import '@base-ui/react/combobox';
22
24
  import './date-utils-7hTFTXNK.js';
23
25
  import '@base-ui/react/number-field';
@@ -151,6 +153,25 @@ interface RegisteredField<T extends FieldValues = FieldValues> {
151
153
  optionValues?: string[];
152
154
  /** Whether the control is disabled (disabled controls are never validated). */
153
155
  disabled?: boolean;
156
+ /**
157
+ * A verdict that does NOT come from the value — evaluated BEFORE every rule, `required` included.
158
+ *
159
+ * Internal, set by `Form.Uploads` and nothing else. Three things it has to be, and `check` is none
160
+ * of them:
161
+ * · **first.** While the only row is still uploading the value is `[]`, so `required` would fire
162
+ * and tell the user to attach a file they already attached. "Wait for the uploads to finish"
163
+ * outranks every rule, because no rule can be satisfied yet.
164
+ * · **run on an empty value.** The empty branch below skips everything on purpose — an untouched
165
+ * optional field is absent, not wrong — and in-flight is exactly the empty case.
166
+ * · **never memoized.** `useForm` caches a `check` verdict under `value|values`; removing a
167
+ * failed row leaves both at `[]`, so a cached answer would outlive the row it described and
168
+ * the form could never be submitted again.
169
+ *
170
+ * Kept out of `check` rather than bending it, because all three are RIGHT for a rule that
171
+ * describes the value, and the published `check` examples assume a non-empty one
172
+ * (`await slugTaken(value)` would query for the empty slug).
173
+ */
174
+ guard?: () => string | undefined;
154
175
  /** Where the error is stored, when that differs from the value's own path —
155
176
  * `<Form.Array>` reads values at `invites` but writes its error to
156
177
  * `invites.root` so it can't clobber the per-row errors. */
@@ -240,6 +261,60 @@ interface FormFileInputProps extends Omit<InputProps, "value" | "defaultValue" |
240
261
  /** Text shown when nothing is selected. @default "Choose a file" */
241
262
  placeholder?: string;
242
263
  }
264
+ /**
265
+ * The full drop surface, bound.
266
+ *
267
+ * Unlike `Form.FileInput` — a one-line picker BAR showing "3 files selected" — this binds
268
+ * `<Dropzone>`: a drop target with its own hero, hover and drag states. Same value type (`File[]`),
269
+ * same `kind: "file"`, same `FileValidate` rules. Pick by how much room the form has.
270
+ *
271
+ * `accept` / `maxSize` / `maxFiles` are NOT props here: they come from `validate`, so the numbers
272
+ * the drop is bucketed against and the numbers the resolver validates against cannot disagree
273
+ * (AGENTS §11 — a second channel is props that are silently dead and duplicates that can differ).
274
+ * `fileCount` is supplied from the form value for the same reason.
275
+ */
276
+ interface FormDropzoneProps extends Omit<DropzoneProps, "onFilesChange" | "onReject" | "invalid" | "error" | "fileCount" | "accept" | "maxSize" | "maxFiles"> {
277
+ /** Where a rejection goes. By default it becomes the field's message, so a bad drop reports
278
+ * through the same `Field.Error` a validation failure does. Pass a function to take over
279
+ * entirely — then nothing is set. */
280
+ onReject?: (rejections: readonly FileRejection[]) => void;
281
+ }
282
+ /**
283
+ * The drop surface bound to ALREADY-UPLOADED files: the field holds `string[]` — the ids your
284
+ * transport returned — not `File[]`.
285
+ *
286
+ * **This is the other upload timing, not a variant of `Form.Dropzone`.** `Form.Dropzone` uploads at
287
+ * SUBMIT: the field carries `File[]`, and one multipart POST sends everything (no progress, no
288
+ * cancel, one request a proxy can time out). `Form.Uploads` uploads at PICK: `useUploads` sends each
289
+ * file as it lands, and by the time Save is pressed the bytes are stored, so the form submits small
290
+ * JSON references. Two field types, so they are two components — a mode flag would make the value
291
+ * type depend on a boolean, and half the props dead on each side.
292
+ *
293
+ * **`uploads` is the single state owner (AGENTS §11), and it is REQUIRED.** The rows, the progress,
294
+ * the `AbortController`s and the retry all belong to the hook instance; this field renders its
295
+ * `<FileList>` and PROJECTS `uploads.results` onto the form value. There is no `File[]` mode here and
296
+ * no second data channel.
297
+ *
298
+ * Two guarantees the projection buys, both of which a hand-rolled version keeps missing:
299
+ * · **submit is blocked while anything is in flight** — otherwise Save posts a value that is still
300
+ * growing, and the last file is silently dropped;
301
+ * · **a failed row blocks it too** — the user must retry or remove it, because a form that submits
302
+ * "4 of 5 attachments" without saying so is worse than one that refuses.
303
+ *
304
+ * `accept` / `maxSize` stay PROPS here rather than moving into `validate` (which is where
305
+ * `Form.Dropzone` puts them): they describe a `File` at drop time, and the field's value is ids — a
306
+ * resolver reading `["att_9f3"]` has nothing left to check them against. `maxFiles` is NOT a prop,
307
+ * because the count IS checkable from ids: it comes from `validate.maxItems`, one number, one source.
308
+ */
309
+ interface FormUploadsProps extends Omit<DropzoneProps, "onFilesChange" | "onReject" | "invalid" | "error" | "fileCount" | "maxFiles"> {
310
+ /** **Required.** The hook instance that owns the rows. @see useUploads */
311
+ uploads: UseUploadsResult<string>;
312
+ /** Where a rejection goes. Defaults to the field's message, like `Form.Dropzone`. */
313
+ onReject?: (rejections: readonly FileRejection[]) => void;
314
+ /** Drop the `<FileList>` this field renders under the surface, to place it yourself.
315
+ * @default false */
316
+ hideList?: boolean;
317
+ }
243
318
  interface FormSubmitProps<TFieldValues extends FieldValues = FieldValues> extends Omit<ButtonProps, "type" | "form"> {
244
319
  /** Only needed when the button renders OUTSIDE `<Form>` (a `Dialog` footer):
245
320
  * pass the instance and the button owns the form through its `form` attribute. */
@@ -289,6 +364,10 @@ interface ScopedFields<TFieldValues extends FieldValues, TScope extends FieldVal
289
364
  TagInput: <TName extends PathOf<TScope, string[]>>(props: BoundProps<TagInputProps, TFieldValues, TName, ArrayValidate<TFieldValues>>) => React.ReactElement;
290
365
  PaymentInput: <TName extends PathOf<TScope, string>>(props: BoundProps<PaymentInputProps, TFieldValues, TName, StringValidate<TFieldValues>>) => React.ReactElement;
291
366
  FileInput: <TName extends PathOf<TScope, File[]>>(props: BoundProps<FormFileInputProps, TFieldValues, TName, FileValidate<TFieldValues>>) => React.ReactElement;
367
+ Dropzone: <TName extends PathOf<TScope, File[]>>(props: BoundProps<FormDropzoneProps, TFieldValues, TName, FileValidate<TFieldValues>>) => React.ReactElement;
368
+ /** Uploads at PICK, so the field holds the ids your transport returned. `Form.Dropzone` is the
369
+ * upload-at-SUBMIT sibling, whose field holds `File[]`. */
370
+ Uploads: <TName extends PathOf<TScope, string[]>>(props: BoundProps<FormUploadsProps, TFieldValues, TName, ArrayValidate<TFieldValues>>) => React.ReactElement;
292
371
  /** Dynamic rows. At the top level it is `Form.Array`; inside a row it is the
293
372
  * NESTED array (`orders.2.items` → `orders.2.items.5.qty`), already scoped by
294
373
  * its parent — either way there is no `form` prop to remember. */