@nypl/design-system-react-components 1.0.1 → 1.0.2

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 (396) hide show
  1. package/CHANGELOG.md +1428 -3
  2. package/README.md +391 -3
  3. package/dist/__tests__/fileMock.d.ts +4 -0
  4. package/dist/__tests__/setup.d.ts +2 -0
  5. package/{lib/stories/0-Welcome.stories.d.ts → dist/__tests__/utils/utils.test.d.ts} +1 -1
  6. package/dist/components/Accordion/Accordion.d.ts +21 -0
  7. package/dist/components/Autosuggest/Autosuggest.stories.d.ts +4 -0
  8. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +18 -0
  9. package/dist/components/Button/Button.d.ts +25 -0
  10. package/dist/components/ButtonGroup/ButtonGroup.d.ts +22 -0
  11. package/dist/components/Card/Card.d.ts +49 -0
  12. package/dist/components/Checkbox/Checkbox.d.ts +47 -0
  13. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +49 -0
  14. package/dist/components/ComponentWrapper/ComponentWrapper.d.ts +29 -0
  15. package/dist/components/DatePicker/DatePicker.d.ts +81 -0
  16. package/dist/components/Fieldset/Fieldset.d.ts +22 -0
  17. package/dist/components/Form/Form.d.ts +29 -0
  18. package/dist/components/Grid/SimpleGrid.d.ts +17 -0
  19. package/dist/components/Heading/Heading.d.ts +27 -0
  20. package/dist/components/HelperErrorText/HelperErrorText.d.ts +29 -0
  21. package/dist/components/Hero/Hero.d.ts +40 -0
  22. package/dist/components/HorizontalRule/HorizontalRule.d.ts +11 -0
  23. package/dist/components/Icons/Icon.d.ts +37 -0
  24. package/dist/components/Icons/IconSvgs.d.ts +33 -0
  25. package/dist/components/Image/Image.d.ts +61 -0
  26. package/dist/components/Label/Label.d.ts +20 -0
  27. package/dist/components/Link/Link.d.ts +20 -0
  28. package/dist/components/List/List.d.ts +35 -0
  29. package/dist/components/Logo/Logo.d.ts +26 -0
  30. package/dist/components/Logo/LogoSvgs.d.ts +46 -0
  31. package/dist/components/Modal/Modal.d.ts +33 -0
  32. package/dist/components/Notification/Notification.d.ts +50 -0
  33. package/dist/components/Pagination/Pagination.d.ts +27 -0
  34. package/dist/components/Placeholder/Placeholder.d.ts +10 -0
  35. package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +30 -0
  36. package/dist/components/Radio/Radio.d.ts +43 -0
  37. package/dist/components/RadioGroup/RadioGroup.d.ts +51 -0
  38. package/dist/components/SearchBar/SearchBar.d.ts +61 -0
  39. package/dist/components/Select/Select.d.ts +57 -0
  40. package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +39 -0
  41. package/dist/components/SkipNavigation/SkipNavigation.d.ts +17 -0
  42. package/dist/components/Slider/Slider.d.ts +60 -0
  43. package/dist/components/StatusBadge/StatusBadge.d.ts +16 -0
  44. package/dist/components/StructuredContent/StructuredContent.d.ts +28 -0
  45. package/dist/components/StyleGuide/ColorCard.d.ts +12 -0
  46. package/dist/components/Table/Table.d.ts +29 -0
  47. package/dist/components/Tabs/Tabs.d.ts +26 -0
  48. package/dist/components/Template/Template.d.ts +126 -0
  49. package/dist/components/Text/Text.d.ts +16 -0
  50. package/dist/components/TextInput/TextInput.d.ts +78 -0
  51. package/dist/components/Toggle/Toggle.d.ts +42 -0
  52. package/dist/components/VideoPlayer/VideoPlayer.d.ts +38 -0
  53. package/dist/design-system-react-components.cjs.development.js +11305 -0
  54. package/dist/design-system-react-components.cjs.development.js.map +1 -0
  55. package/dist/design-system-react-components.cjs.production.min.js +2 -0
  56. package/dist/design-system-react-components.cjs.production.min.js.map +1 -0
  57. package/dist/design-system-react-components.esm.js +11150 -0
  58. package/dist/design-system-react-components.esm.js.map +1 -0
  59. package/dist/helpers/types.d.ts +1 -0
  60. package/dist/hooks/tests/useCarouselStyles.test.d.ts +1 -0
  61. package/dist/hooks/useCarouselStyles.d.ts +17 -0
  62. package/dist/hooks/useNYPLTheme.d.ts +66 -0
  63. package/dist/hooks/useWindowSize.d.ts +10 -0
  64. package/dist/index.d.ts +48 -0
  65. package/dist/index.js +8 -0
  66. package/dist/resources.scss +386 -0
  67. package/dist/styles.css +3 -0
  68. package/dist/theme/components/accordion.d.ts +20 -0
  69. package/dist/theme/components/breadcrumb.d.ts +105 -0
  70. package/dist/theme/components/button.d.ts +120 -0
  71. package/dist/theme/components/buttonGroup.d.ts +11 -0
  72. package/dist/theme/components/card.d.ts +381 -0
  73. package/dist/theme/components/checkbox.d.ts +95 -0
  74. package/dist/theme/components/checkboxGroup.d.ts +14 -0
  75. package/dist/theme/components/componentWrapper.d.ts +12 -0
  76. package/dist/theme/components/customTable.d.ts +136 -0
  77. package/dist/theme/components/datePicker.d.ts +16 -0
  78. package/dist/theme/components/fieldset.d.ts +20 -0
  79. package/dist/theme/components/global.d.ts +73 -0
  80. package/dist/theme/components/globalMixins.d.ts +23 -0
  81. package/dist/theme/components/heading.d.ts +160 -0
  82. package/dist/theme/components/helperErrorText.d.ts +12 -0
  83. package/dist/theme/components/hero.d.ts +499 -0
  84. package/dist/theme/components/horizontalRule.d.ts +15 -0
  85. package/dist/theme/components/icon.d.ts +47755 -0
  86. package/dist/theme/components/image.d.ts +590 -0
  87. package/dist/theme/components/label.d.ts +18 -0
  88. package/dist/theme/components/link.d.ts +62 -0
  89. package/dist/theme/components/list.d.ts +182 -0
  90. package/dist/theme/components/logo.d.ts +477 -0
  91. package/dist/theme/components/notification.d.ts +95 -0
  92. package/dist/theme/components/pagination.d.ts +16 -0
  93. package/dist/theme/components/progressIndicator.d.ts +52 -0
  94. package/dist/theme/components/radio.d.ts +99 -0
  95. package/dist/theme/components/radioGroup.d.ts +14 -0
  96. package/dist/theme/components/searchBar.d.ts +18 -0
  97. package/dist/theme/components/select.d.ts +87 -0
  98. package/dist/theme/components/skeletonLoader.d.ts +102 -0
  99. package/dist/theme/components/skipNavigation.d.ts +25 -0
  100. package/dist/theme/components/slider.d.ts +59 -0
  101. package/dist/theme/components/statusBadge.d.ts +25 -0
  102. package/dist/theme/components/structuredContent.d.ts +226 -0
  103. package/dist/theme/components/tabs.d.ts +136 -0
  104. package/dist/theme/components/template.d.ts +105 -0
  105. package/dist/theme/components/text.d.ts +26 -0
  106. package/dist/theme/components/textInput.d.ts +124 -0
  107. package/dist/theme/components/toggle.d.ts +92 -0
  108. package/dist/theme/components/videoPlayer.d.ts +40 -0
  109. package/dist/theme/foundations/breakpoints.d.ts +23 -0
  110. package/dist/theme/foundations/colors.d.ts +3 -0
  111. package/dist/theme/foundations/global.d.ts +58 -0
  112. package/dist/theme/foundations/radii.d.ts +6 -0
  113. package/dist/theme/foundations/shadows.d.ts +4 -0
  114. package/dist/theme/foundations/spacing.d.ts +82 -0
  115. package/dist/theme/foundations/typography.d.ts +8 -0
  116. package/dist/theme/index.d.ts +20 -0
  117. package/dist/theme/provider.d.ts +3 -0
  118. package/dist/theme/types.d.ts +1 -0
  119. package/dist/utils/componentCategories.d.ts +1 -0
  120. package/dist/utils/interfaces.d.ts +5 -0
  121. package/dist/utils/utils.d.ts +31 -0
  122. package/package.json +133 -20
  123. package/src/__tests__/fileMock.ts +6 -0
  124. package/src/__tests__/setup.ts +27 -0
  125. package/src/__tests__/utils/utils.test.ts +18 -0
  126. package/src/components/AccessibilityGuide/SkipNavigation.stories.mdx +42 -0
  127. package/src/components/Accordion/Accordion.stories.mdx +333 -0
  128. package/src/components/Accordion/Accordion.test.tsx +237 -0
  129. package/src/components/Accordion/Accordion.tsx +137 -0
  130. package/src/components/Accordion/__snapshots__/Accordion.test.tsx.snap +734 -0
  131. package/src/components/Autosuggest/Autosuggest.stories.mdx +75 -0
  132. package/src/components/Autosuggest/Autosuggest.stories.tsx +211 -0
  133. package/src/components/Autosuggest/_Autosuggest.scss +51 -0
  134. package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +231 -0
  135. package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +144 -0
  136. package/src/components/Breadcrumbs/Breadcrumbs.tsx +98 -0
  137. package/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.test.tsx.snap +695 -0
  138. package/src/components/Button/Button.stories.mdx +320 -0
  139. package/src/components/Button/Button.test.tsx +184 -0
  140. package/src/components/Button/Button.tsx +95 -0
  141. package/src/components/Button/__snapshots__/Button.test.tsx.snap +106 -0
  142. package/src/components/ButtonGroup/ButtonGroup.stories.mdx +178 -0
  143. package/src/components/ButtonGroup/ButtonGroup.test.tsx +141 -0
  144. package/src/components/ButtonGroup/ButtonGroup.tsx +100 -0
  145. package/src/components/ButtonGroup/__snapshots__/ButtonGroup.test.tsx.snap +117 -0
  146. package/src/components/Card/Card.stories.mdx +1041 -0
  147. package/src/components/Card/Card.test.tsx +388 -0
  148. package/src/components/Card/Card.tsx +346 -0
  149. package/src/components/Card/__snapshots__/Card.test.tsx.snap +568 -0
  150. package/src/components/Chakra/Box.stories.mdx +52 -0
  151. package/src/components/Chakra/Center.stories.mdx +96 -0
  152. package/src/components/Chakra/Flex.stories.mdx +111 -0
  153. package/src/components/Chakra/Grid.stories.mdx +89 -0
  154. package/src/components/Chakra/Stack.stories.mdx +109 -0
  155. package/src/components/Checkbox/Checkbox.stories.mdx +243 -0
  156. package/src/components/Checkbox/Checkbox.test.tsx +350 -0
  157. package/src/components/Checkbox/Checkbox.tsx +152 -0
  158. package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +661 -0
  159. package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +462 -0
  160. package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +492 -0
  161. package/src/components/CheckboxGroup/CheckboxGroup.tsx +173 -0
  162. package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +1842 -0
  163. package/src/components/ComponentWrapper/ComponentWrapper.test.tsx +163 -0
  164. package/src/components/ComponentWrapper/ComponentWrapper.tsx +76 -0
  165. package/src/components/ComponentWrapper/__snapshots__/ComponentWrapper.test.tsx.snap +103 -0
  166. package/src/components/DatePicker/DatePicker.stories.mdx +452 -0
  167. package/src/components/DatePicker/DatePicker.test.tsx +940 -0
  168. package/src/components/DatePicker/DatePicker.tsx +450 -0
  169. package/src/components/DatePicker/_DatePicker.scss +100 -0
  170. package/src/components/DatePicker/__snapshots__/DatePicker.test.tsx.snap +908 -0
  171. package/src/components/Fieldset/Fieldset.stories.mdx +96 -0
  172. package/src/components/Fieldset/Fieldset.test.tsx +155 -0
  173. package/src/components/Fieldset/Fieldset.tsx +55 -0
  174. package/src/components/Fieldset/__snapshots__/Fieldset.test.tsx.snap +89 -0
  175. package/src/components/Form/Form.stories.mdx +426 -0
  176. package/src/components/Form/Form.test.tsx +234 -0
  177. package/src/components/Form/Form.tsx +124 -0
  178. package/src/components/Form/__snapshots__/Form.test.tsx.snap +115 -0
  179. package/src/components/Grid/SimpleGrid.stories.mdx +336 -0
  180. package/src/components/Grid/SimpleGrid.test.tsx +79 -0
  181. package/src/components/Grid/SimpleGrid.tsx +49 -0
  182. package/src/components/Grid/__snapshots__/SimpleGrid.test.tsx.snap +23 -0
  183. package/src/components/Heading/Heading.stories.mdx +187 -0
  184. package/src/components/Heading/Heading.test.tsx +171 -0
  185. package/src/components/Heading/Heading.tsx +104 -0
  186. package/src/components/Heading/__snapshots__/Heading.test.tsx.snap +90 -0
  187. package/src/components/HelperErrorText/HelperErrorText.stories.mdx +172 -0
  188. package/src/components/HelperErrorText/HelperErrorText.test.tsx +114 -0
  189. package/src/components/HelperErrorText/HelperErrorText.tsx +62 -0
  190. package/src/components/HelperErrorText/__snapshots__/HelperErrorText.test.tsx.snap +93 -0
  191. package/src/components/Hero/Hero.stories.mdx +378 -0
  192. package/src/components/Hero/Hero.test.tsx +611 -0
  193. package/src/components/Hero/Hero.tsx +203 -0
  194. package/src/components/Hero/__snapshots__/Hero.test.tsx.snap +379 -0
  195. package/src/components/HorizontalRule/HorizontalRule.stories.mdx +73 -0
  196. package/src/components/HorizontalRule/HorizontalRule.test.tsx +54 -0
  197. package/src/components/HorizontalRule/HorizontalRule.tsx +27 -0
  198. package/src/components/HorizontalRule/__snapshots__/HorizontalRule.test.tsx.snap +44 -0
  199. package/src/components/Icons/Icon.stories.mdx +413 -0
  200. package/src/components/Icons/Icon.test.tsx +120 -0
  201. package/src/components/Icons/Icon.tsx +187 -0
  202. package/src/components/Icons/IconSvgs.tsx +64 -0
  203. package/src/components/Icons/__snapshots__/Icon.test.tsx.snap +129 -0
  204. package/src/components/Image/Image.stories.mdx +332 -0
  205. package/src/components/Image/Image.test.tsx +155 -0
  206. package/src/components/Image/Image.tsx +171 -0
  207. package/src/components/Image/__snapshots__/Image.test.tsx.snap +269 -0
  208. package/src/components/Label/Label.stories.mdx +100 -0
  209. package/src/components/Label/Label.test.tsx +116 -0
  210. package/src/components/Label/Label.tsx +55 -0
  211. package/src/components/Label/__snapshots__/Label.test.tsx.snap +45 -0
  212. package/src/components/Link/Link.stories.mdx +249 -0
  213. package/src/components/Link/Link.test.tsx +224 -0
  214. package/src/components/Link/Link.tsx +178 -0
  215. package/src/components/Link/__snapshots__/Link.test.tsx.snap +286 -0
  216. package/src/components/List/List.stories.mdx +393 -0
  217. package/src/components/List/List.test.tsx +265 -0
  218. package/src/components/List/List.tsx +156 -0
  219. package/src/components/List/__snapshots__/List.test.tsx.snap +213 -0
  220. package/src/components/Logo/Logo.stories.mdx +295 -0
  221. package/src/components/Logo/Logo.test.tsx +116 -0
  222. package/src/components/Logo/Logo.tsx +151 -0
  223. package/src/components/Logo/LogoSvgs.tsx +90 -0
  224. package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +142 -0
  225. package/src/components/Modal/Modal.stories.mdx +294 -0
  226. package/src/components/Modal/Modal.test.tsx +157 -0
  227. package/src/components/Modal/Modal.tsx +154 -0
  228. package/src/components/Modal/__snapshots__/Modal.test.tsx.snap +25 -0
  229. package/src/components/Notification/Notification.stories.mdx +358 -0
  230. package/src/components/Notification/Notification.test.tsx +279 -0
  231. package/src/components/Notification/Notification.tsx +224 -0
  232. package/src/components/Notification/__snapshots__/Notification.test.tsx.snap +525 -0
  233. package/src/components/Pagination/Pagination.stories.mdx +184 -0
  234. package/src/components/Pagination/Pagination.test.tsx +419 -0
  235. package/src/components/Pagination/Pagination.tsx +269 -0
  236. package/src/components/Pagination/__snapshots__/Pagination.test.tsx.snap +544 -0
  237. package/src/components/Placeholder/Placeholder.tsx +19 -0
  238. package/src/components/ProgressIndicator/ProgressIndicator.stories.mdx +360 -0
  239. package/src/components/ProgressIndicator/ProgressIndicator.test.tsx +298 -0
  240. package/src/components/ProgressIndicator/ProgressIndicator.tsx +132 -0
  241. package/src/components/ProgressIndicator/__snapshots__/ProgressIndicator.test.tsx.snap +434 -0
  242. package/src/components/Radio/Radio.stories.mdx +216 -0
  243. package/src/components/Radio/Radio.test.tsx +247 -0
  244. package/src/components/Radio/Radio.tsx +119 -0
  245. package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +451 -0
  246. package/src/components/RadioGroup/RadioGroup.stories.mdx +479 -0
  247. package/src/components/RadioGroup/RadioGroup.test.tsx +471 -0
  248. package/src/components/RadioGroup/RadioGroup.tsx +171 -0
  249. package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +1550 -0
  250. package/src/components/SearchBar/SearchBar.stories.mdx +518 -0
  251. package/src/components/SearchBar/SearchBar.test.tsx +435 -0
  252. package/src/components/SearchBar/SearchBar.tsx +210 -0
  253. package/src/components/SearchBar/__snapshots__/SearchBar.test.tsx.snap +1049 -0
  254. package/src/components/Select/Select.stories.mdx +439 -0
  255. package/src/components/Select/Select.test.tsx +358 -0
  256. package/src/components/Select/Select.tsx +183 -0
  257. package/src/components/Select/__snapshots__/Select.test.tsx.snap +895 -0
  258. package/src/components/SkeletonLoader/SkeletonLoader.stories.mdx +142 -0
  259. package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +116 -0
  260. package/src/components/SkeletonLoader/SkeletonLoader.tsx +123 -0
  261. package/src/components/SkeletonLoader/__snapshots__/SkeletonLoader.test.tsx.snap +898 -0
  262. package/src/components/SkipNavigation/SkipNavigation.stories.mdx +90 -0
  263. package/src/components/SkipNavigation/SkipNavigation.test.tsx +63 -0
  264. package/src/components/SkipNavigation/SkipNavigation.tsx +51 -0
  265. package/src/components/SkipNavigation/__snapshots__/SkipNavigation.test.tsx.snap +130 -0
  266. package/src/components/Slider/Slider.stories.mdx +628 -0
  267. package/src/components/Slider/Slider.test.tsx +736 -0
  268. package/src/components/Slider/Slider.tsx +322 -0
  269. package/src/components/Slider/__snapshots__/Slider.test.tsx.snap +2186 -0
  270. package/src/components/StatusBadge/StatusBadge.stories.mdx +109 -0
  271. package/src/components/StatusBadge/StatusBadge.test.tsx +70 -0
  272. package/src/components/StatusBadge/StatusBadge.tsx +35 -0
  273. package/src/components/StatusBadge/__snapshots__/StatusBadge.test.tsx.snap +47 -0
  274. package/src/components/StructuredContent/StructuredContent.stories.mdx +567 -0
  275. package/src/components/StructuredContent/StructuredContent.test.tsx +435 -0
  276. package/src/components/StructuredContent/StructuredContent.tsx +139 -0
  277. package/src/components/StructuredContent/__snapshots__/StructuredContent.test.tsx.snap +368 -0
  278. package/src/components/StyleGuide/Bidirectionality.stories.mdx +206 -0
  279. package/src/components/StyleGuide/Breakpoints.stories.mdx +55 -0
  280. package/src/components/StyleGuide/Buttons.stories.mdx +194 -0
  281. package/src/components/StyleGuide/ColorCard.tsx +43 -0
  282. package/src/components/StyleGuide/Colors.stories.mdx +201 -0
  283. package/src/components/StyleGuide/DesignTokens.stories.mdx +193 -0
  284. package/src/components/StyleGuide/Forms.stories.mdx +94 -0
  285. package/src/components/StyleGuide/Iconography.stories.mdx +142 -0
  286. package/src/components/StyleGuide/Spacing.stories.mdx +116 -0
  287. package/src/components/StyleGuide/Typography.stories.mdx +419 -0
  288. package/src/components/Table/Table.stories.mdx +272 -0
  289. package/src/components/Table/Table.test.tsx +241 -0
  290. package/src/components/Table/Table.tsx +152 -0
  291. package/src/components/Table/__snapshots__/Table.test.tsx.snap +1703 -0
  292. package/src/components/Tabs/Tabs.stories.mdx +338 -0
  293. package/src/components/Tabs/Tabs.test.tsx +298 -0
  294. package/src/components/Tabs/Tabs.tsx +264 -0
  295. package/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap +584 -0
  296. package/src/components/Template/Template.stories.mdx +695 -0
  297. package/src/components/Template/Template.test.tsx +309 -0
  298. package/src/components/Template/Template.tsx +326 -0
  299. package/src/components/Template/__snapshots__/Template.test.tsx.snap +342 -0
  300. package/src/components/Text/Text.stories.mdx +103 -0
  301. package/src/components/Text/Text.test.tsx +63 -0
  302. package/src/components/Text/Text.tsx +50 -0
  303. package/src/components/Text/__snapshots__/Text.test.tsx.snap +50 -0
  304. package/src/components/TextInput/TextInput.stories.mdx +268 -0
  305. package/src/components/TextInput/TextInput.test.tsx +451 -0
  306. package/src/components/TextInput/TextInput.tsx +240 -0
  307. package/src/components/TextInput/__snapshots__/TextInput.test.tsx.snap +274 -0
  308. package/src/components/Toggle/Toggle.stories.mdx +237 -0
  309. package/src/components/Toggle/Toggle.test.tsx +170 -0
  310. package/src/components/Toggle/Toggle.tsx +128 -0
  311. package/src/components/Toggle/__snapshots__/Toggle.test.tsx.snap +470 -0
  312. package/src/components/VideoPlayer/VideoPlayer.stories.mdx +212 -0
  313. package/src/components/VideoPlayer/VideoPlayer.test.tsx +308 -0
  314. package/src/components/VideoPlayer/VideoPlayer.tsx +188 -0
  315. package/src/components/VideoPlayer/__snapshots__/VideoPlayer.test.tsx.snap +192 -0
  316. package/src/docs/Chakra.stories.mdx +563 -0
  317. package/src/docs/Welcome.stories.mdx +148 -0
  318. package/src/helpers/types.ts +1 -0
  319. package/src/hooks/tests/useCarouselStyles.test.ts +140 -0
  320. package/src/hooks/tests/useNYPLTheme.test.tsx +36 -0
  321. package/src/hooks/useCarouselStyles.stories.mdx +30 -0
  322. package/src/hooks/useCarouselStyles.ts +35 -0
  323. package/src/hooks/useNYPLTheme.stories.mdx +98 -0
  324. package/src/hooks/useNYPLTheme.ts +91 -0
  325. package/src/hooks/useWindowSize.stories.mdx +23 -0
  326. package/src/hooks/useWindowSize.ts +40 -0
  327. package/src/index.ts +136 -0
  328. package/src/resources.scss +6 -0
  329. package/src/styles/base/_01-breakpoints.scss +27 -0
  330. package/src/styles/base/_02-mixins.scss +103 -0
  331. package/src/styles/base/_place-holder.scss +33 -0
  332. package/src/styles/space/_space-inline.scss +79 -0
  333. package/src/styles/space/_space-inset.scss +57 -0
  334. package/src/styles/space/_space-stack.scss +116 -0
  335. package/src/styles.scss +23 -0
  336. package/src/theme/components/accordion.ts +25 -0
  337. package/src/theme/components/breadcrumb.ts +94 -0
  338. package/src/theme/components/button.ts +133 -0
  339. package/src/theme/components/buttonGroup.ts +10 -0
  340. package/src/theme/components/card.ts +237 -0
  341. package/src/theme/components/checkbox.ts +110 -0
  342. package/src/theme/components/checkboxGroup.ts +10 -0
  343. package/src/theme/components/componentWrapper.ts +14 -0
  344. package/src/theme/components/customTable.ts +77 -0
  345. package/src/theme/components/datePicker.ts +17 -0
  346. package/src/theme/components/fieldset.ts +23 -0
  347. package/src/theme/components/global.ts +91 -0
  348. package/src/theme/components/globalMixins.ts +24 -0
  349. package/src/theme/components/heading.ts +79 -0
  350. package/src/theme/components/helperErrorText.ts +14 -0
  351. package/src/theme/components/hero.ts +238 -0
  352. package/src/theme/components/horizontalRule.ts +17 -0
  353. package/src/theme/components/icon.ts +88 -0
  354. package/src/theme/components/image.ts +136 -0
  355. package/src/theme/components/label.ts +15 -0
  356. package/src/theme/components/link.ts +63 -0
  357. package/src/theme/components/list.ts +88 -0
  358. package/src/theme/components/logo.ts +58 -0
  359. package/src/theme/components/notification.ts +132 -0
  360. package/src/theme/components/pagination.ts +17 -0
  361. package/src/theme/components/progressIndicator.ts +67 -0
  362. package/src/theme/components/radio.ts +103 -0
  363. package/src/theme/components/radioGroup.ts +10 -0
  364. package/src/theme/components/searchBar.ts +19 -0
  365. package/src/theme/components/select.ts +72 -0
  366. package/src/theme/components/skeletonLoader.ts +113 -0
  367. package/src/theme/components/skipNavigation.ts +29 -0
  368. package/src/theme/components/slider.ts +95 -0
  369. package/src/theme/components/statusBadge.ts +26 -0
  370. package/src/theme/components/structuredContent.ts +149 -0
  371. package/src/theme/components/tabs.ts +109 -0
  372. package/src/theme/components/template.ts +114 -0
  373. package/src/theme/components/text.ts +38 -0
  374. package/src/theme/components/textInput.ts +65 -0
  375. package/src/theme/components/toggle.ts +109 -0
  376. package/src/theme/components/videoPlayer.ts +47 -0
  377. package/src/theme/foundations/breakpoints.ts +24 -0
  378. package/src/theme/foundations/colors.ts +212 -0
  379. package/src/theme/foundations/global.ts +43 -0
  380. package/src/theme/foundations/radii.ts +7 -0
  381. package/src/theme/foundations/shadows.ts +5 -0
  382. package/src/theme/foundations/spacing.ts +136 -0
  383. package/src/theme/foundations/typography.ts +107 -0
  384. package/src/theme/index.ts +131 -0
  385. package/src/theme/provider.tsx +9 -0
  386. package/src/theme/types.ts +1 -0
  387. package/src/utils/componentCategories.ts +152 -0
  388. package/src/utils/interfaces.ts +5 -0
  389. package/src/utils/utils.ts +84 -0
  390. package/lib/components/Button/Button.d.ts +0 -17
  391. package/lib/components/Button/Button.js +0 -42
  392. package/lib/index.d.ts +0 -1
  393. package/lib/index.js +0 -6
  394. package/lib/stories/0-Welcome.stories.js +0 -19
  395. package/lib/stories/1-Button.stories.d.ts +0 -6
  396. package/lib/stories/1-Button.stories.js +0 -20
