@cdx-ui/primitives 0.0.1-beta.4 → 0.0.1-beta.41

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 (287) hide show
  1. package/README.md +51 -25
  2. package/lib/commonjs/CLAUDE.md +32 -0
  3. package/lib/commonjs/avatar/createAvatarText.js +9 -1
  4. package/lib/commonjs/avatar/createAvatarText.js.map +1 -1
  5. package/lib/commonjs/button/createButtonText.js +1 -0
  6. package/lib/commonjs/button/createButtonText.js.map +1 -1
  7. package/lib/commonjs/checkbox/createCheckboxRoot.web.js +8 -3
  8. package/lib/commonjs/checkbox/createCheckboxRoot.web.js.map +1 -1
  9. package/lib/commonjs/chip/createChipRoot.js +132 -0
  10. package/lib/commonjs/chip/createChipRoot.js.map +1 -0
  11. package/lib/commonjs/chip/index.js +16 -0
  12. package/lib/commonjs/chip/index.js.map +1 -0
  13. package/lib/commonjs/chip/types.js +6 -0
  14. package/lib/commonjs/chip/types.js.map +1 -0
  15. package/lib/commonjs/field/createFieldLabel.js.map +1 -1
  16. package/lib/commonjs/index.js +48 -0
  17. package/lib/commonjs/index.js.map +1 -1
  18. package/lib/commonjs/input/createInputField.js +5 -0
  19. package/lib/commonjs/input/createInputField.js.map +1 -1
  20. package/lib/commonjs/list-item/context.js +11 -0
  21. package/lib/commonjs/list-item/context.js.map +1 -0
  22. package/lib/commonjs/list-item/createListItemContent.js +30 -0
  23. package/lib/commonjs/list-item/createListItemContent.js.map +1 -0
  24. package/lib/commonjs/list-item/createListItemDescription.js +25 -0
  25. package/lib/commonjs/list-item/createListItemDescription.js.map +1 -0
  26. package/lib/commonjs/list-item/createListItemLeadingSlot.js +34 -0
  27. package/lib/commonjs/list-item/createListItemLeadingSlot.js.map +1 -0
  28. package/lib/commonjs/list-item/createListItemMeta.js +25 -0
  29. package/lib/commonjs/list-item/createListItemMeta.js.map +1 -0
  30. package/lib/commonjs/list-item/createListItemRoot.js +157 -0
  31. package/lib/commonjs/list-item/createListItemRoot.js.map +1 -0
  32. package/lib/commonjs/list-item/createListItemSectionHeader.js +54 -0
  33. package/lib/commonjs/list-item/createListItemSectionHeader.js.map +1 -0
  34. package/lib/commonjs/list-item/createListItemTitle.js +25 -0
  35. package/lib/commonjs/list-item/createListItemTitle.js.map +1 -0
  36. package/lib/commonjs/list-item/createListItemTrailingSlot.js +28 -0
  37. package/lib/commonjs/list-item/createListItemTrailingSlot.js.map +1 -0
  38. package/lib/commonjs/list-item/index.js +55 -0
  39. package/lib/commonjs/list-item/index.js.map +1 -0
  40. package/lib/commonjs/list-item/types.js +6 -0
  41. package/lib/commonjs/list-item/types.js.map +1 -0
  42. package/lib/commonjs/radio/context.js +14 -0
  43. package/lib/commonjs/radio/context.js.map +1 -0
  44. package/lib/commonjs/radio/createRadioGroup.js +66 -0
  45. package/lib/commonjs/radio/createRadioGroup.js.map +1 -0
  46. package/lib/commonjs/radio/createRadioIndicator.js +43 -0
  47. package/lib/commonjs/radio/createRadioIndicator.js.map +1 -0
  48. package/lib/commonjs/radio/createRadioLabel.js +38 -0
  49. package/lib/commonjs/radio/createRadioLabel.js.map +1 -0
  50. package/lib/commonjs/radio/createRadioRoot.js +95 -0
  51. package/lib/commonjs/radio/createRadioRoot.js.map +1 -0
  52. package/lib/commonjs/radio/createRadioRoot.web.js +87 -0
  53. package/lib/commonjs/radio/createRadioRoot.web.js.map +1 -0
  54. package/lib/commonjs/radio/index.js +26 -0
  55. package/lib/commonjs/radio/index.js.map +1 -0
  56. package/lib/commonjs/radio/types.js +6 -0
  57. package/lib/commonjs/radio/types.js.map +1 -0
  58. package/lib/commonjs/radio/useRadioRoot.js +64 -0
  59. package/lib/commonjs/radio/useRadioRoot.js.map +1 -0
  60. package/lib/commonjs/select/createSelectTrigger.js +17 -4
  61. package/lib/commonjs/select/createSelectTrigger.js.map +1 -1
  62. package/lib/commonjs/tile/context.js +30 -0
  63. package/lib/commonjs/tile/context.js.map +1 -0
  64. package/lib/commonjs/tile/createTileContent.js +30 -0
  65. package/lib/commonjs/tile/createTileContent.js.map +1 -0
  66. package/lib/commonjs/tile/createTileDescription.js +28 -0
  67. package/lib/commonjs/tile/createTileDescription.js.map +1 -0
  68. package/lib/commonjs/tile/createTileGroup.js +112 -0
  69. package/lib/commonjs/tile/createTileGroup.js.map +1 -0
  70. package/lib/commonjs/tile/createTileIndicator.js +46 -0
  71. package/lib/commonjs/tile/createTileIndicator.js.map +1 -0
  72. package/lib/commonjs/tile/createTileLeadingSlot.js +34 -0
  73. package/lib/commonjs/tile/createTileLeadingSlot.js.map +1 -0
  74. package/lib/commonjs/tile/createTileRoot.js +133 -0
  75. package/lib/commonjs/tile/createTileRoot.js.map +1 -0
  76. package/lib/commonjs/tile/createTileTitle.js +28 -0
  77. package/lib/commonjs/tile/createTileTitle.js.map +1 -0
  78. package/lib/commonjs/tile/createTileTrailingSlot.js +35 -0
  79. package/lib/commonjs/tile/createTileTrailingSlot.js.map +1 -0
  80. package/lib/commonjs/tile/index.js +55 -0
  81. package/lib/commonjs/tile/index.js.map +1 -0
  82. package/lib/commonjs/tile/types.js +6 -0
  83. package/lib/commonjs/tile/types.js.map +1 -0
  84. package/lib/module/CLAUDE.md +32 -0
  85. package/lib/module/avatar/createAvatarText.js +9 -1
  86. package/lib/module/avatar/createAvatarText.js.map +1 -1
  87. package/lib/module/button/createButtonText.js +1 -0
  88. package/lib/module/button/createButtonText.js.map +1 -1
  89. package/lib/module/checkbox/createCheckboxRoot.web.js +8 -2
  90. package/lib/module/checkbox/createCheckboxRoot.web.js.map +1 -1
  91. package/lib/module/chip/createChipRoot.js +126 -0
  92. package/lib/module/chip/createChipRoot.js.map +1 -0
  93. package/lib/module/chip/index.js +12 -0
  94. package/lib/module/chip/index.js.map +1 -0
  95. package/lib/module/chip/types.js +4 -0
  96. package/lib/module/chip/types.js.map +1 -0
  97. package/lib/module/field/createFieldLabel.js.map +1 -1
  98. package/lib/module/index.js +4 -0
  99. package/lib/module/index.js.map +1 -1
  100. package/lib/module/input/createInputField.js +5 -0
  101. package/lib/module/input/createInputField.js.map +1 -1
  102. package/lib/module/list-item/context.js +5 -0
  103. package/lib/module/list-item/context.js.map +1 -0
  104. package/lib/module/list-item/createListItemContent.js +24 -0
  105. package/lib/module/list-item/createListItemContent.js.map +1 -0
  106. package/lib/module/list-item/createListItemDescription.js +19 -0
  107. package/lib/module/list-item/createListItemDescription.js.map +1 -0
  108. package/lib/module/list-item/createListItemLeadingSlot.js +28 -0
  109. package/lib/module/list-item/createListItemLeadingSlot.js.map +1 -0
  110. package/lib/module/list-item/createListItemMeta.js +19 -0
  111. package/lib/module/list-item/createListItemMeta.js.map +1 -0
  112. package/lib/module/list-item/createListItemRoot.js +151 -0
  113. package/lib/module/list-item/createListItemRoot.js.map +1 -0
  114. package/lib/module/list-item/createListItemSectionHeader.js +48 -0
  115. package/lib/module/list-item/createListItemSectionHeader.js.map +1 -0
  116. package/lib/module/list-item/createListItemTitle.js +19 -0
  117. package/lib/module/list-item/createListItemTitle.js.map +1 -0
  118. package/lib/module/list-item/createListItemTrailingSlot.js +22 -0
  119. package/lib/module/list-item/createListItemTrailingSlot.js.map +1 -0
  120. package/lib/module/list-item/index.js +39 -0
  121. package/lib/module/list-item/index.js.map +1 -0
  122. package/lib/module/list-item/types.js +4 -0
  123. package/lib/module/list-item/types.js.map +1 -0
  124. package/lib/module/radio/context.js +7 -0
  125. package/lib/module/radio/context.js.map +1 -0
  126. package/lib/module/radio/createRadioGroup.js +61 -0
  127. package/lib/module/radio/createRadioGroup.js.map +1 -0
  128. package/lib/module/radio/createRadioIndicator.js +38 -0
  129. package/lib/module/radio/createRadioIndicator.js.map +1 -0
  130. package/lib/module/radio/createRadioLabel.js +33 -0
  131. package/lib/module/radio/createRadioLabel.js.map +1 -0
  132. package/lib/module/radio/createRadioRoot.js +90 -0
  133. package/lib/module/radio/createRadioRoot.js.map +1 -0
  134. package/lib/module/radio/createRadioRoot.web.js +82 -0
  135. package/lib/module/radio/createRadioRoot.web.js.map +1 -0
  136. package/lib/module/radio/index.js +22 -0
  137. package/lib/module/radio/index.js.map +1 -0
  138. package/lib/module/radio/types.js +4 -0
  139. package/lib/module/radio/types.js.map +1 -0
  140. package/lib/module/radio/useRadioRoot.js +60 -0
  141. package/lib/module/radio/useRadioRoot.js.map +1 -0
  142. package/lib/module/select/createSelectTrigger.js +19 -6
  143. package/lib/module/select/createSelectTrigger.js.map +1 -1
  144. package/lib/module/tile/context.js +21 -0
  145. package/lib/module/tile/context.js.map +1 -0
  146. package/lib/module/tile/createTileContent.js +24 -0
  147. package/lib/module/tile/createTileContent.js.map +1 -0
  148. package/lib/module/tile/createTileDescription.js +22 -0
  149. package/lib/module/tile/createTileDescription.js.map +1 -0
  150. package/lib/module/tile/createTileGroup.js +106 -0
  151. package/lib/module/tile/createTileGroup.js.map +1 -0
  152. package/lib/module/tile/createTileIndicator.js +40 -0
  153. package/lib/module/tile/createTileIndicator.js.map +1 -0
  154. package/lib/module/tile/createTileLeadingSlot.js +28 -0
  155. package/lib/module/tile/createTileLeadingSlot.js.map +1 -0
  156. package/lib/module/tile/createTileRoot.js +127 -0
  157. package/lib/module/tile/createTileRoot.js.map +1 -0
  158. package/lib/module/tile/createTileTitle.js +22 -0
  159. package/lib/module/tile/createTileTitle.js.map +1 -0
  160. package/lib/module/tile/createTileTrailingSlot.js +29 -0
  161. package/lib/module/tile/createTileTrailingSlot.js.map +1 -0
  162. package/lib/module/tile/index.js +39 -0
  163. package/lib/module/tile/index.js.map +1 -0
  164. package/lib/module/tile/types.js +4 -0
  165. package/lib/module/tile/types.js.map +1 -0
  166. package/lib/typescript/avatar/createAvatarText.d.ts.map +1 -1
  167. package/lib/typescript/button/createButtonText.d.ts.map +1 -1
  168. package/lib/typescript/checkbox/createCheckboxRoot.web.d.ts +4 -0
  169. package/lib/typescript/checkbox/createCheckboxRoot.web.d.ts.map +1 -1
  170. package/lib/typescript/checkbox/useCheckboxRoot.d.ts +2 -0
  171. package/lib/typescript/checkbox/useCheckboxRoot.d.ts.map +1 -1
  172. package/lib/typescript/chip/createChipRoot.d.ts +4 -0
  173. package/lib/typescript/chip/createChipRoot.d.ts.map +1 -0
  174. package/lib/typescript/chip/index.d.ts +9 -0
  175. package/lib/typescript/chip/index.d.ts.map +1 -0
  176. package/lib/typescript/chip/types.d.ts +17 -0
  177. package/lib/typescript/chip/types.d.ts.map +1 -0
  178. package/lib/typescript/field/createFieldLabel.d.ts.map +1 -1
  179. package/lib/typescript/index.d.ts +4 -0
  180. package/lib/typescript/index.d.ts.map +1 -1
  181. package/lib/typescript/input/createInputField.d.ts.map +1 -1
  182. package/lib/typescript/list-item/context.d.ts +6 -0
  183. package/lib/typescript/list-item/context.d.ts.map +1 -0
  184. package/lib/typescript/list-item/createListItemContent.d.ts +3 -0
  185. package/lib/typescript/list-item/createListItemContent.d.ts.map +1 -0
  186. package/lib/typescript/list-item/createListItemDescription.d.ts +3 -0
  187. package/lib/typescript/list-item/createListItemDescription.d.ts.map +1 -0
  188. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts +4 -0
  189. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts.map +1 -0
  190. package/lib/typescript/list-item/createListItemMeta.d.ts +3 -0
  191. package/lib/typescript/list-item/createListItemMeta.d.ts.map +1 -0
  192. package/lib/typescript/list-item/createListItemRoot.d.ts +4 -0
  193. package/lib/typescript/list-item/createListItemRoot.d.ts.map +1 -0
  194. package/lib/typescript/list-item/createListItemSectionHeader.d.ts +4 -0
  195. package/lib/typescript/list-item/createListItemSectionHeader.d.ts.map +1 -0
  196. package/lib/typescript/list-item/createListItemTitle.d.ts +3 -0
  197. package/lib/typescript/list-item/createListItemTitle.d.ts.map +1 -0
  198. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts +3 -0
  199. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts.map +1 -0
  200. package/lib/typescript/list-item/index.d.ts +16 -0
  201. package/lib/typescript/list-item/index.d.ts.map +1 -0
  202. package/lib/typescript/list-item/types.d.ts +86 -0
  203. package/lib/typescript/list-item/types.d.ts.map +1 -0
  204. package/lib/typescript/radio/context.d.ts +21 -0
  205. package/lib/typescript/radio/context.d.ts.map +1 -0
  206. package/lib/typescript/radio/createRadioGroup.d.ts +3 -0
  207. package/lib/typescript/radio/createRadioGroup.d.ts.map +1 -0
  208. package/lib/typescript/radio/createRadioIndicator.d.ts +5 -0
  209. package/lib/typescript/radio/createRadioIndicator.d.ts.map +1 -0
  210. package/lib/typescript/radio/createRadioLabel.d.ts +5 -0
  211. package/lib/typescript/radio/createRadioLabel.d.ts.map +1 -0
  212. package/lib/typescript/radio/createRadioRoot.d.ts +3 -0
  213. package/lib/typescript/radio/createRadioRoot.d.ts.map +1 -0
  214. package/lib/typescript/radio/createRadioRoot.web.d.ts +3 -0
  215. package/lib/typescript/radio/createRadioRoot.web.d.ts.map +1 -0
  216. package/lib/typescript/radio/index.d.ts +10 -0
  217. package/lib/typescript/radio/index.d.ts.map +1 -0
  218. package/lib/typescript/radio/types.d.ts +54 -0
  219. package/lib/typescript/radio/types.d.ts.map +1 -0
  220. package/lib/typescript/radio/useRadioRoot.d.ts +151 -0
  221. package/lib/typescript/radio/useRadioRoot.d.ts.map +1 -0
  222. package/lib/typescript/select/createSelectTrigger.d.ts.map +1 -1
  223. package/lib/typescript/tile/context.d.ts +9 -0
  224. package/lib/typescript/tile/context.d.ts.map +1 -0
  225. package/lib/typescript/tile/createTileContent.d.ts +3 -0
  226. package/lib/typescript/tile/createTileContent.d.ts.map +1 -0
  227. package/lib/typescript/tile/createTileDescription.d.ts +3 -0
  228. package/lib/typescript/tile/createTileDescription.d.ts.map +1 -0
  229. package/lib/typescript/tile/createTileGroup.d.ts +4 -0
  230. package/lib/typescript/tile/createTileGroup.d.ts.map +1 -0
  231. package/lib/typescript/tile/createTileIndicator.d.ts +4 -0
  232. package/lib/typescript/tile/createTileIndicator.d.ts.map +1 -0
  233. package/lib/typescript/tile/createTileLeadingSlot.d.ts +4 -0
  234. package/lib/typescript/tile/createTileLeadingSlot.d.ts.map +1 -0
  235. package/lib/typescript/tile/createTileRoot.d.ts +4 -0
  236. package/lib/typescript/tile/createTileRoot.d.ts.map +1 -0
  237. package/lib/typescript/tile/createTileTitle.d.ts +3 -0
  238. package/lib/typescript/tile/createTileTitle.d.ts.map +1 -0
  239. package/lib/typescript/tile/createTileTrailingSlot.d.ts +9 -0
  240. package/lib/typescript/tile/createTileTrailingSlot.d.ts.map +1 -0
  241. package/lib/typescript/tile/index.d.ts +15 -0
  242. package/lib/typescript/tile/index.d.ts.map +1 -0
  243. package/lib/typescript/tile/types.d.ts +119 -0
  244. package/lib/typescript/tile/types.d.ts.map +1 -0
  245. package/package.json +5 -2
  246. package/src/CLAUDE.md +32 -0
  247. package/src/avatar/createAvatarText.tsx +10 -1
  248. package/src/button/createButtonText.tsx +1 -0
  249. package/src/checkbox/createCheckboxRoot.web.tsx +6 -2
  250. package/src/chip/createChipRoot.tsx +144 -0
  251. package/src/chip/index.ts +18 -0
  252. package/src/chip/types.ts +23 -0
  253. package/src/field/createFieldLabel.tsx +4 -1
  254. package/src/index.ts +4 -0
  255. package/src/input/createInputField.tsx +6 -0
  256. package/src/list-item/context.tsx +5 -0
  257. package/src/list-item/createListItemContent.tsx +23 -0
  258. package/src/list-item/createListItemDescription.tsx +19 -0
  259. package/src/list-item/createListItemLeadingSlot.tsx +30 -0
  260. package/src/list-item/createListItemMeta.tsx +17 -0
  261. package/src/list-item/createListItemRoot.tsx +178 -0
  262. package/src/list-item/createListItemSectionHeader.tsx +53 -0
  263. package/src/list-item/createListItemTitle.tsx +17 -0
  264. package/src/list-item/createListItemTrailingSlot.tsx +21 -0
  265. package/src/list-item/index.ts +88 -0
  266. package/src/list-item/types.ts +122 -0
  267. package/src/radio/context.tsx +21 -0
  268. package/src/radio/createRadioGroup.tsx +67 -0
  269. package/src/radio/createRadioIndicator.tsx +32 -0
  270. package/src/radio/createRadioLabel.tsx +28 -0
  271. package/src/radio/createRadioRoot.tsx +100 -0
  272. package/src/radio/createRadioRoot.web.tsx +81 -0
  273. package/src/radio/index.ts +37 -0
  274. package/src/radio/types.ts +67 -0
  275. package/src/radio/useRadioRoot.ts +69 -0
  276. package/src/select/createSelectTrigger.tsx +26 -3
  277. package/src/tile/context.tsx +23 -0
  278. package/src/tile/createTileContent.tsx +23 -0
  279. package/src/tile/createTileDescription.tsx +19 -0
  280. package/src/tile/createTileGroup.tsx +134 -0
  281. package/src/tile/createTileIndicator.tsx +38 -0
  282. package/src/tile/createTileLeadingSlot.tsx +30 -0
  283. package/src/tile/createTileRoot.tsx +124 -0
  284. package/src/tile/createTileTitle.tsx +19 -0
  285. package/src/tile/createTileTrailingSlot.tsx +25 -0
  286. package/src/tile/index.ts +88 -0
  287. package/src/tile/types.ts +153 -0
