@qw-ui/core 0.3.0-next.8 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/README.md +21 -37
  2. package/dist/action-sheet/action-sheet.d.ts +110 -0
  3. package/dist/action-sheet/index.d.ts +2 -0
  4. package/dist/action-sheet/index.js +2 -0
  5. package/dist/action-sheet-Cvcr1S_m.js +183 -0
  6. package/dist/action-sheet-Cvcr1S_m.js.map +1 -0
  7. package/dist/area-picker/area-picker.d.ts +113 -0
  8. package/dist/area-picker/index.d.ts +1 -0
  9. package/dist/area-picker/index.js +348 -0
  10. package/dist/area-picker/index.js.map +1 -0
  11. package/dist/aria-description-CimD2M_C.js +13 -0
  12. package/dist/aria-description-CimD2M_C.js.map +1 -0
  13. package/dist/aria-description.d.ts +2 -0
  14. package/dist/avatar/avatar-load.d.ts +76 -0
  15. package/dist/avatar/avatar.d.ts +22 -5
  16. package/dist/avatar/index.d.ts +1 -0
  17. package/dist/avatar/index.js +57 -18
  18. package/dist/avatar/index.js.map +1 -1
  19. package/dist/avatar-load-w9dq05oV.js +139 -0
  20. package/dist/avatar-load-w9dq05oV.js.map +1 -0
  21. package/dist/back-top/back-top.d.ts +77 -0
  22. package/dist/back-top/index.d.ts +1 -0
  23. package/dist/back-top/index.js +189 -0
  24. package/dist/back-top/index.js.map +1 -0
  25. package/dist/badge/badge.d.ts +85 -0
  26. package/dist/badge/index.d.ts +1 -0
  27. package/dist/badge/index.js +88 -0
  28. package/dist/badge/index.js.map +1 -0
  29. package/dist/button/button.d.ts +13 -0
  30. package/dist/button/index.js +3 -5
  31. package/dist/button/index.js.map +1 -1
  32. package/dist/calendar/calendar.d.ts +100 -0
  33. package/dist/calendar/index.d.ts +1 -0
  34. package/dist/calendar/index.js +2 -0
  35. package/dist/calendar-CmpK3stz.js +363 -0
  36. package/dist/calendar-CmpK3stz.js.map +1 -0
  37. package/dist/card/card.d.ts +68 -0
  38. package/dist/card/index.d.ts +2 -0
  39. package/dist/card/index.js +2 -0
  40. package/dist/card-DRtWa6Cr.js +107 -0
  41. package/dist/card-DRtWa6Cr.js.map +1 -0
  42. package/dist/cascader/cascader.d.ts +115 -0
  43. package/dist/cascader/index.d.ts +1 -0
  44. package/dist/cascader/index.js +2 -0
  45. package/dist/cascader-D-xMjs7P.js +333 -0
  46. package/dist/cascader-D-xMjs7P.js.map +1 -0
  47. package/dist/cell/cell.d.ts +41 -0
  48. package/dist/cell/index.d.ts +1 -0
  49. package/dist/cell/index.js +43 -0
  50. package/dist/cell/index.js.map +1 -0
  51. package/dist/check-list/check-list.d.ts +78 -0
  52. package/dist/check-list/index.d.ts +2 -0
  53. package/dist/check-list/index.js +2 -0
  54. package/dist/check-list-BvZHQt5w.js +60 -0
  55. package/dist/check-list-BvZHQt5w.js.map +1 -0
  56. package/dist/checkbox/checkbox.d.ts +59 -0
  57. package/dist/checkbox/index.d.ts +2 -0
  58. package/dist/checkbox/index.js +2 -0
  59. package/dist/checkbox-BlndJrz5.js +127 -0
  60. package/dist/checkbox-BlndJrz5.js.map +1 -0
  61. package/dist/checkbox-group/checkbox-group.d.ts +86 -0
  62. package/dist/checkbox-group/index.d.ts +3 -0
  63. package/dist/checkbox-group/index.js +2 -0
  64. package/dist/checkbox-group-gGfsTv-e.js +223 -0
  65. package/dist/checkbox-group-gGfsTv-e.js.map +1 -0
  66. package/dist/choice-group-C4c9m0qe.js +373 -0
  67. package/dist/choice-group-C4c9m0qe.js.map +1 -0
  68. package/dist/circle/circle.d.ts +97 -0
  69. package/dist/circle/index.d.ts +1 -0
  70. package/dist/circle/index.js +119 -0
  71. package/dist/circle/index.js.map +1 -0
  72. package/dist/collapse/collapse.d.ts +98 -0
  73. package/dist/collapse/index.d.ts +2 -0
  74. package/dist/collapse/index.js +2 -0
  75. package/dist/collapse-B969h7-H.js +226 -0
  76. package/dist/collapse-B969h7-H.js.map +1 -0
  77. package/dist/countdown/countdown.d.ts +114 -0
  78. package/dist/countdown/index.d.ts +1 -0
  79. package/dist/countdown/index.js +309 -0
  80. package/dist/countdown/index.js.map +1 -0
  81. package/dist/date-picker/date-picker.d.ts +168 -0
  82. package/dist/date-picker/index.d.ts +1 -0
  83. package/dist/date-picker/index.js +401 -0
  84. package/dist/date-picker/index.js.map +1 -0
  85. package/dist/descriptions/descriptions.d.ts +69 -0
  86. package/dist/descriptions/index.d.ts +1 -0
  87. package/dist/descriptions/index.js +86 -0
  88. package/dist/descriptions/index.js.map +1 -0
  89. package/dist/dialog/dialog.d.ts +61 -43
  90. package/dist/dialog/index.js +73 -19
  91. package/dist/dialog/index.js.map +1 -1
  92. package/dist/divider/divider.d.ts +18 -2
  93. package/dist/divider/index.js +20 -2
  94. package/dist/divider/index.js.map +1 -1
  95. package/dist/dropdown/dropdown.d.ts +172 -0
  96. package/dist/dropdown/index.d.ts +2 -0
  97. package/dist/dropdown/index.js +467 -0
  98. package/dist/dropdown/index.js.map +1 -0
  99. package/dist/ellipsis/ellipsis-layout.d.ts +34 -0
  100. package/dist/ellipsis/ellipsis.d.ts +88 -0
  101. package/dist/ellipsis/index.d.ts +2 -0
  102. package/dist/ellipsis/index.js +320 -0
  103. package/dist/ellipsis/index.js.map +1 -0
  104. package/dist/empty/empty-illustration.d.ts +3 -0
  105. package/dist/empty/empty.d.ts +43 -1
  106. package/dist/empty/index.js +2 -21
  107. package/dist/empty-CAgyvhUI.js +166 -0
  108. package/dist/empty-CAgyvhUI.js.map +1 -0
  109. package/dist/field/field.d.ts +95 -0
  110. package/dist/field/index.d.ts +2 -0
  111. package/dist/field/index.js +2 -0
  112. package/dist/field-DMHGIMZF.js +241 -0
  113. package/dist/field-DMHGIMZF.js.map +1 -0
  114. package/dist/floating-bubble/floating-bubble.d.ts +116 -0
  115. package/dist/floating-bubble/index.d.ts +1 -0
  116. package/dist/floating-bubble/index.js +333 -0
  117. package/dist/floating-bubble/index.js.map +1 -0
  118. package/dist/floating-panel/floating-panel.d.ts +80 -0
  119. package/dist/floating-panel/index.d.ts +2 -0
  120. package/dist/floating-panel/index.js +2 -0
  121. package/dist/floating-panel-Cbm5njBJ.js +363 -0
  122. package/dist/floating-panel-Cbm5njBJ.js.map +1 -0
  123. package/dist/footer/footer.d.ts +94 -0
  124. package/dist/footer/index.d.ts +1 -0
  125. package/dist/footer/index.js +154 -0
  126. package/dist/footer/index.js.map +1 -0
  127. package/dist/form/connect.d.ts +6 -0
  128. package/dist/form/form.d.ts +100 -0
  129. package/dist/form/ids.d.ts +14 -0
  130. package/dist/form/index.d.ts +13 -0
  131. package/dist/form/index.js +3 -0
  132. package/dist/form/methods.d.ts +5 -0
  133. package/dist/form/model.d.ts +24 -0
  134. package/dist/form/native.d.ts +25 -0
  135. package/dist/form/rules.d.ts +40 -0
  136. package/dist/form/ssr.d.ts +7 -0
  137. package/dist/form/types.d.ts +150 -0
  138. package/dist/form-BAGkIEMY.js +1354 -0
  139. package/dist/form-BAGkIEMY.js.map +1 -0
  140. package/dist/format-BDUY0C_c.js +89 -0
  141. package/dist/format-BDUY0C_c.js.map +1 -0
  142. package/dist/gesture-_SRHIvBm.js +30 -0
  143. package/dist/gesture-_SRHIvBm.js.map +1 -0
  144. package/dist/grid/grid-item.d.ts +22 -0
  145. package/dist/grid/grid.d.ts +42 -0
  146. package/dist/grid/index.d.ts +2 -0
  147. package/dist/grid/index.js +73 -0
  148. package/dist/grid/index.js.map +1 -0
  149. package/dist/icon/icon.d.ts +37 -1
  150. package/dist/icon/identity.d.ts +3 -0
  151. package/dist/icon/index.js +2 -20
  152. package/dist/icon-Cgdbnk1u.js +77 -0
  153. package/dist/icon-Cgdbnk1u.js.map +1 -0
  154. package/dist/image/image-load.d.ts +24 -0
  155. package/dist/image/image.d.ts +45 -8
  156. package/dist/image/index.d.ts +1 -0
  157. package/dist/image/index.js +116 -14
  158. package/dist/image/index.js.map +1 -1
  159. package/dist/image-preview/image-preview.d.ts +124 -0
  160. package/dist/image-preview/index.d.ts +1 -0
  161. package/dist/image-preview/index.js +450 -0
  162. package/dist/image-preview/index.js.map +1 -0
  163. package/dist/index-bar/index-bar.d.ts +121 -0
  164. package/dist/index-bar/index.d.ts +1 -0
  165. package/dist/index-bar/index.js +386 -0
  166. package/dist/index-bar/index.js.map +1 -0
  167. package/dist/index.d.ts +115 -10
  168. package/dist/index.js +151 -11
  169. package/dist/index.js.map +1 -0
  170. package/dist/infinite-scroll/index.d.ts +1 -0
  171. package/dist/infinite-scroll/index.js +248 -0
  172. package/dist/infinite-scroll/index.js.map +1 -0
  173. package/dist/infinite-scroll/infinite-scroll.d.ts +95 -0
  174. package/dist/input/index.js +181 -22
  175. package/dist/input/index.js.map +1 -1
  176. package/dist/input/input.d.ts +44 -1
  177. package/dist/layer-IpFrl5--.js +414 -0
  178. package/dist/layer-IpFrl5--.js.map +1 -0
  179. package/dist/layout-BRSqi4AQ.js +43 -0
  180. package/dist/layout-BRSqi4AQ.js.map +1 -0
  181. package/dist/layout.d.ts +13 -0
  182. package/dist/list/index.d.ts +2 -0
  183. package/dist/list/index.js +2 -0
  184. package/dist/list/list.d.ts +30 -0
  185. package/dist/list-6-iz-Irh.js +28 -0
  186. package/dist/list-6-iz-Irh.js.map +1 -0
  187. package/dist/loading/index.js +45 -2
  188. package/dist/loading/index.js.map +1 -1
  189. package/dist/loading/loading.d.ts +45 -2
  190. package/dist/modal-dialog-machine-CF9_z3Dm.js +487 -0
  191. package/dist/modal-dialog-machine-CF9_z3Dm.js.map +1 -0
  192. package/dist/modal-dialog-machine.d.ts +21 -0
  193. package/dist/modal-dismissable-lifetime.d.ts +21 -0
  194. package/dist/modal-registry.d.ts +24 -0
  195. package/dist/modal-render-hydration.d.ts +35 -0
  196. package/dist/modal-render-runtime.d.ts +19 -0
  197. package/dist/modal-render-scope.d.ts +63 -0
  198. package/dist/nav-bar/index.d.ts +1 -0
  199. package/dist/nav-bar/index.js +115 -0
  200. package/dist/nav-bar/index.js.map +1 -0
  201. package/dist/nav-bar/nav-bar.d.ts +76 -0
  202. package/dist/notice-bar/index.d.ts +2 -0
  203. package/dist/notice-bar/index.js +2 -0
  204. package/dist/notice-bar/notice-bar.d.ts +103 -0
  205. package/dist/notice-bar-DMpwLvRb.js +231 -0
  206. package/dist/notice-bar-DMpwLvRb.js.map +1 -0
  207. package/dist/notify/index.d.ts +1 -0
  208. package/dist/notify/index.js +251 -0
  209. package/dist/notify/index.js.map +1 -0
  210. package/dist/notify/notify.d.ts +123 -0
  211. package/dist/number-keyboard/index.d.ts +1 -0
  212. package/dist/number-keyboard/index.js +333 -0
  213. package/dist/number-keyboard/index.js.map +1 -0
  214. package/dist/number-keyboard/number-keyboard.d.ts +141 -0
  215. package/dist/overlay-panel/index.d.ts +2 -0
  216. package/dist/overlay-panel/index.js +2 -0
  217. package/dist/overlay-panel/overlay-panel.d.ts +20 -0
  218. package/dist/overlay-panel-Z_qdKeBj.js +26 -0
  219. package/dist/overlay-panel-Z_qdKeBj.js.map +1 -0
  220. package/dist/page-indicator/index.d.ts +1 -0
  221. package/dist/page-indicator/index.js +138 -0
  222. package/dist/page-indicator/index.js.map +1 -0
  223. package/dist/page-indicator/page-indicator.d.ts +93 -0
  224. package/dist/pagination/index.d.ts +1 -0
  225. package/dist/pagination/index.js +198 -0
  226. package/dist/pagination/index.js.map +1 -0
  227. package/dist/pagination/pagination.d.ts +125 -0
  228. package/dist/password-input/index.d.ts +1 -0
  229. package/dist/password-input/index.js +317 -0
  230. package/dist/password-input/index.js.map +1 -0
  231. package/dist/password-input/password-input.d.ts +144 -0
  232. package/dist/picker/index.d.ts +8 -0
  233. package/dist/picker/index.js +2 -0
  234. package/dist/picker/picker-machine.d.ts +80 -0
  235. package/dist/picker/picker.d.ts +121 -0
  236. package/dist/picker/platform.d.ts +84 -0
  237. package/dist/picker/selection-connect.d.ts +90 -0
  238. package/dist/picker/selection-model.d.ts +211 -0
  239. package/dist/picker-BykFntQN.js +1675 -0
  240. package/dist/picker-BykFntQN.js.map +1 -0
  241. package/dist/popover/index.d.ts +3 -0
  242. package/dist/popover/index.js +253 -0
  243. package/dist/popover/index.js.map +1 -0
  244. package/dist/popover/layer.d.ts +44 -0
  245. package/dist/popover/popover.d.ts +104 -0
  246. package/dist/popover/positioning.d.ts +132 -0
  247. package/dist/popup/index.d.ts +2 -0
  248. package/dist/popup/index.js +2 -0
  249. package/dist/popup/popup.d.ts +60 -0
  250. package/dist/popup-z5d8IYCt.js +576 -0
  251. package/dist/popup-z5d8IYCt.js.map +1 -0
  252. package/dist/portal-BHCNTWhg.js +78 -0
  253. package/dist/portal-BHCNTWhg.js.map +1 -0
  254. package/dist/portal.d.ts +61 -0
  255. package/dist/price/format.d.ts +19 -0
  256. package/dist/price/index.d.ts +1 -0
  257. package/dist/price/index.js +154 -0
  258. package/dist/price/index.js.map +1 -0
  259. package/dist/price/price.d.ts +88 -0
  260. package/dist/progress/index.d.ts +1 -0
  261. package/dist/progress/index.js +2 -0
  262. package/dist/progress/progress.d.ts +32 -0
  263. package/dist/progress-f3iYEfdA.js +37 -0
  264. package/dist/progress-f3iYEfdA.js.map +1 -0
  265. package/dist/pull-refresh/index.d.ts +1 -0
  266. package/dist/pull-refresh/index.js +414 -0
  267. package/dist/pull-refresh/index.js.map +1 -0
  268. package/dist/pull-refresh/pull-refresh.d.ts +118 -0
  269. package/dist/radio-group/index.d.ts +3 -0
  270. package/dist/radio-group/index.js +2 -0
  271. package/dist/radio-group/radio-group.d.ts +78 -0
  272. package/dist/radio-group-BOIMuqnS.js +230 -0
  273. package/dist/radio-group-BOIMuqnS.js.map +1 -0
  274. package/dist/rate/index.d.ts +1 -0
  275. package/dist/rate/index.js +2 -0
  276. package/dist/rate/rate-form.d.ts +28 -0
  277. package/dist/rate/rate.d.ts +144 -0
  278. package/dist/rate-5XsU2QkY.js +631 -0
  279. package/dist/rate-5XsU2QkY.js.map +1 -0
  280. package/dist/reorder/index.d.ts +1 -0
  281. package/dist/reorder/index.js +720 -0
  282. package/dist/reorder/index.js.map +1 -0
  283. package/dist/reorder/reorder.d.ts +190 -0
  284. package/dist/result/index.d.ts +1 -0
  285. package/dist/result/index.js +123 -0
  286. package/dist/result/index.js.map +1 -0
  287. package/dist/result/result.d.ts +88 -0
  288. package/dist/safe-area/index.d.ts +1 -0
  289. package/dist/safe-area/index.js +42 -0
  290. package/dist/safe-area/index.js.map +1 -0
  291. package/dist/safe-area/safe-area.d.ts +28 -0
  292. package/dist/search-bar/index.js +4 -2
  293. package/dist/search-bar/index.js.map +1 -1
  294. package/dist/search-bar/search-bar.d.ts +6 -0
  295. package/dist/segmented/index.d.ts +2 -0
  296. package/dist/segmented/index.js +2 -0
  297. package/dist/segmented/segmented.d.ts +127 -0
  298. package/dist/segmented-BaU38_L4.js +367 -0
  299. package/dist/segmented-BaU38_L4.js.map +1 -0
  300. package/dist/selection-form-BOM_odUk.js +88 -0
  301. package/dist/selection-form-BOM_odUk.js.map +1 -0
  302. package/dist/selection-form.d.ts +27 -0
  303. package/dist/selection-ivXqO1eu.js +55 -0
  304. package/dist/selection-ivXqO1eu.js.map +1 -0
  305. package/dist/selection.d.ts +29 -0
  306. package/dist/selector/choice-group.d.ts +114 -0
  307. package/dist/selector/index.d.ts +2 -0
  308. package/dist/selector/index.js +2 -0
  309. package/dist/selector/selector.d.ts +90 -0
  310. package/dist/selector-BU2MMJ4N.js +93 -0
  311. package/dist/selector-BU2MMJ4N.js.map +1 -0
  312. package/dist/share-sheet/index.d.ts +1 -0
  313. package/dist/share-sheet/index.js +138 -0
  314. package/dist/share-sheet/index.js.map +1 -0
  315. package/dist/share-sheet/share-sheet.d.ts +139 -0
  316. package/dist/side-nav/index.d.ts +1 -0
  317. package/dist/side-nav/index.js +99 -0
  318. package/dist/side-nav/index.js.map +1 -0
  319. package/dist/side-nav/side-nav.d.ts +94 -0
  320. package/dist/skeleton/index.js +51 -2
  321. package/dist/skeleton/index.js.map +1 -1
  322. package/dist/skeleton/skeleton.d.ts +34 -3
  323. package/dist/slider/index.d.ts +1 -0
  324. package/dist/slider/index.js +482 -0
  325. package/dist/slider/index.js.map +1 -0
  326. package/dist/slider/slider.d.ts +174 -0
  327. package/dist/space/index.d.ts +1 -0
  328. package/dist/space/index.js +52 -0
  329. package/dist/space/index.js.map +1 -0
  330. package/dist/space/space.d.ts +46 -0
  331. package/dist/statistic/index.d.ts +1 -0
  332. package/dist/statistic/index.js +152 -0
  333. package/dist/statistic/index.js.map +1 -0
  334. package/dist/statistic/statistic.d.ts +101 -0
  335. package/dist/stepper/index.d.ts +1 -0
  336. package/dist/stepper/index.js +172 -0
  337. package/dist/stepper/index.js.map +1 -0
  338. package/dist/stepper/stepper.d.ts +161 -0
  339. package/dist/steps/index.d.ts +1 -0
  340. package/dist/steps/index.js +72 -0
  341. package/dist/steps/index.js.map +1 -0
  342. package/dist/steps/steps.d.ts +67 -0
  343. package/dist/sticky/index.d.ts +1 -0
  344. package/dist/sticky/index.js +145 -0
  345. package/dist/sticky/index.js.map +1 -0
  346. package/dist/sticky/sticky.d.ts +70 -0
  347. package/dist/swipe-action/index.d.ts +1 -0
  348. package/dist/swipe-action/index.js +417 -0
  349. package/dist/swipe-action/index.js.map +1 -0
  350. package/dist/swipe-action/swipe-action.d.ts +148 -0
  351. package/dist/swiper/gesture.d.ts +32 -0
  352. package/dist/swiper/index.d.ts +1 -0
  353. package/dist/swiper/index.js +2 -0
  354. package/dist/swiper/swiper.d.ts +177 -0
  355. package/dist/swiper-BKivDkHp.js +550 -0
  356. package/dist/swiper-BKivDkHp.js.map +1 -0
  357. package/dist/switch/index.d.ts +1 -0
  358. package/dist/switch/index.js +168 -0
  359. package/dist/switch/index.js.map +1 -0
  360. package/dist/switch/switch.d.ts +142 -0
  361. package/dist/tabbar/index.d.ts +1 -0
  362. package/dist/tabbar/index.js +95 -0
  363. package/dist/tabbar/index.js.map +1 -0
  364. package/dist/tabbar/tabbar.d.ts +119 -0
  365. package/dist/tabs/index.js +22 -1
  366. package/dist/tabs/index.js.map +1 -1
  367. package/dist/tabs/tabs.d.ts +12 -8
  368. package/dist/tag/index.js +123 -2
  369. package/dist/tag/index.js.map +1 -1
  370. package/dist/tag/tag.d.ts +67 -1
  371. package/dist/textarea/index.d.ts +2 -0
  372. package/dist/textarea/index.js +2 -242
  373. package/dist/textarea/platform.d.ts +22 -0
  374. package/dist/textarea/textarea.d.ts +169 -46
  375. package/dist/textarea-qbnruDUG.js +775 -0
  376. package/dist/textarea-qbnruDUG.js.map +1 -0
  377. package/dist/time-picker/index.d.ts +1 -0
  378. package/dist/time-picker/index.js +228 -0
  379. package/dist/time-picker/index.js.map +1 -0
  380. package/dist/time-picker/time-picker.d.ts +83 -0
  381. package/dist/timeline/index.d.ts +1 -0
  382. package/dist/timeline/index.js +131 -0
  383. package/dist/timeline/index.js.map +1 -0
  384. package/dist/timeline/timeline.d.ts +79 -0
  385. package/dist/toast/index.js +47 -4
  386. package/dist/toast/index.js.map +1 -1
  387. package/dist/toast/toast.d.ts +26 -3
  388. package/dist/top-bar/index.js +16 -2
  389. package/dist/top-bar/index.js.map +1 -1
  390. package/dist/top-bar/top-bar.d.ts +13 -2
  391. package/dist/tree-select/index.d.ts +1 -0
  392. package/dist/tree-select/index.js +512 -0
  393. package/dist/tree-select/index.js.map +1 -0
  394. package/dist/tree-select/tree-select.d.ts +215 -0
  395. package/dist/typography/index.d.ts +1 -0
  396. package/dist/typography/index.js +82 -0
  397. package/dist/typography/index.js.map +1 -0
  398. package/dist/typography/typography.d.ts +54 -0
  399. package/dist/upload/index.d.ts +1 -0
  400. package/dist/upload/index.js +458 -0
  401. package/dist/upload/index.js.map +1 -0
  402. package/dist/upload/upload.d.ts +172 -0
  403. package/dist/virtual-list/index.d.ts +1 -0
  404. package/dist/virtual-list/index.js +445 -0
  405. package/dist/virtual-list/index.js.map +1 -0
  406. package/dist/virtual-list/virtual-list.d.ts +160 -0
  407. package/dist/visual-manifest.d.ts +27 -0
  408. package/dist/watermark/index.d.ts +1 -0
  409. package/dist/watermark/index.js +260 -0
  410. package/dist/watermark/index.js.map +1 -0
  411. package/dist/watermark/watermark.d.ts +106 -0
  412. package/package.json +417 -44
  413. package/dist/empty/index.js.map +0 -1
  414. package/dist/icon/index.js.map +0 -1
  415. package/dist/textarea/index.js.map +0 -1
