@cdx-ui/components 0.1.5 → 0.1.7

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 (242) 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/Dialog/index.js.map +1 -1
  14. package/lib/commonjs/components/Divider/index.js.map +1 -1
  15. package/lib/commonjs/components/Form/styles.js +1 -1
  16. package/lib/commonjs/components/Form/styles.js.map +1 -1
  17. package/lib/commonjs/components/FullScreenDialog/animation.js +46 -0
  18. package/lib/commonjs/components/FullScreenDialog/animation.js.map +1 -0
  19. package/lib/commonjs/components/FullScreenDialog/index.js +343 -0
  20. package/lib/commonjs/components/FullScreenDialog/index.js.map +1 -0
  21. package/lib/commonjs/components/FullScreenDialog/styles.js +14 -0
  22. package/lib/commonjs/components/FullScreenDialog/styles.js.map +1 -0
  23. package/lib/commonjs/components/IconButton/styles.js +7 -5
  24. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  25. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -1
  26. package/lib/commonjs/components/Link/index.js.map +1 -1
  27. package/lib/commonjs/components/ListItem/index.js +2 -0
  28. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  29. package/lib/commonjs/components/ListItem/styles.js +6 -0
  30. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  31. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  32. package/lib/commonjs/components/Radio/index.js.map +1 -1
  33. package/lib/commonjs/components/ScopedTheme/index.js +11 -3
  34. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -1
  35. package/lib/commonjs/components/Skeleton/index.js.map +1 -1
  36. package/lib/commonjs/components/Stack/HStack.js.map +1 -1
  37. package/lib/commonjs/components/Stack/VStack.js.map +1 -1
  38. package/lib/commonjs/components/Textarea/index.js.map +1 -1
  39. package/lib/commonjs/components/Tile/index.js.map +1 -1
  40. package/lib/commonjs/components/Toast/index.js +40 -12
  41. package/lib/commonjs/components/Toast/index.js.map +1 -1
  42. package/lib/commonjs/components/Toast/styles.js +15 -4
  43. package/lib/commonjs/components/Toast/styles.js.map +1 -1
  44. package/lib/commonjs/components/ToggleButton/index.js +249 -0
  45. package/lib/commonjs/components/ToggleButton/index.js.map +1 -0
  46. package/lib/commonjs/components/ToggleButton/styles.js +155 -0
  47. package/lib/commonjs/components/ToggleButton/styles.js.map +1 -0
  48. package/lib/commonjs/components/index.js +24 -0
  49. package/lib/commonjs/components/index.js.map +1 -1
  50. package/lib/commonjs/components/picker/styles.js +6 -2
  51. package/lib/commonjs/components/picker/styles.js.map +1 -1
  52. package/lib/commonjs/components/sheet-header/index.js +97 -0
  53. package/lib/commonjs/components/sheet-header/index.js.map +1 -0
  54. package/lib/commonjs/components/sheet-header/styles.js +28 -0
  55. package/lib/commonjs/components/sheet-header/styles.js.map +1 -0
  56. package/lib/commonjs/figma/BottomSheet.figma.js +1 -1
  57. package/lib/commonjs/providers/toast/provider.js +44 -11
  58. package/lib/commonjs/providers/toast/provider.js.map +1 -1
  59. package/lib/module/components/Alert/index.js.map +1 -1
  60. package/lib/module/components/Avatar/index.js +6 -4
  61. package/lib/module/components/Avatar/index.js.map +1 -1
  62. package/lib/module/components/Badge/index.js.map +1 -1
  63. package/lib/module/components/Badge/styles.js +2 -2
  64. package/lib/module/components/BottomSheet/index.js +110 -95
  65. package/lib/module/components/BottomSheet/index.js.map +1 -1
  66. package/lib/module/components/BottomSheet/styles.js +0 -11
  67. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  68. package/lib/module/components/Button/index.js.map +1 -1
  69. package/lib/module/components/Card/index.js.map +1 -1
  70. package/lib/module/components/Dialog/index.js.map +1 -1
  71. package/lib/module/components/Divider/index.js.map +1 -1
  72. package/lib/module/components/Form/styles.js +1 -1
  73. package/lib/module/components/Form/styles.js.map +1 -1
  74. package/lib/module/components/FullScreenDialog/animation.js +41 -0
  75. package/lib/module/components/FullScreenDialog/animation.js.map +1 -0
  76. package/lib/module/components/FullScreenDialog/index.js +338 -0
  77. package/lib/module/components/FullScreenDialog/index.js.map +1 -0
  78. package/lib/module/components/FullScreenDialog/styles.js +10 -0
  79. package/lib/module/components/FullScreenDialog/styles.js.map +1 -0
  80. package/lib/module/components/IconButton/styles.js +7 -4
  81. package/lib/module/components/IconButton/styles.js.map +1 -1
  82. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -1
  83. package/lib/module/components/Link/index.js.map +1 -1
  84. package/lib/module/components/ListItem/index.js +2 -0
  85. package/lib/module/components/ListItem/index.js.map +1 -1
  86. package/lib/module/components/ListItem/styles.js +6 -0
  87. package/lib/module/components/ListItem/styles.js.map +1 -1
  88. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  89. package/lib/module/components/Radio/index.js.map +1 -1
  90. package/lib/module/components/ScopedTheme/index.js +11 -3
  91. package/lib/module/components/ScopedTheme/index.js.map +1 -1
  92. package/lib/module/components/Skeleton/index.js.map +1 -1
  93. package/lib/module/components/Stack/HStack.js.map +1 -1
  94. package/lib/module/components/Stack/VStack.js.map +1 -1
  95. package/lib/module/components/Textarea/index.js.map +1 -1
  96. package/lib/module/components/Tile/index.js.map +1 -1
  97. package/lib/module/components/Toast/index.js +43 -15
  98. package/lib/module/components/Toast/index.js.map +1 -1
  99. package/lib/module/components/Toast/styles.js +14 -3
  100. package/lib/module/components/Toast/styles.js.map +1 -1
  101. package/lib/module/components/ToggleButton/index.js +245 -0
  102. package/lib/module/components/ToggleButton/index.js.map +1 -0
  103. package/lib/module/components/ToggleButton/styles.js +152 -0
  104. package/lib/module/components/ToggleButton/styles.js.map +1 -0
  105. package/lib/module/components/index.js +2 -0
  106. package/lib/module/components/index.js.map +1 -1
  107. package/lib/module/components/picker/styles.js +6 -2
  108. package/lib/module/components/picker/styles.js.map +1 -1
  109. package/lib/module/components/sheet-header/index.js +94 -0
  110. package/lib/module/components/sheet-header/index.js.map +1 -0
  111. package/lib/module/components/sheet-header/styles.js +25 -0
  112. package/lib/module/components/sheet-header/styles.js.map +1 -0
  113. package/lib/module/figma/BottomSheet.figma.js +1 -1
  114. package/lib/module/providers/toast/provider.js +44 -11
  115. package/lib/module/providers/toast/provider.js.map +1 -1
  116. package/lib/typescript/components/Alert/index.d.ts +4 -1
  117. package/lib/typescript/components/Alert/index.d.ts.map +1 -1
  118. package/lib/typescript/components/Avatar/index.d.ts +10 -4
  119. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  120. package/lib/typescript/components/Badge/index.d.ts +34 -0
  121. package/lib/typescript/components/Badge/index.d.ts.map +1 -1
  122. package/lib/typescript/components/BottomSheet/index.d.ts +12 -1
  123. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  124. package/lib/typescript/components/BottomSheet/styles.d.ts +0 -5
  125. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  126. package/lib/typescript/components/Button/index.d.ts +9 -1
  127. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  128. package/lib/typescript/components/Card/index.d.ts +14 -0
  129. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  130. package/lib/typescript/components/Chip/index.d.ts +1 -1
  131. package/lib/typescript/components/CurrencyInput/index.d.ts +2 -2
  132. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -1
  133. package/lib/typescript/components/Dialog/index.d.ts +10 -0
  134. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  135. package/lib/typescript/components/Dialog/styles.d.ts +1 -0
  136. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  137. package/lib/typescript/components/Divider/index.d.ts +5 -0
  138. package/lib/typescript/components/Divider/index.d.ts.map +1 -1
  139. package/lib/typescript/components/Drawer/styles.d.ts +1 -1
  140. package/lib/typescript/components/Form/styles.d.ts.map +1 -1
  141. package/lib/typescript/components/FullScreenDialog/animation.d.ts +9 -0
  142. package/lib/typescript/components/FullScreenDialog/animation.d.ts.map +1 -0
  143. package/lib/typescript/components/FullScreenDialog/index.d.ts +85 -0
  144. package/lib/typescript/components/FullScreenDialog/index.d.ts.map +1 -0
  145. package/lib/typescript/components/FullScreenDialog/styles.d.ts +6 -0
  146. package/lib/typescript/components/FullScreenDialog/styles.d.ts.map +1 -0
  147. package/lib/typescript/components/IconButton/styles.d.ts +5 -0
  148. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  149. package/lib/typescript/components/Input/index.d.ts +1 -1
  150. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +1 -0
  151. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -1
  152. package/lib/typescript/components/Link/index.d.ts +2 -0
  153. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  154. package/lib/typescript/components/ListItem/index.d.ts +43 -4
  155. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  156. package/lib/typescript/components/ListItem/styles.d.ts +2 -0
  157. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  158. package/lib/typescript/components/ProgressSegmented/index.d.ts +10 -3
  159. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  160. package/lib/typescript/components/Radio/index.d.ts +1 -0
  161. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  162. package/lib/typescript/components/ScopedTheme/index.d.ts +11 -3
  163. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -1
  164. package/lib/typescript/components/Skeleton/index.d.ts +5 -1
  165. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -1
  166. package/lib/typescript/components/Stack/HStack.d.ts +6 -0
  167. package/lib/typescript/components/Stack/HStack.d.ts.map +1 -1
  168. package/lib/typescript/components/Stack/VStack.d.ts +6 -0
  169. package/lib/typescript/components/Stack/VStack.d.ts.map +1 -1
  170. package/lib/typescript/components/Switch/index.d.ts +1 -1
  171. package/lib/typescript/components/Tabs/index.d.ts +2 -2
  172. package/lib/typescript/components/Textarea/index.d.ts +1 -0
  173. package/lib/typescript/components/Textarea/index.d.ts.map +1 -1
  174. package/lib/typescript/components/Tile/index.d.ts +49 -0
  175. package/lib/typescript/components/Tile/index.d.ts.map +1 -1
  176. package/lib/typescript/components/Toast/index.d.ts +15 -0
  177. package/lib/typescript/components/Toast/index.d.ts.map +1 -1
  178. package/lib/typescript/components/Toast/styles.d.ts +10 -0
  179. package/lib/typescript/components/Toast/styles.d.ts.map +1 -1
  180. package/lib/typescript/components/Toast/types.d.ts +9 -0
  181. package/lib/typescript/components/Toast/types.d.ts.map +1 -1
  182. package/lib/typescript/components/ToggleButton/index.d.ts +78 -0
  183. package/lib/typescript/components/ToggleButton/index.d.ts.map +1 -0
  184. package/lib/typescript/components/ToggleButton/styles.d.ts +30 -0
  185. package/lib/typescript/components/ToggleButton/styles.d.ts.map +1 -0
  186. package/lib/typescript/components/index.d.ts +2 -0
  187. package/lib/typescript/components/index.d.ts.map +1 -1
  188. package/lib/typescript/components/picker/styles.d.ts +5 -2
  189. package/lib/typescript/components/picker/styles.d.ts.map +1 -1
  190. package/lib/typescript/components/sheet-header/index.d.ts +24 -0
  191. package/lib/typescript/components/sheet-header/index.d.ts.map +1 -0
  192. package/lib/typescript/components/sheet-header/styles.d.ts +12 -0
  193. package/lib/typescript/components/sheet-header/styles.d.ts.map +1 -0
  194. package/lib/typescript/providers/toast/provider.d.ts +1 -1
  195. package/lib/typescript/providers/toast/provider.d.ts.map +1 -1
  196. package/lib/typescript/providers/toast/types.d.ts +16 -4
  197. package/lib/typescript/providers/toast/types.d.ts.map +1 -1
  198. package/package.json +5 -5
  199. package/src/components/Alert/index.tsx +4 -1
  200. package/src/components/Avatar/index.tsx +10 -4
  201. package/src/components/Badge/index.tsx +34 -0
  202. package/src/components/Badge/styles.ts +2 -2
  203. package/src/components/BottomSheet/index.tsx +156 -125
  204. package/src/components/BottomSheet/styles.ts +1 -22
  205. package/src/components/Button/index.tsx +9 -1
  206. package/src/components/Card/index.tsx +14 -0
  207. package/src/components/Chip/index.tsx +1 -1
  208. package/src/components/CurrencyInput/index.tsx +2 -2
  209. package/src/components/Dialog/index.tsx +10 -0
  210. package/src/components/Dialog/styles.ts +1 -0
  211. package/src/components/Divider/index.tsx +5 -0
  212. package/src/components/Form/styles.ts +1 -1
  213. package/src/components/FullScreenDialog/animation.ts +22 -0
  214. package/src/components/FullScreenDialog/index.tsx +484 -0
  215. package/src/components/FullScreenDialog/styles.ts +23 -0
  216. package/src/components/IconButton/styles.ts +7 -4
  217. package/src/components/Input/index.tsx +1 -1
  218. package/src/components/InsuranceDisclosure/index.tsx +1 -0
  219. package/src/components/Link/index.tsx +2 -0
  220. package/src/components/ListItem/index.tsx +48 -4
  221. package/src/components/ListItem/styles.ts +7 -0
  222. package/src/components/ProgressSegmented/index.tsx +10 -3
  223. package/src/components/Radio/index.tsx +1 -0
  224. package/src/components/ScopedTheme/index.tsx +11 -3
  225. package/src/components/Skeleton/index.tsx +5 -1
  226. package/src/components/Stack/HStack.tsx +6 -0
  227. package/src/components/Stack/VStack.tsx +6 -0
  228. package/src/components/Switch/index.tsx +1 -1
  229. package/src/components/Tabs/index.tsx +2 -2
  230. package/src/components/Textarea/index.tsx +1 -0
  231. package/src/components/Tile/index.tsx +49 -0
  232. package/src/components/Toast/index.tsx +55 -9
  233. package/src/components/Toast/styles.ts +14 -3
  234. package/src/components/Toast/types.ts +9 -0
  235. package/src/components/ToggleButton/index.tsx +346 -0
  236. package/src/components/ToggleButton/styles.ts +191 -0
  237. package/src/components/index.ts +2 -0
  238. package/src/components/picker/styles.ts +6 -2
  239. package/src/components/sheet-header/index.tsx +148 -0
  240. package/src/components/sheet-header/styles.ts +28 -0
  241. package/src/providers/toast/provider.tsx +47 -13
  242. package/src/providers/toast/types.ts +16 -4
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAClG,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EACL,KAAK,kBAAkB,EAMxB,MAAM,UAAU,CAAC;AAgClB,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC;AACvE,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;AAEnE,MAAM,WAAW,WACf,SAAQ,SAAS,EAAE,YAAY,EAAE,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACxF;;;OAGG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU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CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAuBf,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU;8CAA6C,eAAe;;CAyB3E,CAAC;AAQF;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,QAAA,MAAM,WAAW,mGAkBhB,CAAC;AAQF,KAAK,uBAAuB,GAAG,OAAO,UAAU,GAAG;IACjD,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,KAAK,EAAE,OAAO,WAAW,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,MAAM,EAKb,uBAAuB,CAAC;AAE9B,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -3,8 +3,42 @@ import { View, type ViewProps } from 'react-native';
3
3
  import type { ForgeIcon } from '@cdx-ui/icons';