@@ -0,0 +1,9 @@
1
+ import type React from 'react';
2
+ import type { PressableProps, ViewProps } from 'react-native';
3
+ import type { IChipComponentType } from './types';
4
+ export type { IChipComponentType, IChipPressablePassthrough, IChipProps } from './types';
5
+ export declare function createChip({ View, Pressable, }: {
6
+ View: React.ComponentType<ViewProps>;
7
+ Pressable: React.ComponentType<PressableProps>;
8
+ }): IChipComponentType<ViewProps | PressableProps>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,YAAY,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEzF,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;CAChD,GAGgB,kBAAkB,CAAC,SAAS,GAAG,cAAc,CAAC,CAC9D"}
@@ -0,0 +1,17 @@
1
+ import type { ForwardRefExoticComponent, RefAttributes } from 'react';
2
+ import type { PressableProps, ViewProps } from 'react-native';
3
+ export type IChipPressablePassthrough = Partial<Pick<PressableProps, 'onPressIn' | 'onPressOut' | 'onHoverIn' | 'onHoverOut'>>;
4
+ export interface IChipProps extends ViewProps, IChipPressablePassthrough {
5
+ /**
6
+ * When set (and `asChild` is not used with a valid element), root renders as pressable.
7
+ */
8
+ onPress?: PressableProps['onPress'];
9
+ /** Disables press handling when the root is pressable. */
10
+ disabled?: boolean;
11
+ /**
12
+ * Merge slot + interaction props onto a single child instead of rendering the default pressable root.
13
+ */
14
+ asChild?: boolean;
15
+ }
16
+ export type IChipComponentType<RootRef> = ForwardRefExoticComponent<RefAttributes<RootRef> & IChipProps>;
17
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/chip/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC,CAC9E,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,SAAS,EAAE,yBAAyB;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,kBAAkB,CAAC,OAAO,IAAI,yBAAyB,CACjE,aAAa,CAAC,OAAO,CAAC,GAAG,UAAU,CACpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createFieldLabel.d.ts","sourceRoot":"","sources":["../../../src/field/createFieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,eAAe,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;eACpB,KAAK,CAAC,SAAS;iCAsBlE,CAAC"}
1
+ {"version":3,"file":"createFieldLabel.d.ts","sourceRoot":"","sources":["../../../src/field/createFieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,eAAe,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;eACpB,KAAK,CAAC,SAAS;iCAyBlE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './avatar';
2
2
  export * from './button';
3
+ export * from './chip';
3
4
  export * from './checkbox';
4
5
  export * from './dialog';
5
6
  export * from './field';
@@ -7,10 +8,13 @@ export * from './form';
7
8
  export * from './input';
8
9
  export * from './otp-input';
9
10
  export * from './link';
11
+ export * from './list-item';
10
12
  export { type EdgeInsets, OverlayInsetsProvider } from './overlay';
11
13
  export * from './select';
12
14
  export * from './switch';
15
+ export * from './tile';
13
16
  export * from './progress';
17
+ export * from './radio';
14
18
  export type { InteractionState } from './types';
15
19
  export { dataAttributes } from './utils/dataAttributes';
16
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,KAAK,UAAU,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACnE,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,KAAK,UAAU,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACnE,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createInputField.d.ts","sourceRoot":"","sources":["../../../src/input/createInputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,gFAoGxE,CAAC"}
1
+ {"version":3,"file":"createInputField.d.ts","sourceRoot":"","sources":["../../../src/input/createInputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,gFA0GxE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { IListItemContextValue } from './types';
2
+ export declare const ListItemProvider: import("react").FunctionComponent<{
3
+ children: import("react").ReactNode;
4
+ value: IListItemContextValue;
5
+ }>, useListItemContext: () => IListItemContextValue;
6
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/list-item/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAO,gBAAgB;;;IAAE,kBAAkB,6BACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemContent: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").ViewProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemContent.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAU1C,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAYlE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemDescription: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemDescription.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,yBAAyB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAcvE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemLeadingSlotProps } from './types';
3
+ export declare const createListItemLeadingSlot: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<IListItemLeadingSlotProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemLeadingSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemLeadingSlot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemLeadingSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAIzD,eAAO,MAAM,yBAAyB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,8FAuBvE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemMeta: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemMeta.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemMeta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAY/D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemProps } from './types';
3
+ export declare const createListItemRoot: <V, P>(BaseView: React.ComponentType<V>, BasePressable: React.ComponentType<P>) => React.ForwardRefExoticComponent<IListItemProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemRoot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,SAAS,CAAC;AAyB7E,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAE,CAAC,EACrC,UAAU,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EAChC,eAAe,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,mFAgJpC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemSectionHeaderProps } from './types';
3
+ export declare const createListItemSectionHeader: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<IListItemSectionHeaderProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemSectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemSectionHeader.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemSectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAsB3D,eAAO,MAAM,2BAA2B,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,gGA2BzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemTitle: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemTitle.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAYhE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemTrailingSlot: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").ViewProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemTrailingSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemTrailingSlot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemTrailingSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,0BAA0B,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAcxE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type React from 'react';
2
+ import type { IListItemComponentType } from './types';
3
+ export type { IListItemComponentType, IListItemContentProps, IListItemContextValue, IListItemDescriptionProps, IListItemLeadingSlotProps, IListItemMetaProps, IListItemPressablePassthrough, IListItemProps, IListItemSectionHeaderProps, IListItemTitleProps, IListItemTrailingSlotProps, ListItemCrossAlign, ListItemSize, ListItemSurface, } from './types';
4
+ export { ListItemProvider, useListItemContext } from './context';
5
+ export declare function createListItem<ViewComponent, PressableComponent, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader>(BaseComponents: {
6
+ View: React.ComponentType<ViewComponent>;
7
+ Pressable: React.ComponentType<PressableComponent>;
8
+ LeadingSlot: React.ComponentType<LeadingSlot>;
9
+ Content: React.ComponentType<Content>;
10
+ Title: React.ComponentType<Title>;
11
+ Description: React.ComponentType<Description>;
12
+ Meta: React.ComponentType<Meta>;
13
+ TrailingSlot: React.ComponentType<TrailingSlot>;
14
+ SectionHeader: React.ComponentType<SectionHeader>;
15
+ }): IListItemComponentType<ViewComponent | PressableComponent, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader>;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/list-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEjE,wBAAgB,cAAc,CAC5B,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,cAAc,EAAE;IAChB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IACzC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACnD,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAC9C,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAClC,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAC9C,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAChC,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CACnD,GA2BO,sBAAsB,CAC1B,aAAa,GAAG,kBAAkB,EAClC,WAAW,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,aAAa,CACd,CACF"}
@@ -0,0 +1,86 @@
1
+ import type { ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from 'react';
2
+ import type { PressableProps, TextProps, ViewProps } from 'react-native';
3
+ export type ListItemSize = 'default' | 'compact';
4
+ export type ListItemSurface = 'default' | 'negative';
5
+ /**
6
+ * Cross-axis alignment for the row (`flex-direction: row`).
7
+ * - **center**: Leading, content, and trailing are vertically centered (typical transactions).
8
+ * - **start**: Top-aligned — use when trailing text should align with the title row (e.g. branch distance “2.04 mi”) or status chips sit above a tall content stack.
9
+ */
10
+ export type ListItemCrossAlign = 'center' | 'start';
11
+ export type IListItemPressablePassthrough = Partial<Pick<PressableProps, 'onPressIn' | 'onPressOut' | 'onHoverIn' | 'onHoverOut'>>;
12
+ export interface IListItemProps extends ViewProps, IListItemPressablePassthrough {
13
+ /**
14
+ * Disables press handling when the root is pressable (maps to Pressable `disabled`).
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * When set (and `asChild` is not used), root renders as pressable with interaction props.
19
+ */
20
+ onPress?: PressableProps['onPress'];
21
+ /**
22
+ * Vertical density; mapped at styled layer via `data-size`.
23
+ * @default 'default'
24
+ */
25
+ size?: ListItemSize;
26
+ /**
27
+ * Semantic row surface (e.g. canceled transaction); mapped via `data-surface`.
28
+ * @default 'default'
29
+ */
30
+ surface?: ListItemSurface;
31
+ /**
32
+ * Whether the row shows a bottom separator; mapped via `data-separator`.
33
+ * @default true
34
+ */
35
+ showSeparator?: boolean;
36
+ /**
37
+ * Vertical alignment of leading / content / trailing along the row cross axis.
38
+ * @default 'center'
39
+ */
40
+ crossAlign?: ListItemCrossAlign;
41
+ /**
42
+ * Merge interaction props onto a single child instead of rendering the default pressable root.
43
+ * Intended for use with `onPress`.
44
+ */
45
+ asChild?: boolean;
46
+ }
47
+ export interface IListItemContextValue {
48
+ isPressed: boolean;
49
+ isHovered: boolean;
50
+ isDisabled: boolean;
51
+ crossAlign: ListItemCrossAlign;
52
+ }
53
+ export interface IListItemLeadingSlotProps extends ViewProps {
54
+ /**
55
+ * Decorative leading content defaults to hidden from the accessibility tree.
56
+ * Set to `false` when the leading region contains meaningful controls.
57
+ * @default true
58
+ */
59
+ 'aria-hidden'?: boolean;
60
+ }
61
+ export type IListItemContentProps = ViewProps;
62
+ export type IListItemTitleProps = TextProps;
63
+ export type IListItemDescriptionProps = TextProps;
64
+ export type IListItemMetaProps = TextProps;
65
+ export type IListItemTrailingSlotProps = ViewProps;
66
+ export interface IListItemSectionHeaderProps extends ViewProps {
67
+ /** Primary section label (e.g. date heading). */
68
+ children: ReactNode;
69
+ /** Optional right-aligned adornment (e.g. section Chip). */
70
+ trailing?: ReactNode;
71
+ /**
72
+ * Whether to expose the top divider marker for styling (`data-divider`).
73
+ * @default true
74
+ */
75
+ showDivider?: boolean;
76
+ }
77
+ export type IListItemComponentType<RootRef, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader> = ForwardRefExoticComponent<RefAttributes<RootRef> & IListItemProps> & {
78
+ LeadingSlot: ForwardRefExoticComponent<RefAttributes<LeadingSlot> & PropsWithoutRef<LeadingSlot> & IListItemLeadingSlotProps>;
79
+ Content: ForwardRefExoticComponent<RefAttributes<Content> & PropsWithoutRef<Content> & IListItemContentProps>;
80
+ Title: ForwardRefExoticComponent<RefAttributes<Title> & PropsWithoutRef<Title> & IListItemTitleProps>;
81
+ Description: ForwardRefExoticComponent<RefAttributes<Description> & PropsWithoutRef<Description> & IListItemDescriptionProps>;
82
+ Meta: ForwardRefExoticComponent<RefAttributes<Meta> & PropsWithoutRef<Meta> & IListItemMetaProps>;
83
+ TrailingSlot: ForwardRefExoticComponent<RefAttributes<TrailingSlot> & PropsWithoutRef<TrailingSlot> & IListItemTrailingSlotProps>;
84
+ SectionHeader: ForwardRefExoticComponent<RefAttributes<SectionHeader> & PropsWithoutRef<SectionHeader> & IListItemSectionHeaderProps>;
85
+ };
86
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/list-item/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC,CAC9E,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,6BAA6B;IAC9E;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAE3C,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAAC;AAEnD,MAAM,WAAW,2BAA4B,SAAQ,SAAS;IAC5D,iDAAiD;IACjD,QAAQ,EAAE,SAAS,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,sBAAsB,CAChC,OAAO,EACP,WAAW,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,aAAa,IACX,yBAAyB,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,GAAG;IACvE,WAAW,EAAE,yBAAyB,CACpC,aAAa,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,WAAW,CAAC,GAAG,yBAAyB,CACtF,CAAC;IACF,OAAO,EAAE,yBAAyB,CAChC,aAAa,CAAC,OAAO,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,qBAAqB,CAC1E,CAAC;IACF,KAAK,EAAE,yBAAyB,CAC9B,aAAa,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,mBAAmB,CACpE,CAAC;IACF,WAAW,EAAE,yBAAyB,CACpC,aAAa,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,WAAW,CAAC,GAAG,yBAAyB,CACtF,CAAC;IACF,IAAI,EAAE,yBAAyB,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAClG,YAAY,EAAE,yBAAyB,CACrC,aAAa,CAAC,YAAY,CAAC,GAAG,eAAe,CAAC,YAAY,CAAC,GAAG,0BAA0B,CACzF,CAAC;IACF,aAAa,EAAE,yBAAyB,CACtC,aAAa,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,GAAG,2BAA2B,CAC5F,CAAC;CACH,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { RadioGroupState } from '@react-stately/radio';
3
+ import type { IRadioContextValue } from './types';
4
+ export declare const RadioProvider: React.FunctionComponent<{
5
+ children: React.ReactNode;
6
+ value: IRadioContextValue;
7
+ }>, useRadioContext: () => IRadioContextValue;
8
+ export interface IRadioGroupState {
9
+ isReadOnly: boolean;
10
+ isDisabled: boolean;
11
+ isInvalid: boolean;
12
+ isRequired: boolean;
13
+ isSelected: (value: string) => boolean;
14
+ selectValue: (value: string) => void;
15
+ }
16
+ export declare const RadioGroupContext: React.Context<{
17
+ state: IRadioGroupState;
18
+ radioGroupState: RadioGroupState;
19
+ name?: string;
20
+ } | null>;
21
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/radio/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAO,aAAa;;;IAAE,eAAe,0BAAqD,CAAC;AAElG,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,iBAAiB;WACrB,gBAAgB;qBACN,eAAe;WACzB,MAAM;SACA,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioGroupProps } from './types';
2
+ export declare const createRadioGroup: <T>(BaseRadioGroup: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioGroupProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioGroup.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,mGA0DvE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { IRadioIndicatorProps } from './types';
2
+ export declare const createRadioIndicator: <T>(BaseRadioIndicator: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioIndicatorProps & {
3
+ className?: string;
4
+ } & import("react").RefAttributes<unknown>>;
5
+ //# sourceMappingURL=createRadioIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioIndicator.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioIndicator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,oBAAoB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;gBACxB,MAAM;2CAyB9D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { IRadioLabelProps } from './types';
2
+ export declare const createRadioLabel: <T>(BaseRadioLabel: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioLabelProps & {
3
+ className?: string;
4
+ } & import("react").RefAttributes<unknown>>;
5
+ //# sourceMappingURL=createRadioLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioLabel.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioLabel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;gBACpB,MAAM;2CAqB1D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioProps } from './types';
2
+ export declare const createRadioRoot: <T>(BaseRadio: React.ComponentType<T>, RadioIndicator: React.ComponentType<any>) => import("react").ForwardRefExoticComponent<IRadioProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioRoot.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioRoot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,gBAAgB,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,8FAwFvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioProps } from './types';
2
+ export declare const createRadioRoot: <T>(BaseRadio: React.ComponentType<T>, RadioIndicator: React.ComponentType<any>) => import("react").ForwardRefExoticComponent<IRadioProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioRoot.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioRoot.web.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioRoot.web.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,gBAAgB,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,8FAmEtC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type React from 'react';
2
+ import type { IRadioComponentType } from './types';
3
+ export type { IRadioComponentType, IRadioGroupProps, IRadioIndicatorProps, IRadioLabelProps, IRadioProps, } from './types';
4
+ export declare function createRadio<Root, Indicator, Label, Group>(BaseComponents: {
5
+ Root: React.ComponentType<Root>;
6
+ Indicator: React.ComponentType<Indicator>;
7
+ Label: React.ComponentType<Label>;
8
+ Group: React.ComponentType<Group>;
9
+ }): IRadioComponentType<Root, Indicator, Label, Group>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE;IACzE,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAChC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC1C,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAClC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;CACnC,GAeO,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,CACzD"}
@@ -0,0 +1,54 @@
1
+ import type { PressableProps } from 'react-native';
2
+ export interface IRadioProps extends PressableProps {
3
+ /** Required — identifies this item's value within a Radio.Group. */
4
+ value: string;
5
+ isDisabled?: boolean;
6
+ isInvalid?: boolean;
7
+ isReadOnly?: boolean;
8
+ isHovered?: boolean;
9
+ isFocused?: boolean;
10
+ isPressed?: boolean;
11
+ isFocusVisible?: boolean;
12
+ children?: React.ReactNode;
13
+ }
14
+ export interface IRadioGroupProps {
15
+ /** Controlled selected value. */
16
+ value?: string;
17
+ /** Default selected value for uncontrolled usage. */
18
+ defaultValue?: string;
19
+ /** Called when the selected value changes. */
20
+ onChange?: (value: string) => void;
21
+ /** Layout direction of the radio items. */
22
+ direction?: 'column' | 'row';
23
+ /** Form field name for web form integration. */
24
+ name?: string;
25
+ isDisabled?: boolean;
26
+ isInvalid?: boolean;
27
+ isRequired?: boolean;
28
+ isReadOnly?: boolean;
29
+ 'aria-label'?: string;
30
+ 'aria-labelledby'?: string;
31
+ children?: React.ReactNode;
32
+ }
33
+ export interface IRadioIndicatorProps {
34
+ children?: React.ReactNode;
35
+ }
36
+ export interface IRadioLabelProps {
37
+ children?: React.ReactNode;
38
+ }
39
+ export type IRadioComponentType<Root, Indicator, Label, Group> = React.ForwardRefExoticComponent<React.RefAttributes<Root> & React.PropsWithoutRef<Root> & IRadioProps> & {
40
+ Indicator: React.ForwardRefExoticComponent<React.RefAttributes<Indicator> & React.PropsWithoutRef<Indicator> & IRadioIndicatorProps>;
41
+ Label: React.ForwardRefExoticComponent<React.RefAttributes<Label> & React.PropsWithoutRef<Label> & IRadioLabelProps>;
42
+ Group: React.ForwardRefExoticComponent<React.RefAttributes<Group> & React.PropsWithoutRef<Group> & IRadioGroupProps>;
43
+ };
44
+ export interface IRadioContextValue {
45
+ isChecked?: boolean;
46
+ isDisabled?: boolean;
47
+ isInvalid?: boolean;
48
+ isReadOnly?: boolean;
49
+ isFocused?: boolean;
50
+ isFocusVisible?: boolean;
51
+ isHovered?: boolean;
52
+ isPressed?: boolean;
53
+ }
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/radio/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,MAAM,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,IAAI,KAAK,CAAC,yBAAyB,CAC9F,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,WAAW,CACtE,GAAG;IACF,SAAS,EAAE,KAAK,CAAC,yBAAyB,CACxC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,oBAAoB,CACzF,CAAC;IACF,KAAK,EAAE,KAAK,CAAC,yBAAyB,CACpC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,GAAG,gBAAgB,CAC7E,CAAC;IACF,KAAK,EAAE,KAAK,CAAC,yBAAyB,CACpC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,GAAG,gBAAgB,CAC7E,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -0,0 +1,151 @@
1
+ import type { IRadioProps } from './types';
2
+ interface UseRadioRootOptions {
3
+ useInputRefForAria?: boolean;
4
+ }
5
+ export declare function useRadioRoot(props: IRadioProps, ref?: React.Ref<unknown>, { useInputRefForAria }?: UseRadioRootOptions): {
6
+ combinedProps: {
7
+ value: string;
8
+ isDisabled?: boolean | undefined;
9
+ isHovered?: boolean;
10
+ isFocused?: boolean;
11
+ isPressed?: boolean;
12
+ isFocusVisible?: boolean;
13
+ children?: React.ReactNode;
14
+ onHoverIn?: null | ((event: import("react-native").MouseEvent) => void) | undefined;
15
+ onHoverOut?: null | ((event: import("react-native").MouseEvent) => void) | undefined;
16
+ onPress?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
17
+ onPressIn?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
18
+ onPressOut?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
19
+ onLongPress?: null | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
20
+ onBlur?: null | ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | undefined;
21
+ onFocus?: null | ((event: import("react-native").NativeSyntheticEvent<import("react-native").TargetedEvent>) => void) | undefined;
22
+ cancelable?: null | boolean | undefined;
23
+ delayHoverIn?: number | null | undefined;
24
+ delayHoverOut?: number | null | undefined;
25
+ delayLongPress?: null | number | undefined;
26
+ disabled?: null | boolean | undefined;
27
+ hitSlop?: null | import("react-native").Insets | number | undefined;
28
+ pressRetentionOffset?: null | import("react-native").Insets | number | undefined;
29
+ android_disableSound?: null | boolean | undefined;
30
+ android_ripple?: null | import("react-native").PressableAndroidRippleConfig | undefined;
31
+ testOnly_pressed?: null | boolean | undefined;
32
+ style?: import("react-native").StyleProp<import("react-native").ViewStyle> | ((state: import("react-native").PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").ViewStyle>) | undefined;
33
+ unstable_pressDelay?: number | undefined;
34
+ accessible?: boolean | undefined;
35
+ accessibilityActions?: ReadonlyArray<import("react-native").AccessibilityActionInfo> | undefined;
36
+ accessibilityLabel?: string | undefined;
37
+ 'aria-label'?: string | undefined;
38
+ accessibilityRole?: import("react-native").AccessibilityRole | undefined;
39
+ accessibilityState?: import("react-native").AccessibilityState | undefined;
40
+ 'aria-busy'?: boolean | undefined;
41
+ 'aria-checked'?: boolean | "mixed" | undefined;
42
+ 'aria-disabled'?: boolean | undefined;
43
+ 'aria-expanded'?: boolean | undefined;
44
+ 'aria-selected'?: boolean | undefined;
45
+ accessibilityHint?: string | undefined;
46
+ accessibilityValue?: import("react-native").AccessibilityValue | undefined;
47
+ 'aria-valuemax'?: import("react-native").AccessibilityValue["max"] | undefined;
48
+ 'aria-valuemin'?: import("react-native").AccessibilityValue["min"] | undefined;
49
+ 'aria-valuenow'?: import("react-native").AccessibilityValue["now"] | undefined;
50
+ 'aria-valuetext'?: import("react-native").AccessibilityValue["text"] | undefined;
51
+ onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
52
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
53
+ 'aria-hidden'?: boolean | undefined;
54
+ 'aria-modal'?: boolean | undefined;
55
+ role?: import("react-native").Role | undefined;
56
+ accessibilityLabelledBy?: string | string[] | undefined;
57
+ 'aria-labelledby'?: string | undefined;
58
+ accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
59
+ 'aria-live'?: ("polite" | "assertive" | "off") | undefined;
60
+ screenReaderFocusable?: boolean | undefined;
61
+ accessibilityElementsHidden?: boolean | undefined;
62
+ accessibilityViewIsModal?: boolean | undefined;
63
+ onAccessibilityEscape?: (() => void) | undefined;
64
+ onAccessibilityTap?: (() => void) | undefined;
65
+ onMagicTap?: (() => void) | undefined;
66
+ accessibilityIgnoresInvertColors?: boolean | undefined;
67
+ accessibilityLanguage?: string | undefined;
68
+ accessibilityShowsLargeContentViewer?: boolean | undefined;
69
+ accessibilityLargeContentTitle?: string | undefined;
70
+ accessibilityRespondsToUserInteraction?: boolean | undefined;
71
+ id?: string | undefined;
72
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined | undefined;
73
+ testID?: string | undefined | undefined;
74
+ nativeID?: string | undefined | undefined;
75
+ needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
76
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
77
+ removeClippedSubviews?: boolean | undefined | undefined;
78
+ collapsable?: boolean | undefined | undefined;
79
+ collapsableChildren?: boolean | undefined | undefined;
80
+ renderToHardwareTextureAndroid?: boolean | undefined | undefined;
81
+ focusable?: boolean | undefined | undefined;
82
+ tabIndex?: 0 | -1 | undefined | undefined;
83
+ shouldRasterizeIOS?: boolean | undefined | undefined;
84
+ isTVSelectable?: boolean | undefined | undefined;
85
+ hasTVPreferredFocus?: boolean | undefined | undefined;
86
+ tvParallaxShiftDistanceX?: number | undefined | undefined;
87
+ tvParallaxShiftDistanceY?: number | undefined | undefined;
88
+ tvParallaxTiltAngle?: number | undefined | undefined;
89
+ tvParallaxMagnification?: number | undefined | undefined;
90
+ onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
91
+ onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
92
+ onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
93
+ onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
94
+ onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
95
+ onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
96
+ onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
97
+ onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
98
+ onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
99
+ onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
100
+ onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
101
+ onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
102
+ onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
103
+ onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
104
+ onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
105
+ onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
106
+ onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined | undefined;
107
+ onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
108
+ onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
109
+ onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
110
+ onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
111
+ onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
112
+ onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
113
+ onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
114
+ onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
115
+ onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
116
+ onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
117
+ onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
118
+ onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined | undefined;
119
+ hasFeedbackText?: boolean | undefined;
120
+ hasHelpText?: boolean | undefined;
121
+ setHasFeedbackText?: import("react").Dispatch<import("react").SetStateAction<boolean>> | undefined;
122
+ setHasHelpText?: import("react").Dispatch<import("react").SetStateAction<boolean>> | undefined;
123
+ name?: string | undefined;
124
+ labelId?: string | undefined;
125
+ feedbackId?: string | undefined;
126
+ helpTextId?: string | undefined;
127
+ htmlProps?: {
128
+ [x: string]: unknown;
129
+ } | undefined;
130
+ inputRef?: React.RefObject<import("react-native").TextInput | null> | undefined;
131
+ focusInput?: (() => void) | undefined;
132
+ isLabelFocused?: boolean | undefined;
133
+ setIsLabelFocused?: React.Dispatch<React.SetStateAction<boolean>> | undefined;
134
+ isRequired?: boolean | undefined;
135
+ };
136
+ isInvalid: boolean;
137
+ isReadOnly: boolean;
138
+ inputProps: any;
139
+ labelProps: Record<string, unknown>;
140
+ isChecked: any;
141
+ isDisabled: any;
142
+ isHovered: boolean;
143
+ hoverProps: {
144
+ onHoverIn: () => void;
145
+ onHoverOut: () => void;
146
+ };
147
+ mergedRef: import("react").RefCallback<unknown>;
148
+ inputRef: import("react").RefObject<HTMLInputElement | null>;
149
+ };
150
+ export {};
151
+ //# sourceMappingURL=useRadioRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRadioRoot.d.ts","sourceRoot":"","sources":["../../../src/radio/useRadioRoot.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,UAAU,mBAAmB;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAC1B,KAAK,EAAE,WAAW,EAClB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,EACxB,EAAE,kBAA0B,EAAE,GAAE,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"createSelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/select/createSelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAG,aAAa,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;eAaxD,CAAC,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS;iCAiMhF,CAAC"}
1
+ {"version":3,"file":"createSelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/select/createSelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAG,aAAa,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;eAaxD,CAAC,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS;iCAmNhF,CAAC"}