@4alldigital/foundation-ui--gamma 1.21.2 → 1.22.1

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 (85) hide show
  1. package/dist/foundation-ui.css +1 -1
  2. package/dist/index.esm.js +177 -13
  3. package/dist/index.js +184 -10
  4. package/dist/types/fui/components/Blockquote/Blockquote.d.ts +8 -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 +6 -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 +20 -0
  13. package/dist/types/fui/components/Button/index.d.ts +1 -0
  14. package/dist/types/fui/components/Container/Container.d.ts +6 -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 +6 -0
  18. package/dist/types/fui/components/Container/index.d.ts +1 -0
  19. package/dist/types/fui/components/ContentPageLayout/ContentPageLayout.d.ts +3 -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 +8 -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 +11 -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 +40 -0
  33. package/dist/types/fui/components/Copy/index.d.ts +1 -0
  34. package/dist/types/fui/components/Heading/Heading.d.ts +8 -0
  35. package/dist/types/fui/components/Heading/Heading.stories.d.ts +7 -0
  36. package/dist/types/fui/components/Heading/Heading.test.d.ts +1 -0
  37. package/dist/types/fui/components/Heading/Heading.types.d.ts +31 -0
  38. package/dist/types/fui/components/Heading/index.d.ts +1 -0
  39. package/dist/types/fui/components/Hr/Hr.d.ts +2 -0
  40. package/dist/types/fui/components/Hr/Hr.stories.d.ts +6 -0
  41. package/dist/types/fui/components/Hr/Hr.test.d.ts +1 -0
  42. package/dist/types/fui/components/Hr/index.d.ts +1 -0
  43. package/dist/types/fui/components/Icon/Icon.d.ts +12 -0
  44. package/dist/types/fui/components/Icon/Icon.stories.d.ts +6 -0
  45. package/dist/types/fui/components/Icon/Icon.test.d.ts +1 -0
  46. package/dist/types/fui/components/Icon/Icon.types.d.ts +7 -0
  47. package/dist/types/fui/components/Icon/index.d.ts +1 -0
  48. package/dist/types/fui/components/Image/Image.d.ts +3 -0
  49. package/dist/types/fui/components/Image/Image.stories.d.ts +6 -0
  50. package/dist/types/fui/components/Image/Image.test.d.ts +1 -0
  51. package/dist/types/fui/components/Image/Image.types.d.ts +16 -0
  52. package/dist/types/fui/components/Image/index.d.ts +1 -0
  53. package/dist/types/fui/components/Link/Link.d.ts +11 -0
  54. package/dist/types/fui/components/Link/Link.stories.d.ts +6 -0
  55. package/dist/types/fui/components/Link/Link.test.d.ts +1 -0
  56. package/dist/types/fui/components/Link/Link.types.d.ts +12 -0
  57. package/dist/types/fui/components/Link/index.d.ts +1 -0
  58. package/dist/types/fui/components/List/List.d.ts +8 -0
  59. package/dist/types/fui/components/List/List.stories.d.ts +6 -0
  60. package/dist/types/fui/components/List/List.test.d.ts +1 -0
  61. package/dist/types/fui/components/List/List.types.d.ts +24 -0
  62. package/dist/types/fui/components/List/index.d.ts +1 -0
  63. package/dist/types/fui/components/ListItem/ListItem.d.ts +8 -0
  64. package/dist/types/fui/components/ListItem/ListItem.test.d.ts +1 -0
  65. package/dist/types/fui/components/ListItem/ListItem.types.d.ts +7 -0
  66. package/dist/types/fui/components/ListItem/index.d.ts +1 -0
  67. package/dist/types/fui/components/Loader/Loader.d.ts +8 -0
  68. package/dist/types/fui/components/Loader/Loader.stories.d.ts +6 -0
  69. package/dist/types/fui/components/Loader/Loader.test.d.ts +1 -0
  70. package/dist/types/fui/components/Loader/Loader.types.d.ts +4 -0
  71. package/dist/types/fui/components/Loader/index.d.ts +1 -0
  72. package/dist/types/fui/components/Notice/Notice.d.ts +3 -0
  73. package/dist/types/fui/components/Notice/Notice.stories.d.ts +6 -0
  74. package/dist/types/fui/components/Notice/Notice.test.d.ts +1 -0
  75. package/dist/types/fui/components/Notice/Notice.types.d.ts +5 -0
  76. package/dist/types/fui/components/Notice/index.d.ts +1 -0
  77. package/dist/types/fui/components/index.d.ts +15 -0
  78. package/dist/types/fui/context/ThemeContext.d.ts +18 -0
  79. package/dist/types/fui/index.d.ts +1 -0
  80. package/dist/types/fui/setupTests.d.ts +1 -0
  81. package/dist/types/fui/stories/Header.d.ts +11 -0
  82. package/dist/types/fui/stories/Header.stories.d.ts +8 -0
  83. package/dist/types/fui/stories/Page.d.ts +2 -0
  84. package/dist/types/fui/stories/Page.stories.d.ts +8 -0
  85. package/package.json +2 -2