4
4
  import { type BadgeVariantProps } from './styles';
5
5
  export interface BadgeProps extends ViewProps, BadgeVariantProps {
6
+ /**
7
+ * `default` shows icon or label content. `dot` is a contentless circle and ignores `icon` and `label`.
8
+ * @default 'default'
9
+ * @remarks `'default' | 'dot'`
10
+ * @fumadocsType `'default' | 'dot'`
11
+ */
12
+ variant?: 'default' | 'dot' | null | undefined;
13
+ /**
14
+ * Semantic color of the indicator background and its content.
15
+ * @default 'action'
16
+ * @remarks `'action' | 'danger' | 'warning' | 'success' | 'info'`
17
+ * @fumadocsType `'action' | 'danger' | 'warning' | 'success' | 'info'`
18
+ */
19
+ color?: 'action' | 'danger' | 'warning' | 'success' | 'info' | null | undefined;
20
+ /**
21
+ * Corner of the host. Logical and RTL-aware: `end` is the right edge in LTR.
22
+ * @default 'top-end'
23
+ * @remarks `'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'`
24
+ * @fumadocsType `'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'`
25
+ */
26
+ placement?: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | null | undefined;
27
+ /**
28
+ * `circular` sits the indicator on a round host (Avatar, IconButton). `rectangular` centers it on a box corner (Button).
29
+ * @default 'rectangular'
30
+ * @remarks `'circular' | 'rectangular'`
31
+ * @fumadocsType `'circular' | 'rectangular'`
32
+ */
33
+ overlap?: 'circular' | 'rectangular' | null | undefined;
6
34
  children?: ReactNode;
35
+ /**
36
+ * Indicator content for `variant="default"`. A string or number is styled as text; any other node renders as-is. Ignored when `variant` is `dot` or when `icon` is set.
37
+ */
7
38
  label?: ReactNode;
39
+ /**
40
+ * Forge icon for `variant="default"`. Takes precedence over `label`. Ignored when `variant` is `dot`.
41
+ */
8
42
  icon?: ForgeIcon;
9
43
  className?: string;
10
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAQ,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,UAAU,CAAC;AAIlB,MAAM,WAAW,UAAW,SAAQ,SAAS,EAAE,iBAAiB;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAA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AAK,EAAE,CAAC;AACjB,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
@@ -4,19 +4,27 @@ import { BottomSheetModal, BottomSheetModalProvider, BottomSheetScrollView, Bott
4
4
  /** Ref type for BottomSheet; forwards the @gorhom modal ref (present, dismiss, snapToIndex, minimize, restore, etc.). */
5
5
  export type BottomSheetModalRef = React.ComponentRef<typeof BottomSheetModal>;
6
6
  export interface BottomSheetHeaderProps {
7
+ /** Title text. Ignored when `children` is set. */
7
8
  title?: string;
9
+ /** Secondary line under the title. Has no effect without `title`, or when `children` is set. */
8
10
  subtitle?: string;
11
+ /** Custom header content. Replaces `title` and `subtitle`. */
9
12
  children?: ReactNode;
10
13
  className?: string;
14
+ /** Shows the close button when set. */
11
15
  onClose?: () => void;
16
+ /** Accessible name for the close button. @default Close */
12
17
  closeAccessibilityLabel?: string;
18
+ /** Shows the back button when set. */
13
19
  onBack?: () => void;
20
+ /** Accessible name for the back button. @default Go back */
14
21
  backAccessibilityLabel?: string;
15
22
  }
16
23
  declare const BottomSheetHeader: React.ForwardRefExoticComponent<BottomSheetHeaderProps & React.RefAttributes<View>>;
17
24
  export interface BottomSheetContentProps {
18
25
  children?: ReactNode;
19
26
  className?: string;
27
+ /** Adds bottom padding equal to the safe-area inset. */
20
28
  hasSafeAreaInset?: boolean;
21
29
  style?: ViewStyle;
22
30
  }
@@ -30,7 +38,10 @@ declare const BottomSheetFooter: React.ForwardRefExoticComponent<BottomSheetFoot
30
38
  export interface BottomSheetModalProps extends GorhomBottomSheetModalProps {
31
39
  /** Show the drag handle indicator. When false, `handleComponent` is set to null. @default true */
32
40
  handleVisible?: boolean;
33
- /** Footer content rendered via gorhom's BottomSheetFooter for proper animated positioning and safe-area handling. */
41
+ /**
42
+ * Footer content rendered via gorhom's BottomSheetFooter for animated positioning and safe-area handling.
43
+ * Pass it through this prop; a footer placed as a child does not animate with the sheet.
44
+ */
34
45
  footer?: ReactNode;
35
46
  }
36
47
  declare const BottomSheetModalStyled: React.ForwardRefExoticComponent<BottomSheetModalProps & React.RefAttributes<BottomSheetModal<unknown>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA+C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3F,OAAO,EAAc,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG3D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,eAAe,EAMf,KAAK,qBAAqB,IAAI,2BAA2B,EAC1D,MAAM,sBAAsB,CAAC;AAoB9B,yHAAyH;AACzH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE9E,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAuDD,QAAA,MAAM,iBAAiB,qFAAuE,CAAC;AAmE/F,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,QAAA,MAAM,kBAAkB,sFAevB,CAAC;AAOF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,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;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAoBD,QAAA,MAAM,sBAAsB,yGAmJ1B,CAAC;AAQH,iBAAS,2BAA2B,CAAC,EACnC,4BAAmC,EACnC,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,qBAAqB,CAAC,2CAM9D;kBAVQ,2BAA2B;;;AAkBpC,iBAAS,qBAAqB,CAAC,EAC7B,4BAAmC,EACnC,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,2CAMxD;kBAVQ,qBAAqB;;;AAsB9B,UAAU,mBAAmB;IAC3B,KAAK,EAAE,OAAO,sBAAsB,CAAC;IACrC,MAAM,EAAE,OAAO,iBAAiB,CAAC;IACjC,OAAO,EAAE,OAAO,kBAAkB,CAAC;IACnC,MAAM,EAAE,OAAO,iBAAiB,CAAC;IACjC,QAAQ,EAAE,OAAO,wBAAwB,CAAC;IAC1C,UAAU,EAAE,OAAO,2BAA2B,CAAC;IAC/C,IAAI,EAAE,OAAO,qBAAqB,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,EAQnB,mBAAmB,CAAC;AAIzB,wBAAgB,cAAc;;;;EAS7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,wBAAwB,oGAEvC"}
@@ -1,12 +1,7 @@
1
- import { type VariantProps } from '@cdx-ui/utils';
2
1
  /** Keep gorhom's animated container unclipped so web transforms can settle correctly. */
3
2
  export declare const bottomSheetModalContainerClassName = "rounded-t-4xl";
4
3
  /** Clip the static background for rounded corners without clipping the animated sheet. */
5
4
  export declare const bottomSheetBackgroundClassName = "rounded-t-4xl overflow-hidden bg-surface-primary";
6
- export declare const bottomSheetHeaderVariants: (props?: ({
7
- hasTitle?: boolean | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
5
  export declare const bottomSheetContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
6
  export declare const bottomSheetFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
- export type BottomSheetHeaderVariants = VariantProps<typeof bottomSheetHeaderVariants>;
12
7
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAEvD,yFAAyF;AACzF,eAAO,MAAM,kCAAkC,kBAAkB,CAAC;AAElE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B,qDAA6E,CAAC;AAEzH,eAAO,MAAM,yBAAyB;;8EAiBrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oFAAiD,CAAC;AAEzF,eAAO,MAAM,yBAAyB,oFAAiD,CAAC;AAExF,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/BottomSheet/styles.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,eAAO,MAAM,kCAAkC,kBAAkB,CAAC;AAElE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B,qDAA6E,CAAC;AAEzH,eAAO,MAAM,0BAA0B,oFAAiD,CAAC;AAEzF,eAAO,MAAM,yBAAyB,oFAAiD,CAAC"}
@@ -92,7 +92,10 @@ export interface ButtonSpinnerProps extends ActivityIndicatorProps {
92
92
  asChild?: boolean;
93
93
  /** Additional Uniwind/Tailwind classes for the spinner container. */
94
94
  className?: string;
95
- /** Uniwind `accent-*` color class override for the spinner. */
95
+ /**
96
+ * Uniwind `accent-*` color class override for the spinner.
97
+ * When omitted, the color is derived from the parent button's `variant` and `color`.
98
+ */
96
99
  colorClassName?: string;
97
100
  /**
98
101
  * Position hint that emits `data-icon="inline-start"` or `data-icon="inline-end"`.
@@ -100,6 +103,11 @@ export interface ButtonSpinnerProps extends ActivityIndicatorProps {
100
103
  * Omit to apply the symmetric baseline gap.
101
104
  */
102
105
  position?: IconSlotPosition;
106
+ /**
107
+ * Screen reader label for the spinner.
108
+ * @default 'Loading'
109
+ */
110
+ accessibilityLabel?: string;
103
111
  }
104
112
  declare const ButtonSpinner: React.ForwardRefExoticComponent<ButtonSpinnerProps & React.RefAttributes<ActivityIndicator>>;
105
113
  type ButtonCompoundComponent = typeof ButtonRoot & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,IAAI,EACJ,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAQ5B,OAAO,EAAQ,SAAS,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAsB,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EAOxB,MAAM,UAAU,CAAC;AAUlB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAE1D,MAAM,WAAW,WAAY,SAAQ,cAAc,EAAE,YAAY;IAC/D;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IAC7D;;;OAGG;IACH,IAAI,CAAC,EAAE,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  import { type CardContentVariantProps, type CardFooterVariantProps, type CardVariantProps } from './styles';
4
4
  export interface CardProps extends ViewProps, CardVariantProps {
5
+ /**
6
+ * When `true`, `Card.Content` drops its padding and `Card.Footer` uses standalone
7
+ * padding. Both inherit this unless they set their own `fullBleed`.
8
+ */
9
+ fullBleed?: CardVariantProps['fullBleed'];
5
10
  asChild?: boolean;
6
11
  className?: string;
7
12
  children?: ReactNode;
@@ -19,12 +24,21 @@ export interface CardHeaderProps extends ViewProps {
19
24
  }
20
25
  declare const CardHeader: import("react").ForwardRefExoticComponent<CardHeaderProps & import("react").RefAttributes<View>>;
21
26
  export interface CardContentProps extends ViewProps, CardContentVariantProps {
27
+ /**
28
+ * Removes this region's padding. Inherits the parent `Card`'s `fullBleed` when omitted.
29
+ */
30
+ fullBleed?: CardContentVariantProps['fullBleed'];
22
31
  asChild?: boolean;
23
32
  className?: string;
24
33
  children?: ReactNode;
25
34
  }
26
35
  declare const CardContent: import("react").ForwardRefExoticComponent<CardContentProps & import("react").RefAttributes<View>>;
27
36
  export interface CardFooterProps extends ViewProps, CardFooterVariantProps {
37
+ /**
38
+ * Uses standalone padding instead of flush-top padding. Inherits the parent
39
+ * `Card`'s `fullBleed` when omitted.
40
+ */
41
+ fullBleed?: CardFooterVariantProps['fullBleed'];
28
42
  asChild?: boolean;
29
43
  className?: string;
30
44
  children?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAML,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAUlB,MAAM,WAAW,SAAU,SAAQ,SAAS,EAAE,gBAAgB;IAC5D,OAAO,CAAC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,CAAC;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAqBf,CAAC;AAQF,KAAK,qBAAqB,GAAG,OAAO,QAAQ,GAAG;IAC7C,MAAM,EAAE,OAAO,UAAU,CAAC;IAC1B,MAAM,EAAE,OAAO,UAAU,CAAC;IAC1B,OAAO,EAAE,OAAO,WAAW,CAAC;IAC5B,MAAM,EAAE,OAAO,UAAU,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,IAAI,EAKX,qBAAqB,CAAC"}
@@ -13,7 +13,7 @@ export type ChipColor = 'neutral' | 'action' | 'danger' | 'warning' | 'success'
13
13
  export type ChipColorDefault = 'default';
14
14
  export interface ChipProps extends IChipProps, Omit<ChipVariantProps, 'variant' | 'color'> {
15
15
  /**
16
- * Visual style variant.
16
+ * Filled subtle surface (`subtle`) or transparent with a border (`outline`).
17
17
  * @default 'subtle'
18
18
  */
19
19
  variant?: ChipVariant
@@ -2,9 +2,9 @@ import { type TextInput, type TextInputProps, type ViewProps } from 'react-nativ
2
2
  import { type IInputFieldProps } from '@cdx-ui/primitives';
3
3
  import { type CurrencyInputVariantProps } from './styles';
4
4
  export interface CurrencyInputProps extends IInputFieldProps, CurrencyInputVariantProps, Pick<TextInputProps, 'accessibilityLabel' | 'accessibilityHint' | 'testID' | 'onFocus' | 'onBlur' | 'returnKeyType'> {
5
- /** Current numeric value. Renders formatted zero when undefined or null. */
5
+ /** Current amount in major currency units, not cents. Renders a formatted zero when omitted or null. */
6
6
  value?: number;
7
- /** Called with the parsed number when the user changes the amount. */
7
+ /** Called with the parsed amount in major currency units, not cents, when the user edits the field. */
8
8
  onChangeValue?: (value: number) => void;
9
9
  /** Currency symbol rendered as an inline prefix. Defaults to `"$"`. */
10
10
  currencySymbol?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CurrencyInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,yBAAyB,EAG/B,MAAM,UAAU,CAAC;AAqBlB,MAAM,WAAW,kBACf,SACE,gBAAgB,EAChB,yBAAyB,EACzB,IAAI,CACF,cAAc,EACd,oBAAoB,GAAG,mBAAmB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,eAAe,CAC/F;IACH,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,0GA2IzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CurrencyInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,KAAK,yBAAyB,EAG/B,MAAM,UAAU,CAAC;AAqBlB,MAAM,WAAW,kBACf,SACE,gBAAgB,EAChB,yBAAyB,EACzB,IAAI,CACF,cAAc,EACd,oBAAoB,GAAG,mBAAmB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,eAAe,CAC/F;IACH,wGAAwG;IACxG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uGAAuG;IACvG,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,0GA2IzB,CAAC"}
@@ -6,6 +6,7 @@ import { type DialogTitleVariantProps, type DialogVariantProps } from './styles'
6
6
  export { useDialog } from '@cdx-ui/primitives';
7
7
  export interface DialogRootProps extends Omit<ViewProps, 'children' | 'role'>, IDialogRootProps, DialogVariantProps {
8
8
  className?: string;
9
+ /** Pass `'disable-all'` to turn off enter/exit and swipe animations for the popup and overlay. */
9
10
  animation?: AnimationRootDisableAll;
10
11
  }
11
12
  declare const DialogRoot: import("react").ForwardRefExoticComponent<DialogRootProps & import("react").RefAttributes<View>>;
@@ -17,7 +18,16 @@ declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogTri
17
18
  export interface DialogPopupProps extends Omit<IDialogContentProps, 'asChild'>, Pick<DialogVariantProps, 'size'> {
18
19
  className?: string;
19
20
  children?: ReactNode;
21
+ /**
22
+ * On iOS, render in a plain `View` instead of `FullWindowOverlay`. Re-enables
23
+ * the element inspector, but the popup no longer layers above native modals.
24
+ * @default false
25
+ */
20
26
  disableFullWindowOverlay?: boolean;
27
+ /**
28
+ * Allow swipe-down to dismiss. Native only; no effect on web.
29
+ * @default true
30
+ */
21
31
  isSwipeable?: boolean;
22
32
  /**
23
33
  * Stacking order for the portal overlay layer (backdrop + popup panel).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,IAAI,EACJ,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,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SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,mGAmBhB,CAAC;AAQF,KAAK,uBAAuB,GAAG,OAAO,UAAU,GAAG;IACjD,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,MAAM,EAAE,OAAO,YAAY,CAAC;IAC5B,KAAK,EAAE,OAAO,WAAW,CAAC;IAC1B,WAAW,EAAE,OAAO,iBAAiB,CAAC;IACtC,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,MAAM,EAAE,OAAO,YAAY,CAAC;IAC5B,KAAK,EAAE,OAAO,WAAW,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,MAAM,EAUb,uBAAuB,CAAC;AAE9B,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -20,6 +20,7 @@ export declare const dialogFooterVariants: (props?: import("class-variance-autho
20
20
  export declare const dialogCloseVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
21
21
  export declare const dialogCloseIconVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
22
22
  export type DialogVariantProps = VariantProps<typeof dialogPopupVariants> & {
23
+ /** Removes horizontal padding from `Dialog.Content`. @default false */
23
24
  fullBleed?: boolean;
24
25
  };
25
26
  export type DialogTitleVariantProps = VariantProps<typeof dialogTitleVariants>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAKvD,eAAO,MAAM,oBAAoB,oFAAmD,CAAC;AAIrF,eAAO,MAAM,qBAAqB,oFAQhC,CAAC;AAIH,eAAO,MAAM,mBAAmB;;8EA2B/B,CAAC;AAIF,eAAO,MAAM,oBAAoB,oFAG/B,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C,GAAG;IAC1E,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -5,9 +5,14 @@ export interface DividerProps extends ViewProps {
5
5
  className?: string;
6
6
  /** Renders a vertical divider instead of the default horizontal orientation. */
7
7
  vertical?: boolean;
8
+ /**
9
+ * When present, splits the divider into line, content, line.
10
+ * Use `Divider.Label` so the label receives the correct typography and accessibility treatment.
11
+ */
8
12
  children?: ReactNode;
9
13
  }
10
14
  export interface DividerLabelProps extends TextProps {
15
+ /** Renders the consumer's child element in place of the default `Text` host. */
11
16
  asChild?: boolean;
12
17
  className?: string;
13
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAS/C,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,QAAA,MAAM,WAAW,+FAkChB,CAAC;AAIF,QAAA,MAAM,YAAY,oGAgBjB,CAAC;AAIF,KAAK,wBAAwB,GAAG,OAAO,WAAW,GAAG;IACnD,KAAK,EAAE,OAAO,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,OAAO,EAEd,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAS/C,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,QAAA,MAAM,WAAW,+FAkChB,CAAC;AAIF,QAAA,MAAM,YAAY,oGAgBjB,CAAC;AAIF,KAAK,wBAAwB,GAAG,OAAO,WAAW,GAAG;IACnD,KAAK,EAAE,OAAO,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,OAAO,EAEd,wBAAwB,CAAC"}
@@ -3,7 +3,7 @@ export declare const drawerPortalVariants: (props?: import("class-variance-autho
3
3
  export declare const drawerOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
4
  export declare const drawerPanelVariants: (props?: ({
5
5
  size?: "small" | "default" | "large" | null | undefined;
6
- variant?: "permanent" | "modal" | null | undefined;
6
+ variant?: "modal" | "permanent" | null | undefined;
7
7
  placement?: "bottom" | "left" | "right" | "top" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  export declare const drawerHeaderVariants: (props?: ({
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,oFAA0B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,oFAA+B,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const FULL_SCREEN_DIALOG_ENTER_MS = 300;
2
+ export declare const FULL_SCREEN_DIALOG_EXIT_MS = 220;
3
+ export declare const WEB_TRANSITION_SAFETY_MS: number;
4
+ /** Native slide-up surface motion. `offscreen` is the distance below the viewport to start from. */
5
+ export declare function getFullScreenDialogSurfaceMotion(offscreen: number): {
6
+ entering: import("react-native-reanimated").ReanimatedKeyframe;
7
+ exiting: import("react-native-reanimated").ReanimatedKeyframe;
8
+ };
9
+ //# sourceMappingURL=animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/animation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,wBAAwB,QAAoC,CAAC;AAK1E,oGAAoG;AACpG,wBAAgB,gCAAgC,CAAC,SAAS,EAAE,MAAM;;;EAWjE"}
@@ -0,0 +1,85 @@
1
+ import { type ReactNode } from 'react';
2
+ import { View, type ViewProps } from 'react-native';
3
+ import { type IDialogContentProps, type IDialogRootProps, type IDialogTriggerProps } from '@cdx-ui/primitives';
4
+ import { type AnimationRootDisableAll } from '../../animation';
5
+ export interface FullScreenDialogRootProps extends Omit<ViewProps, 'children' | 'role'>, Omit<IDialogRootProps, 'closeOnBackdropPress' | 'role' | 'onOpenChange' | 'defaultOpen' | 'closeOnEscKey' | 'children'> {
6
+ /**
7
+ * Called with the next open state. Fires `false` for the header close button, Escape, and
8
+ * Android back while the header has no `onBack`.
9
+ */
10
+ onOpenChange?: (open: boolean) => void;
11
+ /** Initial open state when uncontrolled. @default false */
12
+ defaultOpen?: boolean;
13
+ /**
14
+ * Close when Escape is pressed. Web only. Escape never steps back; Android back is routed
15
+ * by the header's `onBack` independently of this prop.
16
+ * @default true
17
+ */
18
+ closeOnEscKey?: boolean;
19
+ /** `FullScreenDialog.Trigger` and `FullScreenDialog.Popup`. */
20
+ children: ReactNode;
21
+ /** Classes for the root wrapper around the trigger. */
22
+ className?: string;
23
+ /** Pass `'disable-all'` to turn off the popup's enter and exit motion. */
24
+ animation?: AnimationRootDisableAll;
25
+ }
26
+ declare const FullScreenDialogRoot: import("react").ForwardRefExoticComponent<FullScreenDialogRootProps & import("react").RefAttributes<View>>;
27
+ export interface FullScreenDialogTriggerProps extends Omit<IDialogTriggerProps, 'asChild'> {
28
+ /** Render the single child as the trigger instead of a `Pressable`. */
29
+ asChild?: boolean;
30
+ /** Classes for the trigger. */
31
+ className?: string;
32
+ /** Content that opens the dialog when pressed. */
33
+ children?: ReactNode;
34
+ }
35
+ declare const FullScreenDialogTrigger: import("react").ForwardRefExoticComponent<FullScreenDialogTriggerProps & import("react").RefAttributes<View>>;
36
+ export interface FullScreenDialogPopupProps extends Omit<IDialogContentProps, 'asChild' | 'forceMount' | 'avoidKeyboard' | 'keyboardVerticalOffset'> {
37
+ /** Classes for the page surface, merged after the defaults. */
38
+ className?: string;
39
+ /** `FullScreenDialog.Header` and `FullScreenDialog.Content`. Bottom sheets declared here present above the page. */
40
+ children?: ReactNode;
41
+ }
42
+ declare const FullScreenDialogPopup: import("react").ForwardRefExoticComponent<FullScreenDialogPopupProps & import("react").RefAttributes<View>>;
43
+ export interface FullScreenDialogHeaderProps {
44
+ /** Title text. Labels the dialog. Ignored when `children` is set. */
45
+ title?: string;
46
+ /** Secondary line under the title. Has no effect without `title`, or when `children` is set. */
47
+ subtitle?: string;
48
+ /**
49
+ * Custom header content. Replaces `title` and `subtitle`. The consumer then owns the
50
+ * dialog's accessible name and focus on step change: focus doesn't move to the header.
51
+ */
52
+ children?: ReactNode;
53
+ /** Classes for the header region, which includes the top safe-area padding. */
54
+ className?: string;
55
+ /** Called by the close button. @default Closes the dialog (`onOpenChange(false)`). */
56
+ onClose?: () => void;
57
+ /** Accessible name for the close button. @default Close */
58
+ closeAccessibilityLabel?: string;
59
+ /**
60
+ * Shows the back button when set. Android system back calls it too, instead of
61
+ * closing the dialog. Escape on web always closes.
62
+ */
63
+ onBack?: () => void;
64
+ /** Accessible name for the back button. @default Go back */
65
+ backAccessibilityLabel?: string;
66
+ }
67
+ declare const FullScreenDialogHeader: import("react").ForwardRefExoticComponent<FullScreenDialogHeaderProps & import("react").RefAttributes<View>>;
68
+ export interface FullScreenDialogContentProps extends ViewProps {
69
+ /** Render the single child as the content region instead of a `View`. */
70
+ asChild?: boolean;
71
+ /** Classes for the content region, merged after the defaults. */
72
+ className?: string;
73
+ /** Page body. Usually a `ScrollView`. */
74
+ children?: ReactNode;
75
+ }
76
+ declare const FullScreenDialogContent: import("react").ForwardRefExoticComponent<FullScreenDialogContentProps & import("react").RefAttributes<View>>;
77
+ type FullScreenDialogCompoundComponent = typeof FullScreenDialogRoot & {
78
+ Trigger: typeof FullScreenDialogTrigger;
79
+ Popup: typeof FullScreenDialogPopup;
80
+ Header: typeof FullScreenDialogHeader;
81
+ Content: typeof FullScreenDialogContent;
82
+ };
83
+ export declare const FullScreenDialog: FullScreenDialogCompoundComponent;
84
+ export {};
85
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,IAAI,EACJ,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EAUL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAqC,KAAK,uBA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AAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2DAA2D;IAC3D,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,4DAA4D;IAC5D,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,QAAA,MAAM,sBAAsB,8GAuD3B,CAAC;AAQF,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,yEAAyE;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,uBAAuB,+GAiB5B,CAAC;AAQF,KAAK,iCAAiC,GAAG,OAAO,oBAAoB,GAAG;IACrE,OAAO,EAAE,OAAO,uBAAuB,CAAC;IACxC,KAAK,EAAE,OAAO,qBAAqB,CAAC;IACpC,MAAM,EAAE,OAAO,sBAAsB,CAAC;IACtC,OAAO,EAAE,OAAO,uBAAuB,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAKvB,iCAAiC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const fullScreenDialogPortalVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
+ export declare const fullScreenDialogPopupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ /** Paints the surface behind the status bar inset above the header row. */
4
+ export declare const fullScreenDialogHeaderVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ export declare const fullScreenDialogContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,8BAA8B,oFAIzC,CAAC;AAEH,eAAO,MAAM,6BAA6B,oFASxC,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,8BAA8B,oFAA0C,CAAC;AAEtF,eAAO,MAAM,+BAA+B,oFAA0B,CAAC"}
@@ -1,4 +1,9 @@
1
1
  import { type VariantProps } from '@cdx-ui/utils';
2
+ /** Box classes per size. Shared with layout placeholders that must match an `IconButton`'s footprint. */
3
+ export declare const iconButtonSizeClassNames: {
4
+ readonly default: "h-11 w-11 min-w-11 shrink-0 p-2.5";
5
+ readonly small: "h-8 w-8 min-w-8 shrink-0 p-1.5";
6
+ };
2
7
  export declare const iconButtonRootVariants: (props?: ({
3
8
  variant?: "solid" | "ghost" | "subtle" | null | undefined;
4
9
  color?: "danger" | "action" | "neutral" | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAGvD,eAAO,MAAM,sBAAsB;;;;8EAwIlC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAUlC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;8EA4BtC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAGvD,yGAAyG;AACzG,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;8EAqIlC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAUlC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;8EA4BtC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -15,7 +15,7 @@ export interface InputProps extends ViewProps, IInputFieldProps {
15
15
  */
16
16
  variant?: 'outline';
17
17
  /**
18
- * Height and padding scale.
18
+ * Height, padding, and field font size.
19
19
  * @default 'default'
20
20
  */
21
21
  size?: 'default' | 'small';
@@ -9,6 +9,7 @@ type InsuranceDisclosureSharedProps = Omit<HStackProps, 'children'> & {
9
9
  * Pass `framed` to restore chrome; padding is now `px-3 py-2`.
10
10
  */
11
11
  framed?: boolean;
12
+ /** Disclosure copy rendered beside the logo. */
12
13
  label?: string;
13
14
  className?: string;
14
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/InsuranceDisclosure/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAI9D,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAS3D,KAAK,8BAA8B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;IACpE;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,mCAAoC,SAAQ,8BAA8B;IACzF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oDAAoD;IACpD,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,mEAAmE;AACnE,MAAM,WAAW,kCAAmC,SAAQ,8BAA8B;IACxF,uEAAuE;IACvE,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACzC,+EAA+E;IAC/E,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,MAAM,wBAAwB,GAChC,mCAAmC,GACnC,kCAAkC,CAAC;AAEvC,eAAO,MAAM,mBAAmB,2GAkD9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/InsuranceDisclosure/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAI9D,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAS3D,KAAK,8BAA8B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;IACpE;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,mCAAoC,SAAQ,8BAA8B;IACzF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oDAAoD;IACpD,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,mEAAmE;AACnE,MAAM,WAAW,kCAAmC,SAAQ,8BAA8B;IACxF,uEAAuE;IACvE,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACzC,+EAA+E;IAC/E,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,MAAM,wBAAwB,GAChC,mCAAmC,GACnC,kCAAkC,CAAC;AAEvC,eAAO,MAAM,mBAAmB,2GAkD9B,CAAC"}
@@ -4,12 +4,14 @@ import { type ILinkProps } from '@cdx-ui/primitives';
4
4
  import { type IconProps } from '../Icon';
5
5
  export { LinkProvider, type LinkConfig, type LinkAction } from '@cdx-ui/primitives';
6
6
  export interface LinkProps extends ILinkProps {
7
+ /** Renders the consumer's child element in place of the default pressable host. */
7
8
  asChild?: boolean;
8
9
  className?: string;
9
10
  children?: ReactNode;
10
11
  }
11
12
  declare const LinkRoot: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<View>>;
12
13
  export interface LinkLabelProps extends TextProps {
14
+ /** Renders the consumer's child element in place of the default `Text` host. */
13
15
  asChild?: boolean;
14
16
  className?: string;
15
17
  children?: ReactNode;
@@ -1 +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,EAAY,IAAI,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAQ/C,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMpF,MAAM,WAAW,SAAU,SAAQ,UAAU;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,4FAcZ,CAAC;AAQH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,iGAwBd,CAAC;AAQF,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;CAAG;AAErE,QAAA,MAAM,QAAQ;yCAAwC,aAAa;;CAalE,CAAC;AAQF,KAAK,qBAAqB,GAAG,OAAO,QAAQ,GAAG;IAC7C,KAAK,EAAE,OAAO,SAAS,CAAC;IACxB,IAAI,EAAE,OAAO,QAAQ,CAAC;CACvB,CAAC;AAEF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