@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,1198 @@
|
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
3
|
+
<div class="usa-card__container">
|
|
4
|
+
<div class="usa-card__header">
|
|
5
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div class="usa-card__body">
|
|
9
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="usa-card__footer">
|
|
13
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
14
|
+
<li class="usa-button-group__item">
|
|
15
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
16
|
+
Learn More
|
|
17
|
+
</button>
|
|
18
|
+
</li>
|
|
19
|
+
|
|
20
|
+
<li class="usa-button-group__item">
|
|
21
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
22
|
+
View Details
|
|
23
|
+
</button>
|
|
24
|
+
</li>
|
|
25
|
+
</ul>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<h3 class="site-preview-heading">With Image</h3>
|
|
31
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
32
|
+
<div class="usa-card__container">
|
|
33
|
+
<div class="usa-card__header">
|
|
34
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="usa-card__media">
|
|
38
|
+
<figure class="usx-image usa-card__img">
|
|
39
|
+
<img
|
|
40
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
41
|
+
alt="Placeholder image for card"
|
|
42
|
+
/>
|
|
43
|
+
|
|
44
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
45
|
+
</figure>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div class="usa-card__body">
|
|
49
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div class="usa-card__footer">
|
|
53
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
54
|
+
<li class="usa-button-group__item">
|
|
55
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
56
|
+
Learn More
|
|
57
|
+
</button>
|
|
58
|
+
</li>
|
|
59
|
+
|
|
60
|
+
<li class="usa-button-group__item">
|
|
61
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
62
|
+
View Details
|
|
63
|
+
</button>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
<h3 class="site-preview-heading">With Tags</h3>
|
|
71
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
72
|
+
<div class="usa-card__container">
|
|
73
|
+
<div class="usa-card__header">
|
|
74
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="usa-card__media">
|
|
78
|
+
<figure class="usx-image usa-card__img">
|
|
79
|
+
<img
|
|
80
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
81
|
+
alt="Placeholder image for card"
|
|
82
|
+
/>
|
|
83
|
+
|
|
84
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
85
|
+
</figure>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
<div class="usa-card__body">
|
|
89
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div class="usa-card__footer">
|
|
93
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
94
|
+
<li class="usa-button-group__item">
|
|
95
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
96
|
+
Learn More
|
|
97
|
+
</button>
|
|
98
|
+
</li>
|
|
99
|
+
|
|
100
|
+
<li class="usa-button-group__item">
|
|
101
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
102
|
+
View Details
|
|
103
|
+
</button>
|
|
104
|
+
</li>
|
|
105
|
+
</ul>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<h3 class="site-preview-heading">With Image And Tags</h3>
|
|
111
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
112
|
+
<div class="usa-card__container">
|
|
113
|
+
<div class="usa-card__header">
|
|
114
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<div class="usa-card__media">
|
|
118
|
+
<figure class="usx-image usa-card__img">
|
|
119
|
+
<img
|
|
120
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
121
|
+
alt="Placeholder image for card"
|
|
122
|
+
/>
|
|
123
|
+
|
|
124
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
125
|
+
</figure>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div class="usa-card__body">
|
|
129
|
+
<div class="usx-tag-group">
|
|
130
|
+
<span class="usa-tag usx-tag bg-primary"> Primary </span>
|
|
131
|
+
|
|
132
|
+
<span class="usa-tag usx-tag bg-success"> Success </span>
|
|
133
|
+
|
|
134
|
+
<span class="usa-tag usx-tag bg-warning"> Warning </span>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
<div class="usa-card__footer">
|
|
141
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
142
|
+
<li class="usa-button-group__item">
|
|
143
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
144
|
+
Learn More
|
|
145
|
+
</button>
|
|
146
|
+
</li>
|
|
147
|
+
|
|
148
|
+
<li class="usa-button-group__item">
|
|
149
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
150
|
+
View Details
|
|
151
|
+
</button>
|
|
152
|
+
</li>
|
|
153
|
+
</ul>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<h3 class="site-preview-heading">Flag Layout</h3>
|
|
159
|
+
<div class="usa-card usx-card usa-card--flag grid-col-8">
|
|
160
|
+
<div class="usa-card__container">
|
|
161
|
+
<div class="usa-card__header">
|
|
162
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div class="usa-card__media">
|
|
166
|
+
<figure class="usx-image usa-card__img">
|
|
167
|
+
<img
|
|
168
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
169
|
+
alt="Placeholder image for card"
|
|
170
|
+
/>
|
|
171
|
+
|
|
172
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
173
|
+
</figure>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div class="usa-card__body">
|
|
177
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<div class="usa-card__footer">
|
|
181
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
182
|
+
<li class="usa-button-group__item">
|
|
183
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
184
|
+
Learn More
|
|
185
|
+
</button>
|
|
186
|
+
</li>
|
|
187
|
+
|
|
188
|
+
<li class="usa-button-group__item">
|
|
189
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
190
|
+
View Details
|
|
191
|
+
</button>
|
|
192
|
+
</li>
|
|
193
|
+
</ul>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<h3 class="site-preview-heading">Media Right</h3>
|
|
199
|
+
<div class="usa-card usx-card usa-card--flag usa-card--media-right grid-col-8">
|
|
200
|
+
<div class="usa-card__container">
|
|
201
|
+
<div class="usa-card__header">
|
|
202
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<div class="usa-card__media">
|
|
206
|
+
<figure class="usx-image usa-card__img">
|
|
207
|
+
<img
|
|
208
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
209
|
+
alt="Placeholder image for card"
|
|
210
|
+
/>
|
|
211
|
+
|
|
212
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
213
|
+
</figure>
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
<div class="usa-card__body">
|
|
217
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
218
|
+
</div>
|
|
219
|
+
|
|
220
|
+
<div class="usa-card__footer">
|
|
221
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
222
|
+
<li class="usa-button-group__item">
|
|
223
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
224
|
+
Learn More
|
|
225
|
+
</button>
|
|
226
|
+
</li>
|
|
227
|
+
|
|
228
|
+
<li class="usa-button-group__item">
|
|
229
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
230
|
+
View Details
|
|
231
|
+
</button>
|
|
232
|
+
</li>
|
|
233
|
+
</ul>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
<h3 class="site-preview-heading">Header First</h3>
|
|
239
|
+
<div class="usa-card usx-card usa-card--header-first tablet:grid-col-8 widescreen:grid-col-6">
|
|
240
|
+
<div class="usa-card__container">
|
|
241
|
+
<div class="usa-card__header">
|
|
242
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div class="usa-card__media">
|
|
246
|
+
<figure class="usx-image usa-card__img">
|
|
247
|
+
<img
|
|
248
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
249
|
+
alt="Placeholder image for card"
|
|
250
|
+
/>
|
|
251
|
+
|
|
252
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
253
|
+
</figure>
|
|
254
|
+
</div>
|
|
255
|
+
|
|
256
|
+
<div class="usa-card__body">
|
|
257
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
258
|
+
</div>
|
|
259
|
+
|
|
260
|
+
<div class="usa-card__footer">
|
|
261
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
262
|
+
<li class="usa-button-group__item">
|
|
263
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
264
|
+
Learn More
|
|
265
|
+
</button>
|
|
266
|
+
</li>
|
|
267
|
+
|
|
268
|
+
<li class="usa-button-group__item">
|
|
269
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
270
|
+
View Details
|
|
271
|
+
</button>
|
|
272
|
+
</li>
|
|
273
|
+
</ul>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
<h3 class="site-preview-heading">Media Inset</h3>
|
|
279
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
280
|
+
<div class="usa-card__container">
|
|
281
|
+
<div class="usa-card__header">
|
|
282
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
<div class="usa-card__media usa-card__media--inset">
|
|
286
|
+
<figure class="usx-image usa-card__img">
|
|
287
|
+
<img
|
|
288
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
289
|
+
alt="Placeholder image for card"
|
|
290
|
+
/>
|
|
291
|
+
|
|
292
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
293
|
+
</figure>
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
<div class="usa-card__body">
|
|
297
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
298
|
+
</div>
|
|
299
|
+
|
|
300
|
+
<div class="usa-card__footer">
|
|
301
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
302
|
+
<li class="usa-button-group__item">
|
|
303
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
304
|
+
Learn More
|
|
305
|
+
</button>
|
|
306
|
+
</li>
|
|
307
|
+
|
|
308
|
+
<li class="usa-button-group__item">
|
|
309
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
310
|
+
View Details
|
|
311
|
+
</button>
|
|
312
|
+
</li>
|
|
313
|
+
</ul>
|
|
314
|
+
</div>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<h3 class="site-preview-heading">Media Inset Right</h3>
|
|
319
|
+
<div
|
|
320
|
+
class="usa-card usx-card usa-card--flag usa-card--media-right tablet:grid-col-8 widescreen:grid-col-6"
|
|
321
|
+
>
|
|
322
|
+
<div class="usa-card__container">
|
|
323
|
+
<div class="usa-card__header">
|
|
324
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
325
|
+
</div>
|
|
326
|
+
|
|
327
|
+
<div class="usa-card__media usa-card__media--inset">
|
|
328
|
+
<figure class="usx-image usa-card__img">
|
|
329
|
+
<img
|
|
330
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
331
|
+
alt="Placeholder image for card"
|
|
332
|
+
/>
|
|
333
|
+
|
|
334
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
335
|
+
</figure>
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
<div class="usa-card__body">
|
|
339
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
340
|
+
</div>
|
|
341
|
+
|
|
342
|
+
<div class="usa-card__footer">
|
|
343
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
344
|
+
<li class="usa-button-group__item">
|
|
345
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
346
|
+
Learn More
|
|
347
|
+
</button>
|
|
348
|
+
</li>
|
|
349
|
+
|
|
350
|
+
<li class="usa-button-group__item">
|
|
351
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
352
|
+
View Details
|
|
353
|
+
</button>
|
|
354
|
+
</li>
|
|
355
|
+
</ul>
|
|
356
|
+
</div>
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
<h3 class="site-preview-heading">Media Exdent</h3>
|
|
361
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
362
|
+
<div class="usa-card__container">
|
|
363
|
+
<div class="usa-card__header">
|
|
364
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
365
|
+
</div>
|
|
366
|
+
|
|
367
|
+
<div class="usa-card__media usa-card__media--exdent">
|
|
368
|
+
<figure class="usx-image usa-card__img">
|
|
369
|
+
<img
|
|
370
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
371
|
+
alt="Placeholder image for card"
|
|
372
|
+
/>
|
|
373
|
+
|
|
374
|
+
<figcaption class="usx-image--caption usa-sr-only">This is an image caption.</figcaption>
|
|
375
|
+
</figure>
|
|
376
|
+
</div>
|
|
377
|
+
|
|
378
|
+
<div class="usa-card__body">
|
|
379
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
<div class="usa-card__footer">
|
|
383
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
384
|
+
<li class="usa-button-group__item">
|
|
385
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
386
|
+
Learn More
|
|
387
|
+
</button>
|
|
388
|
+
</li>
|
|
389
|
+
|
|
390
|
+
<li class="usa-button-group__item">
|
|
391
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
392
|
+
View Details
|
|
393
|
+
</button>
|
|
394
|
+
</li>
|
|
395
|
+
</ul>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
</div>
|
|
399
|
+
|
|
400
|
+
<h3 class="site-preview-heading">With Carousel</h3>
|
|
401
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
402
|
+
<div class="usa-card__container">
|
|
403
|
+
<div class="usa-card__header">
|
|
404
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
405
|
+
</div>
|
|
406
|
+
|
|
407
|
+
<div class="usa-card__media">
|
|
408
|
+
<div
|
|
409
|
+
class="usx-carousel usx-card__carousel"
|
|
410
|
+
role="group"
|
|
411
|
+
aria-roledescription="carousel"
|
|
412
|
+
aria-label="Card Title images"
|
|
413
|
+
>
|
|
414
|
+
<div class="usx-carousel__viewport">
|
|
415
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
416
|
+
<div
|
|
417
|
+
class="usx-carousel__slide"
|
|
418
|
+
role="group"
|
|
419
|
+
aria-roledescription="slide"
|
|
420
|
+
aria-label="1 of 3"
|
|
421
|
+
>
|
|
422
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
423
|
+
<img
|
|
424
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
425
|
+
alt="Placeholder image for card"
|
|
426
|
+
/>
|
|
427
|
+
|
|
428
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
429
|
+
This is an image caption.
|
|
430
|
+
</figcaption>
|
|
431
|
+
</figure>
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
<div
|
|
435
|
+
class="usx-carousel__slide"
|
|
436
|
+
role="group"
|
|
437
|
+
aria-roledescription="slide"
|
|
438
|
+
aria-label="2 of 3"
|
|
439
|
+
>
|
|
440
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
441
|
+
<img
|
|
442
|
+
src="https://picsum.photos/800/300?random=1"
|
|
443
|
+
alt="Placeholder image for card"
|
|
444
|
+
/>
|
|
445
|
+
|
|
446
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
447
|
+
This is another image caption.
|
|
448
|
+
</figcaption>
|
|
449
|
+
</figure>
|
|
450
|
+
</div>
|
|
451
|
+
|
|
452
|
+
<div
|
|
453
|
+
class="usx-carousel__slide"
|
|
454
|
+
role="group"
|
|
455
|
+
aria-roledescription="slide"
|
|
456
|
+
aria-label="3 of 3"
|
|
457
|
+
>
|
|
458
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
459
|
+
<img
|
|
460
|
+
src="https://picsum.photos/800/300?random=2"
|
|
461
|
+
alt="Placeholder image for card"
|
|
462
|
+
/>
|
|
463
|
+
|
|
464
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
465
|
+
This is yet another image caption.
|
|
466
|
+
</figcaption>
|
|
467
|
+
</figure>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
</div>
|
|
472
|
+
</div>
|
|
473
|
+
|
|
474
|
+
<div class="usa-card__body">
|
|
475
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
476
|
+
</div>
|
|
477
|
+
|
|
478
|
+
<div class="usa-card__footer">
|
|
479
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
480
|
+
<li class="usa-button-group__item">
|
|
481
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
482
|
+
Learn More
|
|
483
|
+
</button>
|
|
484
|
+
</li>
|
|
485
|
+
|
|
486
|
+
<li class="usa-button-group__item">
|
|
487
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
488
|
+
View Details
|
|
489
|
+
</button>
|
|
490
|
+
</li>
|
|
491
|
+
</ul>
|
|
492
|
+
</div>
|
|
493
|
+
</div>
|
|
494
|
+
</div>
|
|
495
|
+
|
|
496
|
+
<h3 class="site-preview-heading">With Carousel Inset</h3>
|
|
497
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
498
|
+
<div class="usa-card__container">
|
|
499
|
+
<div class="usa-card__header">
|
|
500
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
503
|
+
<div class="usa-card__media usa-card__media--inset">
|
|
504
|
+
<div
|
|
505
|
+
class="usx-carousel usx-card__carousel"
|
|
506
|
+
role="group"
|
|
507
|
+
aria-roledescription="carousel"
|
|
508
|
+
aria-label="Card Title images"
|
|
509
|
+
>
|
|
510
|
+
<div class="usx-carousel__viewport">
|
|
511
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
512
|
+
<div
|
|
513
|
+
class="usx-carousel__slide"
|
|
514
|
+
role="group"
|
|
515
|
+
aria-roledescription="slide"
|
|
516
|
+
aria-label="1 of 3"
|
|
517
|
+
>
|
|
518
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
519
|
+
<img
|
|
520
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
521
|
+
alt="Placeholder image for card"
|
|
522
|
+
/>
|
|
523
|
+
|
|
524
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
525
|
+
This is an image caption.
|
|
526
|
+
</figcaption>
|
|
527
|
+
</figure>
|
|
528
|
+
</div>
|
|
529
|
+
|
|
530
|
+
<div
|
|
531
|
+
class="usx-carousel__slide"
|
|
532
|
+
role="group"
|
|
533
|
+
aria-roledescription="slide"
|
|
534
|
+
aria-label="2 of 3"
|
|
535
|
+
>
|
|
536
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
537
|
+
<img
|
|
538
|
+
src="https://picsum.photos/800/300?random=1"
|
|
539
|
+
alt="Placeholder image for card"
|
|
540
|
+
/>
|
|
541
|
+
|
|
542
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
543
|
+
This is another image caption.
|
|
544
|
+
</figcaption>
|
|
545
|
+
</figure>
|
|
546
|
+
</div>
|
|
547
|
+
|
|
548
|
+
<div
|
|
549
|
+
class="usx-carousel__slide"
|
|
550
|
+
role="group"
|
|
551
|
+
aria-roledescription="slide"
|
|
552
|
+
aria-label="3 of 3"
|
|
553
|
+
>
|
|
554
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
555
|
+
<img
|
|
556
|
+
src="https://picsum.photos/800/300?random=2"
|
|
557
|
+
alt="Placeholder image for card"
|
|
558
|
+
/>
|
|
559
|
+
|
|
560
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
561
|
+
This is yet another image caption.
|
|
562
|
+
</figcaption>
|
|
563
|
+
</figure>
|
|
564
|
+
</div>
|
|
565
|
+
</div>
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
568
|
+
</div>
|
|
569
|
+
|
|
570
|
+
<div class="usa-card__body">
|
|
571
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
572
|
+
</div>
|
|
573
|
+
|
|
574
|
+
<div class="usa-card__footer">
|
|
575
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
576
|
+
<li class="usa-button-group__item">
|
|
577
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
578
|
+
Learn More
|
|
579
|
+
</button>
|
|
580
|
+
</li>
|
|
581
|
+
|
|
582
|
+
<li class="usa-button-group__item">
|
|
583
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
584
|
+
View Details
|
|
585
|
+
</button>
|
|
586
|
+
</li>
|
|
587
|
+
</ul>
|
|
588
|
+
</div>
|
|
589
|
+
</div>
|
|
590
|
+
</div>
|
|
591
|
+
|
|
592
|
+
<h3 class="site-preview-heading">With Carousel No Dots</h3>
|
|
593
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
594
|
+
<div class="usa-card__container">
|
|
595
|
+
<div class="usa-card__header">
|
|
596
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
597
|
+
</div>
|
|
598
|
+
|
|
599
|
+
<div class="usa-card__media">
|
|
600
|
+
<div
|
|
601
|
+
class="usx-carousel usx-card__carousel"
|
|
602
|
+
role="group"
|
|
603
|
+
aria-roledescription="carousel"
|
|
604
|
+
aria-label="Card Title images"
|
|
605
|
+
data-show-dots="false"
|
|
606
|
+
>
|
|
607
|
+
<div class="usx-carousel__viewport">
|
|
608
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
609
|
+
<div
|
|
610
|
+
class="usx-carousel__slide"
|
|
611
|
+
role="group"
|
|
612
|
+
aria-roledescription="slide"
|
|
613
|
+
aria-label="1 of 3"
|
|
614
|
+
>
|
|
615
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
616
|
+
<img
|
|
617
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
618
|
+
alt="Placeholder image for card"
|
|
619
|
+
/>
|
|
620
|
+
|
|
621
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
622
|
+
This is an image caption.
|
|
623
|
+
</figcaption>
|
|
624
|
+
</figure>
|
|
625
|
+
</div>
|
|
626
|
+
|
|
627
|
+
<div
|
|
628
|
+
class="usx-carousel__slide"
|
|
629
|
+
role="group"
|
|
630
|
+
aria-roledescription="slide"
|
|
631
|
+
aria-label="2 of 3"
|
|
632
|
+
>
|
|
633
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
634
|
+
<img
|
|
635
|
+
src="https://picsum.photos/800/300?random=1"
|
|
636
|
+
alt="Placeholder image for card"
|
|
637
|
+
/>
|
|
638
|
+
|
|
639
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
640
|
+
This is another image caption.
|
|
641
|
+
</figcaption>
|
|
642
|
+
</figure>
|
|
643
|
+
</div>
|
|
644
|
+
|
|
645
|
+
<div
|
|
646
|
+
class="usx-carousel__slide"
|
|
647
|
+
role="group"
|
|
648
|
+
aria-roledescription="slide"
|
|
649
|
+
aria-label="3 of 3"
|
|
650
|
+
>
|
|
651
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
652
|
+
<img
|
|
653
|
+
src="https://picsum.photos/800/300?random=2"
|
|
654
|
+
alt="Placeholder image for card"
|
|
655
|
+
/>
|
|
656
|
+
|
|
657
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
658
|
+
This is yet another image caption.
|
|
659
|
+
</figcaption>
|
|
660
|
+
</figure>
|
|
661
|
+
</div>
|
|
662
|
+
</div>
|
|
663
|
+
</div>
|
|
664
|
+
</div>
|
|
665
|
+
</div>
|
|
666
|
+
|
|
667
|
+
<div class="usa-card__body">
|
|
668
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
669
|
+
</div>
|
|
670
|
+
|
|
671
|
+
<div class="usa-card__footer">
|
|
672
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
673
|
+
<li class="usa-button-group__item">
|
|
674
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
675
|
+
Learn More
|
|
676
|
+
</button>
|
|
677
|
+
</li>
|
|
678
|
+
|
|
679
|
+
<li class="usa-button-group__item">
|
|
680
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
681
|
+
View Details
|
|
682
|
+
</button>
|
|
683
|
+
</li>
|
|
684
|
+
</ul>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
</div>
|
|
688
|
+
|
|
689
|
+
<h3 class="site-preview-heading">With Carousel And Tags</h3>
|
|
690
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
691
|
+
<div class="usa-card__container">
|
|
692
|
+
<div class="usa-card__header">
|
|
693
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
694
|
+
</div>
|
|
695
|
+
|
|
696
|
+
<div class="usa-card__media">
|
|
697
|
+
<div
|
|
698
|
+
class="usx-carousel usx-card__carousel"
|
|
699
|
+
role="group"
|
|
700
|
+
aria-roledescription="carousel"
|
|
701
|
+
aria-label="Card Title images"
|
|
702
|
+
>
|
|
703
|
+
<div class="usx-carousel__viewport">
|
|
704
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
705
|
+
<div
|
|
706
|
+
class="usx-carousel__slide"
|
|
707
|
+
role="group"
|
|
708
|
+
aria-roledescription="slide"
|
|
709
|
+
aria-label="1 of 3"
|
|
710
|
+
>
|
|
711
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
712
|
+
<img
|
|
713
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
714
|
+
alt="Placeholder image for card"
|
|
715
|
+
/>
|
|
716
|
+
|
|
717
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
718
|
+
This is an image caption.
|
|
719
|
+
</figcaption>
|
|
720
|
+
</figure>
|
|
721
|
+
</div>
|
|
722
|
+
|
|
723
|
+
<div
|
|
724
|
+
class="usx-carousel__slide"
|
|
725
|
+
role="group"
|
|
726
|
+
aria-roledescription="slide"
|
|
727
|
+
aria-label="2 of 3"
|
|
728
|
+
>
|
|
729
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
730
|
+
<img
|
|
731
|
+
src="https://picsum.photos/800/300?random=1"
|
|
732
|
+
alt="Placeholder image for card"
|
|
733
|
+
/>
|
|
734
|
+
|
|
735
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
736
|
+
This is another image caption.
|
|
737
|
+
</figcaption>
|
|
738
|
+
</figure>
|
|
739
|
+
</div>
|
|
740
|
+
|
|
741
|
+
<div
|
|
742
|
+
class="usx-carousel__slide"
|
|
743
|
+
role="group"
|
|
744
|
+
aria-roledescription="slide"
|
|
745
|
+
aria-label="3 of 3"
|
|
746
|
+
>
|
|
747
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
748
|
+
<img
|
|
749
|
+
src="https://picsum.photos/800/300?random=2"
|
|
750
|
+
alt="Placeholder image for card"
|
|
751
|
+
/>
|
|
752
|
+
|
|
753
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
754
|
+
This is yet another image caption.
|
|
755
|
+
</figcaption>
|
|
756
|
+
</figure>
|
|
757
|
+
</div>
|
|
758
|
+
</div>
|
|
759
|
+
</div>
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
|
|
763
|
+
<div class="usa-card__body">
|
|
764
|
+
<div class="usx-tag-group">
|
|
765
|
+
<span class="usa-tag usx-tag bg-primary"> Primary </span>
|
|
766
|
+
|
|
767
|
+
<span class="usa-tag usx-tag bg-success"> Success </span>
|
|
768
|
+
|
|
769
|
+
<span class="usa-tag usx-tag bg-warning"> Warning </span>
|
|
770
|
+
</div>
|
|
771
|
+
|
|
772
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
773
|
+
</div>
|
|
774
|
+
|
|
775
|
+
<div class="usa-card__footer">
|
|
776
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
777
|
+
<li class="usa-button-group__item">
|
|
778
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
779
|
+
Learn More
|
|
780
|
+
</button>
|
|
781
|
+
</li>
|
|
782
|
+
|
|
783
|
+
<li class="usa-button-group__item">
|
|
784
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
785
|
+
View Details
|
|
786
|
+
</button>
|
|
787
|
+
</li>
|
|
788
|
+
</ul>
|
|
789
|
+
</div>
|
|
790
|
+
</div>
|
|
791
|
+
</div>
|
|
792
|
+
|
|
793
|
+
<h3 class="site-preview-heading">With Carousel Flag Layout</h3>
|
|
794
|
+
<div class="usa-card usx-card usa-card--flag tablet:grid-col-8 widescreen:grid-col-6">
|
|
795
|
+
<div class="usa-card__container">
|
|
796
|
+
<div class="usa-card__header">
|
|
797
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
798
|
+
</div>
|
|
799
|
+
|
|
800
|
+
<div class="usa-card__media">
|
|
801
|
+
<div
|
|
802
|
+
class="usx-carousel usx-card__carousel"
|
|
803
|
+
role="group"
|
|
804
|
+
aria-roledescription="carousel"
|
|
805
|
+
aria-label="Card Title images"
|
|
806
|
+
>
|
|
807
|
+
<div class="usx-carousel__viewport">
|
|
808
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
809
|
+
<div
|
|
810
|
+
class="usx-carousel__slide"
|
|
811
|
+
role="group"
|
|
812
|
+
aria-roledescription="slide"
|
|
813
|
+
aria-label="1 of 3"
|
|
814
|
+
>
|
|
815
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
816
|
+
<img
|
|
817
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
818
|
+
alt="Placeholder image for card"
|
|
819
|
+
/>
|
|
820
|
+
|
|
821
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
822
|
+
This is an image caption.
|
|
823
|
+
</figcaption>
|
|
824
|
+
</figure>
|
|
825
|
+
</div>
|
|
826
|
+
|
|
827
|
+
<div
|
|
828
|
+
class="usx-carousel__slide"
|
|
829
|
+
role="group"
|
|
830
|
+
aria-roledescription="slide"
|
|
831
|
+
aria-label="2 of 3"
|
|
832
|
+
>
|
|
833
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
834
|
+
<img
|
|
835
|
+
src="https://picsum.photos/800/300?random=1"
|
|
836
|
+
alt="Placeholder image for card"
|
|
837
|
+
/>
|
|
838
|
+
|
|
839
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
840
|
+
This is another image caption.
|
|
841
|
+
</figcaption>
|
|
842
|
+
</figure>
|
|
843
|
+
</div>
|
|
844
|
+
|
|
845
|
+
<div
|
|
846
|
+
class="usx-carousel__slide"
|
|
847
|
+
role="group"
|
|
848
|
+
aria-roledescription="slide"
|
|
849
|
+
aria-label="3 of 3"
|
|
850
|
+
>
|
|
851
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
852
|
+
<img
|
|
853
|
+
src="https://picsum.photos/800/300?random=2"
|
|
854
|
+
alt="Placeholder image for card"
|
|
855
|
+
/>
|
|
856
|
+
|
|
857
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
858
|
+
This is yet another image caption.
|
|
859
|
+
</figcaption>
|
|
860
|
+
</figure>
|
|
861
|
+
</div>
|
|
862
|
+
</div>
|
|
863
|
+
</div>
|
|
864
|
+
</div>
|
|
865
|
+
</div>
|
|
866
|
+
|
|
867
|
+
<div class="usa-card__body">
|
|
868
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
869
|
+
</div>
|
|
870
|
+
|
|
871
|
+
<div class="usa-card__footer">
|
|
872
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
873
|
+
<li class="usa-button-group__item">
|
|
874
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
875
|
+
Learn More
|
|
876
|
+
</button>
|
|
877
|
+
</li>
|
|
878
|
+
|
|
879
|
+
<li class="usa-button-group__item">
|
|
880
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
881
|
+
View Details
|
|
882
|
+
</button>
|
|
883
|
+
</li>
|
|
884
|
+
</ul>
|
|
885
|
+
</div>
|
|
886
|
+
</div>
|
|
887
|
+
</div>
|
|
888
|
+
|
|
889
|
+
<h3 class="site-preview-heading">Minimal</h3>
|
|
890
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
891
|
+
<div class="usa-card__container">
|
|
892
|
+
<div class="usa-card__header">
|
|
893
|
+
<h4 class="usa-card__heading">Simple Card</h4>
|
|
894
|
+
</div>
|
|
895
|
+
|
|
896
|
+
<div class="usa-card__body">
|
|
897
|
+
<p>Just the basics.</p>
|
|
898
|
+
</div>
|
|
899
|
+
</div>
|
|
900
|
+
</div>
|
|
901
|
+
|
|
902
|
+
<h3 class="site-preview-heading">Full Featured</h3>
|
|
903
|
+
<div
|
|
904
|
+
class="usa-card usx-card usa-card--header-first usa-card--flag usa-card--media-right tablet:grid-col-8 widescreen:grid-col-6"
|
|
905
|
+
>
|
|
906
|
+
<div class="usa-card__container">
|
|
907
|
+
<div class="usa-card__header">
|
|
908
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
909
|
+
</div>
|
|
910
|
+
|
|
911
|
+
<div class="usa-card__media usa-card__media--inset">
|
|
912
|
+
<div
|
|
913
|
+
class="usx-carousel usx-card__carousel"
|
|
914
|
+
role="group"
|
|
915
|
+
aria-roledescription="carousel"
|
|
916
|
+
aria-label="Card Title images"
|
|
917
|
+
>
|
|
918
|
+
<div class="usx-carousel__viewport">
|
|
919
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
920
|
+
<div
|
|
921
|
+
class="usx-carousel__slide"
|
|
922
|
+
role="group"
|
|
923
|
+
aria-roledescription="slide"
|
|
924
|
+
aria-label="1 of 3"
|
|
925
|
+
>
|
|
926
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
927
|
+
<img
|
|
928
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
929
|
+
alt="Placeholder image for card"
|
|
930
|
+
/>
|
|
931
|
+
|
|
932
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
933
|
+
This is an image caption.
|
|
934
|
+
</figcaption>
|
|
935
|
+
</figure>
|
|
936
|
+
</div>
|
|
937
|
+
|
|
938
|
+
<div
|
|
939
|
+
class="usx-carousel__slide"
|
|
940
|
+
role="group"
|
|
941
|
+
aria-roledescription="slide"
|
|
942
|
+
aria-label="2 of 3"
|
|
943
|
+
>
|
|
944
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
945
|
+
<img
|
|
946
|
+
src="https://picsum.photos/800/300?random=1"
|
|
947
|
+
alt="Placeholder image for card"
|
|
948
|
+
/>
|
|
949
|
+
|
|
950
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
951
|
+
This is another image caption.
|
|
952
|
+
</figcaption>
|
|
953
|
+
</figure>
|
|
954
|
+
</div>
|
|
955
|
+
|
|
956
|
+
<div
|
|
957
|
+
class="usx-carousel__slide"
|
|
958
|
+
role="group"
|
|
959
|
+
aria-roledescription="slide"
|
|
960
|
+
aria-label="3 of 3"
|
|
961
|
+
>
|
|
962
|
+
<figure class="usx-image usx-object-fit-cover">
|
|
963
|
+
<img
|
|
964
|
+
src="https://picsum.photos/800/300?random=2"
|
|
965
|
+
alt="Placeholder image for card"
|
|
966
|
+
/>
|
|
967
|
+
|
|
968
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
969
|
+
This is yet another image caption.
|
|
970
|
+
</figcaption>
|
|
971
|
+
</figure>
|
|
972
|
+
</div>
|
|
973
|
+
</div>
|
|
974
|
+
</div>
|
|
975
|
+
</div>
|
|
976
|
+
</div>
|
|
977
|
+
|
|
978
|
+
<div class="usa-card__body">
|
|
979
|
+
<div class="usx-tag-group">
|
|
980
|
+
<span class="usa-tag usx-tag bg-primary"> Primary </span>
|
|
981
|
+
|
|
982
|
+
<span class="usa-tag usx-tag bg-success"> Success </span>
|
|
983
|
+
|
|
984
|
+
<span class="usa-tag usx-tag bg-warning"> Warning </span>
|
|
985
|
+
</div>
|
|
986
|
+
|
|
987
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
988
|
+
</div>
|
|
989
|
+
|
|
990
|
+
<div class="usa-card__footer">
|
|
991
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
992
|
+
<li class="usa-button-group__item">
|
|
993
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
994
|
+
Learn More
|
|
995
|
+
</button>
|
|
996
|
+
</li>
|
|
997
|
+
|
|
998
|
+
<li class="usa-button-group__item">
|
|
999
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
1000
|
+
View Details
|
|
1001
|
+
</button>
|
|
1002
|
+
</li>
|
|
1003
|
+
</ul>
|
|
1004
|
+
</div>
|
|
1005
|
+
</div>
|
|
1006
|
+
</div>
|
|
1007
|
+
|
|
1008
|
+
<h3 class="site-preview-heading">Images With Object Fit Contain</h3>
|
|
1009
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
1010
|
+
<div class="usa-card__container">
|
|
1011
|
+
<div class="usa-card__header">
|
|
1012
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
1013
|
+
</div>
|
|
1014
|
+
|
|
1015
|
+
<div class="usa-card__media">
|
|
1016
|
+
<div
|
|
1017
|
+
class="usx-carousel usx-card__carousel"
|
|
1018
|
+
role="group"
|
|
1019
|
+
aria-roledescription="carousel"
|
|
1020
|
+
aria-label="Card Title images"
|
|
1021
|
+
>
|
|
1022
|
+
<div class="usx-carousel__viewport">
|
|
1023
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
1024
|
+
<div
|
|
1025
|
+
class="usx-carousel__slide"
|
|
1026
|
+
role="group"
|
|
1027
|
+
aria-roledescription="slide"
|
|
1028
|
+
aria-label="1 of 3"
|
|
1029
|
+
>
|
|
1030
|
+
<figure class="usx-image usx-object-fit-contain">
|
|
1031
|
+
<img
|
|
1032
|
+
src="https://picsum.photos/800/300?random=1"
|
|
1033
|
+
alt="Placeholder image for card"
|
|
1034
|
+
/>
|
|
1035
|
+
|
|
1036
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1037
|
+
This is another image caption.
|
|
1038
|
+
</figcaption>
|
|
1039
|
+
</figure>
|
|
1040
|
+
</div>
|
|
1041
|
+
|
|
1042
|
+
<div
|
|
1043
|
+
class="usx-carousel__slide"
|
|
1044
|
+
role="group"
|
|
1045
|
+
aria-roledescription="slide"
|
|
1046
|
+
aria-label="2 of 3"
|
|
1047
|
+
>
|
|
1048
|
+
<figure class="usx-image usx-object-fit-contain">
|
|
1049
|
+
<img
|
|
1050
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
1051
|
+
alt="Placeholder image for card"
|
|
1052
|
+
/>
|
|
1053
|
+
|
|
1054
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1055
|
+
This is an image caption.
|
|
1056
|
+
</figcaption>
|
|
1057
|
+
</figure>
|
|
1058
|
+
</div>
|
|
1059
|
+
|
|
1060
|
+
<div
|
|
1061
|
+
class="usx-carousel__slide"
|
|
1062
|
+
role="group"
|
|
1063
|
+
aria-roledescription="slide"
|
|
1064
|
+
aria-label="3 of 3"
|
|
1065
|
+
>
|
|
1066
|
+
<figure class="usx-image usx-object-fit-contain">
|
|
1067
|
+
<img
|
|
1068
|
+
src="https://picsum.photos/800/300?random=2"
|
|
1069
|
+
alt="Placeholder image for card"
|
|
1070
|
+
/>
|
|
1071
|
+
|
|
1072
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1073
|
+
This is yet another image caption.
|
|
1074
|
+
</figcaption>
|
|
1075
|
+
</figure>
|
|
1076
|
+
</div>
|
|
1077
|
+
</div>
|
|
1078
|
+
</div>
|
|
1079
|
+
</div>
|
|
1080
|
+
</div>
|
|
1081
|
+
|
|
1082
|
+
<div class="usa-card__body">
|
|
1083
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
1084
|
+
</div>
|
|
1085
|
+
|
|
1086
|
+
<div class="usa-card__footer">
|
|
1087
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
1088
|
+
<li class="usa-button-group__item">
|
|
1089
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
1090
|
+
Learn More
|
|
1091
|
+
</button>
|
|
1092
|
+
</li>
|
|
1093
|
+
|
|
1094
|
+
<li class="usa-button-group__item">
|
|
1095
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
1096
|
+
View Details
|
|
1097
|
+
</button>
|
|
1098
|
+
</li>
|
|
1099
|
+
</ul>
|
|
1100
|
+
</div>
|
|
1101
|
+
</div>
|
|
1102
|
+
</div>
|
|
1103
|
+
|
|
1104
|
+
<h3 class="site-preview-heading">Images With Object Fit Fill</h3>
|
|
1105
|
+
<div class="usa-card usx-card tablet:grid-col-8 widescreen:grid-col-6">
|
|
1106
|
+
<div class="usa-card__container">
|
|
1107
|
+
<div class="usa-card__header">
|
|
1108
|
+
<h4 class="usa-card__heading">Card Title</h4>
|
|
1109
|
+
</div>
|
|
1110
|
+
|
|
1111
|
+
<div class="usa-card__media">
|
|
1112
|
+
<div
|
|
1113
|
+
class="usx-carousel usx-card__carousel"
|
|
1114
|
+
role="group"
|
|
1115
|
+
aria-roledescription="carousel"
|
|
1116
|
+
aria-label="Card Title images"
|
|
1117
|
+
>
|
|
1118
|
+
<div class="usx-carousel__viewport">
|
|
1119
|
+
<div class="usx-carousel__track" aria-live="polite" tabindex="0">
|
|
1120
|
+
<div
|
|
1121
|
+
class="usx-carousel__slide"
|
|
1122
|
+
role="group"
|
|
1123
|
+
aria-roledescription="slide"
|
|
1124
|
+
aria-label="1 of 3"
|
|
1125
|
+
>
|
|
1126
|
+
<figure class="usx-image usx-object-fit-fill">
|
|
1127
|
+
<img
|
|
1128
|
+
src="https://picsum.photos/800/300?random=1"
|
|
1129
|
+
alt="Placeholder image for card"
|
|
1130
|
+
/>
|
|
1131
|
+
|
|
1132
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1133
|
+
This is another image caption.
|
|
1134
|
+
</figcaption>
|
|
1135
|
+
</figure>
|
|
1136
|
+
</div>
|
|
1137
|
+
|
|
1138
|
+
<div
|
|
1139
|
+
class="usx-carousel__slide"
|
|
1140
|
+
role="group"
|
|
1141
|
+
aria-roledescription="slide"
|
|
1142
|
+
aria-label="2 of 3"
|
|
1143
|
+
>
|
|
1144
|
+
<figure class="usx-image usx-object-fit-fill">
|
|
1145
|
+
<img
|
|
1146
|
+
src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg"
|
|
1147
|
+
alt="Placeholder image for card"
|
|
1148
|
+
/>
|
|
1149
|
+
|
|
1150
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1151
|
+
This is an image caption.
|
|
1152
|
+
</figcaption>
|
|
1153
|
+
</figure>
|
|
1154
|
+
</div>
|
|
1155
|
+
|
|
1156
|
+
<div
|
|
1157
|
+
class="usx-carousel__slide"
|
|
1158
|
+
role="group"
|
|
1159
|
+
aria-roledescription="slide"
|
|
1160
|
+
aria-label="3 of 3"
|
|
1161
|
+
>
|
|
1162
|
+
<figure class="usx-image usx-object-fit-fill">
|
|
1163
|
+
<img
|
|
1164
|
+
src="https://picsum.photos/800/300?random=2"
|
|
1165
|
+
alt="Placeholder image for card"
|
|
1166
|
+
/>
|
|
1167
|
+
|
|
1168
|
+
<figcaption class="usx-image--caption usa-sr-only">
|
|
1169
|
+
This is yet another image caption.
|
|
1170
|
+
</figcaption>
|
|
1171
|
+
</figure>
|
|
1172
|
+
</div>
|
|
1173
|
+
</div>
|
|
1174
|
+
</div>
|
|
1175
|
+
</div>
|
|
1176
|
+
</div>
|
|
1177
|
+
|
|
1178
|
+
<div class="usa-card__body">
|
|
1179
|
+
<p>This is the main content of the card. It can contain text, links, or other elements.</p>
|
|
1180
|
+
</div>
|
|
1181
|
+
|
|
1182
|
+
<div class="usa-card__footer">
|
|
1183
|
+
<ul class="usa-button-group usx-button-group flex-wrap">
|
|
1184
|
+
<li class="usa-button-group__item">
|
|
1185
|
+
<button type="button" class="usa-button usx-button usa-button--primary">
|
|
1186
|
+
Learn More
|
|
1187
|
+
</button>
|
|
1188
|
+
</li>
|
|
1189
|
+
|
|
1190
|
+
<li class="usa-button-group__item">
|
|
1191
|
+
<button type="button" class="usa-button usx-button usa-button--secondary">
|
|
1192
|
+
View Details
|
|
1193
|
+
</button>
|
|
1194
|
+
</li>
|
|
1195
|
+
</ul>
|
|
1196
|
+
</div>
|
|
1197
|
+
</div>
|
|
1198
|
+
</div>
|