@@ -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}}.m-0{margin:0}.mb-3{margin-bottom:.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-auto{height:auto}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.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))}.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}.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-background{--tw-border-opacity:1;border-color:rgb(16 35 59/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}.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-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.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}.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))}.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-body-background){--tw-border-opacity:1;border-color:rgb(16 35 59/var(--tw-border-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-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}.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-0{margin-bottom:0}.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}.mr-3{margin-right:.75rem}.mt-6{margin-top:1.5rem}.inline{display:inline}.flex{display:flex}.grid{display:grid}.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}.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}.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}.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))}
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
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import cx from 'classnames';
3
- import { Icon } from '@iconify/react';
3
+ import { Icon as Icon$1 } from '@iconify/react';
4
4
 
5
5
  var Blockquote = function (_a) {
6
6
  var text = _a.text, citation = _a.citation, className = _a.className, citationAttribute = _a.citationAttribute, showIcon = _a.showIcon;
7
7
  var classes = cx('text-xl italic font-bold', className);
8
- return (jsxs("blockquote", { "data-testid": "Blockquote", className: classes, children: [showIcon && jsx("svg", { "aria-hidden": "true", className: "w-10 h-10 text-gray-400 dark:text-gray-600", 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 divide-gray-500 dark:divide-gray-700", children: [jsx("cite", { className: "pr-3 font-medium text-gray-900 dark:text-white", children: citation }), citationAttribute && jsx("cite", { className: "pl-3 text-sm font-light text-gray-500 dark:text-gray-400", children: citationAttribute })] }) }))] }));
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
10
  Blockquote.defaultProps = {
11
11
  showIcon: true,
@@ -41,7 +41,7 @@ var Button = function (_a) {
41
41
  };
42
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));
43
43
  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, { icon: icon, className: iconClasses }) })), external && (jsx("span", { className: "flex items-center", children: jsx(Icon, { icon: "carbon:launch", className: iconClasses }) }))] }) }));
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
45
  };
46
46
  Button.defaultProps = {
47
47
  variant: 'primary',
@@ -82,14 +82,13 @@ var Tag;
82
82
  (function (Tag) {
83
83
  Tag["P"] = "p";
84
84
  Tag["DIV"] = "div";
85
+ Tag["SMALL"] = "small";
85
86
  })(Tag || (Tag = {}));
86
87
 
87
88
  var Copy = function (_a) {
88
89
  var _b;
89
90
  var children = _a.children, Tag = _a.tag, size = _a.size, align = _a.align, transform = _a.transform, id = _a.id, testID = _a.testID;
90
- if (!children)
91
- return null;
92
- var classes = cx((_b = {}, _b["text-".concat(align)] = align, _b), { 'text-sm': size === 'small' }, { 'text-lg': size === 'large' }, { 'text-2xl': size === 'intro' }, { 'mb-3': Tag === 'p' }, transform);
91
+ 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);
93
92
  return jsx(Tag, { "data-testid": testID || id || "Copy", className: classes, children: children });
94
93
  };
