@cdx-ui/components 0.0.1-beta.3 → 0.0.1-beta.30

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/README.md +18 -11
  2. package/lib/commonjs/components/Button/styles.js +2 -2
  3. package/lib/commonjs/components/Button/styles.js.map +1 -1
  4. package/lib/commonjs/components/Card/index.js +22 -4
  5. package/lib/commonjs/components/Card/index.js.map +1 -1
  6. package/lib/commonjs/components/Card/styles.js +27 -5
  7. package/lib/commonjs/components/Card/styles.js.map +1 -1
  8. package/lib/commonjs/components/Checkbox/index.js +5 -29
  9. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  10. package/lib/commonjs/components/Checkbox/styles.js +39 -47
  11. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  12. package/lib/commonjs/components/Field/index.js +8 -2
  13. package/lib/commonjs/components/Field/index.js.map +1 -1
  14. package/lib/commonjs/components/Field/styles.js +4 -4
  15. package/lib/commonjs/components/Field/styles.js.map +1 -1
  16. package/lib/commonjs/components/Heading/styles.js +1 -1
  17. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  18. package/lib/commonjs/components/Icon/index.js +1 -2
  19. package/lib/commonjs/components/Icon/index.js.map +1 -1
  20. package/lib/commonjs/components/IconButton/index.js +6 -1
  21. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  22. package/lib/commonjs/components/IconButton/styles.js +135 -10
  23. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  24. package/lib/commonjs/components/Input/styles.js +7 -6
  25. package/lib/commonjs/components/Input/styles.js.map +1 -1
  26. package/lib/commonjs/components/ListItem/index.js +283 -0
  27. package/lib/commonjs/components/ListItem/index.js.map +1 -0
  28. package/lib/commonjs/components/ListItem/styles.js +130 -0
  29. package/lib/commonjs/components/ListItem/styles.js.map +1 -0
  30. package/lib/commonjs/components/ProgressSegmented/index.js +22 -10
  31. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  32. package/lib/commonjs/components/Radio/index.js +167 -0
  33. package/lib/commonjs/components/Radio/index.js.map +1 -0
  34. package/lib/commonjs/components/Radio/styles.js +31 -0
  35. package/lib/commonjs/components/Radio/styles.js.map +1 -0
  36. package/lib/commonjs/components/Text/styles.js +2 -2
  37. package/lib/commonjs/components/Text/styles.js.map +1 -1
  38. package/lib/commonjs/components/Tile/index.js +251 -0
  39. package/lib/commonjs/components/Tile/index.js.map +1 -0
  40. package/lib/commonjs/components/Tile/styles.js +52 -0
  41. package/lib/commonjs/components/Tile/styles.js.map +1 -0
  42. package/lib/commonjs/components/index.js +36 -0
  43. package/lib/commonjs/components/index.js.map +1 -1
  44. package/lib/commonjs/figma/Button.figma.js +70 -0
  45. package/lib/commonjs/figma/Button.figma.js.map +1 -0
  46. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  47. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  48. package/lib/commonjs/figma/Card.figma.js +42 -0
  49. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  50. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  51. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  52. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  53. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  54. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  55. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  56. package/lib/commonjs/figma/Heading.figma.js +30 -0
  57. package/lib/commonjs/figma/Heading.figma.js.map +1 -0
  58. package/lib/commonjs/figma/Icon.figma.js +20 -0
  59. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  60. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  61. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  62. package/lib/commonjs/figma/Input.figma.js +52 -0
  63. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  64. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  65. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  66. package/lib/commonjs/figma/Radio.figma.js +38 -0
  67. package/lib/commonjs/figma/Radio.figma.js.map +1 -0
  68. package/lib/commonjs/figma/Select.figma.js +53 -0
  69. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  70. package/lib/commonjs/figma/Text.figma.js +29 -0
  71. package/lib/commonjs/figma/Text.figma.js.map +1 -0
  72. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  73. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  74. package/lib/commonjs/figma/icons.figma.batch.json +17705 -0
  75. package/lib/commonjs/styles/primitives.js +36 -2
  76. package/lib/commonjs/styles/primitives.js.map +1 -1
  77. package/lib/module/components/Button/styles.js +2 -2
  78. package/lib/module/components/Button/styles.js.map +1 -1
  79. package/lib/module/components/Card/index.js +23 -4
  80. package/lib/module/components/Card/index.js.map +1 -1
  81. package/lib/module/components/Card/styles.js +27 -5
  82. package/lib/module/components/Card/styles.js.map +1 -1
  83. package/lib/module/components/Checkbox/index.js +6 -30
  84. package/lib/module/components/Checkbox/index.js.map +1 -1
  85. package/lib/module/components/Checkbox/styles.js +40 -48
  86. package/lib/module/components/Checkbox/styles.js.map +1 -1
  87. package/lib/module/components/Field/index.js +9 -3
  88. package/lib/module/components/Field/index.js.map +1 -1
  89. package/lib/module/components/Field/styles.js +4 -4
  90. package/lib/module/components/Field/styles.js.map +1 -1
  91. package/lib/module/components/Heading/styles.js +1 -1
  92. package/lib/module/components/Heading/styles.js.map +1 -1
  93. package/lib/module/components/Icon/index.js +1 -2
  94. package/lib/module/components/Icon/index.js.map +1 -1
  95. package/lib/module/components/IconButton/index.js +6 -1
  96. package/lib/module/components/IconButton/index.js.map +1 -1
  97. package/lib/module/components/IconButton/styles.js +135 -10
  98. package/lib/module/components/IconButton/styles.js.map +1 -1
  99. package/lib/module/components/Input/styles.js +7 -6
  100. package/lib/module/components/Input/styles.js.map +1 -1
  101. package/lib/module/components/ListItem/index.js +226 -0
  102. package/lib/module/components/ListItem/index.js.map +1 -0
  103. package/lib/module/components/ListItem/styles.js +127 -0
  104. package/lib/module/components/ListItem/styles.js.map +1 -0
  105. package/lib/module/components/ProgressSegmented/index.js +23 -11
  106. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  107. package/lib/module/components/Radio/index.js +164 -0
  108. package/lib/module/components/Radio/index.js.map +1 -0
  109. package/lib/module/components/Radio/styles.js +27 -0
  110. package/lib/module/components/Radio/styles.js.map +1 -0
  111. package/lib/module/components/Text/styles.js +2 -2
  112. package/lib/module/components/Text/styles.js.map +1 -1
  113. package/lib/module/components/Tile/index.js +243 -0
  114. package/lib/module/components/Tile/index.js.map +1 -0
  115. package/lib/module/components/Tile/styles.js +48 -0
  116. package/lib/module/components/Tile/styles.js.map +1 -0
  117. package/lib/module/components/index.js +3 -0
  118. package/lib/module/components/index.js.map +1 -1
  119. package/lib/module/figma/Button.figma.js +64 -0
  120. package/lib/module/figma/Button.figma.js.map +1 -0
  121. package/lib/module/figma/Card.Header.figma.js +22 -0
  122. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  123. package/lib/module/figma/Card.figma.js +36 -0
  124. package/lib/module/figma/Card.figma.js.map +1 -0
  125. package/lib/module/figma/Checkbox.figma.js +49 -0
  126. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  127. package/lib/module/figma/Field.Input.figma.js +51 -0
  128. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  129. package/lib/module/figma/Field.Select.figma.js +51 -0
  130. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  131. package/lib/module/figma/Heading.figma.js +24 -0
  132. package/lib/module/figma/Heading.figma.js.map +1 -0
  133. package/lib/module/figma/Icon.figma.js +14 -0
  134. package/lib/module/figma/Icon.figma.js.map +1 -0
  135. package/lib/module/figma/IconButton.figma.js +41 -0
  136. package/lib/module/figma/IconButton.figma.js.map +1 -0
  137. package/lib/module/figma/Input.figma.js +46 -0
  138. package/lib/module/figma/Input.figma.js.map +1 -0
  139. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  140. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  141. package/lib/module/figma/Radio.figma.js +32 -0
  142. package/lib/module/figma/Radio.figma.js.map +1 -0
  143. package/lib/module/figma/Select.figma.js +47 -0
  144. package/lib/module/figma/Select.figma.js.map +1 -0
  145. package/lib/module/figma/Text.figma.js +23 -0
  146. package/lib/module/figma/Text.figma.js.map +1 -0
  147. package/lib/module/figma/icons.figma.batch.js +22 -0
  148. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  149. package/lib/module/figma/icons.figma.batch.json +17705 -0
  150. package/lib/module/styles/primitives.js +36 -2
  151. package/lib/module/styles/primitives.js.map +1 -1
  152. package/lib/typescript/components/Card/index.d.ts +4 -3
  153. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  154. package/lib/typescript/components/Card/styles.d.ts +13 -3
  155. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  156. package/lib/typescript/components/Checkbox/index.d.ts +1 -2
  157. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  158. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  159. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  160. package/lib/typescript/components/Field/FieldLabel.web.d.ts +2 -2
  161. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +1 -1
  162. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  163. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  164. package/lib/typescript/components/Heading/styles.d.ts.map +1 -1
  165. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  166. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  167. package/lib/typescript/components/IconButton/styles.d.ts +6 -2
  168. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  169. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  170. package/lib/typescript/components/ListItem/index.d.ts +49 -0
  171. package/lib/typescript/components/ListItem/index.d.ts.map +1 -0
  172. package/lib/typescript/components/ListItem/styles.d.ts +30 -0
  173. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -0
  174. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  175. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  176. package/lib/typescript/components/Radio/index.d.ts +40 -0
  177. package/lib/typescript/components/Radio/index.d.ts.map +1 -0
  178. package/lib/typescript/components/Radio/styles.d.ts +8 -0
  179. package/lib/typescript/components/Radio/styles.d.ts.map +1 -0
  180. package/lib/typescript/components/Text/styles.d.ts.map +1 -1
  181. package/lib/typescript/components/Tile/index.d.ts +70 -0
  182. package/lib/typescript/components/Tile/index.d.ts.map +1 -0
  183. package/lib/typescript/components/Tile/styles.d.ts +18 -0
  184. package/lib/typescript/components/Tile/styles.d.ts.map +1 -0
  185. package/lib/typescript/components/index.d.ts +3 -0
  186. package/lib/typescript/components/index.d.ts.map +1 -1
  187. package/lib/typescript/figma/Button.figma.d.ts +8 -0
  188. package/lib/typescript/figma/Button.figma.d.ts.map +1 -0
  189. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  190. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  191. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  192. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  193. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  194. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  195. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  196. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  197. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  198. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  199. package/lib/typescript/figma/Heading.figma.d.ts +8 -0
  200. package/lib/typescript/figma/Heading.figma.d.ts.map +1 -0
  201. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  202. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  203. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  204. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  205. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  206. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  207. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  208. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  209. package/lib/typescript/figma/Radio.figma.d.ts +8 -0
  210. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -0
  211. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  212. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  213. package/lib/typescript/figma/Text.figma.d.ts +8 -0
  214. package/lib/typescript/figma/Text.figma.d.ts.map +1 -0
  215. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  216. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  217. package/lib/typescript/styles/primitives.d.ts +35 -0
  218. package/lib/typescript/styles/primitives.d.ts.map +1 -1
  219. package/package.json +5 -5
  220. package/src/components/Button/styles.ts +2 -2
  221. package/src/components/Card/index.tsx +41 -16
  222. package/src/components/Card/styles.ts +43 -23
  223. package/src/components/Checkbox/index.tsx +8 -19
  224. package/src/components/Checkbox/styles.ts +82 -86
  225. package/src/components/Field/FieldLabel.web.tsx +1 -1
  226. package/src/components/Field/index.tsx +10 -3
  227. package/src/components/Field/styles.ts +5 -4
  228. package/src/components/Heading/{styles.tsx → styles.ts} +1 -1
  229. package/src/components/Icon/index.tsx +1 -2
  230. package/src/components/IconButton/index.tsx +3 -2
  231. package/src/components/IconButton/styles.ts +136 -10
  232. package/src/components/Input/styles.ts +13 -8
  233. package/src/components/ListItem/index.tsx +285 -0
  234. package/src/components/ListItem/styles.ts +153 -0
  235. package/src/components/ProgressSegmented/index.tsx +49 -14
  236. package/src/components/Radio/index.tsx +192 -0
  237. package/src/components/Radio/styles.ts +59 -0
  238. package/src/components/Text/{styles.tsx → styles.ts} +2 -2
  239. package/src/components/Tile/index.tsx +296 -0
  240. package/src/components/Tile/styles.ts +82 -0
  241. package/src/components/index.ts +3 -0
  242. package/src/styles/primitives.ts +36 -2
