asta-ui 0.0.0-stage → 0.2.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 (547) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +69 -2
  3. package/bin/asta-ui.mjs +218 -0
  4. package/dist/accordion.d.ts +2 -0
  5. package/dist/accordion.js +9 -0
  6. package/dist/add-to-cart.d.ts +2 -0
  7. package/dist/add-to-cart.js +7 -0
  8. package/dist/avatar.d.ts +2 -0
  9. package/dist/avatar.js +13 -0
  10. package/dist/badge.d.ts +2 -0
  11. package/dist/badge.js +11 -0
  12. package/dist/base/accordion.d.ts +2 -0
  13. package/dist/base/accordion.js +9 -0
  14. package/dist/base/add-to-cart.d.ts +2 -0
  15. package/dist/base/add-to-cart.js +7 -0
  16. package/dist/base/avatar.d.ts +2 -0
  17. package/dist/base/avatar.js +13 -0
  18. package/dist/base/badge.d.ts +2 -0
  19. package/dist/base/badge.js +11 -0
  20. package/dist/base/bubble-wrap.d.ts +2 -0
  21. package/dist/base/bubble-wrap.js +7 -0
  22. package/dist/base/button.d.ts +2 -0
  23. package/dist/base/button.js +13 -0
  24. package/dist/base/candlestick.d.ts +2 -0
  25. package/dist/base/candlestick.js +7 -0
  26. package/dist/base/card-checkout.d.ts +2 -0
  27. package/dist/base/card-checkout.js +7 -0
  28. package/dist/base/cart-drawer.d.ts +2 -0
  29. package/dist/base/cart-drawer.js +7 -0
  30. package/dist/base/checkbox.d.ts +2 -0
  31. package/dist/base/checkbox.js +9 -0
  32. package/dist/base/combo-lock.d.ts +2 -0
  33. package/dist/base/combo-lock.js +7 -0
  34. package/dist/base/command-palette.d.ts +2 -0
  35. package/dist/base/command-palette.js +11 -0
  36. package/dist/base/dial-knob.d.ts +2 -0
  37. package/dist/base/dial-knob.js +7 -0
  38. package/dist/base/dialog.d.ts +2 -0
  39. package/dist/base/dialog.js +9 -0
  40. package/dist/base/dropdown-menu.d.ts +2 -0
  41. package/dist/base/dropdown-menu.js +10 -0
  42. package/dist/base/elastic-string.d.ts +2 -0
  43. package/dist/base/elastic-string.js +7 -0
  44. package/dist/base/field.d.ts +2 -0
  45. package/dist/base/field.js +11 -0
  46. package/dist/base/footer.d.ts +2 -0
  47. package/dist/base/footer.js +12 -0
  48. package/dist/base/gravity-pills.d.ts +2 -0
  49. package/dist/base/gravity-pills.js +7 -0
  50. package/dist/base/hold-to-confirm.d.ts +2 -0
  51. package/dist/base/hold-to-confirm.js +7 -0
  52. package/dist/base/ink-trail.d.ts +2 -0
  53. package/dist/base/ink-trail.js +7 -0
  54. package/dist/base/input.d.ts +2 -0
  55. package/dist/base/input.js +11 -0
  56. package/dist/base/kbd.d.ts +2 -0
  57. package/dist/base/kbd.js +11 -0
  58. package/dist/base/morse-tap.d.ts +2 -0
  59. package/dist/base/morse-tap.js +7 -0
  60. package/dist/base/motion-button.d.ts +2 -0
  61. package/dist/base/motion-button.js +23 -0
  62. package/dist/base/navbar.d.ts +2 -0
  63. package/dist/base/navbar.js +10 -0
  64. package/dist/base/needle-field.d.ts +2 -0
  65. package/dist/base/needle-field.js +7 -0
  66. package/dist/base/number-input.d.ts +2 -0
  67. package/dist/base/number-input.js +9 -0
  68. package/dist/base/order-book.d.ts +2 -0
  69. package/dist/base/order-book.js +7 -0
  70. package/dist/base/pay-methods.d.ts +2 -0
  71. package/dist/base/pay-methods.js +7 -0
  72. package/dist/base/payment-status.d.ts +2 -0
  73. package/dist/base/payment-status.js +7 -0
  74. package/dist/base/pixel-reveal.d.ts +2 -0
  75. package/dist/base/pixel-reveal.js +7 -0
  76. package/dist/base/price-chart.d.ts +2 -0
  77. package/dist/base/price-chart.js +7 -0
  78. package/dist/base/pricing.d.ts +2 -0
  79. package/dist/base/pricing.js +14 -0
  80. package/dist/base/radio-group.d.ts +2 -0
  81. package/dist/base/radio-group.js +11 -0
  82. package/dist/base/scramble-text.d.ts +2 -0
  83. package/dist/base/scramble-text.js +7 -0
  84. package/dist/base/segmented-control.d.ts +2 -0
  85. package/dist/base/segmented-control.js +9 -0
  86. package/dist/base/select.d.ts +2 -0
  87. package/dist/base/select.js +9 -0
  88. package/dist/base/settings-panel.d.ts +2 -0
  89. package/dist/base/settings-panel.js +10 -0
  90. package/dist/base/sign-in.d.ts +2 -0
  91. package/dist/base/sign-in.js +10 -0
  92. package/dist/base/skeleton.d.ts +2 -0
  93. package/dist/base/skeleton.js +13 -0
  94. package/dist/base/slider.d.ts +2 -0
  95. package/dist/base/slider.js +9 -0
  96. package/dist/base/snap-grid.d.ts +2 -0
  97. package/dist/base/snap-grid.js +7 -0
  98. package/dist/base/spinner.d.ts +2 -0
  99. package/dist/base/spinner.js +11 -0
  100. package/dist/base/split-flap.d.ts +2 -0
  101. package/dist/base/split-flap.js +7 -0
  102. package/dist/base/spotlight-grid.d.ts +2 -0
  103. package/dist/base/spotlight-grid.js +7 -0
  104. package/dist/base/switch.d.ts +2 -0
  105. package/dist/base/switch.js +9 -0
  106. package/dist/base/tabs.d.ts +2 -0
  107. package/dist/base/tabs.js +9 -0
  108. package/dist/base/tag-input.d.ts +2 -0
  109. package/dist/base/tag-input.js +9 -0
  110. package/dist/base/textarea-aui-001.d.ts +2 -0
  111. package/dist/base/textarea-aui-001.js +9 -0
  112. package/dist/base/textarea-aui-002.d.ts +2 -0
  113. package/dist/base/textarea-aui-002.js +9 -0
  114. package/dist/base/textarea-aui-003.d.ts +2 -0
  115. package/dist/base/textarea-aui-003.js +9 -0
  116. package/dist/base/textarea-aui-004.d.ts +2 -0
  117. package/dist/base/textarea-aui-004.js +9 -0
  118. package/dist/base/textarea-aui-005.d.ts +2 -0
  119. package/dist/base/textarea-aui-005.js +9 -0
  120. package/dist/base/textarea-aui-006.d.ts +2 -0
  121. package/dist/base/textarea-aui-006.js +9 -0
  122. package/dist/base/textarea-aui-007.d.ts +2 -0
  123. package/dist/base/textarea-aui-007.js +9 -0
  124. package/dist/base/textarea-aui-008.d.ts +2 -0
  125. package/dist/base/textarea-aui-008.js +9 -0
  126. package/dist/base/textarea.d.ts +2 -0
  127. package/dist/base/textarea.js +9 -0
  128. package/dist/base/toast.d.ts +2 -0
  129. package/dist/base/toast.js +11 -0
  130. package/dist/base/tooltip.d.ts +2 -0
  131. package/dist/base/tooltip.js +9 -0
  132. package/dist/base/trade-ticket.d.ts +2 -0
  133. package/dist/base/trade-ticket.js +7 -0
  134. package/dist/base/variant-picker.d.ts +2 -0
  135. package/dist/base/variant-picker.js +7 -0
  136. package/dist/base.d.ts +1 -0
  137. package/dist/base.js +315 -0
  138. package/dist/bubble-wrap.d.ts +2 -0
  139. package/dist/bubble-wrap.js +7 -0
  140. package/dist/button.d.ts +2 -0
  141. package/dist/button.js +13 -0
  142. package/dist/candlestick.d.ts +2 -0
  143. package/dist/candlestick.js +7 -0
  144. package/dist/card-checkout.d.ts +2 -0
  145. package/dist/card-checkout.js +7 -0
  146. package/dist/cart-drawer.d.ts +2 -0
  147. package/dist/cart-drawer.js +7 -0
  148. package/dist/checkbox.d.ts +2 -0
  149. package/dist/checkbox.js +9 -0
  150. package/dist/chunk-2KJNBHUV.js +137 -0
  151. package/dist/chunk-2OGTIQVU.js +237 -0
  152. package/dist/chunk-2Z5Z4YYZ.js +57 -0
  153. package/dist/chunk-37JQA6PI.js +98 -0
  154. package/dist/chunk-3JNUC3FU.js +92 -0
  155. package/dist/chunk-4L4EKC46.js +360 -0
  156. package/dist/chunk-4WK3F76T.js +57 -0
  157. package/dist/chunk-56BEMYK3.js +36 -0
  158. package/dist/chunk-5A36JYGI.js +71 -0
  159. package/dist/chunk-5RPJPL2V.js +102 -0
  160. package/dist/chunk-6322OCI4.js +189 -0
  161. package/dist/chunk-66OZ7CBK.js +153 -0
  162. package/dist/chunk-6AZKJUL4.js +67 -0
  163. package/dist/chunk-7L4YE6HM.js +56 -0
  164. package/dist/chunk-7MGB7FVD.js +221 -0
  165. package/dist/chunk-7RCBOTWL.js +138 -0
  166. package/dist/chunk-7TK42PS3.js +247 -0
  167. package/dist/chunk-7UMBKY3H.js +105 -0
  168. package/dist/chunk-AS6RA64I.js +53 -0
  169. package/dist/chunk-B7V4ZTKI.js +53 -0
  170. package/dist/chunk-BH2DLHFW.js +145 -0
  171. package/dist/chunk-BOJCW7Z7.js +131 -0
  172. package/dist/chunk-C2G5BUEG.js +197 -0
  173. package/dist/chunk-CLCP2GFW.js +93 -0
  174. package/dist/chunk-CNY76NHF.js +92 -0
  175. package/dist/chunk-CTO36MY2.js +87 -0
  176. package/dist/chunk-DK2BM32V.js +71 -0
  177. package/dist/chunk-DQWKBQBT.js +68 -0
  178. package/dist/chunk-DUGKLVQJ.js +89 -0
  179. package/dist/chunk-E4MX3E3B.js +66 -0
  180. package/dist/chunk-EG7NXGDD.js +109 -0
  181. package/dist/chunk-EVSTTLOT.js +141 -0
  182. package/dist/chunk-F5I6EK7F.js +55 -0
  183. package/dist/chunk-FATLQKRY.js +88 -0
  184. package/dist/chunk-FK2LKLRN.js +89 -0
  185. package/dist/chunk-FT7WZV3D.js +184 -0
  186. package/dist/chunk-FUNXYRSG.js +198 -0
  187. package/dist/chunk-H4URFOQC.js +69 -0
  188. package/dist/chunk-H5C7HOQJ.js +84 -0
  189. package/dist/chunk-JAQANAOP.js +247 -0
  190. package/dist/chunk-JIVLBHHE.js +266 -0
  191. package/dist/chunk-KEMMI76V.js +94 -0
  192. package/dist/chunk-N6FMS47F.js +225 -0
  193. package/dist/chunk-NDBLIYMX.js +62 -0
  194. package/dist/chunk-OBU2UOYI.js +96 -0
  195. package/dist/chunk-OLNMOTAD.js +141 -0
  196. package/dist/chunk-OQU6KGVR.js +70 -0
  197. package/dist/chunk-PIC5ZIR3.js +55 -0
  198. package/dist/chunk-PSTMF66E.js +79 -0
  199. package/dist/chunk-Q7OHWQP2.js +108 -0
  200. package/dist/chunk-QDRBMWRX.js +190 -0
  201. package/dist/chunk-R3LWG23K.js +138 -0
  202. package/dist/chunk-RS3XHHDE.js +77 -0
  203. package/dist/chunk-SAJ4D3Z2.js +206 -0
  204. package/dist/chunk-SATIWCJQ.js +141 -0
  205. package/dist/chunk-SRGDJSW7.js +107 -0
  206. package/dist/chunk-T4SOPNM5.js +107 -0
  207. package/dist/chunk-TCID6NNE.js +69 -0
  208. package/dist/chunk-TIAKMX7U.js +49 -0
  209. package/dist/chunk-TRIXMWR3.js +74 -0
  210. package/dist/chunk-TRR3J5NJ.js +28 -0
  211. package/dist/chunk-U7BYEW3Y.js +115 -0
  212. package/dist/chunk-U7VX6A6K.js +136 -0
  213. package/dist/chunk-UAP47MSR.js +230 -0
  214. package/dist/chunk-UXRTPEH7.js +57 -0
  215. package/dist/chunk-VGBP42IZ.js +84 -0
  216. package/dist/chunk-VWYX5IRP.js +92 -0
  217. package/dist/chunk-WRB66XD3.js +31 -0
  218. package/dist/chunk-WSL4JGEA.js +87 -0
  219. package/dist/chunk-WVIV4JBH.js +69 -0
  220. package/dist/chunk-WWQV7LE7.js +198 -0
  221. package/dist/chunk-XIU7K2YE.js +60 -0
  222. package/dist/chunk-XNL5BLUR.js +283 -0
  223. package/dist/chunk-XRVVZA2Y.js +360 -0
  224. package/dist/chunk-XYNJQGYX.js +107 -0
  225. package/dist/chunk-YON5SU2G.js +156 -0
  226. package/dist/chunk-Z6IAITZJ.js +214 -0
  227. package/dist/chunk-ZE7BT2K4.js +173 -0
  228. package/dist/chunk-ZN3W5PAI.js +107 -0
  229. package/dist/chunk-ZQV2GAWY.js +178 -0
  230. package/dist/chunk-ZRGPSYW6.js +237 -0
  231. package/dist/chunk-ZWBJUJTR.js +83 -0
  232. package/dist/combo-lock.d.ts +2 -0
  233. package/dist/combo-lock.js +7 -0
  234. package/dist/command-palette.d.ts +2 -0
  235. package/dist/command-palette.js +11 -0
  236. package/dist/dial-knob.d.ts +2 -0
  237. package/dist/dial-knob.js +7 -0
  238. package/dist/dialog.d.ts +2 -0
  239. package/dist/dialog.js +9 -0
  240. package/dist/dropdown-menu.d.ts +2 -0
  241. package/dist/dropdown-menu.js +10 -0
  242. package/dist/elastic-string.d.ts +2 -0
  243. package/dist/elastic-string.js +7 -0
  244. package/dist/field.d.ts +2 -0
  245. package/dist/field.js +11 -0
  246. package/dist/footer.d.ts +2 -0
  247. package/dist/footer.js +12 -0
  248. package/dist/gravity-pills.d.ts +2 -0
  249. package/dist/gravity-pills.js +7 -0
  250. package/dist/hold-to-confirm.d.ts +2 -0
  251. package/dist/hold-to-confirm.js +7 -0
  252. package/dist/index.d.ts +1 -0
  253. package/dist/index.js +315 -0
  254. package/dist/ink-trail.d.ts +2 -0
  255. package/dist/ink-trail.js +7 -0
  256. package/dist/input.d.ts +2 -0
  257. package/dist/input.js +11 -0
  258. package/dist/kbd.d.ts +2 -0
  259. package/dist/kbd.js +11 -0
  260. package/dist/morse-tap.d.ts +2 -0
  261. package/dist/morse-tap.js +7 -0
  262. package/dist/motion-button.d.ts +2 -0
  263. package/dist/motion-button.js +23 -0
  264. package/dist/navbar.d.ts +2 -0
  265. package/dist/navbar.js +10 -0
  266. package/dist/needle-field.d.ts +2 -0
  267. package/dist/needle-field.js +7 -0
  268. package/dist/number-input.d.ts +2 -0
  269. package/dist/number-input.js +9 -0
  270. package/dist/order-book.d.ts +2 -0
  271. package/dist/order-book.js +7 -0
  272. package/dist/pay-methods.d.ts +2 -0
  273. package/dist/pay-methods.js +7 -0
  274. package/dist/payment-status.d.ts +2 -0
  275. package/dist/payment-status.js +7 -0
  276. package/dist/pixel-reveal.d.ts +2 -0
  277. package/dist/pixel-reveal.js +7 -0
  278. package/dist/price-chart.d.ts +2 -0
  279. package/dist/price-chart.js +7 -0
  280. package/dist/pricing.d.ts +2 -0
  281. package/dist/pricing.js +14 -0
  282. package/dist/radio-group.d.ts +2 -0
  283. package/dist/radio-group.js +11 -0
  284. package/dist/scramble-text.d.ts +2 -0
  285. package/dist/scramble-text.js +7 -0
  286. package/dist/segmented-control.d.ts +2 -0
  287. package/dist/segmented-control.js +9 -0
  288. package/dist/select.d.ts +2 -0
  289. package/dist/select.js +9 -0
  290. package/dist/settings-panel.d.ts +2 -0
  291. package/dist/settings-panel.js +10 -0
  292. package/dist/sign-in.d.ts +2 -0
  293. package/dist/sign-in.js +10 -0
  294. package/dist/skeleton.d.ts +2 -0
  295. package/dist/skeleton.js +13 -0
  296. package/dist/slider.d.ts +2 -0
  297. package/dist/slider.js +9 -0
  298. package/dist/snap-grid.d.ts +2 -0
  299. package/dist/snap-grid.js +7 -0
  300. package/dist/spinner.d.ts +2 -0
  301. package/dist/spinner.js +11 -0
  302. package/dist/split-flap.d.ts +2 -0
  303. package/dist/split-flap.js +7 -0
  304. package/dist/spotlight-grid.d.ts +2 -0
  305. package/dist/spotlight-grid.js +7 -0
  306. package/dist/styles.css +46 -0
  307. package/dist/switch.d.ts +2 -0
  308. package/dist/switch.js +9 -0
  309. package/dist/tabs.d.ts +2 -0
  310. package/dist/tabs.js +9 -0
  311. package/dist/tag-input.d.ts +2 -0
  312. package/dist/tag-input.js +9 -0
  313. package/dist/textarea-aui-001.d.ts +2 -0
  314. package/dist/textarea-aui-001.js +9 -0
  315. package/dist/textarea-aui-002.d.ts +2 -0
  316. package/dist/textarea-aui-002.js +9 -0
  317. package/dist/textarea-aui-003.d.ts +2 -0
  318. package/dist/textarea-aui-003.js +9 -0
  319. package/dist/textarea-aui-004.d.ts +2 -0
  320. package/dist/textarea-aui-004.js +9 -0
  321. package/dist/textarea-aui-005.d.ts +2 -0
  322. package/dist/textarea-aui-005.js +9 -0
  323. package/dist/textarea-aui-006.d.ts +2 -0
  324. package/dist/textarea-aui-006.js +9 -0
  325. package/dist/textarea-aui-007.d.ts +2 -0
  326. package/dist/textarea-aui-007.js +9 -0
  327. package/dist/textarea-aui-008.d.ts +2 -0
  328. package/dist/textarea-aui-008.js +9 -0
  329. package/dist/textarea.d.ts +2 -0
  330. package/dist/textarea.js +9 -0
  331. package/dist/toast.d.ts +2 -0
  332. package/dist/toast.js +11 -0
  333. package/dist/tooltip.d.ts +2 -0
  334. package/dist/tooltip.js +9 -0
  335. package/dist/trade-ticket.d.ts +2 -0
  336. package/dist/trade-ticket.js +7 -0
  337. package/dist/types/components/kit/accordion.d.ts +19 -0
  338. package/dist/types/components/kit/avatar.d.ts +32 -0
  339. package/dist/types/components/kit/badge.d.ts +23 -0
  340. package/dist/types/components/kit/base/accordion.d.ts +19 -0
  341. package/dist/types/components/kit/base/avatar.d.ts +32 -0
  342. package/dist/types/components/kit/base/button.d.ts +38 -0
  343. package/dist/types/components/kit/base/checkbox.d.ts +19 -0
  344. package/dist/types/components/kit/base/command-palette.d.ts +38 -0
  345. package/dist/types/components/kit/base/dialog.d.ts +21 -0
  346. package/dist/types/components/kit/base/dropdown-menu.d.ts +32 -0
  347. package/dist/types/components/kit/base/footer.d.ts +29 -0
  348. package/dist/types/components/kit/base/navbar.d.ts +54 -0
  349. package/dist/types/components/kit/base/pricing.d.ts +39 -0
  350. package/dist/types/components/kit/base/radio-group.d.ts +29 -0
  351. package/dist/types/components/kit/base/segmented-control.d.ts +23 -0
  352. package/dist/types/components/kit/base/select.d.ts +29 -0
  353. package/dist/types/components/kit/base/settings-panel.d.ts +29 -0
  354. package/dist/types/components/kit/base/sign-in.d.ts +17 -0
  355. package/dist/types/components/kit/base/slider.d.ts +27 -0
  356. package/dist/types/components/kit/base/switch.d.ts +22 -0
  357. package/dist/types/components/kit/base/tabs.d.ts +23 -0
  358. package/dist/types/components/kit/base/tooltip.d.ts +20 -0
  359. package/dist/types/components/kit/base/variants/textarea-aui-008.d.ts +23 -0
  360. package/dist/types/components/kit/button.d.ts +38 -0
  361. package/dist/types/components/kit/checkbox.d.ts +19 -0
  362. package/dist/types/components/kit/command-palette.d.ts +38 -0
  363. package/dist/types/components/kit/dialog.d.ts +21 -0
  364. package/dist/types/components/kit/dropdown-menu.d.ts +32 -0
  365. package/dist/types/components/kit/field.d.ts +19 -0
  366. package/dist/types/components/kit/footer.d.ts +29 -0
  367. package/dist/types/components/kit/input.d.ts +19 -0
  368. package/dist/types/components/kit/kbd.d.ts +26 -0
  369. package/dist/types/components/kit/motion-button.d.ts +30 -0
  370. package/dist/types/components/kit/navbar.d.ts +54 -0
  371. package/dist/types/components/kit/number-input.d.ts +20 -0
  372. package/dist/types/components/kit/pricing.d.ts +39 -0
  373. package/dist/types/components/kit/radio-group.d.ts +29 -0
  374. package/dist/types/components/kit/segmented-control.d.ts +23 -0
  375. package/dist/types/components/kit/select.d.ts +29 -0
  376. package/dist/types/components/kit/settings-panel.d.ts +29 -0
  377. package/dist/types/components/kit/sign-in.d.ts +17 -0
  378. package/dist/types/components/kit/skeleton.d.ts +20 -0
  379. package/dist/types/components/kit/slider.d.ts +27 -0
  380. package/dist/types/components/kit/spinner.d.ts +18 -0
  381. package/dist/types/components/kit/switch.d.ts +22 -0
  382. package/dist/types/components/kit/tabs.d.ts +23 -0
  383. package/dist/types/components/kit/tag-input.d.ts +16 -0
  384. package/dist/types/components/kit/textarea.d.ts +11 -0
  385. package/dist/types/components/kit/toast.d.ts +32 -0
  386. package/dist/types/components/kit/tooltip.d.ts +20 -0
  387. package/dist/types/components/kit/variants/textarea-aui-001.d.ts +13 -0
  388. package/dist/types/components/kit/variants/textarea-aui-002.d.ts +13 -0
  389. package/dist/types/components/kit/variants/textarea-aui-003.d.ts +16 -0
  390. package/dist/types/components/kit/variants/textarea-aui-004.d.ts +7 -0
  391. package/dist/types/components/kit/variants/textarea-aui-005.d.ts +8 -0
  392. package/dist/types/components/kit/variants/textarea-aui-006.d.ts +21 -0
  393. package/dist/types/components/kit/variants/textarea-aui-007.d.ts +20 -0
  394. package/dist/types/components/kit/variants/textarea-aui-008.d.ts +23 -0
  395. package/dist/types/components/lab/blocks/AddToCart.d.ts +10 -0
  396. package/dist/types/components/lab/blocks/BubbleWrap.d.ts +2 -0
  397. package/dist/types/components/lab/blocks/Candlestick.d.ts +2 -0
  398. package/dist/types/components/lab/blocks/CardCheckout.d.ts +5 -0
  399. package/dist/types/components/lab/blocks/CartDrawer.d.ts +2 -0
  400. package/dist/types/components/lab/blocks/ComboLock.d.ts +2 -0
  401. package/dist/types/components/lab/blocks/DialKnob.d.ts +2 -0
  402. package/dist/types/components/lab/blocks/ElasticString.d.ts +2 -0
  403. package/dist/types/components/lab/blocks/GravityPills.d.ts +2 -0
  404. package/dist/types/components/lab/blocks/HoldToConfirm.d.ts +6 -0
  405. package/dist/types/components/lab/blocks/InkTrail.d.ts +2 -0
  406. package/dist/types/components/lab/blocks/MorseTap.d.ts +2 -0
  407. package/dist/types/components/lab/blocks/NeedleField.d.ts +2 -0
  408. package/dist/types/components/lab/blocks/OrderBook.d.ts +2 -0
  409. package/dist/types/components/lab/blocks/PayMethods.d.ts +2 -0
  410. package/dist/types/components/lab/blocks/PaymentStatus.d.ts +2 -0
  411. package/dist/types/components/lab/blocks/PixelReveal.d.ts +2 -0
  412. package/dist/types/components/lab/blocks/PriceChart.d.ts +2 -0
  413. package/dist/types/components/lab/blocks/ScrambleText.d.ts +1 -0
  414. package/dist/types/components/lab/blocks/SnapGrid.d.ts +2 -0
  415. package/dist/types/components/lab/blocks/SplitFlap.d.ts +2 -0
  416. package/dist/types/components/lab/blocks/SpotlightGrid.d.ts +1 -0
  417. package/dist/types/components/lab/blocks/TradeTicket.d.ts +2 -0
  418. package/dist/types/components/lab/blocks/VariantPicker.d.ts +2 -0
  419. package/dist/types/packages/asta-ui/src/accordion.d.ts +2 -0
  420. package/dist/types/packages/asta-ui/src/add-to-cart.d.ts +2 -0
  421. package/dist/types/packages/asta-ui/src/avatar.d.ts +2 -0
  422. package/dist/types/packages/asta-ui/src/badge.d.ts +2 -0
  423. package/dist/types/packages/asta-ui/src/base/accordion.d.ts +2 -0
  424. package/dist/types/packages/asta-ui/src/base/add-to-cart.d.ts +2 -0
  425. package/dist/types/packages/asta-ui/src/base/avatar.d.ts +2 -0
  426. package/dist/types/packages/asta-ui/src/base/badge.d.ts +2 -0
  427. package/dist/types/packages/asta-ui/src/base/bubble-wrap.d.ts +2 -0
  428. package/dist/types/packages/asta-ui/src/base/button.d.ts +2 -0
  429. package/dist/types/packages/asta-ui/src/base/candlestick.d.ts +2 -0
  430. package/dist/types/packages/asta-ui/src/base/card-checkout.d.ts +2 -0
  431. package/dist/types/packages/asta-ui/src/base/cart-drawer.d.ts +2 -0
  432. package/dist/types/packages/asta-ui/src/base/checkbox.d.ts +2 -0
  433. package/dist/types/packages/asta-ui/src/base/combo-lock.d.ts +2 -0
  434. package/dist/types/packages/asta-ui/src/base/command-palette.d.ts +2 -0
  435. package/dist/types/packages/asta-ui/src/base/dial-knob.d.ts +2 -0
  436. package/dist/types/packages/asta-ui/src/base/dialog.d.ts +2 -0
  437. package/dist/types/packages/asta-ui/src/base/dropdown-menu.d.ts +2 -0
  438. package/dist/types/packages/asta-ui/src/base/elastic-string.d.ts +2 -0
  439. package/dist/types/packages/asta-ui/src/base/field.d.ts +2 -0
  440. package/dist/types/packages/asta-ui/src/base/footer.d.ts +2 -0
  441. package/dist/types/packages/asta-ui/src/base/gravity-pills.d.ts +2 -0
  442. package/dist/types/packages/asta-ui/src/base/hold-to-confirm.d.ts +2 -0
  443. package/dist/types/packages/asta-ui/src/base/ink-trail.d.ts +2 -0
  444. package/dist/types/packages/asta-ui/src/base/input.d.ts +2 -0
  445. package/dist/types/packages/asta-ui/src/base/kbd.d.ts +2 -0
  446. package/dist/types/packages/asta-ui/src/base/morse-tap.d.ts +2 -0
  447. package/dist/types/packages/asta-ui/src/base/motion-button.d.ts +2 -0
  448. package/dist/types/packages/asta-ui/src/base/navbar.d.ts +2 -0
  449. package/dist/types/packages/asta-ui/src/base/needle-field.d.ts +2 -0
  450. package/dist/types/packages/asta-ui/src/base/number-input.d.ts +2 -0
  451. package/dist/types/packages/asta-ui/src/base/order-book.d.ts +2 -0
  452. package/dist/types/packages/asta-ui/src/base/pay-methods.d.ts +2 -0
  453. package/dist/types/packages/asta-ui/src/base/payment-status.d.ts +2 -0
  454. package/dist/types/packages/asta-ui/src/base/pixel-reveal.d.ts +2 -0
  455. package/dist/types/packages/asta-ui/src/base/price-chart.d.ts +2 -0
  456. package/dist/types/packages/asta-ui/src/base/pricing.d.ts +2 -0
  457. package/dist/types/packages/asta-ui/src/base/radio-group.d.ts +2 -0
  458. package/dist/types/packages/asta-ui/src/base/scramble-text.d.ts +2 -0
  459. package/dist/types/packages/asta-ui/src/base/segmented-control.d.ts +2 -0
  460. package/dist/types/packages/asta-ui/src/base/select.d.ts +2 -0
  461. package/dist/types/packages/asta-ui/src/base/settings-panel.d.ts +2 -0
  462. package/dist/types/packages/asta-ui/src/base/sign-in.d.ts +2 -0
  463. package/dist/types/packages/asta-ui/src/base/skeleton.d.ts +2 -0
  464. package/dist/types/packages/asta-ui/src/base/slider.d.ts +2 -0
  465. package/dist/types/packages/asta-ui/src/base/snap-grid.d.ts +2 -0
  466. package/dist/types/packages/asta-ui/src/base/spinner.d.ts +2 -0
  467. package/dist/types/packages/asta-ui/src/base/split-flap.d.ts +2 -0
  468. package/dist/types/packages/asta-ui/src/base/spotlight-grid.d.ts +2 -0
  469. package/dist/types/packages/asta-ui/src/base/switch.d.ts +2 -0
  470. package/dist/types/packages/asta-ui/src/base/tabs.d.ts +2 -0
  471. package/dist/types/packages/asta-ui/src/base/tag-input.d.ts +2 -0
  472. package/dist/types/packages/asta-ui/src/base/textarea-aui-001.d.ts +2 -0
  473. package/dist/types/packages/asta-ui/src/base/textarea-aui-002.d.ts +2 -0
  474. package/dist/types/packages/asta-ui/src/base/textarea-aui-003.d.ts +2 -0
  475. package/dist/types/packages/asta-ui/src/base/textarea-aui-004.d.ts +2 -0
  476. package/dist/types/packages/asta-ui/src/base/textarea-aui-005.d.ts +2 -0
  477. package/dist/types/packages/asta-ui/src/base/textarea-aui-006.d.ts +2 -0
  478. package/dist/types/packages/asta-ui/src/base/textarea-aui-007.d.ts +2 -0
  479. package/dist/types/packages/asta-ui/src/base/textarea-aui-008.d.ts +2 -0
  480. package/dist/types/packages/asta-ui/src/base/textarea.d.ts +2 -0
  481. package/dist/types/packages/asta-ui/src/base/toast.d.ts +2 -0
  482. package/dist/types/packages/asta-ui/src/base/tooltip.d.ts +2 -0
  483. package/dist/types/packages/asta-ui/src/base/trade-ticket.d.ts +2 -0
  484. package/dist/types/packages/asta-ui/src/base/variant-picker.d.ts +2 -0
  485. package/dist/types/packages/asta-ui/src/base.d.ts +100 -0
  486. package/dist/types/packages/asta-ui/src/bubble-wrap.d.ts +2 -0
  487. package/dist/types/packages/asta-ui/src/button.d.ts +2 -0
  488. package/dist/types/packages/asta-ui/src/candlestick.d.ts +2 -0
  489. package/dist/types/packages/asta-ui/src/card-checkout.d.ts +2 -0
  490. package/dist/types/packages/asta-ui/src/cart-drawer.d.ts +2 -0
  491. package/dist/types/packages/asta-ui/src/checkbox.d.ts +2 -0
  492. package/dist/types/packages/asta-ui/src/combo-lock.d.ts +2 -0
  493. package/dist/types/packages/asta-ui/src/command-palette.d.ts +2 -0
  494. package/dist/types/packages/asta-ui/src/dial-knob.d.ts +2 -0
  495. package/dist/types/packages/asta-ui/src/dialog.d.ts +2 -0
  496. package/dist/types/packages/asta-ui/src/dropdown-menu.d.ts +2 -0
  497. package/dist/types/packages/asta-ui/src/elastic-string.d.ts +2 -0
  498. package/dist/types/packages/asta-ui/src/field.d.ts +2 -0
  499. package/dist/types/packages/asta-ui/src/footer.d.ts +2 -0
  500. package/dist/types/packages/asta-ui/src/gravity-pills.d.ts +2 -0
  501. package/dist/types/packages/asta-ui/src/hold-to-confirm.d.ts +2 -0
  502. package/dist/types/packages/asta-ui/src/index.d.ts +100 -0
  503. package/dist/types/packages/asta-ui/src/ink-trail.d.ts +2 -0
  504. package/dist/types/packages/asta-ui/src/input.d.ts +2 -0
  505. package/dist/types/packages/asta-ui/src/kbd.d.ts +2 -0
  506. package/dist/types/packages/asta-ui/src/morse-tap.d.ts +2 -0
  507. package/dist/types/packages/asta-ui/src/motion-button.d.ts +2 -0
  508. package/dist/types/packages/asta-ui/src/navbar.d.ts +2 -0
  509. package/dist/types/packages/asta-ui/src/needle-field.d.ts +2 -0
  510. package/dist/types/packages/asta-ui/src/number-input.d.ts +2 -0
  511. package/dist/types/packages/asta-ui/src/order-book.d.ts +2 -0
  512. package/dist/types/packages/asta-ui/src/pay-methods.d.ts +2 -0
  513. package/dist/types/packages/asta-ui/src/payment-status.d.ts +2 -0
  514. package/dist/types/packages/asta-ui/src/pixel-reveal.d.ts +2 -0
  515. package/dist/types/packages/asta-ui/src/price-chart.d.ts +2 -0
  516. package/dist/types/packages/asta-ui/src/pricing.d.ts +2 -0
  517. package/dist/types/packages/asta-ui/src/radio-group.d.ts +2 -0
  518. package/dist/types/packages/asta-ui/src/scramble-text.d.ts +2 -0
  519. package/dist/types/packages/asta-ui/src/segmented-control.d.ts +2 -0
  520. package/dist/types/packages/asta-ui/src/select.d.ts +2 -0
  521. package/dist/types/packages/asta-ui/src/settings-panel.d.ts +2 -0
  522. package/dist/types/packages/asta-ui/src/sign-in.d.ts +2 -0
  523. package/dist/types/packages/asta-ui/src/skeleton.d.ts +2 -0
  524. package/dist/types/packages/asta-ui/src/slider.d.ts +2 -0
  525. package/dist/types/packages/asta-ui/src/snap-grid.d.ts +2 -0
  526. package/dist/types/packages/asta-ui/src/spinner.d.ts +2 -0
  527. package/dist/types/packages/asta-ui/src/split-flap.d.ts +2 -0
  528. package/dist/types/packages/asta-ui/src/spotlight-grid.d.ts +2 -0
  529. package/dist/types/packages/asta-ui/src/switch.d.ts +2 -0
  530. package/dist/types/packages/asta-ui/src/tabs.d.ts +2 -0
  531. package/dist/types/packages/asta-ui/src/tag-input.d.ts +2 -0
  532. package/dist/types/packages/asta-ui/src/textarea-aui-001.d.ts +2 -0
  533. package/dist/types/packages/asta-ui/src/textarea-aui-002.d.ts +2 -0
  534. package/dist/types/packages/asta-ui/src/textarea-aui-003.d.ts +2 -0
  535. package/dist/types/packages/asta-ui/src/textarea-aui-004.d.ts +2 -0
  536. package/dist/types/packages/asta-ui/src/textarea-aui-005.d.ts +2 -0
  537. package/dist/types/packages/asta-ui/src/textarea-aui-006.d.ts +2 -0
  538. package/dist/types/packages/asta-ui/src/textarea-aui-007.d.ts +2 -0
  539. package/dist/types/packages/asta-ui/src/textarea-aui-008.d.ts +2 -0
  540. package/dist/types/packages/asta-ui/src/textarea.d.ts +2 -0
  541. package/dist/types/packages/asta-ui/src/toast.d.ts +2 -0
  542. package/dist/types/packages/asta-ui/src/tooltip.d.ts +2 -0
  543. package/dist/types/packages/asta-ui/src/trade-ticket.d.ts +2 -0
  544. package/dist/types/packages/asta-ui/src/variant-picker.d.ts +2 -0
  545. package/dist/variant-picker.d.ts +2 -0
  546. package/dist/variant-picker.js +7 -0
  547. package/package.json +86 -4