95
94
  Copy.defaultProps = {
@@ -99,8 +98,93 @@ Copy.defaultProps = {
99
98
  align: Align.LEFT,
100
99
  };
101
100
 
101
+ var Hr = function () { return (jsx("hr", { className: cx('border-0 border-b border-dark-body-text dark:border-dark-body-text') })); };
102
+
103
+ var HeadingTag;
104
+ (function (HeadingTag) {
105
+ HeadingTag["H1"] = "h1";
106
+ HeadingTag["H2"] = "h2";
107
+ HeadingTag["H3"] = "h3";
108
+ HeadingTag["H4"] = "h4";
109
+ HeadingTag["H5"] = "h5";
110
+ })(HeadingTag || (HeadingTag = {}));
111
+ var HeadingAlign;
112
+ (function (HeadingAlign) {
113
+ HeadingAlign["LEFT"] = "left";
114
+ HeadingAlign["CENTER"] = "center";
115
+ HeadingAlign["RIGHT"] = "right";
116
+ HeadingAlign["JUSTIFY"] = "justify";
117
+ HeadingAlign["NOWRAP"] = "nowrap";
118
+ })(HeadingAlign || (HeadingAlign = {}));
119
+ var HeadingTransform;
120
+ (function (HeadingTransform) {
121
+ HeadingTransform["LOWERCASE"] = "lowercase";
122
+ HeadingTransform["UPPERCASE"] = "uppercase";
123
+ HeadingTransform["CAPITALIZE"] = "capitalize";
124
+ HeadingTransform["NORMAL_CASE"] = "normal-case";
125
+ })(HeadingTransform || (HeadingTransform = {}));
126
+
127
+ var Heading = function (_a) {
128
+ 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;
130
+ var fontSize = function () {
131
+ switch (tag) {
132
+ case 'h1':
133
+ return 'text-5xl';
134
+ case 'h2':
135
+ return 'text-4xl';
136
+ case 'h3':
137
+ return 'text-3xl';
138
+ case 'h4':
139
+ return 'text-2xl';
140
+ case 'h5':
141
+ return 'text-xl';
142
+ default:
143
+ return 'text-2xl';
144
+ }
145
+ };
146
+ var size = fontSize();
147
+ var Tag = tag;
148
+ var classes = cx("font-heading font-bold ".concat(size), (_b = {}, _b["text-".concat(align)] = align, _b), { 'm-0': flush }, transform, className);
149
+ return (jsx(Tag, { "data-testid": testID || id || 'Heading', className: classes, children: children }));
150
+ };
151
+ Heading.defaultProps = {
152
+ tag: HeadingTag.H1,
153
+ };
154
+
155
+ /**
156
+ * Icon component
157
+ * List of supported icons can be found at https://icon-sets.iconify.design.
158
+ */
159
+ var Icon = function (_a) {
160
+ var name = _a.name, size = _a.size, color = _a.color, id = _a.id, testID = _a.testID;
161
+ if (color) {
162
+ return jsx(Icon$1, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, color: color });
163
+ }
164
+ return jsx(Icon$1, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, className: cx('fill-current') });
165
+ };
166
+ Icon.defaultProps = {
167
+ size: 24,
168
+ };
169
+
170
+ 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, className = _a.className, testID = _a.testID;
172
+ var figureClasses = cx('m-0');
173
+ var classes = cx('w-full h-auto', className);
174
+ /**
175
+ * Render as a figure.
176
+ */
177
+ if (figure || caption) {
178
+ return (jsxs("figure", { "data-testid": testID || id || "Image", className: figureClasses, children: [jsx("img", { onLoad: onLoad, src: src, alt: alt, title: title, className: classes }), caption && jsx("figcaption", { children: caption })] }));
179
+ }
180
+ /**
181
+ * Default render as an image.
182
+ */
183
+ return jsx("img", { "data-testid": testID || id || "Image", onLoad: onLoad, src: src, alt: alt, title: title, className: classes });
184
+ };
185
+
102
186
  var Link = function (_a) {
103
- var href = _a.href, children = _a.children, onClick = _a.onClick, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID;
187
+ var href = _a.href, children = _a.children, onClick = _a.onClick, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID, className = _a.className;
104
188
  var handleClick = function (event) {
105
189
  if (onClick) {
106
190
  onClick(event);
@@ -114,8 +198,8 @@ var Link = function (_a) {
114
198
  history.push(href);
115
199
  }
116
200
  };
117
- var classes = cx('link');
118
- return (jsx("a", { "data-testid": testID || id || "Link", className: classes, href: href, onClick: handleClick, target: target, children: children }));
201
+ var classes = cx('link', className);
202
+ return (jsx("a", { "data-testid": testID || id || 'Link', className: classes, href: href, onClick: handleClick, target: target, children: children }));
119
203
  };
120
204
  Link.defaultProps = {
121
205
  href: undefined,
@@ -124,9 +208,89 @@ Link.defaultProps = {
124
208
  target: undefined,
125
209
  };
126
210
 
127
- var Hr = function () {
128
- var classes = cx('border-0 border-b border-dark-body-background dark:border-body-background');
129
- return jsx("hr", { className: classes });
211
+ var Variants;
212
+ (function (Variants) {
213
+ Variants["UNSTYLED"] = "unstyled";
214
+ Variants["INLINE"] = "inline";
215
+ Variants["SMALL"] = "small";
216
+ Variants["LARGE"] = "large";
217
+ })(Variants || (Variants = {}));
218
+ var ListTag;
219
+ (function (ListTag) {
220
+ ListTag["OL"] = "ol";
221
+ ListTag["UL"] = "ul";
222
+ ListTag["DL"] = "dl";
223
+ ListTag["DIV"] = "div";
224
+ ListTag["DT"] = "dt";
225
+ ListTag["DD"] = "dd";
226
+ ListTag["LI"] = "li";
227
+ })(ListTag || (ListTag = {}));
228
+
229
+ 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;
234
+ 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,
239
+ };
240
+
241
+ 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',
247
+ };
248
+
249
+ 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 }));
252
+ };
253
+
254
+ var Loader = function (_a) {
255
+ var size = _a.size;
256
+ var sizeClass = size ? "w-".concat(size, " h-").concat(size) : 'w-8 h-8';
257
+ 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
+ };
259
+ Loader.defaultProps = {
260
+ size: 8,
261
+ };
262
+
263
+ 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);
266
+ return (jsx("div", { "data-testid": "Container", className: classes, children: children }));
267
+ };
268
+ Container.defaultProps = {};
269
+
270
+ var ContentPageLayout = function (_a) {
271
+ var children = _a.children, spacing = _a.spacing, narrow = _a.narrow, flush = _a.flush, className = _a.className;
272
+ 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
+ return (jsx("div", { "data-testid": "ContentPageLayout", className: classes, children: children }));
274
+ };
275
+
276
+ var SIZE;
277
+ (function (SIZE) {
278
+ SIZE["NONE"] = "none";
279
+ SIZE["ATOM"] = "atom";
280
+ SIZE["DEFAULT"] = "default";
281
+ SIZE["ELEMENT"] = "element";
282
+ SIZE["COMPONENT"] = "component";
283
+ SIZE["MODULE"] = "module";
284
+ SIZE["FEATURE"] = "feature";
285
+ })(SIZE || (SIZE = {}));
286
+
287
+ var ContentRowsLayout = function (_a) {
288
+ var className = _a.className, children = _a.children, size = _a.size;
289
+ 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);
290
+ return (jsx("div", { "data-testid": "ContentRowsLayout", className: classes, children: children }));
291
+ };
292
+ ContentRowsLayout.defaultProps = {
293
+ size: SIZE.DEFAULT,
130
294
  };
