@solexllc/usx-react 0.7.0 → 0.9.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 +20 -8
- package/dist/index.cjs +3343 -3165
- package/dist/index.js +3344 -3166
- package/package.json +4 -4
- 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 +16 -6
- package/src/components/checkbox/checkbox.django-snapshot.html +373 -0
- package/src/components/checkbox/checkbox.django.html +23 -4
- package/src/components/checkbox/checkbox.react-snapshot.html +313 -0
- package/src/components/checkbox/config.json +21 -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/data-table/DataTable.tsx +177 -0
- package/src/components/data-table/README.md +42 -0
- package/src/components/data-table/TableBody.tsx +123 -0
- package/src/components/{table → data-table}/TableCell.tsx +6 -3
- package/src/components/data-table/TableContext.tsx +49 -0
- package/src/components/{table → data-table}/TableFoot.tsx +8 -7
- package/src/components/data-table/TableGroup.tsx +62 -0
- package/src/components/data-table/TableHead.tsx +126 -0
- package/src/components/data-table/TableRow.tsx +24 -0
- package/src/components/data-table/cells.ts +49 -0
- package/src/components/data-table/columns.ts +15 -0
- package/src/components/data-table/config.json +375 -0
- package/src/components/data-table/data-table.django-snapshot.html +13560 -0
- package/src/components/data-table/data-table.django.html +13 -0
- package/src/components/data-table/data-table.html +34 -0
- package/src/components/data-table/data-table.react-snapshot.html +12033 -0
- package/src/components/{table → data-table}/table-body.django.html +12 -12
- package/src/components/{table → data-table}/table-detail-row.django.html +1 -1
- package/src/components/{table → data-table}/table-foot.django.html +7 -7
- package/src/components/data-table/table-group.django.html +24 -0
- package/src/components/data-table/table-head.django.html +21 -0
- package/src/components/data-table/table-row.django.html +57 -0
- package/src/components/{table → data-table}/types.ts +48 -5
- 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 +56 -56
- package/src/components/pagination/config.json +66 -9
- package/src/components/pagination/navigation/PaginationNavigation.tsx +33 -33
- 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 +5 -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 +48 -36
- package/src/components/radio-buttons/config.json +42 -1
- package/src/components/radio-buttons/radio-buttons.django-snapshot.html +728 -0
- package/src/components/radio-buttons/radio-buttons.django.html +20 -24
- 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 +64 -318
- package/src/components/table/config.json +28 -301
- package/src/components/table/table.django-snapshot.html +1200 -0
- package/src/components/table/table.django.html +14 -59
- package/src/components/table/table.html +7 -2364
- package/src/components/table/table.react-snapshot.html +792 -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 +5 -0
- package/src/components/table/TableBody.tsx +0 -253
- package/src/components/table/TableContext.tsx +0 -87
- package/src/components/table/TableGroup.tsx +0 -69
- package/src/components/table/TableHead.tsx +0 -139
- package/src/components/table/TableRow.tsx +0 -56
- package/src/components/table/hooks/useRowDetails.ts +0 -34
- package/src/components/table/hooks/useTableGroups.ts +0 -61
- package/src/components/table/hooks/useTableSelect.ts +0 -82
- package/src/components/table/hooks/useTableSort.ts +0 -60
- package/src/components/table/table-group.django.html +0 -40
- package/src/components/table/table-head.django.html +0 -85
- package/src/components/table/table-row.django.html +0 -98
- package/src/components/table/table_helper.py +0 -298
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<button type="button" class="usa-button usx-button usa-button--primary">Default</button>
|
|
3
|
+
|
|
4
|
+
<h3 class="site-preview-heading">Default Hover</h3>
|
|
5
|
+
<button type="button" class="usa-button usx-button usa-button--hover">Hover</button>
|
|
6
|
+
|
|
7
|
+
<h3 class="site-preview-heading">Default Active</h3>
|
|
8
|
+
<button type="button" class="usa-button usx-button usa-button--active">Active</button>
|
|
9
|
+
|
|
10
|
+
<h3 class="site-preview-heading">Default Focus</h3>
|
|
11
|
+
<button type="button" class="usa-button usx-button usa-focus">Focus</button>
|
|
12
|
+
|
|
13
|
+
<h3 class="site-preview-heading">Default Disabled</h3>
|
|
14
|
+
<button type="button" class="usa-button usx-button" disabled aria-disabled="true">Disabled</button>
|
|
15
|
+
|
|
16
|
+
<h3 class="site-preview-heading">Default Aria Disabled</h3>
|
|
17
|
+
<button type="button" class="usa-button usx-button" aria-disabled="true">aria-disabled</button>
|
|
18
|
+
|
|
19
|
+
<h3 class="site-preview-heading">Default Unstyled</h3>
|
|
20
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
21
|
+
|
|
22
|
+
<h3 class="site-preview-heading">Secondary</h3>
|
|
23
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">Default</button>
|
|
24
|
+
|
|
25
|
+
<h3 class="site-preview-heading">Secondary Hover</h3>
|
|
26
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-button--hover">
|
|
27
|
+
Hover
|
|
28
|
+
</button>
|
|
29
|
+
|
|
30
|
+
<h3 class="site-preview-heading">Secondary Active</h3>
|
|
31
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-button--active">
|
|
32
|
+
Active
|
|
33
|
+
</button>
|
|
34
|
+
|
|
35
|
+
<h3 class="site-preview-heading">Secondary Focus</h3>
|
|
36
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-focus">Focus</button>
|
|
37
|
+
|
|
38
|
+
<h3 class="site-preview-heading">Secondary Disabled</h3>
|
|
39
|
+
<button
|
|
40
|
+
type="button"
|
|
41
|
+
class="usa-button usx-button usa-button--secondary"
|
|
42
|
+
disabled
|
|
43
|
+
aria-disabled="true"
|
|
44
|
+
>
|
|
45
|
+
Disabled
|
|
46
|
+
</button>
|
|
47
|
+
|
|
48
|
+
<h3 class="site-preview-heading">Secondary Aria Disabled</h3>
|
|
49
|
+
<button type="button" class="usa-button usx-button usa-button--secondary" aria-disabled="true">
|
|
50
|
+
aria-disabled
|
|
51
|
+
</button>
|
|
52
|
+
|
|
53
|
+
<h3 class="site-preview-heading">Accent Cool</h3>
|
|
54
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool">Default</button>
|
|
55
|
+
|
|
56
|
+
<h3 class="site-preview-heading">Accent Cool Hover</h3>
|
|
57
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-button--hover">
|
|
58
|
+
Hover
|
|
59
|
+
</button>
|
|
60
|
+
|
|
61
|
+
<h3 class="site-preview-heading">Accent Cool Active</h3>
|
|
62
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-button--active">
|
|
63
|
+
Active
|
|
64
|
+
</button>
|
|
65
|
+
|
|
66
|
+
<h3 class="site-preview-heading">Accent Cool Focus</h3>
|
|
67
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-focus">Focus</button>
|
|
68
|
+
|
|
69
|
+
<h3 class="site-preview-heading">Accent Cool Disabled</h3>
|
|
70
|
+
<button
|
|
71
|
+
type="button"
|
|
72
|
+
class="usa-button usx-button usa-button--accent-cool"
|
|
73
|
+
disabled
|
|
74
|
+
aria-disabled="true"
|
|
75
|
+
>
|
|
76
|
+
Disabled
|
|
77
|
+
</button>
|
|
78
|
+
|
|
79
|
+
<h3 class="site-preview-heading">Accent Cool Aria Disabled</h3>
|
|
80
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool" aria-disabled="true">
|
|
81
|
+
aria-disabled
|
|
82
|
+
</button>
|
|
83
|
+
|
|
84
|
+
<h3 class="site-preview-heading">Accent Warm</h3>
|
|
85
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm">Default</button>
|
|
86
|
+
|
|
87
|
+
<h3 class="site-preview-heading">Accent Warm Hover</h3>
|
|
88
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-button--hover">
|
|
89
|
+
Hover
|
|
90
|
+
</button>
|
|
91
|
+
|
|
92
|
+
<h3 class="site-preview-heading">Accent Warm Active</h3>
|
|
93
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-button--active">
|
|
94
|
+
Active
|
|
95
|
+
</button>
|
|
96
|
+
|
|
97
|
+
<h3 class="site-preview-heading">Accent Warm Focus</h3>
|
|
98
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-focus">Focus</button>
|
|
99
|
+
|
|
100
|
+
<h3 class="site-preview-heading">Accent Warm Disabled</h3>
|
|
101
|
+
<button
|
|
102
|
+
type="button"
|
|
103
|
+
class="usa-button usx-button usa-button--accent-warm"
|
|
104
|
+
disabled
|
|
105
|
+
aria-disabled="true"
|
|
106
|
+
>
|
|
107
|
+
Disabled
|
|
108
|
+
</button>
|
|
109
|
+
|
|
110
|
+
<h3 class="site-preview-heading">Accent Warm Aria Disabled</h3>
|
|
111
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm" aria-disabled="true">
|
|
112
|
+
aria-disabled
|
|
113
|
+
</button>
|
|
114
|
+
|
|
115
|
+
<h3 class="site-preview-heading">Base</h3>
|
|
116
|
+
<button type="button" class="usa-button usx-button usa-button--base">Default</button>
|
|
117
|
+
|
|
118
|
+
<h3 class="site-preview-heading">Base Hover</h3>
|
|
119
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-button--hover">
|
|
120
|
+
Hover
|
|
121
|
+
</button>
|
|
122
|
+
|
|
123
|
+
<h3 class="site-preview-heading">Base Active</h3>
|
|
124
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-button--active">
|
|
125
|
+
Active
|
|
126
|
+
</button>
|
|
127
|
+
|
|
128
|
+
<h3 class="site-preview-heading">Base Focus</h3>
|
|
129
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-focus">Focus</button>
|
|
130
|
+
|
|
131
|
+
<h3 class="site-preview-heading">Base Disabled</h3>
|
|
132
|
+
<button type="button" class="usa-button usx-button usa-button--base" disabled aria-disabled="true">
|
|
133
|
+
Disabled
|
|
134
|
+
</button>
|
|
135
|
+
|
|
136
|
+
<h3 class="site-preview-heading">Base Aria Disabled</h3>
|
|
137
|
+
<button type="button" class="usa-button usx-button usa-button--base" aria-disabled="true">
|
|
138
|
+
aria-disabled
|
|
139
|
+
</button>
|
|
140
|
+
|
|
141
|
+
<h3 class="site-preview-heading">Outline</h3>
|
|
142
|
+
<button type="button" class="usa-button usx-button usa-button--outline">Default</button>
|
|
143
|
+
|
|
144
|
+
<h3 class="site-preview-heading">Outline Hover</h3>
|
|
145
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--hover">
|
|
146
|
+
Hover
|
|
147
|
+
</button>
|
|
148
|
+
|
|
149
|
+
<h3 class="site-preview-heading">Outline Active</h3>
|
|
150
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--active">
|
|
151
|
+
Active
|
|
152
|
+
</button>
|
|
153
|
+
|
|
154
|
+
<h3 class="site-preview-heading">Outline Focus</h3>
|
|
155
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-focus">Focus</button>
|
|
156
|
+
|
|
157
|
+
<h3 class="site-preview-heading">Outline Disabled</h3>
|
|
158
|
+
<button
|
|
159
|
+
type="button"
|
|
160
|
+
class="usa-button usx-button usa-button--outline"
|
|
161
|
+
disabled
|
|
162
|
+
aria-disabled="true"
|
|
163
|
+
>
|
|
164
|
+
Disabled
|
|
165
|
+
</button>
|
|
166
|
+
|
|
167
|
+
<h3 class="site-preview-heading">Outline Aria Disabled</h3>
|
|
168
|
+
<button type="button" class="usa-button usx-button usa-button--outline" aria-disabled="true">
|
|
169
|
+
aria-disabled
|
|
170
|
+
</button>
|
|
171
|
+
|
|
172
|
+
<h3 class="site-preview-heading">Outline Inverse</h3>
|
|
173
|
+
<div class="bg-surface-inverse padding-1">
|
|
174
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--inverse">
|
|
175
|
+
Default
|
|
176
|
+
</button>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<h3 class="site-preview-heading">Outline Inverse Hover</h3>
|
|
180
|
+
<div class="bg-surface-inverse padding-1">
|
|
181
|
+
<button
|
|
182
|
+
type="button"
|
|
183
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-button--hover"
|
|
184
|
+
>
|
|
185
|
+
Hover
|
|
186
|
+
</button>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<h3 class="site-preview-heading">Outline Inverse Active</h3>
|
|
190
|
+
<div class="bg-surface-inverse padding-1">
|
|
191
|
+
<button
|
|
192
|
+
type="button"
|
|
193
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-button--active"
|
|
194
|
+
>
|
|
195
|
+
Active
|
|
196
|
+
</button>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<h3 class="site-preview-heading">Outline Inverse Focus</h3>
|
|
200
|
+
<div class="bg-surface-inverse padding-1">
|
|
201
|
+
<button
|
|
202
|
+
type="button"
|
|
203
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-focus"
|
|
204
|
+
>
|
|
205
|
+
Focus
|
|
206
|
+
</button>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<h3 class="site-preview-heading">Outline Inverse Disabled</h3>
|
|
210
|
+
<div class="bg-surface-inverse padding-1">
|
|
211
|
+
<button
|
|
212
|
+
type="button"
|
|
213
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse"
|
|
214
|
+
disabled
|
|
215
|
+
aria-disabled="true"
|
|
216
|
+
>
|
|
217
|
+
Disabled
|
|
218
|
+
</button>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
<h3 class="site-preview-heading">Outline Inverse Aria Disabled</h3>
|
|
222
|
+
<div class="bg-surface-inverse padding-1">
|
|
223
|
+
<button
|
|
224
|
+
type="button"
|
|
225
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse"
|
|
226
|
+
aria-disabled="true"
|
|
227
|
+
>
|
|
228
|
+
aria-disabled
|
|
229
|
+
</button>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
<h3 class="site-preview-heading">Big</h3>
|
|
233
|
+
<button type="button" class="usa-button usx-button usa-button--big">Default</button>
|
|
234
|
+
|
|
235
|
+
<h3 class="site-preview-heading">Big Disabled</h3>
|
|
236
|
+
<button type="button" class="usa-button usx-button usa-button--big" disabled aria-disabled="true">
|
|
237
|
+
Disabled
|
|
238
|
+
</button>
|
|
239
|
+
|
|
240
|
+
<h3 class="site-preview-heading">Big Aria Disabled</h3>
|
|
241
|
+
<button type="button" class="usa-button usx-button usa-button--big" aria-disabled="true">
|
|
242
|
+
aria-disabled
|
|
243
|
+
</button>
|
|
244
|
+
|
|
245
|
+
<h3 class="site-preview-heading">Big Unstyled</h3>
|
|
246
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-button--big">
|
|
247
|
+
Unstyled button
|
|
248
|
+
</button>
|
|
249
|
+
|
|
250
|
+
<h3 class="site-preview-heading">Ghost</h3>
|
|
251
|
+
<button type="button" class="usa-button usx-button usx-button--ghost">Ghost</button>
|
|
252
|
+
|
|
253
|
+
<h3 class="site-preview-heading">Ghost Primary</h3>
|
|
254
|
+
<button type="button" class="usa-button usx-button usa-button--primary usx-button--ghost">
|
|
255
|
+
Primary Ghost
|
|
256
|
+
</button>
|
|
257
|
+
|
|
258
|
+
<h3 class="site-preview-heading">Ghost Secondary</h3>
|
|
259
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usx-button--ghost">
|
|
260
|
+
Secondary Ghost
|
|
261
|
+
</button>
|
|
262
|
+
|
|
263
|
+
<h3 class="site-preview-heading">Ghost Accent Cool</h3>
|
|
264
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usx-button--ghost">
|
|
265
|
+
Accent Cool Ghost
|
|
266
|
+
</button>
|
|
267
|
+
|
|
268
|
+
<h3 class="site-preview-heading">Ghost Accent Warm</h3>
|
|
269
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usx-button--ghost">
|
|
270
|
+
Accent Warm Ghost
|
|
271
|
+
</button>
|
|
272
|
+
|
|
273
|
+
<h3 class="site-preview-heading">Ghost Base</h3>
|
|
274
|
+
<button type="button" class="usa-button usx-button usa-button--base usx-button--ghost">
|
|
275
|
+
Base Ghost
|
|
276
|
+
</button>
|
|
277
|
+
|
|
278
|
+
<h3 class="site-preview-heading">Ghost Inverse</h3>
|
|
279
|
+
<div class="bg-surface-inverse padding-1">
|
|
280
|
+
<button type="button" class="usa-button usx-button usa-button--inverse usx-button--ghost">
|
|
281
|
+
Inverse Ghost
|
|
282
|
+
</button>
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
<h3 class="site-preview-heading">Ghost Disabled</h3>
|
|
286
|
+
<button
|
|
287
|
+
type="button"
|
|
288
|
+
class="usa-button usx-button usa-button--primary usx-button--ghost"
|
|
289
|
+
disabled
|
|
290
|
+
aria-disabled="true"
|
|
291
|
+
>
|
|
292
|
+
Ghost Disabled
|
|
293
|
+
</button>
|
|
294
|
+
|
|
295
|
+
<h3 class="site-preview-heading">Ghost Aria Disabled</h3>
|
|
296
|
+
<button
|
|
297
|
+
type="button"
|
|
298
|
+
class="usa-button usx-button usa-button--primary usx-button--ghost"
|
|
299
|
+
aria-disabled="true"
|
|
300
|
+
>
|
|
301
|
+
Ghost aria-disabled
|
|
302
|
+
</button>
|
|
303
|
+
|
|
304
|
+
<h3 class="site-preview-heading">Ghost With Icon</h3>
|
|
305
|
+
<button type="button" class="usa-button usx-button usa-button--primary usx-button--ghost">
|
|
306
|
+
<svg class="usa-icon usx-icon usa-icon--size-2" aria-hidden="true" focusable="false" role="img">
|
|
307
|
+
<use href="img/sprite.svg#arrow_back"></use>
|
|
308
|
+
</svg>
|
|
309
|
+
|
|
310
|
+
Ghost with icon
|
|
311
|
+
</button>
|
|
312
|
+
|
|
313
|
+
<h3 class="site-preview-heading">Multiple Icons</h3>
|
|
314
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
315
|
+
<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
|
|
316
|
+
<use href="img/sprite.svg#star"></use>
|
|
317
|
+
</svg>
|
|
318
|
+
|
|
319
|
+
<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
|
|
320
|
+
<use href="img/sprite.svg#arrow_back"></use>
|
|
321
|
+
</svg>
|
|
322
|
+
|
|
323
|
+
Multiple icons
|
|
324
|
+
|
|
325
|
+
<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
|
|
326
|
+
<use href="img/sprite.svg#arrow_forward"></use>
|
|
327
|
+
</svg>
|
|
328
|
+
|
|
329
|
+
<svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
|
|
330
|
+
<use href="img/sprite.svg#file_download"></use>
|
|
331
|
+
</svg>
|
|
332
|
+
</button>
|
|
333
|
+
|
|
334
|
+
<h3 class="site-preview-heading">Loading</h3>
|
|
335
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
336
|
+
<span role="status" aria-live="polite" class="usx-spinner">
|
|
337
|
+
<svg class="usa-icon usx-icon usa-icon--size-2" aria-hidden="true" focusable="false" role="img">
|
|
338
|
+
<use href="img/usx-sprite.svg#spinner"></use>
|
|
339
|
+
</svg>
|
|
340
|
+
</span>
|
|
341
|
+
|
|
342
|
+
Loading
|
|
343
|
+
</button>
|
|
344
|
+
|
|
345
|
+
<h3 class="site-preview-heading">Loading Disabled</h3>
|
|
346
|
+
<button
|
|
347
|
+
type="button"
|
|
348
|
+
class="usa-button usx-button usa-button--primary"
|
|
349
|
+
disabled
|
|
350
|
+
aria-disabled="true"
|
|
351
|
+
>
|
|
352
|
+
<span role="status" aria-live="polite" class="usx-spinner">
|
|
353
|
+
<svg class="usa-icon usx-icon usa-icon--size-2" aria-hidden="true" focusable="false" role="img">
|
|
354
|
+
<use href="img/usx-sprite.svg#spinner"></use>
|
|
355
|
+
</svg>
|
|
356
|
+
</span>
|
|
357
|
+
|
|
358
|
+
Loading
|
|
359
|
+
</button>
|
|
360
|
+
|
|
361
|
+
<h3 class="site-preview-heading">All Variants</h3>
|
|
362
|
+
<h3>Primary</h3>
|
|
363
|
+
<button type="button" class="usa-button usx-button usa-button--primary">Default</button>
|
|
364
|
+
<button type="button" class="usa-button usx-button usa-button--primary usa-button--hover">
|
|
365
|
+
Hover
|
|
366
|
+
</button>
|
|
367
|
+
<button type="button" class="usa-button usx-button usa-button--primary usa-button--active">
|
|
368
|
+
Active
|
|
369
|
+
</button>
|
|
370
|
+
<button type="button" class="usa-button usx-button usa-button--primary usa-focus">Focus</button>
|
|
371
|
+
<button
|
|
372
|
+
type="button"
|
|
373
|
+
class="usa-button usx-button usa-button--primary"
|
|
374
|
+
disabled
|
|
375
|
+
aria-disabled="true"
|
|
376
|
+
>
|
|
377
|
+
Disabled
|
|
378
|
+
</button>
|
|
379
|
+
<button type="button" class="usa-button usx-button usa-button--primary" aria-disabled="true">
|
|
380
|
+
aria-disabled
|
|
381
|
+
</button>
|
|
382
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
383
|
+
<h3>Secondary</h3>
|
|
384
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">Default</button>
|
|
385
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-button--hover">
|
|
386
|
+
Hover
|
|
387
|
+
</button>
|
|
388
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-button--active">
|
|
389
|
+
Active
|
|
390
|
+
</button>
|
|
391
|
+
<button type="button" class="usa-button usx-button usa-button--secondary usa-focus">Focus</button>
|
|
392
|
+
<button
|
|
393
|
+
type="button"
|
|
394
|
+
class="usa-button usx-button usa-button--secondary"
|
|
395
|
+
disabled
|
|
396
|
+
aria-disabled="true"
|
|
397
|
+
>
|
|
398
|
+
Disabled
|
|
399
|
+
</button>
|
|
400
|
+
<button type="button" class="usa-button usx-button usa-button--secondary" aria-disabled="true">
|
|
401
|
+
aria-disabled
|
|
402
|
+
</button>
|
|
403
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
404
|
+
<h3>Accent Cool</h3>
|
|
405
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool">Default</button>
|
|
406
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-button--hover">
|
|
407
|
+
Hover
|
|
408
|
+
</button>
|
|
409
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-button--active">
|
|
410
|
+
Active
|
|
411
|
+
</button>
|
|
412
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool usa-focus">Focus</button>
|
|
413
|
+
<button
|
|
414
|
+
type="button"
|
|
415
|
+
class="usa-button usx-button usa-button--accent-cool"
|
|
416
|
+
disabled
|
|
417
|
+
aria-disabled="true"
|
|
418
|
+
>
|
|
419
|
+
Disabled
|
|
420
|
+
</button>
|
|
421
|
+
<button type="button" class="usa-button usx-button usa-button--accent-cool" aria-disabled="true">
|
|
422
|
+
aria-disabled
|
|
423
|
+
</button>
|
|
424
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
425
|
+
<h3>Accent Warm</h3>
|
|
426
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm">Default</button>
|
|
427
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-button--hover">
|
|
428
|
+
Hover
|
|
429
|
+
</button>
|
|
430
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-button--active">
|
|
431
|
+
Active
|
|
432
|
+
</button>
|
|
433
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm usa-focus">Focus</button>
|
|
434
|
+
<button
|
|
435
|
+
type="button"
|
|
436
|
+
class="usa-button usx-button usa-button--accent-warm"
|
|
437
|
+
disabled
|
|
438
|
+
aria-disabled="true"
|
|
439
|
+
>
|
|
440
|
+
Disabled
|
|
441
|
+
</button>
|
|
442
|
+
<button type="button" class="usa-button usx-button usa-button--accent-warm" aria-disabled="true">
|
|
443
|
+
aria-disabled
|
|
444
|
+
</button>
|
|
445
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
446
|
+
<h3>Base</h3>
|
|
447
|
+
<button type="button" class="usa-button usx-button usa-button--base">Default</button>
|
|
448
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-button--hover">
|
|
449
|
+
Hover
|
|
450
|
+
</button>
|
|
451
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-button--active">
|
|
452
|
+
Active
|
|
453
|
+
</button>
|
|
454
|
+
<button type="button" class="usa-button usx-button usa-button--base usa-focus">Focus</button>
|
|
455
|
+
<button type="button" class="usa-button usx-button usa-button--base" disabled aria-disabled="true">
|
|
456
|
+
Disabled
|
|
457
|
+
</button>
|
|
458
|
+
<button type="button" class="usa-button usx-button usa-button--base" aria-disabled="true">
|
|
459
|
+
aria-disabled
|
|
460
|
+
</button>
|
|
461
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
462
|
+
<h3>Outline</h3>
|
|
463
|
+
<button type="button" class="usa-button usx-button usa-button--outline">Default</button>
|
|
464
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--hover">
|
|
465
|
+
Hover
|
|
466
|
+
</button>
|
|
467
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--active">
|
|
468
|
+
Active
|
|
469
|
+
</button>
|
|
470
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-focus">Focus</button>
|
|
471
|
+
<button
|
|
472
|
+
type="button"
|
|
473
|
+
class="usa-button usx-button usa-button--outline"
|
|
474
|
+
disabled
|
|
475
|
+
aria-disabled="true"
|
|
476
|
+
>
|
|
477
|
+
Disabled
|
|
478
|
+
</button>
|
|
479
|
+
<button type="button" class="usa-button usx-button usa-button--outline" aria-disabled="true">
|
|
480
|
+
aria-disabled
|
|
481
|
+
</button>
|
|
482
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Unstyled button</button>
|
|
483
|
+
<h3>Outline Inverse</h3>
|
|
484
|
+
<div class="bg-surface-inverse padding-1" style="margin-left: -1rem; width: fit-content">
|
|
485
|
+
<button type="button" class="usa-button usx-button usa-button--outline usa-button--inverse">
|
|
486
|
+
Default
|
|
487
|
+
</button>
|
|
488
|
+
<button
|
|
489
|
+
type="button"
|
|
490
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-button--hover"
|
|
491
|
+
>
|
|
492
|
+
Hover
|
|
493
|
+
</button>
|
|
494
|
+
<button
|
|
495
|
+
type="button"
|
|
496
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-button--active"
|
|
497
|
+
>
|
|
498
|
+
Active
|
|
499
|
+
</button>
|
|
500
|
+
<button
|
|
501
|
+
type="button"
|
|
502
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse usa-focus"
|
|
503
|
+
>
|
|
504
|
+
Focus
|
|
505
|
+
</button>
|
|
506
|
+
<button
|
|
507
|
+
type="button"
|
|
508
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse"
|
|
509
|
+
disabled
|
|
510
|
+
aria-disabled="true"
|
|
511
|
+
>
|
|
512
|
+
Disabled
|
|
513
|
+
</button>
|
|
514
|
+
<button
|
|
515
|
+
type="button"
|
|
516
|
+
class="usa-button usx-button usa-button--outline usa-button--inverse"
|
|
517
|
+
aria-disabled="true"
|
|
518
|
+
>
|
|
519
|
+
aria-disabled
|
|
520
|
+
</button>
|
|
521
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-button--inverse">
|
|
522
|
+
Unstyled button
|
|
523
|
+
</button>
|
|
524
|
+
</div>
|
|
525
|
+
<h3>Big</h3>
|
|
526
|
+
<button type="button" class="usa-button usx-button usa-button--big">Default</button>
|
|
527
|
+
<button type="button" class="usa-button usx-button usa-button--big usa-button--active">
|
|
528
|
+
Active
|
|
529
|
+
</button>
|
|
530
|
+
<button type="button" class="usa-button usx-button usa-button--big" disabled aria-disabled="true">
|
|
531
|
+
Disabled
|
|
532
|
+
</button>
|
|
533
|
+
<button type="button" class="usa-button usx-button usa-button--big" aria-disabled="true">
|
|
534
|
+
aria-disabled
|
|
535
|
+
</button>
|
|
536
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-button--big">
|
|
537
|
+
Unstyled button
|
|
538
|
+
</button>
|
|
539
|
+
<h3>Unstyled</h3>
|
|
540
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled">Default</button>
|
|
541
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-button--hover">
|
|
542
|
+
Hover
|
|
543
|
+
</button>
|
|
544
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-button--active">
|
|
545
|
+
Active
|
|
546
|
+
</button>
|
|
547
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled usa-focus">Focus</button>
|
|
548
|
+
<button
|
|
549
|
+
type="button"
|
|
550
|
+
class="usa-button usx-button usa-button--unstyled"
|
|
551
|
+
disabled
|
|
552
|
+
aria-disabled="true"
|
|
553
|
+
>
|
|
554
|
+
Disabled
|
|
555
|
+
</button>
|
|
556
|
+
<button type="button" class="usa-button usx-button usa-button--unstyled" aria-disabled="true">
|
|
557
|
+
aria-disabled
|
|
558
|
+
</button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{% load
|
|
1
|
+
{% load usx_components %}
|
|
2
2
|
|
|
3
3
|
{% if href %}
|
|
4
4
|
<a
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"
|
|
15
15
|
{% if disabled == True %} aria-disabled="true" {% endif %}
|
|
16
16
|
{% if isExternal %} target="_blank" rel="noopener noreferrer" {% endif %}
|
|
17
|
+
{% if extraAttributes %}{% for attr, value in extraAttributes.items %} {{ attr }}="{% if value is True %}true{% elif value is False %}false{% else %}{{ value }}{% endif %}"{% endfor %}{% endif %}
|
|
17
18
|
>
|
|
18
19
|
{% else %}
|
|
19
20
|
|
|
@@ -23,13 +24,12 @@
|
|
|
23
24
|
usa-button usx-button
|
|
24
25
|
{% if variant %} usa-button--{{ variant }}{% endif %}
|
|
25
26
|
{% if big == True %} usa-button--big{% endif %}
|
|
26
|
-
{% if disabled == True %} usa-button--disabled{% endif %}
|
|
27
27
|
{% if inverse == True %} usa-button--inverse{% endif %}
|
|
28
28
|
{% if ghost == True %} usx-button--ghost{% endif %}
|
|
29
29
|
{% if className %} {{ className }}{% endif %}
|
|
30
30
|
"
|
|
31
|
-
{% if disabled == True %} disabled
|
|
32
|
-
{% if extraAttributes %}{% for attr, value in extraAttributes.items %} {{ attr }}="{{ value }}"{% endfor %}{% endif %}
|
|
31
|
+
{% if disabled == True %} disabled aria-disabled="true" {% endif %}
|
|
32
|
+
{% if extraAttributes %}{% for attr, value in extraAttributes.items %} {{ attr }}="{% if value is True %}true{% elif value is False %}false{% else %}{{ value }}{% endif %}"{% endfor %}{% endif %}
|
|
33
33
|
>
|
|
34
34
|
{% endif %}
|
|
35
35
|
{% if loading %}
|