@@ -0,0 +1,54 @@
1
+ import { type ReactNode, type RefObject } from "react";
2
+ export interface NavTile {
3
+ title: string;
4
+ description?: string;
5
+ href: string;
6
+ icon?: ReactNode;
7
+ /** Big tiles get a small mock preview in the corner. */
8
+ preview?: "chart" | "list" | "code";
9
+ }
10
+ export interface NavMenu {
11
+ /** Panel width in px (clamped to the space available). */
12
+ width?: number;
13
+ tiles?: NavTile[];
14
+ columns?: {
15
+ heading: string;
16
+ links: NavTile[];
17
+ }[];
18
+ feature?: {
19
+ title: string;
20
+ description: string;
21
+ href: string;
22
+ cta: string;
23
+ };
24
+ }
25
+ export interface NavItem {
26
+ label: string;
27
+ href?: string;
28
+ menu?: NavMenu;
29
+ }
30
+ export interface NavbarProps {
31
+ brand: ReactNode;
32
+ brandHref?: string;
33
+ items: NavItem[];
34
+ /** Quiet link that folds away once the page scrolls. */
35
+ docs?: {
36
+ label: string;
37
+ href: string;
38
+ };
39
+ cta: {
40
+ label: string;
41
+ href: string;
42
+ };
43
+ /** Element whose scroll drives the folded state (defaults to the window). */
44
+ scrollRoot?: RefObject<HTMLElement | null>;
45
+ className?: string;
46
+ }
47
+ /**
48
+ * Site header with a mega menu. One shared panel sits under the bar and morphs its size between
49
+ * sections while the new content slides in from the side you moved toward. Hovering a tile dims the
50
+ * rest. Below 560px of container width it collapses to a burger and a sheet of accordion sections.
51
+ * Wrap it in an element with `@container` (the demo does) or it falls back to the viewport width.
52
+ */
53
+ export declare function Navbar({ brand, brandHref, items, docs, cta, scrollRoot, className }: NavbarProps): import("react").JSX.Element;
54
+ export default Navbar;
@@ -0,0 +1,39 @@
1
+ export type Billing = "monthly" | "yearly";
2
+ export interface Plan {
3
+ name: string;
4
+ description: string;
5
+ /** Price per month for each billing period. */
6
+ price: Record<Billing, number>;
7
+ features: string[];
8
+ cta: {
9
+ label: string;
10
+ href: string;
11
+ };
12
+ /** The recommended plan gets the dark card and a badge. */
13
+ highlight?: string;
14
+ }
15
+ export interface PricingProps {
16
+ plans: Plan[];
17
+ currency?: string;
18
+ /** Badge next to "Yearly", e.g. "−20%". */
19
+ saving?: string;
20
+ defaultBilling?: Billing;
21
+ className?: string;
22
+ }
23
+ /** A number whose digits roll, right to left, when it changes. Screen readers get the plain value. */
24
+ export declare function RollingNumber({ value, className }: {
25
+ value: number;
26
+ className?: string;
27
+ }): import("react").JSX.Element;
28
+ /** Two options with a pill that slides between them. */
29
+ export declare function BillingSwitch({ value, onChange, saving }: {
30
+ value: Billing;
31
+ onChange: (b: Billing) => void;
32
+ saving?: string;
33
+ }): import("react").JSX.Element;
34
+ /**
35
+ * Plans with a monthly / yearly switch. Prices roll digit by digit to the new amount; the highlighted
36
+ * plan sits on an inverted card. Cards stack below 540px of container width (wrap it in `@container`).
37
+ */
38
+ export declare function Pricing({ plans, currency, saving, defaultBilling, className }: PricingProps): import("react").JSX.Element;
39
+ export default Pricing;
@@ -0,0 +1,29 @@
1
+ import { type ReactNode } from "react";
2
+ export interface RadioOption {
3
+ value: string;
4
+ label: ReactNode;
5
+ description?: ReactNode;
6
+ /** Shown on the right of a card, e.g. a price. */
7
+ aside?: ReactNode;
8
+ disabled?: boolean;
9
+ }
10
+ export interface RadioGroupProps {
11
+ options: RadioOption[];
12
+ value?: string;
13
+ defaultValue?: string;
14
+ onChange?: (value: string) => void;
15
+ /** `cards` (default): option cards with a ring that glides to the selection. `list`: compact rows. */
16
+ variant?: "cards" | "list";
17
+ /** Cards per row on wider screens. */
18
+ columns?: 1 | 2 | 3;
19
+ label?: string;
20
+ name?: string;
21
+ className?: string;
22
+ }
23
+ /** Choose one, on Base UI Radio Group: arrow keys move and select (roving focus) like native radios, and `name` submits with a form. */
24
+ export declare function RadioGroup({ options, value, defaultValue, onChange, variant, columns, label, name, className }: RadioGroupProps): import("react").JSX.Element;
25
+ /** The radio circle: the inner dot pops in with a small overshoot. */
26
+ export declare function Dot({ on }: {
27
+ on: boolean;
28
+ }): import("react").JSX.Element;
29
+ export default RadioGroup;
@@ -0,0 +1,23 @@
1
+ import { type ReactNode } from "react";
2
+ export interface Segment {
3
+ value: string;
4
+ label: ReactNode;
5
+ icon?: ReactNode;
6
+ }
7
+ export interface SegmentedControlProps {
8
+ segments: Segment[];
9
+ value?: string;
10
+ defaultValue?: string;
11
+ onChange?: (value: string) => void;
12
+ size?: "sm" | "md";
13
+ /** Stretch to the parent's width, segments sharing it evenly. */
14
+ full?: boolean;
15
+ label?: string;
16
+ className?: string;
17
+ }
18
+ /**
19
+ * A pill slides between options. While it travels it stretches toward the target and settles back,
20
+ * which reads as a small squash rather than a plain slide. Built on Base UI Radio Group, so ← → move and select.
21
+ */
22
+ export declare function SegmentedControl({ segments, value, defaultValue, onChange, size, full, label, className }: SegmentedControlProps): import("react").JSX.Element;
23
+ export default SegmentedControl;
@@ -0,0 +1,29 @@
1
+ import { type ReactNode } from "react";
2
+ export interface SelectOption {
3
+ value: string;
4
+ label: string;
5
+ icon?: ReactNode;
6
+ hint?: string;
7
+ disabled?: boolean;
8
+ }
9
+ export interface SelectProps {
10
+ options: SelectOption[];
11
+ value?: string;
12
+ defaultValue?: string;
13
+ onChange?: (value: string) => void;
14
+ placeholder?: string;
15
+ /** Adds a filter box at the top of the list. */
16
+ searchable?: boolean;
17
+ label?: string;
18
+ size?: "sm" | "md";
19
+ /** Form field name (submits the value with a form). */
20
+ name?: string;
21
+ disabled?: boolean;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * A select. Without `searchable` it is Base UI Select: arrows, Home/End, type-ahead, Escape, form support
26
+ * and collision handling. With `searchable` it is a Base UI Popover holding a filter box and a listbox.
27
+ */
28
+ export declare function Select(props: SelectProps): import("react").JSX.Element;
29
+ export default Select;
@@ -0,0 +1,29 @@
1
+ export interface Settings {
2
+ name: string;
3
+ email: string;
4
+ notify: {
5
+ product: boolean;
6
+ mentions: boolean;
7
+ digest: boolean;
8
+ };
9
+ theme: "light" | "dark" | "system";
10
+ language: string;
11
+ }
12
+ export interface SettingsPanelHandle {
13
+ /** Returns false (and nudges the save bar) when there are unsaved changes. */
14
+ requestLeave: () => boolean;
15
+ }
16
+ export interface SettingsPanelProps {
17
+ initial: Settings;
18
+ /** Persist the settings; the bar shows a spinner until it resolves. */
19
+ onSave?: (s: Settings) => Promise<void>;
20
+ languages?: string[];
21
+ className?: string;
22
+ }
23
+ /**
24
+ * A settings form whose save bar slides up as soon as anything differs from the saved values. Reset puts
25
+ * everything back; Save shows progress, then "Saved", then the bar slides away. `requestLeave()` (via ref)
26
+ * shakes the bar when there are unsaved changes.
27
+ */
28
+ export declare const SettingsPanel: import("react").ForwardRefExoticComponent<SettingsPanelProps & import("react").RefAttributes<SettingsPanelHandle>>;
29
+ export default SettingsPanel;
@@ -0,0 +1,17 @@
1
+ export interface SignInCardProps {
2
+ title?: string;
3
+ subtitle?: string;
4
+ /** Called with the credentials; resolve to finish, reject (with a message) to show an error. */
5
+ onSubmit?: (data: {
6
+ email: string;
7
+ password: string;
8
+ }) => Promise<void>;
9
+ onSocial?: (provider: "google" | "github") => void;
10
+ className?: string;
11
+ }
12
+ /**
13
+ * An email + password card with social sign-in, inline validation (errors appear on blur or submit and the
14
+ * field shakes once), a submit that shows progress and a success state that morphs in.
15
+ */
16
+ export declare function SignInCard({ title, subtitle, onSubmit, onSocial, className }: SignInCardProps): import("react").JSX.Element;
17
+ export default SignInCard;
@@ -0,0 +1,27 @@
1
+ export interface SliderProps {
2
+ value?: number;
3
+ defaultValue?: number;
4
+ onValueChange?: (v: number) => void;
5
+ /** Fires once when the user lets go (pointer up or a key press). */
6
+ onValueCommit?: (v: number) => void;
7
+ min?: number;
8
+ max?: number;
9
+ step?: number;
10
+ /** Draw a tick for every step (true) or this many evenly spaced ticks. */
11
+ ticks?: boolean | number;
12
+ /** Format the value in the bubble and for screen readers. */
13
+ format?: (v: number) => string;
14
+ disabled?: boolean;
15
+ /** Form field name. */
16
+ name?: string;
17
+ "aria-label"?: string;
18
+ "aria-labelledby"?: string;
19
+ className?: string;
20
+ }
21
+ /**
22
+ * A range slider on Base UI Slider (pointer, touch, arrows, Page Up/Down, Home/End, ARIA, form value) with a
23
+ * value bubble that pops up while you drag, hover or focus it. Clicks and key presses glide; drags follow
24
+ * the pointer exactly.
25
+ */
26
+ export declare function Slider({ value, defaultValue, onValueChange, onValueCommit, min, max, step, ticks, format, disabled, name, className, ...aria }: SliderProps): import("react").JSX.Element;
27
+ export default Slider;
@@ -0,0 +1,22 @@
1
+ import { type ReactNode } from "react";
2
+ export type SwitchSize = "sm" | "md" | "lg";
3
+ export interface SwitchProps {
4
+ checked?: boolean;
5
+ defaultChecked?: boolean;
6
+ onCheckedChange?: (checked: boolean) => void;
7
+ size?: SwitchSize;
8
+ disabled?: boolean;
9
+ label?: ReactNode;
10
+ description?: ReactNode;
11
+ id?: string;
12
+ /** Form field name. */
13
+ name?: string;
14
+ "aria-label"?: string;
15
+ className?: string;
16
+ }
17
+ /**
18
+ * An on/off switch on Base UI Switch (ARIA, Space/Enter, native form value through `name`). While pressed the
19
+ * thumb stretches toward where it's about to go.
20
+ */
21
+ export declare function Switch({ checked, defaultChecked, onCheckedChange, size, disabled, label, description, id, name, className, "aria-label": ariaLabel }: SwitchProps): import("react").JSX.Element;
22
+ export default Switch;
@@ -0,0 +1,23 @@
1
+ import { type ReactNode } from "react";
2
+ export interface Tab {
3
+ value: string;
4
+ label: ReactNode;
5
+ content: ReactNode;
6
+ count?: number;
7
+ }
8
+ export interface TabsProps {
9
+ tabs: Tab[];
10
+ value?: string;
11
+ defaultValue?: string;
12
+ onChange?: (value: string) => void;
13
+ /** `underline` (default): a bar that stretches between tabs. `pill`: a soft slab behind the active tab. */
14
+ variant?: "underline" | "pill";
15
+ label?: string;
16
+ className?: string;
17
+ }
18
+ /**
19
+ * Tabs on Base UI Tabs (roving focus, arrows, Home/End, ARIA wiring). The indicator stretches across the gap
20
+ * before snapping to the new tab (the leading edge moves first, the trailing edge follows), and panels cross-fade.
21
+ */
22
+ export declare function Tabs({ tabs, value, defaultValue, onChange, variant, label, className }: TabsProps): import("react").JSX.Element;
23
+ export default Tabs;
@@ -0,0 +1,20 @@
1
+ import { type ReactNode } from "react";
2
+ export type TooltipSide = "top" | "right" | "bottom" | "left";
3
+ export interface TooltipProps {
4
+ content: ReactNode;
5
+ side?: TooltipSide;
6
+ /** First-open delay in ms. Later tooltips open instantly while "warm". */
7
+ delay?: number;
8
+ /** Optional shortcut shown at the end, e.g. "⌘S". */
9
+ shortcut?: string;
10
+ /** A focusable element (a button, a link). Anything else gets wrapped in a span. */
11
+ children: ReactNode;
12
+ /** Extra classes for the tooltip bubble. */
13
+ className?: string;
14
+ }
15
+ /**
16
+ * A tooltip on Base UI Tooltip: shows on hover or keyboard focus, hides on leave, blur, press or Escape, and
17
+ * flips to the other side when it would leave the screen. After one has been shown, the next opens instantly.
18
+ */
19
+ export declare function Tooltip({ content, side, delay, shortcut, children, className }: TooltipProps): import("react").JSX.Element;
20
+ export default Tooltip;
@@ -0,0 +1,23 @@
1
+ export interface PromptModel {
2
+ id: string;
3
+ label: string;
4
+ detail?: string;
5
+ }
6
+ export interface PromptBoxProps {
7
+ models: PromptModel[];
8
+ defaultModel?: string;
9
+ placeholder?: string;
10
+ /** Rough token budget for the counter (≈ 4 characters per token). */
11
+ maxTokens?: number;
12
+ /** True while a response is being generated: the button becomes Stop. */
13
+ busy?: boolean;
14
+ onSubmit?: (prompt: {
15
+ text: string;
16
+ model: string;
17
+ }) => void;
18
+ onStop?: () => void;
19
+ className?: string;
20
+ }
21
+ /** aui-008 · A prompt box for AI features: model picker, token counter, and a Generate button that turns into Stop. */
22
+ export declare function PromptBox({ models, defaultModel, placeholder, maxTokens, busy, onSubmit, onStop, className }: PromptBoxProps): import("react").JSX.Element;
23
+ export default PromptBox;
@@ -0,0 +1,38 @@
1
+ import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from "react";
2
+ export type ButtonVariant = "solid" | "accent" | "outline" | "soft" | "ghost" | "link" | "danger";
3
+ export type ButtonSize = "xs" | "sm" | "md" | "lg";
4
+ interface Own {
5
+ variant?: ButtonVariant;
6
+ size?: ButtonSize;
7
+ /** `pill` rounds fully; `rounded` (default) keeps soft corners. */
8
+ shape?: "rounded" | "pill";
9
+ /** Shows a spinner over the label and keeps the button's width. */
10
+ loading?: boolean;
11
+ iconLeft?: ReactNode;
12
+ iconRight?: ReactNode;
13
+ /** Slide the trailing icon a little on hover. */
14
+ nudge?: boolean;
15
+ /** A square button holding only an icon (give it an `aria-label`). */
16
+ iconOnly?: boolean;
17
+ /** A keyboard hint at the end, e.g. "⌘K". */
18
+ kbd?: string;
19
+ /**
20
+ * Style the single child element as the button instead of rendering one (Radix Slot), e.g. a router link:
21
+ * `<Button asChild><Link href="/docs">Docs</Link></Button>`. Icons, `kbd` and `loading` are ignored.
22
+ */
23
+ asChild?: boolean;
24
+ className?: string;
25
+ children?: ReactNode;
26
+ }
27
+ export type ButtonProps = Own & ((Omit<ButtonHTMLAttributes<HTMLButtonElement>, keyof Own> & {
28
+ href?: undefined;
29
+ }) | (Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Own> & {
30
+ href: string;
31
+ }));
32
+ export declare function buttonClass({ variant, size, shape, iconOnly }?: Pick<Own, "variant" | "size" | "shape" | "iconOnly">): string;
33
+ export declare function Spinner({ className }: {
34
+ className?: string;
35
+ }): import("react").JSX.Element;
36
+ /** Renders an `<a>` when `href` is given, the child element with `asChild`, otherwise a `<button type="button">`. */
37
+ export declare function Button(props: ButtonProps): import("react").JSX.Element;
38
+ export default Button;
@@ -0,0 +1,19 @@
1
+ import { type ReactNode } from "react";
2
+ export type CheckedState = boolean | "indeterminate";
3
+ export interface CheckboxProps {
4
+ checked?: CheckedState;
5
+ defaultChecked?: CheckedState;
6
+ onCheckedChange?: (checked: boolean) => void;
7
+ disabled?: boolean;
8
+ label?: ReactNode;
9
+ description?: ReactNode;
10
+ id?: string;
11
+ name?: string;
12
+ className?: string;
13
+ }
14
+ /**
15
+ * A checkbox on Radix Checkbox (ARIA, Space to toggle, native form value through `name`) whose tick draws
16
+ * itself in. `indeterminate` shows a dash (for select-all rows).
17
+ */
18
+ export declare function Checkbox({ checked, defaultChecked, onCheckedChange, disabled, label, description, id, name, className }: CheckboxProps): import("react").JSX.Element;
19
+ export default Checkbox;
@@ -0,0 +1,38 @@
1
+ import { type ReactNode } from "react";
2
+ export interface Command {
3
+ id: string;
4
+ label: string;
5
+ group: string;
6
+ icon?: ReactNode;
7
+ /** Shortcut hint shown on the right, e.g. "⌘N". */
8
+ shortcut?: string;
9
+ /** Extra words that match as a plain substring, e.g. synonyms or a description. */
10
+ keywords?: string;
11
+ onSelect?: () => void;
12
+ }
13
+ /**
14
+ * Fuzzy match: every query letter must appear in order. Returns the matched indexes (for highlighting)
15
+ * and a score that prefers consecutive letters and word starts, or null when it doesn't match.
16
+ */
17
+ export declare function fuzzy(text: string, query: string): {
18
+ score: number;
19
+ hits: number[];
20
+ } | null;
21
+ export interface CommandPaletteProps {
22
+ open: boolean;
23
+ onOpenChange: (open: boolean) => void;
24
+ commands: Command[];
25
+ /** Order of groups; groups not listed follow in the order they appear. */
26
+ groups?: string[];
27
+ placeholder?: string;
28
+ /** `contained` positions it inside the nearest relative parent instead of over the whole page. */
29
+ contained?: boolean;
30
+ className?: string;
31
+ }
32
+ /**
33
+ * A command palette: grouped results, fuzzy filtering with matched letters highlighted, arrow keys and Enter.
34
+ * The modal part is Radix Dialog: focus is trapped, Escape or a click outside closes it, the page behind is
35
+ * hidden from screen readers and stops scrolling, and focus returns to whatever opened it.
36
+ */
37
+ export declare function CommandPalette({ open, onOpenChange, commands, groups, placeholder, contained, className }: CommandPaletteProps): import("react").JSX.Element;
38
+ export default CommandPalette;
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from "react";
2
+ export interface DialogProps {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ title: ReactNode;
6
+ description?: ReactNode;
7
+ children?: ReactNode;
8
+ /** Buttons row at the bottom. */
9
+ footer?: ReactNode;
10
+ /** Keep the overlay inside the nearest positioned parent instead of the whole viewport. */
11
+ contained?: boolean;
12
+ className?: string;
13
+ }
14
+ /**
15
+ * A modal on Radix Dialog that grows out of whatever opened it (the focused element when `open` turns true)
16
+ * and shrinks back into it on close. Radix traps focus, closes on Escape or a click outside, hides the rest
17
+ * of the page from screen readers and locks scrolling; focus goes back to the trigger afterwards.
18
+ * Put `data-autofocus` on the field that should take focus first.
19
+ */
20
+ export declare function Dialog({ open, onOpenChange, title, description, children, footer, contained, className }: DialogProps): import("react").JSX.Element | null;
21
+ export default Dialog;
@@ -0,0 +1,32 @@
1
+ import type { ReactNode } from "react";
2
+ import { type ButtonVariant } from "./button";
3
+ export interface MenuItem {
4
+ label: string;
5
+ icon?: ReactNode;
6
+ /** Shown on the right, e.g. "⌘D". Display only. */
7
+ shortcut?: string;
8
+ danger?: boolean;
9
+ disabled?: boolean;
10
+ onSelect?: () => void;
11
+ }
12
+ export interface MenuGroup {
13
+ label?: string;
14
+ items: MenuItem[];
15
+ }
16
+ export interface DropdownMenuProps {
17
+ /** Trigger content. */
18
+ children: ReactNode;
19
+ groups: MenuGroup[];
20
+ align?: "start" | "end";
21
+ variant?: ButtonVariant;
22
+ className?: string;
23
+ /** Accessible name for the trigger when its content is only an icon. */
24
+ label?: string;
25
+ }
26
+ /**
27
+ * An action menu on Radix Dropdown Menu. It scales in from the trigger (the origin follows the side it
28
+ * opened on) and flips when there is no room. Arrow keys, Home/End, type-ahead, Escape and focus return
29
+ * come from Radix.
30
+ */
31
+ export declare function DropdownMenu({ children, groups, align, variant, className, label }: DropdownMenuProps): import("react").JSX.Element;
32
+ export default DropdownMenu;
@@ -0,0 +1,19 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ export interface FieldProps {
3
+ label: ReactNode;
4
+ /** Help text under the input. Replaced by the error while there is one. */
5
+ hint?: ReactNode;
6
+ /** An error message. Each time it changes to a new message the field shakes once. */
7
+ error?: ReactNode;
8
+ required?: boolean;
9
+ /** Shown on the right of the label, e.g. "Optional" or a character count. */
10
+ aside?: ReactNode;
11
+ className?: string;
12
+ /** Any single input-like element. It receives `id`, `aria-describedby`, `aria-invalid` and `aria-required`. */
13
+ children: ReactElement<Record<string, unknown>>;
14
+ }
15
+ /** Label, hint and error around any input, wired up for screen readers. */
16
+ export declare function Field({ label, hint, error, required, aside, className, children }: FieldProps): import("react").JSX.Element;
17
+ /** A plain text input styled to match the kit, with error styling driven by `aria-invalid`. */
18
+ export declare const fieldInputClass: string;
19
+ export default Field;
@@ -0,0 +1,29 @@
1
+ import { type ReactNode } from "react";
2
+ export interface FooterColumn {
3
+ heading: string;
4
+ links: {
5
+ label: string;
6
+ href: string;
7
+ }[];
8
+ }
9
+ export interface FooterProps {
10
+ brand: ReactNode;
11
+ /** Big word along the bottom edge. */
12
+ wordmark: string;
13
+ columns: FooterColumn[];
14
+ tagline?: string;
15
+ /** Called with the email; resolve to confirm, reject to show an error. */
16
+ onSubscribe?: (email: string) => Promise<void>;
17
+ legal?: ReactNode;
18
+ className?: string;
19
+ }
20
+ /** Email field that turns into a confirmation in place. */
21
+ export declare function Newsletter({ onSubscribe }: {
22
+ onSubscribe?: (email: string) => Promise<void>;
23
+ }): import("react").JSX.Element;
24
+ /**
25
+ * Footer on an inverted panel: brand and newsletter, link columns, legal line and a big wordmark that
26
+ * reacts to the pointer. Columns go 2-up below 620px of container width (wrap it in `@container`).
27
+ */
28
+ export declare function Footer({ brand, wordmark, columns, tagline, onSubscribe, legal, className }: FooterProps): import("react").JSX.Element;
29
+ export default Footer;
@@ -0,0 +1,19 @@
1
+ import { type InputHTMLAttributes, type ReactNode } from "react";
2
+ export type InputState = "default" | "error" | "success";
3
+ export type InputSize = "sm" | "md" | "lg";
4
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
5
+ size?: InputSize;
6
+ state?: InputState;
7
+ iconLeft?: ReactNode;
8
+ iconRight?: ReactNode;
9
+ /** Shows a clear button while there is text. */
10
+ clearable?: boolean;
11
+ /** Extra classes for the outer frame. */
12
+ className?: string;
13
+ inputClassName?: string;
14
+ }
15
+ /** A text input in a frame that holds icons, a clear button and a state. Uncontrolled or controlled. */
16
+ export declare function Input({ size, state, iconLeft, iconRight, clearable, className, inputClassName, ...rest }: InputProps): import("react").JSX.Element;
17
+ /** Password field with a reveal toggle; the eye's lid blinks shut and open. */
18
+ export declare function PasswordInput(props: Omit<InputProps, "type" | "iconRight">): import("react").JSX.Element;
19
+ export default Input;
@@ -0,0 +1,26 @@
1
+ import { type ReactNode } from "react";
2
+ export interface KbdProps {
3
+ children: ReactNode;
4
+ size?: "sm" | "md" | "lg";
5
+ /** Force the pressed look. */
6
+ pressed?: boolean;
7
+ /** Press down when the matching real key is pressed (children must be a string like "K" or "⌘"). */
8
+ live?: boolean;
9
+ className?: string;
10
+ }
11
+ /** A key cap. A thicker bottom edge sinks when pressed. */
12
+ export declare function Kbd({ children, size, pressed, live, className }: KbdProps): import("react").JSX.Element;
13
+ /**
14
+ * A shortcut made of several keys. With `live`, each cap presses with its real key, and `onTrigger`
15
+ * fires when the whole combo is held at once.
16
+ */
17
+ export declare function KbdCombo({ keys, size, live, separator, onTrigger, className, }: {
18
+ keys: string[];
19
+ size?: KbdProps["size"];
20
+ live?: boolean;
21
+ /** Shown between caps, e.g. "+" or "then". Omit for none. */
22
+ separator?: ReactNode;
23
+ onTrigger?: () => void;
24
+ className?: string;
25
+ }): import("react").JSX.Element;
26
+ export default Kbd;
@@ -0,0 +1,30 @@
1
+ import { type ButtonHTMLAttributes, type ReactNode } from "react";
2
+ type Btn = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
3
+ children?: ReactNode;
4
+ };
5
+ /** The label rolls up letter by letter on hover, and the next copy rolls in from below. */
6
+ export declare function RollButton({ children, className, ...rest }: Btn & {
7
+ children: string;
8
+ }): import("react").JSX.Element;
9
+ /** A circle of colour grows from where the pointer came in and shrinks toward where it leaves. */
10
+ export declare function FillButton({ children, className, ...rest }: Btn): import("react").JSX.Element;
11
+ /** The arrow's circle grows to fill the button while the label slides over. */
12
+ export declare function ArrowButton({ children, className, ...rest }: Btn): import("react").JSX.Element;
13
+ /** A streak of light sweeps across on hover (and once on mount, as a hint). */
14
+ export declare function ShineButton({ children, className, ...rest }: Btn): import("react").JSX.Element;
15
+ /** A beam of light runs around the border forever; it speeds up on hover. */
16
+ export declare function BeamButton({ children, className, ...rest }: Btn): import("react").JSX.Element;
17
+ /** A chunky key with a visible edge: it travels down when pressed and springs back. */
18
+ export declare function PressButton({ children, className, ...rest }: Btn): import("react").JSX.Element;
19
+ /** Copies `value`; the icon morphs into a check and the label says so for a moment. */
20
+ export declare function CopyButton({ value, children, className, ...rest }: Btn & {
21
+ value: string;
22
+ }): import("react").JSX.Element;
23
+ /** Two-step destructive action: the first click asks, a draining bar shows how long you have, the second click confirms. */
24
+ export declare function ConfirmButton({ children, confirmLabel, doneLabel, timeout, onConfirm, className, ...rest }: Btn & {
25
+ confirmLabel?: string;
26
+ doneLabel?: string;
27
+ timeout?: number;
28
+ onConfirm?: () => void;
29
+ }): import("react").JSX.Element;
30
+ export default RollButton;