131
295
 
132
- export { Blockquote, Button, Copy, Hr, Link };
296
+ export { Blockquote, Button, Container, ContentPageLayout, ContentRowsLayout, Copy, Heading, Hr, Icon, Image, Link, List, ListItem, Loader, Notice };
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ var react = require('@iconify/react');
7
7
  var Blockquote = function (_a) {
8
8
  var text = _a.text, citation = _a.citation, className = _a.className, citationAttribute = _a.citationAttribute, showIcon = _a.showIcon;
9
9
  var classes = cx('text-xl italic font-bold', className);
10
- return (jsxRuntime.jsxs("blockquote", { "data-testid": "Blockquote", className: classes, children: [showIcon && jsxRuntime.jsx("svg", { "aria-hidden": "true", className: "w-10 h-10 text-gray-400 dark:text-gray-600", viewBox: "0 0 24 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.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" }) }), jsxRuntime.jsx("div", { children: text }), citation && (jsxRuntime.jsx("figcaption", { className: "flex flex-start items-center mt-6 space-x-3", children: jsxRuntime.jsxs("div", { className: "flex items-center divide-x-2 divide-gray-500 dark:divide-gray-700", children: [jsxRuntime.jsx("cite", { className: "pr-3 font-medium text-gray-900 dark:text-white", children: citation }), citationAttribute && jsxRuntime.jsx("cite", { className: "pl-3 text-sm font-light text-gray-500 dark:text-gray-400", children: citationAttribute })] }) }))] }));
10
+ return (jsxRuntime.jsxs("blockquote", { "data-testid": "Blockquote", className: classes, children: [showIcon && jsxRuntime.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: jsxRuntime.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" }) }), jsxRuntime.jsx("div", { children: text }), citation && (jsxRuntime.jsx("figcaption", { className: "flex flex-start items-center mt-6 space-x-3", children: jsxRuntime.jsxs("div", { className: "flex items-center divide-x-2", children: [jsxRuntime.jsx("cite", { className: "pr-3 font-medium", children: citation }), citationAttribute && jsxRuntime.jsx("cite", { className: "pl-3 text-sm font-light", children: citationAttribute })] }) }))] }));
11
11
  };
12
12
  Blockquote.defaultProps = {
13
13
  showIcon: true,
@@ -84,14 +84,13 @@ var Tag;
84
84
  (function (Tag) {
85
85
  Tag["P"] = "p";
86
86
  Tag["DIV"] = "div";
87
+ Tag["SMALL"] = "small";
87
88
  })(Tag || (Tag = {}));
88
89
 
89
90
  var Copy = function (_a) {
90
91
  var _b;
91
92
  var children = _a.children, Tag = _a.tag, size = _a.size, align = _a.align, transform = _a.transform, id = _a.id, testID = _a.testID;
92
- if (!children)
93
- return null;
94
- var classes = cx((_b = {}, _b["text-".concat(align)] = align, _b), { 'text-sm': size === 'small' }, { 'text-lg': size === 'large' }, { 'text-2xl': size === 'intro' }, { 'mb-3': Tag === 'p' }, transform);
93
+ 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);
95
94
  return jsxRuntime.jsx(Tag, { "data-testid": testID || id || "Copy", className: classes, children: children });
96
95
  };
97
96
  Copy.defaultProps = {
@@ -101,8 +100,93 @@ Copy.defaultProps = {
101
100
  align: Align.LEFT,
102
101
  };
103
102
 
103
+ var Hr = function () { return (jsxRuntime.jsx("hr", { className: cx('border-0 border-b border-dark-body-text dark:border-dark-body-text') })); };
104
+
105
+ var HeadingTag;
106
+ (function (HeadingTag) {
107
+ HeadingTag["H1"] = "h1";
108
+ HeadingTag["H2"] = "h2";
109
+ HeadingTag["H3"] = "h3";
110
+ HeadingTag["H4"] = "h4";
111
+ HeadingTag["H5"] = "h5";
112
+ })(HeadingTag || (HeadingTag = {}));
113
+ var HeadingAlign;
114
+ (function (HeadingAlign) {
115
+ HeadingAlign["LEFT"] = "left";
116
+ HeadingAlign["CENTER"] = "center";
117
+ HeadingAlign["RIGHT"] = "right";
118
+ HeadingAlign["JUSTIFY"] = "justify";
119
+ HeadingAlign["NOWRAP"] = "nowrap";
120
+ })(HeadingAlign || (HeadingAlign = {}));
121
+ var HeadingTransform;
122
+ (function (HeadingTransform) {
123
+ HeadingTransform["LOWERCASE"] = "lowercase";
124
+ HeadingTransform["UPPERCASE"] = "uppercase";
125
+ HeadingTransform["CAPITALIZE"] = "capitalize";
126
+ HeadingTransform["NORMAL_CASE"] = "normal-case";
127
+ })(HeadingTransform || (HeadingTransform = {}));
128
+
129
+ var Heading = function (_a) {
130
+ var _b;
131
+ 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;
132
+ var fontSize = function () {
133
+ switch (tag) {
134
+ case 'h1':
135
+ return 'text-5xl';
136
+ case 'h2':
137
+ return 'text-4xl';
138
+ case 'h3':
139
+ return 'text-3xl';
140
+ case 'h4':
141
+ return 'text-2xl';
142
+ case 'h5':
143
+ return 'text-xl';
144
+ default:
145
+ return 'text-2xl';
146
+ }
147
+ };
148
+ var size = fontSize();
149
+ var Tag = tag;
150
+ var classes = cx("font-heading font-bold ".concat(size), (_b = {}, _b["text-".concat(align)] = align, _b), { 'm-0': flush }, transform, className);
151
+ return (jsxRuntime.jsx(Tag, { "data-testid": testID || id || 'Heading', className: classes, children: children }));
152
+ };
153
+ Heading.defaultProps = {
154
+ tag: HeadingTag.H1,
155
+ };
156
+
157
+ /**
158
+ * Icon component
159
+ * List of supported icons can be found at https://icon-sets.iconify.design.
160
+ */
161
+ var Icon = function (_a) {
162
+ var name = _a.name, size = _a.size, color = _a.color, id = _a.id, testID = _a.testID;
163
+ if (color) {
164
+ return jsxRuntime.jsx(react.Icon, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, color: color });
165
+ }
166
+ return jsxRuntime.jsx(react.Icon, { "data-testid": testID || id || "Icon", icon: name, width: size, height: size, className: cx('fill-current') });
167
+ };
168
+ Icon.defaultProps = {
169
+ size: 24,
170
+ };
171
+
172
+ var Image = function (_a) {
173
+ var src = _a.src, alt = _a.alt, title = _a.title, caption = _a.caption, figure = _a.figure, onLoad = _a.onLoad, id = _a.id, className = _a.className, testID = _a.testID;
174
+ var figureClasses = cx('m-0');
175
+ var classes = cx('w-full h-auto', className);
176
+ /**
177
+ * Render as a figure.
178
+ */
179
+ if (figure || caption) {
180
+ return (jsxRuntime.jsxs("figure", { "data-testid": testID || id || "Image", className: figureClasses, children: [jsxRuntime.jsx("img", { onLoad: onLoad, src: src, alt: alt, title: title, className: classes }), caption && jsxRuntime.jsx("figcaption", { children: caption })] }));
181
+ }
182
+ /**
183
+ * Default render as an image.
184
+ */
185
+ return jsxRuntime.jsx("img", { "data-testid": testID || id || "Image", onLoad: onLoad, src: src, alt: alt, title: title, className: classes });
186
+ };
187
+
104
188
  var Link = function (_a) {
105
- var href = _a.href, children = _a.children, onClick = _a.onClick, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID;
189
+ var href = _a.href, children = _a.children, onClick = _a.onClick, history = _a.history, target = _a.target, id = _a.id, testID = _a.testID, className = _a.className;
106
190
  var handleClick = function (event) {
107
191
  if (onClick) {
108
192
  onClick(event);
@@ -116,8 +200,8 @@ var Link = function (_a) {
116
200
  history.push(href);
117
201
  }
118
202
  };
119
- var classes = cx('link');
120
- return (jsxRuntime.jsx("a", { "data-testid": testID || id || "Link", className: classes, href: href, onClick: handleClick, target: target, children: children }));
203
+ var classes = cx('link', className);
204
+ return (jsxRuntime.jsx("a", { "data-testid": testID || id || 'Link', className: classes, href: href, onClick: handleClick, target: target, children: children }));
121
205
  };
122
206
  Link.defaultProps = {
123
207
  href: undefined,
@@ -126,13 +210,103 @@ Link.defaultProps = {
126
210
  target: undefined,
127
211
  };
128
212
 
129
- var Hr = function () {
130
- var classes = cx('border-0 border-b border-dark-body-background dark:border-body-background');
131
- return jsxRuntime.jsx("hr", { className: classes });
213
+ var Variants;
214
+ (function (Variants) {
215
+ Variants["UNSTYLED"] = "unstyled";
216
+ Variants["INLINE"] = "inline";
217
+ Variants["SMALL"] = "small";
218
+ Variants["LARGE"] = "large";
219
+ })(Variants || (Variants = {}));
220
+ var ListTag;
221
+ (function (ListTag) {
222
+ ListTag["OL"] = "ol";
223
+ ListTag["UL"] = "ul";
224
+ ListTag["DL"] = "dl";
225
+ ListTag["DIV"] = "div";
226
+ ListTag["DT"] = "dt";
227
+ ListTag["DD"] = "dd";
228
+ ListTag["LI"] = "li";
229
+ })(ListTag || (ListTag = {}));
230
+
231
+ var List = function (_a) {
232
+ var variants = _a.variants, children = _a.children, as = _a.as, id = _a.id, testID = _a.testID;
233
+ var modifiers = variants
234
+ ? variants.map(function (el) { return "list--".concat(el); })
235
+ : null;
236
+ var Tag = as;
237
+ return jsxRuntime.jsx(Tag, { "data-testid": testID || id || "List", className: cx(modifiers), children: children });
238
+ };
239
+ List.defaultProps = {
240
+ as: ListTag.UL,
241
+ };
242
+
243
+ var ListItem = function (_a) {
244
+ var children = _a.children, Tag = _a.as, id = _a.id, testID = _a.testID;
245
+ return jsxRuntime.jsx(Tag, { "data-testid": testID || id || "ListItem", className: cx('list-item'), children: children });
246
+ };
247
+ ListItem.defaultProps = {
248
+ as: 'li',
249
+ };
250
+
251
+ var Notice = function (_a) {
252
+ var foo = _a.foo, id = _a.id, testID = _a.testID;
253
+ return (jsxRuntime.jsx("div", { "data-testid": testID || id || "Notice", className: "foo-bar", children: foo }));
254
+ };
255
+
256
+ var Loader = function (_a) {
257
+ var size = _a.size;
258
+ var sizeClass = size ? "w-".concat(size, " h-").concat(size) : 'w-8 h-8';
259
+ return (jsxRuntime.jsx("div", { "data-testid": "Loader", children: jsxRuntime.jsxs("div", { role: "status", children: [jsxRuntime.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: [jsxRuntime.jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), jsxRuntime.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" })] }), jsxRuntime.jsx("span", { className: "sr-only", children: "Loading..." })] }) }));
260
+ };
261
+ Loader.defaultProps = {
262
+ size: 8,
263
+ };
264
+
265
+ var Container = function (_a) {
266
+ var children = _a.children, className = _a.className, spacing = _a.spacing;
267
+ 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);
268
+ return (jsxRuntime.jsx("div", { "data-testid": "Container", className: classes, children: children }));
269
+ };
270
+ Container.defaultProps = {};
271
+
272
+ var ContentPageLayout = function (_a) {
273
+ var children = _a.children, spacing = _a.spacing, narrow = _a.narrow, flush = _a.flush, className = _a.className;
274
+ 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);
275
+ return (jsxRuntime.jsx("div", { "data-testid": "ContentPageLayout", className: classes, children: children }));
276
+ };
277
+
278
+ var SIZE;
279
+ (function (SIZE) {
280
+ SIZE["NONE"] = "none";
281
+ SIZE["ATOM"] = "atom";
282
+ SIZE["DEFAULT"] = "default";
283
+ SIZE["ELEMENT"] = "element";
284
+ SIZE["COMPONENT"] = "component";
285
+ SIZE["MODULE"] = "module";
286
+ SIZE["FEATURE"] = "feature";
287
+ })(SIZE || (SIZE = {}));
288
+
289
+ var ContentRowsLayout = function (_a) {
290
+ var className = _a.className, children = _a.children, size = _a.size;
291
+ 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);
292
+ return (jsxRuntime.jsx("div", { "data-testid": "ContentRowsLayout", className: classes, children: children }));
293
+ };
294
+ ContentRowsLayout.defaultProps = {
295
+ size: SIZE.DEFAULT,
132
296
  };
133
297
 
134
298
  exports.Blockquote = Blockquote;
135
299
  exports.Button = Button;
300
+ exports.Container = Container;
301
+ exports.ContentPageLayout = ContentPageLayout;
302
+ exports.ContentRowsLayout = ContentRowsLayout;
136
303
  exports.Copy = Copy;
304
+ exports.Heading = Heading;
137
305
  exports.Hr = Hr;
306
+ exports.Icon = Icon;
307
+ exports.Image = Image;
138
308
  exports.Link = Link;
309
+ exports.List = List;
310
+ exports.ListItem = ListItem;
311
+ exports.Loader = Loader;
312
+ exports.Notice = Notice;
@@ -0,0 +1,8 @@
1
+ import { Props } from './Blockquote.types';
2
+ declare const Blockquote: {
3
+ ({ text, citation, className, citationAttribute, showIcon, }: Props): React.ReactElement;
4
+ defaultProps: {
5
+ showIcon: boolean;
6
+ };
7
+ };
8
+ export default Blockquote;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Blockquote from '.';
3
+ declare const meta: Meta<typeof Blockquote>;
4
+ type Story = StoryObj<typeof Blockquote>;
5
+ export declare const Default: Story;
6
+ export default meta;
@@ -0,0 +1,7 @@
1
+ export interface Props {
2
+ text: string | Array<string>;
3
+ className?: string;
4
+ citation?: string;
5
+ citationAttribute?: string;
6
+ showIcon?: boolean;
7
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Blockquote';
@@ -0,0 +1,6 @@
1
+ import { Props } from './Button.types';
2
+ declare const Button: {
3
+ ({ variant, size, uppercase, children, id, type, disabled, ariaLabel, onClick, icon, external, iconFirst, raised, outline, wide, rounded, testID, }: Props): React.ReactElement;
4
+ defaultProps: Partial<Props>;
5
+ };
6
+ export default Button;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Button from '.';
3
+ declare const meta: Meta<typeof Button>;
4
+ type Story = StoryObj<typeof Button>;
5
+ export declare const Default: Story;
6
+ export default meta;
7
+ export declare const WithIcon: Story;
8
+ export declare const IconOnly: Story;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ import { MouseEventHandler } from 'react';
2
+ export interface Props {
3
+ variant?: 'primary' | 'secondary' | 'tertiary';
4
+ size: 'small' | 'medium' | 'large';
5
+ uppercase?: boolean;
6
+ children: React.ReactNode;
7
+ type?: 'button' | 'submit' | 'reset';
8
+ disabled?: boolean;
9
+ ariaLabel: string;
10
+ onClick?: MouseEventHandler<HTMLButtonElement>;
11
+ icon?: string;
12
+ external?: boolean;
13
+ iconFirst?: boolean;
14
+ raised?: boolean;
15
+ outline?: boolean;
16
+ wide?: boolean;
17
+ rounded?: boolean;
18
+ id?: string;
19
+ testID?: string;
20
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Button';
@@ -0,0 +1,6 @@
1
+ import { Props } from './Container.types';
2
+ declare const Container: {
3
+ ({ children, className, spacing }: Props): React.ReactElement;
4
+ defaultProps: {};
5
+ };
6
+ export default Container;