@nypl/design-system-react-components 0.25.13 → 0.26.0
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.
- package/CHANGELOG.md +58 -0
- package/README.md +10 -10
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Card/Card.d.ts +11 -9
- package/dist/components/Checkbox/Checkbox.d.ts +2 -2
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +5 -4
- package/dist/components/ComponentWrapper/ComponentWrapper.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +5 -6
- package/dist/components/Fieldset/Fieldset.d.ts +5 -6
- package/dist/components/Form/Form.d.ts +6 -6
- package/dist/components/Grid/GridTypes.d.ts +7 -7
- package/dist/components/Grid/SimpleGrid.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/HelperErrorText/HelperErrorText.d.ts +9 -8
- package/dist/components/Hero/Hero.d.ts +2 -1
- package/dist/components/HorizontalRule/HorizontalRule.d.ts +2 -10
- package/dist/components/Icons/Icon.d.ts +2 -1
- package/dist/components/Image/Image.d.ts +2 -2
- package/dist/components/Label/Label.d.ts +7 -4
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/List/List.d.ts +11 -11
- package/dist/components/List/ListTypes.d.ts +1 -1
- package/dist/components/Logo/Logo.d.ts +2 -1
- package/dist/components/Logo/LogoSvgs.d.ts +2 -0
- package/dist/components/Logo/LogoTypes.d.ts +2 -0
- package/dist/components/Notification/Notification.d.ts +4 -4
- package/dist/components/Pagination/Pagination.d.ts +2 -2
- package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +3 -3
- package/dist/components/Radio/Radio.d.ts +4 -6
- package/dist/components/RadioGroup/RadioGroup.d.ts +12 -6
- package/dist/components/SearchBar/SearchBar.d.ts +4 -4
- package/dist/components/Select/Select.d.ts +10 -6
- package/dist/components/Select/SelectTypes.d.ts +4 -0
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +4 -3
- package/dist/components/Slider/Slider.d.ts +6 -4
- package/dist/components/StatusBadge/StatusBadge.d.ts +5 -1
- package/dist/components/StructuredContent/StructuredContent.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +4 -3
- package/dist/components/Template/Template.d.ts +4 -3
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/TextInput/TextInput.d.ts +5 -5
- package/dist/components/Toggle/Toggle.d.ts +3 -4
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +2 -1
- package/dist/design-system-react-components.cjs.development.js +1663 -1139
- package/dist/design-system-react-components.cjs.development.js.map +1 -1
- package/dist/design-system-react-components.cjs.production.min.js +1 -1
- package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
- package/dist/design-system-react-components.esm.js +1667 -1143
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/hooks/useCarouselStyles.d.ts +3 -2
- package/dist/hooks/useNYPLTheme.d.ts +12 -0
- package/dist/index.d.ts +4 -1
- package/dist/styles.css +1 -1
- package/dist/theme/components/button.d.ts +10 -2
- package/dist/theme/components/card.d.ts +42 -22
- package/dist/theme/components/checkbox.d.ts +5 -4
- package/dist/theme/components/checkboxGroup.d.ts +1 -1
- package/dist/theme/components/componentWrapper.d.ts +2 -2
- package/dist/theme/components/customTable.d.ts +84 -1
- package/dist/theme/components/fieldset.d.ts +4 -14
- package/dist/theme/components/global.d.ts +23 -17
- package/dist/theme/components/heading.d.ts +53 -0
- package/dist/theme/components/helperErrorText.d.ts +1 -0
- package/dist/theme/components/hero.d.ts +20 -14
- package/dist/theme/components/label.d.ts +9 -10
- package/dist/theme/components/list.d.ts +99 -9
- package/dist/theme/components/radio.d.ts +6 -4
- package/dist/theme/components/radioGroup.d.ts +1 -1
- package/dist/theme/components/select.d.ts +34 -5
- package/dist/theme/components/skeletonLoader.d.ts +2 -2
- package/dist/theme/components/slider.d.ts +6 -3
- package/dist/theme/components/structuredContent.d.ts +197 -0
- package/dist/theme/components/textInput.d.ts +18 -6
- package/dist/theme/components/toggle.d.ts +7 -4
- package/dist/theme/foundations/global.d.ts +2 -0
- package/dist/theme/foundations/radii.d.ts +1 -0
- package/dist/theme/foundations/spacing.d.ts +46 -43
- package/package.json +5 -6
- package/src/components/Accordion/Accordion.stories.mdx +9 -9
- package/src/components/Accordion/Accordion.test.tsx +21 -0
- package/src/components/Accordion/Accordion.tsx +13 -9
- package/src/components/Accordion/__snapshots__/Accordion.test.tsx.snap +276 -27
- package/src/components/Autosuggest/Autosuggest.stories.mdx +4 -3
- package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +21 -5
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +52 -31
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +8 -7
- package/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.test.tsx.snap +211 -12
- package/src/components/Button/Button.stories.mdx +87 -23
- package/src/components/Button/Button.test.tsx +25 -0
- package/src/components/Button/Button.tsx +18 -7
- package/src/components/Button/__snapshots__/Button.test.tsx.snap +27 -7
- package/src/components/Card/Card.stories.mdx +287 -194
- package/src/components/Card/Card.test.tsx +102 -0
- package/src/components/Card/Card.tsx +73 -32
- package/src/components/Card/__snapshots__/Card.test.tsx.snap +195 -35
- package/src/components/Chakra/Grid.stories.mdx +4 -4
- package/src/components/Checkbox/Checkbox.stories.mdx +62 -10
- package/src/components/Checkbox/Checkbox.test.tsx +32 -9
- package/src/components/Checkbox/Checkbox.tsx +20 -15
- package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +134 -7
- package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +65 -17
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +137 -81
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +31 -21
- package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +332 -97
- package/src/components/ComponentWrapper/ComponentWrapper.test.tsx +12 -0
- package/src/components/ComponentWrapper/ComponentWrapper.tsx +39 -41
- package/src/components/ComponentWrapper/__snapshots__/ComponentWrapper.test.tsx.snap +47 -34
- package/src/components/DatePicker/DatePicker.stories.mdx +63 -27
- package/src/components/DatePicker/DatePicker.test.tsx +89 -13
- package/src/components/DatePicker/DatePicker.tsx +62 -56
- package/src/components/DatePicker/_DatePicker.scss +71 -13
- package/src/components/DatePicker/__snapshots__/DatePicker.test.tsx.snap +250 -206
- package/src/components/Fieldset/Fieldset.stories.mdx +33 -3
- package/src/components/Fieldset/Fieldset.test.tsx +58 -28
- package/src/components/Fieldset/Fieldset.tsx +35 -30
- package/src/components/Fieldset/__snapshots__/Fieldset.test.tsx.snap +40 -19
- package/src/components/Form/Form.stories.mdx +72 -39
- package/src/components/Form/Form.test.tsx +58 -15
- package/src/components/Form/Form.tsx +89 -67
- package/src/components/Form/__snapshots__/Form.test.tsx.snap +83 -5
- package/src/components/Grid/GridTypes.tsx +7 -7
- package/src/components/Grid/SimpleGrid.stories.mdx +34 -6
- package/src/components/Grid/SimpleGrid.test.tsx +9 -0
- package/src/components/Grid/SimpleGrid.tsx +29 -20
- package/src/components/Grid/__snapshots__/SimpleGrid.test.tsx.snap +16 -1
- package/src/components/Heading/Heading.stories.mdx +36 -3
- package/src/components/Heading/Heading.test.tsx +10 -0
- package/src/components/Heading/Heading.tsx +56 -50
- package/src/components/Heading/__snapshots__/Heading.test.tsx.snap +26 -7
- package/src/components/HelperErrorText/HelperErrorText.stories.mdx +64 -42
- package/src/components/HelperErrorText/HelperErrorText.test.tsx +15 -0
- package/src/components/HelperErrorText/HelperErrorText.tsx +40 -35
- package/src/components/HelperErrorText/__snapshots__/HelperErrorText.test.tsx.snap +35 -4
- package/src/components/Hero/Hero.stories.mdx +125 -95
- package/src/components/Hero/Hero.test.tsx +33 -0
- package/src/components/Hero/Hero.tsx +135 -126
- package/src/components/Hero/__snapshots__/Hero.test.tsx.snap +89 -17
- package/src/components/HorizontalRule/HorizontalRule.stories.mdx +26 -4
- package/src/components/HorizontalRule/HorizontalRule.test.tsx +9 -19
- package/src/components/HorizontalRule/HorizontalRule.tsx +9 -26
- package/src/components/HorizontalRule/__snapshots__/HorizontalRule.test.tsx.snap +18 -5
- package/src/components/Icons/Icon.stories.mdx +31 -6
- package/src/components/Icons/Icon.test.tsx +38 -0
- package/src/components/Icons/Icon.tsx +93 -76
- package/src/components/Icons/__snapshots__/Icon.test.tsx.snap +129 -0
- package/src/components/Image/Image.stories.mdx +29 -5
- package/src/components/Image/Image.test.tsx +8 -0
- package/src/components/Image/Image.tsx +38 -26
- package/src/components/Image/__snapshots__/Image.test.tsx.snap +24 -8
- package/src/components/Label/Label.stories.mdx +42 -20
- package/src/components/Label/Label.test.tsx +42 -17
- package/src/components/Label/Label.tsx +22 -13
- package/src/components/Label/__snapshots__/Label.test.tsx.snap +19 -15
- package/src/components/Link/Link.stories.mdx +25 -1
- package/src/components/Link/Link.test.tsx +21 -0
- package/src/components/Link/Link.tsx +8 -8
- package/src/components/Link/__snapshots__/Link.test.tsx.snap +37 -11
- package/src/components/List/List.stories.mdx +75 -40
- package/src/components/List/List.test.tsx +67 -19
- package/src/components/List/List.tsx +38 -25
- package/src/components/List/ListTypes.tsx +1 -1
- package/src/components/List/__snapshots__/List.test.tsx.snap +110 -8
- package/src/components/Logo/Logo.stories.mdx +30 -6
- package/src/components/Logo/Logo.test.tsx +17 -0
- package/src/components/Logo/Logo.tsx +18 -6
- package/src/components/Logo/LogoSvgs.tsx +4 -0
- package/src/components/Logo/LogoTypes.tsx +2 -0
- package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +73 -2
- package/src/components/Modal/Modal.stories.mdx +13 -0
- package/src/components/Notification/Notification.stories.mdx +25 -1
- package/src/components/Notification/Notification.test.tsx +23 -0
- package/src/components/Notification/Notification.tsx +46 -44
- package/src/components/Notification/__snapshots__/Notification.test.tsx.snap +158 -29
- package/src/components/Pagination/Pagination.stories.mdx +24 -4
- package/src/components/Pagination/Pagination.test.tsx +25 -0
- package/src/components/Pagination/Pagination.tsx +6 -6
- package/src/components/Pagination/__snapshots__/Pagination.test.tsx.snap +244 -27
- package/src/components/Placeholder/Placeholder.tsx +3 -1
- package/src/components/ProgressIndicator/ProgressIndicator.stories.mdx +76 -10
- package/src/components/ProgressIndicator/ProgressIndicator.test.tsx +81 -11
- package/src/components/ProgressIndicator/ProgressIndicator.tsx +17 -9
- package/src/components/ProgressIndicator/__snapshots__/ProgressIndicator.test.tsx.snap +101 -14
- package/src/components/Radio/Radio.stories.mdx +64 -12
- package/src/components/Radio/Radio.test.tsx +28 -8
- package/src/components/Radio/Radio.tsx +66 -63
- package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +103 -6
- package/src/components/RadioGroup/RadioGroup.stories.mdx +224 -89
- package/src/components/RadioGroup/RadioGroup.test.tsx +122 -62
- package/src/components/RadioGroup/RadioGroup.tsx +106 -100
- package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +1236 -1020
- package/src/components/SearchBar/SearchBar.stories.mdx +101 -36
- package/src/components/SearchBar/{SearchBar.Test.tsx → SearchBar.test.tsx} +46 -4
- package/src/components/SearchBar/SearchBar.tsx +17 -8
- package/src/components/SearchBar/__snapshots__/SearchBar.test.tsx.snap +1039 -0
- package/src/components/Select/Select.stories.mdx +128 -49
- package/src/components/Select/Select.test.tsx +63 -16
- package/src/components/Select/Select.tsx +125 -92
- package/src/components/Select/SelectTypes.tsx +5 -0
- package/src/components/Select/__snapshots__/Select.test.tsx.snap +749 -409
- package/src/components/SkeletonLoader/SkeletonLoader.stories.mdx +42 -10
- package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +8 -0
- package/src/components/SkeletonLoader/SkeletonLoader.tsx +76 -72
- package/src/components/SkeletonLoader/__snapshots__/SkeletonLoader.test.tsx.snap +169 -10
- package/src/components/Slider/Slider.stories.mdx +91 -42
- package/src/components/Slider/Slider.test.tsx +65 -17
- package/src/components/Slider/Slider.tsx +26 -19
- package/src/components/Slider/__snapshots__/Slider.test.tsx.snap +403 -226
- package/src/components/StatusBadge/StatusBadge.stories.mdx +19 -1
- package/src/components/StatusBadge/StatusBadge.test.tsx +16 -0
- package/src/components/StatusBadge/StatusBadge.tsx +25 -20
- package/src/components/StatusBadge/__snapshots__/StatusBadge.test.tsx.snap +22 -3
- package/src/components/StructuredContent/StructuredContent.stories.mdx +131 -12
- package/src/components/StructuredContent/StructuredContent.test.tsx +34 -0
- package/src/components/StructuredContent/StructuredContent.tsx +80 -75
- package/src/components/StructuredContent/__snapshots__/StructuredContent.test.tsx.snap +102 -17
- package/src/components/StyleGuide/Bidirectionality.stories.mdx +5 -5
- package/src/components/StyleGuide/Breakpoints.stories.mdx +6 -6
- package/src/components/StyleGuide/Buttons.stories.mdx +2 -12
- package/src/components/StyleGuide/ColorCard.tsx +1 -1
- package/src/components/StyleGuide/Colors.stories.mdx +1 -2
- package/src/components/StyleGuide/DesignTokens.stories.mdx +56 -26
- package/src/components/StyleGuide/Forms.stories.mdx +27 -12
- package/src/components/StyleGuide/Iconography.stories.mdx +2 -12
- package/src/components/StyleGuide/Spacing.stories.mdx +80 -41
- package/src/components/StyleGuide/Typography.stories.mdx +30 -21
- package/src/components/Table/Table.stories.mdx +38 -11
- package/src/components/Table/Table.test.tsx +15 -0
- package/src/components/Table/Table.tsx +7 -7
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +408 -5
- package/src/components/Tabs/Tabs.stories.mdx +52 -3
- package/src/components/Tabs/Tabs.test.tsx +16 -0
- package/src/components/Tabs/Tabs.tsx +10 -6
- package/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap +394 -5
- package/src/components/Template/Template.stories.mdx +47 -43
- package/src/components/Template/Template.test.tsx +33 -0
- package/src/components/Template/Template.tsx +65 -60
- package/src/components/Template/__snapshots__/Template.test.tsx.snap +191 -20
- package/src/components/Text/Text.stories.mdx +20 -1
- package/src/components/Text/Text.test.tsx +12 -0
- package/src/components/Text/Text.tsx +6 -4
- package/src/components/Text/__snapshots__/Text.test.tsx.snap +21 -4
- package/src/components/TextInput/TextInput.stories.mdx +65 -19
- package/src/components/TextInput/TextInput.test.tsx +42 -28
- package/src/components/TextInput/TextInput.tsx +121 -113
- package/src/components/TextInput/__snapshots__/TextInput.test.tsx.snap +96 -73
- package/src/components/Toggle/Toggle.stories.mdx +80 -22
- package/src/components/Toggle/Toggle.test.tsx +27 -9
- package/src/components/Toggle/Toggle.tsx +22 -18
- package/src/components/Toggle/__snapshots__/Toggle.test.tsx.snap +128 -5
- package/src/components/VideoPlayer/VideoPlayer.stories.mdx +52 -4
- package/src/components/VideoPlayer/VideoPlayer.test.tsx +23 -0
- package/src/components/VideoPlayer/VideoPlayer.tsx +133 -126
- package/src/components/VideoPlayer/__snapshots__/VideoPlayer.test.tsx.snap +81 -39
- package/src/docs/Chakra.stories.mdx +50 -9
- package/src/docs/Welcome.stories.mdx +160 -41
- package/src/hooks/useCarouselStyles.stories.mdx +22 -2
- package/src/hooks/useCarouselStyles.ts +3 -2
- package/src/hooks/useNYPLTheme.stories.mdx +101 -0
- package/src/hooks/useNYPLTheme.ts +30 -6
- package/src/hooks/useWindowSize.stories.mdx +23 -0
- package/src/index.ts +4 -1
- package/src/styles/base/_place-holder.scss +1 -1
- package/src/theme/components/button.ts +15 -7
- package/src/theme/components/card.ts +30 -19
- package/src/theme/components/checkbox.ts +10 -8
- package/src/theme/components/checkboxGroup.ts +1 -1
- package/src/theme/components/componentWrapper.ts +2 -2
- package/src/theme/components/customTable.ts +39 -31
- package/src/theme/components/fieldset.ts +1 -2
- package/src/theme/components/global.ts +25 -20
- package/src/theme/components/heading.ts +1 -1
- package/src/theme/components/helperErrorText.ts +1 -0
- package/src/theme/components/hero.ts +13 -15
- package/src/theme/components/label.ts +4 -3
- package/src/theme/components/list.ts +73 -66
- package/src/theme/components/notification.ts +2 -2
- package/src/theme/components/radio.ts +9 -9
- package/src/theme/components/radioGroup.ts +1 -1
- package/src/theme/components/select.ts +35 -22
- package/src/theme/components/skeletonLoader.ts +3 -3
- package/src/theme/components/slider.ts +8 -7
- package/src/theme/components/statusBadge.ts +2 -2
- package/src/theme/components/structuredContent.ts +66 -1
- package/src/theme/components/tabs.ts +2 -2
- package/src/theme/components/template.ts +9 -9
- package/src/theme/components/textInput.ts +13 -12
- package/src/theme/components/toggle.ts +17 -10
- package/src/theme/components/videoPlayer.ts +1 -1
- package/src/theme/foundations/colors.ts +1 -1
- package/src/theme/foundations/radii.ts +1 -0
- package/src/theme/foundations/spacing.ts +70 -22
- package/src/theme/foundations/typography.ts +2 -2
- package/src/utils/componentCategories.ts +1 -2
- package/dist/components/SearchBar/SearchBar.Test.d.ts +0 -1
- package/dist/helpers/generateUUID.d.ts +0 -1
- package/src/helpers/generateUUID.tsx +0 -5
|
@@ -2,83 +2,93 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Select Renders the UI snapshot correctly 1`] = `
|
|
4
4
|
<div
|
|
5
|
-
className="css-
|
|
5
|
+
className="css-1xdhyk6"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
7
|
+
<div
|
|
8
8
|
className="css-0"
|
|
9
|
-
htmlFor="select"
|
|
10
|
-
id="select-label"
|
|
11
9
|
>
|
|
12
|
-
Which Succession sibling are you?
|
|
13
10
|
<div
|
|
14
11
|
className="css-0"
|
|
15
12
|
>
|
|
16
|
-
|
|
13
|
+
<label
|
|
14
|
+
className="css-1xdhyk6"
|
|
15
|
+
htmlFor="select"
|
|
16
|
+
id="select-label"
|
|
17
|
+
>
|
|
18
|
+
Which Succession sibling are you?
|
|
19
|
+
</label>
|
|
17
20
|
</div>
|
|
18
|
-
</label>
|
|
19
|
-
<div
|
|
20
|
-
className="chakra-select__wrapper css-42b2qy"
|
|
21
|
-
>
|
|
22
|
-
<select
|
|
23
|
-
className="chakra-select css-1ik61og"
|
|
24
|
-
disabled={false}
|
|
25
|
-
id="select"
|
|
26
|
-
name="succession-sibling"
|
|
27
|
-
onBlur={[Function]}
|
|
28
|
-
onFocus={[Function]}
|
|
29
|
-
required={false}
|
|
30
|
-
>
|
|
31
|
-
<option>
|
|
32
|
-
Kendall
|
|
33
|
-
</option>
|
|
34
|
-
<option>
|
|
35
|
-
Shiv
|
|
36
|
-
</option>
|
|
37
|
-
<option>
|
|
38
|
-
Connor
|
|
39
|
-
</option>
|
|
40
|
-
<option>
|
|
41
|
-
Roman
|
|
42
|
-
</option>
|
|
43
|
-
<option>
|
|
44
|
-
Tom
|
|
45
|
-
</option>
|
|
46
|
-
</select>
|
|
47
21
|
<div
|
|
48
|
-
className="chakra-
|
|
22
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
49
23
|
>
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
24
|
+
<select
|
|
25
|
+
className="chakra-select css-1ik61og"
|
|
26
|
+
disabled={false}
|
|
27
|
+
id="select"
|
|
28
|
+
name="succession-sibling"
|
|
29
|
+
onBlur={[Function]}
|
|
30
|
+
onFocus={[Function]}
|
|
31
|
+
required={false}
|
|
32
|
+
>
|
|
33
|
+
<option>
|
|
34
|
+
Kendall
|
|
35
|
+
</option>
|
|
36
|
+
<option>
|
|
37
|
+
Shiv
|
|
38
|
+
</option>
|
|
39
|
+
<option>
|
|
40
|
+
Connor
|
|
41
|
+
</option>
|
|
42
|
+
<option>
|
|
43
|
+
Roman
|
|
44
|
+
</option>
|
|
45
|
+
<option>
|
|
46
|
+
Tom
|
|
47
|
+
</option>
|
|
48
|
+
</select>
|
|
49
|
+
<div
|
|
50
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
58
51
|
>
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
<svg
|
|
53
|
+
aria-hidden={true}
|
|
54
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
55
|
+
focusable={false}
|
|
56
|
+
id="select-icon"
|
|
57
|
+
role="presentation"
|
|
58
|
+
style={
|
|
59
|
+
Object {
|
|
60
|
+
"color": "currentColor",
|
|
61
|
+
"height": "1em",
|
|
62
|
+
"width": "1em",
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
title="arrow icon"
|
|
66
|
+
viewBox="0 0 24 24"
|
|
62
67
|
>
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
68
|
+
<g
|
|
69
|
+
stroke="currentColor"
|
|
70
|
+
strokeWidth="1.5"
|
|
71
|
+
>
|
|
72
|
+
<path
|
|
73
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
74
|
+
fill="none"
|
|
75
|
+
strokeLinecap="round"
|
|
76
|
+
/>
|
|
77
|
+
<path
|
|
78
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
79
|
+
fill="currentColor"
|
|
80
|
+
strokeLinecap="round"
|
|
81
|
+
/>
|
|
82
|
+
<circle
|
|
83
|
+
cx="12"
|
|
84
|
+
cy="12"
|
|
85
|
+
fill="none"
|
|
86
|
+
r="11.25"
|
|
87
|
+
strokeMiterlimit="10"
|
|
88
|
+
/>
|
|
89
|
+
</g>
|
|
90
|
+
</svg>
|
|
91
|
+
</div>
|
|
82
92
|
</div>
|
|
83
93
|
</div>
|
|
84
94
|
</div>
|
|
@@ -86,84 +96,94 @@ exports[`Select Renders the UI snapshot correctly 1`] = `
|
|
|
86
96
|
|
|
87
97
|
exports[`Select Renders the UI snapshot correctly 2`] = `
|
|
88
98
|
<div
|
|
89
|
-
className="css-
|
|
99
|
+
className="css-1xdhyk6"
|
|
90
100
|
>
|
|
91
|
-
<
|
|
101
|
+
<div
|
|
92
102
|
className="css-0"
|
|
93
|
-
htmlFor="select"
|
|
94
|
-
id="select-label"
|
|
95
103
|
>
|
|
96
|
-
Which Succession sibling are you?
|
|
97
104
|
<div
|
|
98
105
|
className="css-0"
|
|
99
106
|
>
|
|
100
|
-
|
|
107
|
+
<label
|
|
108
|
+
className="css-1xdhyk6"
|
|
109
|
+
htmlFor="select"
|
|
110
|
+
id="select-label"
|
|
111
|
+
>
|
|
112
|
+
Which Succession sibling are you?
|
|
113
|
+
</label>
|
|
101
114
|
</div>
|
|
102
|
-
</label>
|
|
103
|
-
<div
|
|
104
|
-
className="chakra-select__wrapper css-42b2qy"
|
|
105
|
-
>
|
|
106
|
-
<select
|
|
107
|
-
className="chakra-select css-1ik61og"
|
|
108
|
-
disabled={true}
|
|
109
|
-
id="select"
|
|
110
|
-
name="succession-sibling"
|
|
111
|
-
onBlur={[Function]}
|
|
112
|
-
onFocus={[Function]}
|
|
113
|
-
required={false}
|
|
114
|
-
>
|
|
115
|
-
<option>
|
|
116
|
-
Kendall
|
|
117
|
-
</option>
|
|
118
|
-
<option>
|
|
119
|
-
Shiv
|
|
120
|
-
</option>
|
|
121
|
-
<option>
|
|
122
|
-
Connor
|
|
123
|
-
</option>
|
|
124
|
-
<option>
|
|
125
|
-
Roman
|
|
126
|
-
</option>
|
|
127
|
-
<option>
|
|
128
|
-
Tom
|
|
129
|
-
</option>
|
|
130
|
-
</select>
|
|
131
115
|
<div
|
|
132
|
-
className="chakra-
|
|
133
|
-
data-disabled=""
|
|
116
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
134
117
|
>
|
|
135
|
-
<
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
118
|
+
<select
|
|
119
|
+
className="chakra-select css-1ik61og"
|
|
120
|
+
disabled={true}
|
|
121
|
+
id="select"
|
|
122
|
+
name="succession-sibling"
|
|
123
|
+
onBlur={[Function]}
|
|
124
|
+
onFocus={[Function]}
|
|
125
|
+
required={false}
|
|
126
|
+
>
|
|
127
|
+
<option>
|
|
128
|
+
Kendall
|
|
129
|
+
</option>
|
|
130
|
+
<option>
|
|
131
|
+
Shiv
|
|
132
|
+
</option>
|
|
133
|
+
<option>
|
|
134
|
+
Connor
|
|
135
|
+
</option>
|
|
136
|
+
<option>
|
|
137
|
+
Roman
|
|
138
|
+
</option>
|
|
139
|
+
<option>
|
|
140
|
+
Tom
|
|
141
|
+
</option>
|
|
142
|
+
</select>
|
|
143
|
+
<div
|
|
144
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
145
|
+
data-disabled=""
|
|
143
146
|
>
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
<svg
|
|
148
|
+
aria-hidden={true}
|
|
149
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
150
|
+
focusable={false}
|
|
151
|
+
id="select-icon"
|
|
152
|
+
role="presentation"
|
|
153
|
+
style={
|
|
154
|
+
Object {
|
|
155
|
+
"color": "currentColor",
|
|
156
|
+
"height": "1em",
|
|
157
|
+
"width": "1em",
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
title="arrow icon"
|
|
161
|
+
viewBox="0 0 24 24"
|
|
147
162
|
>
|
|
148
|
-
<
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
<g
|
|
164
|
+
stroke="currentColor"
|
|
165
|
+
strokeWidth="1.5"
|
|
166
|
+
>
|
|
167
|
+
<path
|
|
168
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
169
|
+
fill="none"
|
|
170
|
+
strokeLinecap="round"
|
|
171
|
+
/>
|
|
172
|
+
<path
|
|
173
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
174
|
+
fill="currentColor"
|
|
175
|
+
strokeLinecap="round"
|
|
176
|
+
/>
|
|
177
|
+
<circle
|
|
178
|
+
cx="12"
|
|
179
|
+
cy="12"
|
|
180
|
+
fill="none"
|
|
181
|
+
r="11.25"
|
|
182
|
+
strokeMiterlimit="10"
|
|
183
|
+
/>
|
|
184
|
+
</g>
|
|
185
|
+
</svg>
|
|
186
|
+
</div>
|
|
167
187
|
</div>
|
|
168
188
|
</div>
|
|
169
189
|
</div>
|
|
@@ -171,94 +191,99 @@ exports[`Select Renders the UI snapshot correctly 2`] = `
|
|
|
171
191
|
|
|
172
192
|
exports[`Select Renders the UI snapshot correctly 3`] = `
|
|
173
193
|
<div
|
|
174
|
-
className="css-
|
|
194
|
+
className="css-1xdhyk6"
|
|
175
195
|
>
|
|
176
|
-
<
|
|
196
|
+
<div
|
|
177
197
|
className="css-0"
|
|
178
|
-
htmlFor="select"
|
|
179
|
-
id="select-label"
|
|
180
198
|
>
|
|
181
|
-
Which Succession sibling are you?
|
|
182
199
|
<div
|
|
183
200
|
className="css-0"
|
|
184
201
|
>
|
|
185
|
-
|
|
202
|
+
<label
|
|
203
|
+
className="css-1xdhyk6"
|
|
204
|
+
htmlFor="select"
|
|
205
|
+
id="select-label"
|
|
206
|
+
>
|
|
207
|
+
Which Succession sibling are you?
|
|
208
|
+
</label>
|
|
186
209
|
</div>
|
|
187
|
-
</label>
|
|
188
|
-
<div
|
|
189
|
-
className="chakra-select__wrapper css-42b2qy"
|
|
190
|
-
>
|
|
191
|
-
<select
|
|
192
|
-
aria-invalid={true}
|
|
193
|
-
className="chakra-select css-1ik61og"
|
|
194
|
-
disabled={false}
|
|
195
|
-
id="select"
|
|
196
|
-
name="succession-sibling"
|
|
197
|
-
onBlur={[Function]}
|
|
198
|
-
onFocus={[Function]}
|
|
199
|
-
required={false}
|
|
200
|
-
>
|
|
201
|
-
<option>
|
|
202
|
-
Kendall
|
|
203
|
-
</option>
|
|
204
|
-
<option>
|
|
205
|
-
Shiv
|
|
206
|
-
</option>
|
|
207
|
-
<option>
|
|
208
|
-
Connor
|
|
209
|
-
</option>
|
|
210
|
-
<option>
|
|
211
|
-
Roman
|
|
212
|
-
</option>
|
|
213
|
-
<option>
|
|
214
|
-
Tom
|
|
215
|
-
</option>
|
|
216
|
-
</select>
|
|
217
210
|
<div
|
|
218
|
-
className="chakra-
|
|
211
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
219
212
|
>
|
|
220
|
-
<
|
|
221
|
-
aria-
|
|
222
|
-
className="chakra-
|
|
223
|
-
|
|
224
|
-
id="select
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
213
|
+
<select
|
|
214
|
+
aria-invalid={true}
|
|
215
|
+
className="chakra-select css-1ik61og"
|
|
216
|
+
disabled={false}
|
|
217
|
+
id="select"
|
|
218
|
+
name="succession-sibling"
|
|
219
|
+
onBlur={[Function]}
|
|
220
|
+
onFocus={[Function]}
|
|
221
|
+
required={false}
|
|
222
|
+
>
|
|
223
|
+
<option>
|
|
224
|
+
Kendall
|
|
225
|
+
</option>
|
|
226
|
+
<option>
|
|
227
|
+
Shiv
|
|
228
|
+
</option>
|
|
229
|
+
<option>
|
|
230
|
+
Connor
|
|
231
|
+
</option>
|
|
232
|
+
<option>
|
|
233
|
+
Roman
|
|
234
|
+
</option>
|
|
235
|
+
<option>
|
|
236
|
+
Tom
|
|
237
|
+
</option>
|
|
238
|
+
</select>
|
|
239
|
+
<div
|
|
240
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
228
241
|
>
|
|
229
|
-
<
|
|
230
|
-
|
|
231
|
-
|
|
242
|
+
<svg
|
|
243
|
+
aria-hidden={true}
|
|
244
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
245
|
+
focusable={false}
|
|
246
|
+
id="select-icon"
|
|
247
|
+
role="presentation"
|
|
248
|
+
style={
|
|
249
|
+
Object {
|
|
250
|
+
"color": "currentColor",
|
|
251
|
+
"height": "1em",
|
|
252
|
+
"width": "1em",
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
title="arrow icon"
|
|
256
|
+
viewBox="0 0 24 24"
|
|
232
257
|
>
|
|
233
|
-
<
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
258
|
+
<g
|
|
259
|
+
stroke="currentColor"
|
|
260
|
+
strokeWidth="1.5"
|
|
261
|
+
>
|
|
262
|
+
<path
|
|
263
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
264
|
+
fill="none"
|
|
265
|
+
strokeLinecap="round"
|
|
266
|
+
/>
|
|
267
|
+
<path
|
|
268
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
269
|
+
fill="currentColor"
|
|
270
|
+
strokeLinecap="round"
|
|
271
|
+
/>
|
|
272
|
+
<circle
|
|
273
|
+
cx="12"
|
|
274
|
+
cy="12"
|
|
275
|
+
fill="none"
|
|
276
|
+
r="11.25"
|
|
277
|
+
strokeMiterlimit="10"
|
|
278
|
+
/>
|
|
279
|
+
</g>
|
|
280
|
+
</svg>
|
|
281
|
+
</div>
|
|
252
282
|
</div>
|
|
253
|
-
</div>
|
|
254
|
-
<div
|
|
255
|
-
aria-disabled={false}
|
|
256
|
-
className="css-0"
|
|
257
|
-
>
|
|
258
283
|
<div
|
|
259
284
|
aria-atomic={true}
|
|
260
285
|
aria-live="polite"
|
|
261
|
-
className="
|
|
286
|
+
className="css-1xdhyk6"
|
|
262
287
|
dangerouslySetInnerHTML={
|
|
263
288
|
Object {
|
|
264
289
|
"__html": "Tom doesn't count as a sibling :(.",
|
|
@@ -273,94 +298,99 @@ exports[`Select Renders the UI snapshot correctly 3`] = `
|
|
|
273
298
|
|
|
274
299
|
exports[`Select Renders the UI snapshot correctly 4`] = `
|
|
275
300
|
<div
|
|
276
|
-
className="css-
|
|
301
|
+
className="css-1xdhyk6"
|
|
277
302
|
>
|
|
278
|
-
<
|
|
303
|
+
<div
|
|
279
304
|
className="css-0"
|
|
280
|
-
htmlFor="select"
|
|
281
|
-
id="select-label"
|
|
282
305
|
>
|
|
283
|
-
Which Succession sibling are you?
|
|
284
306
|
<div
|
|
285
307
|
className="css-0"
|
|
286
308
|
>
|
|
287
|
-
|
|
309
|
+
<label
|
|
310
|
+
className="css-1xdhyk6"
|
|
311
|
+
htmlFor="select"
|
|
312
|
+
id="select-label"
|
|
313
|
+
>
|
|
314
|
+
Which Succession sibling are you?
|
|
315
|
+
</label>
|
|
288
316
|
</div>
|
|
289
|
-
</label>
|
|
290
|
-
<div
|
|
291
|
-
className="chakra-select__wrapper css-42b2qy"
|
|
292
|
-
>
|
|
293
|
-
<select
|
|
294
|
-
aria-describedby="select-helperText"
|
|
295
|
-
className="chakra-select css-1ik61og"
|
|
296
|
-
disabled={false}
|
|
297
|
-
id="select"
|
|
298
|
-
name="succession-sibling"
|
|
299
|
-
onBlur={[Function]}
|
|
300
|
-
onFocus={[Function]}
|
|
301
|
-
required={false}
|
|
302
|
-
>
|
|
303
|
-
<option>
|
|
304
|
-
Kendall
|
|
305
|
-
</option>
|
|
306
|
-
<option>
|
|
307
|
-
Shiv
|
|
308
|
-
</option>
|
|
309
|
-
<option>
|
|
310
|
-
Connor
|
|
311
|
-
</option>
|
|
312
|
-
<option>
|
|
313
|
-
Roman
|
|
314
|
-
</option>
|
|
315
|
-
<option>
|
|
316
|
-
Tom
|
|
317
|
-
</option>
|
|
318
|
-
</select>
|
|
319
317
|
<div
|
|
320
|
-
className="chakra-
|
|
318
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
321
319
|
>
|
|
322
|
-
<
|
|
323
|
-
aria-
|
|
324
|
-
className="chakra-
|
|
325
|
-
|
|
326
|
-
id="select
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
320
|
+
<select
|
|
321
|
+
aria-describedby="select-helperText"
|
|
322
|
+
className="chakra-select css-1ik61og"
|
|
323
|
+
disabled={false}
|
|
324
|
+
id="select"
|
|
325
|
+
name="succession-sibling"
|
|
326
|
+
onBlur={[Function]}
|
|
327
|
+
onFocus={[Function]}
|
|
328
|
+
required={false}
|
|
330
329
|
>
|
|
331
|
-
<
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
<option>
|
|
331
|
+
Kendall
|
|
332
|
+
</option>
|
|
333
|
+
<option>
|
|
334
|
+
Shiv
|
|
335
|
+
</option>
|
|
336
|
+
<option>
|
|
337
|
+
Connor
|
|
338
|
+
</option>
|
|
339
|
+
<option>
|
|
340
|
+
Roman
|
|
341
|
+
</option>
|
|
342
|
+
<option>
|
|
343
|
+
Tom
|
|
344
|
+
</option>
|
|
345
|
+
</select>
|
|
346
|
+
<div
|
|
347
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
348
|
+
>
|
|
349
|
+
<svg
|
|
350
|
+
aria-hidden={true}
|
|
351
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
352
|
+
focusable={false}
|
|
353
|
+
id="select-icon"
|
|
354
|
+
role="presentation"
|
|
355
|
+
style={
|
|
356
|
+
Object {
|
|
357
|
+
"color": "currentColor",
|
|
358
|
+
"height": "1em",
|
|
359
|
+
"width": "1em",
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
title="arrow icon"
|
|
363
|
+
viewBox="0 0 24 24"
|
|
334
364
|
>
|
|
335
|
-
<
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
365
|
+
<g
|
|
366
|
+
stroke="currentColor"
|
|
367
|
+
strokeWidth="1.5"
|
|
368
|
+
>
|
|
369
|
+
<path
|
|
370
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
371
|
+
fill="none"
|
|
372
|
+
strokeLinecap="round"
|
|
373
|
+
/>
|
|
374
|
+
<path
|
|
375
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
376
|
+
fill="currentColor"
|
|
377
|
+
strokeLinecap="round"
|
|
378
|
+
/>
|
|
379
|
+
<circle
|
|
380
|
+
cx="12"
|
|
381
|
+
cy="12"
|
|
382
|
+
fill="none"
|
|
383
|
+
r="11.25"
|
|
384
|
+
strokeMiterlimit="10"
|
|
385
|
+
/>
|
|
386
|
+
</g>
|
|
387
|
+
</svg>
|
|
388
|
+
</div>
|
|
354
389
|
</div>
|
|
355
|
-
</div>
|
|
356
|
-
<div
|
|
357
|
-
aria-disabled={false}
|
|
358
|
-
className="css-0"
|
|
359
|
-
>
|
|
360
390
|
<div
|
|
361
391
|
aria-atomic={true}
|
|
362
392
|
aria-live="off"
|
|
363
|
-
className="
|
|
393
|
+
className="css-1xdhyk6"
|
|
364
394
|
dangerouslySetInnerHTML={
|
|
365
395
|
Object {
|
|
366
396
|
"__html": "Remember, Logan will judge you no matter who you pick.",
|
|
@@ -375,170 +405,480 @@ exports[`Select Renders the UI snapshot correctly 4`] = `
|
|
|
375
405
|
|
|
376
406
|
exports[`Select Renders the UI snapshot correctly 5`] = `
|
|
377
407
|
<div
|
|
378
|
-
className="css-
|
|
408
|
+
className="css-1xdhyk6"
|
|
409
|
+
>
|
|
410
|
+
<div
|
|
411
|
+
className="css-0"
|
|
412
|
+
>
|
|
413
|
+
<div
|
|
414
|
+
className="css-0"
|
|
415
|
+
>
|
|
416
|
+
<label
|
|
417
|
+
className="css-1xdhyk6"
|
|
418
|
+
htmlFor="select"
|
|
419
|
+
id="select-label"
|
|
420
|
+
>
|
|
421
|
+
Which Succession sibling are you?
|
|
422
|
+
<span>
|
|
423
|
+
(Required)
|
|
424
|
+
</span>
|
|
425
|
+
</label>
|
|
426
|
+
</div>
|
|
427
|
+
<div
|
|
428
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
429
|
+
>
|
|
430
|
+
<select
|
|
431
|
+
aria-required={true}
|
|
432
|
+
className="chakra-select css-1ik61og"
|
|
433
|
+
disabled={false}
|
|
434
|
+
id="select"
|
|
435
|
+
name="succession-sibling"
|
|
436
|
+
onBlur={[Function]}
|
|
437
|
+
onFocus={[Function]}
|
|
438
|
+
required={true}
|
|
439
|
+
>
|
|
440
|
+
<option>
|
|
441
|
+
Kendall
|
|
442
|
+
</option>
|
|
443
|
+
<option>
|
|
444
|
+
Shiv
|
|
445
|
+
</option>
|
|
446
|
+
<option>
|
|
447
|
+
Connor
|
|
448
|
+
</option>
|
|
449
|
+
<option>
|
|
450
|
+
Roman
|
|
451
|
+
</option>
|
|
452
|
+
<option>
|
|
453
|
+
Tom
|
|
454
|
+
</option>
|
|
455
|
+
</select>
|
|
456
|
+
<div
|
|
457
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
458
|
+
>
|
|
459
|
+
<svg
|
|
460
|
+
aria-hidden={true}
|
|
461
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
462
|
+
focusable={false}
|
|
463
|
+
id="select-icon"
|
|
464
|
+
role="presentation"
|
|
465
|
+
style={
|
|
466
|
+
Object {
|
|
467
|
+
"color": "currentColor",
|
|
468
|
+
"height": "1em",
|
|
469
|
+
"width": "1em",
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
title="arrow icon"
|
|
473
|
+
viewBox="0 0 24 24"
|
|
474
|
+
>
|
|
475
|
+
<g
|
|
476
|
+
stroke="currentColor"
|
|
477
|
+
strokeWidth="1.5"
|
|
478
|
+
>
|
|
479
|
+
<path
|
|
480
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
481
|
+
fill="none"
|
|
482
|
+
strokeLinecap="round"
|
|
483
|
+
/>
|
|
484
|
+
<path
|
|
485
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
486
|
+
fill="currentColor"
|
|
487
|
+
strokeLinecap="round"
|
|
488
|
+
/>
|
|
489
|
+
<circle
|
|
490
|
+
cx="12"
|
|
491
|
+
cy="12"
|
|
492
|
+
fill="none"
|
|
493
|
+
r="11.25"
|
|
494
|
+
strokeMiterlimit="10"
|
|
495
|
+
/>
|
|
496
|
+
</g>
|
|
497
|
+
</svg>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
`;
|
|
503
|
+
|
|
504
|
+
exports[`Select Renders the UI snapshot correctly 6`] = `
|
|
505
|
+
<div
|
|
506
|
+
className="css-1xdhyk6"
|
|
379
507
|
>
|
|
380
|
-
<
|
|
508
|
+
<div
|
|
381
509
|
className="css-0"
|
|
382
|
-
htmlFor="select"
|
|
383
|
-
id="select-label"
|
|
384
510
|
>
|
|
385
|
-
Which Succession sibling are you?
|
|
386
511
|
<div
|
|
387
512
|
className="css-0"
|
|
388
513
|
>
|
|
389
|
-
|
|
514
|
+
<label
|
|
515
|
+
className="css-1xdhyk6"
|
|
516
|
+
htmlFor="select"
|
|
517
|
+
id="select-label"
|
|
518
|
+
>
|
|
519
|
+
Which Succession sibling are you?
|
|
520
|
+
<span>
|
|
521
|
+
(Required)
|
|
522
|
+
</span>
|
|
523
|
+
</label>
|
|
524
|
+
</div>
|
|
525
|
+
<div
|
|
526
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
527
|
+
>
|
|
528
|
+
<select
|
|
529
|
+
aria-required={true}
|
|
530
|
+
className="chakra-select css-1ik61og"
|
|
531
|
+
disabled={false}
|
|
532
|
+
id="select"
|
|
533
|
+
name="succession-sibling"
|
|
534
|
+
onBlur={[Function]}
|
|
535
|
+
onFocus={[Function]}
|
|
536
|
+
required={true}
|
|
537
|
+
>
|
|
538
|
+
<option>
|
|
539
|
+
Kendall
|
|
540
|
+
</option>
|
|
541
|
+
<option>
|
|
542
|
+
Shiv
|
|
543
|
+
</option>
|
|
544
|
+
<option>
|
|
545
|
+
Connor
|
|
546
|
+
</option>
|
|
547
|
+
<option>
|
|
548
|
+
Roman
|
|
549
|
+
</option>
|
|
550
|
+
<option>
|
|
551
|
+
Tom
|
|
552
|
+
</option>
|
|
553
|
+
</select>
|
|
554
|
+
<div
|
|
555
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
556
|
+
>
|
|
557
|
+
<svg
|
|
558
|
+
aria-hidden={true}
|
|
559
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
560
|
+
focusable={false}
|
|
561
|
+
id="select-icon"
|
|
562
|
+
role="presentation"
|
|
563
|
+
style={
|
|
564
|
+
Object {
|
|
565
|
+
"color": "currentColor",
|
|
566
|
+
"height": "1em",
|
|
567
|
+
"width": "1em",
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
title="arrow icon"
|
|
571
|
+
viewBox="0 0 24 24"
|
|
572
|
+
>
|
|
573
|
+
<g
|
|
574
|
+
stroke="currentColor"
|
|
575
|
+
strokeWidth="1.5"
|
|
576
|
+
>
|
|
577
|
+
<path
|
|
578
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
579
|
+
fill="none"
|
|
580
|
+
strokeLinecap="round"
|
|
581
|
+
/>
|
|
582
|
+
<path
|
|
583
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
584
|
+
fill="currentColor"
|
|
585
|
+
strokeLinecap="round"
|
|
586
|
+
/>
|
|
587
|
+
<circle
|
|
588
|
+
cx="12"
|
|
589
|
+
cy="12"
|
|
590
|
+
fill="none"
|
|
591
|
+
r="11.25"
|
|
592
|
+
strokeMiterlimit="10"
|
|
593
|
+
/>
|
|
594
|
+
</g>
|
|
595
|
+
</svg>
|
|
596
|
+
</div>
|
|
390
597
|
</div>
|
|
391
|
-
</
|
|
598
|
+
</div>
|
|
599
|
+
</div>
|
|
600
|
+
`;
|
|
601
|
+
|
|
602
|
+
exports[`Select Renders the UI snapshot correctly 7`] = `
|
|
603
|
+
<div
|
|
604
|
+
className="css-1xdhyk6"
|
|
605
|
+
>
|
|
392
606
|
<div
|
|
393
|
-
className="
|
|
607
|
+
className="css-0"
|
|
394
608
|
>
|
|
395
|
-
<
|
|
396
|
-
|
|
397
|
-
className="chakra-select css-1ik61og"
|
|
398
|
-
disabled={false}
|
|
399
|
-
id="select"
|
|
400
|
-
name="succession-sibling"
|
|
401
|
-
onBlur={[Function]}
|
|
402
|
-
onFocus={[Function]}
|
|
403
|
-
required={true}
|
|
609
|
+
<div
|
|
610
|
+
className="css-0"
|
|
404
611
|
>
|
|
405
|
-
<
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
</option>
|
|
414
|
-
<option>
|
|
415
|
-
Roman
|
|
416
|
-
</option>
|
|
417
|
-
<option>
|
|
418
|
-
Tom
|
|
419
|
-
</option>
|
|
420
|
-
</select>
|
|
612
|
+
<label
|
|
613
|
+
className="css-1xdhyk6"
|
|
614
|
+
htmlFor="select"
|
|
615
|
+
id="select-label"
|
|
616
|
+
>
|
|
617
|
+
Which Succession sibling are you?
|
|
618
|
+
</label>
|
|
619
|
+
</div>
|
|
421
620
|
<div
|
|
422
|
-
className="chakra-
|
|
621
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
423
622
|
>
|
|
424
|
-
<
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
623
|
+
<select
|
|
624
|
+
className="chakra-select css-1ik61og"
|
|
625
|
+
disabled={false}
|
|
626
|
+
id="select"
|
|
627
|
+
name="succession-sibling"
|
|
628
|
+
onBlur={[Function]}
|
|
629
|
+
onChange={[MockFunction]}
|
|
630
|
+
onFocus={[Function]}
|
|
631
|
+
required={false}
|
|
632
|
+
value=""
|
|
633
|
+
>
|
|
634
|
+
<option>
|
|
635
|
+
Kendall
|
|
636
|
+
</option>
|
|
637
|
+
<option>
|
|
638
|
+
Shiv
|
|
639
|
+
</option>
|
|
640
|
+
<option>
|
|
641
|
+
Connor
|
|
642
|
+
</option>
|
|
643
|
+
<option>
|
|
644
|
+
Roman
|
|
645
|
+
</option>
|
|
646
|
+
<option>
|
|
647
|
+
Tom
|
|
648
|
+
</option>
|
|
649
|
+
</select>
|
|
650
|
+
<div
|
|
651
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
432
652
|
>
|
|
433
|
-
<
|
|
434
|
-
|
|
435
|
-
|
|
653
|
+
<svg
|
|
654
|
+
aria-hidden={true}
|
|
655
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
656
|
+
focusable={false}
|
|
657
|
+
id="select-icon"
|
|
658
|
+
role="presentation"
|
|
659
|
+
style={
|
|
660
|
+
Object {
|
|
661
|
+
"color": "currentColor",
|
|
662
|
+
"height": "1em",
|
|
663
|
+
"width": "1em",
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
title="arrow icon"
|
|
667
|
+
viewBox="0 0 24 24"
|
|
436
668
|
>
|
|
437
|
-
<
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
669
|
+
<g
|
|
670
|
+
stroke="currentColor"
|
|
671
|
+
strokeWidth="1.5"
|
|
672
|
+
>
|
|
673
|
+
<path
|
|
674
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
675
|
+
fill="none"
|
|
676
|
+
strokeLinecap="round"
|
|
677
|
+
/>
|
|
678
|
+
<path
|
|
679
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
680
|
+
fill="currentColor"
|
|
681
|
+
strokeLinecap="round"
|
|
682
|
+
/>
|
|
683
|
+
<circle
|
|
684
|
+
cx="12"
|
|
685
|
+
cy="12"
|
|
686
|
+
fill="none"
|
|
687
|
+
r="11.25"
|
|
688
|
+
strokeMiterlimit="10"
|
|
689
|
+
/>
|
|
690
|
+
</g>
|
|
691
|
+
</svg>
|
|
692
|
+
</div>
|
|
456
693
|
</div>
|
|
457
694
|
</div>
|
|
458
695
|
</div>
|
|
459
696
|
`;
|
|
460
697
|
|
|
461
|
-
exports[`Select Renders the UI snapshot correctly
|
|
698
|
+
exports[`Select Renders the UI snapshot correctly 8`] = `
|
|
462
699
|
<div
|
|
463
|
-
className="css-
|
|
700
|
+
className="css-kle7zy"
|
|
464
701
|
>
|
|
465
|
-
<
|
|
702
|
+
<div
|
|
466
703
|
className="css-0"
|
|
467
|
-
htmlFor="select"
|
|
468
|
-
id="select-label"
|
|
469
704
|
>
|
|
470
|
-
Which Succession sibling are you?
|
|
471
705
|
<div
|
|
472
706
|
className="css-0"
|
|
473
707
|
>
|
|
474
|
-
|
|
708
|
+
<label
|
|
709
|
+
className="css-1xdhyk6"
|
|
710
|
+
htmlFor="chakra"
|
|
711
|
+
id="chakra-label"
|
|
712
|
+
>
|
|
713
|
+
Which Succession sibling are you?
|
|
714
|
+
</label>
|
|
715
|
+
</div>
|
|
716
|
+
<div
|
|
717
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
718
|
+
>
|
|
719
|
+
<select
|
|
720
|
+
className="chakra-select css-1ik61og"
|
|
721
|
+
disabled={false}
|
|
722
|
+
id="chakra"
|
|
723
|
+
name="succession-sibling"
|
|
724
|
+
onBlur={[Function]}
|
|
725
|
+
onFocus={[Function]}
|
|
726
|
+
required={false}
|
|
727
|
+
>
|
|
728
|
+
<option>
|
|
729
|
+
Kendall
|
|
730
|
+
</option>
|
|
731
|
+
<option>
|
|
732
|
+
Shiv
|
|
733
|
+
</option>
|
|
734
|
+
<option>
|
|
735
|
+
Connor
|
|
736
|
+
</option>
|
|
737
|
+
<option>
|
|
738
|
+
Roman
|
|
739
|
+
</option>
|
|
740
|
+
<option>
|
|
741
|
+
Tom
|
|
742
|
+
</option>
|
|
743
|
+
</select>
|
|
744
|
+
<div
|
|
745
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
746
|
+
>
|
|
747
|
+
<svg
|
|
748
|
+
aria-hidden={true}
|
|
749
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
750
|
+
focusable={false}
|
|
751
|
+
id="chakra-icon"
|
|
752
|
+
role="presentation"
|
|
753
|
+
style={
|
|
754
|
+
Object {
|
|
755
|
+
"color": "currentColor",
|
|
756
|
+
"height": "1em",
|
|
757
|
+
"width": "1em",
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
title="arrow icon"
|
|
761
|
+
viewBox="0 0 24 24"
|
|
762
|
+
>
|
|
763
|
+
<g
|
|
764
|
+
stroke="currentColor"
|
|
765
|
+
strokeWidth="1.5"
|
|
766
|
+
>
|
|
767
|
+
<path
|
|
768
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
769
|
+
fill="none"
|
|
770
|
+
strokeLinecap="round"
|
|
771
|
+
/>
|
|
772
|
+
<path
|
|
773
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
774
|
+
fill="currentColor"
|
|
775
|
+
strokeLinecap="round"
|
|
776
|
+
/>
|
|
777
|
+
<circle
|
|
778
|
+
cx="12"
|
|
779
|
+
cy="12"
|
|
780
|
+
fill="none"
|
|
781
|
+
r="11.25"
|
|
782
|
+
strokeMiterlimit="10"
|
|
783
|
+
/>
|
|
784
|
+
</g>
|
|
785
|
+
</svg>
|
|
786
|
+
</div>
|
|
475
787
|
</div>
|
|
476
|
-
</
|
|
788
|
+
</div>
|
|
789
|
+
</div>
|
|
790
|
+
`;
|
|
791
|
+
|
|
792
|
+
exports[`Select Renders the UI snapshot correctly 9`] = `
|
|
793
|
+
<div
|
|
794
|
+
className="css-1xdhyk6"
|
|
795
|
+
data-testid="props"
|
|
796
|
+
>
|
|
477
797
|
<div
|
|
478
|
-
className="
|
|
798
|
+
className="css-0"
|
|
479
799
|
>
|
|
480
|
-
<
|
|
481
|
-
className="
|
|
482
|
-
disabled={false}
|
|
483
|
-
id="select"
|
|
484
|
-
name="succession-sibling"
|
|
485
|
-
onBlur={[Function]}
|
|
486
|
-
onChange={[MockFunction]}
|
|
487
|
-
onFocus={[Function]}
|
|
488
|
-
required={false}
|
|
489
|
-
value=""
|
|
800
|
+
<div
|
|
801
|
+
className="css-0"
|
|
490
802
|
>
|
|
491
|
-
<
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
</option>
|
|
500
|
-
<option>
|
|
501
|
-
Roman
|
|
502
|
-
</option>
|
|
503
|
-
<option>
|
|
504
|
-
Tom
|
|
505
|
-
</option>
|
|
506
|
-
</select>
|
|
803
|
+
<label
|
|
804
|
+
className="css-1xdhyk6"
|
|
805
|
+
htmlFor="props"
|
|
806
|
+
id="props-label"
|
|
807
|
+
>
|
|
808
|
+
Which Succession sibling are you?
|
|
809
|
+
</label>
|
|
810
|
+
</div>
|
|
507
811
|
<div
|
|
508
|
-
className="chakra-
|
|
812
|
+
className="chakra-select__wrapper css-42b2qy"
|
|
509
813
|
>
|
|
510
|
-
<
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
814
|
+
<select
|
|
815
|
+
className="chakra-select css-1ik61og"
|
|
816
|
+
disabled={false}
|
|
817
|
+
id="props"
|
|
818
|
+
name="succession-sibling"
|
|
819
|
+
onBlur={[Function]}
|
|
820
|
+
onFocus={[Function]}
|
|
821
|
+
required={false}
|
|
822
|
+
>
|
|
823
|
+
<option>
|
|
824
|
+
Kendall
|
|
825
|
+
</option>
|
|
826
|
+
<option>
|
|
827
|
+
Shiv
|
|
828
|
+
</option>
|
|
829
|
+
<option>
|
|
830
|
+
Connor
|
|
831
|
+
</option>
|
|
832
|
+
<option>
|
|
833
|
+
Roman
|
|
834
|
+
</option>
|
|
835
|
+
<option>
|
|
836
|
+
Tom
|
|
837
|
+
</option>
|
|
838
|
+
</select>
|
|
839
|
+
<div
|
|
840
|
+
className="chakra-select__icon-wrapper css-162mkon"
|
|
518
841
|
>
|
|
519
|
-
<
|
|
520
|
-
|
|
521
|
-
|
|
842
|
+
<svg
|
|
843
|
+
aria-hidden={true}
|
|
844
|
+
className="chakra-icon chakra-select__icon css-1grhd2q"
|
|
845
|
+
focusable={false}
|
|
846
|
+
id="props-icon"
|
|
847
|
+
role="presentation"
|
|
848
|
+
style={
|
|
849
|
+
Object {
|
|
850
|
+
"color": "currentColor",
|
|
851
|
+
"height": "1em",
|
|
852
|
+
"width": "1em",
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
title="arrow icon"
|
|
856
|
+
viewBox="0 0 24 24"
|
|
522
857
|
>
|
|
523
|
-
<
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
858
|
+
<g
|
|
859
|
+
stroke="currentColor"
|
|
860
|
+
strokeWidth="1.5"
|
|
861
|
+
>
|
|
862
|
+
<path
|
|
863
|
+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
|
|
864
|
+
fill="none"
|
|
865
|
+
strokeLinecap="round"
|
|
866
|
+
/>
|
|
867
|
+
<path
|
|
868
|
+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
|
|
869
|
+
fill="currentColor"
|
|
870
|
+
strokeLinecap="round"
|
|
871
|
+
/>
|
|
872
|
+
<circle
|
|
873
|
+
cx="12"
|
|
874
|
+
cy="12"
|
|
875
|
+
fill="none"
|
|
876
|
+
r="11.25"
|
|
877
|
+
strokeMiterlimit="10"
|
|
878
|
+
/>
|
|
879
|
+
</g>
|
|
880
|
+
</svg>
|
|
881
|
+
</div>
|
|
542
882
|
</div>
|
|
543
883
|
</div>
|
|
544
884
|
</div>
|