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