asta-ui 0.2.1 → 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 (581) hide show
  1. package/dist/accordion.js +1 -1
  2. package/dist/ai-chat.d.ts +2 -0
  3. package/dist/ai-chat.js +9 -0
  4. package/dist/alert.d.ts +2 -0
  5. package/dist/alert.js +9 -0
  6. package/dist/announcement-bar.d.ts +2 -0
  7. package/dist/announcement-bar.js +9 -0
  8. package/dist/avatar-group.d.ts +2 -0
  9. package/dist/avatar-group.js +10 -0
  10. package/dist/avatar.js +3 -1
  11. package/dist/base/ai-chat.d.ts +2 -0
  12. package/dist/base/ai-chat.js +9 -0
  13. package/dist/base/alert.d.ts +2 -0
  14. package/dist/base/alert.js +9 -0
  15. package/dist/base/announcement-bar.d.ts +2 -0
  16. package/dist/base/announcement-bar.js +9 -0
  17. package/dist/base/avatar-group.d.ts +2 -0
  18. package/dist/base/avatar-group.js +10 -0
  19. package/dist/base/avatar.js +3 -1
  20. package/dist/base/booking-slots.d.ts +2 -0
  21. package/dist/base/booking-slots.js +7 -0
  22. package/dist/base/breadcrumb.d.ts +2 -0
  23. package/dist/base/breadcrumb.js +9 -0
  24. package/dist/base/card-checkout.js +1 -1
  25. package/dist/base/carousel.d.ts +2 -0
  26. package/dist/base/carousel.js +9 -0
  27. package/dist/base/chat-thread.d.ts +2 -0
  28. package/dist/base/chat-thread.js +7 -0
  29. package/dist/base/checkout.d.ts +2 -0
  30. package/dist/base/checkout.js +12 -0
  31. package/dist/base/color-picker.d.ts +2 -0
  32. package/dist/base/color-picker.js +9 -0
  33. package/dist/base/combobox.d.ts +2 -0
  34. package/dist/base/combobox.js +9 -0
  35. package/dist/base/comments.d.ts +2 -0
  36. package/dist/base/comments.js +11 -0
  37. package/dist/base/context-menu.d.ts +2 -0
  38. package/dist/base/context-menu.js +9 -0
  39. package/dist/base/copy-button.d.ts +2 -0
  40. package/dist/base/copy-button.js +9 -0
  41. package/dist/base/data-table.d.ts +2 -0
  42. package/dist/base/data-table.js +9 -0
  43. package/dist/base/date-picker.d.ts +2 -0
  44. package/dist/base/date-picker.js +9 -0
  45. package/dist/base/drawer.d.ts +2 -0
  46. package/dist/base/drawer.js +9 -0
  47. package/dist/base/empty-state.d.ts +2 -0
  48. package/dist/base/empty-state.js +10 -0
  49. package/dist/base/event-calendar.d.ts +2 -0
  50. package/dist/base/event-calendar.js +9 -0
  51. package/dist/base/file-upload.d.ts +2 -0
  52. package/dist/base/file-upload.js +11 -0
  53. package/dist/base/footer-aui-025.d.ts +2 -0
  54. package/dist/base/footer-aui-025.js +9 -0
  55. package/dist/base/footer-aui-026.d.ts +2 -0
  56. package/dist/base/footer-aui-026.js +9 -0
  57. package/dist/base/footer-aui-027.d.ts +2 -0
  58. package/dist/base/footer-aui-027.js +9 -0
  59. package/dist/base/footer-aui-028.d.ts +2 -0
  60. package/dist/base/footer-aui-028.js +9 -0
  61. package/dist/base/hover-card.d.ts +2 -0
  62. package/dist/base/hover-card.js +9 -0
  63. package/dist/base/image-compare.d.ts +2 -0
  64. package/dist/base/image-compare.js +9 -0
  65. package/dist/base/inline-edit.d.ts +2 -0
  66. package/dist/base/inline-edit.js +9 -0
  67. package/dist/base/kanban.d.ts +2 -0
  68. package/dist/base/kanban.js +10 -0
  69. package/dist/base/navbar-aui-009.d.ts +2 -0
  70. package/dist/base/navbar-aui-009.js +9 -0
  71. package/dist/base/navbar-aui-010.d.ts +2 -0
  72. package/dist/base/navbar-aui-010.js +9 -0
  73. package/dist/base/navbar-aui-011.d.ts +2 -0
  74. package/dist/base/navbar-aui-011.js +9 -0
  75. package/dist/base/navbar-aui-012.d.ts +2 -0
  76. package/dist/base/navbar-aui-012.js +9 -0
  77. package/dist/base/navbar-aui-013.d.ts +2 -0
  78. package/dist/base/navbar-aui-013.js +9 -0
  79. package/dist/base/navbar-aui-014.d.ts +2 -0
  80. package/dist/base/navbar-aui-014.js +9 -0
  81. package/dist/base/notification-center.d.ts +2 -0
  82. package/dist/base/notification-center.js +11 -0
  83. package/dist/base/notification-stack.d.ts +2 -0
  84. package/dist/base/notification-stack.js +7 -0
  85. package/dist/base/now-playing.d.ts +2 -0
  86. package/dist/base/now-playing.js +7 -0
  87. package/dist/base/onboarding.d.ts +2 -0
  88. package/dist/base/onboarding.js +10 -0
  89. package/dist/base/otp-input.d.ts +2 -0
  90. package/dist/base/otp-input.js +9 -0
  91. package/dist/base/pagination.d.ts +2 -0
  92. package/dist/base/pagination.js +11 -0
  93. package/dist/base/password-input.d.ts +2 -0
  94. package/dist/base/password-input.js +13 -0
  95. package/dist/base/payment-received.d.ts +2 -0
  96. package/dist/base/payment-received.js +7 -0
  97. package/dist/base/plan-switcher.d.ts +2 -0
  98. package/dist/base/plan-switcher.js +7 -0
  99. package/dist/base/popover.d.ts +2 -0
  100. package/dist/base/popover.js +9 -0
  101. package/dist/base/pricing-aui-021.d.ts +2 -0
  102. package/dist/base/pricing-aui-021.js +9 -0
  103. package/dist/base/pricing-aui-022.d.ts +2 -0
  104. package/dist/base/pricing-aui-022.js +9 -0
  105. package/dist/base/pricing-aui-023.d.ts +2 -0
  106. package/dist/base/pricing-aui-023.js +9 -0
  107. package/dist/base/pricing-aui-024.d.ts +2 -0
  108. package/dist/base/pricing-aui-024.js +9 -0
  109. package/dist/base/progress.d.ts +2 -0
  110. package/dist/base/progress.js +11 -0
  111. package/dist/base/range-slider.d.ts +2 -0
  112. package/dist/base/range-slider.js +9 -0
  113. package/dist/base/rating.d.ts +2 -0
  114. package/dist/base/rating.js +9 -0
  115. package/dist/base/seat-picker.d.ts +2 -0
  116. package/dist/base/seat-picker.js +7 -0
  117. package/dist/base/shipment-tracker.d.ts +2 -0
  118. package/dist/base/shipment-tracker.js +7 -0
  119. package/dist/base/sidebar.d.ts +2 -0
  120. package/dist/base/sidebar.js +10 -0
  121. package/dist/base/sign-in-aui-015.d.ts +2 -0
  122. package/dist/base/sign-in-aui-015.js +9 -0
  123. package/dist/base/sign-in-aui-016.d.ts +2 -0
  124. package/dist/base/sign-in-aui-016.js +9 -0
  125. package/dist/base/sign-in-aui-017.d.ts +2 -0
  126. package/dist/base/sign-in-aui-017.js +9 -0
  127. package/dist/base/sign-in-aui-018.d.ts +2 -0
  128. package/dist/base/sign-in-aui-018.js +9 -0
  129. package/dist/base/sign-in-aui-019.d.ts +2 -0
  130. package/dist/base/sign-in-aui-019.js +9 -0
  131. package/dist/base/sign-in-aui-020.d.ts +2 -0
  132. package/dist/base/sign-in-aui-020.js +9 -0
  133. package/dist/base/spinner.js +1 -1
  134. package/dist/base/stat-card.d.ts +2 -0
  135. package/dist/base/stat-card.js +9 -0
  136. package/dist/base/stepper.d.ts +2 -0
  137. package/dist/base/stepper.js +9 -0
  138. package/dist/base/team-members.d.ts +2 -0
  139. package/dist/base/team-members.js +12 -0
  140. package/dist/base/timeline.d.ts +2 -0
  141. package/dist/base/timeline.js +9 -0
  142. package/dist/base/toggle-group.d.ts +2 -0
  143. package/dist/base/toggle-group.js +9 -0
  144. package/dist/base/token-swap.d.ts +2 -0
  145. package/dist/base/token-swap.js +7 -0
  146. package/dist/base/tree-view.d.ts +2 -0
  147. package/dist/base/tree-view.js +9 -0
  148. package/dist/base/wishlist.d.ts +2 -0
  149. package/dist/base/wishlist.js +7 -0
  150. package/dist/base.js +371 -47
  151. package/dist/booking-slots.d.ts +2 -0
  152. package/dist/booking-slots.js +7 -0
  153. package/dist/breadcrumb.d.ts +2 -0
  154. package/dist/breadcrumb.js +9 -0
  155. package/dist/card-checkout.js +1 -1
  156. package/dist/carousel.d.ts +2 -0
  157. package/dist/carousel.js +9 -0
  158. package/dist/chat-thread.d.ts +2 -0
  159. package/dist/chat-thread.js +7 -0
  160. package/dist/checkout.d.ts +2 -0
  161. package/dist/checkout.js +12 -0
  162. package/dist/{chunk-VGBP42IZ.js → chunk-2LZM435Z.js} +3 -2
  163. package/dist/chunk-2SQQFICY.js +493 -0
  164. package/dist/chunk-33N6SZB5.js +186 -0
  165. package/dist/chunk-3KS5EN3Q.js +134 -0
  166. package/dist/chunk-3RMCFFW2.js +228 -0
  167. package/dist/chunk-45VUWOHQ.js +299 -0
  168. package/dist/chunk-4FR6KJOJ.js +91 -0
  169. package/dist/chunk-4GF7WTR3.js +230 -0
  170. package/dist/chunk-4XM6DKEO.js +164 -0
  171. package/dist/chunk-57PESBSZ.js +97 -0
  172. package/dist/chunk-5TSQZY34.js +246 -0
  173. package/dist/chunk-5U4H2CXC.js +308 -0
  174. package/dist/chunk-5WGDQ62P.js +122 -0
  175. package/dist/chunk-6B6NTRMC.js +293 -0
  176. package/dist/chunk-6HPSPZTF.js +232 -0
  177. package/dist/chunk-6NNHSXFD.js +539 -0
  178. package/dist/chunk-6VQTFRSP.js +435 -0
  179. package/dist/chunk-72UKXOMW.js +150 -0
  180. package/dist/chunk-746WX2DF.js +480 -0
  181. package/dist/chunk-7GKCX4IE.js +636 -0
  182. package/dist/chunk-7JNO265Q.js +431 -0
  183. package/dist/chunk-7SNVRPED.js +223 -0
  184. package/dist/chunk-AYSC7AIC.js +322 -0
  185. package/dist/chunk-B5F775GP.js +339 -0
  186. package/dist/chunk-B5OESWCR.js +339 -0
  187. package/dist/chunk-BGVAXPHD.js +305 -0
  188. package/dist/chunk-CA7YQ5BJ.js +271 -0
  189. package/dist/chunk-DRX3KRNL.js +191 -0
  190. package/dist/chunk-EAUUUVUR.js +123 -0
  191. package/dist/chunk-EXX6YSUX.js +340 -0
  192. package/dist/chunk-F526V5BA.js +254 -0
  193. package/dist/chunk-F7LAUVDJ.js +97 -0
  194. package/dist/chunk-FDHU3RWR.js +213 -0
  195. package/dist/chunk-FJGGXXTT.js +109 -0
  196. package/dist/chunk-FKHNK5VC.js +172 -0
  197. package/dist/chunk-FY6BRODJ.js +230 -0
  198. package/dist/chunk-GDTSCUHY.js +234 -0
  199. package/dist/chunk-H7D6G3GQ.js +290 -0
  200. package/dist/chunk-HB7DFNZP.js +109 -0
  201. package/dist/{chunk-H5C7HOQJ.js → chunk-HNO6EUGJ.js} +3 -2
  202. package/dist/chunk-HPVPHWDM.js +197 -0
  203. package/dist/chunk-I5NZSWDW.js +431 -0
  204. package/dist/chunk-IMBCYI3F.js +114 -0
  205. package/dist/chunk-IS2VTYDA.js +235 -0
  206. package/dist/chunk-ISZ7O2Q6.js +245 -0
  207. package/dist/chunk-JAQKJBVJ.js +170 -0
  208. package/dist/chunk-KYFZ5TTK.js +271 -0
  209. package/dist/chunk-LBXIMJFU.js +170 -0
  210. package/dist/chunk-LPTY5WXM.js +231 -0
  211. package/dist/chunk-MDI73RL6.js +245 -0
  212. package/dist/chunk-MSBN2O66.js +110 -0
  213. package/dist/chunk-MUDW65ZT.js +220 -0
  214. package/dist/chunk-NB7X26PY.js +388 -0
  215. package/dist/chunk-NIYIT2QU.js +118 -0
  216. package/dist/chunk-NZRQL3SA.js +201 -0
  217. package/dist/chunk-OFYGJUKP.js +278 -0
  218. package/dist/{chunk-NDBLIYMX.js → chunk-OKCSTMX3.js} +2 -2
  219. package/dist/chunk-P37H477M.js +236 -0
  220. package/dist/chunk-QSLS3ENY.js +469 -0
  221. package/dist/chunk-RBTX7TVA.js +170 -0
  222. package/dist/chunk-RFVKRVTD.js +172 -0
  223. package/dist/chunk-RIWKIBEP.js +271 -0
  224. package/dist/chunk-RRHQBGRO.js +327 -0
  225. package/dist/chunk-RSUZHZCG.js +230 -0
  226. package/dist/chunk-S2DJLW6B.js +322 -0
  227. package/dist/chunk-SDL3JXFN.js +97 -0
  228. package/dist/chunk-SDOWCCM2.js +271 -0
  229. package/dist/chunk-SPKSRH6G.js +283 -0
  230. package/dist/chunk-TLODJONC.js +120 -0
  231. package/dist/chunk-TXRLBMFL.js +191 -0
  232. package/dist/{chunk-2OGTIQVU.js → chunk-UEOEWP7L.js} +1 -1
  233. package/dist/chunk-UTGEGGSE.js +309 -0
  234. package/dist/chunk-UWQ26LYZ.js +133 -0
  235. package/dist/chunk-V3SPSN3A.js +308 -0
  236. package/dist/chunk-W57O4RLL.js +435 -0
  237. package/dist/chunk-WNPMHOXE.js +136 -0
  238. package/dist/chunk-WO36QUH3.js +188 -0
  239. package/dist/chunk-WTNNS7AX.js +362 -0
  240. package/dist/{chunk-AS6RA64I.js → chunk-XTP6ITUJ.js} +3 -1
  241. package/dist/chunk-YLAL6ICI.js +142 -0
  242. package/dist/chunk-ZGMBQZDV.js +250 -0
  243. package/dist/chunk-ZKMEKSJZ.js +133 -0
  244. package/dist/color-picker.d.ts +2 -0
  245. package/dist/color-picker.js +9 -0
  246. package/dist/combobox.d.ts +2 -0
  247. package/dist/combobox.js +9 -0
  248. package/dist/comments.d.ts +2 -0
  249. package/dist/comments.js +11 -0
  250. package/dist/context-menu.d.ts +2 -0
  251. package/dist/context-menu.js +9 -0
  252. package/dist/copy-button.d.ts +2 -0
  253. package/dist/copy-button.js +9 -0
  254. package/dist/data-table.d.ts +2 -0
  255. package/dist/data-table.js +9 -0
  256. package/dist/date-picker.d.ts +2 -0
  257. package/dist/date-picker.js +9 -0
  258. package/dist/drawer.d.ts +2 -0
  259. package/dist/drawer.js +9 -0
  260. package/dist/empty-state.d.ts +2 -0
  261. package/dist/empty-state.js +10 -0
  262. package/dist/event-calendar.d.ts +2 -0
  263. package/dist/event-calendar.js +9 -0
  264. package/dist/file-upload.d.ts +2 -0
  265. package/dist/file-upload.js +11 -0
  266. package/dist/footer-aui-025.d.ts +2 -0
  267. package/dist/footer-aui-025.js +9 -0
  268. package/dist/footer-aui-026.d.ts +2 -0
  269. package/dist/footer-aui-026.js +9 -0
  270. package/dist/footer-aui-027.d.ts +2 -0
  271. package/dist/footer-aui-027.js +9 -0
  272. package/dist/footer-aui-028.d.ts +2 -0
  273. package/dist/footer-aui-028.js +9 -0
  274. package/dist/hover-card.d.ts +2 -0
  275. package/dist/hover-card.js +9 -0
  276. package/dist/image-compare.d.ts +2 -0
  277. package/dist/image-compare.js +9 -0
  278. package/dist/index.js +372 -48
  279. package/dist/inline-edit.d.ts +2 -0
  280. package/dist/inline-edit.js +9 -0
  281. package/dist/kanban.d.ts +2 -0
  282. package/dist/kanban.js +10 -0
  283. package/dist/navbar-aui-009.d.ts +2 -0
  284. package/dist/navbar-aui-009.js +9 -0
  285. package/dist/navbar-aui-010.d.ts +2 -0
  286. package/dist/navbar-aui-010.js +9 -0
  287. package/dist/navbar-aui-011.d.ts +2 -0
  288. package/dist/navbar-aui-011.js +9 -0
  289. package/dist/navbar-aui-012.d.ts +2 -0
  290. package/dist/navbar-aui-012.js +9 -0
  291. package/dist/navbar-aui-013.d.ts +2 -0
  292. package/dist/navbar-aui-013.js +9 -0
  293. package/dist/navbar-aui-014.d.ts +2 -0
  294. package/dist/navbar-aui-014.js +9 -0
  295. package/dist/notification-center.d.ts +2 -0
  296. package/dist/notification-center.js +11 -0
  297. package/dist/notification-stack.d.ts +2 -0
  298. package/dist/notification-stack.js +7 -0
  299. package/dist/now-playing.d.ts +2 -0
  300. package/dist/now-playing.js +7 -0
  301. package/dist/onboarding.d.ts +2 -0
  302. package/dist/onboarding.js +10 -0
  303. package/dist/otp-input.d.ts +2 -0
  304. package/dist/otp-input.js +9 -0
  305. package/dist/pagination.d.ts +2 -0
  306. package/dist/pagination.js +11 -0
  307. package/dist/password-input.d.ts +2 -0
  308. package/dist/password-input.js +13 -0
  309. package/dist/payment-received.d.ts +2 -0
  310. package/dist/payment-received.js +7 -0
  311. package/dist/plan-switcher.d.ts +2 -0
  312. package/dist/plan-switcher.js +7 -0
  313. package/dist/popover.d.ts +2 -0
  314. package/dist/popover.js +9 -0
  315. package/dist/pricing-aui-021.d.ts +2 -0
  316. package/dist/pricing-aui-021.js +9 -0
  317. package/dist/pricing-aui-022.d.ts +2 -0
  318. package/dist/pricing-aui-022.js +9 -0
  319. package/dist/pricing-aui-023.d.ts +2 -0
  320. package/dist/pricing-aui-023.js +9 -0
  321. package/dist/pricing-aui-024.d.ts +2 -0
  322. package/dist/pricing-aui-024.js +9 -0
  323. package/dist/progress.d.ts +2 -0
  324. package/dist/progress.js +11 -0
  325. package/dist/range-slider.d.ts +2 -0
  326. package/dist/range-slider.js +9 -0
  327. package/dist/rating.d.ts +2 -0
  328. package/dist/rating.js +9 -0
  329. package/dist/seat-picker.d.ts +2 -0
  330. package/dist/seat-picker.js +7 -0
  331. package/dist/shipment-tracker.d.ts +2 -0
  332. package/dist/shipment-tracker.js +7 -0
  333. package/dist/sidebar.d.ts +2 -0
  334. package/dist/sidebar.js +10 -0
  335. package/dist/sign-in-aui-015.d.ts +2 -0
  336. package/dist/sign-in-aui-015.js +9 -0
  337. package/dist/sign-in-aui-016.d.ts +2 -0
  338. package/dist/sign-in-aui-016.js +9 -0
  339. package/dist/sign-in-aui-017.d.ts +2 -0
  340. package/dist/sign-in-aui-017.js +9 -0
  341. package/dist/sign-in-aui-018.d.ts +2 -0
  342. package/dist/sign-in-aui-018.js +9 -0
  343. package/dist/sign-in-aui-019.d.ts +2 -0
  344. package/dist/sign-in-aui-019.js +9 -0
  345. package/dist/sign-in-aui-020.d.ts +2 -0
  346. package/dist/sign-in-aui-020.js +9 -0
  347. package/dist/spinner.js +1 -1
  348. package/dist/stat-card.d.ts +2 -0
  349. package/dist/stat-card.js +9 -0
  350. package/dist/stepper.d.ts +2 -0
  351. package/dist/stepper.js +9 -0
  352. package/dist/team-members.d.ts +2 -0
  353. package/dist/team-members.js +12 -0
  354. package/dist/timeline.d.ts +2 -0
  355. package/dist/timeline.js +9 -0
  356. package/dist/toggle-group.d.ts +2 -0
  357. package/dist/toggle-group.js +9 -0
  358. package/dist/token-swap.d.ts +2 -0
  359. package/dist/token-swap.js +7 -0
  360. package/dist/tree-view.d.ts +2 -0
  361. package/dist/tree-view.js +9 -0
  362. package/dist/types/components/kit/ai-chat.d.ts +37 -0
  363. package/dist/types/components/kit/alert.d.ts +27 -0
  364. package/dist/types/components/kit/announcement-bar.d.ts +36 -0
  365. package/dist/types/components/kit/avatar-group.d.ts +22 -0
  366. package/dist/types/components/kit/avatar.d.ts +2 -0
  367. package/dist/types/components/kit/base/avatar-group.d.ts +22 -0
  368. package/dist/types/components/kit/base/avatar.d.ts +2 -0
  369. package/dist/types/components/kit/base/checkout.d.ts +68 -0
  370. package/dist/types/components/kit/base/comments.d.ts +30 -0
  371. package/dist/types/components/kit/base/empty-state.d.ts +29 -0
  372. package/dist/types/components/kit/base/kanban.d.ts +26 -0
  373. package/dist/types/components/kit/base/notification-center.d.ts +34 -0
  374. package/dist/types/components/kit/base/onboarding.d.ts +28 -0
  375. package/dist/types/components/kit/base/sidebar.d.ts +43 -0
  376. package/dist/types/components/kit/base/team-members.d.ts +46 -0
  377. package/dist/types/components/kit/breadcrumb.d.ts +29 -0
  378. package/dist/types/components/kit/carousel.d.ts +21 -0
  379. package/dist/types/components/kit/checkout.d.ts +68 -0
  380. package/dist/types/components/kit/color-picker.d.ts +28 -0
  381. package/dist/types/components/kit/combobox.d.ts +40 -0
  382. package/dist/types/components/kit/comments.d.ts +30 -0
  383. package/dist/types/components/kit/context-menu.d.ts +37 -0
  384. package/dist/types/components/kit/copy-button.d.ts +20 -0
  385. package/dist/types/components/kit/data-table.d.ts +47 -0
  386. package/dist/types/components/kit/date-picker.d.ts +40 -0
  387. package/dist/types/components/kit/drawer.d.ts +26 -0
  388. package/dist/types/components/kit/empty-state.d.ts +29 -0
  389. package/dist/types/components/kit/event-calendar.d.ts +34 -0
  390. package/dist/types/components/kit/file-upload.d.ts +37 -0
  391. package/dist/types/components/kit/hover-card.d.ts +31 -0
  392. package/dist/types/components/kit/image-compare.d.ts +29 -0
  393. package/dist/types/components/kit/inline-edit.d.ts +26 -0
  394. package/dist/types/components/kit/kanban.d.ts +26 -0
  395. package/dist/types/components/kit/notification-center.d.ts +34 -0
  396. package/dist/types/components/kit/onboarding.d.ts +28 -0
  397. package/dist/types/components/kit/otp-input.d.ts +28 -0
  398. package/dist/types/components/kit/pagination.d.ts +25 -0
  399. package/dist/types/components/kit/password-input.d.ts +32 -0
  400. package/dist/types/components/kit/popover.d.ts +40 -0
  401. package/dist/types/components/kit/progress.d.ts +37 -0
  402. package/dist/types/components/kit/range-slider.d.ts +27 -0
  403. package/dist/types/components/kit/rating.d.ts +23 -0
  404. package/dist/types/components/kit/sidebar.d.ts +43 -0
  405. package/dist/types/components/kit/stat-card.d.ts +24 -0
  406. package/dist/types/components/kit/stepper.d.ts +36 -0
  407. package/dist/types/components/kit/team-members.d.ts +46 -0
  408. package/dist/types/components/kit/timeline.d.ts +24 -0
  409. package/dist/types/components/kit/toggle-group.d.ts +42 -0
  410. package/dist/types/components/kit/tree-view.d.ts +31 -0
  411. package/dist/types/components/kit/variants/footer-aui-025.d.ts +22 -0
  412. package/dist/types/components/kit/variants/footer-aui-026.d.ts +21 -0
  413. package/dist/types/components/kit/variants/footer-aui-027.d.ts +36 -0
  414. package/dist/types/components/kit/variants/footer-aui-028.d.ts +34 -0
  415. package/dist/types/components/kit/variants/navbar-aui-009.d.ts +62 -0
  416. package/dist/types/components/kit/variants/navbar-aui-010.d.ts +30 -0
  417. package/dist/types/components/kit/variants/navbar-aui-011.d.ts +65 -0
  418. package/dist/types/components/kit/variants/navbar-aui-012.d.ts +50 -0
  419. package/dist/types/components/kit/variants/navbar-aui-013.d.ts +70 -0
  420. package/dist/types/components/kit/variants/navbar-aui-014.d.ts +31 -0
  421. package/dist/types/components/kit/variants/pricing-aui-021.d.ts +30 -0
  422. package/dist/types/components/kit/variants/pricing-aui-022.d.ts +34 -0
  423. package/dist/types/components/kit/variants/pricing-aui-023.d.ts +26 -0
  424. package/dist/types/components/kit/variants/pricing-aui-024.d.ts +29 -0
  425. package/dist/types/components/kit/variants/sign-in-aui-015.d.ts +21 -0
  426. package/dist/types/components/kit/variants/sign-in-aui-016.d.ts +28 -0
  427. package/dist/types/components/kit/variants/sign-in-aui-017.d.ts +21 -0
  428. package/dist/types/components/kit/variants/sign-in-aui-018.d.ts +22 -0
  429. package/dist/types/components/kit/variants/sign-in-aui-019.d.ts +22 -0
  430. package/dist/types/components/kit/variants/sign-in-aui-020.d.ts +27 -0
  431. package/dist/types/components/lab/blocks/BookingSlots.d.ts +2 -0
  432. package/dist/types/components/lab/blocks/ChatThread.d.ts +2 -0
  433. package/dist/types/components/lab/blocks/NotificationStack.d.ts +2 -0
  434. package/dist/types/components/lab/blocks/NowPlaying.d.ts +2 -0
  435. package/dist/types/components/lab/blocks/PaymentReceived.d.ts +2 -0
  436. package/dist/types/components/lab/blocks/PlanSwitcher.d.ts +2 -0
  437. package/dist/types/components/lab/blocks/SeatPicker.d.ts +2 -0
  438. package/dist/types/components/lab/blocks/ShipmentTracker.d.ts +2 -0
  439. package/dist/types/components/lab/blocks/TokenSwap.d.ts +2 -0
  440. package/dist/types/components/lab/blocks/Wishlist.d.ts +2 -0
  441. package/dist/types/packages/asta-ui/src/ai-chat.d.ts +2 -0
  442. package/dist/types/packages/asta-ui/src/alert.d.ts +2 -0
  443. package/dist/types/packages/asta-ui/src/announcement-bar.d.ts +2 -0
  444. package/dist/types/packages/asta-ui/src/avatar-group.d.ts +2 -0
  445. package/dist/types/packages/asta-ui/src/base/ai-chat.d.ts +2 -0
  446. package/dist/types/packages/asta-ui/src/base/alert.d.ts +2 -0
  447. package/dist/types/packages/asta-ui/src/base/announcement-bar.d.ts +2 -0
  448. package/dist/types/packages/asta-ui/src/base/avatar-group.d.ts +2 -0
  449. package/dist/types/packages/asta-ui/src/base/booking-slots.d.ts +2 -0
  450. package/dist/types/packages/asta-ui/src/base/breadcrumb.d.ts +2 -0
  451. package/dist/types/packages/asta-ui/src/base/carousel.d.ts +2 -0
  452. package/dist/types/packages/asta-ui/src/base/chat-thread.d.ts +2 -0
  453. package/dist/types/packages/asta-ui/src/base/checkout.d.ts +2 -0
  454. package/dist/types/packages/asta-ui/src/base/color-picker.d.ts +2 -0
  455. package/dist/types/packages/asta-ui/src/base/combobox.d.ts +2 -0
  456. package/dist/types/packages/asta-ui/src/base/comments.d.ts +2 -0
  457. package/dist/types/packages/asta-ui/src/base/context-menu.d.ts +2 -0
  458. package/dist/types/packages/asta-ui/src/base/copy-button.d.ts +2 -0
  459. package/dist/types/packages/asta-ui/src/base/data-table.d.ts +2 -0
  460. package/dist/types/packages/asta-ui/src/base/date-picker.d.ts +2 -0
  461. package/dist/types/packages/asta-ui/src/base/drawer.d.ts +2 -0
  462. package/dist/types/packages/asta-ui/src/base/empty-state.d.ts +2 -0
  463. package/dist/types/packages/asta-ui/src/base/event-calendar.d.ts +2 -0
  464. package/dist/types/packages/asta-ui/src/base/file-upload.d.ts +2 -0
  465. package/dist/types/packages/asta-ui/src/base/footer-aui-025.d.ts +2 -0
  466. package/dist/types/packages/asta-ui/src/base/footer-aui-026.d.ts +2 -0
  467. package/dist/types/packages/asta-ui/src/base/footer-aui-027.d.ts +2 -0
  468. package/dist/types/packages/asta-ui/src/base/footer-aui-028.d.ts +2 -0
  469. package/dist/types/packages/asta-ui/src/base/hover-card.d.ts +2 -0
  470. package/dist/types/packages/asta-ui/src/base/image-compare.d.ts +2 -0
  471. package/dist/types/packages/asta-ui/src/base/inline-edit.d.ts +2 -0
  472. package/dist/types/packages/asta-ui/src/base/kanban.d.ts +2 -0
  473. package/dist/types/packages/asta-ui/src/base/navbar-aui-009.d.ts +2 -0
  474. package/dist/types/packages/asta-ui/src/base/navbar-aui-010.d.ts +2 -0
  475. package/dist/types/packages/asta-ui/src/base/navbar-aui-011.d.ts +2 -0
  476. package/dist/types/packages/asta-ui/src/base/navbar-aui-012.d.ts +2 -0
  477. package/dist/types/packages/asta-ui/src/base/navbar-aui-013.d.ts +2 -0
  478. package/dist/types/packages/asta-ui/src/base/navbar-aui-014.d.ts +2 -0
  479. package/dist/types/packages/asta-ui/src/base/notification-center.d.ts +2 -0
  480. package/dist/types/packages/asta-ui/src/base/notification-stack.d.ts +2 -0
  481. package/dist/types/packages/asta-ui/src/base/now-playing.d.ts +2 -0
  482. package/dist/types/packages/asta-ui/src/base/onboarding.d.ts +2 -0
  483. package/dist/types/packages/asta-ui/src/base/otp-input.d.ts +2 -0
  484. package/dist/types/packages/asta-ui/src/base/pagination.d.ts +2 -0
  485. package/dist/types/packages/asta-ui/src/base/password-input.d.ts +2 -0
  486. package/dist/types/packages/asta-ui/src/base/payment-received.d.ts +2 -0
  487. package/dist/types/packages/asta-ui/src/base/plan-switcher.d.ts +2 -0
  488. package/dist/types/packages/asta-ui/src/base/popover.d.ts +2 -0
  489. package/dist/types/packages/asta-ui/src/base/pricing-aui-021.d.ts +2 -0
  490. package/dist/types/packages/asta-ui/src/base/pricing-aui-022.d.ts +2 -0
  491. package/dist/types/packages/asta-ui/src/base/pricing-aui-023.d.ts +2 -0
  492. package/dist/types/packages/asta-ui/src/base/pricing-aui-024.d.ts +2 -0
  493. package/dist/types/packages/asta-ui/src/base/progress.d.ts +2 -0
  494. package/dist/types/packages/asta-ui/src/base/range-slider.d.ts +2 -0
  495. package/dist/types/packages/asta-ui/src/base/rating.d.ts +2 -0
  496. package/dist/types/packages/asta-ui/src/base/seat-picker.d.ts +2 -0
  497. package/dist/types/packages/asta-ui/src/base/shipment-tracker.d.ts +2 -0
  498. package/dist/types/packages/asta-ui/src/base/sidebar.d.ts +2 -0
  499. package/dist/types/packages/asta-ui/src/base/sign-in-aui-015.d.ts +2 -0
  500. package/dist/types/packages/asta-ui/src/base/sign-in-aui-016.d.ts +2 -0
  501. package/dist/types/packages/asta-ui/src/base/sign-in-aui-017.d.ts +2 -0
  502. package/dist/types/packages/asta-ui/src/base/sign-in-aui-018.d.ts +2 -0
  503. package/dist/types/packages/asta-ui/src/base/sign-in-aui-019.d.ts +2 -0
  504. package/dist/types/packages/asta-ui/src/base/sign-in-aui-020.d.ts +2 -0
  505. package/dist/types/packages/asta-ui/src/base/stat-card.d.ts +2 -0
  506. package/dist/types/packages/asta-ui/src/base/stepper.d.ts +2 -0
  507. package/dist/types/packages/asta-ui/src/base/team-members.d.ts +2 -0
  508. package/dist/types/packages/asta-ui/src/base/timeline.d.ts +2 -0
  509. package/dist/types/packages/asta-ui/src/base/toggle-group.d.ts +2 -0
  510. package/dist/types/packages/asta-ui/src/base/token-swap.d.ts +2 -0
  511. package/dist/types/packages/asta-ui/src/base/tree-view.d.ts +2 -0
  512. package/dist/types/packages/asta-ui/src/base/wishlist.d.ts +2 -0
  513. package/dist/types/packages/asta-ui/src/base.d.ts +127 -1
  514. package/dist/types/packages/asta-ui/src/booking-slots.d.ts +2 -0
  515. package/dist/types/packages/asta-ui/src/breadcrumb.d.ts +2 -0
  516. package/dist/types/packages/asta-ui/src/carousel.d.ts +2 -0
  517. package/dist/types/packages/asta-ui/src/chat-thread.d.ts +2 -0
  518. package/dist/types/packages/asta-ui/src/checkout.d.ts +2 -0
  519. package/dist/types/packages/asta-ui/src/color-picker.d.ts +2 -0
  520. package/dist/types/packages/asta-ui/src/combobox.d.ts +2 -0
  521. package/dist/types/packages/asta-ui/src/comments.d.ts +2 -0
  522. package/dist/types/packages/asta-ui/src/context-menu.d.ts +2 -0
  523. package/dist/types/packages/asta-ui/src/copy-button.d.ts +2 -0
  524. package/dist/types/packages/asta-ui/src/data-table.d.ts +2 -0
  525. package/dist/types/packages/asta-ui/src/date-picker.d.ts +2 -0
  526. package/dist/types/packages/asta-ui/src/drawer.d.ts +2 -0
  527. package/dist/types/packages/asta-ui/src/empty-state.d.ts +2 -0
  528. package/dist/types/packages/asta-ui/src/event-calendar.d.ts +2 -0
  529. package/dist/types/packages/asta-ui/src/file-upload.d.ts +2 -0
  530. package/dist/types/packages/asta-ui/src/footer-aui-025.d.ts +2 -0
  531. package/dist/types/packages/asta-ui/src/footer-aui-026.d.ts +2 -0
  532. package/dist/types/packages/asta-ui/src/footer-aui-027.d.ts +2 -0
  533. package/dist/types/packages/asta-ui/src/footer-aui-028.d.ts +2 -0
  534. package/dist/types/packages/asta-ui/src/hover-card.d.ts +2 -0
  535. package/dist/types/packages/asta-ui/src/image-compare.d.ts +2 -0
  536. package/dist/types/packages/asta-ui/src/index.d.ts +127 -1
  537. package/dist/types/packages/asta-ui/src/inline-edit.d.ts +2 -0
  538. package/dist/types/packages/asta-ui/src/kanban.d.ts +2 -0
  539. package/dist/types/packages/asta-ui/src/navbar-aui-009.d.ts +2 -0
  540. package/dist/types/packages/asta-ui/src/navbar-aui-010.d.ts +2 -0
  541. package/dist/types/packages/asta-ui/src/navbar-aui-011.d.ts +2 -0
  542. package/dist/types/packages/asta-ui/src/navbar-aui-012.d.ts +2 -0
  543. package/dist/types/packages/asta-ui/src/navbar-aui-013.d.ts +2 -0
  544. package/dist/types/packages/asta-ui/src/navbar-aui-014.d.ts +2 -0
  545. package/dist/types/packages/asta-ui/src/notification-center.d.ts +2 -0
  546. package/dist/types/packages/asta-ui/src/notification-stack.d.ts +2 -0
  547. package/dist/types/packages/asta-ui/src/now-playing.d.ts +2 -0
  548. package/dist/types/packages/asta-ui/src/onboarding.d.ts +2 -0
  549. package/dist/types/packages/asta-ui/src/otp-input.d.ts +2 -0
  550. package/dist/types/packages/asta-ui/src/pagination.d.ts +2 -0
  551. package/dist/types/packages/asta-ui/src/password-input.d.ts +2 -0
  552. package/dist/types/packages/asta-ui/src/payment-received.d.ts +2 -0
  553. package/dist/types/packages/asta-ui/src/plan-switcher.d.ts +2 -0
  554. package/dist/types/packages/asta-ui/src/popover.d.ts +2 -0
  555. package/dist/types/packages/asta-ui/src/pricing-aui-021.d.ts +2 -0
  556. package/dist/types/packages/asta-ui/src/pricing-aui-022.d.ts +2 -0
  557. package/dist/types/packages/asta-ui/src/pricing-aui-023.d.ts +2 -0
  558. package/dist/types/packages/asta-ui/src/pricing-aui-024.d.ts +2 -0
  559. package/dist/types/packages/asta-ui/src/progress.d.ts +2 -0
  560. package/dist/types/packages/asta-ui/src/range-slider.d.ts +2 -0
  561. package/dist/types/packages/asta-ui/src/rating.d.ts +2 -0
  562. package/dist/types/packages/asta-ui/src/seat-picker.d.ts +2 -0
  563. package/dist/types/packages/asta-ui/src/shipment-tracker.d.ts +2 -0
  564. package/dist/types/packages/asta-ui/src/sidebar.d.ts +2 -0
  565. package/dist/types/packages/asta-ui/src/sign-in-aui-015.d.ts +2 -0
  566. package/dist/types/packages/asta-ui/src/sign-in-aui-016.d.ts +2 -0
  567. package/dist/types/packages/asta-ui/src/sign-in-aui-017.d.ts +2 -0
  568. package/dist/types/packages/asta-ui/src/sign-in-aui-018.d.ts +2 -0
  569. package/dist/types/packages/asta-ui/src/sign-in-aui-019.d.ts +2 -0
  570. package/dist/types/packages/asta-ui/src/sign-in-aui-020.d.ts +2 -0
  571. package/dist/types/packages/asta-ui/src/stat-card.d.ts +2 -0
  572. package/dist/types/packages/asta-ui/src/stepper.d.ts +2 -0
  573. package/dist/types/packages/asta-ui/src/team-members.d.ts +2 -0
  574. package/dist/types/packages/asta-ui/src/timeline.d.ts +2 -0
  575. package/dist/types/packages/asta-ui/src/toggle-group.d.ts +2 -0
  576. package/dist/types/packages/asta-ui/src/token-swap.d.ts +2 -0
  577. package/dist/types/packages/asta-ui/src/tree-view.d.ts +2 -0
  578. package/dist/types/packages/asta-ui/src/wishlist.d.ts +2 -0
  579. package/dist/wishlist.d.ts +2 -0
  580. package/dist/wishlist.js +7 -0
  581. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ export interface AvatarStackPerson {
2
+ name: string;
3
+ /** Image URL. Falls back to initials if missing or it fails to load. */
4
+ src?: string;
5
+ }
6
+ export interface AvatarStackProps {
7
+ people: AvatarStackPerson[];
8
+ /** Avatars shown before the rest fold into "+N". */
9
+ max?: number;
10
+ size?: "sm" | "md" | "lg";
11
+ /** Makes "+N" a button, e.g. to open the full member list. */
12
+ onOverflowClick?: () => void;
13
+ /** Accessible name for the group. Defaults to "N people". */
14
+ label?: string;
15
+ className?: string;
16
+ }
17
+ /**
18
+ * Overlapping avatars. Hover the stack and it spreads a little, hover one face and it lifts and shows the
19
+ * name. People past `max` fold into "+N". The stack is one tab stop and arrow keys move between faces.
20
+ */
21
+ export declare function AvatarStack({ people, max, size, onOverflowClick, label, className }: AvatarStackProps): import("react").JSX.Element | null;
22
+ export default AvatarStack;
@@ -2,6 +2,8 @@ import type { ReactNode } from "react";
2
2
  export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