@@ -0,0 +1,1550 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Radio Button renders the UI snapshot correctly 1`] = `
4
+ <fieldset
5
+ className="css-1u8qly9"
6
+ id="radio-group-column"
7
+ >
8
+ <legend>
9
+ column
10
+ </legend>
11
+ <div
12
+ className="chakra-radio-group css-0"
13
+ role="radiogroup"
14
+ >
15
+ <div
16
+ className="chakra-stack css-1wdv1uh"
17
+ >
18
+ <div
19
+ className="css-1xdhyk6"
20
+ id="radio-2-wrapper"
21
+ >
22
+ <label
23
+ className="chakra-radio css-13p0l12"
24
+ >
25
+ <input
26
+ checked={false}
27
+ className="chakra-radio__input"
28
+ disabled={false}
29
+ id="radio-2"
30
+ name="column"
31
+ onBlur={[Function]}
32
+ onChange={[Function]}
33
+ onFocus={[Function]}
34
+ onKeyDown={[Function]}
35
+ onKeyUp={[Function]}
36
+ required={false}
37
+ style={
38
+ Object {
39
+ "border": "0px",
40
+ "clip": "rect(0px, 0px, 0px, 0px)",
41
+ "height": "1px",
42
+ "margin": "-1px",
43
+ "overflow": "hidden",
44
+ "padding": "0px",
45
+ "position": "absolute",
46
+ "whiteSpace": "nowrap",
47
+ "width": "1px",
48
+ }
49
+ }
50
+ type="radio"
51
+ value="2"
52
+ />
53
+ <span
54
+ aria-hidden={true}
55
+ className="css-14wybg9"
56
+ onMouseDown={[Function]}
57
+ onMouseEnter={[Function]}
58
+ onMouseLeave={[Function]}
59
+ onMouseUp={[Function]}
60
+ />
61
+ <span
62
+ className="chakra-radio__label css-1y8kf23"
63
+ onMouseDown={[Function]}
64
+ onTouchStart={[Function]}
65
+ >
66
+ Radio 2
67
+ </span>
68
+ </label>
69
+ </div>
70
+ <div
71
+ className="css-1xdhyk6"
72
+ id="radio-3-wrapper"
73
+ >
74
+ <label
75
+ className="chakra-radio css-13p0l12"
76
+ >
77
+ <input
78
+ checked={false}
79
+ className="chakra-radio__input"
80
+ disabled={false}
81
+ id="radio-3"
82
+ name="column"
83
+ onBlur={[Function]}
84
+ onChange={[Function]}
85
+ onFocus={[Function]}
86
+ onKeyDown={[Function]}
87
+ onKeyUp={[Function]}
88
+ required={false}
89
+ style={
90
+ Object {
91
+ "border": "0px",
92
+ "clip": "rect(0px, 0px, 0px, 0px)",
93
+ "height": "1px",
94
+ "margin": "-1px",
95
+ "overflow": "hidden",
96
+ "padding": "0px",
97
+ "position": "absolute",
98
+ "whiteSpace": "nowrap",
99
+ "width": "1px",
100
+ }
101
+ }
102
+ type="radio"
103
+ value="3"
104
+ />
105
+ <span
106
+ aria-hidden={true}
107
+ className="css-14wybg9"
108
+ onMouseDown={[Function]}
109
+ onMouseEnter={[Function]}
110
+ onMouseLeave={[Function]}
111
+ onMouseUp={[Function]}
112
+ />
113
+ <span
114
+ className="chakra-radio__label css-1y8kf23"
115
+ onMouseDown={[Function]}
116
+ onTouchStart={[Function]}
117
+ >
118
+ Radio 3
119
+ </span>
120
+ </label>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </fieldset>
125
+ `;
126
+
127
+ exports[`Radio Button renders the UI snapshot correctly 2`] = `
128
+ <fieldset
129
+ className="css-1u8qly9"
130
+ id="radio-group-row"
131
+ >
132
+ <legend>
133
+ row
134
+ </legend>
135
+ <div
136
+ className="chakra-radio-group css-0"
137
+ role="radiogroup"
138
+ >
139
+ <div
140
+ className="chakra-stack css-1objuxj"
141
+ >
142
+ <div
143
+ className="css-1xdhyk6"
144
+ id="radio-2-wrapper"
145
+ >
146
+ <label
147
+ className="chakra-radio css-13p0l12"
148
+ >
149
+ <input
150
+ checked={false}
151
+ className="chakra-radio__input"
152
+ disabled={false}
153
+ id="radio-2"
154
+ name="row"
155
+ onBlur={[Function]}
156
+ onChange={[Function]}
157
+ onFocus={[Function]}
158
+ onKeyDown={[Function]}
159
+ onKeyUp={[Function]}
160
+ required={false}
161
+ style={
162
+ Object {
163
+ "border": "0px",
164
+ "clip": "rect(0px, 0px, 0px, 0px)",
165
+ "height": "1px",
166
+ "margin": "-1px",
167
+ "overflow": "hidden",
168
+ "padding": "0px",
169
+ "position": "absolute",
170
+ "whiteSpace": "nowrap",
171
+ "width": "1px",
172
+ }
173
+ }
174
+ type="radio"
175
+ value="2"
176
+ />
177
+ <span
178
+ aria-hidden={true}
179
+ className="css-14wybg9"
180
+ onMouseDown={[Function]}
181
+ onMouseEnter={[Function]}
182
+ onMouseLeave={[Function]}
183
+ onMouseUp={[Function]}
184
+ />
185
+ <span
186
+ className="chakra-radio__label css-1y8kf23"
187
+ onMouseDown={[Function]}
188
+ onTouchStart={[Function]}
189
+ >
190
+ Radio 2
191
+ </span>
192
+ </label>
193
+ </div>
194
+ <div
195
+ className="css-1xdhyk6"
196
+ id="radio-3-wrapper"
197
+ >
198
+ <label
199
+ className="chakra-radio css-13p0l12"
200
+ >
201
+ <input
202
+ checked={false}
203
+ className="chakra-radio__input"
204
+ disabled={false}
205
+ id="radio-3"
206
+ name="row"
207
+ onBlur={[Function]}
208
+ onChange={[Function]}
209
+ onFocus={[Function]}
210
+ onKeyDown={[Function]}
211
+ onKeyUp={[Function]}
212
+ required={false}
213
+ style={
214
+ Object {
215
+ "border": "0px",
216
+ "clip": "rect(0px, 0px, 0px, 0px)",
217
+ "height": "1px",
218
+ "margin": "-1px",
219
+ "overflow": "hidden",
220
+ "padding": "0px",
221
+ "position": "absolute",
222
+ "whiteSpace": "nowrap",
223
+ "width": "1px",
224
+ }
225
+ }
226
+ type="radio"
227
+ value="3"
228
+ />
229
+ <span
230
+ aria-hidden={true}
231
+ className="css-14wybg9"
232
+ onMouseDown={[Function]}
233
+ onMouseEnter={[Function]}
234
+ onMouseLeave={[Function]}
235
+ onMouseUp={[Function]}
236
+ />
237
+ <span
238
+ className="chakra-radio__label css-1y8kf23"
239
+ onMouseDown={[Function]}
240
+ onTouchStart={[Function]}
241
+ >
242
+ Radio 3
243
+ </span>
244
+ </label>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </fieldset>
249
+ `;
250
+
251
+ exports[`Radio Button renders the UI snapshot correctly 3`] = `
252
+ <fieldset
253
+ className="css-1u8qly9"
254
+ id="radio-group-noLabel"
255
+ >
256
+ <legend>
257
+ no label
258
+ </legend>
259
+ <div
260
+ aria-label="no label"
261
+ className="chakra-radio-group css-0"
262
+ role="radiogroup"
263
+ >
264
+ <div
265
+ className="chakra-stack css-1wdv1uh"
266
+ >
267
+ <div
268
+ className="css-1xdhyk6"
269
+ id="radio-2-wrapper"
270
+ >
271
+ <label
272
+ className="chakra-radio css-13p0l12"
273
+ >
274
+ <input
275
+ checked={false}
276
+ className="chakra-radio__input"
277
+ disabled={false}
278
+ id="radio-2"
279
+ name="noLabel"
280
+ onBlur={[Function]}
281
+ onChange={[Function]}
282
+ onFocus={[Function]}
283
+ onKeyDown={[Function]}
284
+ onKeyUp={[Function]}
285
+ required={false}
286
+ style={
287
+ Object {
288
+ "border": "0px",
289
+ "clip": "rect(0px, 0px, 0px, 0px)",
290
+ "height": "1px",
291
+ "margin": "-1px",
292
+ "overflow": "hidden",
293
+ "padding": "0px",
294
+ "position": "absolute",
295
+ "whiteSpace": "nowrap",
296
+ "width": "1px",
297
+ }
298
+ }
299
+ type="radio"
300
+ value="2"
301
+ />
302
+ <span
303
+ aria-hidden={true}
304
+ className="css-14wybg9"
305
+ onMouseDown={[Function]}
306
+ onMouseEnter={[Function]}
307
+ onMouseLeave={[Function]}
308
+ onMouseUp={[Function]}
309
+ />
310
+ <span
311
+ className="chakra-radio__label css-1y8kf23"
312
+ onMouseDown={[Function]}
313
+ onTouchStart={[Function]}
314
+ >
315
+ Radio 2
316
+ </span>
317
+ </label>
318
+ </div>
319
+ <div
320
+ className="css-1xdhyk6"
321
+ id="radio-3-wrapper"
322
+ >
323
+ <label
324
+ className="chakra-radio css-13p0l12"
325
+ >
326
+ <input
327
+ checked={false}
328
+ className="chakra-radio__input"
329
+ disabled={false}
330
+ id="radio-3"
331
+ name="noLabel"
332
+ onBlur={[Function]}
333
+ onChange={[Function]}
334
+ onFocus={[Function]}
335
+ onKeyDown={[Function]}
336
+ onKeyUp={[Function]}
337
+ required={false}
338
+ style={
339
+ Object {
340
+ "border": "0px",
341
+ "clip": "rect(0px, 0px, 0px, 0px)",
342
+ "height": "1px",
343
+ "margin": "-1px",
344
+ "overflow": "hidden",
345
+ "padding": "0px",
346
+ "position": "absolute",
347
+ "whiteSpace": "nowrap",
348
+ "width": "1px",
349
+ }
350
+ }
351
+ type="radio"
352
+ value="3"
353
+ />
354
+ <span
355
+ aria-hidden={true}
356
+ className="css-14wybg9"
357
+ onMouseDown={[Function]}
358
+ onMouseEnter={[Function]}
359
+ onMouseLeave={[Function]}
360
+ onMouseUp={[Function]}
361
+ />
362
+ <span
363
+ className="chakra-radio__label css-1y8kf23"
364
+ onMouseDown={[Function]}
365
+ onTouchStart={[Function]}
366
+ >
367
+ Radio 3
368
+ </span>
369
+ </label>
370
+ </div>
371
+ </div>
372
+ </div>
373
+ </fieldset>
374
+ `;
375
+
376
+ exports[`Radio Button renders the UI snapshot correctly 4`] = `
377
+ <fieldset
378
+ className="css-1u8qly9"
379
+ id="radio-group-helperText"
380
+ >
381
+ <legend>
382
+ helperText
383
+ </legend>
384
+ <div
385
+ className="chakra-radio-group css-0"
386
+ role="radiogroup"
387
+ >
388
+ <div
389
+ className="chakra-stack css-1wdv1uh"
390
+ >
391
+ <div
392
+ className="css-1xdhyk6"
393
+ id="radio-2-wrapper"
394
+ >
395
+ <label
396
+ className="chakra-radio css-13p0l12"
397
+ >
398
+ <input
399
+ checked={false}
400
+ className="chakra-radio__input"
401
+ disabled={false}
402
+ id="radio-2"
403
+ name="helperText"
404
+ onBlur={[Function]}
405
+ onChange={[Function]}
406
+ onFocus={[Function]}
407
+ onKeyDown={[Function]}
408
+ onKeyUp={[Function]}
409
+ required={false}
410
+ style={
411
+ Object {
412
+ "border": "0px",
413
+ "clip": "rect(0px, 0px, 0px, 0px)",
414
+ "height": "1px",
415
+ "margin": "-1px",
416
+ "overflow": "hidden",
417
+ "padding": "0px",
418
+ "position": "absolute",
419
+ "whiteSpace": "nowrap",
420
+ "width": "1px",
421
+ }
422
+ }
423
+ type="radio"
424
+ value="2"
425
+ />
426
+ <span
427
+ aria-hidden={true}
428
+ className="css-14wybg9"
429
+ onMouseDown={[Function]}
430
+ onMouseEnter={[Function]}
431
+ onMouseLeave={[Function]}
432
+ onMouseUp={[Function]}
433
+ />
434
+ <span
435
+ className="chakra-radio__label css-1y8kf23"
436
+ onMouseDown={[Function]}
437
+ onTouchStart={[Function]}
438
+ >
439
+ Radio 2
440
+ </span>
441
+ </label>
442
+ </div>
443
+ <div
444
+ className="css-1xdhyk6"
445
+ id="radio-3-wrapper"
446
+ >
447
+ <label
448
+ className="chakra-radio css-13p0l12"
449
+ >
450
+ <input
451
+ checked={false}
452
+ className="chakra-radio__input"
453
+ disabled={false}
454
+ id="radio-3"
455
+ name="helperText"
456
+ onBlur={[Function]}
457
+ onChange={[Function]}
458
+ onFocus={[Function]}
459
+ onKeyDown={[Function]}
460
+ onKeyUp={[Function]}
461
+ required={false}
462
+ style={
463
+ Object {
464
+ "border": "0px",
465
+ "clip": "rect(0px, 0px, 0px, 0px)",
466
+ "height": "1px",
467
+ "margin": "-1px",
468
+ "overflow": "hidden",
469
+ "padding": "0px",
470
+ "position": "absolute",
471
+ "whiteSpace": "nowrap",
472
+ "width": "1px",
473
+ }
474
+ }
475
+ type="radio"
476
+ value="3"
477
+ />
478
+ <span
479
+ aria-hidden={true}
480
+ className="css-14wybg9"
481
+ onMouseDown={[Function]}
482
+ onMouseEnter={[Function]}
483
+ onMouseLeave={[Function]}
484
+ onMouseUp={[Function]}
485
+ />
486
+ <span
487
+ className="chakra-radio__label css-1y8kf23"
488
+ onMouseDown={[Function]}
489
+ onTouchStart={[Function]}
490
+ >
491
+ Radio 3
492
+ </span>
493
+ </label>
494
+ </div>
495
+ </div>
496
+ </div>
497
+ <div
498
+ aria-atomic={true}
499
+ aria-live="off"
500
+ className="css-1xdhyk6"
501
+ dangerouslySetInnerHTML={
502
+ Object {
503
+ "__html": "helper text",
504
+ }
505
+ }
506
+ data-isinvalid={false}
507
+ id="helperText-helperErrorText"
508
+ />
509
+ </fieldset>
510
+ `;
511
+
512
+ exports[`Radio Button renders the UI snapshot correctly 5`] = `
513
+ <fieldset
514
+ className="css-1u8qly9"
515
+ id="radio-group-invalidText"
516
+ >
517
+ <legend>
518
+ invalidText
519
+ </legend>
520
+ <div
521
+ className="chakra-radio-group css-0"
522
+ role="radiogroup"
523
+ >
524
+ <div
525
+ className="chakra-stack css-1wdv1uh"
526
+ >
527
+ <div
528
+ className="css-1xdhyk6"
529
+ id="radio-2-wrapper"
530
+ >
531
+ <label
532
+ className="chakra-radio css-13p0l12"
533
+ >
534
+ <input
535
+ checked={false}
536
+ className="chakra-radio__input"
537
+ disabled={false}
538
+ id="radio-2"
539
+ name="invalidText"
540
+ onBlur={[Function]}
541
+ onChange={[Function]}
542
+ onFocus={[Function]}
543
+ onKeyDown={[Function]}
544
+ onKeyUp={[Function]}
545
+ required={false}
546
+ style={
547
+ Object {
548
+ "border": "0px",
549
+ "clip": "rect(0px, 0px, 0px, 0px)",
550
+ "height": "1px",
551
+ "margin": "-1px",
552
+ "overflow": "hidden",
553
+ "padding": "0px",
554
+ "position": "absolute",
555
+ "whiteSpace": "nowrap",
556
+ "width": "1px",
557
+ }
558
+ }
559
+ type="radio"
560
+ value="2"
561
+ />
562
+ <span
563
+ aria-hidden={true}
564
+ className="css-14wybg9"
565
+ onMouseDown={[Function]}
566
+ onMouseEnter={[Function]}
567
+ onMouseLeave={[Function]}
568
+ onMouseUp={[Function]}
569
+ />
570
+ <span
571
+ className="chakra-radio__label css-1y8kf23"
572
+ onMouseDown={[Function]}
573
+ onTouchStart={[Function]}
574
+ >
575
+ Radio 2
576
+ </span>
577
+ </label>
578
+ </div>
579
+ <div
580
+ className="css-1xdhyk6"
581
+ id="radio-3-wrapper"
582
+ >
583
+ <label
584
+ className="chakra-radio css-13p0l12"
585
+ >
586
+ <input
587
+ checked={false}
588
+ className="chakra-radio__input"
589
+ disabled={false}
590
+ id="radio-3"
591
+ name="invalidText"
592
+ onBlur={[Function]}
593
+ onChange={[Function]}
594
+ onFocus={[Function]}
595
+ onKeyDown={[Function]}
596
+ onKeyUp={[Function]}
597
+ required={false}
598
+ style={
599
+ Object {
600
+ "border": "0px",
601
+ "clip": "rect(0px, 0px, 0px, 0px)",
602
+ "height": "1px",
603
+ "margin": "-1px",
604
+ "overflow": "hidden",
605
+ "padding": "0px",
606
+ "position": "absolute",
607
+ "whiteSpace": "nowrap",
608
+ "width": "1px",
609
+ }
610
+ }
611
+ type="radio"
612
+ value="3"
613
+ />
614
+ <span
615
+ aria-hidden={true}
616
+ className="css-14wybg9"
617
+ onMouseDown={[Function]}
618
+ onMouseEnter={[Function]}
619
+ onMouseLeave={[Function]}
620
+ onMouseUp={[Function]}
621
+ />
622
+ <span
623
+ className="chakra-radio__label css-1y8kf23"
624
+ onMouseDown={[Function]}
625
+ onTouchStart={[Function]}
626
+ >
627
+ Radio 3
628
+ </span>
629
+ </label>
630
+ </div>
631
+ </div>
632
+ </div>
633
+ </fieldset>
634
+ `;
635
+
636
+ exports[`Radio Button renders the UI snapshot correctly 6`] = `
637
+ <fieldset
638
+ className="css-1u8qly9"
639
+ id="radio-group-noRequiredLabel"
640
+ >
641
+ <legend>
642
+ no optional or required label
643
+ </legend>
644
+ <div
645
+ className="chakra-radio-group css-0"
646
+ role="radiogroup"
647
+ >
648
+ <div
649
+ className="chakra-stack css-1wdv1uh"
650
+ >
651
+ <div
652
+ className="css-1xdhyk6"
653
+ id="radio-2-wrapper"
654
+ >
655
+ <label
656
+ className="chakra-radio css-13p0l12"
657
+ >
658
+ <input
659
+ aria-required={true}
660
+ checked={false}
661
+ className="chakra-radio__input"
662
+ disabled={false}
663
+ id="radio-2"
664
+ name="noRequiredLabel"
665
+ onBlur={[Function]}
666
+ onChange={[Function]}
667
+ onFocus={[Function]}
668
+ onKeyDown={[Function]}
669
+ onKeyUp={[Function]}
670
+ required={true}
671
+ style={
672
+ Object {
673
+ "border": "0px",
674
+ "clip": "rect(0px, 0px, 0px, 0px)",
675
+ "height": "1px",
676
+ "margin": "-1px",
677
+ "overflow": "hidden",
678
+ "padding": "0px",
679
+ "position": "absolute",
680
+ "whiteSpace": "nowrap",
681
+ "width": "1px",
682
+ }
683
+ }
684
+ type="radio"
685
+ value="2"
686
+ />
687
+ <span
688
+ aria-hidden={true}
689
+ className="css-14wybg9"
690
+ onMouseDown={[Function]}
691
+ onMouseEnter={[Function]}
692
+ onMouseLeave={[Function]}
693
+ onMouseUp={[Function]}
694
+ />
695
+ <span
696
+ className="chakra-radio__label css-1y8kf23"
697
+ onMouseDown={[Function]}
698
+ onTouchStart={[Function]}
699
+ >
700
+ Radio 2
701
+ </span>
702
+ </label>
703
+ </div>
704
+ <div
705
+ className="css-1xdhyk6"
706
+ id="radio-3-wrapper"
707
+ >
708
+ <label
709
+ className="chakra-radio css-13p0l12"
710
+ >
711
+ <input
712
+ aria-required={true}
713
+ checked={false}
714
+ className="chakra-radio__input"
715
+ disabled={false}
716
+ id="radio-3"
717
+ name="noRequiredLabel"
718
+ onBlur={[Function]}
719
+ onChange={[Function]}
720
+ onFocus={[Function]}
721
+ onKeyDown={[Function]}
722
+ onKeyUp={[Function]}
723
+ required={true}
724
+ style={
725
+ Object {
726
+ "border": "0px",
727
+ "clip": "rect(0px, 0px, 0px, 0px)",
728
+ "height": "1px",
729
+ "margin": "-1px",
730
+ "overflow": "hidden",
731
+ "padding": "0px",
732
+ "position": "absolute",
733
+ "whiteSpace": "nowrap",
734
+ "width": "1px",
735
+ }
736
+ }
737
+ type="radio"
738
+ value="3"
739
+ />
740
+ <span
741
+ aria-hidden={true}
742
+ className="css-14wybg9"
743
+ onMouseDown={[Function]}
744
+ onMouseEnter={[Function]}
745
+ onMouseLeave={[Function]}
746
+ onMouseUp={[Function]}
747
+ />
748
+ <span
749
+ className="chakra-radio__label css-1y8kf23"
750
+ onMouseDown={[Function]}
751
+ onTouchStart={[Function]}
752
+ >
753
+ Radio 3
754
+ </span>
755
+ </label>
756
+ </div>
757
+ </div>
758
+ </div>
759
+ </fieldset>
760
+ `;
761
+
762
+ exports[`Radio Button renders the UI snapshot correctly 7`] = `
763
+ <fieldset
764
+ className="css-1u8qly9"
765
+ id="radio-group-required"
766
+ >
767
+ <legend>
768
+ required
769
+ <span>
770
+ (Required)
771
+ </span>
772
+ </legend>
773
+ <div
774
+ className="chakra-radio-group css-0"
775
+ role="radiogroup"
776
+ >
777
+ <div
778
+ className="chakra-stack css-1wdv1uh"
779
+ >
780
+ <div
781
+ className="css-1xdhyk6"
782
+ id="radio-2-wrapper"
783
+ >
784
+ <label
785
+ className="chakra-radio css-13p0l12"
786
+ >
787
+ <input
788
+ aria-required={true}
789
+ checked={false}
790
+ className="chakra-radio__input"
791
+ disabled={false}
792
+ id="radio-2"
793
+ name="required"
794
+ onBlur={[Function]}
795
+ onChange={[Function]}
796
+ onFocus={[Function]}
797
+ onKeyDown={[Function]}
798
+ onKeyUp={[Function]}
799
+ required={true}
800
+ style={
801
+ Object {
802
+ "border": "0px",
803
+ "clip": "rect(0px, 0px, 0px, 0px)",
804
+ "height": "1px",
805
+ "margin": "-1px",
806
+ "overflow": "hidden",
807
+ "padding": "0px",
808
+ "position": "absolute",
809
+ "whiteSpace": "nowrap",
810
+ "width": "1px",
811
+ }
812
+ }
813
+ type="radio"
814
+ value="2"
815
+ />
816
+ <span
817
+ aria-hidden={true}
818
+ className="css-14wybg9"
819
+ onMouseDown={[Function]}
820
+ onMouseEnter={[Function]}
821
+ onMouseLeave={[Function]}
822
+ onMouseUp={[Function]}
823
+ />
824
+ <span
825
+ className="chakra-radio__label css-1y8kf23"
826
+ onMouseDown={[Function]}
827
+ onTouchStart={[Function]}
828
+ >
829
+ Radio 2
830
+ </span>
831
+ </label>
832
+ </div>
833
+ <div
834
+ className="css-1xdhyk6"
835
+ id="radio-3-wrapper"
836
+ >
837
+ <label
838
+ className="chakra-radio css-13p0l12"
839
+ >
840
+ <input
841
+ aria-required={true}
842
+ checked={false}
843
+ className="chakra-radio__input"
844
+ disabled={false}
845
+ id="radio-3"
846
+ name="required"
847
+ onBlur={[Function]}
848
+ onChange={[Function]}
849
+ onFocus={[Function]}
850
+ onKeyDown={[Function]}
851
+ onKeyUp={[Function]}
852
+ required={true}
853
+ style={
854
+ Object {
855
+ "border": "0px",
856
+ "clip": "rect(0px, 0px, 0px, 0px)",
857
+ "height": "1px",
858
+ "margin": "-1px",
859
+ "overflow": "hidden",
860
+ "padding": "0px",
861
+ "position": "absolute",
862
+ "whiteSpace": "nowrap",
863
+ "width": "1px",
864
+ }
865
+ }
866
+ type="radio"
867
+ value="3"
868
+ />
869
+ <span
870
+ aria-hidden={true}
871
+ className="css-14wybg9"
872
+ onMouseDown={[Function]}
873
+ onMouseEnter={[Function]}
874
+ onMouseLeave={[Function]}
875
+ onMouseUp={[Function]}
876
+ />
877
+ <span
878
+ className="chakra-radio__label css-1y8kf23"
879
+ onMouseDown={[Function]}
880
+ onTouchStart={[Function]}
881
+ >
882
+ Radio 3
883
+ </span>
884
+ </label>
885
+ </div>
886
+ </div>
887
+ </div>
888
+ </fieldset>
889
+ `;
890
+
891
+ exports[`Radio Button renders the UI snapshot correctly 8`] = `
892
+ <fieldset
893
+ className="css-1u8qly9"
894
+ id="radio-group-invalid"
895
+ >
896
+ <legend>
897
+ invalid
898
+ </legend>
899
+ <div
900
+ className="chakra-radio-group css-0"
901
+ role="radiogroup"
902
+ >
903
+ <div
904
+ className="chakra-stack css-1wdv1uh"
905
+ >
906
+ <div
907
+ className="css-1xdhyk6"
908
+ id="radio-2-wrapper"
909
+ >
910
+ <label
911
+ className="chakra-radio css-13p0l12"
912
+ data-invalid=""
913
+ >
914
+ <input
915
+ aria-invalid={true}
916
+ checked={false}
917
+ className="chakra-radio__input"
918
+ disabled={false}
919
+ id="radio-2"
920
+ name="invalid"
921
+ onBlur={[Function]}
922
+ onChange={[Function]}
923
+ onFocus={[Function]}
924
+ onKeyDown={[Function]}
925
+ onKeyUp={[Function]}
926
+ required={false}
927
+ style={
928
+ Object {
929
+ "border": "0px",
930
+ "clip": "rect(0px, 0px, 0px, 0px)",
931
+ "height": "1px",
932
+ "margin": "-1px",
933
+ "overflow": "hidden",
934
+ "padding": "0px",
935
+ "position": "absolute",
936
+ "whiteSpace": "nowrap",
937
+ "width": "1px",
938
+ }
939
+ }
940
+ type="radio"
941
+ value="2"
942
+ />
943
+ <span
944
+ aria-hidden={true}
945
+ className="css-14wybg9"
946
+ data-invalid=""
947
+ onMouseDown={[Function]}
948
+ onMouseEnter={[Function]}
949
+ onMouseLeave={[Function]}
950
+ onMouseUp={[Function]}
951
+ />
952
+ <span
953
+ className="chakra-radio__label css-1y8kf23"
954
+ data-invalid=""
955
+ onMouseDown={[Function]}
956
+ onTouchStart={[Function]}
957
+ >
958
+ Radio 2
959
+ </span>
960
+ </label>
961
+ </div>
962
+ <div
963
+ className="css-1xdhyk6"
964
+ id="radio-3-wrapper"
965
+ >
966
+ <label
967
+ className="chakra-radio css-13p0l12"
968
+ data-invalid=""
969
+ >
970
+ <input
971
+ aria-invalid={true}
972
+ checked={false}
973
+ className="chakra-radio__input"
974
+ disabled={false}
975
+ id="radio-3"
976
+ name="invalid"
977
+ onBlur={[Function]}
978
+ onChange={[Function]}
979
+ onFocus={[Function]}
980
+ onKeyDown={[Function]}
981
+ onKeyUp={[Function]}
982
+ required={false}
983
+ style={
984
+ Object {
985
+ "border": "0px",
986
+ "clip": "rect(0px, 0px, 0px, 0px)",
987
+ "height": "1px",
988
+ "margin": "-1px",
989
+ "overflow": "hidden",
990
+ "padding": "0px",
991
+ "position": "absolute",
992
+ "whiteSpace": "nowrap",
993
+ "width": "1px",
994
+ }
995
+ }
996
+ type="radio"
997
+ value="3"
998
+ />
999
+ <span
1000
+ aria-hidden={true}
1001
+ className="css-14wybg9"
1002
+ data-invalid=""
1003
+ onMouseDown={[Function]}
1004
+ onMouseEnter={[Function]}
1005
+ onMouseLeave={[Function]}
1006
+ onMouseUp={[Function]}
1007
+ />
1008
+ <span
1009
+ className="chakra-radio__label css-1y8kf23"
1010
+ data-invalid=""
1011
+ onMouseDown={[Function]}
1012
+ onTouchStart={[Function]}
1013
+ >
1014
+ Radio 3
1015
+ </span>
1016
+ </label>
1017
+ </div>
1018
+ </div>
1019
+ </div>
1020
+ </fieldset>
1021
+ `;
1022
+
1023
+ exports[`Radio Button renders the UI snapshot correctly 9`] = `
1024
+ <fieldset
1025
+ className="css-1u8qly9"
1026
+ id="radio-group-disabled"
1027
+ >
1028
+ <legend>
1029
+ disabled
1030
+ </legend>
1031
+ <div
1032
+ className="chakra-radio-group css-0"
1033
+ role="radiogroup"
1034
+ >
1035
+ <div
1036
+ className="chakra-stack css-1wdv1uh"
1037
+ >
1038
+ <div
1039
+ className="css-1xdhyk6"
1040
+ id="radio-2-wrapper"
1041
+ >
1042
+ <label
1043
+ className="chakra-radio css-13p0l12"
1044
+ data-disabled=""
1045
+ >
1046
+ <input
1047
+ aria-disabled={true}
1048
+ checked={false}
1049
+ className="chakra-radio__input"
1050
+ disabled={true}
1051
+ id="radio-2"
1052
+ name="disabled"
1053
+ onBlur={[Function]}
1054
+ onChange={[Function]}
1055
+ onFocus={[Function]}
1056
+ onKeyDown={[Function]}
1057
+ onKeyUp={[Function]}
1058
+ required={false}
1059
+ style={
1060
+ Object {
1061
+ "border": "0px",
1062
+ "clip": "rect(0px, 0px, 0px, 0px)",
1063
+ "height": "1px",
1064
+ "margin": "-1px",
1065
+ "overflow": "hidden",
1066
+ "padding": "0px",
1067
+ "position": "absolute",
1068
+ "whiteSpace": "nowrap",
1069
+ "width": "1px",
1070
+ }
1071
+ }
1072
+ type="radio"
1073
+ value="2"
1074
+ />
1075
+ <span
1076
+ aria-hidden={true}
1077
+ className="css-14wybg9"
1078
+ data-disabled=""
1079
+ onMouseDown={[Function]}
1080
+ onMouseEnter={[Function]}
1081
+ onMouseLeave={[Function]}
1082
+ onMouseUp={[Function]}
1083
+ />
1084
+ <span
1085
+ className="chakra-radio__label css-1y8kf23"
1086
+ data-disabled=""
1087
+ onMouseDown={[Function]}
1088
+ onTouchStart={[Function]}
1089
+ >
1090
+ Radio 2
1091
+ </span>
1092
+ </label>
1093
+ </div>
1094
+ <div
1095
+ className="css-1xdhyk6"
1096
+ id="radio-3-wrapper"
1097
+ >
1098
+ <label
1099
+ className="chakra-radio css-13p0l12"
1100
+ data-disabled=""
1101
+ >
1102
+ <input
1103
+ aria-disabled={true}
1104
+ checked={false}
1105
+ className="chakra-radio__input"
1106
+ disabled={true}
1107
+ id="radio-3"
1108
+ name="disabled"
1109
+ onBlur={[Function]}
1110
+ onChange={[Function]}
1111
+ onFocus={[Function]}
1112
+ onKeyDown={[Function]}
1113
+ onKeyUp={[Function]}
1114
+ required={false}
1115
+ style={
1116
+ Object {
1117
+ "border": "0px",
1118
+ "clip": "rect(0px, 0px, 0px, 0px)",
1119
+ "height": "1px",
1120
+ "margin": "-1px",
1121
+ "overflow": "hidden",
1122
+ "padding": "0px",
1123
+ "position": "absolute",
1124
+ "whiteSpace": "nowrap",
1125
+ "width": "1px",
1126
+ }
1127
+ }
1128
+ type="radio"
1129
+ value="3"
1130
+ />
1131
+ <span
1132
+ aria-hidden={true}
1133
+ className="css-14wybg9"
1134
+ data-disabled=""
1135
+ onMouseDown={[Function]}
1136
+ onMouseEnter={[Function]}
1137
+ onMouseLeave={[Function]}
1138
+ onMouseUp={[Function]}
1139
+ />
1140
+ <span
1141
+ className="chakra-radio__label css-1y8kf23"
1142
+ data-disabled=""
1143
+ onMouseDown={[Function]}
1144
+ onTouchStart={[Function]}
1145
+ >
1146
+ Radio 3
1147
+ </span>
1148
+ </label>
1149
+ </div>
1150
+ </div>
1151
+ </div>
1152
+ </fieldset>
1153
+ `;
1154
+
1155
+ exports[`Radio Button renders the UI snapshot correctly 10`] = `
1156
+ <fieldset
1157
+ className="css-1u8qly9"
1158
+ id="radio-group-jsxLabels"
1159
+ >
1160
+ <legend>
1161
+ RadioGroup example
1162
+ </legend>
1163
+ <div
1164
+ className="chakra-radio-group css-0"
1165
+ role="radiogroup"
1166
+ >
1167
+ <div
1168
+ className="chakra-stack css-1wdv1uh"
1169
+ >
1170
+ <div
1171
+ className="css-1xdhyk6"
1172
+ id="arts-wrapper"
1173
+ >
1174
+ <label
1175
+ className="chakra-radio css-13p0l12"
1176
+ >
1177
+ <input
1178
+ checked={false}
1179
+ className="chakra-radio__input"
1180
+ disabled={false}
1181
+ id="arts"
1182
+ name="a11y-test"
1183
+ onBlur={[Function]}
1184
+ onChange={[Function]}
1185
+ onFocus={[Function]}
1186
+ onKeyDown={[Function]}
1187
+ onKeyUp={[Function]}
1188
+ required={false}
1189
+ style={
1190
+ Object {
1191
+ "border": "0px",
1192
+ "clip": "rect(0px, 0px, 0px, 0px)",
1193
+ "height": "1px",
1194
+ "margin": "-1px",
1195
+ "overflow": "hidden",
1196
+ "padding": "0px",
1197
+ "position": "absolute",
1198
+ "whiteSpace": "nowrap",
1199
+ "width": "1px",
1200
+ }
1201
+ }
1202
+ type="radio"
1203
+ value="arts"
1204
+ />
1205
+ <span
1206
+ aria-hidden={true}
1207
+ className="css-14wybg9"
1208
+ onMouseDown={[Function]}
1209
+ onMouseEnter={[Function]}
1210
+ onMouseLeave={[Function]}
1211
+ onMouseUp={[Function]}
1212
+ />
1213
+ <span
1214
+ className="chakra-radio__label css-1y8kf23"
1215
+ onMouseDown={[Function]}
1216
+ onTouchStart={[Function]}
1217
+ >
1218
+ <div
1219
+ className="css-k008qs"
1220
+ >
1221
+ <span>
1222
+ Arts
1223
+ </span>
1224
+ <div
1225
+ className="css-17xejub"
1226
+ />
1227
+ <span>
1228
+ 4
1229
+ </span>
1230
+ </div>
1231
+ </span>
1232
+ </label>
1233
+ </div>
1234
+ <div
1235
+ className="css-1xdhyk6"
1236
+ id="English-wrapper"
1237
+ >
1238
+ <label
1239
+ className="chakra-radio css-13p0l12"
1240
+ >
1241
+ <input
1242
+ checked={false}
1243
+ className="chakra-radio__input"
1244
+ disabled={false}
1245
+ id="English"
1246
+ name="a11y-test"
1247
+ onBlur={[Function]}
1248
+ onChange={[Function]}
1249
+ onFocus={[Function]}
1250
+ onKeyDown={[Function]}
1251
+ onKeyUp={[Function]}
1252
+ required={false}
1253
+ style={
1254
+ Object {
1255
+ "border": "0px",
1256
+ "clip": "rect(0px, 0px, 0px, 0px)",
1257
+ "height": "1px",
1258
+ "margin": "-1px",
1259
+ "overflow": "hidden",
1260
+ "padding": "0px",
1261
+ "position": "absolute",
1262
+ "whiteSpace": "nowrap",
1263
+ "width": "1px",
1264
+ }
1265
+ }
1266
+ type="radio"
1267
+ value="English"
1268
+ />
1269
+ <span
1270
+ aria-hidden={true}
1271
+ className="css-14wybg9"
1272
+ onMouseDown={[Function]}
1273
+ onMouseEnter={[Function]}
1274
+ onMouseLeave={[Function]}
1275
+ onMouseUp={[Function]}
1276
+ />
1277
+ <span
1278
+ className="chakra-radio__label css-1y8kf23"
1279
+ onMouseDown={[Function]}
1280
+ onTouchStart={[Function]}
1281
+ >
1282
+ <div
1283
+ className="css-k008qs"
1284
+ >
1285
+ <span>
1286
+ English
1287
+ </span>
1288
+ <div
1289
+ className="css-17xejub"
1290
+ />
1291
+ <span>
1292
+ 23
1293
+ </span>
1294
+ </div>
1295
+ </span>
1296
+ </label>
1297
+ </div>
1298
+ </div>
1299
+ </div>
1300
+ </fieldset>
1301
+ `;
1302
+
1303
+ exports[`Radio Button renders the UI snapshot correctly 11`] = `
1304
+ <fieldset
1305
+ className="css-1y4kn3e"
1306
+ id="radio-group-chakra"
1307
+ >
1308
+ <legend>
1309
+ chakra
1310
+ </legend>
1311
+ <div
1312
+ className="chakra-radio-group css-0"
1313
+ role="radiogroup"
1314
+ >
1315
+ <div
1316
+ className="chakra-stack css-1wdv1uh"
1317
+ >
1318
+ <div
1319
+ className="css-1xdhyk6"
1320
+ id="radio-2-wrapper"
1321
+ >
1322
+ <label
1323
+ className="chakra-radio css-13p0l12"
1324
+ >
1325
+ <input
1326
+ checked={false}
1327
+ className="chakra-radio__input"
1328
+ disabled={false}
1329
+ id="radio-2"
1330
+ name="chakra"
1331
+ onBlur={[Function]}
1332
+ onChange={[Function]}
1333
+ onFocus={[Function]}
1334
+ onKeyDown={[Function]}
1335
+ onKeyUp={[Function]}
1336
+ required={false}
1337
+ style={
1338
+ Object {
1339
+ "border": "0px",
1340
+ "clip": "rect(0px, 0px, 0px, 0px)",
1341
+ "height": "1px",
1342
+ "margin": "-1px",
1343
+ "overflow": "hidden",
1344
+ "padding": "0px",
1345
+ "position": "absolute",
1346
+ "whiteSpace": "nowrap",
1347
+ "width": "1px",
1348
+ }
1349
+ }
1350
+ type="radio"
1351
+ value="2"
1352
+ />
1353
+ <span
1354
+ aria-hidden={true}
1355
+ className="css-14wybg9"
1356
+ onMouseDown={[Function]}
1357
+ onMouseEnter={[Function]}
1358
+ onMouseLeave={[Function]}
1359
+ onMouseUp={[Function]}
1360
+ />
1361
+ <span
1362
+ className="chakra-radio__label css-1y8kf23"
1363
+ onMouseDown={[Function]}
1364
+ onTouchStart={[Function]}
1365
+ >
1366
+ Radio 2
1367
+ </span>
1368
+ </label>
1369
+ </div>
1370
+ <div
1371
+ className="css-1xdhyk6"
1372
+ id="radio-3-wrapper"
1373
+ >
1374
+ <label
1375
+ className="chakra-radio css-13p0l12"
1376
+ >
1377
+ <input
1378
+ checked={false}
1379
+ className="chakra-radio__input"
1380
+ disabled={false}
1381
+ id="radio-3"
1382
+ name="chakra"
1383
+ onBlur={[Function]}
1384
+ onChange={[Function]}
1385
+ onFocus={[Function]}
1386
+ onKeyDown={[Function]}
1387
+ onKeyUp={[Function]}
1388
+ required={false}
1389
+ style={
1390
+ Object {
1391
+ "border": "0px",
1392
+ "clip": "rect(0px, 0px, 0px, 0px)",
1393
+ "height": "1px",
1394
+ "margin": "-1px",
1395
+ "overflow": "hidden",
1396
+ "padding": "0px",
1397
+ "position": "absolute",
1398
+ "whiteSpace": "nowrap",
1399
+ "width": "1px",
1400
+ }
1401
+ }
1402
+ type="radio"
1403
+ value="3"
1404
+ />
1405
+ <span
1406
+ aria-hidden={true}
1407
+ className="css-14wybg9"
1408
+ onMouseDown={[Function]}
1409
+ onMouseEnter={[Function]}
1410
+ onMouseLeave={[Function]}
1411
+ onMouseUp={[Function]}
1412
+ />
1413
+ <span
1414
+ className="chakra-radio__label css-1y8kf23"
1415
+ onMouseDown={[Function]}
1416
+ onTouchStart={[Function]}
1417
+ >
1418
+ Radio 3
1419
+ </span>
1420
+ </label>
1421
+ </div>
1422
+ </div>
1423
+ </div>
1424
+ </fieldset>
1425
+ `;
1426
+
1427
+ exports[`Radio Button renders the UI snapshot correctly 12`] = `
1428
+ <fieldset
1429
+ className="css-1u8qly9"
1430
+ data-testid="props"
1431
+ id="radio-group-props"
1432
+ >
1433
+ <legend>
1434
+ props
1435
+ </legend>
1436
+ <div
1437
+ className="chakra-radio-group css-0"
1438
+ role="radiogroup"
1439
+ >
1440
+ <div
1441
+ className="chakra-stack css-1wdv1uh"
1442
+ >
1443
+ <div
1444
+ className="css-1xdhyk6"
1445
+ id="radio-2-wrapper"
1446
+ >
1447
+ <label
1448
+ className="chakra-radio css-13p0l12"
1449
+ >
1450
+ <input
1451
+ checked={false}
1452
+ className="chakra-radio__input"
1453
+ disabled={false}
1454
+ id="radio-2"
1455
+ name="props"
1456
+ onBlur={[Function]}
1457
+ onChange={[Function]}
1458
+ onFocus={[Function]}
1459
+ onKeyDown={[Function]}
1460
+ onKeyUp={[Function]}
1461
+ required={false}
1462
+ style={
1463
+ Object {
1464
+ "border": "0px",
1465
+ "clip": "rect(0px, 0px, 0px, 0px)",
1466
+ "height": "1px",
1467
+ "margin": "-1px",
1468
+ "overflow": "hidden",
1469
+ "padding": "0px",
1470
+ "position": "absolute",
1471
+ "whiteSpace": "nowrap",
1472
+ "width": "1px",
1473
+ }
1474
+ }
1475
+ type="radio"
1476
+ value="2"
1477
+ />
1478
+ <span
1479
+ aria-hidden={true}
1480
+ className="css-14wybg9"
1481
+ onMouseDown={[Function]}
1482
+ onMouseEnter={[Function]}
1483
+ onMouseLeave={[Function]}
1484
+ onMouseUp={[Function]}
1485
+ />
1486
+ <span
1487
+ className="chakra-radio__label css-1y8kf23"
1488
+ onMouseDown={[Function]}
1489
+ onTouchStart={[Function]}
1490
+ >
1491
+ Radio 2
1492
+ </span>
1493
+ </label>
1494
+ </div>
1495
+ <div
1496
+ className="css-1xdhyk6"
1497
+ id="radio-3-wrapper"
1498
+ >
1499
+ <label
1500
+ className="chakra-radio css-13p0l12"
1501
+ >
1502
+ <input
1503
+ checked={false}
1504
+ className="chakra-radio__input"
1505
+ disabled={false}
1506
+ id="radio-3"
1507
+ name="props"
1508
+ onBlur={[Function]}
1509
+ onChange={[Function]}
1510
+ onFocus={[Function]}
1511
+ onKeyDown={[Function]}
1512
+ onKeyUp={[Function]}
1513
+ required={false}
1514
+ style={
1515
+ Object {
1516
+ "border": "0px",
1517
+ "clip": "rect(0px, 0px, 0px, 0px)",
1518
+ "height": "1px",
1519
+ "margin": "-1px",
1520
+ "overflow": "hidden",
1521
+ "padding": "0px",
1522
+ "position": "absolute",
1523
+ "whiteSpace": "nowrap",
1524
+ "width": "1px",
1525
+ }
1526
+ }
1527
+ type="radio"
1528
+ value="3"
1529
+ />
1530
+ <span
1531
+ aria-hidden={true}
1532
+ className="css-14wybg9"
1533
+ onMouseDown={[Function]}
1534
+ onMouseEnter={[Function]}
1535
+ onMouseLeave={[Function]}
1536
+ onMouseUp={[Function]}
1537
+ />
1538
+ <span
1539
+ className="chakra-radio__label css-1y8kf23"
1540
+ onMouseDown={[Function]}
1541
+ onTouchStart={[Function]}
1542
+ >
1543
+ Radio 3
1544
+ </span>
1545
+ </label>
1546
+ </div>
1547
+ </div>
1548
+ </div>
1549
+ </fieldset>
1550
+ `;