@4alldigital/foundation-ui--gamma 1.22.0 → 1.23.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 (105) hide show
  1. package/dist/foundation-ui.css +1 -1
  2. package/dist/index.esm.js +121 -99
  3. package/dist/index.js +121 -98
  4. package/dist/types/fui/components/Blockquote/Blockquote.d.ts +7 -0
  5. package/dist/types/fui/components/Blockquote/Blockquote.stories.d.ts +6 -0
  6. package/dist/types/fui/components/Blockquote/Blockquote.test.d.ts +1 -0
  7. package/dist/types/fui/components/Blockquote/Blockquote.types.d.ts +7 -0
  8. package/dist/types/fui/components/Blockquote/index.d.ts +1 -0
  9. package/dist/types/fui/components/Button/Button.d.ts +7 -0
  10. package/dist/types/fui/components/Button/Button.stories.d.ts +8 -0
  11. package/dist/types/fui/components/Button/Button.test.d.ts +1 -0
  12. package/dist/types/fui/components/Button/Button.types.d.ts +36 -0
  13. package/dist/types/fui/components/Button/index.d.ts +1 -0
  14. package/dist/types/fui/components/Container/Container.d.ts +7 -0
  15. package/dist/types/fui/components/Container/Container.stories.d.ts +6 -0
  16. package/dist/types/fui/components/Container/Container.test.d.ts +1 -0
  17. package/dist/types/fui/components/Container/Container.types.d.ts +7 -0
  18. package/dist/types/fui/components/Container/index.d.ts +1 -0
  19. package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.d.ts +7 -0
  20. package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.stories.d.ts +6 -0
  21. package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.test.d.ts +1 -0
  22. package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.types.d.ts +17 -0
  23. package/dist/types/fui/components/ContentPageLayout/index.d.ts +1 -0
  24. package/dist/types/fui/components/ContentRowsLayout/ContentRowsLayout.d.ts +7 -0
  25. package/dist/types/fui/components/ContentRowsLayout/ContentRowsLayout.stories.d.ts +6 -0
  26. package/dist/types/fui/components/ContentRowsLayout/ContentRowsLayout.test.d.ts +1 -0
  27. package/dist/types/fui/components/ContentRowsLayout/ContentRowsLayout.types.d.ts +15 -0
  28. package/dist/types/fui/components/ContentRowsLayout/index.d.ts +1 -0
  29. package/dist/types/fui/components/Copy/Copy.d.ts +7 -0
  30. package/dist/types/fui/components/Copy/Copy.stories.d.ts +6 -0
  31. package/dist/types/fui/components/Copy/Copy.test.d.ts +1 -0
  32. package/dist/types/fui/components/Copy/Copy.types.d.ts +41 -0
  33. package/dist/types/fui/components/Copy/index.d.ts +1 -0
  34. package/dist/types/fui/components/Form/Form.d.ts +8 -0
  35. package/dist/types/fui/components/Form/Form.stories.d.ts +7 -0
  36. package/dist/types/fui/components/Form/Form.test.d.ts +1 -0
  37. package/dist/types/fui/components/Form/Form.types.d.ts +21 -0
  38. package/dist/types/fui/components/Form/index.d.ts +1 -0
  39. package/dist/types/fui/components/FormField/FormField.d.ts +8 -0
  40. package/dist/types/fui/components/FormField/FormField.stories.d.ts +7 -0
  41. package/dist/types/fui/components/FormField/FormField.test.d.ts +1 -0
  42. package/dist/types/fui/components/FormField/FormField.types.d.ts +25 -0
  43. package/dist/types/fui/components/FormField/index.d.ts +1 -0
  44. package/dist/types/fui/components/FormSelect/FormSelect.d.ts +4 -0
  45. package/dist/types/fui/components/FormSelect/FormSelect.stories.d.ts +6 -0
  46. package/dist/types/fui/components/FormSelect/FormSelect.test.d.ts +1 -0
  47. package/dist/types/fui/components/FormSelect/FormSelect.types.d.ts +39 -0
  48. package/dist/types/fui/components/FormSelect/index.d.ts +1 -0
  49. package/dist/types/fui/components/Heading/Heading.d.ts +7 -0
  50. package/dist/types/fui/components/Heading/Heading.stories.d.ts +7 -0
  51. package/dist/types/fui/components/Heading/Heading.test.d.ts +1 -0
  52. package/dist/types/fui/components/Heading/Heading.types.d.ts +31 -0
  53. package/dist/types/fui/components/Heading/index.d.ts +1 -0
  54. package/dist/types/fui/components/Hr/Hr.d.ts +5 -0
  55. package/dist/types/fui/components/Hr/Hr.stories.d.ts +6 -0
  56. package/dist/types/fui/components/Hr/Hr.test.d.ts +1 -0
  57. package/dist/types/fui/components/Hr/index.d.ts +1 -0
  58. package/dist/types/fui/components/Icon/Icon.d.ts +11 -0
  59. package/dist/types/fui/components/Icon/Icon.stories.d.ts +6 -0
  60. package/dist/types/fui/components/Icon/Icon.test.d.ts +1 -0
  61. package/dist/types/fui/components/Icon/Icon.types.d.ts +7 -0
  62. package/dist/types/fui/components/Icon/index.d.ts +1 -0
  63. package/dist/types/fui/components/Image/Image.d.ts +7 -0
  64. package/dist/types/fui/components/Image/Image.stories.d.ts +6 -0
  65. package/dist/types/fui/components/Image/Image.test.d.ts +1 -0
  66. package/dist/types/fui/components/Image/Image.types.d.ts +16 -0
  67. package/dist/types/fui/components/Image/index.d.ts +1 -0
  68. package/dist/types/fui/components/Link/Link.d.ts +7 -0
  69. package/dist/types/fui/components/Link/Link.stories.d.ts +6 -0
  70. package/dist/types/fui/components/Link/Link.test.d.ts +1 -0
  71. package/dist/types/fui/components/Link/Link.types.d.ts +12 -0
  72. package/dist/types/fui/components/Link/index.d.ts +1 -0
  73. package/dist/types/fui/components/List/List.d.ts +7 -0
  74. package/dist/types/fui/components/List/List.stories.d.ts +6 -0
  75. package/dist/types/fui/components/List/List.test.d.ts +1 -0
  76. package/dist/types/fui/components/List/List.types.d.ts +25 -0
  77. package/dist/types/fui/components/List/index.d.ts +1 -0
  78. package/dist/types/fui/components/ListItem/ListItem.d.ts +7 -0
  79. package/dist/types/fui/components/ListItem/ListItem.test.d.ts +1 -0
  80. package/dist/types/fui/components/ListItem/ListItem.types.d.ts +8 -0
  81. package/dist/types/fui/components/ListItem/index.d.ts +1 -0
  82. package/dist/types/fui/components/Loader/Loader.d.ts +7 -0
  83. package/dist/types/fui/components/Loader/Loader.stories.d.ts +6 -0
  84. package/dist/types/fui/components/Loader/Loader.test.d.ts +1 -0
  85. package/dist/types/fui/components/Loader/Loader.types.d.ts +4 -0
  86. package/dist/types/fui/components/Loader/index.d.ts +1 -0
  87. package/dist/types/fui/components/Notice/Notice.d.ts +7 -0
  88. package/dist/types/fui/components/Notice/Notice.stories.d.ts +6 -0
  89. package/dist/types/fui/components/Notice/Notice.test.d.ts +1 -0
  90. package/dist/types/fui/components/Notice/Notice.types.d.ts +5 -0
  91. package/dist/types/fui/components/Notice/index.d.ts +1 -0
  92. package/dist/types/fui/components/TextInput/TextInput.d.ts +5 -0
  93. package/dist/types/fui/components/TextInput/TextInput.stories.d.ts +6 -0
  94. package/dist/types/fui/components/TextInput/TextInput.test.d.ts +1 -0
  95. package/dist/types/fui/components/TextInput/TextInput.types.d.ts +31 -0
  96. package/dist/types/fui/components/TextInput/index.d.ts +1 -0
  97. package/dist/types/fui/components/index.d.ts +15 -0
  98. package/dist/types/fui/context/ThemeContext.d.ts +18 -0
  99. package/dist/types/fui/index.d.ts +1 -0
  100. package/dist/types/fui/setupTests.d.ts +1 -0
  101. package/dist/types/fui/stories/Header.d.ts +11 -0
  102. package/dist/types/fui/stories/Header.stories.d.ts +8 -0
  103. package/dist/types/fui/stories/Page.d.ts +2 -0
  104. package/dist/types/fui/stories/Page.stories.d.ts +8 -0
  105. package/package.json +2 -4