3
3
  export type AvatarStatus = "online" | "away" | "busy" | "offline";
4
4
  export declare const initials: (name: string) => string;
5
+ /** The fallback fill classes for a name. The same name always gets the same fill. */
6
+ export declare const avatarFill: (name: string) => string;
5
7
  export interface AvatarProps {
6
8
  name: string;
7
9
  /** Image URL. Falls back to initials if missing or it fails to load. */
@@ -0,0 +1,22 @@
1
+ export interface AvatarStackPerson {
2
+ name: string;
3
+ /** Image URL. Falls back to initials if missing or it fails to load. */
4
+ src?: string;
5
+ }
6
+ export interface AvatarStackProps {
7
+ people: AvatarStackPerson[];
8
+ /** Avatars shown before the rest fold into "+N". */
9
+ max?: number;
10
+ size?: "sm" | "md" | "lg";
11
+ /** Makes "+N" a button, e.g. to open the full member list. */
12
+ onOverflowClick?: () => void;
13
+ /** Accessible name for the group. Defaults to "N people". */
14
+ label?: string;
15
+ className?: string;
16
+ }
17
+ /**
18
+ * Overlapping avatars. Hover the stack and it spreads a little, hover one face and it lifts and shows the
19
+ * name. People past `max` fold into "+N". The stack is one tab stop and arrow keys move between faces.
20
+ */
21
+ export declare function AvatarStack({ people, max, size, onOverflowClick, label, className }: AvatarStackProps): import("react").JSX.Element | null;
22
+ export default AvatarStack;
@@ -2,6 +2,8 @@ import type { ReactNode } from "react";
2
2
  export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
3
3
  export type AvatarStatus = "online" | "away" | "busy" | "offline";
4
4
  export declare const initials: (name: string) => string;
5
+ /** The fallback fill classes for a name. The same name always gets the same fill. */
6
+ export declare const avatarFill: (name: string) => string;
5
7
  export interface AvatarProps {
6
8
  name: string;
7
9
  /** Image URL. Falls back to initials if missing or it fails to load. */
@@ -0,0 +1,68 @@
1
+ export interface CheckoutLineItem {
2
+ id: string;
3
+ name: string;
4
+ /** Size, colour or plan, e.g. "Oat · M". */
5
+ variant?: string;
6
+ /** Unit price in major units, e.g. 48 or 12.5. */
7
+ price: number;
8
+ qty: number;
9
+ image?: string;
10
+ }
11
+ export interface CheckoutShippingOption {
12
+ id: string;
13
+ label: string;
14
+ /** e.g. "2–4 business days". */
15
+ eta: string;
16
+ price: number;
17
+ }
18
+ export interface CheckoutDetails {
19
+ email: string;
20
+ name: string;
21
+ address: string;
22
+ city: string;
23
+ postal: string;
24
+ country: string;
25
+ shipping: string;
26
+ /** Digits only. */
27
+ cardNumber: string;
28
+ /** "MM/YY". */
29
+ cardExpiry: string;
30
+ cardCvc: string;
31
+ }
32
+ export interface CheckoutProps {
33
+ /**
34
+ * The cart. The buyer can change quantities inside the checkout, and `onItemsChange` reports each change.
35
+ * Pass a new array (a new identity) to replace the cart: the internal copy resets to it. Keep the same
36
+ * array identity between renders if you don't want to discard the buyer's quantity changes.
37
+ */
38
+ items: CheckoutLineItem[];
39
+ /** Runs when Pay is pressed and every field is valid. Reject to show the error and let the buyer retry. */
40
+ onPay: (order: {
41
+ details: CheckoutDetails;
42
+ items: CheckoutLineItem[];
43
+ total: number;
44
+ }) => Promise<unknown>;
45
+ shippingOptions?: CheckoutShippingOption[];
46
+ countries?: {
47
+ value: string;
48
+ label: string;
49
+ }[];
50
+ /** Tax as a fraction of the discounted subtotal, e.g. 0.11. */
51
+ taxRate?: number;
52
+ /** Promo code → discount as a fraction, e.g. { WELCOME10: 0.1 }. Codes are matched case-insensitively. */
53
+ promoCodes?: Record<string, number>;
54
+ /** ISO 4217 code. */
55
+ currency?: string;
56
+ locale?: string;
57
+ defaultDetails?: Partial<CheckoutDetails>;
58
+ /** Called when quantities change. */
59
+ onItemsChange?: (items: CheckoutLineItem[]) => void;
60
+ className?: string;
61
+ }
62
+ /**
63
+ * A one-page checkout: contact, shipping and payment on the left, the order on the right. Card fields
64
+ * format as you type. Change a quantity, the shipping speed or add a promo code and the totals roll to
65
+ * the new amount. Pay shows a pending state, then a receipt. A failed payment keeps everything filled in.
66
+ */
67
+ export declare function Checkout({ items: initialItems, onPay, shippingOptions, countries, taxRate, promoCodes, currency, locale, defaultDetails, onItemsChange, className, }: CheckoutProps): import("react").JSX.Element;
68
+ export default Checkout;
@@ -0,0 +1,30 @@
1
+ export interface CommentAuthor {
2
+ name: string;
3
+ src?: string;
4
+ }
5
+ export interface CommentItem {
6
+ id: string;
7
+ author: CommentAuthor;
8
+ /** Already formatted, e.g. "2h" or "Yesterday". */
9
+ time: string;
10
+ body: string;
11
+ likes?: number;
12
+ liked?: boolean;
13
+ /** One level only. Replying to a reply adds to the same list. */
14
+ replies?: CommentItem[];
15
+ }
16
+ export interface CommentsProps {
17
+ defaultComments: CommentItem[];
18
+ currentUser: CommentAuthor;
19
+ title?: string;
20
+ /** Called after a comment is added. `parentId` is set for replies. */
21
+ onPost?: (body: string, parentId?: string) => void;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * A discussion thread: avatar, name and time on each comment, replies one level deep, a like pill that
26
+ * pops, and a composer that grows with its text. New comments slide in. ⌘/Ctrl + Enter posts and
27
+ * Escape closes a reply box.
28
+ */
29
+ export declare function Comments({ defaultComments, currentUser, title, onPost, className }: CommentsProps): import("react").JSX.Element;
30
+ export default Comments;
@@ -0,0 +1,29 @@
1
+ import type { ReactNode } from "react";
2
+ export type EmptyStateVariant = "no-data" | "no-results" | "error";
3
+ export interface EmptyStateAction {
4
+ label: string;
5
+ onClick?: () => void;
6
+ href?: string;
7
+ icon?: ReactNode;
8
+ }
9
+ export interface EmptyStateProps {
10
+ variant?: EmptyStateVariant;
11
+ /** Overrides the variant's default title. */
12
+ title?: ReactNode;
13
+ description?: ReactNode;
14
+ /** For "no-results": the search, shown in the default title. */
15
+ query?: string;
16
+ primary?: EmptyStateAction;
17
+ secondary?: EmptyStateAction;
18
+ /** Your own drawing instead of the built-in one. */
19
+ illustration?: ReactNode;
20
+ size?: "sm" | "md";
21
+ className?: string;
22
+ }
23
+ /**
24
+ * What a list shows when it has nothing to show. A small line drawing draws itself in, then the title,
25
+ * the text and up to two actions rise in. Three variants: no data yet, no search results and a neutral
26
+ * error. Re-mount it (change its `key`) to play it again.
27
+ */
28
+ export declare function EmptyState({ variant, title, description, query, primary, secondary, illustration, size, className }: EmptyStateProps): import("react").JSX.Element;
29
+ export default EmptyState;
@@ -0,0 +1,26 @@
1
+ export interface KanbanColumn {
2
+ id: string;
3
+ title: string;
4
+ }
5
+ export interface KanbanCard {
6
+ id: string;
7
+ column: string;
8
+ title: string;
9
+ tag?: string;
10
+ assignee?: string;
11
+ due?: string;
12
+ }
13
+ export interface KanbanProps {
14
+ columns: KanbanColumn[];
15
+ defaultCards: KanbanCard[];
16
+ /** Called with the new order after every drop. */
17
+ onChange?: (cards: KanbanCard[]) => void;
18
+ className?: string;
19
+ }
20
+ /**
21
+ * A board with columns of cards. Drag a card with the pointer and the gap opens where it will land.
22
+ * With the keyboard: focus a card, press Space to pick it up, arrows to move it, Space to drop and
23
+ * Escape to cancel. Counts follow along and every move is announced.
24
+ */
25
+ export declare function Kanban({ columns, defaultCards, onChange, className }: KanbanProps): import("react").JSX.Element;
26
+ export default Kanban;
@@ -0,0 +1,34 @@
1
+ import { type PopoverAlign } from "../popover";
2
+ export interface NotificationEntry {
3
+ id: string;
4
+ title: string;
5
+ body?: string;
6
+ time: Date;
7
+ read?: boolean;
8
+ /** Who did it. Shows their avatar; without it a neutral bell is shown. */
9
+ actor?: {
10
+ name: string;
11
+ src?: string;
12
+ };
13
+ }
14
+ export interface NotificationCenterProps {
15
+ /** Controlled list. Pass with `onNotificationsChange`. */
16
+ notifications?: NotificationEntry[];
17
+ defaultNotifications?: NotificationEntry[];
18
+ onNotificationsChange?: (notifications: NotificationEntry[]) => void;
19
+ /** Called when a notification is clicked. It's marked read first. */
20
+ onOpenItem?: (notification: NotificationEntry) => void;
21
+ /** Override "now" for grouping and relative times. */
22
+ now?: Date;
23
+ locale?: string;
24
+ align?: PopoverAlign;
25
+ label?: string;
26
+ className?: string;
27
+ }
28
+ /**
29
+ * A bell with an unread count that opens a notification panel. Switch between All and Unread, read
30
+ * them grouped by day, and mark one or all as read: the blue dot fades out. The bell rings when new
31
+ * ones arrive. Arrow keys move through the list.
32
+ */
33
+ export declare function NotificationCenter({ notifications, defaultNotifications, onNotificationsChange, onOpenItem, now: nowProp, locale, align, label, className, }: NotificationCenterProps): import("react").JSX.Element;
34
+ export default NotificationCenter;
@@ -0,0 +1,28 @@
1
+ import { type ReactNode } from "react";
2
+ export interface OnboardingStep {
3
+ id: string;
4
+ title: string;
5
+ description: ReactNode;
6
+ /** Label of the button that completes the step. */
7
+ action?: string;
8
+ /** Rough time, e.g. "2 min". */
9
+ duration?: string;
10
+ }
11
+ export interface OnboardingProps {
12
+ title?: string;
13
+ subtitle?: string;
14
+ steps: OnboardingStep[];
15
+ defaultCompleted?: string[];
16
+ /** Runs when a step's button is pressed. Return a promise and the button shows progress until it resolves. */
17
+ onStep?: (id: string) => void | Promise<void>;
18
+ /** The done state's button. Leave it out to hide the button. */
19
+ onFinish?: () => void;
20
+ finishLabel?: string;
21
+ className?: string;
22
+ }
23
+ /**
24
+ * A setup checklist. One step is open at a time. Completing it ticks the mark, fills the bar and opens
25
+ * the next step that is still to do. When everything is done the card turns into a short done state.
26
+ */
27
+ export declare function Onboarding({ title, subtitle, steps, defaultCompleted, onStep, onFinish, finishLabel, className }: OnboardingProps): import("react").JSX.Element;
28
+ export default Onboarding;
@@ -0,0 +1,43 @@
1
+ import { type ReactNode } from "react";
2
+ export interface SidebarItem {
3
+ id: string;
4
+ label: string;
5
+ icon: ReactNode;
6
+ /** Small count on the right. In the icon rail it becomes a dot. */
7
+ badge?: number;
8
+ }
9
+ export interface SidebarGroup {
10
+ label?: string;
11
+ items: SidebarItem[];
12
+ }
13
+ export interface SidebarWorkspace {
14
+ id: string;
15
+ name: string;
16
+ plan?: string;
17
+ }
18
+ export interface SidebarProps {
19
+ workspaces: SidebarWorkspace[];
20
+ defaultWorkspace?: string;
21
+ onWorkspaceChange?: (id: string) => void;
22
+ groups: SidebarGroup[];
23
+ /** Controlled active item. Leave it out and the sidebar tracks clicks itself. */
24
+ active?: string;
25
+ defaultActive?: string;
26
+ onNavigate?: (id: string) => void;
27
+ collapsed?: boolean;
28
+ defaultCollapsed?: boolean;
29
+ onCollapsedChange?: (collapsed: boolean) => void;
30
+ user: {
31
+ name: string;
32
+ email: string;
33
+ src?: string;
34
+ };
35
+ className?: string;
36
+ }
37
+ /**
38
+ * App sidebar: a workspace switcher, grouped navigation with a sliding active indicator, and the
39
+ * signed-in user at the bottom. It folds to a 64px icon rail where labels fade out and tooltips take
40
+ * over. Arrow keys move between items.
41
+ */
42
+ export declare function Sidebar({ workspaces, defaultWorkspace, onWorkspaceChange, groups, active: activeProp, defaultActive, onNavigate, collapsed: collapsedProp, defaultCollapsed, onCollapsedChange, user, className, }: SidebarProps): import("react").JSX.Element;
43
+ export default Sidebar;
@@ -0,0 +1,46 @@
1
+ export interface TeamMember {
2
+ id: string;
3
+ name: string;
4
+ email: string;
5
+ role: string;
6
+ src?: string;
7
+ /** The signed-in person. Their role is locked and they can't be removed. */
8
+ you?: boolean;
9
+ }
10
+ export interface TeamMemberInvite {
11
+ id: string;
12
+ email: string;
13
+ role: string;
14
+ /** Already formatted, e.g. "2d ago". */
15
+ sent?: string;
16
+ }
17
+ export interface TeamMemberRoleOption {
18
+ value: string;
19
+ label: string;
20
+ hint?: string;
21
+ }
22
+ export interface TeamMembersProps {
23
+ defaultMembers: TeamMember[];
24
+ defaultInvites?: TeamMemberInvite[];
25
+ roles?: TeamMemberRoleOption[];
26
+ /** Role picked for new invites. Defaults to the last role. */
27
+ defaultInviteRole?: string;
28
+ /** Send invites. Reject to keep the addresses and show an error. */
29
+ onInvite?: (emails: string[], role: string) => Promise<unknown> | void;
30
+ onRoleChange?: (memberId: string, role: string) => void;
31
+ /** Called once the undo window has passed. */
32
+ onRemove?: (memberId: string) => void;
33
+ onRevoke?: (inviteId: string) => void;
34
+ onResend?: (inviteId: string) => void;
35
+ /** How long a removal can be undone, in ms. */
36
+ undoMs?: number;
37
+ title?: string;
38
+ className?: string;
39
+ }
40
+ /**
41
+ * A team list: avatar, name, email and a role picker per person. Invite several people at once by typing
42
+ * or pasting addresses; bad or duplicate ones are flagged before you send. Removing someone leaves an
43
+ * Undo row for a few seconds. Pending invites can be resent or revoked.
44
+ */
45
+ export declare function TeamMembers({ defaultMembers, defaultInvites, roles, defaultInviteRole, onInvite, onRoleChange, onRemove, onRevoke, onResend, undoMs, title, className, }: TeamMembersProps): import("react").JSX.Element;
46
+ export default TeamMembers;
@@ -0,0 +1,29 @@
1
+ import { type ReactNode } from "react";
2
+ export interface Crumb {
3
+ label: string;
4
+ href?: string;
5
+ onClick?: () => void;
6
+ icon?: ReactNode;
7
+ }
8
+ export interface BreadcrumbProps {
9
+ /** Root first, current page last. The last one is marked as the current page. */
10
+ items: Crumb[];
11
+ /** Between items. Defaults to a slim chevron. */
12
+ separator?: ReactNode;
13
+ /** "auto" folds middle items into a menu when the row overflows. A number caps the visible items. `false` never folds. */
14
+ collapse?: "auto" | number | false;
15
+ /** Render links your way, e.g. with next/link. */
16
+ renderLink?: (props: {
17
+ href: string;
18
+ className: string;
19
+ children: ReactNode;
20
+ onClick?: () => void;
21
+ }) => ReactNode;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * A trail back to the root. The last item is the current page. When the row runs out of room the middle
26
+ * items fold into a menu behind an ellipsis, keeping the root and the nearest parents in view.
27
+ */
28
+ export declare function Breadcrumb({ items, separator, collapse, renderLink, className }: BreadcrumbProps): import("react").JSX.Element;
29
+ export default Breadcrumb;
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from "react";
2
+ export interface CarouselProps {
3
+ /** One child per slide. */
4
+ children: ReactNode;
5
+ index?: number;
6
+ defaultIndex?: number;
7
+ onIndexChange?: (index: number) => void;
8
+ /** Wrap from the last slide to the first and back. */
9
+ loop?: boolean;
10
+ /** Milliseconds per slide. Pauses on hover, focus and drag, and stays off for reduced motion. */
11
+ autoplay?: number;
12
+ /** Accessible name, e.g. "Featured products". */
13
+ label?: string;
14
+ className?: string;
15
+ }
16
+ /**
17
+ * Slides you swipe or drag, step with the arrows, or jump to with the dots. The active dot stretches into a
18
+ * bar (with autoplay, the bar fills as the slide's time runs out). Arrow keys work once the carousel has focus.
19
+ */
20
+ export declare function Carousel({ children, index, defaultIndex, onIndexChange, loop, autoplay, label, className }: CarouselProps): import("react").JSX.Element;
21
+ export default Carousel;
@@ -0,0 +1,68 @@
1
+ export interface CheckoutLineItem {
2
+ id: string;
3
+ name: string;
4
+ /** Size, colour or plan, e.g. "Oat · M". */
5
+ variant?: string;
6
+ /** Unit price in major units, e.g. 48 or 12.5. */
7
+ price: number;
8
+ qty: number;
9
+ image?: string;
10
+ }
11
+ export interface CheckoutShippingOption {
12
+ id: string;
13
+ label: string;
14
+ /** e.g. "2–4 business days". */
15
+ eta: string;
16
+ price: number;
17
+ }
18
+ export interface CheckoutDetails {
19
+ email: string;
20
+ name: string;
21
+ address: string;
22
+ city: string;
23
+ postal: string;
24
+ country: string;
25
+ shipping: string;
26
+ /** Digits only. */
27
+ cardNumber: string;
28
+ /** "MM/YY". */
29
+ cardExpiry: string;
30
+ cardCvc: string;
31
+ }
32
+ export interface CheckoutProps {
33
+ /**
34
+ * The cart. The buyer can change quantities inside the checkout, and `onItemsChange` reports each change.
35
+ * Pass a new array (a new identity) to replace the cart: the internal copy resets to it. Keep the same
36
+ * array identity between renders if you don't want to discard the buyer's quantity changes.
37
+ */
38
+ items: CheckoutLineItem[];
39
+ /** Runs when Pay is pressed and every field is valid. Reject to show the error and let the buyer retry. */
40
+ onPay: (order: {
41
+ details: CheckoutDetails;
42
+ items: CheckoutLineItem[];
43
+ total: number;
44
+ }) => Promise<unknown>;
45
+ shippingOptions?: CheckoutShippingOption[];
46
+ countries?: {
47
+ value: string;
48
+ label: string;
49
+ }[];
50
+ /** Tax as a fraction of the discounted subtotal, e.g. 0.11. */
51
+ taxRate?: number;
52
+ /** Promo code → discount as a fraction, e.g. { WELCOME10: 0.1 }. Codes are matched case-insensitively. */
53
+ promoCodes?: Record<string, number>;
54
+ /** ISO 4217 code. */
55
+ currency?: string;
56
+ locale?: string;
57
+ defaultDetails?: Partial<CheckoutDetails>;
58
+ /** Called when quantities change. */
59
+ onItemsChange?: (items: CheckoutLineItem[]) => void;
60
+ className?: string;
61
+ }
62
+ /**
63
+ * A one-page checkout: contact, shipping and payment on the left, the order on the right. Card fields
64
+ * format as you type. Change a quantity, the shipping speed or add a promo code and the totals roll to
65
+ * the new amount. Pay shows a pending state, then a receipt. A failed payment keeps everything filled in.
66
+ */
67
+ export declare function Checkout({ items: initialItems, onPay, shippingOptions, countries, taxRate, promoCodes, currency, locale, defaultDetails, onItemsChange, className, }: CheckoutProps): import("react").JSX.Element;
68
+ export default Checkout;
@@ -0,0 +1,28 @@
1
+ export interface ColorPickerSwatch {
2
+ /** A hex colour, e.g. "#2f54eb". */
3
+ value: string;
4
+ /** Name read to screen readers and shown on hover, e.g. "Ocean". */
5
+ name?: string;
6
+ }
7
+ export interface ColorPickerProps {
8
+ /** The picked colour as lowercase `#rrggbb`. */
9
+ value?: string;
10
+ defaultValue?: string;
11
+ onValueChange?: (hex: string) => void;
12
+ swatches?: (string | ColorPickerSwatch)[];
13
+ /** Show the hex field for a custom colour. */
14
+ custom?: boolean;
15
+ /** Swatches per row. */
16
+ columns?: number;
17
+ size?: "sm" | "md";
18
+ /** Accessible name, e.g. "Label colour". */
19
+ label?: string;
20
+ disabled?: boolean;
21
+ className?: string;
22
+ }
23
+ /**
24
+ * A calm swatch picker. The ring around the picked swatch scales in, arrow keys move through the grid, and an
25
+ * optional hex field takes any colour. The field previews as you type and only commits a valid hex.
26
+ */
27
+ export declare function ColorPicker({ value, defaultValue, onValueChange, swatches, custom, columns, size, label, disabled, className }: ColorPickerProps): import("react").JSX.Element;
28
+ export default ColorPicker;
@@ -0,0 +1,40 @@
1
+ import { type ReactNode } from "react";
2
+ export interface ComboboxOption {
3
+ value: string;
4
+ label: string;
5
+ /** Muted text on the right, e.g. a count or a shortcut. */
6
+ hint?: string;
7
+ icon?: ReactNode;
8
+ disabled?: boolean;
9
+ }
10
+ interface CommonProps {
11
+ options: ComboboxOption[];
12
+ placeholder?: string;
13
+ label?: string;
14
+ /** Shown when nothing matches what was typed. */
15
+ emptyText?: ReactNode;
16
+ /** Form field name. Multiple values submit as one hidden input each. */
17
+ name?: string;
18
+ disabled?: boolean;
19
+ className?: string;
20
+ }
21
+ export interface SingleComboboxProps extends CommonProps {
22
+ multiple?: false;
23
+ value?: string | null;
24
+ defaultValue?: string | null;
25
+ onChange?: (value: string | null) => void;
26
+ }
27
+ export interface MultipleComboboxProps extends CommonProps {
28
+ multiple: true;
29
+ value?: string[];
30
+ defaultValue?: string[];
31
+ onChange?: (value: string[]) => void;
32
+ }
33
+ export type ComboboxProps = SingleComboboxProps | MultipleComboboxProps;
34
+ /**
35
+ * Type to filter, arrows to move, Enter to pick, Escape to close. Matches are substring, case-insensitive,
36
+ * with the typed part in bold. With `multiple`, picks become chips inside the field: click × or press
37
+ * Backspace on an empty field to remove the last one.
38
+ */
39
+ export declare function Combobox(props: ComboboxProps): import("react").JSX.Element;
40
+ export default Combobox;
@@ -0,0 +1,30 @@
1
+ export interface CommentAuthor {
2
+ name: string;
3
+ src?: string;
4
+ }
5
+ export interface CommentItem {
6
+ id: string;
7
+ author: CommentAuthor;
8
+ /** Already formatted, e.g. "2h" or "Yesterday". */
9
+ time: string;
10
+ body: string;
11
+ likes?: number;
12
+ liked?: boolean;
13
+ /** One level only. Replying to a reply adds to the same list. */
14
+ replies?: CommentItem[];
15
+ }
16
+ export interface CommentsProps {
17
+ defaultComments: CommentItem[];
18
+ currentUser: CommentAuthor;
19
+ title?: string;
20
+ /** Called after a comment is added. `parentId` is set for replies. */
21
+ onPost?: (body: string, parentId?: string) => void;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * A discussion thread: avatar, name and time on each comment, replies one level deep, a like pill that
26
+ * pops, and a composer that grows with its text. New comments slide in. ⌘/Ctrl + Enter posts and
27
+ * Escape closes a reply box.
28
+ */
29
+ export declare function Comments({ defaultComments, currentUser, title, onPost, className }: CommentsProps): import("react").JSX.Element;
30
+ export default Comments;
@@ -0,0 +1,37 @@
1
+ import { type ReactNode } from "react";
2
+ export interface ContextMenuItem {
3
+ label: string;
4
+ icon?: ReactNode;
5
+ /** Shown on the right, e.g. "⌘C". Display only. */
6
+ shortcut?: string;
7
+ disabled?: boolean;
8
+ onSelect?: () => void;
9
+ /** Nested items open as a submenu to the side. */
10
+ items?: ContextMenuEntry[];
11
+ }
12
+ /** An item, or the string "separator" for a thin rule between groups. */
13
+ export type ContextMenuEntry = ContextMenuItem | "separator";
14
+ export interface ContextMenuProps {
15
+ items: ContextMenuEntry[];
16
+ /** The area that listens for right-click, long-press and Shift+F10. */
17
+ children: ReactNode;
18
+ /** Accessible name for the menu. */
19
+ label?: string;
20
+ /** Keep the menu inside this area instead of the viewport. */
21
+ contained?: boolean;
22
+ disabled?: boolean;
23
+ /** Long-press time on touch, in ms. */
24
+ longPress?: number;
25
+ onOpenChange?: (open: boolean) => void;
26
+ /** Classes for the target area. */
27
+ className?: string;
28
+ /** Classes for the menu panel. */
29
+ menuClassName?: string;
30
+ }
31
+ /**
32
+ * Right-click, long-press on touch, or Shift+F10 / the Menu key opens a menu at the pointer. It scales in
33
+ * from the corner nearest the pointer, flips to stay inside the viewport (or the area, with `contained`),
34
+ * and can nest one level of submenu. Arrows, Home/End, type-ahead, Enter, Escape and focus return all work.
35
+ */
36
+ export declare function ContextMenu({ items, children, label, contained, disabled, longPress, onOpenChange, className, menuClassName }: ContextMenuProps): import("react").JSX.Element;
37
+ export default ContextMenu;
@@ -0,0 +1,20 @@
1
+ import { type ButtonHTMLAttributes } from "react";
2
+ export interface ClipboardButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onCopy" | "children"> {
3
+ /** Text to copy, or a function that returns it at click time. */
4
+ value: string | (() => string);
5
+ /** Visible label. Leave it out for an icon-only button. */
6
+ label?: string;
7
+ /** Label while the check shows. */
8
+ copiedLabel?: string;
9
+ /** How long the check stays, in ms. */
10
+ timeout?: number;
11
+ onCopy?: (text: string) => void;
12
+ variant?: "ghost" | "outline" | "soft";
13
+ size?: "sm" | "md";
14
+ }
15
+ /**
16
+ * Copies text on click. The copy icon turns and fades as a check draws itself in, the label rolls to
17
+ * "Copied", and both settle back after a moment. Screen readers hear the result.
18
+ */
19
+ export declare function ClipboardButton({ value, label, copiedLabel, timeout, onCopy, variant, size, className, onClick, ...rest }: ClipboardButtonProps): import("react").JSX.Element;
20
+ export default ClipboardButton;