asheeui 2.0.0 → 2.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 (1007) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +29 -74
  3. package/dist/index.d.ts +24 -86
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +28 -136
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.native.d.ts +22 -0
  8. package/dist/index.native.d.ts.map +1 -0
  9. package/dist/index.native.js +22 -0
  10. package/dist/index.native.js.map +1 -0
  11. package/package.json +40 -46
  12. package/src/index.native.ts +30 -0
  13. package/src/index.ts +36 -0
  14. package/dist/AsheeUIProvider.d.ts +0 -67
  15. package/dist/AsheeUIProvider.d.ts.map +0 -1
  16. package/dist/AsheeUIProvider.js +0 -31
  17. package/dist/components/accordion/Accordion.d.ts +0 -121
  18. package/dist/components/accordion/Accordion.d.ts.map +0 -1
  19. package/dist/components/accordion/Accordion.js +0 -82
  20. package/dist/components/accordion/accordion-config.d.ts +0 -117
  21. package/dist/components/accordion/accordion-config.d.ts.map +0 -1
  22. package/dist/components/accordion/accordion-config.js +0 -16
  23. package/dist/components/accordion/accordion-styles.d.ts +0 -26
  24. package/dist/components/accordion/accordion-styles.d.ts.map +0 -1
  25. package/dist/components/accordion/accordion-styles.js +0 -23
  26. package/dist/components/accordion/index.d.ts +0 -3
  27. package/dist/components/accordion/index.d.ts.map +0 -1
  28. package/dist/components/accordion/index.js +0 -3
  29. package/dist/components/alert/Alert.d.ts +0 -88
  30. package/dist/components/alert/Alert.d.ts.map +0 -1
  31. package/dist/components/alert/Alert.js +0 -61
  32. package/dist/components/alert/alert-config.d.ts +0 -56
  33. package/dist/components/alert/alert-config.d.ts.map +0 -1
  34. package/dist/components/alert/alert-config.js +0 -14
  35. package/dist/components/alert/alert-styles.d.ts +0 -32
  36. package/dist/components/alert/alert-styles.d.ts.map +0 -1
  37. package/dist/components/alert/alert-styles.js +0 -20
  38. package/dist/components/alert/index.d.ts +0 -3
  39. package/dist/components/alert/index.d.ts.map +0 -1
  40. package/dist/components/alert/index.js +0 -3
  41. package/dist/components/auth-layout/AuthLayout.d.ts +0 -79
  42. package/dist/components/auth-layout/AuthLayout.d.ts.map +0 -1
  43. package/dist/components/auth-layout/AuthLayout.js +0 -54
  44. package/dist/components/auth-layout/auth-layout-config.d.ts +0 -41
  45. package/dist/components/auth-layout/auth-layout-config.d.ts.map +0 -1
  46. package/dist/components/auth-layout/auth-layout-config.js +0 -18
  47. package/dist/components/auth-layout/auth-layout-styles.d.ts +0 -25
  48. package/dist/components/auth-layout/auth-layout-styles.d.ts.map +0 -1
  49. package/dist/components/auth-layout/auth-layout-styles.js +0 -11
  50. package/dist/components/auth-layout/index.d.ts +0 -3
  51. package/dist/components/auth-layout/index.d.ts.map +0 -1
  52. package/dist/components/auth-layout/index.js +0 -3
  53. package/dist/components/autocomplete/Autocomplete.d.ts +0 -141
  54. package/dist/components/autocomplete/Autocomplete.d.ts.map +0 -1
  55. package/dist/components/autocomplete/Autocomplete.js +0 -115
  56. package/dist/components/autocomplete/autocomplete-config.d.ts +0 -42
  57. package/dist/components/autocomplete/autocomplete-config.d.ts.map +0 -1
  58. package/dist/components/autocomplete/autocomplete-config.js +0 -9
  59. package/dist/components/autocomplete/index.d.ts +0 -3
  60. package/dist/components/autocomplete/index.d.ts.map +0 -1
  61. package/dist/components/autocomplete/index.js +0 -2
  62. package/dist/components/avatar/Avatar.d.ts +0 -87
  63. package/dist/components/avatar/Avatar.d.ts.map +0 -1
  64. package/dist/components/avatar/Avatar.js +0 -43
  65. package/dist/components/avatar/avatar-config.d.ts +0 -48
  66. package/dist/components/avatar/avatar-config.d.ts.map +0 -1
  67. package/dist/components/avatar/avatar-config.js +0 -14
  68. package/dist/components/avatar/avatar-styles.d.ts +0 -21
  69. package/dist/components/avatar/avatar-styles.d.ts.map +0 -1
  70. package/dist/components/avatar/avatar-styles.js +0 -13
  71. package/dist/components/avatar/avatar.helpers.d.ts +0 -19
  72. package/dist/components/avatar/avatar.helpers.d.ts.map +0 -1
  73. package/dist/components/avatar/avatar.helpers.js +0 -11
  74. package/dist/components/avatar/index.d.ts +0 -3
  75. package/dist/components/avatar/index.d.ts.map +0 -1
  76. package/dist/components/avatar/index.js +0 -4
  77. package/dist/components/badge/Badge.d.ts +0 -69
  78. package/dist/components/badge/Badge.d.ts.map +0 -1
  79. package/dist/components/badge/Badge.js +0 -39
  80. package/dist/components/badge/badge-config.d.ts +0 -63
  81. package/dist/components/badge/badge-config.d.ts.map +0 -1
  82. package/dist/components/badge/badge-config.js +0 -15
  83. package/dist/components/badge/badge-styles.d.ts +0 -27
  84. package/dist/components/badge/badge-styles.d.ts.map +0 -1
  85. package/dist/components/badge/badge-styles.js +0 -25
  86. package/dist/components/badge/index.d.ts +0 -3
  87. package/dist/components/badge/index.d.ts.map +0 -1
  88. package/dist/components/badge/index.js +0 -3
  89. package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -106
  90. package/dist/components/breadcrumb/Breadcrumb.d.ts.map +0 -1
  91. package/dist/components/breadcrumb/Breadcrumb.js +0 -52
  92. package/dist/components/breadcrumb/breadcrumb-config.d.ts +0 -41
  93. package/dist/components/breadcrumb/breadcrumb-config.d.ts.map +0 -1
  94. package/dist/components/breadcrumb/breadcrumb-config.js +0 -10
  95. package/dist/components/breadcrumb/breadcrumb-styles.d.ts +0 -28
  96. package/dist/components/breadcrumb/breadcrumb-styles.d.ts.map +0 -1
  97. package/dist/components/breadcrumb/breadcrumb-styles.js +0 -17
  98. package/dist/components/breadcrumb/index.d.ts +0 -3
  99. package/dist/components/breadcrumb/index.d.ts.map +0 -1
  100. package/dist/components/breadcrumb/index.js +0 -3
  101. package/dist/components/button/Button.d.ts +0 -158
  102. package/dist/components/button/Button.d.ts.map +0 -1
  103. package/dist/components/button/Button.js +0 -51
  104. package/dist/components/button/button-config.d.ts +0 -71
  105. package/dist/components/button/button-config.d.ts.map +0 -1
  106. package/dist/components/button/button-config.js +0 -19
  107. package/dist/components/button/button-styles.d.ts +0 -14
  108. package/dist/components/button/button-styles.d.ts.map +0 -1
  109. package/dist/components/button/button-styles.js +0 -13
  110. package/dist/components/button/index.d.ts +0 -3
  111. package/dist/components/button/index.d.ts.map +0 -1
  112. package/dist/components/button/index.js +0 -3
  113. package/dist/components/calendar/Calendar.d.ts +0 -128
  114. package/dist/components/calendar/Calendar.d.ts.map +0 -1
  115. package/dist/components/calendar/Calendar.js +0 -123
  116. package/dist/components/calendar/DateGrid.d.ts +0 -62
  117. package/dist/components/calendar/DateGrid.d.ts.map +0 -1
  118. package/dist/components/calendar/DateGrid.js +0 -194
  119. package/dist/components/calendar/TimeSpinner.d.ts +0 -46
  120. package/dist/components/calendar/TimeSpinner.d.ts.map +0 -1
  121. package/dist/components/calendar/TimeSpinner.js +0 -60
  122. package/dist/components/calendar/calendar-config.d.ts +0 -93
  123. package/dist/components/calendar/calendar-config.d.ts.map +0 -1
  124. package/dist/components/calendar/calendar-config.js +0 -15
  125. package/dist/components/calendar/calendar-styles.d.ts +0 -32
  126. package/dist/components/calendar/calendar-styles.d.ts.map +0 -1
  127. package/dist/components/calendar/calendar-styles.js +0 -46
  128. package/dist/components/calendar/calendar.helpers.d.ts +0 -111
  129. package/dist/components/calendar/calendar.helpers.d.ts.map +0 -1
  130. package/dist/components/calendar/calendar.helpers.js +0 -82
  131. package/dist/components/calendar/index.d.ts +0 -3
  132. package/dist/components/calendar/index.d.ts.map +0 -1
  133. package/dist/components/calendar/index.js +0 -6
  134. package/dist/components/card/Card.d.ts +0 -207
  135. package/dist/components/card/Card.d.ts.map +0 -1
  136. package/dist/components/card/Card.js +0 -116
  137. package/dist/components/card/card-config.d.ts +0 -146
  138. package/dist/components/card/card-config.d.ts.map +0 -1
  139. package/dist/components/card/card-config.js +0 -27
  140. package/dist/components/card/card-styles.d.ts +0 -23
  141. package/dist/components/card/card-styles.d.ts.map +0 -1
  142. package/dist/components/card/card-styles.js +0 -22
  143. package/dist/components/card/index.d.ts +0 -3
  144. package/dist/components/card/index.d.ts.map +0 -1
  145. package/dist/components/card/index.js +0 -3
  146. package/dist/components/carousel/Carousel.d.ts +0 -126
  147. package/dist/components/carousel/Carousel.d.ts.map +0 -1
  148. package/dist/components/carousel/Carousel.js +0 -126
  149. package/dist/components/carousel/carousel-config.d.ts +0 -127
  150. package/dist/components/carousel/carousel-config.d.ts.map +0 -1
  151. package/dist/components/carousel/carousel-config.js +0 -28
  152. package/dist/components/carousel/carousel-styles.d.ts +0 -18
  153. package/dist/components/carousel/carousel-styles.d.ts.map +0 -1
  154. package/dist/components/carousel/carousel-styles.js +0 -16
  155. package/dist/components/carousel/index.d.ts +0 -3
  156. package/dist/components/carousel/index.d.ts.map +0 -1
  157. package/dist/components/carousel/index.js +0 -3
  158. package/dist/components/centered/Centered.d.ts +0 -49
  159. package/dist/components/centered/Centered.d.ts.map +0 -1
  160. package/dist/components/centered/Centered.js +0 -32
  161. package/dist/components/centered/centered-config.d.ts +0 -63
  162. package/dist/components/centered/centered-config.d.ts.map +0 -1
  163. package/dist/components/centered/centered-config.js +0 -17
  164. package/dist/components/centered/centered-styles.d.ts +0 -11
  165. package/dist/components/centered/centered-styles.d.ts.map +0 -1
  166. package/dist/components/centered/centered-styles.js +0 -9
  167. package/dist/components/centered/index.d.ts +0 -3
  168. package/dist/components/centered/index.d.ts.map +0 -1
  169. package/dist/components/centered/index.js +0 -3
  170. package/dist/components/chip/Chip.d.ts +0 -122
  171. package/dist/components/chip/Chip.d.ts.map +0 -1
  172. package/dist/components/chip/Chip.js +0 -85
  173. package/dist/components/chip/chip-config.d.ts +0 -78
  174. package/dist/components/chip/chip-config.d.ts.map +0 -1
  175. package/dist/components/chip/chip-config.js +0 -15
  176. package/dist/components/chip/chip-styles.d.ts +0 -27
  177. package/dist/components/chip/chip-styles.d.ts.map +0 -1
  178. package/dist/components/chip/chip-styles.js +0 -25
  179. package/dist/components/chip/index.d.ts +0 -3
  180. package/dist/components/chip/index.d.ts.map +0 -1
  181. package/dist/components/chip/index.js +0 -3
  182. package/dist/components/clipboard/Clipboard.d.ts +0 -75
  183. package/dist/components/clipboard/Clipboard.d.ts.map +0 -1
  184. package/dist/components/clipboard/Clipboard.js +0 -53
  185. package/dist/components/clipboard/CopyButton.d.ts +0 -64
  186. package/dist/components/clipboard/CopyButton.d.ts.map +0 -1
  187. package/dist/components/clipboard/CopyButton.js +0 -44
  188. package/dist/components/clipboard/clipboard-config.d.ts +0 -42
  189. package/dist/components/clipboard/clipboard-config.d.ts.map +0 -1
  190. package/dist/components/clipboard/clipboard-config.js +0 -23
  191. package/dist/components/clipboard/clipboard-styles.d.ts +0 -11
  192. package/dist/components/clipboard/clipboard-styles.d.ts.map +0 -1
  193. package/dist/components/clipboard/clipboard-styles.js +0 -5
  194. package/dist/components/clipboard/index.d.ts +0 -4
  195. package/dist/components/clipboard/index.d.ts.map +0 -1
  196. package/dist/components/clipboard/index.js +0 -4
  197. package/dist/components/container/Container.d.ts +0 -51
  198. package/dist/components/container/Container.d.ts.map +0 -1
  199. package/dist/components/container/Container.js +0 -21
  200. package/dist/components/container/container-config.d.ts +0 -61
  201. package/dist/components/container/container-config.d.ts.map +0 -1
  202. package/dist/components/container/container-config.js +0 -16
  203. package/dist/components/container/container-styles.d.ts +0 -18
  204. package/dist/components/container/container-styles.d.ts.map +0 -1
  205. package/dist/components/container/container-styles.js +0 -12
  206. package/dist/components/container/index.d.ts +0 -3
  207. package/dist/components/container/index.d.ts.map +0 -1
  208. package/dist/components/container/index.js +0 -3
  209. package/dist/components/cta/CTA.d.ts +0 -81
  210. package/dist/components/cta/CTA.d.ts.map +0 -1
  211. package/dist/components/cta/CTA.js +0 -60
  212. package/dist/components/cta/cta-config.d.ts +0 -69
  213. package/dist/components/cta/cta-config.d.ts.map +0 -1
  214. package/dist/components/cta/cta-config.js +0 -22
  215. package/dist/components/cta/cta-styles.d.ts +0 -8
  216. package/dist/components/cta/cta-styles.d.ts.map +0 -1
  217. package/dist/components/cta/cta-styles.js +0 -9
  218. package/dist/components/cta/index.d.ts +0 -3
  219. package/dist/components/cta/index.d.ts.map +0 -1
  220. package/dist/components/cta/index.js +0 -3
  221. package/dist/components/data-table/DataTable.d.ts +0 -137
  222. package/dist/components/data-table/DataTable.d.ts.map +0 -1
  223. package/dist/components/data-table/DataTable.js +0 -101
  224. package/dist/components/data-table/data-table-config.d.ts +0 -75
  225. package/dist/components/data-table/data-table-config.d.ts.map +0 -1
  226. package/dist/components/data-table/data-table-config.js +0 -24
  227. package/dist/components/data-table/data-table-styles.d.ts +0 -25
  228. package/dist/components/data-table/data-table-styles.d.ts.map +0 -1
  229. package/dist/components/data-table/data-table-styles.js +0 -5
  230. package/dist/components/data-table/index.d.ts +0 -3
  231. package/dist/components/data-table/index.d.ts.map +0 -1
  232. package/dist/components/data-table/index.js +0 -3
  233. package/dist/components/docs-layout/DocsLayout.d.ts +0 -94
  234. package/dist/components/docs-layout/DocsLayout.d.ts.map +0 -1
  235. package/dist/components/docs-layout/DocsLayout.js +0 -62
  236. package/dist/components/docs-layout/docs-layout-config.d.ts +0 -61
  237. package/dist/components/docs-layout/docs-layout-config.d.ts.map +0 -1
  238. package/dist/components/docs-layout/docs-layout-config.js +0 -22
  239. package/dist/components/docs-layout/docs-layout-styles.d.ts +0 -31
  240. package/dist/components/docs-layout/docs-layout-styles.d.ts.map +0 -1
  241. package/dist/components/docs-layout/docs-layout-styles.js +0 -5
  242. package/dist/components/docs-layout/index.d.ts +0 -3
  243. package/dist/components/docs-layout/index.d.ts.map +0 -1
  244. package/dist/components/docs-layout/index.js +0 -3
  245. package/dist/components/drawer/Drawer.d.ts +0 -128
  246. package/dist/components/drawer/Drawer.d.ts.map +0 -1
  247. package/dist/components/drawer/Drawer.js +0 -71
  248. package/dist/components/drawer/drawer-config.d.ts +0 -71
  249. package/dist/components/drawer/drawer-config.d.ts.map +0 -1
  250. package/dist/components/drawer/drawer-config.js +0 -19
  251. package/dist/components/drawer/drawer-styles.d.ts +0 -31
  252. package/dist/components/drawer/drawer-styles.d.ts.map +0 -1
  253. package/dist/components/drawer/drawer-styles.js +0 -42
  254. package/dist/components/drawer/index.d.ts +0 -3
  255. package/dist/components/drawer/index.d.ts.map +0 -1
  256. package/dist/components/drawer/index.js +0 -3
  257. package/dist/components/dropmenu/Dropmenu.d.ts +0 -198
  258. package/dist/components/dropmenu/Dropmenu.d.ts.map +0 -1
  259. package/dist/components/dropmenu/Dropmenu.js +0 -102
  260. package/dist/components/dropmenu/dropmenu-config.d.ts +0 -32
  261. package/dist/components/dropmenu/dropmenu-config.d.ts.map +0 -1
  262. package/dist/components/dropmenu/dropmenu-config.js +0 -9
  263. package/dist/components/dropmenu/dropmenu-styles.d.ts +0 -14
  264. package/dist/components/dropmenu/dropmenu-styles.d.ts.map +0 -1
  265. package/dist/components/dropmenu/dropmenu-styles.js +0 -6
  266. package/dist/components/dropmenu/index.d.ts +0 -3
  267. package/dist/components/dropmenu/index.d.ts.map +0 -1
  268. package/dist/components/dropmenu/index.js +0 -3
  269. package/dist/components/empty-state/EmptyState.d.ts +0 -95
  270. package/dist/components/empty-state/EmptyState.d.ts.map +0 -1
  271. package/dist/components/empty-state/EmptyState.js +0 -47
  272. package/dist/components/empty-state/empty-state-config.d.ts +0 -44
  273. package/dist/components/empty-state/empty-state-config.d.ts.map +0 -1
  274. package/dist/components/empty-state/empty-state-config.js +0 -16
  275. package/dist/components/empty-state/empty-state-styles.d.ts +0 -13
  276. package/dist/components/empty-state/empty-state-styles.d.ts.map +0 -1
  277. package/dist/components/empty-state/empty-state-styles.js +0 -18
  278. package/dist/components/empty-state/index.d.ts +0 -3
  279. package/dist/components/empty-state/index.d.ts.map +0 -1
  280. package/dist/components/empty-state/index.js +0 -3
  281. package/dist/components/error-state/ErrorState.d.ts +0 -98
  282. package/dist/components/error-state/ErrorState.d.ts.map +0 -1
  283. package/dist/components/error-state/ErrorState.js +0 -57
  284. package/dist/components/error-state/error-state-config.d.ts +0 -66
  285. package/dist/components/error-state/error-state-config.d.ts.map +0 -1
  286. package/dist/components/error-state/error-state-config.js +0 -20
  287. package/dist/components/error-state/error-state-styles.d.ts +0 -17
  288. package/dist/components/error-state/error-state-styles.d.ts.map +0 -1
  289. package/dist/components/error-state/error-state-styles.js +0 -5
  290. package/dist/components/error-state/index.d.ts +0 -3
  291. package/dist/components/error-state/index.d.ts.map +0 -1
  292. package/dist/components/error-state/index.js +0 -3
  293. package/dist/components/feature-grid/FeatureGrid.d.ts +0 -107
  294. package/dist/components/feature-grid/FeatureGrid.d.ts.map +0 -1
  295. package/dist/components/feature-grid/FeatureGrid.js +0 -94
  296. package/dist/components/feature-grid/feature-grid-config.d.ts +0 -80
  297. package/dist/components/feature-grid/feature-grid-config.d.ts.map +0 -1
  298. package/dist/components/feature-grid/feature-grid-config.js +0 -28
  299. package/dist/components/feature-grid/feature-grid-styles.d.ts +0 -11
  300. package/dist/components/feature-grid/feature-grid-styles.d.ts.map +0 -1
  301. package/dist/components/feature-grid/feature-grid-styles.js +0 -5
  302. package/dist/components/feature-grid/index.d.ts +0 -3
  303. package/dist/components/feature-grid/index.d.ts.map +0 -1
  304. package/dist/components/feature-grid/index.js +0 -3
  305. package/dist/components/field/FieldShell.d.ts +0 -115
  306. package/dist/components/field/FieldShell.d.ts.map +0 -1
  307. package/dist/components/field/FieldShell.js +0 -53
  308. package/dist/components/field/field-config.d.ts +0 -86
  309. package/dist/components/field/field-config.d.ts.map +0 -1
  310. package/dist/components/field/field-config.js +0 -20
  311. package/dist/components/field/field-styles.d.ts +0 -30
  312. package/dist/components/field/field-styles.d.ts.map +0 -1
  313. package/dist/components/field/field-styles.js +0 -10
  314. package/dist/components/field/index.d.ts +0 -3
  315. package/dist/components/field/index.d.ts.map +0 -1
  316. package/dist/components/field/index.js +0 -3
  317. package/dist/components/file-upload/FileUpload.d.ts +0 -112
  318. package/dist/components/file-upload/FileUpload.d.ts.map +0 -1
  319. package/dist/components/file-upload/FileUpload.js +0 -83
  320. package/dist/components/file-upload/file-upload-config.d.ts +0 -41
  321. package/dist/components/file-upload/file-upload-config.d.ts.map +0 -1
  322. package/dist/components/file-upload/file-upload-config.js +0 -16
  323. package/dist/components/file-upload/file-upload-styles.d.ts +0 -22
  324. package/dist/components/file-upload/file-upload-styles.d.ts.map +0 -1
  325. package/dist/components/file-upload/file-upload-styles.js +0 -9
  326. package/dist/components/file-upload/file-upload.helpers.d.ts +0 -26
  327. package/dist/components/file-upload/file-upload.helpers.d.ts.map +0 -1
  328. package/dist/components/file-upload/file-upload.helpers.js +0 -17
  329. package/dist/components/file-upload/index.d.ts +0 -3
  330. package/dist/components/file-upload/index.d.ts.map +0 -1
  331. package/dist/components/file-upload/index.js +0 -4
  332. package/dist/components/footer/Footer.d.ts +0 -73
  333. package/dist/components/footer/Footer.d.ts.map +0 -1
  334. package/dist/components/footer/Footer.js +0 -112
  335. package/dist/components/footer/footer-config.d.ts +0 -40
  336. package/dist/components/footer/footer-config.d.ts.map +0 -1
  337. package/dist/components/footer/footer-config.js +0 -18
  338. package/dist/components/footer/footer-styles.d.ts +0 -22
  339. package/dist/components/footer/footer-styles.d.ts.map +0 -1
  340. package/dist/components/footer/footer-styles.js +0 -9
  341. package/dist/components/footer/index.d.ts +0 -3
  342. package/dist/components/footer/index.d.ts.map +0 -1
  343. package/dist/components/footer/index.js +0 -3
  344. package/dist/components/form/Form.d.ts +0 -109
  345. package/dist/components/form/Form.d.ts.map +0 -1
  346. package/dist/components/form/Form.js +0 -42
  347. package/dist/components/form/form-config.d.ts +0 -57
  348. package/dist/components/form/form-config.d.ts.map +0 -1
  349. package/dist/components/form/form-config.js +0 -12
  350. package/dist/components/form/form-styles.d.ts +0 -27
  351. package/dist/components/form/form-styles.d.ts.map +0 -1
  352. package/dist/components/form/form-styles.js +0 -5
  353. package/dist/components/form/index.d.ts +0 -3
  354. package/dist/components/form/index.d.ts.map +0 -1
  355. package/dist/components/form/index.js +0 -3
  356. package/dist/components/grid/Grid.d.ts +0 -71
  357. package/dist/components/grid/Grid.d.ts.map +0 -1
  358. package/dist/components/grid/Grid.js +0 -23
  359. package/dist/components/grid/grid-config.d.ts +0 -63
  360. package/dist/components/grid/grid-config.d.ts.map +0 -1
  361. package/dist/components/grid/grid-config.js +0 -16
  362. package/dist/components/grid/grid-styles.d.ts +0 -12
  363. package/dist/components/grid/grid-styles.d.ts.map +0 -1
  364. package/dist/components/grid/grid-styles.js +0 -31
  365. package/dist/components/grid/index.d.ts +0 -3
  366. package/dist/components/grid/index.d.ts.map +0 -1
  367. package/dist/components/grid/index.js +0 -3
  368. package/dist/components/hero/Hero.d.ts +0 -90
  369. package/dist/components/hero/Hero.d.ts.map +0 -1
  370. package/dist/components/hero/Hero.js +0 -63
  371. package/dist/components/hero/hero-config.d.ts +0 -71
  372. package/dist/components/hero/hero-config.d.ts.map +0 -1
  373. package/dist/components/hero/hero-config.js +0 -22
  374. package/dist/components/hero/hero-styles.d.ts +0 -19
  375. package/dist/components/hero/hero-styles.d.ts.map +0 -1
  376. package/dist/components/hero/hero-styles.js +0 -5
  377. package/dist/components/hero/index.d.ts +0 -3
  378. package/dist/components/hero/index.d.ts.map +0 -1
  379. package/dist/components/hero/index.js +0 -3
  380. package/dist/components/image/Image.d.ts +0 -94
  381. package/dist/components/image/Image.d.ts.map +0 -1
  382. package/dist/components/image/Image.js +0 -67
  383. package/dist/components/image/image-config.d.ts +0 -85
  384. package/dist/components/image/image-config.d.ts.map +0 -1
  385. package/dist/components/image/image-config.js +0 -19
  386. package/dist/components/image/image-styles.d.ts +0 -13
  387. package/dist/components/image/image-styles.d.ts.map +0 -1
  388. package/dist/components/image/image-styles.js +0 -16
  389. package/dist/components/image/index.d.ts +0 -3
  390. package/dist/components/image/index.d.ts.map +0 -1
  391. package/dist/components/image/index.js +0 -3
  392. package/dist/components/input/Input.d.ts +0 -135
  393. package/dist/components/input/Input.d.ts.map +0 -1
  394. package/dist/components/input/Input.js +0 -66
  395. package/dist/components/input/PasswordInput.d.ts +0 -57
  396. package/dist/components/input/PasswordInput.d.ts.map +0 -1
  397. package/dist/components/input/PasswordInput.js +0 -32
  398. package/dist/components/input/index.d.ts +0 -4
  399. package/dist/components/input/index.d.ts.map +0 -1
  400. package/dist/components/input/index.js +0 -4
  401. package/dist/components/input/input-config.d.ts +0 -19
  402. package/dist/components/input/input-config.d.ts.map +0 -1
  403. package/dist/components/input/input-config.js +0 -8
  404. package/dist/components/input/input-styles.d.ts +0 -14
  405. package/dist/components/input/input-styles.d.ts.map +0 -1
  406. package/dist/components/input/input-styles.js +0 -10
  407. package/dist/components/keyboard/KeyboardContext.d.ts +0 -130
  408. package/dist/components/keyboard/KeyboardContext.d.ts.map +0 -1
  409. package/dist/components/keyboard/KeyboardContext.js +0 -12
  410. package/dist/components/keyboard/KeyboardProvider.d.ts +0 -78
  411. package/dist/components/keyboard/KeyboardProvider.d.ts.map +0 -1
  412. package/dist/components/keyboard/KeyboardProvider.js +0 -102
  413. package/dist/components/keyboard/OnScreenKeyboard.d.ts +0 -96
  414. package/dist/components/keyboard/OnScreenKeyboard.d.ts.map +0 -1
  415. package/dist/components/keyboard/OnScreenKeyboard.js +0 -165
  416. package/dist/components/keyboard/index.d.ts +0 -6
  417. package/dist/components/keyboard/index.d.ts.map +0 -1
  418. package/dist/components/keyboard/index.js +0 -6
  419. package/dist/components/keyboard/keyboard-config.d.ts +0 -133
  420. package/dist/components/keyboard/keyboard-config.d.ts.map +0 -1
  421. package/dist/components/keyboard/keyboard-config.js +0 -63
  422. package/dist/components/keyboard/keyboard-styles.d.ts +0 -13
  423. package/dist/components/keyboard/keyboard-styles.d.ts.map +0 -1
  424. package/dist/components/keyboard/keyboard-styles.js +0 -13
  425. package/dist/components/keyboard/use-keyboard-field.d.ts +0 -47
  426. package/dist/components/keyboard/use-keyboard-field.d.ts.map +0 -1
  427. package/dist/components/keyboard/use-keyboard-field.js +0 -31
  428. package/dist/components/link/Link.d.ts +0 -132
  429. package/dist/components/link/Link.d.ts.map +0 -1
  430. package/dist/components/link/Link.js +0 -48
  431. package/dist/components/link/index.d.ts +0 -3
  432. package/dist/components/link/index.d.ts.map +0 -1
  433. package/dist/components/link/index.js +0 -3
  434. package/dist/components/link/link-config.d.ts +0 -80
  435. package/dist/components/link/link-config.d.ts.map +0 -1
  436. package/dist/components/link/link-config.js +0 -17
  437. package/dist/components/link/link-styles.d.ts +0 -28
  438. package/dist/components/link/link-styles.d.ts.map +0 -1
  439. package/dist/components/link/link-styles.js +0 -29
  440. package/dist/components/loading-state/LoadingState.d.ts +0 -57
  441. package/dist/components/loading-state/LoadingState.d.ts.map +0 -1
  442. package/dist/components/loading-state/LoadingState.js +0 -44
  443. package/dist/components/loading-state/index.d.ts +0 -3
  444. package/dist/components/loading-state/index.d.ts.map +0 -1
  445. package/dist/components/loading-state/index.js +0 -3
  446. package/dist/components/loading-state/loading-state-config.d.ts +0 -49
  447. package/dist/components/loading-state/loading-state-config.d.ts.map +0 -1
  448. package/dist/components/loading-state/loading-state-config.js +0 -18
  449. package/dist/components/loading-state/loading-state-styles.d.ts +0 -12
  450. package/dist/components/loading-state/loading-state-styles.d.ts.map +0 -1
  451. package/dist/components/loading-state/loading-state-styles.js +0 -9
  452. package/dist/components/marketing-layout/MarketingLayout.d.ts +0 -83
  453. package/dist/components/marketing-layout/MarketingLayout.d.ts.map +0 -1
  454. package/dist/components/marketing-layout/MarketingLayout.js +0 -40
  455. package/dist/components/marketing-layout/index.d.ts +0 -3
  456. package/dist/components/marketing-layout/index.d.ts.map +0 -1
  457. package/dist/components/marketing-layout/index.js +0 -3
  458. package/dist/components/marketing-layout/marketing-layout-config.d.ts +0 -60
  459. package/dist/components/marketing-layout/marketing-layout-config.d.ts.map +0 -1
  460. package/dist/components/marketing-layout/marketing-layout-config.js +0 -16
  461. package/dist/components/marketing-layout/marketing-layout-styles.d.ts +0 -8
  462. package/dist/components/marketing-layout/marketing-layout-styles.d.ts.map +0 -1
  463. package/dist/components/marketing-layout/marketing-layout-styles.js +0 -8
  464. package/dist/components/marquee/Marquee.d.ts +0 -83
  465. package/dist/components/marquee/Marquee.d.ts.map +0 -1
  466. package/dist/components/marquee/Marquee.js +0 -59
  467. package/dist/components/marquee/index.d.ts +0 -3
  468. package/dist/components/marquee/index.d.ts.map +0 -1
  469. package/dist/components/marquee/index.js +0 -3
  470. package/dist/components/marquee/marquee-config.d.ts +0 -100
  471. package/dist/components/marquee/marquee-config.d.ts.map +0 -1
  472. package/dist/components/marquee/marquee-config.js +0 -21
  473. package/dist/components/marquee/marquee-styles.d.ts +0 -17
  474. package/dist/components/marquee/marquee-styles.d.ts.map +0 -1
  475. package/dist/components/marquee/marquee-styles.js +0 -15
  476. package/dist/components/menu/Menu.d.ts +0 -227
  477. package/dist/components/menu/Menu.d.ts.map +0 -1
  478. package/dist/components/menu/Menu.js +0 -161
  479. package/dist/components/menu/index.d.ts +0 -5
  480. package/dist/components/menu/index.d.ts.map +0 -1
  481. package/dist/components/menu/index.js +0 -4
  482. package/dist/components/menu/menu-config.d.ts +0 -117
  483. package/dist/components/menu/menu-config.d.ts.map +0 -1
  484. package/dist/components/menu/menu-config.js +0 -14
  485. package/dist/components/menu/menu-navigation.d.ts +0 -38
  486. package/dist/components/menu/menu-navigation.d.ts.map +0 -1
  487. package/dist/components/menu/menu-navigation.js +0 -20
  488. package/dist/components/menu/use-menu-floating.d.ts +0 -134
  489. package/dist/components/menu/use-menu-floating.d.ts.map +0 -1
  490. package/dist/components/menu/use-menu-floating.js +0 -43
  491. package/dist/components/modal/Modal.d.ts +0 -147
  492. package/dist/components/modal/Modal.d.ts.map +0 -1
  493. package/dist/components/modal/Modal.js +0 -76
  494. package/dist/components/modal/index.d.ts +0 -3
  495. package/dist/components/modal/index.d.ts.map +0 -1
  496. package/dist/components/modal/index.js +0 -3
  497. package/dist/components/modal/modal-config.d.ts +0 -77
  498. package/dist/components/modal/modal-config.d.ts.map +0 -1
  499. package/dist/components/modal/modal-config.js +0 -20
  500. package/dist/components/modal/modal-styles.d.ts +0 -12
  501. package/dist/components/modal/modal-styles.d.ts.map +0 -1
  502. package/dist/components/modal/modal-styles.js +0 -15
  503. package/dist/components/multi-select/MultiSelect.d.ts +0 -234
  504. package/dist/components/multi-select/MultiSelect.d.ts.map +0 -1
  505. package/dist/components/multi-select/MultiSelect.js +0 -163
  506. package/dist/components/multi-select/index.d.ts +0 -3
  507. package/dist/components/multi-select/index.d.ts.map +0 -1
  508. package/dist/components/multi-select/index.js +0 -3
  509. package/dist/components/multi-select/multi-select-config.d.ts +0 -74
  510. package/dist/components/multi-select/multi-select-config.d.ts.map +0 -1
  511. package/dist/components/multi-select/multi-select-config.js +0 -20
  512. package/dist/components/multi-select/multi-select-styles.d.ts +0 -23
  513. package/dist/components/multi-select/multi-select-styles.d.ts.map +0 -1
  514. package/dist/components/multi-select/multi-select-styles.js +0 -18
  515. package/dist/components/navbar/Navbar.d.ts +0 -87
  516. package/dist/components/navbar/Navbar.d.ts.map +0 -1
  517. package/dist/components/navbar/Navbar.js +0 -117
  518. package/dist/components/navbar/index.d.ts +0 -3
  519. package/dist/components/navbar/index.d.ts.map +0 -1
  520. package/dist/components/navbar/index.js +0 -3
  521. package/dist/components/navbar/navbar-config.d.ts +0 -52
  522. package/dist/components/navbar/navbar-config.d.ts.map +0 -1
  523. package/dist/components/navbar/navbar-config.js +0 -20
  524. package/dist/components/navbar/navbar-styles.d.ts +0 -28
  525. package/dist/components/navbar/navbar-styles.d.ts.map +0 -1
  526. package/dist/components/navbar/navbar-styles.js +0 -9
  527. package/dist/components/page/Page.d.ts +0 -166
  528. package/dist/components/page/Page.d.ts.map +0 -1
  529. package/dist/components/page/Page.js +0 -90
  530. package/dist/components/page/index.d.ts +0 -3
  531. package/dist/components/page/index.d.ts.map +0 -1
  532. package/dist/components/page/index.js +0 -3
  533. package/dist/components/page/page-config.d.ts +0 -57
  534. package/dist/components/page/page-config.d.ts.map +0 -1
  535. package/dist/components/page/page-config.js +0 -20
  536. package/dist/components/page/page-styles.d.ts +0 -25
  537. package/dist/components/page/page-styles.d.ts.map +0 -1
  538. package/dist/components/page/page-styles.js +0 -5
  539. package/dist/components/pagination/Pagination.d.ts +0 -91
  540. package/dist/components/pagination/Pagination.d.ts.map +0 -1
  541. package/dist/components/pagination/Pagination.js +0 -66
  542. package/dist/components/pagination/index.d.ts +0 -3
  543. package/dist/components/pagination/index.d.ts.map +0 -1
  544. package/dist/components/pagination/index.js +0 -4
  545. package/dist/components/pagination/pagination-config.d.ts +0 -66
  546. package/dist/components/pagination/pagination-config.d.ts.map +0 -1
  547. package/dist/components/pagination/pagination-config.js +0 -19
  548. package/dist/components/pagination/pagination-styles.d.ts +0 -19
  549. package/dist/components/pagination/pagination-styles.d.ts.map +0 -1
  550. package/dist/components/pagination/pagination-styles.js +0 -5
  551. package/dist/components/pagination/pagination.helpers.d.ts +0 -26
  552. package/dist/components/pagination/pagination.helpers.d.ts.map +0 -1
  553. package/dist/components/pagination/pagination.helpers.js +0 -12
  554. package/dist/components/pin-input/PinInput.d.ts +0 -109
  555. package/dist/components/pin-input/PinInput.d.ts.map +0 -1
  556. package/dist/components/pin-input/PinInput.js +0 -124
  557. package/dist/components/pin-input/index.d.ts +0 -3
  558. package/dist/components/pin-input/index.d.ts.map +0 -1
  559. package/dist/components/pin-input/index.js +0 -3
  560. package/dist/components/pin-input/pin-input-config.d.ts +0 -82
  561. package/dist/components/pin-input/pin-input-config.d.ts.map +0 -1
  562. package/dist/components/pin-input/pin-input-config.js +0 -23
  563. package/dist/components/pin-input/pin-input-styles.d.ts +0 -16
  564. package/dist/components/pin-input/pin-input-styles.d.ts.map +0 -1
  565. package/dist/components/pin-input/pin-input-styles.js +0 -9
  566. package/dist/components/pricing-card/PricingCard.d.ts +0 -87
  567. package/dist/components/pricing-card/PricingCard.d.ts.map +0 -1
  568. package/dist/components/pricing-card/PricingCard.js +0 -79
  569. package/dist/components/pricing-card/index.d.ts +0 -3
  570. package/dist/components/pricing-card/index.d.ts.map +0 -1
  571. package/dist/components/pricing-card/index.js +0 -3
  572. package/dist/components/pricing-card/pricing-card-config.d.ts +0 -35
  573. package/dist/components/pricing-card/pricing-card-config.d.ts.map +0 -1
  574. package/dist/components/pricing-card/pricing-card-config.js +0 -16
  575. package/dist/components/pricing-card/pricing-card-styles.d.ts +0 -21
  576. package/dist/components/pricing-card/pricing-card-styles.d.ts.map +0 -1
  577. package/dist/components/pricing-card/pricing-card-styles.js +0 -5
  578. package/dist/components/radio/Radio.d.ts +0 -90
  579. package/dist/components/radio/Radio.d.ts.map +0 -1
  580. package/dist/components/radio/Radio.js +0 -58
  581. package/dist/components/radio/RadioGroup.d.ts +0 -144
  582. package/dist/components/radio/RadioGroup.d.ts.map +0 -1
  583. package/dist/components/radio/RadioGroup.js +0 -52
  584. package/dist/components/radio/index.d.ts +0 -4
  585. package/dist/components/radio/index.d.ts.map +0 -1
  586. package/dist/components/radio/index.js +0 -5
  587. package/dist/components/radio/radio-config.d.ts +0 -53
  588. package/dist/components/radio/radio-config.d.ts.map +0 -1
  589. package/dist/components/radio/radio-config.js +0 -17
  590. package/dist/components/radio/radio-context.d.ts +0 -59
  591. package/dist/components/radio/radio-context.d.ts.map +0 -1
  592. package/dist/components/radio/radio-context.js +0 -7
  593. package/dist/components/radio/radio-styles.d.ts +0 -36
  594. package/dist/components/radio/radio-styles.d.ts.map +0 -1
  595. package/dist/components/radio/radio-styles.js +0 -57
  596. package/dist/components/resizable-screen/ResizableScreen.d.ts +0 -115
  597. package/dist/components/resizable-screen/ResizableScreen.d.ts.map +0 -1
  598. package/dist/components/resizable-screen/ResizableScreen.js +0 -89
  599. package/dist/components/resizable-screen/index.d.ts +0 -3
  600. package/dist/components/resizable-screen/index.d.ts.map +0 -1
  601. package/dist/components/resizable-screen/index.js +0 -2
  602. package/dist/components/resizable-screen/resizable-screen-config.d.ts +0 -79
  603. package/dist/components/resizable-screen/resizable-screen-config.d.ts.map +0 -1
  604. package/dist/components/resizable-screen/resizable-screen-config.js +0 -20
  605. package/dist/components/scrollbar/index.d.ts +0 -2
  606. package/dist/components/scrollbar/index.d.ts.map +0 -1
  607. package/dist/components/scrollbar/index.js +0 -1
  608. package/dist/components/scrollbar/scrollbar-config.d.ts +0 -70
  609. package/dist/components/scrollbar/scrollbar-config.d.ts.map +0 -1
  610. package/dist/components/scrollbar/scrollbar-config.js +0 -13
  611. package/dist/components/search-input/SearchInput.d.ts +0 -111
  612. package/dist/components/search-input/SearchInput.d.ts.map +0 -1
  613. package/dist/components/search-input/SearchInput.js +0 -86
  614. package/dist/components/search-input/index.d.ts +0 -3
  615. package/dist/components/search-input/index.d.ts.map +0 -1
  616. package/dist/components/search-input/index.js +0 -3
  617. package/dist/components/search-input/search-input-config.d.ts +0 -55
  618. package/dist/components/search-input/search-input-config.d.ts.map +0 -1
  619. package/dist/components/search-input/search-input-config.js +0 -20
  620. package/dist/components/search-input/search-input-styles.d.ts +0 -16
  621. package/dist/components/search-input/search-input-styles.d.ts.map +0 -1
  622. package/dist/components/search-input/search-input-styles.js +0 -9
  623. package/dist/components/section/Section.d.ts +0 -56
  624. package/dist/components/section/Section.d.ts.map +0 -1
  625. package/dist/components/section/Section.js +0 -27
  626. package/dist/components/section/index.d.ts +0 -3
  627. package/dist/components/section/index.d.ts.map +0 -1
  628. package/dist/components/section/index.js +0 -3
  629. package/dist/components/section/section-config.d.ts +0 -64
  630. package/dist/components/section/section-config.d.ts.map +0 -1
  631. package/dist/components/section/section-config.js +0 -20
  632. package/dist/components/section/section-styles.d.ts +0 -8
  633. package/dist/components/section/section-styles.d.ts.map +0 -1
  634. package/dist/components/section/section-styles.js +0 -9
  635. package/dist/components/section-kit/ActionGroup.d.ts +0 -54
  636. package/dist/components/section-kit/ActionGroup.d.ts.map +0 -1
  637. package/dist/components/section-kit/ActionGroup.js +0 -39
  638. package/dist/components/section-kit/SectionHeading.d.ts +0 -65
  639. package/dist/components/section-kit/SectionHeading.d.ts.map +0 -1
  640. package/dist/components/section-kit/SectionHeading.js +0 -34
  641. package/dist/components/section-kit/SkipLink.d.ts +0 -50
  642. package/dist/components/section-kit/SkipLink.d.ts.map +0 -1
  643. package/dist/components/section-kit/SkipLink.js +0 -14
  644. package/dist/components/section-kit/index.d.ts +0 -13
  645. package/dist/components/section-kit/index.d.ts.map +0 -1
  646. package/dist/components/section-kit/index.js +0 -3
  647. package/dist/components/sidebar/Sidebar.d.ts +0 -196
  648. package/dist/components/sidebar/Sidebar.d.ts.map +0 -1
  649. package/dist/components/sidebar/Sidebar.js +0 -151
  650. package/dist/components/sidebar/index.d.ts +0 -3
  651. package/dist/components/sidebar/index.d.ts.map +0 -1
  652. package/dist/components/sidebar/index.js +0 -3
  653. package/dist/components/sidebar/sidebar-config.d.ts +0 -254
  654. package/dist/components/sidebar/sidebar-config.d.ts.map +0 -1
  655. package/dist/components/sidebar/sidebar-config.js +0 -49
  656. package/dist/components/sidebar/sidebar-styles.d.ts +0 -32
  657. package/dist/components/sidebar/sidebar-styles.d.ts.map +0 -1
  658. package/dist/components/sidebar/sidebar-styles.js +0 -30
  659. package/dist/components/sidebar-layout/SidebarLayout.d.ts +0 -67
  660. package/dist/components/sidebar-layout/SidebarLayout.d.ts.map +0 -1
  661. package/dist/components/sidebar-layout/SidebarLayout.js +0 -40
  662. package/dist/components/sidebar-layout/index.d.ts +0 -3
  663. package/dist/components/sidebar-layout/index.d.ts.map +0 -1
  664. package/dist/components/sidebar-layout/index.js +0 -3
  665. package/dist/components/sidebar-layout/sidebar-layout-config.d.ts +0 -49
  666. package/dist/components/sidebar-layout/sidebar-layout-config.d.ts.map +0 -1
  667. package/dist/components/sidebar-layout/sidebar-layout-config.js +0 -16
  668. package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts +0 -28
  669. package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts.map +0 -1
  670. package/dist/components/sidebar-layout/sidebar-layout-styles.js +0 -9
  671. package/dist/components/skeleton/Skeleton.d.ts +0 -65
  672. package/dist/components/skeleton/Skeleton.d.ts.map +0 -1
  673. package/dist/components/skeleton/Skeleton.js +0 -29
  674. package/dist/components/skeleton/index.d.ts +0 -3
  675. package/dist/components/skeleton/index.d.ts.map +0 -1
  676. package/dist/components/skeleton/index.js +0 -3
  677. package/dist/components/skeleton/skeleton-config.d.ts +0 -40
  678. package/dist/components/skeleton/skeleton-config.d.ts.map +0 -1
  679. package/dist/components/skeleton/skeleton-config.js +0 -13
  680. package/dist/components/skeleton/skeleton-styles.d.ts +0 -19
  681. package/dist/components/skeleton/skeleton-styles.d.ts.map +0 -1
  682. package/dist/components/skeleton/skeleton-styles.js +0 -5
  683. package/dist/components/spinner/index.d.ts +0 -3
  684. package/dist/components/spinner/index.d.ts.map +0 -1
  685. package/dist/components/spinner/index.js +0 -3
  686. package/dist/components/spinner/spinner-config.d.ts +0 -55
  687. package/dist/components/spinner/spinner-config.d.ts.map +0 -1
  688. package/dist/components/spinner/spinner-config.js +0 -15
  689. package/dist/components/spinner/spinner-styles.d.ts +0 -12
  690. package/dist/components/spinner/spinner-styles.d.ts.map +0 -1
  691. package/dist/components/spinner/spinner-styles.js +0 -16
  692. package/dist/components/spinner/spinner.d.ts +0 -58
  693. package/dist/components/spinner/spinner.d.ts.map +0 -1
  694. package/dist/components/spinner/spinner.js +0 -40
  695. package/dist/components/split/Split.d.ts +0 -68
  696. package/dist/components/split/Split.d.ts.map +0 -1
  697. package/dist/components/split/Split.js +0 -36
  698. package/dist/components/split/index.d.ts +0 -3
  699. package/dist/components/split/index.d.ts.map +0 -1
  700. package/dist/components/split/index.js +0 -3
  701. package/dist/components/split/split-config.d.ts +0 -83
  702. package/dist/components/split/split-config.d.ts.map +0 -1
  703. package/dist/components/split/split-config.js +0 -20
  704. package/dist/components/split/split-styles.d.ts +0 -36
  705. package/dist/components/split/split-styles.d.ts.map +0 -1
  706. package/dist/components/split/split-styles.js +0 -76
  707. package/dist/components/stack/Stack.d.ts +0 -107
  708. package/dist/components/stack/Stack.d.ts.map +0 -1
  709. package/dist/components/stack/Stack.js +0 -36
  710. package/dist/components/stack/index.d.ts +0 -3
  711. package/dist/components/stack/index.d.ts.map +0 -1
  712. package/dist/components/stack/index.js +0 -3
  713. package/dist/components/stack/stack-config.d.ts +0 -68
  714. package/dist/components/stack/stack-config.d.ts.map +0 -1
  715. package/dist/components/stack/stack-config.js +0 -20
  716. package/dist/components/stack/stack-styles.d.ts +0 -10
  717. package/dist/components/stack/stack-styles.d.ts.map +0 -1
  718. package/dist/components/stack/stack-styles.js +0 -21
  719. package/dist/components/stepper/Stepper.d.ts +0 -94
  720. package/dist/components/stepper/Stepper.d.ts.map +0 -1
  721. package/dist/components/stepper/Stepper.js +0 -71
  722. package/dist/components/stepper/index.d.ts +0 -3
  723. package/dist/components/stepper/index.d.ts.map +0 -1
  724. package/dist/components/stepper/index.js +0 -3
  725. package/dist/components/stepper/stepper-config.d.ts +0 -51
  726. package/dist/components/stepper/stepper-config.d.ts.map +0 -1
  727. package/dist/components/stepper/stepper-config.js +0 -16
  728. package/dist/components/stepper/stepper-styles.d.ts +0 -30
  729. package/dist/components/stepper/stepper-styles.d.ts.map +0 -1
  730. package/dist/components/stepper/stepper-styles.js +0 -25
  731. package/dist/components/switch/Switch.d.ts +0 -97
  732. package/dist/components/switch/Switch.d.ts.map +0 -1
  733. package/dist/components/switch/Switch.js +0 -65
  734. package/dist/components/switch/index.d.ts +0 -3
  735. package/dist/components/switch/index.d.ts.map +0 -1
  736. package/dist/components/switch/index.js +0 -3
  737. package/dist/components/switch/switch-config.d.ts +0 -32
  738. package/dist/components/switch/switch-config.d.ts.map +0 -1
  739. package/dist/components/switch/switch-config.js +0 -12
  740. package/dist/components/switch/switch-styles.d.ts +0 -18
  741. package/dist/components/switch/switch-styles.d.ts.map +0 -1
  742. package/dist/components/switch/switch-styles.js +0 -17
  743. package/dist/components/table/Table.d.ts +0 -116
  744. package/dist/components/table/Table.d.ts.map +0 -1
  745. package/dist/components/table/Table.js +0 -66
  746. package/dist/components/table/index.d.ts +0 -3
  747. package/dist/components/table/index.d.ts.map +0 -1
  748. package/dist/components/table/index.js +0 -3
  749. package/dist/components/table/table-config.d.ts +0 -99
  750. package/dist/components/table/table-config.d.ts.map +0 -1
  751. package/dist/components/table/table-config.js +0 -19
  752. package/dist/components/table/table-styles.d.ts +0 -31
  753. package/dist/components/table/table-styles.d.ts.map +0 -1
  754. package/dist/components/table/table-styles.js +0 -52
  755. package/dist/components/tabs/Tabs.d.ts +0 -125
  756. package/dist/components/tabs/Tabs.d.ts.map +0 -1
  757. package/dist/components/tabs/Tabs.js +0 -94
  758. package/dist/components/tabs/index.d.ts +0 -3
  759. package/dist/components/tabs/index.d.ts.map +0 -1
  760. package/dist/components/tabs/index.js +0 -3
  761. package/dist/components/tabs/tabs-config.d.ts +0 -153
  762. package/dist/components/tabs/tabs-config.d.ts.map +0 -1
  763. package/dist/components/tabs/tabs-config.js +0 -28
  764. package/dist/components/tabs/tabs-styles.d.ts +0 -17
  765. package/dist/components/tabs/tabs-styles.d.ts.map +0 -1
  766. package/dist/components/tabs/tabs-styles.js +0 -17
  767. package/dist/components/testimonials/Testimonials.d.ts +0 -78
  768. package/dist/components/testimonials/Testimonials.d.ts.map +0 -1
  769. package/dist/components/testimonials/Testimonials.js +0 -96
  770. package/dist/components/testimonials/index.d.ts +0 -3
  771. package/dist/components/testimonials/index.d.ts.map +0 -1
  772. package/dist/components/testimonials/index.js +0 -3
  773. package/dist/components/testimonials/testimonials-config.d.ts +0 -44
  774. package/dist/components/testimonials/testimonials-config.d.ts.map +0 -1
  775. package/dist/components/testimonials/testimonials-config.js +0 -28
  776. package/dist/components/testimonials/testimonials-styles.d.ts +0 -11
  777. package/dist/components/testimonials/testimonials-styles.d.ts.map +0 -1
  778. package/dist/components/testimonials/testimonials-styles.js +0 -5
  779. package/dist/components/textarea/Textarea.d.ts +0 -133
  780. package/dist/components/textarea/Textarea.d.ts.map +0 -1
  781. package/dist/components/textarea/Textarea.js +0 -53
  782. package/dist/components/textarea/index.d.ts +0 -3
  783. package/dist/components/textarea/index.d.ts.map +0 -1
  784. package/dist/components/textarea/index.js +0 -3
  785. package/dist/components/textarea/textarea-config.d.ts +0 -33
  786. package/dist/components/textarea/textarea-config.d.ts.map +0 -1
  787. package/dist/components/textarea/textarea-config.js +0 -14
  788. package/dist/components/textarea/textarea-styles.d.ts +0 -13
  789. package/dist/components/textarea/textarea-styles.d.ts.map +0 -1
  790. package/dist/components/textarea/textarea-styles.js +0 -10
  791. package/dist/components/toast/ToastContext.d.ts +0 -122
  792. package/dist/components/toast/ToastContext.d.ts.map +0 -1
  793. package/dist/components/toast/ToastContext.js +0 -24
  794. package/dist/components/toast/ToastItem.d.ts +0 -71
  795. package/dist/components/toast/ToastItem.d.ts.map +0 -1
  796. package/dist/components/toast/ToastItem.js +0 -87
  797. package/dist/components/toast/ToastProvider.d.ts +0 -98
  798. package/dist/components/toast/ToastProvider.d.ts.map +0 -1
  799. package/dist/components/toast/ToastProvider.js +0 -130
  800. package/dist/components/toast/index.d.ts +0 -5
  801. package/dist/components/toast/index.d.ts.map +0 -1
  802. package/dist/components/toast/index.js +0 -6
  803. package/dist/components/toast/toast-config.d.ts +0 -187
  804. package/dist/components/toast/toast-config.d.ts.map +0 -1
  805. package/dist/components/toast/toast-config.js +0 -25
  806. package/dist/components/toast/toast-styles.d.ts +0 -40
  807. package/dist/components/toast/toast-styles.d.ts.map +0 -1
  808. package/dist/components/toast/toast-styles.js +0 -53
  809. package/dist/components/toast/use-pausable-timeout.d.ts +0 -34
  810. package/dist/components/toast/use-pausable-timeout.d.ts.map +0 -1
  811. package/dist/components/toast/use-pausable-timeout.js +0 -19
  812. package/dist/components/tooltip/Tooltip.d.ts +0 -88
  813. package/dist/components/tooltip/Tooltip.d.ts.map +0 -1
  814. package/dist/components/tooltip/Tooltip.js +0 -69
  815. package/dist/components/tooltip/index.d.ts +0 -3
  816. package/dist/components/tooltip/index.d.ts.map +0 -1
  817. package/dist/components/tooltip/index.js +0 -3
  818. package/dist/components/tooltip/tooltip-config.d.ts +0 -122
  819. package/dist/components/tooltip/tooltip-config.d.ts.map +0 -1
  820. package/dist/components/tooltip/tooltip-config.js +0 -28
  821. package/dist/components/tooltip/tooltip-styles.d.ts +0 -17
  822. package/dist/components/tooltip/tooltip-styles.d.ts.map +0 -1
  823. package/dist/components/tooltip/tooltip-styles.js +0 -17
  824. package/dist/components/typography/Typography.d.ts +0 -60
  825. package/dist/components/typography/Typography.d.ts.map +0 -1
  826. package/dist/components/typography/Typography.js +0 -28
  827. package/dist/components/typography/index.d.ts +0 -3
  828. package/dist/components/typography/index.d.ts.map +0 -1
  829. package/dist/components/typography/index.js +0 -3
  830. package/dist/components/typography/typography-config.d.ts +0 -54
  831. package/dist/components/typography/typography-config.d.ts.map +0 -1
  832. package/dist/components/typography/typography-config.js +0 -12
  833. package/dist/components/typography/typography-styles.d.ts +0 -21
  834. package/dist/components/typography/typography-styles.d.ts.map +0 -1
  835. package/dist/components/typography/typography-styles.js +0 -19
  836. package/dist/config/config.d.ts +0 -69
  837. package/dist/config/config.d.ts.map +0 -1
  838. package/dist/config/default-config.d.ts +0 -8
  839. package/dist/config/default-config.d.ts.map +0 -1
  840. package/dist/config/default-config.js +0 -13
  841. package/dist/config/define-config.d.ts +0 -26
  842. package/dist/config/define-config.d.ts.map +0 -1
  843. package/dist/config/index.d.ts +0 -5
  844. package/dist/config/index.d.ts.map +0 -1
  845. package/dist/config/index.js +0 -4
  846. package/dist/config/resolve-color.d.ts +0 -28
  847. package/dist/config/resolve-color.d.ts.map +0 -1
  848. package/dist/config/resolve-color.js +0 -25
  849. package/dist/config/resolve-config.d.ts +0 -26
  850. package/dist/config/resolve-config.d.ts.map +0 -1
  851. package/dist/config/resolve-config.js +0 -17
  852. package/dist/config/validate-config.d.ts +0 -34
  853. package/dist/config/validate-config.d.ts.map +0 -1
  854. package/dist/config/validate-config.js +0 -190
  855. package/dist/icons/ArrowLeftIcon.d.ts +0 -3
  856. package/dist/icons/ArrowLeftIcon.d.ts.map +0 -1
  857. package/dist/icons/ArrowLeftIcon.js +0 -18
  858. package/dist/icons/CalendarIcon.d.ts +0 -3
  859. package/dist/icons/CalendarIcon.d.ts.map +0 -1
  860. package/dist/icons/CalendarIcon.js +0 -45
  861. package/dist/icons/CheckIcon.d.ts +0 -3
  862. package/dist/icons/CheckIcon.d.ts.map +0 -1
  863. package/dist/icons/CheckIcon.js +0 -18
  864. package/dist/icons/ChevronDownIcon.d.ts +0 -3
  865. package/dist/icons/ChevronDownIcon.d.ts.map +0 -1
  866. package/dist/icons/ChevronDownIcon.js +0 -18
  867. package/dist/icons/ChevronLeftIcon.d.ts +0 -3
  868. package/dist/icons/ChevronLeftIcon.d.ts.map +0 -1
  869. package/dist/icons/ChevronLeftIcon.js +0 -18
  870. package/dist/icons/ChevronRightIcon.d.ts +0 -3
  871. package/dist/icons/ChevronRightIcon.d.ts.map +0 -1
  872. package/dist/icons/ChevronRightIcon.js +0 -18
  873. package/dist/icons/ChevronUpIcon.d.ts +0 -3
  874. package/dist/icons/ChevronUpIcon.d.ts.map +0 -1
  875. package/dist/icons/ChevronUpIcon.js +0 -18
  876. package/dist/icons/ClearIcon.d.ts +0 -3
  877. package/dist/icons/ClearIcon.d.ts.map +0 -1
  878. package/dist/icons/ClearIcon.js +0 -28
  879. package/dist/icons/ClockIcon.d.ts +0 -3
  880. package/dist/icons/ClockIcon.d.ts.map +0 -1
  881. package/dist/icons/ClockIcon.js +0 -22
  882. package/dist/icons/CloseIcon.d.ts +0 -3
  883. package/dist/icons/CloseIcon.d.ts.map +0 -1
  884. package/dist/icons/CloseIcon.js +0 -28
  885. package/dist/icons/CopyIcon.d.ts +0 -3
  886. package/dist/icons/CopyIcon.d.ts.map +0 -1
  887. package/dist/icons/CopyIcon.js +0 -24
  888. package/dist/icons/ErrorIcon.d.ts +0 -3
  889. package/dist/icons/ErrorIcon.d.ts.map +0 -1
  890. package/dist/icons/ErrorIcon.js +0 -18
  891. package/dist/icons/ExternalLinkIcon.d.ts +0 -3
  892. package/dist/icons/ExternalLinkIcon.d.ts.map +0 -1
  893. package/dist/icons/ExternalLinkIcon.js +0 -27
  894. package/dist/icons/EyeIcon.d.ts +0 -3
  895. package/dist/icons/EyeIcon.d.ts.map +0 -1
  896. package/dist/icons/EyeIcon.js +0 -22
  897. package/dist/icons/EyeOffIcon.d.ts +0 -3
  898. package/dist/icons/EyeOffIcon.d.ts.map +0 -1
  899. package/dist/icons/EyeOffIcon.js +0 -23
  900. package/dist/icons/InfoIcon.d.ts +0 -3
  901. package/dist/icons/InfoIcon.d.ts.map +0 -1
  902. package/dist/icons/InfoIcon.js +0 -18
  903. package/dist/icons/SearchIcon.d.ts +0 -3
  904. package/dist/icons/SearchIcon.d.ts.map +0 -1
  905. package/dist/icons/SearchIcon.js +0 -27
  906. package/dist/icons/WarningIcon.d.ts +0 -3
  907. package/dist/icons/WarningIcon.d.ts.map +0 -1
  908. package/dist/icons/WarningIcon.js +0 -18
  909. package/dist/icons/index.d.ts +0 -13
  910. package/dist/icons/index.d.ts.map +0 -1
  911. package/dist/icons/types.d.ts +0 -5
  912. package/dist/icons/types.d.ts.map +0 -1
  913. package/dist/index.css +0 -540
  914. package/dist/libs/context.d.ts +0 -55
  915. package/dist/libs/context.d.ts.map +0 -1
  916. package/dist/libs/context.js +0 -12
  917. package/dist/libs/index.js +0 -7
  918. package/dist/libs/registry.d.ts +0 -70
  919. package/dist/libs/registry.d.ts.map +0 -1
  920. package/dist/libs/registry.js +0 -13
  921. package/dist/libs/use-body-scroll-lock.d.ts +0 -21
  922. package/dist/libs/use-body-scroll-lock.d.ts.map +0 -1
  923. package/dist/libs/use-body-scroll-lock.js +0 -27
  924. package/dist/libs/use-dialog-overlay.d.ts +0 -21
  925. package/dist/libs/use-dialog-overlay.d.ts.map +0 -1
  926. package/dist/libs/use-dialog-overlay.js +0 -21
  927. package/dist/libs/use-floating-z-index.d.ts +0 -32
  928. package/dist/libs/use-floating-z-index.d.ts.map +0 -1
  929. package/dist/libs/use-floating-z-index.js +0 -16
  930. package/dist/libs/use-isomorphic-layout-effect.d.ts +0 -21
  931. package/dist/libs/use-isomorphic-layout-effect.d.ts.map +0 -1
  932. package/dist/libs/use-isomorphic-layout-effect.js +0 -6
  933. package/dist/libs/use-prefers-reduced-motion.d.ts +0 -23
  934. package/dist/libs/use-prefers-reduced-motion.d.ts.map +0 -1
  935. package/dist/libs/use-prefers-reduced-motion.js +0 -19
  936. package/dist/puck/adapters.d.ts +0 -41
  937. package/dist/puck/adapters.d.ts.map +0 -1
  938. package/dist/puck/adapters.js +0 -30
  939. package/dist/puck/blocks/content.d.ts +0 -32
  940. package/dist/puck/blocks/content.d.ts.map +0 -1
  941. package/dist/puck/blocks/content.js +0 -54
  942. package/dist/puck/blocks/layout.d.ts +0 -44
  943. package/dist/puck/blocks/layout.d.ts.map +0 -1
  944. package/dist/puck/blocks/layout.js +0 -69
  945. package/dist/puck/blocks/navigation.d.ts +0 -66
  946. package/dist/puck/blocks/navigation.d.ts.map +0 -1
  947. package/dist/puck/blocks/navigation.js +0 -122
  948. package/dist/puck/blocks/sections.d.ts +0 -134
  949. package/dist/puck/blocks/sections.d.ts.map +0 -1
  950. package/dist/puck/blocks/sections.js +0 -232
  951. package/dist/puck/blocks/utility.d.ts +0 -22
  952. package/dist/puck/blocks/utility.d.ts.map +0 -1
  953. package/dist/puck/blocks/utility.js +0 -49
  954. package/dist/puck/config.d.ts +0 -63
  955. package/dist/puck/config.d.ts.map +0 -1
  956. package/dist/puck/config.js +0 -79
  957. package/dist/puck/fields.d.ts +0 -94
  958. package/dist/puck/fields.d.ts.map +0 -1
  959. package/dist/puck/fields.js +0 -116
  960. package/dist/puck/index.d.ts +0 -21
  961. package/dist/puck/index.d.ts.map +0 -1
  962. package/dist/puck/index.js +0 -10
  963. package/dist/scripts/AsheeThemeScript.js +0 -101
  964. package/dist/shared/action.d.ts +0 -52
  965. package/dist/shared/action.d.ts.map +0 -1
  966. package/dist/shared/index.d.ts +0 -6
  967. package/dist/shared/index.d.ts.map +0 -1
  968. package/dist/shared/radius.d.ts +0 -41
  969. package/dist/shared/radius.d.ts.map +0 -1
  970. package/dist/shared/radius.js +0 -13
  971. package/dist/shared/spacing.d.ts +0 -46
  972. package/dist/shared/spacing.d.ts.map +0 -1
  973. package/dist/shared/spacing.js +0 -37
  974. package/dist/shared/typography.d.ts +0 -81
  975. package/dist/shared/typography.d.ts.map +0 -1
  976. package/dist/shared/typography.js +0 -137
  977. package/dist/shared/variant.d.ts +0 -35
  978. package/dist/shared/variant.d.ts.map +0 -1
  979. package/dist/shared/variant.js +0 -50
  980. package/dist/theme/color.d.ts +0 -122
  981. package/dist/theme/color.d.ts.map +0 -1
  982. package/dist/theme/color.js +0 -30
  983. package/dist/theme/controller.d.ts +0 -171
  984. package/dist/theme/controller.d.ts.map +0 -1
  985. package/dist/theme/controller.js +0 -66
  986. package/dist/theme/index.d.ts +0 -4
  987. package/dist/theme/index.d.ts.map +0 -1
  988. package/dist/theme/useTheme.d.ts +0 -77
  989. package/dist/theme/useTheme.d.ts.map +0 -1
  990. package/dist/theme/useTheme.js +0 -16
  991. package/dist/utils/cn.d.ts +0 -20
  992. package/dist/utils/cn.d.ts.map +0 -1
  993. package/dist/utils/cn.js +0 -9
  994. package/dist/utils/index.d.ts +0 -5
  995. package/dist/utils/index.d.ts.map +0 -1
  996. package/dist/utils/index.js +0 -4
  997. package/dist/utils/merge-object.d.ts +0 -30
  998. package/dist/utils/merge-object.d.ts.map +0 -1
  999. package/dist/utils/merge-object.js +0 -16
  1000. package/dist/utils/resolve-token.d.ts +0 -131
  1001. package/dist/utils/resolve-token.d.ts.map +0 -1
  1002. package/dist/utils/resolve-token.js +0 -24
  1003. package/dist/utils/stacking.d.ts +0 -76
  1004. package/dist/utils/stacking.d.ts.map +0 -1
  1005. package/dist/utils/stacking.js +0 -34
  1006. package/dist/utils/types.d.ts +0 -22
  1007. package/dist/utils/types.d.ts.map +0 -1
