@locus-ui/components 0.0.16 → 0.1.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 (747) hide show
  1. package/dist/components/accordion/accordion-context.d.mts +15 -0
  2. package/dist/components/accordion/accordion-context.d.ts +15 -0
  3. package/dist/components/accordion/accordion-context.js +52 -0
  4. package/dist/components/accordion/accordion-context.js.map +1 -0
  5. package/dist/components/accordion/accordion-context.mjs +17 -0
  6. package/dist/components/accordion/accordion-context.mjs.map +1 -0
  7. package/dist/components/accordion/accordion.d.mts +22 -0
  8. package/dist/components/accordion/accordion.d.ts +22 -0
  9. package/dist/components/accordion/accordion.js +38 -0
  10. package/dist/components/accordion/accordion.js.map +1 -0
  11. package/dist/components/accordion/accordion.mjs +14 -0
  12. package/dist/components/accordion/accordion.mjs.map +1 -0
  13. package/dist/components/accordion/accordion.props.d.mts +40 -0
  14. package/dist/components/accordion/accordion.props.d.ts +40 -0
  15. package/dist/components/accordion/accordion.props.js +65 -0
  16. package/dist/components/accordion/accordion.props.js.map +1 -0
  17. package/dist/components/accordion/accordion.props.mjs +40 -0
  18. package/dist/components/accordion/accordion.props.mjs.map +1 -0
  19. package/dist/components/accordion/content/accordion-content.d.mts +14 -0
  20. package/dist/components/accordion/content/accordion-content.d.ts +14 -0
  21. package/dist/components/accordion/content/accordion-content.js +61 -0
  22. package/dist/components/accordion/content/accordion-content.js.map +1 -0
  23. package/dist/components/accordion/content/accordion-content.mjs +29 -0
  24. package/dist/components/accordion/content/accordion-content.mjs.map +1 -0
  25. package/dist/components/accordion/content/accordion-content.props.d.mts +6 -0
  26. package/dist/components/accordion/content/accordion-content.props.d.ts +6 -0
  27. package/dist/components/accordion/content/accordion-content.props.js +31 -0
  28. package/dist/components/accordion/content/accordion-content.props.js.map +1 -0
  29. package/dist/components/accordion/content/accordion-content.props.mjs +7 -0
  30. package/dist/components/accordion/content/accordion-content.props.mjs.map +1 -0
  31. package/dist/components/accordion/header/accordion-header.d.mts +14 -0
  32. package/dist/components/accordion/header/accordion-header.d.ts +14 -0
  33. package/dist/components/accordion/header/accordion-header.js +86 -0
  34. package/dist/components/accordion/header/accordion-header.js.map +1 -0
  35. package/dist/components/accordion/header/accordion-header.mjs +54 -0
  36. package/dist/components/accordion/header/accordion-header.mjs.map +1 -0
  37. package/dist/components/accordion/header/accordion-header.props.d.mts +11 -0
  38. package/dist/components/accordion/header/accordion-header.props.d.ts +11 -0
  39. package/dist/components/accordion/header/accordion-header.props.js +34 -0
  40. package/dist/components/accordion/header/accordion-header.props.js.map +1 -0
  41. package/dist/components/accordion/header/accordion-header.props.mjs +10 -0
  42. package/dist/components/accordion/header/accordion-header.props.mjs.map +1 -0
  43. package/dist/components/accordion/index.d.mts +14 -0
  44. package/dist/components/accordion/index.d.ts +14 -0
  45. package/dist/components/accordion/index.js +29 -0
  46. package/dist/components/accordion/index.js.map +1 -0
  47. package/dist/components/accordion/index.mjs +5 -0
  48. package/dist/components/accordion/index.mjs.map +1 -0
  49. package/dist/components/accordion/item/accordion-item.d.mts +15 -0
  50. package/dist/components/accordion/item/accordion-item.d.ts +15 -0
  51. package/dist/components/accordion/item/accordion-item.js +97 -0
  52. package/dist/components/accordion/item/accordion-item.js.map +1 -0
  53. package/dist/components/accordion/item/accordion-item.mjs +68 -0
  54. package/dist/components/accordion/item/accordion-item.mjs.map +1 -0
  55. package/dist/components/accordion/item/accordion-item.props.d.mts +19 -0
  56. package/dist/components/accordion/item/accordion-item.props.d.ts +19 -0
  57. package/dist/components/accordion/item/accordion-item.props.js +42 -0
  58. package/dist/components/accordion/item/accordion-item.props.js.map +1 -0
  59. package/dist/components/accordion/item/accordion-item.props.mjs +18 -0
  60. package/dist/components/accordion/item/accordion-item.props.mjs.map +1 -0
  61. package/dist/components/accordion/root/accordion-root.d.mts +17 -0
  62. package/dist/components/accordion/root/accordion-root.d.ts +17 -0
  63. package/dist/components/accordion/root/accordion-root.js +102 -0
  64. package/dist/components/accordion/root/accordion-root.js.map +1 -0
  65. package/dist/components/accordion/root/accordion-root.mjs +72 -0
  66. package/dist/components/accordion/root/accordion-root.mjs.map +1 -0
  67. package/dist/components/accordion/root/accordion-root.props.d.mts +30 -0
  68. package/dist/components/accordion/root/accordion-root.props.d.ts +30 -0
  69. package/dist/components/accordion/root/accordion-root.props.js +59 -0
  70. package/dist/components/accordion/root/accordion-root.props.js.map +1 -0
  71. package/dist/components/accordion/root/accordion-root.props.mjs +34 -0
  72. package/dist/components/accordion/root/accordion-root.props.mjs.map +1 -0
  73. package/dist/components/badge/badge.d.mts +15 -0
  74. package/dist/components/badge/badge.d.ts +15 -0
  75. package/dist/components/badge/badge.js +64 -0
  76. package/dist/components/badge/badge.js.map +1 -0
  77. package/dist/components/badge/badge.mjs +35 -0
  78. package/dist/components/badge/badge.mjs.map +1 -0
  79. package/dist/components/badge/badge.props.d.mts +16 -0
  80. package/dist/components/badge/badge.props.d.ts +16 -0
  81. package/dist/components/badge/badge.props.js +41 -0
  82. package/dist/components/badge/badge.props.js.map +1 -0
  83. package/dist/components/badge/badge.props.mjs +16 -0
  84. package/dist/components/badge/badge.props.mjs.map +1 -0
  85. package/dist/components/badge/index.d.mts +9 -0
  86. package/dist/components/badge/index.d.ts +9 -0
  87. package/dist/components/badge/index.js +29 -0
  88. package/dist/components/badge/index.js.map +1 -0
  89. package/dist/components/badge/index.mjs +5 -0
  90. package/dist/components/badge/index.mjs.map +1 -0
  91. package/dist/components/box/box.d.mts +16 -0
  92. package/dist/components/box/box.d.ts +16 -0
  93. package/dist/components/box/box.js +66 -0
  94. package/dist/components/box/box.js.map +1 -0
  95. package/dist/components/box/box.mjs +38 -0
  96. package/dist/components/box/box.mjs.map +1 -0
  97. package/dist/components/box/box.props.d.mts +6 -0
  98. package/dist/components/box/box.props.d.ts +6 -0
  99. package/dist/components/box/box.props.js +43 -0
  100. package/dist/components/box/box.props.js.map +1 -0
  101. package/dist/components/box/box.props.mjs +19 -0
  102. package/dist/components/box/box.props.mjs.map +1 -0
  103. package/dist/components/box/index.d.mts +8 -0
  104. package/dist/components/box/index.d.ts +8 -0
  105. package/dist/components/box/index.js +29 -0
  106. package/dist/components/box/index.js.map +1 -0
  107. package/dist/components/box/index.mjs +5 -0
  108. package/dist/components/box/index.mjs.map +1 -0
  109. package/dist/components/button/button.d.mts +16 -0
  110. package/dist/components/button/button.d.ts +16 -0
  111. package/dist/components/button/button.js +85 -0
  112. package/dist/components/button/button.js.map +1 -0
  113. package/dist/components/button/button.mjs +57 -0
  114. package/dist/components/button/button.mjs.map +1 -0
  115. package/dist/components/button/button.props.d.mts +40 -0
  116. package/dist/components/button/button.props.d.ts +40 -0
  117. package/dist/components/button/button.props.js +65 -0
  118. package/dist/components/button/button.props.js.map +1 -0
  119. package/dist/components/button/button.props.mjs +40 -0
  120. package/dist/components/button/button.props.mjs.map +1 -0
  121. package/dist/components/button/index.d.mts +10 -0
  122. package/dist/components/button/index.d.ts +10 -0
  123. package/dist/components/button/index.js +29 -0
  124. package/dist/components/button/index.js.map +1 -0
  125. package/dist/components/button/index.mjs +5 -0
  126. package/dist/components/button/index.mjs.map +1 -0
  127. package/dist/components/checkbox/checkbox-context.d.mts +26 -0
  128. package/dist/components/checkbox/checkbox-context.d.ts +26 -0
  129. package/dist/components/checkbox/checkbox-context.js +52 -0
  130. package/dist/components/checkbox/checkbox-context.js.map +1 -0
  131. package/dist/components/checkbox/checkbox-context.mjs +17 -0
  132. package/dist/components/checkbox/checkbox-context.mjs.map +1 -0
  133. package/dist/components/checkbox/checkbox.d.mts +24 -0
  134. package/dist/components/checkbox/checkbox.d.ts +24 -0
  135. package/dist/components/checkbox/checkbox.js +36 -0
  136. package/dist/components/checkbox/checkbox.js.map +1 -0
  137. package/dist/components/checkbox/checkbox.mjs +12 -0
  138. package/dist/components/checkbox/checkbox.mjs.map +1 -0
  139. package/dist/components/checkbox/index.d.mts +15 -0
  140. package/dist/components/checkbox/index.d.ts +15 -0
  141. package/dist/components/checkbox/index.js +29 -0
  142. package/dist/components/checkbox/index.js.map +1 -0
  143. package/dist/components/checkbox/index.mjs +5 -0
  144. package/dist/components/checkbox/index.mjs.map +1 -0
  145. package/dist/components/checkbox/indicator/checkbox-indicator.d.mts +15 -0
  146. package/dist/components/checkbox/indicator/checkbox-indicator.d.ts +15 -0
  147. package/dist/components/checkbox/indicator/checkbox-indicator.js +114 -0
  148. package/dist/components/checkbox/indicator/checkbox-indicator.js.map +1 -0
  149. package/dist/components/checkbox/indicator/checkbox-indicator.mjs +82 -0
  150. package/dist/components/checkbox/indicator/checkbox-indicator.mjs.map +1 -0
  151. package/dist/components/checkbox/indicator/checkbox-indicator.props.d.mts +15 -0
  152. package/dist/components/checkbox/indicator/checkbox-indicator.props.d.ts +15 -0
  153. package/dist/components/checkbox/indicator/checkbox-indicator.props.js +39 -0
  154. package/dist/components/checkbox/indicator/checkbox-indicator.props.js.map +1 -0
  155. package/dist/components/checkbox/indicator/checkbox-indicator.props.mjs +15 -0
  156. package/dist/components/checkbox/indicator/checkbox-indicator.props.mjs.map +1 -0
  157. package/dist/components/checkbox/label/checkbox-label.d.mts +15 -0
  158. package/dist/components/checkbox/label/checkbox-label.d.ts +15 -0
  159. package/dist/components/checkbox/label/checkbox-label.js +69 -0
  160. package/dist/components/checkbox/label/checkbox-label.js.map +1 -0
  161. package/dist/components/checkbox/label/checkbox-label.mjs +37 -0
  162. package/dist/components/checkbox/label/checkbox-label.mjs.map +1 -0
  163. package/dist/components/checkbox/label/checkbox-label.props.d.mts +20 -0
  164. package/dist/components/checkbox/label/checkbox-label.props.d.ts +20 -0
  165. package/dist/components/checkbox/label/checkbox-label.props.js +44 -0
  166. package/dist/components/checkbox/label/checkbox-label.props.js.map +1 -0
  167. package/dist/components/checkbox/label/checkbox-label.props.mjs +19 -0
  168. package/dist/components/checkbox/label/checkbox-label.props.mjs.map +1 -0
  169. package/dist/components/checkbox/root/checkbox-root.d.mts +23 -0
  170. package/dist/components/checkbox/root/checkbox-root.d.ts +23 -0
  171. package/dist/components/checkbox/root/checkbox-root.js +160 -0
  172. package/dist/components/checkbox/root/checkbox-root.js.map +1 -0
  173. package/dist/components/checkbox/root/checkbox-root.mjs +142 -0
  174. package/dist/components/checkbox/root/checkbox-root.mjs.map +1 -0
  175. package/dist/components/checkbox/root/checkbox-root.props.d.mts +92 -0
  176. package/dist/components/checkbox/root/checkbox-root.props.d.ts +92 -0
  177. package/dist/components/checkbox/root/checkbox-root.props.js +119 -0
  178. package/dist/components/checkbox/root/checkbox-root.props.js.map +1 -0
  179. package/dist/components/checkbox/root/checkbox-root.props.mjs +94 -0
  180. package/dist/components/checkbox/root/checkbox-root.props.mjs.map +1 -0
  181. package/dist/components/container/container.d.mts +11 -0
  182. package/dist/components/container/container.d.ts +11 -0
  183. package/dist/components/container/container.js +55 -0
  184. package/dist/components/container/container.js.map +1 -0
  185. package/dist/components/container/container.mjs +21 -0
  186. package/dist/components/container/container.mjs.map +1 -0
  187. package/dist/components/container/container.props.d.mts +10 -0
  188. package/dist/components/container/container.props.d.ts +10 -0
  189. package/dist/components/container/container.props.js +32 -0
  190. package/dist/components/container/container.props.js.map +1 -0
  191. package/dist/components/container/container.props.mjs +8 -0
  192. package/dist/components/container/container.props.mjs.map +1 -0
  193. package/dist/components/container/index.d.mts +5 -0
  194. package/dist/components/container/index.d.ts +5 -0
  195. package/dist/components/container/index.js +29 -0
  196. package/dist/components/container/index.js.map +1 -0
  197. package/dist/components/container/index.mjs +5 -0
  198. package/dist/components/container/index.mjs.map +1 -0
  199. package/dist/components/flex/flex.d.mts +45 -0
  200. package/dist/components/flex/flex.d.ts +45 -0
  201. package/dist/components/flex/flex.js +55 -0
  202. package/dist/components/flex/flex.js.map +1 -0
  203. package/dist/components/flex/flex.mjs +25 -0
  204. package/dist/components/flex/flex.mjs.map +1 -0
  205. package/dist/components/flex/flex.props.d.mts +52 -0
  206. package/dist/components/flex/flex.props.d.ts +52 -0
  207. package/dist/components/flex/flex.props.js +98 -0
  208. package/dist/components/flex/flex.props.js.map +1 -0
  209. package/dist/components/flex/flex.props.mjs +74 -0
  210. package/dist/components/flex/flex.props.mjs.map +1 -0
  211. package/dist/components/flex/index.d.mts +6 -0
  212. package/dist/components/flex/index.d.ts +6 -0
  213. package/dist/components/flex/index.js +29 -0
  214. package/dist/components/flex/index.js.map +1 -0
  215. package/dist/components/flex/index.mjs +5 -0
  216. package/dist/components/flex/index.mjs.map +1 -0
  217. package/dist/components/index.d.mts +81 -0
  218. package/dist/components/index.d.ts +81 -0
  219. package/dist/components/index.js +75 -0
  220. package/dist/components/index.js.map +1 -0
  221. package/dist/components/index.mjs +35 -0
  222. package/dist/components/index.mjs.map +1 -0
  223. package/dist/components/panel/index.d.mts +10 -0
  224. package/dist/components/panel/index.d.ts +10 -0
  225. package/dist/components/panel/index.js +29 -0
  226. package/dist/components/panel/index.js.map +1 -0
  227. package/dist/components/panel/index.mjs +5 -0
  228. package/dist/components/panel/index.mjs.map +1 -0
  229. package/dist/components/panel/panel.d.mts +29 -0
  230. package/dist/components/panel/panel.d.ts +29 -0
  231. package/dist/components/panel/panel.js +67 -0
  232. package/dist/components/panel/panel.js.map +1 -0
  233. package/dist/components/panel/panel.mjs +40 -0
  234. package/dist/components/panel/panel.mjs.map +1 -0
  235. package/dist/components/panel/panel.props.d.mts +27 -0
  236. package/dist/components/panel/panel.props.d.ts +27 -0
  237. package/dist/components/panel/panel.props.js +52 -0
  238. package/dist/components/panel/panel.props.js.map +1 -0
  239. package/dist/components/panel/panel.props.mjs +27 -0
  240. package/dist/components/panel/panel.props.mjs.map +1 -0
  241. package/dist/components/portal/backdrop/portal-backdrop.d.mts +10 -0
  242. package/dist/components/portal/backdrop/portal-backdrop.d.ts +10 -0
  243. package/dist/components/portal/backdrop/portal-backdrop.js +71 -0
  244. package/dist/components/portal/backdrop/portal-backdrop.js.map +1 -0
  245. package/dist/components/portal/backdrop/portal-backdrop.mjs +39 -0
  246. package/dist/components/portal/backdrop/portal-backdrop.mjs.map +1 -0
  247. package/dist/components/portal/backdrop/portal-backdrop.props.d.mts +62 -0
  248. package/dist/components/portal/backdrop/portal-backdrop.props.d.ts +62 -0
  249. package/dist/components/portal/backdrop/portal-backdrop.props.js +65 -0
  250. package/dist/components/portal/backdrop/portal-backdrop.props.js.map +1 -0
  251. package/dist/components/portal/backdrop/portal-backdrop.props.mjs +41 -0
  252. package/dist/components/portal/backdrop/portal-backdrop.props.mjs.map +1 -0
  253. package/dist/components/portal/content/portal-content.d.mts +12 -0
  254. package/dist/components/portal/content/portal-content.d.ts +12 -0
  255. package/dist/components/portal/content/portal-content.js +163 -0
  256. package/dist/components/portal/content/portal-content.js.map +1 -0
  257. package/dist/components/portal/content/portal-content.mjs +133 -0
  258. package/dist/components/portal/content/portal-content.mjs.map +1 -0
  259. package/dist/components/portal/content/portal-content.props.d.mts +45 -0
  260. package/dist/components/portal/content/portal-content.props.d.ts +45 -0
  261. package/dist/components/portal/content/portal-content.props.js +80 -0
  262. package/dist/components/portal/content/portal-content.props.js.map +1 -0
  263. package/dist/components/portal/content/portal-content.props.mjs +56 -0
  264. package/dist/components/portal/content/portal-content.props.mjs.map +1 -0
  265. package/dist/components/portal/index.d.mts +14 -0
  266. package/dist/components/portal/index.d.ts +14 -0
  267. package/dist/components/portal/index.js +47 -0
  268. package/dist/components/portal/index.js.map +1 -0
  269. package/dist/components/portal/index.mjs +25 -0
  270. package/dist/components/portal/index.mjs.map +1 -0
  271. package/dist/components/portal/portal-context.d.mts +16 -0
  272. package/dist/components/portal/portal-context.d.ts +16 -0
  273. package/dist/components/portal/portal-context.js +52 -0
  274. package/dist/components/portal/portal-context.js.map +1 -0
  275. package/dist/components/portal/portal-context.mjs +17 -0
  276. package/dist/components/portal/portal-context.mjs.map +1 -0
  277. package/dist/components/portal/portal.d.mts +24 -0
  278. package/dist/components/portal/portal.d.ts +24 -0
  279. package/dist/components/portal/portal.js +42 -0
  280. package/dist/components/portal/portal.js.map +1 -0
  281. package/dist/components/portal/portal.mjs +18 -0
  282. package/dist/components/portal/portal.mjs.map +1 -0
  283. package/dist/components/portal/root/portal-root.d.mts +18 -0
  284. package/dist/components/portal/root/portal-root.d.ts +18 -0
  285. package/dist/components/portal/root/portal-root.js +74 -0
  286. package/dist/components/portal/root/portal-root.js.map +1 -0
  287. package/dist/components/portal/root/portal-root.mjs +56 -0
  288. package/dist/components/portal/root/portal-root.mjs.map +1 -0
  289. package/dist/components/portal/root/portal-root.props.d.mts +23 -0
  290. package/dist/components/portal/root/portal-root.props.d.ts +23 -0
  291. package/dist/components/portal/root/portal-root.props.js +48 -0
  292. package/dist/components/portal/root/portal-root.props.js.map +1 -0
  293. package/dist/components/portal/root/portal-root.props.mjs +24 -0
  294. package/dist/components/portal/root/portal-root.props.mjs.map +1 -0
  295. package/dist/components/portal/trigger/portal-trigger.d.mts +9 -0
  296. package/dist/components/portal/trigger/portal-trigger.d.ts +9 -0
  297. package/dist/components/portal/trigger/portal-trigger.js +89 -0
  298. package/dist/components/portal/trigger/portal-trigger.js.map +1 -0
  299. package/dist/components/portal/trigger/portal-trigger.mjs +55 -0
  300. package/dist/components/portal/trigger/portal-trigger.mjs.map +1 -0
  301. package/dist/components/portal/utils/use-anchor-position.d.mts +31 -0
  302. package/dist/components/portal/utils/use-anchor-position.d.ts +31 -0
  303. package/dist/components/portal/utils/use-anchor-position.js +137 -0
  304. package/dist/components/portal/utils/use-anchor-position.js.map +1 -0
  305. package/dist/components/portal/utils/use-anchor-position.mjs +103 -0
  306. package/dist/components/portal/utils/use-anchor-position.mjs.map +1 -0
  307. package/dist/components/progress-bar/fill/progress-bar-fill.d.mts +17 -0
  308. package/dist/components/progress-bar/fill/progress-bar-fill.d.ts +17 -0
  309. package/dist/components/progress-bar/fill/progress-bar-fill.js +61 -0
  310. package/dist/components/progress-bar/fill/progress-bar-fill.js.map +1 -0
  311. package/dist/components/progress-bar/fill/progress-bar-fill.mjs +29 -0
  312. package/dist/components/progress-bar/fill/progress-bar-fill.mjs.map +1 -0
  313. package/dist/components/progress-bar/fill/progress-bar-fill.props.d.mts +14 -0
  314. package/dist/components/progress-bar/fill/progress-bar-fill.props.d.ts +14 -0
  315. package/dist/components/progress-bar/fill/progress-bar-fill.props.js +37 -0
  316. package/dist/components/progress-bar/fill/progress-bar-fill.props.js.map +1 -0
  317. package/dist/components/progress-bar/fill/progress-bar-fill.props.mjs +13 -0
  318. package/dist/components/progress-bar/fill/progress-bar-fill.props.mjs.map +1 -0
  319. package/dist/components/progress-bar/index.d.mts +12 -0
  320. package/dist/components/progress-bar/index.d.ts +12 -0
  321. package/dist/components/progress-bar/index.js +29 -0
  322. package/dist/components/progress-bar/index.js.map +1 -0
  323. package/dist/components/progress-bar/index.mjs +5 -0
  324. package/dist/components/progress-bar/index.mjs.map +1 -0
  325. package/dist/components/progress-bar/progress-bar-context.d.mts +11 -0
  326. package/dist/components/progress-bar/progress-bar-context.d.ts +11 -0
  327. package/dist/components/progress-bar/progress-bar-context.js +52 -0
  328. package/dist/components/progress-bar/progress-bar-context.js.map +1 -0
  329. package/dist/components/progress-bar/progress-bar-context.mjs +17 -0
  330. package/dist/components/progress-bar/progress-bar-context.mjs.map +1 -0
  331. package/dist/components/progress-bar/progress-bar.d.mts +27 -0
  332. package/dist/components/progress-bar/progress-bar.d.ts +27 -0
  333. package/dist/components/progress-bar/progress-bar.js +40 -0
  334. package/dist/components/progress-bar/progress-bar.js.map +1 -0
  335. package/dist/components/progress-bar/progress-bar.mjs +16 -0
  336. package/dist/components/progress-bar/progress-bar.mjs.map +1 -0
  337. package/dist/components/progress-bar/root/progress-bar-root.d.mts +17 -0
  338. package/dist/components/progress-bar/root/progress-bar-root.d.ts +17 -0
  339. package/dist/components/progress-bar/root/progress-bar-root.js +93 -0
  340. package/dist/components/progress-bar/root/progress-bar-root.js.map +1 -0
  341. package/dist/components/progress-bar/root/progress-bar-root.mjs +69 -0
  342. package/dist/components/progress-bar/root/progress-bar-root.mjs.map +1 -0
  343. package/dist/components/progress-bar/root/progress-bar-root.props.d.mts +23 -0
  344. package/dist/components/progress-bar/root/progress-bar-root.props.d.ts +23 -0
  345. package/dist/components/progress-bar/root/progress-bar-root.props.js +48 -0
  346. package/dist/components/progress-bar/root/progress-bar-root.props.js.map +1 -0
  347. package/dist/components/progress-bar/root/progress-bar-root.props.mjs +23 -0
  348. package/dist/components/progress-bar/root/progress-bar-root.props.mjs.map +1 -0
  349. package/dist/components/select/content/select-content.d.mts +16 -0
  350. package/dist/components/select/content/select-content.d.ts +16 -0
  351. package/dist/components/select/content/select-content.js +163 -0
  352. package/dist/components/select/content/select-content.js.map +1 -0
  353. package/dist/components/select/content/select-content.mjs +129 -0
  354. package/dist/components/select/content/select-content.mjs.map +1 -0
  355. package/dist/components/select/content/select-content.props.d.mts +28 -0
  356. package/dist/components/select/content/select-content.props.d.ts +28 -0
  357. package/dist/components/select/content/select-content.props.js +54 -0
  358. package/dist/components/select/content/select-content.props.js.map +1 -0
  359. package/dist/components/select/content/select-content.props.mjs +30 -0
  360. package/dist/components/select/content/select-content.props.mjs.map +1 -0
  361. package/dist/components/select/group/select-group.d.mts +10 -0
  362. package/dist/components/select/group/select-group.d.ts +10 -0
  363. package/dist/components/select/group/select-group.js +67 -0
  364. package/dist/components/select/group/select-group.js.map +1 -0
  365. package/dist/components/select/group/select-group.mjs +35 -0
  366. package/dist/components/select/group/select-group.mjs.map +1 -0
  367. package/dist/components/select/group/select-group.props.d.mts +10 -0
  368. package/dist/components/select/group/select-group.props.d.ts +10 -0
  369. package/dist/components/select/group/select-group.props.js +33 -0
  370. package/dist/components/select/group/select-group.props.js.map +1 -0
  371. package/dist/components/select/group/select-group.props.mjs +9 -0
  372. package/dist/components/select/group/select-group.props.mjs.map +1 -0
  373. package/dist/components/select/index.d.mts +22 -0
  374. package/dist/components/select/index.d.ts +22 -0
  375. package/dist/components/select/index.js +29 -0
  376. package/dist/components/select/index.js.map +1 -0
  377. package/dist/components/select/index.mjs +5 -0
  378. package/dist/components/select/index.mjs.map +1 -0
  379. package/dist/components/select/item/select-item-indicator.d.mts +5 -0
  380. package/dist/components/select/item/select-item-indicator.d.ts +5 -0
  381. package/dist/components/select/item/select-item-indicator.js +50 -0
  382. package/dist/components/select/item/select-item-indicator.js.map +1 -0
  383. package/dist/components/select/item/select-item-indicator.mjs +26 -0
  384. package/dist/components/select/item/select-item-indicator.mjs.map +1 -0
  385. package/dist/components/select/item/select-item.d.mts +14 -0
  386. package/dist/components/select/item/select-item.d.ts +14 -0
  387. package/dist/components/select/item/select-item.js +120 -0
  388. package/dist/components/select/item/select-item.js.map +1 -0
  389. package/dist/components/select/item/select-item.mjs +88 -0
  390. package/dist/components/select/item/select-item.mjs.map +1 -0
  391. package/dist/components/select/item/select-item.props.d.mts +14 -0
  392. package/dist/components/select/item/select-item.props.d.ts +14 -0
  393. package/dist/components/select/item/select-item.props.js +37 -0
  394. package/dist/components/select/item/select-item.props.js.map +1 -0
  395. package/dist/components/select/item/select-item.props.mjs +13 -0
  396. package/dist/components/select/item/select-item.props.mjs.map +1 -0
  397. package/dist/components/select/label/select-label.d.mts +15 -0
  398. package/dist/components/select/label/select-label.d.ts +15 -0
  399. package/dist/components/select/label/select-label.js +69 -0
  400. package/dist/components/select/label/select-label.js.map +1 -0
  401. package/dist/components/select/label/select-label.mjs +37 -0
  402. package/dist/components/select/label/select-label.mjs.map +1 -0
  403. package/dist/components/select/label/select-label.props.d.mts +15 -0
  404. package/dist/components/select/label/select-label.props.d.ts +15 -0
  405. package/dist/components/select/label/select-label.props.js +39 -0
  406. package/dist/components/select/label/select-label.props.js.map +1 -0
  407. package/dist/components/select/label/select-label.props.mjs +14 -0
  408. package/dist/components/select/label/select-label.props.mjs.map +1 -0
  409. package/dist/components/select/root/select-root.d.mts +21 -0
  410. package/dist/components/select/root/select-root.d.ts +21 -0
  411. package/dist/components/select/root/select-root.js +195 -0
  412. package/dist/components/select/root/select-root.js.map +1 -0
  413. package/dist/components/select/root/select-root.mjs +175 -0
  414. package/dist/components/select/root/select-root.mjs.map +1 -0
  415. package/dist/components/select/root/select-root.props.d.mts +33 -0
  416. package/dist/components/select/root/select-root.props.d.ts +33 -0
  417. package/dist/components/select/root/select-root.props.js +57 -0
  418. package/dist/components/select/root/select-root.props.js.map +1 -0
  419. package/dist/components/select/root/select-root.props.mjs +33 -0
  420. package/dist/components/select/root/select-root.props.mjs.map +1 -0
  421. package/dist/components/select/select-context.d.mts +33 -0
  422. package/dist/components/select/select-context.d.ts +33 -0
  423. package/dist/components/select/select-context.js +52 -0
  424. package/dist/components/select/select-context.js.map +1 -0
  425. package/dist/components/select/select-context.mjs +17 -0
  426. package/dist/components/select/select-context.mjs.map +1 -0
  427. package/dist/components/select/select.d.mts +43 -0
  428. package/dist/components/select/select.d.ts +43 -0
  429. package/dist/components/select/select.js +46 -0
  430. package/dist/components/select/select.js.map +1 -0
  431. package/dist/components/select/select.mjs +22 -0
  432. package/dist/components/select/select.mjs.map +1 -0
  433. package/dist/components/select/separator/select-separator.d.mts +7 -0
  434. package/dist/components/select/separator/select-separator.d.ts +7 -0
  435. package/dist/components/select/separator/select-separator.js +55 -0
  436. package/dist/components/select/separator/select-separator.js.map +1 -0
  437. package/dist/components/select/separator/select-separator.mjs +21 -0
  438. package/dist/components/select/separator/select-separator.mjs.map +1 -0
  439. package/dist/components/select/trigger/select-trigger-icon.d.mts +5 -0
  440. package/dist/components/select/trigger/select-trigger-icon.d.ts +5 -0
  441. package/dist/components/select/trigger/select-trigger-icon.js +64 -0
  442. package/dist/components/select/trigger/select-trigger-icon.js.map +1 -0
  443. package/dist/components/select/trigger/select-trigger-icon.mjs +30 -0
  444. package/dist/components/select/trigger/select-trigger-icon.mjs.map +1 -0
  445. package/dist/components/select/trigger/select-trigger.d.mts +18 -0
  446. package/dist/components/select/trigger/select-trigger.d.ts +18 -0
  447. package/dist/components/select/trigger/select-trigger.js +119 -0
  448. package/dist/components/select/trigger/select-trigger.js.map +1 -0
  449. package/dist/components/select/trigger/select-trigger.mjs +87 -0
  450. package/dist/components/select/trigger/select-trigger.mjs.map +1 -0
  451. package/dist/components/select/trigger/select-trigger.props.d.mts +7 -0
  452. package/dist/components/select/trigger/select-trigger.props.d.ts +7 -0
  453. package/dist/components/select/trigger/select-trigger.props.js +29 -0
  454. package/dist/components/select/trigger/select-trigger.props.js.map +1 -0
  455. package/dist/components/select/trigger/select-trigger.props.mjs +5 -0
  456. package/dist/components/select/trigger/select-trigger.props.mjs.map +1 -0
  457. package/dist/components/select/utils/user-composed-refs.d.mts +5 -0
  458. package/dist/components/select/utils/user-composed-refs.d.ts +5 -0
  459. package/dist/components/select/utils/user-composed-refs.js +53 -0
  460. package/dist/components/select/utils/user-composed-refs.js.map +1 -0
  461. package/dist/components/select/utils/user-composed-refs.mjs +19 -0
  462. package/dist/components/select/utils/user-composed-refs.mjs.map +1 -0
  463. package/dist/components/select/value/select-value.d.mts +8 -0
  464. package/dist/components/select/value/select-value.d.ts +8 -0
  465. package/dist/components/select/value/select-value.js +61 -0
  466. package/dist/components/select/value/select-value.js.map +1 -0
  467. package/dist/components/select/value/select-value.mjs +27 -0
  468. package/dist/components/select/value/select-value.mjs.map +1 -0
  469. package/dist/components/select/viewport/select-viewport.d.mts +7 -0
  470. package/dist/components/select/viewport/select-viewport.d.ts +7 -0
  471. package/dist/components/select/viewport/select-viewport.js +49 -0
  472. package/dist/components/select/viewport/select-viewport.js.map +1 -0
  473. package/dist/components/select/viewport/select-viewport.mjs +15 -0
  474. package/dist/components/select/viewport/select-viewport.mjs.map +1 -0
  475. package/dist/components/separator/index.d.mts +6 -0
  476. package/dist/components/separator/index.d.ts +6 -0
  477. package/dist/components/separator/index.js +29 -0
  478. package/dist/components/separator/index.js.map +1 -0
  479. package/dist/components/separator/index.mjs +5 -0
  480. package/dist/components/separator/index.mjs.map +1 -0
  481. package/dist/components/separator/separator.d.mts +15 -0
  482. package/dist/components/separator/separator.d.ts +15 -0
  483. package/dist/components/separator/separator.js +57 -0
  484. package/dist/components/separator/separator.js.map +1 -0
  485. package/dist/components/separator/separator.mjs +23 -0
  486. package/dist/components/separator/separator.mjs.map +1 -0
  487. package/dist/components/separator/separator.props.d.mts +29 -0
  488. package/dist/components/separator/separator.props.d.ts +29 -0
  489. package/dist/components/separator/separator.props.js +54 -0
  490. package/dist/components/separator/separator.props.js.map +1 -0
  491. package/dist/components/separator/separator.props.mjs +30 -0
  492. package/dist/components/separator/separator.props.mjs.map +1 -0
  493. package/dist/components/switch/index.d.mts +15 -0
  494. package/dist/components/switch/index.d.ts +15 -0
  495. package/dist/components/switch/index.js +29 -0
  496. package/dist/components/switch/index.js.map +1 -0
  497. package/dist/components/switch/index.mjs +5 -0
  498. package/dist/components/switch/index.mjs.map +1 -0
  499. package/dist/components/switch/indicator/switch-indicator.d.mts +15 -0
  500. package/dist/components/switch/indicator/switch-indicator.d.ts +15 -0
  501. package/dist/components/switch/indicator/switch-indicator.js +97 -0
  502. package/dist/components/switch/indicator/switch-indicator.js.map +1 -0
  503. package/dist/components/switch/indicator/switch-indicator.mjs +65 -0
  504. package/dist/components/switch/indicator/switch-indicator.mjs.map +1 -0
  505. package/dist/components/switch/indicator/switch-indicator.props.d.mts +15 -0
  506. package/dist/components/switch/indicator/switch-indicator.props.d.ts +15 -0
  507. package/dist/components/switch/indicator/switch-indicator.props.js +39 -0
  508. package/dist/components/switch/indicator/switch-indicator.props.js.map +1 -0
  509. package/dist/components/switch/indicator/switch-indicator.props.mjs +15 -0
  510. package/dist/components/switch/indicator/switch-indicator.props.mjs.map +1 -0
  511. package/dist/components/switch/label/switch-label.d.mts +15 -0
  512. package/dist/components/switch/label/switch-label.d.ts +15 -0
  513. package/dist/components/switch/label/switch-label.js +69 -0
  514. package/dist/components/switch/label/switch-label.js.map +1 -0
  515. package/dist/components/switch/label/switch-label.mjs +37 -0
  516. package/dist/components/switch/label/switch-label.mjs.map +1 -0
  517. package/dist/components/switch/label/switch-label.props.d.mts +20 -0
  518. package/dist/components/switch/label/switch-label.props.d.ts +20 -0
  519. package/dist/components/switch/label/switch-label.props.js +44 -0
  520. package/dist/components/switch/label/switch-label.props.js.map +1 -0
  521. package/dist/components/switch/label/switch-label.props.mjs +19 -0
  522. package/dist/components/switch/label/switch-label.props.mjs.map +1 -0
  523. package/dist/components/switch/root/switch-root.d.mts +23 -0
  524. package/dist/components/switch/root/switch-root.d.ts +23 -0
  525. package/dist/components/switch/root/switch-root.js +180 -0
  526. package/dist/components/switch/root/switch-root.js.map +1 -0
  527. package/dist/components/switch/root/switch-root.mjs +163 -0
  528. package/dist/components/switch/root/switch-root.mjs.map +1 -0
  529. package/dist/components/switch/root/switch-root.props.d.mts +76 -0
  530. package/dist/components/switch/root/switch-root.props.d.ts +76 -0
  531. package/dist/components/switch/root/switch-root.props.js +103 -0
  532. package/dist/components/switch/root/switch-root.props.js.map +1 -0
  533. package/dist/components/switch/root/switch-root.props.mjs +78 -0
  534. package/dist/components/switch/root/switch-root.props.mjs.map +1 -0
  535. package/dist/components/switch/switch-context.d.mts +26 -0
  536. package/dist/components/switch/switch-context.d.ts +26 -0
  537. package/dist/components/switch/switch-context.js +52 -0
  538. package/dist/components/switch/switch-context.js.map +1 -0
  539. package/dist/components/switch/switch-context.mjs +17 -0
  540. package/dist/components/switch/switch-context.mjs.map +1 -0
  541. package/dist/components/switch/switch.d.mts +24 -0
  542. package/dist/components/switch/switch.d.ts +24 -0
  543. package/dist/components/switch/switch.js +36 -0
  544. package/dist/components/switch/switch.js.map +1 -0
  545. package/dist/components/switch/switch.mjs +12 -0
  546. package/dist/components/switch/switch.mjs.map +1 -0
  547. package/dist/components/text/index.d.mts +7 -0
  548. package/dist/components/text/index.d.ts +7 -0
  549. package/dist/components/text/index.js +29 -0
  550. package/dist/components/text/index.js.map +1 -0
  551. package/dist/components/text/index.mjs +5 -0
  552. package/dist/components/text/index.mjs.map +1 -0
  553. package/dist/components/text/text.d.mts +25 -0
  554. package/dist/components/text/text.d.ts +25 -0
  555. package/dist/components/text/text.js +66 -0
  556. package/dist/components/text/text.js.map +1 -0
  557. package/dist/components/text/text.mjs +36 -0
  558. package/dist/components/text/text.mjs.map +1 -0
  559. package/dist/components/text/text.props.d.mts +24 -0
  560. package/dist/components/text/text.props.d.ts +24 -0
  561. package/dist/components/text/text.props.js +48 -0
  562. package/dist/components/text/text.props.js.map +1 -0
  563. package/dist/components/text/text.props.mjs +24 -0
  564. package/dist/components/text/text.props.mjs.map +1 -0
  565. package/dist/components/theme/index.d.mts +8 -0
  566. package/dist/components/theme/index.d.ts +8 -0
  567. package/dist/components/theme/index.js +35 -0
  568. package/dist/components/theme/index.js.map +1 -0
  569. package/dist/components/theme/index.mjs +9 -0
  570. package/dist/components/theme/index.mjs.map +1 -0
  571. package/dist/components/theme/theme-context.d.mts +25 -0
  572. package/dist/components/theme/theme-context.d.ts +25 -0
  573. package/dist/components/theme/theme-context.js +52 -0
  574. package/dist/components/theme/theme-context.js.map +1 -0
  575. package/dist/components/theme/theme-context.mjs +17 -0
  576. package/dist/components/theme/theme-context.mjs.map +1 -0
  577. package/dist/components/theme/theme-control.d.mts +9 -0
  578. package/dist/components/theme/theme-control.d.ts +9 -0
  579. package/dist/components/theme/theme-control.js +156 -0
  580. package/dist/components/theme/theme-control.js.map +1 -0
  581. package/dist/components/theme/theme-control.mjs +132 -0
  582. package/dist/components/theme/theme-control.mjs.map +1 -0
  583. package/dist/components/theme/theme.d.mts +14 -0
  584. package/dist/components/theme/theme.d.ts +14 -0
  585. package/dist/components/theme/theme.js +132 -0
  586. package/dist/components/theme/theme.js.map +1 -0
  587. package/dist/components/theme/theme.mjs +100 -0
  588. package/dist/components/theme/theme.mjs.map +1 -0
  589. package/dist/components/theme/theme.props.d.mts +24 -0
  590. package/dist/components/theme/theme.props.d.ts +24 -0
  591. package/dist/components/theme/theme.props.js +54 -0
  592. package/dist/components/theme/theme.props.js.map +1 -0
  593. package/dist/components/theme/theme.props.mjs +30 -0
  594. package/dist/components/theme/theme.props.mjs.map +1 -0
  595. package/dist/icons/check-mark.icon.d.mts +6 -0
  596. package/dist/icons/check-mark.icon.d.ts +6 -0
  597. package/dist/icons/check-mark.icon.js +51 -0
  598. package/dist/icons/check-mark.icon.js.map +1 -0
  599. package/dist/icons/check-mark.icon.mjs +27 -0
  600. package/dist/icons/check-mark.icon.mjs.map +1 -0
  601. package/dist/icons/chevron-down.icon.d.mts +6 -0
  602. package/dist/icons/chevron-down.icon.d.ts +6 -0
  603. package/dist/icons/chevron-down.icon.js +53 -0
  604. package/dist/icons/chevron-down.icon.js.map +1 -0
  605. package/dist/icons/chevron-down.icon.mjs +29 -0
  606. package/dist/icons/chevron-down.icon.mjs.map +1 -0
  607. package/dist/icons/chevron-left.icon.d.mts +6 -0
  608. package/dist/icons/chevron-left.icon.d.ts +6 -0
  609. package/dist/icons/chevron-left.icon.js +53 -0
  610. package/dist/icons/chevron-left.icon.js.map +1 -0
  611. package/dist/icons/chevron-left.icon.mjs +29 -0
  612. package/dist/icons/chevron-left.icon.mjs.map +1 -0
  613. package/dist/icons/chevron-right.icon.d.mts +6 -0
  614. package/dist/icons/chevron-right.icon.d.ts +6 -0
  615. package/dist/icons/chevron-right.icon.js +53 -0
  616. package/dist/icons/chevron-right.icon.js.map +1 -0
  617. package/dist/icons/chevron-right.icon.mjs +29 -0
  618. package/dist/icons/chevron-right.icon.mjs.map +1 -0
  619. package/dist/icons/chevron-up.icon.d.mts +6 -0
  620. package/dist/icons/chevron-up.icon.d.ts +6 -0
  621. package/dist/icons/chevron-up.icon.js +51 -0
  622. package/dist/icons/chevron-up.icon.js.map +1 -0
  623. package/dist/icons/chevron-up.icon.mjs +27 -0
  624. package/dist/icons/chevron-up.icon.mjs.map +1 -0
  625. package/dist/icons/icon-colors.d.mts +7 -0
  626. package/dist/icons/icon-colors.d.ts +7 -0
  627. package/dist/icons/icon-colors.js +34 -0
  628. package/dist/icons/icon-colors.js.map +1 -0
  629. package/dist/icons/icon-colors.mjs +10 -0
  630. package/dist/icons/icon-colors.mjs.map +1 -0
  631. package/dist/icons/index.d.mts +4 -0
  632. package/dist/icons/index.d.ts +4 -0
  633. package/dist/icons/index.js +32 -0
  634. package/dist/icons/index.js.map +1 -0
  635. package/dist/icons/index.mjs +7 -0
  636. package/dist/icons/index.mjs.map +1 -0
  637. package/dist/icons/minus.icon.d.mts +6 -0
  638. package/dist/icons/minus.icon.d.ts +6 -0
  639. package/dist/icons/minus.icon.js +51 -0
  640. package/dist/icons/minus.icon.js.map +1 -0
  641. package/dist/icons/minus.icon.mjs +27 -0
  642. package/dist/icons/minus.icon.mjs.map +1 -0
  643. package/dist/index.css +79 -67
  644. package/dist/index.d.mts +81 -1524
  645. package/dist/index.d.ts +81 -1524
  646. package/dist/index.js +59 -3757
  647. package/dist/index.js.map +1 -1
  648. package/dist/index.mjs +18 -3738
  649. package/dist/index.mjs.map +1 -1
  650. package/dist/props/align.prop.d.mts +16 -0
  651. package/dist/props/align.prop.d.ts +16 -0
  652. package/dist/props/align.prop.js +41 -0
  653. package/dist/props/align.prop.js.map +1 -0
  654. package/dist/props/align.prop.mjs +16 -0
  655. package/dist/props/align.prop.mjs.map +1 -0
  656. package/dist/props/color.prop.d.mts +26 -0
  657. package/dist/props/color.prop.d.ts +26 -0
  658. package/dist/props/color.prop.js +60 -0
  659. package/dist/props/color.prop.js.map +1 -0
  660. package/dist/props/color.prop.mjs +35 -0
  661. package/dist/props/color.prop.mjs.map +1 -0
  662. package/dist/props/direction.prop.d.mts +11 -0
  663. package/dist/props/direction.prop.d.ts +11 -0
  664. package/dist/props/direction.prop.js +39 -0
  665. package/dist/props/direction.prop.js.map +1 -0
  666. package/dist/props/direction.prop.mjs +14 -0
  667. package/dist/props/direction.prop.mjs.map +1 -0
  668. package/dist/props/index.d.mts +11 -0
  669. package/dist/props/index.d.ts +11 -0
  670. package/dist/props/index.js +82 -0
  671. package/dist/props/index.js.map +1 -0
  672. package/dist/props/index.mjs +43 -0
  673. package/dist/props/index.mjs.map +1 -0
  674. package/dist/props/margin.prop.d.mts +135 -0
  675. package/dist/props/margin.prop.d.ts +135 -0
  676. package/dist/props/margin.prop.js +177 -0
  677. package/dist/props/margin.prop.js.map +1 -0
  678. package/dist/props/margin.prop.mjs +153 -0
  679. package/dist/props/margin.prop.mjs.map +1 -0
  680. package/dist/props/padding.prop.d.mts +135 -0
  681. package/dist/props/padding.prop.d.ts +135 -0
  682. package/dist/props/padding.prop.js +169 -0
  683. package/dist/props/padding.prop.js.map +1 -0
  684. package/dist/props/padding.prop.mjs +145 -0
  685. package/dist/props/padding.prop.mjs.map +1 -0
  686. package/dist/props/prop-def.d.mts +66 -0
  687. package/dist/props/prop-def.d.ts +66 -0
  688. package/dist/props/prop-def.js +18 -0
  689. package/dist/props/prop-def.js.map +1 -0
  690. package/dist/props/prop-def.mjs +2 -0
  691. package/dist/props/prop-def.mjs.map +1 -0
  692. package/dist/props/radius.prop.d.mts +177 -0
  693. package/dist/props/radius.prop.d.ts +177 -0
  694. package/dist/props/radius.prop.js +211 -0
  695. package/dist/props/radius.prop.js.map +1 -0
  696. package/dist/props/radius.prop.mjs +186 -0
  697. package/dist/props/radius.prop.mjs.map +1 -0
  698. package/dist/props/roundness.prop.d.mts +23 -0
  699. package/dist/props/roundness.prop.d.ts +23 -0
  700. package/dist/props/roundness.prop.js +48 -0
  701. package/dist/props/roundness.prop.js.map +1 -0
  702. package/dist/props/roundness.prop.mjs +23 -0
  703. package/dist/props/roundness.prop.mjs.map +1 -0
  704. package/dist/props/size.prop.d.mts +19 -0
  705. package/dist/props/size.prop.d.ts +19 -0
  706. package/dist/props/size.prop.js +44 -0
  707. package/dist/props/size.prop.js.map +1 -0
  708. package/dist/props/size.prop.mjs +19 -0
  709. package/dist/props/size.prop.mjs.map +1 -0
  710. package/dist/props/spacing.prop.d.mts +24 -0
  711. package/dist/props/spacing.prop.d.ts +24 -0
  712. package/dist/props/spacing.prop.js +49 -0
  713. package/dist/props/spacing.prop.js.map +1 -0
  714. package/dist/props/spacing.prop.mjs +24 -0
  715. package/dist/props/spacing.prop.mjs.map +1 -0
  716. package/dist/utils/filter-children.d.mts +50 -0
  717. package/dist/utils/filter-children.d.ts +50 -0
  718. package/dist/utils/filter-children.js +121 -0
  719. package/dist/utils/filter-children.js.map +1 -0
  720. package/dist/utils/filter-children.mjs +86 -0
  721. package/dist/utils/filter-children.mjs.map +1 -0
  722. package/dist/utils/get-component-props.d.mts +14 -0
  723. package/dist/utils/get-component-props.d.ts +14 -0
  724. package/dist/utils/get-component-props.js +126 -0
  725. package/dist/utils/get-component-props.js.map +1 -0
  726. package/dist/utils/get-component-props.mjs +92 -0
  727. package/dist/utils/get-component-props.mjs.map +1 -0
  728. package/dist/utils/get-props.d.mts +29 -0
  729. package/dist/utils/get-props.d.ts +29 -0
  730. package/dist/utils/get-props.js +17 -0
  731. package/dist/utils/get-props.js.map +1 -0
  732. package/dist/utils/get-props.mjs +1 -0
  733. package/dist/utils/get-props.mjs.map +1 -0
  734. package/dist/utils/parse-color.d.mts +14 -0
  735. package/dist/utils/parse-color.d.ts +14 -0
  736. package/dist/utils/parse-color.js +49 -0
  737. package/dist/utils/parse-color.js.map +1 -0
  738. package/dist/utils/parse-color.mjs +25 -0
  739. package/dist/utils/parse-color.mjs.map +1 -0
  740. package/dist/utils/use-controllable-state.d.mts +7 -0
  741. package/dist/utils/use-controllable-state.d.ts +7 -0
  742. package/dist/utils/use-controllable-state.js +58 -0
  743. package/dist/utils/use-controllable-state.js.map +1 -0
  744. package/dist/utils/use-controllable-state.mjs +24 -0
  745. package/dist/utils/use-controllable-state.mjs.map +1 -0
  746. package/package.json +1 -1
  747. package/dist/index.css.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,1524 +1,81 @@
