@solexllc/usx-react 0.7.0 → 0.8.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/README.md +5 -8
- package/dist/index.cjs +671 -428
- package/dist/index.js +671 -428
- package/package.json +2 -2
- package/src/components/accordion/Accordion.tsx +7 -9
- package/src/components/accordion/accordion.django-snapshot.html +515 -0
- package/src/components/accordion/accordion.django.html +9 -25
- package/src/components/accordion/accordion.html +471 -566
- package/src/components/accordion/accordion.react-snapshot.html +475 -0
- package/src/components/accordion/config.json +29 -3
- package/src/components/alert/Alert.tsx +4 -3
- package/src/components/alert/alert.django-snapshot.html +175 -0
- package/src/components/alert/alert.django.html +14 -12
- package/src/components/alert/alert.react-snapshot.html +152 -0
- package/src/components/alert/config.json +5 -8
- package/src/components/attribution/attribution.django-snapshot.html +57 -0
- package/src/components/attribution/attribution.django.html +2 -2
- package/src/components/attribution/attribution.react-snapshot.html +49 -0
- package/src/components/attribution/config.json +4 -0
- package/src/components/avatar/Avatar.tsx +6 -15
- package/src/components/avatar/avatar.django-snapshot.html +131 -0
- package/src/components/avatar/avatar.django.html +9 -10
- package/src/components/avatar/avatar.react-snapshot.html +121 -0
- package/src/components/avatar/config.json +10 -3
- package/src/components/avatar-group/AvatarGroup.tsx +3 -3
- package/src/components/avatar-group/avatar-group.django-snapshot.html +278 -0
- package/src/components/avatar-group/avatar-group.django.html +3 -3
- package/src/components/avatar-group/avatar-group.html +5 -5
- package/src/components/avatar-group/avatar-group.react-snapshot.html +226 -0
- package/src/components/back-to-top/BackToTop.tsx +7 -2
- package/src/components/back-to-top/back-to-top.django-snapshot.html +339 -0
- package/src/components/back-to-top/back-to-top.django.html +6 -4
- package/src/components/back-to-top/back-to-top.react-snapshot.html +264 -0
- package/src/components/back-to-top/config.json +9 -0
- package/src/components/banner/banner.django-snapshot.html +329 -0
- package/src/components/banner/banner.django.html +2 -2
- package/src/components/banner/banner.html +87 -185
- package/src/components/banner/banner.react-snapshot.html +317 -0
- package/src/components/banner/config.json +3 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +1 -1
- package/src/components/breadcrumb/breadcrumb.django-snapshot.html +103 -0
- package/src/components/breadcrumb/breadcrumb.django.html +5 -6
- package/src/components/breadcrumb/breadcrumb.react-snapshot.html +87 -0
- package/src/components/breadcrumb/config.json +2 -8
- package/src/components/button/Button.tsx +1 -0
- package/src/components/button/button.django-snapshot.html +558 -0
- package/src/components/button/button.django.html +4 -4
- package/src/components/button/button.react-snapshot.html +574 -0
- package/src/components/button/config.json +4 -0
- package/src/components/button-group/button-group.django-snapshot.html +129 -0
- package/src/components/button-group/button-group.django.html +1 -1
- package/src/components/button-group/button-group.react-snapshot.html +115 -0
- package/src/components/button-group/config.json +16 -0
- package/src/components/calendar-date/calendar-date.django-snapshot.html +7 -0
- package/src/components/calendar-date/calendar-date.django.html +1 -1
- package/src/components/calendar-date/calendar-date.react-snapshot.html +7 -0
- package/src/components/calendar-date/config.json +3 -0
- package/src/components/callout/Callout.tsx +2 -4
- package/src/components/callout/callout.django-snapshot.html +59 -0
- package/src/components/callout/callout.django.html +1 -1
- package/src/components/callout/callout.react-snapshot.html +57 -0
- package/src/components/callout/config.json +5 -2
- package/src/components/card/Card.tsx +2 -2
- package/src/components/card/card.django-snapshot.html +1198 -0
- package/src/components/card/card.django.html +3 -3
- package/src/components/card/card.react-snapshot.html +1028 -0
- package/src/components/card/config.json +21 -4
- package/src/components/card-group/CardGroup.tsx +1 -1
- package/src/components/card-group/card-group.django-snapshot.html +514 -0
- package/src/components/card-group/card-group.django.html +2 -2
- package/src/components/card-group/card-group.react-snapshot.html +445 -0
- package/src/components/card-group/config.json +80 -2
- package/src/components/carousel/Carousel.tsx +3 -0
- package/src/components/carousel/carousel.django-snapshot.html +927 -0
- package/src/components/carousel/carousel.django.html +2 -2
- package/src/components/carousel/carousel.react-snapshot.html +762 -0
- package/src/components/carousel/config.json +18 -0
- package/src/components/character-count/CharacterCount.tsx +1 -3
- package/src/components/character-count/character-count.django-snapshot.html +402 -0
- package/src/components/character-count/character-count.django.html +1 -1
- package/src/components/character-count/character-count.react-snapshot.html +346 -0
- package/src/components/character-count/config.json +5 -0
- package/src/components/checkbox/Checkbox.tsx +7 -2
- package/src/components/checkbox/checkbox.django-snapshot.html +373 -0
- package/src/components/checkbox/checkbox.django.html +22 -3
- package/src/components/checkbox/checkbox.react-snapshot.html +313 -0
- package/src/components/checkbox/config.json +12 -1
- package/src/components/checkbox-group/CheckboxGroup.tsx +1 -0
- package/src/components/checkbox-group/checkbox-group.django-snapshot.html +372 -0
- package/src/components/checkbox-group/checkbox-group.django.html +2 -2
- package/src/components/checkbox-group/checkbox-group.react-snapshot.html +300 -0
- package/src/components/checkbox-group/config.json +24 -0
- package/src/components/clickable/clickable-bg-color-change.django.html +1 -0
- package/src/components/clickable/clickable-color-change.django.html +1 -0
- package/src/components/clickable/clickable-link.django.html +1 -0
- package/src/components/clickable/clickable.django-snapshot.html +221 -0
- package/src/components/clickable/clickable.django.html +6 -2
- package/src/components/clickable/clickable.react-snapshot.html +194 -0
- package/src/components/clickable/config.json +9 -7
- package/src/components/code/code.django-snapshot.html +375 -0
- package/src/components/code/code.django.html +1 -1
- package/src/components/code/code.html +201 -38
- package/src/components/code/code.react-snapshot.html +249 -0
- package/src/components/code/config.json +18 -0
- package/src/components/collection/collection.django-snapshot.html +238 -0
- package/src/components/collection/collection.django.html +1 -1
- package/src/components/collection/collection.react-snapshot.html +200 -0
- package/src/components/collection/config.json +49 -0
- package/src/components/combobox/Combobox.tsx +1 -0
- package/src/components/combobox/combobox.django-snapshot.html +1302 -0
- package/src/components/combobox/combobox.django.html +3 -5
- package/src/components/combobox/combobox.react-snapshot.html +714 -0
- package/src/components/combobox/config.json +269 -2
- package/src/components/container/Container.tsx +3 -3
- package/src/components/container/config.json +9 -5
- package/src/components/container/container.django-snapshot.html +2820 -0
- package/src/components/container/container.django.html +2 -2
- package/src/components/container/container.react-snapshot.html +2400 -0
- package/src/components/copy-to-clipboard/CopyToClipboard.tsx +2 -2
- package/src/components/copy-to-clipboard/config.json +8 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django-snapshot.html +84 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +1 -1
- package/src/components/copy-to-clipboard/copy-to-clipboard.react-snapshot.html +60 -0
- package/src/components/date-picker/date-picker.django-snapshot.html +150 -0
- package/src/components/date-picker/date-picker.django.html +1 -1
- package/src/components/date-picker/date-picker.react-snapshot.html +122 -0
- package/src/components/date-range-picker/date-range-picker.django-snapshot.html +301 -0
- package/src/components/date-range-picker/date-range-picker.django.html +1 -1
- package/src/components/date-range-picker/date-range-picker.react-snapshot.html +246 -0
- package/src/components/details/Details.tsx +8 -28
- package/src/components/details/config.json +11 -28
- package/src/components/details/details.django-snapshot.html +238 -0
- package/src/components/details/details.django.html +7 -4
- package/src/components/details/details.html +72 -43
- package/src/components/details/details.react-snapshot.html +215 -0
- package/src/components/drawer/Drawer.tsx +125 -0
- package/src/components/drawer/config.json +97 -0
- package/src/components/drawer/drawer.django-snapshot.html +1711 -0
- package/src/components/drawer/drawer.django.html +34 -0
- package/src/components/drawer/drawer.html +1031 -0
- package/src/components/drawer/drawer.react-snapshot.html +1027 -0
- package/src/components/error-message/config.json +4 -0
- package/src/components/error-message/error-message.django-snapshot.html +12 -0
- package/src/components/error-message/error-message.react-snapshot.html +12 -0
- package/src/components/error-page/config.json +3 -2
- package/src/components/error-page/error-page.django-snapshot.html +570 -0
- package/src/components/error-page/error-page.django.html +2 -2
- package/src/components/error-page/error-page.html +2 -2
- package/src/components/error-page/error-page.react-snapshot.html +467 -0
- package/src/components/eyebrow/config.json +3 -0
- package/src/components/eyebrow/eyebrow.django-snapshot.html +8 -0
- package/src/components/eyebrow/eyebrow.react-snapshot.html +8 -0
- package/src/components/fieldset/config.json +4 -0
- package/src/components/fieldset/fieldset.django-snapshot.html +50 -0
- package/src/components/fieldset/fieldset.django.html +2 -1
- package/src/components/fieldset/fieldset.react-snapshot.html +39 -0
- package/src/components/file-input/FileInput.tsx +2 -1
- package/src/components/file-input/_contents.django.html +29 -0
- package/src/components/file-input/config.json +7 -3
- package/src/components/file-input/file-input.django-snapshot.html +534 -0
- package/src/components/file-input/file-input.django.html +3 -50
- package/src/components/file-input/file-input.html +246 -286
- package/src/components/file-input/file-input.react-snapshot.html +440 -0
- package/src/components/file-list/config.json +2 -2
- package/src/components/file-list/file-list.django-snapshot.html +328 -0
- package/src/components/file-list/file-list.django.html +9 -6
- package/src/components/file-list/file-list.react-snapshot.html +276 -0
- package/src/components/footer/config.json +162 -1
- package/src/components/footer/footer.django-snapshot.html +1009 -0
- package/src/components/footer/footer.django.html +10 -7
- package/src/components/footer/footer.html +21 -21
- package/src/components/footer/footer.react-snapshot.html +796 -0
- package/src/components/form-group/config.json +3 -0
- package/src/components/form-group/form-group.django-snapshot.html +50 -0
- package/src/components/form-group/form-group.django.html +1 -1
- package/src/components/form-group/form-group.react-snapshot.html +43 -0
- package/src/components/header/Header.tsx +3 -3
- package/src/components/header/branding.django.html +14 -0
- package/src/components/header/config.json +73 -0
- package/src/components/header/header.django-snapshot.html +3395 -0
- package/src/components/header/header.django.html +9 -5
- package/src/components/header/header.html +54 -54
- package/src/components/header/header.react-snapshot.html +2675 -0
- package/src/components/hero/Hero.tsx +4 -4
- package/src/components/hero/config.json +7 -6
- package/src/components/hero/hero.django-snapshot.html +409 -0
- package/src/components/hero/hero.django.html +5 -5
- package/src/components/hero/hero.html +13 -14
- package/src/components/hero/hero.react-snapshot.html +353 -0
- package/src/components/hint/config.json +4 -0
- package/src/components/hint/hint.django-snapshot.html +7 -0
- package/src/components/hint/hint.react-snapshot.html +7 -0
- package/src/components/icon/Icon.tsx +14 -12
- package/src/components/icon/config.json +7 -15
- package/src/components/icon/icon.django-snapshot.html +69 -0
- package/src/components/icon/icon.django.html +4 -10
- package/src/components/icon/icon.html +90 -90
- package/src/components/icon/icon.react-snapshot.html +69 -0
- package/src/components/icon-list/icon-list.django-snapshot.html +244 -0
- package/src/components/icon-list/icon-list.django.html +2 -2
- package/src/components/icon-list/icon-list.react-snapshot.html +215 -0
- package/src/components/identifier/Identifier.tsx +1 -1
- package/src/components/identifier/config.json +1 -1
- package/src/components/identifier/identifier.django-snapshot.html +1129 -0
- package/src/components/identifier/identifier.django.html +3 -3
- package/src/components/identifier/identifier.html +2 -2
- package/src/components/identifier/identifier.react-snapshot.html +959 -0
- package/src/components/image/config.json +4 -0
- package/src/components/image/image.django-snapshot.html +166 -0
- package/src/components/image/image.django.html +1 -1
- package/src/components/image/image.html +4 -4
- package/src/components/image/image.react-snapshot.html +150 -0
- package/src/components/in-page-nav/InPageNav.tsx +4 -3
- package/src/components/in-page-nav/config.json +5 -11
- package/src/components/in-page-nav/in-page-nav.django-snapshot.html +228 -0
- package/src/components/in-page-nav/in-page-nav.django.html +4 -4
- package/src/components/in-page-nav/in-page-nav.react-snapshot.html +228 -0
- package/src/components/indicator/config.json +8 -0
- package/src/components/indicator/indicator.django-snapshot.html +57 -0
- package/src/components/indicator/indicator.react-snapshot.html +44 -0
- package/src/components/input/config.json +18 -1
- package/src/components/input/input.django-snapshot.html +121 -0
- package/src/components/input/input.django.html +16 -8
- package/src/components/input/input.react-snapshot.html +94 -0
- package/src/components/label/Label.tsx +4 -1
- package/src/components/label/config.json +7 -0
- package/src/components/label/label.django-snapshot.html +22 -0
- package/src/components/label/label.django.html +4 -1
- package/src/components/label/label.react-snapshot.html +22 -0
- package/src/components/language-selector/config.json +9 -13
- package/src/components/language-selector/language-selector.django-snapshot.html +183 -0
- package/src/components/language-selector/language-selector.django.html +3 -3
- package/src/components/language-selector/language-selector.react-snapshot.html +169 -0
- package/src/components/layout/Layout.tsx +12 -1
- package/src/components/layout/config.json +8 -0
- package/src/components/layout/layout.django-snapshot.html +987 -0
- package/src/components/layout/layout.django.html +2 -2
- package/src/components/layout/layout.react-snapshot.html +876 -0
- package/src/components/legend/config.json +3 -0
- package/src/components/legend/legend.django-snapshot.html +13 -0
- package/src/components/legend/legend.django.html +1 -1
- package/src/components/legend/legend.react-snapshot.html +13 -0
- package/src/components/link/Link.tsx +3 -1
- package/src/components/link/config.json +9 -1
- package/src/components/link/link.django-snapshot.html +45 -0
- package/src/components/link/link.django.html +2 -2
- package/src/components/link/link.react-snapshot.html +45 -0
- package/src/components/list/config.json +7 -0
- package/src/components/list/list.django-snapshot.html +61 -0
- package/src/components/list/list.django.html +1 -1
- package/src/components/list/list.react-snapshot.html +46 -0
- package/src/components/memorable-date/config.json +1 -2
- package/src/components/memorable-date/memorable-date.django-snapshot.html +536 -0
- package/src/components/memorable-date/memorable-date.django.html +3 -1
- package/src/components/memorable-date/memorable-date.react-snapshot.html +437 -0
- package/src/components/misc-banner/MiscBanner.tsx +16 -10
- package/src/components/misc-banner/config.json +22 -4
- package/src/components/misc-banner/misc-banner.django-snapshot.html +370 -0
- package/src/components/misc-banner/misc-banner.django.html +15 -15
- package/src/components/misc-banner/misc-banner.react-snapshot.html +332 -0
- package/src/components/modal/config.json +22 -0
- package/src/components/modal/modal.django-snapshot.html +252 -0
- package/src/components/modal/modal.django.html +5 -9
- package/src/components/modal/modal.react-snapshot.html +229 -0
- package/src/components/page/Page.tsx +2 -3
- package/src/components/page/config.json +11 -2
- package/src/components/page/page.django-snapshot.html +44 -0
- package/src/components/page/page.django.html +4 -2
- package/src/components/page/page.react-snapshot.html +44 -0
- package/src/components/pagination/Pagination.tsx +49 -55
- package/src/components/pagination/config.json +58 -9
- package/src/components/pagination/navigation/PaginationNavigation.tsx +24 -34
- package/src/components/pagination/navigation/pagination-navigation.django.html +16 -23
- package/src/components/pagination/pagination.django-snapshot.html +2078 -0
- package/src/components/pagination/pagination.django.html +14 -4
- package/src/components/pagination/pagination.react-snapshot.html +1738 -0
- package/src/components/pagination/step-options/PaginationStepOptions.tsx +2 -8
- package/src/components/pagination/step-options/pagination-step-options.django.html +1 -1
- package/src/components/popover/Popover.tsx +114 -0
- package/src/components/popover/PopoverMenu.tsx +80 -0
- package/src/components/popover/config.json +130 -0
- package/src/components/popover/popover-menu.django.html +35 -0
- package/src/components/popover/popover.django-snapshot.html +1201 -0
- package/src/components/popover/popover.django.html +11 -0
- package/src/components/popover/popover.html +1081 -0
- package/src/components/popover/popover.react-snapshot.html +1101 -0
- package/src/components/process-list/ProcessList.tsx +6 -21
- package/src/components/process-list/config.json +18 -2
- package/src/components/process-list/process-list.django-snapshot.html +90 -0
- package/src/components/process-list/process-list.django.html +2 -2
- package/src/components/process-list/process-list.react-snapshot.html +78 -0
- package/src/components/prose/Prose.tsx +3 -3
- package/src/components/prose/config.json +6 -2
- package/src/components/prose/prose.django-snapshot.html +250 -0
- package/src/components/prose/prose.django.html +3 -3
- package/src/components/prose/prose.react-snapshot.html +250 -0
- package/src/components/quote/Quote.tsx +2 -2
- package/src/components/quote/config.json +5 -2
- package/src/components/quote/quote.django-snapshot.html +348 -0
- package/src/components/quote/quote.django.html +2 -2
- package/src/components/quote/quote.react-snapshot.html +322 -0
- package/src/components/radio-buttons/RadioButtons.tsx +15 -13
- package/src/components/radio-buttons/config.json +23 -0
- package/src/components/radio-buttons/radio-buttons.django-snapshot.html +760 -0
- package/src/components/radio-buttons/radio-buttons.django.html +12 -4
- package/src/components/radio-buttons/radio-buttons.react-snapshot.html +592 -0
- package/src/components/range-slider/RangeSlider.tsx +1 -1
- package/src/components/range-slider/range-slider.django-snapshot.html +157 -0
- package/src/components/range-slider/range-slider.django.html +1 -1
- package/src/components/range-slider/range-slider.react-snapshot.html +134 -0
- package/src/components/required/config.json +6 -3
- package/src/components/required/required.django-snapshot.html +5 -0
- package/src/components/required/required.react-snapshot.html +5 -0
- package/src/components/search/Search.tsx +6 -9
- package/src/components/search/config.json +5 -3
- package/src/components/search/search.django-snapshot.html +1795 -0
- package/src/components/search/search.django.html +7 -6
- package/src/components/search/search.react-snapshot.html +393 -0
- package/src/components/section/Section.tsx +3 -3
- package/src/components/section/config.json +12 -4
- package/src/components/section/section.django-snapshot.html +87 -0
- package/src/components/section/section.django.html +6 -6
- package/src/components/section/section.react-snapshot.html +78 -0
- package/src/components/select/Select.tsx +1 -0
- package/src/components/select/config.json +18 -0
- package/src/components/select/select.django-snapshot.html +146 -0
- package/src/components/select/select.django.html +1 -1
- package/src/components/select/select.react-snapshot.html +104 -0
- package/src/components/sidenav/config.json +17 -0
- package/src/components/sidenav/sidenav.django-snapshot.html +94 -0
- package/src/components/sidenav/sidenav.django.html +2 -2
- package/src/components/sidenav/sidenav.react-snapshot.html +55 -0
- package/src/components/site-alert/SiteAlert.tsx +10 -38
- package/src/components/site-alert/config.json +10 -3
- package/src/components/site-alert/site-alert.django-snapshot.html +400 -0
- package/src/components/site-alert/site-alert.django.html +1 -1
- package/src/components/site-alert/site-alert.react-snapshot.html +332 -0
- package/src/components/skipnav/config.json +3 -0
- package/src/components/skipnav/skipnav.django-snapshot.html +40 -0
- package/src/components/skipnav/skipnav.django.html +1 -1
- package/src/components/skipnav/skipnav.react-snapshot.html +33 -0
- package/src/components/spinner/Spinner.tsx +1 -0
- package/src/components/spinner/config.json +7 -0
- package/src/components/spinner/spinner.django-snapshot.html +299 -0
- package/src/components/spinner/spinner.django.html +1 -1
- package/src/components/spinner/spinner.react-snapshot.html +302 -0
- package/src/components/status/config.json +1 -0
- package/src/components/status/status.django-snapshot.html +71 -0
- package/src/components/status/status.react-snapshot.html +71 -0
- package/src/components/step-indicator/StepIndicator.tsx +4 -4
- package/src/components/step-indicator/config.json +22 -2
- package/src/components/step-indicator/step-indicator.django-snapshot.html +224 -0
- package/src/components/step-indicator/step-indicator.django.html +3 -3
- package/src/components/step-indicator/step-indicator.react-snapshot.html +204 -0
- package/src/components/summary/Summary.tsx +54 -0
- package/src/components/summary/config.json +56 -0
- package/src/components/summary/summary.django-snapshot.html +36 -0
- package/src/components/summary/summary.django.html +11 -0
- package/src/components/summary/summary.html +17 -0
- package/src/components/summary/summary.react-snapshot.html +36 -0
- package/src/components/summary-box/config.json +5 -0
- package/src/components/summary-box/summary-box.django-snapshot.html +188 -0
- package/src/components/summary-box/summary-box.react-snapshot.html +177 -0
- package/src/components/swap/config.json +3 -3
- package/src/components/swap/swap.django-snapshot.html +110 -0
- package/src/components/swap/swap.html +1 -1
- package/src/components/swap/swap.react-snapshot.html +100 -0
- package/src/components/switch/config.json +3 -0
- package/src/components/switch/switch.django-snapshot.html +73 -0
- package/src/components/switch/switch.django.html +6 -8
- package/src/components/switch/switch.react-snapshot.html +73 -0
- package/src/components/table/Table.tsx +27 -11
- package/src/components/table/TableBody.tsx +12 -9
- package/src/components/table/config.json +46 -1
- package/src/components/table/table-detail-row.django.html +1 -1
- package/src/components/table/table-foot.django.html +1 -1
- package/src/components/table/table-head.django.html +1 -1
- package/src/components/table/table.django-snapshot.html +1970 -0
- package/src/components/table/table.react-snapshot.html +2166 -0
- package/src/components/tag/config.json +3 -0
- package/src/components/tag/tag.django-snapshot.html +109 -0
- package/src/components/tag/tag.django.html +4 -4
- package/src/components/tag/tag.react-snapshot.html +99 -0
- package/src/components/tag-group/config.json +24 -0
- package/src/components/tag-group/tag-group.django-snapshot.html +25 -0
- package/src/components/tag-group/tag-group.django.html +1 -1
- package/src/components/tag-group/tag-group.react-snapshot.html +17 -0
- package/src/components/task-list/config.json +33 -0
- package/src/components/task-list/task-list.django-snapshot.html +273 -0
- package/src/components/task-list/task-list.django.html +1 -1
- package/src/components/task-list/task-list.react-snapshot.html +252 -0
- package/src/components/text-area/TextArea.tsx +1 -1
- package/src/components/text-area/config.json +5 -0
- package/src/components/text-area/text-area.django-snapshot.html +127 -0
- package/src/components/text-area/text-area.django.html +3 -3
- package/src/components/text-area/text-area.react-snapshot.html +108 -0
- package/src/components/theme-picker/ThemePicker.tsx +45 -60
- package/src/components/theme-picker/config.json +54 -2
- package/src/components/theme-picker/theme-picker.django-snapshot.html +109 -0
- package/src/components/theme-picker/theme-picker.django.html +8 -8
- package/src/components/theme-picker/theme-picker.react-snapshot.html +94 -0
- package/src/components/time-picker/TimePicker.tsx +15 -9
- package/src/components/time-picker/config.json +2 -2
- package/src/components/time-picker/time-picker.django-snapshot.html +190 -0
- package/src/components/time-picker/time-picker.django.html +2 -2
- package/src/components/time-picker/time-picker.html +7 -7
- package/src/components/time-picker/time-picker.react-snapshot.html +157 -0
- package/src/components/toggle/_option.django.html +21 -0
- package/src/components/toggle/config.json +23 -2
- package/src/components/toggle/toggle.django-snapshot.html +419 -0
- package/src/components/toggle/toggle.django.html +10 -21
- package/src/components/toggle/toggle.html +318 -323
- package/src/components/toggle/toggle.react-snapshot.html +419 -0
- package/src/components/tooltip/Tooltip.tsx +2 -2
- package/src/components/tooltip/config.json +6 -1
- package/src/components/tooltip/tooltip.django-snapshot.html +57 -0
- package/src/components/tooltip/tooltip.django.html +1 -1
- package/src/components/tooltip/tooltip.react-snapshot.html +62 -0
- package/src/components/tree/Tree.tsx +91 -0
- package/src/components/tree/_tree-items.django.html +15 -0
- package/src/components/tree/config.json +105 -0
- package/src/components/tree/tree.django-snapshot.html +525 -0
- package/src/components/tree/tree.django.html +5 -0
- package/src/components/tree/tree.html +432 -0
- package/src/components/tree/tree.react-snapshot.html +432 -0
- package/src/components/villain/config.json +9 -0
- package/src/components/villain/villain.django-snapshot.html +44 -0
- package/src/components/villain/villain.react-snapshot.html +35 -0
- package/src/index.js +4 -0
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
{# Django template for RadioButtons #}
|
|
2
|
-
{% load
|
|
2
|
+
{% load usx_components %}
|
|
3
3
|
|
|
4
|
+
{% with groupName=name|default:"radio-group" %}
|
|
4
5
|
{% form_group error=error %}
|
|
5
|
-
{% fieldset legend=legend required=required hint=hint error=error %}
|
|
6
|
+
{% fieldset legend=legend|default:"Select one option" required=required hint=hint error=error id=id %}
|
|
6
7
|
{% for opt in options %}
|
|
7
|
-
{% with
|
|
8
|
+
{% with index=forloop.counter0|stringformat:"s" %}
|
|
9
|
+
{% with baseId=id|default:groupName %}
|
|
10
|
+
{% with generatedId=baseId|add:"-"|add:index %}
|
|
11
|
+
{% with optionId=opt.id|default:generatedId %}
|
|
8
12
|
<div class="usa-radio usx-radio {% if small %}usx-radio--small{% endif %} {{ className }}">
|
|
9
13
|
<input
|
|
10
14
|
class="usa-radio__input{% if tile %} usa-radio__input--tile{% endif %}"
|
|
11
15
|
id="{{ optionId }}"
|
|
12
16
|
type="radio"
|
|
13
|
-
name="{{
|
|
17
|
+
name="{{ groupName }}"
|
|
14
18
|
value="{{ opt.value }}"
|
|
15
19
|
{% if defaultValue == opt.value or opt.checked %}checked="checked"{% endif %}
|
|
16
20
|
{% if opt.disabled %}disabled="disabled"{% endif %}
|
|
@@ -22,7 +26,11 @@
|
|
|
22
26
|
{% endlabel %}
|
|
23
27
|
</div>
|
|
24
28
|
{% endwith %}
|
|
29
|
+
{% endwith %}
|
|
30
|
+
{% endwith %}
|
|
31
|
+
{% endwith %}
|
|
25
32
|
{% endfor %}
|
|
26
33
|
{% endfieldset %}
|
|
27
34
|
{% endform_group %}
|
|
35
|
+
{% endwith %}
|
|
28
36
|
|
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<div class="usa-form-group usx-form-group">
|
|
3
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-historical-figures">
|
|
4
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
5
|
+
<div class="usa-radio usx-radio">
|
|
6
|
+
<input
|
|
7
|
+
class="usa-radio__input"
|
|
8
|
+
id="react-historical-figures-0"
|
|
9
|
+
type="radio"
|
|
10
|
+
name="historical-figures"
|
|
11
|
+
value="sojourner-truth"
|
|
12
|
+
/><label class="usa-radio__label" for="react-historical-figures-0">Sojourner Truth</label>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="usa-radio usx-radio">
|
|
15
|
+
<input
|
|
16
|
+
class="usa-radio__input"
|
|
17
|
+
id="react-historical-figures-1"
|
|
18
|
+
type="radio"
|
|
19
|
+
name="historical-figures"
|
|
20
|
+
value="frederick-douglass"
|
|
21
|
+
/><label class="usa-radio__label" for="react-historical-figures-1">Frederick Douglass</label>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="usa-radio usx-radio">
|
|
24
|
+
<input
|
|
25
|
+
class="usa-radio__input"
|
|
26
|
+
id="react-historical-figures-2"
|
|
27
|
+
type="radio"
|
|
28
|
+
name="historical-figures"
|
|
29
|
+
value="booker-t-washington"
|
|
30
|
+
/><label class="usa-radio__label" for="react-historical-figures-2"
|
|
31
|
+
>Booker T. Washington</label
|
|
32
|
+
>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="usa-radio usx-radio">
|
|
35
|
+
<input
|
|
36
|
+
class="usa-radio__input"
|
|
37
|
+
id="react-historical-figures-3"
|
|
38
|
+
type="radio"
|
|
39
|
+
name="historical-figures"
|
|
40
|
+
disabled=""
|
|
41
|
+
value="george-washington-carver"
|
|
42
|
+
/><label class="usa-radio__label" for="react-historical-figures-3"
|
|
43
|
+
>George Washington Carver</label
|
|
44
|
+
>
|
|
45
|
+
</div>
|
|
46
|
+
</fieldset>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<h3 class="site-preview-heading">With Default Value</h3>
|
|
50
|
+
<div class="usa-form-group usx-form-group">
|
|
51
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-historical-figures-with-default">
|
|
52
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
53
|
+
<div class="usa-radio usx-radio">
|
|
54
|
+
<input
|
|
55
|
+
class="usa-radio__input"
|
|
56
|
+
id="react-historical-figures-with-default-0"
|
|
57
|
+
type="radio"
|
|
58
|
+
name="historical-figures-with-default"
|
|
59
|
+
value="sojourner-truth"
|
|
60
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-default-0"
|
|
61
|
+
>Sojourner Truth</label
|
|
62
|
+
>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="usa-radio usx-radio">
|
|
65
|
+
<input
|
|
66
|
+
class="usa-radio__input"
|
|
67
|
+
id="react-historical-figures-with-default-1"
|
|
68
|
+
type="radio"
|
|
69
|
+
name="historical-figures-with-default"
|
|
70
|
+
checked=""
|
|
71
|
+
value="frederick-douglass"
|
|
72
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-default-1"
|
|
73
|
+
>Frederick Douglass</label
|
|
74
|
+
>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="usa-radio usx-radio">
|
|
77
|
+
<input
|
|
78
|
+
class="usa-radio__input"
|
|
79
|
+
id="react-historical-figures-with-default-2"
|
|
80
|
+
type="radio"
|
|
81
|
+
name="historical-figures-with-default"
|
|
82
|
+
value="booker-t-washington"
|
|
83
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-default-2"
|
|
84
|
+
>Booker T. Washington</label
|
|
85
|
+
>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="usa-radio usx-radio">
|
|
88
|
+
<input
|
|
89
|
+
class="usa-radio__input"
|
|
90
|
+
id="react-historical-figures-with-default-3"
|
|
91
|
+
type="radio"
|
|
92
|
+
name="historical-figures-with-default"
|
|
93
|
+
disabled=""
|
|
94
|
+
value="george-washington-carver"
|
|
95
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-default-3"
|
|
96
|
+
>George Washington Carver</label
|
|
97
|
+
>
|
|
98
|
+
</div>
|
|
99
|
+
</fieldset>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<h3 class="site-preview-heading">With Descriptions</h3>
|
|
103
|
+
<div class="usa-form-group usx-form-group">
|
|
104
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-historical-figures-with-descriptions">
|
|
105
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
106
|
+
<div class="usa-radio usx-radio">
|
|
107
|
+
<input
|
|
108
|
+
class="usa-radio__input"
|
|
109
|
+
id="react-historical-figures-with-descriptions-0"
|
|
110
|
+
type="radio"
|
|
111
|
+
name="historical-figures-with-descriptions"
|
|
112
|
+
value="sojourner-truth"
|
|
113
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-descriptions-0"
|
|
114
|
+
>Sojourner Truth<span class="usa-checkbox__label-description"
|
|
115
|
+
>A prominent abolitionist and women's rights activist.</span
|
|
116
|
+
></label
|
|
117
|
+
>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="usa-radio usx-radio">
|
|
120
|
+
<input
|
|
121
|
+
class="usa-radio__input"
|
|
122
|
+
id="react-historical-figures-with-descriptions-1"
|
|
123
|
+
type="radio"
|
|
124
|
+
name="historical-figures-with-descriptions"
|
|
125
|
+
value="frederick-douglass"
|
|
126
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-descriptions-1"
|
|
127
|
+
>Frederick Douglass<span class="usa-checkbox__label-description"
|
|
128
|
+
>A former enslaved person who became a national leader of the abolitionist movement.</span
|
|
129
|
+
></label
|
|
130
|
+
>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="usa-radio usx-radio">
|
|
133
|
+
<input
|
|
134
|
+
class="usa-radio__input"
|
|
135
|
+
id="react-historical-figures-with-descriptions-2"
|
|
136
|
+
type="radio"
|
|
137
|
+
name="historical-figures-with-descriptions"
|
|
138
|
+
value="booker-t-washington"
|
|
139
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-descriptions-2"
|
|
140
|
+
>Booker T. Washington<span class="usa-checkbox__label-description"
|
|
141
|
+
>An influential African American educator, author, orator, and advisor to multiple
|
|
142
|
+
presidents of the United States.</span
|
|
143
|
+
></label
|
|
144
|
+
>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="usa-radio usx-radio">
|
|
147
|
+
<input
|
|
148
|
+
class="usa-radio__input"
|
|
149
|
+
id="react-historical-figures-with-descriptions-3"
|
|
150
|
+
type="radio"
|
|
151
|
+
name="historical-figures-with-descriptions"
|
|
152
|
+
disabled=""
|
|
153
|
+
value="george-washington-carver"
|
|
154
|
+
/><label class="usa-radio__label" for="react-historical-figures-with-descriptions-3"
|
|
155
|
+
>George Washington Carver<span class="usa-checkbox__label-description"
|
|
156
|
+
>An American agricultural scientist and inventor who promoted alternative crops to cotton
|
|
157
|
+
and methods to prevent soil depletion.</span
|
|
158
|
+
></label
|
|
159
|
+
>
|
|
160
|
+
</div>
|
|
161
|
+
</fieldset>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<h3 class="site-preview-heading">Tile</h3>
|
|
165
|
+
<div class="usa-form-group usx-form-group">
|
|
166
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-tile-options">
|
|
167
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
168
|
+
<div class="usa-radio usx-radio">
|
|
169
|
+
<input
|
|
170
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
171
|
+
id="react-tile-options-0"
|
|
172
|
+
type="radio"
|
|
173
|
+
name="tile-options"
|
|
174
|
+
value="sojourner-truth"
|
|
175
|
+
/><label class="usa-radio__label" for="react-tile-options-0">Sojourner Truth</label>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="usa-radio usx-radio">
|
|
178
|
+
<input
|
|
179
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
180
|
+
id="react-tile-options-1"
|
|
181
|
+
type="radio"
|
|
182
|
+
name="tile-options"
|
|
183
|
+
value="frederick-douglass"
|
|
184
|
+
/><label class="usa-radio__label" for="react-tile-options-1">Frederick Douglass</label>
|
|
185
|
+
</div>
|
|
186
|
+
<div class="usa-radio usx-radio">
|
|
187
|
+
<input
|
|
188
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
189
|
+
id="react-tile-options-2"
|
|
190
|
+
type="radio"
|
|
191
|
+
name="tile-options"
|
|
192
|
+
value="booker-t-washington"
|
|
193
|
+
/><label class="usa-radio__label" for="react-tile-options-2">Booker T. Washington</label>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="usa-radio usx-radio">
|
|
196
|
+
<input
|
|
197
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
198
|
+
id="react-tile-options-3"
|
|
199
|
+
type="radio"
|
|
200
|
+
name="tile-options"
|
|
201
|
+
disabled=""
|
|
202
|
+
value="george-washington-carver"
|
|
203
|
+
/><label class="usa-radio__label" for="react-tile-options-3">George Washington Carver</label>
|
|
204
|
+
</div>
|
|
205
|
+
</fieldset>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
<h3 class="site-preview-heading">Tile With Descriptions</h3>
|
|
209
|
+
<div class="usa-form-group usx-form-group">
|
|
210
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-tile-options-with-descriptions">
|
|
211
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
212
|
+
<div class="usa-radio usx-radio">
|
|
213
|
+
<input
|
|
214
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
215
|
+
id="react-tile-options-with-descriptions-0"
|
|
216
|
+
type="radio"
|
|
217
|
+
name="tile-options-with-descriptions"
|
|
218
|
+
value="sojourner-truth"
|
|
219
|
+
/><label class="usa-radio__label" for="react-tile-options-with-descriptions-0"
|
|
220
|
+
>Sojourner Truth<span class="usa-checkbox__label-description"
|
|
221
|
+
>A prominent abolitionist and women's rights activist.</span
|
|
222
|
+
></label
|
|
223
|
+
>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="usa-radio usx-radio">
|
|
226
|
+
<input
|
|
227
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
228
|
+
id="react-tile-options-with-descriptions-1"
|
|
229
|
+
type="radio"
|
|
230
|
+
name="tile-options-with-descriptions"
|
|
231
|
+
value="frederick-douglass"
|
|
232
|
+
/><label class="usa-radio__label" for="react-tile-options-with-descriptions-1"
|
|
233
|
+
>Frederick Douglass<span class="usa-checkbox__label-description"
|
|
234
|
+
>A former enslaved person who became a national leader of the abolitionist movement.</span
|
|
235
|
+
></label
|
|
236
|
+
>
|
|
237
|
+
</div>
|
|
238
|
+
<div class="usa-radio usx-radio">
|
|
239
|
+
<input
|
|
240
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
241
|
+
id="react-tile-options-with-descriptions-2"
|
|
242
|
+
type="radio"
|
|
243
|
+
name="tile-options-with-descriptions"
|
|
244
|
+
value="booker-t-washington"
|
|
245
|
+
/><label class="usa-radio__label" for="react-tile-options-with-descriptions-2"
|
|
246
|
+
>Booker T. Washington<span class="usa-checkbox__label-description"
|
|
247
|
+
>An influential African American educator, author, orator, and advisor to multiple
|
|
248
|
+
presidents of the United States.</span
|
|
249
|
+
></label
|
|
250
|
+
>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="usa-radio usx-radio">
|
|
253
|
+
<input
|
|
254
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
255
|
+
id="react-tile-options-with-descriptions-3"
|
|
256
|
+
type="radio"
|
|
257
|
+
name="tile-options-with-descriptions"
|
|
258
|
+
disabled=""
|
|
259
|
+
value="george-washington-carver"
|
|
260
|
+
/><label class="usa-radio__label" for="react-tile-options-with-descriptions-3"
|
|
261
|
+
>George Washington Carver<span class="usa-checkbox__label-description"
|
|
262
|
+
>An American agricultural scientist and inventor who promoted alternative crops to cotton
|
|
263
|
+
and methods to prevent soil depletion.</span
|
|
264
|
+
></label
|
|
265
|
+
>
|
|
266
|
+
</div>
|
|
267
|
+
</fieldset>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
<h3 class="site-preview-heading">Small</h3>
|
|
271
|
+
<div class="usa-form-group usx-form-group">
|
|
272
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-small-options">
|
|
273
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
274
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
275
|
+
<input
|
|
276
|
+
class="usa-radio__input"
|
|
277
|
+
id="react-small-options-0"
|
|
278
|
+
type="radio"
|
|
279
|
+
name="small-options"
|
|
280
|
+
value="sojourner-truth"
|
|
281
|
+
/><label class="usa-radio__label" for="react-small-options-0">Sojourner Truth</label>
|
|
282
|
+
</div>
|
|
283
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
284
|
+
<input
|
|
285
|
+
class="usa-radio__input"
|
|
286
|
+
id="react-small-options-1"
|
|
287
|
+
type="radio"
|
|
288
|
+
name="small-options"
|
|
289
|
+
value="frederick-douglass"
|
|
290
|
+
/><label class="usa-radio__label" for="react-small-options-1">Frederick Douglass</label>
|
|
291
|
+
</div>
|
|
292
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
293
|
+
<input
|
|
294
|
+
class="usa-radio__input"
|
|
295
|
+
id="react-small-options-2"
|
|
296
|
+
type="radio"
|
|
297
|
+
name="small-options"
|
|
298
|
+
value="booker-t-washington"
|
|
299
|
+
/><label class="usa-radio__label" for="react-small-options-2">Booker T. Washington</label>
|
|
300
|
+
</div>
|
|
301
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
302
|
+
<input
|
|
303
|
+
class="usa-radio__input"
|
|
304
|
+
id="react-small-options-3"
|
|
305
|
+
type="radio"
|
|
306
|
+
name="small-options"
|
|
307
|
+
disabled=""
|
|
308
|
+
value="george-washington-carver"
|
|
309
|
+
/><label class="usa-radio__label" for="react-small-options-3">George Washington Carver</label>
|
|
310
|
+
</div>
|
|
311
|
+
</fieldset>
|
|
312
|
+
</div>
|
|
313
|
+
|
|
314
|
+
<h3 class="site-preview-heading">Small Tile</h3>
|
|
315
|
+
<div class="usa-form-group usx-form-group">
|
|
316
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-small-tile-options">
|
|
317
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
318
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
319
|
+
<input
|
|
320
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
321
|
+
id="react-small-tile-options-0"
|
|
322
|
+
type="radio"
|
|
323
|
+
name="small-tile-options"
|
|
324
|
+
value="sojourner-truth"
|
|
325
|
+
/><label class="usa-radio__label" for="react-small-tile-options-0">Sojourner Truth</label>
|
|
326
|
+
</div>
|
|
327
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
328
|
+
<input
|
|
329
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
330
|
+
id="react-small-tile-options-1"
|
|
331
|
+
type="radio"
|
|
332
|
+
name="small-tile-options"
|
|
333
|
+
value="frederick-douglass"
|
|
334
|
+
/><label class="usa-radio__label" for="react-small-tile-options-1">Frederick Douglass</label>
|
|
335
|
+
</div>
|
|
336
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
337
|
+
<input
|
|
338
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
339
|
+
id="react-small-tile-options-2"
|
|
340
|
+
type="radio"
|
|
341
|
+
name="small-tile-options"
|
|
342
|
+
value="booker-t-washington"
|
|
343
|
+
/><label class="usa-radio__label" for="react-small-tile-options-2"
|
|
344
|
+
>Booker T. Washington</label
|
|
345
|
+
>
|
|
346
|
+
</div>
|
|
347
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
348
|
+
<input
|
|
349
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
350
|
+
id="react-small-tile-options-3"
|
|
351
|
+
type="radio"
|
|
352
|
+
name="small-tile-options"
|
|
353
|
+
disabled=""
|
|
354
|
+
value="george-washington-carver"
|
|
355
|
+
/><label class="usa-radio__label" for="react-small-tile-options-3"
|
|
356
|
+
>George Washington Carver</label
|
|
357
|
+
>
|
|
358
|
+
</div>
|
|
359
|
+
</fieldset>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
<h3 class="site-preview-heading">Small Tile With Descriptions</h3>
|
|
363
|
+
<div class="usa-form-group usx-form-group">
|
|
364
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-small-tile-options-with-descriptions">
|
|
365
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
366
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
367
|
+
<input
|
|
368
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
369
|
+
id="react-small-tile-options-with-descriptions-0"
|
|
370
|
+
type="radio"
|
|
371
|
+
name="small-tile-options-with-descriptions"
|
|
372
|
+
value="sojourner-truth"
|
|
373
|
+
/><label class="usa-radio__label" for="react-small-tile-options-with-descriptions-0"
|
|
374
|
+
>Sojourner Truth<span class="usa-checkbox__label-description"
|
|
375
|
+
>A prominent abolitionist and women's rights activist.</span
|
|
376
|
+
></label
|
|
377
|
+
>
|
|
378
|
+
</div>
|
|
379
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
380
|
+
<input
|
|
381
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
382
|
+
id="react-small-tile-options-with-descriptions-1"
|
|
383
|
+
type="radio"
|
|
384
|
+
name="small-tile-options-with-descriptions"
|
|
385
|
+
value="frederick-douglass"
|
|
386
|
+
/><label class="usa-radio__label" for="react-small-tile-options-with-descriptions-1"
|
|
387
|
+
>Frederick Douglass<span class="usa-checkbox__label-description"
|
|
388
|
+
>A former enslaved person who became a national leader of the abolitionist movement.</span
|
|
389
|
+
></label
|
|
390
|
+
>
|
|
391
|
+
</div>
|
|
392
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
393
|
+
<input
|
|
394
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
395
|
+
id="react-small-tile-options-with-descriptions-2"
|
|
396
|
+
type="radio"
|
|
397
|
+
name="small-tile-options-with-descriptions"
|
|
398
|
+
value="booker-t-washington"
|
|
399
|
+
/><label class="usa-radio__label" for="react-small-tile-options-with-descriptions-2"
|
|
400
|
+
>Booker T. Washington<span class="usa-checkbox__label-description"
|
|
401
|
+
>An influential African American educator, author, orator, and advisor to multiple
|
|
402
|
+
presidents of the United States.</span
|
|
403
|
+
></label
|
|
404
|
+
>
|
|
405
|
+
</div>
|
|
406
|
+
<div class="usa-radio usx-radio usx-radio--small">
|
|
407
|
+
<input
|
|
408
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
409
|
+
id="react-small-tile-options-with-descriptions-3"
|
|
410
|
+
type="radio"
|
|
411
|
+
name="small-tile-options-with-descriptions"
|
|
412
|
+
disabled=""
|
|
413
|
+
value="george-washington-carver"
|
|
414
|
+
/><label class="usa-radio__label" for="react-small-tile-options-with-descriptions-3"
|
|
415
|
+
>George Washington Carver<span class="usa-checkbox__label-description"
|
|
416
|
+
>An American agricultural scientist and inventor who promoted alternative crops to cotton
|
|
417
|
+
and methods to prevent soil depletion.</span
|
|
418
|
+
></label
|
|
419
|
+
>
|
|
420
|
+
</div>
|
|
421
|
+
</fieldset>
|
|
422
|
+
</div>
|
|
423
|
+
|
|
424
|
+
<h3 class="site-preview-heading">With Additional Class</h3>
|
|
425
|
+
<div class="usa-form-group usx-form-group">
|
|
426
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-custom-class-options">
|
|
427
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
428
|
+
<div class="usa-radio usx-radio maxw-mobile font-heading-xl">
|
|
429
|
+
<input
|
|
430
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
431
|
+
id="react-custom-class-options-0"
|
|
432
|
+
type="radio"
|
|
433
|
+
name="custom-class-options"
|
|
434
|
+
value="sojourner-truth"
|
|
435
|
+
/><label class="usa-radio__label" for="react-custom-class-options-0"
|
|
436
|
+
>Sojourner Truth<span class="usa-checkbox__label-description"
|
|
437
|
+
>A prominent abolitionist and women's rights activist.</span
|
|
438
|
+
></label
|
|
439
|
+
>
|
|
440
|
+
</div>
|
|
441
|
+
<div class="usa-radio usx-radio maxw-mobile font-heading-xl">
|
|
442
|
+
<input
|
|
443
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
444
|
+
id="react-custom-class-options-1"
|
|
445
|
+
type="radio"
|
|
446
|
+
name="custom-class-options"
|
|
447
|
+
value="frederick-douglass"
|
|
448
|
+
/><label class="usa-radio__label" for="react-custom-class-options-1"
|
|
449
|
+
>Frederick Douglass<span class="usa-checkbox__label-description"
|
|
450
|
+
>A former enslaved person who became a national leader of the abolitionist movement.</span
|
|
451
|
+
></label
|
|
452
|
+
>
|
|
453
|
+
</div>
|
|
454
|
+
<div class="usa-radio usx-radio maxw-mobile font-heading-xl">
|
|
455
|
+
<input
|
|
456
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
457
|
+
id="react-custom-class-options-2"
|
|
458
|
+
type="radio"
|
|
459
|
+
name="custom-class-options"
|
|
460
|
+
value="booker-t-washington"
|
|
461
|
+
/><label class="usa-radio__label" for="react-custom-class-options-2"
|
|
462
|
+
>Booker T. Washington<span class="usa-checkbox__label-description"
|
|
463
|
+
>An influential African American educator, author, orator, and advisor to multiple
|
|
464
|
+
presidents of the United States.</span
|
|
465
|
+
></label
|
|
466
|
+
>
|
|
467
|
+
</div>
|
|
468
|
+
<div class="usa-radio usx-radio maxw-mobile font-heading-xl">
|
|
469
|
+
<input
|
|
470
|
+
class="usa-radio__input usa-radio__input--tile"
|
|
471
|
+
id="react-custom-class-options-3"
|
|
472
|
+
type="radio"
|
|
473
|
+
name="custom-class-options"
|
|
474
|
+
disabled=""
|
|
475
|
+
value="george-washington-carver"
|
|
476
|
+
/><label class="usa-radio__label" for="react-custom-class-options-3"
|
|
477
|
+
>George Washington Carver<span class="usa-checkbox__label-description"
|
|
478
|
+
>An American agricultural scientist and inventor who promoted alternative crops to cotton
|
|
479
|
+
and methods to prevent soil depletion.</span
|
|
480
|
+
></label
|
|
481
|
+
>
|
|
482
|
+
</div>
|
|
483
|
+
</fieldset>
|
|
484
|
+
</div>
|
|
485
|
+
|
|
486
|
+
<h3 class="site-preview-heading">With Hint</h3>
|
|
487
|
+
<div class="usa-form-group usx-form-group">
|
|
488
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-historical-figures-hint">
|
|
489
|
+
<legend class="usa-legend usx-legend">Select one option</legend>
|
|
490
|
+
<span class="usa-hint usx-hint">Choose the person you find most inspiring.</span>
|
|
491
|
+
<div class="usa-radio usx-radio">
|
|
492
|
+
<input
|
|
493
|
+
class="usa-radio__input"
|
|
494
|
+
id="react-historical-figures-hint-0"
|
|
495
|
+
type="radio"
|
|
496
|
+
name="historical-figures-hint"
|
|
497
|
+
value="sojourner-truth"
|
|
498
|
+
/><label class="usa-radio__label" for="react-historical-figures-hint-0"
|
|
499
|
+
>Sojourner Truth</label
|
|
500
|
+
>
|
|
501
|
+
</div>
|
|
502
|
+
<div class="usa-radio usx-radio">
|
|
503
|
+
<input
|
|
504
|
+
class="usa-radio__input"
|
|
505
|
+
id="react-historical-figures-hint-1"
|
|
506
|
+
type="radio"
|
|
507
|
+
name="historical-figures-hint"
|
|
508
|
+
value="frederick-douglass"
|
|
509
|
+
/><label class="usa-radio__label" for="react-historical-figures-hint-1"
|
|
510
|
+
>Frederick Douglass</label
|
|
511
|
+
>
|
|
512
|
+
</div>
|
|
513
|
+
<div class="usa-radio usx-radio">
|
|
514
|
+
<input
|
|
515
|
+
class="usa-radio__input"
|
|
516
|
+
id="react-historical-figures-hint-2"
|
|
517
|
+
type="radio"
|
|
518
|
+
name="historical-figures-hint"
|
|
519
|
+
value="booker-t-washington"
|
|
520
|
+
/><label class="usa-radio__label" for="react-historical-figures-hint-2"
|
|
521
|
+
>Booker T. Washington</label
|
|
522
|
+
>
|
|
523
|
+
</div>
|
|
524
|
+
<div class="usa-radio usx-radio">
|
|
525
|
+
<input
|
|
526
|
+
class="usa-radio__input"
|
|
527
|
+
id="react-historical-figures-hint-3"
|
|
528
|
+
type="radio"
|
|
529
|
+
name="historical-figures-hint"
|
|
530
|
+
disabled=""
|
|
531
|
+
value="george-washington-carver"
|
|
532
|
+
/><label class="usa-radio__label" for="react-historical-figures-hint-3"
|
|
533
|
+
>George Washington Carver</label
|
|
534
|
+
>
|
|
535
|
+
</div>
|
|
536
|
+
</fieldset>
|
|
537
|
+
</div>
|
|
538
|
+
|
|
539
|
+
<h3 class="site-preview-heading">With Error</h3>
|
|
540
|
+
<div class="usa-form-group usx-form-group usa-form-group--error">
|
|
541
|
+
<fieldset class="usa-fieldset usx-fieldset" id="react-historical-figures-error">
|
|
542
|
+
<legend class="usa-legend usx-legend usa-label--error">Select one option</legend>
|
|
543
|
+
<span class="usa-error-message usx-error-message" role="alert"
|
|
544
|
+
>Select an option to continue.</span
|
|
545
|
+
>
|
|
546
|
+
<div class="usa-radio usx-radio">
|
|
547
|
+
<input
|
|
548
|
+
class="usa-radio__input"
|
|
549
|
+
id="react-historical-figures-error-0"
|
|
550
|
+
type="radio"
|
|
551
|
+
name="historical-figures-error"
|
|
552
|
+
value="sojourner-truth"
|
|
553
|
+
/><label class="usa-radio__label" for="react-historical-figures-error-0"
|
|
554
|
+
>Sojourner Truth</label
|
|
555
|
+
>
|
|
556
|
+
</div>
|
|
557
|
+
<div class="usa-radio usx-radio">
|
|
558
|
+
<input
|
|
559
|
+
class="usa-radio__input"
|
|
560
|
+
id="react-historical-figures-error-1"
|
|
561
|
+
type="radio"
|
|
562
|
+
name="historical-figures-error"
|
|
563
|
+
value="frederick-douglass"
|
|
564
|
+
/><label class="usa-radio__label" for="react-historical-figures-error-1"
|
|
565
|
+
>Frederick Douglass</label
|
|
566
|
+
>
|
|
567
|
+
</div>
|
|
568
|
+
<div class="usa-radio usx-radio">
|
|
569
|
+
<input
|
|
570
|
+
class="usa-radio__input"
|
|
571
|
+
id="react-historical-figures-error-2"
|
|
572
|
+
type="radio"
|
|
573
|
+
name="historical-figures-error"
|
|
574
|
+
value="booker-t-washington"
|
|
575
|
+
/><label class="usa-radio__label" for="react-historical-figures-error-2"
|
|
576
|
+
>Booker T. Washington</label
|
|
577
|
+
>
|
|
578
|
+
</div>
|
|
579
|
+
<div class="usa-radio usx-radio">
|
|
580
|
+
<input
|
|
581
|
+
class="usa-radio__input"
|
|
582
|
+
id="react-historical-figures-error-3"
|
|
583
|
+
type="radio"
|
|
584
|
+
name="historical-figures-error"
|
|
585
|
+
disabled=""
|
|
586
|
+
value="george-washington-carver"
|
|
587
|
+
/><label class="usa-radio__label" for="react-historical-figures-error-3"
|
|
588
|
+
>George Washington Carver</label
|
|
589
|
+
>
|
|
590
|
+
</div>
|
|
591
|
+
</fieldset>
|
|
592
|
+
</div>
|