@solexllc/usx-react 0.1.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 +45 -0
- package/dist/index.cjs +6017 -0
- package/dist/index.js +6015 -0
- package/package.json +48 -0
- package/src/components/accordion/Accordion.jsx +170 -0
- package/src/components/accordion/accordion.django.html +47 -0
- package/src/components/accordion/accordion.html +304 -0
- package/src/components/accordion/config.json +31 -0
- package/src/components/alert/Alert.tsx +88 -0
- package/src/components/alert/alert.django.html +45 -0
- package/src/components/alert/alert.html +192 -0
- package/src/components/alert/config.json +70 -0
- package/src/components/attribution/Attribution.tsx +40 -0
- package/src/components/attribution/attribution.django.html +21 -0
- package/src/components/attribution/attribution.html +26 -0
- package/src/components/attribution/config.json +32 -0
- package/src/components/avatar/Avatar.tsx +85 -0
- package/src/components/avatar/avatar.django.html +27 -0
- package/src/components/avatar/avatar.html +101 -0
- package/src/components/avatar/config.json +59 -0
- package/src/components/avatar-group/AvatarGroup.tsx +43 -0
- package/src/components/avatar-group/avatar-group.django.html +8 -0
- package/src/components/avatar-group/avatar-group.html +208 -0
- package/src/components/avatar-group/config.json +60 -0
- package/src/components/back-to-top/BackToTop.tsx +60 -0
- package/src/components/back-to-top/back-to-top.django.html +38 -0
- package/src/components/back-to-top/back-to-top.html +107 -0
- package/src/components/back-to-top/config.json +44 -0
- package/src/components/banner/Banner.tsx +111 -0
- package/src/components/banner/banner.django.html +80 -0
- package/src/components/banner/banner.html +411 -0
- package/src/components/banner/config.json +47 -0
- package/src/components/block/Block.tsx +78 -0
- package/src/components/block/block.django.html +26 -0
- package/src/components/block/block.html +162 -0
- package/src/components/block/config.json +88 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +83 -0
- package/src/components/breadcrumb/breadcrumb.django.html +24 -0
- package/src/components/breadcrumb/breadcrumb.html +108 -0
- package/src/components/breadcrumb/config.json +74 -0
- package/src/components/button/Button.tsx +121 -0
- package/src/components/button/button.django.html +58 -0
- package/src/components/button/button.html +363 -0
- package/src/components/button/config.json +103 -0
- package/src/components/button-group/ButtonGroup.tsx +33 -0
- package/src/components/button-group/button-group.django.html +9 -0
- package/src/components/button-group/button-group.html +159 -0
- package/src/components/button-group/config.json +25 -0
- package/src/components/calendar-date/CalendarDate.tsx +40 -0
- package/src/components/calendar-date/calendar-date.django.html +8 -0
- package/src/components/calendar-date/calendar-date.html +17 -0
- package/src/components/calendar-date/config.json +17 -0
- package/src/components/card/Card.tsx +137 -0
- package/src/components/card/card.django.html +40 -0
- package/src/components/card/card.html +67 -0
- package/src/components/card/config.json +115 -0
- package/src/components/card-group/CardGroup.tsx +23 -0
- package/src/components/card-group/card-group.django.html +6 -0
- package/src/components/card-group/card-group.html +164 -0
- package/src/components/card-group/config.json +21 -0
- package/src/components/carousel/Carousel.tsx +101 -0
- package/src/components/carousel/carousel.django.html +41 -0
- package/src/components/carousel/carousel.html +64 -0
- package/src/components/carousel/config.json +38 -0
- package/src/components/character-count/CharacterCount.tsx +77 -0
- package/src/components/character-count/character-count.django.html +19 -0
- package/src/components/character-count/character-count.html +110 -0
- package/src/components/character-count/config.json +78 -0
- package/src/components/checkbox/Checkbox.tsx +90 -0
- package/src/components/checkbox/checkbox.django.html +16 -0
- package/src/components/checkbox/checkbox.html +266 -0
- package/src/components/checkbox/config.json +71 -0
- package/src/components/checkbox-group/CheckboxGroup.tsx +67 -0
- package/src/components/checkbox-group/checkbox-group.django.html +12 -0
- package/src/components/checkbox-group/checkbox-group.html +36 -0
- package/src/components/checkbox-group/config.json +50 -0
- package/src/components/clickable/Clickable.tsx +78 -0
- package/src/components/clickable/clickable.django.html +5 -0
- package/src/components/clickable/clickable.html +133 -0
- package/src/components/clickable/config.json +26 -0
- package/src/components/code/Code.tsx +60 -0
- package/src/components/code/code.django.html +21 -0
- package/src/components/code/code.html +71 -0
- package/src/components/code/config.json +40 -0
- package/src/components/collection/Collection.tsx +99 -0
- package/src/components/collection/collection.django.html +48 -0
- package/src/components/collection/collection.html +384 -0
- package/src/components/collection/config.json +60 -0
- package/src/components/combobox/Combobox.tsx +114 -0
- package/src/components/combobox/combobox.django.html +61 -0
- package/src/components/combobox/combobox.html +509 -0
- package/src/components/combobox/config.json +80 -0
- package/src/components/copy-to-clipboard/CopyToClipboard.tsx +48 -0
- package/src/components/copy-to-clipboard/config.json +30 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +16 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.html +68 -0
- package/src/components/date-picker/DatePicker.jsx +83 -0
- package/src/components/date-picker/config.json +71 -0
- package/src/components/date-picker/date-picker.django.html +67 -0
- package/src/components/date-picker/date-picker.html +104 -0
- package/src/components/date-range-picker/DateRangePicker.jsx +113 -0
- package/src/components/date-range-picker/config.json +92 -0
- package/src/components/date-range-picker/date-range-picker.django.html +66 -0
- package/src/components/date-range-picker/date-range-picker.html +190 -0
- package/src/components/error-message/ErrorMessage.tsx +23 -0
- package/src/components/error-message/config.json +19 -0
- package/src/components/error-message/error-message.django.html +2 -0
- package/src/components/error-message/error-message.html +2 -0
- package/src/components/eyebrow/Eyebrow.tsx +15 -0
- package/src/components/eyebrow/config.json +15 -0
- package/src/components/eyebrow/eyebrow.django.html +4 -0
- package/src/components/eyebrow/eyebrow.html +4 -0
- package/src/components/fieldset/Fieldset.tsx +54 -0
- package/src/components/fieldset/config.json +47 -0
- package/src/components/fieldset/fieldset.django.html +22 -0
- package/src/components/fieldset/fieldset.html +17 -0
- package/src/components/file-input/FileInput.jsx +174 -0
- package/src/components/file-input/config.json +80 -0
- package/src/components/file-input/file-input.django.html +57 -0
- package/src/components/file-input/file-input.html +258 -0
- package/src/components/file-list/FileList.jsx +105 -0
- package/src/components/file-list/config.json +43 -0
- package/src/components/file-list/file-list.django.html +30 -0
- package/src/components/file-list/file-list.html +61 -0
- package/src/components/footer/Footer.tsx +365 -0
- package/src/components/footer/config.json +83 -0
- package/src/components/footer/footer.django.html +260 -0
- package/src/components/footer/footer.html +392 -0
- package/src/components/form-group/FormGroup.tsx +26 -0
- package/src/components/form-group/config.json +22 -0
- package/src/components/form-group/form-group.django.html +4 -0
- package/src/components/form-group/form-group.html +17 -0
- package/src/components/header/Branding.tsx +101 -0
- package/src/components/header/Header.tsx +229 -0
- package/src/components/header/HeaderBranding.jsx +4 -0
- package/src/components/header/config.json +58 -0
- package/src/components/header/header.django.html +194 -0
- package/src/components/header/header.html +823 -0
- package/src/components/hero/Hero.tsx +64 -0
- package/src/components/hero/config.json +70 -0
- package/src/components/hero/hero.django.html +22 -0
- package/src/components/hero/hero.html +75 -0
- package/src/components/hint/Hint.tsx +23 -0
- package/src/components/hint/config.json +19 -0
- package/src/components/hint/hint.django.html +2 -0
- package/src/components/hint/hint.html +2 -0
- package/src/components/icon/Icon.tsx +46 -0
- package/src/components/icon/config.json +60 -0
- package/src/components/icon/icon.django.html +26 -0
- package/src/components/icon/icon.html +289 -0
- package/src/components/icon/icons_list.json +247 -0
- package/src/components/icon-list/IconList.tsx +59 -0
- package/src/components/icon-list/config.json +86 -0
- package/src/components/icon-list/icon-list.django.html +17 -0
- package/src/components/icon-list/icon-list.html +227 -0
- package/src/components/identifier/Identifier.tsx +193 -0
- package/src/components/identifier/config.json +133 -0
- package/src/components/identifier/identifier.django.html +99 -0
- package/src/components/identifier/identifier.html +737 -0
- package/src/components/image/Image.tsx +106 -0
- package/src/components/image/config.json +64 -0
- package/src/components/image/image.django.html +62 -0
- package/src/components/image/image.html +53 -0
- package/src/components/in-page-nav/InPageNav.jsx +76 -0
- package/src/components/in-page-nav/config.json +69 -0
- package/src/components/in-page-nav/in-page-nav.django.html +28 -0
- package/src/components/in-page-nav/in-page-nav.html +183 -0
- package/src/components/indicator/Indicator.tsx +32 -0
- package/src/components/indicator/README.md +1 -0
- package/src/components/indicator/config.json +19 -0
- package/src/components/indicator/indicator.django.html +10 -0
- package/src/components/indicator/indicator.html +42 -0
- package/src/components/input/Input.tsx +85 -0
- package/src/components/input/config.json +73 -0
- package/src/components/input/input.django.html +55 -0
- package/src/components/input/input.html +59 -0
- package/src/components/label/Label.tsx +42 -0
- package/src/components/label/config.json +39 -0
- package/src/components/label/label.django.html +23 -0
- package/src/components/label/label.html +23 -0
- package/src/components/language-selector/LanguageSelector.jsx +224 -0
- package/src/components/language-selector/config.json +107 -0
- package/src/components/language-selector/language-selector.django.html +40 -0
- package/src/components/language-selector/language-selector.html +85 -0
- package/src/components/layout/Layout.tsx +131 -0
- package/src/components/layout/config.json +36 -0
- package/src/components/layout/layout.django.html +28 -0
- package/src/components/layout/layout.html +29 -0
- package/src/components/legend/Legend.tsx +34 -0
- package/src/components/legend/config.json +27 -0
- package/src/components/legend/legend.django.html +11 -0
- package/src/components/legend/legend.html +12 -0
- package/src/components/link/Link.tsx +45 -0
- package/src/components/link/config.json +39 -0
- package/src/components/link/link.django.html +8 -0
- package/src/components/link/link.html +47 -0
- package/src/components/list/List.tsx +82 -0
- package/src/components/list/_list-items.django.html +17 -0
- package/src/components/list/config.json +25 -0
- package/src/components/list/list.django.html +11 -0
- package/src/components/list/list.html +26 -0
- package/src/components/memorable-date/MemorableDate.jsx +167 -0
- package/src/components/memorable-date/config.json +104 -0
- package/src/components/memorable-date/memorable-date.django.html +86 -0
- package/src/components/memorable-date/memorable-date.html +275 -0
- package/src/components/misc-banner/MiscBanner.tsx +112 -0
- package/src/components/misc-banner/config.json +57 -0
- package/src/components/misc-banner/misc-banner.django.html +63 -0
- package/src/components/misc-banner/misc-banner.html +191 -0
- package/src/components/modal/Modal.tsx +71 -0
- package/src/components/modal/config.json +57 -0
- package/src/components/modal/modal.django.html +43 -0
- package/src/components/modal/modal.html +222 -0
- package/src/components/page/Page.jsx +34 -0
- package/src/components/page/config.json +34 -0
- package/src/components/page/page.django.html +5 -0
- package/src/components/page/page.html +23 -0
- package/src/components/pagination/Pagination.tsx +112 -0
- package/src/components/pagination/config.json +135 -0
- package/src/components/pagination/container/PaginationContainer.tsx +38 -0
- package/src/components/pagination/navigation/PaginationNavigation.tsx +219 -0
- package/src/components/pagination/navigation/pagination-navigation.django.html +64 -0
- package/src/components/pagination/pagination.django.html +48 -0
- package/src/components/pagination/pagination.html +613 -0
- package/src/components/pagination/step-options/PaginationStepOptions.tsx +43 -0
- package/src/components/pagination/step-options/pagination-step-options.django.html +7 -0
- package/src/components/pagination/summary/PaginationSummary.tsx +33 -0
- package/src/components/pagination/summary/pagination-summary.django.html +12 -0
- package/src/components/process-list/ProcessList.tsx +52 -0
- package/src/components/process-list/config.json +15 -0
- package/src/components/process-list/process-list.django.html +15 -0
- package/src/components/process-list/process-list.html +90 -0
- package/src/components/prose/Prose.tsx +32 -0
- package/src/components/prose/config.json +28 -0
- package/src/components/prose/prose.django.html +35 -0
- package/src/components/prose/prose.html +91 -0
- package/src/components/radio-buttons/RadioButtons.tsx +82 -0
- package/src/components/radio-buttons/config.json +57 -0
- package/src/components/radio-buttons/radio-buttons.django.html +28 -0
- package/src/components/radio-buttons/radio-buttons.html +189 -0
- package/src/components/range-slider/RangeSlider.jsx +84 -0
- package/src/components/range-slider/config.json +89 -0
- package/src/components/range-slider/range-slider.django.html +65 -0
- package/src/components/range-slider/range-slider.html +106 -0
- package/src/components/required/Required.tsx +25 -0
- package/src/components/required/config.json +20 -0
- package/src/components/required/required.django.html +2 -0
- package/src/components/required/required.html +6 -0
- package/src/components/search/Search.tsx +92 -0
- package/src/components/search/config.json +69 -0
- package/src/components/search/search.django.html +59 -0
- package/src/components/search/search.html +76 -0
- package/src/components/section/Section.tsx +28 -0
- package/src/components/section/config.json +27 -0
- package/src/components/section/section.django.html +5 -0
- package/src/components/section/section.html +16 -0
- package/src/components/select/Select.tsx +107 -0
- package/src/components/select/config.json +80 -0
- package/src/components/select/select.django.html +64 -0
- package/src/components/select/select.html +62 -0
- package/src/components/sidenav/SideNav.tsx +74 -0
- package/src/components/sidenav/config.json +45 -0
- package/src/components/sidenav/sidenav.django.html +29 -0
- package/src/components/sidenav/sidenav.html +84 -0
- package/src/components/site-alert/SiteAlert.tsx +101 -0
- package/src/components/site-alert/config.json +62 -0
- package/src/components/site-alert/site-alert.django.html +34 -0
- package/src/components/site-alert/site-alert.html +312 -0
- package/src/components/skipnav/Skipnav.tsx +41 -0
- package/src/components/skipnav/config.json +29 -0
- package/src/components/skipnav/skipnav.django.html +11 -0
- package/src/components/skipnav/skipnav.html +1 -0
- package/src/components/spinner/Spinner.tsx +46 -0
- package/src/components/spinner/config.json +44 -0
- package/src/components/spinner/spinner.django.html +8 -0
- package/src/components/spinner/spinner.html +219 -0
- package/src/components/status/Status.tsx +28 -0
- package/src/components/status/config.json +47 -0
- package/src/components/status/status.django.html +2 -0
- package/src/components/status/status.html +31 -0
- package/src/components/step-indicator/StepIndicator.tsx +80 -0
- package/src/components/step-indicator/config.json +54 -0
- package/src/components/step-indicator/step-indicator.django.html +29 -0
- package/src/components/step-indicator/step-indicator.html +243 -0
- package/src/components/summary-box/SummaryBox.tsx +41 -0
- package/src/components/summary-box/config.json +30 -0
- package/src/components/summary-box/summary-box.django.html +19 -0
- package/src/components/summary-box/summary-box.html +210 -0
- package/src/components/swap/Swap.tsx +47 -0
- package/src/components/swap/config.json +61 -0
- package/src/components/swap/swap.django.html +14 -0
- package/src/components/swap/swap.html +163 -0
- package/src/components/switch/Switch.tsx +73 -0
- package/src/components/switch/config.json +55 -0
- package/src/components/switch/switch.django.html +28 -0
- package/src/components/switch/switch.html +56 -0
- package/src/components/table/Table.tsx +334 -0
- package/src/components/table/TableBody.tsx +253 -0
- package/src/components/table/TableCell.tsx +37 -0
- package/src/components/table/TableContext.tsx +87 -0
- package/src/components/table/TableFoot.tsx +68 -0
- package/src/components/table/TableGroup.tsx +69 -0
- package/src/components/table/TableHead.tsx +139 -0
- package/src/components/table/TableRow.tsx +56 -0
- package/src/components/table/__pycache__/table_helper.cpython-312.pyc +0 -0
- package/src/components/table/config.json +297 -0
- package/src/components/table/hooks/useRowDetails.ts +34 -0
- package/src/components/table/hooks/useTableGroups.ts +61 -0
- package/src/components/table/hooks/useTableSelect.ts +82 -0
- package/src/components/table/hooks/useTableSort.ts +60 -0
- package/src/components/table/table-body.django.html +68 -0
- package/src/components/table/table-detail-row.django.html +14 -0
- package/src/components/table/table-foot.django.html +31 -0
- package/src/components/table/table-group.django.html +40 -0
- package/src/components/table/table-head.django.html +85 -0
- package/src/components/table/table-row.django.html +98 -0
- package/src/components/table/table.django.html +60 -0
- package/src/components/table/table.html +1186 -0
- package/src/components/table/table_helper.py +298 -0
- package/src/components/table/types.ts +68 -0
- package/src/components/tag/Tag.tsx +75 -0
- package/src/components/tag/config.json +54 -0
- package/src/components/tag/tag.django.html +39 -0
- package/src/components/tag/tag.html +45 -0
- package/src/components/tag-group/TagGroup.tsx +35 -0
- package/src/components/tag-group/config.json +24 -0
- package/src/components/tag-group/tag-group.django.html +11 -0
- package/src/components/tag-group/tag-group.html +36 -0
- package/src/components/task-list/TaskList.tsx +40 -0
- package/src/components/task-list/config.json +41 -0
- package/src/components/task-list/task-list.django.html +21 -0
- package/src/components/task-list/task-list.html +24 -0
- package/src/components/text-area/TextArea.tsx +78 -0
- package/src/components/text-area/config.json +78 -0
- package/src/components/text-area/text-area.django.html +53 -0
- package/src/components/text-area/text-area.html +59 -0
- package/src/components/theme-picker/ThemePicker.tsx +106 -0
- package/src/components/theme-picker/config.json +39 -0
- package/src/components/theme-picker/theme-picker.django.html +32 -0
- package/src/components/theme-picker/theme-picker.html +67 -0
- package/src/components/time-picker/TimePicker.jsx +87 -0
- package/src/components/time-picker/config.json +76 -0
- package/src/components/time-picker/time-picker.django.html +67 -0
- package/src/components/time-picker/time-picker.html +123 -0
- package/src/components/toggle/Toggle.tsx +80 -0
- package/src/components/toggle/config.json +69 -0
- package/src/components/toggle/toggle.django.html +19 -0
- package/src/components/toggle/toggle.html +85 -0
- package/src/components/tooltip/Tooltip.tsx +33 -0
- package/src/components/tooltip/config.json +33 -0
- package/src/components/tooltip/tooltip.django.html +5 -0
- package/src/components/tooltip/tooltip.html +57 -0
- package/src/components/villain/Villain.tsx +47 -0
- package/src/components/villain/config.json +44 -0
- package/src/components/villain/villain.django.html +19 -0
- package/src/components/villain/villain.html +39 -0
- package/src/declarations.d.ts +1 -0
- package/src/index.js +82 -0
- package/src/styles/core.scss +12 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
<h3 class="site-preview-heading">Size 1</h3>
|
|
2
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
3
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
4
|
+
</svg>
|
|
5
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
6
|
+
<use href="./img/sprite.svg#add"></use>
|
|
7
|
+
</svg>
|
|
8
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
9
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
10
|
+
</svg>
|
|
11
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
12
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
13
|
+
</svg>
|
|
14
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
15
|
+
<use href="./img/sprite.svg#security"></use>
|
|
16
|
+
</svg>
|
|
17
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
18
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
19
|
+
</svg>
|
|
20
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
21
|
+
<use href="./img/sprite.svg#info"></use>
|
|
22
|
+
</svg>
|
|
23
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
24
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
25
|
+
</svg>
|
|
26
|
+
<svg class="usa-icon usx-icon--size-1" aria-hidden="true" focusable="false" role="img">
|
|
27
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
28
|
+
</svg>
|
|
29
|
+
|
|
30
|
+
<h3 class="site-preview-heading">Size 2 (default)</h3>
|
|
31
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
32
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
33
|
+
</svg>
|
|
34
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
35
|
+
<use href="./img/sprite.svg#add"></use>
|
|
36
|
+
</svg>
|
|
37
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
38
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
39
|
+
</svg>
|
|
40
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
41
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
42
|
+
</svg>
|
|
43
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
44
|
+
<use href="./img/sprite.svg#security"></use>
|
|
45
|
+
</svg>
|
|
46
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
47
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
48
|
+
</svg>
|
|
49
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
50
|
+
<use href="./img/sprite.svg#info"></use>
|
|
51
|
+
</svg>
|
|
52
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
53
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
54
|
+
</svg>
|
|
55
|
+
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img">
|
|
56
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
57
|
+
</svg>
|
|
58
|
+
|
|
59
|
+
<h3 class="site-preview-heading">Size 3</h3>
|
|
60
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
61
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
62
|
+
</svg>
|
|
63
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
64
|
+
<use href="./img/sprite.svg#add"></use>
|
|
65
|
+
</svg>
|
|
66
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
67
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
68
|
+
</svg>
|
|
69
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
70
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
71
|
+
</svg>
|
|
72
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
73
|
+
<use href="./img/sprite.svg#security"></use>
|
|
74
|
+
</svg>
|
|
75
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
76
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
77
|
+
</svg>
|
|
78
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
79
|
+
<use href="./img/sprite.svg#info"></use>
|
|
80
|
+
</svg>
|
|
81
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
82
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
83
|
+
</svg>
|
|
84
|
+
<svg class="usa-icon usa-icon--size-3" aria-hidden="true" focusable="false" role="img">
|
|
85
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
86
|
+
</svg>
|
|
87
|
+
|
|
88
|
+
<h3 class="site-preview-heading">Size 4</h3>
|
|
89
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
90
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
91
|
+
</svg>
|
|
92
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
93
|
+
<use href="./img/sprite.svg#add"></use>
|
|
94
|
+
</svg>
|
|
95
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
96
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
97
|
+
</svg>
|
|
98
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
99
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
100
|
+
</svg>
|
|
101
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
102
|
+
<use href="./img/sprite.svg#security"></use>
|
|
103
|
+
</svg>
|
|
104
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
105
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
106
|
+
</svg>
|
|
107
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
108
|
+
<use href="./img/sprite.svg#info"></use>
|
|
109
|
+
</svg>
|
|
110
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
111
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
112
|
+
</svg>
|
|
113
|
+
<svg class="usa-icon usa-icon--size-4" aria-hidden="true" focusable="false" role="img">
|
|
114
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
115
|
+
</svg>
|
|
116
|
+
|
|
117
|
+
<h3 class="site-preview-heading">Size 5</h3>
|
|
118
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
119
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
120
|
+
</svg>
|
|
121
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
122
|
+
<use href="./img/sprite.svg#add"></use>
|
|
123
|
+
</svg>
|
|
124
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
125
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
126
|
+
</svg>
|
|
127
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
128
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
129
|
+
</svg>
|
|
130
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
131
|
+
<use href="./img/sprite.svg#security"></use>
|
|
132
|
+
</svg>
|
|
133
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
134
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
135
|
+
</svg>
|
|
136
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
137
|
+
<use href="./img/sprite.svg#info"></use>
|
|
138
|
+
</svg>
|
|
139
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
140
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
141
|
+
</svg>
|
|
142
|
+
<svg class="usa-icon usa-icon--size-5" aria-hidden="true" focusable="false" role="img">
|
|
143
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
144
|
+
</svg>
|
|
145
|
+
|
|
146
|
+
<h3 class="site-preview-heading">Size 6</h3>
|
|
147
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
148
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
149
|
+
</svg>
|
|
150
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
151
|
+
<use href="./img/sprite.svg#add"></use>
|
|
152
|
+
</svg>
|
|
153
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
154
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
155
|
+
</svg>
|
|
156
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
157
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
158
|
+
</svg>
|
|
159
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
160
|
+
<use href="./img/sprite.svg#security"></use>
|
|
161
|
+
</svg>
|
|
162
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
163
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
164
|
+
</svg>
|
|
165
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
166
|
+
<use href="./img/sprite.svg#info"></use>
|
|
167
|
+
</svg>
|
|
168
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
169
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
170
|
+
</svg>
|
|
171
|
+
<svg class="usa-icon usa-icon--size-6" aria-hidden="true" focusable="false" role="img">
|
|
172
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
173
|
+
</svg>
|
|
174
|
+
|
|
175
|
+
<h3 class="site-preview-heading">Size 7</h3>
|
|
176
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
177
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
178
|
+
</svg>
|
|
179
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
180
|
+
<use href="./img/sprite.svg#add"></use>
|
|
181
|
+
</svg>
|
|
182
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
183
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
184
|
+
</svg>
|
|
185
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
186
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
187
|
+
</svg>
|
|
188
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
189
|
+
<use href="./img/sprite.svg#security"></use>
|
|
190
|
+
</svg>
|
|
191
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
192
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
193
|
+
</svg>
|
|
194
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
195
|
+
<use href="./img/sprite.svg#info"></use>
|
|
196
|
+
</svg>
|
|
197
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
198
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
199
|
+
</svg>
|
|
200
|
+
<svg class="usa-icon usa-icon--size-7" aria-hidden="true" focusable="false" role="img">
|
|
201
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
202
|
+
</svg>
|
|
203
|
+
|
|
204
|
+
<h3 class="site-preview-heading">Size 8</h3>
|
|
205
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
206
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
207
|
+
</svg>
|
|
208
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
209
|
+
<use href="./img/sprite.svg#add"></use>
|
|
210
|
+
</svg>
|
|
211
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
212
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
213
|
+
</svg>
|
|
214
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
215
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
216
|
+
</svg>
|
|
217
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
218
|
+
<use href="./img/sprite.svg#security"></use>
|
|
219
|
+
</svg>
|
|
220
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
221
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
222
|
+
</svg>
|
|
223
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
224
|
+
<use href="./img/sprite.svg#info"></use>
|
|
225
|
+
</svg>
|
|
226
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
227
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
228
|
+
</svg>
|
|
229
|
+
<svg class="usa-icon usa-icon--size-8" aria-hidden="true" focusable="false" role="img">
|
|
230
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
231
|
+
</svg>
|
|
232
|
+
|
|
233
|
+
<h3 class="site-preview-heading">Size 9</h3>
|
|
234
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
235
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
236
|
+
</svg>
|
|
237
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
238
|
+
<use href="./img/sprite.svg#add"></use>
|
|
239
|
+
</svg>
|
|
240
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
241
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
242
|
+
</svg>
|
|
243
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
244
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
245
|
+
</svg>
|
|
246
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
247
|
+
<use href="./img/sprite.svg#security"></use>
|
|
248
|
+
</svg>
|
|
249
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
250
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
251
|
+
</svg>
|
|
252
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
253
|
+
<use href="./img/sprite.svg#info"></use>
|
|
254
|
+
</svg>
|
|
255
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
256
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
257
|
+
</svg>
|
|
258
|
+
<svg class="usa-icon usa-icon--size-9" aria-hidden="true" focusable="false" role="img">
|
|
259
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
260
|
+
</svg>
|
|
261
|
+
|
|
262
|
+
<h3 class="site-preview-heading">Colors</h3>
|
|
263
|
+
<svg class="usa-icon usa-icon--size-6 text-primary" aria-hidden="true" focusable="false" role="img">
|
|
264
|
+
<use href="./img/sprite.svg#accessibility_new"></use>
|
|
265
|
+
</svg>
|
|
266
|
+
<svg class="usa-icon usa-icon--size-6 text-secondary" aria-hidden="true" focusable="false" role="img">
|
|
267
|
+
<use href="./img/sprite.svg#add"></use>
|
|
268
|
+
</svg>
|
|
269
|
+
<svg class="usa-icon usa-icon--size-6 text-success" aria-hidden="true" focusable="false" role="img">
|
|
270
|
+
<use href="./img/sprite.svg#local_cafe"></use>
|
|
271
|
+
</svg>
|
|
272
|
+
<svg class="usa-icon usa-icon--size-6 text-violet" aria-hidden="true" focusable="false" role="img">
|
|
273
|
+
<use href="./img/sprite.svg#my_location"></use>
|
|
274
|
+
</svg>
|
|
275
|
+
<svg class="usa-icon usa-icon--size-6 text-accent-cool-light" aria-hidden="true" focusable="false" role="img">
|
|
276
|
+
<use href="./img/sprite.svg#security"></use>
|
|
277
|
+
</svg>
|
|
278
|
+
<svg class="usa-icon usa-icon--size-6 text-accent-warm" aria-hidden="true" focusable="false" role="img">
|
|
279
|
+
<use href="./img/sprite.svg#support_agent"></use>
|
|
280
|
+
</svg>
|
|
281
|
+
<svg class="usa-icon usa-icon--size-6 text-info" aria-hidden="true" focusable="false" role="img">
|
|
282
|
+
<use href="./img/sprite.svg#info"></use>
|
|
283
|
+
</svg>
|
|
284
|
+
<svg class="usa-icon usa-icon--size-6 text-warning" aria-hidden="true" focusable="false" role="img">
|
|
285
|
+
<use href="./img/sprite.svg#warning"></use>
|
|
286
|
+
</svg>
|
|
287
|
+
<svg class="usa-icon usa-icon--size-6 text-magenta" aria-hidden="true" focusable="false" role="img">
|
|
288
|
+
<use href="./img/sprite.svg#visibility"></use>
|
|
289
|
+
</svg>
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"icons": [
|
|
3
|
+
"accessibility_new",
|
|
4
|
+
"accessible_forward",
|
|
5
|
+
"account_balance",
|
|
6
|
+
"account_box",
|
|
7
|
+
"account_circle",
|
|
8
|
+
"add",
|
|
9
|
+
"add_circle",
|
|
10
|
+
"add_circle_outline",
|
|
11
|
+
"alarm",
|
|
12
|
+
"alternate_email",
|
|
13
|
+
"announcement",
|
|
14
|
+
"arrow_back",
|
|
15
|
+
"arrow_downward",
|
|
16
|
+
"arrow_drop_down",
|
|
17
|
+
"arrow_drop_up",
|
|
18
|
+
"arrow_forward",
|
|
19
|
+
"arrow_upward",
|
|
20
|
+
"api",
|
|
21
|
+
"assessment",
|
|
22
|
+
"attach_file",
|
|
23
|
+
"attach_money",
|
|
24
|
+
"autorenew",
|
|
25
|
+
"backpack",
|
|
26
|
+
"bathtub",
|
|
27
|
+
"bedding",
|
|
28
|
+
"bookmark",
|
|
29
|
+
"bug_report",
|
|
30
|
+
"build",
|
|
31
|
+
"calendar_today",
|
|
32
|
+
"campaign",
|
|
33
|
+
"camping",
|
|
34
|
+
"cancel",
|
|
35
|
+
"chat",
|
|
36
|
+
"check",
|
|
37
|
+
"check_box_outline_blank",
|
|
38
|
+
"check_circle",
|
|
39
|
+
"check_circle_outline",
|
|
40
|
+
"checkroom",
|
|
41
|
+
"clean_hands",
|
|
42
|
+
"clothes",
|
|
43
|
+
"close",
|
|
44
|
+
"closed_caption",
|
|
45
|
+
"cloud",
|
|
46
|
+
"code",
|
|
47
|
+
"comment",
|
|
48
|
+
"connect_without_contact",
|
|
49
|
+
"construction",
|
|
50
|
+
"construction_worker",
|
|
51
|
+
"contact_page",
|
|
52
|
+
"content_copy",
|
|
53
|
+
"coronavirus",
|
|
54
|
+
"credit_card",
|
|
55
|
+
"deck",
|
|
56
|
+
"delete",
|
|
57
|
+
"device_thermostat",
|
|
58
|
+
"directions",
|
|
59
|
+
"directions_bike",
|
|
60
|
+
"directions_bus",
|
|
61
|
+
"directions_car",
|
|
62
|
+
"directions_walk",
|
|
63
|
+
"do_not_disturb",
|
|
64
|
+
"do_not_touch",
|
|
65
|
+
"drag_handle",
|
|
66
|
+
"eco",
|
|
67
|
+
"edit",
|
|
68
|
+
"electrical_services",
|
|
69
|
+
"emoji_events",
|
|
70
|
+
"error",
|
|
71
|
+
"error_outline",
|
|
72
|
+
"event",
|
|
73
|
+
"expand_less",
|
|
74
|
+
"expand_more",
|
|
75
|
+
"facebook",
|
|
76
|
+
"fast_forward",
|
|
77
|
+
"fast_rewind",
|
|
78
|
+
"favorite",
|
|
79
|
+
"favorite_border",
|
|
80
|
+
"fax",
|
|
81
|
+
"file_download",
|
|
82
|
+
"file_present",
|
|
83
|
+
"file_upload",
|
|
84
|
+
"filter_alt",
|
|
85
|
+
"filter_list",
|
|
86
|
+
"fingerprint",
|
|
87
|
+
"first_page",
|
|
88
|
+
"flag",
|
|
89
|
+
"flickr",
|
|
90
|
+
"flight",
|
|
91
|
+
"flooding",
|
|
92
|
+
"folder",
|
|
93
|
+
"folder_open",
|
|
94
|
+
"format_quote",
|
|
95
|
+
"format_size",
|
|
96
|
+
"forum",
|
|
97
|
+
"github",
|
|
98
|
+
"grid_view",
|
|
99
|
+
"group_add",
|
|
100
|
+
"groups",
|
|
101
|
+
"hearing",
|
|
102
|
+
"help",
|
|
103
|
+
"help_outline",
|
|
104
|
+
"highlight_off",
|
|
105
|
+
"history",
|
|
106
|
+
"home",
|
|
107
|
+
"hospital",
|
|
108
|
+
"hotel",
|
|
109
|
+
"hourglass_empty",
|
|
110
|
+
"hurricane",
|
|
111
|
+
"identification",
|
|
112
|
+
"image",
|
|
113
|
+
"info",
|
|
114
|
+
"info_outline",
|
|
115
|
+
"insights",
|
|
116
|
+
"instagram",
|
|
117
|
+
"keyboard",
|
|
118
|
+
"label",
|
|
119
|
+
"language",
|
|
120
|
+
"last_page",
|
|
121
|
+
"launch",
|
|
122
|
+
"lightbulb",
|
|
123
|
+
"lightbulb_outline",
|
|
124
|
+
"link",
|
|
125
|
+
"link_off",
|
|
126
|
+
"linkedin",
|
|
127
|
+
"list",
|
|
128
|
+
"local_cafe",
|
|
129
|
+
"local_fire_department",
|
|
130
|
+
"local_gas_station",
|
|
131
|
+
"local_grocery_store",
|
|
132
|
+
"local_hospital",
|
|
133
|
+
"local_laundry_service",
|
|
134
|
+
"local_library",
|
|
135
|
+
"local_offer",
|
|
136
|
+
"local_parking",
|
|
137
|
+
"local_pharmacy",
|
|
138
|
+
"local_police",
|
|
139
|
+
"local_taxi",
|
|
140
|
+
"location_city",
|
|
141
|
+
"location_on",
|
|
142
|
+
"lock",
|
|
143
|
+
"lock_open",
|
|
144
|
+
"lock_outline",
|
|
145
|
+
"login",
|
|
146
|
+
"logout",
|
|
147
|
+
"loop",
|
|
148
|
+
"mail",
|
|
149
|
+
"mail_outline",
|
|
150
|
+
"map",
|
|
151
|
+
"masks",
|
|
152
|
+
"medical_services",
|
|
153
|
+
"menu",
|
|
154
|
+
"military_tech",
|
|
155
|
+
"more_horiz",
|
|
156
|
+
"more_vert",
|
|
157
|
+
"my_location",
|
|
158
|
+
"navigate_before",
|
|
159
|
+
"navigate_next",
|
|
160
|
+
"navigate_far_before",
|
|
161
|
+
"navigate_far_next",
|
|
162
|
+
"near_me",
|
|
163
|
+
"notifications",
|
|
164
|
+
"notifications_active",
|
|
165
|
+
"notifications_none",
|
|
166
|
+
"notifications_off",
|
|
167
|
+
"park",
|
|
168
|
+
"people",
|
|
169
|
+
"person",
|
|
170
|
+
"pets",
|
|
171
|
+
"phone",
|
|
172
|
+
"photo_camera",
|
|
173
|
+
"print",
|
|
174
|
+
"priority_high",
|
|
175
|
+
"public",
|
|
176
|
+
"push_pin",
|
|
177
|
+
"radio_button_unchecked",
|
|
178
|
+
"rain",
|
|
179
|
+
"reduce_capacity",
|
|
180
|
+
"remove",
|
|
181
|
+
"remove_circle",
|
|
182
|
+
"report",
|
|
183
|
+
"restaurant",
|
|
184
|
+
"rss_feed",
|
|
185
|
+
"safety_divider",
|
|
186
|
+
"sanitizer",
|
|
187
|
+
"severe_weather",
|
|
188
|
+
"save_alt",
|
|
189
|
+
"schedule",
|
|
190
|
+
"school",
|
|
191
|
+
"science",
|
|
192
|
+
"search",
|
|
193
|
+
"security",
|
|
194
|
+
"send",
|
|
195
|
+
"sentiment_dissatisfied",
|
|
196
|
+
"sentiment_neutral",
|
|
197
|
+
"sentiment_satisfied",
|
|
198
|
+
"sentiment_satisfied_alt",
|
|
199
|
+
"sentiment_very_dissatisfied",
|
|
200
|
+
"settings",
|
|
201
|
+
"share",
|
|
202
|
+
"shield",
|
|
203
|
+
"shopping_basket",
|
|
204
|
+
"snow",
|
|
205
|
+
"soap",
|
|
206
|
+
"social_distance",
|
|
207
|
+
"sort_arrow",
|
|
208
|
+
"spellcheck",
|
|
209
|
+
"star",
|
|
210
|
+
"star_half",
|
|
211
|
+
"star_outline",
|
|
212
|
+
"store",
|
|
213
|
+
"support",
|
|
214
|
+
"support_agent",
|
|
215
|
+
"text_fields",
|
|
216
|
+
"thumb_down_alt",
|
|
217
|
+
"thumb_up_alt",
|
|
218
|
+
"timer",
|
|
219
|
+
"toggle_off",
|
|
220
|
+
"toggle_on",
|
|
221
|
+
"topic",
|
|
222
|
+
"tornado",
|
|
223
|
+
"translate",
|
|
224
|
+
"trending_down",
|
|
225
|
+
"trending_up",
|
|
226
|
+
"twitter",
|
|
227
|
+
"undo",
|
|
228
|
+
"unfold_less",
|
|
229
|
+
"unfold_more",
|
|
230
|
+
"update",
|
|
231
|
+
"upload_file",
|
|
232
|
+
"verified",
|
|
233
|
+
"verified_user",
|
|
234
|
+
"visibility",
|
|
235
|
+
"visibility_off",
|
|
236
|
+
"volume_off",
|
|
237
|
+
"warning",
|
|
238
|
+
"wash",
|
|
239
|
+
"wifi",
|
|
240
|
+
"work",
|
|
241
|
+
"x",
|
|
242
|
+
"youtube",
|
|
243
|
+
"zoom_in",
|
|
244
|
+
"zoom_out_map",
|
|
245
|
+
"zoom_out"
|
|
246
|
+
]
|
|
247
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ClassNames from 'classnames';
|
|
3
|
+
import Icon from '../icon/Icon';
|
|
4
|
+
|
|
5
|
+
export interface IconListItem {
|
|
6
|
+
iconName: string;
|
|
7
|
+
iconColor?: string;
|
|
8
|
+
iconSize?: number;
|
|
9
|
+
iconClassName?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
content: string | React.ReactNode;
|
|
12
|
+
itemClassName?: string;
|
|
13
|
+
contentClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface IconListProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
17
|
+
items?: IconListItem[];
|
|
18
|
+
primary?: boolean;
|
|
19
|
+
size?: null | 'lg';
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function renderContent(content: string | React.ReactNode) {
|
|
24
|
+
if (typeof content === 'string') {
|
|
25
|
+
return <div dangerouslySetInnerHTML={{ __html: content }} />;
|
|
26
|
+
}
|
|
27
|
+
return content;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default function IconList({ items = [], primary = false, size = null, className = '', ...props }: IconListProps) {
|
|
31
|
+
const classes = ClassNames(
|
|
32
|
+
'usa-icon-list',
|
|
33
|
+
'usx-icon-list',
|
|
34
|
+
primary && 'usa-icon-list--primary',
|
|
35
|
+
size === 'lg' && 'usa-icon-list--size-lg',
|
|
36
|
+
className,
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<ul className={classes} {...props}>
|
|
41
|
+
{items.map((item, index) => (
|
|
42
|
+
<li key={index} className={ClassNames('usa-icon-list__item', item.itemClassName)}>
|
|
43
|
+
<div className={ClassNames('usa-icon-list__icon', item.iconColor && `text-${item.iconColor}`, item.iconClassName)}>
|
|
44
|
+
<Icon
|
|
45
|
+
name={item.iconName}
|
|
46
|
+
color={item.iconColor}
|
|
47
|
+
size={item.iconSize}
|
|
48
|
+
className={item.iconClassName}
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
<div className={ClassNames('usa-icon-list__content', item.contentClassName)}>
|
|
52
|
+
{item.title ? <h4 className="usa-icon-list__title">{item.title}</h4> : null}
|
|
53
|
+
{renderContent(item.content)}
|
|
54
|
+
</div>
|
|
55
|
+
</li>
|
|
56
|
+
))}
|
|
57
|
+
</ul>
|
|
58
|
+
);
|
|
59
|
+
}
|