@@ -5,36 +5,65 @@
5
5
 
6
6
  // ─── Colors ──────────────────────────────────────────────
7
7
  // Surface & background
8
+ /** @deprecated Use `bg-surface-primary` (--color-surface-primary) instead. */
8
9
  export const COLOR_BG_PRIMARY = 'bg-white';
10
+ /** @deprecated Use `bg-surface-secondary` (--color-surface-secondary) instead. */
9
11
  export const COLOR_BG_SUBTLE = 'bg-slate-50';
12
+ /** @deprecated Use `bg-surface-neutral-subtle` (--color-surface-neutral-subtle) instead. */
10
13
  export const COLOR_BG_MUTED = 'bg-slate-100';
14
+ /** @deprecated Use `bg-base-950` (--color-base-950) instead. */
11
15
  export const COLOR_BG_INVERSE = 'bg-slate-900';
12
16
 
13
17
  // Border
18
+ /** @deprecated Use `border-stroke-secondary` (--color-stroke-secondary) instead. */
14
19
  export const COLOR_BORDER_DEFAULT = 'border-slate-200';
20
+ /** @deprecated Use `border-stroke-hover` (--color-stroke-hover) instead. */
15
21
  export const COLOR_BORDER_STRONG = 'border-slate-300';
22
+ /** @deprecated Use `border-stroke-focus` (--color-stroke-focus) instead. */
16
23
  export const COLOR_BORDER_FOCUS = 'border-slate-900';
