@cdx-ui/components 0.0.1-alpha.8 → 0.0.1-beta.1

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 (430) hide show
  1. package/README.md +53 -2
  2. package/lib/commonjs/components/AlertDialog/index.js +117 -0
  3. package/lib/commonjs/components/AlertDialog/index.js.map +1 -0
  4. package/lib/commonjs/components/Avatar/index.js +156 -0
  5. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  6. package/lib/commonjs/components/Avatar/styles.js +80 -0
  7. package/lib/commonjs/components/Avatar/styles.js.map +1 -0
  8. package/lib/commonjs/components/BottomSheet/index.js +248 -0
  9. package/lib/commonjs/components/BottomSheet/index.js.map +1 -0
  10. package/lib/commonjs/components/BottomSheet/styles.js +61 -0
  11. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -0
  12. package/lib/commonjs/components/Box/Box.js +1 -0
  13. package/lib/commonjs/components/Box/Box.js.map +1 -1
  14. package/lib/commonjs/components/Button/index.js +20 -9
  15. package/lib/commonjs/components/Button/index.js.map +1 -1
  16. package/lib/commonjs/components/Button/styles.js +182 -163
  17. package/lib/commonjs/components/Button/styles.js.map +1 -1
  18. package/lib/commonjs/components/Card/index.js +104 -0
  19. package/lib/commonjs/components/Card/index.js.map +1 -0
  20. package/lib/commonjs/components/Card/styles.js +28 -0
  21. package/lib/commonjs/components/Card/styles.js.map +1 -0
  22. package/lib/commonjs/components/Checkbox/index.js +18 -11
  23. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  24. package/lib/commonjs/components/Checkbox/styles.js +17 -16
  25. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  26. package/lib/commonjs/components/Chip/index.js +103 -0
  27. package/lib/commonjs/components/Chip/index.js.map +1 -0
  28. package/lib/commonjs/components/Chip/styles.js +52 -0
  29. package/lib/commonjs/components/Chip/styles.js.map +1 -0
  30. package/lib/commonjs/components/Dialog/index.js +275 -0
  31. package/lib/commonjs/components/Dialog/index.js.map +1 -0
  32. package/lib/commonjs/components/Dialog/styles.js +63 -0
  33. package/lib/commonjs/components/Dialog/styles.js.map +1 -0
  34. package/lib/commonjs/components/Field/FieldLabel.js +33 -0
  35. package/lib/commonjs/components/Field/FieldLabel.js.map +1 -0
  36. package/lib/commonjs/components/Field/FieldLabel.web.js +22 -0
  37. package/lib/commonjs/components/Field/FieldLabel.web.js.map +1 -0
  38. package/lib/commonjs/components/Field/index.js +158 -0
  39. package/lib/commonjs/components/Field/index.js.map +1 -0
  40. package/lib/commonjs/components/Field/styles.js +16 -0
  41. package/lib/commonjs/components/Field/styles.js.map +1 -0
  42. package/lib/commonjs/components/Form/FormRoot.js +25 -0
  43. package/lib/commonjs/components/Form/FormRoot.js.map +1 -0
  44. package/lib/commonjs/components/Form/FormRoot.web.js +17 -0
  45. package/lib/commonjs/components/Form/FormRoot.web.js.map +1 -0
  46. package/lib/commonjs/components/Form/index.js +48 -0
  47. package/lib/commonjs/components/Form/index.js.map +1 -0
  48. package/lib/commonjs/components/Form/styles.js +9 -0
  49. package/lib/commonjs/components/Form/styles.js.map +1 -0
  50. package/lib/commonjs/components/Heading/index.js +35 -0
  51. package/lib/commonjs/components/Heading/index.js.map +1 -0
  52. package/lib/commonjs/components/Heading/styles.js +23 -0
  53. package/lib/commonjs/components/Heading/styles.js.map +1 -0
  54. package/lib/commonjs/components/Icon/index.js +61 -0
  55. package/lib/commonjs/components/Icon/index.js.map +1 -0
  56. package/lib/commonjs/components/IconButton/index.js +75 -0
  57. package/lib/commonjs/components/IconButton/index.js.map +1 -0
  58. package/lib/commonjs/components/IconButton/styles.js +44 -0
  59. package/lib/commonjs/components/IconButton/styles.js.map +1 -0
  60. package/lib/commonjs/components/Image/Image.js +69 -0
  61. package/lib/commonjs/components/Image/Image.js.map +1 -0
  62. package/lib/commonjs/components/Image/index.js +13 -0
  63. package/lib/commonjs/components/Image/index.js.map +1 -0
  64. package/lib/commonjs/components/Input/BaseInput.android.js +20 -0
  65. package/lib/commonjs/components/Input/BaseInput.android.js.map +1 -0
  66. package/lib/commonjs/components/Input/index.js +10 -16
  67. package/lib/commonjs/components/Input/index.js.map +1 -1
  68. package/lib/commonjs/components/Input/styles.js +17 -30
  69. package/lib/commonjs/components/Input/styles.js.map +1 -1
  70. package/lib/commonjs/components/Link/index.js +94 -0
  71. package/lib/commonjs/components/Link/index.js.map +1 -0
  72. package/lib/commonjs/components/Link/styles.js +14 -0
  73. package/lib/commonjs/components/Link/styles.js.map +1 -0
  74. package/lib/commonjs/components/OtpInput/index.js +83 -0
  75. package/lib/commonjs/components/OtpInput/index.js.map +1 -0
  76. package/lib/commonjs/components/OtpInput/styles.js +48 -0
  77. package/lib/commonjs/components/OtpInput/styles.js.map +1 -0
  78. package/lib/commonjs/components/ProgressBar/index.js +45 -0
  79. package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
  80. package/lib/commonjs/components/ProgressBar/styles.js +10 -0
  81. package/lib/commonjs/components/ProgressBar/styles.js.map +1 -0
  82. package/lib/commonjs/components/ProgressSegmented/index.js +62 -0
  83. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -0
  84. package/lib/commonjs/components/ProgressSegmented/styles.js +21 -0
  85. package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -0
  86. package/lib/commonjs/components/Select/SelectTriggerHost.js +10 -0
  87. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +1 -0
  88. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +98 -0
  89. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +1 -0
  90. package/lib/commonjs/components/Select/index.js +13 -13
  91. package/lib/commonjs/components/Select/index.js.map +1 -1
  92. package/lib/commonjs/components/Select/styles.js +29 -53
  93. package/lib/commonjs/components/Select/styles.js.map +1 -1
  94. package/lib/commonjs/components/Stack/HStack.js +8 -21
  95. package/lib/commonjs/components/Stack/HStack.js.map +1 -1
  96. package/lib/commonjs/components/Stack/VStack.js +8 -21
  97. package/lib/commonjs/components/Stack/VStack.js.map +1 -1
  98. package/lib/commonjs/components/Stack/styles.js +44 -0
  99. package/lib/commonjs/components/Stack/styles.js.map +1 -0
  100. package/lib/commonjs/components/Switch/BaseSwitch.js +46 -0
  101. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -0
  102. package/lib/commonjs/components/Switch/BaseSwitch.web.js +56 -0
  103. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -0
  104. package/lib/commonjs/components/Switch/index.js +13 -0
  105. package/lib/commonjs/components/Switch/index.js.map +1 -0
  106. package/lib/commonjs/components/Switch/styles.js +128 -0
  107. package/lib/commonjs/components/Switch/styles.js.map +1 -0
  108. package/lib/commonjs/components/Text/index.js +18 -9
  109. package/lib/commonjs/components/Text/index.js.map +1 -1
  110. package/lib/commonjs/components/Text/styles.js +23 -0
  111. package/lib/commonjs/components/Text/styles.js.map +1 -0
  112. package/lib/commonjs/components/VirtualizedList/index.js +19 -0
  113. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -0
  114. package/lib/commonjs/components/index.js +216 -0
  115. package/lib/commonjs/components/index.js.map +1 -1
  116. package/lib/commonjs/index.js +40 -0
  117. package/lib/commonjs/index.js.map +1 -1
  118. package/lib/commonjs/styles/index.js +17 -0
  119. package/lib/commonjs/styles/index.js.map +1 -0
  120. package/lib/commonjs/styles/primitives.js +123 -0
  121. package/lib/commonjs/styles/primitives.js.map +1 -0
  122. package/lib/module/components/AlertDialog/index.js +112 -0
  123. package/lib/module/components/AlertDialog/index.js.map +1 -0
  124. package/lib/module/components/Avatar/index.js +152 -0
  125. package/lib/module/components/Avatar/index.js.map +1 -0
  126. package/lib/module/components/Avatar/styles.js +77 -0
  127. package/lib/module/components/Avatar/styles.js.map +1 -0
  128. package/lib/module/components/BottomSheet/index.js +242 -0
  129. package/lib/module/components/BottomSheet/index.js.map +1 -0
  130. package/lib/module/components/BottomSheet/styles.js +58 -0
  131. package/lib/module/components/BottomSheet/styles.js.map +1 -0
  132. package/lib/module/components/Box/Box.js +1 -0
  133. package/lib/module/components/Box/Box.js.map +1 -1
  134. package/lib/module/components/Button/index.js +21 -10
  135. package/lib/module/components/Button/index.js.map +1 -1
  136. package/lib/module/components/Button/styles.js +181 -162
  137. package/lib/module/components/Button/styles.js.map +1 -1
  138. package/lib/module/components/Card/index.js +100 -0
  139. package/lib/module/components/Card/index.js.map +1 -0
  140. package/lib/module/components/Card/styles.js +25 -0
  141. package/lib/module/components/Card/styles.js.map +1 -0
  142. package/lib/module/components/Checkbox/index.js +19 -12
  143. package/lib/module/components/Checkbox/index.js.map +1 -1
  144. package/lib/module/components/Checkbox/styles.js +17 -16
  145. package/lib/module/components/Checkbox/styles.js.map +1 -1
  146. package/lib/module/components/Chip/index.js +99 -0
  147. package/lib/module/components/Chip/index.js.map +1 -0
  148. package/lib/module/components/Chip/styles.js +48 -0
  149. package/lib/module/components/Chip/styles.js.map +1 -0
  150. package/lib/module/components/Dialog/index.js +267 -0
  151. package/lib/module/components/Dialog/index.js.map +1 -0
  152. package/lib/module/components/Dialog/styles.js +60 -0
  153. package/lib/module/components/Dialog/styles.js.map +1 -0
  154. package/lib/module/components/Field/FieldLabel.js +29 -0
  155. package/lib/module/components/Field/FieldLabel.js.map +1 -0
  156. package/lib/module/components/Field/FieldLabel.web.js +17 -0
  157. package/lib/module/components/Field/FieldLabel.web.js.map +1 -0
  158. package/lib/module/components/Field/index.js +155 -0
  159. package/lib/module/components/Field/index.js.map +1 -0
  160. package/lib/module/components/Field/styles.js +12 -0
  161. package/lib/module/components/Field/styles.js.map +1 -0
  162. package/lib/module/components/Form/FormRoot.js +21 -0
  163. package/lib/module/components/Form/FormRoot.js.map +1 -0
  164. package/lib/module/components/Form/FormRoot.web.js +12 -0
  165. package/lib/module/components/Form/FormRoot.web.js.map +1 -0
  166. package/lib/module/components/Form/index.js +44 -0
  167. package/lib/module/components/Form/index.js.map +1 -0
  168. package/lib/module/components/Form/styles.js +5 -0
  169. package/lib/module/components/Form/styles.js.map +1 -0
  170. package/lib/module/components/Heading/index.js +31 -0
  171. package/lib/module/components/Heading/index.js.map +1 -0
  172. package/lib/module/components/Heading/styles.js +19 -0
  173. package/lib/module/components/Heading/styles.js.map +1 -0
  174. package/lib/module/components/Icon/index.js +57 -0
  175. package/lib/module/components/Icon/index.js.map +1 -0
  176. package/lib/module/components/IconButton/index.js +71 -0
  177. package/lib/module/components/IconButton/index.js.map +1 -0
  178. package/lib/module/components/IconButton/styles.js +40 -0
  179. package/lib/module/components/IconButton/styles.js.map +1 -0
  180. package/lib/module/components/Image/Image.js +67 -0
  181. package/lib/module/components/Image/Image.js.map +1 -0
  182. package/lib/module/components/Image/index.js +4 -0
  183. package/lib/module/components/Image/index.js.map +1 -0
  184. package/lib/module/components/Input/BaseInput.android.js +16 -0
  185. package/lib/module/components/Input/BaseInput.android.js.map +1 -0
  186. package/lib/module/components/Input/index.js +10 -16
  187. package/lib/module/components/Input/index.js.map +1 -1
  188. package/lib/module/components/Input/styles.js +17 -30
  189. package/lib/module/components/Input/styles.js.map +1 -1
  190. package/lib/module/components/Link/index.js +85 -0
  191. package/lib/module/components/Link/index.js.map +1 -0
  192. package/lib/module/components/Link/styles.js +11 -0
  193. package/lib/module/components/Link/styles.js.map +1 -0
  194. package/lib/module/components/OtpInput/index.js +79 -0
  195. package/lib/module/components/OtpInput/index.js.map +1 -0
  196. package/lib/module/components/OtpInput/styles.js +44 -0
  197. package/lib/module/components/OtpInput/styles.js.map +1 -0
  198. package/lib/module/components/ProgressBar/index.js +41 -0
  199. package/lib/module/components/ProgressBar/index.js.map +1 -0
  200. package/lib/module/components/ProgressBar/styles.js +6 -0
  201. package/lib/module/components/ProgressBar/styles.js.map +1 -0
  202. package/lib/module/components/ProgressSegmented/index.js +58 -0
  203. package/lib/module/components/ProgressSegmented/index.js.map +1 -0
  204. package/lib/module/components/ProgressSegmented/styles.js +17 -0
  205. package/lib/module/components/ProgressSegmented/styles.js.map +1 -0
  206. package/lib/module/components/Select/SelectTriggerHost.js +7 -0
  207. package/lib/module/components/Select/SelectTriggerHost.js.map +1 -0
  208. package/lib/module/components/Select/SelectTriggerHost.web.js +93 -0
  209. package/lib/module/components/Select/SelectTriggerHost.web.js.map +1 -0
  210. package/lib/module/components/Select/index.js +14 -14
  211. package/lib/module/components/Select/index.js.map +1 -1
  212. package/lib/module/components/Select/styles.js +29 -53
  213. package/lib/module/components/Select/styles.js.map +1 -1
  214. package/lib/module/components/Stack/HStack.js +8 -21
  215. package/lib/module/components/Stack/HStack.js.map +1 -1
  216. package/lib/module/components/Stack/VStack.js +8 -21
  217. package/lib/module/components/Stack/VStack.js.map +1 -1
  218. package/lib/module/components/Stack/styles.js +40 -0
  219. package/lib/module/components/Stack/styles.js.map +1 -0
  220. package/lib/module/components/Switch/BaseSwitch.js +42 -0
  221. package/lib/module/components/Switch/BaseSwitch.js.map +1 -0
  222. package/lib/module/components/Switch/BaseSwitch.web.js +52 -0
  223. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -0
  224. package/lib/module/components/Switch/index.js +9 -0
  225. package/lib/module/components/Switch/index.js.map +1 -0
  226. package/lib/module/components/Switch/styles.js +125 -0
  227. package/lib/module/components/Switch/styles.js.map +1 -0
  228. package/lib/module/components/Text/index.js +19 -1
  229. package/lib/module/components/Text/index.js.map +1 -1
  230. package/lib/module/components/Text/styles.js +19 -0
  231. package/lib/module/components/Text/styles.js.map +1 -0
  232. package/lib/module/components/VirtualizedList/index.js +15 -0
  233. package/lib/module/components/VirtualizedList/index.js.map +1 -0
  234. package/lib/module/components/index.js +18 -0
  235. package/lib/module/components/index.js.map +1 -1
  236. package/lib/module/index.js +3 -0
  237. package/lib/module/index.js.map +1 -1
  238. package/lib/module/styles/index.js +4 -0
  239. package/lib/module/styles/index.js.map +1 -0
  240. package/lib/module/styles/primitives.js +119 -0
  241. package/lib/module/styles/primitives.js.map +1 -0
  242. package/lib/typescript/components/AlertDialog/index.d.ts +30 -0
  243. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -0
  244. package/lib/typescript/components/Avatar/index.d.ts +40 -0
  245. package/lib/typescript/components/Avatar/index.d.ts.map +1 -0
  246. package/lib/typescript/components/Avatar/styles.d.ts +16 -0
  247. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -0
  248. package/lib/typescript/components/BottomSheet/index.d.ts +61 -0
  249. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -0
  250. package/lib/typescript/components/BottomSheet/styles.d.ts +16 -0
  251. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -0
  252. package/lib/typescript/components/Box/Box.d.ts +1 -0
  253. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  254. package/lib/typescript/components/Button/index.d.ts +6 -3
  255. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  256. package/lib/typescript/components/Button/styles.d.ts +11 -8
  257. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  258. package/lib/typescript/components/Card/index.d.ts +30 -0
  259. package/lib/typescript/components/Card/index.d.ts.map +1 -0
  260. package/lib/typescript/components/Card/styles.d.ts +6 -0
  261. package/lib/typescript/components/Card/styles.d.ts.map +1 -0
  262. package/lib/typescript/components/Checkbox/index.d.ts +7 -5
  263. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  264. package/lib/typescript/components/Checkbox/styles.d.ts +4 -4
  265. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  266. package/lib/typescript/components/Chip/index.d.ts +27 -0
  267. package/lib/typescript/components/Chip/index.d.ts.map +1 -0
  268. package/lib/typescript/components/Chip/styles.d.ts +12 -0
  269. package/lib/typescript/components/Chip/styles.d.ts.map +1 -0
  270. package/lib/typescript/components/Dialog/index.d.ts +61 -0
  271. package/lib/typescript/components/Dialog/index.d.ts.map +1 -0
  272. package/lib/typescript/components/Dialog/styles.d.ts +14 -0
  273. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -0
  274. package/lib/typescript/components/Field/FieldLabel.d.ts +18 -0
  275. package/lib/typescript/components/Field/FieldLabel.d.ts.map +1 -0
  276. package/lib/typescript/components/Field/FieldLabel.web.d.ts +16 -0
  277. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +1 -0
  278. package/lib/typescript/components/Field/index.d.ts +26 -0
  279. package/lib/typescript/components/Field/index.d.ts.map +1 -0
  280. package/lib/typescript/components/Field/styles.d.ts +16 -0
  281. package/lib/typescript/components/Field/styles.d.ts.map +1 -0
  282. package/lib/typescript/components/Form/FormRoot.d.ts +14 -0
  283. package/lib/typescript/components/Form/FormRoot.d.ts.map +1 -0
  284. package/lib/typescript/components/Form/FormRoot.web.d.ts +10 -0
  285. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +1 -0
  286. package/lib/typescript/components/Form/index.d.ts +7 -0
  287. package/lib/typescript/components/Form/index.d.ts.map +1 -0
  288. package/lib/typescript/components/Form/styles.d.ts +2 -0
  289. package/lib/typescript/components/Form/styles.d.ts.map +1 -0
  290. package/lib/typescript/components/Heading/index.d.ts +10 -0
  291. package/lib/typescript/components/Heading/index.d.ts.map +1 -0
  292. package/lib/typescript/components/Heading/styles.d.ts +6 -0
  293. package/lib/typescript/components/Heading/styles.d.ts.map +1 -0
  294. package/lib/typescript/components/Icon/index.d.ts +27 -0
  295. package/lib/typescript/components/Icon/index.d.ts.map +1 -0
  296. package/lib/typescript/components/IconButton/index.d.ts +15 -0
  297. package/lib/typescript/components/IconButton/index.d.ts.map +1 -0
  298. package/lib/typescript/components/IconButton/styles.d.ts +11 -0
  299. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -0
  300. package/lib/typescript/components/Image/Image.d.ts +47 -0
  301. package/lib/typescript/components/Image/Image.d.ts.map +1 -0
  302. package/lib/typescript/components/Image/index.d.ts +2 -0
  303. package/lib/typescript/components/Image/index.d.ts.map +1 -0
  304. package/lib/typescript/components/Input/BaseInput.android.d.ts +3 -0
  305. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +1 -0
  306. package/lib/typescript/components/Input/index.d.ts +7 -5
  307. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  308. package/lib/typescript/components/Input/styles.d.ts +5 -7
  309. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  310. package/lib/typescript/components/Link/index.d.ts +26 -0
  311. package/lib/typescript/components/Link/index.d.ts.map +1 -0
  312. package/lib/typescript/components/Link/styles.d.ts +6 -0
  313. package/lib/typescript/components/Link/styles.d.ts.map +1 -0
  314. package/lib/typescript/components/OtpInput/index.d.ts +11 -0
  315. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -0
  316. package/lib/typescript/components/OtpInput/styles.d.ts +14 -0
  317. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -0
  318. package/lib/typescript/components/ProgressBar/index.d.ts +17 -0
  319. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -0
  320. package/lib/typescript/components/ProgressBar/styles.d.ts +5 -0
  321. package/lib/typescript/components/ProgressBar/styles.d.ts.map +1 -0
  322. package/lib/typescript/components/ProgressSegmented/index.d.ts +15 -0
  323. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -0
  324. package/lib/typescript/components/ProgressSegmented/styles.d.ts +8 -0
  325. package/lib/typescript/components/ProgressSegmented/styles.d.ts.map +1 -0
  326. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +3 -0
  327. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +1 -0
  328. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +13 -0
  329. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +1 -0
  330. package/lib/typescript/components/Select/index.d.ts +7 -4
  331. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  332. package/lib/typescript/components/Select/styles.d.ts +6 -8
  333. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  334. package/lib/typescript/components/Stack/HStack.d.ts +1 -12
  335. package/lib/typescript/components/Stack/HStack.d.ts.map +1 -1
  336. package/lib/typescript/components/Stack/VStack.d.ts +1 -12
  337. package/lib/typescript/components/Stack/VStack.d.ts.map +1 -1
  338. package/lib/typescript/components/Stack/styles.d.ts +23 -0
  339. package/lib/typescript/components/Stack/styles.d.ts.map +1 -0
  340. package/lib/typescript/components/Switch/BaseSwitch.d.ts +9 -0
  341. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -0
  342. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +15 -0
  343. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -0
  344. package/lib/typescript/components/Switch/index.d.ts +7 -0
  345. package/lib/typescript/components/Switch/index.d.ts.map +1 -0
  346. package/lib/typescript/components/Switch/styles.d.ts +26 -0
  347. package/lib/typescript/components/Switch/styles.d.ts.map +1 -0
  348. package/lib/typescript/components/Text/index.d.ts +9 -1
  349. package/lib/typescript/components/Text/index.d.ts.map +1 -1
  350. package/lib/typescript/components/Text/styles.d.ts +6 -0
  351. package/lib/typescript/components/Text/styles.d.ts.map +1 -0
  352. package/lib/typescript/components/VirtualizedList/index.d.ts +8 -0
  353. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -0
  354. package/lib/typescript/components/index.d.ts +18 -0
  355. package/lib/typescript/components/index.d.ts.map +1 -1
  356. package/lib/typescript/index.d.ts +3 -0
  357. package/lib/typescript/index.d.ts.map +1 -1
  358. package/lib/typescript/styles/index.d.ts +2 -0
  359. package/lib/typescript/styles/index.d.ts.map +1 -0
  360. package/lib/typescript/styles/primitives.d.ts +85 -0
  361. package/lib/typescript/styles/primitives.d.ts.map +1 -0
  362. package/package.json +13 -5
  363. package/src/components/AlertDialog/index.tsx +124 -0
  364. package/src/components/Avatar/index.tsx +172 -0
  365. package/src/components/Avatar/styles.ts +83 -0
  366. package/src/components/BottomSheet/index.tsx +316 -0
  367. package/src/components/BottomSheet/styles.ts +79 -0
  368. package/src/components/Box/Box.tsx +1 -0
  369. package/src/components/Button/index.tsx +14 -9
  370. package/src/components/Button/styles.ts +159 -209
  371. package/src/components/Card/index.tsx +115 -0
  372. package/src/components/Card/styles.ts +41 -0
  373. package/src/components/Checkbox/index.tsx +15 -23
  374. package/src/components/Checkbox/styles.ts +33 -24
  375. package/src/components/Chip/index.tsx +91 -0
  376. package/src/components/Chip/styles.ts +52 -0
  377. package/src/components/Dialog/index.tsx +304 -0
  378. package/src/components/Dialog/styles.ts +88 -0
  379. package/src/components/Field/FieldLabel.tsx +33 -0
  380. package/src/components/Field/FieldLabel.web.tsx +25 -0
  381. package/src/components/Field/index.tsx +171 -0
  382. package/src/components/Field/styles.ts +32 -0
  383. package/src/components/Form/FormRoot.tsx +20 -0
  384. package/src/components/Form/FormRoot.web.tsx +12 -0
  385. package/src/components/Form/index.tsx +38 -0
  386. package/src/components/Form/styles.ts +3 -0
  387. package/src/components/Heading/index.tsx +36 -0
  388. package/src/components/Heading/styles.tsx +25 -0
  389. package/src/components/Icon/index.tsx +54 -0
  390. package/src/components/IconButton/index.tsx +92 -0
  391. package/src/components/IconButton/styles.ts +59 -0
  392. package/src/components/Image/Image.tsx +77 -0
  393. package/src/components/Image/index.ts +1 -0
  394. package/src/components/Input/BaseInput.android.tsx +13 -0
  395. package/src/components/Input/index.tsx +9 -22
  396. package/src/components/Input/styles.ts +36 -40
  397. package/src/components/Link/index.tsx +83 -0
  398. package/src/components/Link/styles.ts +21 -0
  399. package/src/components/OtpInput/index.tsx +79 -0
  400. package/src/components/OtpInput/styles.ts +45 -0
  401. package/src/components/ProgressBar/index.tsx +53 -0
  402. package/src/components/ProgressBar/styles.ts +9 -0
  403. package/src/components/ProgressSegmented/index.tsx +81 -0
  404. package/src/components/ProgressSegmented/styles.ts +20 -0
  405. package/src/components/Select/SelectTriggerHost.tsx +4 -0
  406. package/src/components/Select/SelectTriggerHost.web.tsx +136 -0
  407. package/src/components/Select/index.tsx +14 -14
  408. package/src/components/Select/styles.ts +68 -75
  409. package/src/components/Stack/HStack.tsx +8 -19
  410. package/src/components/Stack/VStack.tsx +8 -23
  411. package/src/components/Stack/styles.ts +42 -0
  412. package/src/components/Switch/BaseSwitch.tsx +38 -0
  413. package/src/components/Switch/BaseSwitch.web.tsx +69 -0
  414. package/src/components/Switch/index.tsx +11 -0
  415. package/src/components/Switch/styles.ts +120 -0
  416. package/src/components/Text/index.tsx +16 -0
  417. package/src/components/Text/styles.tsx +25 -0
  418. package/src/components/VirtualizedList/index.tsx +19 -0
  419. package/src/components/index.ts +18 -0
  420. package/src/index.ts +3 -0
  421. package/src/styles/index.ts +1 -0
  422. package/src/styles/primitives.ts +107 -0
  423. package/lib/commonjs/components/Text/Text.js +0 -30
  424. package/lib/commonjs/components/Text/Text.js.map +0 -1
  425. package/lib/module/components/Text/Text.js +0 -26
  426. package/lib/module/components/Text/Text.js.map +0 -1
  427. package/lib/typescript/components/Text/Text.d.ts +0 -11
  428. package/lib/typescript/components/Text/Text.d.ts.map +0 -1
  429. package/src/components/Text/Text.tsx +0 -58
  430. package/src/components/Text/index.ts +0 -1
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import { type BaseFormRootProps } from './FormRoot';
4
+ export interface FormProps extends BaseFormRootProps {
5
+ }
6
+ export declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<View>>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAelE,MAAM,WAAW,SAAU,SAAQ,iBAAiB;CAAG;AAkBvD,eAAO,MAAM,IAAI,wEAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const formRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,oFAA0B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ import { Text } from 'react-native';
3
+ import { type HeadingVariantProps } from './styles';
4
+ export type HeadingProps = HeadingVariantProps & ComponentPropsWithoutRef<typeof Text> & {
5
+ className?: string;
6
+ };
7
+ export declare const Heading: import("react").NamedExoticComponent<HeadingVariantProps & import("react-native").TextProps & {
8
+ className?: string;
9
+ } & import("react").RefAttributes<Text>>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuC,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAC3F,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAUlE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAC5C,wBAAwB,CAAC,OAAO,IAAI,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,OAAO;gBAHJ,MAAM;wCAkBrB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const headingStyle: (props?: ({
3
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ export type HeadingVariantProps = VariantProps<typeof headingStyle>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,YAAY;;8EAmBxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { CdxIcon, CdxIconProps } from '@cdx-ui/icons';
2
+ export type IconProps = CdxIconProps & {
3
+ className?: string;
4
+ as: CdxIcon;
5
+ };
6
+ /**
7
+ * A wrapper component for CDX icons with Uniwind `className` support via `withUniwind`.
8
+ *
9
+ * This component allows you to render any CDX icon while applying utility classes
10
+ * using `uniwind`. It avoids the need to wrap or configure each icon individually.
11
+ *
12
+ * @component
13
+ * @example
14
+ * ```tsx
15
+ * import { Icon } from '@cdx-ui/components';
16
+ * import { ArrowRight } from '@cdx-ui/icons';
17
+ *
18
+ * <Icon as={ArrowRight} className="text-red-500 size-4" />
19
+ * ```
20
+ *
21
+ * @param {CdxIcon} as - The CDX icon component to render.
22
+ * @param {string} className - Utility classes to style the icon using Uniwind.
23
+ * @param {number} size - Icon size (overrides the size class).
24
+ * @param {...CdxIconProps} ...props - Additional icon props passed to the "as" icon.
25
+ */
26
+ export declare function Icon({ as: IconComponent, className, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC;CACb,CAAC;AAiBF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQzE"}
@@ -0,0 +1,15 @@
1
+ import { View, type PressableProps } from 'react-native';
2
+ import { type IButtonProps } from '@cdx-ui/primitives';
3
+ import type { CdxIcon } from '@cdx-ui/icons';
4
+ import { type IconProps } from '../Icon';
5
+ import { type IconButtonVariantProps } from './styles';
6
+ export interface IconButtonProps extends PressableProps, IButtonProps, IconButtonVariantProps {
7
+ className?: string;
8
+ /** CDX icon component to render (icon-only control). */
9
+ as: CdxIcon;
10
+ /** Passed through to the underlying `Icon`. */
11
+ iconClassName?: IconProps['className'];
12
+ }
13
+ export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<View>>;
14
+ export type { IconButtonVariantProps };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7F,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,KAAK,sBAAsB,EAI5B,MAAM,UAAU,CAAC;AA2BlB,MAAM,WAAW,eAAgB,SAAQ,cAAc,EAAE,YAAY,EAAE,sBAAsB;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,EAAE,EAAE,OAAO,CAAC;IACZ,+CAA+C;IAC/C,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACxC;AAwCD,eAAO,MAAM,UAAU,kGAAiB,CAAC;AAEzC,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const iconButtonRootVariants: (props?: ({
3
+ variant?: "ghost" | "solid" | null | undefined;
4
+ size?: "small" | "default" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export declare const iconButtonGlyphVariants: (props?: ({
7
+ size?: "small" | "default" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export declare const iconButtonIconColorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ export type IconButtonVariantProps = VariantProps<typeof iconButtonRootVariants>;
11
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,sBAAsB;;;8EAsClC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAUlC,CAAC;AAEH,eAAO,MAAM,2BAA2B,oFAAgC,CAAC;AAEzE,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Thin wrapper around React Native's `Image`.
3
+ *
4
+ * Design-system layout (sizes, radii, loading/error UI) is intentionally
5
+ * NOT baked in here — use purpose-built components like `Avatar` instead.
6
+ *
7
+ * What this wrapper adds over a raw RN `Image`:
8
+ * - Accepts a plain URI **string** as `source` (auto-normalized to `{ uri }`).
9
+ * - Extends the prop surface with **web-only** HTML attributes (`sizes`,
10
+ * `loading`, `decoding`, etc.) for better `react-native-web` support.
11
+ * Props already covered by RN 0.81+ (`alt`, `srcSet`, `crossOrigin`,
12
+ * `referrerPolicy`) are inherited from the native typings.
13
+ * - All other props and `ref` are forwarded to the underlying `Image`.
14
+ *
15
+ * Inspired by Expo's html-elements Image primitive:
16
+ * @see https://github.com/expo/expo/blob/main/packages/html-elements/src/primitives/Image.tsx
17
+ */
18
+ import { type ComponentPropsWithoutRef } from 'react';
19
+ import { Image as RNImage, type ImageSourcePropType } from 'react-native';
20
+ /**
21
+ * HTML-ish attributes not in RN’s core typings. Forwarded to `Image` with `...props`;
22
+ * **react-native-web** maps supported ones to the DOM `<img>`. On iOS/Android they are
23
+ * typically ignored (no visual effect).
24
+ */
25
+ export interface WebImageProps {
26
+ /** DOM `sizes` for responsive selection with `srcSet` — web only. */
27
+ sizes?: string;
28
+ /** DOM lazy-loading hint — web only. */
29
+ loading?: 'lazy' | 'eager';
30
+ /** DOM decode hint — web only. */
31
+ decoding?: 'async' | 'auto' | 'sync';
32
+ /** DOM drag behavior — web only. */
33
+ draggable?: boolean;
34
+ /** DOM focus order — web only. */
35
+ tabIndex?: number;
36
+ }
37
+ export type ImageProps = WebImageProps & Omit<ComponentPropsWithoutRef<typeof RNImage>, 'source'> & {
38
+ /** URI string (normalized to `{ uri }`) or standard `ImageSourcePropType`. */
39
+ source: string | ImageSourcePropType;
40
+ className?: string;
41
+ };
42
+ export declare const Image: import("react").ForwardRefExoticComponent<WebImageProps & Omit<import("react-native").ImageProps, "source"> & {
43
+ /** URI string (normalized to `{ uri }`) or standard `ImageSourcePropType`. */
44
+ source: string | ImageSourcePropType;
45
+ className?: string;
46
+ } & import("react").RefAttributes<RNImage>>;
47
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/Image.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAc,KAAK,wBAAwB,EAAqB,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAgB1E;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IACrC,oCAAoC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAOD,MAAM,MAAM,UAAU,GAAG,aAAa,GACpC,IAAI,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,EAAE,QAAQ,CAAC,GAAG;IACzD,8EAA8E;IAC9E,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAMJ,eAAO,MAAM,KAAK;IATd,8EAA8E;YACtE,MAAM,GAAG,mBAAmB;gBACxB,MAAM;2CAYpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Image, type ImageProps, type WebImageProps } from './Image';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TextInput, type TextInputProps } from 'react-native';
2
+ export declare const BaseInput: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<TextInput>>;
3
+ //# sourceMappingURL=BaseInput.android.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseInput.android.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/BaseInput.android.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAO9D,eAAO,MAAM,SAAS,sGAEpB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type TextInput, View, type ViewProps } from 'react-native';
3
3
  import { type IInputFieldProps, type IInputProps, type IInputSlotProps } from '@cdx-ui/primitives';
4
+ import { IconProps } from '../Icon';
4
5
  import { type InputVariantProps } from './styles';
5
6
  export interface InputProps extends ViewProps, IInputFieldProps, InputVariantProps {
6
7
  className?: string;
@@ -17,16 +18,17 @@ export interface InputSlotProps extends ViewProps, IInputSlotProps {
17
18
  children?: ReactNode;
18
19
  }
19
20
  declare const InputSlot: import("react").ForwardRefExoticComponent<InputSlotProps & import("react").RefAttributes<View>>;
20
- export interface InputIconProps extends ViewProps {
21
- className?: string;
22
- children?: ReactNode;
21
+ export interface InputIconProps extends Omit<IconProps, 'children'> {
23
22
  }
24
- declare const InputIcon: import("react").ForwardRefExoticComponent<InputIconProps & import("react").RefAttributes<View>>;
23
+ declare const InputIcon: {
24
+ ({ className, style, as, ...props }: InputIconProps): import("react/jsx-runtime").JSX.Element;
25
+ displayName: string;
26
+ };
25
27
  type InputCompoundComponent = typeof InputRoot & {
26
28
  Field: typeof InputField;
27
29
  Slot: typeof InputSlot;
28
30
  Icon: typeof InputIcon;
29
31
  };
30
32
  export declare const Input: InputCompoundComponent;
31
- export type { InputVariantProps };
33
+ export {};
32
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,KAAK,iBAAiB,EAMvB,MAAM,UAAU,CAAC;AAmBlB,MAAM,WAAW,UAAW,SAAQ,SAAS,EAAE,gBAAgB,EAAE,iBAAiB;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,6FAgBd,CAAC;AAQF,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC,CAAC;AAEF,QAAA,MAAM,UAAU,uGAoBf,CAAC;AAQF,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,eAAe;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,iGAYd,CAAC;AAQF,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,iGAYd,CAAC;AAQF,KAAK,sBAAsB,GAAG,OAAO,SAAS,GAAG;IAC/C,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAIZ,sBAAsB,CAAC;AAE7B,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAQ,SAAS,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EACL,KAAK,iBAAiB,EAMvB,MAAM,UAAU,CAAC;AAkBlB,MAAM,WAAW,UAAW,SAAQ,SAAS,EAAE,gBAAgB,EAAE,iBAAiB;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,6FAgBd,CAAC;AAQF,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC,CAAC;AAEF,QAAA,MAAM,UAAU,uGAoBf,CAAC;AAQF,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,eAAe;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,iGAUd,CAAC;AAQF,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;CAAG;AAEtE,QAAA,MAAM,SAAS;yCAAwC,cAAc;;CAMpE,CAAC;AAQF,KAAK,sBAAsB,GAAG,OAAO,SAAS,GAAG;IAC/C,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAIZ,sBAAsB,CAAC"}
@@ -1,16 +1,14 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  export declare const inputRootVariants: (props?: ({
3
- variant?: "outline" | "underlined" | null | undefined;
4
- size?: "sm" | "md" | "lg" | null | undefined;
3
+ variant?: "outline" | null | undefined;
4
+ size?: "small" | "default" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export declare const inputFieldVariants: (props?: ({
7
- size?: "sm" | "md" | "lg" | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- export declare const inputSlotVariants: (props?: ({
10
- size?: "sm" | "md" | "lg" | null | undefined;
7
+ size?: "small" | "default" | null | undefined;
11
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export declare const inputSlotVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
10
  export declare const inputIconVariants: (props?: ({
13
- size?: "sm" | "md" | "lg" | null | undefined;
11
+ size?: "small" | "default" | null | undefined;
14
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
13
  export declare const inputFieldPlaceholderVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
16
14
  export type InputVariantProps = VariantProps<typeof inputRootVariants>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;8EA8B7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAkB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;8EAW5B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;8EAW5B,CAAC;AAEH,eAAO,MAAM,6BAA6B,oFAAsC,CAAC;AAEjF,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,iBAAiB;;;8EAoC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAmB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAAmD,CAAC;AAElF,eAAO,MAAM,iBAAiB;;8EAU5B,CAAC;AAEH,eAAO,MAAM,6BAA6B,oFAAmC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type ReactNode } from 'react';
2
+ import { Text as RNText, type TextProps, type View } from 'react-native';
3
+ import { type ILinkProps } from '@cdx-ui/primitives';
4
+ import { type IconProps } from '../Icon';
5
+ export { LinkProvider, type LinkConfig, type LinkAction } from '@cdx-ui/primitives';
6
+ export interface LinkProps extends ILinkProps {
7
+ className?: string;
8
+ }
9
+ declare const LinkRoot: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<View>>;
10
+ export interface LinkLabelProps extends TextProps {
11
+ className?: string;
12
+ children?: ReactNode;
13
+ }
14
+ declare const LinkLabel: import("react").ForwardRefExoticComponent<LinkLabelProps & import("react").RefAttributes<RNText>>;
15
+ export interface LinkIconProps extends Omit<IconProps, 'children'> {
16
+ }
17
+ declare const LinkIcon: {
18
+ ({ className, style, as, ...props }: LinkIconProps): import("react/jsx-runtime").JSX.Element;
19
+ displayName: string;
20
+ };
21
+ type LinkCompoundComponent = typeof LinkRoot & {
22
+ Label: typeof LinkLabel;
23
+ Icon: typeof LinkIcon;
24
+ };
25
+ export declare const Link: LinkCompoundComponent;
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAG/C,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUpF,MAAM,WAAW,SAAU,SAAQ,UAAU;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,QAAQ,4FAQZ,CAAC;AAQH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,mGAUd,CAAC;AAQF,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;CAAG;AAErE,QAAA,MAAM,QAAQ;yCAAwC,aAAa;;CAIlE,CAAC;AAQF,KAAK,qBAAqB,GAAG,OAAO,QAAQ,GAAG;IAC7C,KAAK,EAAE,OAAO,SAAS,CAAC;IACxB,IAAI,EAAE,OAAO,QAAQ,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,IAAI,EAGX,qBAAqB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const linkRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ export declare const linkLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ export declare const linkIconVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ export type LinkVariantProps = VariantProps<typeof linkLabelVariants>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,gBAAgB,oFAK3B,CAAC;AAEH,eAAO,MAAM,iBAAiB,oFAI5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,oFAAuC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { View } from 'react-native';
2
+ import { type IOtpInputRootProps } from '@cdx-ui/primitives';
3
+ import { type InputProps } from '../Input';
4
+ import { type OtpInputVariantProps } from './styles';
5
+ export interface OtpInputProps extends Omit<IOtpInputRootProps, 'size'>, OtpInputVariantProps {
6
+ variant?: NonNullable<InputProps['variant']>;
7
+ size?: NonNullable<InputProps['size']>;
8
+ className?: string;
9
+ }
10
+ export declare const OtpInput: import("react").ForwardRefExoticComponent<OtpInputProps & import("react").RefAttributes<View>>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/OtpInput/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7E,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,UAAU,CAAC;AA2ClB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,EAAE,oBAAoB;IAC3F,OAAO,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,gGAcpB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const otpRootVariants: (props?: ({
3
+ size?: "small" | "default" | null | undefined;
4
+ fullWidth?: boolean | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ /** Narrow cell chrome: overrides Input root `w-full` / wide horizontal padding for one digit. */
7
+ export declare const otpCellVariants: (props?: ({
8
+ size?: "small" | "default" | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export declare const otpFieldVariants: (props?: ({
11
+ size?: "small" | "default" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ export type OtpInputVariantProps = VariantProps<typeof otpRootVariants>;
14
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/OtpInput/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,eAAe;;;8EAe1B,CAAC;AAEH,iGAAiG;AACjG,eAAO,MAAM,eAAe;;8EAU1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;8EAU3B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { View, type ViewProps } from 'react-native';
2
+ import { type IProgressProps } from '@cdx-ui/primitives';
3
+ import { type ProgressBarTrackVariantProps } from './styles';
4
+ export interface ProgressBarProps extends IProgressProps, ProgressBarTrackVariantProps {
5
+ readonly className?: string;
6
+ }
7
+ export interface ProgressBarIndicatorProps extends ViewProps {
8
+ readonly className?: string;
9
+ }
10
+ declare const ProgressBarRoot: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<View>>;
11
+ declare const ProgressBarIndicator: import("react").ForwardRefExoticComponent<ProgressBarIndicatorProps & import("react").RefAttributes<View>>;
12
+ type ProgressBarCompoundComponent = typeof ProgressBarRoot & {
13
+ Indicator: typeof ProgressBarIndicator;
14
+ };
15
+ export declare const ProgressBar: ProgressBarCompoundComponent;
16
+ export {};
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressBar/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,EAGL,KAAK,4BAA4B,EAClC,MAAM,UAAU,CAAC;AAOlB,MAAM,WAAW,gBAAiB,SAAQ,cAAc,EAAE,4BAA4B;IACpF,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,QAAA,MAAM,eAAe,mGAMpB,CAAC;AAIF,QAAA,MAAM,oBAAoB,4GASzB,CAAC;AAIF,KAAK,4BAA4B,GAAG,OAAO,eAAe,GAAG;IAC3D,SAAS,EAAE,OAAO,oBAAoB,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAElB,4BAA4B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const progressBarTrackVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ export declare const progressBarIndicatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ export type ProgressBarTrackVariantProps = VariantProps<typeof progressBarTrackVariants>;
5
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressBar/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,wBAAwB,oFAEnC,CAAC;AAEH,eAAO,MAAM,4BAA4B,oFAAiD,CAAC;AAE3F,MAAM,MAAM,4BAA4B,GAAG,YAAY,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { View, type ViewProps } from 'react-native';
2
+ import { type ProgressSegmentedVariants } from './styles';
3
+ export interface ProgressSegmentedProps extends ViewProps, ProgressSegmentedVariants {
4
+ /** Current step (1-based index into the segment count) */
5
+ readonly step: number;
6
+ /** Total number of segments */
7
+ readonly total?: number;
8
+ /** When true, the current step segment is marked as complete rather than in-progress */
9
+ readonly isStepComplete?: boolean;
10
+ /** Returns the accessibility value text announced by screen readers. Receives the clamped step, total, and whether the step is complete. */
11
+ readonly getAccessibilityText?: (step: number, total: number, isStepComplete: boolean) => string;
12
+ readonly className?: string;
13
+ }
14
+ export declare const ProgressSegmented: import("react").ForwardRefExoticComponent<ProgressSegmentedProps & import("react").RefAttributes<View>>;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressSegmented/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAuB,SAAQ,SAAS,EAAE,yBAAyB;IAClF,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,4IAA4I;IAC5I,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,KAAK,MAAM,CAAC;IACjG,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,yGAyD7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const progressSegmentedVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ export declare const segmentVariants: (props?: ({
4
+ state?: "complete" | "incomplete" | "inprogress" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type ProgressSegmentedVariants = VariantProps<typeof progressSegmentedVariants>;
7
+ export type SegmentVariants = VariantProps<typeof segmentVariants>;
8
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressSegmented/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,yBAAyB,oFAAyD,CAAC;AAEhG,eAAO,MAAM,eAAe;;8EAY1B,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Native: `Pressable`. Web: `SelectTriggerHost.web` uses `<button>` so `<label htmlFor>` works. */
2
+ export declare const SelectTriggerHost: import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>;
3
+ //# sourceMappingURL=SelectTriggerHost.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectTriggerHost.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectTriggerHost.tsx"],"names":[],"mappings":"AAEA,oGAAoG;AACpG,eAAO,MAAM,iBAAiB,+IAAY,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { PressableProps } from 'react-native';
3
+ export type SelectTriggerHostProps = PressableProps & {
4
+ className?: string;
5
+ };
6
+ /**
7
+ * Native `<button type="button">` so the trigger is HTML-labelable (`<label htmlFor>` focuses it).
8
+ * `Pressable` on web is a non-labelable div; no extra refs are needed for label association.
9
+ */
10
+ export declare const SelectTriggerHost: React.ForwardRefExoticComponent<PressableProps & {
11
+ className?: string;
12
+ } & React.RefAttributes<HTMLButtonElement>>;
13
+ //# sourceMappingURL=SelectTriggerHost.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectTriggerHost.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectTriggerHost.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAwE7E;;;GAGG;AACH,eAAO,MAAM,iBAAiB;gBA5EsC,MAAM;2CAiIzE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { Text, type TextProps, View, type ViewProps } from 'react-native';
3
3
  import { type ISelectContentProps, type ISelectItemLabelProps, type ISelectItemProps, type ISelectProps, type ISelectTriggerProps, type ISelectValueProps } from '@cdx-ui/primitives';
4
+ import { IconProps } from '../Icon';
4
5
  import { type SelectVariantProps } from './styles';
5
6
  export interface SelectProps extends ViewProps, ISelectProps, SelectVariantProps {
6
7
  className?: string;
@@ -15,10 +16,12 @@ export interface SelectValueProps extends TextProps, ISelectValueProps {
15
16
  className?: string;
16
17
  }
17
18
  declare const SelectValue: import("react").ForwardRefExoticComponent<SelectValueProps & import("react").RefAttributes<Text>>;
18
- export interface SelectIconProps extends ViewProps {
19
- className?: string;
19
+ export interface SelectIconProps extends Omit<IconProps, 'children'> {
20
20
  }
21
- declare const SelectIcon: import("react").ForwardRefExoticComponent<SelectIconProps & import("react").RefAttributes<View>>;
21
+ declare const SelectIcon: {
22
+ ({ className, style, ...props }: SelectIconProps): import("react/jsx-runtime").JSX.Element;
23
+ displayName: string;
24
+ };
22
25
  export interface SelectContentProps extends ViewProps, ISelectContentProps {
23
26
  className?: string;
24
27
  }
@@ -41,5 +44,5 @@ type SelectCompoundComponent = typeof SelectRoot & {
41
44
  ItemLabel: typeof SelectItemLabel;
42
45
  };
43
46
  export declare const Select: SelectCompoundComponent;
44
- export type { SelectVariantProps } from './styles';
47
+ export {};
45
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,kBAAkB,EAOxB,MAAM,UAAU,CAAC;AAsBlB,MAAM,WAAW,WAAY,SAAQ,SAAS,EAAE,YAAY,EAAE,kBAAkB;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,8FAcf,CAAC;AAQF,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,aAAa,qGAYlB,CAAC;AAQF,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,iBAAiB;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,WAAW,mGAMf,CAAC;AAQH,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,kGAMd,CAAC;AAQH,MAAM,WAAW,kBAAmB,SAAQ,SAAS,EAAE,mBAAmB;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,qGAQlB,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAYf,CAAC;AAQF,MAAM,WAAW,oBAAqB,SAAQ,SAAS,EAAE,qBAAqB;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,uGAUpB,CAAC;AAQF,KAAK,uBAAuB,GAAG,OAAO,UAAU,GAAG;IACjD,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,SAAS,EAAE,OAAO,eAAe,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,MAAM,EAOb,uBAAuB,CAAC;AAE9B,YAAY,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAErF,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAQ,SAAS,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EACL,KAAK,kBAAkB,EAOxB,MAAM,UAAU,CAAC;AAsBlB,MAAM,WAAW,WAAY,SAAQ,SAAS,EAAE,YAAY,EAAE,kBAAkB;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,8FAcf,CAAC;AAQF,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,aAAa,qGAalB,CAAC;AAQF,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,iBAAiB;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,WAAW,mGAMf,CAAC;AAQH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;CAAG;AAEvE,QAAA,MAAM,UAAU;qCAAoC,eAAe;;CAMlE,CAAC;AAQF,MAAM,WAAW,kBAAmB,SAAQ,SAAS,EAAE,mBAAmB;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,aAAa,qGAQlB,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAYf,CAAC;AAQF,MAAM,WAAW,oBAAqB,SAAQ,SAAS,EAAE,qBAAqB;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,uGAUpB,CAAC;AAQF,KAAK,uBAAuB,GAAG,OAAO,UAAU,GAAG;IACjD,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,SAAS,EAAE,OAAO,eAAe,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,MAAM,EAOb,uBAAuB,CAAC"}
@@ -1,22 +1,20 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  export declare const selectTriggerVariants: (props?: ({
3
- variant?: "outline" | "ghost" | "filled" | null | undefined;
4
- size?: "sm" | "md" | "lg" | null | undefined;
3
+ variant?: "outline" | null | undefined;
4
+ size?: "small" | "default" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  export declare const selectValueVariants: (props?: ({
7
- variant?: "outline" | "ghost" | "filled" | null | undefined;
8
- size?: "sm" | "md" | "lg" | null | undefined;
7
+ size?: "small" | "default" | null | undefined;
9
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
9
  export declare const selectIconVariants: (props?: ({
11
- variant?: "outline" | "ghost" | "filled" | null | undefined;
12
- size?: "sm" | "md" | "lg" | null | undefined;
10
+ size?: "small" | "default" | null | undefined;
13
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
12
  export declare const selectContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
15
13
  export declare const selectItemVariants: (props?: ({
16
- size?: "sm" | "md" | "lg" | null | undefined;
14
+ size?: "small" | "default" | null | undefined;
17
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
16
  export declare const selectItemLabelVariants: (props?: ({
19
- size?: "sm" | "md" | "lg" | null | undefined;
17
+ size?: "small" | "default" | null | undefined;
20
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
19
  export type SelectVariantProps = VariantProps<typeof selectTriggerVariants>;
22
20
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,eAAO,MAAM,qBAAqB;;;8EAoDjC,CAAC;AAIF,eAAO,MAAM,mBAAmB;;;8EAoB/B,CAAC;AAIF,eAAO,MAAM,kBAAkB;;;8EAoB9B,CAAC;AAIF,eAAO,MAAM,qBAAqB,oFAWhC,CAAC;AAIH,eAAO,MAAM,kBAAkB;;8EAuB9B,CAAC;AAIF,eAAO,MAAM,uBAAuB;;8EAcnC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAkBlE,eAAO,MAAM,qBAAqB;;;8EAsCjC,CAAC;AAIF,eAAO,MAAM,mBAAmB;;8EAkB/B,CAAC;AAIF,eAAO,MAAM,kBAAkB;;8EAiB9B,CAAC;AAIF,eAAO,MAAM,qBAAqB,oFAWhC,CAAC;AAIH,eAAO,MAAM,kBAAkB;;8EAsB9B,CAAC;AAIF,eAAO,MAAM,uBAAuB;;8EAanC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -1,20 +1,9 @@
1
1
  import { View, type ViewProps } from 'react-native';
2
- declare const spaceScale: {
3
- readonly xs: 1;
4
- readonly sm: 2;
5
- readonly md: 3;
6
- readonly lg: 4;
7
- readonly xl: 5;
8
- readonly '2xl': 6;
9
- readonly '3xl': 7;
10
- readonly '4xl': 8;
11
- };
12
- type StackSpace = keyof typeof spaceScale;
2
+ import { type StackSpace } from './styles';
13
3
  export interface HStackProps extends ViewProps {
14
4
  className?: string;
15
5
  space?: StackSpace;
16
6
  reversed?: boolean;
17
7
  }
18
8
  export declare const HStack: import("react").ForwardRefExoticComponent<HStackProps & import("react").RefAttributes<View>>;
19
- export {};
20
9
  //# sourceMappingURL=HStack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/HStack.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpD,QAAA,MAAM,UAAU;;;;;;;;;CASN,CAAC;AAEX,KAAK,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAclB,CAAC"}
1
+ {"version":3,"file":"HStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/HStack.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAE/D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAgBlB,CAAC"}
@@ -1,20 +1,9 @@
1
1
  import { View, type ViewProps } from 'react-native';
2
- declare const spaceScale: {
3
- readonly xs: 1;
4
- readonly sm: 2;
5
- readonly md: 3;
6
- readonly lg: 4;
7
- readonly xl: 5;
8
- readonly '2xl': 6;
9
- readonly '3xl': 7;
10
- readonly '4xl': 8;
11
- };
12
- type StackSpace = keyof typeof spaceScale;
2
+ import { type StackSpace } from './styles';
13
3
  export interface VStackProps extends ViewProps {
14
4
  className?: string;
15
5
  space?: StackSpace;
16
6
  reversed?: boolean;
17
7
  }
18
8
  export declare const VStack: import("react").ForwardRefExoticComponent<VStackProps & import("react").RefAttributes<View>>;
19
- export {};
20
9
  //# sourceMappingURL=VStack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/VStack.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpD,QAAA,MAAM,UAAU;;;;;;;;;CASN,CAAC;AAEX,KAAK,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAkBlB,CAAC"}
1
+ {"version":3,"file":"VStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack/VStack.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAE/D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAgBlB,CAAC"}
@@ -0,0 +1,23 @@
1
+ declare const spaceMap: {
2
+ readonly xs: "gap-1";
3
+ readonly sm: "gap-2";
4
+ readonly md: "gap-3";
5
+ readonly lg: "gap-4";
6
+ readonly xl: "gap-5";
7
+ readonly '2xl': "gap-6";
8
+ readonly '3xl': "gap-7";
9
+ readonly '4xl': "gap-8";
10
+ readonly '5xl': "gap-9";
11
+ readonly '6xl': "gap-10";
12
+ };
13
+ export type StackSpace = keyof typeof spaceMap;
14
+ export declare const hStackRootVariants: (props?: ({
15
+ reversed?: boolean | null | undefined;
16
+ space?: "sm" | "md" | "lg" | "xl" | "2xl" | "xs" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
17
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
+ export declare const vStackRootVariants: (props?: ({
19
+ reversed?: boolean | null | undefined;
20
+ space?: "sm" | "md" | "lg" | "xl" | "2xl" | "xs" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
21
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
+ export {};
23
+ //# sourceMappingURL=styles.d.ts.map