asta-ui 0.3.0 → 0.5.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 (459) hide show
  1. package/dist/accordion.js +1 -1
  2. package/dist/base/card-checkout.js +1 -1
  3. package/dist/base/checkbox-aui-052.d.ts +2 -0
  4. package/dist/base/checkbox-aui-052.js +9 -0
  5. package/dist/base/checkbox-aui-053.d.ts +2 -0
  6. package/dist/base/checkbox-aui-053.js +9 -0
  7. package/dist/base/checkbox-aui-054.d.ts +2 -0
  8. package/dist/base/checkbox-aui-054.js +9 -0
  9. package/dist/base/combobox-aui-046.d.ts +2 -0
  10. package/dist/base/combobox-aui-046.js +9 -0
  11. package/dist/base/combobox-aui-047.d.ts +2 -0
  12. package/dist/base/combobox-aui-047.js +9 -0
  13. package/dist/base/date-picker-aui-050.d.ts +2 -0
  14. package/dist/base/date-picker-aui-050.js +9 -0
  15. package/dist/base/date-picker-aui-051.d.ts +2 -0
  16. package/dist/base/date-picker-aui-051.js +9 -0
  17. package/dist/base/footer-aui-025.d.ts +2 -0
  18. package/dist/base/footer-aui-025.js +9 -0
  19. package/dist/base/footer-aui-026.d.ts +2 -0
  20. package/dist/base/footer-aui-026.js +9 -0
  21. package/dist/base/footer-aui-027.d.ts +2 -0
  22. package/dist/base/footer-aui-027.js +9 -0
  23. package/dist/base/footer-aui-028.d.ts +2 -0
  24. package/dist/base/footer-aui-028.js +9 -0
  25. package/dist/base/input-aui-029.d.ts +2 -0
  26. package/dist/base/input-aui-029.js +9 -0
  27. package/dist/base/input-aui-030.d.ts +2 -0
  28. package/dist/base/input-aui-030.js +9 -0
  29. package/dist/base/input-aui-031.d.ts +2 -0
  30. package/dist/base/input-aui-031.js +9 -0
  31. package/dist/base/input-aui-032.d.ts +2 -0
  32. package/dist/base/input-aui-032.js +11 -0
  33. package/dist/base/input-aui-033.d.ts +2 -0
  34. package/dist/base/input-aui-033.js +11 -0
  35. package/dist/base/input-aui-034.d.ts +2 -0
  36. package/dist/base/input-aui-034.js +9 -0
  37. package/dist/base/navbar-aui-009.d.ts +2 -0
  38. package/dist/base/navbar-aui-009.js +9 -0
  39. package/dist/base/navbar-aui-010.d.ts +2 -0
  40. package/dist/base/navbar-aui-010.js +9 -0
  41. package/dist/base/navbar-aui-011.d.ts +2 -0
  42. package/dist/base/navbar-aui-011.js +9 -0
  43. package/dist/base/navbar-aui-012.d.ts +2 -0
  44. package/dist/base/navbar-aui-012.js +9 -0
  45. package/dist/base/navbar-aui-013.d.ts +2 -0
  46. package/dist/base/navbar-aui-013.js +9 -0
  47. package/dist/base/navbar-aui-014.d.ts +2 -0
  48. package/dist/base/navbar-aui-014.js +9 -0
  49. package/dist/base/now-playing.js +1 -1
  50. package/dist/base/otp-input-aui-041.d.ts +2 -0
  51. package/dist/base/otp-input-aui-041.js +9 -0
  52. package/dist/base/otp-input-aui-042.d.ts +2 -0
  53. package/dist/base/otp-input-aui-042.js +9 -0
  54. package/dist/base/password-input-aui-039.d.ts +2 -0
  55. package/dist/base/password-input-aui-039.js +9 -0
  56. package/dist/base/password-input-aui-040.d.ts +2 -0
  57. package/dist/base/password-input-aui-040.js +11 -0
  58. package/dist/base/payment-received.js +1 -1
  59. package/dist/base/pricing-aui-021.d.ts +2 -0
  60. package/dist/base/pricing-aui-021.js +9 -0
  61. package/dist/base/pricing-aui-022.d.ts +2 -0
  62. package/dist/base/pricing-aui-022.js +9 -0
  63. package/dist/base/pricing-aui-023.d.ts +2 -0
  64. package/dist/base/pricing-aui-023.js +9 -0
  65. package/dist/base/pricing-aui-024.d.ts +2 -0
  66. package/dist/base/pricing-aui-024.js +9 -0
  67. package/dist/base/radio-group-aui-055.d.ts +2 -0
  68. package/dist/base/radio-group-aui-055.js +9 -0
  69. package/dist/base/radio-group-aui-056.d.ts +2 -0
  70. package/dist/base/radio-group-aui-056.js +9 -0
  71. package/dist/base/radio-group-aui-057.d.ts +2 -0
  72. package/dist/base/radio-group-aui-057.js +9 -0
  73. package/dist/base/select-aui-043.d.ts +2 -0
  74. package/dist/base/select-aui-043.js +9 -0
  75. package/dist/base/select-aui-044.d.ts +2 -0
  76. package/dist/base/select-aui-044.js +9 -0
  77. package/dist/base/select-aui-045.d.ts +2 -0
  78. package/dist/base/select-aui-045.js +9 -0
  79. package/dist/base/sign-in-aui-015.d.ts +2 -0
  80. package/dist/base/sign-in-aui-015.js +9 -0
  81. package/dist/base/sign-in-aui-016.d.ts +2 -0
  82. package/dist/base/sign-in-aui-016.js +9 -0
  83. package/dist/base/sign-in-aui-017.d.ts +2 -0
  84. package/dist/base/sign-in-aui-017.js +9 -0
  85. package/dist/base/sign-in-aui-018.d.ts +2 -0
  86. package/dist/base/sign-in-aui-018.js +9 -0
  87. package/dist/base/sign-in-aui-019.d.ts +2 -0
  88. package/dist/base/sign-in-aui-019.js +9 -0
  89. package/dist/base/sign-in-aui-020.d.ts +2 -0
  90. package/dist/base/sign-in-aui-020.js +9 -0
  91. package/dist/base/slider-aui-061.d.ts +2 -0
  92. package/dist/base/slider-aui-061.js +9 -0
  93. package/dist/base/slider-aui-062.d.ts +2 -0
  94. package/dist/base/slider-aui-062.js +9 -0
  95. package/dist/base/slider-aui-063.d.ts +2 -0
  96. package/dist/base/slider-aui-063.js +9 -0
  97. package/dist/base/spinner.js +1 -1
  98. package/dist/base/switch-aui-058.d.ts +2 -0
  99. package/dist/base/switch-aui-058.js +9 -0
  100. package/dist/base/switch-aui-059.d.ts +2 -0
  101. package/dist/base/switch-aui-059.js +9 -0
  102. package/dist/base/switch-aui-060.d.ts +2 -0
  103. package/dist/base/switch-aui-060.js +9 -0
  104. package/dist/base/tag-input-aui-048.d.ts +2 -0
  105. package/dist/base/tag-input-aui-048.js +9 -0
  106. package/dist/base/tag-input-aui-049.d.ts +2 -0
  107. package/dist/base/tag-input-aui-049.js +9 -0
  108. package/dist/base/textarea-aui-035.d.ts +2 -0
  109. package/dist/base/textarea-aui-035.js +9 -0
  110. package/dist/base/textarea-aui-036.d.ts +2 -0
  111. package/dist/base/textarea-aui-036.js +9 -0
  112. package/dist/base/textarea-aui-037.d.ts +2 -0
  113. package/dist/base/textarea-aui-037.js +9 -0
  114. package/dist/base/textarea-aui-038.d.ts +2 -0
  115. package/dist/base/textarea-aui-038.js +11 -0
  116. package/dist/base.js +360 -22
  117. package/dist/card-checkout.js +1 -1
  118. package/dist/checkbox-aui-052.d.ts +2 -0
  119. package/dist/checkbox-aui-052.js +9 -0
  120. package/dist/checkbox-aui-053.d.ts +2 -0
  121. package/dist/checkbox-aui-053.js +9 -0
  122. package/dist/checkbox-aui-054.d.ts +2 -0
  123. package/dist/checkbox-aui-054.js +9 -0
  124. package/dist/chunk-2LSUWI2Z.js +180 -0
  125. package/dist/chunk-2SQQFICY.js +493 -0
  126. package/dist/chunk-3XMVXIOF.js +267 -0
  127. package/dist/chunk-4YNUJFTL.js +165 -0
  128. package/dist/chunk-5OHHGQV6.js +175 -0
  129. package/dist/chunk-5TMFFW3Y.js +149 -0
  130. package/dist/{chunk-QJXPS55V.js → chunk-5TSQZY34.js} +1 -1
  131. package/dist/chunk-5U4H2CXC.js +308 -0
  132. package/dist/chunk-5WGDQ62P.js +122 -0
  133. package/dist/chunk-6B6NTRMC.js +293 -0
  134. package/dist/chunk-6NNHSXFD.js +539 -0
  135. package/dist/chunk-746WX2DF.js +480 -0
  136. package/dist/chunk-7GKCX4IE.js +636 -0
  137. package/dist/chunk-7SNVRPED.js +223 -0
  138. package/dist/chunk-ANZANDQM.js +107 -0
  139. package/dist/chunk-BGVAXPHD.js +305 -0
  140. package/dist/chunk-BIYNJDPD.js +158 -0
  141. package/dist/chunk-BV5HEXB5.js +339 -0
  142. package/dist/chunk-CDQNLDO6.js +156 -0
  143. package/dist/chunk-CZCZB5YP.js +142 -0
  144. package/dist/chunk-D6LGKFZH.js +140 -0
  145. package/dist/chunk-EKPTPTKK.js +93 -0
  146. package/dist/chunk-EVCUN45S.js +167 -0
  147. package/dist/chunk-F526V5BA.js +254 -0
  148. package/dist/chunk-FGQPCDXI.js +136 -0
  149. package/dist/chunk-GERWW3CA.js +311 -0
  150. package/dist/chunk-GJ3R6IZL.js +232 -0
  151. package/dist/chunk-HVFB44HO.js +219 -0
  152. package/dist/chunk-I2WXKWTQ.js +151 -0
  153. package/dist/chunk-J6GK2V2C.js +252 -0
  154. package/dist/chunk-JVTDNOHQ.js +173 -0
  155. package/dist/chunk-K5PWBSVO.js +200 -0
  156. package/dist/chunk-KQCXQY5K.js +155 -0
  157. package/dist/chunk-KXWC2UHE.js +308 -0
  158. package/dist/chunk-LPTY5WXM.js +231 -0
  159. package/dist/chunk-MDI73RL6.js +245 -0
  160. package/dist/chunk-MUDW65ZT.js +220 -0
  161. package/dist/chunk-NICNFGHT.js +138 -0
  162. package/dist/chunk-NZRQL3SA.js +201 -0
  163. package/dist/chunk-OFYGJUKP.js +278 -0
  164. package/dist/{chunk-NDBLIYMX.js → chunk-OKCSTMX3.js} +2 -2
  165. package/dist/chunk-P37H477M.js +236 -0
  166. package/dist/chunk-P3USWDWR.js +331 -0
  167. package/dist/chunk-QSLS3ENY.js +469 -0
  168. package/dist/chunk-QYI7LQBQ.js +208 -0
  169. package/dist/chunk-RRHQBGRO.js +327 -0
  170. package/dist/chunk-U6N7CZYN.js +305 -0
  171. package/dist/{chunk-2OGTIQVU.js → chunk-UEOEWP7L.js} +1 -1
  172. package/dist/chunk-UMDVPRJW.js +117 -0
  173. package/dist/{chunk-BP3LXM3X.js → chunk-UTGEGGSE.js} +1 -1
  174. package/dist/chunk-VPZP6TCT.js +155 -0
  175. package/dist/chunk-VVAL2JZJ.js +332 -0
  176. package/dist/chunk-VWYHP4SB.js +154 -0
  177. package/dist/chunk-W7RITVDV.js +182 -0
  178. package/dist/chunk-WNPMHOXE.js +136 -0
  179. package/dist/chunk-WSTQ6WZO.js +193 -0
  180. package/dist/chunk-WTNNS7AX.js +362 -0
  181. package/dist/{chunk-AS6RA64I.js → chunk-XTP6ITUJ.js} +3 -1
  182. package/dist/chunk-Z5GNX2S3.js +171 -0
  183. package/dist/chunk-ZBF2UYXP.js +225 -0
  184. package/dist/combobox-aui-046.d.ts +2 -0
  185. package/dist/combobox-aui-046.js +9 -0
  186. package/dist/combobox-aui-047.d.ts +2 -0
  187. package/dist/combobox-aui-047.js +9 -0
  188. package/dist/date-picker-aui-050.d.ts +2 -0
  189. package/dist/date-picker-aui-050.js +9 -0
  190. package/dist/date-picker-aui-051.d.ts +2 -0
  191. package/dist/date-picker-aui-051.js +9 -0
  192. package/dist/footer-aui-025.d.ts +2 -0
  193. package/dist/footer-aui-025.js +9 -0
  194. package/dist/footer-aui-026.d.ts +2 -0
  195. package/dist/footer-aui-026.js +9 -0
  196. package/dist/footer-aui-027.d.ts +2 -0
  197. package/dist/footer-aui-027.js +9 -0
  198. package/dist/footer-aui-028.d.ts +2 -0
  199. package/dist/footer-aui-028.js +9 -0
  200. package/dist/index.js +361 -23
  201. package/dist/input-aui-029.d.ts +2 -0
  202. package/dist/input-aui-029.js +9 -0
  203. package/dist/input-aui-030.d.ts +2 -0
  204. package/dist/input-aui-030.js +9 -0
  205. package/dist/input-aui-031.d.ts +2 -0
  206. package/dist/input-aui-031.js +9 -0
  207. package/dist/input-aui-032.d.ts +2 -0
  208. package/dist/input-aui-032.js +11 -0
  209. package/dist/input-aui-033.d.ts +2 -0
  210. package/dist/input-aui-033.js +11 -0
  211. package/dist/input-aui-034.d.ts +2 -0
  212. package/dist/input-aui-034.js +9 -0
  213. package/dist/navbar-aui-009.d.ts +2 -0
  214. package/dist/navbar-aui-009.js +9 -0
  215. package/dist/navbar-aui-010.d.ts +2 -0
  216. package/dist/navbar-aui-010.js +9 -0
  217. package/dist/navbar-aui-011.d.ts +2 -0
  218. package/dist/navbar-aui-011.js +9 -0
  219. package/dist/navbar-aui-012.d.ts +2 -0
  220. package/dist/navbar-aui-012.js +9 -0
  221. package/dist/navbar-aui-013.d.ts +2 -0
  222. package/dist/navbar-aui-013.js +9 -0
  223. package/dist/navbar-aui-014.d.ts +2 -0
  224. package/dist/navbar-aui-014.js +9 -0
  225. package/dist/now-playing.js +1 -1
  226. package/dist/otp-input-aui-041.d.ts +2 -0
  227. package/dist/otp-input-aui-041.js +9 -0
  228. package/dist/otp-input-aui-042.d.ts +2 -0
  229. package/dist/otp-input-aui-042.js +9 -0
  230. package/dist/password-input-aui-039.d.ts +2 -0
  231. package/dist/password-input-aui-039.js +9 -0
  232. package/dist/password-input-aui-040.d.ts +2 -0
  233. package/dist/password-input-aui-040.js +11 -0
  234. package/dist/payment-received.js +1 -1
  235. package/dist/pricing-aui-021.d.ts +2 -0
  236. package/dist/pricing-aui-021.js +9 -0
  237. package/dist/pricing-aui-022.d.ts +2 -0
  238. package/dist/pricing-aui-022.js +9 -0
  239. package/dist/pricing-aui-023.d.ts +2 -0
  240. package/dist/pricing-aui-023.js +9 -0
  241. package/dist/pricing-aui-024.d.ts +2 -0
  242. package/dist/pricing-aui-024.js +9 -0
  243. package/dist/radio-group-aui-055.d.ts +2 -0
  244. package/dist/radio-group-aui-055.js +9 -0
  245. package/dist/radio-group-aui-056.d.ts +2 -0
  246. package/dist/radio-group-aui-056.js +9 -0
  247. package/dist/radio-group-aui-057.d.ts +2 -0
  248. package/dist/radio-group-aui-057.js +9 -0
  249. package/dist/select-aui-043.d.ts +2 -0
  250. package/dist/select-aui-043.js +9 -0
  251. package/dist/select-aui-044.d.ts +2 -0
  252. package/dist/select-aui-044.js +9 -0
  253. package/dist/select-aui-045.d.ts +2 -0
  254. package/dist/select-aui-045.js +9 -0
  255. package/dist/sign-in-aui-015.d.ts +2 -0
  256. package/dist/sign-in-aui-015.js +9 -0
  257. package/dist/sign-in-aui-016.d.ts +2 -0
  258. package/dist/sign-in-aui-016.js +9 -0
  259. package/dist/sign-in-aui-017.d.ts +2 -0
  260. package/dist/sign-in-aui-017.js +9 -0
  261. package/dist/sign-in-aui-018.d.ts +2 -0
  262. package/dist/sign-in-aui-018.js +9 -0
  263. package/dist/sign-in-aui-019.d.ts +2 -0
  264. package/dist/sign-in-aui-019.js +9 -0
  265. package/dist/sign-in-aui-020.d.ts +2 -0
  266. package/dist/sign-in-aui-020.js +9 -0
  267. package/dist/slider-aui-061.d.ts +2 -0
  268. package/dist/slider-aui-061.js +9 -0
  269. package/dist/slider-aui-062.d.ts +2 -0
  270. package/dist/slider-aui-062.js +9 -0
  271. package/dist/slider-aui-063.d.ts +2 -0
  272. package/dist/slider-aui-063.js +9 -0
  273. package/dist/spinner.js +1 -1
  274. package/dist/switch-aui-058.d.ts +2 -0
  275. package/dist/switch-aui-058.js +9 -0
  276. package/dist/switch-aui-059.d.ts +2 -0
  277. package/dist/switch-aui-059.js +9 -0
  278. package/dist/switch-aui-060.d.ts +2 -0
  279. package/dist/switch-aui-060.js +9 -0
  280. package/dist/tag-input-aui-048.d.ts +2 -0
  281. package/dist/tag-input-aui-048.js +9 -0
  282. package/dist/tag-input-aui-049.d.ts +2 -0
  283. package/dist/tag-input-aui-049.js +9 -0
  284. package/dist/textarea-aui-035.d.ts +2 -0
  285. package/dist/textarea-aui-035.js +9 -0
  286. package/dist/textarea-aui-036.d.ts +2 -0
  287. package/dist/textarea-aui-036.js +9 -0
  288. package/dist/textarea-aui-037.d.ts +2 -0
  289. package/dist/textarea-aui-037.js +9 -0
  290. package/dist/textarea-aui-038.d.ts +2 -0
  291. package/dist/textarea-aui-038.js +11 -0
  292. package/dist/types/components/kit/variants/checkbox-aui-052.d.ts +29 -0
  293. package/dist/types/components/kit/variants/checkbox-aui-053.d.ts +24 -0
  294. package/dist/types/components/kit/variants/checkbox-aui-054.d.ts +33 -0
  295. package/dist/types/components/kit/variants/combobox-aui-046.d.ts +23 -0
  296. package/dist/types/components/kit/variants/combobox-aui-047.d.ts +24 -0
  297. package/dist/types/components/kit/variants/date-picker-aui-050.d.ts +26 -0
  298. package/dist/types/components/kit/variants/date-picker-aui-051.d.ts +23 -0
  299. package/dist/types/components/kit/variants/footer-aui-025.d.ts +22 -0
  300. package/dist/types/components/kit/variants/footer-aui-026.d.ts +21 -0
  301. package/dist/types/components/kit/variants/footer-aui-027.d.ts +36 -0
  302. package/dist/types/components/kit/variants/footer-aui-028.d.ts +34 -0
  303. package/dist/types/components/kit/variants/input-aui-029.d.ts +21 -0
  304. package/dist/types/components/kit/variants/input-aui-030.d.ts +29 -0
  305. package/dist/types/components/kit/variants/input-aui-031.d.ts +24 -0
  306. package/dist/types/components/kit/variants/input-aui-032.d.ts +36 -0
  307. package/dist/types/components/kit/variants/input-aui-033.d.ts +23 -0
  308. package/dist/types/components/kit/variants/input-aui-034.d.ts +29 -0
  309. package/dist/types/components/kit/variants/navbar-aui-009.d.ts +62 -0
  310. package/dist/types/components/kit/variants/navbar-aui-010.d.ts +30 -0
  311. package/dist/types/components/kit/variants/navbar-aui-011.d.ts +65 -0
  312. package/dist/types/components/kit/variants/navbar-aui-012.d.ts +50 -0
  313. package/dist/types/components/kit/variants/navbar-aui-013.d.ts +70 -0
  314. package/dist/types/components/kit/variants/navbar-aui-014.d.ts +31 -0
  315. package/dist/types/components/kit/variants/otp-input-aui-041.d.ts +20 -0
  316. package/dist/types/components/kit/variants/otp-input-aui-042.d.ts +23 -0
  317. package/dist/types/components/kit/variants/password-input-aui-039.d.ts +16 -0
  318. package/dist/types/components/kit/variants/password-input-aui-040.d.ts +24 -0
  319. package/dist/types/components/kit/variants/pricing-aui-021.d.ts +30 -0
  320. package/dist/types/components/kit/variants/pricing-aui-022.d.ts +34 -0
  321. package/dist/types/components/kit/variants/pricing-aui-023.d.ts +26 -0
  322. package/dist/types/components/kit/variants/pricing-aui-024.d.ts +29 -0
  323. package/dist/types/components/kit/variants/radio-group-aui-055.d.ts +27 -0
  324. package/dist/types/components/kit/variants/radio-group-aui-056.d.ts +28 -0
  325. package/dist/types/components/kit/variants/radio-group-aui-057.d.ts +26 -0
  326. package/dist/types/components/kit/variants/select-aui-043.d.ts +29 -0
  327. package/dist/types/components/kit/variants/select-aui-044.d.ts +24 -0
  328. package/dist/types/components/kit/variants/select-aui-045.d.ts +29 -0
  329. package/dist/types/components/kit/variants/sign-in-aui-015.d.ts +21 -0
  330. package/dist/types/components/kit/variants/sign-in-aui-016.d.ts +28 -0
  331. package/dist/types/components/kit/variants/sign-in-aui-017.d.ts +21 -0
  332. package/dist/types/components/kit/variants/sign-in-aui-018.d.ts +22 -0
  333. package/dist/types/components/kit/variants/sign-in-aui-019.d.ts +22 -0
  334. package/dist/types/components/kit/variants/sign-in-aui-020.d.ts +27 -0
  335. package/dist/types/components/kit/variants/slider-aui-061.d.ts +20 -0
  336. package/dist/types/components/kit/variants/slider-aui-062.d.ts +24 -0
  337. package/dist/types/components/kit/variants/slider-aui-063.d.ts +17 -0
  338. package/dist/types/components/kit/variants/switch-aui-058.d.ts +24 -0
  339. package/dist/types/components/kit/variants/switch-aui-059.d.ts +20 -0
  340. package/dist/types/components/kit/variants/switch-aui-060.d.ts +15 -0
  341. package/dist/types/components/kit/variants/tag-input-aui-048.d.ts +16 -0
  342. package/dist/types/components/kit/variants/tag-input-aui-049.d.ts +15 -0
  343. package/dist/types/components/kit/variants/textarea-aui-035.d.ts +19 -0
  344. package/dist/types/components/kit/variants/textarea-aui-036.d.ts +23 -0
  345. package/dist/types/components/kit/variants/textarea-aui-037.d.ts +30 -0
  346. package/dist/types/components/kit/variants/textarea-aui-038.d.ts +28 -0
  347. package/dist/types/packages/asta-ui/src/base/checkbox-aui-052.d.ts +2 -0
  348. package/dist/types/packages/asta-ui/src/base/checkbox-aui-053.d.ts +2 -0
  349. package/dist/types/packages/asta-ui/src/base/checkbox-aui-054.d.ts +2 -0
  350. package/dist/types/packages/asta-ui/src/base/combobox-aui-046.d.ts +2 -0
  351. package/dist/types/packages/asta-ui/src/base/combobox-aui-047.d.ts +2 -0
  352. package/dist/types/packages/asta-ui/src/base/date-picker-aui-050.d.ts +2 -0
  353. package/dist/types/packages/asta-ui/src/base/date-picker-aui-051.d.ts +2 -0
  354. package/dist/types/packages/asta-ui/src/base/footer-aui-025.d.ts +2 -0
  355. package/dist/types/packages/asta-ui/src/base/footer-aui-026.d.ts +2 -0
  356. package/dist/types/packages/asta-ui/src/base/footer-aui-027.d.ts +2 -0
  357. package/dist/types/packages/asta-ui/src/base/footer-aui-028.d.ts +2 -0
  358. package/dist/types/packages/asta-ui/src/base/input-aui-029.d.ts +2 -0
  359. package/dist/types/packages/asta-ui/src/base/input-aui-030.d.ts +2 -0
  360. package/dist/types/packages/asta-ui/src/base/input-aui-031.d.ts +2 -0
  361. package/dist/types/packages/asta-ui/src/base/input-aui-032.d.ts +2 -0
  362. package/dist/types/packages/asta-ui/src/base/input-aui-033.d.ts +2 -0
  363. package/dist/types/packages/asta-ui/src/base/input-aui-034.d.ts +2 -0
  364. package/dist/types/packages/asta-ui/src/base/navbar-aui-009.d.ts +2 -0
  365. package/dist/types/packages/asta-ui/src/base/navbar-aui-010.d.ts +2 -0
  366. package/dist/types/packages/asta-ui/src/base/navbar-aui-011.d.ts +2 -0
  367. package/dist/types/packages/asta-ui/src/base/navbar-aui-012.d.ts +2 -0
  368. package/dist/types/packages/asta-ui/src/base/navbar-aui-013.d.ts +2 -0
  369. package/dist/types/packages/asta-ui/src/base/navbar-aui-014.d.ts +2 -0
  370. package/dist/types/packages/asta-ui/src/base/otp-input-aui-041.d.ts +2 -0
  371. package/dist/types/packages/asta-ui/src/base/otp-input-aui-042.d.ts +2 -0
  372. package/dist/types/packages/asta-ui/src/base/password-input-aui-039.d.ts +2 -0
  373. package/dist/types/packages/asta-ui/src/base/password-input-aui-040.d.ts +2 -0
  374. package/dist/types/packages/asta-ui/src/base/pricing-aui-021.d.ts +2 -0
  375. package/dist/types/packages/asta-ui/src/base/pricing-aui-022.d.ts +2 -0
  376. package/dist/types/packages/asta-ui/src/base/pricing-aui-023.d.ts +2 -0
  377. package/dist/types/packages/asta-ui/src/base/pricing-aui-024.d.ts +2 -0
  378. package/dist/types/packages/asta-ui/src/base/radio-group-aui-055.d.ts +2 -0
  379. package/dist/types/packages/asta-ui/src/base/radio-group-aui-056.d.ts +2 -0
  380. package/dist/types/packages/asta-ui/src/base/radio-group-aui-057.d.ts +2 -0
  381. package/dist/types/packages/asta-ui/src/base/select-aui-043.d.ts +2 -0
  382. package/dist/types/packages/asta-ui/src/base/select-aui-044.d.ts +2 -0
  383. package/dist/types/packages/asta-ui/src/base/select-aui-045.d.ts +2 -0
  384. package/dist/types/packages/asta-ui/src/base/sign-in-aui-015.d.ts +2 -0
  385. package/dist/types/packages/asta-ui/src/base/sign-in-aui-016.d.ts +2 -0
  386. package/dist/types/packages/asta-ui/src/base/sign-in-aui-017.d.ts +2 -0
  387. package/dist/types/packages/asta-ui/src/base/sign-in-aui-018.d.ts +2 -0
  388. package/dist/types/packages/asta-ui/src/base/sign-in-aui-019.d.ts +2 -0
  389. package/dist/types/packages/asta-ui/src/base/sign-in-aui-020.d.ts +2 -0
  390. package/dist/types/packages/asta-ui/src/base/slider-aui-061.d.ts +2 -0
  391. package/dist/types/packages/asta-ui/src/base/slider-aui-062.d.ts +2 -0
  392. package/dist/types/packages/asta-ui/src/base/slider-aui-063.d.ts +2 -0
  393. package/dist/types/packages/asta-ui/src/base/switch-aui-058.d.ts +2 -0
  394. package/dist/types/packages/asta-ui/src/base/switch-aui-059.d.ts +2 -0
  395. package/dist/types/packages/asta-ui/src/base/switch-aui-060.d.ts +2 -0
  396. package/dist/types/packages/asta-ui/src/base/tag-input-aui-048.d.ts +2 -0
  397. package/dist/types/packages/asta-ui/src/base/tag-input-aui-049.d.ts +2 -0
  398. package/dist/types/packages/asta-ui/src/base/textarea-aui-035.d.ts +2 -0
  399. package/dist/types/packages/asta-ui/src/base/textarea-aui-036.d.ts +2 -0
  400. package/dist/types/packages/asta-ui/src/base/textarea-aui-037.d.ts +2 -0
  401. package/dist/types/packages/asta-ui/src/base/textarea-aui-038.d.ts +2 -0
  402. package/dist/types/packages/asta-ui/src/base.d.ts +110 -0
  403. package/dist/types/packages/asta-ui/src/checkbox-aui-052.d.ts +2 -0
  404. package/dist/types/packages/asta-ui/src/checkbox-aui-053.d.ts +2 -0
  405. package/dist/types/packages/asta-ui/src/checkbox-aui-054.d.ts +2 -0
  406. package/dist/types/packages/asta-ui/src/combobox-aui-046.d.ts +2 -0
  407. package/dist/types/packages/asta-ui/src/combobox-aui-047.d.ts +2 -0
  408. package/dist/types/packages/asta-ui/src/date-picker-aui-050.d.ts +2 -0
  409. package/dist/types/packages/asta-ui/src/date-picker-aui-051.d.ts +2 -0
  410. package/dist/types/packages/asta-ui/src/footer-aui-025.d.ts +2 -0
  411. package/dist/types/packages/asta-ui/src/footer-aui-026.d.ts +2 -0
  412. package/dist/types/packages/asta-ui/src/footer-aui-027.d.ts +2 -0
  413. package/dist/types/packages/asta-ui/src/footer-aui-028.d.ts +2 -0
  414. package/dist/types/packages/asta-ui/src/index.d.ts +110 -0
  415. package/dist/types/packages/asta-ui/src/input-aui-029.d.ts +2 -0
  416. package/dist/types/packages/asta-ui/src/input-aui-030.d.ts +2 -0
  417. package/dist/types/packages/asta-ui/src/input-aui-031.d.ts +2 -0
  418. package/dist/types/packages/asta-ui/src/input-aui-032.d.ts +2 -0
  419. package/dist/types/packages/asta-ui/src/input-aui-033.d.ts +2 -0
  420. package/dist/types/packages/asta-ui/src/input-aui-034.d.ts +2 -0
  421. package/dist/types/packages/asta-ui/src/navbar-aui-009.d.ts +2 -0
  422. package/dist/types/packages/asta-ui/src/navbar-aui-010.d.ts +2 -0
  423. package/dist/types/packages/asta-ui/src/navbar-aui-011.d.ts +2 -0
  424. package/dist/types/packages/asta-ui/src/navbar-aui-012.d.ts +2 -0
  425. package/dist/types/packages/asta-ui/src/navbar-aui-013.d.ts +2 -0
  426. package/dist/types/packages/asta-ui/src/navbar-aui-014.d.ts +2 -0
  427. package/dist/types/packages/asta-ui/src/otp-input-aui-041.d.ts +2 -0
  428. package/dist/types/packages/asta-ui/src/otp-input-aui-042.d.ts +2 -0
  429. package/dist/types/packages/asta-ui/src/password-input-aui-039.d.ts +2 -0
  430. package/dist/types/packages/asta-ui/src/password-input-aui-040.d.ts +2 -0
  431. package/dist/types/packages/asta-ui/src/pricing-aui-021.d.ts +2 -0
  432. package/dist/types/packages/asta-ui/src/pricing-aui-022.d.ts +2 -0
  433. package/dist/types/packages/asta-ui/src/pricing-aui-023.d.ts +2 -0
  434. package/dist/types/packages/asta-ui/src/pricing-aui-024.d.ts +2 -0
  435. package/dist/types/packages/asta-ui/src/radio-group-aui-055.d.ts +2 -0
  436. package/dist/types/packages/asta-ui/src/radio-group-aui-056.d.ts +2 -0
  437. package/dist/types/packages/asta-ui/src/radio-group-aui-057.d.ts +2 -0
  438. package/dist/types/packages/asta-ui/src/select-aui-043.d.ts +2 -0
  439. package/dist/types/packages/asta-ui/src/select-aui-044.d.ts +2 -0
  440. package/dist/types/packages/asta-ui/src/select-aui-045.d.ts +2 -0
  441. package/dist/types/packages/asta-ui/src/sign-in-aui-015.d.ts +2 -0
  442. package/dist/types/packages/asta-ui/src/sign-in-aui-016.d.ts +2 -0
  443. package/dist/types/packages/asta-ui/src/sign-in-aui-017.d.ts +2 -0
  444. package/dist/types/packages/asta-ui/src/sign-in-aui-018.d.ts +2 -0
  445. package/dist/types/packages/asta-ui/src/sign-in-aui-019.d.ts +2 -0
  446. package/dist/types/packages/asta-ui/src/sign-in-aui-020.d.ts +2 -0
  447. package/dist/types/packages/asta-ui/src/slider-aui-061.d.ts +2 -0
  448. package/dist/types/packages/asta-ui/src/slider-aui-062.d.ts +2 -0
  449. package/dist/types/packages/asta-ui/src/slider-aui-063.d.ts +2 -0
  450. package/dist/types/packages/asta-ui/src/switch-aui-058.d.ts +2 -0
  451. package/dist/types/packages/asta-ui/src/switch-aui-059.d.ts +2 -0
  452. package/dist/types/packages/asta-ui/src/switch-aui-060.d.ts +2 -0
  453. package/dist/types/packages/asta-ui/src/tag-input-aui-048.d.ts +2 -0
  454. package/dist/types/packages/asta-ui/src/tag-input-aui-049.d.ts +2 -0
  455. package/dist/types/packages/asta-ui/src/textarea-aui-035.d.ts +2 -0
  456. package/dist/types/packages/asta-ui/src/textarea-aui-036.d.ts +2 -0
  457. package/dist/types/packages/asta-ui/src/textarea-aui-037.d.ts +2 -0
  458. package/dist/types/packages/asta-ui/src/textarea-aui-038.d.ts +2 -0
  459. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ export interface TaskItem {
2
+ id: string;
3
+ title: string;
4
+ /** Small line under the title, e.g. a due time. */
5
+ meta?: string;
6
+ /** Initials of the owner, shown as an avatar. */
7
+ owner?: string;
8
+ }
9
+ export interface TaskCheckboxProps {
10
+ tasks?: TaskItem[];
11
+ /** Ids of finished tasks (controlled). */
12
+ done?: string[];
13
+ defaultDone?: string[];
14
+ onChange?: (done: string[]) => void;
15
+ eyebrow?: string;
16
+ title?: string;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * aui-053 · A task list. Signature: ticking a task sweeps a line through it, then the row glides down to the
21
+ * done pile (FLIP, transform only) while the progress bar and count catch up.
22
+ */
23
+ export declare function TaskCheckbox({ tasks, done: doneProp, defaultDone, onChange, eyebrow, title, className }: TaskCheckboxProps): import("react").JSX.Element;
24
+ export default TaskCheckbox;
@@ -0,0 +1,33 @@
1
+ export interface PermissionGroup {
2
+ id: string;
3
+ label: string;
4
+ description?: string;
5
+ children: {
6
+ id: string;
7
+ label: string;
8
+ }[];
9
+ }
10
+ export interface RolePreset {
11
+ name: string;
12
+ /** Leaf ids that make up this role. */
13
+ ids: string[];
14
+ }
15
+ export interface TreeCheckboxProps {
16
+ groups?: PermissionGroup[];
17
+ presets?: RolePreset[];
18
+ value?: string[];
19
+ defaultValue?: string[];
20
+ onChange?: (value: string[]) => void;
21
+ /** Group ids open on mount. */
22
+ defaultOpen?: string[];
23
+ title?: string;
24
+ /** Who the permissions are for. */
25
+ subject?: string;
26
+ className?: string;
27
+ }
28
+ /**
29
+ * aui-054 · Nested permissions with tri-state parents. Signature: role presets and the tree stay in sync, the
30
+ * role name rolls to match and each parent box morphs between empty, dash and tick.
31
+ */
32
+ export declare function TreeCheckbox({ groups, presets, value, defaultValue, onChange, defaultOpen, title, subject, className, }: TreeCheckboxProps): import("react").JSX.Element;
33
+ export default TreeCheckbox;
@@ -0,0 +1,23 @@
1
+ export interface AssignPerson {
2
+ id: string;
3
+ name: string;
4
+ /** Muted line under the name, e.g. a role or an email. */
5
+ detail?: string;
6
+ /** Avatar photo. Initials are used without one. */
7
+ src?: string;
8
+ }
9
+ export interface AssignComboboxProps {
10
+ people?: AssignPerson[];
11
+ value?: string[];
12
+ defaultValue?: string[];
13
+ onChange?: (ids: string[]) => void;
14
+ label?: string;
15
+ /** Most avatars shown in the stack before "+N". */
16
+ maxStack?: number;
17
+ name?: string;
18
+ disabled?: boolean;
19
+ className?: string;
20
+ }
21
+ /** aui-046 · Multi assign: pick people from a searchable list, they spring into an avatar stack and the count rolls. */
22
+ export declare function AssignCombobox({ people, value, defaultValue, onChange, label, maxStack, name, disabled, className }: AssignComboboxProps): import("react").JSX.Element;
23
+ export default AssignCombobox;
@@ -0,0 +1,24 @@
1
+ export interface CreatableLabel {
2
+ id: string;
3
+ name: string;
4
+ /** Index into the six brand and ink tints. */
5
+ tint?: number;
6
+ /** Muted count on the right, e.g. open issues. */
7
+ count?: number;
8
+ }
9
+ export interface CreatableComboboxProps {
10
+ options?: CreatableLabel[];
11
+ value?: string[];
12
+ defaultValue?: string[];
13
+ onChange?: (ids: string[]) => void;
14
+ /** Called with the new label after "Create" so you can save it. */
15
+ onCreate?: (label: CreatableLabel) => void;
16
+ label?: string;
17
+ placeholder?: string;
18
+ name?: string;
19
+ disabled?: boolean;
20
+ className?: string;
21
+ }
22
+ /** aui-047 · Create on enter: filter labels, or press Enter to create a new one with a picked tint that drops into the field. */
23
+ export declare function CreatableCombobox({ options, value, defaultValue, onChange, onCreate, label, placeholder, name, disabled, className }: CreatableComboboxProps): import("react").JSX.Element;
24
+ export default CreatableCombobox;
@@ -0,0 +1,26 @@
1
+ export interface RangeValue {
2
+ start: Date | null;
3
+ end: Date | null;
4
+ }
5
+ export interface TwoMonthRangeProps {
6
+ value?: RangeValue;
7
+ defaultValue?: RangeValue;
8
+ onChange?: (value: RangeValue) => void;
9
+ /** Days before this can't be picked. Defaults to today. Pass `null` to allow any day. */
10
+ min?: Date | null;
11
+ max?: Date;
12
+ locale?: string;
13
+ /** 0 = Sunday, 1 = Monday. */
14
+ weekStartsOn?: 0 | 1;
15
+ startLabel?: string;
16
+ endLabel?: string;
17
+ /** Singular unit for the count, e.g. "night" or "day". */
18
+ unit?: string;
19
+ /** Count the end day too (days), or not (nights). */
20
+ inclusive?: boolean;
21
+ name?: string;
22
+ className?: string;
23
+ }
24
+ /** aui-050 · Two-month range: a band previews the stay as you hover, a tip counts the nights and the active field slides between start and end. */
25
+ export declare function RangeDatePicker({ value, defaultValue, onChange, min, max, locale, weekStartsOn, startLabel, endLabel, unit, inclusive, name, className, }: TwoMonthRangeProps): import("react").JSX.Element;
26
+ export default RangeDatePicker;
@@ -0,0 +1,23 @@
1
+ export interface DatePreset {
2
+ label: string;
3
+ /** Returns the date for this preset, or null for "no date". Gets today at midnight. */
4
+ get: (today: Date) => Date | null;
5
+ }
6
+ export interface PresetDatePickerProps {
7
+ value?: Date | null;
8
+ defaultValue?: Date | null;
9
+ onChange?: (value: Date | null) => void;
10
+ presets?: DatePreset[];
11
+ /** Small text before the date on the trigger. */
12
+ label?: string;
13
+ locale?: string;
14
+ weekStartsOn?: 0 | 1;
15
+ /** Start open (opens downward, does not take focus). */
16
+ defaultOpen?: boolean;
17
+ name?: string;
18
+ disabled?: boolean;
19
+ className?: string;
20
+ }
21
+ /** aui-051 · Quick presets: a dark picker with presets beside a calendar, number keys pick a preset and the date label rolls in character by character. */
22
+ export declare function PresetDatePicker({ value, defaultValue, onChange, presets, label, locale, weekStartsOn, defaultOpen, name, disabled, className }: PresetDatePickerProps): import("react").JSX.Element;
23
+ export default PresetDatePicker;
@@ -0,0 +1,22 @@
1
+ import { type ReactNode } from "react";
2
+ type Glyph = "x" | "github" | "linkedin";
3
+ export interface MinimalFooterProps {
4
+ brand?: ReactNode;
5
+ links?: {
6
+ label: string;
7
+ href: string;
8
+ }[];
9
+ socials?: {
10
+ label: string;
11
+ href: string;
12
+ icon: Glyph;
13
+ }[];
14
+ /** Text after the © sign. The current year is added in front. */
15
+ owner?: string;
16
+ /** Glide the underline across the links once after mount, to show it off. */
17
+ hint?: boolean;
18
+ className?: string;
19
+ }
20
+ /** aui-025 · One-row footer where a brand underline glides between links, with social icons and copyright, wrapping neatly on small screens. */
21
+ export declare function MinimalFooter({ brand, links, socials, owner, hint, className }: MinimalFooterProps): import("react").JSX.Element;
22
+ export default MinimalFooter;
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from "react";
2
+ type Glyph = "x" | "github" | "linkedin";
3
+ export interface CenteredFooterProps {
4
+ brand?: ReactNode;
5
+ tagline?: ReactNode;
6
+ links?: {
7
+ label: string;
8
+ href: string;
9
+ }[];
10
+ socials?: {
11
+ label: string;
12
+ href: string;
13
+ icon: Glyph;
14
+ }[];
15
+ /** Legal line under everything. Defaults to © year, Astabyte and two policy links. */
16
+ legal?: ReactNode;
17
+ className?: string;
18
+ }
19
+ /** aui-026 · A dark centred footer with a brand glow that follows the cursor, a big tagline, one row of links and social icons that lift and name themselves on hover. */
20
+ export declare function CenteredFooter({ brand, tagline, links, socials, legal, className, }: CenteredFooterProps): import("react").JSX.Element;
21
+ export default CenteredFooter;
@@ -0,0 +1,36 @@
1
+ import { type ReactNode } from "react";
2
+ export interface CtaFooterColumn {
3
+ heading: string;
4
+ links: {
5
+ label: string;
6
+ href: string;
7
+ }[];
8
+ }
9
+ export interface CtaFooterProps {
10
+ title?: ReactNode;
11
+ description?: string;
12
+ primary?: {
13
+ label: string;
14
+ href: string;
15
+ };
16
+ /** Optional second, quieter button next to the primary one. */
17
+ secondary?: {
18
+ label: string;
19
+ href: string;
20
+ };
21
+ brand?: ReactNode;
22
+ columns?: CtaFooterColumn[];
23
+ languages?: {
24
+ value: string;
25
+ label: string;
26
+ }[];
27
+ onLanguageChange?: (value: string) => void;
28
+ /** Painting along the bottom. Any wide image works, it is cropped with object-cover. */
29
+ image?: string;
30
+ imageAlt?: string;
31
+ legal?: ReactNode;
32
+ className?: string;
33
+ }
34
+ /** aui-027 · A light footer with a brand glow along the top, a pitch and one call to action, link columns with a language picker, and a painted landscape that rises in along the bottom. */
35
+ export declare function CtaFooter({ title, description, primary, secondary, brand, columns, languages, onLanguageChange, image, imageAlt, legal, className, }: CtaFooterProps): import("react").JSX.Element;
36
+ export default CtaFooter;
@@ -0,0 +1,34 @@
1
+ import { type ReactNode } from "react";
2
+ export interface StatusFooterColumn {
3
+ heading: string;
4
+ links: {
5
+ label: string;
6
+ href: string;
7
+ }[];
8
+ }
9
+ export interface StatusFooterProps {
10
+ brand?: ReactNode;
11
+ tagline?: string;
12
+ columns?: StatusFooterColumn[];
13
+ /** Status pill text and link. `live: false` stops the pulse and shows the dot in ink. */
14
+ status?: {
15
+ label: string;
16
+ href?: string;
17
+ live?: boolean;
18
+ };
19
+ /** One value per day, oldest first: 1 is a clean day, anything lower had an incident. */
20
+ uptime?: number[];
21
+ languages?: {
22
+ value: string;
23
+ label: string;
24
+ }[];
25
+ language?: string;
26
+ onLanguageChange?: (value: string) => void;
27
+ /** Overrides the default, which scrolls the nearest scrolling ancestor (or the window) to the top. */
28
+ onBackToTop?: () => void;
29
+ legal?: ReactNode;
30
+ className?: string;
31
+ }
32
+ /** aui-028 · A product footer whose live status card shows a pulsing dot and a daily uptime strip you can hover, with link columns, a language picker and a back-to-top button. */
33
+ export declare function StatusFooter({ brand, tagline, columns, status, uptime, languages, language, onLanguageChange, onBackToTop, legal, className, }: StatusFooterProps): import("react").JSX.Element;
34
+ export default StatusFooter;
@@ -0,0 +1,21 @@
1
+ import { type InputHTMLAttributes, type ReactNode } from "react";
2
+ export interface FloatingInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "children"> {
3
+ label?: string;
4
+ /** Help text under the field. */
5
+ hint?: ReactNode;
6
+ /** A message in ink, not red. Replaces the hint while set. */
7
+ error?: ReactNode;
8
+ /** Shown before the text, e.g. an icon. */
9
+ start?: ReactNode;
10
+ /** Shown after the text, e.g. a unit or a button. */
11
+ end?: ReactNode;
12
+ /** Shows a live count next to the floated label while focused. Needs `maxLength`. */
13
+ counter?: boolean;
14
+ className?: string;
15
+ }
16
+ /**
17
+ * aui-029 · Floating label. Signature: the label lifts out of the field and settles into the border,
18
+ * cutting a notch in the hairline, while a brand line sweeps in along the bottom edge.
19
+ */
20
+ export declare function FloatingInput({ label, hint, error, start, end, counter, className, id: idProp, placeholder, ...rest }: FloatingInputProps): import("react").JSX.Element;
21
+ export default FloatingInput;
@@ -0,0 +1,29 @@
1
+ export interface SearchFieldItem {
2
+ label: string;
3
+ /** Right-aligned meta, e.g. a section or a date. */
4
+ meta?: string;
5
+ /** "recent" rows get a clock and can be removed, "page" rows get an arrow. */
6
+ kind?: "recent" | "page";
7
+ }
8
+ export interface SearchFieldProps {
9
+ placeholder?: string;
10
+ /** Past searches, newest first. Picking a query adds it here. */
11
+ recent?: string[];
12
+ /** Places you can jump to. Filtered as you type. */
13
+ pages?: SearchFieldItem[];
14
+ /** Called with the query when you press Enter or pick a row. */
15
+ onSearch?: (query: string, item?: SearchFieldItem) => void;
16
+ /** Focus the field with "/" or ⌘K / Ctrl K from anywhere on the page. */
17
+ shortcut?: boolean;
18
+ /** Start with the list open (for previews). */
19
+ defaultOpen?: boolean;
20
+ /** Dark field on an ink bar, or light on paper. */
21
+ tone?: "dark" | "light";
22
+ className?: string;
23
+ }
24
+ /**
25
+ * aui-030 · Search with recents. Signature: the "/" shortcut chip turns into a clear button as you type,
26
+ * and one highlight glides between rows of recent searches and pages.
27
+ */
28
+ export declare function SearchField({ placeholder, recent: recentProp, pages, onSearch, shortcut, defaultOpen, tone, className, }: SearchFieldProps): import("react").JSX.Element;
29
+ export default SearchField;
@@ -0,0 +1,24 @@
1
+ import { type InputHTMLAttributes, type ReactNode } from "react";
2
+ export interface AffixInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "children"> {
3
+ /** Accessible name when there is no visible label pointing at the input. */
4
+ label?: string;
5
+ /** Text or an icon in a chip before the value, e.g. "https://" or "$". */
6
+ prefix?: ReactNode;
7
+ /** Text in a chip after the value, e.g. "USD". */
8
+ suffix?: ReactNode;
9
+ /** Let the suffix ride right after the text, so the whole thing reads as one string (e.g. a subdomain). */
10
+ ride?: boolean;
11
+ /** Units the suffix chip rolls through on click, e.g. ["min", "hours", "days"]. Replaces `suffix`. */
12
+ units?: string[];
13
+ unit?: string;
14
+ onUnitChange?: (unit: string) => void;
15
+ /** Adds a copy button. Copies this string, or prefix + value + suffix when `true`. */
16
+ copy?: boolean | string;
17
+ className?: string;
18
+ }
19
+ /**
20
+ * aui-031 · Prefix and suffix. Signature: the suffix can ride right behind your text so a subdomain reads
21
+ * as one address, and unit chips roll to the next unit like a counter.
22
+ */
23
+ export declare function AffixInput({ label, prefix, suffix, ride, units, unit: unitProp, onUnitChange, copy, className, placeholder, id, ...rest }: AffixInputProps): import("react").JSX.Element;
24
+ export default AffixInput;
@@ -0,0 +1,36 @@
1
+ import { type InputHTMLAttributes } from "react";
2
+ export type ValidatedInputStatus = {
3
+ kind: "idle";
4
+ text: string;
5
+ } | {
6
+ kind: "invalid";
7
+ text: string;
8
+ } | {
9
+ kind: "suggest";
10
+ text: string;
11
+ suggestion: string;
12
+ } | {
13
+ kind: "valid";
14
+ text: string;
15
+ };
16
+ /** The default check: an email address, with a nudge when the domain looks like a typo of a common one. */
17
+ export declare function checkWorkEmail(raw: string): ValidatedInputStatus;
18
+ export interface ValidatedInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "children" | "onChange"> {
19
+ label?: string;
20
+ value?: string;
21
+ defaultValue?: string;
22
+ onChange?: (value: string) => void;
23
+ /** Returns a status for the current text. Defaults to an email check with typo suggestions. */
24
+ validate?: (value: string) => ValidatedInputStatus;
25
+ /** Quiet time after the last key before the message updates. */
26
+ delay?: number;
27
+ /** Called whenever the shown status changes. */
28
+ onStatus?: (status: ValidatedInputStatus) => void;
29
+ className?: string;
30
+ }
31
+ /**
32
+ * aui-032 · Live validation. Signature: a calm ink message that rolls up to the next one as you type,
33
+ * a one-tap fix for typos and a check that draws itself in once the value is good.
34
+ */
35
+ export declare function ValidatedInput({ label, value: valueProp, defaultValue, onChange, validate, delay, onStatus, className, id: idProp, placeholder, ...rest }: ValidatedInputProps): import("react").JSX.Element;
36
+ export default ValidatedInput;
@@ -0,0 +1,23 @@
1
+ /** Lowercase, strip accents, dashes between words, at most 60 characters. */
2
+ export declare const slugFromTitle: (s: string, keepTrailing?: boolean) => string;
3
+ export interface SlugInputProps {
4
+ /** Visible label for the title. */
5
+ label?: string;
6
+ title?: string;
7
+ defaultTitle?: string;
8
+ onTitleChange?: (title: string) => void;
9
+ /** Called with the current slug. */
10
+ onSlugChange?: (slug: string) => void;
11
+ /** Shown in front of the slug, without the protocol. */
12
+ base?: string;
13
+ /** Resolve true when the slug is free. Defaults to a fake check against a few taken slugs. */
14
+ check?: (slug: string) => Promise<boolean>;
15
+ placeholder?: string;
16
+ className?: string;
17
+ }
18
+ /**
19
+ * aui-033 · Title to slug. Signature: the URL preview rewrites itself letter by letter as you type the title,
20
+ * then a tiny spinner checks the address and settles on Available or a one-tap free alternative.
21
+ */
22
+ export declare function SlugInput({ label, title: titleProp, defaultTitle, onTitleChange, onSlugChange, base, check, placeholder, className, }: SlugInputProps): import("react").JSX.Element;
23
+ export default SlugInput;
@@ -0,0 +1,29 @@
1
+ export interface AmountCurrency {
2
+ code: string;
3
+ symbol: string;
4
+ /** Units per 1 of the first currency, used to convert when you switch. */
5
+ rate: number;
6
+ }
7
+ export interface AmountInputProps {
8
+ label?: string;
9
+ /** Controlled amount. */
10
+ value?: number;
11
+ defaultValue?: number;
12
+ onChange?: (value: number, currency: string) => void;
13
+ currencies?: AmountCurrency[];
14
+ currency?: string;
15
+ onCurrencyChange?: (code: string) => void;
16
+ /** One-tap amounts in the selected currency. */
17
+ quick?: number[];
18
+ /** The highest amount allowed. Typing past it clamps with a calm note. */
19
+ max?: number;
20
+ /** Line under the amount, e.g. fees or arrival time. */
21
+ note?: string;
22
+ className?: string;
23
+ }
24
+ /**
25
+ * aui-034 · Amount. Signature: a big dark money field whose digits roll into place, a currency switch that
26
+ * converts the amount with a roll, and quick-amount chips.
27
+ */
28
+ export declare function AmountInput({ label, value, defaultValue, onChange, currencies, currency: currencyProp, onCurrencyChange, quick, max, note, className, }: AmountInputProps): import("react").JSX.Element;
29
+ export default AmountInput;
@@ -0,0 +1,62 @@
1
+ import { type ReactNode } from "react";
2
+ export type MinimalNavbarIcon = "map" | "check" | "chart" | "bolt" | "plug" | "book" | "grid" | "play" | "users" | "spark" | "mail";
3
+ export interface MinimalNavbarTile {
4
+ title: string;
5
+ description?: string;
6
+ href: string;
7
+ icon?: MinimalNavbarIcon;
8
+ }
9
+ export type MinimalNavbarMenu =
10
+ /** Two big product tiles with a small preview in the corner, then a row of feature tiles. */
11
+ {
12
+ type: "products";
13
+ products: (MinimalNavbarTile & {
14
+ preview: "roadmap" | "issues";
15
+ })[];
16
+ features: MinimalNavbarTile[];
17
+ }
18
+ /** Columns of icon rows plus one dark call-to-action card. */
19
+ | {
20
+ type: "columns";
21
+ columns: {
22
+ heading: string;
23
+ items: MinimalNavbarTile[];
24
+ }[];
25
+ cta: {
26
+ title: string;
27
+ description: string;
28
+ label: string;
29
+ href: string;
30
+ };
31
+ };
32
+ export interface MinimalNavbarItem {
33
+ label: string;
34
+ /** Plain link. */
35
+ href?: string;
36
+ /** Opens a mega menu instead. */
37
+ menu?: MinimalNavbarMenu;
38
+ }
39
+ export interface MinimalNavbarProps {
40
+ brand?: ReactNode;
41
+ brandHref?: string;
42
+ items?: MinimalNavbarItem[];
43
+ /** Index of the current page in `items`. The underline rests here. */
44
+ active?: number;
45
+ secondary?: {
46
+ label: string;
47
+ href: string;
48
+ };
49
+ cta?: {
50
+ label: string;
51
+ href: string;
52
+ };
53
+ /** Label of a menu to open once, shortly after mount, to show it is there. It closes like normal after. */
54
+ openOnMount?: string;
55
+ className?: string;
56
+ }
57
+ /**
58
+ * aui-009 · Compact header whose signature is an elastic underline riding the bar's bottom edge: it stretches to
59
+ * whatever you point at or open, then snaps to size. Menus open in one shared mega-menu panel of tiles.
60
+ */
61
+ export declare function MinimalNavbar({ brand, brandHref, items, active, secondary, cta, openOnMount, className, }: MinimalNavbarProps): import("react").JSX.Element;
62
+ export default MinimalNavbar;
@@ -0,0 +1,30 @@
1
+ import { type ReactNode, type RefObject } from "react";
2
+ export interface FloatingNavbarLink {
3
+ label: string;
4
+ href: string;
5
+ }
6
+ export interface FloatingNavbarProps {
7
+ brand?: ReactNode;
8
+ brandHref?: string;
9
+ links?: FloatingNavbarLink[];
10
+ /** Quiet link before the button, e.g. "Sign in". */
11
+ secondary?: {
12
+ label: string;
13
+ href: string;
14
+ };
15
+ cta?: {
16
+ label: string;
17
+ href: string;
18
+ };
19
+ /** Element (or ref to it) whose scroll shrinks the bar. Defaults to the window. */
20
+ scrollRoot?: RefObject<HTMLElement | null> | HTMLElement | null;
21
+ /** Scroll distance in px before the bar shrinks. */
22
+ threshold?: number;
23
+ className?: string;
24
+ }
25
+ /**
26
+ * aui-010 · Floating glass bar whose signature is a soft brand glow that follows the pointer across it,
27
+ * with a pill that glides behind links. On scroll it tucks in (scales down) and gains a shadow.
28
+ */
29
+ export declare function FloatingNavbar({ brand, brandHref, links, secondary, cta, scrollRoot, threshold, className, }: FloatingNavbarProps): import("react").JSX.Element;
30
+ export default FloatingNavbar;
@@ -0,0 +1,65 @@
1
+ export type CenteredNavbarIcon = "vase" | "bowl" | "jug" | "plate" | "cup" | "gift" | "pin" | "brush" | "leaf" | "box" | "undo" | "mail";
2
+ export interface CenteredNavbarTile {
3
+ title: string;
4
+ description?: string;
5
+ href: string;
6
+ icon?: CenteredNavbarIcon;
7
+ }
8
+ export type CenteredNavbarMenu =
9
+ /** A three-column grid of tiles. */
10
+ {
11
+ type: "grid";
12
+ items: CenteredNavbarTile[];
13
+ }
14
+ /** Columns of icon rows plus one brand call-to-action card. */
15
+ | {
16
+ type: "columns";
17
+ columns: {
18
+ heading: string;
19
+ items: CenteredNavbarTile[];
20
+ }[];
21
+ cta: {
22
+ title: string;
23
+ description: string;
24
+ label: string;
25
+ href: string;
26
+ };
27
+ };
28
+ export interface CenteredNavbarItem {
29
+ label: string;
30
+ href?: string;
31
+ /** Opens a mega menu instead of linking. Only items left of the wordmark take menus. */
32
+ menu?: CenteredNavbarMenu;
33
+ }
34
+ export interface CenteredNavbarProps {
35
+ /** Text of the centred wordmark. Each letter animates on its own. */
36
+ wordmark?: string;
37
+ brandHref?: string;
38
+ /** Items left of the wordmark. These can open mega menus. */
39
+ left?: CenteredNavbarItem[];
40
+ /** Plain links right of the wordmark, before the actions. */
41
+ right?: {
42
+ label: string;
43
+ href: string;
44
+ }[];
45
+ /** Quiet link on the right edge, e.g. "Sign in". */
46
+ secondary?: {
47
+ label: string;
48
+ href: string;
49
+ };
50
+ cta?: {
51
+ label: string;
52
+ href: string;
53
+ };
54
+ /** Index into `[...left, ...right]` of the current page. */
55
+ active?: number;
56
+ /** Label of a menu to open once, shortly after mount, to show it is there. */
57
+ openOnMount?: string;
58
+ className?: string;
59
+ }
60
+ /**
61
+ * aui-011 · Dark symmetric header whose signature is the centred wordmark: its letters rise in one by one and ripple
62
+ * upward around the pointer. Items on the left open dark mega menus, plain links and actions sit on the right.
63
+ */
64
+ export declare function CenteredNavbar({ wordmark, brandHref, left, right, secondary, cta, active, openOnMount, className, }: CenteredNavbarProps): import("react").JSX.Element;
65
+ export default CenteredNavbar;
@@ -0,0 +1,50 @@
1
+ export interface AppNavbarWorkspace {
2
+ id: string;
3
+ name: string;
4
+ /** Small line under the name, e.g. the plan. */
5
+ detail?: string;
6
+ }
7
+ export interface AppNavbarUser {
8
+ name: string;
9
+ email: string;
10
+ }
11
+ export interface AppNavbarMenuItem {
12
+ label: string;
13
+ href?: string;
14
+ onSelect?: () => void;
15
+ }
16
+ export interface AppNavbarResult {
17
+ /** Group heading, e.g. "Projects". */
18
+ group: string;
19
+ label: string;
20
+ /** Small text on the right, e.g. a shortcut or a status. */
21
+ hint?: string;
22
+ href?: string;
23
+ }
24
+ export interface AppNavbarProps {
25
+ /** Listen for ⌘K / Ctrl K. Turn off when the page already has its own shortcut. Default true. */
26
+ shortcut?: boolean;
27
+ workspaces?: AppNavbarWorkspace[];
28
+ defaultWorkspace?: string;
29
+ onWorkspaceChange?: (id: string) => void;
30
+ user?: AppNavbarUser;
31
+ /** Items in the avatar menu. */
32
+ menu?: AppNavbarMenuItem[];
33
+ /** Unread notifications. The bell shows a dot when above 0. */
34
+ unread?: number;
35
+ onNotifications?: () => void;
36
+ /** Suggestions in the palette that drops from the search field. Filtered as you type. */
37
+ results?: AppNavbarResult[];
38
+ /** Called with the picked result, or with `null` and the query when Enter is pressed with no match. */
39
+ onSearch?: (query: string, result: AppNavbarResult | null) => void;
40
+ searchPlaceholder?: string;
41
+ /** Drop the palette open once after mount and step through a few results, to show it is there. */
42
+ tour?: boolean;
43
+ className?: string;
44
+ }
45
+ /**
46
+ * aui-012 · Product app header whose signature is a command palette that drops straight out of the search
47
+ * field, with grouped results and arrow-key picking. Also a workspace switcher, a pinging bell and an avatar menu.
48
+ */
49
+ export declare function AppNavbar({ shortcut, workspaces, defaultWorkspace, onWorkspaceChange, user, menu, unread, onNotifications, results, onSearch, searchPlaceholder, tour, className, }: AppNavbarProps): import("react").JSX.Element;
50
+ export default AppNavbar;