@uisatin/ui 0.2.0 → 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 (309) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +10 -1
  3. package/chunk-3DHJXU45.js +147 -0
  4. package/{chunk-6YXUBP27.js → chunk-5725MFGQ.js} +72 -67
  5. package/{chunk-BKZBWPUH.js → chunk-57QEOCDZ.js} +9 -11
  6. package/{chunk-RTJ76X5U.js → chunk-5KTBSMQU.js} +2 -4
  7. package/{chunk-B2K45IUR.js → chunk-5XTUFBZI.js} +5 -7
  8. package/{chunk-LW3TRU5W.js → chunk-674SRBZK.js} +28 -16
  9. package/{chunk-XZNHT6MO.js → chunk-6VKV36OK.js} +115 -61
  10. package/{chunk-GICKPMJU.js → chunk-73Z7NMQQ.js} +31 -31
  11. package/chunk-7Q76HLRQ.js +128 -0
  12. package/{chunk-JPNWHWAQ.js → chunk-AIMQNLPY.js} +38 -35
  13. package/{chunk-MYEZXZZC.js → chunk-BN7FDKCJ.js} +23 -25
  14. package/{chunk-3DINAQLL.js → chunk-BR2B4OIT.js} +33 -29
  15. package/{chunk-2HKBZFIK.js → chunk-CGOH5IYX.js} +31 -31
  16. package/chunk-CVNRZ2YV.js +112 -0
  17. package/{chunk-QUF2IPOZ.js → chunk-DPYIBFQD.js} +12 -14
  18. package/chunk-EF5GT4OG.js +87 -0
  19. package/chunk-FAJ3OVL4.js +37 -0
  20. package/{chunk-L6NCCSIP.js → chunk-FB5HTCO2.js} +36 -29
  21. package/chunk-GI2SMFZL.js +55 -0
  22. package/{chunk-B6V4VSGH.js → chunk-GMETYACH.js} +14 -15
  23. package/chunk-HK6WINL6.js +95 -0
  24. package/{chunk-HL42K2NH.js → chunk-IKO3GQFE.js} +17 -17
  25. package/{chunk-DO3TBNSC.js → chunk-ISYKZCPJ.js} +15 -17
  26. package/{chunk-YG7JOOLJ.js → chunk-J7RMFN54.js} +5 -7
  27. package/{chunk-SHDFUXYV.js → chunk-JBKBRAC4.js} +16 -18
  28. package/{chunk-LZMKSFCF.js → chunk-JCXI7VQL.js} +10 -12
  29. package/{chunk-NN6PKJWS.js → chunk-JYOZUQNU.js} +7 -9
  30. package/{chunk-LLHTVIM3.js → chunk-LB37KTJH.js} +7 -9
  31. package/{chunk-NSRTTYQ4.js → chunk-LB7Z6BSK.js} +42 -35
  32. package/{chunk-BNZVTLHV.js → chunk-LFGUJHFF.js} +25 -21
  33. package/{chunk-7TXHCRAG.js → chunk-M2HEVFQ3.js} +8 -10
  34. package/{chunk-SH6NG6VN.js → chunk-NH3EHMIL.js} +6 -8
  35. package/chunk-NL574STL.js +88 -0
  36. package/chunk-NQL6SIIB.js +168 -0
  37. package/chunk-O46O6LFQ.js +25 -0
  38. package/{chunk-YPNKBE5X.js → chunk-OURZQM27.js} +5 -7
  39. package/{chunk-XL75JRUA.js → chunk-OVKPPXK5.js} +42 -22
  40. package/chunk-PD6YPFYN.js +42 -0
  41. package/{chunk-XILQ7GXE.js → chunk-PHNR6ZQ7.js} +11 -13
  42. package/{chunk-BNTPPZCK.js → chunk-PUWSL5XW.js} +37 -39
  43. package/{chunk-A5XEM3GF.js → chunk-RHQHDYTE.js} +34 -36
  44. package/chunk-S7QHBVPX.js +45 -0
  45. package/{chunk-TX3H3QMA.js → chunk-SAYNV7B3.js} +71 -70
  46. package/{chunk-6QMSWITQ.js → chunk-SDOTDMYG.js} +24 -26
  47. package/{chunk-UGRSWP6U.js → chunk-SPGUZMCC.js} +10 -12
  48. package/chunk-SSOFFQ5T.js +74 -0
  49. package/{chunk-AN2RNJLR.js → chunk-SZJIVBOD.js} +16 -16
  50. package/chunk-T6L32XXH.js +107 -0
  51. package/{chunk-QS4N4MNP.js → chunk-TT2N5752.js} +18 -20
  52. package/{chunk-72OCFAPT.js → chunk-UCCNXGLG.js} +22 -21
  53. package/{chunk-KNUWZNFV.js → chunk-UGIVCXGN.js} +4 -6
  54. package/{chunk-H4NU7NPO.js → chunk-UUCVRIVP.js} +62 -61
  55. package/{chunk-P4O6TGDR.js → chunk-UZ4DXU6W.js} +28 -26
  56. package/{chunk-UBNHSZSE.js → chunk-VUOAPWTF.js} +10 -12
  57. package/{chunk-VAGIAREV.js → chunk-W472DBMT.js} +29 -26
  58. package/{chunk-X3PQANZO.js → chunk-W4RDTP6W.js} +47 -46
  59. package/{chunk-CL2II6BX.js → chunk-WLQD5BN2.js} +11 -13
  60. package/{chunk-FDKIX4DC.js → chunk-X2GNMNZQ.js} +7 -9
  61. package/{chunk-PF3YBUKT.js → chunk-X66KTATQ.js} +16 -15
  62. package/{chunk-J3NSDRVH.js → chunk-XETMIETJ.js} +0 -2
  63. package/chunk-XH56JGYC.js +71 -0
  64. package/{chunk-O7F3CIDV.js → chunk-XUOSJMEJ.js} +10 -12
  65. package/chunk-YJK4MGSI.js +86 -0
  66. package/{chunk-YX5VNRJX.js → chunk-YYFAZQ25.js} +0 -2
  67. package/chunk-Z7S2KQZS.js +177 -0
  68. package/chunk-ZBZ3ZQRB.js +195 -0
  69. package/{chunk-Y5AYU7PK.js → chunk-ZHFIWDGF.js} +0 -2
  70. package/components/accordion.js +2 -4
  71. package/components/agent-loading.d.ts +2 -0
  72. package/components/agent-loading.js +2 -4
  73. package/components/agent-picker.js +4 -5
  74. package/components/agent-suggestion.js +5 -6
  75. package/components/announcement-bar.js +6 -7
  76. package/components/attachment.js +4 -5
  77. package/components/avatar.js +4 -6
  78. package/components/badge.js +2 -4
  79. package/components/banner-mesh.js +1 -3
  80. package/components/banner.js +4 -6
  81. package/components/bar-chart.js +10 -11
  82. package/components/breadcrumb.js +5 -6
  83. package/components/button.js +2 -4
  84. package/components/card.js +3 -5
  85. package/components/channel-chart.js +10 -11
  86. package/components/chart.js +9 -10
  87. package/components/checkbox.js +2 -4
  88. package/components/chip.js +2 -4
  89. package/components/citations.d.ts +6 -4
  90. package/components/citations.js +4 -5
  91. package/components/code-block.js +3 -5
  92. package/components/combobox.d.ts +12 -3
  93. package/components/combobox.js +9 -10
  94. package/components/command-menu.d.ts +6 -2
  95. package/components/command-menu.js +5 -6
  96. package/components/context-menu.d.ts +12 -5
  97. package/components/context-menu.js +5 -6
  98. package/components/cookie-consent.js +3 -5
  99. package/components/date-picker.d.ts +26 -14
  100. package/components/date-picker.js +8 -9
  101. package/components/decision-card.js +6 -7
  102. package/components/dialog.d.ts +5 -2
  103. package/components/dialog.js +4 -5
  104. package/components/donut-chart.js +10 -11
  105. package/components/dot.js +2 -4
  106. package/components/dropdown.d.ts +6 -1
  107. package/components/dropdown.js +4 -5
  108. package/components/empty-state.js +2 -4
  109. package/components/file-upload.js +6 -7
  110. package/components/floating.js +1 -3
  111. package/components/form-field.js +2 -4
  112. package/components/hover-card.d.ts +5 -2
  113. package/components/hover-card.js +2 -4
  114. package/components/input-otp.d.ts +4 -2
  115. package/components/input-otp.js +7 -8
  116. package/components/input.js +3 -5
  117. package/components/kbd.js +2 -4
  118. package/components/labels.d.ts +79 -0
  119. package/components/labels.js +1 -0
  120. package/components/line-chart.js +11 -12
  121. package/components/message-actions.js +4 -5
  122. package/components/message.js +7 -8
  123. package/components/number-input.d.ts +4 -2
  124. package/components/number-input.js +7 -8
  125. package/components/pagination.js +4 -6
  126. package/components/popover.d.ts +11 -5
  127. package/components/popover.js +3 -4
  128. package/components/progress.js +2 -4
  129. package/components/prompt-bar.js +5 -6
  130. package/components/radio.js +2 -4
  131. package/components/search-bar.js +3 -5
  132. package/components/segmented-control.d.ts +4 -2
  133. package/components/segmented-control.js +3 -5
  134. package/components/select.d.ts +10 -2
  135. package/components/select.js +6 -7
  136. package/components/sheet.d.ts +4 -2
  137. package/components/sheet.js +5 -6
  138. package/components/sidebar.js +2 -4
  139. package/components/skeleton.js +2 -4
  140. package/components/slider.d.ts +6 -2
  141. package/components/slider.js +7 -8
  142. package/components/sliding-indicator.js +1 -3
  143. package/components/streaming-text.js +2 -4
  144. package/components/switch.js +2 -4
  145. package/components/table.d.ts +16 -5
  146. package/components/table.js +4 -5
  147. package/components/tabs.d.ts +4 -2
  148. package/components/tabs.js +3 -5
  149. package/components/textarea.js +3 -5
  150. package/components/thinking.js +3 -5
  151. package/components/toast.js +4 -5
  152. package/components/toggle.js +2 -4
  153. package/components/tooltip.d.ts +5 -2
  154. package/components/tooltip.js +3 -5
  155. package/index.d.ts +1 -0
  156. package/index.js +67 -231
  157. package/lib/utils.d.ts +8 -1
  158. package/lib/utils.js +1 -3
  159. package/package.json +11 -1
  160. package/styles.css +1 -1
  161. package/theme/create-theme.d.ts +6 -2
  162. package/theme/index.js +1 -0
  163. package/chunk-2HKBZFIK.js.map +0 -1
  164. package/chunk-3DINAQLL.js.map +0 -1
  165. package/chunk-3ERGAHKA.js +0 -179
  166. package/chunk-3ERGAHKA.js.map +0 -1
  167. package/chunk-6C7CGJX2.js +0 -86
  168. package/chunk-6C7CGJX2.js.map +0 -1
  169. package/chunk-6QMSWITQ.js.map +0 -1
  170. package/chunk-6YXUBP27.js.map +0 -1
  171. package/chunk-72OCFAPT.js.map +0 -1
  172. package/chunk-7TXHCRAG.js.map +0 -1
  173. package/chunk-A5XEM3GF.js.map +0 -1
  174. package/chunk-AN2RNJLR.js.map +0 -1
  175. package/chunk-B2K45IUR.js.map +0 -1
  176. package/chunk-B6V4VSGH.js.map +0 -1
  177. package/chunk-BKZBWPUH.js.map +0 -1
  178. package/chunk-BNTPPZCK.js.map +0 -1
  179. package/chunk-BNZVTLHV.js.map +0 -1
  180. package/chunk-CL2II6BX.js.map +0 -1
  181. package/chunk-D7RZNTFC.js +0 -95
  182. package/chunk-D7RZNTFC.js.map +0 -1
  183. package/chunk-DETGJAIC.js +0 -147
  184. package/chunk-DETGJAIC.js.map +0 -1
  185. package/chunk-DO3TBNSC.js.map +0 -1
  186. package/chunk-ESC5JCVQ.js +0 -90
  187. package/chunk-ESC5JCVQ.js.map +0 -1
  188. package/chunk-FDKIX4DC.js.map +0 -1
  189. package/chunk-GICKPMJU.js.map +0 -1
  190. package/chunk-GQA24FYG.js +0 -57
  191. package/chunk-GQA24FYG.js.map +0 -1
  192. package/chunk-H4NU7NPO.js.map +0 -1
  193. package/chunk-H63FYCMY.js +0 -11
  194. package/chunk-H63FYCMY.js.map +0 -1
  195. package/chunk-HL42K2NH.js.map +0 -1
  196. package/chunk-HNQUX43Z.js +0 -109
  197. package/chunk-HNQUX43Z.js.map +0 -1
  198. package/chunk-HRKPV66B.js +0 -32
  199. package/chunk-HRKPV66B.js.map +0 -1
  200. package/chunk-J3NSDRVH.js.map +0 -1
  201. package/chunk-JPNWHWAQ.js.map +0 -1
  202. package/chunk-KNUWZNFV.js.map +0 -1
  203. package/chunk-L6NCCSIP.js.map +0 -1
  204. package/chunk-LLHTVIM3.js.map +0 -1
  205. package/chunk-LW3TRU5W.js.map +0 -1
  206. package/chunk-LZMKSFCF.js.map +0 -1
  207. package/chunk-MR3JDI7E.js +0 -122
  208. package/chunk-MR3JDI7E.js.map +0 -1
  209. package/chunk-MYEZXZZC.js.map +0 -1
  210. package/chunk-NN6PKJWS.js.map +0 -1
  211. package/chunk-NSRTTYQ4.js.map +0 -1
  212. package/chunk-O7F3CIDV.js.map +0 -1
  213. package/chunk-P4O6TGDR.js.map +0 -1
  214. package/chunk-PF3YBUKT.js.map +0 -1
  215. package/chunk-PVOLDO4G.js +0 -47
  216. package/chunk-PVOLDO4G.js.map +0 -1
  217. package/chunk-QS4N4MNP.js.map +0 -1
  218. package/chunk-QUF2IPOZ.js.map +0 -1
  219. package/chunk-RTJ76X5U.js.map +0 -1
  220. package/chunk-SH6NG6VN.js.map +0 -1
  221. package/chunk-SHDFUXYV.js.map +0 -1
  222. package/chunk-TKO44NDI.js +0 -84
  223. package/chunk-TKO44NDI.js.map +0 -1
  224. package/chunk-TX3H3QMA.js.map +0 -1
  225. package/chunk-UBNHSZSE.js.map +0 -1
  226. package/chunk-UC3ZJWOD.js +0 -73
  227. package/chunk-UC3ZJWOD.js.map +0 -1
  228. package/chunk-UGRSWP6U.js.map +0 -1
  229. package/chunk-VAGIAREV.js.map +0 -1
  230. package/chunk-WTMZT3IT.js +0 -105
  231. package/chunk-WTMZT3IT.js.map +0 -1
  232. package/chunk-WX6BP5ZP.js +0 -39
  233. package/chunk-WX6BP5ZP.js.map +0 -1
  234. package/chunk-X3PQANZO.js.map +0 -1
  235. package/chunk-XILQ7GXE.js.map +0 -1
  236. package/chunk-XL75JRUA.js.map +0 -1
  237. package/chunk-XZNHT6MO.js.map +0 -1
  238. package/chunk-Y5AYU7PK.js.map +0 -1
  239. package/chunk-YG7JOOLJ.js.map +0 -1
  240. package/chunk-YPJYW624.js +0 -195
  241. package/chunk-YPJYW624.js.map +0 -1
  242. package/chunk-YPNKBE5X.js.map +0 -1
  243. package/chunk-YX5VNRJX.js.map +0 -1
  244. package/components/accordion.js.map +0 -1
  245. package/components/agent-loading.js.map +0 -1
  246. package/components/agent-picker.js.map +0 -1
  247. package/components/agent-suggestion.js.map +0 -1
  248. package/components/announcement-bar.js.map +0 -1
  249. package/components/attachment.js.map +0 -1
  250. package/components/avatar.js.map +0 -1
  251. package/components/badge.js.map +0 -1
  252. package/components/banner-mesh.js.map +0 -1
  253. package/components/banner.js.map +0 -1
  254. package/components/bar-chart.js.map +0 -1
  255. package/components/breadcrumb.js.map +0 -1
  256. package/components/button.js.map +0 -1
  257. package/components/card.js.map +0 -1
  258. package/components/channel-chart.js.map +0 -1
  259. package/components/chart.js.map +0 -1
  260. package/components/checkbox.js.map +0 -1
  261. package/components/chip.js.map +0 -1
  262. package/components/citations.js.map +0 -1
  263. package/components/code-block.js.map +0 -1
  264. package/components/combobox.js.map +0 -1
  265. package/components/command-menu.js.map +0 -1
  266. package/components/context-menu.js.map +0 -1
  267. package/components/cookie-consent.js.map +0 -1
  268. package/components/date-picker.js.map +0 -1
  269. package/components/decision-card.js.map +0 -1
  270. package/components/dialog.js.map +0 -1
  271. package/components/donut-chart.js.map +0 -1
  272. package/components/dot.js.map +0 -1
  273. package/components/dropdown.js.map +0 -1
  274. package/components/empty-state.js.map +0 -1
  275. package/components/file-upload.js.map +0 -1
  276. package/components/floating.js.map +0 -1
  277. package/components/form-field.js.map +0 -1
  278. package/components/hover-card.js.map +0 -1
  279. package/components/input-otp.js.map +0 -1
  280. package/components/input.js.map +0 -1
  281. package/components/kbd.js.map +0 -1
  282. package/components/line-chart.js.map +0 -1
  283. package/components/message-actions.js.map +0 -1
  284. package/components/message.js.map +0 -1
  285. package/components/number-input.js.map +0 -1
  286. package/components/pagination.js.map +0 -1
  287. package/components/popover.js.map +0 -1
  288. package/components/progress.js.map +0 -1
  289. package/components/prompt-bar.js.map +0 -1
  290. package/components/radio.js.map +0 -1
  291. package/components/search-bar.js.map +0 -1
  292. package/components/segmented-control.js.map +0 -1
  293. package/components/select.js.map +0 -1
  294. package/components/sheet.js.map +0 -1
  295. package/components/sidebar.js.map +0 -1
  296. package/components/skeleton.js.map +0 -1
  297. package/components/slider.js.map +0 -1
  298. package/components/sliding-indicator.js.map +0 -1
  299. package/components/streaming-text.js.map +0 -1
  300. package/components/switch.js.map +0 -1
  301. package/components/table.js.map +0 -1
  302. package/components/tabs.js.map +0 -1
  303. package/components/textarea.js.map +0 -1
  304. package/components/thinking.js.map +0 -1
  305. package/components/toast.js.map +0 -1
  306. package/components/toggle.js.map +0 -1
  307. package/components/tooltip.js.map +0 -1
  308. package/index.js.map +0 -1
  309. package/lib/utils.js.map +0 -1
