@cdx-ui/components 0.1.6 → 0.2.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 (435) hide show
  1. package/coverage.svg +1 -1
  2. package/lib/commonjs/components/Alert/index.js.map +1 -1
  3. package/lib/commonjs/components/Avatar/index.js +6 -4
  4. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  5. package/lib/commonjs/components/Badge/index.js.map +1 -1
  6. package/lib/commonjs/components/Badge/styles.js +2 -2
  7. package/lib/commonjs/components/BottomSheet/index.js +106 -91
  8. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  9. package/lib/commonjs/components/BottomSheet/styles.js +1 -12
  10. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  11. package/lib/commonjs/components/Button/index.js.map +1 -1
  12. package/lib/commonjs/components/Card/index.js.map +1 -1
  13. package/lib/commonjs/components/ColorArea/ColorAreaPaint.js +78 -0
  14. package/lib/commonjs/components/ColorArea/ColorAreaPaint.js.map +1 -0
  15. package/lib/commonjs/components/ColorArea/ColorAreaPaint.web.js +31 -0
  16. package/lib/commonjs/components/ColorArea/ColorAreaPaint.web.js.map +1 -0
  17. package/lib/commonjs/components/ColorArea/index.js +57 -0
  18. package/lib/commonjs/components/ColorArea/index.js.map +1 -0
  19. package/lib/commonjs/components/ColorArea/styles.js +12 -0
  20. package/lib/commonjs/components/ColorArea/styles.js.map +1 -0
  21. package/lib/commonjs/components/ColorField/index.js +138 -0
  22. package/lib/commonjs/components/ColorField/index.js.map +1 -0
  23. package/lib/commonjs/components/ColorField/styles.js +14 -0
  24. package/lib/commonjs/components/ColorField/styles.js.map +1 -0
  25. package/lib/commonjs/components/ColorPicker/index.js +88 -0
  26. package/lib/commonjs/components/ColorPicker/index.js.map +1 -0
  27. package/lib/commonjs/components/ColorPicker/styles.js +22 -0
  28. package/lib/commonjs/components/ColorPicker/styles.js.map +1 -0
  29. package/lib/commonjs/components/ColorSlider/ColorSliderRailPaint.js +68 -0
  30. package/lib/commonjs/components/ColorSlider/ColorSliderRailPaint.js.map +1 -0
  31. package/lib/commonjs/components/ColorSlider/ColorSliderRailPaint.web.js +41 -0
  32. package/lib/commonjs/components/ColorSlider/ColorSliderRailPaint.web.js.map +1 -0
  33. package/lib/commonjs/components/ColorSlider/index.js +123 -0
  34. package/lib/commonjs/components/ColorSlider/index.js.map +1 -0
  35. package/lib/commonjs/components/ColorSlider/styles.js +50 -0
  36. package/lib/commonjs/components/ColorSlider/styles.js.map +1 -0
  37. package/lib/commonjs/components/ColorSwatch/index.js +54 -0
  38. package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
  39. package/lib/commonjs/components/ColorSwatch/styles.js +25 -0
  40. package/lib/commonjs/components/ColorSwatch/styles.js.map +1 -0
  41. package/lib/commonjs/components/ColorSwatchPicker/index.js +110 -0
  42. package/lib/commonjs/components/ColorSwatchPicker/index.js.map +1 -0
  43. package/lib/commonjs/components/ColorSwatchPicker/styles.js +17 -0
  44. package/lib/commonjs/components/ColorSwatchPicker/styles.js.map +1 -0
  45. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  46. package/lib/commonjs/components/Divider/index.js.map +1 -1
  47. package/lib/commonjs/components/Form/styles.js +1 -1
  48. package/lib/commonjs/components/Form/styles.js.map +1 -1
  49. package/lib/commonjs/components/FullScreenDialog/animation.js +46 -0
  50. package/lib/commonjs/components/FullScreenDialog/animation.js.map +1 -0
  51. package/lib/commonjs/components/FullScreenDialog/index.js +343 -0
  52. package/lib/commonjs/components/FullScreenDialog/index.js.map +1 -0
  53. package/lib/commonjs/components/FullScreenDialog/styles.js +14 -0
  54. package/lib/commonjs/components/FullScreenDialog/styles.js.map +1 -0
  55. package/lib/commonjs/components/Heading/styles.js +3 -0
  56. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  57. package/lib/commonjs/components/Icon/index.js +27 -3
  58. package/lib/commonjs/components/Icon/index.js.map +1 -1
  59. package/lib/commonjs/components/Icon/styles.js +19 -0
  60. package/lib/commonjs/components/Icon/styles.js.map +1 -0
  61. package/lib/commonjs/components/IconButton/styles.js +7 -5
  62. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  63. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -1
  64. package/lib/commonjs/components/Link/index.js.map +1 -1
  65. package/lib/commonjs/components/ListItem/index.js +2 -0
  66. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  67. package/lib/commonjs/components/ListItem/styles.js +6 -0
  68. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  69. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  70. package/lib/commonjs/components/Radio/index.js.map +1 -1
  71. package/lib/commonjs/components/ScopedTheme/index.js +11 -3
  72. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -1
  73. package/lib/commonjs/components/Skeleton/index.js.map +1 -1
  74. package/lib/commonjs/components/Stack/HStack.js.map +1 -1
  75. package/lib/commonjs/components/Stack/VStack.js.map +1 -1
  76. package/lib/commonjs/components/Text/index.js +13 -4
  77. package/lib/commonjs/components/Text/index.js.map +1 -1
  78. package/lib/commonjs/components/Text/styles.js +39 -3
  79. package/lib/commonjs/components/Text/styles.js.map +1 -1
  80. package/lib/commonjs/components/Textarea/index.js.map +1 -1
  81. package/lib/commonjs/components/Tile/index.js.map +1 -1
  82. package/lib/commonjs/components/Toast/hooks.js +0 -1
  83. package/lib/commonjs/components/Toast/hooks.js.map +1 -1
  84. package/lib/commonjs/components/Toast/index.js +49 -18
  85. package/lib/commonjs/components/Toast/index.js.map +1 -1
  86. package/lib/commonjs/components/Toast/styles.js +49 -21
  87. package/lib/commonjs/components/Toast/styles.js.map +1 -1
  88. package/lib/commonjs/components/ToggleButton/index.js +5 -4
  89. package/lib/commonjs/components/ToggleButton/index.js.map +1 -1
  90. package/lib/commonjs/components/index.js +80 -0
  91. package/lib/commonjs/components/index.js.map +1 -1
  92. package/lib/commonjs/components/picker/styles.js +6 -2
  93. package/lib/commonjs/components/picker/styles.js.map +1 -1
  94. package/lib/commonjs/components/picker/surfaces.js +9 -2
  95. package/lib/commonjs/components/picker/surfaces.js.map +1 -1
  96. package/lib/commonjs/components/sheet-header/index.js +97 -0
  97. package/lib/commonjs/components/sheet-header/index.js.map +1 -0
  98. package/lib/commonjs/components/sheet-header/styles.js +28 -0
  99. package/lib/commonjs/components/sheet-header/styles.js.map +1 -0
  100. package/lib/commonjs/figma/BottomSheet.figma.js +1 -1
  101. package/lib/commonjs/figma/Icon.figma.js +30 -3
  102. package/lib/commonjs/figma/Icon.figma.js.map +1 -1
  103. package/lib/commonjs/figma/Text.figma.js +15 -1
  104. package/lib/commonjs/figma/Text.figma.js.map +1 -1
  105. package/lib/commonjs/providers/toast/insets-container.js +15 -3
  106. package/lib/commonjs/providers/toast/insets-container.js.map +1 -1
  107. package/lib/commonjs/providers/toast/provider.js +45 -11
  108. package/lib/commonjs/providers/toast/provider.js.map +1 -1
  109. package/lib/commonjs/styles/constants.js +14 -1
  110. package/lib/commonjs/styles/constants.js.map +1 -1
  111. package/lib/module/components/Alert/index.js.map +1 -1
  112. package/lib/module/components/Avatar/index.js +6 -4
  113. package/lib/module/components/Avatar/index.js.map +1 -1
  114. package/lib/module/components/Badge/index.js.map +1 -1
  115. package/lib/module/components/Badge/styles.js +2 -2
  116. package/lib/module/components/BottomSheet/index.js +110 -95
  117. package/lib/module/components/BottomSheet/index.js.map +1 -1
  118. package/lib/module/components/BottomSheet/styles.js +0 -11
  119. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  120. package/lib/module/components/Button/index.js.map +1 -1
  121. package/lib/module/components/Card/index.js.map +1 -1
  122. package/lib/module/components/ColorArea/ColorAreaPaint.js +74 -0
  123. package/lib/module/components/ColorArea/ColorAreaPaint.js.map +1 -0
  124. package/lib/module/components/ColorArea/ColorAreaPaint.web.js +27 -0
  125. package/lib/module/components/ColorArea/ColorAreaPaint.web.js.map +1 -0
  126. package/lib/module/components/ColorArea/index.js +53 -0
  127. package/lib/module/components/ColorArea/index.js.map +1 -0
  128. package/lib/module/components/ColorArea/styles.js +8 -0
  129. package/lib/module/components/ColorArea/styles.js.map +1 -0
  130. package/lib/module/components/ColorField/index.js +134 -0
  131. package/lib/module/components/ColorField/index.js.map +1 -0
  132. package/lib/module/components/ColorField/styles.js +10 -0
  133. package/lib/module/components/ColorField/styles.js.map +1 -0
  134. package/lib/module/components/ColorPicker/index.js +79 -0
  135. package/lib/module/components/ColorPicker/index.js.map +1 -0
  136. package/lib/module/components/ColorPicker/styles.js +18 -0
  137. package/lib/module/components/ColorPicker/styles.js.map +1 -0
  138. package/lib/module/components/ColorSlider/ColorSliderRailPaint.js +64 -0
  139. package/lib/module/components/ColorSlider/ColorSliderRailPaint.js.map +1 -0
  140. package/lib/module/components/ColorSlider/ColorSliderRailPaint.web.js +37 -0
  141. package/lib/module/components/ColorSlider/ColorSliderRailPaint.web.js.map +1 -0
  142. package/lib/module/components/ColorSlider/index.js +119 -0
  143. package/lib/module/components/ColorSlider/index.js.map +1 -0
  144. package/lib/module/components/ColorSlider/styles.js +46 -0
  145. package/lib/module/components/ColorSlider/styles.js.map +1 -0
  146. package/lib/module/components/ColorSwatch/index.js +50 -0
  147. package/lib/module/components/ColorSwatch/index.js.map +1 -0
  148. package/lib/module/components/ColorSwatch/styles.js +21 -0
  149. package/lib/module/components/ColorSwatch/styles.js.map +1 -0
  150. package/lib/module/components/ColorSwatchPicker/index.js +106 -0
  151. package/lib/module/components/ColorSwatchPicker/index.js.map +1 -0
  152. package/lib/module/components/ColorSwatchPicker/styles.js +13 -0
  153. package/lib/module/components/ColorSwatchPicker/styles.js.map +1 -0
  154. package/lib/module/components/Dialog/index.js.map +1 -1
  155. package/lib/module/components/Divider/index.js.map +1 -1
  156. package/lib/module/components/Form/styles.js +1 -1
  157. package/lib/module/components/Form/styles.js.map +1 -1
  158. package/lib/module/components/FullScreenDialog/animation.js +41 -0
  159. package/lib/module/components/FullScreenDialog/animation.js.map +1 -0
  160. package/lib/module/components/FullScreenDialog/index.js +338 -0
  161. package/lib/module/components/FullScreenDialog/index.js.map +1 -0
  162. package/lib/module/components/FullScreenDialog/styles.js +10 -0
  163. package/lib/module/components/FullScreenDialog/styles.js.map +1 -0
  164. package/lib/module/components/Heading/styles.js +3 -0
  165. package/lib/module/components/Heading/styles.js.map +1 -1
  166. package/lib/module/components/Icon/index.js +27 -3
  167. package/lib/module/components/Icon/index.js.map +1 -1
  168. package/lib/module/components/Icon/styles.js +16 -0
  169. package/lib/module/components/Icon/styles.js.map +1 -0
  170. package/lib/module/components/IconButton/styles.js +7 -4
  171. package/lib/module/components/IconButton/styles.js.map +1 -1
  172. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -1
  173. package/lib/module/components/Link/index.js.map +1 -1
  174. package/lib/module/components/ListItem/index.js +2 -0
  175. package/lib/module/components/ListItem/index.js.map +1 -1
  176. package/lib/module/components/ListItem/styles.js +6 -0
  177. package/lib/module/components/ListItem/styles.js.map +1 -1
  178. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  179. package/lib/module/components/Radio/index.js.map +1 -1
  180. package/lib/module/components/ScopedTheme/index.js +11 -3
  181. package/lib/module/components/ScopedTheme/index.js.map +1 -1
  182. package/lib/module/components/Skeleton/index.js.map +1 -1
  183. package/lib/module/components/Stack/HStack.js.map +1 -1
  184. package/lib/module/components/Stack/VStack.js.map +1 -1
  185. package/lib/module/components/Text/index.js +14 -5
  186. package/lib/module/components/Text/index.js.map +1 -1
  187. package/lib/module/components/Text/styles.js +38 -2
  188. package/lib/module/components/Text/styles.js.map +1 -1
  189. package/lib/module/components/Textarea/index.js.map +1 -1
  190. package/lib/module/components/Tile/index.js.map +1 -1
  191. package/lib/module/components/Toast/hooks.js +0 -1
  192. package/lib/module/components/Toast/hooks.js.map +1 -1
  193. package/lib/module/components/Toast/index.js +52 -21
  194. package/lib/module/components/Toast/index.js.map +1 -1
  195. package/lib/module/components/Toast/styles.js +48 -21
  196. package/lib/module/components/Toast/styles.js.map +1 -1
  197. package/lib/module/components/ToggleButton/index.js +3 -3
  198. package/lib/module/components/ToggleButton/index.js.map +1 -1
  199. package/lib/module/components/index.js +7 -0
  200. package/lib/module/components/index.js.map +1 -1
  201. package/lib/module/components/picker/styles.js +6 -2
  202. package/lib/module/components/picker/styles.js.map +1 -1
  203. package/lib/module/components/picker/surfaces.js +10 -3
  204. package/lib/module/components/picker/surfaces.js.map +1 -1
  205. package/lib/module/components/sheet-header/index.js +94 -0
  206. package/lib/module/components/sheet-header/index.js.map +1 -0
  207. package/lib/module/components/sheet-header/styles.js +25 -0
  208. package/lib/module/components/sheet-header/styles.js.map +1 -0
  209. package/lib/module/figma/BottomSheet.figma.js +1 -1
  210. package/lib/module/figma/Icon.figma.js +30 -3
  211. package/lib/module/figma/Icon.figma.js.map +1 -1
  212. package/lib/module/figma/Text.figma.js +15 -1
  213. package/lib/module/figma/Text.figma.js.map +1 -1
  214. package/lib/module/providers/toast/insets-container.js +15 -4
  215. package/lib/module/providers/toast/insets-container.js.map +1 -1
  216. package/lib/module/providers/toast/provider.js +46 -12
  217. package/lib/module/providers/toast/provider.js.map +1 -1
  218. package/lib/module/styles/constants.js +13 -0
  219. package/lib/module/styles/constants.js.map +1 -1
  220. package/lib/typescript/components/Alert/index.d.ts +5 -2
  221. package/lib/typescript/components/Alert/index.d.ts.map +1 -1
  222. package/lib/typescript/components/Avatar/index.d.ts +11 -5
  223. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  224. package/lib/typescript/components/Badge/index.d.ts +34 -0
  225. package/lib/typescript/components/Badge/index.d.ts.map +1 -1
  226. package/lib/typescript/components/Badge/styles.d.ts +3 -3
  227. package/lib/typescript/components/BottomSheet/index.d.ts +12 -1
  228. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  229. package/lib/typescript/components/BottomSheet/styles.d.ts +0 -5
  230. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  231. package/lib/typescript/components/Breadcrumbs/styles.d.ts +1 -1
  232. package/lib/typescript/components/Button/index.d.ts +10 -2
  233. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  234. package/lib/typescript/components/Button/styles.d.ts +4 -4
  235. package/lib/typescript/components/Card/index.d.ts +14 -0
  236. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  237. package/lib/typescript/components/Checkbox/index.d.ts +1 -1
  238. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  239. package/lib/typescript/components/Chip/index.d.ts +2 -2
  240. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  241. package/lib/typescript/components/Chip/styles.d.ts +3 -3
  242. package/lib/typescript/components/ColorArea/ColorAreaPaint.d.ts +5 -0
  243. package/lib/typescript/components/ColorArea/ColorAreaPaint.d.ts.map +1 -0
  244. package/lib/typescript/components/ColorArea/ColorAreaPaint.web.d.ts +5 -0
  245. package/lib/typescript/components/ColorArea/ColorAreaPaint.web.d.ts.map +1 -0
  246. package/lib/typescript/components/ColorArea/index.d.ts +20 -0
  247. package/lib/typescript/components/ColorArea/index.d.ts.map +1 -0
  248. package/lib/typescript/components/ColorArea/styles.d.ts +4 -0
  249. package/lib/typescript/components/ColorArea/styles.d.ts.map +1 -0
  250. package/lib/typescript/components/ColorField/index.d.ts +41 -0
  251. package/lib/typescript/components/ColorField/index.d.ts.map +1 -0
  252. package/lib/typescript/components/ColorField/styles.d.ts +13 -0
  253. package/lib/typescript/components/ColorField/styles.d.ts.map +1 -0
  254. package/lib/typescript/components/ColorPicker/index.d.ts +28 -0
  255. package/lib/typescript/components/ColorPicker/index.d.ts.map +1 -0
  256. package/lib/typescript/components/ColorPicker/styles.d.ts +9 -0
  257. package/lib/typescript/components/ColorPicker/styles.d.ts.map +1 -0
  258. package/lib/typescript/components/ColorSlider/ColorSliderRailPaint.d.ts +5 -0
  259. package/lib/typescript/components/ColorSlider/ColorSliderRailPaint.d.ts.map +1 -0
  260. package/lib/typescript/components/ColorSlider/ColorSliderRailPaint.web.d.ts +5 -0
  261. package/lib/typescript/components/ColorSlider/ColorSliderRailPaint.web.d.ts.map +1 -0
  262. package/lib/typescript/components/ColorSlider/index.d.ts +33 -0
  263. package/lib/typescript/components/ColorSlider/index.d.ts.map +1 -0
  264. package/lib/typescript/components/ColorSlider/styles.d.ts +14 -0
  265. package/lib/typescript/components/ColorSlider/styles.d.ts.map +1 -0
  266. package/lib/typescript/components/ColorSwatch/index.d.ts +19 -0
  267. package/lib/typescript/components/ColorSwatch/index.d.ts.map +1 -0
  268. package/lib/typescript/components/ColorSwatch/styles.d.ts +7 -0
  269. package/lib/typescript/components/ColorSwatch/styles.d.ts.map +1 -0
  270. package/lib/typescript/components/ColorSwatchPicker/index.d.ts +37 -0
  271. package/lib/typescript/components/ColorSwatchPicker/index.d.ts.map +1 -0
  272. package/lib/typescript/components/ColorSwatchPicker/styles.d.ts +5 -0
  273. package/lib/typescript/components/ColorSwatchPicker/styles.d.ts.map +1 -0
  274. package/lib/typescript/components/CurrencyInput/index.d.ts +2 -2
  275. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -1
  276. package/lib/typescript/components/Dialog/index.d.ts +10 -0
  277. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  278. package/lib/typescript/components/Dialog/styles.d.ts +1 -0
  279. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  280. package/lib/typescript/components/Divider/index.d.ts +6 -1
  281. package/lib/typescript/components/Divider/index.d.ts.map +1 -1
  282. package/lib/typescript/components/Drawer/styles.d.ts +1 -1
  283. package/lib/typescript/components/Form/styles.d.ts.map +1 -1
  284. package/lib/typescript/components/FullScreenDialog/animation.d.ts +9 -0
  285. package/lib/typescript/components/FullScreenDialog/animation.d.ts.map +1 -0
  286. package/lib/typescript/components/FullScreenDialog/index.d.ts +85 -0
  287. package/lib/typescript/components/FullScreenDialog/index.d.ts.map +1 -0
  288. package/lib/typescript/components/FullScreenDialog/styles.d.ts +6 -0
  289. package/lib/typescript/components/FullScreenDialog/styles.d.ts.map +1 -0
  290. package/lib/typescript/components/Heading/styles.d.ts.map +1 -1
  291. package/lib/typescript/components/Icon/index.d.ts +14 -22
  292. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  293. package/lib/typescript/components/Icon/styles.d.ts +6 -0
  294. package/lib/typescript/components/Icon/styles.d.ts.map +1 -0
  295. package/lib/typescript/components/IconButton/styles.d.ts +7 -2
  296. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  297. package/lib/typescript/components/Input/index.d.ts +2 -2
  298. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  299. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +1 -0
  300. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -1
  301. package/lib/typescript/components/Link/index.d.ts +3 -1
  302. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  303. package/lib/typescript/components/ListItem/index.d.ts +43 -4
  304. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  305. package/lib/typescript/components/ListItem/styles.d.ts +2 -0
  306. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  307. package/lib/typescript/components/Menu/index.d.ts +2 -2
  308. package/lib/typescript/components/Menu/index.d.ts.map +1 -1
  309. package/lib/typescript/components/ProgressSegmented/index.d.ts +10 -3
  310. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  311. package/lib/typescript/components/Radio/index.d.ts +1 -0
  312. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  313. package/lib/typescript/components/ScopedTheme/index.d.ts +11 -3
  314. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -1
  315. package/lib/typescript/components/Select/index.d.ts +1 -1
  316. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  317. package/lib/typescript/components/Skeleton/index.d.ts +5 -1
  318. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -1
  319. package/lib/typescript/components/Slider/styles.d.ts +3 -3
  320. package/lib/typescript/components/Stack/HStack.d.ts +6 -0
  321. package/lib/typescript/components/Stack/HStack.d.ts.map +1 -1
  322. package/lib/typescript/components/Stack/VStack.d.ts +6 -0
  323. package/lib/typescript/components/Stack/VStack.d.ts.map +1 -1
  324. package/lib/typescript/components/Switch/index.d.ts +1 -1
  325. package/lib/typescript/components/Tabs/index.d.ts +2 -2
  326. package/lib/typescript/components/Text/index.d.ts +40 -3
  327. package/lib/typescript/components/Text/index.d.ts.map +1 -1
  328. package/lib/typescript/components/Text/styles.d.ts +9 -0
  329. package/lib/typescript/components/Text/styles.d.ts.map +1 -1
  330. package/lib/typescript/components/Textarea/index.d.ts +1 -0
  331. package/lib/typescript/components/Textarea/index.d.ts.map +1 -1
  332. package/lib/typescript/components/Tile/index.d.ts +49 -0
  333. package/lib/typescript/components/Tile/index.d.ts.map +1 -1
  334. package/lib/typescript/components/Toast/hooks.d.ts +1 -1
  335. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -1
  336. package/lib/typescript/components/Toast/index.d.ts +15 -0
  337. package/lib/typescript/components/Toast/index.d.ts.map +1 -1
  338. package/lib/typescript/components/Toast/styles.d.ts +14 -0
  339. package/lib/typescript/components/Toast/styles.d.ts.map +1 -1
  340. package/lib/typescript/components/Toast/types.d.ts +10 -1
  341. package/lib/typescript/components/Toast/types.d.ts.map +1 -1
  342. package/lib/typescript/components/ToggleButton/index.d.ts +5 -3
  343. package/lib/typescript/components/ToggleButton/index.d.ts.map +1 -1
  344. package/lib/typescript/components/index.d.ts +7 -0
  345. package/lib/typescript/components/index.d.ts.map +1 -1
  346. package/lib/typescript/components/picker/styles.d.ts +5 -2
  347. package/lib/typescript/components/picker/styles.d.ts.map +1 -1
  348. package/lib/typescript/components/picker/surfaces.d.ts +5 -1
  349. package/lib/typescript/components/picker/surfaces.d.ts.map +1 -1
  350. package/lib/typescript/components/sheet-header/index.d.ts +24 -0
  351. package/lib/typescript/components/sheet-header/index.d.ts.map +1 -0
  352. package/lib/typescript/components/sheet-header/styles.d.ts +12 -0
  353. package/lib/typescript/components/sheet-header/styles.d.ts.map +1 -0
  354. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -1
  355. package/lib/typescript/figma/Text.figma.d.ts.map +1 -1
  356. package/lib/typescript/providers/toast/insets-container.d.ts +12 -0
  357. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -1
  358. package/lib/typescript/providers/toast/provider.d.ts +1 -1
  359. package/lib/typescript/providers/toast/provider.d.ts.map +1 -1
  360. package/lib/typescript/providers/toast/types.d.ts +21 -4
  361. package/lib/typescript/providers/toast/types.d.ts.map +1 -1
  362. package/lib/typescript/styles/constants.d.ts +10 -0
  363. package/lib/typescript/styles/constants.d.ts.map +1 -1
  364. package/package.json +5 -5
  365. package/src/components/Alert/index.tsx +5 -2
  366. package/src/components/Avatar/index.tsx +11 -5
  367. package/src/components/Badge/index.tsx +34 -0
  368. package/src/components/Badge/styles.ts +2 -2
  369. package/src/components/BottomSheet/index.tsx +156 -125
  370. package/src/components/BottomSheet/styles.ts +1 -22
  371. package/src/components/Button/index.tsx +10 -2
  372. package/src/components/Card/index.tsx +14 -0
  373. package/src/components/Checkbox/index.tsx +1 -1
  374. package/src/components/Chip/index.tsx +2 -2
  375. package/src/components/ColorArea/ColorAreaPaint.tsx +51 -0
  376. package/src/components/ColorArea/ColorAreaPaint.web.tsx +31 -0
  377. package/src/components/ColorArea/index.tsx +71 -0
  378. package/src/components/ColorArea/styles.ts +18 -0
  379. package/src/components/ColorField/index.tsx +181 -0
  380. package/src/components/ColorField/styles.ts +20 -0
  381. package/src/components/ColorPicker/index.tsx +110 -0
  382. package/src/components/ColorPicker/styles.ts +33 -0
  383. package/src/components/ColorSlider/ColorSliderRailPaint.tsx +60 -0
  384. package/src/components/ColorSlider/ColorSliderRailPaint.web.tsx +33 -0
  385. package/src/components/ColorSlider/index.tsx +147 -0
  386. package/src/components/ColorSlider/styles.ts +72 -0
  387. package/src/components/ColorSwatch/index.tsx +56 -0
  388. package/src/components/ColorSwatch/styles.ts +24 -0
  389. package/src/components/ColorSwatchPicker/index.tsx +150 -0
  390. package/src/components/ColorSwatchPicker/styles.ts +32 -0
  391. package/src/components/CurrencyInput/index.tsx +2 -2
  392. package/src/components/Dialog/index.tsx +10 -0
  393. package/src/components/Dialog/styles.ts +1 -0
  394. package/src/components/Divider/index.tsx +6 -1
  395. package/src/components/Form/styles.ts +1 -1
  396. package/src/components/FullScreenDialog/animation.ts +22 -0
  397. package/src/components/FullScreenDialog/index.tsx +484 -0
  398. package/src/components/FullScreenDialog/styles.ts +23 -0
  399. package/src/components/Heading/styles.ts +3 -0
  400. package/src/components/Icon/index.tsx +46 -6
  401. package/src/components/Icon/styles.ts +15 -0
  402. package/src/components/IconButton/styles.ts +7 -4
  403. package/src/components/Input/index.tsx +2 -2
  404. package/src/components/InsuranceDisclosure/index.tsx +1 -0
  405. package/src/components/Link/index.tsx +3 -1
  406. package/src/components/ListItem/index.tsx +48 -4
  407. package/src/components/ListItem/styles.ts +7 -0
  408. package/src/components/Menu/index.tsx +2 -2
  409. package/src/components/ProgressSegmented/index.tsx +10 -3
  410. package/src/components/Radio/index.tsx +1 -0
  411. package/src/components/ScopedTheme/index.tsx +11 -3
  412. package/src/components/Select/index.tsx +1 -1
  413. package/src/components/Skeleton/index.tsx +5 -1
  414. package/src/components/Stack/HStack.tsx +6 -0
  415. package/src/components/Stack/VStack.tsx +6 -0
  416. package/src/components/Switch/index.tsx +1 -1
  417. package/src/components/Tabs/index.tsx +2 -2
  418. package/src/components/Text/index.tsx +32 -5
  419. package/src/components/Text/styles.ts +39 -1
  420. package/src/components/Textarea/index.tsx +1 -0
  421. package/src/components/Tile/index.tsx +49 -0
  422. package/src/components/Toast/hooks.ts +0 -1
  423. package/src/components/Toast/index.tsx +69 -17
  424. package/src/components/Toast/styles.ts +60 -21
  425. package/src/components/Toast/types.ts +10 -1
  426. package/src/components/ToggleButton/index.tsx +9 -7
  427. package/src/components/index.ts +7 -0
  428. package/src/components/picker/styles.ts +6 -2
  429. package/src/components/picker/surfaces.tsx +15 -2
  430. package/src/components/sheet-header/index.tsx +148 -0
  431. package/src/components/sheet-header/styles.ts +28 -0
  432. package/src/providers/toast/insets-container.tsx +23 -9
  433. package/src/providers/toast/provider.tsx +49 -15
  434. package/src/providers/toast/types.ts +21 -4
  435. package/src/styles/constants.ts +13 -0