24
+ /** @deprecated Use `border-stroke-danger` (--color-stroke-danger) instead. */
17
25
  export const COLOR_BORDER_INVALID = 'border-red-500';
18
26
 
19
27
  // Text
28
+ /** @deprecated Use `text-content-primary` (--color-content-primary) instead. */
20
29
  export const COLOR_TEXT_PRIMARY = 'text-slate-900';
30
+ /** @deprecated Use `text-content-secondary` (--color-content-secondary) instead. */
21
31
  export const COLOR_TEXT_SECONDARY = 'text-slate-500';
32
+ /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
22
33
  export const COLOR_TEXT_MUTED = 'text-slate-400';
34
+ /** @deprecated Use the appropriate `text-content-*-on-strong` token for the surface color, e.g. `text-content-action-on-strong` (--color-content-action-on-strong). */
23
35
  export const COLOR_TEXT_INVERSE = 'text-white';
36
+ /** @deprecated Use `text-content-tertiary` (--color-content-tertiary) instead. */
24
37
  export const COLOR_TEXT_PLACEHOLDER = 'text-slate-400';
38
+ /** @deprecated Use `text-content-danger` (--color-content-danger) instead. */
25
39
  export const COLOR_TEXT_INVALID = 'text-red-600';
26
40
 
27
41
  // Brand / Action
42
+ /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
28
43
  export const COLOR_BRAND_DEFAULT = 'bg-slate-900';
44
+ /** @deprecated Use `bg-surface-action-strong-hover` (--color-surface-action-strong-hover) instead. */
29
45
  export const COLOR_BRAND_HOVER = 'bg-slate-800';
46
+ /** @deprecated Use `bg-surface-action-strong-active` (--color-surface-action-strong-active) instead. */
30
47
  export const COLOR_BRAND_ACTIVE = 'bg-slate-700';
31
48
 
32
49
  // Accent (for checked states, active indicators)
50
+ /** @deprecated Use `bg-surface-action-strong` (--color-surface-action-strong) instead. */
33
51
  export const COLOR_ACCENT_DEFAULT = 'bg-slate-900';
52
+ /** @deprecated Use `border-stroke-action` (--color-stroke-action) instead. */
34
53
  export const COLOR_ACCENT_BORDER = 'border-slate-900';
35
54
 
