@fluentui-react-native/radio-group 0.16.46 → 0.16.48

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 (335) hide show
  1. package/CHANGELOG.json +73 -1
  2. package/CHANGELOG.md +25 -2
  3. package/MIGRATION.md +94 -0
  4. package/SPEC.md +586 -0
  5. package/assets/controlled_radiogroup.png +0 -0
  6. package/assets/disabled_item.png +0 -0
  7. package/assets/disabled_radiogroup.png +0 -0
  8. package/assets/horizontal_radiogroup.png +0 -0
  9. package/assets/horizontal_stacked_radiogroup.png +0 -0
  10. package/assets/required_radiogroup.png +0 -0
  11. package/assets/subtext_radiogroup.png +0 -0
  12. package/assets/uncontrolled_radiogroup.png +0 -0
  13. package/lib/Radio/Radio.d.ts +13 -0
  14. package/lib/Radio/Radio.d.ts.map +1 -0
  15. package/lib/Radio/Radio.js +48 -0
  16. package/lib/Radio/Radio.js.map +1 -0
  17. package/lib/Radio/Radio.styling.d.ts +5 -0
  18. package/lib/Radio/Radio.styling.d.ts.map +1 -0
  19. package/lib/Radio/Radio.styling.js +78 -0
  20. package/lib/Radio/Radio.styling.js.map +1 -0
  21. package/lib/Radio/Radio.types.d.ts +185 -0
  22. package/lib/Radio/Radio.types.d.ts.map +1 -0
  23. package/lib/Radio/Radio.types.js +2 -0
  24. package/lib/Radio/Radio.types.js.map +1 -0
  25. package/lib/Radio/RadioTokens.android.d.ts +5 -0
  26. package/lib/Radio/RadioTokens.android.d.ts.map +1 -0
  27. package/lib/Radio/RadioTokens.android.js +51 -0
  28. package/lib/Radio/RadioTokens.android.js.map +1 -0
  29. package/lib/Radio/RadioTokens.d.ts +5 -0
  30. package/lib/Radio/RadioTokens.d.ts.map +1 -0
  31. package/lib/Radio/RadioTokens.ios.d.ts +5 -0
  32. package/lib/Radio/RadioTokens.ios.d.ts.map +1 -0
  33. package/lib/Radio/RadioTokens.ios.js +52 -0
  34. package/lib/Radio/RadioTokens.ios.js.map +1 -0
  35. package/lib/Radio/RadioTokens.js +86 -0
  36. package/lib/Radio/RadioTokens.js.map +1 -0
  37. package/lib/Radio/RadioTokens.win32.d.ts +5 -0
  38. package/lib/Radio/RadioTokens.win32.d.ts.map +1 -0
  39. package/lib/Radio/RadioTokens.win32.js +100 -0
  40. package/lib/Radio/RadioTokens.win32.js.map +1 -0
  41. package/lib/Radio/__tests__/RadioExperimental.test.d.ts +2 -0
  42. package/lib/Radio/__tests__/RadioExperimental.test.d.ts.map +1 -0
  43. package/lib/Radio/__tests__/RadioExperimental.test.js +22 -0
  44. package/lib/Radio/__tests__/RadioExperimental.test.js.map +1 -0
  45. package/lib/Radio/useRadio.d.ts +3 -0
  46. package/lib/Radio/useRadio.d.ts.map +1 -0
  47. package/lib/Radio/useRadio.js +55 -0
  48. package/lib/Radio/useRadio.js.map +1 -0
  49. package/lib/Radio/useRadio.win32.d.ts +3 -0
  50. package/lib/Radio/useRadio.win32.d.ts.map +1 -0
  51. package/lib/Radio/useRadio.win32.js +109 -0
  52. package/lib/Radio/useRadio.win32.js.map +1 -0
  53. package/lib/RadioGroup/RadioGroup.d.ts +12 -0
  54. package/lib/RadioGroup/RadioGroup.d.ts.map +1 -0
  55. package/lib/RadioGroup/RadioGroup.js +58 -0
  56. package/lib/RadioGroup/RadioGroup.js.map +1 -0
  57. package/lib/RadioGroup/RadioGroup.styling.d.ts +5 -0
  58. package/lib/RadioGroup/RadioGroup.styling.d.ts.map +1 -0
  59. package/lib/RadioGroup/RadioGroup.styling.js +47 -0
  60. package/lib/RadioGroup/RadioGroup.styling.js.map +1 -0
  61. package/lib/RadioGroup/RadioGroup.types.d.ts +130 -0
  62. package/lib/RadioGroup/RadioGroup.types.d.ts.map +1 -0
  63. package/lib/RadioGroup/RadioGroup.types.js.map +1 -0
  64. package/lib/RadioGroup/RadioGroupTokens.android.d.ts +3 -0
  65. package/lib/RadioGroup/RadioGroupTokens.android.d.ts.map +1 -0
  66. package/lib/RadioGroup/RadioGroupTokens.android.js +3 -0
  67. package/lib/RadioGroup/RadioGroupTokens.android.js.map +1 -0
  68. package/lib/RadioGroup/RadioGroupTokens.d.ts +5 -0
  69. package/lib/RadioGroup/RadioGroupTokens.d.ts.map +1 -0
  70. package/lib/RadioGroup/RadioGroupTokens.ios.d.ts +2 -0
  71. package/lib/RadioGroup/RadioGroupTokens.ios.d.ts.map +1 -0
  72. package/lib/RadioGroup/RadioGroupTokens.ios.js +2 -0
  73. package/lib/RadioGroup/RadioGroupTokens.ios.js.map +1 -0
  74. package/lib/RadioGroup/RadioGroupTokens.js +17 -0
  75. package/lib/RadioGroup/RadioGroupTokens.js.map +1 -0
  76. package/lib/RadioGroup/RadioGroupTokens.mobile.d.ts +5 -0
  77. package/lib/RadioGroup/RadioGroupTokens.mobile.d.ts.map +1 -0
  78. package/lib/RadioGroup/RadioGroupTokens.mobile.js +18 -0
  79. package/lib/RadioGroup/RadioGroupTokens.mobile.js.map +1 -0
  80. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts +2 -0
  81. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts.map +1 -0
  82. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.js +63 -0
  83. package/lib/RadioGroup/__tests__/RadioGroupExperimental.test.js.map +1 -0
  84. package/lib/RadioGroup/radioGroupContext.d.ts +11 -0
  85. package/lib/RadioGroup/radioGroupContext.d.ts.map +1 -0
  86. package/lib/RadioGroup/radioGroupContext.js +22 -0
  87. package/lib/RadioGroup/radioGroupContext.js.map +1 -0
  88. package/lib/RadioGroup/useRadioGroup.d.ts +3 -0
  89. package/lib/RadioGroup/useRadioGroup.d.ts.map +1 -0
  90. package/lib/RadioGroup/useRadioGroup.js +63 -0
  91. package/lib/RadioGroup/useRadioGroup.js.map +1 -0
  92. package/lib/RadioGroup/useRadioGroupContextValue.d.ts +4 -0
  93. package/lib/RadioGroup/useRadioGroupContextValue.d.ts.map +1 -0
  94. package/lib/RadioGroup/useRadioGroupContextValue.js +5 -0
  95. package/lib/RadioGroup/useRadioGroupContextValue.js.map +1 -0
  96. package/lib/index.d.ts +14 -6
  97. package/lib/index.d.ts.map +1 -1
  98. package/lib/index.js +12 -4
  99. package/lib/index.js.map +1 -1
  100. package/lib/legacy/RadioButton.d.ts.map +1 -0
  101. package/lib/{RadioButton.js → legacy/RadioButton.js} +1 -22
  102. package/lib/legacy/RadioButton.js.map +1 -0
  103. package/lib/legacy/RadioButton.macos.d.ts.map +1 -0
  104. package/lib/legacy/RadioButton.macos.js.map +1 -0
  105. package/lib/legacy/RadioButton.settings.d.ts.map +1 -0
  106. package/lib/legacy/RadioButton.settings.js.map +1 -0
  107. package/lib/legacy/RadioButton.types.d.ts.map +1 -0
  108. package/lib/legacy/RadioButton.types.js.map +1 -0
  109. package/lib/legacy/RadioGroup.d.ts.map +1 -0
  110. package/lib/{RadioGroup.js → legacy/RadioGroup.js} +1 -22
  111. package/lib/legacy/RadioGroup.js.map +1 -0
  112. package/lib/legacy/RadioGroup.settings.d.ts.map +1 -0
  113. package/lib/legacy/RadioGroup.settings.js.map +1 -0
  114. package/lib/legacy/RadioGroup.types.d.ts.map +1 -0
  115. package/lib/legacy/RadioGroup.types.js +2 -0
  116. package/lib/legacy/RadioGroup.types.js.map +1 -0
  117. package/lib/legacy/__tests__/RadioButton.test.d.ts.map +1 -0
  118. package/lib/{RadioButton.test.js → legacy/__tests__/RadioButton.test.js} +1 -1
  119. package/lib/legacy/__tests__/RadioButton.test.js.map +1 -0
  120. package/lib/legacy/__tests__/RadioButtonGroup.test.d.ts.map +1 -0
  121. package/lib/{RadioButtonGroup.test.js → legacy/__tests__/RadioButtonGroup.test.js} +1 -1
  122. package/lib/legacy/__tests__/RadioButtonGroup.test.js.map +1 -0
  123. package/lib-commonjs/Radio/Radio.d.ts +13 -0
  124. package/lib-commonjs/Radio/Radio.d.ts.map +1 -0
  125. package/lib-commonjs/Radio/Radio.js +52 -0
  126. package/lib-commonjs/Radio/Radio.js.map +1 -0
  127. package/lib-commonjs/Radio/Radio.styling.d.ts +5 -0
  128. package/lib-commonjs/Radio/Radio.styling.d.ts.map +1 -0
  129. package/lib-commonjs/Radio/Radio.styling.js +81 -0
  130. package/lib-commonjs/Radio/Radio.styling.js.map +1 -0
  131. package/lib-commonjs/Radio/Radio.types.d.ts +185 -0
  132. package/lib-commonjs/Radio/Radio.types.d.ts.map +1 -0
  133. package/lib-commonjs/Radio/Radio.types.js +5 -0
  134. package/lib-commonjs/Radio/Radio.types.js.map +1 -0
  135. package/lib-commonjs/Radio/RadioTokens.android.d.ts +5 -0
  136. package/lib-commonjs/Radio/RadioTokens.android.d.ts.map +1 -0
  137. package/lib-commonjs/Radio/RadioTokens.android.js +55 -0
  138. package/lib-commonjs/Radio/RadioTokens.android.js.map +1 -0
  139. package/lib-commonjs/Radio/RadioTokens.d.ts +5 -0
  140. package/lib-commonjs/Radio/RadioTokens.d.ts.map +1 -0
  141. package/lib-commonjs/Radio/RadioTokens.ios.d.ts +5 -0
  142. package/lib-commonjs/Radio/RadioTokens.ios.d.ts.map +1 -0
  143. package/lib-commonjs/Radio/RadioTokens.ios.js +56 -0
  144. package/lib-commonjs/Radio/RadioTokens.ios.js.map +1 -0
  145. package/lib-commonjs/Radio/RadioTokens.js +90 -0
  146. package/lib-commonjs/Radio/RadioTokens.js.map +1 -0
  147. package/lib-commonjs/Radio/RadioTokens.win32.d.ts +5 -0
  148. package/lib-commonjs/Radio/RadioTokens.win32.d.ts.map +1 -0
  149. package/lib-commonjs/Radio/RadioTokens.win32.js +104 -0
  150. package/lib-commonjs/Radio/RadioTokens.win32.js.map +1 -0
  151. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.d.ts +2 -0
  152. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.d.ts.map +1 -0
  153. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.js +25 -0
  154. package/lib-commonjs/Radio/__tests__/RadioExperimental.test.js.map +1 -0
  155. package/lib-commonjs/Radio/useRadio.d.ts +3 -0
  156. package/lib-commonjs/Radio/useRadio.d.ts.map +1 -0
  157. package/lib-commonjs/Radio/useRadio.js +59 -0
  158. package/lib-commonjs/Radio/useRadio.js.map +1 -0
  159. package/lib-commonjs/Radio/useRadio.win32.d.ts +3 -0
  160. package/lib-commonjs/Radio/useRadio.win32.d.ts.map +1 -0
  161. package/lib-commonjs/Radio/useRadio.win32.js +113 -0
  162. package/lib-commonjs/Radio/useRadio.win32.js.map +1 -0
  163. package/lib-commonjs/RadioGroup/RadioGroup.d.ts +12 -0
  164. package/lib-commonjs/RadioGroup/RadioGroup.d.ts.map +1 -0
  165. package/lib-commonjs/RadioGroup/RadioGroup.js +62 -0
  166. package/lib-commonjs/RadioGroup/RadioGroup.js.map +1 -0
  167. package/lib-commonjs/RadioGroup/RadioGroup.styling.d.ts +5 -0
  168. package/lib-commonjs/RadioGroup/RadioGroup.styling.d.ts.map +1 -0
  169. package/lib-commonjs/RadioGroup/RadioGroup.styling.js +50 -0
  170. package/lib-commonjs/RadioGroup/RadioGroup.styling.js.map +1 -0
  171. package/lib-commonjs/RadioGroup/RadioGroup.types.d.ts +130 -0
  172. package/lib-commonjs/RadioGroup/RadioGroup.types.d.ts.map +1 -0
  173. package/lib-commonjs/RadioGroup/RadioGroup.types.js.map +1 -0
  174. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.d.ts +3 -0
  175. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.d.ts.map +1 -0
  176. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.js +6 -0
  177. package/lib-commonjs/RadioGroup/RadioGroupTokens.android.js.map +1 -0
  178. package/lib-commonjs/RadioGroup/RadioGroupTokens.d.ts +5 -0
  179. package/lib-commonjs/RadioGroup/RadioGroupTokens.d.ts.map +1 -0
  180. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.d.ts +2 -0
  181. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.d.ts.map +1 -0
  182. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.js +6 -0
  183. package/lib-commonjs/RadioGroup/RadioGroupTokens.ios.js.map +1 -0
  184. package/lib-commonjs/RadioGroup/RadioGroupTokens.js +21 -0
  185. package/lib-commonjs/RadioGroup/RadioGroupTokens.js.map +1 -0
  186. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.d.ts +5 -0
  187. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.d.ts.map +1 -0
  188. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.js +22 -0
  189. package/lib-commonjs/RadioGroup/RadioGroupTokens.mobile.js.map +1 -0
  190. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts +2 -0
  191. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.d.ts.map +1 -0
  192. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.js +66 -0
  193. package/lib-commonjs/RadioGroup/__tests__/RadioGroupExperimental.test.js.map +1 -0
  194. package/lib-commonjs/RadioGroup/radioGroupContext.d.ts +11 -0
  195. package/lib-commonjs/RadioGroup/radioGroupContext.d.ts.map +1 -0
  196. package/lib-commonjs/RadioGroup/radioGroupContext.js +27 -0
  197. package/lib-commonjs/RadioGroup/radioGroupContext.js.map +1 -0
  198. package/lib-commonjs/RadioGroup/useRadioGroup.d.ts +3 -0
  199. package/lib-commonjs/RadioGroup/useRadioGroup.d.ts.map +1 -0
  200. package/lib-commonjs/RadioGroup/useRadioGroup.js +67 -0
  201. package/lib-commonjs/RadioGroup/useRadioGroup.js.map +1 -0
  202. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.d.ts +4 -0
  203. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.d.ts.map +1 -0
  204. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.js +9 -0
  205. package/lib-commonjs/RadioGroup/useRadioGroupContextValue.js.map +1 -0
  206. package/lib-commonjs/index.d.ts +14 -6
  207. package/lib-commonjs/index.d.ts.map +1 -1
  208. package/lib-commonjs/index.js +27 -8
  209. package/lib-commonjs/index.js.map +1 -1
  210. package/lib-commonjs/legacy/RadioButton.d.ts.map +1 -0
  211. package/lib-commonjs/{RadioButton.js → legacy/RadioButton.js} +6 -50
  212. package/lib-commonjs/legacy/RadioButton.js.map +1 -0
  213. package/lib-commonjs/legacy/RadioButton.macos.d.ts.map +1 -0
  214. package/lib-commonjs/{RadioButton.macos.js → legacy/RadioButton.macos.js} +2 -24
  215. package/lib-commonjs/legacy/RadioButton.macos.js.map +1 -0
  216. package/lib-commonjs/legacy/RadioButton.settings.d.ts.map +1 -0
  217. package/lib-commonjs/legacy/RadioButton.settings.js.map +1 -0
  218. package/lib-commonjs/legacy/RadioButton.types.d.ts.map +1 -0
  219. package/lib-commonjs/legacy/RadioButton.types.js.map +1 -0
  220. package/lib-commonjs/legacy/RadioGroup.d.ts.map +1 -0
  221. package/lib-commonjs/{RadioGroup.js → legacy/RadioGroup.js} +4 -48
  222. package/lib-commonjs/legacy/RadioGroup.js.map +1 -0
  223. package/lib-commonjs/legacy/RadioGroup.settings.d.ts.map +1 -0
  224. package/lib-commonjs/legacy/RadioGroup.settings.js.map +1 -0
  225. package/lib-commonjs/legacy/RadioGroup.types.d.ts.map +1 -0
  226. package/lib-commonjs/legacy/RadioGroup.types.js +5 -0
  227. package/lib-commonjs/legacy/RadioGroup.types.js.map +1 -0
  228. package/lib-commonjs/legacy/__tests__/RadioButton.test.d.ts.map +1 -0
  229. package/lib-commonjs/legacy/__tests__/RadioButton.test.js +13 -0
  230. package/lib-commonjs/legacy/__tests__/RadioButton.test.js.map +1 -0
  231. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.d.ts.map +1 -0
  232. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.js +23 -0
  233. package/lib-commonjs/legacy/__tests__/RadioButtonGroup.test.js.map +1 -0
  234. package/package.json +12 -8
  235. package/src/Radio/Radio.styling.ts +112 -0
  236. package/src/Radio/Radio.tsx +77 -0
  237. package/src/Radio/Radio.types.ts +233 -0
  238. package/src/Radio/RadioTokens.android.ts +59 -0
  239. package/src/Radio/RadioTokens.ios.ts +61 -0
  240. package/src/Radio/RadioTokens.ts +98 -0
  241. package/src/Radio/RadioTokens.win32.ts +112 -0
  242. package/src/Radio/__tests__/RadioExperimental.test.tsx +27 -0
  243. package/src/Radio/__tests__/__snapshots__/RadioExperimental.test.tsx.snap +246 -0
  244. package/src/Radio/useRadio.ts +121 -0
  245. package/src/Radio/useRadio.win32.ts +185 -0
  246. package/src/RadioGroup/RadioGroup.styling.ts +62 -0
  247. package/src/RadioGroup/RadioGroup.tsx +84 -0
  248. package/src/RadioGroup/RadioGroup.types.ts +154 -0
  249. package/src/RadioGroup/RadioGroupTokens.android.ts +3 -0
  250. package/src/RadioGroup/RadioGroupTokens.ios.ts +1 -0
  251. package/src/RadioGroup/RadioGroupTokens.mobile.ts +21 -0
  252. package/src/RadioGroup/RadioGroupTokens.ts +20 -0
  253. package/src/RadioGroup/__tests__/RadioGroupExperimental.test.tsx +91 -0
  254. package/src/RadioGroup/__tests__/__snapshots__/RadioGroupExperimental.test.tsx.snap +1793 -0
  255. package/src/RadioGroup/radioGroupContext.ts +30 -0
  256. package/src/RadioGroup/useRadioGroup.ts +123 -0
  257. package/src/RadioGroup/useRadioGroupContextValue.ts +6 -0
  258. package/src/index.ts +28 -6
  259. package/src/{RadioButton.test.tsx → legacy/__tests__/RadioButton.test.tsx} +1 -1
  260. package/src/{RadioButtonGroup.test.tsx → legacy/__tests__/RadioButtonGroup.test.tsx} +1 -1
  261. package/tsconfig.json +1 -0
  262. package/lib/RadioButton.d.ts.map +0 -1
  263. package/lib/RadioButton.js.map +0 -1
  264. package/lib/RadioButton.macos.d.ts.map +0 -1
  265. package/lib/RadioButton.macos.js.map +0 -1
  266. package/lib/RadioButton.settings.d.ts.map +0 -1
  267. package/lib/RadioButton.settings.js.map +0 -1
  268. package/lib/RadioButton.test.d.ts.map +0 -1
  269. package/lib/RadioButton.test.js.map +0 -1
  270. package/lib/RadioButton.types.d.ts.map +0 -1
  271. package/lib/RadioButton.types.js.map +0 -1
  272. package/lib/RadioButtonGroup.test.d.ts.map +0 -1
  273. package/lib/RadioButtonGroup.test.js.map +0 -1
  274. package/lib/RadioGroup.d.ts.map +0 -1
  275. package/lib/RadioGroup.js.map +0 -1
  276. package/lib/RadioGroup.settings.d.ts.map +0 -1
  277. package/lib/RadioGroup.settings.js.map +0 -1
  278. package/lib/RadioGroup.types.d.ts.map +0 -1
  279. package/lib/RadioGroup.types.js.map +0 -1
  280. package/lib-commonjs/RadioButton.d.ts.map +0 -1
  281. package/lib-commonjs/RadioButton.js.map +0 -1
  282. package/lib-commonjs/RadioButton.macos.d.ts.map +0 -1
  283. package/lib-commonjs/RadioButton.macos.js.map +0 -1
  284. package/lib-commonjs/RadioButton.settings.d.ts.map +0 -1
  285. package/lib-commonjs/RadioButton.settings.js.map +0 -1
  286. package/lib-commonjs/RadioButton.test.d.ts.map +0 -1
  287. package/lib-commonjs/RadioButton.test.js +0 -35
  288. package/lib-commonjs/RadioButton.test.js.map +0 -1
  289. package/lib-commonjs/RadioButton.types.d.ts.map +0 -1
  290. package/lib-commonjs/RadioButton.types.js.map +0 -1
  291. package/lib-commonjs/RadioButtonGroup.test.d.ts.map +0 -1
  292. package/lib-commonjs/RadioButtonGroup.test.js +0 -45
  293. package/lib-commonjs/RadioButtonGroup.test.js.map +0 -1
  294. package/lib-commonjs/RadioGroup.d.ts.map +0 -1
  295. package/lib-commonjs/RadioGroup.js.map +0 -1
  296. package/lib-commonjs/RadioGroup.settings.d.ts.map +0 -1
  297. package/lib-commonjs/RadioGroup.settings.js.map +0 -1
  298. package/lib-commonjs/RadioGroup.types.d.ts.map +0 -1
  299. package/lib-commonjs/RadioGroup.types.js.map +0 -1
  300. /package/lib/{RadioGroup.types.js → RadioGroup/RadioGroup.types.js} +0 -0
  301. /package/lib/{RadioButton.d.ts → legacy/RadioButton.d.ts} +0 -0
  302. /package/lib/{RadioButton.macos.d.ts → legacy/RadioButton.macos.d.ts} +0 -0
  303. /package/lib/{RadioButton.macos.js → legacy/RadioButton.macos.js} +0 -0
  304. /package/lib/{RadioButton.settings.d.ts → legacy/RadioButton.settings.d.ts} +0 -0
  305. /package/lib/{RadioButton.settings.js → legacy/RadioButton.settings.js} +0 -0
  306. /package/lib/{RadioButton.types.d.ts → legacy/RadioButton.types.d.ts} +0 -0
  307. /package/lib/{RadioButton.types.js → legacy/RadioButton.types.js} +0 -0
  308. /package/lib/{RadioGroup.d.ts → legacy/RadioGroup.d.ts} +0 -0
  309. /package/lib/{RadioGroup.settings.d.ts → legacy/RadioGroup.settings.d.ts} +0 -0
  310. /package/lib/{RadioGroup.settings.js → legacy/RadioGroup.settings.js} +0 -0
  311. /package/lib/{RadioGroup.types.d.ts → legacy/RadioGroup.types.d.ts} +0 -0
  312. /package/lib/{RadioButton.test.d.ts → legacy/__tests__/RadioButton.test.d.ts} +0 -0
  313. /package/lib/{RadioButtonGroup.test.d.ts → legacy/__tests__/RadioButtonGroup.test.d.ts} +0 -0
  314. /package/lib-commonjs/{RadioGroup.types.js → RadioGroup/RadioGroup.types.js} +0 -0
  315. /package/lib-commonjs/{RadioButton.d.ts → legacy/RadioButton.d.ts} +0 -0
  316. /package/lib-commonjs/{RadioButton.macos.d.ts → legacy/RadioButton.macos.d.ts} +0 -0
  317. /package/lib-commonjs/{RadioButton.settings.d.ts → legacy/RadioButton.settings.d.ts} +0 -0
  318. /package/lib-commonjs/{RadioButton.settings.js → legacy/RadioButton.settings.js} +0 -0
  319. /package/lib-commonjs/{RadioButton.types.d.ts → legacy/RadioButton.types.d.ts} +0 -0
  320. /package/lib-commonjs/{RadioButton.types.js → legacy/RadioButton.types.js} +0 -0
  321. /package/lib-commonjs/{RadioGroup.d.ts → legacy/RadioGroup.d.ts} +0 -0
  322. /package/lib-commonjs/{RadioGroup.settings.d.ts → legacy/RadioGroup.settings.d.ts} +0 -0
  323. /package/lib-commonjs/{RadioGroup.settings.js → legacy/RadioGroup.settings.js} +0 -0
  324. /package/lib-commonjs/{RadioGroup.types.d.ts → legacy/RadioGroup.types.d.ts} +0 -0
  325. /package/lib-commonjs/{RadioButton.test.d.ts → legacy/__tests__/RadioButton.test.d.ts} +0 -0
  326. /package/lib-commonjs/{RadioButtonGroup.test.d.ts → legacy/__tests__/RadioButtonGroup.test.d.ts} +0 -0
  327. /package/src/{RadioButton.macos.tsx → legacy/RadioButton.macos.tsx} +0 -0
  328. /package/src/{RadioButton.settings.ts → legacy/RadioButton.settings.ts} +0 -0
  329. /package/src/{RadioButton.tsx → legacy/RadioButton.tsx} +0 -0
  330. /package/src/{RadioButton.types.ts → legacy/RadioButton.types.ts} +0 -0
  331. /package/src/{RadioGroup.settings.ts → legacy/RadioGroup.settings.ts} +0 -0
  332. /package/src/{RadioGroup.tsx → legacy/RadioGroup.tsx} +0 -0
  333. /package/src/{RadioGroup.types.ts → legacy/RadioGroup.types.ts} +0 -0
  334. /package/src/{__snapshots__ → legacy/__tests__/__snapshots__}/RadioButton.test.tsx.snap +0 -0
  335. /package/src/{__snapshots__ → legacy/__tests__/__snapshots__}/RadioButtonGroup.test.tsx.snap +0 -0