@@ -40,7 +40,7 @@ export interface SelectValueProps extends TextProps, ISelectValueProps {
40
40
  className?: string;
41
41
  }
42
42
  declare const SelectValue: import("react").ForwardRefExoticComponent<SelectValueProps & import("react").RefAttributes<Text>>;
43
- export interface SelectIconProps extends Omit<IconProps, 'children' | 'as'> {
43
+ export interface SelectIconProps extends Omit<IconProps, 'children' | 'as' | 'color'> {
44
44
  asChild?: boolean;
45
45
  /**
46
46
  * Forge icon component to render. Required unless `asChild` is set, in which
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAUL,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;AAG1C,OAAO,EAAsB,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,UAAU,CAAC;AAUlB,MAAM,WAAW,WAAY,SAAQ,SAAS,EAAE,YAAY,EAAE,kBAAkB;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,8FAmBf,CAAC;AAQF,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D;;;;;;;;;;;;;;OAcG;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AO,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"}
@@ -2,7 +2,11 @@ import { type ViewProps } from 'react-native';
2
2
  import Animated from 'react-native-reanimated';
3
3
  export interface SkeletonProps extends ViewProps {
4
4
  className?: string;
5
- /** Pulse animation duration in milliseconds. @default 1000 */
5
+ /**
6
+ * Half-cycle of the opacity pulse (`1` → `0.35`) in milliseconds.
7
+ * A full pulse takes `duration × 2`.
8
+ * @default 1000
9
+ */
6
10
  duration?: number;
7
11
  }
8
12
  export declare const Skeleton: import("react").ForwardRefExoticComponent<SkeletonProps & import("react").RefAttributes<Animated.View>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,QAMN,MAAM,yBAAyB,CAAC;AAIjC,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,yGAsBpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,QAMN,MAAM,yBAAyB,CAAC;AAIjC,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,yGAsBpB,CAAC"}
@@ -8,16 +8,16 @@ export declare const sliderRailVariants: (props?: ({
8
8
  orientation?: "vertical" | "horizontal" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
10
  export declare const sliderRailColorVariants: (props?: ({
11
- color?: "danger" | "warning" | "success" | "info" | "action" | null | undefined;
11
+ color?: "action" | "danger" | "warning" | "success" | "info" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  export declare const sliderTrackVariants: (props?: ({
14
14
  orientation?: "vertical" | "horizontal" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
16
  export declare const sliderTrackColorVariants: (props?: ({
17
- color?: "danger" | "warning" | "success" | "info" | "action" | null | undefined;
17
+ color?: "action" | "danger" | "warning" | "success" | "info" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
19
  export declare const sliderThumbVariants: (props?: ({
20
- color?: "danger" | "warning" | "success" | "info" | "action" | null | undefined;
20
+ color?: "action" | "danger" | "warning" | "success" | "info" | null | undefined;
21
21
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
22
22
  export declare const sliderThumbHaloVariants: (props?: ({
23
23
  visible?: boolean | null | undefined;
@@ -2,7 +2,13 @@ import { View, type ViewProps } from 'react-native';
2
2
  import { type StackSpace } from './styles';
3
3
  export interface HStackProps extends ViewProps {
4
4
  className?: string;
5
+ /** Token-based gap between children. */
5
6
  space?: StackSpace;
7
+ /**
8
+ * Reverses the visual order of children along the stack axis.
9
+ * Source order and screen-reader order stay unchanged.
10
+ * @default false
11
+ */
6
12
  reversed?: boolean;
7
13
  }
8
14
  export declare const HStack: import("react").ForwardRefExoticComponent<HStackProps & import("react").RefAttributes<View>>;
@@ -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;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
+ {"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,wCAAwC;IACxC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAgBlB,CAAC"}
@@ -2,7 +2,13 @@ import { View, type ViewProps } from 'react-native';
2
2
  import { type StackSpace } from './styles';
3
3
  export interface VStackProps extends ViewProps {
4
4
  className?: string;
5
+ /** Token-based gap between children. */
5
6
  space?: StackSpace;
7
+ /**
8
+ * Reverses the visual order of children along the stack axis.
9
+ * Source order and screen-reader order stay unchanged.
10
+ * @default false
11
+ */
6
12
  reversed?: boolean;
7
13
  }
8
14
  export declare const VStack: import("react").ForwardRefExoticComponent<VStackProps & import("react").RefAttributes<View>>;
@@ -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;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
+ {"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,wCAAwC;IACxC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,8FAgBlB,CAAC"}
@@ -2,7 +2,7 @@ import type { Switch as RNSwitch, View } from 'react-native';
2
2
  import { type ISwitchProps } from '@cdx-ui/primitives';
3
3
  export interface SwitchProps extends ISwitchProps {
4
4
  /**
5
- * Track and thumb size.
5
+ * Track and thumb size on web. iOS and Android render the system switch, so `size` has no effect.
6
6
  * @default 'md'
7
7
  */
8
8
  size?: 'sm' | 'md' | 'lg';
@@ -14,8 +14,8 @@ export interface TabsListProps extends ITabsListProps {
14
14
  className?: string;
15
15
  /**
16
16
  * When `orientation="horizontal"`, scroll tab triggers if they overflow the list width.
17
- * Vertical lists do not scroll — tabs stack in a column (matches HeroUI / ARIA scrollable
18
- * tablist patterns, which are horizontal-only).
17
+ * On native, selecting a tab scrolls it into view. On web, edge fades and paging
18
+ * controls appear when more tabs are off-screen. Vertical lists do not scroll.
19
19
  * @default true
20
20
  */
21
21
  scrollable?: boolean;
@@ -1,10 +1,47 @@
1
1
  import { type ComponentPropsWithoutRef } from 'react';
2
2
  import { Text as RNText } from 'react-native';
3
- import { TextVariantProps } from './styles';
4
- export type TextProps = TextVariantProps & ComponentPropsWithoutRef<typeof RNText> & {
3
+ import { type TextVariantProps } from './styles';
4
+ export type TextColor = NonNullable<TextVariantProps['color']>;
5
+ export type TextSize = NonNullable<TextVariantProps['size']>;
6
+ export type TextWeight = NonNullable<TextVariantProps['weight']>;
7
+ export type TextProps = Omit<TextVariantProps, 'color' | 'size' | 'weight'> & ComponentPropsWithoutRef<typeof RNText> & {
8
+ /**
9
+ * Semantic content color, mapped to the matching `text-content-*` token.
10
+ * A `Text` nested inside another text element inherits its parent's color when omitted.
11
+ * @default 'primary'
12
+ */
13
+ color?: TextColor;
14
+ /**
15
+ * Body typography style. A nested `Text` inherits its parent's size when omitted, and
16
+ * setting it keeps the parent's font family and weight.
17
+ * @default 'md'
18
+ */
19
+ size?: TextSize;
20
+ /**
21
+ * Font weight. A nested `Text` inherits its parent's weight when omitted.
22
+ * @default 'normal'
23
+ */
24
+ weight?: TextWeight;
5
25
  className?: string;
6
26
  };
7
- export declare const Text: import("react").ForwardRefExoticComponent<TextVariantProps & import("react-native").TextProps & {
27
+ export declare const Text: import("react").ForwardRefExoticComponent<Omit<TextVariantProps, "color" | "size" | "weight"> & import("react-native").TextProps & {
28
+ /**
29
+ * Semantic content color, mapped to the matching `text-content-*` token.
30
+ * A `Text` nested inside another text element inherits its parent's color when omitted.
31
+ * @default 'primary'
32
+ */
33
+ color?: TextColor;
34
+ /**
35
+ * Body typography style. A nested `Text` inherits its parent's size when omitted, and
36
+ * setting it keeps the parent's font family and weight.
37
+ * @default 'md'
38
+ */
39
+ size?: TextSize;
40
+ /**
41
+ * Font weight. A nested `Text` inherits its parent's weight when omitted.
42
+ * @default 'normal'
43
+ */
44
+ weight?: TextWeight;
8
45
  className?: string;
9
46
  } & import("react").RefAttributes<RNText>>;
10
47
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAqB,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAa,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,gBAAgB,GACtC,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,eAAO,MAAM,IAAI;gBAFyC,MAAM;0CAO9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAqB,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAA8B,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,GACzE,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IACxC;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEJ,eAAO,MAAM,IAAI;IApBb;;;;OAIG;YACK,SAAS;IACjB;;;;OAIG;WACI,QAAQ;IACf;;;OAGG;aACM,UAAU;gBACP,MAAM;0CAWpB,CAAC"}
@@ -1,6 +1,15 @@
1
1
  import { type VariantProps } from '@cdx-ui/utils';
2
2
  export declare const textStyle: (props?: ({
3
+ color?: "primary" | "secondary" | "tertiary" | "action" | "danger" | "warning" | "success" | "info" | null | undefined;
3
4
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
5
+ weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
6
+ italic?: boolean | null | undefined;
4
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
8
  export type TextVariantProps = VariantProps<typeof textStyle>;
9
+ export declare const nestedTextStyle: (props?: ({
10
+ color?: "primary" | "secondary" | "tertiary" | "action" | "danger" | "warning" | "success" | "info" | null | undefined;
11
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
12
+ weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
13
+ italic?: boolean | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
15
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD,eAAO,MAAM,SAAS;;8EAmBrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAcvD,eAAO,MAAM,SAAS;;;;;8EA0BrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC;AAM9D,eAAO,MAAM,eAAe;;;;;8EAa1B,CAAC"}
@@ -3,6 +3,7 @@ import { type IInputFieldProps } from '@cdx-ui/primitives';
3
3
  import { type TextareaVariantProps } from './styles';
4
4
  export type TextareaResize = 'none' | 'vertical';
5
5
  export interface TextareaProps extends Omit<TextInputProps, 'multiline' | 'children' | 'style'>, IInputFieldProps, TextareaVariantProps {
6
+ /** Additional Tailwind classes, applied to the root shell rather than the inner field. */
6
7
  className?: string;
7
8
  placeholderTextColorClassName?: string;
8
9
  /** Initial / minimum visible rows. Defaults to 2 on web and 8 on native. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Textarea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,oBAAoB,EAI1B,MAAM,UAAU,CAAC;AAelB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,CAAC;AAEjD,MAAM,WAAW,aACf,SACE,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC,EACxD,gBAAgB,EAChB,oBAAoB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ,qGAkHpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Textarea/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,oBAAoB,EAI1B,MAAM,UAAU,CAAC;AAelB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,CAAC;AAEjD,MAAM,WAAW,aACf,SACE,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC,EACxD,gBAAgB,EAChB,oBAAoB;IACtB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ,qGAkHpB,CAAC"}
@@ -17,17 +17,60 @@ import { type TileGroupVariantProps, type TileVariantProps } from './styles';
17
17
  */
18
18
  export interface TileGroupSingleProps extends ITileGroupSingleProps, TileGroupVariantProps {
19
19
  className?: string;
20
+ /**
21
+ * Layout axis. `row` places tiles side by side.
22
+ * @default 'column'
23
+ * @remarks `'column' | 'row'`
24
+ * @fumadocsType `'column' | 'row'`
25
+ */
26
+ direction?: 'column' | 'row' | null | undefined;
27
+ /**
28
+ * Gap between tiles. `none` removes it so rows touch.
29
+ * @default 'default'
30
+ * @remarks `'default' | 'none'`
31
+ * @fumadocsType `'default' | 'none'`
32
+ */
33
+ spacing?: 'default' | 'none' | null | undefined;
20
34
  /** Visual shape inherited by child `Tile`s. Per-tile `shape` overrides this. */
21
35
  shape?: TileVariantProps['shape'];
22
36
  }
23
37
  export interface TileGroupMultipleProps extends ITileGroupMultipleProps, TileGroupVariantProps {
24
38
  className?: string;
39
+ /**
40
+ * Layout axis. `row` places tiles side by side.
41
+ * @default 'column'
42
+ * @remarks `'column' | 'row'`
43
+ * @fumadocsType `'column' | 'row'`
44
+ */
45
+ direction?: 'column' | 'row' | null | undefined;
46
+ /**
47
+ * Gap between tiles. `none` removes it so rows touch.
48
+ * @default 'default'
49
+ * @remarks `'default' | 'none'`
50
+ * @fumadocsType `'default' | 'none'`
51
+ */
52
+ spacing?: 'default' | 'none' | null | undefined;
25
53
  /** Visual shape inherited by child `Tile`s. Per-tile `shape` overrides this. */
26
54
  shape?: TileVariantProps['shape'];
27
55
  }
28
56
  export type TileGroupProps = TileGroupSingleProps | TileGroupMultipleProps;
29
57
  declare const TileGroup: import("react").ForwardRefExoticComponent<TileGroupProps & import("react").RefAttributes<View>>;
30
58
  export interface TileProps extends ITileProps, TileVariantProps {
59
+ /**
60
+ * Visual shape. Overrides the shape inherited from `Tile.Group`.
61
+ * `card` is a bordered surface; `flat` is a borderless row.
62
+ * @default 'card'
63
+ * @remarks `'card' | 'flat'`
64
+ * @fumadocsType `'card' | 'flat'`
65
+ */
66
+ shape?: 'card' | 'flat' | null | undefined;
67
+ /**
68
+ * Renders a bottom border. Omit it on the last row of a tight list.
69
+ * @default false
70
+ * @remarks `boolean`
71
+ * @fumadocsType `boolean`
72
+ */
73
+ showSeparator?: boolean | null | undefined;
31
74
  className?: string;
32
75
  }
33
76
  declare const TileRoot: import("react").ForwardRefExoticComponent<TileProps & import("react").RefAttributes<View>>;
@@ -44,6 +87,11 @@ declare const TileContent: import("react").ForwardRefExoticComponent<TileContent
44
87
  export interface TileTitleProps extends TextProps {
45
88
  asChild?: boolean;
46
89
  className?: string;
90
+ /**
91
+ * Maximum lines before the title truncates.
92
+ * @default 1
93
+ */
94
+ numberOfLines?: number;
47
95
  }
48
96
  declare const TileTitle: import("react").ForwardRefExoticComponent<TileTitleProps & import("react").RefAttributes<Text>>;
49
97
  export interface TileDescriptionProps extends TextProps {
@@ -54,6 +102,7 @@ declare const TileDescription: import("react").ForwardRefExoticComponent<TileDes
54
102
  export interface TileIndicatorProps extends ITileIndicatorProps {
55
103
  asChild?: boolean;
56
104
  className?: string;
105
+ /** Replaces the default radio or checkbox visual when provided. */
57
106
  children?: ReactNode;
58
107
  }
59
108
  declare const TileIndicator: import("react").ForwardRefExoticComponent<TileIndicatorProps & import("react").RefAttributes<View>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAML,cAAc,EACd,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC5B,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EASL,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAqBlB;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB,EAAE,qBAAqB;IACxF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACnC;AACD,MAAM,WAAW,sBAAuB,SAAQ,uBAAuB,EAAE,qBAAqB;IAC5F,SAAS,CAAC,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AAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,SAAS,iGAcd,CAAC;AAIF,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,uGAapB,CAAC;AAuCF,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,aAAa,qGAiBlB,CAAC;AAMF,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,wGAarB,CAAC;AAIF,KAAK,YAAY,GAAG,OAAO,QAAQ,GAAG;IACpC,KAAK,EAAE,OAAO,SAAS,CAAC;IACxB,WAAW,EAAE,OAAO,eAAe,CAAC;IACpC,OAAO,EAAE,OAAO,WAAW,CAAC;IAC5B,KAAK,EAAE,OAAO,SAAS,CAAC;IACxB,WAAW,EAAE,OAAO,eAAe,CAAC;IACpC,SAAS,EAAE,OAAO,aAAa,CAAC;IAChC,YAAY,EAAE,OAAO,gBAAgB,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,IAAI,EAQX,YAAY,CAAC;AAEnB,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -4,7 +4,7 @@ import { ToastColorInternal } from './types';
4
4
  export declare function useButtonColor({ color, toastColor, }: {
5
5
  color: ButtonProps['color'];
6
6
  toastColor: ToastColorInternal;
7
- }): "danger" | "warning" | "success" | "info" | "action";
7
+ }): "action" | "danger" | "warning" | "success" | "info";
8
8
  interface UseVerticalPlaceholderStylesParams {
9
9
  rootClassName?: string;
10
10
  style?: StyleProp<ViewStyle>;
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,GACX,EAAE;IACD,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,UAAU,EAAE,kBAAkB,CAAC;CAChC,wDAmBA;AAED,UAAU,kCAAkC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,aAAa,EACb,KAAK,GACN,EAAE,kCAAkC;;;EAkDpC"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,GACX,EAAE;IACD,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,UAAU,EAAE,kBAAkB,CAAC;CAChC,wDAkBA;AAED,UAAU,kCAAkC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,aAAa,EACb,KAAK,GACN,EAAE,kCAAkC;;;EAkDpC"}
@@ -23,6 +23,21 @@ type ToastCompoundComponent = typeof ToastRoot & {
23
23
  Action: typeof ToastAction;
24
24
  Close: typeof ToastClose;
25
25
  };
26
+ /**
27
+ * Presentational toast root, rendered inside a `toast.show({ component })`
28
+ * render function with the supplied props spread onto it.
29
+ *
30
+ * The root lays out its direct children as a fixed row regardless of JSX
31
+ * order: the first `Toast.Icon` at the start, every `Toast.Action` and
32
+ * `Toast.Close` at the end in source order, and every other child
33
+ * (`Toast.Title`, `Toast.Description`, custom content) in a text column
34
+ * between them. Additional `Toast.Icon` children are dropped.
35
+ *
36
+ * `Toast.Icon`, `Toast.Action`, and `Toast.Close` must be direct children.
37
+ * They are matched by component identity, so wrapping them in `memo()`, an
38
+ * HOC, or a custom component hides them from the root and they render in the
39
+ * text column instead.
40
+ */
26
41
  export declare const Toast: ToastCompoundComponent;
27
42
  export type { ToastColor, ToastPlacement, ToastRootAnimation, ToastProps, ToastTitleProps, ToastDescriptionProps, ToastIconProps, ToastActionProps, ToastCloseProps, ToastContextValue, ToastRootRef, DefaultToastProps, } from './types';
28
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,IAAI,EAAE,MAAM,cAAc,CAAC;AA8B9C,OAAO,KAAK,EACV,iBAAiB,EAKjB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,eAAe,EAChB,MAAM,SAAS,CAAC;AAyBjB,QAAA,MAAM,SAAS,6FAsOb,CAAC;AAIH,QAAA,MAAM,UAAU,kGAoBd,CAAC;AAIH,QAAA,MAAM,gBAAgB,wGAiBpB,CAAC;AAIH,QAAA,MAAM,SAAS;kDAAiD,cAAc;;CA4B7E,CAAC;AAMF,QAAA,MAAM,WAAW,2GAqBf,CAAC;AAIH,QAAA,MA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AO,gBAAgB,CAAC;IACrC,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,MAAM,EAAE,OAAO,WAAW,CAAC;IAC3B,KAAK,EAAE,OAAO,UAAU,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK,EAMZ,sBAAsB,CAAC;AAE7B,YAAY,EACV,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,GAClB,MAAM,SAAS,CAAC"}
@@ -48,6 +48,10 @@ export declare const toastRootVariants: (props?: ({
48
48
  * on the `top-*` / `bottom-*` variants also seeds the entering-state offset synchronously
49
49
  * — CSS transitions to `translate-y-0` when `data-state` flips to `open`.
50
50
  *
51
+ * Centered placements span the row (`inset-x-0`) and center a `w-fit` box with auto margins.
52
+ * Do not center with `left-1/2` + `-translate-x-1/2`: an absolute box that starts at the
53
+ * midpoint shrink-to-fits into half the container, so short labels wrap long before 460px.
54
+ *
51
55
  * `motion-reduce:transition-none` collapses the transition for users with
52
56
  * `prefers-reduced-motion: reduce`. In that case `transitionend` may never fire, so
53
57
  * the Toast component's safety timeout handles removal.
@@ -55,6 +59,12 @@ export declare const toastRootVariants: (props?: ({
55
59
  export declare const toastWrapperVariants: (props?: ({
56
60
  placement?: "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | null | undefined;
57
61
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
62
+ /**
63
+ * Internal text column the root renders between the leading icon and the
64
+ * trailing controls. Holds `Toast.Title`, `Toast.Description`, and any
65
+ * unrecognized children.
66
+ */
67
+ export declare const toastTextVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
58
68
  export declare const toastLabelVariants: (props?: ({
59
69
  color?: "danger" | "warning" | "success" | "info" | "neutral" | null | undefined;
60
70
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -64,6 +74,10 @@ export declare const toastDescriptionVariants: (props?: ({
64
74
  export declare const toastIconVariants: (props?: ({
65
75
  color?: "danger" | "warning" | "success" | "info" | "neutral" | null | undefined;
66
76
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
77
+ export declare const toastActionRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
78
+ export declare const toastActionLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
79
+ export declare const toastCloseRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
80
+ export declare const toastCloseIconVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
67
81
  export declare const toastStyleSheet: {
68
82
  root: {
69
83
  borderCurve: "continuous";
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB;;8EAuB7B,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oBAAoB;;8EAsDhC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAa7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;8EAanC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;8EAa5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;CAI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAWvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB;;8EAwB7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,oBAAoB;;8EAsDhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,oFAAmC,CAAC;AAElE,eAAO,MAAM,kBAAkB;;8EAc7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;8EAcnC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;8EAc5B,CAAC;AAEH,eAAO,MAAM,uBAAuB,oFAGlC,CAAC;AAEH,eAAO,MAAM,wBAAwB,oFAEnC,CAAC;AAEH,eAAO,MAAM,sBAAsB,oFAAuC,CAAC;AAE3E,eAAO,MAAM,sBAAsB,oFAEjC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;CAI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -175,6 +175,15 @@ export interface ToastProps extends ToastRootProps, Omit<ToastComponentProps, 'i
175
175
  * @default true
176
176
  */
177
177
  isAnimatedStyleActive?: boolean;
178
+ /**
179
+ * Laid out automatically: the first `Toast.Icon` at the start, `Toast.Action`
180
+ * and `Toast.Close` at the end, and everything else in a text column between
181
+ * them. Additional `Toast.Icon` children are dropped. `Toast.Icon`,
182
+ * `Toast.Action`, and `Toast.Close` must be **direct** children — wrapping
183
+ * them in `memo()` or an HOC hides them from the layout, and they render in
184
+ * the text column instead.
185
+ */
186
+ children?: React.ReactNode;
178
187
  }
179
188
  /**
180
189
  * Props for the Toast.Title component
@@ -205,7 +214,7 @@ export interface ToastDescriptionProps {
205
214
  /**
206
215
  * Props for the Toast.Icon component
207
216
  */
208
- export interface ToastIconProps extends Omit<IconProps, 'children' | 'as'> {
217
+ export interface ToastIconProps extends Omit<IconProps, 'children' | 'as' | 'color'> {
209
218
  asChild?: boolean;
210
219
  /**
211
220
  * Forge icon component to render. Required unless `asChild` is set.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"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AM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE;QACxB,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,KAAK,MAAM,CAAC;QACrD,IAAI,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,KAAK,IAAI,CAAC;KACxD,KAAK,IAAI,CAAC;IACX;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB"}
@@ -33,7 +33,7 @@ export interface ToggleButtonLabelProps extends TextProps {
33
33
  children?: ReactNode;
34
34
  }
35
35
  declare const ToggleButtonLabel: React.ForwardRefExoticComponent<ToggleButtonLabelProps & React.RefAttributes<Text>>;
36
- export interface ToggleButtonIconProps extends Omit<IconProps, 'children' | 'as'> {
36
+ export interface ToggleButtonIconProps extends Omit<IconProps, 'children' | 'as' | 'color'> {
37
37
  /** Render a custom element instead of the default icon. */
38
38
  asChild?: boolean;
39
39
  /** Forge icon component to render. */
@@ -70,9 +70,11 @@ type ToggleButtonGroupMultipleStyledProps = IToggleButtonGroupMultipleProps & To
70
70
  };
71
71
  export type ToggleButtonGroupProps = ToggleButtonGroupSingleStyledProps | ToggleButtonGroupMultipleStyledProps;
72
72
  declare const ToggleButtonGroup: React.ForwardRefExoticComponent<ToggleButtonGroupProps & React.RefAttributes<View>>;
73
- export declare const ToggleButton: typeof ToggleButtonRoot & {
73
+ type ToggleButtonCompoundComponent = typeof ToggleButtonRoot & {
74
74
  Label: typeof ToggleButtonLabel;
75
75
  Icon: typeof ToggleButtonIcon;
76
+ Group: typeof ToggleButtonGroup;
76
77
  };
77
- export { ToggleButtonGroup };
78
+ export declare const ToggleButton: ToggleButtonCompoundComponent;
79
+ export {};
78
80
  //# sourceMappingURL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AC;IACzF,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sCAAsC;IACtC,EAAE,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,gBAAgB;oEAQnB,qBAAqB;;CAsCvB,CAAC;AAQF,KAAK,kCAAkC,GAAG,6BAA6B,GACrE,6BAA6B,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,KAAK,oCAAoC,GAAG,+BAA+B,GACzE,6BAA6B,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACxC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAC9B,kCAAkC,GAClC,oCAAoC,CAAC;AAgCzC,QAAA,MAAM,iBAAiB,qFAkDtB,CAAC;AAIF,KAAK,6BAA6B,GAAG,OAAO,gBAAgB,GAAG;IAC7D,KAAK,EAAE,OAAO,iBAAiB,CAAC;IAChC,IAAI,EAAE,OAAO,gBAAgB,CAAC;IAC9B,KAAK,EAAE,OAAO,iBAAiB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAInB,6BAA6B,CAAC"}
@@ -10,6 +10,12 @@ export * from './Card';
10
10
  export * from './Carousel';
11
11
  export * from './Checkbox';
12
12
  export * from './Chip';
13
+ export * from './ColorArea';
14
+ export * from './ColorField';
15
+ export * from './ColorPicker';
16
+ export * from './ColorSlider';
17
+ export { ColorSwatch, type ColorSwatchProps, type ColorSwatchVariantProps } from './ColorSwatch';
18
+ export * from './ColorSwatchPicker';
13
19
  export * from './CurrencyInput';
14
20
  export * from './DateField';
15
21
  export * from './Calendar';
@@ -26,6 +32,7 @@ export * from './Divider';
26
32
  export * from './Drawer';
27
33
  export * from './Field';
28
34
  export * from './Form';
35
+ export * from './FullScreenDialog';
29
36
  export * from './Image';
30
37
  export * from './InsuranceDisclosure';
31
38
  export * from './Input';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cA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WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
@@ -1,4 +1,7 @@
1
- /** Keeps the picker popover above app chrome and other absolutely-positioned surfaces. */
2
- export declare const PICKER_POPOVER_Z_INDEX = 9999;
1
+ /**
2
+ * Modal layer, so on web a popover opened from a `Dialog` or `FullScreenDialog` paints above it:
3
+ * equal z-index, and the popover mounts later in `document.body`.
4
+ */
5
+ export declare const PICKER_POPOVER_Z_INDEX = 10000;
3
6
  export declare const pickerPopoverContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
7
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/picker/styles.ts"],"names":[],"mappings":"AAGA,0FAA0F;AAC1F,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAE3C,eAAO,MAAM,4BAA4B,oFAUvC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/picker/styles.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAwB,CAAC;AAE5D,eAAO,MAAM,4BAA4B,oFAUvC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { type ReactNode, type RefObject } from 'react';
2
2
  import { View } from 'react-native';
3
+ import { type OverlayWidthPolicy } from '@cdx-ui/primitives';
3
4
  import { type BottomSheetModalProps } from '../BottomSheet';
4
5
  export declare function PickerDialogSurface({ open, setOpen, registerSurface, children, }: {
5
6
  open: boolean;
@@ -22,7 +23,10 @@ interface PickerPopoverSurfaceProps {
22
23
  triggerRef?: RefObject<View | null>;
23
24
  children: ReactNode;
24
25
  className?: string;
26
+ contentClassName?: string;
27
+ dataSlot?: string;
28
+ width?: OverlayWidthPolicy;
25
29
  }
26
- export declare function PickerPopoverSurface({ open, setOpen, registerSurface, anchorRef, triggerRef, children, className, }: PickerPopoverSurfaceProps): import("react/jsx-runtime").JSX.Element | null;
30
+ export declare function PickerPopoverSurface({ open, setOpen, registerSurface, anchorRef, triggerRef, children, className, contentClassName, dataSlot, width, }: PickerPopoverSurfaceProps): import("react/jsx-runtime").JSX.Element | null;
27
31
  export {};
28
32
  //# sourceMappingURL=surfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../../../src/components/picker/surfaces.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjG,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAUhD,OAAO,EAA+B,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAKzF,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAUA;AAED,KAAK,6BAA6B,GAAG;IACnC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,qBAAqB,EAAE,YAAY,GAAG,qBAAqB,CAAC,CAAC;AAEtE,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,QAAQ,EACR,UAA2B,EAC3B,mBAA2B,GAC5B,EAAE,6BAA6B,2CA+C/B;AAED,UAAU,yBAAyB;IACjC,IA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EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,qBAAqB,EAAE,YAAY,GAAG,qBAAqB,CAAC,CAAC;AAEtE,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,QAAQ,EACR,UAA2B,EAC3B,mBAA2B,GAC5B,EAAE,6BAA6B,2CA+C/B;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,eAAe,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAClC,UAAU,CAAC,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B;AAED,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,OAAO,EACP,eAAe,EACf,SAAS,EACT,UAAU,EACV,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,KAAgB,GACjB,EAAE,yBAAyB,kDA+D3B"}
@@ -0,0 +1,24 @@
1
+ import { type ComponentRef, type ReactNode, type Ref } from 'react';
2
+ import { View, type ViewProps } from 'react-native';
3
+ import { Heading } from '../Heading';
4
+ export type SheetHeaderTitleRef = ComponentRef<typeof Heading>;
5
+ export interface SheetHeaderProps extends Omit<ViewProps, 'children'> {
6
+ title?: string;
7
+ subtitle?: string;
8
+ children?: ReactNode;
9
+ className?: string;
10
+ onClose?: () => void;
11
+ closeAccessibilityLabel?: string;
12
+ onBack?: () => void;
13
+ backAccessibilityLabel?: string;
14
+ /** `nativeID` for the default title, so a host surface can point `aria-labelledby` at it. */
15
+ titleNativeID?: string;
16
+ /** Ref to the default title. Not attached when `children` replaces the title. */
17
+ titleRef?: Ref<SheetHeaderTitleRef>;
18
+ /** Lets the host move focus to the default title. On web it gets `tabIndex={-1}`, so it stays out of the tab order. */
19
+ titleFocusable?: boolean;
20
+ /** Replaces the default header surface class. */
21
+ backgroundClassName?: string;
22
+ }
23
+ export declare const SheetHeader: import("react").ForwardRefExoticComponent<SheetHeaderProps & import("react").RefAttributes<View>>;
24
+ //# sourceMappingURL=index.d.ts.map