asta-ui 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/dist/ai-chat.d.ts +2 -0
  2. package/dist/ai-chat.js +9 -0
  3. package/dist/alert.d.ts +2 -0
  4. package/dist/alert.js +9 -0
  5. package/dist/announcement-bar.d.ts +2 -0
  6. package/dist/announcement-bar.js +9 -0
  7. package/dist/avatar-group.d.ts +2 -0
  8. package/dist/avatar-group.js +10 -0
  9. package/dist/avatar.js +3 -1
  10. package/dist/base/ai-chat.d.ts +2 -0
  11. package/dist/base/ai-chat.js +9 -0
  12. package/dist/base/alert.d.ts +2 -0
  13. package/dist/base/alert.js +9 -0
  14. package/dist/base/announcement-bar.d.ts +2 -0
  15. package/dist/base/announcement-bar.js +9 -0
  16. package/dist/base/avatar-group.d.ts +2 -0
  17. package/dist/base/avatar-group.js +10 -0
  18. package/dist/base/avatar.js +3 -1
  19. package/dist/base/booking-slots.d.ts +2 -0
  20. package/dist/base/booking-slots.js +7 -0
  21. package/dist/base/breadcrumb.d.ts +2 -0
  22. package/dist/base/breadcrumb.js +9 -0
  23. package/dist/base/carousel.d.ts +2 -0
  24. package/dist/base/carousel.js +9 -0
  25. package/dist/base/chat-thread.d.ts +2 -0
  26. package/dist/base/chat-thread.js +7 -0
  27. package/dist/base/checkout.d.ts +2 -0
  28. package/dist/base/checkout.js +12 -0
  29. package/dist/base/color-picker.d.ts +2 -0
  30. package/dist/base/color-picker.js +9 -0
  31. package/dist/base/combobox.d.ts +2 -0
  32. package/dist/base/combobox.js +9 -0
  33. package/dist/base/comments.d.ts +2 -0
  34. package/dist/base/comments.js +11 -0
  35. package/dist/base/context-menu.d.ts +2 -0
  36. package/dist/base/context-menu.js +9 -0
  37. package/dist/base/copy-button.d.ts +2 -0
  38. package/dist/base/copy-button.js +9 -0
  39. package/dist/base/data-table.d.ts +2 -0
  40. package/dist/base/data-table.js +9 -0
  41. package/dist/base/date-picker.d.ts +2 -0
  42. package/dist/base/date-picker.js +9 -0
  43. package/dist/base/drawer.d.ts +2 -0
  44. package/dist/base/drawer.js +9 -0
  45. package/dist/base/empty-state.d.ts +2 -0
  46. package/dist/base/empty-state.js +10 -0
  47. package/dist/base/event-calendar.d.ts +2 -0
  48. package/dist/base/event-calendar.js +9 -0
  49. package/dist/base/file-upload.d.ts +2 -0
  50. package/dist/base/file-upload.js +11 -0
  51. package/dist/base/hover-card.d.ts +2 -0
  52. package/dist/base/hover-card.js +9 -0
  53. package/dist/base/image-compare.d.ts +2 -0
  54. package/dist/base/image-compare.js +9 -0
  55. package/dist/base/inline-edit.d.ts +2 -0
  56. package/dist/base/inline-edit.js +9 -0
  57. package/dist/base/kanban.d.ts +2 -0
  58. package/dist/base/kanban.js +10 -0
  59. package/dist/base/notification-center.d.ts +2 -0
  60. package/dist/base/notification-center.js +11 -0
  61. package/dist/base/notification-stack.d.ts +2 -0
  62. package/dist/base/notification-stack.js +7 -0
  63. package/dist/base/now-playing.d.ts +2 -0
  64. package/dist/base/now-playing.js +7 -0
  65. package/dist/base/onboarding.d.ts +2 -0
  66. package/dist/base/onboarding.js +10 -0
  67. package/dist/base/otp-input.d.ts +2 -0
  68. package/dist/base/otp-input.js +9 -0
  69. package/dist/base/pagination.d.ts +2 -0
  70. package/dist/base/pagination.js +11 -0
  71. package/dist/base/password-input.d.ts +2 -0
  72. package/dist/base/password-input.js +13 -0
  73. package/dist/base/payment-received.d.ts +2 -0
  74. package/dist/base/payment-received.js +7 -0
  75. package/dist/base/plan-switcher.d.ts +2 -0
  76. package/dist/base/plan-switcher.js +7 -0
  77. package/dist/base/popover.d.ts +2 -0
  78. package/dist/base/popover.js +9 -0
  79. package/dist/base/progress.d.ts +2 -0
  80. package/dist/base/progress.js +11 -0
  81. package/dist/base/range-slider.d.ts +2 -0
  82. package/dist/base/range-slider.js +9 -0
  83. package/dist/base/rating.d.ts +2 -0
  84. package/dist/base/rating.js +9 -0
  85. package/dist/base/seat-picker.d.ts +2 -0
  86. package/dist/base/seat-picker.js +7 -0
  87. package/dist/base/shipment-tracker.d.ts +2 -0
  88. package/dist/base/shipment-tracker.js +7 -0
  89. package/dist/base/sidebar.d.ts +2 -0
  90. package/dist/base/sidebar.js +10 -0
  91. package/dist/base/stat-card.d.ts +2 -0
  92. package/dist/base/stat-card.js +9 -0
  93. package/dist/base/stepper.d.ts +2 -0
  94. package/dist/base/stepper.js +9 -0
  95. package/dist/base/team-members.d.ts +2 -0
  96. package/dist/base/team-members.js +12 -0
  97. package/dist/base/timeline.d.ts +2 -0
  98. package/dist/base/timeline.js +9 -0
  99. package/dist/base/toggle-group.d.ts +2 -0
  100. package/dist/base/toggle-group.js +9 -0
  101. package/dist/base/token-swap.d.ts +2 -0
  102. package/dist/base/token-swap.js +7 -0
  103. package/dist/base/tree-view.d.ts +2 -0
  104. package/dist/base/tree-view.js +9 -0
  105. package/dist/base/wishlist.d.ts +2 -0
  106. package/dist/base/wishlist.js +7 -0
  107. package/dist/base.js +250 -46
  108. package/dist/booking-slots.d.ts +2 -0
  109. package/dist/booking-slots.js +7 -0
  110. package/dist/breadcrumb.d.ts +2 -0
  111. package/dist/breadcrumb.js +9 -0
  112. package/dist/carousel.d.ts +2 -0
  113. package/dist/carousel.js +9 -0
  114. package/dist/chat-thread.d.ts +2 -0
  115. package/dist/chat-thread.js +7 -0
  116. package/dist/checkout.d.ts +2 -0
  117. package/dist/checkout.js +12 -0
  118. package/dist/{chunk-VGBP42IZ.js → chunk-2LZM435Z.js} +3 -2
  119. package/dist/chunk-33N6SZB5.js +186 -0
  120. package/dist/chunk-3KS5EN3Q.js +134 -0
  121. package/dist/chunk-3RMCFFW2.js +228 -0
  122. package/dist/chunk-45VUWOHQ.js +299 -0
  123. package/dist/chunk-4FR6KJOJ.js +91 -0
  124. package/dist/chunk-4GF7WTR3.js +230 -0
  125. package/dist/chunk-4XM6DKEO.js +164 -0
  126. package/dist/chunk-57PESBSZ.js +97 -0
  127. package/dist/chunk-6HPSPZTF.js +232 -0
  128. package/dist/chunk-6VQTFRSP.js +435 -0
  129. package/dist/chunk-72UKXOMW.js +150 -0
  130. package/dist/chunk-7JNO265Q.js +431 -0
  131. package/dist/chunk-AYSC7AIC.js +322 -0
  132. package/dist/chunk-B5F775GP.js +339 -0
  133. package/dist/chunk-B5OESWCR.js +339 -0
  134. package/dist/chunk-BP3LXM3X.js +309 -0
  135. package/dist/chunk-CA7YQ5BJ.js +271 -0
  136. package/dist/chunk-DRX3KRNL.js +191 -0
  137. package/dist/chunk-EAUUUVUR.js +123 -0
  138. package/dist/chunk-EXX6YSUX.js +340 -0
  139. package/dist/chunk-F7LAUVDJ.js +97 -0
  140. package/dist/chunk-FDHU3RWR.js +213 -0
  141. package/dist/chunk-FJGGXXTT.js +109 -0
  142. package/dist/chunk-FKHNK5VC.js +172 -0
  143. package/dist/chunk-FY6BRODJ.js +230 -0
  144. package/dist/chunk-GDTSCUHY.js +234 -0
  145. package/dist/chunk-H7D6G3GQ.js +290 -0
  146. package/dist/chunk-HB7DFNZP.js +109 -0
  147. package/dist/{chunk-H5C7HOQJ.js → chunk-HNO6EUGJ.js} +3 -2
  148. package/dist/chunk-HPVPHWDM.js +197 -0
  149. package/dist/chunk-I5NZSWDW.js +431 -0
  150. package/dist/chunk-IMBCYI3F.js +114 -0
  151. package/dist/chunk-IS2VTYDA.js +235 -0
  152. package/dist/chunk-ISZ7O2Q6.js +245 -0
  153. package/dist/chunk-JAQKJBVJ.js +170 -0
  154. package/dist/chunk-KYFZ5TTK.js +271 -0
  155. package/dist/chunk-LBXIMJFU.js +170 -0
  156. package/dist/chunk-MSBN2O66.js +110 -0
  157. package/dist/chunk-NB7X26PY.js +388 -0
  158. package/dist/chunk-NIYIT2QU.js +118 -0
  159. package/dist/chunk-QJXPS55V.js +246 -0
  160. package/dist/chunk-RBTX7TVA.js +170 -0
  161. package/dist/chunk-RFVKRVTD.js +172 -0
  162. package/dist/chunk-RIWKIBEP.js +271 -0
  163. package/dist/chunk-RSUZHZCG.js +230 -0
  164. package/dist/chunk-S2DJLW6B.js +322 -0
  165. package/dist/chunk-SDL3JXFN.js +97 -0
  166. package/dist/chunk-SDOWCCM2.js +271 -0
  167. package/dist/chunk-SPKSRH6G.js +283 -0
  168. package/dist/chunk-TLODJONC.js +120 -0
  169. package/dist/chunk-TXRLBMFL.js +191 -0
  170. package/dist/chunk-UWQ26LYZ.js +133 -0
  171. package/dist/chunk-V3SPSN3A.js +308 -0
  172. package/dist/chunk-W57O4RLL.js +435 -0
  173. package/dist/chunk-WO36QUH3.js +188 -0
  174. package/dist/chunk-YLAL6ICI.js +142 -0
  175. package/dist/chunk-ZGMBQZDV.js +250 -0
  176. package/dist/chunk-ZKMEKSJZ.js +133 -0
  177. package/dist/color-picker.d.ts +2 -0
  178. package/dist/color-picker.js +9 -0
  179. package/dist/combobox.d.ts +2 -0
  180. package/dist/combobox.js +9 -0
  181. package/dist/comments.d.ts +2 -0
  182. package/dist/comments.js +11 -0
  183. package/dist/context-menu.d.ts +2 -0
  184. package/dist/context-menu.js +9 -0
  185. package/dist/copy-button.d.ts +2 -0
  186. package/dist/copy-button.js +9 -0
  187. package/dist/data-table.d.ts +2 -0
  188. package/dist/data-table.js +9 -0
  189. package/dist/date-picker.d.ts +2 -0
  190. package/dist/date-picker.js +9 -0
  191. package/dist/drawer.d.ts +2 -0
  192. package/dist/drawer.js +9 -0
  193. package/dist/empty-state.d.ts +2 -0
  194. package/dist/empty-state.js +10 -0
  195. package/dist/event-calendar.d.ts +2 -0
  196. package/dist/event-calendar.js +9 -0
  197. package/dist/file-upload.d.ts +2 -0
  198. package/dist/file-upload.js +11 -0
  199. package/dist/hover-card.d.ts +2 -0
  200. package/dist/hover-card.js +9 -0
  201. package/dist/image-compare.d.ts +2 -0
  202. package/dist/image-compare.js +9 -0
  203. package/dist/index.js +250 -46
  204. package/dist/inline-edit.d.ts +2 -0
  205. package/dist/inline-edit.js +9 -0
  206. package/dist/kanban.d.ts +2 -0
  207. package/dist/kanban.js +10 -0
  208. package/dist/notification-center.d.ts +2 -0
  209. package/dist/notification-center.js +11 -0
  210. package/dist/notification-stack.d.ts +2 -0
  211. package/dist/notification-stack.js +7 -0
  212. package/dist/now-playing.d.ts +2 -0
  213. package/dist/now-playing.js +7 -0
  214. package/dist/onboarding.d.ts +2 -0
  215. package/dist/onboarding.js +10 -0
  216. package/dist/otp-input.d.ts +2 -0
  217. package/dist/otp-input.js +9 -0
  218. package/dist/pagination.d.ts +2 -0
  219. package/dist/pagination.js +11 -0
  220. package/dist/password-input.d.ts +2 -0
  221. package/dist/password-input.js +13 -0
  222. package/dist/payment-received.d.ts +2 -0
  223. package/dist/payment-received.js +7 -0
  224. package/dist/plan-switcher.d.ts +2 -0
  225. package/dist/plan-switcher.js +7 -0
  226. package/dist/popover.d.ts +2 -0
  227. package/dist/popover.js +9 -0
  228. package/dist/progress.d.ts +2 -0
  229. package/dist/progress.js +11 -0
  230. package/dist/range-slider.d.ts +2 -0
  231. package/dist/range-slider.js +9 -0
  232. package/dist/rating.d.ts +2 -0
  233. package/dist/rating.js +9 -0
  234. package/dist/seat-picker.d.ts +2 -0
  235. package/dist/seat-picker.js +7 -0
  236. package/dist/shipment-tracker.d.ts +2 -0
  237. package/dist/shipment-tracker.js +7 -0
  238. package/dist/sidebar.d.ts +2 -0
  239. package/dist/sidebar.js +10 -0
  240. package/dist/stat-card.d.ts +2 -0
  241. package/dist/stat-card.js +9 -0
  242. package/dist/stepper.d.ts +2 -0
  243. package/dist/stepper.js +9 -0
  244. package/dist/team-members.d.ts +2 -0
  245. package/dist/team-members.js +12 -0
  246. package/dist/timeline.d.ts +2 -0
  247. package/dist/timeline.js +9 -0
  248. package/dist/toggle-group.d.ts +2 -0
  249. package/dist/toggle-group.js +9 -0
  250. package/dist/token-swap.d.ts +2 -0
  251. package/dist/token-swap.js +7 -0
  252. package/dist/tree-view.d.ts +2 -0
  253. package/dist/tree-view.js +9 -0
  254. package/dist/types/components/kit/ai-chat.d.ts +37 -0
  255. package/dist/types/components/kit/alert.d.ts +27 -0
  256. package/dist/types/components/kit/announcement-bar.d.ts +36 -0
  257. package/dist/types/components/kit/avatar-group.d.ts +22 -0
  258. package/dist/types/components/kit/avatar.d.ts +2 -0
  259. package/dist/types/components/kit/base/avatar-group.d.ts +22 -0
  260. package/dist/types/components/kit/base/avatar.d.ts +2 -0
  261. package/dist/types/components/kit/base/checkout.d.ts +68 -0
  262. package/dist/types/components/kit/base/comments.d.ts +30 -0
  263. package/dist/types/components/kit/base/empty-state.d.ts +29 -0
  264. package/dist/types/components/kit/base/kanban.d.ts +26 -0
  265. package/dist/types/components/kit/base/notification-center.d.ts +34 -0
  266. package/dist/types/components/kit/base/onboarding.d.ts +28 -0
  267. package/dist/types/components/kit/base/sidebar.d.ts +43 -0
  268. package/dist/types/components/kit/base/team-members.d.ts +46 -0
  269. package/dist/types/components/kit/breadcrumb.d.ts +29 -0
  270. package/dist/types/components/kit/carousel.d.ts +21 -0
  271. package/dist/types/components/kit/checkout.d.ts +68 -0
  272. package/dist/types/components/kit/color-picker.d.ts +28 -0
  273. package/dist/types/components/kit/combobox.d.ts +40 -0
  274. package/dist/types/components/kit/comments.d.ts +30 -0
  275. package/dist/types/components/kit/context-menu.d.ts +37 -0
  276. package/dist/types/components/kit/copy-button.d.ts +20 -0
  277. package/dist/types/components/kit/data-table.d.ts +47 -0
  278. package/dist/types/components/kit/date-picker.d.ts +40 -0
  279. package/dist/types/components/kit/drawer.d.ts +26 -0
  280. package/dist/types/components/kit/empty-state.d.ts +29 -0
  281. package/dist/types/components/kit/event-calendar.d.ts +34 -0
  282. package/dist/types/components/kit/file-upload.d.ts +37 -0
  283. package/dist/types/components/kit/hover-card.d.ts +31 -0
  284. package/dist/types/components/kit/image-compare.d.ts +29 -0
  285. package/dist/types/components/kit/inline-edit.d.ts +26 -0
  286. package/dist/types/components/kit/kanban.d.ts +26 -0
  287. package/dist/types/components/kit/notification-center.d.ts +34 -0
  288. package/dist/types/components/kit/onboarding.d.ts +28 -0
  289. package/dist/types/components/kit/otp-input.d.ts +28 -0
  290. package/dist/types/components/kit/pagination.d.ts +25 -0
  291. package/dist/types/components/kit/password-input.d.ts +32 -0
  292. package/dist/types/components/kit/popover.d.ts +40 -0
  293. package/dist/types/components/kit/progress.d.ts +37 -0
  294. package/dist/types/components/kit/range-slider.d.ts +27 -0
  295. package/dist/types/components/kit/rating.d.ts +23 -0
  296. package/dist/types/components/kit/sidebar.d.ts +43 -0
  297. package/dist/types/components/kit/stat-card.d.ts +24 -0
  298. package/dist/types/components/kit/stepper.d.ts +36 -0
  299. package/dist/types/components/kit/team-members.d.ts +46 -0
  300. package/dist/types/components/kit/timeline.d.ts +24 -0
  301. package/dist/types/components/kit/toggle-group.d.ts +42 -0
  302. package/dist/types/components/kit/tree-view.d.ts +31 -0
  303. package/dist/types/components/lab/blocks/BookingSlots.d.ts +2 -0
  304. package/dist/types/components/lab/blocks/ChatThread.d.ts +2 -0
  305. package/dist/types/components/lab/blocks/NotificationStack.d.ts +2 -0
  306. package/dist/types/components/lab/blocks/NowPlaying.d.ts +2 -0
  307. package/dist/types/components/lab/blocks/PaymentReceived.d.ts +2 -0
  308. package/dist/types/components/lab/blocks/PlanSwitcher.d.ts +2 -0
  309. package/dist/types/components/lab/blocks/SeatPicker.d.ts +2 -0
  310. package/dist/types/components/lab/blocks/ShipmentTracker.d.ts +2 -0
  311. package/dist/types/components/lab/blocks/TokenSwap.d.ts +2 -0
  312. package/dist/types/components/lab/blocks/Wishlist.d.ts +2 -0
  313. package/dist/types/packages/asta-ui/src/ai-chat.d.ts +2 -0
  314. package/dist/types/packages/asta-ui/src/alert.d.ts +2 -0
  315. package/dist/types/packages/asta-ui/src/announcement-bar.d.ts +2 -0
  316. package/dist/types/packages/asta-ui/src/avatar-group.d.ts +2 -0
  317. package/dist/types/packages/asta-ui/src/base/ai-chat.d.ts +2 -0
  318. package/dist/types/packages/asta-ui/src/base/alert.d.ts +2 -0
  319. package/dist/types/packages/asta-ui/src/base/announcement-bar.d.ts +2 -0
  320. package/dist/types/packages/asta-ui/src/base/avatar-group.d.ts +2 -0
  321. package/dist/types/packages/asta-ui/src/base/booking-slots.d.ts +2 -0
  322. package/dist/types/packages/asta-ui/src/base/breadcrumb.d.ts +2 -0
  323. package/dist/types/packages/asta-ui/src/base/carousel.d.ts +2 -0
  324. package/dist/types/packages/asta-ui/src/base/chat-thread.d.ts +2 -0
  325. package/dist/types/packages/asta-ui/src/base/checkout.d.ts +2 -0
  326. package/dist/types/packages/asta-ui/src/base/color-picker.d.ts +2 -0
  327. package/dist/types/packages/asta-ui/src/base/combobox.d.ts +2 -0
  328. package/dist/types/packages/asta-ui/src/base/comments.d.ts +2 -0
  329. package/dist/types/packages/asta-ui/src/base/context-menu.d.ts +2 -0
  330. package/dist/types/packages/asta-ui/src/base/copy-button.d.ts +2 -0
  331. package/dist/types/packages/asta-ui/src/base/data-table.d.ts +2 -0
  332. package/dist/types/packages/asta-ui/src/base/date-picker.d.ts +2 -0
  333. package/dist/types/packages/asta-ui/src/base/drawer.d.ts +2 -0
  334. package/dist/types/packages/asta-ui/src/base/empty-state.d.ts +2 -0
  335. package/dist/types/packages/asta-ui/src/base/event-calendar.d.ts +2 -0
  336. package/dist/types/packages/asta-ui/src/base/file-upload.d.ts +2 -0
  337. package/dist/types/packages/asta-ui/src/base/hover-card.d.ts +2 -0
  338. package/dist/types/packages/asta-ui/src/base/image-compare.d.ts +2 -0
  339. package/dist/types/packages/asta-ui/src/base/inline-edit.d.ts +2 -0
  340. package/dist/types/packages/asta-ui/src/base/kanban.d.ts +2 -0
  341. package/dist/types/packages/asta-ui/src/base/notification-center.d.ts +2 -0
  342. package/dist/types/packages/asta-ui/src/base/notification-stack.d.ts +2 -0
  343. package/dist/types/packages/asta-ui/src/base/now-playing.d.ts +2 -0
  344. package/dist/types/packages/asta-ui/src/base/onboarding.d.ts +2 -0
  345. package/dist/types/packages/asta-ui/src/base/otp-input.d.ts +2 -0
  346. package/dist/types/packages/asta-ui/src/base/pagination.d.ts +2 -0
  347. package/dist/types/packages/asta-ui/src/base/password-input.d.ts +2 -0
  348. package/dist/types/packages/asta-ui/src/base/payment-received.d.ts +2 -0
  349. package/dist/types/packages/asta-ui/src/base/plan-switcher.d.ts +2 -0
  350. package/dist/types/packages/asta-ui/src/base/popover.d.ts +2 -0
  351. package/dist/types/packages/asta-ui/src/base/progress.d.ts +2 -0
  352. package/dist/types/packages/asta-ui/src/base/range-slider.d.ts +2 -0
  353. package/dist/types/packages/asta-ui/src/base/rating.d.ts +2 -0
  354. package/dist/types/packages/asta-ui/src/base/seat-picker.d.ts +2 -0
  355. package/dist/types/packages/asta-ui/src/base/shipment-tracker.d.ts +2 -0
  356. package/dist/types/packages/asta-ui/src/base/sidebar.d.ts +2 -0
  357. package/dist/types/packages/asta-ui/src/base/stat-card.d.ts +2 -0
  358. package/dist/types/packages/asta-ui/src/base/stepper.d.ts +2 -0
  359. package/dist/types/packages/asta-ui/src/base/team-members.d.ts +2 -0
  360. package/dist/types/packages/asta-ui/src/base/timeline.d.ts +2 -0
  361. package/dist/types/packages/asta-ui/src/base/toggle-group.d.ts +2 -0
  362. package/dist/types/packages/asta-ui/src/base/token-swap.d.ts +2 -0
  363. package/dist/types/packages/asta-ui/src/base/tree-view.d.ts +2 -0
  364. package/dist/types/packages/asta-ui/src/base/wishlist.d.ts +2 -0
  365. package/dist/types/packages/asta-ui/src/base.d.ts +87 -1
  366. package/dist/types/packages/asta-ui/src/booking-slots.d.ts +2 -0
  367. package/dist/types/packages/asta-ui/src/breadcrumb.d.ts +2 -0
  368. package/dist/types/packages/asta-ui/src/carousel.d.ts +2 -0
  369. package/dist/types/packages/asta-ui/src/chat-thread.d.ts +2 -0
  370. package/dist/types/packages/asta-ui/src/checkout.d.ts +2 -0
  371. package/dist/types/packages/asta-ui/src/color-picker.d.ts +2 -0
  372. package/dist/types/packages/asta-ui/src/combobox.d.ts +2 -0
  373. package/dist/types/packages/asta-ui/src/comments.d.ts +2 -0
  374. package/dist/types/packages/asta-ui/src/context-menu.d.ts +2 -0
  375. package/dist/types/packages/asta-ui/src/copy-button.d.ts +2 -0
  376. package/dist/types/packages/asta-ui/src/data-table.d.ts +2 -0
  377. package/dist/types/packages/asta-ui/src/date-picker.d.ts +2 -0
  378. package/dist/types/packages/asta-ui/src/drawer.d.ts +2 -0
  379. package/dist/types/packages/asta-ui/src/empty-state.d.ts +2 -0
  380. package/dist/types/packages/asta-ui/src/event-calendar.d.ts +2 -0
  381. package/dist/types/packages/asta-ui/src/file-upload.d.ts +2 -0
  382. package/dist/types/packages/asta-ui/src/hover-card.d.ts +2 -0
  383. package/dist/types/packages/asta-ui/src/image-compare.d.ts +2 -0
  384. package/dist/types/packages/asta-ui/src/index.d.ts +87 -1
  385. package/dist/types/packages/asta-ui/src/inline-edit.d.ts +2 -0
  386. package/dist/types/packages/asta-ui/src/kanban.d.ts +2 -0
  387. package/dist/types/packages/asta-ui/src/notification-center.d.ts +2 -0
  388. package/dist/types/packages/asta-ui/src/notification-stack.d.ts +2 -0
  389. package/dist/types/packages/asta-ui/src/now-playing.d.ts +2 -0
  390. package/dist/types/packages/asta-ui/src/onboarding.d.ts +2 -0
  391. package/dist/types/packages/asta-ui/src/otp-input.d.ts +2 -0
  392. package/dist/types/packages/asta-ui/src/pagination.d.ts +2 -0
  393. package/dist/types/packages/asta-ui/src/password-input.d.ts +2 -0
  394. package/dist/types/packages/asta-ui/src/payment-received.d.ts +2 -0
  395. package/dist/types/packages/asta-ui/src/plan-switcher.d.ts +2 -0
  396. package/dist/types/packages/asta-ui/src/popover.d.ts +2 -0
  397. package/dist/types/packages/asta-ui/src/progress.d.ts +2 -0
  398. package/dist/types/packages/asta-ui/src/range-slider.d.ts +2 -0
  399. package/dist/types/packages/asta-ui/src/rating.d.ts +2 -0
  400. package/dist/types/packages/asta-ui/src/seat-picker.d.ts +2 -0
  401. package/dist/types/packages/asta-ui/src/shipment-tracker.d.ts +2 -0
  402. package/dist/types/packages/asta-ui/src/sidebar.d.ts +2 -0
  403. package/dist/types/packages/asta-ui/src/stat-card.d.ts +2 -0
  404. package/dist/types/packages/asta-ui/src/stepper.d.ts +2 -0
  405. package/dist/types/packages/asta-ui/src/team-members.d.ts +2 -0
  406. package/dist/types/packages/asta-ui/src/timeline.d.ts +2 -0
  407. package/dist/types/packages/asta-ui/src/toggle-group.d.ts +2 -0
  408. package/dist/types/packages/asta-ui/src/token-swap.d.ts +2 -0
  409. package/dist/types/packages/asta-ui/src/tree-view.d.ts +2 -0
  410. package/dist/types/packages/asta-ui/src/wishlist.d.ts +2 -0
  411. package/dist/wishlist.d.ts +2 -0
  412. package/dist/wishlist.js +7 -0
  413. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ export interface InlineEditProps {
2
+ value?: string;
3
+ defaultValue?: string;
4
+ /** Called with the new text. Return a promise to show a saving state. If it rejects, editing stays open. */
5
+ onSave?: (value: string) => void | Promise<void>;
6
+ /** Called when an edit is dropped with Esc. */
7
+ onCancel?: () => void;
8
+ /** Shown when the value is empty. */
9
+ placeholder?: string;
10
+ /** Accessible name, e.g. "Project name". */
11
+ label: string;
12
+ /** Empty text can't be saved. Esc or blur puts the old text back. */
13
+ required?: boolean;
14
+ maxLength?: number;
15
+ /** Save when focus leaves the field. Off means blur cancels. */
16
+ saveOnBlur?: boolean;
17
+ size?: "sm" | "md" | "lg";
18
+ disabled?: boolean;
19
+ className?: string;
20
+ }
21
+ /**
22
+ * Text that turns into a field when you click it or press Enter. Enter saves, Esc puts the old text back,
23
+ * and a small tick fades in beside the text once it's saved. Async saves keep the field open until they land.
24
+ */
25
+ export declare function InlineEdit({ value, defaultValue, onSave, onCancel, placeholder, label, required, maxLength, saveOnBlur, size, disabled, className }: InlineEditProps): import("react").JSX.Element;
26
+ export default InlineEdit;
@@ -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,28 @@
1
+ export interface OtpInputProps {
2
+ /** Number of boxes. */
3
+ length?: number;
4
+ value?: string;
5
+ defaultValue?: string;
6
+ onChange?: (value: string) => void;
7
+ /** Called once every box is filled. */
8
+ onComplete?: (code: string) => void;
9
+ /** Accept digits only (default). Off allows letters too, upper-cased. */
10
+ digitsOnly?: boolean;
11
+ /** Mark the code as wrong. The boxes shake each time this turns true. */
12
+ error?: boolean;
13
+ disabled?: boolean;
14
+ autoFocus?: boolean;
15
+ /** Put a small dash after every N boxes, e.g. 3 for "123–456". */
16
+ groupSize?: number;
17
+ /** Accessible name. */
18
+ label?: string;
19
+ name?: string;
20
+ className?: string;
21
+ }
22
+ /**
23
+ * A one-time code input. One real input sits over the boxes, so typing, Backspace, paste and the phone's
24
+ * SMS autofill all just work. Digits drop in, the active box blinks a caret, a full code makes the boxes
25
+ * wave, and `error` shakes them once.
26
+ */
27
+ export declare function OtpInput({ length, value, defaultValue, onChange, onComplete, digitsOnly, error, disabled, autoFocus, groupSize, label, name, className, }: OtpInputProps): import("react").JSX.Element;
28
+ export default OtpInput;
@@ -0,0 +1,25 @@
1
+ export interface PaginationProps {
2
+ /** Total number of pages. */
3
+ count: number;
4
+ /** Current page, 1-based. */
5
+ page?: number;
6
+ defaultPage?: number;
7
+ onPageChange?: (page: number) => void;
8
+ /** Pages shown on each side of the current one. */
9
+ siblings?: number;
10
+ /** Pages always shown at the start and end. */
11
+ boundaries?: number;
12
+ size?: "sm" | "md";
13
+ /** Accessible name, e.g. "Orders pages". */
14
+ label?: string;
15
+ className?: string;
16
+ }
17
+ type Slot = number | "start-gap" | "end-gap";
18
+ /** The page numbers to show, with gaps where pages are skipped. A gap never hides just one page. */
19
+ export declare function pageRange(page: number, count: number, siblings?: number, boundaries?: number): Slot[];
20
+ /**
21
+ * Page numbers with previous and next. Skipped pages collapse into an ellipsis, and the active marker slides
22
+ * from the old page to the new one. Arrow keys move a page while focus is inside.
23
+ */
24
+ export declare function Pagination({ count, page, defaultPage, onPageChange, siblings, boundaries, size, label, className }: PaginationProps): import("react").JSX.Element;
25
+ export default Pagination;
@@ -0,0 +1,32 @@
1
+ import { type InputHTMLAttributes } from "react";
2
+ export interface PasswordRule {
3
+ label: string;
4
+ test: (value: string) => boolean;
5
+ }
6
+ export declare const DEFAULT_PASSWORD_RULES: PasswordRule[];
7
+ /** How many rules a password passes, and the matching word. */
8
+ export declare function passwordStrength(value: string, rules?: PasswordRule[]): {
9
+ score: number;
10
+ max: number;
11
+ passed: boolean[];
12
+ word: string;
13
+ strong: boolean;
14
+ };
15
+ export interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "defaultValue" | "onChange" | "size"> {
16
+ value?: string;
17
+ defaultValue?: string;
18
+ onChange?: (value: string, strength: ReturnType<typeof passwordStrength>) => void;
19
+ label?: string;
20
+ rules?: PasswordRule[];
21
+ /** Show the segmented strength meter. */
22
+ meter?: boolean;
23
+ /** Show the rule checklist under the meter. */
24
+ checklist?: boolean;
25
+ className?: string;
26
+ }
27
+ /**
28
+ * A new-password field. The eye morphs when you reveal the text, the meter segments fill as more rules pass
29
+ * (they turn blue once every rule passes) and each rule ticks itself off. Rules are plain `{ label, test }`.
30
+ */
31
+ export declare function PasswordField({ value, defaultValue, onChange, label, rules, meter, checklist, className, id, autoComplete, ...rest }: PasswordFieldProps): import("react").JSX.Element;
32
+ export default PasswordField;
@@ -0,0 +1,40 @@
1
+ import { type MouseEvent, type ReactElement, type ReactNode } from "react";
2
+ export type PopoverSide = "top" | "right" | "bottom" | "left";
3
+ export type PopoverAlign = "start" | "center" | "end";
4
+ /** Props to spread on your own trigger when you pass `trigger` as a function. */
5
+ export interface PopoverTriggerProps {
6
+ ref: (el: HTMLElement | null) => void;
7
+ onClick: (e: MouseEvent<HTMLElement>) => void;
8
+ "aria-haspopup": "dialog";
9
+ "aria-expanded": boolean;
10
+ "aria-controls": string | undefined;
11
+ "data-state": "open" | "closed";
12
+ }
13
+ export interface PopoverProps {
14
+ /** A focusable element (it gets the props merged in), or a function that receives the props to spread. */
15
+ trigger: ReactElement | ((props: PopoverTriggerProps, open: boolean) => ReactNode);
16
+ /** Panel content, or a function that gets `close`. */
17
+ children: ReactNode | ((api: {
18
+ close: () => void;
19
+ }) => ReactNode);
20
+ open?: boolean;
21
+ defaultOpen?: boolean;
22
+ onOpenChange?: (open: boolean) => void;
23
+ side?: PopoverSide;
24
+ align?: PopoverAlign;
25
+ /** Gap between trigger and panel, in px. */
26
+ offset?: number;
27
+ /** Draw a small arrow pointing at the trigger. */
28
+ arrow?: boolean;
29
+ /** Accessible name for the panel. */
30
+ label?: string;
31
+ /** Extra classes for the panel (padding, width). */
32
+ className?: string;
33
+ }
34
+ /**
35
+ * A click-to-open panel anchored to its trigger. Pick a side and an alignment; it flips when there is no
36
+ * room and slides to stay on screen. It grows out of the trigger, closes on an outside click, Escape or
37
+ * when focus leaves, and hands focus back to the trigger.
38
+ */
39
+ export declare function Popover({ trigger, children, open, defaultOpen, onOpenChange, side, align, offset, arrow, label, className }: PopoverProps): import("react").JSX.Element;
40
+ export default Popover;
@@ -0,0 +1,37 @@
1
+ import type { ReactNode } from "react";
2
+ interface Shared {
3
+ /** Current amount. Leave it out for an indeterminate state. */
4
+ value?: number;
5
+ max?: number;
6
+ /** Accessible name, also shown above the bar. */
7
+ label?: string;
8
+ /** Show the percentage. */
9
+ showValue?: boolean;
10
+ /** Custom text for the value, e.g. "3 of 8 files". */
11
+ valueText?: string;
12
+ className?: string;
13
+ }
14
+ export interface ProgressBarProps extends Shared {
15
+ size?: "sm" | "md";
16
+ /** Keep the label visually hidden (it stays for screen readers). */
17
+ hideLabel?: boolean;
18
+ }
19
+ /**
20
+ * A linear progress bar. The fill eases to each new value. Without `value` a short segment sweeps
21
+ * across the track, and with reduced motion it breathes in place instead.
22
+ */
23
+ export declare function ProgressBar({ value, max, label, showValue, valueText, size, hideLabel, className }: ProgressBarProps): import("react").JSX.Element;
24
+ export interface ProgressRingProps extends Shared {
25
+ /** Diameter in px. */
26
+ size?: number;
27
+ /** Ring thickness in px. */
28
+ thickness?: number;
29
+ /** Shown in the middle. Defaults to the percentage when `showValue` is on. */
30
+ children?: ReactNode;
31
+ }
32
+ /**
33
+ * A circular progress ring. The arc eases to each new value. Without `value` a quarter arc spins,
34
+ * and with reduced motion it breathes in place instead.
35
+ */
36
+ export declare function ProgressRing({ value, max, label, showValue, valueText, size, thickness, children, className }: ProgressRingProps): import("react").JSX.Element;
37
+ export default ProgressBar;
@@ -0,0 +1,27 @@
1
+ export type RangeSliderValue = [number, number];
2
+ export interface RangeSliderProps {
3
+ value?: RangeSliderValue;
4
+ defaultValue?: RangeSliderValue;
5
+ onValueChange?: (value: RangeSliderValue) => void;
6
+ /** Fires once when the user lets go (pointer up or a key press). */
7
+ onValueCommit?: (value: RangeSliderValue) => void;
8
+ min?: number;
9
+ max?: number;
10
+ step?: number;
11
+ /** The smallest distance the two thumbs keep between them. */
12
+ minGap?: number;
13
+ /** Format the bubbles and the value read to screen readers. */
14
+ format?: (v: number) => string;
15
+ disabled?: boolean;
16
+ /** Form field names for the low and high values. */
17
+ names?: [string, string];
18
+ /** Accessible names for the two thumbs. */
19
+ labels?: [string, string];
20
+ className?: string;
21
+ }
22
+ /**
23
+ * Two thumbs on one track for picking a range. The thumbs never cross and keep `minGap` apart. A value bubble
24
+ * rises over the thumb you drag, hover or focus. Clicks and keys glide, drags follow the pointer exactly.
25
+ */
26
+ export declare function RangeSlider({ value, defaultValue, onValueChange, onValueCommit, min, max, step, minGap, format, disabled, names, labels, className, }: RangeSliderProps): import("react").JSX.Element;
27
+ export default RangeSlider;
@@ -0,0 +1,23 @@
1
+ export interface RatingProps {
2
+ value?: number;
3
+ defaultValue?: number;
4
+ onChange?: (value: number) => void;
5
+ /** Number of stars. */
6
+ max?: number;
7
+ /** Allow half stars (3.5). */
8
+ allowHalf?: boolean;
9
+ /** Clicking the current value again clears it to 0. */
10
+ allowClear?: boolean;
11
+ /** Show the value without letting anyone change it. */
12
+ readOnly?: boolean;
13
+ size?: "sm" | "md";
14
+ /** Accessible name, e.g. "Rate this course". */
15
+ label?: string;
16
+ className?: string;
17
+ }
18
+ /**
19
+ * A star rating. Hover to preview, click to set, and with `allowHalf` the left half of a star sets a half.
20
+ * The filled stars pop one after another when the value changes. Arrow keys step, Home/End jump, digits set.
21
+ */
22
+ export declare function Rating({ value, defaultValue, onChange, max, allowHalf, allowClear, readOnly, size, label, className }: RatingProps): import("react").JSX.Element;
23
+ export default Rating;
@@ -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,24 @@
1
+ export interface StatCardProps {
2
+ label: string;
3
+ value: number;
4
+ /** Number format, e.g. `{ style: "currency", currency: "USD", maximumFractionDigits: 0 }`. */
5
+ format?: Intl.NumberFormatOptions;
6
+ locale?: string;
7
+ prefix?: string;
8
+ suffix?: string;
9
+ /** Change in percent. Up is blue, down stays neutral. */
10
+ delta?: number;
11
+ /** What the delta compares against, e.g. "vs last week". */
12
+ deltaLabel?: string;
13
+ /** Points for the sparkline, oldest first. */
14
+ data?: number[];
15
+ /** Count-up length in ms. */
16
+ duration?: number;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * A KPI tile: a label, a value that counts up when the card scrolls into view (and from the old value to the
21
+ * new one when it changes), a delta and a tiny sparkline that draws itself in. Up reads blue, down stays neutral.
22
+ */
23
+ export declare function StatCard({ label, value, format, locale, prefix, suffix, delta, deltaLabel, data, duration, className }: StatCardProps): import("react").JSX.Element;
24
+ export default StatCard;
@@ -0,0 +1,36 @@
1
+ import { type ReactNode } from "react";
2
+ export interface StepItem {
3
+ title: string;
4
+ description?: string;
5
+ content?: ReactNode;
6
+ }
7
+ export interface StepperControls {
8
+ step: number;
9
+ next: () => void;
10
+ back: () => void;
11
+ goTo: (step: number) => void;
12
+ isFirst: boolean;
13
+ isLast: boolean;
14
+ /** True once `step` has moved past the last step. */
15
+ isComplete: boolean;
16
+ }
17
+ export interface StepperProps {
18
+ steps: StepItem[];
19
+ /** Current step, 0-based. `steps.length` means every step is done. */
20
+ step?: number;
21
+ defaultStep?: number;
22
+ onStepChange?: (step: number) => void;
23
+ /** Lets people click a finished step to go back to it. */
24
+ clickable?: boolean;
25
+ /** Shown in place of step content once every step is done. */
26
+ complete?: ReactNode;
27
+ /** Rendered under the content, e.g. Back / Next buttons. A function gets the controls. */
28
+ children?: ReactNode | ((controls: StepperControls) => ReactNode);
29
+ className?: string;
30
+ }
31
+ /**
32
+ * A step header plus the step's content. Finished steps turn into a check that draws itself in, the line
33
+ * between steps fills with blue, and the content slides in from the side you're heading.
34
+ */
35
+ export declare function Stepper({ steps, step, defaultStep, onStepChange, clickable, complete, children, className }: StepperProps): import("react").JSX.Element;
36
+ export default Stepper;
@@ -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,24 @@
1
+ import { type ReactNode } from "react";
2
+ export type TimelineState = "done" | "active" | "pending";
3
+ export interface TimelineItem {
4
+ title: ReactNode;
5
+ description?: ReactNode;
6
+ /** A short time label, e.g. "09:41" or "Mon 12". */
7
+ time?: ReactNode;
8
+ /** Default `done`. `active` gets a soft blue pulse, `pending` a hollow dot and muted text. */
9
+ state?: TimelineState;
10
+ }
11
+ export interface TimelineProps {
12
+ items: TimelineItem[];
13
+ /** Reveal the items one after another when the list scrolls into view. */
14
+ animate?: boolean;
15
+ /** Accessible name for the list. */
16
+ label?: string;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * A vertical list of events with dots on a connector line. Items rise in one after another when the list
21
+ * scrolls into view, the line between finished steps draws down, and the active step pulses softly.
22
+ */
23
+ export declare function Timeline({ items, animate, label, className }: TimelineProps): import("react").JSX.Element;
24
+ export default Timeline;
@@ -0,0 +1,42 @@
1
+ import { type ReactNode } from "react";
2
+ export interface ToggleGroupOption {
3
+ value: string;
4
+ label?: ReactNode;
5
+ icon?: ReactNode;
6
+ disabled?: boolean;
7
+ /** Accessible name, needed when the option is icon-only. */
8
+ "aria-label"?: string;
9
+ }
10
+ interface ToggleGroupBase {
11
+ options: ToggleGroupOption[];
12
+ size?: "sm" | "md";
13
+ /** Stretch to the parent's width, options sharing it evenly. */
14
+ full?: boolean;
15
+ disabled?: boolean;
16
+ /** Accessible name for the group, e.g. "Text alignment". */
17
+ label?: string;
18
+ className?: string;
19
+ }
20
+ export interface ToggleGroupSingleProps extends ToggleGroupBase {
21
+ type?: "single";
22
+ /** The pressed option. An empty string means none. */
23
+ value?: string;
24
+ defaultValue?: string;
25
+ onValueChange?: (value: string) => void;
26
+ /** Pressing the active option again clears it. */
27
+ allowEmpty?: boolean;
28
+ }
29
+ export interface ToggleGroupMultipleProps extends ToggleGroupBase {
30
+ type: "multiple";
31
+ value?: string[];
32
+ defaultValue?: string[];
33
+ onValueChange?: (value: string[]) => void;
34
+ }
35
+ export type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
36
+ /**
37
+ * A row of toggle buttons. In single mode one stays pressed and its background slides over from the last
38
+ * one. In multiple mode each pressed button fills on its own. Arrow keys move focus (and select, in single mode),
39
+ * Space or Enter presses.
40
+ */
41
+ export declare function ToggleGroup(props: ToggleGroupProps): import("react").JSX.Element;
42
+ export default ToggleGroup;
@@ -0,0 +1,31 @@
1
+ import { type ReactNode } from "react";
2
+ export interface TreeViewNode {
3
+ id: string;
4
+ label: string;
5
+ /** Replaces the default folder or file icon. */
6
+ icon?: ReactNode;
7
+ /** Muted text on the right, e.g. a size or a count. */
8
+ meta?: string;
9
+ /** Present (even empty) = a folder. */
10
+ children?: TreeViewNode[];
11
+ disabled?: boolean;
12
+ }
13
+ export interface TreeViewProps {
14
+ nodes: TreeViewNode[];
15
+ selected?: string | null;
16
+ defaultSelected?: string | null;
17
+ onSelect?: (id: string, node: TreeViewNode) => void;
18
+ expanded?: string[];
19
+ defaultExpanded?: string[];
20
+ onExpandedChange?: (ids: string[]) => void;
21
+ /** Accessible name for the tree. */
22
+ label?: string;
23
+ className?: string;
24
+ }
25
+ /**
26
+ * Nested folders and files. Click a row to select it, or a folder to open it too. The chevron turns and the
27
+ * children fade in below. Full WAI-ARIA tree keys: Up/Down, Right to open or step in, Left to close or step
28
+ * out, Home/End, `*` to open siblings, Enter/Space to select, and type-ahead on labels.
29
+ */
30
+ export declare function TreeView({ nodes, selected, defaultSelected, onSelect, expanded, defaultExpanded, onExpandedChange, label, className }: TreeViewProps): import("react").JSX.Element;
31
+ export default TreeView;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: pick a day and its times stagger in, pick a time and Confirm slides up, confirm and it turns into a booking. */
2
+ export default function BookingSlots(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: dots turn into a reply, your message lifts out of the composer and the receipt ticks to Read. */
2
+ export default function ChatThread(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: notifications land on top of a soft stack. Hover fans it out, swipe or X dismisses and the rest settle up. */
2
+ export default function NotificationStack(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: the equalizer bounces while it plays, and skipping slides the title and cover across. */
2
+ export default function NowPlaying(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: a payment lands, the balance rolls up and the sparkline grows a point. Hover to pause. */
2
+ export default function PaymentReceived(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: switching plan glides the ring, rolls the price and diffs the feature list. Loops until you take over. */
2
+ export default function PlanSwitcher(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: a picked seat pops blue and the total rolls. Now and then someone else books a seat and it fades in. */
2
+ export default function SeatPicker(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: the van rides the route, pausing at each stop, until a check draws at the door. Loops until you take over. */
2
+ export default function ShipmentTracker(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: type and the quote rolls, flip and the rows trade places, swap and it settles into a check. The rate refreshes on a ring. */
2
+ export default function TokenSwap(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** One focused moment: the heart bursts and the item flies into Saved, whose badge pops. Tap again and it flies back. */
2
+ export default function Wishlist(): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/ai-chat";
2
+ export { default } from "../../../components/kit/ai-chat";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/alert";
2
+ export { default } from "../../../components/kit/alert";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/announcement-bar";
2
+ export { default } from "../../../components/kit/announcement-bar";
@@ -0,0 +1,2 @@
1
+ export * from "../../../components/kit/avatar-group";
2
+ export { default } from "../../../components/kit/avatar-group";