36
- // Semantic colors (danger, warning, success, info)
37
- // Kept for Button's 5-color system
55
+ /**
56
+ * @deprecated Use semantic token classes directly instead. Map each color key to its
57
+ * corresponding `--color-surface-*`, `--color-stroke-*`, and `--color-content-*` tokens:
58
+ * - `bg` → `bg-surface-{color}-strong` (--color-surface-{color}-strong)
59
+ * - `bgHover` → `bg-surface-{color}-strong-hover` (--color-surface-{color}-strong-hover)
60
+ * - `bgActive` → `bg-surface-{color}-strong-active` (--color-surface-{color}-strong-active)
61
+ * - `border` → `border-stroke-{color}` (--color-stroke-{color})
62
+ * - `text` → `text-content-{color}` (--color-content-{color})
63
+ * - `ring` → `ring-[--color-stroke-focus]` (--color-stroke-focus)
64
+ *
65
+ * See Button/styles.ts for a complete migration example.
66
+ */
38
67
  export const SEMANTIC_COLORS = {
39
68
  action: {
40
69
  bg: 'bg-slate-900',
@@ -79,6 +108,7 @@ export const SEMANTIC_COLORS = {
79
108
  };
80
109
 
81
110
  // ─── Focus ───────────────────────────────────────────────
111
+ /** @deprecated Use `ring-2 ring-[--color-stroke-focus] ring-offset-2` (--color-stroke-focus) instead. */
82
112
  export const FOCUS_RING = 'ring-2 ring-slate-400/50 ring-offset-2';
83
113
 
84
114
  // ─── Radius ──────────────────────────────────────────────
@@ -87,13 +117,17 @@ export const RADIUS_MD = 'rounded-xl'; // cards, dropdowns, modals
87
117
  export const RADIUS_FULL = 'rounded-full'; // pills, avatars, switches
88
118
 
89
119
  // ─── Shadows ─────────────────────────────────────────────
120
+
121
+ /** @deprecated Use `shadow-sm` directly instead */
90
122
  export const SHADOW_SM = 'shadow-sm';
123
+ /** @deprecated Use `shadow-md` directly instead */
91
124
  export const SHADOW_MD = 'shadow-md';
92
125
 
93
126
  // ─── Sizing ──────────────────────────────────────────────
94
127
  // Unified size scale for interactive/form components (Button, Input, Select, Checkbox).
95
128
  // Only two sizes: 'default' (regular) and 'small' (compact).
96
129
  // NOTE: Text and Heading use a separate typography scale (xs/sm/md/lg/xl) — not this.
130
+ /** @deprecated */
97
131
  export const SIZE_SCALE = {
98
132
  default: {
99
133
  height: 'h-10',
@@ -1 +1 @@
1
- {"version":3,"names":["COLOR_BG_PRIMARY","COLOR_BG_SUBTLE","COLOR_BG_MUTED","COLOR_BG_INVERSE","COLOR_BORDER_DEFAULT","COLOR_BORDER_STRONG","COLOR_BORDER_FOCUS","COLOR_BORDER_INVALID","COLOR_TEXT_PRIMARY","COLOR_TEXT_SECONDARY","COLOR_TEXT_MUTED","COLOR_TEXT_INVERSE","COLOR_TEXT_PLACEHOLDER","COLOR_TEXT_INVALID","COLOR_BRAND_DEFAULT","COLOR_BRAND_HOVER","COLOR_BRAND_ACTIVE","COLOR_ACCENT_DEFAULT","COLOR_ACCENT_BORDER","SEMANTIC_COLORS","action","bg","bgHover","bgActive","border","text","ring","danger","warning","success","info","FOCUS_RING","RADIUS_SM","RADIUS_MD","RADIUS_FULL","SHADOW_SM","SHADOW_MD","SIZE_SCALE","default","height","px","gap","small","TRANSITION_COLORS","DISABLED_OPACITY","DISABLED_CURSOR"],"sourceRoot":"../../../src","sources":["styles/primitives.ts"],"mappings":";;AAAA;AACA;;AAEA;AACA;AACA,OAAO,MAAMA,gBAAgB,GAAG,UAAU;AAC1C,OAAO,MAAMC,eAAe,GAAG,aAAa;AAC5C,OAAO,MAAMC,cAAc,GAAG,cAAc;AAC5C,OAAO,MAAMC,gBAAgB,GAAG,cAAc;;AAE9C;AACA,OAAO,MAAMC,oBAAoB,GAAG,kBAAkB;AACtD,OAAO,MAAMC,mBAAmB,GAAG,kBAAkB;AACrD,OAAO,MAAMC,kBAAkB,GAAG,kBAAkB;AACpD,OAAO,MAAMC,oBAAoB,GAAG,gBAAgB;;AAEpD;AACA,OAAO,MAAMC,kBAAkB,GAAG,gBAAgB;AAClD,OAAO,MAAMC,oBAAoB,GAAG,gBAAgB;AACpD,OAAO,MAAMC,gBAAgB,GAAG,gBAAgB;AAChD,OAAO,MAAMC,kBAAkB,GAAG,YAAY;AAC9C,OAAO,MAAMC,sBAAsB,GAAG,gBAAgB;AACtD,OAAO,MAAMC,kBAAkB,GAAG,cAAc;;AAEhD;AACA,OAAO,MAAMC,mBAAmB,GAAG,cAAc;AACjD,OAAO,MAAMC,iBAAiB,GAAG,cAAc;AAC/C,OAAO,MAAMC,kBAAkB,GAAG,cAAc;;AAEhD;AACA,OAAO,MAAMC,oBAAoB,GAAG,cAAc;AAClD,OAAO,MAAMC,mBAAmB,GAAG,kBAAkB;;AAErD;AACA;AACA,OAAO,MAAMC,eAAe,GAAG;EAC7BC,MAAM,EAAE;IACNC,EAAE,EAAE,cAAc;IAClBC,OAAO,EAAE,cAAc;IACvBC,QAAQ,EAAE,cAAc;IACxBC,MAAM,EAAE,kBAAkB;IAC1BC,IAAI,EAAE,gBAAgB;IACt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EH,MAAM,EAAE,KAAK;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,SAAS;IAAEhB,IAAI,EAAE;EAAU;AACtE,CAAU;;AAEV;AACA,OAAO,MAAMkB,iBAAiB,GAAG,gCAAgC;;AAEjE;AACA,OAAO,MAAMC,gBAAgB,GAAG,iCAAiC;AACjE,OAAO,MAAMC,eAAe,GAC1B,kFAAkF","ignoreList":[]}
1
+ {"version":3,"names":["COLOR_BG_PRIMARY","COLOR_BG_SUBTLE","COLOR_BG_MUTED","COLOR_BG_INVERSE","COLOR_BORDER_DEFAULT","COLOR_BORDER_STRONG","COLOR_BORDER_FOCUS","COLOR_BORDER_INVALID","COLOR_TEXT_PRIMARY","COLOR_TEXT_SECONDARY","COLOR_TEXT_MUTED","COLOR_TEXT_INVERSE","COLOR_TEXT_PLACEHOLDER","COLOR_TEXT_INVALID","COLOR_BRAND_DEFAULT","COLOR_BRAND_HOVER","COLOR_BRAND_ACTIVE","COLOR_ACCENT_DEFAULT","COLOR_ACCENT_BORDER","SEMANTIC_COLORS","action","bg","bgHover","bgActive","border","text","ring","danger","warning","success","info","FOCUS_RING","RADIUS_SM","RADIUS_MD","RADIUS_FULL","SHADOW_SM","SHADOW_MD","SIZE_SCALE","default","height","px","gap","small","TRANSITION_COLORS","DISABLED_OPACITY","DISABLED_CURSOR"],"sourceRoot":"../../../src","sources":["styles/primitives.ts"],"mappings":";;AAAA;AACA;;AAEA;AACA;AACA;AACA,OAAO,MAAMA,gBAAgB,GAAG,UAAU;AAC1C;AACA,OAAO,MAAMC,eAAe,GAAG,aAAa;AAC5C;AACA,OAAO,MAAMC,cAAc,GAAG,cAAc;AAC5C;AACA,OAAO,MAAMC,gBAAgB,GAAG,cAAc;;AAE9C;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAG,kBAAkB;AACtD;AACA,OAAO,MAAMC,mBAAmB,GAAG,kBAAkB;AACrD;AACA,OAAO,MAAMC,kBAAkB,GAAG,kBAAkB;AACpD;AAC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AAc;IAClBC,OAAO,EAAE,cAAc;IACvBC,QAAQ,EAAE,cAAc;IACxBC,MAAM,EAAE,kBAAkB;IAC1BC,IAAI,EAAE,gBAAgB;IACtBC,IAAI,EAAE;EACR,CAAC;EACDI,IAAI,EAAE;IACJT,EAAE,EAAE,YAAY;IAChBC,OAAO,EAAE,YAAY;IACrBC,QAAQ,EAAE,YAAY;IACtBC,MAAM,EAAE,gBAAgB;IACxBC,IAAI,EAAE,cAAc;IACpBC,IAAI,EAAE;EACR;AACF,CAAU;;AAEV;AACA;AACA,OAAO,MAAMK,UAAU,GAAG,wCAAwC;;AAElE;AACA,OAAO,MAAMC,SAAS,GAAG,YAAY,CAAC,CAAC;AACvC,OAAO,MAAMC,SAAS,GAAG,YAAY,CAAC,CAAC;AACvC,OAAO,MAAMC,WAAW,GAAG,cAAc,CAAC,CAAC;;AAE3C;;AAEA;AACA,OAAO,MAAMC,SAAS,GAAG,WAAW;AACpC;AACA,OAAO,MAAMC,SAAS,GAAG,WAAW;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAG;EACxBC,OAAO,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,OAAO;IAAEhB,IAAI,EAAE;EAAY,CAAC;EACxEiB,KAAK,EAAE;IAAEH,MAAM,EAAE,KAAK;IAAEC,EAAE,EAAE,MAAM;IAAEC,GAAG,EAAE,SAAS;IAAEhB,IAAI,EAAE;EAAU;AACtE,CAAU;;AAEV;AACA,OAAO,MAAMkB,iBAAiB,GAAG,gCAAgC;;AAEjE;AACA,OAAO,MAAMC,gBAAgB,GAAG,iCAAiC;AACjE,OAAO,MAAMC,eAAe,GAC1B,kFAAkF","ignoreList":[]}
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { View, type ViewProps } from 'react-native';
3
- export interface CardProps extends ViewProps {
3
+ import { type CardContentVariantProps, type CardFooterVariantProps, type CardVariantProps } from './styles';
4
+ export interface CardProps extends ViewProps, CardVariantProps {
4
5
  className?: string;
5
6
  children?: ReactNode;
6
7
  }
@@ -10,12 +11,12 @@ export interface CardHeaderProps extends ViewProps {
10
11
  children?: ReactNode;
11
12
  }
12
13
  declare const CardHeader: import("react").ForwardRefExoticComponent<CardHeaderProps & import("react").RefAttributes<View>>;
13
- export interface CardContentProps extends ViewProps {
14
+ export interface CardContentProps extends ViewProps, CardContentVariantProps {
14
15
  className?: string;
15
16
  children?: ReactNode;
16
17
  }
17
18
  declare const CardContent: import("react").ForwardRefExoticComponent<CardContentProps & import("react").RefAttributes<View>>;
18
- export interface CardFooterProps extends ViewProps {
19
+ export interface CardFooterProps extends ViewProps, CardFooterVariantProps {
19
20
  className?: string;
20
21
  children?: ReactNode;
21
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAapD,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,4FAQZ,CAAC;AAQH,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAUf,CAAC;AAQF,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,mGAUhB,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAA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CACtB;AAED,QAAA,MAAM,UAAU,kGAcf,CAAC;AAQF,KAAK,qBAAqB,GAAG,OAAO,QAAQ,GAAG;IAC7C,MAAM,EAAE,OAAO,UAAU,CAAC;IAC1B,OAAO,EAAE,OAAO,WAAW,CAAC;IAC5B,MAAM,EAAE,OAAO,UAAU,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,IAAI,EAAe,qBAAqB,CAAC"}
@@ -1,6 +1,16 @@
1
- export declare const cardRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const cardRootVariants: (props?: ({
3
+ fullBleed?: boolean | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2
5
  export declare const cardHeaderVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
6
  export declare const cardTitleVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
- export declare const cardContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
- export declare const cardFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
7
+ export declare const cardContentVariants: (props?: ({
8
+ fullBleed?: boolean | null | undefined;
9
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
+ export declare const cardFooterVariants: (props?: ({
11
+ fullBleed?: boolean | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ export type CardVariantProps = VariantProps<typeof cardRootVariants>;
14
+ export type CardContentVariantProps = VariantProps<typeof cardContentVariants>;
15
+ export type CardFooterVariantProps = VariantProps<typeof cardFooterVariants>;
6
16
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/styles.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB,oFAM3B,CAAC;AAIH,eAAO,MAAM,kBAAkB,oFAG7B,CAAC;AAIH,eAAO,MAAM,iBAAiB,oFAAkB,CAAC;AAIjD,eAAO,MAAM,mBAAmB,oFAAmC,CAAC;AAIpE,eAAO,MAAM,kBAAkB,oFAI7B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,eAAO,MAAM,gBAAgB;;8EAe5B,CAAC;AAIF,eAAO,MAAM,kBAAkB,oFAK7B,CAAC;AAIH,eAAO,MAAM,iBAAiB,oFAAkB,CAAC;AAIjD,eAAO,MAAM,mBAAmB;;8EAM9B,CAAC;AAIH,eAAO,MAAM,kBAAkB;;8EAU7B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACrE,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAC/E,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -2,8 +2,7 @@ import { type ReactNode } from 'react';
2
2
  import { Text, type TextProps, View, type ViewProps } from 'react-native';
3
3
  import { type ICheckboxProps } from '@cdx-ui/primitives';
4
4
  import { IconProps } from '../Icon';
5
- import { type CheckboxVariantProps } from './styles';
6
- export interface CheckboxProps extends ICheckboxProps, CheckboxVariantProps {
5
+ export interface CheckboxProps extends ICheckboxProps {
7
6
  className?: string;
8
7
  children?: ReactNode;
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAErF,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC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CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAC9B;AAED,QAAA,MAAM,aAAa,qGAkClB,CAAC;AAQF,KAAK,yBAAyB,GAAG,OAAO,YAAY,GAAG;IACrD,SAAS,EAAE,OAAO,iBAAiB,CAAC;IACpC,IAAI,EAAE,OAAO,YAAY,CAAC;IAC1B,KAAK,EAAE,OAAO,aAAa,CAAC;IAC5B,KAAK,EAAE,OAAO,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAKf,yBAAyB,CAAC"}
@@ -1,18 +1,8 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- export declare const checkboxRootVariants: (props?: ({
3
- size?: "small" | "default" | null | undefined;
4
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
- export declare const checkboxIndicatorVariants: (props?: ({
6
- size?: "small" | "default" | null | undefined;
7
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
- export declare const checkboxIconVariants: (props?: ({
9
- size?: "small" | "default" | null | undefined;
10
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
- export declare const checkboxLabelVariants: (props?: ({
12
- size?: "small" | "default" | null | undefined;
13
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const checkboxRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
+ export declare const checkboxIndicatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ export declare const checkboxIconVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ export declare const checkboxLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
14
5
  export declare const checkboxGroupVariants: (props?: ({
15
6
  direction?: "row" | "column" | null | undefined;
16
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
- export type CheckboxVariantProps = VariantProps<typeof checkboxRootVariants>;
18
8
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUlE,eAAO,MAAM,oBAAoB;;8EAahC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;8EAmCrC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;8EAU/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;8EAajC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;8EAUhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,oFAM/B,CAAC;AAEH,eAAO,MAAM,yBAAyB,oFAmEpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,oFAAiC,CAAC;AAEnE,eAAO,MAAM,qBAAqB,oFAGhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;8EAUhC,CAAC"}
@@ -4,13 +4,13 @@ export type BaseFieldLabelProps = ViewProps & {
4
4
  htmlFor?: string;
5
5
  children?: ReactNode;
6
6
  /** @platform native — ignored on DOM `<label>`; set by form primitive for Uniwind. */
7
- dataSet?: Record<string, string>;
7
+ dataSet?: Record<string, boolean | string>;
8
8
  };
9
9
  /** Real `<label>` so clicking the label focuses the associated control (`htmlFor` → input `id`). */
10
10
  export declare const BaseFieldLabel: React.ForwardRefExoticComponent<ViewProps & {
11
11
  htmlFor?: string;
12
12
  children?: ReactNode;
13
13
  /** @platform native — ignored on DOM `<label>`; set by form primitive for Uniwind. */
14
- dataSet?: Record<string, string>;
14
+ dataSet?: Record<string, boolean | string>;
15
15
  } & React.RefAttributes<HTMLLabelElement>>;
16
16
  //# sourceMappingURL=FieldLabel.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldLabel.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Field/FieldLabel.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,cAAc;cAPf,MAAM;eACL,SAAS;IACpB,sFAAsF;cAC5E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;0CAahC,CAAC"}
1
+ {"version":3,"file":"FieldLabel.web.d.ts","sourceRoot":"","sources":["../../../../src/components/Field/FieldLabel.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;CAC5C,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,cAAc;cAPf,MAAM;eACL,SAAS;IACpB,sFAAsF;cAC5E,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;0CAa1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Field/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAEL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAQL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC5B,MAAM,UAAU,CAAC;AAoBlB;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,eAAe,EAAE,qBAAqB;CAAG;AAEjF,QAAA,MAAM,SAAS,iGAUd,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,gBAAgB,EAAE,sBAAsB;CAAG;AAEpF,QAAA,MAAM,UAAU,kGAqBf,CAAC;AAQF,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB,EAAE,uBAAuB;CAAG;AAEvF,QAAA,MAAM,WAAW,mGAWhB,CAAC;AAwBF,MAAM,WAAW,eAAgB,SAAQ,gBAAgB,EAAE,sBAAsB;CAAG;AAEpF,QAAA,MAAM,UAAU,kGAcf,CAAC;AAQF,KAAK,sBAAsB,GAAG,OAAO,SAAS,GAAG;IAC/C,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,MAAM,EAAE,OAAO,WAAW,CAAC;IAC3B,KAAK,EAAE,OAAO,UAAU,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAIZ,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Field/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1C,OA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GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvF,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC7E,MAAM,MAAM,0BAA0B,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACrF,MAAM,MAAM,0BAA0B,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,YAAY;;8EAmBxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Heading/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,YAAY;;8EAmBxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC;CACb,CAAC;AAiBF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQzE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC;CACb,CAAC;AAiBF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQzE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7F,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,KAAK,sBAAsB,EAI5B,MAAM,UAAU,CAAC;AA2BlB,MAAM,WAAW,eAAgB,SAAQ,cAAc,EAAE,YAAY,EAAE,sBAAsB;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,EAAE,EAAE,OAAO,CAAC;IACZ,+CAA+C;IAC/C,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACxC;AAwCD,eAAO,MAAM,UAAU,kGAAiB,CAAC;AAEzC,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC7F,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EACL,KAAK,sBAAsB,EAI5B,MAAM,UAAU,CAAC;AA2BlB,MAAM,WAAW,eAAgB,SAAQ,cAAc,EAAE,YAAY,EAAE,sBAAsB;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,EAAE,EAAE,OAAO,CAAC;IACZ,+CAA+C;IAC/C,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;CACxC;AAyCD,eAAO,MAAM,UAAU,kGAAiB,CAAC;AAEzC,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  export declare const iconButtonRootVariants: (props?: ({
3
- variant?: "ghost" | "solid" | null | undefined;
3
+ variant?: "ghost" | "solid" | "tint" | null | undefined;
4
+ color?: "action" | "danger" | "neutral" | null | undefined;
4
5
  size?: "small" | "default" | null | undefined;
5
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
7
  export declare const iconButtonGlyphVariants: (props?: ({
7
8
  size?: "small" | "default" | null | undefined;
8
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- export declare const iconButtonIconColorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ export declare const iconButtonIconColorVariants: (props?: ({
11
+ variant?: "ghost" | "solid" | "tint" | null | undefined;
12
+ color?: "action" | "danger" | "neutral" | null | undefined;
13
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
14
  export type IconButtonVariantProps = VariantProps<typeof iconButtonRootVariants>;
11
15
  //# sourceMappingURL=styles.d.ts.map
@@ -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,0BAA0B,CAAC;AAGlE,eAAO,MAAM,sBAAsB;;;8EAsClC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;8EAUlC,CAAC;AAEH,eAAO,MAAM,2BAA2B,oFAAgC,CAAC;AAEzE,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,sBAAsB;;;;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 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,iBAAiB;;;8EAoC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAmB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAAmD,CAAC;AAElF,eAAO,MAAM,iBAAiB;;8EAU5B,CAAC;AAEH,eAAO,MAAM,6BAA6B,oFAAmC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,iBAAiB;;;8EAyC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;8EAmB9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oFAA4D,CAAC;AAE3F,eAAO,MAAM,iBAAiB;;8EAU5B,CAAC;AAEH,eAAO,MAAM,6BAA6B,oFAAmC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { Text, View, type TextProps, type ViewProps } from 'react-native';
2
+ import { type IListItemLeadingSlotProps, type IListItemProps, type IListItemSectionHeaderProps, type ListItemCrossAlign } from '@cdx-ui/primitives';
3
+ import { type WithStyleContextProps } from '@cdx-ui/utils';
4
+ import { type ListItemVariantProps } from './styles';
5
+ export interface ListItemProps extends IListItemProps, WithStyleContextProps {
6
+ className?: string;
7
+ }
8
+ declare const ListItemRoot: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<View>>;
9
+ export interface ListItemLeadingSlotProps extends IListItemLeadingSlotProps {
10
+ className?: string;
11
+ }
12
+ declare const ListItemLeadingSlot: import("react").ForwardRefExoticComponent<ListItemLeadingSlotProps & import("react").RefAttributes<View>>;
13
+ export interface ListItemContentProps extends ViewProps {
14
+ className?: string;
15
+ }
16
+ declare const ListItemContent: import("react").ForwardRefExoticComponent<ListItemContentProps & import("react").RefAttributes<View>>;
17
+ export interface ListItemTitleProps extends TextProps {
18
+ className?: string;
19
+ }
20
+ declare const ListItemTitle: import("react").ForwardRefExoticComponent<ListItemTitleProps & import("react").RefAttributes<Text>>;
21
+ export interface ListItemDescriptionProps extends TextProps {
22
+ className?: string;
23
+ }
24
+ declare const ListItemDescription: import("react").ForwardRefExoticComponent<ListItemDescriptionProps & import("react").RefAttributes<Text>>;
25
+ export interface ListItemMetaProps extends TextProps {
26
+ className?: string;
27
+ }
28
+ declare const ListItemMeta: import("react").ForwardRefExoticComponent<ListItemMetaProps & import("react").RefAttributes<Text>>;
29
+ export interface ListItemTrailingSlotProps extends ViewProps {
30
+ className?: string;
31
+ }
32
+ declare const ListItemTrailingSlot: import("react").ForwardRefExoticComponent<ListItemTrailingSlotProps & import("react").RefAttributes<View>>;
33
+ export interface ListItemSectionHeaderComponentProps extends IListItemSectionHeaderProps {
34
+ className?: string;
35
+ }
36
+ declare const ListItemSectionHeader: import("react").ForwardRefExoticComponent<ListItemSectionHeaderComponentProps & import("react").RefAttributes<View>>;
37
+ type ListItemCompound = typeof ListItemRoot & {
38
+ LeadingSlot: typeof ListItemLeadingSlot;
39
+ Content: typeof ListItemContent;
40
+ Title: typeof ListItemTitle;
41
+ Description: typeof ListItemDescription;
42
+ Meta: typeof ListItemMeta;
43
+ TrailingSlot: typeof ListItemTrailingSlot;
44
+ SectionHeader: typeof ListItemSectionHeader;
45
+ };
46
+ export declare const ListItem: ListItemCompound;
47
+ export type { ListItemCrossAlign, ListItemVariantProps };
48
+ export { listItemContentVariants, listItemDescriptionVariants, listItemLeadingSlotVariants, listItemMetaVariants, listItemRootVariants, listItemSectionHeaderLabelVariants, listItemSectionHeaderVariants, listItemTitleVariants, listItemTrailingSlotVariants, } from './styles';
49
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAUL,KAAK,oBAAoB,EAC1B,MAAM,UAAU,CAAC;AA4BlB,MAAM,WAAW,aAAc,SAAQ,cAAc,EAAE,qBAAqB;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA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AAgB,CAAC;AAEvB,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;AACzD,OAAO,EACL,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,kCAAkC,EAClC,6BAA6B,EAC7B,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,UAAU,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export declare const listItemRootVariants: (props?: ({
3
+ size?: "default" | "compact" | null | undefined;
4
+ surface?: "default" | "negative" | null | undefined;
5
+ showSeparator?: boolean | null | undefined;
6
+ crossAlign?: "start" | "center" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export declare const listItemLeadingSlotVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ export declare const listItemTrailingSlotVariants: (props?: ({
10
+ crossAlign?: "start" | "center" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ export declare const listItemContentVariants: (props?: ({
13
+ crossAlign?: "start" | "center" | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
+ export declare const listItemTitleVariants: (props?: ({
16
+ size?: "default" | "compact" | null | undefined;
17
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
+ export declare const listItemDescriptionVariants: (props?: ({
19
+ size?: "default" | "compact" | null | undefined;
20
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
+ export declare const listItemMetaVariants: (props?: ({
22
+ size?: "default" | "compact" | null | undefined;
23
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
24
+ export declare const listItemSectionHeaderVariants: (props?: ({
25
+ showDivider?: boolean | null | undefined;
26
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
+ /** Default section-title typography; applied by `ListItem.SectionHeader` for string/number children. Exported for rare custom composition. */
28
+ export declare const listItemSectionHeaderLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
29
+ export type ListItemVariantProps = VariantProps<typeof listItemRootVariants>;
30
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,eAAO,MAAM,oBAAoB;;;;;8EAmDhC,CAAC;AAIF,eAAO,MAAM,2BAA2B,oFAAqD,CAAC;AAE9F,eAAO,MAAM,4BAA4B;;8EAUvC,CAAC;AAIH,eAAO,MAAM,uBAAuB;;8EAUlC,CAAC;AAIH,eAAO,MAAM,qBAAqB;;8EAUhC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;8EAUtC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;8EAU/B,CAAC;AAIH,eAAO,MAAM,6BAA6B;;8EAgBzC,CAAC;AAEF,8IAA8I;AAC9I,eAAO,MAAM,kCAAkC,oFAE9C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -3,12 +3,23 @@ import { type ProgressSegmentedVariants } from './styles';
3
3
  export interface ProgressSegmentedProps extends ViewProps, ProgressSegmentedVariants {
4
4
  /** Current step (1-based index into the segment count) */
5
5
  readonly step: number;
6
- /** Total number of segments */
6
+ /**
7
+ * Number of segments in the bar. Matches the Figma `segments` variant (2–6 in the design
8
+ * system file); the prop accepts any positive integer for backward compatibility.
9
+ */
10
+ readonly segments?: number;
11
+ /**
12
+ * @deprecated Use {@link ProgressSegmentedProps.segments} instead. This alias will be removed
13
+ * in a future major release.
14
+ */
7
15
  readonly total?: number;
8
16
  /** When true, the current step segment is marked as complete rather than in-progress */
9
17
  readonly isStepComplete?: boolean;
10
- /** Returns the accessibility value text announced by screen readers. Receives the clamped step, total, and whether the step is complete. */
11
- readonly getAccessibilityText?: (step: number, total: number, isStepComplete: boolean) => string;
18
+ /**
19
+ * Returns the accessibility value text announced by screen readers. Receives the clamped
20
+ * step, segment count, and whether the step is complete.
21
+ */
22
+ readonly getAccessibilityText?: (step: number, segmentCount: number, isStepComplete: boolean) => string;
12
23
  readonly className?: string;
13
24
  }
14
25
  export declare const ProgressSegmented: import("react").ForwardRefExoticComponent<ProgressSegmentedProps & import("react").RefAttributes<View>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressSegmented/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,sBAAuB,SAAQ,SAAS,EAAE,yBAAyB;IAClF,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC,4IAA4I;IAC5I,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,KAAK,MAAM,CAAC;IACjG,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,yGAyD7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressSegmented/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,UAAU,CAAC;AAIlB,MAAM,WAAW,sBAAuB,SAAQ,SAAS,EAAE,yBAAyB;IAClF,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAC9B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,OAAO,KACpB,MAAM,CAAC;IACZ,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,yGAyE7B,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { type ReactNode } from 'react';
2
+ import { Text, type TextProps, View, type ViewProps } from 'react-native';
3
+ import { type IRadioProps } from '@cdx-ui/primitives';
4
+ export interface RadioProps extends IRadioProps {
5
+ className?: string;
6
+ children?: ReactNode;
7
+ }
8
+ declare const RadioRoot: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<View>>;
9
+ export interface RadioIndicatorProps extends ViewProps {
10
+ className?: string;
11
+ children?: ReactNode;
12
+ }
13
+ declare const RadioIndicator: import("react").ForwardRefExoticComponent<RadioIndicatorProps & import("react").RefAttributes<View>>;
14
+ export interface RadioLabelProps extends TextProps {
15
+ className?: string;
16
+ children?: ReactNode;
17
+ }
18
+ declare const RadioLabel: import("react").ForwardRefExoticComponent<RadioLabelProps & import("react").RefAttributes<Text>>;
19
+ export interface RadioGroupProps extends ViewProps {
20
+ className?: string;
21
+ children?: ReactNode;
22
+ value?: string;
23
+ defaultValue?: string;
24
+ onChange?: (value: string) => void;
25
+ isDisabled?: boolean;
26
+ isInvalid?: boolean;
27
+ isRequired?: boolean;
28
+ isReadOnly?: boolean;
29
+ direction?: 'column' | 'row';
30
+ name?: string;
31
+ }
32
+ declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<View>>;
33
+ type RadioCompoundComponent = typeof RadioRoot & {
34
+ Indicator: typeof RadioIndicator;
35
+ Label: typeof RadioLabel;
36
+ Group: typeof RadioGroup;
37
+ };
38
+ export declare const Radio: RadioCompoundComponent;
39
+ export {};
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Radio/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAA+B,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAoDnF,MAAM,WAAW,UAAW,SAAQ,WAAW;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,SAAS,6FAQb,CAAC;AAQH,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,cAAc,sGAQnB,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,kGAUf,CAAC;AAQF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,UAAU,kGAwCf,CAAC;AAQF,KAAK,sBAAsB,GAAG,OAAO,SAAS,GAAG;IAC/C,SAAS,EAAE,OAAO,cAAc,CAAC;IACjC,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,KAAK,EAAE,OAAO,UAAU,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAIZ,sBAAsB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const radioRootVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
+ export declare const radioIndicatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ export declare const radioInnerDotVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ export declare const radioLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ export declare const radioGroupVariants: (props?: ({
6
+ direction?: "row" | "column" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Radio/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oFAI5B,CAAC;AAEH,eAAO,MAAM,sBAAsB,oFAoBjC,CAAC;AAEH,eAAO,MAAM,qBAAqB,oFAchC,CAAC;AAEH,eAAO,MAAM,kBAAkB,oFAA2C,CAAC;AAE3E,eAAO,MAAM,kBAAkB;;8EAQ7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,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,0BAA0B,CAAC;AAElE,eAAO,MAAM,SAAS;;8EAmBrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { type ReactNode } from 'react';
2
+ import { Text, View, type TextProps, type ViewProps } from 'react-native';
3
+ import { type ITileGroupMultipleProps, type ITileGroupSingleProps, type ITileIndicatorProps, type ITileLeadingSlotProps, type ITileProps, type ITileTrailingSlotProps, useTileContext } from '@cdx-ui/primitives';
4
+ import { type TileGroupVariantProps, type TileVariantProps } from './styles';
5
+ /**
6
+ * Discriminated union mirroring `ITileGroupProps`, with `className` and layout variants added at
7
+ * the styled layer. Distributing the intersection across each branch keeps `interface … extends`
8
+ * ergonomics and avoids tripping `@typescript-eslint` on `(union) & { ... }`.
9
+ *
10
+ * `direction` and `spacing` constrain the group layout to the three supported patterns:
11
+ * - `direction="column"` + `spacing="default"` — vertical stack with gaps (default).
12
+ * - `direction="column"` + `spacing="none"` — tight vertical stack (rows touch).
13
+ * - `direction="row"` + `spacing="default"` — side-by-side horizontal layout.
14
+ *
15
+ * `shape` (when set) is propagated to child `Tile`s via `withStyleContext`, matching the
16
+ * Avatar size-propagation pattern. A per-tile `shape` prop overrides the inherited value.
17
+ */
18
+ export interface TileGroupSingleProps extends ITileGroupSingleProps, TileGroupVariantProps {
19
+ className?: string;
20
+ /** Visual shape inherited by child `Tile`s. Per-tile `shape` overrides this. */
21
+ shape?: TileVariantProps['shape'];
22
+ }
23
+ export interface TileGroupMultipleProps extends ITileGroupMultipleProps, TileGroupVariantProps {
24
+ className?: string;
25
+ /** Visual shape inherited by child `Tile`s. Per-tile `shape` overrides this. */
26
+ shape?: TileVariantProps['shape'];
27
+ }
28
+ export type TileGroupProps = TileGroupSingleProps | TileGroupMultipleProps;
29
+ declare const TileGroup: import("react").ForwardRefExoticComponent<TileGroupProps & import("react").RefAttributes<View>>;
30
+ export interface TileProps extends ITileProps, TileVariantProps {
31
+ className?: string;
32
+ }
33
+ declare const TileRoot: import("react").ForwardRefExoticComponent<TileProps & import("react").RefAttributes<View>>;
34
+ export interface TileLeadingSlotProps extends ITileLeadingSlotProps {
35
+ className?: string;
36
+ }
37
+ declare const TileLeadingSlot: import("react").ForwardRefExoticComponent<TileLeadingSlotProps & import("react").RefAttributes<View>>;
38
+ export interface TileContentProps extends ViewProps {
39
+ className?: string;
40
+ }
41
+ declare const TileContent: import("react").ForwardRefExoticComponent<TileContentProps & import("react").RefAttributes<View>>;
42
+ export interface TileTitleProps extends TextProps {
43
+ className?: string;
44
+ }
45
+ declare const TileTitle: import("react").ForwardRefExoticComponent<TileTitleProps & import("react").RefAttributes<Text>>;
46
+ export interface TileDescriptionProps extends TextProps {
47
+ className?: string;
48
+ }
49
+ declare const TileDescription: import("react").ForwardRefExoticComponent<TileDescriptionProps & import("react").RefAttributes<Text>>;
50
+ export interface TileIndicatorProps extends ITileIndicatorProps {
51
+ className?: string;
52
+ children?: ReactNode;
53
+ }
54
+ declare const TileIndicator: import("react").ForwardRefExoticComponent<TileIndicatorProps & import("react").RefAttributes<View>>;
55
+ export interface TileTrailingSlotProps extends ITileTrailingSlotProps {
56
+ className?: string;
57
+ }
58
+ declare const TileTrailingSlot: import("react").ForwardRefExoticComponent<TileTrailingSlotProps & import("react").RefAttributes<View>>;
59
+ type TileCompound = typeof TileRoot & {
60
+ Group: typeof TileGroup;
61
+ LeadingSlot: typeof TileLeadingSlot;
62
+ Content: typeof TileContent;
63
+ Title: typeof TileTitle;
64
+ Description: typeof TileDescription;
65
+ Indicator: typeof TileIndicator;
66
+ TrailingSlot: typeof TileTrailingSlot;
67
+ };
68
+ export declare const Tile: TileCompound;
69
+ export { useTileContext };
70
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAa,IAAI,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,cAAc,EACf,MAAM,oBAAoB,CAAC;AAO5B,OAAO,EASL,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAmClB;;;;;;;;;;;;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,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACnC;AACD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,sBAAsB,CAAC;AAE3E,QAAA,MAAM,SAAS,iGAYd,CAAC;AAQF,MAAM,WAAW,SAAU,SAAQ,UAAU,EAAE,gBAAgB;IAC7D,SAAS,CAAC,EAAE,M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