@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,331 +1,127 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<ul
|
|
3
|
+
id="alignment"
|
|
4
|
+
class="usx-toggle usa-button-group"
|
|
5
|
+
role="radiogroup"
|
|
6
|
+
aria-label="Text alignment"
|
|
7
|
+
>
|
|
8
|
+
<li class="usa-button-group__item" role="presentation">
|
|
9
|
+
<input
|
|
10
|
+
class="usx-toggle__input"
|
|
11
|
+
type="radio"
|
|
12
|
+
id="alignment-option-0"
|
|
13
|
+
name="toggle-example"
|
|
14
|
+
value="left"
|
|
15
|
+
/><label
|
|
16
|
+
for="alignment-option-0"
|
|
17
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
18
|
+
><span>Left</span></label
|
|
9
19
|
>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</
|
|
23
|
-
<li class="usa-button-group__item" role="presentation">
|
|
24
|
-
<input
|
|
25
|
-
class="usx-toggle__input"
|
|
26
|
-
type="radio"
|
|
27
|
-
id="alignment-option-1"
|
|
28
|
-
name="toggle-example"
|
|
29
|
-
checked=""
|
|
30
|
-
value="center"
|
|
31
|
-
/><label
|
|
32
|
-
for="alignment-option-1"
|
|
33
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
34
|
-
><span>Center</span></label
|
|
35
|
-
>
|
|
36
|
-
</li>
|
|
37
|
-
<li class="usa-button-group__item" role="presentation">
|
|
38
|
-
<input
|
|
39
|
-
class="usx-toggle__input"
|
|
40
|
-
type="radio"
|
|
41
|
-
id="alignment-option-2"
|
|
42
|
-
name="toggle-example"
|
|
43
|
-
value="right"
|
|
44
|
-
/><label
|
|
45
|
-
for="alignment-option-2"
|
|
46
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
47
|
-
><span>Right</span></label
|
|
48
|
-
>
|
|
49
|
-
</li>
|
|
50
|
-
</ul>
|
|
51
|
-
</section>
|
|
52
|
-
<section class="margin-bottom-4">
|
|
53
|
-
<h2>IconVariant</h2>
|
|
54
|
-
<ul
|
|
55
|
-
id="transport-mode"
|
|
56
|
-
class="usx-toggle usa-button-group usx-toggle--icon"
|
|
57
|
-
role="radiogroup"
|
|
58
|
-
aria-label="Transport mode"
|
|
20
|
+
</li>
|
|
21
|
+
<li class="usa-button-group__item" role="presentation">
|
|
22
|
+
<input
|
|
23
|
+
class="usx-toggle__input"
|
|
24
|
+
type="radio"
|
|
25
|
+
id="alignment-option-1"
|
|
26
|
+
name="toggle-example"
|
|
27
|
+
checked=""
|
|
28
|
+
value="center"
|
|
29
|
+
/><label
|
|
30
|
+
for="alignment-option-1"
|
|
31
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
32
|
+
><span>Center</span></label
|
|
59
33
|
>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
73
|
-
aria-hidden="true"
|
|
74
|
-
aria-label="directions_bike icon"
|
|
75
|
-
focusable="false"
|
|
76
|
-
role="img"
|
|
77
|
-
>
|
|
78
|
-
<use href="/img/sprite.svg#directions_bike"></use></svg
|
|
79
|
-
><span class="usa-sr-only">Bike</span></label
|
|
80
|
-
>
|
|
81
|
-
</li>
|
|
82
|
-
<li class="usa-button-group__item" role="presentation">
|
|
83
|
-
<input
|
|
84
|
-
class="usx-toggle__input"
|
|
85
|
-
type="radio"
|
|
86
|
-
id="transport-mode-option-1"
|
|
87
|
-
name="transport-mode"
|
|
88
|
-
checked=""
|
|
89
|
-
value="bus"
|
|
90
|
-
/><label
|
|
91
|
-
for="transport-mode-option-1"
|
|
92
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
93
|
-
title="Bus"
|
|
94
|
-
><svg
|
|
95
|
-
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
96
|
-
aria-hidden="true"
|
|
97
|
-
aria-label="directions_bus icon"
|
|
98
|
-
focusable="false"
|
|
99
|
-
role="img"
|
|
100
|
-
>
|
|
101
|
-
<use href="/img/sprite.svg#directions_bus"></use></svg
|
|
102
|
-
><span class="usa-sr-only">Bus</span></label
|
|
103
|
-
>
|
|
104
|
-
</li>
|
|
105
|
-
<li class="usa-button-group__item" role="presentation">
|
|
106
|
-
<input
|
|
107
|
-
class="usx-toggle__input"
|
|
108
|
-
type="radio"
|
|
109
|
-
id="transport-mode-option-2"
|
|
110
|
-
name="transport-mode"
|
|
111
|
-
value="flight"
|
|
112
|
-
/><label
|
|
113
|
-
for="transport-mode-option-2"
|
|
114
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
115
|
-
title="Flight"
|
|
116
|
-
><svg
|
|
117
|
-
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
118
|
-
aria-hidden="true"
|
|
119
|
-
aria-label="flight icon"
|
|
120
|
-
focusable="false"
|
|
121
|
-
role="img"
|
|
122
|
-
>
|
|
123
|
-
<use href="/img/sprite.svg#flight"></use></svg
|
|
124
|
-
><span class="usa-sr-only">Flight</span></label
|
|
125
|
-
>
|
|
126
|
-
</li>
|
|
127
|
-
</ul>
|
|
128
|
-
</section>
|
|
129
|
-
<section class="margin-bottom-4">
|
|
130
|
-
<h2>Required</h2>
|
|
131
|
-
<ul
|
|
132
|
-
id="required-toggle"
|
|
133
|
-
class="usx-toggle usa-button-group"
|
|
134
|
-
role="radiogroup"
|
|
135
|
-
aria-label="Delivery method"
|
|
136
|
-
aria-required="true"
|
|
34
|
+
</li>
|
|
35
|
+
<li class="usa-button-group__item" role="presentation">
|
|
36
|
+
<input
|
|
37
|
+
class="usx-toggle__input"
|
|
38
|
+
type="radio"
|
|
39
|
+
id="alignment-option-2"
|
|
40
|
+
name="toggle-example"
|
|
41
|
+
value="right"
|
|
42
|
+
/><label
|
|
43
|
+
for="alignment-option-2"
|
|
44
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
45
|
+
><span>Right</span></label
|
|
137
46
|
>
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<section class="margin-bottom-4">
|
|
169
|
-
<h2>Numeric</h2>
|
|
170
|
-
<ul
|
|
171
|
-
id="numeric-toggle"
|
|
172
|
-
class="usx-toggle usa-button-group"
|
|
173
|
-
role="radiogroup"
|
|
174
|
-
aria-label="Items per page"
|
|
47
|
+
</li>
|
|
48
|
+
</ul>
|
|
49
|
+
|
|
50
|
+
<h3 class="site-preview-heading">Icon</h3>
|
|
51
|
+
<ul
|
|
52
|
+
id="transport-mode"
|
|
53
|
+
class="usx-toggle usa-button-group usx-toggle--icon"
|
|
54
|
+
role="radiogroup"
|
|
55
|
+
aria-label="Transport mode"
|
|
56
|
+
>
|
|
57
|
+
<li class="usa-button-group__item" role="presentation">
|
|
58
|
+
<input
|
|
59
|
+
class="usx-toggle__input"
|
|
60
|
+
type="radio"
|
|
61
|
+
id="transport-mode-option-0"
|
|
62
|
+
name="transport-mode"
|
|
63
|
+
value="bike"
|
|
64
|
+
/><label
|
|
65
|
+
for="transport-mode-option-0"
|
|
66
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
67
|
+
title="Bike"
|
|
68
|
+
><svg
|
|
69
|
+
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
70
|
+
aria-hidden="true"
|
|
71
|
+
aria-label="directions_bike icon"
|
|
72
|
+
focusable="false"
|
|
73
|
+
role="img"
|
|
74
|
+
>
|
|
75
|
+
<use href="/img/sprite.svg#directions_bike"></use></svg
|
|
76
|
+
><span class="usa-sr-only">Bike</span></label
|
|
175
77
|
>
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
for="numeric-toggle-option-1"
|
|
199
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
200
|
-
><span>10</span></label
|
|
201
|
-
>
|
|
202
|
-
</li>
|
|
203
|
-
<li class="usa-button-group__item" role="presentation">
|
|
204
|
-
<input
|
|
205
|
-
class="usx-toggle__input"
|
|
206
|
-
type="radio"
|
|
207
|
-
id="numeric-toggle-option-2"
|
|
208
|
-
name="page-size"
|
|
209
|
-
value="25"
|
|
210
|
-
/><label
|
|
211
|
-
for="numeric-toggle-option-2"
|
|
212
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
213
|
-
><span>25</span></label
|
|
214
|
-
>
|
|
215
|
-
</li>
|
|
216
|
-
</ul>
|
|
217
|
-
</section>
|
|
218
|
-
<section class="margin-bottom-4">
|
|
219
|
-
<h2>TotallyDisabled</h2>
|
|
220
|
-
<ul
|
|
221
|
-
id="disabled-toggle"
|
|
222
|
-
class="usx-toggle usa-button-group"
|
|
223
|
-
role="radiogroup"
|
|
224
|
-
aria-label="Unavailable choices"
|
|
225
|
-
aria-disabled="true"
|
|
78
|
+
</li>
|
|
79
|
+
<li class="usa-button-group__item" role="presentation">
|
|
80
|
+
<input
|
|
81
|
+
class="usx-toggle__input"
|
|
82
|
+
type="radio"
|
|
83
|
+
id="transport-mode-option-1"
|
|
84
|
+
name="transport-mode"
|
|
85
|
+
checked=""
|
|
86
|
+
value="bus"
|
|
87
|
+
/><label
|
|
88
|
+
for="transport-mode-option-1"
|
|
89
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
90
|
+
title="Bus"
|
|
91
|
+
><svg
|
|
92
|
+
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
93
|
+
aria-hidden="true"
|
|
94
|
+
aria-label="directions_bus icon"
|
|
95
|
+
focusable="false"
|
|
96
|
+
role="img"
|
|
97
|
+
>
|
|
98
|
+
<use href="/img/sprite.svg#directions_bus"></use></svg
|
|
99
|
+
><span class="usa-sr-only">Bus</span></label
|
|
226
100
|
>
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
disabled=""
|
|
249
|
-
value="option2"
|
|
250
|
-
/><label
|
|
251
|
-
aria-disabled="true"
|
|
252
|
-
for="disabled-toggle-option-1"
|
|
253
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
254
|
-
><span>Option 2</span></label
|
|
255
|
-
>
|
|
256
|
-
</li>
|
|
257
|
-
<li class="usa-button-group__item" role="presentation">
|
|
258
|
-
<input
|
|
259
|
-
class="usx-toggle__input"
|
|
260
|
-
type="radio"
|
|
261
|
-
id="disabled-toggle-option-2"
|
|
262
|
-
name="disabled-toggle"
|
|
263
|
-
disabled=""
|
|
264
|
-
value="option3"
|
|
265
|
-
/><label
|
|
266
|
-
aria-disabled="true"
|
|
267
|
-
for="disabled-toggle-option-2"
|
|
268
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
269
|
-
><span>Option 3</span></label
|
|
270
|
-
>
|
|
271
|
-
</li>
|
|
272
|
-
</ul>
|
|
273
|
-
</section>
|
|
274
|
-
<section class="margin-bottom-4">
|
|
275
|
-
<h2>PartiallyDisabled</h2>
|
|
276
|
-
<ul
|
|
277
|
-
id="partially-disabled-toggle"
|
|
278
|
-
class="usx-toggle usa-button-group"
|
|
279
|
-
role="radiogroup"
|
|
280
|
-
aria-label="Available choices"
|
|
101
|
+
</li>
|
|
102
|
+
<li class="usa-button-group__item" role="presentation">
|
|
103
|
+
<input
|
|
104
|
+
class="usx-toggle__input"
|
|
105
|
+
type="radio"
|
|
106
|
+
id="transport-mode-option-2"
|
|
107
|
+
name="transport-mode"
|
|
108
|
+
value="flight"
|
|
109
|
+
/><label
|
|
110
|
+
for="transport-mode-option-2"
|
|
111
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
112
|
+
title="Flight"
|
|
113
|
+
><svg
|
|
114
|
+
class="usa-icon usa-icon--size-2 usx-toggle__icon"
|
|
115
|
+
aria-hidden="true"
|
|
116
|
+
aria-label="flight icon"
|
|
117
|
+
focusable="false"
|
|
118
|
+
role="img"
|
|
119
|
+
>
|
|
120
|
+
<use href="/img/sprite.svg#flight"></use></svg
|
|
121
|
+
><span class="usa-sr-only">Flight</span></label
|
|
281
122
|
>
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class="usx-toggle__input"
|
|
285
|
-
type="radio"
|
|
286
|
-
id="partially-disabled-toggle-option-0"
|
|
287
|
-
name="partially-disabled-toggle"
|
|
288
|
-
checked=""
|
|
289
|
-
value="option1"
|
|
290
|
-
/><label
|
|
291
|
-
for="partially-disabled-toggle-option-0"
|
|
292
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
293
|
-
><span>Option 1</span></label
|
|
294
|
-
>
|
|
295
|
-
</li>
|
|
296
|
-
<li class="usa-button-group__item" role="presentation">
|
|
297
|
-
<input
|
|
298
|
-
class="usx-toggle__input"
|
|
299
|
-
type="radio"
|
|
300
|
-
id="partially-disabled-toggle-option-1"
|
|
301
|
-
name="partially-disabled-toggle"
|
|
302
|
-
disabled=""
|
|
303
|
-
value="option2"
|
|
304
|
-
/><label
|
|
305
|
-
aria-disabled="true"
|
|
306
|
-
for="partially-disabled-toggle-option-1"
|
|
307
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
308
|
-
><span>Option 2</span></label
|
|
309
|
-
>
|
|
310
|
-
</li>
|
|
311
|
-
<li class="usa-button-group__item" role="presentation">
|
|
312
|
-
<input
|
|
313
|
-
class="usx-toggle__input"
|
|
314
|
-
type="radio"
|
|
315
|
-
id="partially-disabled-toggle-option-2"
|
|
316
|
-
name="partially-disabled-toggle"
|
|
317
|
-
value="option3"
|
|
318
|
-
/><label
|
|
319
|
-
for="partially-disabled-toggle-option-2"
|
|
320
|
-
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
321
|
-
><span>Option 3</span></label
|
|
322
|
-
>
|
|
323
|
-
</li>
|
|
324
|
-
</ul>
|
|
325
|
-
</section>
|
|
326
|
-
<button class="usa-button usx-button usa-button--primary" type="submit">Submit</button>
|
|
327
|
-
<button class="usa-button usx-button usa-button--outline" type="reset">Reset</button>
|
|
328
|
-
</form>
|
|
123
|
+
</li>
|
|
124
|
+
</ul>
|
|
329
125
|
|
|
330
126
|
<h3 class="site-preview-heading">Controlled</h3>
|
|
331
127
|
<ul
|
|
@@ -353,8 +149,8 @@
|
|
|
353
149
|
type="radio"
|
|
354
150
|
id="html-toggle-controlled-controlled-toggle-option-1"
|
|
355
151
|
name="controlled-toggle"
|
|
356
|
-
value="option2"
|
|
357
152
|
checked=""
|
|
153
|
+
value="option2"
|
|
358
154
|
/><label
|
|
359
155
|
for="html-toggle-controlled-controlled-toggle-option-1"
|
|
360
156
|
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
@@ -376,3 +172,202 @@
|
|
|
376
172
|
</li>
|
|
377
173
|
</ul>
|
|
378
174
|
<p>Selected: option2</p>
|
|
175
|
+
|
|
176
|
+
<h3 class="site-preview-heading">Totally Disabled</h3>
|
|
177
|
+
<ul
|
|
178
|
+
id="disabled-toggle"
|
|
179
|
+
class="usx-toggle usa-button-group"
|
|
180
|
+
role="radiogroup"
|
|
181
|
+
aria-label="Unavailable choices"
|
|
182
|
+
aria-disabled="true"
|
|
183
|
+
>
|
|
184
|
+
<li class="usa-button-group__item" role="presentation">
|
|
185
|
+
<input
|
|
186
|
+
class="usx-toggle__input"
|
|
187
|
+
type="radio"
|
|
188
|
+
id="disabled-toggle-option-0"
|
|
189
|
+
name="disabled-toggle"
|
|
190
|
+
disabled=""
|
|
191
|
+
value="option1"
|
|
192
|
+
/><label
|
|
193
|
+
for="disabled-toggle-option-0"
|
|
194
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
195
|
+
aria-disabled="true"
|
|
196
|
+
><span>Option 1</span></label
|
|
197
|
+
>
|
|
198
|
+
</li>
|
|
199
|
+
<li class="usa-button-group__item" role="presentation">
|
|
200
|
+
<input
|
|
201
|
+
class="usx-toggle__input"
|
|
202
|
+
type="radio"
|
|
203
|
+
id="disabled-toggle-option-1"
|
|
204
|
+
name="disabled-toggle"
|
|
205
|
+
disabled=""
|
|
206
|
+
value="option2"
|
|
207
|
+
/><label
|
|
208
|
+
for="disabled-toggle-option-1"
|
|
209
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
210
|
+
aria-disabled="true"
|
|
211
|
+
><span>Option 2</span></label
|
|
212
|
+
>
|
|
213
|
+
</li>
|
|
214
|
+
<li class="usa-button-group__item" role="presentation">
|
|
215
|
+
<input
|
|
216
|
+
class="usx-toggle__input"
|
|
217
|
+
type="radio"
|
|
218
|
+
id="disabled-toggle-option-2"
|
|
219
|
+
name="disabled-toggle"
|
|
220
|
+
disabled=""
|
|
221
|
+
value="option3"
|
|
222
|
+
/><label
|
|
223
|
+
for="disabled-toggle-option-2"
|
|
224
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
225
|
+
aria-disabled="true"
|
|
226
|
+
><span>Option 3</span></label
|
|
227
|
+
>
|
|
228
|
+
</li>
|
|
229
|
+
</ul>
|
|
230
|
+
|
|
231
|
+
<h3 class="site-preview-heading">Partially Disabled</h3>
|
|
232
|
+
<ul
|
|
233
|
+
id="partially-disabled-toggle"
|
|
234
|
+
class="usx-toggle usa-button-group"
|
|
235
|
+
role="radiogroup"
|
|
236
|
+
aria-label="Available choices"
|
|
237
|
+
>
|
|
238
|
+
<li class="usa-button-group__item" role="presentation">
|
|
239
|
+
<input
|
|
240
|
+
class="usx-toggle__input"
|
|
241
|
+
type="radio"
|
|
242
|
+
id="partially-disabled-toggle-option-0"
|
|
243
|
+
name="partially-disabled-toggle"
|
|
244
|
+
checked=""
|
|
245
|
+
value="option1"
|
|
246
|
+
/><label
|
|
247
|
+
for="partially-disabled-toggle-option-0"
|
|
248
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
249
|
+
><span>Option 1</span></label
|
|
250
|
+
>
|
|
251
|
+
</li>
|
|
252
|
+
<li class="usa-button-group__item" role="presentation">
|
|
253
|
+
<input
|
|
254
|
+
class="usx-toggle__input"
|
|
255
|
+
type="radio"
|
|
256
|
+
id="partially-disabled-toggle-option-1"
|
|
257
|
+
name="partially-disabled-toggle"
|
|
258
|
+
disabled=""
|
|
259
|
+
value="option2"
|
|
260
|
+
/><label
|
|
261
|
+
for="partially-disabled-toggle-option-1"
|
|
262
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
263
|
+
aria-disabled="true"
|
|
264
|
+
><span>Option 2</span></label
|
|
265
|
+
>
|
|
266
|
+
</li>
|
|
267
|
+
<li class="usa-button-group__item" role="presentation">
|
|
268
|
+
<input
|
|
269
|
+
class="usx-toggle__input"
|
|
270
|
+
type="radio"
|
|
271
|
+
id="partially-disabled-toggle-option-2"
|
|
272
|
+
name="partially-disabled-toggle"
|
|
273
|
+
value="option3"
|
|
274
|
+
/><label
|
|
275
|
+
for="partially-disabled-toggle-option-2"
|
|
276
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
277
|
+
><span>Option 3</span></label
|
|
278
|
+
>
|
|
279
|
+
</li>
|
|
280
|
+
</ul>
|
|
281
|
+
|
|
282
|
+
<h3 class="site-preview-heading">Required</h3>
|
|
283
|
+
<form>
|
|
284
|
+
<ul
|
|
285
|
+
id="required-toggle"
|
|
286
|
+
class="usx-toggle usa-button-group"
|
|
287
|
+
role="radiogroup"
|
|
288
|
+
aria-label="Delivery method"
|
|
289
|
+
aria-required="true"
|
|
290
|
+
>
|
|
291
|
+
<li class="usa-button-group__item" role="presentation">
|
|
292
|
+
<input
|
|
293
|
+
class="usx-toggle__input"
|
|
294
|
+
type="radio"
|
|
295
|
+
id="required-toggle-option-0"
|
|
296
|
+
name="delivery"
|
|
297
|
+
required=""
|
|
298
|
+
value="Email"
|
|
299
|
+
/><label
|
|
300
|
+
for="required-toggle-option-0"
|
|
301
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
302
|
+
><span>Email</span></label
|
|
303
|
+
>
|
|
304
|
+
</li>
|
|
305
|
+
<li class="usa-button-group__item" role="presentation">
|
|
306
|
+
<input
|
|
307
|
+
class="usx-toggle__input"
|
|
308
|
+
type="radio"
|
|
309
|
+
id="required-toggle-option-1"
|
|
310
|
+
name="delivery"
|
|
311
|
+
required=""
|
|
312
|
+
value="Post"
|
|
313
|
+
/><label
|
|
314
|
+
for="required-toggle-option-1"
|
|
315
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
316
|
+
><span>Post</span></label
|
|
317
|
+
>
|
|
318
|
+
</li>
|
|
319
|
+
</ul>
|
|
320
|
+
<div class="margin-top-2">
|
|
321
|
+
<button class="usa-button usx-button usa-button--primary" type="submit">Submit</button>
|
|
322
|
+
<button class="usa-button usx-button usa-button--outline" type="reset">Reset</button>
|
|
323
|
+
</div>
|
|
324
|
+
</form>
|
|
325
|
+
|
|
326
|
+
<h3 class="site-preview-heading">Numeric</h3>
|
|
327
|
+
<ul
|
|
328
|
+
id="numeric-toggle"
|
|
329
|
+
class="usx-toggle usa-button-group"
|
|
330
|
+
role="radiogroup"
|
|
331
|
+
aria-label="Items per page"
|
|
332
|
+
>
|
|
333
|
+
<li class="usa-button-group__item" role="presentation">
|
|
334
|
+
<input
|
|
335
|
+
class="usx-toggle__input"
|
|
336
|
+
type="radio"
|
|
337
|
+
id="numeric-toggle-option-0"
|
|
338
|
+
name="page-size"
|
|
339
|
+
checked=""
|
|
340
|
+
value="0"
|
|
341
|
+
/><label
|
|
342
|
+
for="numeric-toggle-option-0"
|
|
343
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
344
|
+
><span>0</span></label
|
|
345
|
+
>
|
|
346
|
+
</li>
|
|
347
|
+
<li class="usa-button-group__item" role="presentation">
|
|
348
|
+
<input
|
|
349
|
+
class="usx-toggle__input"
|
|
350
|
+
type="radio"
|
|
351
|
+
id="numeric-toggle-option-1"
|
|
352
|
+
name="page-size"
|
|
353
|
+
value="10"
|
|
354
|
+
/><label
|
|
355
|
+
for="numeric-toggle-option-1"
|
|
356
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
357
|
+
><span>10</span></label
|
|
358
|
+
>
|
|
359
|
+
</li>
|
|
360
|
+
<li class="usa-button-group__item" role="presentation">
|
|
361
|
+
<input
|
|
362
|
+
class="usx-toggle__input"
|
|
363
|
+
type="radio"
|
|
364
|
+
id="numeric-toggle-option-2"
|
|
365
|
+
name="page-size"
|
|
366
|
+
value="25"
|
|
367
|
+
/><label
|
|
368
|
+
for="numeric-toggle-option-2"
|
|
369
|
+
class="usa-button usx-button usa-button--primary usx-toggle__button"
|
|
370
|
+
><span>25</span></label
|
|
371
|
+
>
|
|
372
|
+
</li>
|
|
373
|
+
</ul>
|