@uisatin/ui 0.2.0 → 0.4.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 (359) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +10 -1
  3. package/{chunk-P4O6TGDR.js → chunk-3VVO5MY5.js} +28 -26
  4. package/chunk-47DDBME3.js +87 -0
  5. package/{chunk-SHDFUXYV.js → chunk-5663JVE5.js} +16 -18
  6. package/chunk-67CBFB6Y.js +99 -0
  7. package/chunk-6DWLTGRQ.js +130 -0
  8. package/chunk-6GNMUJQ4.js +45 -0
  9. package/chunk-6JTSZAGO.js +177 -0
  10. package/chunk-6RLSRMB5.js +14 -0
  11. package/chunk-6Y6CY2DP.js +55 -0
  12. package/{chunk-O7F3CIDV.js → chunk-7NV53EL5.js} +10 -12
  13. package/{chunk-BNZVTLHV.js → chunk-7SVMERPH.js} +25 -21
  14. package/chunk-A52HUWVM.js +24 -0
  15. package/chunk-AKEZCWNW.js +29 -0
  16. package/{chunk-SH6NG6VN.js → chunk-APRVUOD6.js} +6 -8
  17. package/{chunk-QUF2IPOZ.js → chunk-C435UD7V.js} +14 -15
  18. package/{chunk-B2K45IUR.js → chunk-C6WRJ7DG.js} +5 -7
  19. package/{chunk-PF3YBUKT.js → chunk-CQFAMWZI.js} +16 -15
  20. package/chunk-DAKVTPYZ.js +86 -0
  21. package/{chunk-VAGIAREV.js → chunk-DMZW4LGU.js} +29 -26
  22. package/chunk-EBZHGRM5.js +46 -0
  23. package/chunk-EHEXE2UV.js +44 -0
  24. package/{chunk-72OCFAPT.js → chunk-EQAFDIPE.js} +26 -23
  25. package/{chunk-LLHTVIM3.js → chunk-EXKSKYG3.js} +7 -9
  26. package/chunk-FB6DG3LR.js +35 -0
  27. package/chunk-GH2DEOGO.js +67 -0
  28. package/{chunk-YG7JOOLJ.js → chunk-GKDMCY2S.js} +5 -7
  29. package/chunk-GTFUAA6H.js +42 -0
  30. package/{chunk-TX3H3QMA.js → chunk-HI6QIG55.js} +71 -70
  31. package/{chunk-6QMSWITQ.js → chunk-HZV7EXGU.js} +24 -26
  32. package/{chunk-A5XEM3GF.js → chunk-IKJIR6VL.js} +34 -36
  33. package/{chunk-DO3TBNSC.js → chunk-INJWE2LD.js} +15 -17
  34. package/chunk-J5UQPROI.js +56 -0
  35. package/{chunk-6YXUBP27.js → chunk-JCR5TWTF.js} +72 -67
  36. package/chunk-JKOBDLP3.js +25 -0
  37. package/chunk-JR3VVDV6.js +37 -0
  38. package/chunk-JYGCZWET.js +112 -0
  39. package/{chunk-UGRSWP6U.js → chunk-K5G5OEV5.js} +10 -12
  40. package/{chunk-B6V4VSGH.js → chunk-KDU7AT2T.js} +14 -15
  41. package/chunk-KITXKIYW.js +104 -0
  42. package/{chunk-NN6PKJWS.js → chunk-KQNA22D3.js} +7 -9
  43. package/{chunk-YPNKBE5X.js → chunk-L5PPN42A.js} +14 -9
  44. package/chunk-LAOE6Y57.js +95 -0
  45. package/chunk-LI5VYDLN.js +195 -0
  46. package/{chunk-7TXHCRAG.js → chunk-LKSFTNPF.js} +8 -10
  47. package/chunk-LLW3X4ZJ.js +39 -0
  48. package/{chunk-RTJ76X5U.js → chunk-LWRB4DED.js} +2 -4
  49. package/{chunk-NSRTTYQ4.js → chunk-M7RILZVW.js} +42 -35
  50. package/{chunk-LW3TRU5W.js → chunk-MOGWOUCN.js} +28 -16
  51. package/chunk-NCIRJ5V2.js +108 -0
  52. package/chunk-NQL6SIIB.js +168 -0
  53. package/chunk-NTSU44FY.js +81 -0
  54. package/{chunk-3DINAQLL.js → chunk-P36KBUYD.js} +33 -29
  55. package/chunk-P6RHT2VM.js +147 -0
  56. package/{chunk-CL2II6BX.js → chunk-PD2KD5OR.js} +11 -13
  57. package/{chunk-XL75JRUA.js → chunk-PP46SY7M.js} +42 -22
  58. package/{chunk-L6NCCSIP.js → chunk-PTK4QAOQ.js} +36 -29
  59. package/{chunk-HL42K2NH.js → chunk-Q7KVC5B4.js} +17 -17
  60. package/{chunk-H4NU7NPO.js → chunk-R3DTMBDT.js} +62 -61
  61. package/{chunk-KNUWZNFV.js → chunk-R4KPFBMK.js} +4 -6
  62. package/chunk-R5TQ3HNB.js +71 -0
  63. package/chunk-RFSPJECL.js +84 -0
  64. package/chunk-RPL6FRVX.js +88 -0
  65. package/{chunk-AN2RNJLR.js → chunk-STYOBAC7.js} +16 -16
  66. package/{chunk-X3PQANZO.js → chunk-SVUWR3HD.js} +47 -46
  67. package/chunk-T7P3OEBP.js +128 -0
  68. package/{chunk-QS4N4MNP.js → chunk-TB3ZRV3Y.js} +18 -20
  69. package/{chunk-MYEZXZZC.js → chunk-TOY6YPTG.js} +23 -25
  70. package/{chunk-XILQ7GXE.js → chunk-U6X6ODDJ.js} +11 -13
  71. package/{chunk-XZNHT6MO.js → chunk-UAJ6M34K.js} +115 -61
  72. package/chunk-W2EH6RY5.js +42 -0
  73. package/{chunk-FDKIX4DC.js → chunk-W2QQQWNE.js} +7 -9
  74. package/{chunk-LZMKSFCF.js → chunk-WALANB3V.js} +10 -12
  75. package/chunk-WCUR44O6.js +88 -0
  76. package/{chunk-BNTPPZCK.js → chunk-WJYJMX5S.js} +37 -39
  77. package/chunk-WZSLDYUU.js +131 -0
  78. package/{chunk-J3NSDRVH.js → chunk-XETMIETJ.js} +0 -2
  79. package/chunk-XU6JJDMZ.js +117 -0
  80. package/{chunk-BKZBWPUH.js → chunk-XWPH7C2W.js} +9 -11
  81. package/{chunk-GICKPMJU.js → chunk-YXWXSRXG.js} +31 -31
  82. package/{chunk-2HKBZFIK.js → chunk-YY236ZSJ.js} +31 -31
  83. package/{chunk-YX5VNRJX.js → chunk-YYFAZQ25.js} +0 -2
  84. package/{chunk-Y5AYU7PK.js → chunk-ZHFIWDGF.js} +0 -2
  85. package/components/accordion.js +2 -4
  86. package/components/action-button.d.ts +37 -0
  87. package/components/action-button.js +5 -0
  88. package/components/agent-loading.d.ts +2 -0
  89. package/components/agent-loading.js +2 -4
  90. package/components/agent-picker.js +5 -5
  91. package/components/agent-suggestion.js +5 -6
  92. package/components/alert.d.ts +37 -0
  93. package/components/alert.js +5 -0
  94. package/components/announcement-bar.js +7 -7
  95. package/components/attachment.js +5 -5
  96. package/components/avatar.js +4 -6
  97. package/components/badge.js +2 -4
  98. package/components/banner-mesh.js +1 -3
  99. package/components/banner.js +6 -6
  100. package/components/bar-chart.js +10 -11
  101. package/components/breadcrumb.js +5 -6
  102. package/components/button-group.d.ts +26 -0
  103. package/components/button-group.js +5 -0
  104. package/components/button.d.ts +13 -1
  105. package/components/button.js +4 -4
  106. package/components/card.js +5 -5
  107. package/components/channel-chart.js +10 -11
  108. package/components/chart.js +9 -10
  109. package/components/checkbox.js +2 -4
  110. package/components/chip.js +2 -4
  111. package/components/citations.d.ts +6 -4
  112. package/components/citations.js +4 -5
  113. package/components/code-block.js +5 -5
  114. package/components/combobox.d.ts +12 -3
  115. package/components/combobox.js +10 -10
  116. package/components/command-menu.d.ts +6 -2
  117. package/components/command-menu.js +5 -6
  118. package/components/context-menu.d.ts +12 -5
  119. package/components/context-menu.js +5 -6
  120. package/components/cookie-consent.js +5 -5
  121. package/components/date-picker.d.ts +26 -14
  122. package/components/date-picker.js +9 -9
  123. package/components/decision-card.js +7 -7
  124. package/components/dialog.d.ts +6 -8
  125. package/components/dialog.js +6 -5
  126. package/components/donut-chart.js +10 -11
  127. package/components/dot.js +2 -4
  128. package/components/dropdown.d.ts +6 -1
  129. package/components/dropdown.js +4 -5
  130. package/components/empty-state.js +2 -4
  131. package/components/field-group.d.ts +27 -0
  132. package/components/field-group.js +3 -0
  133. package/components/file-upload.js +7 -7
  134. package/components/floating.js +1 -3
  135. package/components/form-field.d.ts +38 -1
  136. package/components/form-field.js +2 -4
  137. package/components/form.d.ts +47 -0
  138. package/components/form.js +3 -0
  139. package/components/hover-card.d.ts +5 -2
  140. package/components/hover-card.js +2 -4
  141. package/components/input-group.d.ts +21 -0
  142. package/components/input-group.js +6 -0
  143. package/components/input-otp.d.ts +4 -2
  144. package/components/input-otp.js +7 -8
  145. package/components/input.d.ts +5 -1
  146. package/components/input.js +3 -5
  147. package/components/kbd.js +2 -4
  148. package/components/labels.d.ts +86 -0
  149. package/components/labels.js +1 -0
  150. package/components/line-chart.js +11 -12
  151. package/components/link.d.ts +20 -0
  152. package/components/link.js +3 -0
  153. package/components/list.d.ts +46 -0
  154. package/components/list.js +2 -0
  155. package/components/message-actions.js +5 -5
  156. package/components/message.js +8 -8
  157. package/components/number-input.d.ts +4 -2
  158. package/components/number-input.js +7 -8
  159. package/components/pagination.js +6 -6
  160. package/components/password-input.d.ts +16 -0
  161. package/components/password-input.js +7 -0
  162. package/components/popover.d.ts +11 -5
  163. package/components/popover.js +3 -4
  164. package/components/progress.js +2 -4
  165. package/components/prompt-bar.js +6 -6
  166. package/components/radio.js +2 -4
  167. package/components/search-bar.js +3 -5
  168. package/components/segmented-control.d.ts +4 -2
  169. package/components/segmented-control.js +3 -5
  170. package/components/select.d.ts +11 -2
  171. package/components/select.js +6 -7
  172. package/components/selectable-card.d.ts +37 -0
  173. package/components/selectable-card.js +2 -0
  174. package/components/selectable-checkbox.d.ts +14 -0
  175. package/components/selectable-checkbox.js +4 -0
  176. package/components/selectable-radio.d.ts +16 -0
  177. package/components/selectable-radio.js +3 -0
  178. package/components/separator.d.ts +18 -0
  179. package/components/separator.js +2 -0
  180. package/components/sheet.d.ts +4 -2
  181. package/components/sheet.js +7 -6
  182. package/components/sidebar.js +2 -4
  183. package/components/skeleton.js +2 -4
  184. package/components/slider.d.ts +6 -2
  185. package/components/slider.js +7 -8
  186. package/components/sliding-indicator.js +1 -3
  187. package/components/spinner.d.ts +18 -0
  188. package/components/spinner.js +3 -0
  189. package/components/split-button.d.ts +24 -0
  190. package/components/split-button.js +8 -0
  191. package/components/streaming-text.js +2 -4
  192. package/components/switch.js +2 -4
  193. package/components/table.d.ts +16 -5
  194. package/components/table.js +4 -5
  195. package/components/tabs.d.ts +4 -2
  196. package/components/tabs.js +3 -5
  197. package/components/textarea.js +3 -5
  198. package/components/thinking.js +3 -5
  199. package/components/toast.js +5 -5
  200. package/components/toggle.js +2 -4
  201. package/components/tooltip.d.ts +5 -2
  202. package/components/tooltip.js +3 -5
  203. package/index.d.ts +17 -2
  204. package/index.js +82 -231
  205. package/lib/utils.d.ts +8 -1
  206. package/lib/utils.js +1 -3
  207. package/package.json +11 -1
  208. package/styles.css +1 -1
  209. package/theme/create-theme.d.ts +6 -2
  210. package/theme/index.js +1 -0
  211. package/chunk-2HKBZFIK.js.map +0 -1
  212. package/chunk-3DINAQLL.js.map +0 -1
  213. package/chunk-3ERGAHKA.js +0 -179
  214. package/chunk-3ERGAHKA.js.map +0 -1
  215. package/chunk-6C7CGJX2.js +0 -86
  216. package/chunk-6C7CGJX2.js.map +0 -1
  217. package/chunk-6QMSWITQ.js.map +0 -1
  218. package/chunk-6YXUBP27.js.map +0 -1
  219. package/chunk-72OCFAPT.js.map +0 -1
  220. package/chunk-7TXHCRAG.js.map +0 -1
  221. package/chunk-A5XEM3GF.js.map +0 -1
  222. package/chunk-AN2RNJLR.js.map +0 -1
  223. package/chunk-B2K45IUR.js.map +0 -1
  224. package/chunk-B6V4VSGH.js.map +0 -1
  225. package/chunk-BKZBWPUH.js.map +0 -1
  226. package/chunk-BNTPPZCK.js.map +0 -1
  227. package/chunk-BNZVTLHV.js.map +0 -1
  228. package/chunk-CL2II6BX.js.map +0 -1
  229. package/chunk-D7RZNTFC.js +0 -95
  230. package/chunk-D7RZNTFC.js.map +0 -1
  231. package/chunk-DETGJAIC.js +0 -147
  232. package/chunk-DETGJAIC.js.map +0 -1
  233. package/chunk-DO3TBNSC.js.map +0 -1
  234. package/chunk-ESC5JCVQ.js +0 -90
  235. package/chunk-ESC5JCVQ.js.map +0 -1
  236. package/chunk-FDKIX4DC.js.map +0 -1
  237. package/chunk-GICKPMJU.js.map +0 -1
  238. package/chunk-GQA24FYG.js +0 -57
  239. package/chunk-GQA24FYG.js.map +0 -1
  240. package/chunk-H4NU7NPO.js.map +0 -1
  241. package/chunk-H63FYCMY.js +0 -11
  242. package/chunk-H63FYCMY.js.map +0 -1
  243. package/chunk-HL42K2NH.js.map +0 -1
  244. package/chunk-HNQUX43Z.js +0 -109
  245. package/chunk-HNQUX43Z.js.map +0 -1
  246. package/chunk-HRKPV66B.js +0 -32
  247. package/chunk-HRKPV66B.js.map +0 -1
  248. package/chunk-J3NSDRVH.js.map +0 -1
  249. package/chunk-JPNWHWAQ.js +0 -151
  250. package/chunk-JPNWHWAQ.js.map +0 -1
  251. package/chunk-KNUWZNFV.js.map +0 -1
  252. package/chunk-L6NCCSIP.js.map +0 -1
  253. package/chunk-LLHTVIM3.js.map +0 -1
  254. package/chunk-LW3TRU5W.js.map +0 -1
  255. package/chunk-LZMKSFCF.js.map +0 -1
  256. package/chunk-MR3JDI7E.js +0 -122
  257. package/chunk-MR3JDI7E.js.map +0 -1
  258. package/chunk-MYEZXZZC.js.map +0 -1
  259. package/chunk-NN6PKJWS.js.map +0 -1
  260. package/chunk-NSRTTYQ4.js.map +0 -1
  261. package/chunk-O7F3CIDV.js.map +0 -1
  262. package/chunk-P4O6TGDR.js.map +0 -1
  263. package/chunk-PF3YBUKT.js.map +0 -1
  264. package/chunk-PVOLDO4G.js +0 -47
  265. package/chunk-PVOLDO4G.js.map +0 -1
  266. package/chunk-QS4N4MNP.js.map +0 -1
  267. package/chunk-QUF2IPOZ.js.map +0 -1
  268. package/chunk-RTJ76X5U.js.map +0 -1
  269. package/chunk-SH6NG6VN.js.map +0 -1
  270. package/chunk-SHDFUXYV.js.map +0 -1
  271. package/chunk-TKO44NDI.js +0 -84
  272. package/chunk-TKO44NDI.js.map +0 -1
  273. package/chunk-TX3H3QMA.js.map +0 -1
  274. package/chunk-UBNHSZSE.js +0 -88
  275. package/chunk-UBNHSZSE.js.map +0 -1
  276. package/chunk-UC3ZJWOD.js +0 -73
  277. package/chunk-UC3ZJWOD.js.map +0 -1
  278. package/chunk-UGRSWP6U.js.map +0 -1
  279. package/chunk-VAGIAREV.js.map +0 -1
  280. package/chunk-WTMZT3IT.js +0 -105
  281. package/chunk-WTMZT3IT.js.map +0 -1
  282. package/chunk-WX6BP5ZP.js +0 -39
  283. package/chunk-WX6BP5ZP.js.map +0 -1
  284. package/chunk-X3PQANZO.js.map +0 -1
  285. package/chunk-XILQ7GXE.js.map +0 -1
  286. package/chunk-XL75JRUA.js.map +0 -1
  287. package/chunk-XZNHT6MO.js.map +0 -1
  288. package/chunk-Y5AYU7PK.js.map +0 -1
  289. package/chunk-YG7JOOLJ.js.map +0 -1
  290. package/chunk-YPJYW624.js +0 -195
  291. package/chunk-YPJYW624.js.map +0 -1
  292. package/chunk-YPNKBE5X.js.map +0 -1
  293. package/chunk-YX5VNRJX.js.map +0 -1
  294. package/components/accordion.js.map +0 -1
  295. package/components/agent-loading.js.map +0 -1
  296. package/components/agent-picker.js.map +0 -1
  297. package/components/agent-suggestion.js.map +0 -1
  298. package/components/announcement-bar.js.map +0 -1
  299. package/components/attachment.js.map +0 -1
  300. package/components/avatar.js.map +0 -1
  301. package/components/badge.js.map +0 -1
  302. package/components/banner-mesh.js.map +0 -1
  303. package/components/banner.js.map +0 -1
  304. package/components/bar-chart.js.map +0 -1
  305. package/components/breadcrumb.js.map +0 -1
  306. package/components/button.js.map +0 -1
  307. package/components/card.js.map +0 -1
  308. package/components/channel-chart.js.map +0 -1
  309. package/components/chart.js.map +0 -1
  310. package/components/checkbox.js.map +0 -1
  311. package/components/chip.js.map +0 -1
  312. package/components/citations.js.map +0 -1
  313. package/components/code-block.js.map +0 -1
  314. package/components/combobox.js.map +0 -1
  315. package/components/command-menu.js.map +0 -1
  316. package/components/context-menu.js.map +0 -1
  317. package/components/cookie-consent.js.map +0 -1
  318. package/components/date-picker.js.map +0 -1
  319. package/components/decision-card.js.map +0 -1
  320. package/components/dialog.js.map +0 -1
  321. package/components/donut-chart.js.map +0 -1
  322. package/components/dot.js.map +0 -1
  323. package/components/dropdown.js.map +0 -1
  324. package/components/empty-state.js.map +0 -1
  325. package/components/file-upload.js.map +0 -1
  326. package/components/floating.js.map +0 -1
  327. package/components/form-field.js.map +0 -1
  328. package/components/hover-card.js.map +0 -1
  329. package/components/input-otp.js.map +0 -1
  330. package/components/input.js.map +0 -1
  331. package/components/kbd.js.map +0 -1
  332. package/components/line-chart.js.map +0 -1
  333. package/components/message-actions.js.map +0 -1
  334. package/components/message.js.map +0 -1
  335. package/components/number-input.js.map +0 -1
  336. package/components/pagination.js.map +0 -1
  337. package/components/popover.js.map +0 -1
  338. package/components/progress.js.map +0 -1
  339. package/components/prompt-bar.js.map +0 -1
  340. package/components/radio.js.map +0 -1
  341. package/components/search-bar.js.map +0 -1
  342. package/components/segmented-control.js.map +0 -1
  343. package/components/select.js.map +0 -1
  344. package/components/sheet.js.map +0 -1
  345. package/components/sidebar.js.map +0 -1
  346. package/components/skeleton.js.map +0 -1
  347. package/components/slider.js.map +0 -1
  348. package/components/sliding-indicator.js.map +0 -1
  349. package/components/streaming-text.js.map +0 -1
  350. package/components/switch.js.map +0 -1
  351. package/components/table.js.map +0 -1
  352. package/components/tabs.js.map +0 -1
  353. package/components/textarea.js.map +0 -1
  354. package/components/thinking.js.map +0 -1
  355. package/components/toast.js.map +0 -1
  356. package/components/toggle.js.map +0 -1
  357. package/components/tooltip.js.map +0 -1
  358. package/index.js.map +0 -1
  359. package/lib/utils.js.map +0 -1
