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

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