@@ -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-BR2B4OIT.js';
2
+ import '../chunk-57QEOCDZ.js';
3
+ import '../chunk-SSOFFQ5T.js';
4
+ import '../chunk-O46O6LFQ.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-FAJ3OVL4.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -1,7 +1,6 @@
1
- 'use client';export { FileUpload, FileUploadItem, fileIconFor, formatBytes } from '../chunk-GICKPMJU.js';
2
- import '../chunk-7TXHCRAG.js';
3
- import '../chunk-H4NU7NPO.js';
4
- import '../chunk-HNQUX43Z.js';
5
- import '../chunk-H63FYCMY.js';
6
- //# sourceMappingURL=file-upload.js.map
7
- //# sourceMappingURL=file-upload.js.map
1
+ 'use client';export { FileUpload, FileUploadItem, fileIconFor, formatBytes } from '../chunk-73Z7NMQQ.js';
2
+ import '../chunk-UUCVRIVP.js';
3
+ import '../chunk-M2HEVFQ3.js';
4
+ import '../chunk-T6L32XXH.js';
5
+ import '../chunk-SSOFFQ5T.js';
6
+ import '../chunk-O46O6LFQ.js';
@@ -1,3 +1 @@
1
- 'use client';export { Floating } from '../chunk-Y5AYU7PK.js';
2
- //# sourceMappingURL=floating.js.map
3
- //# sourceMappingURL=floating.js.map
1
+ 'use client';export { Floating } from '../chunk-ZHFIWDGF.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { FormField, useFormField } from '../chunk-UBNHSZSE.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=form-field.js.map
4
- //# sourceMappingURL=form-field.js.map
1
+ 'use client';export { FormField, useFormField } from '../chunk-VUOAPWTF.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { HoverCard as HoverCardPrimitive } from 'radix-ui';
2
3
  /**
3
4
  * HoverCard, 1:1 with the uiKit design (🆕 context menu & hover card): a preview of a person,
4
5
  * place or file over its link — the Popover surface (bg/popover, border/default, radius-xl, the
@@ -8,8 +9,10 @@ import * as React from 'react';
8
9
  *
9
10
  * Only for extra context the page works without: anything someone needs to act on belongs in a
10
11
  * Popover they open on purpose.
12
+ *
13
+ * Other props, `ref` included, go to the card itself (the Radix Content).
11
14
  */