@@ -1,4 +1,4 @@
1
- 'use client';export { Button, buttonVariants } from '../chunk-HNQUX43Z.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=button.js.map
4
- //# sourceMappingURL=button.js.map
1
+ 'use client';export { Button, ButtonDefaultsContext, buttonVariants } from '../chunk-6DWLTGRQ.js';
2
+ import '../chunk-AKEZCWNW.js';
3
+ import '../chunk-NTSU44FY.js';
4
+ import '../chunk-EHEXE2UV.js';
@@ -1,5 +1,5 @@
1
- 'use client';export { Card, cardVariants } from '../chunk-XILQ7GXE.js';
2
- import '../chunk-HNQUX43Z.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=card.js.map
5
- //# sourceMappingURL=card.js.map
1
+ 'use client';export { Card, cardVariants } from '../chunk-U6X6ODDJ.js';
2
+ import '../chunk-6DWLTGRQ.js';
3
+ import '../chunk-AKEZCWNW.js';
4
+ import '../chunk-NTSU44FY.js';
5
+ import '../chunk-EHEXE2UV.js';
@@ -1,11 +1,10 @@
1
- 'use client';export { ChannelCard } from '../chunk-LZMKSFCF.js';
2
- import '../chunk-YPJYW624.js';
3
- import '../chunk-Y5AYU7PK.js';
4
- import '../chunk-72OCFAPT.js';
5
- import '../chunk-UBNHSZSE.js';
6
- import '../chunk-3DINAQLL.js';
7
- import '../chunk-BKZBWPUH.js';
8
- import '../chunk-O7F3CIDV.js';
9
- import '../chunk-H63FYCMY.js';
10
- //# sourceMappingURL=channel-chart.js.map
11
- //# sourceMappingURL=channel-chart.js.map
1
+ 'use client';export { ChannelCard } from '../chunk-WALANB3V.js';
2
+ import '../chunk-LI5VYDLN.js';
3
+ import '../chunk-ZHFIWDGF.js';
4
+ import '../chunk-EQAFDIPE.js';
5
+ import '../chunk-KITXKIYW.js';
6
+ import '../chunk-P36KBUYD.js';
7
+ import '../chunk-XWPH7C2W.js';
8
+ import '../chunk-7NV53EL5.js';
9
+ import '../chunk-NTSU44FY.js';
10
+ import '../chunk-EHEXE2UV.js';
@@ -1,10 +1,9 @@
1
- 'use client';export { ChartCard, ChartLegendPill, ChartLegendRow, ChartTooltip, defaultFormat } from '../chunk-YPJYW624.js';
2
- import '../chunk-Y5AYU7PK.js';
3
- import '../chunk-72OCFAPT.js';
4
- import '../chunk-UBNHSZSE.js';
5
- import '../chunk-3DINAQLL.js';
6
- import '../chunk-BKZBWPUH.js';
7
- import '../chunk-O7F3CIDV.js';
8
- import '../chunk-H63FYCMY.js';
9
- //# sourceMappingURL=chart.js.map
10
- //# sourceMappingURL=chart.js.map
1
+ 'use client';export { ChartCard, ChartLegendPill, ChartLegendRow, ChartTooltip, defaultFormat } from '../chunk-LI5VYDLN.js';
2
+ import '../chunk-ZHFIWDGF.js';
3
+ import '../chunk-EQAFDIPE.js';
4
+ import '../chunk-KITXKIYW.js';
5
+ import '../chunk-P36KBUYD.js';
6
+ import '../chunk-XWPH7C2W.js';
7
+ import '../chunk-7NV53EL5.js';
8
+ import '../chunk-NTSU44FY.js';
9
+ import '../chunk-EHEXE2UV.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Checkbox } from '../chunk-FDKIX4DC.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=checkbox.js.map
4
- //# sourceMappingURL=checkbox.js.map
1
+ 'use client';export { Checkbox } from '../chunk-W2QQQWNE.js';
2
+ import '../chunk-EHEXE2UV.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Chip, ChipAvatar, chipVariants } from '../chunk-3ERGAHKA.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=chip.js.map
4
- //# sourceMappingURL=chip.js.map
1
+ 'use client';export { Chip, ChipAvatar, chipVariants } from '../chunk-6JTSZAGO.js';
2
+ import '../chunk-EHEXE2UV.js';
@@ -21,17 +21,19 @@ export interface CitationSource {
21
21
  /** The passage the answer relies on, shown in the preview. */
22
22
  quote?: string;
23
23
  }
