@solexllc/usx-react 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -8
- package/dist/index.cjs +671 -428
- package/dist/index.js +671 -428
- package/package.json +2 -2
- package/src/components/accordion/Accordion.tsx +7 -9
- package/src/components/accordion/accordion.django-snapshot.html +515 -0
- package/src/components/accordion/accordion.django.html +9 -25
- package/src/components/accordion/accordion.html +471 -566
- package/src/components/accordion/accordion.react-snapshot.html +475 -0
- package/src/components/accordion/config.json +29 -3
- package/src/components/alert/Alert.tsx +4 -3
- package/src/components/alert/alert.django-snapshot.html +175 -0
- package/src/components/alert/alert.django.html +14 -12
- package/src/components/alert/alert.react-snapshot.html +152 -0
- package/src/components/alert/config.json +5 -8
- package/src/components/attribution/attribution.django-snapshot.html +57 -0
- package/src/components/attribution/attribution.django.html +2 -2
- package/src/components/attribution/attribution.react-snapshot.html +49 -0
- package/src/components/attribution/config.json +4 -0
- package/src/components/avatar/Avatar.tsx +6 -15
- package/src/components/avatar/avatar.django-snapshot.html +131 -0
- package/src/components/avatar/avatar.django.html +9 -10
- package/src/components/avatar/avatar.react-snapshot.html +121 -0
- package/src/components/avatar/config.json +10 -3
- package/src/components/avatar-group/AvatarGroup.tsx +3 -3
- package/src/components/avatar-group/avatar-group.django-snapshot.html +278 -0
- package/src/components/avatar-group/avatar-group.django.html +3 -3
- package/src/components/avatar-group/avatar-group.html +5 -5
- package/src/components/avatar-group/avatar-group.react-snapshot.html +226 -0
- package/src/components/back-to-top/BackToTop.tsx +7 -2
- package/src/components/back-to-top/back-to-top.django-snapshot.html +339 -0
- package/src/components/back-to-top/back-to-top.django.html +6 -4
- package/src/components/back-to-top/back-to-top.react-snapshot.html +264 -0
- package/src/components/back-to-top/config.json +9 -0
- package/src/components/banner/banner.django-snapshot.html +329 -0
- package/src/components/banner/banner.django.html +2 -2
- package/src/components/banner/banner.html +87 -185
- package/src/components/banner/banner.react-snapshot.html +317 -0
- package/src/components/banner/config.json +3 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +1 -1
- package/src/components/breadcrumb/breadcrumb.django-snapshot.html +103 -0
- package/src/components/breadcrumb/breadcrumb.django.html +5 -6
- package/src/components/breadcrumb/breadcrumb.react-snapshot.html +87 -0
- package/src/components/breadcrumb/config.json +2 -8
- package/src/components/button/Button.tsx +1 -0
- package/src/components/button/button.django-snapshot.html +558 -0
- package/src/components/button/button.django.html +4 -4
- package/src/components/button/button.react-snapshot.html +574 -0
- package/src/components/button/config.json +4 -0
- package/src/components/button-group/button-group.django-snapshot.html +129 -0
- package/src/components/button-group/button-group.django.html +1 -1
- package/src/components/button-group/button-group.react-snapshot.html +115 -0
- package/src/components/button-group/config.json +16 -0
- package/src/components/calendar-date/calendar-date.django-snapshot.html +7 -0
- package/src/components/calendar-date/calendar-date.django.html +1 -1
- package/src/components/calendar-date/calendar-date.react-snapshot.html +7 -0
- package/src/components/calendar-date/config.json +3 -0
- package/src/components/callout/Callout.tsx +2 -4
- package/src/components/callout/callout.django-snapshot.html +59 -0
- package/src/components/callout/callout.django.html +1 -1
- package/src/components/callout/callout.react-snapshot.html +57 -0
- package/src/components/callout/config.json +5 -2
- package/src/components/card/Card.tsx +2 -2
- package/src/components/card/card.django-snapshot.html +1198 -0
- package/src/components/card/card.django.html +3 -3
- package/src/components/card/card.react-snapshot.html +1028 -0
- package/src/components/card/config.json +21 -4
- package/src/components/card-group/CardGroup.tsx +1 -1
- package/src/components/card-group/card-group.django-snapshot.html +514 -0
- package/src/components/card-group/card-group.django.html +2 -2
- package/src/components/card-group/card-group.react-snapshot.html +445 -0
- package/src/components/card-group/config.json +80 -2
- package/src/components/carousel/Carousel.tsx +3 -0
- package/src/components/carousel/carousel.django-snapshot.html +927 -0
- package/src/components/carousel/carousel.django.html +2 -2
- package/src/components/carousel/carousel.react-snapshot.html +762 -0
- package/src/components/carousel/config.json +18 -0
- package/src/components/character-count/CharacterCount.tsx +1 -3
- package/src/components/character-count/character-count.django-snapshot.html +402 -0
- package/src/components/character-count/character-count.django.html +1 -1
- package/src/components/character-count/character-count.react-snapshot.html +346 -0
- package/src/components/character-count/config.json +5 -0
- package/src/components/checkbox/Checkbox.tsx +7 -2
- package/src/components/checkbox/checkbox.django-snapshot.html +373 -0
- package/src/components/checkbox/checkbox.django.html +22 -3
- package/src/components/checkbox/checkbox.react-snapshot.html +313 -0
- package/src/components/checkbox/config.json +12 -1
- package/src/components/checkbox-group/CheckboxGroup.tsx +1 -0
- package/src/components/checkbox-group/checkbox-group.django-snapshot.html +372 -0
- package/src/components/checkbox-group/checkbox-group.django.html +2 -2
- package/src/components/checkbox-group/checkbox-group.react-snapshot.html +300 -0
- package/src/components/checkbox-group/config.json +24 -0
- package/src/components/clickable/clickable-bg-color-change.django.html +1 -0
- package/src/components/clickable/clickable-color-change.django.html +1 -0
- package/src/components/clickable/clickable-link.django.html +1 -0
- package/src/components/clickable/clickable.django-snapshot.html +221 -0
- package/src/components/clickable/clickable.django.html +6 -2
- package/src/components/clickable/clickable.react-snapshot.html +194 -0
- package/src/components/clickable/config.json +9 -7
- package/src/components/code/code.django-snapshot.html +375 -0
- package/src/components/code/code.django.html +1 -1
- package/src/components/code/code.html +201 -38
- package/src/components/code/code.react-snapshot.html +249 -0
- package/src/components/code/config.json +18 -0
- package/src/components/collection/collection.django-snapshot.html +238 -0
- package/src/components/collection/collection.django.html +1 -1
- package/src/components/collection/collection.react-snapshot.html +200 -0
- package/src/components/collection/config.json +49 -0
- package/src/components/combobox/Combobox.tsx +1 -0
- package/src/components/combobox/combobox.django-snapshot.html +1302 -0
- package/src/components/combobox/combobox.django.html +3 -5
- package/src/components/combobox/combobox.react-snapshot.html +714 -0
- package/src/components/combobox/config.json +269 -2
- package/src/components/container/Container.tsx +3 -3
- package/src/components/container/config.json +9 -5
- package/src/components/container/container.django-snapshot.html +2820 -0
- package/src/components/container/container.django.html +2 -2
- package/src/components/container/container.react-snapshot.html +2400 -0
- package/src/components/copy-to-clipboard/CopyToClipboard.tsx +2 -2
- package/src/components/copy-to-clipboard/config.json +8 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django-snapshot.html +84 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +1 -1
- package/src/components/copy-to-clipboard/copy-to-clipboard.react-snapshot.html +60 -0
- package/src/components/date-picker/date-picker.django-snapshot.html +150 -0
- package/src/components/date-picker/date-picker.django.html +1 -1
- package/src/components/date-picker/date-picker.react-snapshot.html +122 -0
- package/src/components/date-range-picker/date-range-picker.django-snapshot.html +301 -0
- package/src/components/date-range-picker/date-range-picker.django.html +1 -1
- package/src/components/date-range-picker/date-range-picker.react-snapshot.html +246 -0
- package/src/components/details/Details.tsx +8 -28
- package/src/components/details/config.json +11 -28
- package/src/components/details/details.django-snapshot.html +238 -0
- package/src/components/details/details.django.html +7 -4
- package/src/components/details/details.html +72 -43
- package/src/components/details/details.react-snapshot.html +215 -0
- package/src/components/drawer/Drawer.tsx +125 -0
- package/src/components/drawer/config.json +97 -0
- package/src/components/drawer/drawer.django-snapshot.html +1711 -0
- package/src/components/drawer/drawer.django.html +34 -0
- package/src/components/drawer/drawer.html +1031 -0
- package/src/components/drawer/drawer.react-snapshot.html +1027 -0
- package/src/components/error-message/config.json +4 -0
- package/src/components/error-message/error-message.django-snapshot.html +12 -0
- package/src/components/error-message/error-message.react-snapshot.html +12 -0
- package/src/components/error-page/config.json +3 -2
- package/src/components/error-page/error-page.django-snapshot.html +570 -0
- package/src/components/error-page/error-page.django.html +2 -2
- package/src/components/error-page/error-page.html +2 -2
- package/src/components/error-page/error-page.react-snapshot.html +467 -0
- package/src/components/eyebrow/config.json +3 -0
- package/src/components/eyebrow/eyebrow.django-snapshot.html +8 -0
- package/src/components/eyebrow/eyebrow.react-snapshot.html +8 -0
- package/src/components/fieldset/config.json +4 -0
- package/src/components/fieldset/fieldset.django-snapshot.html +50 -0
- package/src/components/fieldset/fieldset.django.html +2 -1
- package/src/components/fieldset/fieldset.react-snapshot.html +39 -0
- package/src/components/file-input/FileInput.tsx +2 -1
- package/src/components/file-input/_contents.django.html +29 -0
- package/src/components/file-input/config.json +7 -3
- package/src/components/file-input/file-input.django-snapshot.html +534 -0
- package/src/components/file-input/file-input.django.html +3 -50
- package/src/components/file-input/file-input.html +246 -286
- package/src/components/file-input/file-input.react-snapshot.html +440 -0
- package/src/components/file-list/config.json +2 -2
- package/src/components/file-list/file-list.django-snapshot.html +328 -0
- package/src/components/file-list/file-list.django.html +9 -6
- package/src/components/file-list/file-list.react-snapshot.html +276 -0
- package/src/components/footer/config.json +162 -1
- package/src/components/footer/footer.django-snapshot.html +1009 -0
- package/src/components/footer/footer.django.html +10 -7
- package/src/components/footer/footer.html +21 -21
- package/src/components/footer/footer.react-snapshot.html +796 -0
- package/src/components/form-group/config.json +3 -0
- package/src/components/form-group/form-group.django-snapshot.html +50 -0
- package/src/components/form-group/form-group.django.html +1 -1
- package/src/components/form-group/form-group.react-snapshot.html +43 -0
- package/src/components/header/Header.tsx +3 -3
- package/src/components/header/branding.django.html +14 -0
- package/src/components/header/config.json +73 -0
- package/src/components/header/header.django-snapshot.html +3395 -0
- package/src/components/header/header.django.html +9 -5
- package/src/components/header/header.html +54 -54
- package/src/components/header/header.react-snapshot.html +2675 -0
- package/src/components/hero/Hero.tsx +4 -4
- package/src/components/hero/config.json +7 -6
- package/src/components/hero/hero.django-snapshot.html +409 -0
- package/src/components/hero/hero.django.html +5 -5
- package/src/components/hero/hero.html +13 -14
- package/src/components/hero/hero.react-snapshot.html +353 -0
- package/src/components/hint/config.json +4 -0
- package/src/components/hint/hint.django-snapshot.html +7 -0
- package/src/components/hint/hint.react-snapshot.html +7 -0
- package/src/components/icon/Icon.tsx +14 -12
- package/src/components/icon/config.json +7 -15
- package/src/components/icon/icon.django-snapshot.html +69 -0
- package/src/components/icon/icon.django.html +4 -10
- package/src/components/icon/icon.html +90 -90
- package/src/components/icon/icon.react-snapshot.html +69 -0
- package/src/components/icon-list/icon-list.django-snapshot.html +244 -0
- package/src/components/icon-list/icon-list.django.html +2 -2
- package/src/components/icon-list/icon-list.react-snapshot.html +215 -0
- package/src/components/identifier/Identifier.tsx +1 -1
- package/src/components/identifier/config.json +1 -1
- package/src/components/identifier/identifier.django-snapshot.html +1129 -0
- package/src/components/identifier/identifier.django.html +3 -3
- package/src/components/identifier/identifier.html +2 -2
- package/src/components/identifier/identifier.react-snapshot.html +959 -0
- package/src/components/image/config.json +4 -0
- package/src/components/image/image.django-snapshot.html +166 -0
- package/src/components/image/image.django.html +1 -1
- package/src/components/image/image.html +4 -4
- package/src/components/image/image.react-snapshot.html +150 -0
- package/src/components/in-page-nav/InPageNav.tsx +4 -3
- package/src/components/in-page-nav/config.json +5 -11
- package/src/components/in-page-nav/in-page-nav.django-snapshot.html +228 -0
- package/src/components/in-page-nav/in-page-nav.django.html +4 -4
- package/src/components/in-page-nav/in-page-nav.react-snapshot.html +228 -0
- package/src/components/indicator/config.json +8 -0
- package/src/components/indicator/indicator.django-snapshot.html +57 -0
- package/src/components/indicator/indicator.react-snapshot.html +44 -0
- package/src/components/input/config.json +18 -1
- package/src/components/input/input.django-snapshot.html +121 -0
- package/src/components/input/input.django.html +16 -8
- package/src/components/input/input.react-snapshot.html +94 -0
- package/src/components/label/Label.tsx +4 -1
- package/src/components/label/config.json +7 -0
- package/src/components/label/label.django-snapshot.html +22 -0
- package/src/components/label/label.django.html +4 -1
- package/src/components/label/label.react-snapshot.html +22 -0
- package/src/components/language-selector/config.json +9 -13
- package/src/components/language-selector/language-selector.django-snapshot.html +183 -0
- package/src/components/language-selector/language-selector.django.html +3 -3
- package/src/components/language-selector/language-selector.react-snapshot.html +169 -0
- package/src/components/layout/Layout.tsx +12 -1
- package/src/components/layout/config.json +8 -0
- package/src/components/layout/layout.django-snapshot.html +987 -0
- package/src/components/layout/layout.django.html +2 -2
- package/src/components/layout/layout.react-snapshot.html +876 -0
- package/src/components/legend/config.json +3 -0
- package/src/components/legend/legend.django-snapshot.html +13 -0
- package/src/components/legend/legend.django.html +1 -1
- package/src/components/legend/legend.react-snapshot.html +13 -0
- package/src/components/link/Link.tsx +3 -1
- package/src/components/link/config.json +9 -1
- package/src/components/link/link.django-snapshot.html +45 -0
- package/src/components/link/link.django.html +2 -2
- package/src/components/link/link.react-snapshot.html +45 -0
- package/src/components/list/config.json +7 -0
- package/src/components/list/list.django-snapshot.html +61 -0
- package/src/components/list/list.django.html +1 -1
- package/src/components/list/list.react-snapshot.html +46 -0
- package/src/components/memorable-date/config.json +1 -2
- package/src/components/memorable-date/memorable-date.django-snapshot.html +536 -0
- package/src/components/memorable-date/memorable-date.django.html +3 -1
- package/src/components/memorable-date/memorable-date.react-snapshot.html +437 -0
- package/src/components/misc-banner/MiscBanner.tsx +16 -10
- package/src/components/misc-banner/config.json +22 -4
- package/src/components/misc-banner/misc-banner.django-snapshot.html +370 -0
- package/src/components/misc-banner/misc-banner.django.html +15 -15
- package/src/components/misc-banner/misc-banner.react-snapshot.html +332 -0
- package/src/components/modal/config.json +22 -0
- package/src/components/modal/modal.django-snapshot.html +252 -0
- package/src/components/modal/modal.django.html +5 -9
- package/src/components/modal/modal.react-snapshot.html +229 -0
- package/src/components/page/Page.tsx +2 -3
- package/src/components/page/config.json +11 -2
- package/src/components/page/page.django-snapshot.html +44 -0
- package/src/components/page/page.django.html +4 -2
- package/src/components/page/page.react-snapshot.html +44 -0
- package/src/components/pagination/Pagination.tsx +49 -55
- package/src/components/pagination/config.json +58 -9
- package/src/components/pagination/navigation/PaginationNavigation.tsx +24 -34
- package/src/components/pagination/navigation/pagination-navigation.django.html +16 -23
- package/src/components/pagination/pagination.django-snapshot.html +2078 -0
- package/src/components/pagination/pagination.django.html +14 -4
- package/src/components/pagination/pagination.react-snapshot.html +1738 -0
- package/src/components/pagination/step-options/PaginationStepOptions.tsx +2 -8
- package/src/components/pagination/step-options/pagination-step-options.django.html +1 -1
- package/src/components/popover/Popover.tsx +114 -0
- package/src/components/popover/PopoverMenu.tsx +80 -0
- package/src/components/popover/config.json +130 -0
- package/src/components/popover/popover-menu.django.html +35 -0
- package/src/components/popover/popover.django-snapshot.html +1201 -0
- package/src/components/popover/popover.django.html +11 -0
- package/src/components/popover/popover.html +1081 -0
- package/src/components/popover/popover.react-snapshot.html +1101 -0
- package/src/components/process-list/ProcessList.tsx +6 -21
- package/src/components/process-list/config.json +18 -2
- package/src/components/process-list/process-list.django-snapshot.html +90 -0
- package/src/components/process-list/process-list.django.html +2 -2
- package/src/components/process-list/process-list.react-snapshot.html +78 -0
- package/src/components/prose/Prose.tsx +3 -3
- package/src/components/prose/config.json +6 -2
- package/src/components/prose/prose.django-snapshot.html +250 -0
- package/src/components/prose/prose.django.html +3 -3
- package/src/components/prose/prose.react-snapshot.html +250 -0
- package/src/components/quote/Quote.tsx +2 -2
- package/src/components/quote/config.json +5 -2
- package/src/components/quote/quote.django-snapshot.html +348 -0
- package/src/components/quote/quote.django.html +2 -2
- package/src/components/quote/quote.react-snapshot.html +322 -0
- package/src/components/radio-buttons/RadioButtons.tsx +15 -13
- package/src/components/radio-buttons/config.json +23 -0
- package/src/components/radio-buttons/radio-buttons.django-snapshot.html +760 -0
- package/src/components/radio-buttons/radio-buttons.django.html +12 -4
- package/src/components/radio-buttons/radio-buttons.react-snapshot.html +592 -0
- package/src/components/range-slider/RangeSlider.tsx +1 -1
- package/src/components/range-slider/range-slider.django-snapshot.html +157 -0
- package/src/components/range-slider/range-slider.django.html +1 -1
- package/src/components/range-slider/range-slider.react-snapshot.html +134 -0
- package/src/components/required/config.json +6 -3
- package/src/components/required/required.django-snapshot.html +5 -0
- package/src/components/required/required.react-snapshot.html +5 -0
- package/src/components/search/Search.tsx +6 -9
- package/src/components/search/config.json +5 -3
- package/src/components/search/search.django-snapshot.html +1795 -0
- package/src/components/search/search.django.html +7 -6
- package/src/components/search/search.react-snapshot.html +393 -0
- package/src/components/section/Section.tsx +3 -3
- package/src/components/section/config.json +12 -4
- package/src/components/section/section.django-snapshot.html +87 -0
- package/src/components/section/section.django.html +6 -6
- package/src/components/section/section.react-snapshot.html +78 -0
- package/src/components/select/Select.tsx +1 -0
- package/src/components/select/config.json +18 -0
- package/src/components/select/select.django-snapshot.html +146 -0
- package/src/components/select/select.django.html +1 -1
- package/src/components/select/select.react-snapshot.html +104 -0
- package/src/components/sidenav/config.json +17 -0
- package/src/components/sidenav/sidenav.django-snapshot.html +94 -0
- package/src/components/sidenav/sidenav.django.html +2 -2
- package/src/components/sidenav/sidenav.react-snapshot.html +55 -0
- package/src/components/site-alert/SiteAlert.tsx +10 -38
- package/src/components/site-alert/config.json +10 -3
- package/src/components/site-alert/site-alert.django-snapshot.html +400 -0
- package/src/components/site-alert/site-alert.django.html +1 -1
- package/src/components/site-alert/site-alert.react-snapshot.html +332 -0
- package/src/components/skipnav/config.json +3 -0
- package/src/components/skipnav/skipnav.django-snapshot.html +40 -0
- package/src/components/skipnav/skipnav.django.html +1 -1
- package/src/components/skipnav/skipnav.react-snapshot.html +33 -0
- package/src/components/spinner/Spinner.tsx +1 -0
- package/src/components/spinner/config.json +7 -0
- package/src/components/spinner/spinner.django-snapshot.html +299 -0
- package/src/components/spinner/spinner.django.html +1 -1
- package/src/components/spinner/spinner.react-snapshot.html +302 -0
- package/src/components/status/config.json +1 -0
- package/src/components/status/status.django-snapshot.html +71 -0
- package/src/components/status/status.react-snapshot.html +71 -0
- package/src/components/step-indicator/StepIndicator.tsx +4 -4
- package/src/components/step-indicator/config.json +22 -2
- package/src/components/step-indicator/step-indicator.django-snapshot.html +224 -0
- package/src/components/step-indicator/step-indicator.django.html +3 -3
- package/src/components/step-indicator/step-indicator.react-snapshot.html +204 -0
- package/src/components/summary/Summary.tsx +54 -0
- package/src/components/summary/config.json +56 -0
- package/src/components/summary/summary.django-snapshot.html +36 -0
- package/src/components/summary/summary.django.html +11 -0
- package/src/components/summary/summary.html +17 -0
- package/src/components/summary/summary.react-snapshot.html +36 -0
- package/src/components/summary-box/config.json +5 -0
- package/src/components/summary-box/summary-box.django-snapshot.html +188 -0
- package/src/components/summary-box/summary-box.react-snapshot.html +177 -0
- package/src/components/swap/config.json +3 -3
- package/src/components/swap/swap.django-snapshot.html +110 -0
- package/src/components/swap/swap.html +1 -1
- package/src/components/swap/swap.react-snapshot.html +100 -0
- package/src/components/switch/config.json +3 -0
- package/src/components/switch/switch.django-snapshot.html +73 -0
- package/src/components/switch/switch.django.html +6 -8
- package/src/components/switch/switch.react-snapshot.html +73 -0
- package/src/components/table/Table.tsx +27 -11
- package/src/components/table/TableBody.tsx +12 -9
- package/src/components/table/config.json +46 -1
- package/src/components/table/table-detail-row.django.html +1 -1
- package/src/components/table/table-foot.django.html +1 -1
- package/src/components/table/table-head.django.html +1 -1
- package/src/components/table/table.django-snapshot.html +1970 -0
- package/src/components/table/table.react-snapshot.html +2166 -0
- package/src/components/tag/config.json +3 -0
- package/src/components/tag/tag.django-snapshot.html +109 -0
- package/src/components/tag/tag.django.html +4 -4
- package/src/components/tag/tag.react-snapshot.html +99 -0
- package/src/components/tag-group/config.json +24 -0
- package/src/components/tag-group/tag-group.django-snapshot.html +25 -0
- package/src/components/tag-group/tag-group.django.html +1 -1
- package/src/components/tag-group/tag-group.react-snapshot.html +17 -0
- package/src/components/task-list/config.json +33 -0
- package/src/components/task-list/task-list.django-snapshot.html +273 -0
- package/src/components/task-list/task-list.django.html +1 -1
- package/src/components/task-list/task-list.react-snapshot.html +252 -0
- package/src/components/text-area/TextArea.tsx +1 -1
- package/src/components/text-area/config.json +5 -0
- package/src/components/text-area/text-area.django-snapshot.html +127 -0
- package/src/components/text-area/text-area.django.html +3 -3
- package/src/components/text-area/text-area.react-snapshot.html +108 -0
- package/src/components/theme-picker/ThemePicker.tsx +45 -60
- package/src/components/theme-picker/config.json +54 -2
- package/src/components/theme-picker/theme-picker.django-snapshot.html +109 -0
- package/src/components/theme-picker/theme-picker.django.html +8 -8
- package/src/components/theme-picker/theme-picker.react-snapshot.html +94 -0
- package/src/components/time-picker/TimePicker.tsx +15 -9
- package/src/components/time-picker/config.json +2 -2
- package/src/components/time-picker/time-picker.django-snapshot.html +190 -0
- package/src/components/time-picker/time-picker.django.html +2 -2
- package/src/components/time-picker/time-picker.html +7 -7
- package/src/components/time-picker/time-picker.react-snapshot.html +157 -0
- package/src/components/toggle/_option.django.html +21 -0
- package/src/components/toggle/config.json +23 -2
- package/src/components/toggle/toggle.django-snapshot.html +419 -0
- package/src/components/toggle/toggle.django.html +10 -21
- package/src/components/toggle/toggle.html +318 -323
- package/src/components/toggle/toggle.react-snapshot.html +419 -0
- package/src/components/tooltip/Tooltip.tsx +2 -2
- package/src/components/tooltip/config.json +6 -1
- package/src/components/tooltip/tooltip.django-snapshot.html +57 -0
- package/src/components/tooltip/tooltip.django.html +1 -1
- package/src/components/tooltip/tooltip.react-snapshot.html +62 -0
- package/src/components/tree/Tree.tsx +91 -0
- package/src/components/tree/_tree-items.django.html +15 -0
- package/src/components/tree/config.json +105 -0
- package/src/components/tree/tree.django-snapshot.html +525 -0
- package/src/components/tree/tree.django.html +5 -0
- package/src/components/tree/tree.html +432 -0
- package/src/components/tree/tree.react-snapshot.html +432 -0
- package/src/components/villain/config.json +9 -0
- package/src/components/villain/villain.django-snapshot.html +44 -0
- package/src/components/villain/villain.react-snapshot.html +35 -0
- package/src/index.js +4 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
2
|
<div class="usa-form-group usx-form-group">
|
|
3
|
-
<label class="usa-label usx-label" for="file-input-single">Input accepts a single file</label
|
|
4
|
-
|
|
3
|
+
<label class="usa-label usx-label" for="file-input-single">Input accepts a single file</label
|
|
4
|
+
><input
|
|
5
5
|
class="usa-file-input usx-file-input"
|
|
6
6
|
id="file-input-single"
|
|
7
7
|
type="file"
|
|
@@ -9,13 +9,12 @@
|
|
|
9
9
|
/>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
<h3 class="site-preview-heading">Accept Specific Types</h3>
|
|
13
13
|
<div class="usa-form-group usx-form-group">
|
|
14
14
|
<label class="usa-label usx-label" for="file-input-specific"
|
|
15
15
|
>Input accepts only specific file types</label
|
|
16
|
-
>
|
|
17
|
-
|
|
18
|
-
<input
|
|
16
|
+
><span class="usa-hint usx-hint" id="file-input-specific-hint">Select PDF or TXT files</span
|
|
17
|
+
><input
|
|
19
18
|
class="usa-file-input usx-file-input"
|
|
20
19
|
id="file-input-specific"
|
|
21
20
|
type="file"
|
|
@@ -26,11 +25,11 @@
|
|
|
26
25
|
/>
|
|
27
26
|
</div>
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
<h3 class="site-preview-heading">Accept Images</h3>
|
|
30
29
|
<div class="usa-form-group usx-form-group">
|
|
31
|
-
<label class="usa-label usx-label" for="file-input-images">Input accepts any kind of image</label
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
<label class="usa-label usx-label" for="file-input-images">Input accepts any kind of image</label
|
|
31
|
+
><span class="usa-hint usx-hint" id="file-input-images-hint">Select any type of image format</span
|
|
32
|
+
><input
|
|
34
33
|
class="usa-file-input usx-file-input"
|
|
35
34
|
id="file-input-images"
|
|
36
35
|
type="file"
|
|
@@ -40,30 +39,28 @@
|
|
|
40
39
|
/>
|
|
41
40
|
</div>
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
<h3 class="site-preview-heading">Multiple</h3>
|
|
44
43
|
<div class="usa-form-group usx-form-group">
|
|
45
|
-
<label class="usa-label usx-label" for="file-input-multiple">Input accepts multiple files</label
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
<label class="usa-label usx-label" for="file-input-multiple">Input accepts multiple files</label
|
|
45
|
+
><span class="usa-hint usx-hint" id="file-input-multiple-hint">Select one or more files</span
|
|
46
|
+
><input
|
|
48
47
|
class="usa-file-input usx-file-input"
|
|
49
48
|
id="file-input-multiple"
|
|
50
49
|
type="file"
|
|
51
50
|
name="file-input-multiple"
|
|
52
51
|
aria-describedby="file-input-multiple-hint"
|
|
53
|
-
multiple
|
|
52
|
+
multiple=""
|
|
54
53
|
/>
|
|
55
54
|
</div>
|
|
56
55
|
|
|
57
|
-
|
|
56
|
+
<h3 class="site-preview-heading">With Error</h3>
|
|
58
57
|
<div class="usa-form-group usx-form-group usa-form-group--error">
|
|
59
58
|
<label class="usa-label usx-label usa-label--error" for="file-input-error"
|
|
60
59
|
>Input has an error</label
|
|
61
|
-
>
|
|
62
|
-
|
|
63
|
-
<span class="usa-error-message usx-error-message" id="file-input-error-error" role="alert"
|
|
60
|
+
><span class="usa-hint usx-hint" id="file-input-error-hint">Select any valid file</span
|
|
61
|
+
><span class="usa-error-message usx-error-message" role="alert" id="file-input-error-error"
|
|
64
62
|
>Display a helpful error message</span
|
|
65
|
-
|
|
66
|
-
<input
|
|
63
|
+
><input
|
|
67
64
|
class="usa-file-input usx-file-input"
|
|
68
65
|
id="file-input-error"
|
|
69
66
|
type="file"
|
|
@@ -72,22 +69,109 @@
|
|
|
72
69
|
/>
|
|
73
70
|
</div>
|
|
74
71
|
|
|
75
|
-
|
|
72
|
+
<h3 class="site-preview-heading">Disabled</h3>
|
|
76
73
|
<div class="usa-form-group usx-form-group">
|
|
77
|
-
<label class="usa-label usx-label" for="file-input-disabled">Disabled input</label
|
|
78
|
-
|
|
74
|
+
<label class="usa-label usx-label" for="file-input-disabled">Disabled input</label
|
|
75
|
+
><input
|
|
79
76
|
class="usa-file-input usx-file-input"
|
|
80
77
|
id="file-input-disabled"
|
|
81
78
|
type="file"
|
|
82
79
|
name="file-input-disabled"
|
|
83
|
-
disabled
|
|
80
|
+
disabled=""
|
|
84
81
|
/>
|
|
85
82
|
</div>
|
|
86
83
|
|
|
87
|
-
|
|
84
|
+
<h3 class="site-preview-heading">Preloaded Single</h3>
|
|
85
|
+
<div class="usa-form-group usx-form-group">
|
|
86
|
+
<label class="usa-label usx-label" for="html-file-input-preloaded-single-file-input-single"
|
|
87
|
+
>Input accepts a single file</label
|
|
88
|
+
>
|
|
89
|
+
<div class="usa-file-input" data-enhanced="true">
|
|
90
|
+
<div class="usa-sr-only" aria-live="polite">You have selected the file: photo.png</div>
|
|
91
|
+
<div class="usa-file-input__target">
|
|
92
|
+
<div class="usa-file-input__box"></div>
|
|
93
|
+
<div class="usa-file-input__preview-heading">
|
|
94
|
+
Selected file <span class="usa-file-input__choose">Change file</span>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="usa-file-input__instructions" aria-hidden="true" hidden="true">
|
|
97
|
+
<span class="usa-file-input__drag-text">Drag file here or</span>
|
|
98
|
+
<span class="usa-file-input__choose">choose from folder</span>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="usa-file-input__preview" aria-hidden="true">
|
|
101
|
+
<img
|
|
102
|
+
id="file-input-preloaded-single-preview"
|
|
103
|
+
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="
|
|
104
|
+
alt=""
|
|
105
|
+
class="usa-file-input__preview-image"
|
|
106
|
+
/>photo.png
|
|
107
|
+
<div></div>
|
|
108
|
+
</div>
|
|
109
|
+
<input
|
|
110
|
+
class="usx-file-input usa-file-input__input"
|
|
111
|
+
id="html-file-input-preloaded-single-file-input-single"
|
|
112
|
+
type="file"
|
|
113
|
+
name="file-input-single"
|
|
114
|
+
aria-label="Change file"
|
|
115
|
+
/>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<h3 class="site-preview-heading">Preloaded Multiple</h3>
|
|
121
|
+
<div class="usa-form-group usx-form-group">
|
|
122
|
+
<label class="usa-label usx-label" for="html-file-input-preloaded-multiple-file-input-multiple"
|
|
123
|
+
>Input accepts multiple files</label
|
|
124
|
+
><span class="usa-hint usx-hint" id="html-file-input-preloaded-multiple-file-input-multiple-hint"
|
|
125
|
+
>Select one or more files</span
|
|
126
|
+
>
|
|
127
|
+
<div class="usa-file-input" data-enhanced="true">
|
|
128
|
+
<div class="usa-sr-only" aria-live="polite">
|
|
129
|
+
You have selected 2 files: photo-one.png, photo-two.jpg
|
|
130
|
+
</div>
|
|
131
|
+
<div class="usa-file-input__target">
|
|
132
|
+
<div class="usa-file-input__box"></div>
|
|
133
|
+
<div class="usa-file-input__preview-heading">
|
|
134
|
+
2 files selected <span class="usa-file-input__choose">Change files</span>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="usa-file-input__instructions" aria-hidden="true" hidden="true">
|
|
137
|
+
<span class="usa-file-input__drag-text">Drag files here or</span>
|
|
138
|
+
<span class="usa-file-input__choose">choose from folder</span>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="usa-file-input__preview" aria-hidden="true">
|
|
141
|
+
<img
|
|
142
|
+
id="file-input-preloaded-multiple-preview-jpg"
|
|
143
|
+
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/wAALCAABAAEBAREA/8QAFAABAAAAAAAAAAAAAAAAAAAACf/EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAD8AVN//2Q=="
|
|
144
|
+
alt=""
|
|
145
|
+
class="usa-file-input__preview-image"
|
|
146
|
+
/>photo-two.jpg
|
|
147
|
+
<div></div>
|
|
148
|
+
</div>
|
|
149
|
+
<div class="usa-file-input__preview" aria-hidden="true">
|
|
150
|
+
<img
|
|
151
|
+
id="file-input-preloaded-multiple-preview-png"
|
|
152
|
+
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="
|
|
153
|
+
alt=""
|
|
154
|
+
class="usa-file-input__preview-image"
|
|
155
|
+
/>photo-one.png
|
|
156
|
+
<div></div>
|
|
157
|
+
</div>
|
|
158
|
+
<input
|
|
159
|
+
class="usx-file-input usa-file-input__input"
|
|
160
|
+
id="html-file-input-preloaded-multiple-file-input-multiple"
|
|
161
|
+
type="file"
|
|
162
|
+
name="file-input-multiple"
|
|
163
|
+
aria-describedby="html-file-input-preloaded-multiple-file-input-multiple-hint"
|
|
164
|
+
multiple=""
|
|
165
|
+
aria-label="Change files"
|
|
166
|
+
/>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
|
|
171
|
+
<h3 class="site-preview-heading">Managed Multiple</h3>
|
|
88
172
|
<div class="usa-form-group usx-form-group">
|
|
89
|
-
<label class="usa-label usx-label" for="file-input-managed">Upload supporting documents</label
|
|
90
|
-
|
|
173
|
+
<label class="usa-label usx-label" for="file-input-managed">Upload supporting documents</label
|
|
174
|
+
><span class="usa-hint usx-hint" id="file-input-managed-hint">Select one or more files</span>
|
|
91
175
|
<div class="usx-file-input__add-only">
|
|
92
176
|
<input
|
|
93
177
|
class="usa-file-input usx-file-input"
|
|
@@ -95,113 +179,159 @@
|
|
|
95
179
|
type="file"
|
|
96
180
|
name="file-input-managed"
|
|
97
181
|
aria-describedby="file-input-managed-hint"
|
|
98
|
-
multiple
|
|
182
|
+
multiple=""
|
|
183
|
+
/>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
<h3 class="site-preview-heading">Preloaded Downloadable</h3>
|
|
188
|
+
<div class="usa-form-group usx-form-group">
|
|
189
|
+
<label class="usa-label usx-label" for="file-input-preloaded-downloadable"
|
|
190
|
+
>Supporting documents</label
|
|
191
|
+
><span class="usa-hint usx-hint" id="file-input-preloaded-downloadable-hint"
|
|
192
|
+
>Select one or more files</span
|
|
193
|
+
>
|
|
194
|
+
<div class="usx-file-input__add-only">
|
|
195
|
+
<input
|
|
196
|
+
class="usa-file-input usx-file-input"
|
|
197
|
+
id="file-input-preloaded-downloadable"
|
|
198
|
+
type="file"
|
|
199
|
+
name="file-input-preloaded-downloadable"
|
|
200
|
+
aria-describedby="file-input-preloaded-downloadable-hint"
|
|
201
|
+
multiple=""
|
|
99
202
|
/>
|
|
100
203
|
</div>
|
|
101
204
|
<div class="usx-file-input__list margin-top-1">
|
|
102
|
-
<span class="usa-
|
|
205
|
+
<span class="usa-sr-only" aria-live="polite">You have selected the file: pay-stub.pdf.</span
|
|
206
|
+
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
103
207
|
<ul class="usx-file-input__file-list">
|
|
104
208
|
<li class="usx-file-input__file-item">
|
|
105
209
|
<div class="usx-file-input__file-info">
|
|
106
|
-
<
|
|
107
|
-
|
|
210
|
+
<a
|
|
211
|
+
href="https://example.com/files/w2-2023.pdf"
|
|
212
|
+
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
213
|
+
target="_blank"
|
|
214
|
+
rel="noreferrer noopener"
|
|
215
|
+
>w2-2023.pdf</a
|
|
216
|
+
><span class="usx-file-input__file-size">PDF, 240 KB</span>
|
|
108
217
|
</div>
|
|
109
218
|
<button
|
|
110
219
|
type="button"
|
|
111
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
220
|
+
class="usa-button usx-button usa-button--secondary usx-button--ghost usx-file-input__delete-button"
|
|
221
|
+
tooltip="Delete this file"
|
|
112
222
|
>
|
|
113
223
|
<svg
|
|
114
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
224
|
+
class="usa-icon usa-icon--size-3 usx-file-input__delete-icon"
|
|
115
225
|
aria-hidden="true"
|
|
226
|
+
aria-label="delete icon"
|
|
116
227
|
focusable="false"
|
|
117
228
|
role="img"
|
|
118
229
|
>
|
|
119
|
-
<use href="
|
|
120
|
-
</
|
|
121
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
230
|
+
<use href="/img/sprite.svg#delete"></use></svg
|
|
231
|
+
><span class="usx-file-input__delete-label">Delete</span>
|
|
122
232
|
</button>
|
|
123
233
|
</li>
|
|
124
234
|
<li class="usx-file-input__file-item">
|
|
125
235
|
<div class="usx-file-input__file-info">
|
|
126
|
-
<
|
|
127
|
-
|
|
236
|
+
<a
|
|
237
|
+
href="https://example.com/files/pay-stub.pdf"
|
|
238
|
+
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
239
|
+
target="_blank"
|
|
240
|
+
rel="noreferrer noopener"
|
|
241
|
+
>pay-stub.pdf</a
|
|
242
|
+
><span class="usx-file-input__file-size">PDF, 100 KB</span>
|
|
128
243
|
</div>
|
|
129
244
|
<button
|
|
130
245
|
type="button"
|
|
131
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
246
|
+
class="usa-button usx-button usa-button--secondary usx-button--ghost usx-file-input__delete-button"
|
|
247
|
+
tooltip="Delete this file"
|
|
132
248
|
>
|
|
133
249
|
<svg
|
|
134
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
250
|
+
class="usa-icon usa-icon--size-3 usx-file-input__delete-icon"
|
|
135
251
|
aria-hidden="true"
|
|
252
|
+
aria-label="delete icon"
|
|
136
253
|
focusable="false"
|
|
137
254
|
role="img"
|
|
138
255
|
>
|
|
139
|
-
<use href="
|
|
140
|
-
</
|
|
141
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
256
|
+
<use href="/img/sprite.svg#delete"></use></svg
|
|
257
|
+
><span class="usx-file-input__delete-label">Delete</span>
|
|
142
258
|
</button>
|
|
143
259
|
</li>
|
|
144
260
|
</ul>
|
|
145
261
|
</div>
|
|
146
262
|
</div>
|
|
147
263
|
|
|
148
|
-
|
|
264
|
+
<h3 class="site-preview-heading">Preloaded Not Downloadable</h3>
|
|
149
265
|
<div class="usa-form-group usx-form-group">
|
|
150
|
-
<label class="usa-label usx-label" for="file-input-preloaded-downloadable"
|
|
266
|
+
<label class="usa-label usx-label" for="file-input-preloaded-not-downloadable"
|
|
151
267
|
>Supporting documents</label
|
|
152
|
-
|
|
153
|
-
<span class="usa-hint usx-hint" id="file-input-preloaded-downloadable-hint"
|
|
268
|
+
><span class="usa-hint usx-hint" id="file-input-preloaded-not-downloadable-hint"
|
|
154
269
|
>Select one or more files</span
|
|
155
270
|
>
|
|
156
271
|
<div class="usx-file-input__add-only">
|
|
157
272
|
<input
|
|
158
273
|
class="usa-file-input usx-file-input"
|
|
159
|
-
id="file-input-preloaded-downloadable"
|
|
274
|
+
id="file-input-preloaded-not-downloadable"
|
|
160
275
|
type="file"
|
|
161
|
-
name="file-input-preloaded-downloadable"
|
|
162
|
-
aria-describedby="file-input-preloaded-downloadable-hint"
|
|
163
|
-
multiple
|
|
276
|
+
name="file-input-preloaded-not-downloadable"
|
|
277
|
+
aria-describedby="file-input-preloaded-not-downloadable-hint"
|
|
278
|
+
multiple=""
|
|
164
279
|
/>
|
|
165
280
|
</div>
|
|
166
281
|
<div class="usx-file-input__list margin-top-1">
|
|
167
|
-
<span class="usa-
|
|
282
|
+
<span class="usa-sr-only" aria-live="polite">You have selected the file: pay-stub.pdf.</span
|
|
283
|
+
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
168
284
|
<ul class="usx-file-input__file-list">
|
|
169
285
|
<li class="usx-file-input__file-item">
|
|
170
286
|
<div class="usx-file-input__file-info">
|
|
171
|
-
<
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
287
|
+
<span class="usx-file-input__file-name">w2-2023.pdf</span
|
|
288
|
+
><span class="usx-file-input__file-size">PDF, 240 KB</span>
|
|
289
|
+
</div>
|
|
290
|
+
<button
|
|
291
|
+
type="button"
|
|
292
|
+
class="usa-button usx-button usa-button--secondary usx-button--ghost usx-file-input__delete-button"
|
|
293
|
+
tooltip="Delete this file"
|
|
294
|
+
>
|
|
295
|
+
<svg
|
|
296
|
+
class="usa-icon usa-icon--size-3 usx-file-input__delete-icon"
|
|
297
|
+
aria-hidden="true"
|
|
298
|
+
aria-label="delete icon"
|
|
299
|
+
focusable="false"
|
|
300
|
+
role="img"
|
|
177
301
|
>
|
|
178
|
-
|
|
302
|
+
<use href="/img/sprite.svg#delete"></use></svg
|
|
303
|
+
><span class="usx-file-input__delete-label">Delete</span>
|
|
304
|
+
</button>
|
|
305
|
+
</li>
|
|
306
|
+
<li class="usx-file-input__file-item">
|
|
307
|
+
<div class="usx-file-input__file-info">
|
|
308
|
+
<span class="usx-file-input__file-name">pay-stub.pdf</span
|
|
309
|
+
><span class="usx-file-input__file-size">PDF, 100 KB</span>
|
|
179
310
|
</div>
|
|
180
311
|
<button
|
|
181
312
|
type="button"
|
|
182
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
313
|
+
class="usa-button usx-button usa-button--secondary usx-button--ghost usx-file-input__delete-button"
|
|
314
|
+
tooltip="Delete this file"
|
|
183
315
|
>
|
|
184
316
|
<svg
|
|
185
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
317
|
+
class="usa-icon usa-icon--size-3 usx-file-input__delete-icon"
|
|
186
318
|
aria-hidden="true"
|
|
319
|
+
aria-label="delete icon"
|
|
187
320
|
focusable="false"
|
|
188
321
|
role="img"
|
|
189
322
|
>
|
|
190
|
-
<use href="
|
|
191
|
-
</
|
|
192
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
323
|
+
<use href="/img/sprite.svg#delete"></use></svg
|
|
324
|
+
><span class="usx-file-input__delete-label">Delete</span>
|
|
193
325
|
</button>
|
|
194
326
|
</li>
|
|
195
327
|
</ul>
|
|
196
328
|
</div>
|
|
197
329
|
</div>
|
|
198
330
|
|
|
199
|
-
|
|
331
|
+
<h3 class="site-preview-heading">Preloaded Disabled</h3>
|
|
200
332
|
<div class="usa-form-group usx-form-group">
|
|
201
|
-
<label class="usa-label usx-label" for="file-input-preloaded-disabled"
|
|
202
|
-
|
|
203
|
-
>
|
|
204
|
-
<span class="usa-hint usx-hint" id="file-input-preloaded-disabled-hint"
|
|
333
|
+
<label class="usa-label usx-label" for="file-input-preloaded-disabled">Supporting documents</label
|
|
334
|
+
><span class="usa-hint usx-hint" id="file-input-preloaded-disabled-hint"
|
|
205
335
|
>These files were submitted with your application</span
|
|
206
336
|
>
|
|
207
337
|
<div class="usx-file-input__add-only">
|
|
@@ -211,50 +341,45 @@
|
|
|
211
341
|
type="file"
|
|
212
342
|
name="file-input-preloaded-disabled"
|
|
213
343
|
aria-describedby="file-input-preloaded-disabled-hint"
|
|
214
|
-
multiple
|
|
215
|
-
disabled
|
|
344
|
+
multiple=""
|
|
345
|
+
disabled=""
|
|
216
346
|
/>
|
|
217
347
|
</div>
|
|
218
348
|
<div class="usx-file-input__list margin-top-1">
|
|
219
|
-
<span class="usa-
|
|
349
|
+
<span class="usa-sr-only" aria-live="polite">You have selected the file: pay-stub.pdf.</span
|
|
350
|
+
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
220
351
|
<ul class="usx-file-input__file-list">
|
|
221
352
|
<li class="usx-file-input__file-item">
|
|
222
353
|
<div class="usx-file-input__file-info">
|
|
223
354
|
<a
|
|
355
|
+
href="https://example.com/files/w2-2023.pdf"
|
|
224
356
|
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
225
|
-
rel="noreferrer noopener"
|
|
226
357
|
target="_blank"
|
|
227
|
-
|
|
358
|
+
rel="noreferrer noopener"
|
|
228
359
|
>w2-2023.pdf</a
|
|
229
|
-
>
|
|
230
|
-
|
|
360
|
+
><span class="usx-file-input__file-size">PDF, 240 KB</span>
|
|
361
|
+
</div>
|
|
362
|
+
</li>
|
|
363
|
+
<li class="usx-file-input__file-item">
|
|
364
|
+
<div class="usx-file-input__file-info">
|
|
365
|
+
<a
|
|
366
|
+
href="https://example.com/files/pay-stub.pdf"
|
|
367
|
+
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
368
|
+
target="_blank"
|
|
369
|
+
rel="noreferrer noopener"
|
|
370
|
+
>pay-stub.pdf</a
|
|
371
|
+
><span class="usx-file-input__file-size">PDF, 100 KB</span>
|
|
231
372
|
</div>
|
|
232
|
-
<button
|
|
233
|
-
type="button"
|
|
234
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
235
|
-
disabled
|
|
236
|
-
>
|
|
237
|
-
<svg
|
|
238
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
239
|
-
aria-hidden="true"
|
|
240
|
-
focusable="false"
|
|
241
|
-
role="img"
|
|
242
|
-
>
|
|
243
|
-
<use href="./img/sprite.svg#delete"></use>
|
|
244
|
-
</svg>
|
|
245
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
246
|
-
</button>
|
|
247
373
|
</li>
|
|
248
374
|
</ul>
|
|
249
375
|
</div>
|
|
250
376
|
</div>
|
|
251
377
|
|
|
252
|
-
|
|
378
|
+
<h3 class="site-preview-heading">Preloaded Name Only</h3>
|
|
253
379
|
<div class="usa-form-group usx-form-group">
|
|
254
380
|
<label class="usa-label usx-label" for="file-input-preloaded-name-only"
|
|
255
381
|
>Supporting documents</label
|
|
256
|
-
|
|
257
|
-
<span class="usa-hint usx-hint" id="file-input-preloaded-name-only-hint"
|
|
382
|
+
><span class="usa-hint usx-hint" id="file-input-preloaded-name-only-hint"
|
|
258
383
|
>Select one or more files</span
|
|
259
384
|
>
|
|
260
385
|
<div class="usx-file-input__add-only">
|
|
@@ -264,11 +389,13 @@
|
|
|
264
389
|
type="file"
|
|
265
390
|
name="file-input-preloaded-name-only"
|
|
266
391
|
aria-describedby="file-input-preloaded-name-only-hint"
|
|
267
|
-
multiple
|
|
392
|
+
multiple=""
|
|
268
393
|
/>
|
|
269
394
|
</div>
|
|
270
395
|
<div class="usx-file-input__list margin-top-1">
|
|
271
|
-
<span class="usa-
|
|
396
|
+
<span class="usa-sr-only" aria-live="polite"
|
|
397
|
+
>You have selected the file: government-id.jpg.</span
|
|
398
|
+
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
272
399
|
<ul class="usx-file-input__file-list">
|
|
273
400
|
<li class="usx-file-input__file-item">
|
|
274
401
|
<div class="usx-file-input__file-info">
|
|
@@ -276,29 +403,29 @@
|
|
|
276
403
|
</div>
|
|
277
404
|
<button
|
|
278
405
|
type="button"
|
|
279
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
406
|
+
class="usa-button usx-button usa-button--secondary usx-button--ghost usx-file-input__delete-button"
|
|
407
|
+
tooltip="Delete this file"
|
|
280
408
|
>
|
|
281
409
|
<svg
|
|
282
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
410
|
+
class="usa-icon usa-icon--size-3 usx-file-input__delete-icon"
|
|
283
411
|
aria-hidden="true"
|
|
412
|
+
aria-label="delete icon"
|
|
284
413
|
focusable="false"
|
|
285
414
|
role="img"
|
|
286
415
|
>
|
|
287
|
-
<use href="
|
|
288
|
-
</
|
|
289
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
416
|
+
<use href="/img/sprite.svg#delete"></use></svg
|
|
417
|
+
><span class="usx-file-input__delete-label">Delete</span>
|
|
290
418
|
</button>
|
|
291
419
|
</li>
|
|
292
420
|
</ul>
|
|
293
421
|
</div>
|
|
294
422
|
</div>
|
|
295
423
|
|
|
296
|
-
|
|
424
|
+
<h3 class="site-preview-heading">Long File Name</h3>
|
|
297
425
|
<div class="usa-form-group usx-form-group">
|
|
298
426
|
<label class="usa-label usx-label" for="file-input-long-file-name"
|
|
299
427
|
>Upload supporting documents</label
|
|
300
|
-
|
|
301
|
-
<span class="usa-hint usx-hint" id="file-input-long-file-name-hint"
|
|
428
|
+
><span class="usa-hint usx-hint" id="file-input-long-file-name-hint"
|
|
302
429
|
>Select one or more files</span
|
|
303
430
|
>
|
|
304
431
|
<div class="usx-file-input__add-only">
|
|
@@ -308,192 +435,20 @@
|
|
|
308
435
|
type="file"
|
|
309
436
|
name="file-input-long-file-name"
|
|
310
437
|
aria-describedby="file-input-long-file-name-hint"
|
|
311
|
-
multiple
|
|
438
|
+
multiple=""
|
|
312
439
|
/>
|
|
313
440
|
</div>
|
|
314
441
|
<div class="usx-file-input__list margin-top-1">
|
|
315
|
-
<span class="usa-
|
|
442
|
+
<span class="usa-sr-only" aria-live="polite"
|
|
443
|
+
>You have selected the file:
|
|
444
|
+
another-extremely-long-filename-for-a-downloadable-preloaded-file-to-check-the-download-icon-and-link-wrapping.pdf.</span
|
|
445
|
+
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
316
446
|
<ul class="usx-file-input__file-list">
|
|
317
447
|
<li class="usx-file-input__file-item">
|
|
318
448
|
<div class="usx-file-input__file-info">
|
|
319
449
|
<span class="usx-file-input__file-name"
|
|
320
450
|
>this-is-an-unusually-long-supporting-document-filename-used-to-verify-wrapping-behavior.pdf</span
|
|
321
|
-
>
|
|
322
|
-
<span class="usx-file-input__file-size">PDF, 1.8 MB</span>
|
|
323
|
-
</div>
|
|
324
|
-
<button
|
|
325
|
-
type="button"
|
|
326
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
327
|
-
>
|
|
328
|
-
<svg
|
|
329
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
330
|
-
aria-hidden="true"
|
|
331
|
-
focusable="false"
|
|
332
|
-
role="img"
|
|
333
|
-
>
|
|
334
|
-
<use href="./img/sprite.svg#delete"></use>
|
|
335
|
-
</svg>
|
|
336
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
337
|
-
</button>
|
|
338
|
-
</li>
|
|
339
|
-
<li class="usx-file-input__file-item">
|
|
340
|
-
<div class="usx-file-input__file-info">
|
|
341
|
-
<a
|
|
342
|
-
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
343
|
-
rel="noreferrer noopener"
|
|
344
|
-
target="_blank"
|
|
345
|
-
href="#"
|
|
346
|
-
>another-extremely-long-filename-for-a-downloadable-preloaded-file-to-check-the-download-icon-and-link-wrapping.pdf</a
|
|
347
|
-
>
|
|
348
|
-
<span class="usx-file-input__file-size">PDF, 500 KB</span>
|
|
349
|
-
</div>
|
|
350
|
-
<button
|
|
351
|
-
type="button"
|
|
352
|
-
class="usa-button usx-button usa-button--secondary usx-file-input__delete-button"
|
|
353
|
-
>
|
|
354
|
-
<svg
|
|
355
|
-
class="usa-icon usx-file-input__delete-icon"
|
|
356
|
-
aria-hidden="true"
|
|
357
|
-
focusable="false"
|
|
358
|
-
role="img"
|
|
359
|
-
>
|
|
360
|
-
<use href="./img/sprite.svg#delete"></use>
|
|
361
|
-
</svg>
|
|
362
|
-
<span class="usx-file-input__delete-label">Delete</span>
|
|
363
|
-
</button>
|
|
364
|
-
</li>
|
|
365
|
-
</ul>
|
|
366
|
-
</div>
|
|
367
|
-
</div>
|
|
368
|
-
|
|
369
|
-
<!-- Static previews; preloading File objects and removing them require React. -->
|
|
370
|
-
<h3 class="site-preview-heading">Preloaded Single</h3>
|
|
371
|
-
<div class="usa-form-group usx-form-group">
|
|
372
|
-
<label class="usa-label usx-label" for="html-file-input-preloaded-single-file-input-single"
|
|
373
|
-
>Input accepts a single file</label
|
|
374
|
-
>
|
|
375
|
-
<div class="usa-file-input" data-enhanced="true">
|
|
376
|
-
<div class="usa-sr-only" aria-live="polite">You have selected the file: photo.png</div>
|
|
377
|
-
<div class="usa-file-input__target">
|
|
378
|
-
<div class="usa-file-input__box"></div>
|
|
379
|
-
<div class="usa-file-input__preview-heading">
|
|
380
|
-
Selected file <span class="usa-file-input__choose">Change file</span>
|
|
381
|
-
</div>
|
|
382
|
-
<div class="usa-file-input__instructions" aria-hidden="true" hidden="true">
|
|
383
|
-
<span class="usa-file-input__drag-text">Drag file here or</span>
|
|
384
|
-
<span class="usa-file-input__choose">choose from folder</span>
|
|
385
|
-
</div>
|
|
386
|
-
<div class="usa-file-input__preview" aria-hidden="true">
|
|
387
|
-
<img
|
|
388
|
-
id="file-input-preloaded-single-preview"
|
|
389
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="
|
|
390
|
-
alt=""
|
|
391
|
-
class="usa-file-input__preview-image"
|
|
392
|
-
/>photo.png
|
|
393
|
-
<div></div>
|
|
394
|
-
</div>
|
|
395
|
-
<input
|
|
396
|
-
class="usx-file-input usa-file-input__input"
|
|
397
|
-
id="html-file-input-preloaded-single-file-input-single"
|
|
398
|
-
type="file"
|
|
399
|
-
name="file-input-single"
|
|
400
|
-
aria-label="Change file"
|
|
401
|
-
/>
|
|
402
|
-
</div>
|
|
403
|
-
</div>
|
|
404
|
-
</div>
|
|
405
|
-
|
|
406
|
-
<h3 class="site-preview-heading">Preloaded Multiple</h3>
|
|
407
|
-
<div class="usa-form-group usx-form-group">
|
|
408
|
-
<label class="usa-label usx-label" for="html-file-input-preloaded-multiple-file-input-multiple"
|
|
409
|
-
>Input accepts multiple files</label
|
|
410
|
-
><span class="usa-hint usx-hint" id="html-file-input-preloaded-multiple-file-input-multiple-hint"
|
|
411
|
-
>Select one or more files</span
|
|
412
|
-
>
|
|
413
|
-
<div class="usa-file-input" data-enhanced="true">
|
|
414
|
-
<div class="usa-sr-only" aria-live="polite">
|
|
415
|
-
You have selected 2 files: photo-one.png, photo-two.jpg
|
|
416
|
-
</div>
|
|
417
|
-
<div class="usa-file-input__target">
|
|
418
|
-
<div class="usa-file-input__box"></div>
|
|
419
|
-
<div class="usa-file-input__preview-heading">
|
|
420
|
-
2 files selected <span class="usa-file-input__choose">Change files</span>
|
|
421
|
-
</div>
|
|
422
|
-
<div class="usa-file-input__instructions" aria-hidden="true" hidden="true">
|
|
423
|
-
<span class="usa-file-input__drag-text">Drag files here or</span>
|
|
424
|
-
<span class="usa-file-input__choose">choose from folder</span>
|
|
425
|
-
</div>
|
|
426
|
-
<div class="usa-file-input__preview" aria-hidden="true">
|
|
427
|
-
<img
|
|
428
|
-
id="file-input-preloaded-multiple-preview-jpg"
|
|
429
|
-
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/wAALCAABAAEBAREA/8QAFAABAAAAAAAAAAAAAAAAAAAACf/EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAD8AVN//2Q=="
|
|
430
|
-
alt=""
|
|
431
|
-
class="usa-file-input__preview-image"
|
|
432
|
-
/>photo-two.jpg
|
|
433
|
-
<div></div>
|
|
434
|
-
</div>
|
|
435
|
-
<div class="usa-file-input__preview" aria-hidden="true">
|
|
436
|
-
<img
|
|
437
|
-
id="file-input-preloaded-multiple-preview-png"
|
|
438
|
-
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="
|
|
439
|
-
alt=""
|
|
440
|
-
class="usa-file-input__preview-image"
|
|
441
|
-
/>photo-one.png
|
|
442
|
-
<div></div>
|
|
443
|
-
</div>
|
|
444
|
-
<input
|
|
445
|
-
class="usx-file-input usa-file-input__input"
|
|
446
|
-
id="html-file-input-preloaded-multiple-file-input-multiple"
|
|
447
|
-
type="file"
|
|
448
|
-
name="file-input-multiple"
|
|
449
|
-
aria-describedby="html-file-input-preloaded-multiple-file-input-multiple-hint"
|
|
450
|
-
multiple=""
|
|
451
|
-
aria-label="Change files"
|
|
452
|
-
/>
|
|
453
|
-
</div>
|
|
454
|
-
</div>
|
|
455
|
-
</div>
|
|
456
|
-
|
|
457
|
-
<h3 class="site-preview-heading">Preloaded Not Downloadable</h3>
|
|
458
|
-
<div class="usa-form-group usx-form-group">
|
|
459
|
-
<label
|
|
460
|
-
class="usa-label usx-label"
|
|
461
|
-
for="html-file-input-preloaded-not-downloadable-file-input-preloaded-not-downloadable"
|
|
462
|
-
>Supporting documents</label
|
|
463
|
-
><span
|
|
464
|
-
class="usa-hint usx-hint"
|
|
465
|
-
id="html-file-input-preloaded-not-downloadable-file-input-preloaded-not-downloadable-hint"
|
|
466
|
-
>Select one or more files</span
|
|
467
|
-
>
|
|
468
|
-
<div class="usx-file-input__add-only">
|
|
469
|
-
<div class="usa-file-input" data-enhanced="true">
|
|
470
|
-
<div class="usa-sr-only" aria-live="polite">No files selected.</div>
|
|
471
|
-
<div class="usa-file-input__target">
|
|
472
|
-
<div class="usa-file-input__box"></div>
|
|
473
|
-
<div class="usa-file-input__instructions" aria-hidden="true">
|
|
474
|
-
<span class="usa-file-input__drag-text">Drag files here or</span>
|
|
475
|
-
<span class="usa-file-input__choose">choose from folder</span>
|
|
476
|
-
</div>
|
|
477
|
-
<input
|
|
478
|
-
class="usx-file-input usa-file-input__input"
|
|
479
|
-
id="html-file-input-preloaded-not-downloadable-file-input-preloaded-not-downloadable"
|
|
480
|
-
type="file"
|
|
481
|
-
name="file-input-preloaded-not-downloadable"
|
|
482
|
-
aria-describedby="html-file-input-preloaded-not-downloadable-file-input-preloaded-not-downloadable-hint"
|
|
483
|
-
multiple=""
|
|
484
|
-
aria-label="Drag files here or choose from folder"
|
|
485
|
-
/>
|
|
486
|
-
</div>
|
|
487
|
-
</div>
|
|
488
|
-
</div>
|
|
489
|
-
<div class="usx-file-input__list margin-top-1">
|
|
490
|
-
<span class="usa-sr-only" aria-live="polite">You have selected the file: pay-stub.pdf.</span
|
|
491
|
-
><span class="usa-hint usx-hint usx-file-input__list-heading">Selected files</span>
|
|
492
|
-
<ul class="usx-file-input__file-list">
|
|
493
|
-
<li class="usx-file-input__file-item">
|
|
494
|
-
<div class="usx-file-input__file-info">
|
|
495
|
-
<span class="usx-file-input__file-name">w2-2023.pdf</span
|
|
496
|
-
><span class="usx-file-input__file-size">PDF, 240 KB</span>
|
|
451
|
+
><span class="usx-file-input__file-size">PDF, 1.8 MB</span>
|
|
497
452
|
</div>
|
|
498
453
|
<button
|
|
499
454
|
type="button"
|
|
@@ -513,8 +468,13 @@
|
|
|
513
468
|
</li>
|
|
514
469
|
<li class="usx-file-input__file-item">
|
|
515
470
|
<div class="usx-file-input__file-info">
|
|
516
|
-
<
|
|
517
|
-
|
|
471
|
+
<a
|
|
472
|
+
href="https://example.com/files/another-extremely-long-filename-for-a-downloadable-preloaded-file.pdf"
|
|
473
|
+
class="usa-link usx-link usa-link--external usx-file-input__file-name"
|
|
474
|
+
target="_blank"
|
|
475
|
+
rel="noreferrer noopener"
|
|
476
|
+
>another-extremely-long-filename-for-a-downloadable-preloaded-file-to-check-the-download-icon-and-link-wrapping.pdf</a
|
|
477
|
+
><span class="usx-file-input__file-size">PDF, 500 KB</span>
|
|
518
478
|
</div>
|
|
519
479
|
<button
|
|
520
480
|
type="button"
|