From 384d6138c29821d49e0366f18db12b2174e7c288 Mon Sep 17 00:00:00 2001 From: chasls2 <110061741+chasls2@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:44:59 -0500 Subject: [PATCH 1/4] test --- components/Picker.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/Picker.jsx b/components/Picker.jsx index f33b068e..8b7ace09 100644 --- a/components/Picker.jsx +++ b/components/Picker.jsx @@ -196,6 +196,11 @@ const Picker = ({ onClick={(e) => { e.preventDefault(); option.onClick(option.value); + }} + onKeyDown={(e) => { + if (option.name === 'reddit' && e.key === 'Tab') { + setExpanded(!expanded); + } }}> {option.component ? option.component : option.name} From 8084621a80e7636260a8dceffc4b994e6702ba7c Mon Sep 17 00:00:00 2001 From: chasls2 <110061741+chasls2@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:01:43 -0500 Subject: [PATCH 2/4] run build --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index c090c168..669c022d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("accounting"),require("lodash"),require("prop-types"),require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["accounting","lodash","prop-types","React","ReactDOM"],t):"object"==typeof exports?exports["data-transparency-ui"]=t(require("accounting"),require("lodash"),require("prop-types"),require("react"),require("react-dom")):e["data-transparency-ui"]=t(e.accounting,e.lodash,e["prop-types"],e.React,e.ReactDOM)}(global,((e,t,n,r,o)=>(()=>{var a={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.r(t)},27:(e,t,n)=>{"use strict";n.r(t)},161:(e,t,n)=>{"use strict";n.r(t)},922:(e,t,n)=>{"use strict";n.r(t)},345:(e,t,n)=>{"use strict";n.r(t)},575:(e,t,n)=>{"use strict";n.r(t)},470:(e,t,n)=>{"use strict";n.r(t)},171:(e,t,n)=>{"use strict";n.r(t)},172:(e,t,n)=>{"use strict";n.r(t)},670:(e,t,n)=>{"use strict";n.r(t)},738:(e,t,n)=>{"use strict";n.r(t)},733:(e,t,n)=>{"use strict";n.r(t)},78:(e,t,n)=>{"use strict";n.r(t)},783:(e,t,n)=>{"use strict";n.r(t)},930:(e,t,n)=>{"use strict";n.r(t)},363:(e,t,n)=>{"use strict";n.r(t)},488:(e,t,n)=>{"use strict";n.r(t)},548:t=>{"use strict";t.exports=e},356:e=>{"use strict";e.exports=t},935:e=>{"use strict";e.exports=n},639:e=>{"use strict";e.exports=r},346:e=>{"use strict";e.exports=o},897:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},405:(e,t,n)=>{var r=n(897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},115:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},690:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},728:(e,t,n)=>{var r=n(62);function o(e,t){for(var n=0;n{var r=n(62);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},434:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},655:(e,t,n)=>{var r=n(15);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},498:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},872:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},218:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},281:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},215:(e,t,n)=>{var r=n(71);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},71:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},993:(e,t,n)=>{var r=n(698).default,o=n(115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},15:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},424:(e,t,n)=>{var r=n(372),o=n(872),a=n(116),i=n(218);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},861:(e,t,n)=>{var r=n(405),o=n(498),a=n(116),i=n(281);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},36:(e,t,n)=>{var r=n(698).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},62:(e,t,n)=>{var r=n(698).default,o=n(36);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},698:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},116:(e,t,n)=>{var r=n(897);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";s.r(l),s.d(l,{Button:()=>co,CardBody:()=>ro,CardButton:()=>fo,CardContainer:()=>eo,CardHero:()=>io,Carousel:()=>wr,ComingSoon:()=>pr,DownloadIconButton:()=>Sr,ErrorMessage:()=>$t,FiscalYearPicker:()=>zr,FlexGridCol:()=>$r,FlexGridContainer:()=>Xr,FlexGridRow:()=>Kr,GenericMessage:()=>Gt,InformationBoxes:()=>gr,LoadingMessage:()=>Nn,NoResultsMessage:()=>Cn,PageHeader:()=>Nr,Pagination:()=>_t,Picker:()=>jt,QuarterPicker:()=>Ft,SearchBar:()=>Wt,SectionTitle:()=>_r,ShareIcon:()=>Hr,Table:()=>Yn,Tabs:()=>dr,TooltipComponent:()=>nr,TooltipWrapper:()=>Zn,useCumulativeQuarterPicker:()=>zt,useDynamicStickyClass:()=>kr});var e=s(690),t=s.n(e),n=s(728),r=s.n(n),o=s(655),a=s.n(o),i=s(993),c=s.n(i),u=s(808),d=s.n(u),p=s(639),f=s.n(p),m=s(935),h=s.n(m),b=s(548),g=s.n(b),v=s(356),y={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},_=1e12,x=1e9,E=1e6,w=function(e){var t=Object.assign({},y,{symbol:""});return g().formatMoney(e,t)},k=function(e,t){var n=Object.assign({},y,{symbol:"",precision:t});return g().formatMoney(e,n)};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function N(e,t){for(var n=0;n0;)t+=xe[62*Math.random()|0];return t}function we(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ke(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Oe(e){return e.size!==_e.size||e.x!==_e.x||e.y!==_e.y||e.rotate!==_e.rotate||e.flipX||e.flipY}function Ne(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Ce={x:0,y:0,width:"100%",height:"100%"};function Te(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Se=(K.measurePerformance&&D&&D.mark&&D.measure,function(e,t,n,r){var o,a,i,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}}(t,r):t;for(void 0===n?(o=1,i=e[s[0]]):(o=0,i=n);o2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof $.hooks.addPack||r?$.styles[e]=T({},$.styles[e]||{},o):$.hooks.addPack(e,o),"fas"===e&&Pe("fa",t)}var je=$.styles,Me=$.shims,Ie=function(){var e=function(e){return Se(je,(function(t,n,r){return t[r]=Se(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in je;Se(Me,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:a},e}),{})};function Re(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ze(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?we(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(we(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(ze).join(""),"")}Ie(),$.styles;function Ae(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Ae.prototype=Object.create(Error.prototype),Ae.prototype.constructor=Ae;var qe={fill:"currentColor"},De={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Le=(T({},qe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),T({},De,{attributeName:"opacity"}));function Fe(e){var t=e[0],n=e[1],r=S(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}T({},qe,{cx:"256",cy:"364",r:"28"}),T({},De,{attributeName:"r",values:"28;14;28;28;14;28;"}),T({},Le,{values:"1;0;1;1;0;1;"}),T({},qe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),T({},Le,{values:"1;0;0;0;0;1;"}),T({},qe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),T({},Le,{values:"0;0;1;1;0;0;"}),$.styles,$.styles;var Be='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';var He=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}q.head.insertBefore(t,r)}}(function(){var e=B,t=H,n=K.familyPrefix,r=K.replacementClass,o=Be;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return o}()),Xe=!0)}function Ve(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return Re(Ye.definitions,n,r)||Re($.styles,n,r)}var Ue,Ye=new He,Xe=!1,Ge={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t}(e)}},Ke=(Ue=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.transform,a=void 0===o?_e:o,i=r.symbol,s=void 0!==i&&i,l=r.mask,c=void 0===l?null:l,u=r.maskId,d=void 0===u?null:u,p=r.title,f=void 0===p?null:p,m=r.titleId,h=void 0===m?null:m,b=r.classes,g=void 0===b?[]:b,v=r.attributes,y=void 0===v?{}:v,_=r.styles,x=void 0===_?{}:_;if(e){var E=e.prefix,w=e.iconName,k=e.icon;return t=T({type:"icon"},e),n=function(){return We(),K.autoA11y&&(f?y["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(h||Ee()):(y["aria-hidden"]="true",y.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,h=m.width,b=m.height,g="fak"===o,v=g?"":"fa-w-".concat(Math.ceil(h/b*16)),y=[K.replacementClass,a?"".concat(K.familyPrefix,"-").concat(a):"",v].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:T({},d.attributes,{"data-prefix":o,"data-icon":a,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(b)})},x=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/b*16*.0625,"em")}:{};f&&(_.attributes[W]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||Ee())},children:[l]});var E=T({},_,{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:s,styles:T({},x,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,s=e.transform,l=o.width,c=o.icon,u=a.width,d=a.icon,p=Ne({transform:s,containerWidth:u,iconWidth:l}),f={tag:"rect",attributes:T({},Ce,{fill:"white"})},m=c.children?{children:c.children.map(Te)}:{},h={tag:"g",attributes:T({},p.inner),children:[Te(T({tag:c.tag,attributes:T({},c.attributes,p.path)},m))]},b={tag:"g",attributes:T({},p.outer),children:[h]},g="mask-".concat(i||Ee()),v="clip-".concat(i||Ee()),y={tag:"mask",attributes:T({},Ce,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,b]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(_,{tag:"rect",attributes:T({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Ce)}),{children:n,attributes:r}}(E):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,a=ke(e.styles);if(a.length>0&&(n.style=a),Oe(o)){var i=Ne({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:T({},i.outer),children:[{tag:"g",attributes:T({},i.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:T({},r.icon.attributes,i.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(E),k=w.children,O=w.attributes;return E.children=k,E.attributes=O,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:T({},o,{id:!0===a?"".concat(t,"-").concat(K.familyPrefix,"-").concat(n):a}),children:r}]}]}(E):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Oe(i)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=ke(T({},a,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(E)}({icons:{main:Fe(k),mask:c?Fe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:w,transform:T({},_e,a),symbol:s,title:f,maskId:d,titleId:h,extra:{attributes:y,styles:x,classes:g}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(e){return ze(e)}))}}),Object.defineProperty(t,"node",{get:function(){if(L){var e=q.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Ve(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Ve(r||{})),Ue(n,T({},t,{mask:r}))});function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tt(e){return function(e){if(Array.isArray(e))return nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?Ze({},e,t):{}}var lt=["forwardedRef"];function ct(e){var t=e.forwardedRef,n=et(e,lt),r=n.icon,o=n.mask,a=n.symbol,i=n.className,s=n.title,l=n.titleId,c=n.maskId,u=it(r),d=st("classes",[].concat(tt(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,h=e.listItem,b=e.flip,g=e.size,v=e.rotation,y=e.pull,_=(Ze(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":h,"fa-flip":!0===b,"fa-flip-horizontal":"horizontal"===b||"both"===b,"fa-flip-vertical":"vertical"===b||"both"===b},"fa-".concat(g),null!=g),Ze(t,"fa-rotate-".concat(v),null!=v&&0!==v),Ze(t,"fa-pull-".concat(y),null!=y),Ze(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(n)),tt(i.split(" ")))),p=st("transform","string"==typeof n.transform?Ge.transform(n.transform):n.transform),f=st("mask",it(o)),m=Ke(u,$e($e($e($e({},d),p),f),{},{symbol:a,title:s,titleId:l,maskId:c}));if(!m)return function(){var e;!at&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=m.abstract,b={ref:t};return Object.keys(n).forEach((function(e){ct.defaultProps.hasOwnProperty(e)||(b[e]=n[e])})),ut(h[0],b)}ct.displayName="FontAwesomeIcon",ct.propTypes={beat:h().bool,border:h().bool,beatFade:h().bool,bounce:h().bool,className:h().string,fade:h().bool,flash:h().bool,mask:h().oneOfType([h().object,h().array,h().string]),maskId:h().string,fixedWidth:h().bool,inverse:h().bool,flip:h().oneOf([!0,!1,"horizontal","vertical","both"]),icon:h().oneOfType([h().object,h().array,h().string]),listItem:h().bool,pull:h().oneOf(["right","left"]),pulse:h().bool,rotation:h().oneOf([0,90,180,270]),shake:h().bool,size:h().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h().bool,spinPulse:h().bool,spinReverse:h().bool,symbol:h().oneOfType([h().bool,h().string]),title:h().string,titleId:h().string,transform:h().oneOfType([h().string,h().object]),swapOpacity:h().bool},ct.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var ut=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=rt(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[rt(t)]=r}return e}),{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=et(r,ot);return a.attrs.style=$e($e({},a.attrs.style),s),t.apply(void 0,[n.tag,$e($e({},a.attrs),l)].concat(tt(o)))}.bind(null,f().createElement);var dt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number.isRequired,pageSize:h().number.isRequired},pt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getPager",value:function(){var e,t,n=this.props,r=n.totalItems,o=n.currentPage,a=n.pageSize,i=n.changePage,s=Math.ceil(r/a),l=f().createElement("li",{className:"pager__ellipsis"},"..."),c=f().createElement("li",{className:"pager__ellipsis"},"..."),u=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),d=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},k(s,0)));s<5?(e=1,t=s,l="",c="",u="",d=""):(e=o-1,t=o+1,o<4?(l="",u="",1===o?(e=o,t=o+2):3===o&&(e=1,t=4)):o>s-3&&(c="",d="",o===s?(e=o-2,t=o):o===s-2&&(e=o-1,t=s)));var p=(o-1)*a,m=Math.min(p+(a-1),r-1),h=(0,v.range)(e,t+1);return{totalPages:s,startPage:e,endPage:t,startIndex:p,endIndex:m,pages:h,prevEllipses:l,nextEllipses:c,firstButton:u,lastButton:d}}},{key:"generatePageButtons",value:function(e){var t=this,n=this.props.currentPage;return e.map((function(e,r){return f().createElement("li",{key:r,className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(n===e?"pager__button_active":""),type:"button",onClick:function(){return t.props.changePage(e)}},k(e,0)))}))}},{key:"render",value:function(){var e=this.props,t=e.currentPage,n=e.changePage,r=this.getPager(),o=this.generatePageButtons(r.pages,r.totalPages);return f().createElement("ul",{className:"pager"},f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(1===t?"pager__button_disabled":""),type:"button",disabled:1===t,onClick:function(){return n(t-1)},title:"Previous page"},f().createElement(ct,{icon:"angle-left"}))),r.firstButton,r.prevEllipses,o,r.nextEllipses,r.lastButton,f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(t===r.totalPages?"pager__button_disabled":""),type:"button",disabled:t===r.totalPages,onClick:function(){return n(t+1)},title:"Next page"},f().createElement(ct,{icon:"angle-right"}))))}}]),s}(f().Component);pt.propTypes=dt;var ft=s(115),mt=s.n(ft);var ht={changeLimit:h().func.isRequired,pageSize:h().number,limitList:h().arrayOf(h().number),label:h().string},bt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).changeLimit=n.changeLimit.bind(mt()(n)),n}return r()(s,[{key:"changeLimit",value:function(e){e.preventDefault();var t=parseInt(e.target.value,10);this.props.changeLimit(t)}},{key:"render",value:function(){var e=this.props.label?this.props.label:"Rows per page: ",t=this.props,n=t.limitList,r=t.pageSize,o=n.map((function(e){return f().createElement("option",{key:"limit-".concat(e),value:e},e)}));return f().createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},f().createElement("label",null,e),f().createElement("select",{onChange:this.changeLimit,value:r,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},o))}}]),s}(f().Component);bt.propTypes=ht,bt.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var gt={changePage:h().func.isRequired,totalPages:h().number,id:h().string},vt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).state={goToPage:""},n.changePage=n.changePage.bind(mt()(n)),n.changedInput=n.changedInput.bind(mt()(n)),n.validPage=n.validPage.bind(mt()(n)),n}return r()(s,[{key:"changePage",value:function(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function(){var e=this.state.goToPage,t=this.props.totalPages;return!(""===e||parseInt(e,10)<1||parseInt(e,10)>t)}},{key:"render",value:function(){var e=this.props.totalPages,t=e>1?"1-".concat(e):"1";return f().createElement("form",{className:"usa-dt-pagination__go-to"},f().createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),f().createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(e),min:"1",max:e,placeholder:t,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),f().createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),s}(f().Component);vt.propTypes=gt,vt.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var yt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number,pageSize:h().number,resultsText:h().oneOfType([h().bool,h().element]),limitSelector:h().bool,changeLimit:h().func,goToPage:h().bool,id:h().string};s(363);var _t=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getResultsText",value:function(){var e=this.props,t=e.resultsText,n=e.totalItems,r=e.currentPage,o=e.pageSize;if(f().isValidElement(t))return t;if(t){var a=function(e,t,n){var r=(e-1)*t+1,o=e*t;return e===Math.ceil(n/t)&&(o=n),{start:r,end:o}}(r,o,n),i=k(a.start,0),s=k(a.end,0),l=k(n,0);return f().createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(l," results"))}return null}},{key:"render",value:function(){var e=this.props,t=e.limitSelector,n=e.goToPage,r=e.changePage,o=e.changeLimit,a=e.currentPage,i=e.pageSize,s=e.totalItems,l=e.id,c=Math.ceil(s/i),u=this.getResultsText(),d=t?f().createElement(bt,{changeLimit:o,pageSize:i}):null,p=n?f().createElement(vt,{changePage:r,totalPages:c,id:l}):null;return!t&&c<=1?null:f().createElement("div",{className:"usa-dt-pagination"},u,f().createElement("div",{className:"usa-dt-pagination__wrapper"},d,f().createElement(pt,{changePage:r,totalItems:s,currentPage:a,pageSize:i}),p))}}]),s}(f().Component);_t.propTypes=yt,_t.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var xt=s(416),Et=s.n(xt),wt=s(424),kt=s.n(wt);function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;tt.name?1:0},Pt=function(e){var t=e.className,n=void 0===t?"":t,r=e.id,o=void 0===r?"":r,a=e.options,i=e.selectedOption,s=e.icon,l=void 0===s?null:s,c=e.sortFn,u=void 0===c?St:c,d=e.isFixedWidth,m=void 0!==d&&d,h=e.children,b=e.dropdownDirection,g=void 0===b?"right":b,y=e.backgroundColor,_=void 0===y?"#1a4480":y,x=e.notEnabled,E=(0,p.useRef)(null),w=(0,p.useRef)(null),k=(0,p.useState)(!1),O=kt()(k,2),N=O[0],C=O[1],T=(0,p.useState)({top:0,width:0,left:0,right:0}),S=kt()(T,2),P=S[0],j=S[1],M=function(){w.current&&E.current&&j({top:w.current.offsetHeight,width:w.current.offsetWidth,left:w.current.offsetLeft,right:E.current.offsetWidth-(w.current.offsetWidth+w.current.offsetLeft)})};return(0,p.useEffect)((function(){0!==P.width&&m&&w.current&&w.current.offsetWidth!==P.width&&M()})),(0,p.useEffect)((function(){var e=function(e){N&&E.current&&!E.current.contains(e.target)&&e.target.id!=="".concat(o,"-").concat(Ct)&&e.target.parentNode.id!=="".concat(o,"-").concat(Ct)&&C(!1)};return M(),document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[N]),f().createElement("div",{id:o,className:"usa-dt-picker ".concat(n),ref:E,style:{backgroundColor:_}},f().createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:_}},f().createElement("button",{style:{backgroundColor:_},ref:w,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function(e){e.preventDefault(),x||C(!N)}},l&&f().createElement("div",{className:"usa-dt-picker__icon"},l),h?f().createElement(f().Fragment,null,h):f().createElement(f().Fragment,null,f().createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:_}},i),f().createElement("span",{className:"usa-dt-picker__button-icon"},!N&&f().createElement(ct,{id:"".concat(o,"-").concat(Ct),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),N&&f().createElement(ct,{id:"".concat(o,"-").concat(Ct),icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),f().createElement("ul",{className:"usa-dt-picker__list ".concat(N?"":"hide"),style:function(){var e={top:"".concat(P.top,"px"),left:"".concat(P.left,"px")};return m&&"right"===g?Nt(Nt({},e),{},{width:"".concat(P.width,"px")}):m&&"left"===g?{top:e.top,right:"".concat(P.right),width:"".concat(P.width,"px")}:"left"===g?{top:e.top,right:"".concat(P.right,"px")}:e}()},a.sort((function(e,t){return u(e,t,i)})).map((function(e){return Nt(Nt({},e),{},{onClick:(t=e.onClick,function(e){t(e),C(!1)})});var t})).map((function(e){return f().createElement("li",{key:(0,v.uniqueId)(),className:"usa-dt-picker__list-item ".concat(null!=e&&e.classNames?e.classNames:"")},f().createElement("button",{className:"usa-dt-picker__item ".concat(e.name===i?"active":""),value:"".concat(e.value||e.name),onClick:function(t){t.preventDefault(),e.onClick(e.value)}},e.component?e.component:e.name))})))))};Pt.propTypes=Tt;const jt=Pt;var Mt={disabled:h().bool,active:h().bool,showPeriods:h().bool,quarter:h().string,handleSelection:h().func,handleHover:h().func,handleBlur:h().func,toggleTooltip:h().func,title:h().string},It=function(e){var t=e.disabled,n=e.active,r=e.quarter,o=e.handleSelection,a=e.toggleTooltip,i=e.title,s=void 0===i?"":i,l=e.handleHover,c=e.handleBlur,u=e.showPeriods,d=void 0!==u&&u,p=s||"Q ".concat(r),m=function(){t?a(r):l(r,d?"period":"quarter")},h=function(){a(0),c(d?"period":"quarter")},b=function(e){e.preventDefault(),t||o(r)},g=t?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===r?g+="usa-dt-quarter-picker__quarter_first":"4"===r?g+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(g+="usa-dt-quarter-picker__quarter_double"),!t&&n&&(g+=" usa-dt-quarter-picker__quarter_active"),f().createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(g),onMouseDown:b,onClick:b,onMouseOver:m,onMouseEnter:m,onFocus:m,onMouseLeave:h,onBlur:h,"aria-disabled":t},p)};It.propTypes=Mt;const Rt=It;var zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,p.useState)(e),n=kt()(t,2),r=n[0],o=n[1];return[r,function(e){var t=parseInt(e,10),n=r.map((function(e){return parseInt(e,10)})).filter((function(e){return e<=t})).map((function(e){return"".concat(e)}));o(n.concat([e]))}]},At=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],qt=function(e,t){return t.some((function(t){return parseInt(t,10)>=parseInt(e,10)}))},Dt={handleSelection:h().func,selectedQuarters:h().arrayOf(h().string),disabledQuarters:h().arrayOf(h().string),selectedPeriods:h().arrayOf(h().string),disabledPeriods:h().arrayOf(h().string),periodsPerQuarter:h().arrayOf(h().arrayOf(h().shape({title:h().string,id:h().string}))),showPeriods:h().bool,isCumulative:h().bool},Lt=function(e){var t=e.handleSelection,n=e.disabledQuarters,r=void 0===n?[]:n,o=e.disabledPeriods,a=void 0===o?[]:o,i=e.periodsPerQuarter,s=void 0===i?At:i,l=e.selectedQuarters,c=void 0===l?[]:l,u=e.selectedPeriods,d=void 0===u?[]:u,m=e.showPeriods,h=void 0!==m&&m,b=e.isCumulative,g=void 0!==b&&b,y=(0,p.useState)(""),_=kt()(y,2),x=_[0],E=_[1],w=(0,p.useState)(""),k=kt()(w,2),O=k[0],N=k[1],C=function(e){"quarter"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter")?N(e):E(e)},T=function(){"quarter"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter")?N(""):E("")};return f().createElement("div",{className:"usa-dt-quarter-picker"},f().createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(e,n){var o=n+1,i="".concat(o);if(h){var l=s[n],u=l.every((function(e){return a.includes(e.id)}));return f().createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,v.uniqueId)()},f().createElement("p",{className:u?"disabled":""},"Q".concat(o)),f().createElement("ul",{className:"usa-dt-quarter-picker__period-list"},l.map((function(e){return f().createElement("li",{className:Object.keys(e).includes("className")?"".concat(e.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:(0,v.uniqueId)()},f().createElement(Rt,{showPeriods:h,quarter:e.id,title:e.title,disabled:a.includes(e.id),active:qt(e.id,d)||parseInt(x,10)>=parseInt(e.id,10),handleHover:C,handleBlur:T,handleSelection:t,toggleTooltip:function(){}}))}))))}return f().createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,v.uniqueId)()},f().createElement(Rt,{quarter:i,disabled:r.includes(i),active:g?qt(i,c)||parseInt(O,10)>=o:c.includes(i)||O===i,handleSelection:t,handleHover:C,handleBlur:T,toggleTooltip:function(){}}))}))))};Lt.propTypes=Dt;const Ft=Lt;s(670);var Bt={onSearch:h().func,minChars:h().number,isDisabled:h().bool,throttleOnChange:h().number,inputTitle:h().string,placeholder:h().string},Ht=function(e){var t=e.onSearch,n=e.minChars,r=e.isDisabled,o=e.throttleOnChange,a=e.inputTitle,i=e.placeholder,s=(0,p.useState)(""),l=kt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(""),m=kt()(d,2),h=m[0],b=m[1],g=function(){u(""),t(""),b("")},y=(0,v.throttle)((function(e){return function(e,t){return!(!t||e.target.value)}(e,h)?g():u(e.target.value)}),o),_="search";return(c&&h===c||h&&c.length=0||(o[n]=e[n]);return o}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:t,e.target.value)},currentSort:i,title:t,displayName:a}))))};In.propTypes=Mn;const Rn=In;var zn={prefix:"fas",iconName:"angle-double-right",icon:[448,512,[],"f101","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"]},An={prefix:"fas",iconName:"check-circle",icon:[512,512,[],"f058","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"]},qn={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},Dn={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Ln={columns:h().arrayOf(h().object).isRequired,rows:h().arrayOf((0,m.oneOfType)([h().array,h().object])).isRequired,expandable:h().bool,divider:h().string,onClickHandler:h().func,isMobile:h().bool,atMaxLevel:h().bool},Fn=function(e){var t=e.columns,n=e.rows,r=e.expandable,o=e.divider,a=e.onClickHandler,i=e.isMobile,s=e.atMaxLevel,l=(0,p.useState)(!1),c=kt()(l,2),u=c[0],d=c[1],m=(0,p.useState)(),h=kt()(m,2),b=h[0],g=h[1],y=function(e,t){s||(i&&!u?(d(!0),g(t)):i&&u&&b===t?(a(e),d(!1)):i&&u&&b!==t?g(t):i||a(e))};return f().createElement(f().Fragment,null,n.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return r?f().createElement(Pn,{key:(0,v.uniqueId)(),data:e,oddClass:a,columns:t,divider:o}):f().createElement("tr",{key:(0,v.uniqueId)(),tabIndex:0,onClick:function(){return y(e,n)},onKeyUp:function(t){"Enter"===t.key&&(t.preventDefault(),y(e,n))},className:"usda-table__row-item usda-table__row".concat(a)},e.map((function(e,r){var o,a;return null!==(o=t[r])&&void 0!==o&&o.bodyHeader?f().createElement(Rn,Ut()({className:"table-header_body-header",key:(0,v.uniqueId)()},e)):f().createElement("td",{key:(0,v.uniqueId)(),className:"usda-table__cell".concat(null!==(a=t[r])&&void 0!==a&&a.right?" usda-table__cell_right":"")},t[r]&&f().createElement("div",{className:"usda-table__cell-heading-container"},i&&f().createElement("div",{className:"usda-table__cell-heading"},t[r].displayName),i&&u&&0===r&&b===n&&f().createElement("div",{className:"usda-table__cell-message"},"View next level"," ",f().createElement(ct,{icon:zn,color:"#2378c3"}))),e)})))})))};Fn.propTypes=Ln;const Bn=Fn;function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wn(e){for(var t=1;tr?t:r;return o<425?o-10:"bottom"===n.props.tooltipPosition?n.props.width:n.props.wide?a>800?700:a-5:n.props.width})),Et()(mt()(n),"getDimensionsForMobile",(function(e,t){return e?{top:"".concat(n.tooltipContainer.clientHeight+n.tooltipContainer.offsetTop+8,"px"),width:t,left:"".concat(n.tooltipContainer.clientWidth/2-8,"px")}:Qn(Qn({},n.state.spacerStyles),{},{width:t})})),n.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},n.showTooltip=n.showTooltip.bind(mt()(n)),n.closeTooltip=n.closeTooltip.bind(mt()(n)),n.setTooltipDimensions=(0,v.throttle)(n.setTooltipDimensions.bind(mt()(n)),16),n}return r()(s,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,v.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,v.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var e=window.innerWidth,t=this.tooltipContainer,n=t.offsetLeft;return{right:e-n-t.clientWidth,left:n,total:e}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var e=this.getTooltipWidth(),t=this.getAvailableHorizontalSpace(),n=t.left,r=t.total,o=t.right,a=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,i=r<700;if("bottom"===this.props.tooltipPosition||i)this.setState({arrowDirection:"bottom",spacerStyle:Qn({},this.getDimensionsForMobile(i,e))});else if("right"===this.props.tooltipPosition&&o1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(r){n.includes(r.keyCode)&&e.apply(void 0,or()(t))}},ir={label:h().string.isRequired,internal:h().string,labelContent:h().element,active:h().bool,enabled:h().bool,switchTab:h().func,className:h().string,tooltip:h().object,count:h().number,tablessStyle:h().bool},sr=function(e){var t=(0,p.useRef)(null),n=function(){var n,r;e.enabled&&(null!=t&&t.current&&null!==(n=t.current)&&void 0!==n&&n.scrollIntoView&&(null===(r=t.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),e.switchTab(e.internal))},r=ar(n);return f().createElement("div",{className:"usa-dt-tab__wrapper".concat(e.enabled?"":" disabled").concat(e.tablessStyle?" tabless-tab":"").concat(e.active?" active":"")},f().createElement("div",{className:"usa-dt-tab".concat(e.active?" active":""," ").concat(e.className||"").concat(e.enabled?"":" disabled"),ref:t,onClick:n,onKeyDown:r,role:"tab",title:"Show ".concat(e.label),"aria-label":"Show ".concat(e.label),tabIndex:0,disabled:!e.enabled},f().createElement("div",{className:"usa-dt-tab__content"},f().createElement("div",{className:"usa-dt-tab__label"},f().createElement("div",{className:"usa-dt-tab__label-text"},e.label),e.count>=0&&f().createElement("div",{"aria-label":"Count of ".concat(w(e.count)," for ").concat(e.label),className:"count".concat(e.active?" active":"")},w(e.count)),e.tooltip&&f().createElement(Zn,{tooltipComponent:f().createElement(nr,{title:e.label},e.tooltip),icon:"info"})))))};sr.propTypes=ir;const lr=sr;s(78);var cr={types:h().arrayOf(h().shape({label:h().string.isRequired,internal:h().string.isRequired,count:h().number,disabled:h().bool,tooltip:h().element})).isRequired,active:h().string.isRequired,switchTab:h().func.isRequired,tabsClassName:h().string,tablessStyle:h().bool},ur=function(e){var t=e.types,n=e.active,r=e.switchTab,o=e.tabsClassName,a=e.tablessStyle,i=t.map((function(e){return f().createElement(lr,Ut()({},e,{active:n===e.internal,switchTab:r,key:"table-type-item-".concat(e.internal),enabled:!e.disabled,className:o,tooltip:e.tooltip,tablessStyle:a}))}));return f().createElement("div",{className:"usa-dt-tab-list".concat(a?" tabless-tabs":""),role:"tablist"},!a&&f().createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),i,f().createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};ur.propTypes=cr;const dr=ur;s(470);const pr=function(e){var t=e.className;return f().createElement(Gt,{className:"coming soon ".concat(t),title:"Coming Soon",description:"This feature is currently under development."})};var fr=function(e,t,n){if(0!==e&&!e)return null;var r=t?function(e){return g().formatMoney(e,y)}(e):w(e);if(Math.abs(e)>E){var o=function(e){var t=Math.abs(e),n=1,r="",o="";return t>=_?(n=_,r="T",o="trillion"):t>=x?(n=x,r="B",o="billion"):t>=E?(n=E,r="M",o="million"):t>=1e3&&(n=1e3,r="k",o="thousand"),{unit:n,unitLabel:r,longLabel:o}}(e);r="".concat(t?function(e,t){var n=Object.assign({},y,{precision:t});return g().formatMoney(e,n)}(e/o.unit,2):k(e/o.unit,2)," ").concat(n?(0,v.startCase)(o.longLabel):o.unitLabel)}return r},mr={2:"two",3:"three",4:"four"};s(575);var hr={boxes:h().arrayOf(h().shape({type:h().string.isRequired,title:h().oneOfType([h().string,h().element]),amount:h().number,isMonetary:h().bool,isString:h().bool,subtitle:h().string,subtitleBottom:h().string,isLoading:h().bool}))},br=function(e){var t=e.boxes,n=(0,p.useState)(window.innerWidth>1200),r=kt()(n,2),o=r[0],a=r[1],i=(0,v.throttle)((function(){return a(window.innerWidth>1200)}));return(0,p.useEffect)((function(){return i(),window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),f().createElement("div",{className:"usa-dt-information-boxes ".concat(mr[t.length],"-boxes")},t.map((function(e){return f().createElement("div",{key:e.type,className:"usa-dt-information-box"},f().createElement("div",{className:"usa-dt-information-box__divider"},f().createElement("div",{className:"usa-dt-information-box__content".concat(e.subtitle?" with-subtitle":"")},f().createElement("div",{className:"usa-dt-information-box__title"},e.title),e.subtitle&&f().createElement("div",{className:"usa-dt-information-box__subtitle"},e.subtitle),f().createElement("div",{className:"usa-dt-information-box__amount".concat(e.isLoading?" loading":"")},e.isLoading&&f().createElement("div",{className:"dot-pulse"}),!e.isLoading&&e.isString?e.amount:"",!e.isLoading&&!e.isString&&fr(e.amount,e.isMonetary,o)),e.subtitleBottom&&f().createElement("div",{className:"usa-dt-information-box__subtitle-bottom"},e.subtitleBottom))))})))};br.propTypes=hr;const gr=br;s(738);var vr={isControlled:!1,toggleExpand:function(){},isExpanded:!1},yr=function(e){var t=e.title,n=e.icon,r=e.children,o=e.id,a=void 0===o?"":o,i=e.classNames,s=void 0===i?"":i,l=e.isCollapsible,c=void 0!==l&&l,u=e.isComingSoon,d=void 0!==u&&u,m=e.controlledProps,h=void 0===m?vr:m,b=e.defaultExpandedState,g=void 0===b||b,v=e.overLine,y=void 0===v?"":v,_=e.titleTooltip,x=void 0===_?{tooltip:null,tooltipProps:{}}:_,E=e.descTooltip,w=void 0===E?{component:null,props:{}}:E,k=e.description,O=(0,p.useState)(g),N=kt()(O,2),C=N[0],T=N[1],S=function(){h.isControlled?h.toggleExpand():T(!C)},P=C||h.isControlled&&h.isExpanded||!c;return f().createElement("section",{id:a,className:"usda-section__container".concat(s?" ".concat(s):"")},f().createElement("div",{className:"usda-section-title__container"},n&&f().cloneElement(n,{className:"usda-section-title__title-icon"}),f().createElement("div",{className:"usda-section-title__header"},y&&f().createElement("strong",{className:"usda-section-title__overline"},y),f().createElement("div",{className:"usda-section-title__title"},f().createElement("h3",null,t),x.component&&f().createElement(Zn,Ut()({tooltipComponent:x.component,icon:"info",className:"".concat(y?"has-overline":"")},x.props)))),k&&f().cloneElement(k,{className:"usda-section-title__desc has-overline"}),w.component&&f().createElement(Zn,Ut()({tooltipComponent:w.component,icon:"info",tooltipPosition:"left"},w.props)),c&&f().createElement(ct,{tabIndex:0,onKeyDown:ar(S),className:"usda-section-title__expand-icon",onClick:S,size:"2x",icon:C||h.isControlled&&h.isExpanded?"chevron-up":"chevron-down"})),f().createElement("hr",null),d&&P&&f().createElement(pr,null),P&&!d&&r)};yr.propTypes={icon:h().element.isRequired,children:h().element.isRequired,title:h().string.isRequired,defaultExpandedState:h().bool,overLine:h().string,controlledProps:h().shape({isControlled:h().bool.isRequired,toggleExpand:h().func.isRequired,isExpanded:h().bool.isRequired}),description:h().element,titleTooltip:h().shape({component:h().element,props:h().object}),descTooltip:h().shape({component:h().element,props:h().object}),isCollapsible:h().bool,isComingSoon:h().bool,classNames:h().string,id:h().string};const _r=yr;s(27);var xr={items:h().arrayOf(h().element)},Er=function(e){var t=e.items,n=(0,p.useState)(1),r=kt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=kt()(i,2),l=s[0],c=s[1],u=(0,p.useRef)(null),d=(0,p.useRef)(0),m=(0,p.useRef)((0,v.uniqueId)()),h=(0,p.useRef)(null),b=(0,p.useRef)(null),g=function(e){return a(e)},y=function(){return g(o)};(0,p.useEffect)((function(){return window.addEventListener("resize",y),function(){return window.removeEventListener("resize",y)}}),[]),(0,p.useEffect)((function(){var e,n;l||g((e=b.current.offsetWidth,(n=Math.round(-1*d.current/e)+1)>t.length?1:n<1?t.length:n))}),[l]),(0,p.useEffect)((function(){if(h.current&&b.current){var e=b.current.offsetWidth,t=(o-1)*e*-1;d.current=t,h.current.style.transform="translate(".concat(t,"px, 0px)")}}));var _=function(){u.current=null,c(!1)},x=function(){return _()},E=function(e){var t=e-u.current;u.current=e,d.current+=t,h.current.style.transform="translate(".concat(d.current,"px, 0px)")},w=function(){l&&_()},k=function(e){e.preventDefault(),g(parseInt(e.target.value,10))};return f().createElement("div",{className:"usa-dt-carousel","aria-describedby":"".concat(m.current,"-instructions")},f().createElement("div",{id:"".concat(m.current,"-instructions"),className:"usa-dt-carousel__instructions","aria-live":"polite"},"An image carousel containing ","".concat(t.length," item").concat(1!==t.length?"s":""),", with item ",o," shown."),f().createElement("div",{className:"usa-dt-carousel-content"},f().createElement("div",{className:"usa-dt-carousel-item",onTouchStart:function(){return c(!0)},onTouchMove:function(e){if(l&&e.touches&&e.touches.length&&h){var t=e.touches[0];null===u.current?u.current=t.pageX:E(t.pageX)}},onTouchEnd:x,onTouchCancel:x,onMouseDown:function(e){e.preventDefault(),c(!0)},onMouseUp:w,onMouseLeave:w,onMouseMove:function(e){l&&(null===u.current?u.current=e.pageX:E(e.pageX))},role:"presentation",ref:b},f().createElement("div",{className:"usa-dt-carousel-item__list ".concat(l?"usa-dt-carousel-item__list_dragging":""),"aria-live":"polite",ref:h},t.map((function(e,t){return f().createElement("div",{className:"usa-dt-carousel-item__list-item",key:"".concat(t,"-the-list-item"),"aria-hidden":o!==t+1,tabIndex:-1},(0,p.cloneElement)(e,{className:"usa-dt-carousel-item__item"}))}))))),f().createElement("div",{className:"usa-dt-carousel-pager"},f().createElement("div",{className:"usa-dt-carousel-pager__list",role:"menu","aria-label":"Pagination controls for carousel items"},t.map((function(e,t){return f().createElement("button",{className:"usa-dt-carousel-pager__dot-button ".concat(t+1===o?"usa-dt-carousel-pager__dot-button_active":""),value:t+1,key:"".concat(t,"-list-item"),onClick:k,"aria-label":"Skip to carousel item ".concat(t+1),"aria-checked":t+1===o,role:"menuitemradio"},f().createElement("div",{className:"usa-dt-carousel-pager__dot-decorator"}))})))))};Er.propTypes=xr;const wr=Er;var kr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,p.useState)(0),r=kt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=kt()(i,2),l=s[0],c=s[1];return[l,o,c,(0,v.throttle)((function(){var e=window.scrollY||document.documentElement.scrollTop;t&&e>=t&&!l||!t&&e>=o&&!l?c(!0):(e<=t||e<=o)&&c(!1)}),100),(0,v.throttle)((function(){var t=e.current?e.current.offsetTop:0;a(t)}),100)]};s(171);var Or=function(e){var t=e.title,n=e.overLine,r=void 0===n?"":n,o=e.stickyBreakPoint,a=void 0===o?0:o,i=e.toolBar,s=void 0===i?[]:i,l=e.backgroundColor,c=void 0===l?"#1a4480":l,u=(0,p.useRef)(null),d=kr(u,a),m=kt()(d,5),h=m[0],b=m[3],g=m[4];(0,p.useEffect)((function(){return g(),window.addEventListener("scroll",b),window.addEventListener("resize",g),function(){window.removeEventListener("scroll",b),window.removeEventListener("resize",g)}}));var v,y,_=h?" usda-page-header--sticky":"";return f().createElement("section",{className:"usda-page-header".concat(_),ref:u,style:{backgroundColor:c}},f().createElement("div",{className:"usda-page-header__container"},f().createElement("div",{className:"usda-page-header__mobile-top"},f().createElement("div",{className:"usda-page-header__header"},r&&f().createElement("strong",{className:"usda-page-header__overline"},r),f().createElement("div",{className:"usda-page-header__title"},f().createElement("h1",null,t))),(y=null==s?void 0:s.find((function(e){return"Share Icon"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(y):null,(v=null==s?void 0:s.find((function(e){return"ATDButton"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(v):null),f().createElement("hr",null),(null==s?void 0:s.length)>0&&f().createElement("div",{className:"usda-page-header__toolbar"},s.map((function(e){var t,n,r,o="".concat(null===(t=e.props)||void 0===t?void 0:t.className," ").concat(null===(n=e.props)||void 0===n?void 0:n.classNames),a="".concat(null===(r=e.props)||void 0===r?void 0:r.classNames);return o?f().cloneElement(e,{className:"".concat(o," toolbar__item")}):a?f().cloneElement(e,{classNames:"".concat(a," toolbar__item")}):f().cloneElement(e,{className:"toolbar__item",classNames:"toolbar__item"})})))))};Or.propTypes={stickyBreakPoint:h().number,overLine:h().string,title:h().string.isRequired,toolBar:h().arrayOf(h().element)};const Nr=Or;s(161);var Cr={onClick:h().func.isRequired,downloadInFlight:h().bool,tooltipComponent:h().element,isEnabled:h().bool,tooltipPosition:h().string},Tr=function(e){var t=e.onClick,n=e.downloadInFlight,r=e.tooltipComponent,o=void 0===r?null:r,a=e.tooltipPosition,i=void 0===a?"left":a,s=e.isEnabled,l=void 0===s||s,c=e.backgroundColor,u=void 0===c?"#1a4480":c,d=function(e){e.preventDefault(),!n&&l&&t()},p=n||!l?" disabled":"",m=n?"Preparing Download...":"Download",h=n?Dn:qn;return o?f().createElement(Zn,{className:"usda-download-btn".concat(p),tooltipPosition:i,tooltipComponent:o},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ct,{icon:h,spin:n,color:"#dfe1e2"})),f().createElement("span",{style:{color:"#dfe1e2"}},m)):f().createElement("div",{className:"usda-download-btn".concat(p)},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ct,{icon:h,spin:n})),f().createElement("span",null,m))};Tr.displayName="Download Icon Button",Tr.propTypes=Cr;const Sr=Tr;var Pr={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]};function jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:2008,t=arguments.length>1?arguments[1]:void 0;return or()(new Array(t-e)).reduce((function(t,n,r){return t.push(e+r+1),t}),[e]).sort((function(e,t){return t-e}))}(i,n).map((function(e){return{name:"FY ".concat(e),value:"".concat(e),onClick:u}})):[{name:"Loading fiscal years...",value:null,onClick:function(){}}]}),f().createElement("span",null,"Fiscal Year"))};Rr.displayName="Fiscal Year Picker",Rr.propTypes={backgroundColor:h().string,selectedFy:h().oneOfType([h().number,h().string]),earliestFy:h().number,latestFy:h().number,options:h().arrayOf(h().shape({name:h().oneOfType([h().string,h().number]),value:h().oneOfType([h().string,h().number])})),handleFyChange:h().func,sortFn:h().func};const zr=Rr;var Ar=function(e){var t=e.icon,n=e.title;return f().createElement(f().Fragment,null,f().createElement(ct,{icon:t,color:"#555",size:"sm"}),f().createElement("span",null,n))},qr=[{component:f().createElement(Ar,{icon:{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},title:"Copy link"}),name:"copy"},{component:f().createElement(Ar,{icon:{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},title:"Email"}),name:"email"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},title:"Twitter"}),name:"twitter"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"facebook-square",icon:[448,512,[],"f082","M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]},title:"Facebook"}),name:"facebook"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},title:"LinkedIn"}),name:"linkedin"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"reddit-square",icon:[448,512,[],"f1a2","M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"]},title:"Reddit"}),name:"reddit"}];function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lr(e){for(var t=1;t(()=>{var a={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.r(t)},27:(e,t,n)=>{"use strict";n.r(t)},161:(e,t,n)=>{"use strict";n.r(t)},922:(e,t,n)=>{"use strict";n.r(t)},345:(e,t,n)=>{"use strict";n.r(t)},575:(e,t,n)=>{"use strict";n.r(t)},470:(e,t,n)=>{"use strict";n.r(t)},171:(e,t,n)=>{"use strict";n.r(t)},172:(e,t,n)=>{"use strict";n.r(t)},670:(e,t,n)=>{"use strict";n.r(t)},738:(e,t,n)=>{"use strict";n.r(t)},733:(e,t,n)=>{"use strict";n.r(t)},78:(e,t,n)=>{"use strict";n.r(t)},783:(e,t,n)=>{"use strict";n.r(t)},930:(e,t,n)=>{"use strict";n.r(t)},363:(e,t,n)=>{"use strict";n.r(t)},488:(e,t,n)=>{"use strict";n.r(t)},548:t=>{"use strict";t.exports=e},356:e=>{"use strict";e.exports=t},935:e=>{"use strict";e.exports=n},639:e=>{"use strict";e.exports=r},346:e=>{"use strict";e.exports=o},897:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},405:(e,t,n)=>{var r=n(897);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},115:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},690:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},728:(e,t,n)=>{var r=n(62);function o(e,t){for(var n=0;n{var r=n(62);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},434:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},655:(e,t,n)=>{var r=n(15);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},498:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},872:e=>{e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},218:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},281:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},215:(e,t,n)=>{var r=n(71);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},71:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},993:(e,t,n)=>{var r=n(698).default,o=n(115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},15:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},424:(e,t,n)=>{var r=n(372),o=n(872),a=n(116),i=n(218);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},861:(e,t,n)=>{var r=n(405),o=n(498),a=n(116),i=n(281);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},36:(e,t,n)=>{var r=n(698).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},62:(e,t,n)=>{var r=n(698).default,o=n(36);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},698:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},116:(e,t,n)=>{var r=n(897);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return a[e](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";s.r(l),s.d(l,{Button:()=>co,CardBody:()=>ro,CardButton:()=>fo,CardContainer:()=>eo,CardHero:()=>io,Carousel:()=>wr,ComingSoon:()=>pr,DownloadIconButton:()=>Sr,ErrorMessage:()=>$t,FiscalYearPicker:()=>zr,FlexGridCol:()=>$r,FlexGridContainer:()=>Xr,FlexGridRow:()=>Kr,GenericMessage:()=>Gt,InformationBoxes:()=>gr,LoadingMessage:()=>Nn,NoResultsMessage:()=>Cn,PageHeader:()=>Nr,Pagination:()=>_t,Picker:()=>jt,QuarterPicker:()=>Ft,SearchBar:()=>Wt,SectionTitle:()=>_r,ShareIcon:()=>Hr,Table:()=>Yn,Tabs:()=>dr,TooltipComponent:()=>nr,TooltipWrapper:()=>Zn,useCumulativeQuarterPicker:()=>zt,useDynamicStickyClass:()=>kr});var e=s(690),t=s.n(e),n=s(728),r=s.n(n),o=s(655),a=s.n(o),i=s(993),c=s.n(i),u=s(808),d=s.n(u),p=s(639),f=s.n(p),m=s(935),h=s.n(m),b=s(548),g=s.n(b),v=s(356),y={symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}},_=1e12,x=1e9,E=1e6,w=function(e){var t=Object.assign({},y,{symbol:""});return g().formatMoney(e,t)},k=function(e,t){var n=Object.assign({},y,{symbol:"",precision:t});return g().formatMoney(e,n)};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function N(e,t){for(var n=0;n0;)t+=xe[62*Math.random()|0];return t}function we(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ke(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Oe(e){return e.size!==_e.size||e.x!==_e.x||e.y!==_e.y||e.rotate!==_e.rotate||e.flipX||e.flipY}function Ne(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Ce={x:0,y:0,width:"100%",height:"100%"};function Te(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Se=(K.measurePerformance&&D&&D.mark&&D.measure,function(e,t,n,r){var o,a,i,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}}(t,r):t;for(void 0===n?(o=1,i=e[s[0]]):(o=0,i=n);o2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof $.hooks.addPack||r?$.styles[e]=T({},$.styles[e]||{},o):$.hooks.addPack(e,o),"fas"===e&&Pe("fa",t)}var je=$.styles,Me=$.shims,Ie=function(){var e=function(e){return Se(je,(function(t,n,r){return t[r]=Se(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in je;Se(Me,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:a},e}),{})};function Re(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ze(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?we(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(we(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(ze).join(""),"")}Ie(),$.styles;function Ae(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Ae.prototype=Object.create(Error.prototype),Ae.prototype.constructor=Ae;var qe={fill:"currentColor"},De={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Le=(T({},qe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),T({},De,{attributeName:"opacity"}));function Fe(e){var t=e[0],n=e[1],r=S(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(K.familyPrefix,"-").concat(Y.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}T({},qe,{cx:"256",cy:"364",r:"28"}),T({},De,{attributeName:"r",values:"28;14;28;28;14;28;"}),T({},Le,{values:"1;0;1;1;0;1;"}),T({},qe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),T({},Le,{values:"1;0;0;0;0;1;"}),T({},qe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),T({},Le,{values:"0;0;1;1;0;0;"}),$.styles,$.styles;var Be='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';var He=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}q.head.insertBefore(t,r)}}(function(){var e=B,t=H,n=K.familyPrefix,r=K.replacementClass,o=Be;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return o}()),Xe=!0)}function Ve(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return Re(Ye.definitions,n,r)||Re($.styles,n,r)}var Ue,Ye=new He,Xe=!1,Ge={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t}(e)}},Ke=(Ue=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.transform,a=void 0===o?_e:o,i=r.symbol,s=void 0!==i&&i,l=r.mask,c=void 0===l?null:l,u=r.maskId,d=void 0===u?null:u,p=r.title,f=void 0===p?null:p,m=r.titleId,h=void 0===m?null:m,b=r.classes,g=void 0===b?[]:b,v=r.attributes,y=void 0===v?{}:v,_=r.styles,x=void 0===_?{}:_;if(e){var E=e.prefix,w=e.iconName,k=e.icon;return t=T({type:"icon"},e),n=function(){return We(),K.autoA11y&&(f?y["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(h||Ee()):(y["aria-hidden"]="true",y.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,h=m.width,b=m.height,g="fak"===o,v=g?"":"fa-w-".concat(Math.ceil(h/b*16)),y=[K.replacementClass,a?"".concat(K.familyPrefix,"-").concat(a):"",v].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:T({},d.attributes,{"data-prefix":o,"data-icon":a,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(b)})},x=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/b*16*.0625,"em")}:{};f&&(_.attributes[W]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||Ee())},children:[l]});var E=T({},_,{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:s,styles:T({},x,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,s=e.transform,l=o.width,c=o.icon,u=a.width,d=a.icon,p=Ne({transform:s,containerWidth:u,iconWidth:l}),f={tag:"rect",attributes:T({},Ce,{fill:"white"})},m=c.children?{children:c.children.map(Te)}:{},h={tag:"g",attributes:T({},p.inner),children:[Te(T({tag:c.tag,attributes:T({},c.attributes,p.path)},m))]},b={tag:"g",attributes:T({},p.outer),children:[h]},g="mask-".concat(i||Ee()),v="clip-".concat(i||Ee()),y={tag:"mask",attributes:T({},Ce,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,b]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(_,{tag:"rect",attributes:T({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Ce)}),{children:n,attributes:r}}(E):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,a=ke(e.styles);if(a.length>0&&(n.style=a),Oe(o)){var i=Ne({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:T({},i.outer),children:[{tag:"g",attributes:T({},i.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:T({},r.icon.attributes,i.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(E),k=w.children,O=w.attributes;return E.children=k,E.attributes=O,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:T({},o,{id:!0===a?"".concat(t,"-").concat(K.familyPrefix,"-").concat(n):a}),children:r}]}]}(E):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Oe(i)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=ke(T({},a,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(E)}({icons:{main:Fe(k),mask:c?Fe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:w,transform:T({},_e,a),symbol:s,title:f,maskId:d,titleId:h,extra:{attributes:y,styles:x,classes:g}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(e){return ze(e)}))}}),Object.defineProperty(t,"node",{get:function(){if(L){var e=q.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Ve(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Ve(r||{})),Ue(n,T({},t,{mask:r}))});function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tt(e){return function(e){if(Array.isArray(e))return nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?Ze({},e,t):{}}var lt=["forwardedRef"];function ct(e){var t=e.forwardedRef,n=et(e,lt),r=n.icon,o=n.mask,a=n.symbol,i=n.className,s=n.title,l=n.titleId,c=n.maskId,u=it(r),d=st("classes",[].concat(tt(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,h=e.listItem,b=e.flip,g=e.size,v=e.rotation,y=e.pull,_=(Ze(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":h,"fa-flip":!0===b,"fa-flip-horizontal":"horizontal"===b||"both"===b,"fa-flip-vertical":"vertical"===b||"both"===b},"fa-".concat(g),null!=g),Ze(t,"fa-rotate-".concat(v),null!=v&&0!==v),Ze(t,"fa-pull-".concat(y),null!=y),Ze(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(n)),tt(i.split(" ")))),p=st("transform","string"==typeof n.transform?Ge.transform(n.transform):n.transform),f=st("mask",it(o)),m=Ke(u,$e($e($e($e({},d),p),f),{},{symbol:a,title:s,titleId:l,maskId:c}));if(!m)return function(){var e;!at&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=m.abstract,b={ref:t};return Object.keys(n).forEach((function(e){ct.defaultProps.hasOwnProperty(e)||(b[e]=n[e])})),ut(h[0],b)}ct.displayName="FontAwesomeIcon",ct.propTypes={beat:h().bool,border:h().bool,beatFade:h().bool,bounce:h().bool,className:h().string,fade:h().bool,flash:h().bool,mask:h().oneOfType([h().object,h().array,h().string]),maskId:h().string,fixedWidth:h().bool,inverse:h().bool,flip:h().oneOf([!0,!1,"horizontal","vertical","both"]),icon:h().oneOfType([h().object,h().array,h().string]),listItem:h().bool,pull:h().oneOf(["right","left"]),pulse:h().bool,rotation:h().oneOf([0,90,180,270]),shake:h().bool,size:h().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h().bool,spinPulse:h().bool,spinReverse:h().bool,symbol:h().oneOfType([h().bool,h().string]),title:h().string,titleId:h().string,transform:h().oneOfType([h().string,h().object]),swapOpacity:h().bool},ct.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var ut=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=rt(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[rt(t)]=r}return e}),{attrs:{}}),i=r.style,s=void 0===i?{}:i,l=et(r,ot);return a.attrs.style=$e($e({},a.attrs.style),s),t.apply(void 0,[n.tag,$e($e({},a.attrs),l)].concat(tt(o)))}.bind(null,f().createElement);var dt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number.isRequired,pageSize:h().number.isRequired},pt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getPager",value:function(){var e,t,n=this.props,r=n.totalItems,o=n.currentPage,a=n.pageSize,i=n.changePage,s=Math.ceil(r/a),l=f().createElement("li",{className:"pager__ellipsis"},"..."),c=f().createElement("li",{className:"pager__ellipsis"},"..."),u=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),d=f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},k(s,0)));s<5?(e=1,t=s,l="",c="",u="",d=""):(e=o-1,t=o+1,o<4?(l="",u="",1===o?(e=o,t=o+2):3===o&&(e=1,t=4)):o>s-3&&(c="",d="",o===s?(e=o-2,t=o):o===s-2&&(e=o-1,t=s)));var p=(o-1)*a,m=Math.min(p+(a-1),r-1),h=(0,v.range)(e,t+1);return{totalPages:s,startPage:e,endPage:t,startIndex:p,endIndex:m,pages:h,prevEllipses:l,nextEllipses:c,firstButton:u,lastButton:d}}},{key:"generatePageButtons",value:function(e){var t=this,n=this.props.currentPage;return e.map((function(e,r){return f().createElement("li",{key:r,className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(n===e?"pager__button_active":""),type:"button",onClick:function(){return t.props.changePage(e)}},k(e,0)))}))}},{key:"render",value:function(){var e=this.props,t=e.currentPage,n=e.changePage,r=this.getPager(),o=this.generatePageButtons(r.pages,r.totalPages);return f().createElement("ul",{className:"pager"},f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(1===t?"pager__button_disabled":""),type:"button",disabled:1===t,onClick:function(){return n(t-1)},title:"Previous page"},f().createElement(ct,{icon:"angle-left"}))),r.firstButton,r.prevEllipses,o,r.nextEllipses,r.lastButton,f().createElement("li",{className:"pager__item"},f().createElement("button",{className:"pager__button ".concat(t===r.totalPages?"pager__button_disabled":""),type:"button",disabled:t===r.totalPages,onClick:function(){return n(t+1)},title:"Next page"},f().createElement(ct,{icon:"angle-right"}))))}}]),s}(f().Component);pt.propTypes=dt;var ft=s(115),mt=s.n(ft);var ht={changeLimit:h().func.isRequired,pageSize:h().number,limitList:h().arrayOf(h().number),label:h().string},bt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).changeLimit=n.changeLimit.bind(mt()(n)),n}return r()(s,[{key:"changeLimit",value:function(e){e.preventDefault();var t=parseInt(e.target.value,10);this.props.changeLimit(t)}},{key:"render",value:function(){var e=this.props.label?this.props.label:"Rows per page: ",t=this.props,n=t.limitList,r=t.pageSize,o=n.map((function(e){return f().createElement("option",{key:"limit-".concat(e),value:e},e)}));return f().createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},f().createElement("label",null,e),f().createElement("select",{onChange:this.changeLimit,value:r,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},o))}}]),s}(f().Component);bt.propTypes=ht,bt.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var gt={changePage:h().func.isRequired,totalPages:h().number,id:h().string},vt=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(e){var n;return t()(this,s),(n=i.call(this,e)).state={goToPage:""},n.changePage=n.changePage.bind(mt()(n)),n.changedInput=n.changedInput.bind(mt()(n)),n.validPage=n.validPage.bind(mt()(n)),n}return r()(s,[{key:"changePage",value:function(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function(){var e=this.state.goToPage,t=this.props.totalPages;return!(""===e||parseInt(e,10)<1||parseInt(e,10)>t)}},{key:"render",value:function(){var e=this.props.totalPages,t=e>1?"1-".concat(e):"1";return f().createElement("form",{className:"usa-dt-pagination__go-to"},f().createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),f().createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(e),min:"1",max:e,placeholder:t,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),f().createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),s}(f().Component);vt.propTypes=gt,vt.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var yt={changePage:h().func.isRequired,totalItems:h().number.isRequired,currentPage:h().number,pageSize:h().number,resultsText:h().oneOfType([h().bool,h().element]),limitSelector:h().bool,changeLimit:h().func,goToPage:h().bool,id:h().string};s(363);var _t=function(e){a()(s,e);var n,o,i=(n=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d()(n);if(o){var r=d()(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c()(this,e)});function s(){return t()(this,s),i.apply(this,arguments)}return r()(s,[{key:"getResultsText",value:function(){var e=this.props,t=e.resultsText,n=e.totalItems,r=e.currentPage,o=e.pageSize;if(f().isValidElement(t))return t;if(t){var a=function(e,t,n){var r=(e-1)*t+1,o=e*t;return e===Math.ceil(n/t)&&(o=n),{start:r,end:o}}(r,o,n),i=k(a.start,0),s=k(a.end,0),l=k(n,0);return f().createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(l," results"))}return null}},{key:"render",value:function(){var e=this.props,t=e.limitSelector,n=e.goToPage,r=e.changePage,o=e.changeLimit,a=e.currentPage,i=e.pageSize,s=e.totalItems,l=e.id,c=Math.ceil(s/i),u=this.getResultsText(),d=t?f().createElement(bt,{changeLimit:o,pageSize:i}):null,p=n?f().createElement(vt,{changePage:r,totalPages:c,id:l}):null;return!t&&c<=1?null:f().createElement("div",{className:"usa-dt-pagination"},u,f().createElement("div",{className:"usa-dt-pagination__wrapper"},d,f().createElement(pt,{changePage:r,totalItems:s,currentPage:a,pageSize:i}),p))}}]),s}(f().Component);_t.propTypes=yt,_t.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var xt=s(416),Et=s.n(xt),wt=s(424),kt=s.n(wt);function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;tt.name?1:0},Pt=function(e){var t=e.className,n=void 0===t?"":t,r=e.id,o=void 0===r?"":r,a=e.options,i=e.selectedOption,s=e.icon,l=void 0===s?null:s,c=e.sortFn,u=void 0===c?St:c,d=e.isFixedWidth,m=void 0!==d&&d,h=e.children,b=e.dropdownDirection,g=void 0===b?"right":b,y=e.backgroundColor,_=void 0===y?"#1a4480":y,x=e.notEnabled,E=(0,p.useRef)(null),w=(0,p.useRef)(null),k=(0,p.useState)(!1),O=kt()(k,2),N=O[0],C=O[1],T=(0,p.useState)({top:0,width:0,left:0,right:0}),S=kt()(T,2),P=S[0],j=S[1],M=function(){w.current&&E.current&&j({top:w.current.offsetHeight,width:w.current.offsetWidth,left:w.current.offsetLeft,right:E.current.offsetWidth-(w.current.offsetWidth+w.current.offsetLeft)})};return(0,p.useEffect)((function(){0!==P.width&&m&&w.current&&w.current.offsetWidth!==P.width&&M()})),(0,p.useEffect)((function(){var e=function(e){N&&E.current&&!E.current.contains(e.target)&&e.target.id!=="".concat(o,"-").concat(Ct)&&e.target.parentNode.id!=="".concat(o,"-").concat(Ct)&&C(!1)};return M(),document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[N]),f().createElement("div",{id:o,className:"usa-dt-picker ".concat(n),ref:E,style:{backgroundColor:_}},f().createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:_}},f().createElement("button",{style:{backgroundColor:_},ref:w,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function(e){e.preventDefault(),x||C(!N)}},l&&f().createElement("div",{className:"usa-dt-picker__icon"},l),h?f().createElement(f().Fragment,null,h):f().createElement(f().Fragment,null,f().createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:_}},i),f().createElement("span",{className:"usa-dt-picker__button-icon"},!N&&f().createElement(ct,{id:"".concat(o,"-").concat(Ct),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),N&&f().createElement(ct,{id:"".concat(o,"-").concat(Ct),icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),f().createElement("ul",{className:"usa-dt-picker__list ".concat(N?"":"hide"),style:function(){var e={top:"".concat(P.top,"px"),left:"".concat(P.left,"px")};return m&&"right"===g?Nt(Nt({},e),{},{width:"".concat(P.width,"px")}):m&&"left"===g?{top:e.top,right:"".concat(P.right),width:"".concat(P.width,"px")}:"left"===g?{top:e.top,right:"".concat(P.right,"px")}:e}()},a.sort((function(e,t){return u(e,t,i)})).map((function(e){return Nt(Nt({},e),{},{onClick:(t=e.onClick,function(e){t(e),C(!1)})});var t})).map((function(e){return f().createElement("li",{key:(0,v.uniqueId)(),className:"usa-dt-picker__list-item ".concat(null!=e&&e.classNames?e.classNames:"")},f().createElement("button",{className:"usa-dt-picker__item ".concat(e.name===i?"active":""),value:"".concat(e.value||e.name),onClick:function(t){t.preventDefault(),e.onClick(e.value)},onKeyDown:function(t){"reddit"===e.name&&"Tab"===t.key&&C(!N)}},e.component?e.component:e.name))})))))};Pt.propTypes=Tt;const jt=Pt;var Mt={disabled:h().bool,active:h().bool,showPeriods:h().bool,quarter:h().string,handleSelection:h().func,handleHover:h().func,handleBlur:h().func,toggleTooltip:h().func,title:h().string},It=function(e){var t=e.disabled,n=e.active,r=e.quarter,o=e.handleSelection,a=e.toggleTooltip,i=e.title,s=void 0===i?"":i,l=e.handleHover,c=e.handleBlur,u=e.showPeriods,d=void 0!==u&&u,p=s||"Q ".concat(r),m=function(){t?a(r):l(r,d?"period":"quarter")},h=function(){a(0),c(d?"period":"quarter")},b=function(e){e.preventDefault(),t||o(r)},g=t?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===r?g+="usa-dt-quarter-picker__quarter_first":"4"===r?g+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(g+="usa-dt-quarter-picker__quarter_double"),!t&&n&&(g+=" usa-dt-quarter-picker__quarter_active"),f().createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(g),onMouseDown:b,onClick:b,onMouseOver:m,onMouseEnter:m,onFocus:m,onMouseLeave:h,onBlur:h,"aria-disabled":t},p)};It.propTypes=Mt;const Rt=It;var zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,p.useState)(e),n=kt()(t,2),r=n[0],o=n[1];return[r,function(e){var t=parseInt(e,10),n=r.map((function(e){return parseInt(e,10)})).filter((function(e){return e<=t})).map((function(e){return"".concat(e)}));o(n.concat([e]))}]},At=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],qt=function(e,t){return t.some((function(t){return parseInt(t,10)>=parseInt(e,10)}))},Dt={handleSelection:h().func,selectedQuarters:h().arrayOf(h().string),disabledQuarters:h().arrayOf(h().string),selectedPeriods:h().arrayOf(h().string),disabledPeriods:h().arrayOf(h().string),periodsPerQuarter:h().arrayOf(h().arrayOf(h().shape({title:h().string,id:h().string}))),showPeriods:h().bool,isCumulative:h().bool},Lt=function(e){var t=e.handleSelection,n=e.disabledQuarters,r=void 0===n?[]:n,o=e.disabledPeriods,a=void 0===o?[]:o,i=e.periodsPerQuarter,s=void 0===i?At:i,l=e.selectedQuarters,c=void 0===l?[]:l,u=e.selectedPeriods,d=void 0===u?[]:u,m=e.showPeriods,h=void 0!==m&&m,b=e.isCumulative,g=void 0!==b&&b,y=(0,p.useState)(""),_=kt()(y,2),x=_[0],E=_[1],w=(0,p.useState)(""),k=kt()(w,2),O=k[0],N=k[1],C=function(e){"quarter"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter")?N(e):E(e)},T=function(){"quarter"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter")?N(""):E("")};return f().createElement("div",{className:"usa-dt-quarter-picker"},f().createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(e,n){var o=n+1,i="".concat(o);if(h){var l=s[n],u=l.every((function(e){return a.includes(e.id)}));return f().createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,v.uniqueId)()},f().createElement("p",{className:u?"disabled":""},"Q".concat(o)),f().createElement("ul",{className:"usa-dt-quarter-picker__period-list"},l.map((function(e){return f().createElement("li",{className:Object.keys(e).includes("className")?"".concat(e.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:(0,v.uniqueId)()},f().createElement(Rt,{showPeriods:h,quarter:e.id,title:e.title,disabled:a.includes(e.id),active:qt(e.id,d)||parseInt(x,10)>=parseInt(e.id,10),handleHover:C,handleBlur:T,handleSelection:t,toggleTooltip:function(){}}))}))))}return f().createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,v.uniqueId)()},f().createElement(Rt,{quarter:i,disabled:r.includes(i),active:g?qt(i,c)||parseInt(O,10)>=o:c.includes(i)||O===i,handleSelection:t,handleHover:C,handleBlur:T,toggleTooltip:function(){}}))}))))};Lt.propTypes=Dt;const Ft=Lt;s(670);var Bt={onSearch:h().func,minChars:h().number,isDisabled:h().bool,throttleOnChange:h().number,inputTitle:h().string,placeholder:h().string},Ht=function(e){var t=e.onSearch,n=e.minChars,r=e.isDisabled,o=e.throttleOnChange,a=e.inputTitle,i=e.placeholder,s=(0,p.useState)(""),l=kt()(s,2),c=l[0],u=l[1],d=(0,p.useState)(""),m=kt()(d,2),h=m[0],b=m[1],g=function(){u(""),t(""),b("")},y=(0,v.throttle)((function(e){return function(e,t){return!(!t||e.target.value)}(e,h)?g():u(e.target.value)}),o),_="search";return(c&&h===c||h&&c.length=0||(o[n]=e[n]);return o}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:t,e.target.value)},currentSort:i,title:t,displayName:a}))))};In.propTypes=Mn;const Rn=In;var zn={prefix:"fas",iconName:"angle-double-right",icon:[448,512,[],"f101","M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"]},An={prefix:"fas",iconName:"check-circle",icon:[512,512,[],"f058","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"]},qn={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},Dn={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"]},Ln={columns:h().arrayOf(h().object).isRequired,rows:h().arrayOf((0,m.oneOfType)([h().array,h().object])).isRequired,expandable:h().bool,divider:h().string,onClickHandler:h().func,isMobile:h().bool,atMaxLevel:h().bool},Fn=function(e){var t=e.columns,n=e.rows,r=e.expandable,o=e.divider,a=e.onClickHandler,i=e.isMobile,s=e.atMaxLevel,l=(0,p.useState)(!1),c=kt()(l,2),u=c[0],d=c[1],m=(0,p.useState)(),h=kt()(m,2),b=h[0],g=h[1],y=function(e,t){s||(i&&!u?(d(!0),g(t)):i&&u&&b===t?(a(e),d(!1)):i&&u&&b!==t?g(t):i||a(e))};return f().createElement(f().Fragment,null,n.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return r?f().createElement(Pn,{key:(0,v.uniqueId)(),data:e,oddClass:a,columns:t,divider:o}):f().createElement("tr",{key:(0,v.uniqueId)(),tabIndex:0,onClick:function(){return y(e,n)},onKeyUp:function(t){"Enter"===t.key&&(t.preventDefault(),y(e,n))},className:"usda-table__row-item usda-table__row".concat(a)},e.map((function(e,r){var o,a;return null!==(o=t[r])&&void 0!==o&&o.bodyHeader?f().createElement(Rn,Ut()({className:"table-header_body-header",key:(0,v.uniqueId)()},e)):f().createElement("td",{key:(0,v.uniqueId)(),className:"usda-table__cell".concat(null!==(a=t[r])&&void 0!==a&&a.right?" usda-table__cell_right":"")},t[r]&&f().createElement("div",{className:"usda-table__cell-heading-container"},i&&f().createElement("div",{className:"usda-table__cell-heading"},t[r].displayName),i&&u&&0===r&&b===n&&f().createElement("div",{className:"usda-table__cell-message"},"View next level"," ",f().createElement(ct,{icon:zn,color:"#2378c3"}))),e)})))})))};Fn.propTypes=Ln;const Bn=Fn;function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wn(e){for(var t=1;tr?t:r;return o<425?o-10:"bottom"===n.props.tooltipPosition?n.props.width:n.props.wide?a>800?700:a-5:n.props.width})),Et()(mt()(n),"getDimensionsForMobile",(function(e,t){return e?{top:"".concat(n.tooltipContainer.clientHeight+n.tooltipContainer.offsetTop+8,"px"),width:t,left:"".concat(n.tooltipContainer.clientWidth/2-8,"px")}:Qn(Qn({},n.state.spacerStyles),{},{width:t})})),n.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},n.showTooltip=n.showTooltip.bind(mt()(n)),n.closeTooltip=n.closeTooltip.bind(mt()(n)),n.setTooltipDimensions=(0,v.throttle)(n.setTooltipDimensions.bind(mt()(n)),16),n}return r()(s,[{key:"componentDidMount",value:function(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,v.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,v.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function(){var e=window.innerWidth,t=this.tooltipContainer,n=t.offsetLeft;return{right:e-n-t.clientWidth,left:n,total:e}}},{key:"setTooltipDimensions",value:function(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var e=this.getTooltipWidth(),t=this.getAvailableHorizontalSpace(),n=t.left,r=t.total,o=t.right,a=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,i=r<700;if("bottom"===this.props.tooltipPosition||i)this.setState({arrowDirection:"bottom",spacerStyle:Qn({},this.getDimensionsForMobile(i,e))});else if("right"===this.props.tooltipPosition&&o1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(r){n.includes(r.keyCode)&&e.apply(void 0,or()(t))}},ir={label:h().string.isRequired,internal:h().string,labelContent:h().element,active:h().bool,enabled:h().bool,switchTab:h().func,className:h().string,tooltip:h().object,count:h().number,tablessStyle:h().bool},sr=function(e){var t=(0,p.useRef)(null),n=function(){var n,r;e.enabled&&(null!=t&&t.current&&null!==(n=t.current)&&void 0!==n&&n.scrollIntoView&&(null===(r=t.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),e.switchTab(e.internal))},r=ar(n);return f().createElement("div",{className:"usa-dt-tab__wrapper".concat(e.enabled?"":" disabled").concat(e.tablessStyle?" tabless-tab":"").concat(e.active?" active":"")},f().createElement("div",{className:"usa-dt-tab".concat(e.active?" active":""," ").concat(e.className||"").concat(e.enabled?"":" disabled"),ref:t,onClick:n,onKeyDown:r,role:"tab",title:"Show ".concat(e.label),"aria-label":"Show ".concat(e.label),tabIndex:0,disabled:!e.enabled},f().createElement("div",{className:"usa-dt-tab__content"},f().createElement("div",{className:"usa-dt-tab__label"},f().createElement("div",{className:"usa-dt-tab__label-text"},e.label),e.count>=0&&f().createElement("div",{"aria-label":"Count of ".concat(w(e.count)," for ").concat(e.label),className:"count".concat(e.active?" active":"")},w(e.count)),e.tooltip&&f().createElement(Zn,{tooltipComponent:f().createElement(nr,{title:e.label},e.tooltip),icon:"info"})))))};sr.propTypes=ir;const lr=sr;s(78);var cr={types:h().arrayOf(h().shape({label:h().string.isRequired,internal:h().string.isRequired,count:h().number,disabled:h().bool,tooltip:h().element})).isRequired,active:h().string.isRequired,switchTab:h().func.isRequired,tabsClassName:h().string,tablessStyle:h().bool},ur=function(e){var t=e.types,n=e.active,r=e.switchTab,o=e.tabsClassName,a=e.tablessStyle,i=t.map((function(e){return f().createElement(lr,Ut()({},e,{active:n===e.internal,switchTab:r,key:"table-type-item-".concat(e.internal),enabled:!e.disabled,className:o,tooltip:e.tooltip,tablessStyle:a}))}));return f().createElement("div",{className:"usa-dt-tab-list".concat(a?" tabless-tabs":""),role:"tablist"},!a&&f().createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),i,f().createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};ur.propTypes=cr;const dr=ur;s(470);const pr=function(e){var t=e.className;return f().createElement(Gt,{className:"coming soon ".concat(t),title:"Coming Soon",description:"This feature is currently under development."})};var fr=function(e,t,n){if(0!==e&&!e)return null;var r=t?function(e){return g().formatMoney(e,y)}(e):w(e);if(Math.abs(e)>E){var o=function(e){var t=Math.abs(e),n=1,r="",o="";return t>=_?(n=_,r="T",o="trillion"):t>=x?(n=x,r="B",o="billion"):t>=E?(n=E,r="M",o="million"):t>=1e3&&(n=1e3,r="k",o="thousand"),{unit:n,unitLabel:r,longLabel:o}}(e);r="".concat(t?function(e,t){var n=Object.assign({},y,{precision:t});return g().formatMoney(e,n)}(e/o.unit,2):k(e/o.unit,2)," ").concat(n?(0,v.startCase)(o.longLabel):o.unitLabel)}return r},mr={2:"two",3:"three",4:"four"};s(575);var hr={boxes:h().arrayOf(h().shape({type:h().string.isRequired,title:h().oneOfType([h().string,h().element]),amount:h().number,isMonetary:h().bool,isString:h().bool,subtitle:h().string,subtitleBottom:h().string,isLoading:h().bool}))},br=function(e){var t=e.boxes,n=(0,p.useState)(window.innerWidth>1200),r=kt()(n,2),o=r[0],a=r[1],i=(0,v.throttle)((function(){return a(window.innerWidth>1200)}));return(0,p.useEffect)((function(){return i(),window.addEventListener("resize",i),function(){return window.removeEventListener("resize",i)}}),[]),f().createElement("div",{className:"usa-dt-information-boxes ".concat(mr[t.length],"-boxes")},t.map((function(e){return f().createElement("div",{key:e.type,className:"usa-dt-information-box"},f().createElement("div",{className:"usa-dt-information-box__divider"},f().createElement("div",{className:"usa-dt-information-box__content".concat(e.subtitle?" with-subtitle":"")},f().createElement("div",{className:"usa-dt-information-box__title"},e.title),e.subtitle&&f().createElement("div",{className:"usa-dt-information-box__subtitle"},e.subtitle),f().createElement("div",{className:"usa-dt-information-box__amount".concat(e.isLoading?" loading":"")},e.isLoading&&f().createElement("div",{className:"dot-pulse"}),!e.isLoading&&e.isString?e.amount:"",!e.isLoading&&!e.isString&&fr(e.amount,e.isMonetary,o)),e.subtitleBottom&&f().createElement("div",{className:"usa-dt-information-box__subtitle-bottom"},e.subtitleBottom))))})))};br.propTypes=hr;const gr=br;s(738);var vr={isControlled:!1,toggleExpand:function(){},isExpanded:!1},yr=function(e){var t=e.title,n=e.icon,r=e.children,o=e.id,a=void 0===o?"":o,i=e.classNames,s=void 0===i?"":i,l=e.isCollapsible,c=void 0!==l&&l,u=e.isComingSoon,d=void 0!==u&&u,m=e.controlledProps,h=void 0===m?vr:m,b=e.defaultExpandedState,g=void 0===b||b,v=e.overLine,y=void 0===v?"":v,_=e.titleTooltip,x=void 0===_?{tooltip:null,tooltipProps:{}}:_,E=e.descTooltip,w=void 0===E?{component:null,props:{}}:E,k=e.description,O=(0,p.useState)(g),N=kt()(O,2),C=N[0],T=N[1],S=function(){h.isControlled?h.toggleExpand():T(!C)},P=C||h.isControlled&&h.isExpanded||!c;return f().createElement("section",{id:a,className:"usda-section__container".concat(s?" ".concat(s):"")},f().createElement("div",{className:"usda-section-title__container"},n&&f().cloneElement(n,{className:"usda-section-title__title-icon"}),f().createElement("div",{className:"usda-section-title__header"},y&&f().createElement("strong",{className:"usda-section-title__overline"},y),f().createElement("div",{className:"usda-section-title__title"},f().createElement("h3",null,t),x.component&&f().createElement(Zn,Ut()({tooltipComponent:x.component,icon:"info",className:"".concat(y?"has-overline":"")},x.props)))),k&&f().cloneElement(k,{className:"usda-section-title__desc has-overline"}),w.component&&f().createElement(Zn,Ut()({tooltipComponent:w.component,icon:"info",tooltipPosition:"left"},w.props)),c&&f().createElement(ct,{tabIndex:0,onKeyDown:ar(S),className:"usda-section-title__expand-icon",onClick:S,size:"2x",icon:C||h.isControlled&&h.isExpanded?"chevron-up":"chevron-down"})),f().createElement("hr",null),d&&P&&f().createElement(pr,null),P&&!d&&r)};yr.propTypes={icon:h().element.isRequired,children:h().element.isRequired,title:h().string.isRequired,defaultExpandedState:h().bool,overLine:h().string,controlledProps:h().shape({isControlled:h().bool.isRequired,toggleExpand:h().func.isRequired,isExpanded:h().bool.isRequired}),description:h().element,titleTooltip:h().shape({component:h().element,props:h().object}),descTooltip:h().shape({component:h().element,props:h().object}),isCollapsible:h().bool,isComingSoon:h().bool,classNames:h().string,id:h().string};const _r=yr;s(27);var xr={items:h().arrayOf(h().element)},Er=function(e){var t=e.items,n=(0,p.useState)(1),r=kt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=kt()(i,2),l=s[0],c=s[1],u=(0,p.useRef)(null),d=(0,p.useRef)(0),m=(0,p.useRef)((0,v.uniqueId)()),h=(0,p.useRef)(null),b=(0,p.useRef)(null),g=function(e){return a(e)},y=function(){return g(o)};(0,p.useEffect)((function(){return window.addEventListener("resize",y),function(){return window.removeEventListener("resize",y)}}),[]),(0,p.useEffect)((function(){var e,n;l||g((e=b.current.offsetWidth,(n=Math.round(-1*d.current/e)+1)>t.length?1:n<1?t.length:n))}),[l]),(0,p.useEffect)((function(){if(h.current&&b.current){var e=b.current.offsetWidth,t=(o-1)*e*-1;d.current=t,h.current.style.transform="translate(".concat(t,"px, 0px)")}}));var _=function(){u.current=null,c(!1)},x=function(){return _()},E=function(e){var t=e-u.current;u.current=e,d.current+=t,h.current.style.transform="translate(".concat(d.current,"px, 0px)")},w=function(){l&&_()},k=function(e){e.preventDefault(),g(parseInt(e.target.value,10))};return f().createElement("div",{className:"usa-dt-carousel","aria-describedby":"".concat(m.current,"-instructions")},f().createElement("div",{id:"".concat(m.current,"-instructions"),className:"usa-dt-carousel__instructions","aria-live":"polite"},"An image carousel containing ","".concat(t.length," item").concat(1!==t.length?"s":""),", with item ",o," shown."),f().createElement("div",{className:"usa-dt-carousel-content"},f().createElement("div",{className:"usa-dt-carousel-item",onTouchStart:function(){return c(!0)},onTouchMove:function(e){if(l&&e.touches&&e.touches.length&&h){var t=e.touches[0];null===u.current?u.current=t.pageX:E(t.pageX)}},onTouchEnd:x,onTouchCancel:x,onMouseDown:function(e){e.preventDefault(),c(!0)},onMouseUp:w,onMouseLeave:w,onMouseMove:function(e){l&&(null===u.current?u.current=e.pageX:E(e.pageX))},role:"presentation",ref:b},f().createElement("div",{className:"usa-dt-carousel-item__list ".concat(l?"usa-dt-carousel-item__list_dragging":""),"aria-live":"polite",ref:h},t.map((function(e,t){return f().createElement("div",{className:"usa-dt-carousel-item__list-item",key:"".concat(t,"-the-list-item"),"aria-hidden":o!==t+1,tabIndex:-1},(0,p.cloneElement)(e,{className:"usa-dt-carousel-item__item"}))}))))),f().createElement("div",{className:"usa-dt-carousel-pager"},f().createElement("div",{className:"usa-dt-carousel-pager__list",role:"menu","aria-label":"Pagination controls for carousel items"},t.map((function(e,t){return f().createElement("button",{className:"usa-dt-carousel-pager__dot-button ".concat(t+1===o?"usa-dt-carousel-pager__dot-button_active":""),value:t+1,key:"".concat(t,"-list-item"),onClick:k,"aria-label":"Skip to carousel item ".concat(t+1),"aria-checked":t+1===o,role:"menuitemradio"},f().createElement("div",{className:"usa-dt-carousel-pager__dot-decorator"}))})))))};Er.propTypes=xr;const wr=Er;var kr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,p.useState)(0),r=kt()(n,2),o=r[0],a=r[1],i=(0,p.useState)(!1),s=kt()(i,2),l=s[0],c=s[1];return[l,o,c,(0,v.throttle)((function(){var e=window.scrollY||document.documentElement.scrollTop;t&&e>=t&&!l||!t&&e>=o&&!l?c(!0):(e<=t||e<=o)&&c(!1)}),100),(0,v.throttle)((function(){var t=e.current?e.current.offsetTop:0;a(t)}),100)]};s(171);var Or=function(e){var t=e.title,n=e.overLine,r=void 0===n?"":n,o=e.stickyBreakPoint,a=void 0===o?0:o,i=e.toolBar,s=void 0===i?[]:i,l=e.backgroundColor,c=void 0===l?"#1a4480":l,u=(0,p.useRef)(null),d=kr(u,a),m=kt()(d,5),h=m[0],b=m[3],g=m[4];(0,p.useEffect)((function(){return g(),window.addEventListener("scroll",b),window.addEventListener("resize",g),function(){window.removeEventListener("scroll",b),window.removeEventListener("resize",g)}}));var v,y,_=h?" usda-page-header--sticky":"";return f().createElement("section",{className:"usda-page-header".concat(_),ref:u,style:{backgroundColor:c}},f().createElement("div",{className:"usda-page-header__container"},f().createElement("div",{className:"usda-page-header__mobile-top"},f().createElement("div",{className:"usda-page-header__header"},r&&f().createElement("strong",{className:"usda-page-header__overline"},r),f().createElement("div",{className:"usda-page-header__title"},f().createElement("h1",null,t))),(y=null==s?void 0:s.find((function(e){return"Share Icon"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(y):null,(v=null==s?void 0:s.find((function(e){return"ATDButton"===(null==e?void 0:e.type.displayName)})))?f().cloneElement(v):null),f().createElement("hr",null),(null==s?void 0:s.length)>0&&f().createElement("div",{className:"usda-page-header__toolbar"},s.map((function(e){var t,n,r,o="".concat(null===(t=e.props)||void 0===t?void 0:t.className," ").concat(null===(n=e.props)||void 0===n?void 0:n.classNames),a="".concat(null===(r=e.props)||void 0===r?void 0:r.classNames);return o?f().cloneElement(e,{className:"".concat(o," toolbar__item")}):a?f().cloneElement(e,{classNames:"".concat(a," toolbar__item")}):f().cloneElement(e,{className:"toolbar__item",classNames:"toolbar__item"})})))))};Or.propTypes={stickyBreakPoint:h().number,overLine:h().string,title:h().string.isRequired,toolBar:h().arrayOf(h().element)};const Nr=Or;s(161);var Cr={onClick:h().func.isRequired,downloadInFlight:h().bool,tooltipComponent:h().element,isEnabled:h().bool,tooltipPosition:h().string},Tr=function(e){var t=e.onClick,n=e.downloadInFlight,r=e.tooltipComponent,o=void 0===r?null:r,a=e.tooltipPosition,i=void 0===a?"left":a,s=e.isEnabled,l=void 0===s||s,c=e.backgroundColor,u=void 0===c?"#1a4480":c,d=function(e){e.preventDefault(),!n&&l&&t()},p=n||!l?" disabled":"",m=n?"Preparing Download...":"Download",h=n?Dn:qn;return o?f().createElement(Zn,{className:"usda-download-btn".concat(p),tooltipPosition:i,tooltipComponent:o},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ct,{icon:h,spin:n,color:"#dfe1e2"})),f().createElement("span",{style:{color:"#dfe1e2"}},m)):f().createElement("div",{className:"usda-download-btn".concat(p)},f().createElement("button",{className:"usda-button",title:m,"aria-label":m,disabled:n,onClick:d,style:{backgroundColor:u}},f().createElement(ct,{icon:h,spin:n})),f().createElement("span",null,m))};Tr.displayName="Download Icon Button",Tr.propTypes=Cr;const Sr=Tr;var Pr={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]};function jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:2008,t=arguments.length>1?arguments[1]:void 0;return or()(new Array(t-e)).reduce((function(t,n,r){return t.push(e+r+1),t}),[e]).sort((function(e,t){return t-e}))}(i,n).map((function(e){return{name:"FY ".concat(e),value:"".concat(e),onClick:u}})):[{name:"Loading fiscal years...",value:null,onClick:function(){}}]}),f().createElement("span",null,"Fiscal Year"))};Rr.displayName="Fiscal Year Picker",Rr.propTypes={backgroundColor:h().string,selectedFy:h().oneOfType([h().number,h().string]),earliestFy:h().number,latestFy:h().number,options:h().arrayOf(h().shape({name:h().oneOfType([h().string,h().number]),value:h().oneOfType([h().string,h().number])})),handleFyChange:h().func,sortFn:h().func};const zr=Rr;var Ar=function(e){var t=e.icon,n=e.title;return f().createElement(f().Fragment,null,f().createElement(ct,{icon:t,color:"#555",size:"sm"}),f().createElement("span",null,n))},qr=[{component:f().createElement(Ar,{icon:{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},title:"Copy link"}),name:"copy"},{component:f().createElement(Ar,{icon:{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},title:"Email"}),name:"email"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},title:"Twitter"}),name:"twitter"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"facebook-square",icon:[448,512,[],"f082","M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]},title:"Facebook"}),name:"facebook"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},title:"LinkedIn"}),name:"linkedin"},{component:f().createElement(Ar,{icon:{prefix:"fab",iconName:"reddit-square",icon:[448,512,[],"f1a2","M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"]},title:"Reddit"}),name:"reddit"}];function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lr(e){for(var t=1;t Date: Tue, 22 Aug 2023 15:01:49 -0500 Subject: [PATCH 3/4] run build --- docs/iframe.html | 2 +- docs/main.b3b0918b.iframe.bundle.js | 1 - docs/main.ba98426f.iframe.bundle.js | 1 + docs/project.json | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 docs/main.b3b0918b.iframe.bundle.js create mode 100644 docs/main.ba98426f.iframe.bundle.js diff --git a/docs/iframe.html b/docs/iframe.html index b75c03f8..07da8e22 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -361,4 +361,4 @@ - window['STORIES'] = [{"titlePrefix":"","directory":"./.storybook","files":"**/stories/*.stories.@(mdx|js)","importPathMatcher":"^\\.[\\\\/](?:\\.storybook(?:[\\\\/](?!\\.)(?:(?:(?!(?:^|[\\\\/])\\.).)*?)[\\\\/]|[\\\\/]|$)stories[\\\\/](?!\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx|js))$"}]; \ No newline at end of file + window['STORIES'] = [{"titlePrefix":"","directory":"./.storybook","files":"**/stories/*.stories.@(mdx|js)","importPathMatcher":"^\\.[\\\\/](?:\\.storybook(?:[\\\\/](?!\\.)(?:(?:(?!(?:^|[\\\\/])\\.).)*?)[\\\\/]|[\\\\/]|$)stories[\\\\/](?!\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx|js))$"}]; \ No newline at end of file diff --git a/docs/main.b3b0918b.iframe.bundle.js b/docs/main.b3b0918b.iframe.bundle.js deleted file mode 100644 index 843d76a7..00000000 --- a/docs/main.b3b0918b.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdata_transparency_ui=self.webpackChunkdata_transparency_ui||[]).push([[179],{"./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$":function(module,__unused_webpack_exports,__webpack_require__){var map={"./stories/SearchBar.stories.mdx":"./.storybook/stories/SearchBar.stories.mdx","./stories/button.stories.mdx":"./.storybook/stories/button.stories.mdx","./stories/card.stories.mdx":"./.storybook/stories/card.stories.mdx","./stories/carousel.stories.mdx":"./.storybook/stories/carousel.stories.mdx","./stories/fiscalYearPicker.stories.js":"./.storybook/stories/fiscalYearPicker.stories.js","./stories/flexGridCol.stories.mdx":"./.storybook/stories/flexGridCol.stories.mdx","./stories/flexGridContainer.stories.mdx":"./.storybook/stories/flexGridContainer.stories.mdx","./stories/flexGridRow.stories.mdx":"./.storybook/stories/flexGridRow.stories.mdx","./stories/informationBoxes.stories.mdx":"./.storybook/stories/informationBoxes.stories.mdx","./stories/introduction.stories.mdx":"./.storybook/stories/introduction.stories.mdx","./stories/message.stories.mdx":"./.storybook/stories/message.stories.mdx","./stories/page-header.stories.mdx":"./.storybook/stories/page-header.stories.mdx","./stories/pagination.stories.mdx":"./.storybook/stories/pagination.stories.mdx","./stories/picker.stories.mdx":"./.storybook/stories/picker.stories.mdx","./stories/quarterPicker.stories.mdx":"./.storybook/stories/quarterPicker.stories.mdx","./stories/section-title.stories.mdx":"./.storybook/stories/section-title.stories.mdx","./stories/table.stories.mdx":"./.storybook/stories/table.stories.mdx","./stories/tabs.stories.mdx":"./.storybook/stories/tabs.stories.mdx","./stories/tooltip.stories.mdx":"./.storybook/stories/tooltip.stories.mdx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$"},"./.storybook/misc.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AB:function(){return PickerWrapper},I1:function(){return ExampleTooltip},M_:function(){return QuarterPickerCumulative},Nl:function(){return PaginationWrapper},T8:function(){return BasicTableWrapper},aK:function(){return QuarterPickerWrapper},gz:function(){return QuarterPickerWithPeriods},tS:function(){return TabsWrapper},u:function(){return Tooltip},y6:function(){return TableWrapper}});var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_10__=(__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/react/index.js")),_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./components/quarterPicker/QuarterPicker.jsx"),Tooltip=function Tooltip(){return react__WEBPACK_IMPORTED_MODULE_10__.createElement(_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__.Z,{title:"An Example Tooltip",textAlign:{title:"left",text:"left"}},react__WEBPACK_IMPORTED_MODULE_10__.createElement(react__WEBPACK_IMPORTED_MODULE_10__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Here are some random words serving the purpose of illustrating how the tooltip component works"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Its really pretty neat and easy to use. I think you are gonna like it a ton."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"You are welcome."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("strong",null,"Some Bold Text That is like a Header"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Some text that is not apart of the header but underneath it."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("ul",null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("strong",null,"Some Bold Text That is like a Header")," -- Some List Item")),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"More Paragraph")))};Tooltip.displayName="Tooltip";var PaginationWrapper=function PaginationWrapper(props){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(1),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState,2),page=_useState2[0],changePage=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(10),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState3,2),pageSize=_useState4[0],changeLimit=_useState4[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({changePage:function handlePageChange(pg){console.log("changePage handler invoked w/ this parameter: ",pg),changePage(pg)},currentPage:page,changeLimit:function handleChangeLimit(pageSize){console.log("changeLimit handler invoked w/ this parameter: ",pageSize),changeLimit(pageSize)},pageSize:pageSize},props)))};PaginationWrapper.displayName="PaginationWrapper";var QuarterPickerWrapper=function QuarterPickerWrapper(props){var _useState5=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(["1"]),_useState6=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState5,2),selectedQuarters=_useState6[0],setSelectedQuarters=_useState6[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:function handlePickQuarter(newlySelected){selectedQuarters.includes(newlySelected)?setSelectedQuarters(selectedQuarters.filter((function(quarter){return quarter!==newlySelected}))):setSelectedQuarters((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__.Z)(new Set([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__.Z)(selectedQuarters),[newlySelected]))))},selectedQuarters:selectedQuarters},props)))};QuarterPickerWrapper.displayName="QuarterPickerWrapper";var QuarterPickerCumulative=function QuarterPickerCumulative(props){var _useCumulativeQuarter=(0,_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__.u)(["1"]),_useCumulativeQuarter2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useCumulativeQuarter,2),selectedQuarters=_useCumulativeQuarter2[0],handleSelection=_useCumulativeQuarter2[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:handleSelection,selectedQuarters:selectedQuarters},props)))};QuarterPickerCumulative.displayName="QuarterPickerCumulative";var QuarterPickerWithPeriods=function QuarterPickerWithPeriods(props){var _useCumulativeQuarter3=(0,_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__.u)(["2"]),_useCumulativeQuarter4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useCumulativeQuarter3,2),selectedPeriods=_useCumulativeQuarter4[0],handleSelection=_useCumulativeQuarter4[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:handleSelection,selectedPeriods:selectedPeriods},props)))};QuarterPickerWithPeriods.displayName="QuarterPickerWithPeriods";var PickerWrapper=function PickerWrapper(props){var _useState7=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("All"),_useState8=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState7,2),selectedOption=_useState8[0],onClick=_useState8[1],options=[{name:"All",onClick:onClick},{name:"Department of Transportation",onClick:onClick},{name:"Department of State",onClick:onClick},{name:"Department of International Affairs",onClick:onClick},{name:"National Credit Union Administration",onClick:onClick},{name:"Federal Breau of Invesitgation",onClick:onClick},{name:"Department of Health and Human Services",onClick:onClick}];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({selectedOption:selectedOption,onClick:onClick,options:options},props.children.props)))};PickerWrapper.displayName="PickerWrapper";var mockColumns=[{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount",right:!0},{title:"percent",displayName:"% of Total Amount",right:!0}],TableWrapper=function TableWrapper(props){var _useState9=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("amount"),_useState10=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState9,2),field=_useState10[0],updateField=_useState10[1],_useState11=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("desc"),_useState12=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState11,2),direction=_useState12[0],updateDirection=_useState12[1],currentSort={field:field,direction:direction};return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container table-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({updateSort:function updateSort(field,direction){console.log("update sort invoked with "+field+", "+direction),updateField(field),updateDirection(direction)},currentSort:currentSort,columns:props.columns?props.columns:mockColumns},props.children.props)))};TableWrapper.displayName="TableWrapper";var BasicTableWrapper=function BasicTableWrapper(props){return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container table-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({columns:mockColumns},props.children.props)))};BasicTableWrapper.displayName="BasicTableWrapper";var TabsWrapper=function TabsWrapper(props){var _useState13=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("name"),_useState14=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState13,2),activeTab=_useState14[0],setActiveTab=_useState14[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container tabs-story",style:{width:"100%",paddingLeft:"0"}},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({switchTab:setActiveTab,active:activeTab},props.children.props)))};TabsWrapper.displayName="TabsWrapper";var TabsWrapperShowTooltip=function TabsWrapperShowTooltip(props){var _useState15=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("name"),_useState16=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState15,2),activeTab=_useState16[0],setActiveTab=_useState16[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container tabs-story tabs-story-show-tooltip",style:{width:"100%",paddingLeft:"0"}},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({switchTab:setActiveTab,active:activeTab},props.children.props)))};TabsWrapperShowTooltip.displayName="TabsWrapperShowTooltip";var ExampleTooltip=function ExampleTooltip(){return react__WEBPACK_IMPORTED_MODULE_10__.createElement(_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__.Z,{title:"Details"},react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Here is some sample content."))};ExampleTooltip.displayName="ExampleTooltip";Tooltip.__docgenInfo={description:"",methods:[],displayName:"Tooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"Tooltip",docgenInfo:Tooltip.__docgenInfo,path:".storybook\\misc.jsx"}),PaginationWrapper.__docgenInfo={description:"",methods:[],displayName:"PaginationWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"PaginationWrapper",docgenInfo:PaginationWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerWrapper.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerWrapper",docgenInfo:QuarterPickerWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerCumulative.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerCumulative"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerCumulative",docgenInfo:QuarterPickerCumulative.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerWithPeriods.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerWithPeriods"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerWithPeriods",docgenInfo:QuarterPickerWithPeriods.__docgenInfo,path:".storybook\\misc.jsx"}),PickerWrapper.__docgenInfo={description:"",methods:[],displayName:"PickerWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"PickerWrapper",docgenInfo:PickerWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TableWrapper.__docgenInfo={description:"",methods:[],displayName:"TableWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TableWrapper",docgenInfo:TableWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),BasicTableWrapper.__docgenInfo={description:"",methods:[],displayName:"BasicTableWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"BasicTableWrapper",docgenInfo:BasicTableWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TabsWrapper.__docgenInfo={description:"",methods:[],displayName:"TabsWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TabsWrapper",docgenInfo:TabsWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TabsWrapperShowTooltip.__docgenInfo={description:"",methods:[],displayName:"TabsWrapperShowTooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TabsWrapperShowTooltip",docgenInfo:TabsWrapperShowTooltip.__docgenInfo,path:".storybook\\misc.jsx"}),ExampleTooltip.__docgenInfo={description:"",methods:[],displayName:"ExampleTooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"ExampleTooltip",docgenInfo:ExampleTooltip.__docgenInfo,path:".storybook\\misc.jsx"})},"./.storybook/preview.js-generated-config-entry.js":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject);__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/addon-console/dist/index.js"),client=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js"),esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),preview=__webpack_require__("./node_modules/@storybook/addon-viewport/dist/esm/preview.js"),index_es=__webpack_require__("./node_modules/@fortawesome/fontawesome-svg-core/index.es.js"),free_solid_svg_icons_index_es=__webpack_require__("./node_modules/@fortawesome/free-solid-svg-icons/index.es.js");(0,__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js").Ue)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"});function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}index_es.vI.add(free_solid_svg_icons_index_es.gc2,free_solid_svg_icons_index_es.EyR,free_solid_svg_icons_index_es.yOZ,free_solid_svg_icons_index_es.FL8,free_solid_svg_icons_index_es.P88,free_solid_svg_icons_index_es.IV4,free_solid_svg_icons_index_es.eW2,free_solid_svg_icons_index_es.Uu6,free_solid_svg_icons_index_es.I4f,free_solid_svg_icons_index_es.l1h,free_solid_svg_icons_index_es.heh,free_solid_svg_icons_index_es.koM,free_solid_svg_icons_index_es.OS1,free_solid_svg_icons_index_es.a3n,free_solid_svg_icons_index_es.ptq,free_solid_svg_icons_index_es.mTx,free_solid_svg_icons_index_es._tD,free_solid_svg_icons_index_es.cNd,free_solid_svg_icons_index_es.eHv,free_solid_svg_icons_index_es.Xjp,free_solid_svg_icons_index_es.iGi,free_solid_svg_icons_index_es.YHc,free_solid_svg_icons_index_es.sqG,free_solid_svg_icons_index_es.wDC,free_solid_svg_icons_index_es.TX0,free_solid_svg_icons_index_es.FGq,free_solid_svg_icons_index_es.El_,free_solid_svg_icons_index_es.UJf,free_solid_svg_icons_index_es.wn1,free_solid_svg_icons_index_es.Hw7,free_solid_svg_icons_index_es.LM3,free_solid_svg_icons_index_es.pL1,free_solid_svg_icons_index_es.B3e,free_solid_svg_icons_index_es.LEN,free_solid_svg_icons_index_es.Toy,free_solid_svg_icons_index_es.NBC,free_solid_svg_icons_index_es.Cv1,free_solid_svg_icons_index_es.EfQ,free_solid_svg_icons_index_es.Mzo),(0,client.addParameters)({docs:{container:esm.Zu,page:esm.kO},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=(0,slicedToArray.Z)(a,2),obj=(_a[0],_a[1]),_b=(0,slicedToArray.Z)(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:"Introduction"===obj2.kind?1:"Components/Flex Grid/Flex Grid Container"===obj.kind||"Components/Flex Grid/Flex Grid Row"===obj.kind||"Components/Flex Grid/Flex Grid Col"===obj2.kind?0:1},showAddonPanel:!0},viewport:{viewports:preview.p},a11y:{element:"#root",config:{},options:{},manual:!0}}),(0,client.addDecorator)((function(storyFn){return react.createElement("div",{style:{width:"100%"}},storyFn())}),(function(storyFn,context){return(0,dist.A5)()(storyFn)(context)})),Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return(0,ClientApi.uc)(value);case"argTypes":return(0,ClientApi.v9)(value);case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:2008,latestYear=arguments.length>1?arguments[1]:void 0;return(0,toConsumableArray.Z)(new Array(latestYear-earliestYear)).reduce((function(listOfYears,_,i){return listOfYears.push(earliestYear+i+1),listOfYears}),[earliestYear]).sort((function(a,b){return b-a}))}(earliestFy,latestFy).map((function(year){return{name:"FY "+year,value:""+year,onClick:handleFyChange}})):[{name:"Loading fiscal years...",value:null,onClick:function onClick(){}}]}()}),react.createElement("span",null,"Fiscal Year"))};FiscalYearPicker.displayName="FiscalYearPicker",FiscalYearPicker.displayName="Fiscal Year Picker",FiscalYearPicker.propTypes={backgroundColor:prop_types_default().string,selectedFy:prop_types_default().oneOfType([prop_types_default().number,prop_types_default().string]),earliestFy:prop_types_default().number,latestFy:prop_types_default().number,options:prop_types_default().arrayOf(prop_types_default().shape({name:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().number]),value:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().number])})),handleFyChange:prop_types_default().func,sortFn:prop_types_default().func},FiscalYearPicker.__docgenInfo={description:"",methods:[],displayName:"Fiscal Year Picker",props:{selectedFy:{defaultValue:{value:"2020",computed:!1},description:"",type:{name:"union",value:[{name:"number"},{name:"string"}]},required:!1},earliestFy:{defaultValue:{value:"2017",computed:!1},description:"",type:{name:"number"},required:!1},options:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"union",value:[{name:"string"},{name:"number"}],required:!1},value:{name:"union",value:[{name:"string"},{name:"number"}],required:!1}}}},required:!1},handleFyChange:{defaultValue:{value:"() => { }",computed:!1},description:"",type:{name:"func"},required:!1},sortFn:{defaultValue:{value:"(a, b) => {\r\n if (Number.isInteger(a)) return b - a;\r\n return parseInt(b, 10) - parseInt(a, 10);\r\n}",computed:!1},description:"",type:{name:"func"},required:!1},backgroundColor:{description:"",type:{name:"string"},required:!1},latestFy:{description:"",type:{name:"number"},required:!1}}};var components_FiscalYearPicker=FiscalYearPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\FiscalYearPicker.jsx"]={name:"FiscalYearPicker",docgenInfo:FiscalYearPicker.__docgenInfo,path:"components\\FiscalYearPicker.jsx"})},"./components/Picker.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),lodash__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/lodash/lodash.js");__webpack_require__("./styles/components/_picker.scss");var fontAwesomeIconId="usa-dt-picker__button-icon--svg",propTypes={sortFn:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func,icon:prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,selectedOption:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,prop_types__WEBPACK_IMPORTED_MODULE_7___default().string]),className:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,id:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,options:prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_7___default().shape({name:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,prop_types__WEBPACK_IMPORTED_MODULE_7___default().node]),value:prop_types__WEBPACK_IMPORTED_MODULE_7___default().any,onClick:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func,classNames:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string})),dropdownDirection:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOf(["left","right"]),isFixedWidth:prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool,children:prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,backgroundColor:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,notEnabled:prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool},defaultSort=function defaultSort(a,b,selectedOption){return a.name===selectedOption?-1:b.name===selectedOption?1:a.nameb.name?1:0},Picker=function Picker(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,_ref$backgroundColor=_ref.backgroundColor,backgroundColor=void 0===_ref$backgroundColor?"#1a4480":_ref$backgroundColor,notEnabled=_ref.notEnabled,pickerRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null),buttonRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null),_useState=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!1),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.Z)(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({top:0,width:0,left:0,right:0}),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.Z)(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],handleSetDimensions=function handleSetDimensions(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){var closeMenu=function closeMenu(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!==id+"-"+fontAwesomeIconId&&e.target.parentNode.id!==id+"-"+fontAwesomeIconId&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);var createOnClickFn=function createOnClickFn(cb){return function(param){cb(param),setExpanded(!1)}};return react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{id:id,className:"usa-dt-picker "+className,ref:pickerRef,style:{backgroundColor:backgroundColor}},react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:backgroundColor}},react__WEBPACK_IMPORTED_MODULE_4__.createElement("button",{style:{backgroundColor:backgroundColor},ref:buttonRef,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function toggleMenu(e){e.preventDefault(),notEnabled||setExpanded(!expanded)}},icon&&react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{className:"usa-dt-picker__icon"},icon),children?react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment,null,children):react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4__.createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:backgroundColor}},selectedOption),react__WEBPACK_IMPORTED_MODULE_4__.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react__WEBPACK_IMPORTED_MODULE_4__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__.G,{id:id+"-"+fontAwesomeIconId,icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react__WEBPACK_IMPORTED_MODULE_4__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__.G,{id:id+"-"+fontAwesomeIconId,icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),react__WEBPACK_IMPORTED_MODULE_4__.createElement("ul",{className:"usa-dt-picker__list "+(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:dimensions.top+"px",left:dimensions.left+"px"};return isFixedWidth&&"right"===dropdownDirection?Object.assign({},styles,{width:dimensions.width+"px"}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:""+dimensions.right,width:dimensions.width+"px"}:"left"===dropdownDirection?{top:styles.top,right:dimensions.right+"px"}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return Object.assign({},option,{onClick:createOnClickFn(option.onClick)})})).map((function(option){return react__WEBPACK_IMPORTED_MODULE_4__.createElement("li",{key:(0,lodash__WEBPACK_IMPORTED_MODULE_6__.uniqueId)(),className:"usa-dt-picker__list-item "+(null!=option&&option.classNames?option.classNames:"")},react__WEBPACK_IMPORTED_MODULE_4__.createElement("button",{className:"usa-dt-picker__item "+(option.name===selectedOption?"active":""),value:""+(option.value||option.name),onClick:function onClick(e){e.preventDefault(),option.onClick(option.value)}},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},id:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},icon:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"node"},required:!1},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\r\n // if no sort fn is provided, sort active element to lowest index\r\n if (a.name === selectedOption) return -1;\r\n if (b.name === selectedOption) return 1;\r\n // then, sort alphabetically\r\n if (a.name < b.name) return -1;\r\n if (a.name > b.name) return 1;\r\n return 0;\r\n}",computed:!1},description:"",type:{name:"func"},required:!1},isFixedWidth:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},description:"",type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1},backgroundColor:{defaultValue:{value:"'#1a4480'",computed:!1},description:"",type:{name:"string"},required:!1},selectedOption:{description:"",type:{name:"union",value:[{name:"node"},{name:"string"}]},required:!1},options:{description:"",type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"union",value:[{name:"string"},{name:"node"}],required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1},classNames:{name:"string",required:!1}}}},required:!1},children:{description:"",type:{name:"node"},required:!1},notEnabled:{description:"",type:{name:"bool"},required:!1}}},__webpack_exports__.Z=Picker,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components\\Picker.jsx"})},"./components/flexGrid/FlexGridCol.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridCol}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./helpers/flexGridHelper.js"),_excluded=["children","className","desktopxl","desktop","mobile","tablet","width"];function GridCol(_ref){var children=_ref.children,className=_ref.className,desktopxl=_ref.desktopxl,desktop=_ref.desktop,mobile=_ref.mobile,tablet=_ref.tablet,width=_ref.width,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__.Z)(_ref,_excluded),baseClasses=[[null,width],["desktopxl",desktopxl],["desktop",desktop],["tablet",tablet],["mobile",mobile]].map((function generateClass(_ref2){var _ref3=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__.Z)(_ref2,2),breakpoint=_ref3[0],colWidth=_ref3[1];if(void 0!==colWidth){if(void 0!==colWidth.span&&void 0!==colWidth.offset){var spanClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth.span,offsetClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__offset-"+colWidth.offset;return(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([spanClass,offsetClass])}if(void 0!==colWidth.order){var _spanClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth.span,orderClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__order-"+colWidth.order;return(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([_spanClass,orderClass])}return(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth}return""})),allClasses=(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(baseClasses),[className]));return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_7__.Z)({className:allClasses||"usa-dt-flex-grid__col"},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridCol.displayName="GridCol",GridCol.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_8___default().node,className:prop_types__WEBPACK_IMPORTED_MODULE_8___default().string,desktopxl:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),desktop:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),tablet:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),mobile:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),width:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})])},GridCol.__docgenInfo={description:"",methods:[],displayName:"GridCol",props:{children:{description:"",type:{name:"node"},required:!1},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1},desktopxl:{description:"",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},desktop:{description:"Width to use at the desktop breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},tablet:{description:"Width to use at the tablet breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},mobile:{description:"Width to use at the mobile breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},width:{description:"Default width to use",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridCol.jsx"]={name:"GridCol",docgenInfo:GridCol.__docgenInfo,path:"components\\flexGrid\\FlexGridCol.jsx"})},"./components/flexGrid/FlexGridContainer.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridContainer}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./helpers/flexGridHelper.js"),_excluded=["children","className"];function GridContainer(_ref){var children=_ref.children,className=_ref.className,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.Z)(_ref,_excluded);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__.Z)({className:(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__.V)(["usa-dt-flex-grid__container",className])},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridContainer.displayName="GridContainer",GridContainer.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_4___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string},GridContainer.__docgenInfo={description:"",methods:[],displayName:"GridContainer",props:{children:{description:"",type:{name:"node"},required:!0},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridContainer.jsx"]={name:"GridContainer",docgenInfo:GridContainer.__docgenInfo,path:"components\\flexGrid\\FlexGridContainer.jsx"})},"./components/flexGrid/FlexGridRow.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridRow}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./helpers/flexGridHelper.js"),classnames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__),_excluded=["children","className","hasGutter","gutterSize"];function GridRow(_ref){var children=_ref.children,className=_ref.className,hasGutter=_ref.hasGutter,gutterSize=_ref.gutterSize,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,_excluded),gutterClass=hasGutter?"usa-dt-flex-grid__gutter":"",gutterSizeClass=classnames__WEBPACK_IMPORTED_MODULE_2___default()({"usa-dt-flex-grid__gutter-sm":"sm"===gutterSize,"usa-dt-flex-grid__gutter-lg":"lg"===gutterSize});return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_4__.Z)({className:(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__.V)(["usa-dt-flex-grid__row",gutterClass,gutterSizeClass,className])},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridRow.displayName="GridRow",GridRow.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_5___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_5___default().string,hasGutter:prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool,gutterSize:prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(["sm","lg"])},GridRow.defaultProps={hasGutter:!1},GridRow.__docgenInfo={description:"",methods:[],displayName:"GridRow",props:{hasGutter:{defaultValue:{value:"false",computed:!1},description:"Should the row have gutters between its columns?",type:{name:"bool"},required:!1},children:{description:"",type:{name:"node"},required:!0},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1},gutterSize:{description:"Size of the gutter.\r\nThe `hasGutter` prop must be `true` for this to have an effect.",type:{name:"enum",value:[{value:'"sm"',computed:!1},{value:'"lg"',computed:!1}]},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridRow.jsx"]={name:"GridRow",docgenInfo:GridRow.__docgenInfo,path:"components\\flexGrid\\FlexGridRow.jsx"})},"./components/infoTooltip/TooltipComponent.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),propTypes={title:prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired,children:prop_types__WEBPACK_IMPORTED_MODULE_2___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_2___default().string,textAlign:prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({title:prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(["center","left"]),text:prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(["center","left"])})},TooltipComponent=function TooltipComponent(_ref){var _cx,children=_ref.children,title=_ref.title,className=_ref.className,textAlign=_ref.textAlign;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()((_cx={},_cx[className]=null!==className,_cx))},react__WEBPACK_IMPORTED_MODULE_0__.createElement("h1",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("tooltip__title",textAlign.title)},title),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("tooltip__text",textAlign.text)},children))};TooltipComponent.displayName="TooltipComponent",TooltipComponent.propTypes=propTypes,TooltipComponent.defaultProps={className:null,textAlign:{title:"left",text:"left"}},TooltipComponent.__docgenInfo={description:"",methods:[],displayName:"TooltipComponent",props:{className:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"string"},required:!1},textAlign:{defaultValue:{value:"{\r\n title: 'left',\r\n text: 'left'\r\n}",computed:!1},description:"",type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1},title:{description:"",type:{name:"string"},required:!0},children:{description:"",type:{name:"node"},required:!0}}},__webpack_exports__.Z=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\infoTooltip\\TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components\\infoTooltip\\TooltipComponent.jsx"})},"./components/infoTooltip/TooltipWrapper.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return TooltipWrapper}});__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js");var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),react__WEBPACK_IMPORTED_MODULE_8__=(__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_12__),lodash__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/lodash/lodash.js"),classnames__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js");function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__.Z)(this,result)}}__webpack_require__("./styles/components/infoTooltip/_tooltipWrapper.scss");var propTypes={className:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,children:prop_types__WEBPACK_IMPORTED_MODULE_12___default().element,tooltipComponent:prop_types__WEBPACK_IMPORTED_MODULE_12___default().element,tooltipPosition:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,wide:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool,icon:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,width:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,controlledProps:prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({isControlled:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool,showTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,closeTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,isVisible:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool}),offsetAdjustments:prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({top:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,right:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,left:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number}),styles:prop_types__WEBPACK_IMPORTED_MODULE_12___default().object,onMouseMoveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,onMouseLeaveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func},defaultProps={className:null,children:null,toolTipComponent:null,tooltipPosition:"right",wide:!1,icon:"",controlledProps:{isControlled:!1,showTooltip:function showTooltip(){},closeTooltip:function closeTooltip(){},isVisible:!1},width:375,offsetAdjustments:{top:-15,right:0,left:0},styles:{}},tooltipIcons={info:react__WEBPACK_IMPORTED_MODULE_8__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_11__.G,{className:"tooltip__icon",icon:"info-circle"})},TooltipWrapper=function(_React$Component){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(TooltipWrapper,_React$Component);var _super=_createSuper(TooltipWrapper);function TooltipWrapper(props){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__.Z)(this,TooltipWrapper),(_this=_super.call(this,props)).onMouseMoveTooltip=function(){_this.props.onMouseMoveTooltip?_this.props.onMouseMoveTooltip():_this.props.controlledProps.isControlled?_this.props.controlledProps.showTooltip():_this.state.isHoveringOnTooltip||_this.setState({isHoveringOnTooltip:!0})},_this.onMouseLeaveTooltip=function(){_this.props.onMouseLeaveTooltip?_this.props.onMouseLeaveTooltip():_this.state.isHoveringOnTooltip&&_this.setState({isHoveringOnTooltip:!1})},_this.getTooltipWidth=function(){var _this$getAvailableHor=_this.getAvailableHorizontalSpace(),spaceToRight=_this$getAvailableHor.right,spaceToLeft=_this$getAvailableHor.left,total=_this$getAvailableHor.total,greatestSpace=spaceToRight>spaceToLeft?spaceToRight:spaceToLeft;return total<425?total-10:"bottom"===_this.props.tooltipPosition?_this.props.width:_this.props.wide?greatestSpace>800?700:greatestSpace-5:_this.props.width},_this.getDimensionsForMobile=function(isMobile,width){return isMobile?{top:_this.tooltipContainer.clientHeight+_this.tooltipContainer.offsetTop+8+"px",width:width,left:_this.tooltipContainer.clientWidth/2-8+"px"}:Object.assign({},_this.state.spacerStyles,{width:width})},_this.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},_this.showTooltip=_this.showTooltip.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),_this.closeTooltip=_this.closeTooltip.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),_this.setTooltipDimensions=(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(_this.setTooltipDimensions.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),16),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_16__.Z)(TooltipWrapper,[{key:"componentDidMount",value:function componentDidMount(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function getAvailableHorizontalSpace(){var totalSpace=window.innerWidth,_this$tooltipContaine=this.tooltipContainer,tooltipContainerLeftPosition=_this$tooltipContaine.offsetLeft;return{right:totalSpace-tooltipContainerLeftPosition-_this$tooltipContaine.clientWidth,left:tooltipContainerLeftPosition,total:totalSpace}}},{key:"setTooltipDimensions",value:function setTooltipDimensions(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var tooltipWidth=this.getTooltipWidth(),_this$getAvailableHor2=this.getAvailableHorizontalSpace(),spaceToLeft=_this$getAvailableHor2.left,total=_this$getAvailableHor2.total,spaceToRight=_this$getAvailableHor2.right,offsetTop=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,isMobile=total<700;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:Object.assign({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("right"===this.props.tooltipPosition&&spaceToRight {},\r\n closeTooltip: () => {},\r\n isVisible: false\r\n}",computed:!1},description:"",type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1},width:{defaultValue:{value:"375",computed:!1},description:"",type:{name:"number"},required:!1},offsetAdjustments:{defaultValue:{value:"{\r\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\r\n right: 0, // InfoToolTip offset\r\n left: 0\r\n}",computed:!1},description:"",type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1},styles:{defaultValue:{value:"{}",computed:!1},description:"",type:{name:"object"},required:!1},tooltipComponent:{description:"",type:{name:"element"},required:!1},onMouseMoveTooltip:{description:"",type:{name:"func"},required:!1},onMouseLeaveTooltip:{description:"",type:{name:"func"},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\infoTooltip\\TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper.__docgenInfo,path:"components\\infoTooltip\\TooltipWrapper.jsx"})},"./components/messages/ComingSoon.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_GenericMessage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./components/messages/GenericMessage.jsx");__webpack_require__("./styles/components/_messages.scss");var ComingSoon=function ComingSoon(_ref){var className=_ref.className;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_GenericMessage__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"coming soon "+className,title:"Coming Soon",description:"This feature is currently under development."})};ComingSoon.displayName="ComingSoon",ComingSoon.__docgenInfo={description:"",methods:[],displayName:"ComingSoon"},__webpack_exports__.Z=ComingSoon,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\ComingSoon.jsx"]={name:"ComingSoon",docgenInfo:ComingSoon.__docgenInfo,path:"components\\messages\\ComingSoon.jsx"})},"./components/messages/ErrorMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),_GenericMessage__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./components/messages/GenericMessage.jsx"),propTypes={description:prop_types__WEBPACK_IMPORTED_MODULE_5___default().string},ErrorMessage=function ErrorMessage(_ref){var description=_ref.description,icon=react__WEBPACK_IMPORTED_MODULE_2__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.G,{icon:"exclamation-triangle"});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(_GenericMessage__WEBPACK_IMPORTED_MODULE_4__.Z,{description:description,title:"An error occurred",icon:icon,className:"error"})};ErrorMessage.displayName="ErrorMessage",ErrorMessage.propTypes=propTypes,ErrorMessage.defaultProps={description:"Something went wrong while gathering your data."},ErrorMessage.__docgenInfo={description:"",methods:[],displayName:"ErrorMessage",props:{description:{defaultValue:{value:"'Something went wrong while gathering your data.'",computed:!1},description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=ErrorMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\ErrorMessage.jsx"]={name:"ErrorMessage",docgenInfo:ErrorMessage.__docgenInfo,path:"components\\messages\\ErrorMessage.jsx"})},"./components/messages/GenericMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);__webpack_require__("./styles/components/_messages.scss");var propTypes={title:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string.isRequired,description:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string,icon:prop_types__WEBPACK_IMPORTED_MODULE_3___default().object,className:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string},GenericMessage=function GenericMessage(_ref){var icon=_ref.icon,title=_ref.title,description=_ref.description,className=_ref.className;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message"+(className&&" usda-message_"+className)},icon&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__icon"},icon),react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__title"},title),description&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__description"},description))};GenericMessage.displayName="GenericMessage",GenericMessage.propTypes=propTypes,GenericMessage.__docgenInfo={description:"",methods:[],displayName:"GenericMessage",props:{title:{description:"",type:{name:"string"},required:!0},description:{description:"",type:{name:"string"},required:!1},icon:{description:"",type:{name:"object"},required:!1},className:{description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=GenericMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\GenericMessage.jsx"]={name:"GenericMessage",docgenInfo:GenericMessage.__docgenInfo,path:"components\\messages\\GenericMessage.jsx"})},"./components/messages/LoadingMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__),react_transition_group__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-transition-group/esm/TransitionGroup.js"),react_transition_group__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react-transition-group/esm/CSSTransition.js"),LoadingMessage=function LoadingMessage(_ref){var _ref$loadingText=_ref.loadingText,loadingText=void 0===_ref$loadingText?"Gathering your data...":_ref$loadingText;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_transition_group__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"usda-message usda-message_loading"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_transition_group__WEBPACK_IMPORTED_MODULE_2__.Z,{classNames:"usda-loading-animation__container",timeout:{exit:225,enter:195},exit:!0},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"usda-loading-animation__container"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"usda-loading-animation"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{className:"usda-loading-bars",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"50",height:"50",style:{opacity:0}},react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-one",x:"0",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-two",x:"13",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-three",x:"26",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-four",x:"39",y:"0",height:"50",width:"10"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"loading-message"},loadingText))))};LoadingMessage.displayName="LoadingMessage",LoadingMessage.propTypes={loadingText:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string},LoadingMessage.__docgenInfo={description:"",methods:[],displayName:"LoadingMessage",props:{loadingText:{defaultValue:{value:'"Gathering your data..."',computed:!1},description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=LoadingMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\LoadingMessage.jsx"]={name:"LoadingMessage",docgenInfo:LoadingMessage.__docgenInfo,path:"components\\messages\\LoadingMessage.jsx"})},"./components/messages/NoResultsMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_messages_GenericMessage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./components/messages/GenericMessage.jsx"),NoResultsMessage=function NoResultsMessage(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_messages_GenericMessage__WEBPACK_IMPORTED_MODULE_1__.Z,{title:"No Results",description:"No available data to display.",className:"no-results"})};NoResultsMessage.displayName="NoResultsMessage",NoResultsMessage.__docgenInfo={description:"",methods:[],displayName:"NoResultsMessage"},__webpack_exports__.Z=NoResultsMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\NoResultsMessage.jsx"]={name:"NoResultsMessage",docgenInfo:NoResultsMessage.__docgenInfo,path:"components\\messages\\NoResultsMessage.jsx"})},"./components/quarterPicker/QuarterPicker.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return quarterPicker_QuarterPicker},u:function(){return useCumulativeQuarterPicker}});var slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=(__webpack_require__("./node_modules/core-js/modules/es.parse-int.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.some.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/es.array.every.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/react/index.js")),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__("./node_modules/lodash/lodash.js"),propTypes={disabled:prop_types_default().bool,active:prop_types_default().bool,showPeriods:prop_types_default().bool,quarter:prop_types_default().string,handleSelection:prop_types_default().func,handleHover:prop_types_default().func,handleBlur:prop_types_default().func,toggleTooltip:prop_types_default().func,title:prop_types_default().string},QuarterButton=function QuarterButton(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q "+quarter,onMouseEnter=function onMouseEnter(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function onMouseLeave(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function handleClick(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react.createElement("button",{className:"usa-dt-quarter-picker__quarter "+additionalClasses,onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},showPeriods:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},disabled:{description:"",type:{name:"bool"},required:!1},active:{description:"",type:{name:"bool"},required:!1},quarter:{description:"",type:{name:"string"},required:!1},handleSelection:{description:"",type:{name:"func"},required:!1},handleHover:{description:"",type:{name:"func"},required:!1},handleBlur:{description:"",type:{name:"func"},required:!1},toggleTooltip:{description:"",type:{name:"func"},required:!1}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\quarterPicker\\QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components\\quarterPicker\\QuarterButton.jsx"});var useCumulativeQuarterPicker=function useCumulativeQuarterPicker(){var initialState=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],_useState=(0,react.useState)(initialState),_useState2=(0,slicedToArray.Z)(_useState,2),selectedPeriods=_useState2[0],setSelectedPeriods=_useState2[1];return[selectedPeriods,function handleSelection(selectedPeriod){var selectedPeriodAsInt=parseInt(selectedPeriod,10),newPeriods=selectedPeriods.map((function(period){return parseInt(period,10)})).filter((function(period){return period<=selectedPeriodAsInt})).map((function(period){return""+period}));setSelectedPeriods(newPeriods.concat([selectedPeriod]))}]},defaultPeriodsPerQuarter=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],isIdOrGreaterInArray=function isIdOrGreaterInArray(idStr,arr){return arr.some((function(periodOrQuarter){return parseInt(periodOrQuarter,10)>=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default().func,selectedQuarters:prop_types_default().arrayOf(prop_types_default().string),disabledQuarters:prop_types_default().arrayOf(prop_types_default().string),selectedPeriods:prop_types_default().arrayOf(prop_types_default().string),disabledPeriods:prop_types_default().arrayOf(prop_types_default().string),periodsPerQuarter:prop_types_default().arrayOf(prop_types_default().arrayOf(prop_types_default().shape({title:prop_types_default().string,id:prop_types_default().string}))),showPeriods:prop_types_default().bool,isCumulative:prop_types_default().bool},QuarterPicker=function QuarterPicker(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,isCumulative=void 0!==_ref$isCumulative&&_ref$isCumulative,_useState3=(0,react.useState)(""),_useState4=(0,slicedToArray.Z)(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=(0,react.useState)(""),_useState6=(0,slicedToArray.Z)(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function handleHover(str){"quarter"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter")?setQuarterHoverState(str):setPeriodHoverState(str)},handleBlur=function handleBlur(){"quarter"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter")?setQuarterHoverState(""):setPeriodHoverState("")};return react.createElement("div",{className:"usa-dt-quarter-picker"},react.createElement("ul",{className:"usa-dt-quarter-picker__list"},function generateButtons(){return new Array(4).fill(0).map((function(_,quarterIndex){var quarterNumber=quarterIndex+1,quarterNumberAsString=""+quarterNumber;if(showPeriods){var periodsForQuarter=periodsPerQuarter[quarterIndex],isQuarterDisabled=periodsForQuarter.every((function(period){return disabledPeriods.includes(period.id)}));return react.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,lodash.uniqueId)()},react.createElement("p",{className:isQuarterDisabled?"disabled":""},"Q"+quarterNumber),react.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},periodsForQuarter.map((function(period){return react.createElement("li",{className:Object.keys(period).includes("className")?period.className+" usa-dt-quarter-picker__list-item":"usa-dt-quarter-picker__list-item",key:(0,lodash.uniqueId)()},react.createElement(quarterPicker_QuarterButton,{showPeriods:showPeriods,quarter:period.id,title:period.title,disabled:disabledPeriods.includes(period.id),active:isIdOrGreaterInArray(period.id,selectedPeriods)||parseInt(periodHoverState,10)>=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,lodash.uniqueId)()},react.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},disabledPeriods:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},periodsPerQuarter:{defaultValue:{value:"[\r\n [\r\n { title: '1 - 2', id: '2', className: 'double-period' },\r\n { title: '3', id: '3' }\r\n ],\r\n [\r\n { title: '4', id: '4' },\r\n { title: '5', id: '5' },\r\n { title: '6', id: '6' }\r\n ],\r\n [\r\n { title: '7', id: '7' },\r\n { title: '8', id: '8' },\r\n { title: '9', id: '9' }\r\n ],\r\n [\r\n { title: '10', id: '10' },\r\n { title: '11', id: '11' },\r\n { title: '12', id: '12' }\r\n ]\r\n]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1},selectedQuarters:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},selectedPeriods:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},showPeriods:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},isCumulative:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},handleSelection:{description:"",type:{name:"func"},required:!1}}};var quarterPicker_QuarterPicker=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\quarterPicker\\QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components\\quarterPicker\\QuarterPicker.jsx"})},"./helpers/flexGridHelper.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{V:function(){return createClassString}});__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js");var createClassString=function createClassString(classes){return classes.map((function(c){return c?c.trim():c})).filter((function(c){return c})).join(" ")}},"./helpers/keyboardEventsHelper.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{S:function(){return createOnKeyDownHandler}});var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),createOnKeyDownHandler=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),function createOnKeyDownHandler(cb){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],keyCodes=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(e){keyCodes.includes(e.keyCode)&&cb.apply(void 0,(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__.Z)(args))}})},"./helpers/moneyFormatter.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{CU:function(){return calculateUnitForSingleValue},lb:function(){return formatMoney},oS:function(){return unitValues},uf:function(){return formatNumber},xA:function(){return formatNumberWithPrecision},yD:function(){return formatMoneyWithPrecision}});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js");var accounting__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/accounting/accounting.js"),accounting__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(accounting__WEBPACK_IMPORTED_MODULE_2__),accountingOptions=(__webpack_require__("./node_modules/lodash/lodash.js"),{symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}}),unitValues={TRILLION:1e12,BILLION:1e9,MILLION:1e6,THOUSAND:1e3},unitLabels_TRILLION="T",unitLabels_BILLION="B",unitLabels_MILLION="M",unitLabels_THOUSAND="k",unitWords_TRILLION="trillion",unitWords_BILLION="billion",unitWords_MILLION="million",unitWords_THOUSAND="thousand",formatMoney=function formatMoney(value){return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(value,accountingOptions)},formatMoneyWithPrecision=function formatMoneyWithPrecision(value,precision){var modifiedOptions=Object.assign({},accountingOptions,{precision:precision});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(value,modifiedOptions)},calculateUnitForSingleValue=function calculateUnitForSingleValue(value){var adjustedValue=Math.abs(value),unit=1,unitLabel="",unitWord="";return adjustedValue>=unitValues.TRILLION?(unit=unitValues.TRILLION,unitLabel=unitLabels_TRILLION,unitWord=unitWords_TRILLION):adjustedValue>=unitValues.BILLION?(unit=unitValues.BILLION,unitLabel=unitLabels_BILLION,unitWord=unitWords_BILLION):adjustedValue>=unitValues.MILLION?(unit=unitValues.MILLION,unitLabel=unitLabels_MILLION,unitWord=unitWords_MILLION):adjustedValue>=unitValues.THOUSAND&&(unit=unitValues.THOUSAND,unitLabel=unitLabels_THOUSAND,unitWord=unitWords_THOUSAND),{unit:unit,unitLabel:unitLabel,longLabel:unitWord}},formatNumber=function formatNumber(number){var options=Object.assign({},accountingOptions,{symbol:""});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(number,options)},formatNumberWithPrecision=function formatNumberWithPrecision(number,precision){var options=Object.assign({},accountingOptions,{symbol:"",precision:precision});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(number,options)}},"./.storybook/stories/fiscalYearPicker.stories.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:function(){return Default},Primary:function(){return Primary},__namedExportsOrder:function(){return __namedExportsOrder}});__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./components/FiscalYearPicker.jsx");__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react';\r\nimport FiscalYearPicker from '../../components/FiscalYearPicker';\r\n\r\nexport default {\r\n title: 'FiscalYearPicker',\r\n component: FiscalYearPicker,\r\n };\r\n export const Default = (args) => ;\r\n export const Primary = Default.bind({});\r\n Primary.args = { backgroundColor: '#ff0'};\r\n",locationsMap:{default:{startLoc:{col:25,line:8},endLoc:{col:65,line:8},startBody:{col:25,line:8},endBody:{col:65,line:8}},primary:{startLoc:{col:25,line:8},endLoc:{col:65,line:8},startBody:{col:25,line:8},endBody:{col:65,line:8}}}}},title:"FiscalYearPicker",component:_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__.Z};var Default=function Default(args){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__.Z,args)};Default.displayName="Default";var Primary=Default.bind({});Primary.args={backgroundColor:"#ff0"},Default.parameters=Object.assign({storySource:{source:"(args) => "}},Default.parameters),Primary.parameters=Object.assign({storySource:{source:"(args) => "}},Primary.parameters);var __namedExportsOrder=["Default","Primary"];Default.__docgenInfo={description:"",methods:[],displayName:"Default"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\stories\\fiscalYearPicker.stories.js"]={name:"Default",docgenInfo:Default.__docgenInfo,path:".storybook\\stories\\fiscalYearPicker.stories.js"})},"./storybook-init-framework-entry.js":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js")},"./.storybook/stories/SearchBar.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return SearchBar_stories},searchBar:function(){return searchBar}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),dist=__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),lodash=(__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/lodash/lodash.js")),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),index_es=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js");__webpack_require__("./styles/components/_searchBar.scss");var propTypes={onSearch:prop_types_default().func,minChars:prop_types_default().number,isDisabled:prop_types_default().bool,throttleOnChange:prop_types_default().number,inputTitle:prop_types_default().string,placeholder:prop_types_default().string},SearchBar=function SearchBar(_ref){var onSearch=_ref.onSearch,minChars=_ref.minChars,isDisabled=_ref.isDisabled,throttleOnChange=_ref.throttleOnChange,inputTitle=_ref.inputTitle,placeholder=_ref.placeholder,_useState=(0,react.useState)(""),_useState2=(0,slicedToArray.Z)(_useState,2),value=_useState2[0],setValue=_useState2[1],_useState3=(0,react.useState)(""),_useState4=(0,slicedToArray.Z)(_useState3,2),searchTerm=_useState4[0],setSearchTerm=_useState4[1],resetSearch=function resetSearch(){setValue(""),onSearch(""),setSearchTerm("")},onChange=(0,lodash.throttle)((function(e){return function shouldResetSearchTerm(e,searchTerm){return!(!searchTerm||e.target.value)}(e,searchTerm)?resetSearch():setValue(e.target.value)}),throttleOnChange),icon="search";return(value&&searchTerm===value||searchTerm&&value.length {}",computed:!1},description:"",type:{name:"func"},required:!1},minChars:{defaultValue:{value:"2",computed:!1},description:"",type:{name:"number"},required:!1},throttleOnChange:{defaultValue:{value:"500",computed:!1},description:"",type:{name:"number"},required:!1},inputTitle:{defaultValue:{value:"'Search Input'",computed:!1},description:"",type:{name:"string"},required:!1},isDisabled:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},placeholder:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1}}};var components_SearchBar=SearchBar;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\SearchBar.jsx"]={name:"SearchBar",docgenInfo:SearchBar.__docgenInfo,path:"components\\SearchBar.jsx"});var _excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"SearchBar",component:components_SearchBar,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"onSearch"),": A function that will pass the search term to it's parent component.")),(0,esm.kt)("h3",{id:"props"},"Props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"onSearch"),": A function that will pass the search term to it's parent component."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"minChars"),": A number that will serve as the minimum number of characters to submit a search."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"isDisabled"),": A boolean that will decide whether to disable the input."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"throttleOnChange"),": A number in milliseconds that only invokes onChange at most once per every milliseconds."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"inputTitle"),": A string that will serve as the input title."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"placeholder"),": An optional string for placeholder text")),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"SearchBar",mdxType:"Story"},(0,esm.kt)(components_SearchBar,{setQuery:function setQuery(searchTerm){return console.log(searchTerm)},minChars:(0,dist.number)("minChars",2),isDisabled:(0,dist.boolean)("isDisabled",!1),throttleOnChange:(0,dist.number)("throttleOnChange",500),inputTitle:(0,dist.text)("inputTitle","Search Input"),placeholder:"Placeholder",mdxType:"SearchBar"}))),(0,esm.kt)(dist_esm.$4,{of:components_SearchBar,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Data Dictionary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var searchBar=function searchBar(){return(0,esm.kt)(components_SearchBar,{setQuery:function setQuery(searchTerm){return console.log(searchTerm)},minChars:(0,dist.number)("minChars",2),isDisabled:(0,dist.boolean)("isDisabled",!1),throttleOnChange:(0,dist.number)("throttleOnChange",500),inputTitle:(0,dist.text)("inputTitle","Search Input"),placeholder:"Placeholder"})};searchBar.displayName="searchBar",searchBar.storyName="SearchBar",searchBar.parameters={storySource:{source:" console.log(searchTerm)} minChars={number('minChars', 2)} isDisabled={boolean('isDisabled', false)} throttleOnChange={number('throttleOnChange', 500)} inputTitle={text('inputTitle', 'Search Input')} placeholder=\"Placeholder\" />"}};var componentMeta={title:"SearchBar",component:components_SearchBar,includeStories:["searchBar"]},mdxStoryNameToKey={SearchBar:"searchBar"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var SearchBar_stories=componentMeta,__namedExportsOrder=["searchBar"]},"./.storybook/stories/button.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},buttonVariants:function(){return buttonVariants}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/index.js"),_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),_components_Button__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),__webpack_require__("./.storybook/misc.jsx"),__webpack_require__("./components/Button.jsx")),_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__=(__webpack_require__("./components/flexGrid/FlexGridCol.jsx"),__webpack_require__("./components/flexGrid/FlexGridRow.jsx")),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Buttons",component:_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"button-component"},"Button Component"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Button Variants",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with center and left text alignment"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"center",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"left",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Disabled Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button with Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary button with icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Inline Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"sm",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"md",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"lg",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"In text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"sm",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"md",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"lg",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"})))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var buttonVariants=function buttonVariants(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(react__WEBPACK_IMPORTED_MODULE_5__.Fragment,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with center and left text alignment"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"center"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"left"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Disabled Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",disabled:!0}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",disabled:!0}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",disabled:!0})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"dark"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button with Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary button with icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Inline Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"sm",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"md",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"lg",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"In text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"sm",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"md",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"lg",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"})))};buttonVariants.storyName="Button Variants",buttonVariants.parameters={storySource:{source:'

Primary Button

\n\n \n )\n : (\n \n )}\n
    \n\n')),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Glossary Sidebar, Glossary Definition"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Reporting Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Agency Page")),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"broker-integration-status"},"Broker Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Settings modal")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.AB,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,{isFixedWidth:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("isFixedWidth",!1),icon:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_9__.G,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.select)("dropdownDirection",["right","left"],"right","")}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "}};var wChildren=function wChildren(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.AB,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,{isFixedWidth:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("isFixedWidth",!1),dropdownDirection:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.select)("dropdownDirection",["right","left"],"right","")},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_9__.G,{icon:"share-alt",size:"lg",color:"black"})))};wChildren.displayName="wChildren",wChildren.storyName="w/ Children",wChildren.parameters={storySource:{source:"\n \n \n \n "}};var componentMeta={title:"Picker",component:_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,includeStories:["defaultStory","wChildren"]},mdxStoryNameToKey={Default:"defaultStory","w/ Children":"wChildren"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","wChildren"]},"./.storybook/stories/quarterPicker.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},cumulativePicker:function(){return cumulativePicker},defaultStory:function(){return defaultStory},wPeriods:function(){return wPeriods}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js");var _mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./components/quarterPicker/QuarterPicker.jsx"),_misc__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Quarter Picker",component:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Default",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.aK,{mdxType:"QuarterPickerWrapper"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],mdxType:"QuarterPicker"}))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Cumulative Picker",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.M_,{mdxType:"QuarterPickerCumulative"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],isCumulative:!0,mdxType:"QuarterPicker"}))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"w/ Periods",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container quarter-picker-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.gz,{mdxType:"QuarterPickerWithPeriods"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledPeriods:["10","11","12"],showPeriods:!0,mdxType:"QuarterPicker"}))))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Download Center"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Spending Explorer")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.aK,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[]}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:"\n \n "}};var cumulativePicker=function cumulativePicker(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.M_,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.displayName="cumulativePicker",cumulativePicker.storyName="Cumulative Picker",cumulativePicker.parameters={storySource:{source:"\n \n "}};var wPeriods=function wPeriods(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container quarter-picker-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.gz,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.displayName="wPeriods",wPeriods.storyName="w/ Periods",wPeriods.parameters={storySource:{source:"
    \n \n \n \n
    "}};var componentMeta={title:"Quarter Picker",component:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToKey={Default:"defaultStory","Cumulative Picker":"cumulativePicker","w/ Periods":"wPeriods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","cumulativePicker","wPeriods"]},"./.storybook/stories/section-title.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},alwaysExpanded:function(){return alwaysExpanded},collapsibleSection:function(){return collapsibleSection},default:function(){return section_title_stories}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),index_es=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),ComingSoon=__webpack_require__("./components/messages/ComingSoon.jsx"),keyboardEventsHelper=__webpack_require__("./helpers/keyboardEventsHelper.js");__webpack_require__("./styles/components/_sectionTitle.scss");var defaultControlledProps={isControlled:!1,toggleExpand:function toggleExpand(){},isExpanded:!1},SectionTitle=function SectionTitle(_ref){var title=_ref.title,icon=_ref.icon,children=_ref.children,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,_ref$classNames=_ref.classNames,classNames=void 0===_ref$classNames?"":_ref$classNames,_ref$isCollapsible=_ref.isCollapsible,isCollapsible=void 0!==_ref$isCollapsible&&_ref$isCollapsible,_ref$isComingSoon=_ref.isComingSoon,isComingSoon=void 0!==_ref$isComingSoon&&_ref$isComingSoon,_ref$controlledProps=_ref.controlledProps,controlledProps=void 0===_ref$controlledProps?defaultControlledProps:_ref$controlledProps,_ref$defaultExpandedS=_ref.defaultExpandedState,defaultExpandedState=void 0===_ref$defaultExpandedS||_ref$defaultExpandedS,_ref$overLine=_ref.overLine,overLine=void 0===_ref$overLine?"":_ref$overLine,_ref$titleTooltip=_ref.titleTooltip,titleTooltip=void 0===_ref$titleTooltip?{tooltip:null,tooltipProps:{}}:_ref$titleTooltip,_ref$descTooltip=_ref.descTooltip,descTooltip=void 0===_ref$descTooltip?{component:null,props:{}}:_ref$descTooltip,description=_ref.description,_useState=(0,react.useState)(defaultExpandedState),_useState2=(0,slicedToArray.Z)(_useState,2),isExpanded=_useState2[0],setExpanded=_useState2[1],toggleExpand=function toggleExpand(){controlledProps.isControlled?controlledProps.toggleExpand():setExpanded(!isExpanded)},showChildren=isExpanded||controlledProps.isControlled&&controlledProps.isExpanded||!isCollapsible;return react.createElement("section",{id:id,className:"usda-section__container"+(classNames?" "+classNames:"")},react.createElement("div",{className:"usda-section-title__container"},icon&&react.cloneElement(icon,{className:"usda-section-title__title-icon"}),react.createElement("div",{className:"usda-section-title__header"},overLine&&react.createElement("strong",{className:"usda-section-title__overline"},overLine),react.createElement("div",{className:"usda-section-title__title"},react.createElement("h3",null,title),titleTooltip.component&&react.createElement(TooltipWrapper.Z,(0,esm_extends.Z)({tooltipComponent:titleTooltip.component,icon:"info",className:overLine?"has-overline":""},titleTooltip.props)))),description&&react.cloneElement(description,{className:"usda-section-title__desc has-overline"}),descTooltip.component&&react.createElement(TooltipWrapper.Z,(0,esm_extends.Z)({tooltipComponent:descTooltip.component,icon:"info",tooltipPosition:"left"},descTooltip.props)),isCollapsible&&react.createElement(index_es.G,{tabIndex:0,onKeyDown:(0,keyboardEventsHelper.S)(toggleExpand),className:"usda-section-title__expand-icon",onClick:toggleExpand,size:"2x",icon:isExpanded||controlledProps.isControlled&&controlledProps.isExpanded?"chevron-up":"chevron-down"})),react.createElement("hr",null),isComingSoon&&showChildren&&react.createElement(ComingSoon.Z,null),showChildren&&!isComingSoon&&children)};SectionTitle.displayName="SectionTitle",SectionTitle.propTypes={icon:prop_types_default().element.isRequired,children:prop_types_default().element.isRequired,title:prop_types_default().string.isRequired,defaultExpandedState:prop_types_default().bool,overLine:prop_types_default().string,controlledProps:prop_types_default().shape({isControlled:prop_types_default().bool.isRequired,toggleExpand:prop_types_default().func.isRequired,isExpanded:prop_types_default().bool.isRequired}),description:prop_types_default().element,titleTooltip:prop_types_default().shape({component:prop_types_default().element,props:prop_types_default().object}),descTooltip:prop_types_default().shape({component:prop_types_default().element,props:prop_types_default().object}),isCollapsible:prop_types_default().bool,isComingSoon:prop_types_default().bool,classNames:prop_types_default().string,id:prop_types_default().string},SectionTitle.__docgenInfo={description:"",methods:[],displayName:"SectionTitle",props:{id:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},classNames:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},isCollapsible:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},isComingSoon:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},controlledProps:{defaultValue:{value:"{\r\n isControlled: false,\r\n toggleExpand: () => { },\r\n isExpanded: false\r\n}",computed:!1},description:"",type:{name:"shape",value:{isControlled:{name:"bool",required:!0},toggleExpand:{name:"func",required:!0},isExpanded:{name:"bool",required:!0}}},required:!1},defaultExpandedState:{defaultValue:{value:"true",computed:!1},description:"",type:{name:"bool"},required:!1},overLine:{defaultValue:{value:'""',computed:!1},description:"",type:{name:"string"},required:!1},titleTooltip:{defaultValue:{value:"{\r\n tooltip: null,\r\n tooltipProps: {}\r\n}",computed:!1},description:"",type:{name:"shape",value:{component:{name:"element",required:!1},props:{name:"object",required:!1}}},required:!1},descTooltip:{defaultValue:{value:"{\r\n component: null,\r\n props: {}\r\n}",computed:!1},description:"",type:{name:"shape",value:{component:{name:"element",required:!1},props:{name:"object",required:!1}}},required:!1},icon:{description:"",type:{name:"element"},required:!0},children:{description:"",type:{name:"element"},required:!0},title:{description:"",type:{name:"string"},required:!0},description:{description:"",type:{name:"element"},required:!1}}};var components_SectionTitle=SectionTitle;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\SectionTitle.jsx"]={name:"SectionTitle",docgenInfo:SectionTitle.__docgenInfo,path:"components\\SectionTitle.jsx"});var misc=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Section Title",component:components_SectionTitle,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"props"},"Props"),(0,esm.kt)(dist_esm.$4,{of:components_SectionTitle,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"collapsible-section"},"Collapsible Section"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Collapsible Section",mdxType:"Story"},(0,esm.kt)(components_SectionTitle,{title:"Award",isCollapsible:!0,overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",color:"#555",mdxType:"FontAwesomeIcon"}),titleTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending")),mdxType:"SectionTitle"},(0,esm.kt)(ComingSoon.Z,{mdxType:"ComingSoon"})))),(0,esm.kt)("h2",{id:"always-expanded"},"Always Expanded"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Always Expanded",mdxType:"Story"},(0,esm.kt)(components_SectionTitle,{title:"Award",overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",mdxType:"FontAwesomeIcon"}),titleTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending")),mdxType:"SectionTitle"},(0,esm.kt)(ComingSoon.Z,{mdxType:"ComingSoon"})))),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Award Summary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var collapsibleSection=function collapsibleSection(){return(0,esm.kt)(components_SectionTitle,{title:"Award",isCollapsible:!0,overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",color:"#555"}),titleTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending"))},(0,esm.kt)(ComingSoon.Z,null))};collapsibleSection.displayName="collapsibleSection",collapsibleSection.storyName="Collapsible Section",collapsibleSection.parameters={storySource:{source:'} titleTooltip={{\n component: ,\n props: {}\n}} descTooltip={{\n component: ,\n props: {}\n}} description={This section covers Award Spending}>\n \n '}};var alwaysExpanded=function alwaysExpanded(){return(0,esm.kt)(components_SectionTitle,{title:"Award",overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x"}),titleTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending"))},(0,esm.kt)(ComingSoon.Z,null))};alwaysExpanded.displayName="alwaysExpanded",alwaysExpanded.storyName="Always Expanded",alwaysExpanded.parameters={storySource:{source:'} titleTooltip={{\n component: ,\n props: {}\n}} descTooltip={{\n component: ,\n props: {}\n}} description={This section covers Award Spending}>\n \n '}};var componentMeta={title:"Section Title",component:components_SectionTitle,includeStories:["collapsibleSection","alwaysExpanded"]},mdxStoryNameToKey={"Collapsible Section":"collapsibleSection","Always Expanded":"alwaysExpanded"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var section_title_stories=componentMeta,__namedExportsOrder=["collapsibleSection","alwaysExpanded"]},"./.storybook/stories/table.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},customErrorMessage:function(){return customErrorMessage},default:function(){return table_stories},expandableTableWithDivider:function(){return expandableTableWithDivider},expandableTableWithoutDivider:function(){return expandableTableWithoutDivider},loadingTable:function(){return loadingTable},noResults:function(){return noResults},stackedResponsiveTable:function(){return stackedResponsiveTable},table:function(){return table},tableError:function(){return tableError},tableWSubColumnsTooltips:function(){return tableWSubColumnsTooltips},tableWithFirstColumnHeaders:function(){return tableWithFirstColumnHeaders},tableWithoutSorting:function(){return tableWithoutSorting}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reduce.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__("./node_modules/lodash/lodash.js"),ErrorMessage=__webpack_require__("./components/messages/ErrorMessage.jsx"),LoadingMessage=__webpack_require__("./components/messages/LoadingMessage.jsx"),NoResultsMessage=__webpack_require__("./components/messages/NoResultsMessage.jsx"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),index_es=(__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js")),propTypes={data:prop_types_default().object,columns:prop_types_default().array,oddClass:prop_types_default().string,divider:prop_types_default().string},ExpandableRow=function ExpandableRow(_ref){var data=_ref.data,columns=_ref.columns,oddClass=_ref.oddClass,divider=_ref.divider,_useState=(0,react.useState)(data.expanded||!1),_useState2=(0,slicedToArray.Z)(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],icon=expanded?"chevron-down":"chevron-right",columnTitles=columns.map((function(_ref2){return _ref2.title})),toggleExpand=function toggleExpand(){setExpanded(!expanded)},dividerRow=react.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider"+oddClass},function generateDividerCells(){return columns.map((function(col,i){return 0===i?react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell usda-table__cell_child"},react.createElement("div",{className:"usda-table__child-cell-content"},divider)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell usda-table__cell_child"},react.createElement("div",{className:"usda-table__child-cell-content"}," "))}))}()),getDataLabel=function getDataLabel(column,isChildRow){return column?isChildRow&÷r&&"name"===column.title?divider:column.displayName:null},isExpandedClass=expanded?"usda-table__row_is-expanded":"";return react.createElement(react.Fragment,null,react.createElement("tr",{className:"usda-table__row"+oddClass+" usda-table__row_expandable "+isExpandedClass},columnTitles.map((function(col,i){return"name"===col&&data.children?react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell","data-label":getDataLabel(columns[i])},react.createElement("div",{className:"usda-table__expandable-cell-content"},react.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:toggleExpand},react.createElement(index_es.G,{icon:icon})),data.name)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell"+("name"===col?" usda-table__cell_name":"")+(columns[i].right?" usda-table__cell_right":""),"data-label":getDataLabel(columns[i])},data[col])}))),data.children&&expanded?react.createElement(react.Fragment,null,divider&÷rRow,data.children.map((function(childRow,j){var lastClass=j===data.children.length-1?" usda-table__child-row_last":"";return react.createElement("tr",{key:(0,lodash.uniqueId)(),className:"usda-table__child-row"+lastClass+oddClass},columnTitles.map((function(col,k){return react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell "+(columns[k].right?" usda-table__cell_right":"")+" usda-table__cell_child","data-label":getDataLabel(columns[k],!0)},react.createElement("div",{className:"usda-table__child-cell-content"},childRow[col]))})))}))):null)};ExpandableRow.propTypes=propTypes,ExpandableRow.__docgenInfo={description:"",methods:[],displayName:"ExpandableRow",props:{data:{description:"",type:{name:"object"},required:!1},columns:{description:"",type:{name:"array"},required:!1},oddClass:{description:"",type:{name:"string"},required:!1},divider:{description:"",type:{name:"string"},required:!1}}};var table_ExpandableRow=ExpandableRow;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\ExpandableRow.jsx"]={name:"ExpandableRow",docgenInfo:ExpandableRow.__docgenInfo,path:"components\\table\\ExpandableRow.jsx"});var SortIcon=function SortIcon(_ref){var clickedSort=_ref.clickedSort,displayName=_ref.displayName,currentSort=_ref.currentSort,title=_ref.title,activeAsc=(null==currentSort?void 0:currentSort.field)===title&&"asc"===(null==currentSort?void 0:currentSort.direction)?" table-header__icon_active":"",activeDesc=(null==currentSort?void 0:currentSort.field)===title&&"desc"===(null==currentSort?void 0:currentSort.direction)?" table-header__icon_active":"";return react.createElement("div",{className:"table-header__sort"},react.createElement("button",{onClick:clickedSort,className:"table-header__icon"+activeAsc,value:"asc",title:"Sort table by ascending "+displayName,"aria-label":"Sort table by ascending "+displayName},react.createElement(index_es.G,{size:"2x",icon:"caret-up"})),react.createElement("button",{onClick:clickedSort,className:"table-header__icon"+activeDesc,value:"desc",title:"Sort table by descending "+displayName,"aria-label":"Sort table by descending "+displayName},react.createElement(index_es.G,{size:"2x",icon:"caret-down"})))};SortIcon.displayName="SortIcon",SortIcon.propTypes={title:prop_types_default().string.isRequired,displayName:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().element]).isRequired,currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}).isRequired,clickedSort:prop_types_default().func.isRequired};var TableHeader_propTypes={title:prop_types_default().string.isRequired,displayName:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().element]).isRequired,currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}),updateSort:prop_types_default().func,right:prop_types_default().bool,columnSpan:prop_types_default().string,rowSpan:prop_types_default().string,subColumnNames:prop_types_default().arrayOf(prop_types_default().oneOfType([prop_types_default().string,prop_types_default().object])),className:prop_types_default().string,icon:prop_types_default().element,bodyHeader:prop_types_default().bool},TableHeaderCell=function TableHeaderCell(_ref2){var title=_ref2.title,_ref2$className=_ref2.className,className=void 0===_ref2$className?"":_ref2$className,_ref2$displayName=_ref2.displayName,displayName=void 0===_ref2$displayName?"":_ref2$displayName,currentSort=_ref2.currentSort,updateSort=_ref2.updateSort,right=_ref2.right,_ref2$columnSpan=_ref2.columnSpan,columnSpan=void 0===_ref2$columnSpan?"1":_ref2$columnSpan,rowSpan=_ref2.rowSpan,_ref2$subColumnNames=_ref2.subColumnNames,subColumnNames=void 0===_ref2$subColumnNames?[]:_ref2$subColumnNames,_ref2$icon=_ref2.icon,icon=void 0===_ref2$icon?react.createElement(react.Fragment,null):_ref2$icon,_ref2$bodyHeader=_ref2.bodyHeader,bodyHeader=void 0!==_ref2$bodyHeader&&_ref2$bodyHeader;return react.createElement("th",{className:className+" table-header"+(bodyHeader?" table-header_body-header":""),colSpan:columnSpan,rowSpan:function rowsSpan(){return"0"===rowSpan?null:subColumnNames.length?"1":"2"}(),scope:"col"},react.createElement("div",{className:"table-header__content"+(right?" table-header__content_right":"")},react.createElement("div",{className:"table-header__label"},displayName,icon&&icon,updateSort&&!subColumnNames.length&&displayName&&react.createElement(SortIcon,{clickedSort:function handleClickedSort(e){updateSort(arguments.length>1&&void 0!==arguments[1]?arguments[1]:title,e.target.value)},currentSort:currentSort,title:title,displayName:displayName}))))};TableHeaderCell.displayName="TableHeaderCell",TableHeaderCell.propTypes=TableHeader_propTypes,TableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"TableHeaderCell",props:{className:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},displayName:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!1},columnSpan:{defaultValue:{value:"'1'",computed:!1},description:"",type:{name:"string"},required:!1},subColumnNames:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"string"},{name:"object"}]}},required:!1},icon:{defaultValue:{value:"<>",computed:!1},description:"",type:{name:"element"},required:!1},bodyHeader:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},title:{description:"",type:{name:"string"},required:!0},currentSort:{description:"",type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1},updateSort:{description:"",type:{name:"func"},required:!1},right:{description:"",type:{name:"bool"},required:!1},rowSpan:{description:"",type:{name:"string"},required:!1}}};var TableHeader=TableHeaderCell;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\TableHeader.jsx"]={name:"TableHeaderCell",docgenInfo:TableHeaderCell.__docgenInfo,path:"components\\table\\TableHeader.jsx"});var free_solid_svg_icons_index_es=__webpack_require__("./node_modules/@fortawesome/free-solid-svg-icons/index.es.js"),TableData_propTypes={columns:prop_types_default().arrayOf(prop_types_default().object).isRequired,rows:prop_types_default().arrayOf((0,prop_types.oneOfType)([prop_types_default().array,prop_types_default().object])).isRequired,expandable:prop_types_default().bool,divider:prop_types_default().string,onClickHandler:prop_types_default().func,isMobile:prop_types_default().bool,atMaxLevel:prop_types_default().bool},TableData=function TableData(_ref){var columns=_ref.columns,rows=_ref.rows,expandable=_ref.expandable,divider=_ref.divider,onClickHandler=_ref.onClickHandler,isMobile=_ref.isMobile,atMaxLevel=_ref.atMaxLevel,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),firstClick=_useState2[0],setFirstClick=_useState2[1],_useState3=(0,react.useState)(),_useState4=(0,slicedToArray.Z)(_useState3,2),rowIndexForMessage=_useState4[0],setRowIndexForMessage=_useState4[1],localClickHandler=function localClickHandler(row,index){atMaxLevel||(isMobile&&!firstClick?(setFirstClick(!0),setRowIndexForMessage(index)):isMobile&&firstClick&&rowIndexForMessage===index?(onClickHandler(row),setFirstClick(!1)):isMobile&&firstClick&&rowIndexForMessage!==index?setRowIndexForMessage(index):isMobile||onClickHandler(row))};return react.createElement(react.Fragment,null,rows.map((function(row,i){var oddClass=i%2==0?"":" usda-table__row_odd";return expandable?react.createElement(table_ExpandableRow,{key:(0,lodash.uniqueId)(),data:row,oddClass:oddClass,columns:columns,divider:divider}):react.createElement("tr",{key:(0,lodash.uniqueId)(),tabIndex:0,onClick:function onClick(){return localClickHandler(row,i)},onKeyUp:function onKeyUp(e){"Enter"===e.key&&(e.preventDefault(),localClickHandler(row,i))},className:"usda-table__row-item usda-table__row"+oddClass},row.map((function(data,j){var _columns$j,_columns$j2;return null!==(_columns$j=columns[j])&&void 0!==_columns$j&&_columns$j.bodyHeader?react.createElement(TableHeader,(0,esm_extends.Z)({className:"table-header_body-header",key:(0,lodash.uniqueId)()},data)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell"+(null!==(_columns$j2=columns[j])&&void 0!==_columns$j2&&_columns$j2.right?" usda-table__cell_right":"")},columns[j]&&react.createElement("div",{className:"usda-table__cell-heading-container"},isMobile&&react.createElement("div",{className:"usda-table__cell-heading"},columns[j].displayName),isMobile&&firstClick&&0===j&&rowIndexForMessage===i&&react.createElement("div",{className:"usda-table__cell-message"},"View next level"," ",react.createElement(index_es.G,{icon:free_solid_svg_icons_index_es.cLY,color:"#2378c3"}))),data)})))})))};TableData.propTypes=TableData_propTypes,TableData.__docgenInfo={description:"",methods:[],displayName:"TableData",props:{columns:{description:"",type:{name:"arrayOf",value:{name:"object"}},required:!0},rows:{description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!0},expandable:{description:"",type:{name:"bool"},required:!1},divider:{description:"",type:{name:"string"},required:!1},onClickHandler:{description:"",type:{name:"func"},required:!1},isMobile:{description:"",type:{name:"bool"},required:!1},atMaxLevel:{description:"",type:{name:"bool"},required:!1}}};var table_TableData=TableData;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\TableData.jsx"]={name:"TableData",docgenInfo:TableData.__docgenInfo,path:"components\\table\\TableData.jsx"});var Picker=__webpack_require__("./components/Picker.jsx");__webpack_require__("./styles/components/table/_table.scss");var Table_propTypes={columns:prop_types_default().arrayOf(prop_types_default().object).isRequired,rows:prop_types_default().arrayOf((0,prop_types.oneOfType)([prop_types_default().array,prop_types_default().object])),currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}),classNames:prop_types_default().string,updateSort:prop_types_default().func,expandable:prop_types_default().bool,divider:prop_types_default().string,loading:prop_types_default().bool,error:prop_types_default().bool,message:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().object]),isStacked:prop_types_default().bool,screenReaderCaption:prop_types_default().string,onClickHandler:prop_types_default().func,isMobile:prop_types_default().bool},Table=function Table(props){var body,stackedClass=props.isStacked?"usa-dt-table__stacked":"",getTablePickerOptionsAsc=props.columns.map((function(col){return{name:col.displayName+" (ascending)",value:col.title,onClick:function onClick(){props.updateSort(col.title,"asc")}}})),getTablePickerOptionsDesc=props.columns.map((function(col){return{name:col.displayName+" (descending)",value:col.title,onClick:function onClick(){props.updateSort(col.title,"desc")}}}));return body=props.loading?react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(LoadingMessage.Z,null))):props.error?react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(ErrorMessage.Z,{description:props.message}))):props.rows&&0!==props.rows.length?react.createElement(table_TableData,props):react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(NoResultsMessage.Z,{description:props.message}))),react.createElement(react.Fragment,null,props.isStacked&&props.updateSort&&react.createElement("div",{className:"usa-dt-table__stacked-picker"},react.createElement("label",{htmlFor:"stackedTableSort"},"Sort By"),react.createElement(Picker.Z,{id:"stackedTableSort",selectedOption:props.currentSort.field,options:(0,lodash.union)(getTablePickerOptionsAsc,getTablePickerOptionsDesc)})),react.createElement("table",{className:"usda-table "+stackedClass+" "+props.classNames},props.screenReaderCaption&&react.createElement("caption",{className:"usa-dt-sr-only"},props.screenReaderCaption),react.createElement("thead",{className:"usda-table__head"},react.createElement("tr",{className:"usda-table__row"},props.columns.map((function(col){return react.createElement(TableHeader,(0,esm_extends.Z)({key:(0,lodash.uniqueId)(),currentSort:props.currentSort,updateSort:props.updateSort},col))}))),react.createElement("tr",{className:"usda-table__row"},props.columns.filter((function(col){var _col$subColumnNames;return null==col||null===(_col$subColumnNames=col.subColumnNames)||void 0===_col$subColumnNames?void 0:_col$subColumnNames.length})).reduce((function(acc,col){var _col$subColumnNames2;return null!=col&&null!==(_col$subColumnNames2=col.subColumnNames)&&void 0!==_col$subColumnNames2&&_col$subColumnNames2.length?acc.concat(col.subColumnNames):acc.concat([Object.assign({},col,{displayName:"",className:"empty-subheader"})])}),[]).map((function(col){return react.createElement(TableHeader,(0,esm_extends.Z)({key:(0,lodash.uniqueId)(),className:null!=col&&col.title?"nested-header":"empty",currentSort:props.currentSort,updateSort:props.updateSort},col))})))),react.createElement("tbody",{className:"usda-table__body"},body)))};Table.propTypes=Table_propTypes,Table.defaultProps={classNames:"",isStacked:!1},Table.__docgenInfo={description:"",methods:[],displayName:"Table",props:{classNames:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},isStacked:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},columns:{description:"",type:{name:"arrayOf",value:{name:"object"}},required:!0},rows:{description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!1},currentSort:{description:"",type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1},updateSort:{description:"",type:{name:"func"},required:!1},expandable:{description:"",type:{name:"bool"},required:!1},divider:{description:"",type:{name:"string"},required:!1},loading:{description:"",type:{name:"bool"},required:!1},error:{description:"",type:{name:"bool"},required:!1},message:{description:"",type:{name:"union",value:[{name:"string"},{name:"object"}]},required:!1},screenReaderCaption:{description:"",type:{name:"string"},required:!1},onClickHandler:{description:"",type:{name:"func"},required:!1},isMobile:{description:"",type:{name:"bool"},required:!1}}};var table_Table=Table;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\Table.jsx"]={name:"Table",docgenInfo:Table.__docgenInfo,path:"components\\table\\Table.jsx"});var TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),TooltipComponent=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),misc=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Table",component:table_Table,mdxType:"Meta"}),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)(dist_esm.$4,{of:table_Table,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"updateSort"),": a function that will change the order of the ",(0,esm.kt)("inlineCode",{parentName:"li"},"rows")),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"currentSort"),": an object with a ",(0,esm.kt)("inlineCode",{parentName:"li"},"field")," (matching one of the column's ",(0,esm.kt)("inlineCode",{parentName:"li"},"title")," property), and a direction (either ",(0,esm.kt)("inlineCode",{parentName:"li"},"asc")," or ",(0,esm.kt)("inlineCode",{parentName:"li"},"desc"),")")),(0,esm.kt)("p",null,"In this example, our parent -- ",(0,esm.kt)("inlineCode",{parentName:"p"},"TableWrapper")," -- looks like this before the render:"),(0,esm.kt)("pre",null,(0,esm.kt)("code",{parentName:"pre",className:"language-javascript"},"const [field, updateField] = useState('amount');\nconst [direction, updateDirection] = useState('desc');\nconst updateSort = (field, direction) => {\n console.log(`update sort invoked with ${field}, ${direction}`);\n updateField(field);\n updateDirection(direction)\n const currentSort = {\n field,\n direction\n };\n}\n")),(0,esm.kt)("h3",{id:"other-props"},"Other props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",(0,esm.kt)("inlineCode",{parentName:"li"},"title")," and a ",(0,esm.kt)("inlineCode",{parentName:"li"},"displayName"),". Optional boolean ",(0,esm.kt)("inlineCode",{parentName:"li"},"right")," to right-align text in the column."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"rows"),": ",(0,esm.kt)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",(0,esm.kt)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",(0,esm.kt)("inlineCode",{parentName:"li"},"title"),"s and an array of ",(0,esm.kt)("inlineCode",{parentName:"li"},"children")),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"classNames"),": way to customize table styles."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"loading"),": a boolean indicating that the table data is loading"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"error")," : a boolean indicating that there was an error fetching the table data"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"message"),": a custom error, loading, or no results message")),(0,esm.kt)("h2",{id:"table-without-sorting"},"Table without Sorting"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table without Sorting",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"expandable-table-without-divider"},"Expandable Table without Divider"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Expandable Table without Divider",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"expandable-table-with-divider"},"Expandable Table with Divider"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Expandable Table with Divider",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-w-sub-columns--tooltips"},"Table w/ Sub Columns & Tooltips"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table w/ Sub Columns & Tooltips",mdxType:"Story"},(0,esm.kt)(misc.y6,{columns:[{title:"name",displayName:"Agency Name",icon:(0,esm.kt)(TooltipWrapper.Z,{icon:"info",tooltipComponent:(0,esm.kt)(TooltipComponent.Z,{title:"Test Tooltip",mdxType:"TooltipComponent"},(0,esm.kt)("div",null,"Test content for tooltip")),mdxType:"TooltipWrapper"})},{title:"total",displayName:"Total Budgetary Resources"},{title:"Q4",displayName:"FY 2020 Q4",columnSpan:"2",subColumnNames:[{displayName:"P10",title:"P10"},{displayName:"P11",title:"P11"}]},{title:"Q3",displayName:"FY 2020 Q3",columnSpan:"4",subColumnNames:[{displayName:"P9",title:"P9"},{displayName:"P8",title:"P8"},{displayName:"P7",title:"P7"},{displayName:"P6",title:"P6"}]}],mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Department of the Treasury (TREAS)"),"mock data","25%","26%","$1.2 million","$1.3 million","$1.4 million","$1.5 million"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data","mock data IIIIIIIII","$5.2 million","$2.3 million","$11.4 million","$23.5 million"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-with-first-column-headers"},"Table with First Column Headers"),(0,esm.kt)("h3",{id:"steps-to-implement"},"Steps to implement"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},"Pass the property ",(0,esm.kt)("inlineCode",{parentName:"li"},"bodyHeader: true")," to the first element of the columns property."),(0,esm.kt)("li",{parentName:"ul"},"Pass the property ",(0,esm.kt)("inlineCode",{parentName:"li"},"rowSpan: '0'")," to the first element of each of the rows property.")),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table with First Column Headers",mdxType:"Story"},(0,esm.kt)("div",{className:"story__container table-story"},(0,esm.kt)(table_Table,{columns:[{title:"blank",displayName:"",bodyHeader:!0},{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount"},{title:"percent",displayName:"% of Total Amount",right:!0}],rows:[[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"loading-table"},"Loading Table"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Loading Table",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{loading:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-error"},"Table Error"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table Error",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{error:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"custom-error-message"},"Custom Error Message"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Custom Error Message",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{error:!0,message:"Custom error message here.",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"no-results"},"No Results"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"No Results",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{rows:[],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"stacked-responsive-table"},"Stacked Responsive Table"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Stacked Responsive Table",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{isStacked:!0,rows:[["Transportation","$100","20%"],["Health","$150","30%"],["General Science","$250","50%"]],mdxType:"Table"})),(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{isStacked:!0,rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Advanced Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Award Summary"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Profile Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Federal Account Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Account Profile Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Profile Page")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var table=function table(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table.displayName="table",table.storyName="Table",table.parameters={storySource:{source:"\n Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "}};var tableWithoutSorting=function tableWithoutSorting(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};tableWithoutSorting.displayName="tableWithoutSorting",tableWithoutSorting.storyName="Table without Sorting",tableWithoutSorting.parameters={storySource:{source:"\n
    Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "}};var expandableTableWithoutDivider=function expandableTableWithoutDivider(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};expandableTableWithoutDivider.displayName="expandableTableWithoutDivider",expandableTableWithoutDivider.storyName="Expandable Table without Divider",expandableTableWithoutDivider.parameters={storySource:{source:"\n
    \n "}};var expandableTableWithDivider=function expandableTableWithDivider(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};expandableTableWithDivider.displayName="expandableTableWithDivider",expandableTableWithDivider.storyName="Expandable Table with Divider",expandableTableWithDivider.parameters={storySource:{source:"\n
    \n "}};var tableWSubColumnsTooltips=function tableWSubColumnsTooltips(){return(0,esm.kt)(misc.y6,{columns:[{title:"name",displayName:"Agency Name",icon:(0,esm.kt)(TooltipWrapper.Z,{icon:"info",tooltipComponent:(0,esm.kt)(TooltipComponent.Z,{title:"Test Tooltip"},(0,esm.kt)("div",null,"Test content for tooltip"))})},{title:"total",displayName:"Total Budgetary Resources"},{title:"Q4",displayName:"FY 2020 Q4",columnSpan:"2",subColumnNames:[{displayName:"P10",title:"P10"},{displayName:"P11",title:"P11"}]},{title:"Q3",displayName:"FY 2020 Q3",columnSpan:"4",subColumnNames:[{displayName:"P9",title:"P9"},{displayName:"P8",title:"P8"},{displayName:"P7",title:"P7"},{displayName:"P6",title:"P6"}]}]},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Department of the Treasury (TREAS)"),"mock data","25%","26%","$1.2 million","$1.3 million","$1.4 million","$1.5 million"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data","mock data IIIIIIIII","$5.2 million","$2.3 million","$11.4 million","$23.5 million"]]}))};tableWSubColumnsTooltips.displayName="tableWSubColumnsTooltips",tableWSubColumnsTooltips.storyName="Table w/ Sub Columns & Tooltips",tableWSubColumnsTooltips.parameters={storySource:{source:"
    Test content for tooltip
    } />\n}, {\n title: 'total',\n displayName: 'Total Budgetary Resources'\n}, {\n title: 'Q4',\n displayName: 'FY 2020 Q4',\n columnSpan: \"2\",\n subColumnNames: [{\n displayName: 'P10',\n title: 'P10'\n }, {\n displayName: 'P11',\n title: 'P11'\n }]\n}, {\n title: 'Q3',\n displayName: 'FY 2020 Q3',\n columnSpan: \"4\",\n subColumnNames: [{\n displayName: 'P9',\n title: 'P9'\n }, {\n displayName: 'P8',\n title: 'P8'\n }, {\n displayName: 'P7',\n title: 'P7'\n }, {\n displayName: 'P6',\n title: 'P6'\n }]\n}]}>\n
    Department of the Treasury (TREAS), 'mock data', '25%', '26%', '$1.2 million', '$1.3 million', '$1.4 million', '$1.5 million'], [jsx content, 1234, 'mock data', 'mock data IIIIIIIII', '$5.2 million', '$2.3 million', '$11.4 million', '$23.5 million']]} />\n "}};var tableWithFirstColumnHeaders=function tableWithFirstColumnHeaders(){return(0,esm.kt)("div",{className:"story__container table-story"},(0,esm.kt)(table_Table,{columns:[{title:"blank",displayName:"",bodyHeader:!0},{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount"},{title:"percent",displayName:"% of Total Amount",right:!0}],rows:[[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};tableWithFirstColumnHeaders.displayName="tableWithFirstColumnHeaders",tableWithFirstColumnHeaders.storyName="Table with First Column Headers",tableWithFirstColumnHeaders.parameters={storySource:{source:"
    \n
    Link, 'mock data', '25%'], [{\n displayName: 'Body Header',\n title: '',\n rowSpan: '0'\n }, jsx content, 1234, 'mock data']]} />\n "}};var loadingTable=function loadingTable(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{loading:!0}))};loadingTable.displayName="loadingTable",loadingTable.storyName="Loading Table",loadingTable.parameters={storySource:{source:"\n
    \n "}};var tableError=function tableError(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{error:!0}))};tableError.displayName="tableError",tableError.storyName="Table Error",tableError.parameters={storySource:{source:"\n
    \n
    "}};var customErrorMessage=function customErrorMessage(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{error:!0,message:"Custom error message here."}))};customErrorMessage.displayName="customErrorMessage",customErrorMessage.storyName="Custom Error Message",customErrorMessage.parameters={storySource:{source:'\n
    \n
    '}};var noResults=function noResults(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{rows:[]}))};noResults.displayName="noResults",noResults.storyName="No Results",noResults.parameters={storySource:{source:"\n
    \n
    "}};var stackedResponsiveTable=function stackedResponsiveTable(){return(0,esm.kt)(react.Fragment,null,(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{isStacked:!0,rows:[["Transportation","$100","20%"],["Health","$150","30%"],["General Science","$250","50%"]]})),(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{isStacked:!0,rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"})))};stackedResponsiveTable.storyName="Stacked Responsive Table",stackedResponsiveTable.parameters={storySource:{source:"\n \n \n\n
    \n "}};var componentMeta={title:"Table",component:table_Table,includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider","tableWSubColumnsTooltips","tableWithFirstColumnHeaders","loadingTable","tableError","customErrorMessage","noResults","stackedResponsiveTable"]},mdxStoryNameToKey={Table:"table","Table without Sorting":"tableWithoutSorting","Expandable Table without Divider":"expandableTableWithoutDivider","Expandable Table with Divider":"expandableTableWithDivider","Table w/ Sub Columns & Tooltips":"tableWSubColumnsTooltips","Table with First Column Headers":"tableWithFirstColumnHeaders","Loading Table":"loadingTable","Table Error":"tableError","Custom Error Message":"customErrorMessage","No Results":"noResults","Stacked Responsive Table":"stackedResponsiveTable"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var table_stories=componentMeta,__namedExportsOrder=["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider","tableWSubColumnsTooltips","tableWithFirstColumnHeaders","loadingTable","tableError","customErrorMessage","noResults","stackedResponsiveTable"]},"./.storybook/stories/tabs.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return tabs_stories},tablessStyle:function(){return tablessStyle},tabsWithScroll:function(){return tabsWithScroll}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),misc=(__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),__webpack_require__("./.storybook/misc.jsx")),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),TooltipComponent=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),keyboardEventsHelper=__webpack_require__("./helpers/keyboardEventsHelper.js"),moneyFormatter=__webpack_require__("./helpers/moneyFormatter.js"),propTypes={label:prop_types_default().string.isRequired,internal:prop_types_default().string,labelContent:prop_types_default().element,active:prop_types_default().bool,enabled:prop_types_default().bool,switchTab:prop_types_default().func,className:prop_types_default().string,tooltip:prop_types_default().object,count:prop_types_default().number,tablessStyle:prop_types_default().bool},Tab=function Tab(props){var tab=(0,react.useRef)(null),clickedTab=function clickedTab(){var _tab$current,_tab$current2;props.enabled&&(null!=tab&&tab.current&&null!==(_tab$current=tab.current)&&void 0!==_tab$current&&_tab$current.scrollIntoView&&(null===(_tab$current2=tab.current)||void 0===_tab$current2||_tab$current2.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),props.switchTab(props.internal))},onKeyDownHandler=(0,keyboardEventsHelper.S)(clickedTab);return react.createElement("div",{className:"usa-dt-tab__wrapper"+(props.enabled?"":" disabled")+(props.tablessStyle?" tabless-tab":"")+(props.active?" active":"")},react.createElement("div",{className:"usa-dt-tab"+(props.active?" active":"")+" "+(props.className||"")+(props.enabled?"":" disabled"),ref:tab,onClick:clickedTab,onKeyDown:onKeyDownHandler,role:"tab",title:"Show "+props.label,"aria-label":"Show "+props.label,tabIndex:0,disabled:!props.enabled},react.createElement("div",{className:"usa-dt-tab__content"},react.createElement("div",{className:"usa-dt-tab__label"},react.createElement("div",{className:"usa-dt-tab__label-text"},props.label),props.count>=0&&react.createElement("div",{"aria-label":"Count of "+(0,moneyFormatter.uf)(props.count)+" for "+props.label,className:"count"+(props.active?" active":"")},(0,moneyFormatter.uf)(props.count)),props.tooltip&&react.createElement(TooltipWrapper.Z,{tooltipComponent:react.createElement(TooltipComponent.Z,{title:props.label},props.tooltip),icon:"info"})))))};Tab.displayName="Tab",Tab.propTypes=propTypes,Tab.__docgenInfo={description:"",methods:[],displayName:"Tab",props:{label:{description:"",type:{name:"string"},required:!0},internal:{description:"",type:{name:"string"},required:!1},labelContent:{description:"",type:{name:"element"},required:!1},active:{description:"",type:{name:"bool"},required:!1},enabled:{description:"",type:{name:"bool"},required:!1},switchTab:{description:"",type:{name:"func"},required:!1},className:{description:"",type:{name:"string"},required:!1},tooltip:{description:"",type:{name:"object"},required:!1},count:{description:"",type:{name:"number"},required:!1},tablessStyle:{description:"",type:{name:"bool"},required:!1}}};var tabs_Tab=Tab;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\tabs\\Tab.jsx"]={name:"Tab",docgenInfo:Tab.__docgenInfo,path:"components\\tabs\\Tab.jsx"}),__webpack_require__("./styles/components/_tabs.scss");var Tabs_propTypes={types:prop_types_default().arrayOf(prop_types_default().shape({label:prop_types_default().string.isRequired,internal:prop_types_default().string.isRequired,count:prop_types_default().number,disabled:prop_types_default().bool,tooltip:prop_types_default().element})).isRequired,active:prop_types_default().string.isRequired,switchTab:prop_types_default().func.isRequired,tabsClassName:prop_types_default().string,tablessStyle:prop_types_default().bool},Tabs=function Tabs(_ref){var types=_ref.types,active=_ref.active,switchTab=_ref.switchTab,tabsClassName=_ref.tabsClassName,tablessStyle=_ref.tablessStyle,tabs=types.map((function(type){return react.createElement(tabs_Tab,(0,esm_extends.Z)({},type,{active:active===type.internal,switchTab:switchTab,key:"table-type-item-"+type.internal,enabled:!type.disabled,className:tabsClassName,tooltip:type.tooltip,tablessStyle:tablessStyle}))}));return react.createElement("div",{className:"usa-dt-tab-list"+(tablessStyle?" tabless-tabs":""),role:"tablist"},!tablessStyle&&react.createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),tabs,react.createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};Tabs.displayName="Tabs",Tabs.propTypes=Tabs_propTypes,Tabs.__docgenInfo={description:"",methods:[],displayName:"Tabs",props:{types:{description:"",type:{name:"arrayOf",value:{name:"shape",value:{label:{name:"string",required:!0},internal:{name:"string",required:!0},count:{name:"number",required:!1},disabled:{name:"bool",required:!1},tooltip:{name:"element",required:!1}}}},required:!0},active:{description:"",type:{name:"string"},required:!0},switchTab:{description:"",type:{name:"func"},required:!0},tabsClassName:{description:"",type:{name:"string"},required:!1},tablessStyle:{description:"",type:{name:"bool"},required:!1}}};var tabs_Tabs=Tabs;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\tabs\\Tabs.jsx"]={name:"Tabs",docgenInfo:Tabs.__docgenInfo,path:"components\\tabs\\Tabs.jsx"});var _excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Tabs",component:tabs_Tabs,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"types"),": An array of tab objects with their properties below",(0,esm.kt)("ul",{parentName:"li"},(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"label"),": (required) string, the title of the label to display"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"internal"),": (required) string, the unique name of the tab "),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"count"),": number, the count to display to the right of the label"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"disabled"),": boolean, is the tab disabled"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tooltip"),": element, HTML to display in the tooltip"))),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"active"),": The internal property of the active tab"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"switchTab"),": A function to execute on switching tabs")),(0,esm.kt)("p",null,"In this example:"),(0,esm.kt)("h3",{id:"other-props"},"Other props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tabsClassName"),": A class name for the tabs"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tablessStyle"),": A property to show tabs in a tabless style")),(0,esm.kt)("h2",{id:"tabs-with-scroll"},"Tabs with Scroll"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Tabs with Scroll",mdxType:"Story"},(0,esm.kt)(misc.tS,{mdxType:"TabsWrapper"},(0,esm.kt)(tabs_Tabs,{types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars"},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler",disabled:!0},{internal:"yellowstone",label:"Yellowstone",count:22},{internal:"washingtondc",label:"Washington D.C.",count:33},{internal:"blue",label:"Blue"},{internal:"purple",label:"Purple"},{internal:"dinnerware",label:"Dinnerware"},{internal:"cookware",label:"Cookware"}],mdxType:"Tabs"})))),(0,esm.kt)("h2",{id:"tabs-with-a-tabless-style-disabled"},"Tabs with a Tabless Style Disabled"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Tabless Style",mdxType:"Story"},(0,esm.kt)(misc.tS,{mdxType:"TabsWrapper"},(0,esm.kt)(tabs_Tabs,{tablessStyle:!0,types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars",disabled:!0},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler"}],mdxType:"Tabs"})))),(0,esm.kt)(dist_esm.$4,{of:tabs_Tabs,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Advanced Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Keyword Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Federal Account Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Recipient Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","State Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Summary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var tabsWithScroll=function tabsWithScroll(){return(0,esm.kt)(misc.tS,null,(0,esm.kt)(tabs_Tabs,{types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars"},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler",disabled:!0},{internal:"yellowstone",label:"Yellowstone",count:22},{internal:"washingtondc",label:"Washington D.C.",count:33},{internal:"blue",label:"Blue"},{internal:"purple",label:"Purple"},{internal:"dinnerware",label:"Dinnerware"},{internal:"cookware",label:"Cookware"}]}))};tabsWithScroll.displayName="tabsWithScroll",tabsWithScroll.storyName="Tabs with Scroll",tabsWithScroll.parameters={storySource:{source:"\n \n "}};var tablessStyle=function tablessStyle(){return(0,esm.kt)(misc.tS,null,(0,esm.kt)(tabs_Tabs,{tablessStyle:!0,types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars",disabled:!0},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler"}]}))};tablessStyle.displayName="tablessStyle",tablessStyle.storyName="Tabless Style",tablessStyle.parameters={storySource:{source:"\n \n "}};var componentMeta={title:"Tabs",component:tabs_Tabs,includeStories:["tabsWithScroll","tablessStyle"]},mdxStoryNameToKey={"Tabs with Scroll":"tabsWithScroll","Tabless Style":"tablessStyle"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var tabs_stories=componentMeta,__namedExportsOrder=["tabsWithScroll","tablessStyle"]},"./.storybook/stories/tooltip.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},defaultStory:function(){return defaultStory},smartTooltipLeft:function(){return smartTooltipLeft},smartTooltipRight:function(){return smartTooltipRight}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js");var _mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),_misc__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),__webpack_require__("./.storybook/misc.jsx")),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Tooltip Wrapper",component:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-room"},"w/ Room"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"No overriding necessary in this case for position. Use the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"wide")," prop to expand the tooltip or the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop to determine which direction for the tooltip to go.\nCurrently, only supports right or left."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Default",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!1),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"When positioning the tooltip right/left, if there isn't enough room, it chooses the position for you."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-no-room-to-left-dynamically-right-positioned"},"w/ No Room to Left: Dynamically Right Positioned"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"A tooltip with the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop set to ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"right")," that instead goes left due to their not being enough room."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Smart Tooltip (left)",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-left"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-no-room-to-right-dynamically-left-positioned"},"w/ No Room to Right: Dynamically Left Positioned"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"A tooltip with the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop set to ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"left")," that instead goes right due to their not being enough room."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Smart Tooltip (right)",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-right"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Summary Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Advanced Search"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Spending Explorer"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Profile Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2 Page")),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"broker-integration-status"},"Broker Integration Status:"))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!1),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:'
    \n } wide={boolean("wide", false)} tooltipPosition={text("tooltipPosition", "left")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var smartTooltipLeft=function smartTooltipLeft(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-left"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};smartTooltipLeft.displayName="smartTooltipLeft",smartTooltipLeft.storyName="Smart Tooltip (left)",smartTooltipLeft.parameters={storySource:{source:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var smartTooltipRight=function smartTooltipRight(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-right"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};smartTooltipRight.displayName="smartTooltipRight",smartTooltipRight.storyName="Smart Tooltip (right)",smartTooltipRight.parameters={storySource:{source:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition", "left")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var componentMeta={title:"Tooltip Wrapper",component:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,includeStories:["defaultStory","smartTooltipLeft","smartTooltipRight"]},mdxStoryNameToKey={Default:"defaultStory","Smart Tooltip (left)":"smartTooltipLeft","Smart Tooltip (right)":"smartTooltipRight"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","smartTooltipLeft","smartTooltipRight"]},"./styles/components/_buttons.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_carousel.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_downloadIconButton.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_fiscalYearPicker.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_flexGrid.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_informationBoxes.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_messages.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_pageHeader.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_picker.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_searchBar.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_sectionTitle.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_shareIcon.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_tabs.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/cards/_cards.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/infoTooltip/_tooltipWrapper.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/pagination/_pagination.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/table/_table.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"?4f7e":function(){},"./generated-stories-entry.cjs":function(module,__unused_webpack_exports,__webpack_require__){"use strict";module=__webpack_require__.nmd(module),(0,__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js").configure)([__webpack_require__("./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$")],module,!1)}},function(__webpack_require__){var __webpack_exec__=function(moduleId){return __webpack_require__(__webpack_require__.s=moduleId)};__webpack_require__.O(0,[211],(function(){return __webpack_exec__("./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),__webpack_exec__("./node_modules/@storybook/core-client/dist/esm/globals/globals.js"),__webpack_exec__("./storybook-init-framework-entry.js"),__webpack_exec__("./node_modules/@storybook/react/dist/esm/client/docs/config-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-docs/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-a11y/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-actions/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-backgrounds/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-measure/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-outline/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-knobs/dist/preset/addDecorator.js-generated-config-entry.js"),__webpack_exec__("./.storybook/preview.js-generated-config-entry.js"),__webpack_exec__("./generated-stories-entry.cjs")}));__webpack_require__.O()}]); \ No newline at end of file diff --git a/docs/main.ba98426f.iframe.bundle.js b/docs/main.ba98426f.iframe.bundle.js new file mode 100644 index 00000000..83e12a40 --- /dev/null +++ b/docs/main.ba98426f.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkdata_transparency_ui=self.webpackChunkdata_transparency_ui||[]).push([[179],{"./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$":function(module,__unused_webpack_exports,__webpack_require__){var map={"./stories/SearchBar.stories.mdx":"./.storybook/stories/SearchBar.stories.mdx","./stories/button.stories.mdx":"./.storybook/stories/button.stories.mdx","./stories/card.stories.mdx":"./.storybook/stories/card.stories.mdx","./stories/carousel.stories.mdx":"./.storybook/stories/carousel.stories.mdx","./stories/fiscalYearPicker.stories.js":"./.storybook/stories/fiscalYearPicker.stories.js","./stories/flexGridCol.stories.mdx":"./.storybook/stories/flexGridCol.stories.mdx","./stories/flexGridContainer.stories.mdx":"./.storybook/stories/flexGridContainer.stories.mdx","./stories/flexGridRow.stories.mdx":"./.storybook/stories/flexGridRow.stories.mdx","./stories/informationBoxes.stories.mdx":"./.storybook/stories/informationBoxes.stories.mdx","./stories/introduction.stories.mdx":"./.storybook/stories/introduction.stories.mdx","./stories/message.stories.mdx":"./.storybook/stories/message.stories.mdx","./stories/page-header.stories.mdx":"./.storybook/stories/page-header.stories.mdx","./stories/pagination.stories.mdx":"./.storybook/stories/pagination.stories.mdx","./stories/picker.stories.mdx":"./.storybook/stories/picker.stories.mdx","./stories/quarterPicker.stories.mdx":"./.storybook/stories/quarterPicker.stories.mdx","./stories/section-title.stories.mdx":"./.storybook/stories/section-title.stories.mdx","./stories/table.stories.mdx":"./.storybook/stories/table.stories.mdx","./stories/tabs.stories.mdx":"./.storybook/stories/tabs.stories.mdx","./stories/tooltip.stories.mdx":"./.storybook/stories/tooltip.stories.mdx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$"},"./.storybook/misc.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AB:function(){return PickerWrapper},I1:function(){return ExampleTooltip},M_:function(){return QuarterPickerCumulative},Nl:function(){return PaginationWrapper},T8:function(){return BasicTableWrapper},aK:function(){return QuarterPickerWrapper},gz:function(){return QuarterPickerWithPeriods},tS:function(){return TabsWrapper},u:function(){return Tooltip},y6:function(){return TableWrapper}});var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_10__=(__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/react/index.js")),_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./components/quarterPicker/QuarterPicker.jsx"),Tooltip=function Tooltip(){return react__WEBPACK_IMPORTED_MODULE_10__.createElement(_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__.Z,{title:"An Example Tooltip",textAlign:{title:"left",text:"left"}},react__WEBPACK_IMPORTED_MODULE_10__.createElement(react__WEBPACK_IMPORTED_MODULE_10__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Here are some random words serving the purpose of illustrating how the tooltip component works"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Its really pretty neat and easy to use. I think you are gonna like it a ton."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"You are welcome."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("strong",null,"Some Bold Text That is like a Header"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Some text that is not apart of the header but underneath it."),react__WEBPACK_IMPORTED_MODULE_10__.createElement("ul",null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,"Some List Item"),react__WEBPACK_IMPORTED_MODULE_10__.createElement("li",null,react__WEBPACK_IMPORTED_MODULE_10__.createElement("strong",null,"Some Bold Text That is like a Header")," -- Some List Item")),react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"More Paragraph")))};Tooltip.displayName="Tooltip";var PaginationWrapper=function PaginationWrapper(props){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(1),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState,2),page=_useState2[0],changePage=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(10),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState3,2),pageSize=_useState4[0],changeLimit=_useState4[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({changePage:function handlePageChange(pg){console.log("changePage handler invoked w/ this parameter: ",pg),changePage(pg)},currentPage:page,changeLimit:function handleChangeLimit(pageSize){console.log("changeLimit handler invoked w/ this parameter: ",pageSize),changeLimit(pageSize)},pageSize:pageSize},props)))};PaginationWrapper.displayName="PaginationWrapper";var QuarterPickerWrapper=function QuarterPickerWrapper(props){var _useState5=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(["1"]),_useState6=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState5,2),selectedQuarters=_useState6[0],setSelectedQuarters=_useState6[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:function handlePickQuarter(newlySelected){selectedQuarters.includes(newlySelected)?setSelectedQuarters(selectedQuarters.filter((function(quarter){return quarter!==newlySelected}))):setSelectedQuarters((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__.Z)(new Set([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_14__.Z)(selectedQuarters),[newlySelected]))))},selectedQuarters:selectedQuarters},props)))};QuarterPickerWrapper.displayName="QuarterPickerWrapper";var QuarterPickerCumulative=function QuarterPickerCumulative(props){var _useCumulativeQuarter=(0,_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__.u)(["1"]),_useCumulativeQuarter2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useCumulativeQuarter,2),selectedQuarters=_useCumulativeQuarter2[0],handleSelection=_useCumulativeQuarter2[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:handleSelection,selectedQuarters:selectedQuarters},props)))};QuarterPickerCumulative.displayName="QuarterPickerCumulative";var QuarterPickerWithPeriods=function QuarterPickerWithPeriods(props){var _useCumulativeQuarter3=(0,_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_12__.u)(["2"]),_useCumulativeQuarter4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useCumulativeQuarter3,2),selectedPeriods=_useCumulativeQuarter4[0],handleSelection=_useCumulativeQuarter4[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container quarter-picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({handleSelection:handleSelection,selectedPeriods:selectedPeriods},props)))};QuarterPickerWithPeriods.displayName="QuarterPickerWithPeriods";var PickerWrapper=function PickerWrapper(props){var _useState7=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("All"),_useState8=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState7,2),selectedOption=_useState8[0],onClick=_useState8[1],options=[{name:"All",onClick:onClick},{name:"Department of Transportation",onClick:onClick},{name:"Department of State",onClick:onClick},{name:"Department of International Affairs",onClick:onClick},{name:"National Credit Union Administration",onClick:onClick},{name:"Federal Breau of Invesitgation",onClick:onClick},{name:"Department of Health and Human Services",onClick:onClick}];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container picker-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({selectedOption:selectedOption,onClick:onClick,options:options},props.children.props)))};PickerWrapper.displayName="PickerWrapper";var mockColumns=[{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount",right:!0},{title:"percent",displayName:"% of Total Amount",right:!0}],TableWrapper=function TableWrapper(props){var _useState9=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("amount"),_useState10=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState9,2),field=_useState10[0],updateField=_useState10[1],_useState11=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("desc"),_useState12=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState11,2),direction=_useState12[0],updateDirection=_useState12[1],currentSort={field:field,direction:direction};return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container table-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({updateSort:function updateSort(field,direction){console.log("update sort invoked with "+field+", "+direction),updateField(field),updateDirection(direction)},currentSort:currentSort,columns:props.columns?props.columns:mockColumns},props.children.props)))};TableWrapper.displayName="TableWrapper";var BasicTableWrapper=function BasicTableWrapper(props){return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container table-story"},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({columns:mockColumns},props.children.props)))};BasicTableWrapper.displayName="BasicTableWrapper";var TabsWrapper=function TabsWrapper(props){var _useState13=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("name"),_useState14=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState13,2),activeTab=_useState14[0],setActiveTab=_useState14[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container tabs-story",style:{width:"100%",paddingLeft:"0"}},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({switchTab:setActiveTab,active:activeTab},props.children.props)))};TabsWrapper.displayName="TabsWrapper";var TabsWrapperShowTooltip=function TabsWrapperShowTooltip(props){var _useState15=(0,react__WEBPACK_IMPORTED_MODULE_10__.useState)("name"),_useState16=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_13__.Z)(_useState15,2),activeTab=_useState16[0],setActiveTab=_useState16[1];return react__WEBPACK_IMPORTED_MODULE_10__.createElement("div",{className:"story__container tabs-story tabs-story-show-tooltip",style:{width:"100%",paddingLeft:"0"}},react__WEBPACK_IMPORTED_MODULE_10__.cloneElement(props.children,Object.assign({switchTab:setActiveTab,active:activeTab},props.children.props)))};TabsWrapperShowTooltip.displayName="TabsWrapperShowTooltip";var ExampleTooltip=function ExampleTooltip(){return react__WEBPACK_IMPORTED_MODULE_10__.createElement(_components_infoTooltip_TooltipComponent__WEBPACK_IMPORTED_MODULE_11__.Z,{title:"Details"},react__WEBPACK_IMPORTED_MODULE_10__.createElement("p",null,"Here is some sample content."))};ExampleTooltip.displayName="ExampleTooltip";Tooltip.__docgenInfo={description:"",methods:[],displayName:"Tooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"Tooltip",docgenInfo:Tooltip.__docgenInfo,path:".storybook\\misc.jsx"}),PaginationWrapper.__docgenInfo={description:"",methods:[],displayName:"PaginationWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"PaginationWrapper",docgenInfo:PaginationWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerWrapper.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerWrapper",docgenInfo:QuarterPickerWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerCumulative.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerCumulative"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerCumulative",docgenInfo:QuarterPickerCumulative.__docgenInfo,path:".storybook\\misc.jsx"}),QuarterPickerWithPeriods.__docgenInfo={description:"",methods:[],displayName:"QuarterPickerWithPeriods"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"QuarterPickerWithPeriods",docgenInfo:QuarterPickerWithPeriods.__docgenInfo,path:".storybook\\misc.jsx"}),PickerWrapper.__docgenInfo={description:"",methods:[],displayName:"PickerWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"PickerWrapper",docgenInfo:PickerWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TableWrapper.__docgenInfo={description:"",methods:[],displayName:"TableWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TableWrapper",docgenInfo:TableWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),BasicTableWrapper.__docgenInfo={description:"",methods:[],displayName:"BasicTableWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"BasicTableWrapper",docgenInfo:BasicTableWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TabsWrapper.__docgenInfo={description:"",methods:[],displayName:"TabsWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TabsWrapper",docgenInfo:TabsWrapper.__docgenInfo,path:".storybook\\misc.jsx"}),TabsWrapperShowTooltip.__docgenInfo={description:"",methods:[],displayName:"TabsWrapperShowTooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"TabsWrapperShowTooltip",docgenInfo:TabsWrapperShowTooltip.__docgenInfo,path:".storybook\\misc.jsx"}),ExampleTooltip.__docgenInfo={description:"",methods:[],displayName:"ExampleTooltip"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\misc.jsx"]={name:"ExampleTooltip",docgenInfo:ExampleTooltip.__docgenInfo,path:".storybook\\misc.jsx"})},"./.storybook/preview.js-generated-config-entry.js":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject);__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js");var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/addon-console/dist/index.js"),client=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js"),esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),preview=__webpack_require__("./node_modules/@storybook/addon-viewport/dist/esm/preview.js"),index_es=__webpack_require__("./node_modules/@fortawesome/fontawesome-svg-core/index.es.js"),free_solid_svg_icons_index_es=__webpack_require__("./node_modules/@fortawesome/free-solid-svg-icons/index.es.js");(0,__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js").Ue)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"});function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}index_es.vI.add(free_solid_svg_icons_index_es.gc2,free_solid_svg_icons_index_es.EyR,free_solid_svg_icons_index_es.yOZ,free_solid_svg_icons_index_es.FL8,free_solid_svg_icons_index_es.P88,free_solid_svg_icons_index_es.IV4,free_solid_svg_icons_index_es.eW2,free_solid_svg_icons_index_es.Uu6,free_solid_svg_icons_index_es.I4f,free_solid_svg_icons_index_es.l1h,free_solid_svg_icons_index_es.heh,free_solid_svg_icons_index_es.koM,free_solid_svg_icons_index_es.OS1,free_solid_svg_icons_index_es.a3n,free_solid_svg_icons_index_es.ptq,free_solid_svg_icons_index_es.mTx,free_solid_svg_icons_index_es._tD,free_solid_svg_icons_index_es.cNd,free_solid_svg_icons_index_es.eHv,free_solid_svg_icons_index_es.Xjp,free_solid_svg_icons_index_es.iGi,free_solid_svg_icons_index_es.YHc,free_solid_svg_icons_index_es.sqG,free_solid_svg_icons_index_es.wDC,free_solid_svg_icons_index_es.TX0,free_solid_svg_icons_index_es.FGq,free_solid_svg_icons_index_es.El_,free_solid_svg_icons_index_es.UJf,free_solid_svg_icons_index_es.wn1,free_solid_svg_icons_index_es.Hw7,free_solid_svg_icons_index_es.LM3,free_solid_svg_icons_index_es.pL1,free_solid_svg_icons_index_es.B3e,free_solid_svg_icons_index_es.LEN,free_solid_svg_icons_index_es.Toy,free_solid_svg_icons_index_es.NBC,free_solid_svg_icons_index_es.Cv1,free_solid_svg_icons_index_es.EfQ,free_solid_svg_icons_index_es.Mzo),(0,client.addParameters)({docs:{container:esm.Zu,page:esm.kO},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=(0,slicedToArray.Z)(a,2),obj=(_a[0],_a[1]),_b=(0,slicedToArray.Z)(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:"Introduction"===obj2.kind?1:"Components/Flex Grid/Flex Grid Container"===obj.kind||"Components/Flex Grid/Flex Grid Row"===obj.kind||"Components/Flex Grid/Flex Grid Col"===obj2.kind?0:1},showAddonPanel:!0},viewport:{viewports:preview.p},a11y:{element:"#root",config:{},options:{},manual:!0}}),(0,client.addDecorator)((function(storyFn){return react.createElement("div",{style:{width:"100%"}},storyFn())}),(function(storyFn,context){return(0,dist.A5)()(storyFn)(context)})),Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return(0,ClientApi.uc)(value);case"argTypes":return(0,ClientApi.v9)(value);case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:2008,latestYear=arguments.length>1?arguments[1]:void 0;return(0,toConsumableArray.Z)(new Array(latestYear-earliestYear)).reduce((function(listOfYears,_,i){return listOfYears.push(earliestYear+i+1),listOfYears}),[earliestYear]).sort((function(a,b){return b-a}))}(earliestFy,latestFy).map((function(year){return{name:"FY "+year,value:""+year,onClick:handleFyChange}})):[{name:"Loading fiscal years...",value:null,onClick:function onClick(){}}]}()}),react.createElement("span",null,"Fiscal Year"))};FiscalYearPicker.displayName="FiscalYearPicker",FiscalYearPicker.displayName="Fiscal Year Picker",FiscalYearPicker.propTypes={backgroundColor:prop_types_default().string,selectedFy:prop_types_default().oneOfType([prop_types_default().number,prop_types_default().string]),earliestFy:prop_types_default().number,latestFy:prop_types_default().number,options:prop_types_default().arrayOf(prop_types_default().shape({name:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().number]),value:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().number])})),handleFyChange:prop_types_default().func,sortFn:prop_types_default().func},FiscalYearPicker.__docgenInfo={description:"",methods:[],displayName:"Fiscal Year Picker",props:{selectedFy:{defaultValue:{value:"2020",computed:!1},description:"",type:{name:"union",value:[{name:"number"},{name:"string"}]},required:!1},earliestFy:{defaultValue:{value:"2017",computed:!1},description:"",type:{name:"number"},required:!1},options:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"union",value:[{name:"string"},{name:"number"}],required:!1},value:{name:"union",value:[{name:"string"},{name:"number"}],required:!1}}}},required:!1},handleFyChange:{defaultValue:{value:"() => { }",computed:!1},description:"",type:{name:"func"},required:!1},sortFn:{defaultValue:{value:"(a, b) => {\r\n if (Number.isInteger(a)) return b - a;\r\n return parseInt(b, 10) - parseInt(a, 10);\r\n}",computed:!1},description:"",type:{name:"func"},required:!1},backgroundColor:{description:"",type:{name:"string"},required:!1},latestFy:{description:"",type:{name:"number"},required:!1}}};var components_FiscalYearPicker=FiscalYearPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\FiscalYearPicker.jsx"]={name:"FiscalYearPicker",docgenInfo:FiscalYearPicker.__docgenInfo,path:"components\\FiscalYearPicker.jsx"})},"./components/Picker.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),lodash__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/lodash/lodash.js");__webpack_require__("./styles/components/_picker.scss");var fontAwesomeIconId="usa-dt-picker__button-icon--svg",propTypes={sortFn:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func,icon:prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,selectedOption:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,prop_types__WEBPACK_IMPORTED_MODULE_7___default().string]),className:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,id:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,options:prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_7___default().shape({name:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,prop_types__WEBPACK_IMPORTED_MODULE_7___default().node]),value:prop_types__WEBPACK_IMPORTED_MODULE_7___default().any,onClick:prop_types__WEBPACK_IMPORTED_MODULE_7___default().func,classNames:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string})),dropdownDirection:prop_types__WEBPACK_IMPORTED_MODULE_7___default().oneOf(["left","right"]),isFixedWidth:prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool,children:prop_types__WEBPACK_IMPORTED_MODULE_7___default().node,backgroundColor:prop_types__WEBPACK_IMPORTED_MODULE_7___default().string,notEnabled:prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool},defaultSort=function defaultSort(a,b,selectedOption){return a.name===selectedOption?-1:b.name===selectedOption?1:a.nameb.name?1:0},Picker=function Picker(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,_ref$backgroundColor=_ref.backgroundColor,backgroundColor=void 0===_ref$backgroundColor?"#1a4480":_ref$backgroundColor,notEnabled=_ref.notEnabled,pickerRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null),buttonRef=(0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null),_useState=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!1),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.Z)(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({top:0,width:0,left:0,right:0}),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__.Z)(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],handleSetDimensions=function handleSetDimensions(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),(0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)((function(){var closeMenu=function closeMenu(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!==id+"-"+fontAwesomeIconId&&e.target.parentNode.id!==id+"-"+fontAwesomeIconId&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);var createOnClickFn=function createOnClickFn(cb){return function(param){cb(param),setExpanded(!1)}};return react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{id:id,className:"usa-dt-picker "+className,ref:pickerRef,style:{backgroundColor:backgroundColor}},react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{className:"usa-dt-picker__dropdown-container",style:{backgroundColor:backgroundColor}},react__WEBPACK_IMPORTED_MODULE_4__.createElement("button",{style:{backgroundColor:backgroundColor},ref:buttonRef,"aria-label":"Dropdown Toggle Button",className:"usa-dt-picker__button",onClick:function toggleMenu(e){e.preventDefault(),notEnabled||setExpanded(!expanded)}},icon&&react__WEBPACK_IMPORTED_MODULE_4__.createElement("div",{className:"usa-dt-picker__icon"},icon),children?react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment,null,children):react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4__.createElement("span",{className:"usa-dt-picker__button-text",style:{backgroundColor:backgroundColor}},selectedOption),react__WEBPACK_IMPORTED_MODULE_4__.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react__WEBPACK_IMPORTED_MODULE_4__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__.G,{id:id+"-"+fontAwesomeIconId,icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react__WEBPACK_IMPORTED_MODULE_4__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__.G,{id:id+"-"+fontAwesomeIconId,icon:"chevron-up",alt:"Toggle menu",color:"#555"})))),react__WEBPACK_IMPORTED_MODULE_4__.createElement("ul",{className:"usa-dt-picker__list "+(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:dimensions.top+"px",left:dimensions.left+"px"};return isFixedWidth&&"right"===dropdownDirection?Object.assign({},styles,{width:dimensions.width+"px"}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:""+dimensions.right,width:dimensions.width+"px"}:"left"===dropdownDirection?{top:styles.top,right:dimensions.right+"px"}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return Object.assign({},option,{onClick:createOnClickFn(option.onClick)})})).map((function(option){return react__WEBPACK_IMPORTED_MODULE_4__.createElement("li",{key:(0,lodash__WEBPACK_IMPORTED_MODULE_6__.uniqueId)(),className:"usa-dt-picker__list-item "+(null!=option&&option.classNames?option.classNames:"")},react__WEBPACK_IMPORTED_MODULE_4__.createElement("button",{className:"usa-dt-picker__item "+(option.name===selectedOption?"active":""),value:""+(option.value||option.name),onClick:function onClick(e){e.preventDefault(),option.onClick(option.value)},onKeyDown:function onKeyDown(e){"reddit"===option.name&&"Tab"===e.key&&setExpanded(!expanded)}},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},id:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},icon:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"node"},required:!1},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\r\n // if no sort fn is provided, sort active element to lowest index\r\n if (a.name === selectedOption) return -1;\r\n if (b.name === selectedOption) return 1;\r\n // then, sort alphabetically\r\n if (a.name < b.name) return -1;\r\n if (a.name > b.name) return 1;\r\n return 0;\r\n}",computed:!1},description:"",type:{name:"func"},required:!1},isFixedWidth:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},description:"",type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1},backgroundColor:{defaultValue:{value:"'#1a4480'",computed:!1},description:"",type:{name:"string"},required:!1},selectedOption:{description:"",type:{name:"union",value:[{name:"node"},{name:"string"}]},required:!1},options:{description:"",type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"union",value:[{name:"string"},{name:"node"}],required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1},classNames:{name:"string",required:!1}}}},required:!1},children:{description:"",type:{name:"node"},required:!1},notEnabled:{description:"",type:{name:"bool"},required:!1}}},__webpack_exports__.Z=Picker,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components\\Picker.jsx"})},"./components/flexGrid/FlexGridCol.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridCol}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./helpers/flexGridHelper.js"),_excluded=["children","className","desktopxl","desktop","mobile","tablet","width"];function GridCol(_ref){var children=_ref.children,className=_ref.className,desktopxl=_ref.desktopxl,desktop=_ref.desktop,mobile=_ref.mobile,tablet=_ref.tablet,width=_ref.width,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_4__.Z)(_ref,_excluded),baseClasses=[[null,width],["desktopxl",desktopxl],["desktop",desktop],["tablet",tablet],["mobile",mobile]].map((function generateClass(_ref2){var _ref3=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__.Z)(_ref2,2),breakpoint=_ref3[0],colWidth=_ref3[1];if(void 0!==colWidth){if(void 0!==colWidth.span&&void 0!==colWidth.offset){var spanClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth.span,offsetClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__offset-"+colWidth.offset;return(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([spanClass,offsetClass])}if(void 0!==colWidth.order){var _spanClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth.span,orderClass=(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__order-"+colWidth.order;return(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([_spanClass,orderClass])}return(breakpoint?breakpoint+":":"")+"usa-dt-flex-grid__col-"+colWidth}return""})),allClasses=(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_3__.V)([].concat((0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__.Z)(baseClasses),[className]));return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_7__.Z)({className:allClasses||"usa-dt-flex-grid__col"},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridCol.displayName="GridCol",GridCol.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_8___default().node,className:prop_types__WEBPACK_IMPORTED_MODULE_8___default().string,desktopxl:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),desktop:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),tablet:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),mobile:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})]),width:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"]),prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({span:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["auto","fill"])]),offset:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().string]),order:prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().number,prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOf(["first","last"])])})])},GridCol.__docgenInfo={description:"",methods:[],displayName:"GridCol",props:{children:{description:"",type:{name:"node"},required:!1},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1},desktopxl:{description:"",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},desktop:{description:"Width to use at the desktop breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},tablet:{description:"Width to use at the tablet breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},mobile:{description:"Width to use at the mobile breakpoint",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1},width:{description:"Default width to use",type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]},{name:"shape",value:{span:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"auto"',computed:!1},{value:'"fill"',computed:!1}]}],required:!1},offset:{name:"union",value:[{name:"number"},{name:"string"}],required:!1},order:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:'"first"',computed:!1},{value:'"last"',computed:!1}]}],required:!1}}}]},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridCol.jsx"]={name:"GridCol",docgenInfo:GridCol.__docgenInfo,path:"components\\flexGrid\\FlexGridCol.jsx"})},"./components/flexGrid/FlexGridContainer.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridContainer}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./helpers/flexGridHelper.js"),_excluded=["children","className"];function GridContainer(_ref){var children=_ref.children,className=_ref.className,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.Z)(_ref,_excluded);return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__.Z)({className:(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__.V)(["usa-dt-flex-grid__container",className])},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridContainer.displayName="GridContainer",GridContainer.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_4___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string},GridContainer.__docgenInfo={description:"",methods:[],displayName:"GridContainer",props:{children:{description:"",type:{name:"node"},required:!0},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridContainer.jsx"]={name:"GridContainer",docgenInfo:GridContainer.__docgenInfo,path:"components\\flexGrid\\FlexGridContainer.jsx"})},"./components/flexGrid/FlexGridRow.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return GridRow}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__),_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./helpers/flexGridHelper.js"),classnames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__),_excluded=["children","className","hasGutter","gutterSize"];function GridRow(_ref){var children=_ref.children,className=_ref.className,hasGutter=_ref.hasGutter,gutterSize=_ref.gutterSize,props=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,_excluded),gutterClass=hasGutter?"usa-dt-flex-grid__gutter":"",gutterSizeClass=classnames__WEBPACK_IMPORTED_MODULE_2___default()({"usa-dt-flex-grid__gutter-sm":"sm"===gutterSize,"usa-dt-flex-grid__gutter-lg":"lg"===gutterSize});return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_4__.Z)({className:(0,_helpers_flexGridHelper__WEBPACK_IMPORTED_MODULE_1__.V)(["usa-dt-flex-grid__row",gutterClass,gutterSizeClass,className])},props),children)}__webpack_require__("./styles/components/_flexGrid.scss"),GridRow.displayName="GridRow",GridRow.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_5___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_5___default().string,hasGutter:prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool,gutterSize:prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(["sm","lg"])},GridRow.defaultProps={hasGutter:!1},GridRow.__docgenInfo={description:"",methods:[],displayName:"GridRow",props:{hasGutter:{defaultValue:{value:"false",computed:!1},description:"Should the row have gutters between its columns?",type:{name:"bool"},required:!1},children:{description:"",type:{name:"node"},required:!0},className:{description:"Any additional classes to apply",type:{name:"string"},required:!1},gutterSize:{description:"Size of the gutter.\r\nThe `hasGutter` prop must be `true` for this to have an effect.",type:{name:"enum",value:[{value:'"sm"',computed:!1},{value:'"lg"',computed:!1}]},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\flexGrid\\FlexGridRow.jsx"]={name:"GridRow",docgenInfo:GridRow.__docgenInfo,path:"components\\flexGrid\\FlexGridRow.jsx"})},"./components/infoTooltip/TooltipComponent.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),propTypes={title:prop_types__WEBPACK_IMPORTED_MODULE_2___default().string.isRequired,children:prop_types__WEBPACK_IMPORTED_MODULE_2___default().node.isRequired,className:prop_types__WEBPACK_IMPORTED_MODULE_2___default().string,textAlign:prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({title:prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(["center","left"]),text:prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(["center","left"])})},TooltipComponent=function TooltipComponent(_ref){var _cx,children=_ref.children,title=_ref.title,className=_ref.className,textAlign=_ref.textAlign;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()((_cx={},_cx[className]=null!==className,_cx))},react__WEBPACK_IMPORTED_MODULE_0__.createElement("h1",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("tooltip__title",textAlign.title)},title),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("tooltip__text",textAlign.text)},children))};TooltipComponent.displayName="TooltipComponent",TooltipComponent.propTypes=propTypes,TooltipComponent.defaultProps={className:null,textAlign:{title:"left",text:"left"}},TooltipComponent.__docgenInfo={description:"",methods:[],displayName:"TooltipComponent",props:{className:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"string"},required:!1},textAlign:{defaultValue:{value:"{\r\n title: 'left',\r\n text: 'left'\r\n}",computed:!1},description:"",type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1},title:{description:"",type:{name:"string"},required:!0},children:{description:"",type:{name:"node"},required:!0}}},__webpack_exports__.Z=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\infoTooltip\\TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components\\infoTooltip\\TooltipComponent.jsx"})},"./components/infoTooltip/TooltipWrapper.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return TooltipWrapper}});__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js");var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/createClass.js"),_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/inherits.js"),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"),react__WEBPACK_IMPORTED_MODULE_8__=(__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/react/index.js")),prop_types__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_12__),lodash__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/lodash/lodash.js"),classnames__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js");function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.Z)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_7__.Z)(this,result)}}__webpack_require__("./styles/components/infoTooltip/_tooltipWrapper.scss");var propTypes={className:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,children:prop_types__WEBPACK_IMPORTED_MODULE_12___default().element,tooltipComponent:prop_types__WEBPACK_IMPORTED_MODULE_12___default().element,tooltipPosition:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,wide:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool,icon:prop_types__WEBPACK_IMPORTED_MODULE_12___default().string,width:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,controlledProps:prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({isControlled:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool,showTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,closeTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,isVisible:prop_types__WEBPACK_IMPORTED_MODULE_12___default().bool}),offsetAdjustments:prop_types__WEBPACK_IMPORTED_MODULE_12___default().shape({top:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,right:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number,left:prop_types__WEBPACK_IMPORTED_MODULE_12___default().number}),styles:prop_types__WEBPACK_IMPORTED_MODULE_12___default().object,onMouseMoveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func,onMouseLeaveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_12___default().func},defaultProps={className:null,children:null,toolTipComponent:null,tooltipPosition:"right",wide:!1,icon:"",controlledProps:{isControlled:!1,showTooltip:function showTooltip(){},closeTooltip:function closeTooltip(){},isVisible:!1},width:375,offsetAdjustments:{top:-15,right:0,left:0},styles:{}},tooltipIcons={info:react__WEBPACK_IMPORTED_MODULE_8__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_11__.G,{className:"tooltip__icon",icon:"info-circle"})},TooltipWrapper=function(_React$Component){(0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_13__.Z)(TooltipWrapper,_React$Component);var _super=_createSuper(TooltipWrapper);function TooltipWrapper(props){var _this;return(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_14__.Z)(this,TooltipWrapper),(_this=_super.call(this,props)).onMouseMoveTooltip=function(){_this.props.onMouseMoveTooltip?_this.props.onMouseMoveTooltip():_this.props.controlledProps.isControlled?_this.props.controlledProps.showTooltip():_this.state.isHoveringOnTooltip||_this.setState({isHoveringOnTooltip:!0})},_this.onMouseLeaveTooltip=function(){_this.props.onMouseLeaveTooltip?_this.props.onMouseLeaveTooltip():_this.state.isHoveringOnTooltip&&_this.setState({isHoveringOnTooltip:!1})},_this.getTooltipWidth=function(){var _this$getAvailableHor=_this.getAvailableHorizontalSpace(),spaceToRight=_this$getAvailableHor.right,spaceToLeft=_this$getAvailableHor.left,total=_this$getAvailableHor.total,greatestSpace=spaceToRight>spaceToLeft?spaceToRight:spaceToLeft;return total<425?total-10:"bottom"===_this.props.tooltipPosition?_this.props.width:_this.props.wide?greatestSpace>800?700:greatestSpace-5:_this.props.width},_this.getDimensionsForMobile=function(isMobile,width){return isMobile?{top:_this.tooltipContainer.clientHeight+_this.tooltipContainer.offsetTop+8+"px",width:width,left:_this.tooltipContainer.clientWidth/2-8+"px"}:Object.assign({},_this.state.spacerStyles,{width:width})},_this.state={showTooltip:!1,isHoveringOnTooltip:!1,offsetTop:0,arrowDirection:"left",spacerStyles:{}},_this.showTooltip=_this.showTooltip.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),_this.closeTooltip=_this.closeTooltip.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),_this.setTooltipDimensions=(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(_this.setTooltipDimensions.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_15__.Z)(_this)),16),_this}return(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_16__.Z)(TooltipWrapper,[{key:"componentDidMount",value:function componentDidMount(){this.setTooltipDimensions(),window.addEventListener("scroll",(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(this.setTooltipDimensions,500)),window.addEventListener("resize",(0,lodash__WEBPACK_IMPORTED_MODULE_9__.throttle)(this.setTooltipDimensions,100))}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.setTooltipDimensions()}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("scroll",this.setTooltipDimensions),window.removeEventListener("resize",this.setTooltipDimensions)}},{key:"getAvailableHorizontalSpace",value:function getAvailableHorizontalSpace(){var totalSpace=window.innerWidth,_this$tooltipContaine=this.tooltipContainer,tooltipContainerLeftPosition=_this$tooltipContaine.offsetLeft;return{right:totalSpace-tooltipContainerLeftPosition-_this$tooltipContaine.clientWidth,left:tooltipContainerLeftPosition,total:totalSpace}}},{key:"setTooltipDimensions",value:function setTooltipDimensions(){if(Object.keys(this.props.styles).includes("transform")&&this.tooltipContainer)"bottom"===this.props.tooltipPosition?this.setState({arrowDirection:"bottom",spacerStyle:{width:this.getTooltipWidth()}}):this.setState({spacerStyle:{width:this.getTooltipWidth()}});else if(this.tooltipContainer){var tooltipWidth=this.getTooltipWidth(),_this$getAvailableHor2=this.getAvailableHorizontalSpace(),spaceToLeft=_this$getAvailableHor2.left,total=_this$getAvailableHor2.total,spaceToRight=_this$getAvailableHor2.right,offsetTop=this.tooltipContainer.offsetTop+this.props.offsetAdjustments.top,isMobile=total<700;if("bottom"===this.props.tooltipPosition||isMobile)this.setState({arrowDirection:"bottom",spacerStyle:Object.assign({},this.getDimensionsForMobile(isMobile,tooltipWidth))});else if("right"===this.props.tooltipPosition&&spaceToRight {},\r\n closeTooltip: () => {},\r\n isVisible: false\r\n}",computed:!1},description:"",type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1},width:{defaultValue:{value:"375",computed:!1},description:"",type:{name:"number"},required:!1},offsetAdjustments:{defaultValue:{value:"{\r\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\r\n right: 0, // InfoToolTip offset\r\n left: 0\r\n}",computed:!1},description:"",type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1},styles:{defaultValue:{value:"{}",computed:!1},description:"",type:{name:"object"},required:!1},tooltipComponent:{description:"",type:{name:"element"},required:!1},onMouseMoveTooltip:{description:"",type:{name:"func"},required:!1},onMouseLeaveTooltip:{description:"",type:{name:"func"},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\infoTooltip\\TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper.__docgenInfo,path:"components\\infoTooltip\\TooltipWrapper.jsx"})},"./components/messages/ComingSoon.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_GenericMessage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./components/messages/GenericMessage.jsx");__webpack_require__("./styles/components/_messages.scss");var ComingSoon=function ComingSoon(_ref){var className=_ref.className;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_GenericMessage__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"coming soon "+className,title:"Coming Soon",description:"This feature is currently under development."})};ComingSoon.displayName="ComingSoon",ComingSoon.__docgenInfo={description:"",methods:[],displayName:"ComingSoon"},__webpack_exports__.Z=ComingSoon,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\ComingSoon.jsx"]={name:"ComingSoon",docgenInfo:ComingSoon.__docgenInfo,path:"components\\messages\\ComingSoon.jsx"})},"./components/messages/ErrorMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),_GenericMessage__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./components/messages/GenericMessage.jsx"),propTypes={description:prop_types__WEBPACK_IMPORTED_MODULE_5___default().string},ErrorMessage=function ErrorMessage(_ref){var description=_ref.description,icon=react__WEBPACK_IMPORTED_MODULE_2__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.G,{icon:"exclamation-triangle"});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(_GenericMessage__WEBPACK_IMPORTED_MODULE_4__.Z,{description:description,title:"An error occurred",icon:icon,className:"error"})};ErrorMessage.displayName="ErrorMessage",ErrorMessage.propTypes=propTypes,ErrorMessage.defaultProps={description:"Something went wrong while gathering your data."},ErrorMessage.__docgenInfo={description:"",methods:[],displayName:"ErrorMessage",props:{description:{defaultValue:{value:"'Something went wrong while gathering your data.'",computed:!1},description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=ErrorMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\ErrorMessage.jsx"]={name:"ErrorMessage",docgenInfo:ErrorMessage.__docgenInfo,path:"components\\messages\\ErrorMessage.jsx"})},"./components/messages/GenericMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);__webpack_require__("./styles/components/_messages.scss");var propTypes={title:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string.isRequired,description:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string,icon:prop_types__WEBPACK_IMPORTED_MODULE_3___default().object,className:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string},GenericMessage=function GenericMessage(_ref){var icon=_ref.icon,title=_ref.title,description=_ref.description,className=_ref.className;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message"+(className&&" usda-message_"+className)},icon&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__icon"},icon),react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__title"},title),description&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{className:"usda-message__description"},description))};GenericMessage.displayName="GenericMessage",GenericMessage.propTypes=propTypes,GenericMessage.__docgenInfo={description:"",methods:[],displayName:"GenericMessage",props:{title:{description:"",type:{name:"string"},required:!0},description:{description:"",type:{name:"string"},required:!1},icon:{description:"",type:{name:"object"},required:!1},className:{description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=GenericMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\GenericMessage.jsx"]={name:"GenericMessage",docgenInfo:GenericMessage.__docgenInfo,path:"components\\messages\\GenericMessage.jsx"})},"./components/messages/LoadingMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__),react_transition_group__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react-transition-group/esm/TransitionGroup.js"),react_transition_group__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react-transition-group/esm/CSSTransition.js"),LoadingMessage=function LoadingMessage(_ref){var _ref$loadingText=_ref.loadingText,loadingText=void 0===_ref$loadingText?"Gathering your data...":_ref$loadingText;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_transition_group__WEBPACK_IMPORTED_MODULE_1__.Z,{className:"usda-message usda-message_loading"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_transition_group__WEBPACK_IMPORTED_MODULE_2__.Z,{classNames:"usda-loading-animation__container",timeout:{exit:225,enter:195},exit:!0},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"usda-loading-animation__container"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"usda-loading-animation"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{className:"usda-loading-bars",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"50",height:"50",style:{opacity:0}},react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-one",x:"0",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-two",x:"13",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-three",x:"26",y:"0",height:"50",width:"10"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"bar-four",x:"39",y:"0",height:"50",width:"10"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"loading-message"},loadingText))))};LoadingMessage.displayName="LoadingMessage",LoadingMessage.propTypes={loadingText:prop_types__WEBPACK_IMPORTED_MODULE_3___default().string},LoadingMessage.__docgenInfo={description:"",methods:[],displayName:"LoadingMessage",props:{loadingText:{defaultValue:{value:'"Gathering your data..."',computed:!1},description:"",type:{name:"string"},required:!1}}},__webpack_exports__.Z=LoadingMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\LoadingMessage.jsx"]={name:"LoadingMessage",docgenInfo:LoadingMessage.__docgenInfo,path:"components\\messages\\LoadingMessage.jsx"})},"./components/messages/NoResultsMessage.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_messages_GenericMessage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./components/messages/GenericMessage.jsx"),NoResultsMessage=function NoResultsMessage(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_messages_GenericMessage__WEBPACK_IMPORTED_MODULE_1__.Z,{title:"No Results",description:"No available data to display.",className:"no-results"})};NoResultsMessage.displayName="NoResultsMessage",NoResultsMessage.__docgenInfo={description:"",methods:[],displayName:"NoResultsMessage"},__webpack_exports__.Z=NoResultsMessage,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\messages\\NoResultsMessage.jsx"]={name:"NoResultsMessage",docgenInfo:NoResultsMessage.__docgenInfo,path:"components\\messages\\NoResultsMessage.jsx"})},"./components/quarterPicker/QuarterPicker.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return quarterPicker_QuarterPicker},u:function(){return useCumulativeQuarterPicker}});var slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=(__webpack_require__("./node_modules/core-js/modules/es.parse-int.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.some.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/es.array.every.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/react/index.js")),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__("./node_modules/lodash/lodash.js"),propTypes={disabled:prop_types_default().bool,active:prop_types_default().bool,showPeriods:prop_types_default().bool,quarter:prop_types_default().string,handleSelection:prop_types_default().func,handleHover:prop_types_default().func,handleBlur:prop_types_default().func,toggleTooltip:prop_types_default().func,title:prop_types_default().string},QuarterButton=function QuarterButton(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q "+quarter,onMouseEnter=function onMouseEnter(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function onMouseLeave(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function handleClick(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react.createElement("button",{className:"usa-dt-quarter-picker__quarter "+additionalClasses,onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},showPeriods:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},disabled:{description:"",type:{name:"bool"},required:!1},active:{description:"",type:{name:"bool"},required:!1},quarter:{description:"",type:{name:"string"},required:!1},handleSelection:{description:"",type:{name:"func"},required:!1},handleHover:{description:"",type:{name:"func"},required:!1},handleBlur:{description:"",type:{name:"func"},required:!1},toggleTooltip:{description:"",type:{name:"func"},required:!1}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\quarterPicker\\QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components\\quarterPicker\\QuarterButton.jsx"});var useCumulativeQuarterPicker=function useCumulativeQuarterPicker(){var initialState=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],_useState=(0,react.useState)(initialState),_useState2=(0,slicedToArray.Z)(_useState,2),selectedPeriods=_useState2[0],setSelectedPeriods=_useState2[1];return[selectedPeriods,function handleSelection(selectedPeriod){var selectedPeriodAsInt=parseInt(selectedPeriod,10),newPeriods=selectedPeriods.map((function(period){return parseInt(period,10)})).filter((function(period){return period<=selectedPeriodAsInt})).map((function(period){return""+period}));setSelectedPeriods(newPeriods.concat([selectedPeriod]))}]},defaultPeriodsPerQuarter=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],isIdOrGreaterInArray=function isIdOrGreaterInArray(idStr,arr){return arr.some((function(periodOrQuarter){return parseInt(periodOrQuarter,10)>=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default().func,selectedQuarters:prop_types_default().arrayOf(prop_types_default().string),disabledQuarters:prop_types_default().arrayOf(prop_types_default().string),selectedPeriods:prop_types_default().arrayOf(prop_types_default().string),disabledPeriods:prop_types_default().arrayOf(prop_types_default().string),periodsPerQuarter:prop_types_default().arrayOf(prop_types_default().arrayOf(prop_types_default().shape({title:prop_types_default().string,id:prop_types_default().string}))),showPeriods:prop_types_default().bool,isCumulative:prop_types_default().bool},QuarterPicker=function QuarterPicker(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,isCumulative=void 0!==_ref$isCumulative&&_ref$isCumulative,_useState3=(0,react.useState)(""),_useState4=(0,slicedToArray.Z)(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=(0,react.useState)(""),_useState6=(0,slicedToArray.Z)(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function handleHover(str){"quarter"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter")?setQuarterHoverState(str):setPeriodHoverState(str)},handleBlur=function handleBlur(){"quarter"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter")?setQuarterHoverState(""):setPeriodHoverState("")};return react.createElement("div",{className:"usa-dt-quarter-picker"},react.createElement("ul",{className:"usa-dt-quarter-picker__list"},function generateButtons(){return new Array(4).fill(0).map((function(_,quarterIndex){var quarterNumber=quarterIndex+1,quarterNumberAsString=""+quarterNumber;if(showPeriods){var periodsForQuarter=periodsPerQuarter[quarterIndex],isQuarterDisabled=periodsForQuarter.every((function(period){return disabledPeriods.includes(period.id)}));return react.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:(0,lodash.uniqueId)()},react.createElement("p",{className:isQuarterDisabled?"disabled":""},"Q"+quarterNumber),react.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},periodsForQuarter.map((function(period){return react.createElement("li",{className:Object.keys(period).includes("className")?period.className+" usa-dt-quarter-picker__list-item":"usa-dt-quarter-picker__list-item",key:(0,lodash.uniqueId)()},react.createElement(quarterPicker_QuarterButton,{showPeriods:showPeriods,quarter:period.id,title:period.title,disabled:disabledPeriods.includes(period.id),active:isIdOrGreaterInArray(period.id,selectedPeriods)||parseInt(periodHoverState,10)>=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:(0,lodash.uniqueId)()},react.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},disabledPeriods:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},periodsPerQuarter:{defaultValue:{value:"[\r\n [\r\n { title: '1 - 2', id: '2', className: 'double-period' },\r\n { title: '3', id: '3' }\r\n ],\r\n [\r\n { title: '4', id: '4' },\r\n { title: '5', id: '5' },\r\n { title: '6', id: '6' }\r\n ],\r\n [\r\n { title: '7', id: '7' },\r\n { title: '8', id: '8' },\r\n { title: '9', id: '9' }\r\n ],\r\n [\r\n { title: '10', id: '10' },\r\n { title: '11', id: '11' },\r\n { title: '12', id: '12' }\r\n ]\r\n]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1},selectedQuarters:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},selectedPeriods:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"string"}},required:!1},showPeriods:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},isCumulative:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},handleSelection:{description:"",type:{name:"func"},required:!1}}};var quarterPicker_QuarterPicker=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\quarterPicker\\QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components\\quarterPicker\\QuarterPicker.jsx"})},"./helpers/flexGridHelper.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{V:function(){return createClassString}});__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js");var createClassString=function createClassString(classes){return classes.map((function(c){return c?c.trim():c})).filter((function(c){return c})).join(" ")}},"./helpers/keyboardEventsHelper.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{S:function(){return createOnKeyDownHandler}});var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),createOnKeyDownHandler=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),function createOnKeyDownHandler(cb){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],keyCodes=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(e){keyCodes.includes(e.keyCode)&&cb.apply(void 0,(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__.Z)(args))}})},"./helpers/moneyFormatter.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{CU:function(){return calculateUnitForSingleValue},lb:function(){return formatMoney},oS:function(){return unitValues},uf:function(){return formatNumber},xA:function(){return formatNumberWithPrecision},yD:function(){return formatMoneyWithPrecision}});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js");var accounting__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/accounting/accounting.js"),accounting__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(accounting__WEBPACK_IMPORTED_MODULE_2__),accountingOptions=(__webpack_require__("./node_modules/lodash/lodash.js"),{symbol:"$",precision:0,format:{pos:"%s%v",neg:"-%s%v",zero:"%s%v"}}),unitValues={TRILLION:1e12,BILLION:1e9,MILLION:1e6,THOUSAND:1e3},unitLabels_TRILLION="T",unitLabels_BILLION="B",unitLabels_MILLION="M",unitLabels_THOUSAND="k",unitWords_TRILLION="trillion",unitWords_BILLION="billion",unitWords_MILLION="million",unitWords_THOUSAND="thousand",formatMoney=function formatMoney(value){return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(value,accountingOptions)},formatMoneyWithPrecision=function formatMoneyWithPrecision(value,precision){var modifiedOptions=Object.assign({},accountingOptions,{precision:precision});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(value,modifiedOptions)},calculateUnitForSingleValue=function calculateUnitForSingleValue(value){var adjustedValue=Math.abs(value),unit=1,unitLabel="",unitWord="";return adjustedValue>=unitValues.TRILLION?(unit=unitValues.TRILLION,unitLabel=unitLabels_TRILLION,unitWord=unitWords_TRILLION):adjustedValue>=unitValues.BILLION?(unit=unitValues.BILLION,unitLabel=unitLabels_BILLION,unitWord=unitWords_BILLION):adjustedValue>=unitValues.MILLION?(unit=unitValues.MILLION,unitLabel=unitLabels_MILLION,unitWord=unitWords_MILLION):adjustedValue>=unitValues.THOUSAND&&(unit=unitValues.THOUSAND,unitLabel=unitLabels_THOUSAND,unitWord=unitWords_THOUSAND),{unit:unit,unitLabel:unitLabel,longLabel:unitWord}},formatNumber=function formatNumber(number){var options=Object.assign({},accountingOptions,{symbol:""});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(number,options)},formatNumberWithPrecision=function formatNumberWithPrecision(number,precision){var options=Object.assign({},accountingOptions,{symbol:"",precision:precision});return accounting__WEBPACK_IMPORTED_MODULE_2___default().formatMoney(number,options)}},"./.storybook/stories/fiscalYearPicker.stories.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:function(){return Default},Primary:function(){return Primary},__namedExportsOrder:function(){return __namedExportsOrder}});__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./components/FiscalYearPicker.jsx");__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react';\r\nimport FiscalYearPicker from '../../components/FiscalYearPicker';\r\n\r\nexport default {\r\n title: 'FiscalYearPicker',\r\n component: FiscalYearPicker,\r\n };\r\n export const Default = (args) => ;\r\n export const Primary = Default.bind({});\r\n Primary.args = { backgroundColor: '#ff0'};\r\n",locationsMap:{default:{startLoc:{col:25,line:8},endLoc:{col:65,line:8},startBody:{col:25,line:8},endBody:{col:65,line:8}},primary:{startLoc:{col:25,line:8},endLoc:{col:65,line:8},startBody:{col:25,line:8},endBody:{col:65,line:8}}}}},title:"FiscalYearPicker",component:_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__.Z};var Default=function Default(args){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(_components_FiscalYearPicker__WEBPACK_IMPORTED_MODULE_3__.Z,args)};Default.displayName="Default";var Primary=Default.bind({});Primary.args={backgroundColor:"#ff0"},Default.parameters=Object.assign({storySource:{source:"(args) => "}},Default.parameters),Primary.parameters=Object.assign({storySource:{source:"(args) => "}},Primary.parameters);var __namedExportsOrder=["Default","Primary"];Default.__docgenInfo={description:"",methods:[],displayName:"Default"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES[".storybook\\stories\\fiscalYearPicker.stories.js"]={name:"Default",docgenInfo:Default.__docgenInfo,path:".storybook\\stories\\fiscalYearPicker.stories.js"})},"./storybook-init-framework-entry.js":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js")},"./.storybook/stories/SearchBar.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return SearchBar_stories},searchBar:function(){return searchBar}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),dist=__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),lodash=(__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/lodash/lodash.js")),prop_types=__webpack_require__("./node_modules/prop-types/index.js"),prop_types_default=__webpack_require__.n(prop_types),index_es=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js");__webpack_require__("./styles/components/_searchBar.scss");var propTypes={onSearch:prop_types_default().func,minChars:prop_types_default().number,isDisabled:prop_types_default().bool,throttleOnChange:prop_types_default().number,inputTitle:prop_types_default().string,placeholder:prop_types_default().string},SearchBar=function SearchBar(_ref){var onSearch=_ref.onSearch,minChars=_ref.minChars,isDisabled=_ref.isDisabled,throttleOnChange=_ref.throttleOnChange,inputTitle=_ref.inputTitle,placeholder=_ref.placeholder,_useState=(0,react.useState)(""),_useState2=(0,slicedToArray.Z)(_useState,2),value=_useState2[0],setValue=_useState2[1],_useState3=(0,react.useState)(""),_useState4=(0,slicedToArray.Z)(_useState3,2),searchTerm=_useState4[0],setSearchTerm=_useState4[1],resetSearch=function resetSearch(){setValue(""),onSearch(""),setSearchTerm("")},onChange=(0,lodash.throttle)((function(e){return function shouldResetSearchTerm(e,searchTerm){return!(!searchTerm||e.target.value)}(e,searchTerm)?resetSearch():setValue(e.target.value)}),throttleOnChange),icon="search";return(value&&searchTerm===value||searchTerm&&value.length {}",computed:!1},description:"",type:{name:"func"},required:!1},minChars:{defaultValue:{value:"2",computed:!1},description:"",type:{name:"number"},required:!1},throttleOnChange:{defaultValue:{value:"500",computed:!1},description:"",type:{name:"number"},required:!1},inputTitle:{defaultValue:{value:"'Search Input'",computed:!1},description:"",type:{name:"string"},required:!1},isDisabled:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},placeholder:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1}}};var components_SearchBar=SearchBar;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\SearchBar.jsx"]={name:"SearchBar",docgenInfo:SearchBar.__docgenInfo,path:"components\\SearchBar.jsx"});var _excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"SearchBar",component:components_SearchBar,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"onSearch"),": A function that will pass the search term to it's parent component.")),(0,esm.kt)("h3",{id:"props"},"Props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"onSearch"),": A function that will pass the search term to it's parent component."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"minChars"),": A number that will serve as the minimum number of characters to submit a search."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"isDisabled"),": A boolean that will decide whether to disable the input."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"throttleOnChange"),": A number in milliseconds that only invokes onChange at most once per every milliseconds."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"inputTitle"),": A string that will serve as the input title."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"placeholder"),": An optional string for placeholder text")),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"SearchBar",mdxType:"Story"},(0,esm.kt)(components_SearchBar,{setQuery:function setQuery(searchTerm){return console.log(searchTerm)},minChars:(0,dist.number)("minChars",2),isDisabled:(0,dist.boolean)("isDisabled",!1),throttleOnChange:(0,dist.number)("throttleOnChange",500),inputTitle:(0,dist.text)("inputTitle","Search Input"),placeholder:"Placeholder",mdxType:"SearchBar"}))),(0,esm.kt)(dist_esm.$4,{of:components_SearchBar,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Data Dictionary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var searchBar=function searchBar(){return(0,esm.kt)(components_SearchBar,{setQuery:function setQuery(searchTerm){return console.log(searchTerm)},minChars:(0,dist.number)("minChars",2),isDisabled:(0,dist.boolean)("isDisabled",!1),throttleOnChange:(0,dist.number)("throttleOnChange",500),inputTitle:(0,dist.text)("inputTitle","Search Input"),placeholder:"Placeholder"})};searchBar.displayName="searchBar",searchBar.storyName="SearchBar",searchBar.parameters={storySource:{source:" console.log(searchTerm)} minChars={number('minChars', 2)} isDisabled={boolean('isDisabled', false)} throttleOnChange={number('throttleOnChange', 500)} inputTitle={text('inputTitle', 'Search Input')} placeholder=\"Placeholder\" />"}};var componentMeta={title:"SearchBar",component:components_SearchBar,includeStories:["searchBar"]},mdxStoryNameToKey={SearchBar:"searchBar"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var SearchBar_stories=componentMeta,__namedExportsOrder=["searchBar"]},"./.storybook/stories/button.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},buttonVariants:function(){return buttonVariants}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/react/index.js"),_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),_components_Button__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),__webpack_require__("./.storybook/misc.jsx"),__webpack_require__("./components/Button.jsx")),_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__=(__webpack_require__("./components/flexGrid/FlexGridCol.jsx"),__webpack_require__("./components/flexGrid/FlexGridRow.jsx")),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Buttons",component:_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"button-component"},"Button Component"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Button Variants",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with center and left text alignment"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"center",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"left",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Disabled Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",disabled:!0,mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"dark",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button with Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiary",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary button with icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Inline Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"sm",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"md",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"lg",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt",mdxType:"FontAwesomeIcon"}),mdxType:"Button"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"In text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"},mdxType:"FlexGridRow"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"sm",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"md",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"lg",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov",mdxType:"Button"})))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var buttonVariants=function buttonVariants(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(react__WEBPACK_IMPORTED_MODULE_5__.Fragment,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with center and left text alignment"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"center"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"This is wrapping button text",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",maxWidth:"200px",textAlignment:"left"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Disabled Primary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primary",backgroundColor:"light",disabled:!0}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primary",backgroundColor:"light",disabled:!0}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primary",backgroundColor:"light",disabled:!0})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Primary Button with Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"primaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondary",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondary",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondary",backgroundColor:"dark"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Secondary Button with Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"secondaryIcon",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiary",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiary",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Tertiary button with icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"tertiaryIcon",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark"})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Left Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"left",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Right Icon Text Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"text",backgroundColor:"dark",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Stacked Icon Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"sm",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"md",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"TEST",buttonTitle:"TEST",buttonSize:"lg",buttonType:"stacked",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"light",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Icon Button Dark Background"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px",backgroundColor:"#323a44"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"sm",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"md",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{buttonTitle:"TEST",buttonSize:"lg",buttonType:"icon",backgroundColor:"dark",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"Inline Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"sm",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"md",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"what",buttonTitle:"TEST",buttonSize:"lg",buttonType:"inline",backgroundColor:"light",imageAlignment:"right",image:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_8__.G,{icon:"share-alt"})})),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("br",null),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",null,"In text Button"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_flexGrid_FlexGridRow__WEBPACK_IMPORTED_MODULE_13__.Z,{width:3,desktop:3,hasGutter:!0,gutterSize:32,style:{marginLeft:"16px"}},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"sm",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"md",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Button__WEBPACK_IMPORTED_MODULE_11__.Z,{copy:"hello",buttonTitle:"TEST",buttonSize:"lg",buttonType:"intext",backgroundColor:"light",to:"https://usaspending.gov"})))};buttonVariants.storyName="Button Variants",buttonVariants.parameters={storySource:{source:'

    Primary Button

    \n\n \n )\n : (\n \n )}\n
      \n\n')),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Glossary Sidebar, Glossary Definition"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Reporting Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Agency Page")),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"broker-integration-status"},"Broker Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Settings modal")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.AB,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,{isFixedWidth:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("isFixedWidth",!1),icon:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_9__.G,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.select)("dropdownDirection",["right","left"],"right","")}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "}};var wChildren=function wChildren(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.AB,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,{isFixedWidth:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("isFixedWidth",!1),dropdownDirection:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.select)("dropdownDirection",["right","left"],"right","")},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_9__.G,{icon:"share-alt",size:"lg",color:"black"})))};wChildren.displayName="wChildren",wChildren.storyName="w/ Children",wChildren.parameters={storySource:{source:"\n \n \n \n "}};var componentMeta={title:"Picker",component:_components_Picker__WEBPACK_IMPORTED_MODULE_10__.Z,includeStories:["defaultStory","wChildren"]},mdxStoryNameToKey={Default:"defaultStory","w/ Children":"wChildren"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","wChildren"]},"./.storybook/stories/quarterPicker.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},cumulativePicker:function(){return cumulativePicker},defaultStory:function(){return defaultStory},wPeriods:function(){return wPeriods}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js");var _mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./components/quarterPicker/QuarterPicker.jsx"),_misc__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Quarter Picker",component:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Default",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.aK,{mdxType:"QuarterPickerWrapper"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],mdxType:"QuarterPicker"}))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Cumulative Picker",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.M_,{mdxType:"QuarterPickerCumulative"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],isCumulative:!0,mdxType:"QuarterPicker"}))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"w/ Periods",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container quarter-picker-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.gz,{mdxType:"QuarterPickerWithPeriods"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledPeriods:["10","11","12"],showPeriods:!0,mdxType:"QuarterPicker"}))))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Download Center"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Spending Explorer")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.aK,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[]}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:"\n \n "}};var cumulativePicker=function cumulativePicker(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.M_,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.displayName="cumulativePicker",cumulativePicker.storyName="Cumulative Picker",cumulativePicker.parameters={storySource:{source:"\n \n "}};var wPeriods=function wPeriods(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container quarter-picker-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_9__.gz,null,(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.displayName="wPeriods",wPeriods.storyName="w/ Periods",wPeriods.parameters={storySource:{source:"
      \n \n \n \n
      "}};var componentMeta={title:"Quarter Picker",component:_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.Z,includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToKey={Default:"defaultStory","Cumulative Picker":"cumulativePicker","w/ Periods":"wPeriods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","cumulativePicker","wPeriods"]},"./.storybook/stories/section-title.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},alwaysExpanded:function(){return alwaysExpanded},collapsibleSection:function(){return collapsibleSection},default:function(){return section_title_stories}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),index_es=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),ComingSoon=__webpack_require__("./components/messages/ComingSoon.jsx"),keyboardEventsHelper=__webpack_require__("./helpers/keyboardEventsHelper.js");__webpack_require__("./styles/components/_sectionTitle.scss");var defaultControlledProps={isControlled:!1,toggleExpand:function toggleExpand(){},isExpanded:!1},SectionTitle=function SectionTitle(_ref){var title=_ref.title,icon=_ref.icon,children=_ref.children,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,_ref$classNames=_ref.classNames,classNames=void 0===_ref$classNames?"":_ref$classNames,_ref$isCollapsible=_ref.isCollapsible,isCollapsible=void 0!==_ref$isCollapsible&&_ref$isCollapsible,_ref$isComingSoon=_ref.isComingSoon,isComingSoon=void 0!==_ref$isComingSoon&&_ref$isComingSoon,_ref$controlledProps=_ref.controlledProps,controlledProps=void 0===_ref$controlledProps?defaultControlledProps:_ref$controlledProps,_ref$defaultExpandedS=_ref.defaultExpandedState,defaultExpandedState=void 0===_ref$defaultExpandedS||_ref$defaultExpandedS,_ref$overLine=_ref.overLine,overLine=void 0===_ref$overLine?"":_ref$overLine,_ref$titleTooltip=_ref.titleTooltip,titleTooltip=void 0===_ref$titleTooltip?{tooltip:null,tooltipProps:{}}:_ref$titleTooltip,_ref$descTooltip=_ref.descTooltip,descTooltip=void 0===_ref$descTooltip?{component:null,props:{}}:_ref$descTooltip,description=_ref.description,_useState=(0,react.useState)(defaultExpandedState),_useState2=(0,slicedToArray.Z)(_useState,2),isExpanded=_useState2[0],setExpanded=_useState2[1],toggleExpand=function toggleExpand(){controlledProps.isControlled?controlledProps.toggleExpand():setExpanded(!isExpanded)},showChildren=isExpanded||controlledProps.isControlled&&controlledProps.isExpanded||!isCollapsible;return react.createElement("section",{id:id,className:"usda-section__container"+(classNames?" "+classNames:"")},react.createElement("div",{className:"usda-section-title__container"},icon&&react.cloneElement(icon,{className:"usda-section-title__title-icon"}),react.createElement("div",{className:"usda-section-title__header"},overLine&&react.createElement("strong",{className:"usda-section-title__overline"},overLine),react.createElement("div",{className:"usda-section-title__title"},react.createElement("h3",null,title),titleTooltip.component&&react.createElement(TooltipWrapper.Z,(0,esm_extends.Z)({tooltipComponent:titleTooltip.component,icon:"info",className:overLine?"has-overline":""},titleTooltip.props)))),description&&react.cloneElement(description,{className:"usda-section-title__desc has-overline"}),descTooltip.component&&react.createElement(TooltipWrapper.Z,(0,esm_extends.Z)({tooltipComponent:descTooltip.component,icon:"info",tooltipPosition:"left"},descTooltip.props)),isCollapsible&&react.createElement(index_es.G,{tabIndex:0,onKeyDown:(0,keyboardEventsHelper.S)(toggleExpand),className:"usda-section-title__expand-icon",onClick:toggleExpand,size:"2x",icon:isExpanded||controlledProps.isControlled&&controlledProps.isExpanded?"chevron-up":"chevron-down"})),react.createElement("hr",null),isComingSoon&&showChildren&&react.createElement(ComingSoon.Z,null),showChildren&&!isComingSoon&&children)};SectionTitle.displayName="SectionTitle",SectionTitle.propTypes={icon:prop_types_default().element.isRequired,children:prop_types_default().element.isRequired,title:prop_types_default().string.isRequired,defaultExpandedState:prop_types_default().bool,overLine:prop_types_default().string,controlledProps:prop_types_default().shape({isControlled:prop_types_default().bool.isRequired,toggleExpand:prop_types_default().func.isRequired,isExpanded:prop_types_default().bool.isRequired}),description:prop_types_default().element,titleTooltip:prop_types_default().shape({component:prop_types_default().element,props:prop_types_default().object}),descTooltip:prop_types_default().shape({component:prop_types_default().element,props:prop_types_default().object}),isCollapsible:prop_types_default().bool,isComingSoon:prop_types_default().bool,classNames:prop_types_default().string,id:prop_types_default().string},SectionTitle.__docgenInfo={description:"",methods:[],displayName:"SectionTitle",props:{id:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},classNames:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},isCollapsible:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},isComingSoon:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},controlledProps:{defaultValue:{value:"{\r\n isControlled: false,\r\n toggleExpand: () => { },\r\n isExpanded: false\r\n}",computed:!1},description:"",type:{name:"shape",value:{isControlled:{name:"bool",required:!0},toggleExpand:{name:"func",required:!0},isExpanded:{name:"bool",required:!0}}},required:!1},defaultExpandedState:{defaultValue:{value:"true",computed:!1},description:"",type:{name:"bool"},required:!1},overLine:{defaultValue:{value:'""',computed:!1},description:"",type:{name:"string"},required:!1},titleTooltip:{defaultValue:{value:"{\r\n tooltip: null,\r\n tooltipProps: {}\r\n}",computed:!1},description:"",type:{name:"shape",value:{component:{name:"element",required:!1},props:{name:"object",required:!1}}},required:!1},descTooltip:{defaultValue:{value:"{\r\n component: null,\r\n props: {}\r\n}",computed:!1},description:"",type:{name:"shape",value:{component:{name:"element",required:!1},props:{name:"object",required:!1}}},required:!1},icon:{description:"",type:{name:"element"},required:!0},children:{description:"",type:{name:"element"},required:!0},title:{description:"",type:{name:"string"},required:!0},description:{description:"",type:{name:"element"},required:!1}}};var components_SectionTitle=SectionTitle;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\SectionTitle.jsx"]={name:"SectionTitle",docgenInfo:SectionTitle.__docgenInfo,path:"components\\SectionTitle.jsx"});var misc=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Section Title",component:components_SectionTitle,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"props"},"Props"),(0,esm.kt)(dist_esm.$4,{of:components_SectionTitle,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"collapsible-section"},"Collapsible Section"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Collapsible Section",mdxType:"Story"},(0,esm.kt)(components_SectionTitle,{title:"Award",isCollapsible:!0,overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",color:"#555",mdxType:"FontAwesomeIcon"}),titleTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending")),mdxType:"SectionTitle"},(0,esm.kt)(ComingSoon.Z,{mdxType:"ComingSoon"})))),(0,esm.kt)("h2",{id:"always-expanded"},"Always Expanded"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Always Expanded",mdxType:"Story"},(0,esm.kt)(components_SectionTitle,{title:"Award",overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",mdxType:"FontAwesomeIcon"}),titleTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,{mdxType:"ExampleTooltip"}),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending")),mdxType:"SectionTitle"},(0,esm.kt)(ComingSoon.Z,{mdxType:"ComingSoon"})))),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Award Summary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var collapsibleSection=function collapsibleSection(){return(0,esm.kt)(components_SectionTitle,{title:"Award",isCollapsible:!0,overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x",color:"#555"}),titleTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending"))},(0,esm.kt)(ComingSoon.Z,null))};collapsibleSection.displayName="collapsibleSection",collapsibleSection.storyName="Collapsible Section",collapsibleSection.parameters={storySource:{source:'} titleTooltip={{\n component: ,\n props: {}\n}} descTooltip={{\n component: ,\n props: {}\n}} description={This section covers Award Spending}>\n \n '}};var alwaysExpanded=function alwaysExpanded(){return(0,esm.kt)(components_SectionTitle,{title:"Award",overLine:"Award Spending",icon:(0,esm.kt)(index_es.G,{icon:"map-marker",size:"3x"}),titleTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},descTooltip:{component:(0,esm.kt)(misc.I1,null),props:{}},description:(0,esm.kt)("span",{className:"usda-section-title__desc"},"This section covers ",(0,esm.kt)("strong",null,"Award Spending"))},(0,esm.kt)(ComingSoon.Z,null))};alwaysExpanded.displayName="alwaysExpanded",alwaysExpanded.storyName="Always Expanded",alwaysExpanded.parameters={storySource:{source:'} titleTooltip={{\n component: ,\n props: {}\n}} descTooltip={{\n component: ,\n props: {}\n}} description={This section covers Award Spending}>\n \n '}};var componentMeta={title:"Section Title",component:components_SectionTitle,includeStories:["collapsibleSection","alwaysExpanded"]},mdxStoryNameToKey={"Collapsible Section":"collapsibleSection","Always Expanded":"alwaysExpanded"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var section_title_stories=componentMeta,__namedExportsOrder=["collapsibleSection","alwaysExpanded"]},"./.storybook/stories/table.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},customErrorMessage:function(){return customErrorMessage},default:function(){return table_stories},expandableTableWithDivider:function(){return expandableTableWithDivider},expandableTableWithoutDivider:function(){return expandableTableWithoutDivider},loadingTable:function(){return loadingTable},noResults:function(){return noResults},stackedResponsiveTable:function(){return stackedResponsiveTable},table:function(){return table},tableError:function(){return tableError},tableWSubColumnsTooltips:function(){return tableWSubColumnsTooltips},tableWithFirstColumnHeaders:function(){return tableWithFirstColumnHeaders},tableWithoutSorting:function(){return tableWithoutSorting}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reduce.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__("./node_modules/lodash/lodash.js"),ErrorMessage=__webpack_require__("./components/messages/ErrorMessage.jsx"),LoadingMessage=__webpack_require__("./components/messages/LoadingMessage.jsx"),NoResultsMessage=__webpack_require__("./components/messages/NoResultsMessage.jsx"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),index_es=(__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/@fortawesome/react-fontawesome/index.es.js")),propTypes={data:prop_types_default().object,columns:prop_types_default().array,oddClass:prop_types_default().string,divider:prop_types_default().string},ExpandableRow=function ExpandableRow(_ref){var data=_ref.data,columns=_ref.columns,oddClass=_ref.oddClass,divider=_ref.divider,_useState=(0,react.useState)(data.expanded||!1),_useState2=(0,slicedToArray.Z)(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],icon=expanded?"chevron-down":"chevron-right",columnTitles=columns.map((function(_ref2){return _ref2.title})),toggleExpand=function toggleExpand(){setExpanded(!expanded)},dividerRow=react.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider"+oddClass},function generateDividerCells(){return columns.map((function(col,i){return 0===i?react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell usda-table__cell_child"},react.createElement("div",{className:"usda-table__child-cell-content"},divider)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell usda-table__cell_child"},react.createElement("div",{className:"usda-table__child-cell-content"}," "))}))}()),getDataLabel=function getDataLabel(column,isChildRow){return column?isChildRow&÷r&&"name"===column.title?divider:column.displayName:null},isExpandedClass=expanded?"usda-table__row_is-expanded":"";return react.createElement(react.Fragment,null,react.createElement("tr",{className:"usda-table__row"+oddClass+" usda-table__row_expandable "+isExpandedClass},columnTitles.map((function(col,i){return"name"===col&&data.children?react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell","data-label":getDataLabel(columns[i])},react.createElement("div",{className:"usda-table__expandable-cell-content"},react.createElement("button",{className:"usda-table__expand-button","aria-label":"Expand Table Row Button",onClick:toggleExpand},react.createElement(index_es.G,{icon:icon})),data.name)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell"+("name"===col?" usda-table__cell_name":"")+(columns[i].right?" usda-table__cell_right":""),"data-label":getDataLabel(columns[i])},data[col])}))),data.children&&expanded?react.createElement(react.Fragment,null,divider&÷rRow,data.children.map((function(childRow,j){var lastClass=j===data.children.length-1?" usda-table__child-row_last":"";return react.createElement("tr",{key:(0,lodash.uniqueId)(),className:"usda-table__child-row"+lastClass+oddClass},columnTitles.map((function(col,k){return react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell "+(columns[k].right?" usda-table__cell_right":"")+" usda-table__cell_child","data-label":getDataLabel(columns[k],!0)},react.createElement("div",{className:"usda-table__child-cell-content"},childRow[col]))})))}))):null)};ExpandableRow.propTypes=propTypes,ExpandableRow.__docgenInfo={description:"",methods:[],displayName:"ExpandableRow",props:{data:{description:"",type:{name:"object"},required:!1},columns:{description:"",type:{name:"array"},required:!1},oddClass:{description:"",type:{name:"string"},required:!1},divider:{description:"",type:{name:"string"},required:!1}}};var table_ExpandableRow=ExpandableRow;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\ExpandableRow.jsx"]={name:"ExpandableRow",docgenInfo:ExpandableRow.__docgenInfo,path:"components\\table\\ExpandableRow.jsx"});var SortIcon=function SortIcon(_ref){var clickedSort=_ref.clickedSort,displayName=_ref.displayName,currentSort=_ref.currentSort,title=_ref.title,activeAsc=(null==currentSort?void 0:currentSort.field)===title&&"asc"===(null==currentSort?void 0:currentSort.direction)?" table-header__icon_active":"",activeDesc=(null==currentSort?void 0:currentSort.field)===title&&"desc"===(null==currentSort?void 0:currentSort.direction)?" table-header__icon_active":"";return react.createElement("div",{className:"table-header__sort"},react.createElement("button",{onClick:clickedSort,className:"table-header__icon"+activeAsc,value:"asc",title:"Sort table by ascending "+displayName,"aria-label":"Sort table by ascending "+displayName},react.createElement(index_es.G,{size:"2x",icon:"caret-up"})),react.createElement("button",{onClick:clickedSort,className:"table-header__icon"+activeDesc,value:"desc",title:"Sort table by descending "+displayName,"aria-label":"Sort table by descending "+displayName},react.createElement(index_es.G,{size:"2x",icon:"caret-down"})))};SortIcon.displayName="SortIcon",SortIcon.propTypes={title:prop_types_default().string.isRequired,displayName:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().element]).isRequired,currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}).isRequired,clickedSort:prop_types_default().func.isRequired};var TableHeader_propTypes={title:prop_types_default().string.isRequired,displayName:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().element]).isRequired,currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}),updateSort:prop_types_default().func,right:prop_types_default().bool,columnSpan:prop_types_default().string,rowSpan:prop_types_default().string,subColumnNames:prop_types_default().arrayOf(prop_types_default().oneOfType([prop_types_default().string,prop_types_default().object])),className:prop_types_default().string,icon:prop_types_default().element,bodyHeader:prop_types_default().bool},TableHeaderCell=function TableHeaderCell(_ref2){var title=_ref2.title,_ref2$className=_ref2.className,className=void 0===_ref2$className?"":_ref2$className,_ref2$displayName=_ref2.displayName,displayName=void 0===_ref2$displayName?"":_ref2$displayName,currentSort=_ref2.currentSort,updateSort=_ref2.updateSort,right=_ref2.right,_ref2$columnSpan=_ref2.columnSpan,columnSpan=void 0===_ref2$columnSpan?"1":_ref2$columnSpan,rowSpan=_ref2.rowSpan,_ref2$subColumnNames=_ref2.subColumnNames,subColumnNames=void 0===_ref2$subColumnNames?[]:_ref2$subColumnNames,_ref2$icon=_ref2.icon,icon=void 0===_ref2$icon?react.createElement(react.Fragment,null):_ref2$icon,_ref2$bodyHeader=_ref2.bodyHeader,bodyHeader=void 0!==_ref2$bodyHeader&&_ref2$bodyHeader;return react.createElement("th",{className:className+" table-header"+(bodyHeader?" table-header_body-header":""),colSpan:columnSpan,rowSpan:function rowsSpan(){return"0"===rowSpan?null:subColumnNames.length?"1":"2"}(),scope:"col"},react.createElement("div",{className:"table-header__content"+(right?" table-header__content_right":"")},react.createElement("div",{className:"table-header__label"},displayName,icon&&icon,updateSort&&!subColumnNames.length&&displayName&&react.createElement(SortIcon,{clickedSort:function handleClickedSort(e){updateSort(arguments.length>1&&void 0!==arguments[1]?arguments[1]:title,e.target.value)},currentSort:currentSort,title:title,displayName:displayName}))))};TableHeaderCell.displayName="TableHeaderCell",TableHeaderCell.propTypes=TableHeader_propTypes,TableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"TableHeaderCell",props:{className:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},displayName:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!1},columnSpan:{defaultValue:{value:"'1'",computed:!1},description:"",type:{name:"string"},required:!1},subColumnNames:{defaultValue:{value:"[]",computed:!1},description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"string"},{name:"object"}]}},required:!1},icon:{defaultValue:{value:"<>",computed:!1},description:"",type:{name:"element"},required:!1},bodyHeader:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},title:{description:"",type:{name:"string"},required:!0},currentSort:{description:"",type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1},updateSort:{description:"",type:{name:"func"},required:!1},right:{description:"",type:{name:"bool"},required:!1},rowSpan:{description:"",type:{name:"string"},required:!1}}};var TableHeader=TableHeaderCell;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\TableHeader.jsx"]={name:"TableHeaderCell",docgenInfo:TableHeaderCell.__docgenInfo,path:"components\\table\\TableHeader.jsx"});var free_solid_svg_icons_index_es=__webpack_require__("./node_modules/@fortawesome/free-solid-svg-icons/index.es.js"),TableData_propTypes={columns:prop_types_default().arrayOf(prop_types_default().object).isRequired,rows:prop_types_default().arrayOf((0,prop_types.oneOfType)([prop_types_default().array,prop_types_default().object])).isRequired,expandable:prop_types_default().bool,divider:prop_types_default().string,onClickHandler:prop_types_default().func,isMobile:prop_types_default().bool,atMaxLevel:prop_types_default().bool},TableData=function TableData(_ref){var columns=_ref.columns,rows=_ref.rows,expandable=_ref.expandable,divider=_ref.divider,onClickHandler=_ref.onClickHandler,isMobile=_ref.isMobile,atMaxLevel=_ref.atMaxLevel,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),firstClick=_useState2[0],setFirstClick=_useState2[1],_useState3=(0,react.useState)(),_useState4=(0,slicedToArray.Z)(_useState3,2),rowIndexForMessage=_useState4[0],setRowIndexForMessage=_useState4[1],localClickHandler=function localClickHandler(row,index){atMaxLevel||(isMobile&&!firstClick?(setFirstClick(!0),setRowIndexForMessage(index)):isMobile&&firstClick&&rowIndexForMessage===index?(onClickHandler(row),setFirstClick(!1)):isMobile&&firstClick&&rowIndexForMessage!==index?setRowIndexForMessage(index):isMobile||onClickHandler(row))};return react.createElement(react.Fragment,null,rows.map((function(row,i){var oddClass=i%2==0?"":" usda-table__row_odd";return expandable?react.createElement(table_ExpandableRow,{key:(0,lodash.uniqueId)(),data:row,oddClass:oddClass,columns:columns,divider:divider}):react.createElement("tr",{key:(0,lodash.uniqueId)(),tabIndex:0,onClick:function onClick(){return localClickHandler(row,i)},onKeyUp:function onKeyUp(e){"Enter"===e.key&&(e.preventDefault(),localClickHandler(row,i))},className:"usda-table__row-item usda-table__row"+oddClass},row.map((function(data,j){var _columns$j,_columns$j2;return null!==(_columns$j=columns[j])&&void 0!==_columns$j&&_columns$j.bodyHeader?react.createElement(TableHeader,(0,esm_extends.Z)({className:"table-header_body-header",key:(0,lodash.uniqueId)()},data)):react.createElement("td",{key:(0,lodash.uniqueId)(),className:"usda-table__cell"+(null!==(_columns$j2=columns[j])&&void 0!==_columns$j2&&_columns$j2.right?" usda-table__cell_right":"")},columns[j]&&react.createElement("div",{className:"usda-table__cell-heading-container"},isMobile&&react.createElement("div",{className:"usda-table__cell-heading"},columns[j].displayName),isMobile&&firstClick&&0===j&&rowIndexForMessage===i&&react.createElement("div",{className:"usda-table__cell-message"},"View next level"," ",react.createElement(index_es.G,{icon:free_solid_svg_icons_index_es.cLY,color:"#2378c3"}))),data)})))})))};TableData.propTypes=TableData_propTypes,TableData.__docgenInfo={description:"",methods:[],displayName:"TableData",props:{columns:{description:"",type:{name:"arrayOf",value:{name:"object"}},required:!0},rows:{description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!0},expandable:{description:"",type:{name:"bool"},required:!1},divider:{description:"",type:{name:"string"},required:!1},onClickHandler:{description:"",type:{name:"func"},required:!1},isMobile:{description:"",type:{name:"bool"},required:!1},atMaxLevel:{description:"",type:{name:"bool"},required:!1}}};var table_TableData=TableData;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\TableData.jsx"]={name:"TableData",docgenInfo:TableData.__docgenInfo,path:"components\\table\\TableData.jsx"});var Picker=__webpack_require__("./components/Picker.jsx");__webpack_require__("./styles/components/table/_table.scss");var Table_propTypes={columns:prop_types_default().arrayOf(prop_types_default().object).isRequired,rows:prop_types_default().arrayOf((0,prop_types.oneOfType)([prop_types_default().array,prop_types_default().object])),currentSort:(0,prop_types.shape)({direction:(0,prop_types.oneOf)(["asc","desc"]),field:prop_types_default().string}),classNames:prop_types_default().string,updateSort:prop_types_default().func,expandable:prop_types_default().bool,divider:prop_types_default().string,loading:prop_types_default().bool,error:prop_types_default().bool,message:prop_types_default().oneOfType([prop_types_default().string,prop_types_default().object]),isStacked:prop_types_default().bool,screenReaderCaption:prop_types_default().string,onClickHandler:prop_types_default().func,isMobile:prop_types_default().bool},Table=function Table(props){var body,stackedClass=props.isStacked?"usa-dt-table__stacked":"",getTablePickerOptionsAsc=props.columns.map((function(col){return{name:col.displayName+" (ascending)",value:col.title,onClick:function onClick(){props.updateSort(col.title,"asc")}}})),getTablePickerOptionsDesc=props.columns.map((function(col){return{name:col.displayName+" (descending)",value:col.title,onClick:function onClick(){props.updateSort(col.title,"desc")}}}));return body=props.loading?react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(LoadingMessage.Z,null))):props.error?react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(ErrorMessage.Z,{description:props.message}))):props.rows&&0!==props.rows.length?react.createElement(table_TableData,props):react.createElement("tr",null,react.createElement("td",{className:"usda-table__message-cell",colSpan:props.columns.length},react.createElement(NoResultsMessage.Z,{description:props.message}))),react.createElement(react.Fragment,null,props.isStacked&&props.updateSort&&react.createElement("div",{className:"usa-dt-table__stacked-picker"},react.createElement("label",{htmlFor:"stackedTableSort"},"Sort By"),react.createElement(Picker.Z,{id:"stackedTableSort",selectedOption:props.currentSort.field,options:(0,lodash.union)(getTablePickerOptionsAsc,getTablePickerOptionsDesc)})),react.createElement("table",{className:"usda-table "+stackedClass+" "+props.classNames},props.screenReaderCaption&&react.createElement("caption",{className:"usa-dt-sr-only"},props.screenReaderCaption),react.createElement("thead",{className:"usda-table__head"},react.createElement("tr",{className:"usda-table__row"},props.columns.map((function(col){return react.createElement(TableHeader,(0,esm_extends.Z)({key:(0,lodash.uniqueId)(),currentSort:props.currentSort,updateSort:props.updateSort},col))}))),react.createElement("tr",{className:"usda-table__row"},props.columns.filter((function(col){var _col$subColumnNames;return null==col||null===(_col$subColumnNames=col.subColumnNames)||void 0===_col$subColumnNames?void 0:_col$subColumnNames.length})).reduce((function(acc,col){var _col$subColumnNames2;return null!=col&&null!==(_col$subColumnNames2=col.subColumnNames)&&void 0!==_col$subColumnNames2&&_col$subColumnNames2.length?acc.concat(col.subColumnNames):acc.concat([Object.assign({},col,{displayName:"",className:"empty-subheader"})])}),[]).map((function(col){return react.createElement(TableHeader,(0,esm_extends.Z)({key:(0,lodash.uniqueId)(),className:null!=col&&col.title?"nested-header":"empty",currentSort:props.currentSort,updateSort:props.updateSort},col))})))),react.createElement("tbody",{className:"usda-table__body"},body)))};Table.propTypes=Table_propTypes,Table.defaultProps={classNames:"",isStacked:!1},Table.__docgenInfo={description:"",methods:[],displayName:"Table",props:{classNames:{defaultValue:{value:"''",computed:!1},description:"",type:{name:"string"},required:!1},isStacked:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},columns:{description:"",type:{name:"arrayOf",value:{name:"object"}},required:!0},rows:{description:"",type:{name:"arrayOf",value:{name:"union",value:[{name:"array"},{name:"object"}]}},required:!1},currentSort:{description:"",type:{name:"shape",value:{direction:{name:"enum",value:[{value:"'asc'",computed:!1},{value:"'desc'",computed:!1}],required:!1},field:{name:"string",required:!1}}},required:!1},updateSort:{description:"",type:{name:"func"},required:!1},expandable:{description:"",type:{name:"bool"},required:!1},divider:{description:"",type:{name:"string"},required:!1},loading:{description:"",type:{name:"bool"},required:!1},error:{description:"",type:{name:"bool"},required:!1},message:{description:"",type:{name:"union",value:[{name:"string"},{name:"object"}]},required:!1},screenReaderCaption:{description:"",type:{name:"string"},required:!1},onClickHandler:{description:"",type:{name:"func"},required:!1},isMobile:{description:"",type:{name:"bool"},required:!1}}};var table_Table=Table;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\table\\Table.jsx"]={name:"Table",docgenInfo:Table.__docgenInfo,path:"components\\table\\Table.jsx"});var TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),TooltipComponent=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),misc=__webpack_require__("./.storybook/misc.jsx"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Table",component:table_Table,mdxType:"Meta"}),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)(dist_esm.$4,{of:table_Table,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"updateSort"),": a function that will change the order of the ",(0,esm.kt)("inlineCode",{parentName:"li"},"rows")),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"currentSort"),": an object with a ",(0,esm.kt)("inlineCode",{parentName:"li"},"field")," (matching one of the column's ",(0,esm.kt)("inlineCode",{parentName:"li"},"title")," property), and a direction (either ",(0,esm.kt)("inlineCode",{parentName:"li"},"asc")," or ",(0,esm.kt)("inlineCode",{parentName:"li"},"desc"),")")),(0,esm.kt)("p",null,"In this example, our parent -- ",(0,esm.kt)("inlineCode",{parentName:"p"},"TableWrapper")," -- looks like this before the render:"),(0,esm.kt)("pre",null,(0,esm.kt)("code",{parentName:"pre",className:"language-javascript"},"const [field, updateField] = useState('amount');\nconst [direction, updateDirection] = useState('desc');\nconst updateSort = (field, direction) => {\n console.log(`update sort invoked with ${field}, ${direction}`);\n updateField(field);\n updateDirection(direction)\n const currentSort = {\n field,\n direction\n };\n}\n")),(0,esm.kt)("h3",{id:"other-props"},"Other props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",(0,esm.kt)("inlineCode",{parentName:"li"},"title")," and a ",(0,esm.kt)("inlineCode",{parentName:"li"},"displayName"),". Optional boolean ",(0,esm.kt)("inlineCode",{parentName:"li"},"right")," to right-align text in the column."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"rows"),": ",(0,esm.kt)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",(0,esm.kt)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",(0,esm.kt)("inlineCode",{parentName:"li"},"title"),"s and an array of ",(0,esm.kt)("inlineCode",{parentName:"li"},"children")),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"classNames"),": way to customize table styles."),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"loading"),": a boolean indicating that the table data is loading"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"error")," : a boolean indicating that there was an error fetching the table data"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"message"),": a custom error, loading, or no results message")),(0,esm.kt)("h2",{id:"table-without-sorting"},"Table without Sorting"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table without Sorting",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"expandable-table-without-divider"},"Expandable Table without Divider"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Expandable Table without Divider",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"expandable-table-with-divider"},"Expandable Table with Divider"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Expandable Table with Divider",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-w-sub-columns--tooltips"},"Table w/ Sub Columns & Tooltips"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table w/ Sub Columns & Tooltips",mdxType:"Story"},(0,esm.kt)(misc.y6,{columns:[{title:"name",displayName:"Agency Name",icon:(0,esm.kt)(TooltipWrapper.Z,{icon:"info",tooltipComponent:(0,esm.kt)(TooltipComponent.Z,{title:"Test Tooltip",mdxType:"TooltipComponent"},(0,esm.kt)("div",null,"Test content for tooltip")),mdxType:"TooltipWrapper"})},{title:"total",displayName:"Total Budgetary Resources"},{title:"Q4",displayName:"FY 2020 Q4",columnSpan:"2",subColumnNames:[{displayName:"P10",title:"P10"},{displayName:"P11",title:"P11"}]},{title:"Q3",displayName:"FY 2020 Q3",columnSpan:"4",subColumnNames:[{displayName:"P9",title:"P9"},{displayName:"P8",title:"P8"},{displayName:"P7",title:"P7"},{displayName:"P6",title:"P6"}]}],mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Department of the Treasury (TREAS)"),"mock data","25%","26%","$1.2 million","$1.3 million","$1.4 million","$1.5 million"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data","mock data IIIIIIIII","$5.2 million","$2.3 million","$11.4 million","$23.5 million"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-with-first-column-headers"},"Table with First Column Headers"),(0,esm.kt)("h3",{id:"steps-to-implement"},"Steps to implement"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},"Pass the property ",(0,esm.kt)("inlineCode",{parentName:"li"},"bodyHeader: true")," to the first element of the columns property."),(0,esm.kt)("li",{parentName:"ul"},"Pass the property ",(0,esm.kt)("inlineCode",{parentName:"li"},"rowSpan: '0'")," to the first element of each of the rows property.")),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table with First Column Headers",mdxType:"Story"},(0,esm.kt)("div",{className:"story__container table-story"},(0,esm.kt)(table_Table,{columns:[{title:"blank",displayName:"",bodyHeader:!0},{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount"},{title:"percent",displayName:"% of Total Amount",right:!0}],rows:[[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"loading-table"},"Loading Table"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Loading Table",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{loading:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"table-error"},"Table Error"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Table Error",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{error:!0,mdxType:"Table"})))),(0,esm.kt)("h2",{id:"custom-error-message"},"Custom Error Message"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Custom Error Message",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{error:!0,message:"Custom error message here.",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"no-results"},"No Results"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"No Results",mdxType:"Story"},(0,esm.kt)(misc.T8,{mdxType:"BasicTableWrapper"},(0,esm.kt)(table_Table,{rows:[],mdxType:"Table"})))),(0,esm.kt)("h2",{id:"stacked-responsive-table"},"Stacked Responsive Table"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Stacked Responsive Table",mdxType:"Story"},(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{isStacked:!0,rows:[["Transportation","$100","20%"],["Health","$150","30%"],["General Science","$250","50%"]],mdxType:"Table"})),(0,esm.kt)(misc.y6,{mdxType:"TableWrapper"},(0,esm.kt)(table_Table,{isStacked:!0,rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Advanced Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Award Summary"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Profile Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Federal Account Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Account Profile Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Recipient Profile Page")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var table=function table(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table.displayName="table",table.storyName="Table",table.parameters={storySource:{source:"\n
    Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "}};var tableWithoutSorting=function tableWithoutSorting(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};tableWithoutSorting.displayName="tableWithoutSorting",tableWithoutSorting.storyName="Table without Sorting",tableWithoutSorting.parameters={storySource:{source:"\n
    Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "}};var expandableTableWithoutDivider=function expandableTableWithoutDivider(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};expandableTableWithoutDivider.displayName="expandableTableWithoutDivider",expandableTableWithoutDivider.storyName="Expandable Table without Divider",expandableTableWithoutDivider.parameters={storySource:{source:"\n
    \n "}};var expandableTableWithDivider=function expandableTableWithDivider(){return(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};expandableTableWithDivider.displayName="expandableTableWithDivider",expandableTableWithDivider.storyName="Expandable Table with Divider",expandableTableWithDivider.parameters={storySource:{source:"\n
    \n "}};var tableWSubColumnsTooltips=function tableWSubColumnsTooltips(){return(0,esm.kt)(misc.y6,{columns:[{title:"name",displayName:"Agency Name",icon:(0,esm.kt)(TooltipWrapper.Z,{icon:"info",tooltipComponent:(0,esm.kt)(TooltipComponent.Z,{title:"Test Tooltip"},(0,esm.kt)("div",null,"Test content for tooltip"))})},{title:"total",displayName:"Total Budgetary Resources"},{title:"Q4",displayName:"FY 2020 Q4",columnSpan:"2",subColumnNames:[{displayName:"P10",title:"P10"},{displayName:"P11",title:"P11"}]},{title:"Q3",displayName:"FY 2020 Q3",columnSpan:"4",subColumnNames:[{displayName:"P9",title:"P9"},{displayName:"P8",title:"P8"},{displayName:"P7",title:"P7"},{displayName:"P6",title:"P6"}]}]},(0,esm.kt)(table_Table,{rows:[[(0,esm.kt)("a",{href:"/"},"Department of the Treasury (TREAS)"),"mock data","25%","26%","$1.2 million","$1.3 million","$1.4 million","$1.5 million"],[(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data","mock data IIIIIIIII","$5.2 million","$2.3 million","$11.4 million","$23.5 million"]]}))};tableWSubColumnsTooltips.displayName="tableWSubColumnsTooltips",tableWSubColumnsTooltips.storyName="Table w/ Sub Columns & Tooltips",tableWSubColumnsTooltips.parameters={storySource:{source:"
    Test content for tooltip
    } />\n}, {\n title: 'total',\n displayName: 'Total Budgetary Resources'\n}, {\n title: 'Q4',\n displayName: 'FY 2020 Q4',\n columnSpan: \"2\",\n subColumnNames: [{\n displayName: 'P10',\n title: 'P10'\n }, {\n displayName: 'P11',\n title: 'P11'\n }]\n}, {\n title: 'Q3',\n displayName: 'FY 2020 Q3',\n columnSpan: \"4\",\n subColumnNames: [{\n displayName: 'P9',\n title: 'P9'\n }, {\n displayName: 'P8',\n title: 'P8'\n }, {\n displayName: 'P7',\n title: 'P7'\n }, {\n displayName: 'P6',\n title: 'P6'\n }]\n}]}>\n
    Department of the Treasury (TREAS), 'mock data', '25%', '26%', '$1.2 million', '$1.3 million', '$1.4 million', '$1.5 million'], [jsx content, 1234, 'mock data', 'mock data IIIIIIIII', '$5.2 million', '$2.3 million', '$11.4 million', '$23.5 million']]} />\n "}};var tableWithFirstColumnHeaders=function tableWithFirstColumnHeaders(){return(0,esm.kt)("div",{className:"story__container table-story"},(0,esm.kt)(table_Table,{columns:[{title:"blank",displayName:"",bodyHeader:!0},{title:"name",displayName:"Budget Function"},{title:"amount",displayName:"Amount"},{title:"percent",displayName:"% of Total Amount",right:!0}],rows:[[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)("a",{href:"/"},"Link"),"mock data","25%"],[{displayName:"Body Header",title:"",rowSpan:"0"},(0,esm.kt)(react.Fragment,null,(0,esm.kt)("strong",null,"jsx")," content"),1234,"mock data"]]}))};tableWithFirstColumnHeaders.displayName="tableWithFirstColumnHeaders",tableWithFirstColumnHeaders.storyName="Table with First Column Headers",tableWithFirstColumnHeaders.parameters={storySource:{source:"
    \n
    Link, 'mock data', '25%'], [{\n displayName: 'Body Header',\n title: '',\n rowSpan: '0'\n }, jsx content, 1234, 'mock data']]} />\n "}};var loadingTable=function loadingTable(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{loading:!0}))};loadingTable.displayName="loadingTable",loadingTable.storyName="Loading Table",loadingTable.parameters={storySource:{source:"\n
    \n "}};var tableError=function tableError(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{error:!0}))};tableError.displayName="tableError",tableError.storyName="Table Error",tableError.parameters={storySource:{source:"\n
    \n
    "}};var customErrorMessage=function customErrorMessage(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{error:!0,message:"Custom error message here."}))};customErrorMessage.displayName="customErrorMessage",customErrorMessage.storyName="Custom Error Message",customErrorMessage.parameters={storySource:{source:'\n
    \n
    '}};var noResults=function noResults(){return(0,esm.kt)(misc.T8,null,(0,esm.kt)(table_Table,{rows:[]}))};noResults.displayName="noResults",noResults.storyName="No Results",noResults.parameters={storySource:{source:"\n
    \n
    "}};var stackedResponsiveTable=function stackedResponsiveTable(){return(0,esm.kt)(react.Fragment,null,(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{isStacked:!0,rows:[["Transportation","$100","20%"],["Health","$150","30%"],["General Science","$250","50%"]]})),(0,esm.kt)(misc.y6,null,(0,esm.kt)(table_Table,{isStacked:!0,rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"})))};stackedResponsiveTable.storyName="Stacked Responsive Table",stackedResponsiveTable.parameters={storySource:{source:"\n \n \n\n
    \n "}};var componentMeta={title:"Table",component:table_Table,includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider","tableWSubColumnsTooltips","tableWithFirstColumnHeaders","loadingTable","tableError","customErrorMessage","noResults","stackedResponsiveTable"]},mdxStoryNameToKey={Table:"table","Table without Sorting":"tableWithoutSorting","Expandable Table without Divider":"expandableTableWithoutDivider","Expandable Table with Divider":"expandableTableWithDivider","Table w/ Sub Columns & Tooltips":"tableWSubColumnsTooltips","Table with First Column Headers":"tableWithFirstColumnHeaders","Loading Table":"loadingTable","Table Error":"tableError","Custom Error Message":"customErrorMessage","No Results":"noResults","Stacked Responsive Table":"stackedResponsiveTable"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var table_stories=componentMeta,__namedExportsOrder=["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider","tableWSubColumnsTooltips","tableWithFirstColumnHeaders","loadingTable","tableError","customErrorMessage","noResults","stackedResponsiveTable"]},"./.storybook/stories/tabs.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return tabs_stories},tablessStyle:function(){return tablessStyle},tabsWithScroll:function(){return tabsWithScroll}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var react=__webpack_require__("./node_modules/react/index.js"),esm=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),dist_esm=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),misc=(__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),__webpack_require__("./.storybook/misc.jsx")),esm_extends=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/extends.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types),TooltipWrapper=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),TooltipComponent=__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),keyboardEventsHelper=__webpack_require__("./helpers/keyboardEventsHelper.js"),moneyFormatter=__webpack_require__("./helpers/moneyFormatter.js"),propTypes={label:prop_types_default().string.isRequired,internal:prop_types_default().string,labelContent:prop_types_default().element,active:prop_types_default().bool,enabled:prop_types_default().bool,switchTab:prop_types_default().func,className:prop_types_default().string,tooltip:prop_types_default().object,count:prop_types_default().number,tablessStyle:prop_types_default().bool},Tab=function Tab(props){var tab=(0,react.useRef)(null),clickedTab=function clickedTab(){var _tab$current,_tab$current2;props.enabled&&(null!=tab&&tab.current&&null!==(_tab$current=tab.current)&&void 0!==_tab$current&&_tab$current.scrollIntoView&&(null===(_tab$current2=tab.current)||void 0===_tab$current2||_tab$current2.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})),props.switchTab(props.internal))},onKeyDownHandler=(0,keyboardEventsHelper.S)(clickedTab);return react.createElement("div",{className:"usa-dt-tab__wrapper"+(props.enabled?"":" disabled")+(props.tablessStyle?" tabless-tab":"")+(props.active?" active":"")},react.createElement("div",{className:"usa-dt-tab"+(props.active?" active":"")+" "+(props.className||"")+(props.enabled?"":" disabled"),ref:tab,onClick:clickedTab,onKeyDown:onKeyDownHandler,role:"tab",title:"Show "+props.label,"aria-label":"Show "+props.label,tabIndex:0,disabled:!props.enabled},react.createElement("div",{className:"usa-dt-tab__content"},react.createElement("div",{className:"usa-dt-tab__label"},react.createElement("div",{className:"usa-dt-tab__label-text"},props.label),props.count>=0&&react.createElement("div",{"aria-label":"Count of "+(0,moneyFormatter.uf)(props.count)+" for "+props.label,className:"count"+(props.active?" active":"")},(0,moneyFormatter.uf)(props.count)),props.tooltip&&react.createElement(TooltipWrapper.Z,{tooltipComponent:react.createElement(TooltipComponent.Z,{title:props.label},props.tooltip),icon:"info"})))))};Tab.displayName="Tab",Tab.propTypes=propTypes,Tab.__docgenInfo={description:"",methods:[],displayName:"Tab",props:{label:{description:"",type:{name:"string"},required:!0},internal:{description:"",type:{name:"string"},required:!1},labelContent:{description:"",type:{name:"element"},required:!1},active:{description:"",type:{name:"bool"},required:!1},enabled:{description:"",type:{name:"bool"},required:!1},switchTab:{description:"",type:{name:"func"},required:!1},className:{description:"",type:{name:"string"},required:!1},tooltip:{description:"",type:{name:"object"},required:!1},count:{description:"",type:{name:"number"},required:!1},tablessStyle:{description:"",type:{name:"bool"},required:!1}}};var tabs_Tab=Tab;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\tabs\\Tab.jsx"]={name:"Tab",docgenInfo:Tab.__docgenInfo,path:"components\\tabs\\Tab.jsx"}),__webpack_require__("./styles/components/_tabs.scss");var Tabs_propTypes={types:prop_types_default().arrayOf(prop_types_default().shape({label:prop_types_default().string.isRequired,internal:prop_types_default().string.isRequired,count:prop_types_default().number,disabled:prop_types_default().bool,tooltip:prop_types_default().element})).isRequired,active:prop_types_default().string.isRequired,switchTab:prop_types_default().func.isRequired,tabsClassName:prop_types_default().string,tablessStyle:prop_types_default().bool},Tabs=function Tabs(_ref){var types=_ref.types,active=_ref.active,switchTab=_ref.switchTab,tabsClassName=_ref.tabsClassName,tablessStyle=_ref.tablessStyle,tabs=types.map((function(type){return react.createElement(tabs_Tab,(0,esm_extends.Z)({},type,{active:active===type.internal,switchTab:switchTab,key:"table-type-item-"+type.internal,enabled:!type.disabled,className:tabsClassName,tooltip:type.tooltip,tablessStyle:tablessStyle}))}));return react.createElement("div",{className:"usa-dt-tab-list"+(tablessStyle?" tabless-tabs":""),role:"tablist"},!tablessStyle&&react.createElement("div",{className:"usa-dt-tab-list__border-pre-filler"}),tabs,react.createElement("div",{className:"usa-dt-tab-list__border-post-filler"}))};Tabs.displayName="Tabs",Tabs.propTypes=Tabs_propTypes,Tabs.__docgenInfo={description:"",methods:[],displayName:"Tabs",props:{types:{description:"",type:{name:"arrayOf",value:{name:"shape",value:{label:{name:"string",required:!0},internal:{name:"string",required:!0},count:{name:"number",required:!1},disabled:{name:"bool",required:!1},tooltip:{name:"element",required:!1}}}},required:!0},active:{description:"",type:{name:"string"},required:!0},switchTab:{description:"",type:{name:"func"},required:!0},tabsClassName:{description:"",type:{name:"string"},required:!1},tablessStyle:{description:"",type:{name:"bool"},required:!1}}};var tabs_Tabs=Tabs;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components\\tabs\\Tabs.jsx"]={name:"Tabs",docgenInfo:Tabs.__docgenInfo,path:"components\\tabs\\Tabs.jsx"});var _excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,esm.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,esm.kt)(dist_esm.h_,{title:"Tabs",component:tabs_Tabs,mdxType:"Meta"}),(0,esm.kt)("h2",{id:"this-is-designed-to-be-a-controlled-component"},"This is Designed to be a ",(0,esm.kt)("a",{parentName:"h2",href:"https://reactjs.org/docs/forms.html#controlled-components",target:"_blank",rel:"nofollow noopener noreferrer"},"Controlled Component")),(0,esm.kt)("p",null,"This means the component relies on its parent to pass the following props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"types"),": An array of tab objects with their properties below",(0,esm.kt)("ul",{parentName:"li"},(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"label"),": (required) string, the title of the label to display"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"internal"),": (required) string, the unique name of the tab "),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"count"),": number, the count to display to the right of the label"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"disabled"),": boolean, is the tab disabled"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tooltip"),": element, HTML to display in the tooltip"))),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"active"),": The internal property of the active tab"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"switchTab"),": A function to execute on switching tabs")),(0,esm.kt)("p",null,"In this example:"),(0,esm.kt)("h3",{id:"other-props"},"Other props:"),(0,esm.kt)("ul",null,(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tabsClassName"),": A class name for the tabs"),(0,esm.kt)("li",{parentName:"ul"},(0,esm.kt)("inlineCode",{parentName:"li"},"tablessStyle"),": A property to show tabs in a tabless style")),(0,esm.kt)("h2",{id:"tabs-with-scroll"},"Tabs with Scroll"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Tabs with Scroll",mdxType:"Story"},(0,esm.kt)(misc.tS,{mdxType:"TabsWrapper"},(0,esm.kt)(tabs_Tabs,{types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars"},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler",disabled:!0},{internal:"yellowstone",label:"Yellowstone",count:22},{internal:"washingtondc",label:"Washington D.C.",count:33},{internal:"blue",label:"Blue"},{internal:"purple",label:"Purple"},{internal:"dinnerware",label:"Dinnerware"},{internal:"cookware",label:"Cookware"}],mdxType:"Tabs"})))),(0,esm.kt)("h2",{id:"tabs-with-a-tabless-style-disabled"},"Tabs with a Tabless Style Disabled"),(0,esm.kt)(dist_esm.Xz,{mdxType:"Canvas"},(0,esm.kt)(dist_esm.oG,{name:"Tabless Style",mdxType:"Story"},(0,esm.kt)(misc.tS,{mdxType:"TabsWrapper"},(0,esm.kt)(tabs_Tabs,{tablessStyle:!0,types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars",disabled:!0},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler"}],mdxType:"Tabs"})))),(0,esm.kt)(dist_esm.$4,{of:tabs_Tabs,mdxType:"ArgsTable"}),(0,esm.kt)("h2",{id:"integration-status"},"Integration Status"),(0,esm.kt)("p",null,"Answers the question, where is this component used?"),(0,esm.kt)("h3",{id:"usaspending"},"USASpending"),(0,esm.kt)("ul",{className:"contains-task-list"},(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","COVID-19 Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Advanced Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Keyword Search"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Federal Account Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Recipient Landing Page"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","State Profile"),(0,esm.kt)("li",{parentName:"ul",className:"task-list-item"},(0,esm.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Summary")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var tabsWithScroll=function tabsWithScroll(){return(0,esm.kt)(misc.tS,null,(0,esm.kt)(tabs_Tabs,{types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars"},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler",disabled:!0},{internal:"yellowstone",label:"Yellowstone",count:22},{internal:"washingtondc",label:"Washington D.C.",count:33},{internal:"blue",label:"Blue"},{internal:"purple",label:"Purple"},{internal:"dinnerware",label:"Dinnerware"},{internal:"cookware",label:"Cookware"}]}))};tabsWithScroll.displayName="tabsWithScroll",tabsWithScroll.storyName="Tabs with Scroll",tabsWithScroll.parameters={storySource:{source:"\n \n "}};var tablessStyle=function tablessStyle(){return(0,esm.kt)(misc.tS,null,(0,esm.kt)(tabs_Tabs,{tablessStyle:!0,types:[{internal:"name",label:"Names",count:22},{internal:"dates",label:"Dates",count:33},{internal:"cars",label:"Cars",disabled:!0},{internal:"coffeemugs",label:"Coffee Mugs"},{internal:"colorado",label:"Colorado"},{internal:"whistler",label:"Whistler"}]}))};tablessStyle.displayName="tablessStyle",tablessStyle.storyName="Tabless Style",tablessStyle.parameters={storySource:{source:"\n \n "}};var componentMeta={title:"Tabs",component:tabs_Tabs,includeStories:["tabsWithScroll","tablessStyle"]},mdxStoryNameToKey={"Tabs with Scroll":"tabsWithScroll","Tabless Style":"tablessStyle"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,esm.kt)(dist_esm.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,esm.kt)(MDXContent,null))}});var tabs_stories=componentMeta,__namedExportsOrder=["tabsWithScroll","tablessStyle"]},"./.storybook/stories/tooltip.stories.mdx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__namedExportsOrder:function(){return __namedExportsOrder},defaultStory:function(){return defaultStory},smartTooltipLeft:function(){return smartTooltipLeft},smartTooltipRight:function(){return smartTooltipRight}});__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js");var _mdx_js_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@mdx-js/react/dist/esm.js"),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/esm/index.js"),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@storybook/addon-knobs/dist/index.js"),_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./components/infoTooltip/TooltipWrapper.jsx"),_misc__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__("./components/infoTooltip/TooltipComponent.jsx"),__webpack_require__("./.storybook/misc.jsx")),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXLayout,_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.h_,{title:"Tooltip Wrapper",component:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,mdxType:"Meta"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.$4,{of:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,mdxType:"ArgsTable"}),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-room"},"w/ Room"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"No overriding necessary in this case for position. Use the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"wide")," prop to expand the tooltip or the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop to determine which direction for the tooltip to go.\nCurrently, only supports right or left."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Default",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!1),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"When positioning the tooltip right/left, if there isn't enough room, it chooses the position for you."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-no-room-to-left-dynamically-right-positioned"},"w/ No Room to Left: Dynamically Right Positioned"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"A tooltip with the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop set to ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"right")," that instead goes left due to their not being enough room."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Smart Tooltip (left)",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-left"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"w-no-room-to-right-dynamically-left-positioned"},"w/ No Room to Right: Dynamically Left Positioned"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"A tooltip with the ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"tooltipPosition")," prop set to ",(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("inlineCode",{parentName:"p"},"left")," that instead goes right due to their not being enough room."),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.Xz,{mdxType:"Canvas"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.oG,{name:"Smart Tooltip (right)",mdxType:"Story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-right"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,{mdxType:"Tooltip"}),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h2",{id:"integration-status"},"Integration Status"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("p",null,"Answers the question, where is this component used?"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"usaspending"},"USASpending"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("ul",{className:"contains-task-list"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Award Summary Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Submission Statistics"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Advanced Search"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","Spending Explorer"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!1,disabled:!0})," ","State Profile Page"),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("li",{parentName:"ul",className:"task-list-item"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("input",{parentName:"li",type:"checkbox",checked:!0,disabled:!0})," ","Agency Profile v2 Page")),(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("h3",{id:"broker-integration-status"},"Broker Integration Status:"))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var defaultStory=function defaultStory(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!1),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};defaultStory.displayName="defaultStory",defaultStory.storyName="Default",defaultStory.parameters={storySource:{source:'
    \n } wide={boolean("wide", false)} tooltipPosition={text("tooltipPosition", "left")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var smartTooltipLeft=function smartTooltipLeft(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-left"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};smartTooltipLeft.displayName="smartTooltipLeft",smartTooltipLeft.storyName="Smart Tooltip (left)",smartTooltipLeft.parameters={storySource:{source:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var smartTooltipRight=function smartTooltipRight(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)("div",{className:"story__container tooltip-story smart-tooltip-right"},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,{icon:"info",tooltipComponent:(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_misc__WEBPACK_IMPORTED_MODULE_11__.u,null),wide:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.boolean)("wide",!0),tooltipPosition:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.text)("tooltipPosition","left"),controlledProps:(0,_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_8__.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};smartTooltipRight.displayName="smartTooltipRight",smartTooltipRight.storyName="Smart Tooltip (right)",smartTooltipRight.parameters={storySource:{source:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition", "left")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '}};var componentMeta={title:"Tooltip Wrapper",component:_components_infoTooltip_TooltipWrapper__WEBPACK_IMPORTED_MODULE_9__.Z,includeStories:["defaultStory","smartTooltipLeft","smartTooltipRight"]},mdxStoryNameToKey={Default:"defaultStory","Smart Tooltip (left)":"smartTooltipLeft","Smart Tooltip (right)":"smartTooltipRight"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_7__.aT,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentAnnotations:componentMeta},(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_6__.kt)(MDXContent,null))}}),__webpack_exports__.default=componentMeta;var __namedExportsOrder=["defaultStory","smartTooltipLeft","smartTooltipRight"]},"./styles/components/_buttons.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_carousel.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_downloadIconButton.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_fiscalYearPicker.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_flexGrid.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_informationBoxes.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_messages.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_pageHeader.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_picker.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_searchBar.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_sectionTitle.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_shareIcon.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/_tabs.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/cards/_cards.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/infoTooltip/_tooltipWrapper.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/pagination/_pagination.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"./styles/components/table/_table.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__)},"?4f7e":function(){},"./generated-stories-entry.cjs":function(module,__unused_webpack_exports,__webpack_require__){"use strict";module=__webpack_require__.nmd(module),(0,__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js").configure)([__webpack_require__("./.storybook sync recursive ^\\.(?:(?:^%7C[\\\\/]%7C(?:(?:(?%21(?:^%7C[\\\\/])\\.).)*?)[\\\\/])stories[\\\\/](?%21\\.)(?=.)[^\\\\/]*?\\.stories\\.(mdx%7Cjs))$")],module,!1)}},function(__webpack_require__){var __webpack_exec__=function(moduleId){return __webpack_require__(__webpack_require__.s=moduleId)};__webpack_require__.O(0,[211],(function(){return __webpack_exec__("./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),__webpack_exec__("./node_modules/@storybook/core-client/dist/esm/globals/globals.js"),__webpack_exec__("./storybook-init-framework-entry.js"),__webpack_exec__("./node_modules/@storybook/react/dist/esm/client/docs/config-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-docs/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-a11y/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-actions/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-backgrounds/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-measure/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-outline/preview.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-knobs/dist/preset/addDecorator.js-generated-config-entry.js"),__webpack_exec__("./.storybook/preview.js-generated-config-entry.js"),__webpack_exec__("./generated-stories-entry.cjs")}));__webpack_require__.O()}]); \ No newline at end of file diff --git a/docs/project.json b/docs/project.json index 3c947dc5..8066847e 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1692288406170,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.6.7"},"storybookVersion":"6.5.16","language":"typescript","storybookPackages":{"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/addon-console":{"version":"1.2.3"},"@storybook/react":{"version":"6.5.16"},"@storybook/source-loader":{"version":"6.5.16"},"@storybook/theming":{"version":"6.5.16"},"storybook":{"version":"5.3.22"}},"framework":{"name":"react"},"addons":{"@storybook/addon-knobs":{"version":"6.4.0"},"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"@storybook/addon-viewport":{"version":"6.5.16"},"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-controls":{"version":"6.5.16"}}} +{"generatedAt":1692734463780,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.6.7"},"storybookVersion":"6.5.16","language":"typescript","storybookPackages":{"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/addon-console":{"version":"1.2.3"},"@storybook/react":{"version":"6.5.16"},"@storybook/source-loader":{"version":"6.5.16"},"@storybook/theming":{"version":"6.5.16"},"storybook":{"version":"5.3.22"}},"framework":{"name":"react"},"addons":{"@storybook/addon-knobs":{"version":"6.4.0"},"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"@storybook/addon-viewport":{"version":"6.5.16"},"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-controls":{"version":"6.5.16"}}} From 46bae2de1749311f5adb63bc9809fc7f24795f39 Mon Sep 17 00:00:00 2001 From: chasls2 <110061741+chasls2@users.noreply.github.com> Date: Wed, 30 Aug 2023 11:33:41 -0500 Subject: [PATCH 4/4] updated version --- docs/project.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/project.json b/docs/project.json index 8066847e..f7224465 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1692734463780,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.6.7"},"storybookVersion":"6.5.16","language":"typescript","storybookPackages":{"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/addon-console":{"version":"1.2.3"},"@storybook/react":{"version":"6.5.16"},"@storybook/source-loader":{"version":"6.5.16"},"@storybook/theming":{"version":"6.5.16"},"storybook":{"version":"5.3.22"}},"framework":{"name":"react"},"addons":{"@storybook/addon-knobs":{"version":"6.4.0"},"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"@storybook/addon-viewport":{"version":"6.5.16"},"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-controls":{"version":"6.5.16"}}} +{"generatedAt":1693413141013,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.6.7"},"storybookVersion":"6.5.16","language":"typescript","storybookPackages":{"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/addon-console":{"version":"1.2.3"},"@storybook/react":{"version":"6.5.16"},"@storybook/source-loader":{"version":"6.5.16"},"@storybook/theming":{"version":"6.5.16"},"storybook":{"version":"5.3.22"}},"framework":{"name":"react"},"addons":{"@storybook/addon-knobs":{"version":"6.4.0"},"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"@storybook/addon-viewport":{"version":"6.5.16"},"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-controls":{"version":"6.5.16"}}} diff --git a/package.json b/package.json index 3996cdf1..4bb94446 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "data-transparency-ui", - "version": "5.8.0", + "version": "5.9.0", "description": "Library of UI components powering Data Transparency websites", "main": "dist/index.js", "style": "dist/data-transparency-ui.css",