24
- export interface CitationProps {
24
+ /** The numbered chip. Other props, `ref` included, go to its `a` (an `aria-label` passed in replaces the default). */
25
+ export interface CitationProps extends Omit<React.ComponentProps<'a'>, 'children'> {
25
26
  /** 1-based, as in the Sources list. */
26
27
  index: number;
27
28
  source: CitationSource;
28
29
  className?: string;
29
30
  }
30
- export declare function Citation({ index, source, className }: CitationProps): React.JSX.Element;
31
- export interface SourcesProps {
31
+ export declare function Citation({ index, source, className, 'aria-label': ariaLabel, ...props }: CitationProps): React.JSX.Element;
32
+ /** The sources pill and list. Other props, `ref` included, go to its root `div`. */
33
+ export interface SourcesProps extends Omit<React.ComponentProps<'div'>, 'children'> {
32
34
  sources: CitationSource[];
33
35
  /** Start with the list open. */
34
36
  defaultOpen?: boolean;
35
37
  className?: string;
36
38
  }
37
- export declare function Sources({ sources, defaultOpen, className }: SourcesProps): React.JSX.Element;
39
+ export declare function Sources({ sources, defaultOpen, className, ...props }: SourcesProps): React.JSX.Element;
@@ -1,5 +1,4 @@
1
- 'use client';export { Citation, Sources } from '../chunk-6C7CGJX2.js';
2
- import '../chunk-HRKPV66B.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=citations.js.map
5
- //# sourceMappingURL=citations.js.map
1
+ 'use client';export { Citation, Sources } from '../chunk-47DDBME3.js';
2
+ import '../chunk-W2EH6RY5.js';
3
+ import '../chunk-NTSU44FY.js';
4
+ import '../chunk-EHEXE2UV.js';
@@ -1,5 +1,5 @@
1
- 'use client';export { CodeBlock } from '../chunk-A5XEM3GF.js';
2
- import '../chunk-HNQUX43Z.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=code-block.js.map
5
- //# sourceMappingURL=code-block.js.map
1
+ 'use client';export { CodeBlock } from '../chunk-IKJIR6VL.js';
2
+ import '../chunk-6DWLTGRQ.js';
3
+ import '../chunk-AKEZCWNW.js';
4
+ import '../chunk-NTSU44FY.js';
5
+ import '../chunk-EHEXE2UV.js';
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { Popover as PopoverPrimitive } from 'radix-ui';
2
3
  import { type SelectOption } from './select.js';
3
4
  /**
4
5
  * Combobox, 1:1 with the uiKit `Combobox` set (4023:3549): Select's field, opening a searchable
@@ -18,8 +19,11 @@ import { type SelectOption } from './select.js';
18
19
  *
19
20
  * Typing filters by label and description. Arrow keys move the highlight, Enter picks it, the
20
21
  * pointer highlights what it is over. The query field is a `combobox` that owns the `listbox`.
22
+ *
23
+ * Other props, `ref` included, go to the trigger button that covers the field (the element its
24
+ * label points at); `className` styles the field around it.
21
25
  */
22
- export interface ComboboxProps {
26
+ export interface ComboboxProps extends Omit<React.ComponentProps<typeof PopoverPrimitive.Trigger>, 'value' | 'defaultValue' | 'disabled' | 'children' | 'asChild'> {
23
27
  options: SelectOption[];
24
28
  /** The applied picks. */
25
29
  value?: string[];
@@ -28,12 +32,17 @@ export interface ComboboxProps {
28
32
  multiple?: boolean;
29
33
  /** Cancel and Apply under the list; picks apply only with Apply. */
30
34
  footer?: boolean;
35
+ /** Shown while nothing is picked. Defaults to the `select` label ("Select…"). */
31
36
  placeholder?: string;
37
+ /** The query field's placeholder and name. Defaults to the `search` label. */
32
38
  searchPlaceholder?: string;
33
- /** Shown when nothing matches the query. */
39
+ /** Shown when nothing matches the query. Defaults to the `noResults` label. */
34
40
  emptyText?: React.ReactNode;
41
+ /** Defaults to the `apply` label. */
35
42
  applyLabel?: string;
43
+ /** Defaults to the `cancel` label. */
36
44
  cancelLabel?: string;
45
+ /** Defaults to the `clear` label. */
37
46
  clearLabel?: string;
38
47
  label?: React.ReactNode;
39
48
  hint?: React.ReactNode;
@@ -55,4 +64,4 @@ export interface ComboboxProps {
55
64
  wrapperClassName?: string;
56
65
  className?: string;
57
66
  }
58
- export declare function Combobox({ options, value, defaultValue, onValueChange, multiple, footer, placeholder, searchPlaceholder, emptyText, applyLabel, cancelLabel, clearLabel, label, hint, error, size, leadingIcon, disabled, id, open: openProp, defaultOpen, onOpenChange, container, onOpenAutoFocus, onInteractOutside, wrapperClassName, className, ...props }: ComboboxProps): React.JSX.Element;
67
+ export declare function Combobox({ options, value, defaultValue, onValueChange, multiple, footer, placeholder: placeholderProp, searchPlaceholder: searchPlaceholderProp, emptyText: emptyTextProp, applyLabel: applyLabelProp, cancelLabel: cancelLabelProp, clearLabel: clearLabelProp, label, hint, error, size, leadingIcon, disabled, id, open: openProp, defaultOpen, onOpenChange, container, onOpenAutoFocus, onInteractOutside, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: ComboboxProps): React.JSX.Element;
@@ -1,10 +1,10 @@
1
- 'use client';export { Combobox } from '../chunk-NSRTTYQ4.js';
2
- import '../chunk-3ERGAHKA.js';
3
- import '../chunk-72OCFAPT.js';
4
- import '../chunk-UBNHSZSE.js';
5
- import '../chunk-3DINAQLL.js';
6
- import '../chunk-BKZBWPUH.js';
7
- import '../chunk-HNQUX43Z.js';
8
- import '../chunk-H63FYCMY.js';
9
- //# sourceMappingURL=combobox.js.map
10
- //# sourceMappingURL=combobox.js.map
1
+ 'use client';export { Combobox } from '../chunk-M7RILZVW.js';
2
+ import '../chunk-6JTSZAGO.js';
3
+ import '../chunk-EQAFDIPE.js';
4
+ import '../chunk-KITXKIYW.js';
5
+ import '../chunk-P36KBUYD.js';
6
+ import '../chunk-XWPH7C2W.js';
7
+ import '../chunk-6DWLTGRQ.js';
8
+ import '../chunk-AKEZCWNW.js';
9
+ import '../chunk-NTSU44FY.js';
10
+ import '../chunk-EHEXE2UV.js';
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { Dialog as DialogPrimitive } from 'radix-ui';
2
3
  /**
3
4
  * Command menu, 1:1 with the uiKit `Command menu` set (4024:3582): the ⌘K palette. A 520px
4
5
  * popover surface (radius-2xl, border/subtle, the shadcn `lg` shadow) with a 48px search row
@@ -15,6 +16,8 @@ import * as React from 'react';
15
16
  *
16
17
  * Built on the Radix Dialog (focus trap, Escape, focus back to where it was). With `hotkey`,
17
18
  * ⌘K or Ctrl+K anywhere on the page toggles it.
19
+ *
20
+ * Other props, `ref` included, go to the menu's panel (the Radix Content).
18
21
  */
19
22
  export interface CommandItem {
20
23
  id: string;
@@ -32,13 +35,14 @@ export interface CommandGroup {
32
35
  label: React.ReactNode;
33
36
  items: CommandItem[];
34
37
  }
35
- export interface CommandMenuProps {
38
+ export interface CommandMenuProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Content>, 'children' | 'asChild' | 'placeholder' | 'onOpenAutoFocus'> {
36
39
  groups: CommandGroup[];
37
40
  open?: boolean;
38
41
  defaultOpen?: boolean;
39
42
  onOpenChange?: (open: boolean) => void;
40
43
  /** Toggle the menu with ⌘K / Ctrl+K. */
41
44
  hotkey?: boolean;
45
+ /** The search field's placeholder. Defaults to the `commandPlaceholder` label. */
42
46
  placeholder?: string;
43
47
  /** Shown when nothing matches; gets the query. */
44
48
  emptyText?: (query: string) => React.ReactNode;
@@ -51,4 +55,4 @@ export interface CommandMenuProps {
51
55
  onOpenAutoFocus?: (event: Event) => void;
52
56
  className?: string;
53
57
  }
54
- export declare function CommandMenu({ groups, open: openProp, defaultOpen, onOpenChange, hotkey, placeholder, emptyText, hints, modal, container, onOpenAutoFocus, className, }: CommandMenuProps): React.JSX.Element;
58
+ export declare function CommandMenu({ groups, open: openProp, defaultOpen, onOpenChange, hotkey, placeholder, emptyText, hints, modal, container, onOpenAutoFocus, className, ...props }: CommandMenuProps): React.JSX.Element;
@@ -1,6 +1,5 @@
1
- 'use client';export { CommandMenu } from '../chunk-P4O6TGDR.js';
2
- import '../chunk-3DINAQLL.js';
3
- import '../chunk-BKZBWPUH.js';
4
- import '../chunk-H63FYCMY.js';
5
- //# sourceMappingURL=command-menu.js.map
6
- //# sourceMappingURL=command-menu.js.map
1
+ 'use client';export { CommandMenu } from '../chunk-3VVO5MY5.js';
2
+ import '../chunk-P36KBUYD.js';
3
+ import '../chunk-XWPH7C2W.js';
4
+ import '../chunk-NTSU44FY.js';
5
+ import '../chunk-EHEXE2UV.js';
@@ -10,8 +10,10 @@ import { type MenuItemContentProps } from './dropdown.js';
10
10
  *
11
11
  * Built on the Radix ContextMenu: arrow keys, typeahead, Escape, Shift+F10 / the menu key on the
12
12
  * focused target.
13
+ *
14
+ * Other props, `ref` included, go to the menu's panel (the Radix Content).
13
15
  */
14
- export interface ContextMenuProps {
16
+ export interface ContextMenuProps extends Omit<React.ComponentProps<typeof ContextPrimitive.Content>, 'children' | 'asChild' | 'onFocusOutside'> {
15
17
  /** What right-click opens the menu on. Rendered with `asChild`, so pass one element. */
16
18
  trigger: React.ReactNode;
17
19
  /** `ContextMenuItem`s, `ContextMenuSub`s and `ContextMenuSeparator`s. */
@@ -25,21 +27,26 @@ export interface ContextMenuProps {
25
27
  onFocusOutside?: (event: Event) => void;
26
28
  className?: string;
27
29
  }
28
- export declare function ContextMenu({ trigger, children, onOpenChange, container, modal, onFocusOutside, className, }: ContextMenuProps): React.JSX.Element;
30
+ export declare function ContextMenu({ trigger, children, onOpenChange, container, modal, onFocusOutside, className, ...props }: ContextMenuProps): React.JSX.Element;
29
31
  export interface ContextMenuItemProps extends Omit<React.ComponentProps<typeof ContextPrimitive.Item>, 'children'>, Pick<MenuItemContentProps, 'icon' | 'shortcut' | 'description'> {
30
32
  label: string;
31
33
  /** Deletes or removes: action/destructive/fg, and best placed last. */
32
34
  destructive?: boolean;
33
35
  }
34
36
  export declare function ContextMenuItem({ label, icon, shortcut, description, destructive, className, ...props }: ContextMenuItemProps): React.JSX.Element;
35
- export interface ContextMenuSubProps extends Pick<MenuItemContentProps, 'icon'> {
37
+ export interface ContextMenuSubProps extends Omit<React.ComponentProps<typeof ContextPrimitive.SubContent>, 'children' | 'asChild'>, Pick<MenuItemContentProps, 'icon'> {
36
38
  label: string;
37
39
  /** The submenu's items. */
38
40
  children: React.ReactNode;
39
41
  disabled?: boolean;
40
42
  }
41
- /** A row that opens a submenu beside it (hover, →, or Enter). */
42
- export declare function ContextMenuSub({ label, icon, children, disabled }: ContextMenuSubProps): React.JSX.Element;
43
+ /**
44
+ * A row that opens a submenu beside it (hover, →, or Enter).
45
+ *
46
+ * Other props, `ref` and `className` included, go to the submenu's panel (the Radix SubContent),
47
+ * not to the row.
48
+ */
49
+ export declare function ContextMenuSub({ label, icon, children, disabled, className, ...props }: ContextMenuSubProps): React.JSX.Element;
43
50
  /** A 1px bg/muted rule between groups of rows. */
44
51
  export declare function ContextMenuSeparator({ className }: {
45
52
  className?: string;
@@ -1,6 +1,5 @@
1
- 'use client';export { ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuSub } from '../chunk-PF3YBUKT.js';
2
- import '../chunk-3DINAQLL.js';
3
- import '../chunk-BKZBWPUH.js';
4
- import '../chunk-H63FYCMY.js';
5
- //# sourceMappingURL=context-menu.js.map
6
- //# sourceMappingURL=context-menu.js.map
1
+ 'use client';export { ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuSub } from '../chunk-CQFAMWZI.js';
2
+ import '../chunk-P36KBUYD.js';
3
+ import '../chunk-XWPH7C2W.js';
4
+ import '../chunk-NTSU44FY.js';
5
+ import '../chunk-EHEXE2UV.js';
@@ -1,5 +1,5 @@
1
- 'use client';export { CookieConsent } from '../chunk-NN6PKJWS.js';
2
- import '../chunk-HNQUX43Z.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=cookie-consent.js.map
5
- //# sourceMappingURL=cookie-consent.js.map
1
+ 'use client';export { CookieConsent } from '../chunk-KQNA22D3.js';
2
+ import '../chunk-6DWLTGRQ.js';
3
+ import '../chunk-AKEZCWNW.js';
4
+ import '../chunk-NTSU44FY.js';
5
+ import '../chunk-EHEXE2UV.js';
@@ -15,6 +15,9 @@ import * as React from 'react';
15
15
  *
16
16
  * Keyboard: the grid is one tab stop; arrows move a day or a week, Page Up / Down a month, Home /
17
17
  * End the week, Enter or Space picks.
18
+ *
19
+ * Other props, `ref` included, go to: Calendar's root, DatePicker's and DateRangePicker's trigger
20
+ * button (`className` styles it too), and the panels' surface.
18
21
  */
19
22
  export type DateRange = {
20
23
  from: Date | null;
@@ -22,7 +25,7 @@ export type DateRange = {
22
25
  };
23
26
  export declare const formatDate: (d: Date) => string;
24
27
  export declare const formatRange: ({ from, to }: DateRange) => string;
25
- export interface CalendarProps {
28
+ export interface CalendarProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
26
29
  mode?: 'single' | 'range';
27
30
  /** single: the picked day. */
28
31
  value?: Date | null;
@@ -42,11 +45,12 @@ export interface CalendarProps {
42
45
  today?: Date;
43
46
  className?: string;
44
47
  }
45
- export declare function Calendar({ mode, value, onValueChange, range, onRangeChange, month: monthProp, onMonthChange, months, header, min, max, today: todayProp, className, }: CalendarProps): React.JSX.Element;
48
+ export declare function Calendar({ mode, value, onValueChange, range, onRangeChange, month: monthProp, onMonthChange, months, header, min, max, today: todayProp, className, ref, onPointerLeave, ...props }: CalendarProps): React.JSX.Element;
46
49
  interface FieldBits {
47
50
  label?: React.ReactNode;
48
51
  hint?: React.ReactNode;
49
52
  error?: React.ReactNode | boolean;
53
+ /** Shown while nothing is picked. Defaults to the `pickDate` / `pickDates` label. */
50
54
  placeholder?: string;
51
55
  disabled?: boolean;
52
56
  id?: string;
@@ -55,7 +59,7 @@ interface FieldBits {
55
59
  wrapperClassName?: string;
56
60
  className?: string;
57
61
  }
58
- export interface DatePickerPanelProps {
62
+ export interface DatePickerPanelProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
59
63
  value?: Date | null;
60
64
  onValueChange?: (value: Date) => void;
61
65
  min?: Date;
@@ -63,9 +67,10 @@ export interface DatePickerPanelProps {
63
67
  today?: Date;
64
68
  className?: string;
65
69
  }
66
- /** The date picker's panel on its own, in place: the popover surface with the Calendar, month and year to pick. */
67
- export declare function DatePickerPanel({ value, onValueChange, min, max, today, className }: DatePickerPanelProps): React.JSX.Element;
68
- export interface DatePickerProps extends FieldBits {
70
+ /** The date picker's panel on its own, in place: the popover surface with the Calendar, month and year to pick. Other props, `ref` included, go to the surface. */
71
+ export declare function DatePickerPanel({ value, onValueChange, min, max, today, className, ...props }: DatePickerPanelProps): React.JSX.Element;
72
+ type TriggerAttributes = Omit<React.ComponentProps<'button'>, keyof FieldBits | 'value' | 'defaultValue' | 'type' | 'children'>;
73
+ export interface DatePickerProps extends FieldBits, TriggerAttributes {
69
74
  value?: Date | null;
70
75
  defaultValue?: Date | null;
71
76
  onValueChange?: (value: Date) => void;
@@ -75,9 +80,12 @@ export interface DatePickerProps extends FieldBits {
75
80
  /** Portal target. */
76
81
  container?: HTMLElement | null;
77
82
  }
78
- /** A date field: the kit Input's skin with a calendar icon; the Calendar opens 4px below, with month and year to pick. */
79
- export declare function DatePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, container, wrapperClassName, className, }: DatePickerProps): React.JSX.Element;
80
- export interface DateRangePickerProps extends FieldBits {
83
+ /**
84
+ * A date field: the kit Input's skin with a calendar icon; the Calendar opens 4px below, with month and year to pick.
85
+ * Other props, `ref` included, go to the trigger button.
86
+ */
87
+ export declare function DatePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, container, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: DatePickerProps): React.JSX.Element;
88
+ export interface DateRangePickerProps extends FieldBits, TriggerAttributes {
81
89
  value?: DateRange;
82
90
  defaultValue?: DateRange;
83
91
  /** Called on Apply. */
@@ -85,16 +93,18 @@ export interface DateRangePickerProps extends FieldBits {
85
93
  min?: Date;
86
94
  max?: Date;
87
95
  today?: Date;
96
+ /** Defaults to the `apply` label. */
88
97
  applyLabel?: string;
98
+ /** Defaults to the `cancel` label. */
89
99
  cancelLabel?: string;
90
100
  container?: HTMLElement | null;
91
101
  }
92
102
  /**
93
103
  * A range field: two months, Cancel and Apply in the footer. Picks wait for Apply. Picking an
94
- * end before the start swaps them.
104
+ * end before the start swaps them. Other props, `ref` included, go to the trigger button.
95
105
  */
96
- export declare function DateRangePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, applyLabel, cancelLabel, container, wrapperClassName, className, }: DateRangePickerProps): React.JSX.Element;
97
- export interface DateRangePickerPanelProps {
106
+ export declare function DateRangePicker({ value: valueProp, defaultValue, onValueChange, min, max, today, label, hint, error, placeholder, disabled, id, size, applyLabel, cancelLabel, container, wrapperClassName, className, 'aria-describedby': describedBy, ...props }: DateRangePickerProps): React.JSX.Element;
107
+ export interface DateRangePickerPanelProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'children'> {
98
108
  /** The range the panel starts from; picks stay in the panel until Apply. */
99
109
  value?: DateRange;
100
110
  /** Apply. */
@@ -103,10 +113,12 @@ export interface DateRangePickerPanelProps {
103
113
  min?: Date;
104
114
  max?: Date;
105
115
  today?: Date;
116
+ /** Defaults to the `apply` label. */
106
117
  applyLabel?: string;
118
+ /** Defaults to the `cancel` label. */
107
119
  cancelLabel?: string;
108
120
  className?: string;
109
121
  }
110
- /** The range picker's panel on its own, in place: two months, Cancel and Apply. */
111
- export declare function DateRangePickerPanel({ value, onApply, onCancel, min, max, today, applyLabel, cancelLabel, className, }: DateRangePickerPanelProps): React.JSX.Element;
122
+ /** The range picker's panel on its own, in place: two months, Cancel and Apply. Other props, `ref` included, go to the surface. */
123
+ export declare function DateRangePickerPanel({ value, onApply, onCancel, min, max, today, applyLabel, cancelLabel, className, ...props }: DateRangePickerPanelProps): React.JSX.Element;
112
124
  export {};
@@ -1,9 +1,9 @@
1
- 'use client';export { Calendar, DatePicker, DatePickerPanel, DateRangePicker, DateRangePickerPanel, formatDate, formatRange } from '../chunk-XZNHT6MO.js';
2
- import '../chunk-72OCFAPT.js';
3
- import '../chunk-UBNHSZSE.js';
4
- import '../chunk-3DINAQLL.js';
5
- import '../chunk-BKZBWPUH.js';
6
- import '../chunk-HNQUX43Z.js';
7
- import '../chunk-H63FYCMY.js';
8
- //# sourceMappingURL=date-picker.js.map
9
- //# sourceMappingURL=date-picker.js.map
1
+ 'use client';export { Calendar, DatePicker, DatePickerPanel, DateRangePicker, DateRangePickerPanel, formatDate, formatRange } from '../chunk-UAJ6M34K.js';
2
+ import '../chunk-EQAFDIPE.js';
3
+ import '../chunk-KITXKIYW.js';
4
+ import '../chunk-P36KBUYD.js';
5
+ import '../chunk-XWPH7C2W.js';
6
+ import '../chunk-6DWLTGRQ.js';
7
+ import '../chunk-AKEZCWNW.js';
8
+ import '../chunk-NTSU44FY.js';
9
+ import '../chunk-EHEXE2UV.js';
@@ -1,7 +1,7 @@
1
- 'use client';export { DecisionCard, DecisionItemPreview } from '../chunk-TX3H3QMA.js';
2
- import '../chunk-J3NSDRVH.js';
3
- import '../chunk-FDKIX4DC.js';
4
- import '../chunk-HNQUX43Z.js';
5
- import '../chunk-H63FYCMY.js';
6
- //# sourceMappingURL=decision-card.js.map
7
- //# sourceMappingURL=decision-card.js.map
1
+ 'use client';export { DecisionCard, DecisionItemPreview } from '../chunk-HI6QIG55.js';
2
+ import '../chunk-XETMIETJ.js';
3
+ import '../chunk-W2QQQWNE.js';
4
+ import '../chunk-6DWLTGRQ.js';
5
+ import '../chunk-AKEZCWNW.js';
6
+ import '../chunk-NTSU44FY.js';
7
+ import '../chunk-EHEXE2UV.js';
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Dialog as DialogPrimitive } from 'radix-ui';
3
+ import { CloseIcon, StatusIcon } from './alert.js';
4
+ export { CloseIcon, StatusIcon };
3
5
  /**
4
6
  * Dialog, 1:1 with the uiKit `Dialog` set (465:66873): variant default or destructive.
5
7
  * A 425px popover surface (min 360, max 560, never wider or taller than the screen less 16px a side; the body scrolls), radius-2xl, border/default, the shadcn `lg`
@@ -12,9 +14,11 @@ import { Dialog as DialogPrimitive } from 'radix-ui';
12
14
  * `role="alertdialog"`, so screen readers announce it as an alert. Pass `container` to portal
13
15
  * it into a positioned element (the docs stage) instead of the page; the dialog then centres
14
16
  * inside that element rather than the viewport.
17
+ *
18
+ * Other props, `ref` included, go to the dialog's content panel.
15
19
  */
16
20
  export type DialogVariant = 'default' | 'destructive';
17
- export interface DialogProps {
21
+ export interface DialogProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Content>, 'title' | 'children' | 'asChild' | 'onOpenAutoFocus'> {
18
22
  open?: boolean;
19
23
  defaultOpen?: boolean;
20
24
  onOpenChange?: (open: boolean) => void;
@@ -41,9 +45,7 @@ export interface DialogProps {
41
45
  onOpenAutoFocus?: (event: Event) => void;
42
46
  className?: string;
43
47
  }
44
- /** The X from Figma's close button (`icon` 16px, 1.25 stroke). */
45
- export declare function CloseIcon(): React.JSX.Element;
46
- export declare function Dialog({ open, defaultOpen, onOpenChange, trigger, title, description, variant, alert, footer, footerStart, children, closeButton, modal, container, onOpenAutoFocus, className, }: DialogProps): React.JSX.Element;
48
+ export declare function Dialog({ open, defaultOpen, onOpenChange, trigger, title, description, variant, alert, footer, footerStart, children, closeButton, modal, container, onOpenAutoFocus, className, ...props }: DialogProps): React.JSX.Element;
47
49
  /** Wrap a footer button in this to make it close the dialog: `<DialogClose asChild><Button…/></DialogClose>`. */
48
50
  export declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
49
51
  export type DialogAlertIntent = 'info' | 'success' | 'warning' | 'error';
@@ -61,8 +63,4 @@ export interface DialogAlertProps extends Omit<React.ComponentProps<'div'>, 'tit
61
63
  /** Shows the close button; called when it is pressed. */
62
64
  onDismiss?: () => void;
63
65
  }
64
- /** The four status glyphs from Figma (16px, 1.25 stroke), drawn in currentColor. */
65
- export declare function StatusIcon({ intent }: {
66
- intent: DialogAlertIntent;
67
- }): React.JSX.Element;
68
66
  export declare function DialogAlert({ intent, title, description, icon, onDismiss, className, ...props }: DialogAlertProps): React.JSX.Element;
@@ -1,5 +1,6 @@
1
- 'use client';export { CloseIcon, Dialog, DialogAlert, DialogClose, StatusIcon } from '../chunk-JPNWHWAQ.js';
2
- import '../chunk-HNQUX43Z.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=dialog.js.map
5
- //# sourceMappingURL=dialog.js.map
1
+ 'use client';export { Dialog, DialogAlert, DialogClose } from '../chunk-WZSLDYUU.js';
2
+ export { CloseIcon, StatusIcon } from '../chunk-RPL6FRVX.js';
3
+ import '../chunk-6DWLTGRQ.js';
4
+ import '../chunk-AKEZCWNW.js';
5
+ import '../chunk-NTSU44FY.js';
6
+ import '../chunk-EHEXE2UV.js';
@@ -1,11 +1,10 @@
1
- 'use client';export { DonutCard } from '../chunk-CL2II6BX.js';
2
- import '../chunk-YPJYW624.js';
3
- import '../chunk-Y5AYU7PK.js';
4
- import '../chunk-72OCFAPT.js';
5
- import '../chunk-UBNHSZSE.js';
6
- import '../chunk-3DINAQLL.js';
7
- import '../chunk-BKZBWPUH.js';
8
- import '../chunk-O7F3CIDV.js';
9
- import '../chunk-H63FYCMY.js';
10
- //# sourceMappingURL=donut-chart.js.map
11
- //# sourceMappingURL=donut-chart.js.map
1
+ 'use client';export { DonutCard } from '../chunk-PD2KD5OR.js';
2
+ import '../chunk-LI5VYDLN.js';
3
+ import '../chunk-ZHFIWDGF.js';
4
+ import '../chunk-EQAFDIPE.js';
5
+ import '../chunk-KITXKIYW.js';
6
+ import '../chunk-P36KBUYD.js';
7
+ import '../chunk-XWPH7C2W.js';
8
+ import '../chunk-7NV53EL5.js';
9
+ import '../chunk-NTSU44FY.js';
10
+ import '../chunk-EHEXE2UV.js';
package/components/dot.js CHANGED
@@ -1,4 +1,2 @@
1
- 'use client';export { Dot, dotVariants } from '../chunk-B2K45IUR.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=dot.js.map
4
- //# sourceMappingURL=dot.js.map
1
+ 'use client';export { Dot, dotVariants } from '../chunk-C6WRJ7DG.js';
2
+ import '../chunk-EHEXE2UV.js';
@@ -15,14 +15,18 @@ import { DropdownMenu as DropdownPrimitive } from 'radix-ui';
15
15
  * text/subtle and are 4px apart with a 1px bg/muted rule between them. Items are 4px apart.
16
16
  *
17
17
  * Built on the Radix DropdownMenu: arrow keys, typeahead, Escape, focus return.
18
+ *
19
+ * Other props on DropdownMenu, `ref` included, go to the menu's panel (the Radix Content).
18
20
  */
19
21
  /** The popover surface menus share: radius-xl, border/subtle, bg/popover, the shadcn `sm` shadow. */
22
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
20
23
  export declare const menuSurfaceClass: string;
21
24
  /** A group of rows, with a 1px bg/muted rule under every group but the last. */
25
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
22
26
  export declare const menuGroupClass = "flex flex-col gap-1 not-last:after:block not-last:after:h-px not-last:after:bg-bg-muted";
23
27
  /** The 24px group header in 12px text/subtle. */
24
28
  export declare const menuGroupLabelClass = "flex h-6 items-center px-3 text-xs leading-3 tracking-normal text-text-subtle";
25
- export interface DropdownMenuProps {
29
+ export interface DropdownMenuProps extends Omit<React.ComponentProps<typeof DropdownPrimitive.Content>, 'children' | 'asChild' | 'side' | 'align' | 'sideOffset' | 'onFocusOutside'> {
26
30
  /** The element that opens the menu. Rendered with `asChild`, so pass a Button. */
27
31
  trigger: React.ReactNode;
28
32
  /** `DropdownMenuItem`s, optionally inside `DropdownMenuGroup`s. */
@@ -51,6 +55,7 @@ export interface DropdownMenuGroupProps extends React.ComponentProps<typeof Drop
51
55
  /** A titled group of items (Figma `_dropdown/group`). Groups get a rule between them. */
52
56
  export declare function DropdownMenuGroup({ label, children, className, ...props }: DropdownMenuGroupProps): React.JSX.Element;
53
57
  /** The row skin every menu shares: Dropdown, Select, Combobox and the Command menu. */
58
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
54
59
  export declare const menuItemClass: string;
55
60
  export interface MenuItemContentProps {
56
61
  label: React.ReactNode;
@@ -1,5 +1,4 @@
1
- 'use client';export { DropdownMenu, DropdownMenuGroup, DropdownMenuItem, MenuItemContent, menuGroupClass, menuGroupLabelClass, menuItemClass, menuSurfaceClass } from '../chunk-3DINAQLL.js';
2
- import '../chunk-BKZBWPUH.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=dropdown.js.map
5
- //# sourceMappingURL=dropdown.js.map
1
+ 'use client';export { DropdownMenu, DropdownMenuGroup, DropdownMenuItem, MenuItemContent, menuGroupClass, menuGroupLabelClass, menuItemClass, menuSurfaceClass } from '../chunk-P36KBUYD.js';
2
+ import '../chunk-XWPH7C2W.js';
3
+ import '../chunk-NTSU44FY.js';
4
+ import '../chunk-EHEXE2UV.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { EmptyState, emptyStateVariants } from '../chunk-WX6BP5ZP.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=empty-state.js.map
4
- //# sourceMappingURL=empty-state.js.map
1
+ 'use client';export { EmptyState, emptyStateVariants } from '../chunk-JR3VVDV6.js';
2
+ import '../chunk-EHEXE2UV.js';