@@ -0,0 +1,215 @@
1
+ import { type Machine, type Service } from "@zag-js/core";
2
+ import type { NormalizeProps, PropTypes } from "@zag-js/types";
3
+ import { type QwSelectionItem } from "../selection.js";
4
+ /** Stable DOM parts shared by every adapter. */
5
+ export declare const TREE_SELECT_PARTS: readonly ["root", "tree", "item", "row", "indicator", "check", "text", "group", "empty"];
6
+ export type TreeSelectPart = (typeof TREE_SELECT_PARTS)[number];
7
+ /** Single mode: which nodes can be selected. `leaf` (default): only nodes without children; `any`: every node. */
8
+ export declare const TREE_SELECT_SELECTABLE: readonly ["leaf", "any"];
9
+ export type TreeSelectSelectable = (typeof TREE_SELECT_SELECTABLE)[number];
10
+ /** Default texts. */
11
+ export declare const TREE_SELECT_DEFAULT_TEXTS: {
12
+ readonly label: "树形选择";
13
+ readonly emptyText: "暂无数据";
14
+ };
15
+ export type TreeSelectTexts = {
16
+ -readonly [K in keyof typeof TREE_SELECT_DEFAULT_TEXTS]: string;
17
+ };
18
+ /** One caller-owned node. `value` is unique across the whole tree; an empty or missing `children` array makes a leaf. */
19
+ export interface TreeSelectOption extends Pick<QwSelectionItem, "value" | "label" | "disabled"> {
20
+ children?: readonly TreeSelectOption[];
21
+ }
22
+ /** Indexed node. `disabled` is inherited: a disabled node disables its whole subtree (expansion stays available). */
23
+ export interface TreeSelectNode {
24
+ value: string;
25
+ label: string;
26
+ option: TreeSelectOption;
27
+ /** 1-based depth, position among siblings and sibling count (aria-level / aria-posinset / aria-setsize). */
28
+ level: number;
29
+ posinset: number;
30
+ setsize: number;
31
+ parent: string | null;
32
+ path: string[];
33
+ children: string[];
34
+ /** Leaf descendants in tree order (the node itself for a leaf). */
35
+ leaves: string[];
36
+ leaf: boolean;
37
+ disabled: boolean;
38
+ }
39
+ export interface TreeSelectIndex {
40
+ roots: string[];
41
+ order: string[];
42
+ nodes: Map<string, TreeSelectNode>;
43
+ }
44
+ export interface TreeSelectMode {
45
+ multiple: boolean;
46
+ selectable: TreeSelectSelectable;
47
+ checkStrictly: boolean;
48
+ }
49
+ export type TreeSelectCheckedState = boolean | "mixed";
50
+ /** Selection proposal: the complete next value (tree order), its labels, the activated node and whether it is now selected/checked. */
51
+ export interface TreeSelectValueChangeDetails {
52
+ value: string[];
53
+ labels: string[];
54
+ target: string;
55
+ selected: boolean;
56
+ }
57
+ /** Expansion proposal: the complete next expanded parent values (tree order), the toggled node and its next state. */
58
+ export interface TreeSelectExpandedChangeDetails {
59
+ value: string[];
60
+ target: string;
61
+ expanded: boolean;
62
+ }
63
+ /** Rendered node; `children` holds the visible children only (empty while collapsed). */
64
+ export interface TreeSelectItem {
65
+ value: string;
66
+ label: string;
67
+ option: TreeSelectOption;
68
+ level: number;
69
+ posinset: number;
70
+ setsize: number;
71
+ leaf: boolean;
72
+ expanded: boolean;
73
+ disabled: boolean;
74
+ /** Activating this node changes the value (false for disabled nodes, a disabled tree and parents in single `leaf` mode). */
75
+ selectable: boolean;
76
+ selected: boolean;
77
+ checked: TreeSelectCheckedState;
78
+ focusable: boolean;
79
+ children: TreeSelectItem[];
80
+ }
81
+ export interface QwTreeSelectProps extends Partial<TreeSelectTexts> {
82
+ /** Page-unique instance identity; adapters generate one when omitted. */
83
+ id?: string;
84
+ /** Caller-owned hierarchical data; never mutated. Replace it to update; the value and labels are re-resolved against it. */
85
+ options?: readonly TreeSelectOption[];
86
+ /** Checkbox semantics (`aria-checked`) instead of single selection (`aria-selected`). */
87
+ multiple?: boolean;
88
+ /** Single mode only: `leaf` (default) or `any`. */
89
+ selectable?: TreeSelectSelectable;
90
+ /** Multiple mode only: check nodes independently, without parent/child cascade. */
91
+ checkStrictly?: boolean;
92
+ /** Controlled value. It only changes when the owner updates it; not updating rejects a proposal. */
93
+ value?: readonly string[];
94
+ defaultValue?: readonly string[];
95
+ /** Controlled expanded parent values; same owner contract as `value`. */
96
+ expandedValue?: readonly string[];
97
+ /** Initial expanded parent values; omitted expands the ancestors of the initial value. */
98
+ defaultExpandedValue?: readonly string[];
99
+ /** Block every selection change; browsing (focus, expand/collapse) stays available. */
100
+ disabled?: boolean;
101
+ onValueChange?: (details: TreeSelectValueChangeDetails) => void;
102
+ onExpandedChange?: (details: TreeSelectExpandedChangeDetails) => void;
103
+ }
104
+ /** Index the tree. Empty values/labels and values repeated anywhere in the tree throw a `TypeError`. */
105
+ export declare function createTreeSelectIndex(options?: readonly TreeSelectOption[]): TreeSelectIndex;
106
+ export declare function resolveTreeSelectMode(props?: Pick<QwTreeSelectProps, "multiple" | "selectable" | "checkStrictly">): TreeSelectMode;
107
+ /**
108
+ * Effective value in tree order. Unknown (stale) values are ignored. Single mode keeps the first known value the mode
109
+ * allows. Cascade mode stores leaves: a parent value stands for all its leaf descendants.
110
+ */
111
+ export declare function resolveTreeSelectValue(index: TreeSelectIndex, raw: readonly unknown[] | null | undefined, mode: TreeSelectMode): string[];
112
+ /** Raw values that no longer match a node (for example after the options were replaced). */
113
+ export declare function getTreeSelectStaleValue(index: TreeSelectIndex, raw: readonly unknown[] | null | undefined): string[];
114
+ /** Known parent values in tree order; leaves and unknown values are ignored. */
115
+ export declare function resolveTreeSelectExpanded(index: TreeSelectIndex, raw: readonly unknown[] | null | undefined): string[];
116
+ /** Ancestors of the given values, in tree order. */
117
+ export declare function getTreeSelectAncestors(index: TreeSelectIndex, values: readonly string[]): string[];
118
+ /**
119
+ * Checked state. Cascade parents derive from their enabled leaves: all checked → true, none (and no disabled leaf
120
+ * checked) → false, otherwise "mixed". A parent whose leaves are all disabled derives from all of them.
121
+ */
122
+ export declare function getTreeSelectCheckedState(index: TreeSelectIndex, value: ReadonlySet<string>, target: string, mode: TreeSelectMode): TreeSelectCheckedState;
123
+ /**
124
+ * Next value after activating `target`, or null when nothing changes (disabled node, non-selectable parent, reselecting
125
+ * the single value). Cascade: a parent that is not fully checked checks all its enabled leaves, a checked parent
126
+ * unchecks them; disabled leaves keep their state.
127
+ */
128
+ export declare function toggleTreeSelectValue(index: TreeSelectIndex, value: readonly string[], target: string, mode: TreeSelectMode): string[] | null;
129
+ /** Next expanded value after opening/closing (`open` omitted: toggle) a parent, or null when nothing changes. */
130
+ export declare function toggleTreeSelectExpanded(index: TreeSelectIndex, expanded: readonly string[], target: string, open?: boolean): string[] | null;
131
+ /** Visible values in tree order: roots plus the children of expanded parents whose ancestors are expanded. */
132
+ export declare function getTreeSelectVisible(index: TreeSelectIndex, expanded: ReadonlySet<string>): string[];
133
+ export declare function getTreeSelectLabels(index: TreeSelectIndex, value: readonly string[]): string[];
134
+ /** Trigger summary: in cascade mode a parent whose leaves are all checked is shown once instead of its leaves. */
135
+ export declare function getTreeSelectSummary(index: TreeSelectIndex, value: readonly string[], mode: TreeSelectMode): string[];
136
+ export type TreeSelectKeyAction = {
137
+ type: "focus";
138
+ value: string;
139
+ } | {
140
+ type: "expand";
141
+ value: string;
142
+ expanded: boolean;
143
+ } | {
144
+ type: "activate";
145
+ value: string;
146
+ } | {
147
+ type: "none";
148
+ };
149
+ /**
150
+ * WAI-ARIA tree keys from the focused node: ArrowUp/Down, Home/End, ArrowRight opens/moves to the first child,
151
+ * ArrowLeft closes/moves to the parent (mirrored when `rtl`), Enter/Space activate, a printable character moves to the
152
+ * next visible node whose label starts with it. `none`: a handled key with no effect; null: not a tree key.
153
+ */
154
+ export declare function getTreeSelectKeyAction(index: TreeSelectIndex, visible: readonly string[], expanded: ReadonlySet<string>, current: string, key: string, rtl?: boolean): TreeSelectKeyAction | null;
155
+ export declare function createTreeSelectProps(props?: QwTreeSelectProps): QwTreeSelectProps;
156
+ export interface QwTreeSelectSchema {
157
+ props: QwTreeSelectProps;
158
+ context: {
159
+ value: string[];
160
+ expandedValue: string[];
161
+ focusedValue: string | null;
162
+ };
163
+ state: "ready";
164
+ action: "activate" | "expand" | "focus";
165
+ event: {
166
+ type: "NODE.ACTIVATE";
167
+ value: string;
168
+ } | {
169
+ type: "NODE.EXPAND";
170
+ value: string;
171
+ expanded?: boolean;
172
+ } | {
173
+ type: "NODE.FOCUS";
174
+ value: string;
175
+ move?: boolean;
176
+ };
177
+ }
178
+ export type QwTreeSelectMachine = Machine<QwTreeSelectSchema>;
179
+ export type QwTreeSelectService = Service<QwTreeSelectSchema>;
180
+ /** Core owns the selection rules (single/cascade/strict), expansion, roving focus and the keyboard map; adapters only render. */
181
+ export declare const treeSelectMachine: QwTreeSelectMachine;
182
+ export interface QwTreeSelectApi<T extends PropTypes = PropTypes> {
183
+ /** Effective value in tree order (cascade mode: checked leaves). */
184
+ value: string[];
185
+ /** Labels of `value`, in the same order. */
186
+ labels: string[];
187
+ /** Trigger summary labels: fully checked cascade parents collapse into their own label. */
188
+ summary: string[];
189
+ /** Raw values that match no node of the current options; they are dropped by the next selection change. */
190
+ staleValue: string[];
191
+ expandedValue: string[];
192
+ /** Visible node values in tree order. */
193
+ visibleValue: string[];
194
+ focusedValue: string | null;
195
+ multiple: boolean;
196
+ disabled: boolean;
197
+ empty: boolean;
198
+ label: string;
199
+ emptyText: string;
200
+ /** Root nodes; each item carries its visible children. */
201
+ items: TreeSelectItem[];
202
+ activate(value: string): void;
203
+ setExpanded(value: string, expanded: boolean): void;
204
+ focus(value: string): void;
205
+ getRootProps(): T["element"];
206
+ getTreeProps(): T["element"];
207
+ getItemProps(item: TreeSelectItem): T["element"];
208
+ getRowProps(item: TreeSelectItem): T["element"];
209
+ getIndicatorProps(item: TreeSelectItem): T["element"];
210
+ getCheckProps(item: TreeSelectItem): T["element"];
211
+ getTextProps(item: TreeSelectItem): T["element"];
212
+ getGroupProps(item: TreeSelectItem): T["element"];
213
+ getEmptyProps(): T["element"];
214
+ }
215
+ export declare function connectTreeSelect<T extends PropTypes>(service: QwTreeSelectService, normalize: NormalizeProps<T>): QwTreeSelectApi<T>;
@@ -0,0 +1 @@
1
+ export * from "./typography.js";
@@ -0,0 +1,82 @@
1
+ //#region src/typography/typography.ts
2
+ const TYPOGRAPHY_VARIANTS = [
3
+ "body",
4
+ "body-strong",
5
+ "body-lg",
6
+ "heading-sm",
7
+ "heading-md",
8
+ "heading-lg",
9
+ "caption",
10
+ "label-sm",
11
+ "code"
12
+ ];
13
+ const TYPOGRAPHY_TAGS = [
14
+ "span",
15
+ "p",
16
+ "div",
17
+ "h1",
18
+ "h2",
19
+ "h3",
20
+ "h4",
21
+ "h5",
22
+ "h6"
23
+ ];
24
+ const TYPOGRAPHY_FONT_FAMILIES = [
25
+ "text",
26
+ "number",
27
+ "code"
28
+ ];
29
+ const TYPOGRAPHY_TONES = [
30
+ "primary",
31
+ "secondary",
32
+ "tertiary",
33
+ "placeholder",
34
+ "intro",
35
+ "disabled",
36
+ "link",
37
+ "inverse",
38
+ "on-solid",
39
+ "on-warning-subtle"
40
+ ];
41
+ const TYPOGRAPHY_ALIGNS = [
42
+ "start",
43
+ "end",
44
+ "center",
45
+ "justify"
46
+ ];
47
+ const TYPOGRAPHY_PARTS = ["root"];
48
+ function choose(values, value, fallback) {
49
+ return values.includes(value) ? value : fallback;
50
+ }
51
+ /** Pure display contract; no content measurement, language detection or focus behavior. */
52
+ function resolveTypographyState(props = {}) {
53
+ return {
54
+ tag: choose(TYPOGRAPHY_TAGS, props.as, "span"),
55
+ variant: choose(TYPOGRAPHY_VARIANTS, props.variant, "body"),
56
+ fontFamily: TYPOGRAPHY_FONT_FAMILIES.includes(props.fontFamily) ? props.fontFamily : void 0,
57
+ tone: choose(TYPOGRAPHY_TONES, props.tone, "primary"),
58
+ align: choose(TYPOGRAPHY_ALIGNS, props.align, "start"),
59
+ wrap: props.wrap !== false,
60
+ lang: props.lang,
61
+ dir: props.dir,
62
+ hidden: props.hidden === true ? true : void 0
63
+ };
64
+ }
65
+ function getTypographyRootProps(state) {
66
+ return {
67
+ "data-scope": "typography",
68
+ "data-part": "root",
69
+ "data-variant": state.variant,
70
+ "data-font-family": state.fontFamily,
71
+ "data-tone": state.tone,
72
+ "data-align": state.align,
73
+ "data-wrap": state.wrap ? "true" : "false",
74
+ lang: state.lang,
75
+ dir: state.dir,
76
+ hidden: state.hidden
77
+ };
78
+ }
79
+ //#endregion
80
+ export { TYPOGRAPHY_ALIGNS, TYPOGRAPHY_FONT_FAMILIES, TYPOGRAPHY_PARTS, TYPOGRAPHY_TAGS, TYPOGRAPHY_TONES, TYPOGRAPHY_VARIANTS, getTypographyRootProps, resolveTypographyState };
81
+
82
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/typography/typography.ts"],"sourcesContent":["export const TYPOGRAPHY_VARIANTS = [\"body\", \"body-strong\", \"body-lg\", \"heading-sm\", \"heading-md\", \"heading-lg\", \"caption\", \"label-sm\", \"code\"] as const;\nexport const TYPOGRAPHY_TAGS = [\"span\", \"p\", \"div\", \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"] as const;\nexport const TYPOGRAPHY_FONT_FAMILIES = [\"text\", \"number\", \"code\"] as const;\nexport const TYPOGRAPHY_TONES = [\"primary\", \"secondary\", \"tertiary\", \"placeholder\", \"intro\", \"disabled\", \"link\", \"inverse\", \"on-solid\", \"on-warning-subtle\"] as const;\nexport const TYPOGRAPHY_ALIGNS = [\"start\", \"end\", \"center\", \"justify\"] as const;\nexport const TYPOGRAPHY_PARTS = [\"root\"] as const;\nexport type TypographyVariant = (typeof TYPOGRAPHY_VARIANTS)[number];\nexport type TypographyTag = (typeof TYPOGRAPHY_TAGS)[number];\nexport type TypographyFontFamily = (typeof TYPOGRAPHY_FONT_FAMILIES)[number];\nexport type TypographyTone = (typeof TYPOGRAPHY_TONES)[number];\nexport type TypographyAlign = (typeof TYPOGRAPHY_ALIGNS)[number];\n\nexport interface QwTypographyProps {\n /** Existing semantic type role; default body. Does not choose a heading level. */\n variant?: TypographyVariant;\n /** Independent native HTML semantics; default span. */\n as?: TypographyTag;\n /** Optional existing family override; omission keeps the role's family. */\n fontFamily?: TypographyFontFamily;\n /** Existing content color; context-specific tones require the matching background. */\n tone?: TypographyTone;\n /** Logical text alignment; use a block root to align its text container. */\n align?: TypographyAlign;\n /** Normal wrapping and long-word handling by default; false keeps all text on one line. */\n wrap?: boolean;\n lang?: string;\n dir?: string;\n hidden?: boolean;\n}\nexport interface ResolvedTypographyState {\n tag: TypographyTag;\n variant: TypographyVariant;\n fontFamily?: TypographyFontFamily;\n tone: TypographyTone;\n align: TypographyAlign;\n wrap: boolean;\n lang?: string;\n dir?: string;\n hidden?: boolean;\n}\nfunction choose<T extends string>(values: readonly T[], value: unknown, fallback: T): T {\n return values.includes(value as T) ? value as T : fallback;\n}\n/** Pure display contract; no content measurement, language detection or focus behavior. */\nexport function resolveTypographyState(props: QwTypographyProps = {}): ResolvedTypographyState {\n return {\n tag: choose(TYPOGRAPHY_TAGS, props.as, \"span\"),\n variant: choose(TYPOGRAPHY_VARIANTS, props.variant, \"body\"),\n fontFamily: TYPOGRAPHY_FONT_FAMILIES.includes(props.fontFamily!) ? props.fontFamily : undefined,\n tone: choose(TYPOGRAPHY_TONES, props.tone, \"primary\"),\n align: choose(TYPOGRAPHY_ALIGNS, props.align, \"start\"),\n wrap: props.wrap !== false,\n lang: props.lang, dir: props.dir, hidden: props.hidden === true ? true : undefined,\n };\n}\nexport interface TypographyRootProps {\n \"data-scope\": \"typography\";\n \"data-part\": \"root\";\n \"data-variant\": TypographyVariant;\n \"data-font-family\"?: TypographyFontFamily;\n \"data-tone\": TypographyTone;\n \"data-align\": TypographyAlign;\n \"data-wrap\": \"true\" | \"false\";\n lang?: string;\n dir?: string;\n hidden?: boolean;\n}\nexport function getTypographyRootProps(state: ResolvedTypographyState): TypographyRootProps {\n return { \"data-scope\": \"typography\", \"data-part\": \"root\", \"data-variant\": state.variant,\n \"data-font-family\": state.fontFamily, \"data-tone\": state.tone, \"data-align\": state.align,\n \"data-wrap\": state.wrap ? \"true\" : \"false\", lang: state.lang, dir: state.dir, hidden: state.hidden };\n}\n"],"mappings":";AAAA,MAAa,sBAAsB;CAAC;CAAQ;CAAe;CAAW;CAAc;CAAc;CAAc;CAAW;CAAY;AAAM;AAC7I,MAAa,kBAAkB;CAAC;CAAQ;CAAK;CAAO;CAAM;CAAM;CAAM;CAAM;CAAM;AAAI;AACtF,MAAa,2BAA2B;CAAC;CAAQ;CAAU;AAAM;AACjE,MAAa,mBAAmB;CAAC;CAAW;CAAa;CAAY;CAAe;CAAS;CAAY;CAAQ;CAAW;CAAY;AAAmB;AAC3J,MAAa,oBAAoB;CAAC;CAAS;CAAO;CAAU;AAAS;AACrE,MAAa,mBAAmB,CAAC,MAAM;AAmCvC,SAAS,OAAyB,QAAsB,OAAgB,UAAgB;CACtF,OAAO,OAAO,SAAS,KAAU,IAAI,QAAa;AACpD;;AAEA,SAAgB,uBAAuB,QAA2B,CAAC,GAA4B;CAC7F,OAAO;EACL,KAAK,OAAO,iBAAiB,MAAM,IAAI,MAAM;EAC7C,SAAS,OAAO,qBAAqB,MAAM,SAAS,MAAM;EAC1D,YAAY,yBAAyB,SAAS,MAAM,UAAW,IAAI,MAAM,aAAa,KAAA;EACtF,MAAM,OAAO,kBAAkB,MAAM,MAAM,SAAS;EACpD,OAAO,OAAO,mBAAmB,MAAM,OAAO,OAAO;EACrD,MAAM,MAAM,SAAS;EACrB,MAAM,MAAM;EAAM,KAAK,MAAM;EAAK,QAAQ,MAAM,WAAW,OAAO,OAAO,KAAA;CAC3E;AACF;AAaA,SAAgB,uBAAuB,OAAqD;CAC1F,OAAO;EAAE,cAAc;EAAc,aAAa;EAAQ,gBAAgB,MAAM;EAC9E,oBAAoB,MAAM;EAAY,aAAa,MAAM;EAAM,cAAc,MAAM;EACnF,aAAa,MAAM,OAAO,SAAS;EAAS,MAAM,MAAM;EAAM,KAAK,MAAM;EAAK,QAAQ,MAAM;CAAO;AACvG"}
@@ -0,0 +1,54 @@
1
+ export declare const TYPOGRAPHY_VARIANTS: readonly ["body", "body-strong", "body-lg", "heading-sm", "heading-md", "heading-lg", "caption", "label-sm", "code"];
2
+ export declare const TYPOGRAPHY_TAGS: readonly ["span", "p", "div", "h1", "h2", "h3", "h4", "h5", "h6"];
3
+ export declare const TYPOGRAPHY_FONT_FAMILIES: readonly ["text", "number", "code"];
4
+ export declare const TYPOGRAPHY_TONES: readonly ["primary", "secondary", "tertiary", "placeholder", "intro", "disabled", "link", "inverse", "on-solid", "on-warning-subtle"];
5
+ export declare const TYPOGRAPHY_ALIGNS: readonly ["start", "end", "center", "justify"];
6
+ export declare const TYPOGRAPHY_PARTS: readonly ["root"];
7
+ export type TypographyVariant = (typeof TYPOGRAPHY_VARIANTS)[number];
8
+ export type TypographyTag = (typeof TYPOGRAPHY_TAGS)[number];
9
+ export type TypographyFontFamily = (typeof TYPOGRAPHY_FONT_FAMILIES)[number];
10
+ export type TypographyTone = (typeof TYPOGRAPHY_TONES)[number];
11
+ export type TypographyAlign = (typeof TYPOGRAPHY_ALIGNS)[number];
12
+ export interface QwTypographyProps {
13
+ /** Existing semantic type role; default body. Does not choose a heading level. */
14
+ variant?: TypographyVariant;
15
+ /** Independent native HTML semantics; default span. */
16
+ as?: TypographyTag;
17
+ /** Optional existing family override; omission keeps the role's family. */
18
+ fontFamily?: TypographyFontFamily;
19
+ /** Existing content color; context-specific tones require the matching background. */
20
+ tone?: TypographyTone;
21
+ /** Logical text alignment; use a block root to align its text container. */
22
+ align?: TypographyAlign;
23
+ /** Normal wrapping and long-word handling by default; false keeps all text on one line. */
24
+ wrap?: boolean;
25
+ lang?: string;
26
+ dir?: string;
27
+ hidden?: boolean;
28
+ }
29
+ export interface ResolvedTypographyState {
30
+ tag: TypographyTag;
31
+ variant: TypographyVariant;
32
+ fontFamily?: TypographyFontFamily;
33
+ tone: TypographyTone;
34
+ align: TypographyAlign;
35
+ wrap: boolean;
36
+ lang?: string;
37
+ dir?: string;
38
+ hidden?: boolean;
39
+ }
40
+ /** Pure display contract; no content measurement, language detection or focus behavior. */
41
+ export declare function resolveTypographyState(props?: QwTypographyProps): ResolvedTypographyState;
42
+ export interface TypographyRootProps {
43
+ "data-scope": "typography";
44
+ "data-part": "root";
45
+ "data-variant": TypographyVariant;
46
+ "data-font-family"?: TypographyFontFamily;
47
+ "data-tone": TypographyTone;
48
+ "data-align": TypographyAlign;
49
+ "data-wrap": "true" | "false";
50
+ lang?: string;
51
+ dir?: string;
52
+ hidden?: boolean;
53
+ }
54
+ export declare function getTypographyRootProps(state: ResolvedTypographyState): TypographyRootProps;
@@ -0,0 +1 @@
1
+ export * from "./upload.js";