@@ -0,0 +1,1793 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`RadioGroup component tests Radio not direct child of radio group 1`] = `
4
+ <View
5
+ accessibilityLabel="Uncontrolled RadioGroup"
6
+ accessibilityRole="radiogroup"
7
+ accessibilityState={
8
+ Object {
9
+ "disabled": false,
10
+ "required": false,
11
+ }
12
+ }
13
+ accessible={true}
14
+ defaultValue="key2"
15
+ style={
16
+ Object {
17
+ "alignItems": "flex-start",
18
+ "display": "flex",
19
+ "flexDirection": "column",
20
+ }
21
+ }
22
+ >
23
+ <View
24
+ style={
25
+ Object {
26
+ "alignItems": "center",
27
+ "alignSelf": "flex-start",
28
+ "display": "flex",
29
+ "flexDirection": "row",
30
+ }
31
+ }
32
+ >
33
+ <Text
34
+ ellipsizeMode="tail"
35
+ numberOfLines={0}
36
+ style={
37
+ Object {
38
+ "color": "#242424",
39
+ "fontFamily": "Segoe UI",
40
+ "fontSize": 13,
41
+ "fontWeight": "600",
42
+ "margin": 0,
43
+ }
44
+ }
45
+ >
46
+ Uncontrolled RadioGroup
47
+ </Text>
48
+ </View>
49
+ <View
50
+ style={
51
+ Object {
52
+ "alignItems": "flex-start",
53
+ "display": "flex",
54
+ "flexDirection": "column",
55
+ "justifyContent": "space-around",
56
+ }
57
+ }
58
+ >
59
+ <View
60
+ accessibilityActions={
61
+ Array [
62
+ Object {
63
+ "name": "Select",
64
+ },
65
+ ]
66
+ }
67
+ accessibilityLabel="Radio1"
68
+ accessibilityPositionInSet={1}
69
+ accessibilityRole="radio"
70
+ accessibilitySetSize={2}
71
+ accessibilityState={
72
+ Object {
73
+ "disabled": false,
74
+ "selected": false,
75
+ }
76
+ }
77
+ accessible={true}
78
+ collapsable={false}
79
+ enableFocusRing={true}
80
+ focusable={true}
81
+ labelPosition="after"
82
+ onAccessibilityAction={[Function]}
83
+ onBlur={[Function]}
84
+ onClick={[Function]}
85
+ onFocus={[Function]}
86
+ onResponderGrant={[Function]}
87
+ onResponderMove={[Function]}
88
+ onResponderRelease={[Function]}
89
+ onResponderTerminate={[Function]}
90
+ onResponderTerminationRequest={[Function]}
91
+ onStartShouldSetResponder={[Function]}
92
+ style={
93
+ Object {
94
+ "alignItems": "center",
95
+ "display": "flex",
96
+ "flexDirection": "row",
97
+ "paddingHorizontal": undefined,
98
+ "paddingVertical": undefined,
99
+ }
100
+ }
101
+ value="key1"
102
+ >
103
+ <View
104
+ accessible={false}
105
+ collapsable={false}
106
+ focusable={false}
107
+ onBlur={[Function]}
108
+ onClick={[Function]}
109
+ onFocus={[Function]}
110
+ onResponderGrant={[Function]}
111
+ onResponderMove={[Function]}
112
+ onResponderRelease={[Function]}
113
+ onResponderTerminate={[Function]}
114
+ onResponderTerminationRequest={[Function]}
115
+ onStartShouldSetResponder={[Function]}
116
+ style={
117
+ Object {
118
+ "alignItems": "center",
119
+ "backgroundColor": undefined,
120
+ "borderColor": "#616161",
121
+ "borderRadius": 10,
122
+ "borderStyle": "solid",
123
+ "borderWidth": 1.5,
124
+ "height": 20,
125
+ "justifyContent": "center",
126
+ "marginBottom": 4,
127
+ "marginLeft": 4,
128
+ "marginRight": 4,
129
+ "marginTop": 4,
130
+ "width": 20,
131
+ }
132
+ }
133
+ >
134
+ <View
135
+ style={
136
+ Object {
137
+ "backgroundColor": undefined,
138
+ "borderRadius": 5,
139
+ "height": 10,
140
+ "opacity": 0,
141
+ "width": 10,
142
+ }
143
+ }
144
+ />
145
+ </View>
146
+ <View
147
+ style={
148
+ Object {
149
+ "alignItems": undefined,
150
+ "flexDirection": "column",
151
+ "marginLeft": 16,
152
+ "marginRight": undefined,
153
+ "padding": 2,
154
+ "paddingRight": 0,
155
+ }
156
+ }
157
+ >
158
+ <Text
159
+ ellipsizeMode="tail"
160
+ numberOfLines={0}
161
+ style={
162
+ Object {
163
+ "color": "#242424",
164
+ "fontFamily": "Segoe UI",
165
+ "fontSize": 13,
166
+ "fontWeight": "400",
167
+ "margin": 0,
168
+ "marginHorizontal": 2,
169
+ }
170
+ }
171
+ >
172
+ Radio1
173
+ </Text>
174
+ </View>
175
+ </View>
176
+ <View
177
+ accessibilityActions={
178
+ Array [
179
+ Object {
180
+ "name": "Select",
181
+ },
182
+ ]
183
+ }
184
+ accessibilityLabel="Radio2"
185
+ accessibilityPositionInSet={2}
186
+ accessibilityRole="radio"
187
+ accessibilitySetSize={2}
188
+ accessibilityState={
189
+ Object {
190
+ "disabled": false,
191
+ "selected": true,
192
+ }
193
+ }
194
+ accessible={true}
195
+ collapsable={false}
196
+ enableFocusRing={true}
197
+ focusable={true}
198
+ labelPosition="after"
199
+ onAccessibilityAction={[Function]}
200
+ onBlur={[Function]}
201
+ onClick={[Function]}
202
+ onFocus={[Function]}
203
+ onResponderGrant={[Function]}
204
+ onResponderMove={[Function]}
205
+ onResponderRelease={[Function]}
206
+ onResponderTerminate={[Function]}
207
+ onResponderTerminationRequest={[Function]}
208
+ onStartShouldSetResponder={[Function]}
209
+ style={
210
+ Object {
211
+ "alignItems": "center",
212
+ "display": "flex",
213
+ "flexDirection": "row",
214
+ "paddingHorizontal": undefined,
215
+ "paddingVertical": undefined,
216
+ }
217
+ }
218
+ value="key2"
219
+ >
220
+ <View
221
+ accessible={false}
222
+ collapsable={false}
223
+ focusable={false}
224
+ onBlur={[Function]}
225
+ onClick={[Function]}
226
+ onFocus={[Function]}
227
+ onResponderGrant={[Function]}
228
+ onResponderMove={[Function]}
229
+ onResponderRelease={[Function]}
230
+ onResponderTerminate={[Function]}
231
+ onResponderTerminationRequest={[Function]}
232
+ onStartShouldSetResponder={[Function]}
233
+ style={
234
+ Object {
235
+ "alignItems": "center",
236
+ "backgroundColor": undefined,
237
+ "borderColor": "#0f6cbd",
238
+ "borderRadius": 10,
239
+ "borderStyle": "solid",
240
+ "borderWidth": 1.5,
241
+ "height": 20,
242
+ "justifyContent": "center",
243
+ "marginBottom": 4,
244
+ "marginLeft": 4,
245
+ "marginRight": 4,
246
+ "marginTop": 4,
247
+ "width": 20,
248
+ }
249
+ }
250
+ >
251
+ <View
252
+ style={
253
+ Object {
254
+ "backgroundColor": "#0f6cbd",
255
+ "borderRadius": 5,
256
+ "height": 10,
257
+ "opacity": 1,
258
+ "width": 10,
259
+ }
260
+ }
261
+ />
262
+ </View>
263
+ <View
264
+ style={
265
+ Object {
266
+ "alignItems": undefined,
267
+ "flexDirection": "column",
268
+ "marginLeft": 16,
269
+ "marginRight": undefined,
270
+ "padding": 2,
271
+ "paddingRight": 0,
272
+ }
273
+ }
274
+ >
275
+ <Text
276
+ ellipsizeMode="tail"
277
+ numberOfLines={0}
278
+ style={
279
+ Object {
280
+ "color": "#242424",
281
+ "fontFamily": "Segoe UI",
282
+ "fontSize": 13,
283
+ "fontWeight": "400",
284
+ "margin": 0,
285
+ "marginHorizontal": 2,
286
+ }
287
+ }
288
+ >
289
+ Radio2
290
+ </Text>
291
+ </View>
292
+ </View>
293
+ </View>
294
+ </View>
295
+ `;
296
+
297
+ exports[`RadioGroup component tests RadioGroup default 1`] = `
298
+ <View
299
+ accessibilityLabel="Uncontrolled RadioGroup"
300
+ accessibilityRole="radiogroup"
301
+ accessibilityState={
302
+ Object {
303
+ "disabled": false,
304
+ "required": false,
305
+ }
306
+ }
307
+ accessible={true}
308
+ defaultValue="key2"
309
+ style={
310
+ Object {
311
+ "alignItems": "flex-start",
312
+ "display": "flex",
313
+ "flexDirection": "column",
314
+ }
315
+ }
316
+ >
317
+ <View
318
+ style={
319
+ Object {
320
+ "alignItems": "center",
321
+ "alignSelf": "flex-start",
322
+ "display": "flex",
323
+ "flexDirection": "row",
324
+ }
325
+ }
326
+ >
327
+ <Text
328
+ ellipsizeMode="tail"
329
+ numberOfLines={0}
330
+ style={
331
+ Object {
332
+ "color": "#242424",
333
+ "fontFamily": "Segoe UI",
334
+ "fontSize": 13,
335
+ "fontWeight": "600",
336
+ "margin": 0,
337
+ }
338
+ }
339
+ >
340
+ Uncontrolled RadioGroup
341
+ </Text>
342
+ </View>
343
+ <View
344
+ style={
345
+ Object {
346
+ "alignItems": "flex-start",
347
+ "display": "flex",
348
+ "flexDirection": "column",
349
+ "justifyContent": "space-around",
350
+ }
351
+ }
352
+ >
353
+ <View
354
+ accessibilityActions={
355
+ Array [
356
+ Object {
357
+ "name": "Select",
358
+ },
359
+ ]
360
+ }
361
+ accessibilityLabel="RadioButton1"
362
+ accessibilityPositionInSet={0}
363
+ accessibilityRole="radio"
364
+ accessibilitySetSize={0}
365
+ accessibilityState={
366
+ Object {
367
+ "disabled": false,
368
+ "selected": false,
369
+ }
370
+ }
371
+ accessible={true}
372
+ collapsable={false}
373
+ enableFocusRing={true}
374
+ focusable={true}
375
+ labelPosition="after"
376
+ onAccessibilityAction={[Function]}
377
+ onBlur={[Function]}
378
+ onClick={[Function]}
379
+ onFocus={[Function]}
380
+ onResponderGrant={[Function]}
381
+ onResponderMove={[Function]}
382
+ onResponderRelease={[Function]}
383
+ onResponderTerminate={[Function]}
384
+ onResponderTerminationRequest={[Function]}
385
+ onStartShouldSetResponder={[Function]}
386
+ style={
387
+ Object {
388
+ "alignItems": "center",
389
+ "display": "flex",
390
+ "flexDirection": "row",
391
+ "paddingHorizontal": undefined,
392
+ "paddingVertical": undefined,
393
+ }
394
+ }
395
+ value="key1"
396
+ >
397
+ <View
398
+ accessible={false}
399
+ collapsable={false}
400
+ focusable={false}
401
+ onBlur={[Function]}
402
+ onClick={[Function]}
403
+ onFocus={[Function]}
404
+ onResponderGrant={[Function]}
405
+ onResponderMove={[Function]}
406
+ onResponderRelease={[Function]}
407
+ onResponderTerminate={[Function]}
408
+ onResponderTerminationRequest={[Function]}
409
+ onStartShouldSetResponder={[Function]}
410
+ style={
411
+ Object {
412
+ "alignItems": "center",
413
+ "backgroundColor": undefined,
414
+ "borderColor": "#616161",
415
+ "borderRadius": 10,
416
+ "borderStyle": "solid",
417
+ "borderWidth": 1.5,
418
+ "height": 20,
419
+ "justifyContent": "center",
420
+ "marginBottom": 4,
421
+ "marginLeft": 4,
422
+ "marginRight": 4,
423
+ "marginTop": 4,
424
+ "width": 20,
425
+ }
426
+ }
427
+ >
428
+ <View
429
+ style={
430
+ Object {
431
+ "backgroundColor": undefined,
432
+ "borderRadius": 5,
433
+ "height": 10,
434
+ "opacity": 0,
435
+ "width": 10,
436
+ }
437
+ }
438
+ />
439
+ </View>
440
+ <View
441
+ style={
442
+ Object {
443
+ "alignItems": undefined,
444
+ "flexDirection": "column",
445
+ "marginLeft": 16,
446
+ "marginRight": undefined,
447
+ "padding": 2,
448
+ "paddingRight": 0,
449
+ }
450
+ }
451
+ >
452
+ <Text
453
+ ellipsizeMode="tail"
454
+ numberOfLines={0}
455
+ style={
456
+ Object {
457
+ "color": "#242424",
458
+ "fontFamily": "Segoe UI",
459
+ "fontSize": 13,
460
+ "fontWeight": "400",
461
+ "margin": 0,
462
+ "marginHorizontal": 2,
463
+ }
464
+ }
465
+ >
466
+ RadioButton1
467
+ </Text>
468
+ </View>
469
+ </View>
470
+ <View
471
+ accessibilityActions={
472
+ Array [
473
+ Object {
474
+ "name": "Select",
475
+ },
476
+ ]
477
+ }
478
+ accessibilityLabel="RadioButton2"
479
+ accessibilityPositionInSet={0}
480
+ accessibilityRole="radio"
481
+ accessibilitySetSize={0}
482
+ accessibilityState={
483
+ Object {
484
+ "disabled": false,
485
+ "selected": true,
486
+ }
487
+ }
488
+ accessible={true}
489
+ collapsable={false}
490
+ enableFocusRing={true}
491
+ focusable={true}
492
+ labelPosition="after"
493
+ onAccessibilityAction={[Function]}
494
+ onBlur={[Function]}
495
+ onClick={[Function]}
496
+ onFocus={[Function]}
497
+ onResponderGrant={[Function]}
498
+ onResponderMove={[Function]}
499
+ onResponderRelease={[Function]}
500
+ onResponderTerminate={[Function]}
501
+ onResponderTerminationRequest={[Function]}
502
+ onStartShouldSetResponder={[Function]}
503
+ style={
504
+ Object {
505
+ "alignItems": "center",
506
+ "display": "flex",
507
+ "flexDirection": "row",
508
+ "paddingHorizontal": undefined,
509
+ "paddingVertical": undefined,
510
+ }
511
+ }
512
+ value="key2"
513
+ >
514
+ <View
515
+ accessible={false}
516
+ collapsable={false}
517
+ focusable={false}
518
+ onBlur={[Function]}
519
+ onClick={[Function]}
520
+ onFocus={[Function]}
521
+ onResponderGrant={[Function]}
522
+ onResponderMove={[Function]}
523
+ onResponderRelease={[Function]}
524
+ onResponderTerminate={[Function]}
525
+ onResponderTerminationRequest={[Function]}
526
+ onStartShouldSetResponder={[Function]}
527
+ style={
528
+ Object {
529
+ "alignItems": "center",
530
+ "backgroundColor": undefined,
531
+ "borderColor": "#0f6cbd",
532
+ "borderRadius": 10,
533
+ "borderStyle": "solid",
534
+ "borderWidth": 1.5,
535
+ "height": 20,
536
+ "justifyContent": "center",
537
+ "marginBottom": 4,
538
+ "marginLeft": 4,
539
+ "marginRight": 4,
540
+ "marginTop": 4,
541
+ "width": 20,
542
+ }
543
+ }
544
+ >
545
+ <View
546
+ style={
547
+ Object {
548
+ "backgroundColor": "#0f6cbd",
549
+ "borderRadius": 5,
550
+ "height": 10,
551
+ "opacity": 1,
552
+ "width": 10,
553
+ }
554
+ }
555
+ />
556
+ </View>
557
+ <View
558
+ style={
559
+ Object {
560
+ "alignItems": undefined,
561
+ "flexDirection": "column",
562
+ "marginLeft": 16,
563
+ "marginRight": undefined,
564
+ "padding": 2,
565
+ "paddingRight": 0,
566
+ }
567
+ }
568
+ >
569
+ <Text
570
+ ellipsizeMode="tail"
571
+ numberOfLines={0}
572
+ style={
573
+ Object {
574
+ "color": "#242424",
575
+ "fontFamily": "Segoe UI",
576
+ "fontSize": 13,
577
+ "fontWeight": "400",
578
+ "margin": 0,
579
+ "marginHorizontal": 2,
580
+ }
581
+ }
582
+ >
583
+ RadioButton2
584
+ </Text>
585
+ </View>
586
+ </View>
587
+ </View>
588
+ </View>
589
+ `;
590
+
591
+ exports[`RadioGroup component tests RadioGroup disabled 1`] = `
592
+ <View
593
+ accessibilityLabel="Disabled RadioGroup"
594
+ accessibilityRole="radiogroup"
595
+ accessibilityState={
596
+ Object {
597
+ "disabled": true,
598
+ "required": false,
599
+ }
600
+ }
601
+ accessible={true}
602
+ disabled={true}
603
+ style={
604
+ Object {
605
+ "alignItems": "flex-start",
606
+ "display": "flex",
607
+ "flexDirection": "column",
608
+ }
609
+ }
610
+ >
611
+ <View
612
+ style={
613
+ Object {
614
+ "alignItems": "center",
615
+ "alignSelf": "flex-start",
616
+ "display": "flex",
617
+ "flexDirection": "row",
618
+ }
619
+ }
620
+ >
621
+ <Text
622
+ ellipsizeMode="tail"
623
+ numberOfLines={0}
624
+ style={
625
+ Object {
626
+ "color": "#bdbdbd",
627
+ "fontFamily": "Segoe UI",
628
+ "fontSize": 13,
629
+ "fontWeight": "600",
630
+ "margin": 0,
631
+ }
632
+ }
633
+ >
634
+ Disabled RadioGroup
635
+ </Text>
636
+ </View>
637
+ <View
638
+ style={
639
+ Object {
640
+ "alignItems": "flex-start",
641
+ "display": "flex",
642
+ "flexDirection": "column",
643
+ "justifyContent": "space-around",
644
+ }
645
+ }
646
+ >
647
+ <View
648
+ accessibilityActions={
649
+ Array [
650
+ Object {
651
+ "name": "Select",
652
+ },
653
+ ]
654
+ }
655
+ accessibilityLabel="Radio1"
656
+ accessibilityPositionInSet={1}
657
+ accessibilityRole="radio"
658
+ accessibilitySetSize={2}
659
+ accessibilityState={
660
+ Object {
661
+ "disabled": true,
662
+ "selected": false,
663
+ }
664
+ }
665
+ accessible={false}
666
+ collapsable={false}
667
+ enableFocusRing={true}
668
+ focusable={false}
669
+ labelPosition="after"
670
+ onAccessibilityAction={[Function]}
671
+ onBlur={[Function]}
672
+ onClick={[Function]}
673
+ onFocus={[Function]}
674
+ onResponderGrant={[Function]}
675
+ onResponderMove={[Function]}
676
+ onResponderRelease={[Function]}
677
+ onResponderTerminate={[Function]}
678
+ onResponderTerminationRequest={[Function]}
679
+ onStartShouldSetResponder={[Function]}
680
+ style={
681
+ Object {
682
+ "alignItems": "center",
683
+ "display": "flex",
684
+ "flexDirection": "row",
685
+ "paddingHorizontal": undefined,
686
+ "paddingVertical": undefined,
687
+ }
688
+ }
689
+ value="key1"
690
+ >
691
+ <View
692
+ accessibilityState={
693
+ Object {
694
+ "disabled": true,
695
+ }
696
+ }
697
+ accessible={false}
698
+ collapsable={false}
699
+ focusable={false}
700
+ onBlur={[Function]}
701
+ onClick={[Function]}
702
+ onFocus={[Function]}
703
+ onResponderGrant={[Function]}
704
+ onResponderMove={[Function]}
705
+ onResponderRelease={[Function]}
706
+ onResponderTerminate={[Function]}
707
+ onResponderTerminationRequest={[Function]}
708
+ onStartShouldSetResponder={[Function]}
709
+ style={
710
+ Object {
711
+ "alignItems": "center",
712
+ "backgroundColor": undefined,
713
+ "borderColor": "#e0e0e0",
714
+ "borderRadius": 10,
715
+ "borderStyle": "solid",
716
+ "borderWidth": 1.5,
717
+ "height": 20,
718
+ "justifyContent": "center",
719
+ "marginBottom": 4,
720
+ "marginLeft": 4,
721
+ "marginRight": 4,
722
+ "marginTop": 4,
723
+ "width": 20,
724
+ }
725
+ }
726
+ >
727
+ <View
728
+ style={
729
+ Object {
730
+ "backgroundColor": undefined,
731
+ "borderRadius": 5,
732
+ "height": 10,
733
+ "opacity": 0,
734
+ "width": 10,
735
+ }
736
+ }
737
+ />
738
+ </View>
739
+ <View
740
+ style={
741
+ Object {
742
+ "alignItems": undefined,
743
+ "flexDirection": "column",
744
+ "marginLeft": 16,
745
+ "marginRight": undefined,
746
+ "padding": 2,
747
+ "paddingRight": 0,
748
+ }
749
+ }
750
+ >
751
+ <Text
752
+ ellipsizeMode="tail"
753
+ numberOfLines={0}
754
+ style={
755
+ Object {
756
+ "color": "#bdbdbd",
757
+ "fontFamily": "Segoe UI",
758
+ "fontSize": 13,
759
+ "fontWeight": "400",
760
+ "margin": 0,
761
+ "marginHorizontal": 2,
762
+ }
763
+ }
764
+ >
765
+ Radio1
766
+ </Text>
767
+ </View>
768
+ </View>
769
+ <View
770
+ accessibilityActions={
771
+ Array [
772
+ Object {
773
+ "name": "Select",
774
+ },
775
+ ]
776
+ }
777
+ accessibilityLabel="Radio2"
778
+ accessibilityPositionInSet={2}
779
+ accessibilityRole="radio"
780
+ accessibilitySetSize={2}
781
+ accessibilityState={
782
+ Object {
783
+ "disabled": true,
784
+ "selected": false,
785
+ }
786
+ }
787
+ accessible={false}
788
+ collapsable={false}
789
+ enableFocusRing={true}
790
+ focusable={false}
791
+ labelPosition="after"
792
+ onAccessibilityAction={[Function]}
793
+ onBlur={[Function]}
794
+ onClick={[Function]}
795
+ onFocus={[Function]}
796
+ onResponderGrant={[Function]}
797
+ onResponderMove={[Function]}
798
+ onResponderRelease={[Function]}
799
+ onResponderTerminate={[Function]}
800
+ onResponderTerminationRequest={[Function]}
801
+ onStartShouldSetResponder={[Function]}
802
+ style={
803
+ Object {
804
+ "alignItems": "center",
805
+ "display": "flex",
806
+ "flexDirection": "row",
807
+ "paddingHorizontal": undefined,
808
+ "paddingVertical": undefined,
809
+ }
810
+ }
811
+ value="key2"
812
+ >
813
+ <View
814
+ accessibilityState={
815
+ Object {
816
+ "disabled": true,
817
+ }
818
+ }
819
+ accessible={false}
820
+ collapsable={false}
821
+ focusable={false}
822
+ onBlur={[Function]}
823
+ onClick={[Function]}
824
+ onFocus={[Function]}
825
+ onResponderGrant={[Function]}
826
+ onResponderMove={[Function]}
827
+ onResponderRelease={[Function]}
828
+ onResponderTerminate={[Function]}
829
+ onResponderTerminationRequest={[Function]}
830
+ onStartShouldSetResponder={[Function]}
831
+ style={
832
+ Object {
833
+ "alignItems": "center",
834
+ "backgroundColor": undefined,
835
+ "borderColor": "#e0e0e0",
836
+ "borderRadius": 10,
837
+ "borderStyle": "solid",
838
+ "borderWidth": 1.5,
839
+ "height": 20,
840
+ "justifyContent": "center",
841
+ "marginBottom": 4,
842
+ "marginLeft": 4,
843
+ "marginRight": 4,
844
+ "marginTop": 4,
845
+ "width": 20,
846
+ }
847
+ }
848
+ >
849
+ <View
850
+ style={
851
+ Object {
852
+ "backgroundColor": undefined,
853
+ "borderRadius": 5,
854
+ "height": 10,
855
+ "opacity": 0,
856
+ "width": 10,
857
+ }
858
+ }
859
+ />
860
+ </View>
861
+ <View
862
+ style={
863
+ Object {
864
+ "alignItems": undefined,
865
+ "flexDirection": "column",
866
+ "marginLeft": 16,
867
+ "marginRight": undefined,
868
+ "padding": 2,
869
+ "paddingRight": 0,
870
+ }
871
+ }
872
+ >
873
+ <Text
874
+ ellipsizeMode="tail"
875
+ numberOfLines={0}
876
+ style={
877
+ Object {
878
+ "color": "#bdbdbd",
879
+ "fontFamily": "Segoe UI",
880
+ "fontSize": 13,
881
+ "fontWeight": "400",
882
+ "margin": 0,
883
+ "marginHorizontal": 2,
884
+ }
885
+ }
886
+ >
887
+ Radio2
888
+ </Text>
889
+ </View>
890
+ </View>
891
+ </View>
892
+ </View>
893
+ `;
894
+
895
+ exports[`RadioGroup component tests RadioGroup horizontal 1`] = `
896
+ <View
897
+ accessibilityLabel="Horizontal RadioGroup"
898
+ accessibilityRole="radiogroup"
899
+ accessibilityState={
900
+ Object {
901
+ "disabled": false,
902
+ "required": false,
903
+ }
904
+ }
905
+ accessible={true}
906
+ defaultValue="key2"
907
+ layout="horizontal"
908
+ style={
909
+ Object {
910
+ "alignItems": "flex-start",
911
+ "display": "flex",
912
+ "flexDirection": "column",
913
+ }
914
+ }
915
+ >
916
+ <View
917
+ style={
918
+ Object {
919
+ "alignItems": "center",
920
+ "alignSelf": "flex-start",
921
+ "display": "flex",
922
+ "flexDirection": "row",
923
+ }
924
+ }
925
+ >
926
+ <Text
927
+ ellipsizeMode="tail"
928
+ numberOfLines={0}
929
+ style={
930
+ Object {
931
+ "color": "#242424",
932
+ "fontFamily": "Segoe UI",
933
+ "fontSize": 13,
934
+ "fontWeight": "600",
935
+ "margin": 0,
936
+ }
937
+ }
938
+ >
939
+ Horizontal RadioGroup
940
+ </Text>
941
+ </View>
942
+ <View
943
+ style={
944
+ Object {
945
+ "alignItems": "flex-start",
946
+ "display": "flex",
947
+ "flexDirection": "column",
948
+ "justifyContent": "space-around",
949
+ }
950
+ }
951
+ >
952
+ <View
953
+ accessibilityActions={
954
+ Array [
955
+ Object {
956
+ "name": "Select",
957
+ },
958
+ ]
959
+ }
960
+ accessibilityLabel="Radio1"
961
+ accessibilityPositionInSet={1}
962
+ accessibilityRole="radio"
963
+ accessibilitySetSize={2}
964
+ accessibilityState={
965
+ Object {
966
+ "disabled": false,
967
+ "selected": false,
968
+ }
969
+ }
970
+ accessible={true}
971
+ collapsable={false}
972
+ enableFocusRing={true}
973
+ focusable={true}
974
+ labelPosition="after"
975
+ onAccessibilityAction={[Function]}
976
+ onBlur={[Function]}
977
+ onClick={[Function]}
978
+ onFocus={[Function]}
979
+ onResponderGrant={[Function]}
980
+ onResponderMove={[Function]}
981
+ onResponderRelease={[Function]}
982
+ onResponderTerminate={[Function]}
983
+ onResponderTerminationRequest={[Function]}
984
+ onStartShouldSetResponder={[Function]}
985
+ style={
986
+ Object {
987
+ "alignItems": "center",
988
+ "display": "flex",
989
+ "flexDirection": "row",
990
+ "paddingHorizontal": undefined,
991
+ "paddingVertical": undefined,
992
+ }
993
+ }
994
+ value="key1"
995
+ >
996
+ <View
997
+ accessible={false}
998
+ collapsable={false}
999
+ focusable={false}
1000
+ onBlur={[Function]}
1001
+ onClick={[Function]}
1002
+ onFocus={[Function]}
1003
+ onResponderGrant={[Function]}
1004
+ onResponderMove={[Function]}
1005
+ onResponderRelease={[Function]}
1006
+ onResponderTerminate={[Function]}
1007
+ onResponderTerminationRequest={[Function]}
1008
+ onStartShouldSetResponder={[Function]}
1009
+ style={
1010
+ Object {
1011
+ "alignItems": "center",
1012
+ "backgroundColor": undefined,
1013
+ "borderColor": "#616161",
1014
+ "borderRadius": 10,
1015
+ "borderStyle": "solid",
1016
+ "borderWidth": 1.5,
1017
+ "height": 20,
1018
+ "justifyContent": "center",
1019
+ "marginBottom": 4,
1020
+ "marginLeft": 4,
1021
+ "marginRight": 4,
1022
+ "marginTop": 4,
1023
+ "width": 20,
1024
+ }
1025
+ }
1026
+ >
1027
+ <View
1028
+ style={
1029
+ Object {
1030
+ "backgroundColor": undefined,
1031
+ "borderRadius": 5,
1032
+ "height": 10,
1033
+ "opacity": 0,
1034
+ "width": 10,
1035
+ }
1036
+ }
1037
+ />
1038
+ </View>
1039
+ <View
1040
+ style={
1041
+ Object {
1042
+ "alignItems": undefined,
1043
+ "flexDirection": "column",
1044
+ "marginLeft": 16,
1045
+ "marginRight": undefined,
1046
+ "padding": 2,
1047
+ "paddingRight": 0,
1048
+ }
1049
+ }
1050
+ >
1051
+ <Text
1052
+ ellipsizeMode="tail"
1053
+ numberOfLines={0}
1054
+ style={
1055
+ Object {
1056
+ "color": "#242424",
1057
+ "fontFamily": "Segoe UI",
1058
+ "fontSize": 13,
1059
+ "fontWeight": "400",
1060
+ "margin": 0,
1061
+ "marginHorizontal": 2,
1062
+ }
1063
+ }
1064
+ >
1065
+ Radio1
1066
+ </Text>
1067
+ </View>
1068
+ </View>
1069
+ <View
1070
+ accessibilityActions={
1071
+ Array [
1072
+ Object {
1073
+ "name": "Select",
1074
+ },
1075
+ ]
1076
+ }
1077
+ accessibilityLabel="Radio2"
1078
+ accessibilityPositionInSet={2}
1079
+ accessibilityRole="radio"
1080
+ accessibilitySetSize={2}
1081
+ accessibilityState={
1082
+ Object {
1083
+ "disabled": false,
1084
+ "selected": true,
1085
+ }
1086
+ }
1087
+ accessible={true}
1088
+ collapsable={false}
1089
+ enableFocusRing={true}
1090
+ focusable={true}
1091
+ labelPosition="after"
1092
+ onAccessibilityAction={[Function]}
1093
+ onBlur={[Function]}
1094
+ onClick={[Function]}
1095
+ onFocus={[Function]}
1096
+ onResponderGrant={[Function]}
1097
+ onResponderMove={[Function]}
1098
+ onResponderRelease={[Function]}
1099
+ onResponderTerminate={[Function]}
1100
+ onResponderTerminationRequest={[Function]}
1101
+ onStartShouldSetResponder={[Function]}
1102
+ style={
1103
+ Object {
1104
+ "alignItems": "center",
1105
+ "display": "flex",
1106
+ "flexDirection": "row",
1107
+ "paddingHorizontal": undefined,
1108
+ "paddingVertical": undefined,
1109
+ }
1110
+ }
1111
+ value="key2"
1112
+ >
1113
+ <View
1114
+ accessible={false}
1115
+ collapsable={false}
1116
+ focusable={false}
1117
+ onBlur={[Function]}
1118
+ onClick={[Function]}
1119
+ onFocus={[Function]}
1120
+ onResponderGrant={[Function]}
1121
+ onResponderMove={[Function]}
1122
+ onResponderRelease={[Function]}
1123
+ onResponderTerminate={[Function]}
1124
+ onResponderTerminationRequest={[Function]}
1125
+ onStartShouldSetResponder={[Function]}
1126
+ style={
1127
+ Object {
1128
+ "alignItems": "center",
1129
+ "backgroundColor": undefined,
1130
+ "borderColor": "#0f6cbd",
1131
+ "borderRadius": 10,
1132
+ "borderStyle": "solid",
1133
+ "borderWidth": 1.5,
1134
+ "height": 20,
1135
+ "justifyContent": "center",
1136
+ "marginBottom": 4,
1137
+ "marginLeft": 4,
1138
+ "marginRight": 4,
1139
+ "marginTop": 4,
1140
+ "width": 20,
1141
+ }
1142
+ }
1143
+ >
1144
+ <View
1145
+ style={
1146
+ Object {
1147
+ "backgroundColor": "#0f6cbd",
1148
+ "borderRadius": 5,
1149
+ "height": 10,
1150
+ "opacity": 1,
1151
+ "width": 10,
1152
+ }
1153
+ }
1154
+ />
1155
+ </View>
1156
+ <View
1157
+ style={
1158
+ Object {
1159
+ "alignItems": undefined,
1160
+ "flexDirection": "column",
1161
+ "marginLeft": 16,
1162
+ "marginRight": undefined,
1163
+ "padding": 2,
1164
+ "paddingRight": 0,
1165
+ }
1166
+ }
1167
+ >
1168
+ <Text
1169
+ ellipsizeMode="tail"
1170
+ numberOfLines={0}
1171
+ style={
1172
+ Object {
1173
+ "color": "#242424",
1174
+ "fontFamily": "Segoe UI",
1175
+ "fontSize": 13,
1176
+ "fontWeight": "400",
1177
+ "margin": 0,
1178
+ "marginHorizontal": 2,
1179
+ }
1180
+ }
1181
+ >
1182
+ Radio2
1183
+ </Text>
1184
+ </View>
1185
+ </View>
1186
+ </View>
1187
+ </View>
1188
+ `;
1189
+
1190
+ exports[`RadioGroup component tests RadioGroup horizontal-stacked 1`] = `
1191
+ <View
1192
+ accessibilityLabel="Horizontal-Stacked RadioGroup"
1193
+ accessibilityRole="radiogroup"
1194
+ accessibilityState={
1195
+ Object {
1196
+ "disabled": false,
1197
+ "required": false,
1198
+ }
1199
+ }
1200
+ accessible={true}
1201
+ defaultValue="key2"
1202
+ layout="horizontal-stacked"
1203
+ style={
1204
+ Object {
1205
+ "alignItems": "flex-start",
1206
+ "display": "flex",
1207
+ "flexDirection": "column",
1208
+ }
1209
+ }
1210
+ >
1211
+ <View
1212
+ style={
1213
+ Object {
1214
+ "alignItems": "center",
1215
+ "alignSelf": "flex-start",
1216
+ "display": "flex",
1217
+ "flexDirection": "row",
1218
+ }
1219
+ }
1220
+ >
1221
+ <Text
1222
+ ellipsizeMode="tail"
1223
+ numberOfLines={0}
1224
+ style={
1225
+ Object {
1226
+ "color": "#242424",
1227
+ "fontFamily": "Segoe UI",
1228
+ "fontSize": 13,
1229
+ "fontWeight": "600",
1230
+ "margin": 0,
1231
+ }
1232
+ }
1233
+ >
1234
+ Horizontal-Stacked RadioGroup
1235
+ </Text>
1236
+ </View>
1237
+ <View
1238
+ style={
1239
+ Object {
1240
+ "alignItems": "flex-start",
1241
+ "display": "flex",
1242
+ "flexDirection": "column",
1243
+ "justifyContent": "space-around",
1244
+ }
1245
+ }
1246
+ >
1247
+ <View
1248
+ accessibilityActions={
1249
+ Array [
1250
+ Object {
1251
+ "name": "Select",
1252
+ },
1253
+ ]
1254
+ }
1255
+ accessibilityLabel="Radio1"
1256
+ accessibilityPositionInSet={1}
1257
+ accessibilityRole="radio"
1258
+ accessibilitySetSize={2}
1259
+ accessibilityState={
1260
+ Object {
1261
+ "disabled": false,
1262
+ "selected": false,
1263
+ }
1264
+ }
1265
+ accessible={true}
1266
+ collapsable={false}
1267
+ enableFocusRing={true}
1268
+ focusable={true}
1269
+ labelPosition="below"
1270
+ onAccessibilityAction={[Function]}
1271
+ onBlur={[Function]}
1272
+ onClick={[Function]}
1273
+ onFocus={[Function]}
1274
+ onResponderGrant={[Function]}
1275
+ onResponderMove={[Function]}
1276
+ onResponderRelease={[Function]}
1277
+ onResponderTerminate={[Function]}
1278
+ onResponderTerminationRequest={[Function]}
1279
+ onStartShouldSetResponder={[Function]}
1280
+ style={
1281
+ Object {
1282
+ "alignItems": "center",
1283
+ "display": "flex",
1284
+ "flexDirection": "column",
1285
+ "paddingHorizontal": undefined,
1286
+ "paddingVertical": undefined,
1287
+ }
1288
+ }
1289
+ value="key1"
1290
+ >
1291
+ <View
1292
+ accessible={false}
1293
+ collapsable={false}
1294
+ focusable={false}
1295
+ onBlur={[Function]}
1296
+ onClick={[Function]}
1297
+ onFocus={[Function]}
1298
+ onResponderGrant={[Function]}
1299
+ onResponderMove={[Function]}
1300
+ onResponderRelease={[Function]}
1301
+ onResponderTerminate={[Function]}
1302
+ onResponderTerminationRequest={[Function]}
1303
+ onStartShouldSetResponder={[Function]}
1304
+ style={
1305
+ Object {
1306
+ "alignItems": "center",
1307
+ "backgroundColor": undefined,
1308
+ "borderColor": "#616161",
1309
+ "borderRadius": 10,
1310
+ "borderStyle": "solid",
1311
+ "borderWidth": 1.5,
1312
+ "height": 20,
1313
+ "justifyContent": "center",
1314
+ "marginBottom": 4,
1315
+ "marginLeft": 0,
1316
+ "marginRight": 4,
1317
+ "marginTop": 4,
1318
+ "width": 20,
1319
+ }
1320
+ }
1321
+ >
1322
+ <View
1323
+ style={
1324
+ Object {
1325
+ "backgroundColor": undefined,
1326
+ "borderRadius": 5,
1327
+ "height": 10,
1328
+ "opacity": 0,
1329
+ "width": 10,
1330
+ }
1331
+ }
1332
+ />
1333
+ </View>
1334
+ <View
1335
+ style={
1336
+ Object {
1337
+ "alignItems": undefined,
1338
+ "flexDirection": "column",
1339
+ "marginLeft": 16,
1340
+ "marginRight": undefined,
1341
+ "padding": 2,
1342
+ "paddingRight": 0,
1343
+ }
1344
+ }
1345
+ >
1346
+ <Text
1347
+ ellipsizeMode="tail"
1348
+ numberOfLines={0}
1349
+ style={
1350
+ Object {
1351
+ "color": "#242424",
1352
+ "fontFamily": "Segoe UI",
1353
+ "fontSize": 13,
1354
+ "fontWeight": "400",
1355
+ "margin": 0,
1356
+ "marginHorizontal": 2,
1357
+ }
1358
+ }
1359
+ >
1360
+ Radio1
1361
+ </Text>
1362
+ </View>
1363
+ </View>
1364
+ <View
1365
+ accessibilityActions={
1366
+ Array [
1367
+ Object {
1368
+ "name": "Select",
1369
+ },
1370
+ ]
1371
+ }
1372
+ accessibilityLabel="Radio2"
1373
+ accessibilityPositionInSet={2}
1374
+ accessibilityRole="radio"
1375
+ accessibilitySetSize={2}
1376
+ accessibilityState={
1377
+ Object {
1378
+ "disabled": false,
1379
+ "selected": true,
1380
+ }
1381
+ }
1382
+ accessible={true}
1383
+ collapsable={false}
1384
+ enableFocusRing={true}
1385
+ focusable={true}
1386
+ labelPosition="below"
1387
+ onAccessibilityAction={[Function]}
1388
+ onBlur={[Function]}
1389
+ onClick={[Function]}
1390
+ onFocus={[Function]}
1391
+ onResponderGrant={[Function]}
1392
+ onResponderMove={[Function]}
1393
+ onResponderRelease={[Function]}
1394
+ onResponderTerminate={[Function]}
1395
+ onResponderTerminationRequest={[Function]}
1396
+ onStartShouldSetResponder={[Function]}
1397
+ style={
1398
+ Object {
1399
+ "alignItems": "center",
1400
+ "display": "flex",
1401
+ "flexDirection": "column",
1402
+ "paddingHorizontal": undefined,
1403
+ "paddingVertical": undefined,
1404
+ }
1405
+ }
1406
+ value="key2"
1407
+ >
1408
+ <View
1409
+ accessible={false}
1410
+ collapsable={false}
1411
+ focusable={false}
1412
+ onBlur={[Function]}
1413
+ onClick={[Function]}
1414
+ onFocus={[Function]}
1415
+ onResponderGrant={[Function]}
1416
+ onResponderMove={[Function]}
1417
+ onResponderRelease={[Function]}
1418
+ onResponderTerminate={[Function]}
1419
+ onResponderTerminationRequest={[Function]}
1420
+ onStartShouldSetResponder={[Function]}
1421
+ style={
1422
+ Object {
1423
+ "alignItems": "center",
1424
+ "backgroundColor": undefined,
1425
+ "borderColor": "#0f6cbd",
1426
+ "borderRadius": 10,
1427
+ "borderStyle": "solid",
1428
+ "borderWidth": 1.5,
1429
+ "height": 20,
1430
+ "justifyContent": "center",
1431
+ "marginBottom": 4,
1432
+ "marginLeft": 0,
1433
+ "marginRight": 4,
1434
+ "marginTop": 4,
1435
+ "width": 20,
1436
+ }
1437
+ }
1438
+ >
1439
+ <View
1440
+ style={
1441
+ Object {
1442
+ "backgroundColor": "#0f6cbd",
1443
+ "borderRadius": 5,
1444
+ "height": 10,
1445
+ "opacity": 1,
1446
+ "width": 10,
1447
+ }
1448
+ }
1449
+ />
1450
+ </View>
1451
+ <View
1452
+ style={
1453
+ Object {
1454
+ "alignItems": undefined,
1455
+ "flexDirection": "column",
1456
+ "marginLeft": 16,
1457
+ "marginRight": undefined,
1458
+ "padding": 2,
1459
+ "paddingRight": 0,
1460
+ }
1461
+ }
1462
+ >
1463
+ <Text
1464
+ ellipsizeMode="tail"
1465
+ numberOfLines={0}
1466
+ style={
1467
+ Object {
1468
+ "color": "#242424",
1469
+ "fontFamily": "Segoe UI",
1470
+ "fontSize": 13,
1471
+ "fontWeight": "400",
1472
+ "margin": 0,
1473
+ "marginHorizontal": 2,
1474
+ }
1475
+ }
1476
+ >
1477
+ Radio2
1478
+ </Text>
1479
+ </View>
1480
+ </View>
1481
+ </View>
1482
+ </View>
1483
+ `;
1484
+
1485
+ exports[`RadioGroup component tests RadioGroup required 1`] = `
1486
+ <View
1487
+ accessibilityLabel="Required RadioGroup"
1488
+ accessibilityRole="radiogroup"
1489
+ accessibilityState={
1490
+ Object {
1491
+ "disabled": false,
1492
+ "required": true,
1493
+ }
1494
+ }
1495
+ accessible={true}
1496
+ defaultValue="key2"
1497
+ style={
1498
+ Object {
1499
+ "alignItems": "flex-start",
1500
+ "display": "flex",
1501
+ "flexDirection": "column",
1502
+ }
1503
+ }
1504
+ >
1505
+ <View
1506
+ style={
1507
+ Object {
1508
+ "alignItems": "center",
1509
+ "alignSelf": "flex-start",
1510
+ "display": "flex",
1511
+ "flexDirection": "row",
1512
+ }
1513
+ }
1514
+ >
1515
+ <Text
1516
+ ellipsizeMode="tail"
1517
+ numberOfLines={0}
1518
+ style={
1519
+ Object {
1520
+ "color": "#242424",
1521
+ "fontFamily": "Segoe UI",
1522
+ "fontSize": 13,
1523
+ "fontWeight": "600",
1524
+ "margin": 0,
1525
+ }
1526
+ }
1527
+ >
1528
+ Required RadioGroup
1529
+ </Text>
1530
+ <Text
1531
+ ellipsizeMode="tail"
1532
+ numberOfLines={0}
1533
+ style={
1534
+ Object {
1535
+ "color": "#750b1c",
1536
+ "fontFamily": "Segoe UI",
1537
+ "fontSize": 13,
1538
+ "fontWeight": "600",
1539
+ "margin": 0,
1540
+ "paddingStart": 2,
1541
+ }
1542
+ }
1543
+ >
1544
+ *
1545
+ </Text>
1546
+ </View>
1547
+ <View
1548
+ style={
1549
+ Object {
1550
+ "alignItems": "flex-start",
1551
+ "display": "flex",
1552
+ "flexDirection": "column",
1553
+ "justifyContent": "space-around",
1554
+ }
1555
+ }
1556
+ >
1557
+ <View
1558
+ accessibilityActions={
1559
+ Array [
1560
+ Object {
1561
+ "name": "Select",
1562
+ },
1563
+ ]
1564
+ }
1565
+ accessibilityLabel="Radio1"
1566
+ accessibilityPositionInSet={1}
1567
+ accessibilityRole="radio"
1568
+ accessibilitySetSize={2}
1569
+ accessibilityState={
1570
+ Object {
1571
+ "disabled": false,
1572
+ "selected": false,
1573
+ }
1574
+ }
1575
+ accessible={true}
1576
+ collapsable={false}
1577
+ enableFocusRing={true}
1578
+ focusable={true}
1579
+ labelPosition="after"
1580
+ onAccessibilityAction={[Function]}
1581
+ onBlur={[Function]}
1582
+ onClick={[Function]}
1583
+ onFocus={[Function]}
1584
+ onResponderGrant={[Function]}
1585
+ onResponderMove={[Function]}
1586
+ onResponderRelease={[Function]}
1587
+ onResponderTerminate={[Function]}
1588
+ onResponderTerminationRequest={[Function]}
1589
+ onStartShouldSetResponder={[Function]}
1590
+ style={
1591
+ Object {
1592
+ "alignItems": "center",
1593
+ "display": "flex",
1594
+ "flexDirection": "row",
1595
+ "paddingHorizontal": undefined,
1596
+ "paddingVertical": undefined,
1597
+ }
1598
+ }
1599
+ value="key1"
1600
+ >
1601
+ <View
1602
+ accessible={false}
1603
+ collapsable={false}
1604
+ focusable={false}
1605
+ onBlur={[Function]}
1606
+ onClick={[Function]}
1607
+ onFocus={[Function]}
1608
+ onResponderGrant={[Function]}
1609
+ onResponderMove={[Function]}
1610
+ onResponderRelease={[Function]}
1611
+ onResponderTerminate={[Function]}
1612
+ onResponderTerminationRequest={[Function]}
1613
+ onStartShouldSetResponder={[Function]}
1614
+ style={
1615
+ Object {
1616
+ "alignItems": "center",
1617
+ "backgroundColor": undefined,
1618
+ "borderColor": "#616161",
1619
+ "borderRadius": 10,
1620
+ "borderStyle": "solid",
1621
+ "borderWidth": 1.5,
1622
+ "height": 20,
1623
+ "justifyContent": "center",
1624
+ "marginBottom": 4,
1625
+ "marginLeft": 4,
1626
+ "marginRight": 4,
1627
+ "marginTop": 4,
1628
+ "width": 20,
1629
+ }
1630
+ }
1631
+ >
1632
+ <View
1633
+ style={
1634
+ Object {
1635
+ "backgroundColor": undefined,
1636
+ "borderRadius": 5,
1637
+ "height": 10,
1638
+ "opacity": 0,
1639
+ "width": 10,
1640
+ }
1641
+ }
1642
+ />
1643
+ </View>
1644
+ <View
1645
+ style={
1646
+ Object {
1647
+ "alignItems": undefined,
1648
+ "flexDirection": "column",
1649
+ "marginLeft": 16,
1650
+ "marginRight": undefined,
1651
+ "padding": 2,
1652
+ "paddingRight": 0,
1653
+ }
1654
+ }
1655
+ >
1656
+ <Text
1657
+ ellipsizeMode="tail"
1658
+ numberOfLines={0}
1659
+ style={
1660
+ Object {
1661
+ "color": "#242424",
1662
+ "fontFamily": "Segoe UI",
1663
+ "fontSize": 13,
1664
+ "fontWeight": "400",
1665
+ "margin": 0,
1666
+ "marginHorizontal": 2,
1667
+ }
1668
+ }
1669
+ >
1670
+ Radio1
1671
+ </Text>
1672
+ </View>
1673
+ </View>
1674
+ <View
1675
+ accessibilityActions={
1676
+ Array [
1677
+ Object {
1678
+ "name": "Select",
1679
+ },
1680
+ ]
1681
+ }
1682
+ accessibilityLabel="Radio2"
1683
+ accessibilityPositionInSet={2}
1684
+ accessibilityRole="radio"
1685
+ accessibilitySetSize={2}
1686
+ accessibilityState={
1687
+ Object {
1688
+ "disabled": false,
1689
+ "selected": true,
1690
+ }
1691
+ }
1692
+ accessible={true}
1693
+ collapsable={false}
1694
+ enableFocusRing={true}
1695
+ focusable={true}
1696
+ labelPosition="after"
1697
+ onAccessibilityAction={[Function]}
1698
+ onBlur={[Function]}
1699
+ onClick={[Function]}
1700
+ onFocus={[Function]}
1701
+ onResponderGrant={[Function]}
1702
+ onResponderMove={[Function]}
1703
+ onResponderRelease={[Function]}
1704
+ onResponderTerminate={[Function]}
1705
+ onResponderTerminationRequest={[Function]}
1706
+ onStartShouldSetResponder={[Function]}
1707
+ style={
1708
+ Object {
1709
+ "alignItems": "center",
1710
+ "display": "flex",
1711
+ "flexDirection": "row",
1712
+ "paddingHorizontal": undefined,
1713
+ "paddingVertical": undefined,
1714
+ }
1715
+ }
1716
+ value="key2"
1717
+ >
1718
+ <View
1719
+ accessible={false}
1720
+ collapsable={false}
1721
+ focusable={false}
1722
+ onBlur={[Function]}
1723
+ onClick={[Function]}
1724
+ onFocus={[Function]}
1725
+ onResponderGrant={[Function]}
1726
+ onResponderMove={[Function]}
1727
+ onResponderRelease={[Function]}
1728
+ onResponderTerminate={[Function]}
1729
+ onResponderTerminationRequest={[Function]}
1730
+ onStartShouldSetResponder={[Function]}
1731
+ style={
1732
+ Object {
1733
+ "alignItems": "center",
1734
+ "backgroundColor": undefined,
1735
+ "borderColor": "#0f6cbd",
1736
+ "borderRadius": 10,
1737
+ "borderStyle": "solid",
1738
+ "borderWidth": 1.5,
1739
+ "height": 20,
1740
+ "justifyContent": "center",
1741
+ "marginBottom": 4,
1742
+ "marginLeft": 4,
1743
+ "marginRight": 4,
1744
+ "marginTop": 4,
1745
+ "width": 20,
1746
+ }
1747
+ }
1748
+ >
1749
+ <View
1750
+ style={
1751
+ Object {
1752
+ "backgroundColor": "#0f6cbd",
1753
+ "borderRadius": 5,
1754
+ "height": 10,
1755
+ "opacity": 1,
1756
+ "width": 10,
1757
+ }
1758
+ }
1759
+ />
1760
+ </View>
1761
+ <View
1762
+ style={
1763
+ Object {
1764
+ "alignItems": undefined,
1765
+ "flexDirection": "column",
1766
+ "marginLeft": 16,
1767
+ "marginRight": undefined,
1768
+ "padding": 2,
1769
+ "paddingRight": 0,
1770
+ }
1771
+ }
1772
+ >
1773
+ <Text
1774
+ ellipsizeMode="tail"
1775
+ numberOfLines={0}
1776
+ style={
1777
+ Object {
1778
+ "color": "#242424",
1779
+ "fontFamily": "Segoe UI",
1780
+ "fontSize": 13,
1781
+ "fontWeight": "400",
1782
+ "margin": 0,
1783
+ "marginHorizontal": 2,
1784
+ }
1785
+ }
1786
+ >
1787
+ Radio2
1788
+ </Text>
1789
+ </View>
1790
+ </View>
1791
+ </View>
1792
+ </View>
1793
+ `;