12
- export interface HoverCardProps {
15
+ export interface HoverCardProps extends Omit<React.ComponentProps<typeof HoverCardPrimitive.Content>, 'children' | 'asChild' | 'side' | 'align'> {
13
16
  /** The link or name it previews. Rendered with `asChild`. */
14
17
  trigger: React.ReactNode;
15
18
  children: React.ReactNode;
@@ -25,6 +28,6 @@ export interface HoverCardProps {
25
28
  container?: HTMLElement | null;
26
29
  className?: string;
27
30
  }
28
- export declare function HoverCard({ trigger, children, side, align, openDelay, closeDelay, open, defaultOpen, onOpenChange, container, className, }: HoverCardProps): React.JSX.Element;
31
+ export declare function HoverCard({ trigger, children, side, align, openDelay, closeDelay, open, defaultOpen, onOpenChange, container, className, ...props }: HoverCardProps): React.JSX.Element;
29
32
  /** The hover card's surface, for previews you place yourself. */
30
33
  export declare const hoverCardClass: string;
@@ -1,4 +1,2 @@
1
- 'use client';export { HoverCard, hoverCardClass } from '../chunk-HRKPV66B.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=hover-card.js.map
4
- //# sourceMappingURL=hover-card.js.map
1
+ 'use client';export { HoverCard, hoverCardClass } from '../chunk-PD6YPFYN.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -20,8 +20,10 @@ import * as React from 'react';
20
20
  * and the browser's SMS autofill (`autocomplete="one-time-code"`) all work as in any field, and
21
21
  * screen readers hear one text box. Only digits by default (`pattern`); `onComplete` fires when
22
22
  * every cell is filled.
23
+ *
24
+ * Other props, `ref` included, go to that <input>; `className` styles the field around it.
23
25
  */
24
- export interface InputOTPProps {
26
+ export interface InputOTPProps extends Omit<React.ComponentProps<'input'>, 'value' | 'defaultValue' | 'pattern' | 'type' | 'maxLength' | 'children'> {
25
27
  /** How many characters. */
26
28
  length?: number;
27
29
  /** Cells per group; groups are split by a dash. 0 for one group. */
@@ -46,4 +48,4 @@ export interface InputOTPProps {
46
48
  'aria-label'?: string;
47
49
  className?: string;
48
50
  }
49
- export declare function InputOTP({ length, groupSize, value: valueProp, defaultValue, onValueChange, onComplete, pattern, label, hint, error, success, disabled, autoFocus, id, name, className, ...props }: InputOTPProps): React.JSX.Element;
51
+ export declare function InputOTP({ length, groupSize, value: valueProp, defaultValue, onValueChange, onComplete, pattern, label, hint, error, success, disabled, autoFocus, id, name, className, 'aria-describedby': describedByProp, ref, onChange, onFocus, onBlur, onSelect, ...props }: InputOTPProps): React.JSX.Element;
@@ -1,8 +1,7 @@
1
- 'use client';export { InputOTP } from '../chunk-XL75JRUA.js';
2
- import '../chunk-72OCFAPT.js';
3
- import '../chunk-UBNHSZSE.js';
4
- import '../chunk-3DINAQLL.js';
5
- import '../chunk-BKZBWPUH.js';
6
- import '../chunk-H63FYCMY.js';
7
- //# sourceMappingURL=input-otp.js.map
8
- //# sourceMappingURL=input-otp.js.map
1
+ 'use client';export { InputOTP } from '../chunk-OVKPPXK5.js';
2
+ import '../chunk-UCCNXGLG.js';
3
+ import '../chunk-VUOAPWTF.js';
4
+ import '../chunk-BR2B4OIT.js';
5
+ import '../chunk-57QEOCDZ.js';
6
+ import '../chunk-SSOFFQ5T.js';
7
+ import '../chunk-O46O6LFQ.js';
@@ -1,5 +1,3 @@
1
- 'use client';export { Input } from '../chunk-YPNKBE5X.js';
2
- import '../chunk-UBNHSZSE.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=input.js.map
5
- //# sourceMappingURL=input.js.map
1
+ 'use client';export { Input } from '../chunk-OURZQM27.js';
2
+ import '../chunk-VUOAPWTF.js';
3
+ import '../chunk-O46O6LFQ.js';
package/components/kbd.js CHANGED
@@ -1,4 +1,2 @@
1
- 'use client';export { Kbd, KbdArrowDown, KbdArrowUp, KbdGroup, KbdHint, KbdReturn, keysOf } from '../chunk-BKZBWPUH.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=kbd.js.map
4
- //# sourceMappingURL=kbd.js.map
1
+ 'use client';export { Kbd, KbdArrowDown, KbdArrowUp, KbdGroup, KbdHint, KbdReturn, keysOf } from '../chunk-57QEOCDZ.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -0,0 +1,79 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * The words Satin's components say on their own: accessible names of icon buttons (Close,
4
+ * Increase), lists and regions screen readers announce, and a few visible defaults. English by
5
+ * default; wrap the app (or any part of it) in `SatinLabels` to translate or reword them:
6
+ *
7
+ * <SatinLabels labels={{ close: 'Zamknij', dismiss: 'Odrzuć' }}>…</SatinLabels>
8
+ *
9
+ * Anything left out keeps its English default. A component's own prop (Select's `placeholder`)
10
+ * still wins over these.
11
+ */
12
+ export declare const defaultLabels: {
13
+ close: string;
14
+ dismiss: string;
15
+ announcement: string;
16
+ increase: string;
17
+ decrease: string;
18
+ previous: string;
19
+ next: string;
20
+ previousSection: string;
21
+ nextSection: string;
22
+ previousQuestion: string;
23
+ nextQuestion: string;
24
+ previousMonth: string;
25
+ nextMonth: string;
26
+ year: string;
27
+ month: string;
28
+ sheets: string;
29
+ hiddenPages: string;
30
+ period: string;
31
+ commandMenu: string;
32
+ searchCommands: string;
33
+ commands: string;
34
+ draft: string;
35
+ files: string;
36
+ attachedFiles: string;
37
+ goodResponse: string;
38
+ badResponse: string;
39
+ copy: string;
40
+ attachments: string;
41
+ addToConversation: string;
42
+ message: string;
43
+ send: string;
44
+ stop: string;
45
+ searchAgentsAndTools: string;
46
+ addAgent: string;
47
+ agentsAndTools: string;
48
+ model: string;
49
+ agent: string;
50
+ remove: string;
51
+ add: string;
52
+ selectAllRows: string;
53
+ selectRow: string;
54
+ select: string;
55
+ search: string;
56
+ noResults: string;
57
+ clear: string;
58
+ apply: string;
59
+ cancel: string;
60
+ pickDate: string;
61
+ pickDates: string;
62
+ from: string;
63
+ to: string;
64
+ value: string;
65
+ selected: string;
66
+ commandPlaceholder: string;
67
+ navigate: string;
68
+ openItem: string;
69
+ source: string;
70
+ };
71
+ export type SatinLabelSet = typeof defaultLabels;
72
+ export interface SatinLabelsProps {
73
+ /** The words to change; the rest stay as they are (from a parent SatinLabels, or English). */
74
+ labels: Partial<SatinLabelSet>;
75
+ children: React.ReactNode;
76
+ }
77
+ export declare function SatinLabels({ labels, children }: SatinLabelsProps): React.JSX.Element;
78
+ /** The labels in effect here: English, or what a SatinLabels above has set. */
79
+ export declare function useSatinLabels(): SatinLabelSet;
@@ -0,0 +1 @@
1
+ 'use client';export { SatinLabels, defaultLabels, useSatinLabels } from '../chunk-SSOFFQ5T.js';
@@ -1,12 +1,11 @@
1
- 'use client';export { AreaCard, LineCard } from '../chunk-SHDFUXYV.js';
2
- import '../chunk-DO3TBNSC.js';
3
- import '../chunk-YPJYW624.js';
4
- import '../chunk-Y5AYU7PK.js';
5
- import '../chunk-72OCFAPT.js';
6
- import '../chunk-UBNHSZSE.js';
7
- import '../chunk-3DINAQLL.js';
8
- import '../chunk-BKZBWPUH.js';
9
- import '../chunk-O7F3CIDV.js';
10
- import '../chunk-H63FYCMY.js';
11
- //# sourceMappingURL=line-chart.js.map
12
- //# sourceMappingURL=line-chart.js.map
1
+ 'use client';export { AreaCard, LineCard } from '../chunk-JBKBRAC4.js';
2
+ import '../chunk-ISYKZCPJ.js';
3
+ import '../chunk-ZBZ3ZQRB.js';
4
+ import '../chunk-ZHFIWDGF.js';
5
+ import '../chunk-UCCNXGLG.js';
6
+ import '../chunk-VUOAPWTF.js';
7
+ import '../chunk-BR2B4OIT.js';
8
+ import '../chunk-57QEOCDZ.js';
9
+ import '../chunk-XUOSJMEJ.js';
10
+ import '../chunk-SSOFFQ5T.js';
11
+ import '../chunk-O46O6LFQ.js';
@@ -1,5 +1,4 @@
1
- 'use client';export { MessageActions } from '../chunk-AN2RNJLR.js';
2
- import '../chunk-HNQUX43Z.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=message-actions.js.map
5
- //# sourceMappingURL=message-actions.js.map
1
+ 'use client';export { MessageActions } from '../chunk-SZJIVBOD.js';
2
+ import '../chunk-T6L32XXH.js';
3
+ import '../chunk-SSOFFQ5T.js';
4
+ import '../chunk-O46O6LFQ.js';
@@ -1,8 +1,7 @@
1
- 'use client';export { Message } from '../chunk-PVOLDO4G.js';
2
- import '../chunk-ESC5JCVQ.js';
3
- import '../chunk-AN2RNJLR.js';
4
- import '../chunk-KNUWZNFV.js';
5
- import '../chunk-HNQUX43Z.js';
6
- import '../chunk-H63FYCMY.js';
7
- //# sourceMappingURL=message.js.map
8
- //# sourceMappingURL=message.js.map
1
+ 'use client';export { Message } from '../chunk-S7QHBVPX.js';
2
+ import '../chunk-NL574STL.js';
3
+ import '../chunk-SZJIVBOD.js';
4
+ import '../chunk-UGIVCXGN.js';
5
+ import '../chunk-T6L32XXH.js';
6
+ import '../chunk-SSOFFQ5T.js';
7
+ import '../chunk-O46O6LFQ.js';
@@ -8,8 +8,10 @@ import * as React from 'react';
8
8
  * It's a spinbutton: ArrowUp / ArrowDown step, PageUp / PageDown step ten times, Home / End jump
9
9
  * to `min` / `max`. Typing is free while focused; Enter or leaving the field clamps it, snaps it to
10
10
  * `step` and commits; Escape puts the last value back.
11
+ *
12
+ * Other props, `ref` included, go to the <input>; `className` styles the field around it.
11
13
  */
12
- export interface NumberInputProps {
14
+ export interface NumberInputProps extends Omit<React.ComponentProps<'input'>, 'value' | 'defaultValue' | 'size' | 'min' | 'max' | 'step' | 'type' | 'children'> {
13
15
  value?: number;
14
16
  defaultValue?: number;
15
17
  onValueChange?: (value: number) => void;
@@ -30,4 +32,4 @@ export interface NumberInputProps {
30
32
  wrapperClassName?: string;
31
33
  className?: string;
32
34
  }
33
- export declare function NumberInput({ value: valueProp, defaultValue, onValueChange, min, max, step, size, formatValue, label, hint, error, disabled, id, name, wrapperClassName, className, ...props }: NumberInputProps): React.JSX.Element;
35
+ export declare function NumberInput({ value: valueProp, defaultValue, onValueChange, min, max, step, size, formatValue, label, hint, error, disabled, id, name, wrapperClassName, className, 'aria-describedby': describedBy, onChange, onBlur, onKeyDown, ...props }: NumberInputProps): React.JSX.Element;
@@ -1,8 +1,7 @@
1
- 'use client';export { NumberInput } from '../chunk-LW3TRU5W.js';
2
- import '../chunk-72OCFAPT.js';
3
- import '../chunk-UBNHSZSE.js';
4
- import '../chunk-3DINAQLL.js';
5
- import '../chunk-BKZBWPUH.js';
6
- import '../chunk-H63FYCMY.js';
7
- //# sourceMappingURL=number-input.js.map
8
- //# sourceMappingURL=number-input.js.map
1
+ 'use client';export { NumberInput } from '../chunk-674SRBZK.js';
2
+ import '../chunk-UCCNXGLG.js';
3
+ import '../chunk-VUOAPWTF.js';
4
+ import '../chunk-BR2B4OIT.js';
5
+ import '../chunk-57QEOCDZ.js';
6
+ import '../chunk-SSOFFQ5T.js';
7
+ import '../chunk-O46O6LFQ.js';
@@ -1,6 +1,4 @@
1
- 'use client';export { Pagination, paginationRange } from '../chunk-QS4N4MNP.js';
2
- import '../chunk-J3NSDRVH.js';
3
- import '../chunk-HNQUX43Z.js';
4
- import '../chunk-H63FYCMY.js';
5
- //# sourceMappingURL=pagination.js.map
6
- //# sourceMappingURL=pagination.js.map
1
+ 'use client';export { Pagination, paginationRange } from '../chunk-TT2N5752.js';
2
+ import '../chunk-XETMIETJ.js';
3
+ import '../chunk-T6L32XXH.js';
4
+ import '../chunk-O46O6LFQ.js';
@@ -8,8 +8,10 @@ import { Popover as PopoverPrimitive } from 'radix-ui';
8
8
  *
9
9
  * Built on the Radix Popover. `children` is the trigger (rendered with `asChild`, so pass a
10
10
  * Button); `body` fills the body slot. Pass `container` to portal it into the docs stage.
11
+ *
12
+ * Other props, `ref` included, go to the popover's panel (the Radix Content).
11
13
  */
12
- export interface PopoverProps {
14
+ export interface PopoverProps extends Omit<React.ComponentProps<typeof PopoverPrimitive.Content>, 'title' | 'children' | 'asChild' | 'side' | 'align' | 'sideOffset' | 'onOpenAutoFocus' | 'onInteractOutside'> {
13
15
  title: React.ReactNode;
14
16
  description?: React.ReactNode;
15
17
  /** The trigger. Rendered with `asChild`. */
@@ -32,13 +34,17 @@ export interface PopoverProps {
32
34
  onInteractOutside?: (event: Event) => void;
33
35
  className?: string;
34
36
  }
35
- export declare function Popover({ title, description, children, body, open, defaultOpen, onOpenChange, side, align, sideOffset, closeButton, container, onOpenAutoFocus, onInteractOutside, className, }: PopoverProps): React.JSX.Element;
37
+ export declare function Popover({ title, description, children, body, open, defaultOpen, onOpenChange, side, align, sideOffset, closeButton, container, onOpenAutoFocus, onInteractOutside, className, ...props }: PopoverProps): React.JSX.Element;
38
+ export interface PopoverPanelProps extends Omit<React.ComponentProps<'div'>, 'title' | 'children'>, Pick<PopoverProps, 'title' | 'description' | 'body' | 'closeButton'> {
39
+ /** Called when the close button is pressed. */
40
+ onClose?: () => void;
41
+ }
36
42
  /**
37
43
  * The popover's panel on its own, in place: no trigger, no positioning. For docs, previews
38
44
  * and layers you anchor yourself. The close button calls `onClose`.
45
+ *
46
+ * Other props, `ref` included, go to the panel's root `div`.
39
47
  */
40
- export declare function PopoverPanel({ title, description, body, closeButton, onClose, className, }: Pick<PopoverProps, 'title' | 'description' | 'body' | 'closeButton' | 'className'> & {
41
- onClose?: () => void;
42
- }): React.JSX.Element;
48
+ export declare function PopoverPanel({ title, description, body, closeButton, onClose, className, ...props }: PopoverPanelProps): React.JSX.Element;
43
49
  /** Wrap a body button in this to make it close the popover: `<PopoverClose asChild><Button…/></PopoverClose>`. */
44
50
  export declare const PopoverClose: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,3 @@
1
- 'use client';export { Popover, PopoverClose, PopoverPanel } from '../chunk-BNZVTLHV.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=popover.js.map
4
- //# sourceMappingURL=popover.js.map
1
+ 'use client';export { Popover, PopoverClose, PopoverPanel } from '../chunk-LFGUJHFF.js';
2
+ import '../chunk-SSOFFQ5T.js';
3
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Progress } from '../chunk-7TXHCRAG.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=progress.js.map
4
- //# sourceMappingURL=progress.js.map
1
+ 'use client';export { Progress } from '../chunk-M2HEVFQ3.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -1,6 +1,5 @@
1
- 'use client';export { PromptBar, defaultActions } from '../chunk-6YXUBP27.js';
2
- import '../chunk-BKZBWPUH.js';
3
- import '../chunk-HNQUX43Z.js';
4
- import '../chunk-H63FYCMY.js';
5
- //# sourceMappingURL=prompt-bar.js.map
6
- //# sourceMappingURL=prompt-bar.js.map
1
+ 'use client';export { PromptBar, defaultActions } from '../chunk-5725MFGQ.js';
2
+ import '../chunk-57QEOCDZ.js';
3
+ import '../chunk-T6L32XXH.js';
4
+ import '../chunk-SSOFFQ5T.js';
5
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Radio, RadioGroup } from '../chunk-LLHTVIM3.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=radio.js.map
4
- //# sourceMappingURL=radio.js.map
1
+ 'use client';export { Radio, RadioGroup } from '../chunk-LB37KTJH.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -1,5 +1,3 @@
1
- 'use client';export { SearchBar } from '../chunk-UGRSWP6U.js';
2
- import '../chunk-BKZBWPUH.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=search-bar.js.map
5
- //# sourceMappingURL=search-bar.js.map
1
+ 'use client';export { SearchBar } from '../chunk-SPGUZMCC.js';
2
+ import '../chunk-57QEOCDZ.js';
3
+ import '../chunk-O46O6LFQ.js';
@@ -5,6 +5,8 @@ import * as React from 'react';
5
5
  * the labels to the new segment, as in Tabs and Pagination (sliding-indicator.tsx: 300 ms,
6
6
  * the leading edge first): a white card with Shadow/sm in Light. Arrow keys move between segments.
7
7
  * Values 1:1 with the uiKit `_segmentedControl/item` (3080:20278) and `SegmentedControl` (3080:21247) sets.
8
+ *
9
+ * Other props, `ref` included, go to the track (the Radix ToggleGroup root, a `group`).
8
10
  */
9
11
  type Size = 'xs' | 'md' | 'lg';
10
12
  type Shape = 'default' | 'rounded';
@@ -14,7 +16,7 @@ export interface SegmentedControlItem {
14
16
  icon?: React.ReactNode;
15
17
  disabled?: boolean;
16
18
  }
17
- export interface SegmentedControlProps {
19
+ export interface SegmentedControlProps extends Omit<React.ComponentProps<'div'>, 'defaultValue' | 'dir' | 'children'> {
18
20
  items: SegmentedControlItem[];
19
21
  value?: string;
20
22
  defaultValue?: string;
@@ -28,5 +30,5 @@ export interface SegmentedControlProps {
28
30
  'aria-label'?: string;
29
31
  className?: string;
30
32
  }
31
- export declare function SegmentedControl({ items, value: valueProp, defaultValue, onValueChange, size, shape, border, fullWidth, className, ...aria }: SegmentedControlProps): React.JSX.Element;
33
+ export declare function SegmentedControl({ items, value: valueProp, defaultValue, onValueChange, size, shape, border, fullWidth, className, ref, ...props }: SegmentedControlProps): React.JSX.Element;
32
34
  export {};
@@ -1,5 +1,3 @@
1
- 'use client';export { SegmentedControl } from '../chunk-WTMZT3IT.js';
2
- import '../chunk-J3NSDRVH.js';
3
- import '../chunk-H63FYCMY.js';
4
- //# sourceMappingURL=segmented-control.js.map
5
- //# sourceMappingURL=segmented-control.js.map
1
+ 'use client';export { SegmentedControl } from '../chunk-CVNRZ2YV.js';
2
+ import '../chunk-XETMIETJ.js';
3
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { Select as SelectPrimitive } from 'radix-ui';
2
3
  import { type MenuItemContentProps } from './dropdown.js';
3
4
  /**
4
5
  * Select, 1:1 with the uiKit `Select` set (4022:3531): the field around it is Input's (a 13px
@@ -15,6 +16,8 @@ import { type MenuItemContentProps } from './dropdown.js';
15
16
  * Built on the Radix Select: arrow keys, typeahead, Home/End, Escape, a native form value
16
17
  * (`name`), and focus back on the trigger. Inside a FormField, leave out `label`, `hint` and
17
18
  * `error`.
19
+ *
20
+ * Other props, `ref` included, go to the trigger button.
18
21
  */
19
22
  export interface SelectOption extends Omit<MenuItemContentProps, 'label' | 'selected' | 'renderLabel' | 'layout' | 'iconSize'> {
20
23
  value: string;
@@ -25,12 +28,13 @@ export interface SelectGroup {
25
28
  label?: React.ReactNode;
26
29
  options: SelectOption[];
27
30
  }
28
- export interface SelectProps {
31
+ export interface SelectProps extends Omit<React.ComponentProps<typeof SelectPrimitive.Trigger>, 'value' | 'defaultValue' | 'disabled' | 'name' | 'children' | 'asChild'> {
29
32
  /** Options, or titled groups of options. */
30
33
  options: SelectOption[] | SelectGroup[];
31
34
  value?: string;
32
35
  defaultValue?: string;
33
36
  onValueChange?: (value: string) => void;
37
+ /** Shown while nothing is picked. Defaults to the `select` label ("Select…"). */
34
38
  placeholder?: string;
35
39
  label?: React.ReactNode;
36
40
  hint?: React.ReactNode;
@@ -60,12 +64,14 @@ export interface SelectProps {
60
64
  /** Show a state without interacting, for state sheets. */
61
65
  'data-force'?: 'hover' | 'focus';
62
66
  }
67
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
63
68
  export declare const isOptionGroups: <T>(o: T[] | {
64
69
  options: T[];
65
70
  }[]) => o is {
66
71
  options: T[];
67
72
  }[];
68
73
  /** Ids and state for a field with a label, a hint or an error, inside or outside a FormField. */
74
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
69
75
  export declare function useFieldChrome({ id, disabled, error, hint, }: {
70
76
  id?: string;
71
77
  disabled?: boolean;
@@ -82,6 +88,7 @@ export declare function useFieldChrome({ id, disabled, error, hint, }: {
82
88
  isError: boolean;
83
89
  };
84
90
  /** Label 8px above the control, hint or error 8px under it: Input's field, for Select and Combobox. */
91
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
85
92
  export declare function FieldChrome({ label, action, chrome, className, children, }: {
86
93
  label?: React.ReactNode;
87
94
  /** On the label's line, at the field's right edge: the smallest button, e.g. Clear. */
@@ -91,7 +98,8 @@ export declare function FieldChrome({ label, action, chrome, className, children
91
98
  children: React.ReactNode;
92
99
  }): React.JSX.Element;
93
100
  /** The trigger's chevron, 16px in the icon colour. */
101
+ /** @internal Shared by Satin's own components; not part of the public API and may change in any release. */
94
102
  export declare function SelectChevron({ className }: {
95
103
  className?: string;
96
104
  }): React.JSX.Element;
97
- export declare function Select({ options, value, defaultValue, onValueChange, placeholder, label, hint, error, size, leadingIcon, layout, iconSize, disabled, required, name, id, open, defaultOpen, onOpenChange, container, wrapperClassName, className, 'data-force': force, ...props }: SelectProps): React.JSX.Element;
105
+ export declare function Select({ options, value, defaultValue, onValueChange, placeholder, label, hint, error, size, leadingIcon, layout, iconSize, disabled, required, name, id, open, defaultOpen, onOpenChange, container, wrapperClassName, className, 'data-force': force, 'aria-describedby': describedBy, ...props }: SelectProps): React.JSX.Element;
@@ -1,7 +1,6 @@
1
- 'use client';export { FieldChrome, Select, SelectChevron, isOptionGroups, useFieldChrome } from '../chunk-72OCFAPT.js';
2
- import '../chunk-UBNHSZSE.js';
3
- import '../chunk-3DINAQLL.js';
4
- import '../chunk-BKZBWPUH.js';
5
- import '../chunk-H63FYCMY.js';
6
- //# sourceMappingURL=select.js.map
7
- //# sourceMappingURL=select.js.map
1
+ 'use client';export { FieldChrome, Select, SelectChevron, isOptionGroups, useFieldChrome } from '../chunk-UCCNXGLG.js';
2
+ import '../chunk-VUOAPWTF.js';
3
+ import '../chunk-BR2B4OIT.js';
4
+ import '../chunk-57QEOCDZ.js';
5
+ import '../chunk-SSOFFQ5T.js';
6
+ import '../chunk-O46O6LFQ.js';
@@ -12,8 +12,10 @@ import { Dialog as DialogPrimitive } from 'radix-ui';
12
12
  *
13
13
  * Built on the Radix Dialog: focus moves in on open and back to the trigger on close; Escape,
14
14
  * the backdrop or the handle closes it. It slides in over 250 ms on ease-out and out over 200.
15
+ *
16
+ * Other props, `ref` included, go to the sheet's panel.
15
17
  */
16
- export interface SheetProps {
18
+ export interface SheetProps extends Omit<React.ComponentProps<typeof DialogPrimitive.Content>, 'title' | 'children' | 'asChild' | 'onOpenAutoFocus'> {
17
19
  open?: boolean;
18
20
  defaultOpen?: boolean;
19
21
  onOpenChange?: (open: boolean) => void;
@@ -32,6 +34,6 @@ export interface SheetProps {
32
34
  onOpenAutoFocus?: (event: Event) => void;
33
35
  className?: string;
34
36
  }
35
- export declare function Sheet({ open, defaultOpen, onOpenChange, trigger, side, title, description, footer, children, modal, container, onOpenAutoFocus, className, }: SheetProps): React.JSX.Element;
37
+ export declare function Sheet({ open, defaultOpen, onOpenChange, trigger, side, title, description, footer, children, modal, container, onOpenAutoFocus, className, ...props }: SheetProps): React.JSX.Element;
36
38
  /** Wrap a footer button in this to make it close the sheet: `<SheetClose asChild><Button…/></SheetClose>`. */
37
39
  export declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,6 +1,5 @@
1
- 'use client';export { Sheet, SheetClose } from '../chunk-TKO44NDI.js';
2
- import '../chunk-JPNWHWAQ.js';
3
- import '../chunk-HNQUX43Z.js';
4
- import '../chunk-H63FYCMY.js';
5
- //# sourceMappingURL=sheet.js.map
6
- //# sourceMappingURL=sheet.js.map
1
+ 'use client';export { Sheet, SheetClose } from '../chunk-YJK4MGSI.js';
2
+ import '../chunk-AIMQNLPY.js';
3
+ import '../chunk-T6L32XXH.js';
4
+ import '../chunk-SSOFFQ5T.js';
5
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Sidebar, SidebarGroup, SidebarItem, SidebarSubGroup, SidebarSubItem } from '../chunk-BNTPPZCK.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=sidebar.js.map
4
- //# sourceMappingURL=sidebar.js.map
1
+ 'use client';export { Sidebar, SidebarGroup, SidebarItem, SidebarSubGroup, SidebarSubItem } from '../chunk-PUWSL5XW.js';
2
+ import '../chunk-O46O6LFQ.js';
@@ -1,4 +1,2 @@
1
- 'use client';export { Skeleton } from '../chunk-YG7JOOLJ.js';
2
- import '../chunk-H63FYCMY.js';
3
- //# sourceMappingURL=skeleton.js.map
4
- //# sourceMappingURL=skeleton.js.map
1
+ 'use client';export { Skeleton } from '../chunk-J7RMFN54.js';
2
+ import '../chunk-O46O6LFQ.js';