@@ -1,81 +0,0 @@
1
- /**
2
- * Typography token definitions for AsheeUI.
3
- *
4
- * Typography uses the same two-layer model as radius and colour: a semantic
5
- * layer (roles) resolves to a size/style layer, which resolves to complete,
6
- * static Tailwind class strings. This file holds the types and the mappings;
7
- * the public `Typography` component consumes them.
8
- *
9
- * @see `docs/docs/asheeui-typography-specification-proposal.md` (approved M2
10
- * specification) for the rationale, the role table and the compatibility notes.
11
- */
12
- /** The available typography size tokens. */
13
- export type TypographySize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
14
- /** The available font-weight tokens. */
15
- export type TypographyWeight = "normal" | "medium" | "semibold" | "bold";
16
- /** The available line-height tokens. */
17
- export type TypographyLeading = "tight" | "snug" | "normal" | "relaxed" | "loose";
18
- /** The available letter-spacing tokens. */
19
- export type TypographyTracking = "tighter" | "tight" | "normal" | "wide" | "wider" | "widest";
20
- /**
21
- * The semantic typography roles.
22
- * A role describes why text exists and resolves to a complete treatment.
23
- */
24
- export type TypographyRole = "display" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "body-lg" | "body-md" | "body-sm" | "label" | "caption" | "overline";
25
- /**
26
- * The colour treatments available to typography.
27
- * `default`, `muted` and `disabled` are derived from the foreground token;
28
- * the remaining values are framework colour tokens resolved through the colour
29
- * engine, never raw Tailwind palette colours.
30
- */
31
- export type TypographyTone = "default" | "muted" | "disabled" | "primary" | "secondary" | "danger" | "warning" | "success" | "none";
32
- /** Text alignment options. */
33
- export type TypographyAlign = "left" | "center" | "right" | "justify";
34
- /** The size/style tokens a role resolves to. */
35
- export interface TypographyRoleTokens {
36
- /** Size token. */
37
- size: TypographySize;
38
- /** Font-weight token. */
39
- weight: TypographyWeight;
40
- /** Line-height token. */
41
- leading: TypographyLeading;
42
- /** Letter-spacing token. */
43
- tracking: TypographyTracking;
44
- }
45
- /**
46
- * Size token to static Tailwind class.
47
- * Note the deliberate difference between the token name (`md`) and the utility
48
- * (`text-base`): the token is the semantic name, as with `RADIUS_CLASS`.
49
- */
50
- export declare const TYPOGRAPHY_SIZE_CLASS: Record<TypographySize, string>;
51
- /** Font-weight token to static Tailwind class. */
52
- export declare const TYPOGRAPHY_WEIGHT_CLASS: Record<TypographyWeight, string>;
53
- /** Line-height token to static Tailwind class. */
54
- export declare const TYPOGRAPHY_LEADING_CLASS: Record<TypographyLeading, string>;
55
- /** Letter-spacing token to static Tailwind class. */
56
- export declare const TYPOGRAPHY_TRACKING_CLASS: Record<TypographyTracking, string>;
57
- /** Tone token to static Tailwind class, using framework colour tokens only. */
58
- export declare const TYPOGRAPHY_TONE_CLASS: Record<TypographyTone, string>;
59
- /** Alignment token to static Tailwind class. */
60
- export declare const TYPOGRAPHY_ALIGN_CLASS: Record<TypographyAlign, string>;
61
- /**
62
- * The size/style tokens each semantic role resolves to.
63
- * This table is the documentation source for {@link TYPOGRAPHY_ROLE_CLASS};
64
- * a test asserts the two can never drift.
65
- */
66
- export declare const TYPOGRAPHY_ROLE_TOKEN: Record<TypographyRole, TypographyRoleTokens>;
67
- /**
68
- * The semantic element each role renders by default.
69
- * Consumers can override the element without changing the treatment.
70
- */
71
- export declare const TYPOGRAPHY_ROLE_DEFAULT_ELEMENT: Record<TypographyRole, string>;
72
- /**
73
- * The complete, static class string for each semantic role.
74
- *
75
- * These are written out in full rather than composed at render time: Tailwind
76
- * class names must always be static and complete. The entries are asserted
77
- * against {@link TYPOGRAPHY_ROLE_TOKEN} in the test suite, so the documented
78
- * token table and the shipped classes cannot drift.
79
- */
80
- export declare const TYPOGRAPHY_ROLE_CLASS: Record<TypographyRole, string>;
81
- //# sourceMappingURL=typography.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/shared/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;AAE9E,wCAAwC;AACxC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;AAEzE,wCAAwC;AACxC,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,CAAC;AAEZ,2CAA2C;AAC3C,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,CAAC;AAEb;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,SAAS,GACT,UAAU,CAAC;AAEf;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,OAAO,GACP,UAAU,GACV,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,CAAC;AAEX,8BAA8B;AAC9B,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtE,gDAAgD;AAChD,MAAM,WAAW,oBAAoB;IACnC,kBAAkB;IAClB,IAAI,EAAE,cAAc,CAAC;IACrB,yBAAyB;IACzB,MAAM,EAAE,gBAAgB,CAAC;IACzB,yBAAyB;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,4BAA4B;IAC5B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAQhE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKpE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAMtE,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAOxE,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUhE,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAKlE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,cAAc,EACd,oBAAoB,CAoErB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAY1E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAYhE,CAAC"}
@@ -1,137 +0,0 @@
1
- "use client";
2
- //#region src/shared/typography.ts
3
- var e = {
4
- xs: "text-xs",
5
- sm: "text-sm",
6
- md: "text-base",
7
- lg: "text-lg",
8
- xl: "text-xl",
9
- "2xl": "text-2xl",
10
- "3xl": "text-3xl"
11
- }, t = {
12
- normal: "font-normal",
13
- medium: "font-medium",
14
- semibold: "font-semibold",
15
- bold: "font-bold"
16
- }, n = {
17
- tight: "leading-tight",
18
- snug: "leading-snug",
19
- normal: "leading-normal",
20
- relaxed: "leading-relaxed",
21
- loose: "leading-loose"
22
- }, r = {
23
- tighter: "tracking-tighter",
24
- tight: "tracking-tight",
25
- normal: "tracking-normal",
26
- wide: "tracking-wide",
27
- wider: "tracking-wider",
28
- widest: "tracking-widest"
29
- }, i = {
30
- default: "text-foreground",
31
- muted: "text-foreground/60",
32
- disabled: "text-foreground/50",
33
- primary: "text-primary",
34
- secondary: "text-secondary",
35
- danger: "text-danger",
36
- warning: "text-warning",
37
- success: "text-success",
38
- none: "text-background"
39
- }, a = {
40
- left: "text-left",
41
- center: "text-center",
42
- right: "text-right",
43
- justify: "text-justify"
44
- }, o = {
45
- display: {
46
- size: "3xl",
47
- weight: "semibold",
48
- leading: "tight",
49
- tracking: "tight"
50
- },
51
- "heading-xl": {
52
- size: "2xl",
53
- weight: "semibold",
54
- leading: "tight",
55
- tracking: "tight"
56
- },
57
- "heading-lg": {
58
- size: "xl",
59
- weight: "semibold",
60
- leading: "snug",
61
- tracking: "normal"
62
- },
63
- "heading-md": {
64
- size: "lg",
65
- weight: "semibold",
66
- leading: "snug",
67
- tracking: "normal"
68
- },
69
- "heading-sm": {
70
- size: "md",
71
- weight: "semibold",
72
- leading: "snug",
73
- tracking: "normal"
74
- },
75
- "body-lg": {
76
- size: "lg",
77
- weight: "normal",
78
- leading: "relaxed",
79
- tracking: "normal"
80
- },
81
- "body-md": {
82
- size: "md",
83
- weight: "normal",
84
- leading: "normal",
85
- tracking: "normal"
86
- },
87
- "body-sm": {
88
- size: "sm",
89
- weight: "normal",
90
- leading: "normal",
91
- tracking: "normal"
92
- },
93
- label: {
94
- size: "sm",
95
- weight: "medium",
96
- leading: "normal",
97
- tracking: "normal"
98
- },
99
- caption: {
100
- size: "xs",
101
- weight: "normal",
102
- leading: "normal",
103
- tracking: "normal"
104
- },
105
- overline: {
106
- size: "xs",
107
- weight: "semibold",
108
- leading: "normal",
109
- tracking: "wider"
110
- }
111
- }, s = {
112
- display: "h1",
113
- "heading-xl": "h1",
114
- "heading-lg": "h2",
115
- "heading-md": "h3",
116
- "heading-sm": "h4",
117
- "body-lg": "p",
118
- "body-md": "p",
119
- "body-sm": "p",
120
- label: "span",
121
- caption: "span",
122
- overline: "span"
123
- }, c = {
124
- display: "text-3xl font-semibold leading-tight tracking-tight",
125
- "heading-xl": "text-2xl font-semibold leading-tight tracking-tight",
126
- "heading-lg": "text-xl font-semibold leading-snug tracking-normal",
127
- "heading-md": "text-lg font-semibold leading-snug tracking-normal",
128
- "heading-sm": "text-base font-semibold leading-snug tracking-normal",
129
- "body-lg": "text-lg font-normal leading-relaxed tracking-normal",
130
- "body-md": "text-base font-normal leading-normal tracking-normal",
131
- "body-sm": "text-sm font-normal leading-normal tracking-normal",
132
- label: "text-sm font-medium leading-normal tracking-normal",
133
- caption: "text-xs font-normal leading-normal tracking-normal",
134
- overline: "text-xs font-semibold leading-normal tracking-wider"
135
- };
136
- //#endregion
137
- export { a as TYPOGRAPHY_ALIGN_CLASS, n as TYPOGRAPHY_LEADING_CLASS, c as TYPOGRAPHY_ROLE_CLASS, s as TYPOGRAPHY_ROLE_DEFAULT_ELEMENT, o as TYPOGRAPHY_ROLE_TOKEN, e as TYPOGRAPHY_SIZE_CLASS, i as TYPOGRAPHY_TONE_CLASS, r as TYPOGRAPHY_TRACKING_CLASS, t as TYPOGRAPHY_WEIGHT_CLASS };
@@ -1,35 +0,0 @@
1
- /**
2
- * Variant style definitions for AsheeUI components.
3
- * This file contains the complete style mappings for different button variants
4
- * (solid, ghost, bordered, faded, underlined) and colors. It provides the
5
- * resolveVariantClass function that components use to apply the correct
6
- * visual styles based on their variant and color props.
7
- */
8
- /**
9
- * The available visual styles for components like Button.
10
- * Each variant represents a distinct visual treatment with different
11
- * background, border, and hover behaviors.
12
- */
13
- export type Variant = "solid" | "ghost" | "bordered" | "faded" | "underlined";
14
- /**
15
- * The available color options for themed components.
16
- * "none" represents a neutral or default color treatment.
17
- */
18
- export type Color = "none" | "primary" | "secondary" | "danger" | "warning" | "success";
19
- /**
20
- * Resolves the CSS class for a given variant and color combination.
21
- * Returns the appropriate Tailwind classes for the component's visual style.
22
- * If the combination is not found, falls back to bordered variant with secondary color.
23
- *
24
- * @param variant - The visual style variant to apply.
25
- * @param color - The color theme to apply.
26
- * @returns The CSS class string for the specified variant and color.
27
- *
28
- * @example
29
- * ```tsx
30
- * const className = resolveVariantClass('solid', 'primary');
31
- * // Returns classes for a solid primary button
32
- * ```
33
- */
34
- export declare function resolveVariantClass(variant: Variant, color: Color): string;
35
- //# sourceMappingURL=variant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../src/shared/variant.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,KAAK,GACb,MAAM,GACN,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAwLd;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAE1E"}
@@ -1,50 +0,0 @@
1
- "use client";
2
- import { cn as e } from "../utils/cn.js";
3
- //#region src/shared/variant.ts
4
- var t = "transition-all duration-200 ease-in-out", n = {
5
- none: e(t, "bg-background text-foreground hover:bg-background/80"),
6
- primary: e(t, "bg-primary text-foreground hover:bg-primary/80"),
7
- secondary: e(t, "bg-secondary text-foreground hover:bg-secondary/80"),
8
- danger: e(t, "bg-danger text-foreground hover:bg-danger/80"),
9
- warning: e(t, "bg-warning text-foreground hover:bg-warning/80"),
10
- success: e(t, "bg-success text-foreground hover:bg-success/80")
11
- }, r = {
12
- none: e(t, "bg-transparent text-foreground hover:bg-foreground/20 hover:text-foreground"),
13
- primary: e(t, "bg-transparent text-primary hover:bg-primary/20 hover:text-primary"),
14
- secondary: e(t, "bg-transparent text-foreground hover:bg-secondary/20 hover:text-foreground"),
15
- danger: e(t, "bg-transparent text-danger hover:bg-danger/20 hover:text-danger"),
16
- warning: e(t, "bg-transparent text-warning hover:bg-warning/20 hover:text-warning"),
17
- success: e(t, "bg-transparent text-success hover:bg-success/20 hover:text-success")
18
- }, i = {
19
- none: e(t, r.primary, "border-2 border-background hover:border-background/60"),
20
- primary: e(t, r.primary, "border-2 border-primary hover:border-primary/60"),
21
- secondary: e(t, r.secondary, "border-2 border-border hover:border-border/60"),
22
- danger: e(t, r.danger, "border-2 border-danger hover:border-danger/60"),
23
- warning: e(t, r.warning, "border-2 border-warning hover:border-warning/60"),
24
- success: e(t, r.success, "border-2 border-success hover:border-success/60")
25
- }, a = {
26
- none: e(t, "bg-secondary/40 text-foreground border-2 border-transparent hover:bg-secondary/60 hover:border-secondary/40"),
27
- primary: e(t, "bg-primary/10 text-primary border-2 border-primary/20 hover:bg-primary/20 hover:border-primary/40"),
28
- secondary: e(t, "bg-secondary/15 text-foreground border-2 border-secondary/30 hover:bg-secondary/25 hover:border-secondary/50"),
29
- danger: e(t, "bg-danger/10 text-danger border-2 border-danger/20 hover:bg-danger/20 hover:border-danger/40"),
30
- warning: e(t, "bg-warning/10 text-warning border-2 border-warning/20 hover:bg-warning/20 hover:border-warning/40"),
31
- success: e(t, "bg-success/10 text-success border-2 border-success/20 hover:bg-success/20 hover:border-success/40")
32
- }, o = "border-b-2 border-t-0 border-x-0 rounded-none bg-transparent shadow-none", s = {
33
- solid: n,
34
- ghost: r,
35
- bordered: i,
36
- faded: a,
37
- underlined: {
38
- none: e(t, o, "border-background text-foreground hover:border-background/80"),
39
- primary: e(t, o, "border-primary text-primary hover:border-primary/80"),
40
- secondary: e(t, o, "border-secondary text-secondary hover:border-secondary/80"),
41
- danger: e(t, o, "border-danger text-danger hover:border-danger/80"),
42
- warning: e(t, o, "border-warning text-warning hover:border-warning/80"),
43
- success: e(t, o, "border-success text-success hover:border-success/80")
44
- }
45
- };
46
- function c(e, t) {
47
- return s[e]?.[t] ?? s.bordered.secondary;
48
- }
49
- //#endregion
50
- export { c as resolveVariantClass };
@@ -1,122 +0,0 @@
1
- /**
2
- * Color configuration types for AsheeUI's theming system.
3
- * This file defines the structure of theme color palettes, including
4
- * the required built-in themes (light and dark) and optional custom
5
- * theme extensions. It provides the type foundation for the color
6
- * configuration that powers the component library's visual system.
7
- */
8
- /**
9
- * The built-in theme names that are always available in AsheeUI.
10
- * "light" and "dark" are the core themes that every installation provides.
11
- */
12
- export type KnownThemeName = "light" | "dark";
13
- /**
14
- * Registry of available color themes in AsheeUI.
15
- * Currently supports the built-in "light" and "dark" themes.
16
- * This interface serves as the constraint for theme name resolution.
17
- */
18
- export interface AsheeColorRegistry {
19
- light: true;
20
- dark: true;
21
- }
22
- /**
23
- * All available theme names in AsheeUI.
24
- * This is derived from the AsheeColorRegistry and includes both
25
- * built-in themes and any custom themes defined by the user.
26
- */
27
- export type ThemeName = keyof AsheeColorRegistry;
28
- /**
29
- * The complete set of color variables required for a single theme.
30
- * These colors are used throughout the component library for
31
- * backgrounds, text, borders, interactive elements, and status indicators.
32
- */
33
- export interface ColorVariant {
34
- /**
35
- * The main background color of the application.
36
- * Used for page backgrounds and container surfaces.
37
- */
38
- background: string;
39
- /**
40
- * The primary text color.
41
- * Used for body text and other foreground content.
42
- */
43
- foreground: string;
44
- /**
45
- * The primary brand or interactive color.
46
- * Used for buttons, links, and other interactive elements.
47
- */
48
- primary: string;
49
- /**
50
- * The secondary surface color.
51
- * Used for cards, panels, and other elevated surfaces.
52
- */
53
- secondary: string;
54
- /**
55
- * The border color.
56
- * Used for separators, input borders, and dividing lines.
57
- */
58
- border: string;
59
- /**
60
- * The danger or error color.
61
- * Used for destructive actions and error states.
62
- */
63
- danger: string;
64
- /**
65
- * The warning color.
66
- * Used for cautionary states and warnings.
67
- */
68
- warning: string;
69
- /**
70
- * The success color.
71
- * Used for success states and positive feedback.
72
- */
73
- success: string;
74
- /**
75
- * The scrollbar thumb color.
76
- * Used for the draggable handle of scrollbars.
77
- */
78
- scrollbarThumb: string;
79
- /**
80
- * The scrollbar track color.
81
- * Used for the background track of scrollbars.
82
- */
83
- scrollbarTrack: string;
84
- }
85
- /**
86
- * Built-in colors map required by the core library.
87
- * Both "light" and "dark" themes must be fully defined.
88
- */
89
- export type DefaultColorConfig = Record<KnownThemeName, ColorVariant>;
90
- /**
91
- * Full color configuration.
92
- * Built-in themes are strictly required. Custom augmented themes are optional
93
- * on default/unmerged configs, but enforced via ExternalColorConfig.
94
- */
95
- export type ColorConfig = Record<KnownThemeName, ColorVariant> & Partial<Record<Exclude<ThemeName, KnownThemeName>, ColorVariant>>;
96
- /**
97
- * A color variant that can be partially defined.
98
- * Custom themes can extend a known theme to inherit its colors.
99
- */
100
- export type ExternalColorVariant = Partial<ColorVariant> & {
101
- /**
102
- * Optional theme to extend.
103
- * When provided, the custom theme will inherit colors from the specified
104
- * built-in theme, with any explicitly defined colors overriding the inherited values.
105
- */
106
- extends?: KnownThemeName;
107
- };
108
- type CustomThemeName = Exclude<ThemeName, KnownThemeName>;
109
- /**
110
- * External color configuration format.
111
- * Built-in themes can be partially overridden, while custom themes
112
- * must provide at least a partial color variant (with optional extension).
113
- */
114
- export type ExternalColorConfig = Partial<Record<KnownThemeName, Partial<ColorVariant>>> & Record<CustomThemeName, ExternalColorVariant>;
115
- /**
116
- * The default color configuration for AsheeUI.
117
- * Provides complete color variants for both light and dark themes
118
- * with carefully chosen default values that work out of the box.
119
- */
120
- export declare const defaultColorConfig: DefaultColorConfig;
121
- export {};
122
- //# sourceMappingURL=color.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/theme/color.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACZ;AAED;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,GAC5D,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG;IACzD;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAC9C,GACC,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAyBhC,CAAC"}
@@ -1,30 +0,0 @@
1
- "use client";
2
- //#region src/theme/color.ts
3
- var e = {
4
- light: {
5
- background: "#ffffff",
6
- foreground: "#000000",
7
- primary: "#2563eb",
8
- secondary: "#f3f4f6",
9
- border: "#d5d5d5",
10
- danger: "#dc2626",
11
- warning: "#d97706",
12
- success: "#16a34a",
13
- scrollbarThumb: "#3b82f6",
14
- scrollbarTrack: "transparent"
15
- },
16
- dark: {
17
- background: "#111111",
18
- foreground: "#ffffff",
19
- primary: "#005bc4",
20
- secondary: "#262626",
21
- border: "#2a2a2a",
22
- danger: "#ef4444",
23
- warning: "#f59e0b",
24
- success: "#22c55e",
25
- scrollbarThumb: "#1e40af",
26
- scrollbarTrack: "#1f293700"
27
- }
28
- };
29
- //#endregion
30
- export { e as defaultColorConfig };
@@ -1,171 +0,0 @@
1
- import { ThemeName } from './color';
2
- /**
3
- * A theme selection that can be either a specific theme name or the special
4
- * "system" value, which resolves to either light or dark based on the user's
5
- * system preference.
6
- */
7
- export type ThemeSelection = ThemeName | "system";
8
- /**
9
- * Local storage key used to persist the user's theme preference.
10
- */
11
- export declare const THEME_STORAGE_KEY = "ashee-theme";
12
- /**
13
- * Function type for theme change listeners.
14
- */
15
- type Listener = () => void;
16
- /**
17
- * Input configuration required to initialize the theme controller.
18
- * Provides the default theme and the list of available themes.
19
- */
20
- export interface ThemeConfigInput {
21
- /**
22
- * The default theme to use when no user preference is stored or when
23
- * the stored preference is invalid. This can be a specific theme name
24
- * or "system" to follow the system preference.
25
- */
26
- defaultTheme: ThemeSelection;
27
- /**
28
- * The list of theme names that are available in the application.
29
- * This is used to validate stored preferences and to determine
30
- * which themes can be toggled through the toggleTheme method.
31
- */
32
- themes: readonly string[];
33
- }
34
- /**
35
- * Manages theme state, persistence, and system preference detection.
36
- * This class handles the core logic of selecting, resolving, and applying
37
- * themes, including storing preferences in localStorage and responding to
38
- * system dark mode changes. It follows the observer pattern to notify
39
- * subscribers when the theme changes.
40
- */
41
- declare class ThemeController {
42
- /**
43
- * The user's selected theme preference, which may be "system"
44
- * or a specific theme name.
45
- */
46
- private selection;
47
- /**
48
- * The final resolved theme name after applying the selection
49
- * and resolving "system" to either "light" or "dark".
50
- */
51
- private resolved;
52
- /**
53
- * The default theme configured when the controller was initialized.
54
- * Used as a fallback when the stored preference is invalid.
55
- */
56
- private defaultTheme;
57
- /**
58
- * The list of available themes in the application.
59
- * Used for validation and cycling through themes.
60
- */
61
- private availableThemes;
62
- /**
63
- * Set of listener functions that are called when the theme changes.
64
- */
65
- private listeners;
66
- /**
67
- * MediaQueryList for detecting system dark mode preference.
68
- * Null when running in a non-browser environment.
69
- */
70
- private mediaQuery;
71
- constructor();
72
- /**
73
- * Seeds the controller with the resolved theme config and applies the theme.
74
- *
75
- * - Uses `localStorage["ashee-theme"]` when it holds a valid selection.
76
- * - Falls back to `config.theme.defaultTheme` on first visit.
77
- * - Clears stale/invalid values from storage.
78
- * - Never writes to storage (only `setTheme` persists user intent).
79
- */
80
- configure({ defaultTheme, themes }: ThemeConfigInput): void;
81
- /**
82
- * Seeds the default theme. Kept for backward compatibility - prefer
83
- * `configure()`, which also validates the stored selection against the
84
- * available theme map.
85
- *
86
- * @deprecated Use `configure()` instead for complete initialization.
87
- */
88
- setDefault: (theme: ThemeSelection) => void;
89
- /**
90
- * Returns the current theme selection.
91
- * @returns The current selected theme, which may be "system" or a specific theme name.
92
- */
93
- getSelection: () => ThemeSelection;
94
- /**
95
- * Returns the resolved theme name after applying the selection.
96
- * If the selection is "system", this will resolve to either "light" or "dark"
97
- * based on the system preference.
98
- * @returns The resolved theme name.
99
- */
100
- getResolvedTheme: () => ThemeName;
101
- /**
102
- * Sets the theme selection and persists it to localStorage.
103
- * The provided selection is validated and sanitized before applying.
104
- * @param selection - The theme to select, either "system" or a theme name.
105
- */
106
- setTheme: (selection: ThemeSelection) => void;
107
- /**
108
- * Subscribes a listener to theme changes.
109
- * The listener will be called whenever the theme selection or resolved theme changes.
110
- * @param listener - The function to call when the theme changes.
111
- * @returns An unsubscribe function that removes the listener.
112
- */
113
- subscribe: (listener: Listener) => (() => void);
114
- /**
115
- * Returns the list of available theme names.
116
- * @returns The list of available themes configured in the controller.
117
- */
118
- getAvailableThemes: () => readonly string[];
119
- /**
120
- * Cycles to the next theme in sequence (including "system" mode by default).
121
- * Loops back to the start when reaching the end of the available themes list.
122
- * The "system" option is not included in the toggle sequence; only specific
123
- * theme names are cycled through.
124
- */
125
- toggleTheme: () => void;
126
- /**
127
- * Handles system dark mode preference changes.
128
- * Only re-applies the theme if the current selection is "system",
129
- * ensuring the resolved theme stays in sync with system changes.
130
- */
131
- private handleSystemChange;
132
- /**
133
- * Validates a theme selection and returns a valid fallback if necessary.
134
- * @param selection - The theme selection to sanitize.
135
- * @returns A valid theme selection, falling back to the default theme
136
- * if the provided selection is invalid.
137
- */
138
- private sanitize;
139
- /**
140
- * Checks whether a theme selection is valid.
141
- * "system" is always valid. Other theme names are valid if they exist
142
- * in the available themes list. If no available themes are configured,
143
- * any selection is considered valid.
144
- * @param selection - The theme selection to validate.
145
- * @returns True if the selection is valid, false otherwise.
146
- */
147
- private isValid;
148
- /**
149
- * Resolves a theme selection to an actual theme name.
150
- * If the selection is "system", resolves based on the system preference.
151
- * @param selection - The theme selection to resolve.
152
- * @returns The resolved theme name.
153
- */
154
- private resolve;
155
- /**
156
- * Applies the current theme selection by updating the DOM.
157
- * This method sanitizes the selection, resolves it to a theme name,
158
- * and applies the appropriate CSS class to the document root.
159
- * It ensures that only valid theme classes are applied and removes
160
- * any previously applied theme classes.
161
- */
162
- private applySelection;
163
- }
164
- /**
165
- * Singleton instance of the theme controller.
166
- * This instance manages the global theme state and should be used
167
- * throughout the application for theme operations.
168
- */
169
- export declare const themeController: ThemeController;
170
- export {};
171
- //# sourceMappingURL=controller.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/theme/controller.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAa/C;;GAEG;AACH,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAE3B;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,EAAE,cAAc,CAAC;IAE7B;;;;OAIG;IACH,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,cAAM,eAAe;IACnB;;;OAGG;IACH,OAAO,CAAC,SAAS,CAA2B;IAE5C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAsB;IAEtC;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA2B;IAE/C;;;OAGG;IACH,OAAO,CAAC,eAAe,CAAyB;IAEhD;;OAEG;IACH,OAAO,CAAC,SAAS,CAAuB;IAExC;;;OAGG;IACH,OAAO,CAAC,UAAU,CAA+B;;IASjD;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,gBAAgB,GAAG,IAAI;IAkC3D;;;;;;OAMG;IACH,UAAU,GAAI,OAAO,cAAc,KAAG,IAAI,CAExC;IAEF;;;OAGG;IACH,YAAY,QAAO,cAAc,CAAmB;IAEpD;;;;;OAKG;IACH,gBAAgB,QAAO,SAAS,CAAkB;IAElD;;;;OAIG;IACH,QAAQ,GAAI,WAAW,cAAc,KAAG,IAAI,CAS1C;IAEF;;;;;OAKG;IACH,SAAS,GAAI,UAAU,QAAQ,KAAG,CAAC,MAAM,IAAI,CAAC,CAG5C;IAEF;;;OAGG;IACH,kBAAkB,QAAO,SAAS,MAAM,EAAE,CAAyB;IAEnE;;;;;OAKG;IACH,WAAW,QAAO,IAAI,CAWpB;IAEF;;;;OAIG;IACH,OAAO,CAAC,kBAAkB,CAMxB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;IAKhB;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO;IAOf;;;;;OAKG;IACH,OAAO,CAAC,OAAO;IAKf;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;CA+BvB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,iBAAwB,CAAC"}