@@ -1,2 +1,2 @@
1
- [multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}@media (forced-colors:active) {[type=checkbox]:checked{-webkit-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}@media (forced-colors:active) {[type=radio]:checked{-webkit-appearance:auto;appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}@media (forced-colors:active) {[type=checkbox]:indeterminate{-webkit-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}body{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(16 35 59/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));font-family:ProximaNova-Regular,serif}:is(.dark body){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(16 35 59/var(--tw-bg-opacity));color:rgb(238 238 238/var(--tw-text-opacity))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:480px){.container{max-width:480px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:976px){.container{max-width:976px}}@media (min-width:1440px){.container{max-width:1440px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.relative{position:relative}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-bottom:0;margin-top:0}.-ml-1{margin-left:-.25rem}.mb-3{margin-bottom:.75rem}.mr-3{margin-right:.75rem}.mt-6{margin-top:1.5rem}.inline{display:inline}.flex{display:flex}.list-item{display:list-item}.h-10{height:2.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-5xl{max-width:64rem}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.auto-cols-auto{grid-auto-columns:auto}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-around{justify-content:space-around}.gap-2{gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.divide-x-2>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-left-width:calc(2px*(1 - var(--tw-divide-x-reverse)));border-right-width:calc(2px*var(--tw-divide-x-reverse))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-solid{border-style:solid}.border-dark-body-text{--tw-border-opacity:1;border-color:rgb(238 238 238/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(0 47 108/var(--tw-border-opacity))}.border-primary-darker{--tw-border-opacity:1;border-color:rgb(0 42 97/var(--tw-border-opacity))}.border-secondary{--tw-border-opacity:1;border-color:rgb(252 183 0/var(--tw-border-opacity))}.border-secondary-darker{--tw-border-opacity:1;border-color:rgb(227 165 0/var(--tw-border-opacity))}.border-tertiary{--tw-border-opacity:1;border-color:rgb(42 61 130/var(--tw-border-opacity))}.border-tertiary-darker{--tw-border-opacity:1;border-color:rgb(38 55 117/var(--tw-border-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(0 47 108/var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity:1;background-color:rgb(252 183 0/var(--tw-bg-opacity))}.bg-tertiary{--tw-bg-opacity:1;background-color:rgb(42 61 130/var(--tw-bg-opacity))}.bg-transparent{background-color:initial}.p-0{padding:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-bottom:0;padding-top:0}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-24{padding-bottom:6rem;padding-top:6rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-40{padding-bottom:10rem;padding-top:10rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.font-heading{font-family:ProximaNova-Bold,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-black{color:rgb(0 0 0/var(--tw-text-opacity))}.text-black,.text-white{--tw-text-opacity:1}.text-white{color:rgb(255 255 255/var(--tw-text-opacity))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\!outline{outline-style:solid!important}.outline{outline-style:solid}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.hover\:border-primary-darker:hover{--tw-border-opacity:1;border-color:rgb(0 42 97/var(--tw-border-opacity))}.hover\:border-secondary-darker:hover{--tw-border-opacity:1;border-color:rgb(227 165 0/var(--tw-border-opacity))}.hover\:border-tertiary-darker:hover{--tw-border-opacity:1;border-color:rgb(38 55 117/var(--tw-border-opacity))}.hover\:bg-primary-darker:hover{--tw-bg-opacity:1;background-color:rgb(0 42 97/var(--tw-bg-opacity))}.hover\:bg-secondary-darker:hover{--tw-bg-opacity:1;background-color:rgb(227 165 0/var(--tw-bg-opacity))}.hover\:bg-tertiary-darker:hover{--tw-bg-opacity:1;background-color:rgb(38 55 117/var(--tw-bg-opacity))}.active\:scale-95:active{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:is(.dark .dark\:border-dark-body-text){--tw-border-opacity:1;border-color:rgb(238 238 238/var(--tw-border-opacity))}
1
+ [multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}@media (forced-colors:active) {[type=checkbox]:checked{-webkit-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}@media (forced-colors:active) {[type=radio]:checked{-webkit-appearance:auto;appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%}@media (forced-colors:active) {[type=checkbox]:indeterminate{-webkit-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}body{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(16 35 59/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));font-family:ProximaNova-Regular,serif}:is(.dark body){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(16 35 59/var(--tw-bg-opacity));color:rgb(238 238 238/var(--tw-text-opacity))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:480px){.container{max-width:480px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:976px){.container{max-width:976px}}@media (min-width:1440px){.container{max-width:1440px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.left-2{left:.5rem}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-bottom:0;margin-top:0}.-ml-1{margin-left:-.25rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-40{margin-bottom:10rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.mr-3{margin-right:.75rem}.mt-6{margin-top:1.5rem}.box-border{box-sizing:border-box}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.list-item{display:list-item}.hidden{display:none}.h-10{height:2.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-5xl{max-width:64rem}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.auto-cols-auto{grid-auto-columns:auto}.auto-rows-min{grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-2{gap:.5rem}.gap-x-4{column-gap:1rem}.gap-y-0{row-gap:0}.gap-y-16{row-gap:4rem}.gap-y-2{row-gap:.5rem}.gap-y-24{row-gap:6rem}.gap-y-4{row-gap:1rem}.gap-y-40{row-gap:10rem}.gap-y-8{row-gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.divide-x-2>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-left-width:calc(2px*(1 - var(--tw-divide-x-reverse)));border-right-width:calc(2px*var(--tw-divide-x-reverse))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-solid{border-style:solid}.border-dark-body-text{--tw-border-opacity:1;border-color:rgb(238 238 238/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(0 47 108/var(--tw-border-opacity))}.border-primary-darker{--tw-border-opacity:1;border-color:rgb(0 42 97/var(--tw-border-opacity))}.border-secondary{--tw-border-opacity:1;border-color:rgb(252 183 0/var(--tw-border-opacity))}.border-secondary-darker{--tw-border-opacity:1;border-color:rgb(227 165 0/var(--tw-border-opacity))}.border-tertiary{--tw-border-opacity:1;border-color:rgb(42 61 130/var(--tw-border-opacity))}.border-tertiary-darker{--tw-border-opacity:1;border-color:rgb(38 55 117/var(--tw-border-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(0 47 108/var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity:1;background-color:rgb(252 183 0/var(--tw-bg-opacity))}.bg-tertiary{--tw-bg-opacity:1;background-color:rgb(42 61 130/var(--tw-bg-opacity))}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-0{padding:0}.p-2{padding:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-bottom:0;padding-top:0}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-24{padding-bottom:6rem;padding-top:6rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-40{padding-bottom:10rem;padding-top:10rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-6{padding-top:1.5rem}.font-heading{font-family:ProximaNova-Bold,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-black{color:rgb(0 0 0/var(--tw-text-opacity))}.text-black,.text-white{--tw-text-opacity:1}.text-white{color:rgb(255 255 255/var(--tw-text-opacity))}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.\!outline{outline-style:solid!important}.outline{outline-style:solid}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.hover\:border-primary-darker:hover{--tw-border-opacity:1;border-color:rgb(0 42 97/var(--tw-border-opacity))}.hover\:border-secondary-darker:hover{--tw-border-opacity:1;border-color:rgb(227 165 0/var(--tw-border-opacity))}.hover\:border-tertiary-darker:hover{--tw-border-opacity:1;border-color:rgb(38 55 117/var(--tw-border-opacity))}.hover\:bg-primary-darker:hover{--tw-bg-opacity:1;background-color:rgb(0 42 97/var(--tw-bg-opacity))}.hover\:bg-secondary-darker:hover{--tw-bg-opacity:1;background-color:rgb(227 165 0/var(--tw-bg-opacity))}.hover\:bg-tertiary-darker:hover{--tw-bg-opacity:1;background-color:rgb(38 55 117/var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.active\:scale-95:active{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[invalid\=true\]\:bg-error[data-invalid=true]{--tw-bg-opacity:1;background-color:rgb(248 114 114/var(--tw-bg-opacity))}.data-\[valid\]\:bg-success[data-valid]{--tw-bg-opacity:1;background-color:rgb(54 211 153/var(--tw-bg-opacity))}.radix-disabled\:opacity-50[data-disabled]{opacity:.5}:is(.dark .dark\:border-dark-body-text){--tw-border-opacity:1;border-color:rgb(238 238 238/var(--tw-border-opacity))}
2
2
  @font-face{font-display:swap;font-family:ProximaNova-Regular;font-style:normal;font-weight:400;src:url(https://cdn.tools.4alldigital.io/fonts/ProximaNovaReg.woff2) format("woff2"),url(https://cdn.tools.4alldigital.io/fonts/ProximaNovaReg.woff) format("woff")}@font-face{font-display:swap;font-family:ProximaNova-Bold;font-style:normal;font-weight:700;src:url(https://cdn.tools.4alldigital.io/fonts/ProximaNovaBold.woff2) format("woff2"),url(https://cdn.tools.4alldigital.io/fonts/ProximaNovaBold.woff) format("woff")}
package/dist/index.esm.js CHANGED
@@ -3,16 +3,33 @@ import cx from 'classnames';
3
3
  import { Icon as Icon$1 } from '@iconify/react';
4
4
 
5
5
  var Blockquote = function (_a) {
6
- var text = _a.text, citation = _a.citation, className = _a.className, citationAttribute = _a.citationAttribute, showIcon = _a.showIcon;
6
+ var text = _a.text, citation = _a.citation, className = _a.className, citationAttribute = _a.citationAttribute, _b = _a.showIcon, showIcon = _b === void 0 ? true : _b;
7
7
  var classes = cx('text-xl italic font-bold', className);
8
8
  return (jsxs("blockquote", { "data-testid": "Blockquote", className: classes, children: [showIcon && jsx("svg", { "aria-hidden": "true", className: "w-10 h-10", viewBox: "0 0 24 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M14.017 18L14.017 10.609C14.017 4.905 17.748 1.039 23 0L23.995 2.151C21.563 3.068 20 5.789 20 8H24V18H14.017ZM0 18V10.609C0 4.905 3.748 1.038 9 0L9.996 2.151C7.563 3.068 6 5.789 6 8H9.983L9.983 18L0 18Z", fill: "currentColor" }) }), jsx("div", { children: text }), citation && (jsx("figcaption", { className: "flex flex-start items-center mt-6 space-x-3", children: jsxs("div", { className: "flex items-center divide-x-2", children: [jsx("cite", { className: "pr-3 font-medium", children: citation }), citationAttribute && jsx("cite", { className: "pl-3 text-sm font-light", children: citationAttribute })] }) }))] }));
9
9
  };
10
- Blockquote.defaultProps = {
11
- showIcon: true,
12
- };
10
+ Blockquote.displayName = 'Blockquote';
11
+
12
+ var BTN_TYPES;
13
+ (function (BTN_TYPES) {
14
+ BTN_TYPES["SUBMIT"] = "submit";
15
+ BTN_TYPES["RESET"] = "reset";
16
+ BTN_TYPES["BUTTON"] = "button";
17
+ })(BTN_TYPES || (BTN_TYPES = {}));
18
+ var BTN_VARIANTS;
19
+ (function (BTN_VARIANTS) {
20
+ BTN_VARIANTS["PRIMARY"] = "primary";
21
+ BTN_VARIANTS["SECONDARY"] = "secondary";
22
+ BTN_VARIANTS["TERTIARY"] = "tertiary";
23
+ })(BTN_VARIANTS || (BTN_VARIANTS = {}));
24
+ var BTN_SIZES;
25
+ (function (BTN_SIZES) {
26
+ BTN_SIZES["SMALL"] = "small";
27
+ BTN_SIZES["MEDIUM"] = "medium";
28
+ BTN_SIZES["LARGE"] = "large";
29
+ })(BTN_SIZES || (BTN_SIZES = {}));
13
30
 
14
31
  var Button = function (_a) {
15
- var variant = _a.variant, size = _a.size, uppercase = _a.uppercase, children = _a.children, id = _a.id, type = _a.type, disabled = _a.disabled, ariaLabel = _a.ariaLabel, onClick = _a.onClick, icon = _a.icon, external = _a.external, iconFirst = _a.iconFirst, raised = _a.raised, outline = _a.outline, wide = _a.wide, rounded = _a.rounded, testID = _a.testID;
32
+ var _b = _a.variant, variant = _b === void 0 ? BTN_VARIANTS.PRIMARY : _b, _c = _a.size, size = _c === void 0 ? BTN_SIZES.MEDIUM : _c, _d = _a.type, type = _d === void 0 ? BTN_TYPES.BUTTON : _d, _e = _a.wide, wide = _e === void 0 ? true : _e, _f = _a.rounded, rounded = _f === void 0 ? true : _f, _g = _a.raised, raised = _g === void 0 ? true : _g, uppercase = _a.uppercase, children = _a.children, id = _a.id, disabled = _a.disabled, ariaLabel = _a.ariaLabel, onClick = _a.onClick, icon = _a.icon, external = _a.external, iconFirst = _a.iconFirst, outline = _a.outline, testID = _a.testID, className = _a.className;
16
33
  var smallX = wide ? 'px-5' : 'px-3';
17
34
  var mediumX = wide ? 'px-8' : 'px-4';
18
35
  var largeX = wide ? 'px-11' : 'px-5';
@@ -36,69 +53,59 @@ var Button = function (_a) {
36
53
  y: 'py-3',
37
54
  space: 'space-x-4',
38
55
  text: 'text-lg',
39
- icon: 'w-6 h-6'
56
+ icon: 'w-6 h-6',
40
57
  },
41
58
  };
42
- var classes = cx('font-bold flex items-center transition-all duration-200 transform active:scale-95 justify-around border-solid border rounded', { 'text-white border-primary hover:bg-primary-darker hover:border-primary-darker': variant === 'primary' }, { 'text-white border-secondary hover:bg-secondary-darker hover:border-secondary-darker': variant === 'secondary' }, { 'text-black border-tertiary hover:bg-tertiary-darker hover:border-tertiary-darker': variant === 'tertiary' }, { 'bg-primary': variant === 'primary' && !outline }, { 'bg-secondary': variant === 'secondary' && !outline }, { 'bg-tertiary': variant === 'tertiary' && !outline }, { 'bg-transparent': outline }, { shadow: raised }, { uppercase: uppercase }, { 'auto-cols-auto grid-cols-2 gap-2': icon || external }, { 'rounded-full': rounded }, { 'flex-row-reverse': iconFirst }, "".concat(sizes[size].y, " ").concat(sizes[size].x, " ").concat(sizes[size].text));
59
+ var classes = cx('font-bold flex items-center transition-all duration-200 transform active:scale-95 justify-around border-solid border rounded', { 'text-white border-primary hover:bg-primary-darker hover:border-primary-darker': variant === 'primary' }, { 'text-white border-secondary hover:bg-secondary-darker hover:border-secondary-darker': variant === 'secondary' }, { 'text-black border-tertiary hover:bg-tertiary-darker hover:border-tertiary-darker': variant === 'tertiary' }, { 'bg-primary': variant === 'primary' && !outline }, { 'bg-secondary': variant === 'secondary' && !outline }, { 'bg-tertiary': variant === 'tertiary' && !outline }, { 'bg-transparent': outline }, { shadow: raised }, { uppercase: uppercase }, { 'auto-cols-auto grid-cols-2 gap-2': icon || external }, { 'rounded-full': rounded }, { 'flex-row-reverse': iconFirst }, "".concat(sizes[size].y, " ").concat(sizes[size].x, " ").concat(sizes[size].text), className);
43
60
  var iconClasses = cx(sizes[size].icon);
44
- return (jsx("button", { id: id, "data-testid": testID || id || "Button", onClick: onClick, className: classes, type: type, disabled: disabled, "aria-label": ariaLabel, role: "button", children: jsxs(Fragment, { children: [children, icon && !external && (jsx("span", { className: "flex items-center", children: jsx(Icon$1, { icon: icon, className: iconClasses }) })), external && (jsx("span", { className: "flex items-center", children: jsx(Icon$1, { icon: "carbon:launch", className: iconClasses }) }))] }) }));
45
- };
46
- Button.defaultProps = {
47
- variant: 'primary',
48
- size: 'medium',
49
- type: 'button',
50
- raised: true,
51
- wide: true,
52
- rounded: true,
61
+ return (jsx("button", { id: id, "data-testid": testID || id || 'Button', onClick: onClick, className: classes, type: type, disabled: disabled, "aria-label": ariaLabel, role: "button", children: jsxs(Fragment, { children: [children, icon && !external && (jsx("span", { className: "flex items-center", children: jsx(Icon$1, { icon: icon, className: iconClasses }) })), external && (jsx("span", { className: "flex items-center", children: jsx(Icon$1, { icon: "carbon:launch", className: iconClasses }) }))] }) }));
53
62
  };
63
+ Button.displayName = 'Button';
54
64
 
55
- var Align;
56
- (function (Align) {
57
- Align["LEFT"] = "left";
58
- Align["CENTER"] = "center";
59
- Align["RIGHT"] = "right";
60
- Align["JUSTIFY"] = "justify";
61
- Align["NOWRAP"] = "nowrap";
62
- })(Align || (Align = {}));
63
- var Transform;
64
- (function (Transform) {
65
- Transform["LOWERCASE"] = "lowercase";
66
- Transform["UPPERCASE"] = "uppercase";
67
- Transform["CAPITALIZE"] = "capitalize";
68
- Transform["NORMALCASE"] = "normal-case";
69
- })(Transform || (Transform = {}));
70
- var Contextual;
71
- (function (Contextual) {
72
- Contextual["INVERTED"] = "inverted";
73
- Contextual["MUTED"] = "muted";
74
- })(Contextual || (Contextual = {}));
75
- var Size;
76
- (function (Size) {
77
- Size["SMALL"] = "small";
78
- Size["LARGE"] = "large";
79
- Size["INTRO"] = "intro";
80
- })(Size || (Size = {}));
81
- var Tag;
82
- (function (Tag) {
83
- Tag["P"] = "p";
84
- Tag["DIV"] = "div";
85
- Tag["SMALL"] = "small";
86
- })(Tag || (Tag = {}));
65
+ var ALIGN;
66
+ (function (ALIGN) {
67
+ ALIGN["LEFT"] = "left";
68
+ ALIGN["CENTER"] = "center";
69
+ ALIGN["RIGHT"] = "right";
70
+ ALIGN["JUSTIFY"] = "justify";
71
+ ALIGN["NOWRAP"] = "nowrap";
72
+ })(ALIGN || (ALIGN = {}));
73
+ var TRANSFORM;
74
+ (function (TRANSFORM) {
75
+ TRANSFORM["LOWERCASE"] = "lowercase";
76
+ TRANSFORM["UPPERCASE"] = "uppercase";
77
+ TRANSFORM["CAPITALIZE"] = "capitalize";
78
+ TRANSFORM["NORMALCASE"] = "normal-case";
79
+ })(TRANSFORM || (TRANSFORM = {}));
80
+ var CONTEXTUAL;
81
+ (function (CONTEXTUAL) {
82
+ CONTEXTUAL["INVERTED"] = "inverted";
83
+ CONTEXTUAL["MUTED"] = "muted";
84
+ })(CONTEXTUAL || (CONTEXTUAL = {}));
85
+ var SIZE$1;
86
+ (function (SIZE) {
87
+ SIZE["SMALL"] = "small";
88
+ SIZE["LARGE"] = "large";
89
+ SIZE["INTRO"] = "intro";
90
+ })(SIZE$1 || (SIZE$1 = {}));
91
+ var TAG;
92
+ (function (TAG) {
93
+ TAG["P"] = "p";
94
+ TAG["SPAN"] = "span";
95
+ TAG["DIV"] = "div";
96
+ TAG["SMALL"] = "small";
97
+ })(TAG || (TAG = {}));
87
98
 
88
99
  var Copy = function (_a) {
89
100
  var _b;
90
- var children = _a.children, Tag = _a.tag, size = _a.size, align = _a.align, transform = _a.transform, id = _a.id, testID = _a.testID;
101
+ var children = _a.children, _c = _a.as, Tag = _c === void 0 ? TAG.P : _c, size = _a.size, _d = _a.align, align = _d === void 0 ? ALIGN.LEFT : _d, transform = _a.transform, id = _a.id, testID = _a.testID;
91
102
  var classes = cx((_b = {}, _b["text-".concat(align)] = align, _b), { 'text-sm': size === 'small' }, { 'text-lg': size === 'large' }, { 'text-2xl': size === 'intro' }, { 'mb-3 leading-5': Tag === 'p' }, { 'text-sm': Tag === 'small' }, 'body-text', transform);
92
- return jsx(Tag, { "data-testid": testID || id || "Copy", className: classes, children: children });
93
- };
94
- Copy.defaultProps = {
95
- inverted: false,
96
- maxLength: false,
97
- tag: Tag.DIV,
98
- align: Align.LEFT,
103
+ return (jsx(Tag, { "data-testid": testID || id || 'Copy', className: classes, children: children }));
99
104
  };
105
+ Copy.displayName = 'Copy';
100
106
 
101
107
  var Hr = function () { return (jsx("hr", { className: cx('border-0 border-b border-dark-body-text dark:border-dark-body-text') })); };
108
+ Hr.displayName = 'Hr';
102
109
 
103
110
  var HeadingTag;
104
111
  (function (HeadingTag) {
@@ -126,7 +133,7 @@ var HeadingTransform;
126
133
 
127
134
  var Heading = function (_a) {
128
135
  var _b;
129
- var children = _a.children, tag = _a.tag, transform = _a.transform, align = _a.align, id = _a.id, testID = _a.testID, flush = _a.flush, className = _a.className;
136
+ var children = _a.children, _c = _a.tag, tag = _c === void 0 ? HeadingTag.H1 : _c, transform = _a.transform, align = _a.align, id = _a.id, testID = _a.testID, flush = _a.flush, className = _a.className;
130
137
  var fontSize = function () {
131
138
  switch (tag) {
132
139
  case 'h1':
@@ -148,29 +155,25 @@ var Heading = function (_a) {
148
155
  var classes = cx("font-heading font-bold ".concat(size), (_b = {}, _b["text-".concat(align)] = align, _b), { 'm-0': flush }, transform, className);
149
156
  return (jsx(Tag, { "data-testid": testID || id || 'Heading', className: classes, children: children }));
150
157
  };
151
- Heading.defaultProps = {
152
- tag: HeadingTag.H1,
153
- };
158
+ Heading.displayName = 'Heading';
154
159
 
155
160
  /**
156
161
  * Icon component
157
162
  * List of supported icons can be found at https://icon-sets.iconify.design.
158
163
  */
159
164
  var Icon = function (_a) {
160
- var name = _a.name, size = _a.size, color = _a.color, id = _a.id, testID = _a.testID;
165
+ var name = _a.name, _b = _a.size, size = _b === void 0 ? 24 : _b, color = _a.color, id = _a.id, testID = _a.testID;
161
166
  if (color) {
162
167
  return jsx(Icon$1, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, color: color });
163
168
  }
164
169
  return jsx(Icon$1, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, className: cx('fill-current') });
165
170
  };
166
- Icon.defaultProps = {
167
- size: 24,
168
- };
171
+ Icon.displayName = 'Icon';
169
172
 
170
173
  var Image = function (_a) {
171
- var src = _a.src, alt = _a.alt, title = _a.title, caption = _a.caption, figure = _a.figure, onLoad = _a.onLoad, id = _a.id, testID = _a.testID;
174
+ var src = _a.src, alt = _a.alt, title = _a.title, caption = _a.caption, _b = _a.figure, figure = _b === void 0 ? false : _b, onLoad = _a.onLoad, id = _a.id, className = _a.className, testID = _a.testID;
172
175
  var figureClasses = cx('m-0');
173
- var classes = cx('w-full h-auto');
176
+ var classes = cx('w-full h-auto', className);
174
177
  /**
175
178
  * Render as a figure.
176
179
  */
@@ -182,9 +185,10 @@ var Image = function (_a) {
182
185
  */
183
186
  return jsx("img", { "data-testid": testID || id || "Image", onLoad: onLoad, src: src, alt: alt, title: title, className: classes });
184
187
  };
188
+ Image.displayName = 'Image';
185
189
 
186
190
  var Link = function (_a) {
187
- var href = _a.href, children = _a.children, onClick = _a.onClick, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID;
191
+ var href = _a.href, children = _a.children, _b = _a.onClick, onClick = _b === void 0 ? function () { return console.log('Link clicked'); } : _b, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID, className = _a.className;
188
192
  var handleClick = function (event) {
189
193
  if (onClick) {
190
194
  onClick(event);
@@ -198,15 +202,10 @@ var Link = function (_a) {
198
202
  history.push(href);
199
203
  }
200
204
  };
201
- var classes = cx('link');
202
- return (jsx("a", { "data-testid": testID || id || "Link", className: classes, href: href, onClick: handleClick, target: target, children: children }));
203
- };
204
- Link.defaultProps = {
205
- href: undefined,
206
- onClick: function () { return console.log('Link clicked'); },
207
- history: undefined,
208
- target: undefined,
205
+ var classes = cx('link', className);
206
+ return (jsx("a", { "data-testid": testID || id || 'Link', className: classes, href: href, onClick: handleClick, target: target, children: children }));
209
207
  };
208
+ Link.displayName = 'Link';
210
209
 
211
210
  var Variants;
212
211
  (function (Variants) {
@@ -227,50 +226,73 @@ var ListTag;
227
226
  })(ListTag || (ListTag = {}));
228
227
 
229
228
  var List = function (_a) {
230
- var variants = _a.variants, children = _a.children, as = _a.as, id = _a.id, testID = _a.testID;
231
- var modifiers = variants
232
- ? variants.map(function (el) { return "list--".concat(el); })
233
- : null;
229
+ var variants = _a.variants, children = _a.children, _b = _a.as, as = _b === void 0 ? ListTag.UL : _b, id = _a.id, testID = _a.testID, className = _a.className;
230
+ var modifiers = variants ? variants.map(function (el) { return "list--".concat(el); }) : null;
234
231
  var Tag = as;
235
- return jsx(Tag, { "data-testid": testID || id || "List", className: cx(modifiers), children: children });
236
- };
237
- List.defaultProps = {
238
- as: ListTag.UL,
232
+ return (jsx(Tag, { "data-testid": testID || id || 'List', className: cx(modifiers, className), children: children }));
239
233
  };
234
+ List.displayName = 'List';
240
235
 
241
236
  var ListItem = function (_a) {
242
- var children = _a.children, Tag = _a.as, id = _a.id, testID = _a.testID;
243
- return jsx(Tag, { "data-testid": testID || id || "ListItem", className: cx('list-item'), children: children });
244
- };
245
- ListItem.defaultProps = {
246
- as: 'li',
237
+ var children = _a.children, _b = _a.as, Tag = _b === void 0 ? 'li' : _b, id = _a.id, testID = _a.testID, className = _a.className;
238
+ return (jsx(Tag, { "data-testid": testID || id || 'ListItem', className: cx('list-item', className), children: children }));
247
239
  };
240
+ ListItem.displayName = 'ListItem';
248
241
 
249
242
  var Notice = function (_a) {
250
- var foo = _a.foo, id = _a.id, testID = _a.testID;
251
- return (jsx("div", { "data-testid": testID || id || "Notice", className: "foo-bar", children: foo }));
243
+ var _b = _a.foo, foo = _b === void 0 ? 'bar' : _b, id = _a.id, testID = _a.testID;
244
+ return (jsx("div", { "data-testid": testID || id || 'Notice', className: "foo-bar", children: foo }));
252
245
  };
246
+ Notice.displayName = 'Notice';
253
247
 
254
248
  var Loader = function (_a) {
255
- var size = _a.size;
249
+ var _b = _a.size, size = _b === void 0 ? 8 : _b;
256
250
  var sizeClass = size ? "w-".concat(size, " h-").concat(size) : 'w-8 h-8';
257
251
  return (jsx("div", { "data-testid": "Loader", children: jsxs("div", { role: "status", children: [jsxs("svg", { className: "animate-spin -ml-1 mr-3 ".concat(sizeClass, " text-white"), xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), jsx("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })] }), jsx("span", { className: "sr-only", children: "Loading..." })] }) }));
258
252
  };
259
- Loader.defaultProps = {
260
- size: 8,
261
- };
253
+ Loader.displayName = 'Loader';
262
254
 
263
255
  var Container = function (_a) {
264
- var children = _a.children, className = _a.className, spacing = _a.spacing;
265
- var classes = cx('container', 'mx-auto', 'my-0', 'px-4', { 'py-40': spacing === 'feature' }, { 'py-24': spacing === 'component' }, { 'py-16': spacing === 'module' }, { 'py-10': spacing === 'element' }, { 'py-4': spacing === 'atom' }, { 'py-0': spacing === 'none' }, className);
256
+ var children = _a.children, className = _a.className, spacing = _a.spacing, padded = _a.padded;
257
+ var classes = cx('container', 'mx-auto', 'my-0', { 'px-4': padded }, { 'py-40': spacing === 'feature' }, { 'py-24': spacing === 'component' }, { 'py-16': spacing === 'module' }, { 'py-10': spacing === 'element' }, { 'py-4': spacing === 'atom' }, { 'py-0': spacing === 'none' }, className);
266
258
  return (jsx("div", { "data-testid": "Container", className: classes, children: children }));
267
259
  };
268
- Container.defaultProps = {};
260
+ Container.displayName = 'Container';
261
+
262
+ var SPACING;
263
+ (function (SPACING) {
264
+ SPACING["NONE"] = "none";
265
+ SPACING["ATOM"] = "atom";
266
+ SPACING["DEFAULT"] = "default";
267
+ SPACING["ELEMENT"] = "element";
268
+ SPACING["COMPONENT"] = "component";
269
+ SPACING["MODULE"] = "module";
270
+ SPACING["FEATURE"] = "feature";
271
+ })(SPACING || (SPACING = {}));
269
272
 
270
273
  var ContentPageLayout = function (_a) {
271
- var children = _a.children, spacing = _a.spacing, narrow = _a.narrow, flush = _a.flush, className = _a.className;
274
+ var _b = _a.spacing, spacing = _b === void 0 ? SPACING.DEFAULT : _b, children = _a.children, narrow = _a.narrow, flush = _a.flush, className = _a.className;
272
275
  var classes = cx('flex', 'flex-col', 'flex-1', 'relative', { 'py-40': spacing === 'feature' }, { 'py-24': spacing === 'component' }, { 'py-16': spacing === 'module' }, { 'py-10': spacing === 'element' }, { 'py-8': spacing === 'default' }, { 'py-4': spacing === 'atom' }, { 'py-0': spacing === 'none' }, { 'max-w-5xl': narrow }, { 'p-0': flush }, className);
273
276
  return (jsx("div", { "data-testid": "ContentPageLayout", className: classes, children: children }));
274
277
  };
278
+ ContentPageLayout.displayName = 'ContentPageLayout';
279
+
280
+ var SIZE;
281
+ (function (SIZE) {
282
+ SIZE["NONE"] = "none";
283
+ SIZE["ATOM"] = "atom";
284
+ SIZE["DEFAULT"] = "default";
285
+ SIZE["ELEMENT"] = "element";
286
+ SIZE["COMPONENT"] = "component";
287
+ SIZE["MODULE"] = "module";
288
+ SIZE["FEATURE"] = "feature";
289
+ })(SIZE || (SIZE = {}));
290
+
291
+ var ContentRowsLayout = function (_a) {
292
+ var className = _a.className, children = _a.children, _b = _a.size, size = _b === void 0 ? SIZE.DEFAULT : _b;
293
+ var classes = cx('grid', 'auto-rows-min', 'grid-cols-1', 'gap-x-4', { 'gap-y-0 mb-0': size === 'none' }, { 'gap-y-2 mb-2': size === 'atom' }, { 'gap-y-4 mb-4': size === 'default' }, { 'gap-y-8 mb-8': size === 'element' }, { 'gap-y-16 mb-16': size === 'module' }, { 'gap-y-24 mb-24': size === 'component' }, { 'gap-y-40 mb-40': size === 'feature' }, className);
294
+ return (jsx("div", { "data-testid": "ContentRowsLayout", className: classes, children: children }));
295
+ };
296
+ ContentRowsLayout.displayName = 'ContentRowsLayout';
275
297
 
276
- export { Blockquote, Button, Container, ContentPageLayout, Copy, Heading, Hr, Icon, Image, Link, List, ListItem, Loader, Notice };
298
+ export { Blockquote, Button, Container, ContentPageLayout, ContentRowsLayout, Copy, Heading, Hr, Icon, Image, Link, List, ListItem, Loader, Notice };