@nypl/design-system-react-components 0.25.11 → 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 +151 -0
- package/README.md +14 -26
- package/dist/components/Accordion/Accordion.d.ts +6 -4
- package/dist/components/Accordion/AccordionTypes.d.ts +5 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/dist/components/Breadcrumbs/BreadcrumbsTypes.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Card/Card.d.ts +22 -29
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +9 -6
- 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 +5 -5
- package/dist/components/Heading/HeadingTypes.d.ts +1 -1
- package/dist/components/HelperErrorText/HelperErrorText.d.ts +9 -8
- package/dist/components/Hero/Hero.d.ts +9 -5
- package/dist/components/HorizontalRule/HorizontalRule.d.ts +2 -10
- package/dist/components/Icons/Icon.d.ts +2 -1
- package/dist/components/Icons/IconTypes.d.ts +10 -7
- package/dist/components/Image/Image.d.ts +27 -9
- package/dist/components/Image/ImageTypes.d.ts +4 -4
- 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 +8 -0
- package/dist/components/Logo/LogoTypes.d.ts +10 -2
- package/dist/components/Notification/Notification.d.ts +7 -7
- package/dist/components/Pagination/Pagination.d.ts +8 -4
- package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +3 -3
- package/dist/components/Radio/Radio.d.ts +5 -7
- package/dist/components/RadioGroup/RadioGroup.d.ts +16 -8
- package/dist/components/SearchBar/SearchBar.d.ts +5 -5
- package/dist/components/Select/Select.d.ts +12 -8
- package/dist/components/Select/SelectTypes.d.ts +4 -0
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +8 -6
- package/dist/components/SkeletonLoader/SkeletonLoaderTypes.d.ts +0 -4
- 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 +10 -23
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +7 -6
- package/dist/components/Template/Template.d.ts +18 -9
- package/dist/components/Text/Text.d.ts +4 -4
- package/dist/components/Text/TextTypes.d.ts +1 -1
- package/dist/components/TextInput/TextInput.d.ts +7 -7
- package/dist/components/Toggle/Toggle.d.ts +8 -10
- package/dist/components/Toggle/{ToggleSizes.d.ts → ToggleTypes.d.ts} +1 -1
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +2 -1
- package/dist/design-system-react-components.cjs.development.js +2802 -1686
- 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 +2811 -1699
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/helpers/enums.d.ts +4 -0
- package/dist/hooks/useCarouselStyles.d.ts +3 -2
- package/dist/hooks/useNYPLTheme.d.ts +12 -0
- package/dist/index.d.ts +11 -9
- package/dist/styles.css +1 -1
- package/dist/theme/components/accordion.d.ts +7 -12
- package/dist/theme/components/breadcrumb.d.ts +6 -0
- package/dist/theme/components/button.d.ts +10 -2
- package/dist/theme/components/card.d.ts +44 -24
- package/dist/theme/components/checkbox.d.ts +6 -6
- package/dist/theme/components/checkboxGroup.d.ts +4 -2
- 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 +6 -14
- package/dist/theme/components/global.d.ts +37 -29
- package/dist/theme/components/globalMixins.d.ts +8 -8
- 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 +21 -15
- package/dist/theme/components/image.d.ts +1 -1
- package/dist/theme/components/label.d.ts +9 -10
- package/dist/theme/components/list.d.ts +105 -9
- package/dist/theme/components/notification.d.ts +7 -4
- package/dist/theme/components/pagination.d.ts +2 -5
- package/dist/theme/components/radio.d.ts +10 -6
- package/dist/theme/components/radioGroup.d.ts +4 -2
- package/dist/theme/components/select.d.ts +38 -13
- package/dist/theme/components/skeletonLoader.d.ts +2 -2
- package/dist/theme/components/slider.d.ts +14 -7
- package/dist/theme/components/structuredContent.d.ts +197 -0
- package/dist/theme/components/textInput.d.ts +22 -14
- package/dist/theme/components/toggle.d.ts +25 -6
- package/dist/theme/foundations/global.d.ts +33 -3
- package/dist/theme/foundations/radii.d.ts +1 -0
- package/dist/theme/foundations/spacing.d.ts +46 -43
- package/dist/utils/utils.d.ts +10 -0
- package/package.json +5 -6
- package/src/components/AccessibilityGuide/SkipNavigation.stories.mdx +34 -0
- package/src/components/Accordion/Accordion.stories.mdx +150 -66
- package/src/components/Accordion/Accordion.test.tsx +65 -17
- package/src/components/Accordion/Accordion.tsx +61 -27
- package/src/components/Accordion/AccordionTypes.tsx +5 -0
- package/src/components/Accordion/__snapshots__/Accordion.test.tsx.snap +505 -14
- package/src/components/Autosuggest/Autosuggest.stories.mdx +4 -3
- package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +53 -18
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +66 -35
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +14 -13
- package/src/components/Breadcrumbs/BreadcrumbsTypes.tsx +2 -1
- package/src/components/Breadcrumbs/__snapshots__/Breadcrumbs.test.tsx.snap +308 -10
- 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 +493 -329
- package/src/components/Card/Card.test.tsx +138 -18
- package/src/components/Card/Card.tsx +151 -85
- package/src/components/Card/__snapshots__/Card.test.tsx.snap +220 -100
- package/src/components/Chakra/Center.stories.mdx +2 -2
- package/src/components/Chakra/Grid.stories.mdx +4 -4
- package/src/components/Checkbox/Checkbox.stories.mdx +73 -9
- package/src/components/Checkbox/Checkbox.test.tsx +89 -10
- package/src/components/Checkbox/Checkbox.tsx +27 -16
- package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +209 -6
- package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +135 -23
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +216 -90
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +39 -26
- package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +493 -89
- 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 +94 -15
- package/src/components/DatePicker/DatePicker.tsx +67 -58
- 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 +118 -47
- package/src/components/Form/Form.test.tsx +59 -16
- package/src/components/Form/Form.tsx +89 -65
- 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 +87 -41
- package/src/components/Grid/SimpleGrid.test.tsx +24 -9
- 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 +56 -25
- package/src/components/Heading/Heading.test.tsx +17 -7
- package/src/components/Heading/Heading.tsx +60 -58
- package/src/components/Heading/HeadingTypes.tsx +1 -1
- package/src/components/Heading/__snapshots__/Heading.test.tsx.snap +27 -8
- 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 +143 -113
- package/src/components/Hero/Hero.test.tsx +146 -58
- package/src/components/Hero/Hero.tsx +144 -112
- 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 -17
- package/src/components/HorizontalRule/HorizontalRule.tsx +9 -25
- package/src/components/HorizontalRule/__snapshots__/HorizontalRule.test.tsx.snap +18 -5
- package/src/components/Icons/Icon.stories.mdx +80 -23
- package/src/components/Icons/Icon.test.tsx +51 -2
- package/src/components/Icons/Icon.tsx +93 -71
- package/src/components/Icons/IconTypes.tsx +9 -6
- package/src/components/Icons/__snapshots__/Icon.test.tsx.snap +129 -0
- package/src/components/Image/Image.stories.mdx +160 -71
- package/src/components/Image/Image.test.tsx +40 -48
- package/src/components/Image/Image.tsx +80 -48
- package/src/components/Image/ImageTypes.ts +4 -4
- package/src/components/Image/__snapshots__/Image.test.tsx.snap +84 -21
- 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 +16 -9
- 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 +73 -22
- package/src/components/List/List.tsx +44 -28
- 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 +40 -16
- package/src/components/Logo/Logo.test.tsx +29 -2
- package/src/components/Logo/Logo.tsx +28 -11
- package/src/components/Logo/LogoSvgs.tsx +16 -0
- package/src/components/Logo/LogoTypes.tsx +9 -1
- 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 +34 -5
- package/src/components/Notification/Notification.test.tsx +43 -9
- package/src/components/Notification/Notification.tsx +59 -55
- package/src/components/Notification/__snapshots__/Notification.test.tsx.snap +256 -32
- package/src/components/Pagination/Pagination.stories.mdx +76 -13
- package/src/components/Pagination/Pagination.test.tsx +116 -5
- package/src/components/Pagination/Pagination.tsx +54 -29
- package/src/components/Pagination/__snapshots__/Pagination.test.tsx.snap +247 -30
- package/src/components/Placeholder/Placeholder.tsx +3 -1
- package/src/components/ProgressIndicator/ProgressIndicator.stories.mdx +76 -10
- package/src/components/ProgressIndicator/ProgressIndicator.test.tsx +87 -13
- package/src/components/ProgressIndicator/ProgressIndicator.tsx +20 -10
- package/src/components/ProgressIndicator/__snapshots__/ProgressIndicator.test.tsx.snap +101 -14
- package/src/components/Radio/Radio.stories.mdx +75 -11
- package/src/components/Radio/Radio.test.tsx +83 -9
- package/src/components/Radio/Radio.tsx +70 -61
- package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +168 -10
- package/src/components/RadioGroup/RadioGroup.stories.mdx +293 -94
- package/src/components/RadioGroup/RadioGroup.test.tsx +193 -68
- package/src/components/RadioGroup/RadioGroup.tsx +110 -101
- package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +1258 -902
- package/src/components/SearchBar/SearchBar.stories.mdx +104 -39
- package/src/components/SearchBar/{SearchBar.Test.tsx → SearchBar.test.tsx} +66 -6
- package/src/components/SearchBar/SearchBar.tsx +23 -13
- package/src/components/SearchBar/__snapshots__/SearchBar.test.tsx.snap +1039 -0
- package/src/components/Select/Select.stories.mdx +151 -62
- package/src/components/Select/Select.test.tsx +56 -44
- package/src/components/Select/Select.tsx +125 -104
- 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 +53 -23
- package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +14 -8
- package/src/components/SkeletonLoader/SkeletonLoader.tsx +80 -78
- package/src/components/SkeletonLoader/SkeletonLoaderTypes.tsx +0 -5
- package/src/components/SkeletonLoader/__snapshots__/SkeletonLoader.test.tsx.snap +169 -10
- package/src/components/Slider/Slider.stories.mdx +123 -41
- package/src/components/Slider/Slider.test.tsx +65 -17
- package/src/components/Slider/Slider.tsx +34 -24
- 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 +19 -1
- 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 +229 -61
- package/src/components/StructuredContent/StructuredContent.test.tsx +162 -101
- package/src/components/StructuredContent/StructuredContent.tsx +98 -103
- package/src/components/StructuredContent/__snapshots__/StructuredContent.test.tsx.snap +102 -17
- package/src/components/StyleGuide/Bidirectionality.stories.mdx +9 -9
- package/src/components/StyleGuide/Breakpoints.stories.mdx +6 -6
- package/src/components/StyleGuide/Buttons.stories.mdx +2 -12
- package/src/components/StyleGuide/ColorCard.tsx +4 -4
- package/src/components/StyleGuide/Colors.stories.mdx +34 -20
- 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 +47 -33
- package/src/components/Table/Table.stories.mdx +38 -11
- package/src/components/Table/Table.test.tsx +16 -1
- package/src/components/Table/Table.tsx +10 -8
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +408 -5
- package/src/components/Tabs/Tabs.stories.mdx +59 -10
- package/src/components/Tabs/Tabs.test.tsx +29 -11
- package/src/components/Tabs/Tabs.tsx +28 -21
- package/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap +394 -5
- package/src/components/Template/Template.stories.mdx +73 -32
- package/src/components/Template/Template.test.tsx +68 -5
- package/src/components/Template/Template.tsx +86 -72
- package/src/components/Template/__snapshots__/Template.test.tsx.snap +195 -22
- package/src/components/Text/Text.stories.mdx +32 -15
- package/src/components/Text/Text.test.tsx +14 -11
- package/src/components/Text/Text.tsx +13 -16
- package/src/components/Text/TextTypes.tsx +1 -1
- package/src/components/Text/__snapshots__/Text.test.tsx.snap +21 -4
- package/src/components/TextInput/TextInput.stories.mdx +73 -27
- package/src/components/TextInput/TextInput.test.tsx +65 -50
- package/src/components/TextInput/TextInput.tsx +123 -115
- package/src/components/TextInput/__snapshots__/TextInput.test.tsx.snap +96 -73
- package/src/components/Toggle/Toggle.stories.mdx +74 -26
- package/src/components/Toggle/Toggle.test.tsx +41 -10
- package/src/components/Toggle/Toggle.tsx +31 -27
- package/src/components/Toggle/{ToggleSizes.tsx → ToggleTypes.tsx} +1 -1
- package/src/components/Toggle/__snapshots__/Toggle.test.tsx.snap +195 -8
- package/src/components/VideoPlayer/VideoPlayer.stories.mdx +52 -4
- package/src/components/VideoPlayer/VideoPlayer.test.tsx +41 -6
- package/src/components/VideoPlayer/VideoPlayer.tsx +134 -120
- package/src/components/VideoPlayer/__snapshots__/VideoPlayer.test.tsx.snap +81 -39
- package/src/docs/Chakra.stories.mdx +51 -10
- package/src/docs/Welcome.stories.mdx +168 -0
- package/src/{components/Card/CardTypes.tsx → helpers/enums.ts} +2 -2
- package/src/hooks/tests/useNYPLTheme.test.tsx +1 -1
- package/src/hooks/useCarouselStyles.stories.mdx +30 -0
- package/src/hooks/useCarouselStyles.ts +3 -2
- package/src/hooks/useNYPLTheme.stories.mdx +101 -0
- package/src/hooks/useNYPLTheme.ts +31 -7
- package/src/hooks/useWindowSize.stories.mdx +23 -0
- package/src/index.ts +11 -15
- package/src/styles/base/_place-holder.scss +3 -1
- package/src/styles.scss +0 -2
- package/src/theme/components/accordion.ts +7 -12
- package/src/theme/components/breadcrumb.ts +7 -0
- package/src/theme/components/button.ts +15 -7
- package/src/theme/components/card.ts +56 -36
- package/src/theme/components/checkbox.ts +12 -14
- package/src/theme/components/checkboxGroup.ts +4 -2
- package/src/theme/components/componentWrapper.ts +2 -2
- package/src/theme/components/customTable.ts +39 -31
- package/src/theme/components/fieldset.ts +3 -2
- package/src/theme/components/global.ts +42 -33
- package/src/theme/components/globalMixins.ts +8 -8
- package/src/theme/components/heading.ts +1 -1
- package/src/theme/components/helperErrorText.ts +1 -0
- package/src/theme/components/hero.ts +14 -16
- package/src/theme/components/icon.ts +5 -2
- package/src/theme/components/image.ts +1 -1
- package/src/theme/components/label.ts +4 -3
- package/src/theme/components/list.ts +76 -65
- package/src/theme/components/notification.ts +10 -7
- package/src/theme/components/pagination.ts +2 -5
- package/src/theme/components/progressIndicator.ts +3 -3
- package/src/theme/components/radio.ts +11 -14
- package/src/theme/components/radioGroup.ts +4 -2
- package/src/theme/components/select.ts +37 -18
- package/src/theme/components/skeletonLoader.ts +3 -3
- package/src/theme/components/slider.ts +19 -15
- 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 +76 -42
- package/src/theme/components/videoPlayer.ts +1 -1
- package/src/theme/foundations/colors.ts +20 -13
- package/src/theme/foundations/global.ts +17 -5
- package/src/theme/foundations/radii.ts +1 -0
- package/src/theme/foundations/spacing.ts +70 -22
- package/src/theme/foundations/typography.ts +3 -3
- package/src/utils/componentCategories.ts +28 -21
- package/src/utils/utils.ts +28 -0
- package/dist/components/Card/CardTypes.d.ts +0 -4
- package/dist/components/CheckboxGroup/CheckboxGroupLayoutTypes.d.ts +0 -4
- package/dist/components/Pagination/Pagination.stories.d.ts +0 -13
- package/dist/components/RadioGroup/RadioGroupLayoutTypes.d.ts +0 -4
- package/dist/components/SearchBar/SearchBar.Test.d.ts +0 -1
- package/dist/helpers/generateUUID.d.ts +0 -1
- package/src/components/CheckboxGroup/CheckboxGroupLayoutTypes.tsx +0 -4
- package/src/components/Pagination/Pagination.stories.tsx +0 -54
- package/src/components/RadioGroup/RadioGroupLayoutTypes.tsx +0 -4
- package/src/docs/Intro.stories.mdx +0 -53
- package/src/helpers/generateUUID.tsx +0 -5
- package/src/styles/base/_03-base.scss +0 -25
- package/src/styles/base/_04-focus.scss +0 -22
|
@@ -2,25 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Slider Range Slider renders the UI snapshot correctly 1`] = `
|
|
4
4
|
<div
|
|
5
|
-
className="css-
|
|
5
|
+
className="css-1xdhyk6"
|
|
6
6
|
>
|
|
7
7
|
<label
|
|
8
|
-
className="css-
|
|
8
|
+
className="css-1xdhyk6"
|
|
9
9
|
htmlFor="defaultRangeSlider-textInput-start"
|
|
10
10
|
id="defaultRangeSlider-label"
|
|
11
11
|
>
|
|
12
12
|
Label
|
|
13
|
-
<div
|
|
14
|
-
className="css-0"
|
|
15
|
-
>
|
|
16
|
-
Optional
|
|
17
|
-
</div>
|
|
18
13
|
</label>
|
|
19
14
|
<div
|
|
20
15
|
className="css-0"
|
|
21
16
|
>
|
|
22
17
|
<div
|
|
23
|
-
className="css-
|
|
18
|
+
className="css-bunm4f"
|
|
24
19
|
>
|
|
25
20
|
<input
|
|
26
21
|
aria-label="Label - start value"
|
|
@@ -143,7 +138,7 @@ exports[`Slider Range Slider renders the UI snapshot correctly 1`] = `
|
|
|
143
138
|
100
|
|
144
139
|
</div>
|
|
145
140
|
<div
|
|
146
|
-
className="css-
|
|
141
|
+
className="css-1ebeaqx"
|
|
147
142
|
>
|
|
148
143
|
<input
|
|
149
144
|
aria-label="Label - end value"
|
|
@@ -163,45 +158,36 @@ exports[`Slider Range Slider renders the UI snapshot correctly 1`] = `
|
|
|
163
158
|
</div>
|
|
164
159
|
</div>
|
|
165
160
|
<div
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
dangerouslySetInnerHTML={
|
|
173
|
-
Object {
|
|
174
|
-
"__html": "Component helper text.",
|
|
175
|
-
}
|
|
161
|
+
aria-atomic={true}
|
|
162
|
+
aria-live="off"
|
|
163
|
+
className="css-1xdhyk6"
|
|
164
|
+
dangerouslySetInnerHTML={
|
|
165
|
+
Object {
|
|
166
|
+
"__html": "Component helper text.",
|
|
176
167
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
168
|
+
}
|
|
169
|
+
data-isinvalid={false}
|
|
170
|
+
id="defaultRangeSlider-helperText"
|
|
171
|
+
/>
|
|
181
172
|
</div>
|
|
182
173
|
`;
|
|
183
174
|
|
|
184
175
|
exports[`Slider Range Slider renders the UI snapshot correctly 2`] = `
|
|
185
176
|
<div
|
|
186
|
-
className="css-
|
|
177
|
+
className="css-1xdhyk6"
|
|
187
178
|
>
|
|
188
179
|
<label
|
|
189
|
-
className="css-
|
|
180
|
+
className="css-1xdhyk6"
|
|
190
181
|
htmlFor="errored-textInput-start"
|
|
191
182
|
id="errored-label"
|
|
192
183
|
>
|
|
193
184
|
Label
|
|
194
|
-
<div
|
|
195
|
-
className="css-0"
|
|
196
|
-
>
|
|
197
|
-
Optional
|
|
198
|
-
</div>
|
|
199
185
|
</label>
|
|
200
186
|
<div
|
|
201
187
|
className="css-0"
|
|
202
188
|
>
|
|
203
189
|
<div
|
|
204
|
-
className="css-
|
|
190
|
+
className="css-bunm4f"
|
|
205
191
|
>
|
|
206
192
|
<input
|
|
207
193
|
aria-invalid={true}
|
|
@@ -325,7 +311,7 @@ exports[`Slider Range Slider renders the UI snapshot correctly 2`] = `
|
|
|
325
311
|
100
|
|
326
312
|
</div>
|
|
327
313
|
<div
|
|
328
|
-
className="css-
|
|
314
|
+
className="css-1ebeaqx"
|
|
329
315
|
>
|
|
330
316
|
<input
|
|
331
317
|
aria-invalid={true}
|
|
@@ -346,45 +332,39 @@ exports[`Slider Range Slider renders the UI snapshot correctly 2`] = `
|
|
|
346
332
|
</div>
|
|
347
333
|
</div>
|
|
348
334
|
<div
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
dangerouslySetInnerHTML={
|
|
356
|
-
Object {
|
|
357
|
-
"__html": "Component error text :(",
|
|
358
|
-
}
|
|
335
|
+
aria-atomic={true}
|
|
336
|
+
aria-live="polite"
|
|
337
|
+
className="css-1xdhyk6"
|
|
338
|
+
dangerouslySetInnerHTML={
|
|
339
|
+
Object {
|
|
340
|
+
"__html": "Component error text :(",
|
|
359
341
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
342
|
+
}
|
|
343
|
+
data-isinvalid={true}
|
|
344
|
+
id="errored-helperText"
|
|
345
|
+
/>
|
|
364
346
|
</div>
|
|
365
347
|
`;
|
|
366
348
|
|
|
367
349
|
exports[`Slider Range Slider renders the UI snapshot correctly 3`] = `
|
|
368
350
|
<div
|
|
369
|
-
className="css-
|
|
351
|
+
className="css-1xdhyk6"
|
|
370
352
|
>
|
|
371
353
|
<label
|
|
372
|
-
className="css-
|
|
354
|
+
className="css-1xdhyk6"
|
|
373
355
|
htmlFor="required-textInput-start"
|
|
374
356
|
id="required-label"
|
|
375
357
|
>
|
|
376
358
|
Label
|
|
377
|
-
<
|
|
378
|
-
|
|
379
|
-
>
|
|
380
|
-
Required
|
|
381
|
-
</div>
|
|
359
|
+
<span>
|
|
360
|
+
(Required)
|
|
361
|
+
</span>
|
|
382
362
|
</label>
|
|
383
363
|
<div
|
|
384
364
|
className="css-0"
|
|
385
365
|
>
|
|
386
366
|
<div
|
|
387
|
-
className="css-
|
|
367
|
+
className="css-bunm4f"
|
|
388
368
|
>
|
|
389
369
|
<input
|
|
390
370
|
aria-label="Label - start value"
|
|
@@ -508,7 +488,7 @@ exports[`Slider Range Slider renders the UI snapshot correctly 3`] = `
|
|
|
508
488
|
100
|
|
509
489
|
</div>
|
|
510
490
|
<div
|
|
511
|
-
className="css-
|
|
491
|
+
className="css-1ebeaqx"
|
|
512
492
|
>
|
|
513
493
|
<input
|
|
514
494
|
aria-label="Label - end value"
|
|
@@ -529,45 +509,36 @@ exports[`Slider Range Slider renders the UI snapshot correctly 3`] = `
|
|
|
529
509
|
</div>
|
|
530
510
|
</div>
|
|
531
511
|
<div
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
dangerouslySetInnerHTML={
|
|
539
|
-
Object {
|
|
540
|
-
"__html": "Component helper text.",
|
|
541
|
-
}
|
|
512
|
+
aria-atomic={true}
|
|
513
|
+
aria-live="off"
|
|
514
|
+
className="css-1xdhyk6"
|
|
515
|
+
dangerouslySetInnerHTML={
|
|
516
|
+
Object {
|
|
517
|
+
"__html": "Component helper text.",
|
|
542
518
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
519
|
+
}
|
|
520
|
+
data-isinvalid={false}
|
|
521
|
+
id="required-helperText"
|
|
522
|
+
/>
|
|
547
523
|
</div>
|
|
548
524
|
`;
|
|
549
525
|
|
|
550
526
|
exports[`Slider Range Slider renders the UI snapshot correctly 4`] = `
|
|
551
527
|
<div
|
|
552
|
-
className="css-
|
|
528
|
+
className="css-1xdhyk6"
|
|
553
529
|
>
|
|
554
530
|
<label
|
|
555
|
-
className="css-
|
|
531
|
+
className="css-1xdhyk6"
|
|
556
532
|
htmlFor="disabled-textInput-start"
|
|
557
533
|
id="disabled-label"
|
|
558
534
|
>
|
|
559
535
|
Label
|
|
560
|
-
<div
|
|
561
|
-
className="css-0"
|
|
562
|
-
>
|
|
563
|
-
Optional
|
|
564
|
-
</div>
|
|
565
536
|
</label>
|
|
566
537
|
<div
|
|
567
538
|
className="css-0"
|
|
568
539
|
>
|
|
569
540
|
<div
|
|
570
|
-
className="css-
|
|
541
|
+
className="css-bunm4f"
|
|
571
542
|
>
|
|
572
543
|
<input
|
|
573
544
|
aria-label="Label - start value"
|
|
@@ -692,7 +663,7 @@ exports[`Slider Range Slider renders the UI snapshot correctly 4`] = `
|
|
|
692
663
|
100
|
|
693
664
|
</div>
|
|
694
665
|
<div
|
|
695
|
-
className="css-
|
|
666
|
+
className="css-1ebeaqx"
|
|
696
667
|
>
|
|
697
668
|
<input
|
|
698
669
|
aria-label="Label - end value"
|
|
@@ -712,33 +683,29 @@ exports[`Slider Range Slider renders the UI snapshot correctly 4`] = `
|
|
|
712
683
|
</div>
|
|
713
684
|
</div>
|
|
714
685
|
<div
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
dangerouslySetInnerHTML={
|
|
722
|
-
Object {
|
|
723
|
-
"__html": "Component helper text.",
|
|
724
|
-
}
|
|
686
|
+
aria-atomic={true}
|
|
687
|
+
aria-live="off"
|
|
688
|
+
className="css-1xdhyk6"
|
|
689
|
+
dangerouslySetInnerHTML={
|
|
690
|
+
Object {
|
|
691
|
+
"__html": "Component helper text.",
|
|
725
692
|
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
693
|
+
}
|
|
694
|
+
data-isinvalid={false}
|
|
695
|
+
id="disabled-helperText"
|
|
696
|
+
/>
|
|
730
697
|
</div>
|
|
731
698
|
`;
|
|
732
699
|
|
|
733
700
|
exports[`Slider Range Slider renders the UI snapshot correctly 5`] = `
|
|
734
701
|
<div
|
|
735
|
-
className="css-
|
|
702
|
+
className="css-1xdhyk6"
|
|
736
703
|
>
|
|
737
704
|
<div
|
|
738
705
|
className="css-0"
|
|
739
706
|
>
|
|
740
707
|
<div
|
|
741
|
-
className="css-
|
|
708
|
+
className="css-bunm4f"
|
|
742
709
|
>
|
|
743
710
|
<input
|
|
744
711
|
aria-label="Label - start value"
|
|
@@ -861,7 +828,7 @@ exports[`Slider Range Slider renders the UI snapshot correctly 5`] = `
|
|
|
861
828
|
100
|
|
862
829
|
</div>
|
|
863
830
|
<div
|
|
864
|
-
className="css-
|
|
831
|
+
className="css-1ebeaqx"
|
|
865
832
|
>
|
|
866
833
|
<input
|
|
867
834
|
aria-label="Label - end value"
|
|
@@ -885,19 +852,14 @@ exports[`Slider Range Slider renders the UI snapshot correctly 5`] = `
|
|
|
885
852
|
|
|
886
853
|
exports[`Slider Range Slider renders the UI snapshot correctly 6`] = `
|
|
887
854
|
<div
|
|
888
|
-
className="css-
|
|
855
|
+
className="css-1xdhyk6"
|
|
889
856
|
>
|
|
890
857
|
<label
|
|
891
|
-
className="css-
|
|
858
|
+
className="css-1xdhyk6"
|
|
892
859
|
htmlFor={null}
|
|
893
860
|
id="noVisibleValues-label"
|
|
894
861
|
>
|
|
895
862
|
Label
|
|
896
|
-
<div
|
|
897
|
-
className="css-0"
|
|
898
|
-
>
|
|
899
|
-
Optional
|
|
900
|
-
</div>
|
|
901
863
|
</label>
|
|
902
864
|
<div
|
|
903
865
|
className="css-0"
|
|
@@ -998,27 +960,23 @@ exports[`Slider Range Slider renders the UI snapshot correctly 6`] = `
|
|
|
998
960
|
</div>
|
|
999
961
|
</div>
|
|
1000
962
|
<div
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
dangerouslySetInnerHTML={
|
|
1008
|
-
Object {
|
|
1009
|
-
"__html": "Component helper text.",
|
|
1010
|
-
}
|
|
963
|
+
aria-atomic={true}
|
|
964
|
+
aria-live="off"
|
|
965
|
+
className="css-1xdhyk6"
|
|
966
|
+
dangerouslySetInnerHTML={
|
|
967
|
+
Object {
|
|
968
|
+
"__html": "Component helper text.",
|
|
1011
969
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
970
|
+
}
|
|
971
|
+
data-isinvalid={false}
|
|
972
|
+
id="noVisibleValues-helperText"
|
|
973
|
+
/>
|
|
1016
974
|
</div>
|
|
1017
975
|
`;
|
|
1018
976
|
|
|
1019
977
|
exports[`Slider Range Slider renders the UI snapshot correctly 7`] = `
|
|
1020
978
|
<div
|
|
1021
|
-
className="css-
|
|
979
|
+
className="css-1xdhyk6"
|
|
1022
980
|
>
|
|
1023
981
|
<div
|
|
1024
982
|
className="css-0"
|
|
@@ -1123,19 +1081,14 @@ exports[`Slider Range Slider renders the UI snapshot correctly 7`] = `
|
|
|
1123
1081
|
|
|
1124
1082
|
exports[`Slider Single Slider renders the UI snapshot correctly 1`] = `
|
|
1125
1083
|
<div
|
|
1126
|
-
className="css-
|
|
1084
|
+
className="css-1xdhyk6"
|
|
1127
1085
|
>
|
|
1128
1086
|
<label
|
|
1129
|
-
className="css-
|
|
1087
|
+
className="css-1xdhyk6"
|
|
1130
1088
|
htmlFor="defaultSlider-textInput-end"
|
|
1131
1089
|
id="defaultSlider-label"
|
|
1132
1090
|
>
|
|
1133
1091
|
Label
|
|
1134
|
-
<div
|
|
1135
|
-
className="css-0"
|
|
1136
|
-
>
|
|
1137
|
-
Optional
|
|
1138
|
-
</div>
|
|
1139
1092
|
</label>
|
|
1140
1093
|
<div
|
|
1141
1094
|
className="css-0"
|
|
@@ -1222,7 +1175,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 1`] = `
|
|
|
1222
1175
|
100
|
|
1223
1176
|
</div>
|
|
1224
1177
|
<div
|
|
1225
|
-
className="css-
|
|
1178
|
+
className="css-1ebeaqx"
|
|
1226
1179
|
>
|
|
1227
1180
|
<input
|
|
1228
1181
|
aria-label="Label"
|
|
@@ -1242,39 +1195,30 @@ exports[`Slider Single Slider renders the UI snapshot correctly 1`] = `
|
|
|
1242
1195
|
</div>
|
|
1243
1196
|
</div>
|
|
1244
1197
|
<div
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
dangerouslySetInnerHTML={
|
|
1252
|
-
Object {
|
|
1253
|
-
"__html": "Component helper text.",
|
|
1254
|
-
}
|
|
1198
|
+
aria-atomic={true}
|
|
1199
|
+
aria-live="off"
|
|
1200
|
+
className="css-1xdhyk6"
|
|
1201
|
+
dangerouslySetInnerHTML={
|
|
1202
|
+
Object {
|
|
1203
|
+
"__html": "Component helper text.",
|
|
1255
1204
|
}
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1205
|
+
}
|
|
1206
|
+
data-isinvalid={false}
|
|
1207
|
+
id="defaultSlider-helperText"
|
|
1208
|
+
/>
|
|
1260
1209
|
</div>
|
|
1261
1210
|
`;
|
|
1262
1211
|
|
|
1263
1212
|
exports[`Slider Single Slider renders the UI snapshot correctly 2`] = `
|
|
1264
1213
|
<div
|
|
1265
|
-
className="css-
|
|
1214
|
+
className="css-1xdhyk6"
|
|
1266
1215
|
>
|
|
1267
1216
|
<label
|
|
1268
|
-
className="css-
|
|
1217
|
+
className="css-1xdhyk6"
|
|
1269
1218
|
htmlFor="errored-textInput-end"
|
|
1270
1219
|
id="errored-label"
|
|
1271
1220
|
>
|
|
1272
1221
|
Label
|
|
1273
|
-
<div
|
|
1274
|
-
className="css-0"
|
|
1275
|
-
>
|
|
1276
|
-
Optional
|
|
1277
|
-
</div>
|
|
1278
1222
|
</label>
|
|
1279
1223
|
<div
|
|
1280
1224
|
className="css-0"
|
|
@@ -1361,7 +1305,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 2`] = `
|
|
|
1361
1305
|
100
|
|
1362
1306
|
</div>
|
|
1363
1307
|
<div
|
|
1364
|
-
className="css-
|
|
1308
|
+
className="css-1ebeaqx"
|
|
1365
1309
|
>
|
|
1366
1310
|
<input
|
|
1367
1311
|
aria-invalid={true}
|
|
@@ -1382,39 +1326,33 @@ exports[`Slider Single Slider renders the UI snapshot correctly 2`] = `
|
|
|
1382
1326
|
</div>
|
|
1383
1327
|
</div>
|
|
1384
1328
|
<div
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
dangerouslySetInnerHTML={
|
|
1392
|
-
Object {
|
|
1393
|
-
"__html": "Component error text :(",
|
|
1394
|
-
}
|
|
1329
|
+
aria-atomic={true}
|
|
1330
|
+
aria-live="polite"
|
|
1331
|
+
className="css-1xdhyk6"
|
|
1332
|
+
dangerouslySetInnerHTML={
|
|
1333
|
+
Object {
|
|
1334
|
+
"__html": "Component error text :(",
|
|
1395
1335
|
}
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1336
|
+
}
|
|
1337
|
+
data-isinvalid={true}
|
|
1338
|
+
id="errored-helperText"
|
|
1339
|
+
/>
|
|
1400
1340
|
</div>
|
|
1401
1341
|
`;
|
|
1402
1342
|
|
|
1403
1343
|
exports[`Slider Single Slider renders the UI snapshot correctly 3`] = `
|
|
1404
1344
|
<div
|
|
1405
|
-
className="css-
|
|
1345
|
+
className="css-1xdhyk6"
|
|
1406
1346
|
>
|
|
1407
1347
|
<label
|
|
1408
|
-
className="css-
|
|
1348
|
+
className="css-1xdhyk6"
|
|
1409
1349
|
htmlFor="required-textInput-end"
|
|
1410
1350
|
id="required-label"
|
|
1411
1351
|
>
|
|
1412
1352
|
Label
|
|
1413
|
-
<
|
|
1414
|
-
|
|
1415
|
-
>
|
|
1416
|
-
Required
|
|
1417
|
-
</div>
|
|
1353
|
+
<span>
|
|
1354
|
+
(Required)
|
|
1355
|
+
</span>
|
|
1418
1356
|
</label>
|
|
1419
1357
|
<div
|
|
1420
1358
|
className="css-0"
|
|
@@ -1501,7 +1439,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 3`] = `
|
|
|
1501
1439
|
100
|
|
1502
1440
|
</div>
|
|
1503
1441
|
<div
|
|
1504
|
-
className="css-
|
|
1442
|
+
className="css-1ebeaqx"
|
|
1505
1443
|
>
|
|
1506
1444
|
<input
|
|
1507
1445
|
aria-label="Label"
|
|
@@ -1522,39 +1460,30 @@ exports[`Slider Single Slider renders the UI snapshot correctly 3`] = `
|
|
|
1522
1460
|
</div>
|
|
1523
1461
|
</div>
|
|
1524
1462
|
<div
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
dangerouslySetInnerHTML={
|
|
1532
|
-
Object {
|
|
1533
|
-
"__html": "Component helper text.",
|
|
1534
|
-
}
|
|
1463
|
+
aria-atomic={true}
|
|
1464
|
+
aria-live="off"
|
|
1465
|
+
className="css-1xdhyk6"
|
|
1466
|
+
dangerouslySetInnerHTML={
|
|
1467
|
+
Object {
|
|
1468
|
+
"__html": "Component helper text.",
|
|
1535
1469
|
}
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1470
|
+
}
|
|
1471
|
+
data-isinvalid={false}
|
|
1472
|
+
id="required-helperText"
|
|
1473
|
+
/>
|
|
1540
1474
|
</div>
|
|
1541
1475
|
`;
|
|
1542
1476
|
|
|
1543
1477
|
exports[`Slider Single Slider renders the UI snapshot correctly 4`] = `
|
|
1544
1478
|
<div
|
|
1545
|
-
className="css-
|
|
1479
|
+
className="css-1xdhyk6"
|
|
1546
1480
|
>
|
|
1547
1481
|
<label
|
|
1548
|
-
className="css-
|
|
1482
|
+
className="css-1xdhyk6"
|
|
1549
1483
|
htmlFor="disabled-textInput-end"
|
|
1550
1484
|
id="disabled-label"
|
|
1551
1485
|
>
|
|
1552
1486
|
Label
|
|
1553
|
-
<div
|
|
1554
|
-
className="css-0"
|
|
1555
|
-
>
|
|
1556
|
-
Optional
|
|
1557
|
-
</div>
|
|
1558
1487
|
</label>
|
|
1559
1488
|
<div
|
|
1560
1489
|
className="css-0"
|
|
@@ -1643,7 +1572,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 4`] = `
|
|
|
1643
1572
|
100
|
|
1644
1573
|
</div>
|
|
1645
1574
|
<div
|
|
1646
|
-
className="css-
|
|
1575
|
+
className="css-1ebeaqx"
|
|
1647
1576
|
>
|
|
1648
1577
|
<input
|
|
1649
1578
|
aria-label="Label"
|
|
@@ -1663,27 +1592,23 @@ exports[`Slider Single Slider renders the UI snapshot correctly 4`] = `
|
|
|
1663
1592
|
</div>
|
|
1664
1593
|
</div>
|
|
1665
1594
|
<div
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
dangerouslySetInnerHTML={
|
|
1673
|
-
Object {
|
|
1674
|
-
"__html": "Component helper text.",
|
|
1675
|
-
}
|
|
1595
|
+
aria-atomic={true}
|
|
1596
|
+
aria-live="off"
|
|
1597
|
+
className="css-1xdhyk6"
|
|
1598
|
+
dangerouslySetInnerHTML={
|
|
1599
|
+
Object {
|
|
1600
|
+
"__html": "Component helper text.",
|
|
1676
1601
|
}
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1602
|
+
}
|
|
1603
|
+
data-isinvalid={false}
|
|
1604
|
+
id="disabled-helperText"
|
|
1605
|
+
/>
|
|
1681
1606
|
</div>
|
|
1682
1607
|
`;
|
|
1683
1608
|
|
|
1684
1609
|
exports[`Slider Single Slider renders the UI snapshot correctly 5`] = `
|
|
1685
1610
|
<div
|
|
1686
|
-
className="css-
|
|
1611
|
+
className="css-1xdhyk6"
|
|
1687
1612
|
>
|
|
1688
1613
|
<div
|
|
1689
1614
|
className="css-0"
|
|
@@ -1769,7 +1694,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 5`] = `
|
|
|
1769
1694
|
100
|
|
1770
1695
|
</div>
|
|
1771
1696
|
<div
|
|
1772
|
-
className="css-
|
|
1697
|
+
className="css-1ebeaqx"
|
|
1773
1698
|
>
|
|
1774
1699
|
<input
|
|
1775
1700
|
aria-label="Label"
|
|
@@ -1793,19 +1718,14 @@ exports[`Slider Single Slider renders the UI snapshot correctly 5`] = `
|
|
|
1793
1718
|
|
|
1794
1719
|
exports[`Slider Single Slider renders the UI snapshot correctly 6`] = `
|
|
1795
1720
|
<div
|
|
1796
|
-
className="css-
|
|
1721
|
+
className="css-1xdhyk6"
|
|
1797
1722
|
>
|
|
1798
1723
|
<label
|
|
1799
|
-
className="css-
|
|
1724
|
+
className="css-1xdhyk6"
|
|
1800
1725
|
htmlFor={null}
|
|
1801
1726
|
id="noVisibleValues-label"
|
|
1802
1727
|
>
|
|
1803
1728
|
Label
|
|
1804
|
-
<div
|
|
1805
|
-
className="css-0"
|
|
1806
|
-
>
|
|
1807
|
-
Optional
|
|
1808
|
-
</div>
|
|
1809
1729
|
</label>
|
|
1810
1730
|
<div
|
|
1811
1731
|
className="css-0"
|
|
@@ -1882,32 +1802,121 @@ exports[`Slider Single Slider renders the UI snapshot correctly 6`] = `
|
|
|
1882
1802
|
/>
|
|
1883
1803
|
</div>
|
|
1884
1804
|
</div>
|
|
1805
|
+
<div
|
|
1806
|
+
aria-atomic={true}
|
|
1807
|
+
aria-live="off"
|
|
1808
|
+
className="css-1xdhyk6"
|
|
1809
|
+
dangerouslySetInnerHTML={
|
|
1810
|
+
Object {
|
|
1811
|
+
"__html": "Component helper text.",
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
data-isinvalid={false}
|
|
1815
|
+
id="noVisibleValues-helperText"
|
|
1816
|
+
/>
|
|
1817
|
+
</div>
|
|
1818
|
+
`;
|
|
1819
|
+
|
|
1820
|
+
exports[`Slider Single Slider renders the UI snapshot correctly 7`] = `
|
|
1821
|
+
<div
|
|
1822
|
+
className="css-1xdhyk6"
|
|
1823
|
+
>
|
|
1885
1824
|
<div
|
|
1886
1825
|
className="css-0"
|
|
1887
1826
|
>
|
|
1888
1827
|
<div
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
className=" css-0"
|
|
1892
|
-
dangerouslySetInnerHTML={
|
|
1828
|
+
className="chakra-slider css-0"
|
|
1829
|
+
style={
|
|
1893
1830
|
Object {
|
|
1894
|
-
"
|
|
1831
|
+
"WebkitTapHighlightColor": "rgba(0,0,0,0)",
|
|
1832
|
+
"outline": 0,
|
|
1833
|
+
"paddingBottom": 0,
|
|
1834
|
+
"paddingTop": 0,
|
|
1835
|
+
"position": "relative",
|
|
1836
|
+
"touchAction": "none",
|
|
1837
|
+
"userSelect": "none",
|
|
1895
1838
|
}
|
|
1896
1839
|
}
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1840
|
+
tabIndex={-1}
|
|
1841
|
+
>
|
|
1842
|
+
<div
|
|
1843
|
+
className="chakra-slider__track css-0"
|
|
1844
|
+
id="slider-track-onlySlider"
|
|
1845
|
+
style={
|
|
1846
|
+
Object {
|
|
1847
|
+
"position": "absolute",
|
|
1848
|
+
"top": "50%",
|
|
1849
|
+
"transform": "translateY(-50%)",
|
|
1850
|
+
"width": "100%",
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
>
|
|
1854
|
+
<div
|
|
1855
|
+
className="chakra-slider__filled-track css-0"
|
|
1856
|
+
style={
|
|
1857
|
+
Object {
|
|
1858
|
+
"left": "0%",
|
|
1859
|
+
"position": "absolute",
|
|
1860
|
+
"top": "50%",
|
|
1861
|
+
"transform": "translateY(-50%)",
|
|
1862
|
+
"width": "50%",
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
/>
|
|
1866
|
+
</div>
|
|
1867
|
+
<div
|
|
1868
|
+
aria-label="Label"
|
|
1869
|
+
aria-orientation="horizontal"
|
|
1870
|
+
aria-valuemax={100}
|
|
1871
|
+
aria-valuemin={0}
|
|
1872
|
+
aria-valuenow={50}
|
|
1873
|
+
className="chakra-slider__thumb css-0"
|
|
1874
|
+
id="slider-thumb-onlySlider"
|
|
1875
|
+
onBlur={[Function]}
|
|
1876
|
+
onFocus={[Function]}
|
|
1877
|
+
onKeyDown={[Function]}
|
|
1878
|
+
role="slider"
|
|
1879
|
+
style={
|
|
1880
|
+
Object {
|
|
1881
|
+
"MozUserSelect": "none",
|
|
1882
|
+
"WebkitUserSelect": "none",
|
|
1883
|
+
"left": "calc(50% - 0px)",
|
|
1884
|
+
"msUserSelect": "none",
|
|
1885
|
+
"position": "absolute",
|
|
1886
|
+
"touchAction": "none",
|
|
1887
|
+
"userSelect": "none",
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
tabIndex={0}
|
|
1891
|
+
/>
|
|
1892
|
+
<input
|
|
1893
|
+
type="hidden"
|
|
1894
|
+
value={50}
|
|
1895
|
+
/>
|
|
1896
|
+
</div>
|
|
1900
1897
|
</div>
|
|
1901
1898
|
</div>
|
|
1902
1899
|
`;
|
|
1903
1900
|
|
|
1904
|
-
exports[`Slider Single Slider renders the UI snapshot correctly
|
|
1901
|
+
exports[`Slider Single Slider renders the UI snapshot correctly 8`] = `
|
|
1905
1902
|
<div
|
|
1906
|
-
className="css-
|
|
1903
|
+
className="css-kle7zy"
|
|
1907
1904
|
>
|
|
1905
|
+
<label
|
|
1906
|
+
className="css-1xdhyk6"
|
|
1907
|
+
htmlFor="chakra-textInput-end"
|
|
1908
|
+
id="chakra-label"
|
|
1909
|
+
>
|
|
1910
|
+
Label
|
|
1911
|
+
</label>
|
|
1908
1912
|
<div
|
|
1909
1913
|
className="css-0"
|
|
1910
1914
|
>
|
|
1915
|
+
<div
|
|
1916
|
+
className="css-0"
|
|
1917
|
+
>
|
|
1918
|
+
0
|
|
1919
|
+
</div>
|
|
1911
1920
|
<div
|
|
1912
1921
|
className="chakra-slider css-0"
|
|
1913
1922
|
style={
|
|
@@ -1925,7 +1934,7 @@ exports[`Slider Single Slider renders the UI snapshot correctly 7`] = `
|
|
|
1925
1934
|
>
|
|
1926
1935
|
<div
|
|
1927
1936
|
className="chakra-slider__track css-0"
|
|
1928
|
-
id="slider-track-
|
|
1937
|
+
id="slider-track-chakra"
|
|
1929
1938
|
style={
|
|
1930
1939
|
Object {
|
|
1931
1940
|
"position": "absolute",
|
|
@@ -1949,13 +1958,145 @@ exports[`Slider Single Slider renders the UI snapshot correctly 7`] = `
|
|
|
1949
1958
|
/>
|
|
1950
1959
|
</div>
|
|
1951
1960
|
<div
|
|
1961
|
+
aria-label={null}
|
|
1962
|
+
aria-labelledby="chakra-label"
|
|
1963
|
+
aria-orientation="horizontal"
|
|
1964
|
+
aria-valuemax={100}
|
|
1965
|
+
aria-valuemin={0}
|
|
1966
|
+
aria-valuenow={50}
|
|
1967
|
+
className="chakra-slider__thumb css-0"
|
|
1968
|
+
id="slider-thumb-chakra"
|
|
1969
|
+
onBlur={[Function]}
|
|
1970
|
+
onFocus={[Function]}
|
|
1971
|
+
onKeyDown={[Function]}
|
|
1972
|
+
role="slider"
|
|
1973
|
+
style={
|
|
1974
|
+
Object {
|
|
1975
|
+
"MozUserSelect": "none",
|
|
1976
|
+
"WebkitUserSelect": "none",
|
|
1977
|
+
"left": "calc(50% - 0px)",
|
|
1978
|
+
"msUserSelect": "none",
|
|
1979
|
+
"position": "absolute",
|
|
1980
|
+
"touchAction": "none",
|
|
1981
|
+
"userSelect": "none",
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
tabIndex={0}
|
|
1985
|
+
/>
|
|
1986
|
+
<input
|
|
1987
|
+
type="hidden"
|
|
1988
|
+
value={50}
|
|
1989
|
+
/>
|
|
1990
|
+
</div>
|
|
1991
|
+
<div
|
|
1992
|
+
className="css-0"
|
|
1993
|
+
>
|
|
1994
|
+
100
|
|
1995
|
+
</div>
|
|
1996
|
+
<div
|
|
1997
|
+
className="css-1ebeaqx"
|
|
1998
|
+
>
|
|
1999
|
+
<input
|
|
1952
2000
|
aria-label="Label"
|
|
2001
|
+
className="chakra-input css-0"
|
|
2002
|
+
disabled={false}
|
|
2003
|
+
id="chakra-textInput-end"
|
|
2004
|
+
max={100}
|
|
2005
|
+
min={0}
|
|
2006
|
+
onBlur={[Function]}
|
|
2007
|
+
onChange={[Function]}
|
|
2008
|
+
onFocus={[Function]}
|
|
2009
|
+
required={false}
|
|
2010
|
+
step={1}
|
|
2011
|
+
type="number"
|
|
2012
|
+
value="50"
|
|
2013
|
+
/>
|
|
2014
|
+
</div>
|
|
2015
|
+
</div>
|
|
2016
|
+
<div
|
|
2017
|
+
aria-atomic={true}
|
|
2018
|
+
aria-live="off"
|
|
2019
|
+
className="css-1xdhyk6"
|
|
2020
|
+
dangerouslySetInnerHTML={
|
|
2021
|
+
Object {
|
|
2022
|
+
"__html": "Component helper text.",
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
data-isinvalid={false}
|
|
2026
|
+
id="chakra-helperText"
|
|
2027
|
+
/>
|
|
2028
|
+
</div>
|
|
2029
|
+
`;
|
|
2030
|
+
|
|
2031
|
+
exports[`Slider Single Slider renders the UI snapshot correctly 9`] = `
|
|
2032
|
+
<div
|
|
2033
|
+
className="css-1xdhyk6"
|
|
2034
|
+
data-testid="props"
|
|
2035
|
+
>
|
|
2036
|
+
<label
|
|
2037
|
+
className="css-1xdhyk6"
|
|
2038
|
+
htmlFor="props-textInput-end"
|
|
2039
|
+
id="props-label"
|
|
2040
|
+
>
|
|
2041
|
+
Label
|
|
2042
|
+
</label>
|
|
2043
|
+
<div
|
|
2044
|
+
className="css-0"
|
|
2045
|
+
>
|
|
2046
|
+
<div
|
|
2047
|
+
className="css-0"
|
|
2048
|
+
>
|
|
2049
|
+
0
|
|
2050
|
+
</div>
|
|
2051
|
+
<div
|
|
2052
|
+
className="chakra-slider css-0"
|
|
2053
|
+
style={
|
|
2054
|
+
Object {
|
|
2055
|
+
"WebkitTapHighlightColor": "rgba(0,0,0,0)",
|
|
2056
|
+
"outline": 0,
|
|
2057
|
+
"paddingBottom": 0,
|
|
2058
|
+
"paddingTop": 0,
|
|
2059
|
+
"position": "relative",
|
|
2060
|
+
"touchAction": "none",
|
|
2061
|
+
"userSelect": "none",
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
tabIndex={-1}
|
|
2065
|
+
>
|
|
2066
|
+
<div
|
|
2067
|
+
className="chakra-slider__track css-0"
|
|
2068
|
+
id="slider-track-props"
|
|
2069
|
+
style={
|
|
2070
|
+
Object {
|
|
2071
|
+
"position": "absolute",
|
|
2072
|
+
"top": "50%",
|
|
2073
|
+
"transform": "translateY(-50%)",
|
|
2074
|
+
"width": "100%",
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
>
|
|
2078
|
+
<div
|
|
2079
|
+
className="chakra-slider__filled-track css-0"
|
|
2080
|
+
style={
|
|
2081
|
+
Object {
|
|
2082
|
+
"left": "0%",
|
|
2083
|
+
"position": "absolute",
|
|
2084
|
+
"top": "50%",
|
|
2085
|
+
"transform": "translateY(-50%)",
|
|
2086
|
+
"width": "50%",
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
/>
|
|
2090
|
+
</div>
|
|
2091
|
+
<div
|
|
2092
|
+
aria-label={null}
|
|
2093
|
+
aria-labelledby="props-label"
|
|
1953
2094
|
aria-orientation="horizontal"
|
|
1954
2095
|
aria-valuemax={100}
|
|
1955
2096
|
aria-valuemin={0}
|
|
1956
2097
|
aria-valuenow={50}
|
|
1957
2098
|
className="chakra-slider__thumb css-0"
|
|
1958
|
-
id="slider-thumb-
|
|
2099
|
+
id="slider-thumb-props"
|
|
1959
2100
|
onBlur={[Function]}
|
|
1960
2101
|
onFocus={[Function]}
|
|
1961
2102
|
onKeyDown={[Function]}
|
|
@@ -1978,6 +2119,42 @@ exports[`Slider Single Slider renders the UI snapshot correctly 7`] = `
|
|
|
1978
2119
|
value={50}
|
|
1979
2120
|
/>
|
|
1980
2121
|
</div>
|
|
2122
|
+
<div
|
|
2123
|
+
className="css-0"
|
|
2124
|
+
>
|
|
2125
|
+
100
|
|
2126
|
+
</div>
|
|
2127
|
+
<div
|
|
2128
|
+
className="css-1ebeaqx"
|
|
2129
|
+
>
|
|
2130
|
+
<input
|
|
2131
|
+
aria-label="Label"
|
|
2132
|
+
className="chakra-input css-0"
|
|
2133
|
+
disabled={false}
|
|
2134
|
+
id="props-textInput-end"
|
|
2135
|
+
max={100}
|
|
2136
|
+
min={0}
|
|
2137
|
+
onBlur={[Function]}
|
|
2138
|
+
onChange={[Function]}
|
|
2139
|
+
onFocus={[Function]}
|
|
2140
|
+
required={false}
|
|
2141
|
+
step={1}
|
|
2142
|
+
type="number"
|
|
2143
|
+
value="50"
|
|
2144
|
+
/>
|
|
2145
|
+
</div>
|
|
1981
2146
|
</div>
|
|
2147
|
+
<div
|
|
2148
|
+
aria-atomic={true}
|
|
2149
|
+
aria-live="off"
|
|
2150
|
+
className="css-1xdhyk6"
|
|
2151
|
+
dangerouslySetInnerHTML={
|
|
2152
|
+
Object {
|
|
2153
|
+
"__html": "Component helper text.",
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
data-isinvalid={false}
|
|
2157
|
+
id="props-helperText"
|
|
2158
|
+
/>
|
|
1982
2159
|
</div>
|
|
1983
2160
|
`;
|