1
- import * as React$1 from 'react';
2
- import React__default, { HTMLAttributes, FC } from 'react';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
-
5
- declare const breakpoints: readonly ["initial", "xs", "sm", "md", "lg", "xl"];
6
- type Breakpoint = (typeof breakpoints)[number];
7
- type Union<S = string, T extends string | number = string> = T | Omit<S, T>;
8
- type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
9
- type BooleanPropDef = {
10
- type: "boolean";
11
- default?: boolean;
12
- required?: boolean;
13
- className?: string;
14
- cssProperty?: string;
15
- dataAttr?: string;
16
- };
17
- type StringPropDef = {
18
- type: "string";
19
- default?: string;
20
- required?: boolean;
21
- className?: string;
22
- cssProperty?: string;
23
- };
24
- type NumberPropDef = {
25
- type: "number";
26
- default?: number;
27
- required?: boolean;
28
- };
29
- type ReactNodePropDef<T = React.ReactNode> = {
30
- type: "reactNode";
31
- required?: boolean;
32
- };
33
- type EnumPropDef<T> = {
34
- type: "enum";
35
- values: readonly T[];
36
- default?: T | "theme";
37
- required?: boolean;
38
- className?: string;
39
- dataAttr?: string;
40
- };
41
- type EnumOrStringPropDef<T extends string> = {
42
- type: "enum | string";
43
- values: readonly T[];
44
- default?: T | "theme";
45
- required?: boolean;
46
- className?: string;
47
- dataAttr?: string;
48
- transform?: (value: string) => string;
49
- };
50
- type ValueOrArrayPropDef<T> = {
51
- type: "value | array";
52
- default?: T | T[];
53
- required?: boolean;
54
- className?: string;
55
- };
56
- type FunctionPropDef<T extends (...args: any[]) => any = (...args: any[]) => any> = {
57
- type: "function";
58
- required?: boolean;
59
- };
60
- type BasePropDef<T = any> = BooleanPropDef | StringPropDef | NumberPropDef | ReactNodePropDef<T> | EnumPropDef<T> | EnumOrStringPropDef<T & string> | ValueOrArrayPropDef<T> | FunctionPropDef<T & ((...args: any[]) => any)>;
61
- type ResponsivePropDef<T = any> = BasePropDef<T> & {
62
- responsive: true;
63
- };
64
- type GetPropDefType<Def> = Def extends BooleanPropDef ? Def extends ResponsivePropDef ? Responsive<boolean> : boolean : Def extends StringPropDef ? Def extends ResponsivePropDef ? Responsive<string> : string : Def extends NumberPropDef ? Def extends ResponsivePropDef ? Responsive<number> : number : Def extends ReactNodePropDef<infer Type> ? Type : Def extends FunctionPropDef<infer Fn> ? Fn : Def extends EnumOrStringPropDef<infer Type> ? Def extends ResponsivePropDef<infer Type extends string> ? Responsive<Union<string, Type>> : Union<string, Type> : Def extends ValueOrArrayPropDef<infer Type> ? Def extends ResponsivePropDef<infer Type> ? Responsive<Type | Type[]> : Type | Type[] : Def extends EnumPropDef<infer Type> ? Def extends ResponsivePropDef<infer Type> ? Responsive<Type> : Type : never;
65
- type GetPropDefTypes<P> = {
66
- [K in keyof P]?: GetPropDefType<P[K]>;
67
- };
68
-
69
- declare const AlignPropDef: {
70
- /**
71
- * The alignment of the component.
72
- */
73
- align: {
74
- type: "enum";
75
- values: readonly ["start", "center", "end"];
76
- dataAttr: string;
77
- };
78
- };
79
- type AlignProp = GetPropDefTypes<typeof AlignPropDef>;
80
-
81
- /**
82
- * Parses a color string (hex, rgb, or raw r,g,b) into a raw "r, g, b" string
83
- * suitable for use with CSS rgba().
84
- *
85
- * Supported formats:
86
- * - Hex: "#7BEB34", "#7beb34", "#abc"
87
- * - RGB function: "rgb(125, 235, 52)"
88
- * - Raw: "125, 235, 52"
89
- *
90
- * Returns the original string unchanged if parsing fails.
91
- */
92
- declare function parseColor(value: string): string;
93
-
94
- declare const ColorPropDef: {
95
- /**
96
- * Sets the color of the component.
97
- *
98
- * Uses predefined theme colors ("primary", "secondary", etc.) or accepts custom color values in hex, rgb, or raw rgb formats.
99
- *
100
- * @example color="primary" // primary color
101
- * @example color="#7BEB34" // hex color
102
- * @example color="rgb(125, 235, 52)" // rgb color
103
- * @example color="125, 235, 52" // raw rgb values
104
- */
105
- color: {
106
- type: "enum | string";
107
- values: readonly ["primary", "secondary", "tertiary", "accent", "success", "warning", "danger", "info"];
108
- dataAttr: string;
109
- className: string;
110
- transform: typeof parseColor;
111
- };
112
- };
113
- type ColorProp = GetPropDefTypes<typeof ColorPropDef>;
114
-
115
- declare const MarginPropDefs: {
116
- /**
117
- * Sets margin on all sides of the element.
118
- * Supports scale, auto, inherit, custom, and responsive values.
119
- *
120
- * @example m="4" // 16px margin on all sides
121
- * @example m="-26px" // -26px negative margin custom value
122
- * @example m={{ initial: "2", md: "4", lg: "8" }} // responsive margins
123
- *
124
- * @link
125
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin
126
- */
127
- m: {
128
- type: "enum | string";
129
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
130
- dataAttr: string;
131
- className: string;
132
- responsive: true;
133
- };
134
- /**
135
- * Sets margin on the top of the element.
136
- * Supports scale, auto, inherit, custom, and responsive values.
137
- *
138
- * @example mt="4" // 16px margin on all sides
139
- * @example mt="-26px" // -26px negative margin custom value
140
- * @example mt={{ initial: "2", md: "4", lg: "8" }} // responsive margins
141
- *
142
- * @link
143
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
144
- */
145
- mt: {
146
- type: "enum | string";
147
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
148
- dataAttr: string;
149
- className: string;
150
- responsive: true;
151
- };
152
- /**
153
- * Sets margin on the bottom of the element.
154
- * Supports scale, auto, inherit, custom, and responsive values.
155
- *
156
- * @example mb="4" // 16px margin on all sides
157
- * @example mb="-26px" // -26px negative margin custom value
158
- * @example mb={{ initial: "2", md: "4", lg: "8" }} // responsive margins
159
- *
160
- * @link
161
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom
162
- */
163
- mb: {
164
- type: "enum | string";
165
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
166
- dataAttr: string;
167
- className: string;
168
- responsive: true;
169
- };
170
- /**
171
- * Sets margin on the left of the element.
172
- * Supports scale, auto, inherit, custom, and responsive values.
173
- *
174
- * @example ml="4" // 16px margin on all sides
175
- * @example ml="-26px" // -26px negative margin custom value
176
- * @example ml={{ initial: "2", md: "4", lg: "8" }} // responsive margins
177
- *
178
- * @link
179
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
180
- */
181
- ml: {
182
- type: "enum | string";
183
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
184
- dataAttr: string;
185
- className: string;
186
- responsive: true;
187
- };
188
- /**
189
- * Sets margin on the right of the element.
190
- * Supports scale, auto, inherit, custom, and responsive values.
191
- *
192
- * @example mr="4" // 16px margin on all sides
193
- * @example mr="-26px" // -26px negative margin custom value
194
- * @example mr={{ initial: "2", md: "4", lg: "8" }} // responsive margins
195
- *
196
- * @link
197
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
198
- */
199
- mr: {
200
- type: "enum | string";
201
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
202
- dataAttr: string;
203
- className: string;
204
- responsive: true;
205
- };
206
- /**
207
- * Sets margin on the left and right (horizontal) sides of the element.
208
- * Supports scale, auto, inherit, custom, and responsive values.
209
- *
210
- * @example mx="4" // 16px horizontal margin
211
- * @example mx="-26px" // -26px negative horizontal margin custom value
212
- * @example mx={{ initial: "2", md: "4", lg: "8" }} // responsive horizontal margins
213
- *
214
- * @link
215
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
216
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
217
- */
218
- mx: {
219
- type: "enum | string";
220
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
221
- dataAttr: string;
222
- className: string;
223
- responsive: true;
224
- };
225
- /**
226
- * Sets margin on the top and bottom (vertical) sides of the element.
227
- * Supports scale, auto, inherit, custom, and responsive values.
228
- *
229
- * @example my="4" // 16px vertical margin
230
- * @example my="-26px" // -26px negative vertical margin custom value
231
- * @example my={{ initial: "2", md: "4", lg: "8" }} // responsive vertical margins
232
- *
233
- * @link
234
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
235
- * https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom
236
- */
237
- my: {
238
- type: "enum | string";
239
- values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
240
- dataAttr: string;
241
- className: string;
242
- responsive: true;
243
- };
244
- };
245
- type MarginProps = GetPropDefTypes<typeof MarginPropDefs>;
246
-
247
- declare const PaddingPropDefs: {
248
- /**
249
- * Sets padding on all sides of the element.
250
- * Supports scale, inherit, custom, and responsive values.
251
- *
252
- * @example p="4" // 16px padding on all sides
253
- * @example p="26px" // 26px padding custom value
254
- * @example p={{ initial: "2", md: "4", lg: "8" }} // responsive padding
255
- *
256
- * @link
257
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding
258
- */
259
- p: {
260
- type: "enum | string";
261
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
262
- dataAttr: string;
263
- className: string;
264
- responsive: true;
265
- };
266
- /**
267
- * Sets padding on the top of the element.
268
- * Supports scale, inherit, custom, and responsive values.
269
- *
270
- * @example pt="4" // 16px top padding
271
- * @example pt="26px" // 26px top padding custom value
272
- * @example pt={{ initial: "2", md: "4", lg: "8" }} // responsive top padding
273
- *
274
- * @link
275
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
276
- */
277
- pt: {
278
- type: "enum | string";
279
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
280
- dataAttr: string;
281
- className: string;
282
- responsive: true;
283
- };
284
- /**
285
- * Sets padding on the bottom of the element.
286
- * Supports scale, inherit, custom, and responsive values.
287
- *
288
- * @example pb="4" // 16px bottom padding
289
- * @example pb="26px" // 26px bottom padding custom value
290
- * @example pb={{ initial: "2", md: "4", lg: "8" }} // responsive bottom padding
291
- *
292
- * @link
293
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
294
- */
295
- pb: {
296
- type: "enum | string";
297
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
298
- dataAttr: string;
299
- className: string;
300
- responsive: true;
301
- };
302
- /**
303
- * Sets padding on the left of the element.
304
- * Supports scale, inherit, custom, and responsive values.
305
- *
306
- * @example pl="4" // 16px left padding
307
- * @example pl="26px" // 26px left padding custom value
308
- * @example pl={{ initial: "2", md: "4", lg: "8" }} // responsive left padding
309
- *
310
- * @link
311
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
312
- */
313
- pl: {
314
- type: "enum | string";
315
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
316
- dataAttr: string;
317
- className: string;
318
- responsive: true;
319
- };
320
- /**
321
- * Sets padding on the right of the element.
322
- * Supports scale, inherit, custom, and responsive values.
323
- *
324
- * @example pr="4" // 16px right padding
325
- * @example pr="26px" // 26px right padding custom value
326
- * @example pr={{ initial: "2", md: "4", lg: "8" }} // responsive right padding
327
- *
328
- * @link
329
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
330
- */
331
- pr: {
332
- type: "enum | string";
333
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
334
- dataAttr: string;
335
- className: string;
336
- responsive: true;
337
- };
338
- /**
339
- * Sets padding on the left and right (horizontal) sides of the element.
340
- * Supports scale, inherit, custom, and responsive values.
341
- *
342
- * @example px="4" // 16px horizontal padding
343
- * @example px="26px" // 26px horizontal padding custom value
344
- * @example px={{ initial: "2", md: "4", lg: "8" }} // responsive horizontal padding
345
- *
346
- * @link
347
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
348
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
349
- */
350
- px: {
351
- type: "enum | string";
352
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
353
- dataAttr: string;
354
- className: string;
355
- responsive: true;
356
- };
357
- /**
358
- * Sets padding on the top and bottom (vertical) sides of the element.
359
- * Supports scale, inherit, custom, and responsive values.
360
- *
361
- * @example py="4" // 16px vertical padding
362
- * @example py="26px" // 26px vertical padding custom value
363
- * @example py={{ initial: "2", md: "4", lg: "8" }} // responsive vertical padding
364
- *
365
- * @link
366
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
367
- * https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
368
- */
369
- py: {
370
- type: "enum | string";
371
- values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
372
- dataAttr: string;
373
- className: string;
374
- responsive: true;
375
- };
376
- };
377
- type PaddingProps = GetPropDefTypes<typeof PaddingPropDefs>;
378
-
379
- declare const RadiusPropDefs: {
380
- /**
381
- * Sets the border-radius of the element.
382
- * Supports scaled, inherit, custom, and responsive values.
383
- *
384
- * @example radius="md" // medium border-radius
385
- * @example radius="26px" // 26px border-radius custom value
386
- * @example radius={{ initial: "none", lg: "full" }} // responsive border-radius
387
- *
388
- * @default "theme" // uses the theme's default border-radius value or none if not set
389
- *
390
- * @link
391
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
392
- */
393
- radius: {
394
- type: "enum | string";
395
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
396
- default: "theme";
397
- dataAttr: string;
398
- className: string;
399
- responsive: true;
400
- };
401
- /**
402
- * Sets the top border-radius of the element.
403
- * Supports scaled, inherit, custom, and responsive values.
404
- *
405
- * @example radius-t="md" // medium border-radius
406
- * @example radius-t="26px" // 26px border-radius custom value
407
- * @example radius-t={{ initial: "none", lg: "full" }} // responsive border-radius
408
- *
409
- * @link
410
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
411
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
412
- */
413
- "radius-t": {
414
- type: "enum | string";
415
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
416
- dataAttr: string;
417
- className: string;
418
- responsive: true;
419
- };
420
- /**
421
- * Sets the right border-radius of the element.
422
- * Supports scaled, inherit, custom, and responsive values.
423
- *
424
- * @example radius-r="md" // medium border-radius
425
- * @example radius-r="26px" // 26px border-radius custom value
426
- * @example radius-r={{ initial: "none", lg: "full" }} // responsive border-radius
427
- *
428
- * @link
429
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
430
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
431
- */
432
- "radius-r": {
433
- type: "enum | string";
434
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
435
- dataAttr: string;
436
- className: string;
437
- responsive: true;
438
- };
439
- /**
440
- * Sets the bottom border-radius of the element.
441
- * Supports scaled, inherit, custom, and responsive values.
442
- *
443
- * @example radius-b="md" // medium border-radius
444
- * @example radius-b="26px" // 26px border-radius custom value
445
- * @example radius-b={{ initial: "none", lg: "full" }} // responsive border-radius
446
- *
447
- * @link
448
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
449
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
450
- */
451
- "radius-b": {
452
- type: "enum | string";
453
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
454
- dataAttr: string;
455
- className: string;
456
- responsive: true;
457
- };
458
- /**
459
- * Sets the left border-radius of the element.
460
- * Supports scaled, inherit, custom, and responsive values.
461
- *
462
- * @example radius-l="md" // medium border-radius
463
- * @example radius-l="26px" // 26px border-radius custom value
464
- * @example radius-l={{ initial: "none", lg: "full" }} // responsive border-radius
465
- *
466
- * @link
467
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius
468
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius
469
- */
470
- "radius-l": {
471
- type: "enum | string";
472
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
473
- dataAttr: string;
474
- className: string;
475
- responsive: true;
476
- };
477
- /**
478
- * Sets the top-left border-radius of the element.
479
- * Supports scaled, inherit, custom, and responsive values.
480
- *
481
- * @example radius-tl="md" // medium border-radius
482
- * @example radius-tl="26px" // 26px border-radius custom value
483
- * @example radius-tl={{ initial: "none", lg: "full" }} // responsive border-radius
484
- *
485
- * @link
486
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
487
- */
488
- "radius-tl": {
489
- type: "enum | string";
490
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
491
- dataAttr: string;
492
- className: string;
493
- responsive: true;
494
- };
495
- /**
496
- * Sets the top-right border-radius of the element.
497
- * Supports scaled, inherit, custom, and responsive values.
498
- *
499
- * @example "radius-tr"="md" // medium border-radius
500
- * @example "radius-tr"="26px" // 26px border-radius custom value
501
- * @example "radius-tr"={{ initial: "none", lg: "full" }} // responsive border-radius
502
- *
503
- * @link
504
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
505
- */
506
- "radius-tr": {
507
- type: "enum | string";
508
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
509
- dataAttr: string;
510
- className: string;
511
- responsive: true;
512
- };
513
- /**
514
- * Sets the bottom-right border-radius of the element.
515
- * Supports scaled, inherit, custom, and responsive values.
516
- *
517
- * @example "radius-br"="md" // medium border-radius
518
- * @example "radius-br"="26px" // 26px border-radius custom value
519
- * @example "radius-br"={{ initial: "none", lg: "full" }} // responsive border-radius
520
- *
521
- * @link
522
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
523
- */
524
- "radius-br": {
525
- type: "enum | string";
526
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
527
- dataAttr: string;
528
- className: string;
529
- responsive: true;
530
- };
531
- /**
532
- * Sets the bottom-left border-radius of the element.
533
- * Supports scaled, inherit, custom, and responsive values.
534
- *
535
- * @example "radius-bl"="md" // medium border-radius
536
- * @example "radius-bl"="26px" // 26px border-radius custom value
537
- * @example "radius-bl"={{ initial: "none", lg: "full" }} // responsive border-radius
538
- *
539
- * @link
540
- * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
541
- */
542
- "radius-bl": {
543
- type: "enum | string";
544
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
545
- dataAttr: string;
546
- className: string;
547
- responsive: true;
548
- };
549
- };
550
- type RadiusProps = GetPropDefTypes<typeof RadiusPropDefs>;
551
-
552
- declare const RoundnessPropDef: {
553
- /**
554
- * Sets the roundness multiplier for the element's radius.
555
- * Supports scaled and inherit values.
556
- *
557
- * @example roundness="4" // 8px base roundness
558
- * @example roundness="inherit" // inherits roundness from parent
559
- *
560
- * @default "theme" // uses the theme's default roundness value or none if not set
561
- */
562
- roundness: {
563
- type: "enum";
564
- values: readonly ["1", "2", "3", "4", "5", "6", "inherit"];
565
- default: "theme";
566
- dataAttr: string;
567
- };
568
- };
569
- type RoundnessProp = GetPropDefTypes<typeof RoundnessPropDef>;
570
-
571
- declare const SizePropDef: {
572
- /**
573
- * Sets the size of the component.
574
- *
575
- * @example size="md" // medium sized component
576
- */
577
- size: {
578
- type: "enum | string";
579
- values: readonly ["xs", "sm", "md", "lg", "xl"];
580
- dataAttr: string;
581
- className: string;
582
- };
583
- };
584
- type SizeProp = GetPropDefTypes<typeof SizePropDef>;
585
-
586
- declare const SpacingPropDef: {
587
- /**
588
- * Sets the spacing scale for the component.
589
- * This multiplier affects various layout properties such as margin, padding, and gap values.
590
- *
591
- * @example spacing="md" // medium spacing scale (1)
592
- * @example spacing={{ initial: "sm", lg: "xl" }} // responsive spacing
593
- *
594
- * @default "theme" // uses the theme's default spacing value or none if not set
595
- */
596
- spacing: {
597
- type: "enum";
598
- values: readonly ["xs", "sm", "md", "lg", "xl", "inherit"];
599
- dataAttr: string;
600
- default: "theme";
601
- responsive: true;
602
- };
603
- };
604
- type SpacingProp = GetPropDefTypes<typeof SpacingPropDef>;
605
-
606
- declare const AccordionContentPropDefs: {};
607
- type AccordionContentInternalProps = GetPropDefTypes<typeof AccordionContentPropDefs>;
608
-
609
- interface AllAccordionContentProps extends AccordionContentInternalProps, PaddingProps {
610
- }
611
- type AccordionContentProps = AllAccordionContentProps & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
612
- children?: React.ReactNode;
613
- };
614
-
615
- declare const AccordionHeaderPropDefs: {
616
- /** The value of the parent AccordionItem — injected automatically */
617
- value: {
618
- type: "string";
619
- };
620
- };
621
- type AccordionHeaderInternalProps = GetPropDefTypes<typeof AccordionHeaderPropDefs>;
622
-
623
- interface AllAccordionHeaderProps extends AccordionHeaderInternalProps, PaddingProps {
624
- }
625
- type AccordionHeaderProps = AllAccordionHeaderProps & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
626
- children?: React.ReactNode;
627
- };
628
-
629
- declare const AccordionItemPropDefs: {
630
- /**
631
- * Sets the accordion item to be open by default.
632
- */
633
- readonly open: {
634
- type: "boolean";
635
- };
636
- /**
637
- * The value of the accordion item. Automatically generated if not provided.
638
- */
639
- readonly value: {
640
- type: "string";
641
- };
642
- };
643
- type AccordionItemInternalProps = GetPropDefTypes<typeof AccordionItemPropDefs>;
644
-
645
- interface AllAccordionItemProps extends AccordionItemInternalProps {
646
- }
647
- /**
648
- * An individual item within an accordion. Contains the header and content for a single section of the accordion.
649
- */
650
- type AccordionItemProps = AllAccordionItemProps & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
651
- children?: React__default.ReactNode;
652
- };
653
-
654
- /**
655
- * Type utility to restrict children to specific React element types.
656
- * Use with Omit<Props, 'children'> & StrictChildren<AllowedProps>
657
- *
658
- * @example
659
- * type MyComponentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>
660
- * & StrictChildren<ChildAProps | ChildBProps>;
661
- */
662
- type StrictChildren<AllowedChildProps> = {
663
- children: React$1.ReactElement<AllowedChildProps> | React$1.ReactElement<AllowedChildProps>[];
664
- };
665
- /**
666
- * Type utility to replace the children prop with strictly typed children.
667
- * Combines Omit and StrictChildren in one step.
668
- *
669
- * @example
670
- * type MyComponentProps = WithStrictChildren<
671
- * React.HTMLAttributes<HTMLDivElement>,
672
- * ChildAProps | ChildBProps
673
- * >;
674
- */
675
- type WithStrictChildren<Props extends {
676
- children?: React$1.ReactNode;
677
- }, AllowedChildProps> = Omit<Props, "children"> & StrictChildren<AllowedChildProps>;
678
- /**
679
- * Like WithStrictChildren, but children are optional.
680
- * When provided, children are still restricted to the allowed types.
681
- */
682
- type WithOptionalStrictChildren<Props extends {
683
- children?: React$1.ReactNode;
684
- }, AllowedChildProps> = Omit<Props, "children"> & Partial<StrictChildren<AllowedChildProps>>;
685
-
686
- declare const AccordionRootPropsDefs: {
687
- /**
688
- * Sets the variant style of the accordion ("solid", "outlined", or "muted").
689
- */
690
- variant: {
691
- type: "enum";
692
- values: readonly ["solid", "outlined", "muted"];
693
- dataAttr: string;
694
- };
695
- /**
696
- * Allows multiple accordion items to be expanded simultaneously when set to true.
697
- */
698
- multiple: {
699
- type: "boolean";
700
- };
701
- /**
702
- * The value of the accordion.
703
- */
704
- value: ValueOrArrayPropDef<string>;
705
- /**
706
- * Callback fired when the value of the accordion changes.
707
- */
708
- onValueChange: FunctionPropDef<(value: string | string[] | null) => void>;
709
- };
710
- type AccordionRootInternalProps = GetPropDefTypes<typeof AccordionRootPropsDefs>;
711
-
712
- interface AllAccordionRootProps extends AccordionRootInternalProps, SizeProp {
713
- }
714
- /**
715
- * A versatile Accordion component, managing state, context, and styling.
716
- */
717
- type AccordionRootProps = AllAccordionRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, AccordionItemProps>;
718
-
719
- declare const Accordion: React$1.FC<AccordionRootProps> & {
720
- Root: React$1.FC<AccordionRootProps>;
721
- Item: React$1.FC<AccordionItemProps>;
722
- Header: React$1.FC<AccordionHeaderProps>;
723
- Content: React$1.FC<AccordionContentProps>;
724
- };
725
-
726
- declare const BadgeRootPropsDefs: {
727
- /**
728
- * Sets the variant style of the badge ("solid", "outlined", "muted", or "clear").
729
- */
730
- readonly variant: {
731
- type: "enum";
732
- values: readonly ["solid", "outlined", "muted", "clear"];
733
- dataAttr: string;
734
- };
735
- };
736
- type BadgeRootInternalProps = GetPropDefTypes<typeof BadgeRootPropsDefs>;
737
-
738
- interface AllBadgeRootProps extends BadgeRootInternalProps, ColorProp, MarginProps, PaddingProps, RadiusProps, SizeProp {
739
- }
740
- type BadgeRootProps = AllBadgeRootProps & React.HTMLAttributes<HTMLDivElement>;
741
- declare const Badge: React.FC<BadgeRootProps>;
742
-
743
- interface BoxExternalProps extends MarginProps, PaddingProps, SpacingProp, RadiusProps, RoundnessProp {
744
- }
745
- /**
746
- * A versatile container used to provide layout and styling capabilities.
747
- */
748
- declare const Box: React$1.ForwardRefExoticComponent<GetPropDefTypes<{}> & BoxExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
749
-
750
- declare const ButtonRootPropsDefs: {
751
- /**
752
- * Sets the variant style of the button ("solid", "outlined", "muted", or "clear").
753
- */
754
- readonly variant: {
755
- type: "enum";
756
- values: readonly ["solid", "outlined", "muted", "clear"];
757
- dataAttr: string;
758
- };
759
- /**
760
- * Enables high contrast mode for better visibility.
761
- * @default undefined
762
- */
763
- readonly highContrast: {
764
- type: "boolean";
765
- dataAttr: string;
766
- };
767
- /**
768
- * Disables the button component.
769
- * @default undefined
770
- */
771
- readonly disabled: {
772
- type: "boolean";
773
- dataAttr: string;
774
- };
775
- /**
776
- * Makes the button read-only.
777
- * @default undefined
778
- */
779
- readonly readonly: {
780
- type: "boolean";
781
- dataAttr: string;
782
- };
783
- };
784
- type ButtonRootInternalProps = GetPropDefTypes<typeof ButtonRootPropsDefs>;
785
-
786
- interface AllButtonRootProps extends ButtonRootInternalProps, ColorProp, MarginProps, PaddingProps, RadiusProps, SizeProp {
787
- }
788
- type ButtonRootProps = AllButtonRootProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
789
- declare const Button: React.FC<ButtonRootProps>;
790
-
791
- declare const CheckboxIndicatorPropDefs: {
792
- /**
793
- * Sets the variant style of the checkbox ("solid" or "outlined").
794
- */
795
- readonly variant: {
796
- type: "enum";
797
- values: readonly ["solid", "outlined", "muted"];
798
- dataAttr: string;
799
- };
800
- };
801
- type CheckboxIndicatorInternalProps = GetPropDefTypes<typeof CheckboxIndicatorPropDefs>;
802
-
803
- interface AllCheckboxIndicatorProps extends CheckboxIndicatorInternalProps, SizeProp {
804
- }
805
- type CheckboxIndicatorProps = AllCheckboxIndicatorProps & Omit<React__default.HTMLAttributes<HTMLSpanElement>, "children">;
806
-
807
- declare const CheckboxLabelPropDefs: {
808
- /**
809
- * Sets the position of the label relative to the checkbox.
810
- *
811
- * @example position="left" // positions the label to the left of the checkbox
812
- * @example position="top" // positions the label above the checkbox
813
- */
814
- readonly position: {
815
- type: "enum";
816
- values: readonly ["top", "left", "right", "bottom"];
817
- dataAttr: string;
818
- };
819
- };
820
- type CheckboxLabelInternalProps = GetPropDefTypes<typeof CheckboxLabelPropDefs>;
821
-
822
- interface AllCheckboxLabelProps extends CheckboxLabelInternalProps {
823
- }
824
- type CheckboxLabelProps = AllCheckboxLabelProps & Omit<React__default.HTMLAttributes<HTMLLabelElement>, "children"> & {
825
- children?: React__default.ReactNode;
826
- };
827
-
828
- declare const CheckboxRootPropsDefs: {
829
- /**
830
- * Sets the variant style of the checkbox ("solid" or "outlined").
831
- */
832
- readonly variant: {
833
- type: "enum";
834
- values: readonly ["solid", "outlined", "muted"];
835
- dataAttr: string;
836
- };
837
- /**
838
- * Sets the checked state of the checkbox.
839
- *
840
- * When using an uncontrolled checkbox, use `defaultChecked` instead.
841
- * @default undefined
842
- */
843
- readonly checked: {
844
- type: "boolean";
845
- dataAttr: string;
846
- };
847
- /**
848
- * Sets the indeterminate state of the checkbox.
849
- * @default undefined
850
- */
851
- readonly indeterminate: {
852
- type: "boolean";
853
- dataAttr: string;
854
- };
855
- /**
856
- * Enables high contrast mode for better visibility.
857
- * @default undefined
858
- */
859
- readonly highContrast: {
860
- type: "boolean";
861
- dataAttr: string;
862
- };
863
- /**
864
- * The value of the checkbox (checked state).
865
- */
866
- readonly value: {
867
- type: "boolean";
868
- };
869
- /**
870
- * Sets the default checked state of the checkbox.
871
- * @default undefined
872
- */
873
- readonly defaultChecked: {
874
- type: "boolean";
875
- };
876
- /**
877
- * Disables the checkbox component.
878
- * @default undefined
879
- */
880
- readonly disabled: {
881
- type: "boolean";
882
- dataAttr: string;
883
- };
884
- /**
885
- * Makes the checkbox read-only.
886
- * @default undefined
887
- */
888
- readonly readonly: {
889
- type: "boolean";
890
- dataAttr: string;
891
- };
892
- /**
893
- * Marks the checkbox as required.
894
- * @default undefined
895
- */
896
- readonly required: {
897
- type: "boolean";
898
- dataAttr: string;
899
- };
900
- /**
901
- * Sets the name attribute of the checkbox input for form control.
902
- * @default undefined
903
- */
904
- readonly name: {
905
- type: "string";
906
- };
907
- /**
908
- * Callback fired when the checked state changes.
909
- *
910
- * @param value - The new checked state.
911
- */
912
- readonly onCheckedChange: FunctionPropDef<(value: boolean) => void>;
913
- };
914
- type CheckboxRootInternalProps = GetPropDefTypes<typeof CheckboxRootPropsDefs>;
915
-
916
- interface AllCheckboxRootProps extends CheckboxRootInternalProps, AlignProp, ColorProp, MarginProps, SizeProp {
917
- }
918
- /**
919
- * A versatile Checkbox, managing state, context, and styling.
920
- */
921
- type CheckboxRootProps = AllCheckboxRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, CheckboxLabelProps | CheckboxIndicatorProps>;
922
-
923
- declare const Checkbox: React$1.FC<CheckboxRootProps> & {
924
- Root: React$1.FC<CheckboxRootProps>;
925
- Label: React$1.ForwardRefExoticComponent<AllCheckboxLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
926
- children?: React.ReactNode;
927
- } & React$1.RefAttributes<HTMLLabelElement>>;
928
- Indicator: React$1.FC<CheckboxIndicatorProps>;
929
- };
930
-
931
- declare const Container: React$1.ForwardRefExoticComponent<{} & {
932
- direction?: "row" | "column" | undefined;
933
- } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
934
-
935
- interface FlexExternalProps extends MarginProps, PaddingProps, SpacingProp {
936
- }
937
- /**
938
- * A versatile container used to provide layout and styling capabilities.
939
- */
940
- declare const Flex: React$1.ForwardRefExoticComponent<GetPropDefTypes<{
941
- readonly gap: {
942
- type: "enum | string";
943
- values: readonly ["0", "1", "2", "3", "4", "5", "6", "8"];
944
- dataAttr: string;
945
- responsive: true;
946
- };
947
- readonly justify: {
948
- type: "enum";
949
- values: readonly ["start", "end", "center", "between", "around", "evenly"];
950
- dataAttr: string;
951
- responsive: true;
952
- };
953
- readonly direction: {
954
- type: "enum";
955
- values: readonly ["row", "row-reverse", "column", "column-reverse"];
956
- dataAttr: string;
957
- responsive: true;
958
- };
959
- readonly align: {
960
- type: "enum";
961
- values: readonly ["start", "end", "center", "stretch", "baseline"];
962
- dataAttr: string;
963
- responsive: true;
964
- };
965
- readonly wrap: {
966
- type: "enum";
967
- values: readonly ["nowrap", "wrap", "wrap-reverse"];
968
- dataAttr: string;
969
- responsive: true;
970
- };
971
- }> & FlexExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
972
-
973
- interface PanelExternalProps extends MarginProps, PaddingProps, SpacingProp, RadiusProps, RoundnessProp, ColorProp {
974
- }
975
- /**
976
- * A versatile container used to provide layout and styling capabilities.
977
- */
978
- declare const Panel: React$1.ForwardRefExoticComponent<GetPropDefTypes<{
979
- readonly variant: {
980
- type: "enum";
981
- values: readonly ["solid", "outlined", "muted"];
982
- dataAttr: string;
983
- };
984
- readonly blur: {
985
- type: "string";
986
- default: string;
987
- cssProperty: string;
988
- };
989
- }> & PanelExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
990
-
991
- declare const variants: readonly ["clear", "shadow", "blurred"];
992
- type PortalBackdropInternalProps = {
993
- /**
994
- * The visual style variant of the backdrop.
995
- *
996
- * @example variant="blurred" // Applies a blurred effect to the backdrop
997
- * @default "clear"
998
- */
999
- variant?: (typeof variants)[number];
1000
- /**
1001
- * The opacity level of the backdrop.
1002
- *
1003
- * @example opacity="0.5" // Sets the backdrop opacity to 50%
1004
- * @default "0.3"
1005
- */
1006
- opacity?: string;
1007
- /**
1008
- * The blur amount applied to the backdrop when the "blurred" variant is used.
1009
- *
1010
- * @example blur="4px" // Sets the backdrop blur to 4 pixels
1011
- * @default "2px"
1012
- */
1013
- blur?: string;
1014
- };
1015
-
1016
- interface AllPortalBackdropProps extends PortalBackdropInternalProps {
1017
- }
1018
- type PortalBackdropProps = AllPortalBackdropProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children">;
1019
-
1020
- declare const PortalContentPropsDefs: {
1021
- /**
1022
- * The position of the portal content relative to the screen if no anchor is used.
1023
- *
1024
- * @example position="bl" // Portal renders at bottom-left of the screen
1025
- */
1026
- position: {
1027
- type: "enum";
1028
- values: readonly ["tl", "top", "tr", "left", "center", "right", "bl", "bottom", "br"];
1029
- default: "center";
1030
- dataAttr: string;
1031
- };
1032
- /**
1033
- * Whether the portal content is anchored to an element.
1034
- *
1035
- * When anchored, the portal content is positioned relative to the trigger element unless a custom anchorRef is provided.
1036
- */
1037
- anchored: {
1038
- type: "boolean";
1039
- dataAttr: string;
1040
- };
1041
- /**
1042
- * The side of the anchor element to position the portal content on.
1043
- *
1044
- * @default "bottom"
1045
- */
1046
- side: {
1047
- type: "enum";
1048
- values: readonly ["top", "right", "bottom", "left"];
1049
- default: "bottom";
1050
- };
1051
- /** Offset in pixels from the anchor element along the side axis. */
1052
- sideOffset: {
1053
- type: "string";
1054
- };
1055
- /** Offset in pixels along the alignment axis. */
1056
- alignOffset: {
1057
- type: "string";
1058
- };
1059
- };
1060
- type PortalContentInternalProps = GetPropDefTypes<typeof PortalContentPropsDefs>;
1061
-
1062
- interface AllPortalContentProps extends PortalContentInternalProps, AlignProp {
1063
- }
1064
- type PortalContentProps = AllPortalContentProps & React$1.HTMLAttributes<HTMLDivElement>;
1065
-
1066
- interface PortalTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
1067
- asChild?: boolean;
1068
- }
1069
-
1070
- declare const PortalRootPropsDefs: {
1071
- /** Whether the portal is open. */
1072
- open: {
1073
- type: "boolean";
1074
- default: false;
1075
- };
1076
- /** Callback fired when the open state changes. */
1077
- onOpenChange: {
1078
- type: "function";
1079
- };
1080
- /** Whether the portal is open by default (uncontrolled). */
1081
- defaultOpen: {
1082
- type: "boolean";
1083
- default: false;
1084
- };
1085
- /** Custom anchor element ref. If not provided, the trigger is used as anchor. */
1086
- anchorRef: ReactNodePropDef<React.RefObject<HTMLElement | null>>;
1087
- };
1088
- type PortalRootInternalProps = GetPropDefTypes<typeof PortalRootPropsDefs>;
1089
-
1090
- interface AllPortalRootProps extends PortalRootInternalProps {
1091
- }
1092
- type PortalRootProps = AllPortalRootProps & WithStrictChildren<React$1.HTMLAttributes<HTMLDivElement>, PortalTriggerProps | PortalBackdropProps | PortalContentProps>;
1093
-
1094
- declare const Portal: {
1095
- /** The root component that provides context for the portal. */
1096
- Root: React$1.FC<PortalRootProps>;
1097
- /** The trigger element that opens the portal when interacted with. */
1098
- Trigger: React$1.ForwardRefExoticComponent<PortalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1099
- /** The content displayed inside the portal when open. */
1100
- Content: React$1.ForwardRefExoticComponent<AllPortalContentProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1101
- /** A backdrop optionally displayed behind portal content when open. */
1102
- Backdrop: React$1.ForwardRefExoticComponent<AllPortalBackdropProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & React$1.RefAttributes<HTMLDivElement>>;
1103
- };
1104
-
1105
- declare const ProgressBarFillPropsDefs: {
1106
- /**
1107
- * The value of the progress bar (filled state).
1108
- * Should be a number between 0 and 1 representing the percentage of completion.
1109
- */
1110
- readonly value: {
1111
- type: "number";
1112
- };
1113
- };
1114
- type ProgressBarFillInternalProps = GetPropDefTypes<typeof ProgressBarFillPropsDefs>;
1115
-
1116
- interface AllProgressBarFillProps extends ProgressBarFillInternalProps, ColorProp, MarginProps, SizeProp {
1117
- }
1118
- /**
1119
- * A ProgressBarFill.
1120
- */
1121
- type ProgressBarFillProps = AllProgressBarFillProps & HTMLAttributes<HTMLDivElement>;
1122
-
1123
- declare const ProgressBarRootPropsDefs: {
1124
- /**
1125
- * Sets the variant style of the progress bar ("solid", "outlined", or "muted").
1126
- */
1127
- readonly variant: {
1128
- type: "enum";
1129
- values: readonly ["solid", "outlined", "muted"];
1130
- dataAttr: string;
1131
- };
1132
- /**
1133
- * The value of the progress bar (filled state).
1134
- * Should be a number between 0 and 1 representing the percentage of completion.
1135
- */
1136
- readonly value: {
1137
- type: "number";
1138
- };
1139
- };
1140
- type ProgressBarRootInternalProps = GetPropDefTypes<typeof ProgressBarRootPropsDefs>;
1141
-
1142
- interface AllProgressBarRootProps extends ProgressBarRootInternalProps, ColorProp, MarginProps, SizeProp {
1143
- }
1144
- type ProgressBarRootProps = AllProgressBarRootProps & WithOptionalStrictChildren<HTMLAttributes<HTMLDivElement>, ProgressBarFillProps>;
1145
-
1146
- /**
1147
- * A Progress Bar component to display single or stacked progress bars.
1148
- */
1149
- declare const ProgressBar: React$1.FC<ProgressBarRootProps> & {
1150
- /**
1151
- * The root component for the Progress Bar.
1152
- */
1153
- Root: React$1.FC<ProgressBarRootProps>;
1154
- /**
1155
- * The fill component for the Progress Bar, representing the filled portion.
1156
- */
1157
- Fill: React$1.FC<ProgressBarFillProps>;
1158
- };
1159
-
1160
- interface SelectSeparatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
1161
- }
1162
-
1163
- declare const SelectItemPropDefs: {
1164
- readonly value: {
1165
- type: "string";
1166
- };
1167
- readonly disabled: {
1168
- type: "boolean";
1169
- default: false;
1170
- };
1171
- };
1172
- type SelectItemInternalProps = GetPropDefTypes<typeof SelectItemPropDefs>;
1173
-
1174
- interface AllSelectItemProps extends SelectItemInternalProps {
1175
- }
1176
-
1177
- declare const SelectLabelPropDefs: {
1178
- readonly position: {
1179
- type: "enum";
1180
- values: readonly ["top", "left", "inside"];
1181
- default: "top";
1182
- dataAttr: string;
1183
- };
1184
- };
1185
- type SelectLabelInternalProps = GetPropDefTypes<typeof SelectLabelPropDefs>;
1186
-
1187
- interface AllSelectLabelProps extends SelectLabelInternalProps {
1188
- }
1189
- type SelectLabelProps = AllSelectLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
1190
- children?: React$1.ReactNode;
1191
- };
1192
-
1193
- declare const SelectGroupsPropDefs: {
1194
- readonly title: {
1195
- type: "string";
1196
- };
1197
- };
1198
- type SelectGroupInternalProps = GetPropDefTypes<typeof SelectGroupsPropDefs>;
1199
-
1200
- interface AllSelectGroupProps extends SelectGroupInternalProps {
1201
- }
1202
-
1203
- interface SelectViewportProps extends React$1.HTMLAttributes<HTMLDivElement> {
1204
- }
1205
-
1206
- declare const SelectContentPropDefs: {
1207
- readonly position: {
1208
- type: "enum";
1209
- values: readonly ["popper", "inline"];
1210
- default: "popper";
1211
- dataAttr: string;
1212
- };
1213
- readonly side: {
1214
- type: "enum";
1215
- values: readonly ["top", "bottom"];
1216
- default: "bottom";
1217
- dataAttr: string;
1218
- };
1219
- readonly offset: {
1220
- type: "string";
1221
- };
1222
- readonly align: {
1223
- type: "enum";
1224
- values: readonly ["start", "center", "end"];
1225
- default: "center";
1226
- dataAttr: string;
1227
- };
1228
- };
1229
- type SelectContentInternalProps = GetPropDefTypes<typeof SelectContentPropDefs>;
1230
-
1231
- interface AllSelectContentProps extends SelectContentInternalProps, RadiusProps, SpacingProp {
1232
- }
1233
- type SelectContentProps = AllSelectContentProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
1234
- children?: React$1.ReactNode;
1235
- };
1236
-
1237
- declare const SelectTriggerPropsDefs: {};
1238
- type SelectTriggerInternalProps = GetPropDefTypes<typeof SelectTriggerPropsDefs>;
1239
-
1240
- interface AllSelectTriggerProps extends SelectTriggerInternalProps, RadiusProps, RoundnessProp {
1241
- }
1242
- type SelectTriggerProps = AllSelectTriggerProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
1243
- asChild?: boolean;
1244
- children?: React$1.ReactNode;
1245
- };
1246
-
1247
- declare const SelectRootPropsDefs: {
1248
- readonly variant: {
1249
- type: "enum";
1250
- values: readonly ["outlined", "solid", "clear"];
1251
- dataAttr: string;
1252
- };
1253
- readonly value: {
1254
- type: "string";
1255
- };
1256
- readonly defaultValue: {
1257
- type: "string";
1258
- };
1259
- readonly disabled: {
1260
- type: "boolean";
1261
- };
1262
- readonly required: {
1263
- type: "boolean";
1264
- };
1265
- readonly placeholder: {
1266
- type: "string";
1267
- };
1268
- readonly name: {
1269
- type: "string";
1270
- };
1271
- readonly onValueChange: FunctionPropDef<(value: string) => void>;
1272
- };
1273
- type SelectRootInternalProps = GetPropDefTypes<typeof SelectRootPropsDefs>;
1274
-
1275
- interface AllSelectRootProps extends SelectRootInternalProps, MarginProps, RadiusProps {
1276
- }
1277
- type SelectRootProps = AllSelectRootProps & WithStrictChildren<HTMLAttributes<HTMLSelectElement>, SelectLabelProps | SelectTriggerProps | SelectContentProps>;
1278
-
1279
- declare const Select: {
1280
- Root: React$1.FC<SelectRootProps>;
1281
- Trigger: React$1.ForwardRefExoticComponent<AllSelectTriggerProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
1282
- asChild?: boolean;
1283
- children?: React.ReactNode;
1284
- } & React$1.RefAttributes<HTMLButtonElement>>;
1285
- Content: React$1.ForwardRefExoticComponent<AllSelectContentProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
1286
- children?: React.ReactNode;
1287
- } & React$1.RefAttributes<HTMLDivElement>>;
1288
- Viewport: React$1.ForwardRefExoticComponent<SelectViewportProps & React$1.RefAttributes<HTMLDivElement>>;
1289
- Group: React$1.ForwardRefExoticComponent<AllSelectGroupProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1290
- Label: React$1.ForwardRefExoticComponent<AllSelectLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
1291
- children?: React.ReactNode;
1292
- } & React$1.RefAttributes<HTMLLabelElement>>;
1293
- Item: React$1.ForwardRefExoticComponent<AllSelectItemProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
1294
- children?: React.ReactNode;
1295
- } & React$1.RefAttributes<HTMLDivElement>>;
1296
- Separator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
1297
- };
1298
-
1299
- declare const SeparatorPropsDefs: {
1300
- /**
1301
- * The direction of the separator.
1302
- *
1303
- * @example direction="vertical" // positions the separator vertically
1304
- */
1305
- direction: {
1306
- type: "enum";
1307
- values: readonly ["horizontal", "vertical"];
1308
- default: "horizontal";
1309
- dataAttr: string;
1310
- };
1311
- /**
1312
- * The variant of the separator.
1313
- *
1314
- * @example variant="dashed" // makes the separator dashed
1315
- */
1316
- variant: {
1317
- type: "enum";
1318
- values: readonly ["solid", "dashed", "dotted"];
1319
- default: "solid";
1320
- dataAttr: string;
1321
- };
1322
- };
1323
- type SeparatorInternalProps = GetPropDefTypes<typeof SeparatorPropsDefs>;
1324
-
1325
- interface AllSeparatorProps extends SeparatorInternalProps, MarginProps, PaddingProps {
1326
- }
1327
- type SeparatorProps = AllSeparatorProps & React__default.HTMLAttributes<HTMLDivElement>;
1328
- /**
1329
- * A component for visually separating content with a line
1330
- */
1331
- declare const Separator: FC<SeparatorProps>;
1332
-
1333
- declare const SwitchIndicatorPropDefs: {
1334
- /**
1335
- * Sets the variant style of the switch ("solid" or "outlined").
1336
- */
1337
- readonly variant: {
1338
- type: "enum";
1339
- values: readonly ["solid", "outlined", "muted"];
1340
- dataAttr: string;
1341
- };
1342
- };
1343
- type SwitchIndicatorInternalProps = GetPropDefTypes<typeof SwitchIndicatorPropDefs>;
1344
-
1345
- interface AllSwitchIndicatorProps extends SwitchIndicatorInternalProps, SizeProp {
1346
- }
1347
- type SwitchIndicatorProps = AllSwitchIndicatorProps & Omit<React__default.HTMLAttributes<HTMLSpanElement>, "children">;
1348
-
1349
- declare const SwitchLabelPropDefs: {
1350
- /**
1351
- * Sets the position of the label relative to the switch.
1352
- *
1353
- * @example position="left" // positions the label to the left of the switch
1354
- * @example position="top" // positions the label above the switch
1355
- */
1356
- readonly position: {
1357
- type: "enum";
1358
- values: readonly ["top", "left", "right", "bottom"];
1359
- dataAttr: string;
1360
- };
1361
- };
1362
- type SwitchLabelInternalProps = GetPropDefTypes<typeof SwitchLabelPropDefs>;
1363
-
1364
- interface AllSwitchLabelProps extends SwitchLabelInternalProps {
1365
- }
1366
- type SwitchLabelProps = AllSwitchLabelProps & Omit<React__default.HTMLAttributes<HTMLLabelElement>, "children"> & {
1367
- children?: React__default.ReactNode;
1368
- };
1369
-
1370
- declare const SwitchRootPropsDefs: {
1371
- /**
1372
- * Sets the variant style of the switch ("solid" or "outlined").
1373
- */
1374
- readonly variant: {
1375
- type: "enum";
1376
- values: readonly ["solid", "outlined", "muted"];
1377
- dataAttr: string;
1378
- };
1379
- /**
1380
- * Sets the checked state of the switch.
1381
- *
1382
- * When using an uncontrolled switch, use `defaultChecked` instead.
1383
- * @default undefined
1384
- */
1385
- readonly checked: {
1386
- type: "boolean";
1387
- dataAttr: string;
1388
- };
1389
- /**
1390
- * The value of the switch (checked state).
1391
- */
1392
- readonly value: {
1393
- type: "boolean";
1394
- };
1395
- /**
1396
- * Sets the default checked state of the switch.
1397
- * @default undefined
1398
- */
1399
- readonly defaultChecked: {
1400
- type: "boolean";
1401
- };
1402
- /**
1403
- * Disables the switch component.
1404
- * @default undefined
1405
- */
1406
- readonly disabled: {
1407
- type: "boolean";
1408
- dataAttr: string;
1409
- };
1410
- /**
1411
- * Makes the switch read-only.
1412
- * @default undefined
1413
- */
1414
- readonly readonly: {
1415
- type: "boolean";
1416
- dataAttr: string;
1417
- };
1418
- /**
1419
- * Marks the switch as required.
1420
- * @default undefined
1421
- */
1422
- readonly required: {
1423
- type: "boolean";
1424
- dataAttr: string;
1425
- };
1426
- /**
1427
- * Sets the name attribute of the switch input for form control.
1428
- * @default undefined
1429
- */
1430
- readonly name: {
1431
- type: "string";
1432
- };
1433
- /**
1434
- * Callback fired when the checked state changes.
1435
- *
1436
- * @param value - The new checked state.
1437
- */
1438
- readonly onCheckedChange: FunctionPropDef<(value: boolean) => void>;
1439
- };
1440
- type SwitchRootInternalProps = GetPropDefTypes<typeof SwitchRootPropsDefs>;
1441
-
1442
- interface AllSwitchRootProps extends SwitchRootInternalProps, AlignProp, ColorProp, MarginProps, SizeProp {
1443
- }
1444
- /**
1445
- * A versatile Switch, managing state, context, and styling.
1446
- */
1447
- type SwitchRootProps = AllSwitchRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, SwitchLabelProps | SwitchIndicatorProps>;
1448
-
1449
- declare const Switch: React$1.FC<SwitchRootProps> & {
1450
- Root: React$1.FC<SwitchRootProps>;
1451
- Label: React$1.ForwardRefExoticComponent<AllSwitchLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
1452
- children?: React.ReactNode;
1453
- } & React$1.RefAttributes<HTMLLabelElement>>;
1454
- Indicator: React$1.FC<SwitchIndicatorProps>;
1455
- };
1456
-
1457
- interface TextExternalProps extends MarginProps, PaddingProps, ColorProp {
1458
- }
1459
- /**
1460
- * A component for displaying text with customizable styling and layout.
1461
- */
1462
- declare const Text: React__default.ForwardRefExoticComponent<GetPropDefTypes<{
1463
- disabled: {
1464
- type: "boolean";
1465
- default: false;
1466
- dataAttr: string;
1467
- };
1468
- }> & TextExternalProps & React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
1469
-
1470
- declare const ThemePropsDefs: {
1471
- appearance: {
1472
- type: "enum";
1473
- values: readonly ["inherit", "light", "dark"];
1474
- default: "inherit";
1475
- };
1476
- radius: {
1477
- type: "enum";
1478
- values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
1479
- default: "md";
1480
- };
1481
- roundness: {
1482
- type: "enum";
1483
- values: readonly ["1", "2", "3", "4", "5", "6", "inherit"];
1484
- default: "3";
1485
- };
1486
- spacing: {
1487
- type: "enum";
1488
- values: readonly ["xs", "sm", "md", "lg", "xl", "inherit"];
1489
- default: "md";
1490
- };
1491
- };
1492
-
1493
- declare const Theme: React$1.ForwardRefExoticComponent<{} & {
1494
- radius?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "none" | "full" | undefined;
1495
- roundness?: "inherit" | "1" | "2" | "3" | "4" | "5" | "6" | undefined;
1496
- spacing?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | undefined;
1497
- appearance?: "inherit" | "dark" | "light" | undefined;
1498
- } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1499
-
1500
- type ThemeAppearance = (typeof ThemePropsDefs.appearance.values)[number];
1501
- type ThemeRadius = (typeof ThemePropsDefs.radius.values)[number];
1502
- type ThemeRoundness = (typeof ThemePropsDefs.roundness.values)[number];
1503
- type ThemeSpacing = (typeof ThemePropsDefs.spacing.values)[number];
1504
- interface ThemeChangeHandlers {
1505
- onAppearanceChange?: (appearance: ThemeAppearance) => void;
1506
- onRadiusChange?: (radius: ThemeRadius) => void;
1507
- onRoundnessChange?: (roundness: ThemeRoundness) => void;
1508
- onSpacingChange?: (spacing: ThemeSpacing) => void;
1509
- }
1510
- interface ThemeContextValue extends ThemeChangeHandlers {
1511
- appearance: ThemeAppearance;
1512
- radius: ThemeRadius;
1513
- roundness: ThemeRoundness;
1514
- spacing: ThemeSpacing;
1515
- }
1516
- declare function useTheme(): ThemeContextValue;
1517
-
1518
- declare const ThemeControlPosition: readonly ["tl", "top", "tr", "left", "center", "right", "bl", "bottom", "br"];
1519
- interface ThemeControlProps {
1520
- position?: (typeof ThemeControlPosition)[number];
1521
- }
1522
- declare function ThemeControl({ position }: ThemeControlProps): react_jsx_runtime.JSX.Element;
1523
-
1524
- export { Accordion, Badge, Box, Button, Checkbox, Container, Flex, Panel, Portal, ProgressBar, Select, Separator, Switch, Text, Theme, type ThemeAppearance, ThemeControl, type ThemeRadius, type ThemeRoundness, type ThemeSpacing, useTheme };
1
+ export { Accordion } from './components/accordion/accordion.mjs';
2
+ export { Badge } from './components/badge/badge.mjs';
3
+ export { Box } from './components/box/box.mjs';
4
+ export { Button } from './components/button/button.mjs';
5
+ export { Checkbox } from './components/checkbox/checkbox.mjs';
6
+ export { Container } from './components/container/container.mjs';
7
+ export { Flex } from './components/flex/flex.mjs';
8
+ export { Panel } from './components/panel/panel.mjs';
9
+ export { Portal } from './components/portal/portal.mjs';
10
+ export { ProgressBar } from './components/progress-bar/progress-bar.mjs';
11
+ export { Select } from './components/select/select.mjs';
12
+ export { Separator } from './components/separator/separator.mjs';
13
+ export { Switch } from './components/switch/switch.mjs';
14
+ export { Text } from './components/text/text.mjs';
15
+ export { Theme } from './components/theme/theme.mjs';
16
+ export { ThemeAppearance, ThemeRadius, ThemeRoundness, ThemeSpacing, useTheme } from './components/theme/theme-context.mjs';
17
+ export { ThemeControl } from './components/theme/theme-control.mjs';
18
+ import './components/accordion/content/accordion-content.mjs';
19
+ import 'react';
20
+ import './props/padding.prop.mjs';
21
+ import './props/prop-def.mjs';
22
+ import './components/accordion/content/accordion-content.props.mjs';
23
+ import './components/accordion/header/accordion-header.mjs';
24
+ import './components/accordion/header/accordion-header.props.mjs';
25
+ import './components/accordion/item/accordion-item.mjs';
26
+ import './components/accordion/item/accordion-item.props.mjs';
27
+ import './components/accordion/root/accordion-root.mjs';
28
+ import './props/size.prop.mjs';
29
+ import './utils/filter-children.mjs';
30
+ import './components/accordion/root/accordion-root.props.mjs';
31
+ import './props/color.prop.mjs';
32
+ import './utils/parse-color.mjs';
33
+ import './props/margin.prop.mjs';
34
+ import './props/radius.prop.mjs';
35
+ import './components/badge/badge.props.mjs';
36
+ import './props/roundness.prop.mjs';
37
+ import './props/spacing.prop.mjs';
38
+ import './components/button/button.props.mjs';
39
+ import './components/checkbox/indicator/checkbox-indicator.mjs';
40
+ import './components/checkbox/indicator/checkbox-indicator.props.mjs';
41
+ import './components/checkbox/label/checkbox-label.mjs';
42
+ import './components/checkbox/label/checkbox-label.props.mjs';
43
+ import './components/checkbox/root/checkbox-root.mjs';
44
+ import './props/align.prop.mjs';
45
+ import './components/checkbox/root/checkbox-root.props.mjs';
46
+ import './utils/get-props.mjs';
47
+ import './components/container/container.props.mjs';
48
+ import './components/portal/backdrop/portal-backdrop.mjs';
49
+ import './components/portal/backdrop/portal-backdrop.props.mjs';
50
+ import './components/portal/content/portal-content.mjs';
51
+ import './components/portal/content/portal-content.props.mjs';
52
+ import './components/portal/trigger/portal-trigger.mjs';
53
+ import './components/portal/root/portal-root.mjs';
54
+ import './components/portal/root/portal-root.props.mjs';
55
+ import './components/progress-bar/fill/progress-bar-fill.mjs';
56
+ import './components/progress-bar/fill/progress-bar-fill.props.mjs';
57
+ import './components/progress-bar/root/progress-bar-root.mjs';
58
+ import './components/progress-bar/root/progress-bar-root.props.mjs';
59
+ import './components/select/separator/select-separator.mjs';
60
+ import './components/select/item/select-item.mjs';
61
+ import './components/select/item/select-item.props.mjs';
62
+ import './components/select/label/select-label.mjs';
63
+ import './components/select/label/select-label.props.mjs';
64
+ import './components/select/group/select-group.mjs';
65
+ import './components/select/group/select-group.props.mjs';
66
+ import './components/select/viewport/select-viewport.mjs';
67
+ import './components/select/content/select-content.mjs';
68
+ import './components/select/content/select-content.props.mjs';
69
+ import './components/select/trigger/select-trigger.mjs';
70
+ import './components/select/trigger/select-trigger.props.mjs';
71
+ import './components/select/root/select-root.mjs';
72
+ import './components/select/root/select-root.props.mjs';
73
+ import './components/separator/separator.props.mjs';
74
+ import './components/switch/indicator/switch-indicator.mjs';
75
+ import './components/switch/indicator/switch-indicator.props.mjs';
76
+ import './components/switch/label/switch-label.mjs';
77
+ import './components/switch/label/switch-label.props.mjs';
78
+ import './components/switch/root/switch-root.mjs';
79
+ import './components/switch/root/switch-root.props.mjs';
80
+ import './components/theme/theme.props.mjs';
81
+ import 'react/jsx-runtime';