diff --git a/.storybook/preview.js b/.storybook/preview.js index 213384a..64310fa 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -20,6 +20,9 @@ import "../storybook/index.css"; // Documentation overrides. import "./index.css"; +// USWDS Core props. +import "../src/core/index.css"; + /** @type { import('@storybook/web-components').Preview } */ const preview = { parameters: { diff --git a/custom-elements.json b/custom-elements.json index a790d51..84e7bac 100644 --- a/custom-elements.json +++ b/custom-elements.json @@ -38,7 +38,7 @@ { "kind": "class", "description": "", - "name": "R", + "name": "I", "members": [ { "kind": "method", @@ -54,10 +54,6 @@ "name": "_actionText", "readonly": true }, - { - "kind": "method", - "name": "svgLock" - }, { "kind": "method", "name": "domainTemplate", @@ -67,6 +63,10 @@ } ] }, + { + "kind": "method", + "name": "lockIcon" + }, { "kind": "method", "name": "httpsTemplate", @@ -83,6776 +83,134 @@ "text": "string" }, "default": "\"en\"" - }, - { - "kind": "field", - "name": "isOpen", - "type": { - "text": "boolean" - }, - "default": "!1" - }, - { - "kind": "field", - "name": "tld", - "type": { - "text": "string" - }, - "default": "\"gov\"" - }, - { - "kind": "field", - "name": "data", - "type": { - "text": "object" - }, - "default": "{ en: { banner: { label: \"Official website of the United States government\", text: \"An official website of the United States government\", action: \"Here's how you know\" }, domain: { heading: \"Official websites use\", text1: \"A\", text2: \"website belongs to an official government organization in the United States.\" }, https: { heading1: \"Secure\", heading2: \"websites use HTTPS\", text1: \"A lock\", text2: \"or https:// means you’ve safely connected to the\", text3: \"website. Share sensitive information only on official, secure websites.\" } }, es: { banner: { label: \"Un sitio oficial del Gobierno de Estados Unidos\", text: \"Un sitio oficial del Gobierno de Estados Unidos\", action: \"Así es como usted puede verificarlo\" }, domain: { heading: \"Los sitios web oficiales usan\", text1: \"Un sitio web\", text2: \"pertenece a una organización oficial del Gobierno de Estados Unidos.\" }, https: { heading1: \"Los sitios web seguros\", heading2: \"usan HTTPS\", text1: \"Un candado\", text2: \"o https:// significa que usted se conectó de forma segura a un sitio web\", text3: \"Comparta información sensible sólo en sitios web oficiales y seguros.\" } } }" - } - ], - "superclass": { - "name": "oe", - "package": "lit" - }, - "tagName": "usa-banner", - "customElement": true - } - ], - "exports": [ - { - "kind": "custom-element-definition", - "name": "usa-banner", - "declaration": { - "name": "R", - "module": "dist/components/usa-banner.js" - } - }, - { - "kind": "js", - "name": "UsaBanner", - "declaration": { - "name": "R", - "module": "dist/components/usa-banner.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "dist/components/usa-link.js", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "i", - "members": [ - { - "kind": "method", - "name": "hasLinkChild" - }, - { - "kind": "method", - "name": "templateWithChildren" - }, - { - "kind": "method", - "name": "templateWithSlots" - } - ], - "superclass": { - "name": "n", - "package": "lit" - }, - "tagName": "usa-link", - "customElement": true - } - ], - "exports": [ - { - "kind": "custom-element-definition", - "name": "usa-link", - "declaration": { - "name": "i", - "module": "dist/components/usa-link.js" - } - }, - { - "kind": "js", - "name": "UsaLink", - "declaration": { - "name": "i", - "module": "dist/components/usa-link.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/components/index.js", - "declarations": [], - "exports": [ - { - "kind": "js", - "name": "UsaLink", - "declaration": { - "name": "UsaLink", - "module": "src/components/index.js" - } - }, - { - "kind": "js", - "name": "UsaBanner", - "declaration": { - "name": "UsaBanner", - "module": "src/components/index.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/Color-ERTF36HU-GcHtjzx3.js", - "declarations": [ - { - "kind": "variable", - "name": "Yt" - }, - { - "kind": "variable", - "name": "on", - "default": "Yt" - } - ], - "exports": [ - { - "kind": "js", - "name": "ColorControl", - "declaration": { - "name": "Yt", - "module": "storybook-static/assets/Color-ERTF36HU-GcHtjzx3.js" - } - }, - { - "kind": "js", - "name": "default", - "declaration": { - "name": "on", - "module": "storybook-static/assets/Color-ERTF36HU-GcHtjzx3.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/DocsRenderer-CFRXHY34-BArH1aTH.js", - "declarations": [ - { - "kind": "variable", - "name": "D", - "type": { - "text": "object" - }, - "default": "{code:d,a:v,...R}" - }, - { - "kind": "variable", - "name": "S", - "default": "class{constructor(){this.render=async(e,t,r)=>{let o={...D,...t==null?void 0:t.components},i=w;return new Promise((m,p)=>{h(async()=>{const{MDXProvider:u}=await import(\"./index-DwlXWCcg.js\");return{MDXProvider:u}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(({MDXProvider:u})=>x(n.createElement(C,{showException:p,key:Math.random()},n.createElement(u,{components:o},n.createElement(i,{context:e,docsParameter:t}))),r)).then(()=>m())})},this.unmount=e=>{y(e)}}}" - } - ], - "exports": [ - { - "kind": "js", - "name": "DocsRenderer", - "declaration": { - "name": "S", - "module": "storybook-static/assets/DocsRenderer-CFRXHY34-BArH1aTH.js" - } - }, - { - "kind": "js", - "name": "defaultComponents", - "declaration": { - "name": "D", - "module": "storybook-static/assets/DocsRenderer-CFRXHY34-BArH1aTH.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js", - "declarations": [ - { - "kind": "variable", - "name": "o" - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "e" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "c", - "declaration": { - "name": "o", - "module": "storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js" - } - }, - { - "kind": "js", - "name": "g", - "declaration": { - "name": "l", - "module": "storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/axe-BFJxu91j.js", - "declarations": [ - { - "kind": "variable", - "name": "a" - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "T" - } - ] - }, - { - "kind": "function", - "name": "a" - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "variable", - "name": "IT" - } - ], - "exports": [ - { - "kind": "js", - "name": "a", - "declaration": { - "name": "IT", - "module": "storybook-static/assets/axe-BFJxu91j.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/banner.stories-CidGiW5Z.js", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "sc", - "members": [ - { - "kind": "method", - "name": "toggle" - }, - { - "kind": "field", - "name": "_bannerText", - "readonly": true - }, - { - "kind": "field", - "name": "_actionText", - "readonly": true - }, - { - "kind": "method", - "name": "svgLock" - }, - { - "kind": "method", - "name": "domainTemplate", - "parameters": [ - { - "name": "t" - } - ] - }, - { - "kind": "method", - "name": "httpsTemplate", - "parameters": [ - { - "name": "t" - } - ] - }, - { - "kind": "field", - "name": "lang", - "type": { - "text": "string" - }, - "default": "\"en\"" - }, - { - "kind": "field", - "name": "isOpen", - "type": { - "text": "boolean" - }, - "default": "!1" - }, - { - "kind": "field", - "name": "tld", - "type": { - "text": "string" - }, - "default": "\"gov\"" - }, - { - "kind": "field", - "name": "data", - "type": { - "text": "object" - }, - "default": "{en:{banner:{label:\"Official website of the United States government\",text:\"An official website of the United States government\",action:\"Here's how you know\"},domain:{heading:\"Official websites use\",text1:\"A\",text2:\"website belongs to an official government organization in the United States.\"},https:{heading1:\"Secure\",heading2:\"websites use HTTPS\",text1:\"A lock\",text2:\"or https:// means you’ve safely connected to the\",text3:\"website. Share sensitive information only on official, secure websites.\"}},es:{banner:{label:\"Un sitio oficial del Gobierno de Estados Unidos\",text:\"Un sitio oficial del Gobierno de Estados Unidos\",action:\"Así es como usted puede verificarlo\"},domain:{heading:\"Los sitios web oficiales usan\",text1:\"Un sitio web\",text2:\"pertenece a una organización oficial del Gobierno de Estados Unidos.\"},https:{heading1:\"Los sitios web seguros\",heading2:\"usan HTTPS\",text1:\"Un candado\",text2:\"o https:// significa que usted se conectó de forma segura a un sitio web\",text3:\"Comparta información sensible sólo en sitios web oficiales y seguros.\"}}}" - } - ], - "superclass": { - "name": "HC", - "module": "/storybook-static/assets/lit-element-BqPU_nbQ.js" - }, - "tagName": "usa-banner", - "customElement": true - }, - { - "kind": "variable", - "name": "WJ", - "type": { - "text": "object" - }, - "default": "{title:\"Components/Banner\",component:\"usa-banner\",args:{label:\"\",tld:\"\",lang:\"\"},render:({lang:e,label:t,tld:r})=>Jr` `}" - }, - { - "kind": "variable", - "name": "to", - "type": { - "text": "object" - }, - "default": "{}" - }, - { - "kind": "variable", - "name": "ro", - "type": { - "text": "object" - }, - "default": "{args:{label:\"A custom aria label\"}}" - }, - { - "kind": "variable", - "name": "no", - "type": { - "text": "object" - }, - "default": "{args:{bannerText:\"Un site Web officiel du gouvernement américain\",bannerAction:\"Voici comment vous le savez\",domainHeading:\"Les sites Web officiels utilisent\",domainText:\"Un site Web .gov appartient à une organisation gouvernementale officielle aux États-Unis.\",httpsHeading:\"Les sites Web .gov sécurisés utilisent HTTPS\",httpsText:\"Un verrou ou (lock) https:// signifie que vous êtes connecté(e) en toute sécurité au site Web .gov. Assurez-vous de ne partager des informations sensibles que sur des sites Web officiels et sécurisés.\"},render:({bannerText:e,bannerAction:t,domainHeading:r,domainText:n,httpsHeading:a,httpsText:o})=>Jr` ${e} ${t} ${r} ${n} ${a} ${o} `}" - }, - { - "kind": "variable", - "name": "ao", - "type": { - "text": "object" - }, - "default": "{args:{tld:\"mil\"}}" - }, - { - "kind": "variable", - "name": "oo", - "type": { - "text": "object" - }, - "default": "{args:{lang:\"es\"}}" - }, - { - "kind": "variable", - "name": "lo", - "type": { - "text": "object" - }, - "default": "{args:{lang:\"es\",tld:\"mil\"}}" - }, - { - "kind": "variable", - "name": "io", - "type": { - "text": "object" - }, - "default": "{play:async({canvasElement:e})=>{const t=vY(e),r=t.getByShadowRole(\"button\"),n=t.getByShadowText(\"Official websites use .gov\");Ib.click(r),await Nb(()=>{jb(n).toBeVisible()}),Ib.click(r),await Nb(()=>{jb(n).not.toBeVisible()})}}" - }, - { - "kind": "variable", - "name": "GJ", - "type": { - "text": "array" - }, - "default": "[\"Default\",\"CustomAriaLabel\",\"CustomContent\",\"Mil\",\"EspañolGov\",\"EspañolMil\",\"ToggleBanner\"]" - } - ], - "exports": [ - { - "kind": "custom-element-definition", - "name": "usa-banner", - "declaration": { - "name": "sc", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "CustomAriaLabel", - "declaration": { - "name": "ro", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "CustomContent", - "declaration": { - "name": "no", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "Default", - "declaration": { - "name": "to", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "EspañolGov", - "declaration": { - "name": "oo", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "EspañolMil", - "declaration": { - "name": "lo", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "Mil", - "declaration": { - "name": "ao", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "ToggleBanner", - "declaration": { - "name": "io", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "__namedExportsOrder", - "declaration": { - "name": "GJ", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - }, - { - "kind": "js", - "name": "default", - "declaration": { - "name": "WJ", - "module": "storybook-static/assets/banner.stories-CidGiW5Z.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/chunk-L4EGOTBX-DeOZr2Qh.js", - "declarations": [ - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "O", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "u" - } - ], - "exports": [ - { - "kind": "js", - "name": "a", - "declaration": { - "name": "d", - "module": "storybook-static/assets/chunk-L4EGOTBX-DeOZr2Qh.js" - } - }, - { - "kind": "js", - "name": "g", - "declaration": { - "name": "u", - "module": "storybook-static/assets/chunk-L4EGOTBX-DeOZr2Qh.js" - } - }, - { - "kind": "js", - "name": "i", - "declaration": { - "name": "s", - "module": "storybook-static/assets/chunk-L4EGOTBX-DeOZr2Qh.js" - } - }, - { - "kind": "js", - "name": "s", - "declaration": { - "name": "O", - "module": "storybook-static/assets/chunk-L4EGOTBX-DeOZr2Qh.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/entry-preview-De_4ZQ22.js", - "declarations": [ - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "function", - "name": "M", - "parameters": [ - { - "name": "{storyFn:e,kind:t,name:n,showMain:i,showError:d,forceRemount:p}" - }, - { - "name": "r" - } - ] - }, - { - "kind": "variable", - "name": "c", - "type": { - "text": "object" - }, - "default": "{renderer:\"web-components\"}" - } - ], - "exports": [ - { - "kind": "js", - "name": "parameters", - "declaration": { - "name": "c", - "module": "storybook-static/assets/entry-preview-De_4ZQ22.js" - } - }, - { - "kind": "js", - "name": "render", - "declaration": { - "name": "m", - "module": "storybook-static/assets/entry-preview-De_4ZQ22.js" - } - }, - { - "kind": "js", - "name": "renderToCanvas", - "declaration": { - "name": "M", - "module": "storybook-static/assets/entry-preview-De_4ZQ22.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/entry-preview-docs-DTUTSl49.js", - "declarations": [ - { - "kind": "variable", - "name": "j", - "type": { - "text": "array" - }, - "default": "[L]" - }, - { - "kind": "variable", - "name": "B", - "type": { - "text": "object" - }, - "default": "{docs:{extractArgTypes:S,extractComponentDescription:w,story:{inline:!0},source:{type:l.DYNAMIC,language:\"html\"}}}" - }, - { - "kind": "variable", - "name": "G", - "type": { - "text": "array" - }, - "default": "[_]" - } - ], - "exports": [ - { - "kind": "js", - "name": "argTypesEnhancers", - "declaration": { - "name": "G", - "module": "storybook-static/assets/entry-preview-docs-DTUTSl49.js" - } - }, - { - "kind": "js", - "name": "decorators", - "declaration": { - "name": "j", - "module": "storybook-static/assets/entry-preview-docs-DTUTSl49.js" - } - }, - { - "kind": "js", - "name": "parameters", - "declaration": { - "name": "B", - "module": "storybook-static/assets/entry-preview-docs-DTUTSl49.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/iframe-D0oUEJ4q.js", - "declarations": [ - { - "kind": "variable", - "name": "r", - "default": "function(n,a,l){let e=Promise.resolve();if(a&&a.length>0){const i=document.getElementsByTagName(\"link\"),_=document.querySelector(\"meta[property=csp-nonce]\"),d=(_==null?void 0:_.nonce)||(_==null?void 0:_.getAttribute(\"nonce\"));e=Promise.allSettled(a.map(s=>{if(s=T(s,l),s in p)return;p[s]=!0;const u=s.endsWith(\".css\"),f=u?'[rel=\"stylesheet\"]':\"\";if(!!l)for(let m=i.length-1;m>=0;m--){const E=i[m];if(E.href===s&&(!u||E.rel===\"stylesheet\"))return}else if(document.querySelector(`link[href=\"${s}\"]${f}`))return;const c=document.createElement(\"link\");if(c.rel=u?\"stylesheet\":R,u||(c.as=\"script\"),c.crossOrigin=\"\",c.href=s,d&&c.setAttribute(\"nonce\",d),document.head.appendChild(c),u)return new Promise((m,E)=>{c.addEventListener(\"load\",m),c.addEventListener(\"error\",()=>E(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(i){const _=new Event(\"vite:preloadError\",{cancelable:!0});if(_.payload=i,window.dispatchEvent(_),!_.defaultPrevented)throw i}return e.then(i=>{for(const _ of i||[])_.status===\"rejected\"&&o(_.reason);return n().catch(o)})}" - }, - { - "kind": "variable", - "name": "_" - } - ], - "exports": [ - { - "kind": "js", - "name": "_", - "declaration": { - "name": "r", - "module": "storybook-static/assets/iframe-D0oUEJ4q.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-BRzHKtmr.js", - "declarations": [], - "exports": [ - { - "kind": "js", - "name": "A", - "declaration": { - "name": "i", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ActionBar", - "declaration": { - "name": "l", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "AddonPanel", - "declaration": { - "name": "m", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Badge", - "declaration": { - "name": "c", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Bar", - "declaration": { - "name": "T", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Blockquote", - "declaration": { - "name": "b", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Button", - "declaration": { - "name": "d", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ClipboardCode", - "declaration": { - "name": "S", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Code", - "declaration": { - "name": "B", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "DL", - "declaration": { - "name": "L", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Div", - "declaration": { - "name": "C", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "DocumentWrapper", - "declaration": { - "name": "H", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "EmptyTabContent", - "declaration": { - "name": "u", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ErrorFormatter", - "declaration": { - "name": "g", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "FlexBar", - "declaration": { - "name": "y", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Form", - "declaration": { - "name": "I", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H1", - "declaration": { - "name": "h", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H2", - "declaration": { - "name": "k", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H3", - "declaration": { - "name": "P", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H4", - "declaration": { - "name": "W", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H5", - "declaration": { - "name": "A", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "H6", - "declaration": { - "name": "F", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "HR", - "declaration": { - "name": "x", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "IconButton", - "declaration": { - "name": "D", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "IconButtonSkeleton", - "declaration": { - "name": "R", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Icons", - "declaration": { - "name": "f", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Img", - "declaration": { - "name": "v", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "LI", - "declaration": { - "name": "E", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Link", - "declaration": { - "name": "M", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ListItem", - "declaration": { - "name": "N", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Loader", - "declaration": { - "name": "q", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Modal", - "declaration": { - "name": "w", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "OL", - "declaration": { - "name": "O", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "P", - "declaration": { - "name": "U", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Placeholder", - "declaration": { - "name": "Z", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Pre", - "declaration": { - "name": "j", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ResetWrapper", - "declaration": { - "name": "z", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "ScrollArea", - "declaration": { - "name": "G", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Separator", - "declaration": { - "name": "J", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Spaced", - "declaration": { - "name": "K", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Span", - "declaration": { - "name": "Q", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "StorybookIcon", - "declaration": { - "name": "V", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "StorybookLogo", - "declaration": { - "name": "X", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Symbols", - "declaration": { - "name": "Y", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "SyntaxHighlighter", - "declaration": { - "name": "_", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TT", - "declaration": { - "name": "$", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TabBar", - "declaration": { - "name": "aa", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TabButton", - "declaration": { - "name": "sa", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TabWrapper", - "declaration": { - "name": "oa", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Table", - "declaration": { - "name": "ta", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Tabs", - "declaration": { - "name": "ea", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TabsState", - "declaration": { - "name": "ra", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TooltipLinkList", - "declaration": { - "name": "na", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TooltipMessage", - "declaration": { - "name": "pa", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "TooltipNote", - "declaration": { - "name": "ia", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "UL", - "declaration": { - "name": "la", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "WithTooltip", - "declaration": { - "name": "ma", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "WithTooltipPure", - "declaration": { - "name": "ca", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "Zoom", - "declaration": { - "name": "Ta", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "codeCommon", - "declaration": { - "name": "ba", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "components", - "declaration": { - "name": "da", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "createCopyToClipboardFunction", - "declaration": { - "name": "Sa", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "getStoryHref", - "declaration": { - "name": "Ba", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "icons", - "declaration": { - "name": "La", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "interleaveSeparators", - "declaration": { - "name": "Ca", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "nameSpaceClassNames", - "declaration": { - "name": "Ha", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "resetComponents", - "declaration": { - "name": "ua", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - }, - { - "kind": "js", - "name": "withReset", - "declaration": { - "name": "ga", - "module": "storybook-static/assets/index-BRzHKtmr.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-CEHpLOKL.js", - "declarations": [ - { - "kind": "variable", - "name": "n" - }, - { - "kind": "variable", - "name": "a", - "type": { - "text": "object" - }, - "default": "{}" - }, - { - "kind": "variable", - "name": "o", - "type": { - "text": "null" - }, - "default": "null" - }, - { - "kind": "variable", - "name": "i", - "type": { - "text": "null" - }, - "default": "null" - }, - { - "kind": "variable", - "name": "l" - }, - { - "kind": "variable", - "name": "t", - "type": { - "text": "object" - }, - "default": "{\"=\":\"=0\",\":\":\"=2\"}" - }, - { - "kind": "variable", - "name": "s" - }, - { - "kind": "variable", - "name": "u" - }, - { - "kind": "variable", - "name": "w" - }, - { - "kind": "variable", - "name": "oe" - }, - { - "kind": "variable", - "name": "Cr" - }, - { - "kind": "variable", - "name": "T" - }, - { - "kind": "variable", - "name": "r" - }, - { - "kind": "variable", - "name": "d" - }, - { - "kind": "variable", - "name": "f" - }, - { - "kind": "variable", - "name": "h" - }, - { - "kind": "variable", - "name": "p" - }, - { - "kind": "variable", - "name": "m" - }, - { - "kind": "variable", - "name": "g" - }, - { - "kind": "variable", - "name": "v" - }, - { - "kind": "variable", - "name": "C" - }, - { - "kind": "variable", - "name": "b" - }, - { - "kind": "variable", - "name": "y" - }, - { - "kind": "variable", - "name": "E" - }, - { - "kind": "function", - "name": "x", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "D", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "variable", - "name": "S", - "default": "d" - }, - { - "kind": "variable", - "name": "k", - "default": "f" - }, - { - "kind": "variable", - "name": "_", - "default": "s" - }, - { - "kind": "variable", - "name": "A", - "default": "l" - }, - { - "kind": "variable", - "name": "$", - "default": "r" - }, - { - "kind": "variable", - "name": "I", - "default": "h" - }, - { - "kind": "variable", - "name": "O", - "default": "a" - }, - { - "kind": "variable", - "name": "z", - "default": "v" - }, - { - "kind": "variable", - "name": "j", - "default": "g" - }, - { - "kind": "variable", - "name": "M", - "default": "n" - }, - { - "kind": "variable", - "name": "H", - "default": "i" - }, - { - "kind": "variable", - "name": "W", - "default": "o" - }, - { - "kind": "variable", - "name": "B", - "default": "p" - }, - { - "kind": "variable", - "name": "L", - "type": { - "text": "boolean" - }, - "default": "!1" - }, - { - "kind": "function", - "name": "N", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "G", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "J", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "ae", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "U", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "X", - "parameters": [ - { - "name": "q" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "o" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "variable", - "name": "a9", - "type": { - "text": "string" - }, - "default": "\"@keyframes\"" - }, - { - "kind": "variable", - "name": "a1" - }, - { - "kind": "function", - "name": "e", - "parameters": [ - { - "name": "r" - } - ] - }, - { - "kind": "function", - "name": "as", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "variable", - "name": "F" - }, - { - "kind": "function", - "name": "n" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "r" - } - ] - }, - { - "kind": "function", - "name": "a0", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "variable", - "name": "K", - "type": { - "text": "object" - }, - "default": "{primary:\"#FF4785\",secondary:\"#029CFD\",tertiary:\"#FAFBFC\",ancillary:\"#22a699\",orange:\"#FC521F\",gold:\"#FFAE00\",green:\"#66BF3C\",seafoam:\"#37D5D3\",purple:\"#6F2CAC\",ultraviolet:\"#2A0481\",lightest:\"#FFFFFF\",lighter:\"#F7FAFC\",light:\"#EEF3F6\",mediumlight:\"#ECF4F9\",medium:\"#D9E8F2\",mediumdark:\"#73828C\",dark:\"#5C6870\",darker:\"#454E54\",darkest:\"#2E3438\",border:\"hsla(203, 50%, 30%, 0.15)\",positive:\"#66BF3C\",negative:\"#FF4400\",warning:\"#E69D00\",critical:\"#FFFFFF\",defaultText:\"#2E3438\",inverseText:\"#FFFFFF\",positiveText:\"#448028\",negativeText:\"#D43900\",warningText:\"#A15C20\"}" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "B" - }, - { - "name": "L" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "B" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "B" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "B" - }, - { - "name": "L" - } - ] - }, - { - "kind": "function", - "name": "E", - "parameters": [ - { - "name": "B" - } - ] - }, - { - "kind": "function", - "name": "x", - "parameters": [ - { - "name": "B" - } - ] - }, - { - "kind": "function", - "name": "D", - "parameters": [ - { - "name": "B" - }, - { - "name": "L" - } - ] - }, - { - "kind": "function", - "name": "I" - }, - { - "kind": "function", - "name": "O" - }, - { - "kind": "function", - "name": "H", - "parameters": [ - { - "name": "B" - } - ] - }, - { - "kind": "function", - "name": "W", - "parameters": [ - { - "name": "B" - }, - { - "name": "L" - } - ] - }, - { - "kind": "function", - "name": "P", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "av", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "variable", - "name": "ag", - "type": { - "text": "null" - }, - "default": "null" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "a" - } - ] - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "r" - }, - { - "name": "n" - }, - { - "name": "a" - }, - { - "name": "o" - }, - { - "name": "i" - } - ] - }, - { - "kind": "variable", - "name": "ai", - "type": { - "text": "object" - }, - "default": "{animationend:hc(\"Animation\",\"AnimationEnd\"),animationiteration:hc(\"Animation\",\"AnimationIteration\"),animationstart:hc(\"Animation\",\"AnimationStart\"),transitionend:hc(\"Transition\",\"TransitionEnd\")}" - }, - { - "kind": "variable", - "name": "aw" - }, - { - "kind": "variable", - "name": "at" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "b" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "C", - "parameters": [ - { - "name": "b" - }, - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "variable", - "name": "ad" - }, - { - "kind": "function", - "name": "au", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "function", - "name": "af", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "variable", - "name": "V", - "type": { - "text": "null" - }, - "default": "null" - }, - { - "kind": "variable", - "name": "aa", - "type": { - "text": "null" - }, - "default": "null" - }, - { - "kind": "variable", - "name": "Iu" - }, - { - "kind": "function", - "name": "c", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "variable", - "name": "R" - }, - { - "kind": "variable", - "name": "Z" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "o" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "ak" - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "D" - }, - { - "name": "S" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "D" - }, - { - "name": "S" - } - ] - }, - { - "kind": "function", - "name": "C", - "parameters": [ - { - "name": "D" - }, - { - "name": "S" - } - ] - }, - { - "kind": "variable", - "name": "Jv" - }, - { - "kind": "function", - "name": "n" - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - }, - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "r" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "s" - }, - { - "name": "d" - }, - { - "name": "f" - }, - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "s" - }, - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - }, - { - "name": "a" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "s" - }, - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "g" - }, - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - }, - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "i" - }, - { - "name": "l" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "x", - "parameters": [ - { - "name": "S" - }, - { - "name": "k" - } - ] - }, - { - "kind": "function", - "name": "D", - "parameters": [ - { - "name": "S" - }, - { - "name": "k" - }, - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "G", - "parameters": [ - { - "name": "U" - }, - { - "name": "X" - } - ] - }, - { - "kind": "function", - "name": "J", - "parameters": [ - { - "name": "U" - }, - { - "name": "X" - } - ] - }, - { - "kind": "variable", - "name": "q" - }, - { - "kind": "function", - "name": "ae", - "parameters": [ - { - "name": "U" - } - ] - }, - { - "kind": "function", - "name": "I", - "parameters": [ - { - "name": "z" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - }, - { - "name": "S" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - }, - { - "name": "S" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - }, - { - "name": "S" - }, - { - "name": "k" - }, - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "p" - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "E" - }, - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "b" - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "p" - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "_" - }, - { - "name": "A" - } - ] - }, - { - "kind": "function", - "name": "C", - "parameters": [ - { - "name": "_" - }, - { - "name": "A" - } - ] - }, - { - "kind": "function", - "name": "b", - "parameters": [ - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "y" - }, - { - "kind": "function", - "name": "E", - "parameters": [ - { - "name": "_" - }, - { - "name": "A" - }, - { - "name": "$" - } - ] - }, - { - "kind": "function", - "name": "x", - "parameters": [ - { - "name": "_" - }, - { - "name": "A" - } - ] - }, - { - "kind": "function", - "name": "D", - "parameters": [ - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "S", - "parameters": [ - { - "name": "_" - } - ] - }, - { - "kind": "function", - "name": "k" - }, - { - "kind": "function", - "name": "$" - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "y" - }, - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "y" - }, - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "y" - }, - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "p" - }, - { - "name": "m" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "variable", - "name": "aj" - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - }, - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "a7", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - }, - { - "name": "r" - }, - { - "name": "n", - "default": "\"ltr\"" - } - ] - }, - { - "kind": "variable", - "name": "ar" - }, - { - "kind": "variable", - "name": "yd" - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "p" - }, - { - "name": "m" - } - ] - }, - { - "kind": "function", - "name": "_", - "parameters": [ - { - "name": "A" - } - ] - }, - { - "kind": "function", - "name": "Ng" - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "o" - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "m" - } - ] - }, - { - "kind": "function", - "name": "h" - }, - { - "kind": "function", - "name": "p" - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "ab", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "variable", - "name": "a6" - }, - { - "kind": "variable", - "name": "ah" - }, - { - "kind": "variable", - "name": "Q" - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - }, - { - "name": "i" - }, - { - "name": "l" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a2", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "f" - }, - { - "kind": "function", - "name": "h" - }, - { - "kind": "function", - "name": "p" - }, - { - "kind": "function", - "name": "m" - }, - { - "kind": "function", - "name": "a8", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "g" - }, - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "m" - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "l" - }, - { - "name": "s" - } - ] - }, - { - "kind": "variable", - "name": "am" - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - }, - { - "name": "b" - } - ] - }, - { - "kind": "function", - "name": "m", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - }, - { - "name": "b", - "default": "{}" - } - ] - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y", - "default": "{}" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "E" - } - ] - }, - { - "kind": "function", - "name": "b" - }, - { - "kind": "variable", - "name": "ao" - }, - { - "kind": "function", - "name": "an", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "a4", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "function", - "name": "ap", - "parameters": [ - { - "name": "e" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "m" - }, - { - "kind": "function", - "name": "g" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "l" - }, - { - "name": "s" - } - ] - }, - { - "kind": "function", - "name": "M", - "parameters": [ - { - "name": "H" - } - ] - }, - { - "kind": "variable", - "name": "we" - }, - { - "kind": "function", - "name": "n" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "r" - } - ] - }, - { - "kind": "variable", - "name": "Sa" - }, - { - "kind": "variable", - "name": "De" - }, - { - "kind": "variable", - "name": "v4" - }, - { - "kind": "variable", - "name": "fH" - }, - { - "kind": "variable", - "name": "hH" - }, - { - "kind": "variable", - "name": "HT" - }, - { - "kind": "variable", - "name": "wH" - }, - { - "kind": "variable", - "name": "bH" - }, - { - "kind": "variable", - "name": "EH" - }, - { - "kind": "variable", - "name": "VT" - }, - { - "kind": "variable", - "name": "UT" - }, - { - "kind": "variable", - "name": "xH" - }, - { - "kind": "variable", - "name": "CH" - }, - { - "kind": "variable", - "name": "DH" - }, - { - "kind": "variable", - "name": "SH" - }, - { - "kind": "variable", - "name": "kH" - }, - { - "kind": "variable", - "name": "_H" - }, - { - "kind": "variable", - "name": "FH" - }, - { - "kind": "variable", - "name": "$H" - }, - { - "kind": "variable", - "name": "TH" - }, - { - "kind": "variable", - "name": "IH" - }, - { - "kind": "variable", - "name": "RH" - }, - { - "kind": "variable", - "name": "zH" - }, - { - "kind": "variable", - "name": "LH" - }, - { - "kind": "variable", - "name": "Bhe" - }, - { - "kind": "variable", - "name": "aq" - }, - { - "kind": "variable", - "name": "Ti" - }, - { - "kind": "variable", - "name": "Lhe" - }, - { - "kind": "variable", - "name": "y4" - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "o" - }, - { - "name": "i" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "a5" - }, - { - "kind": "variable", - "name": "$o" - }, - { - "kind": "variable", - "name": "io" - }, - { - "kind": "variable", - "name": "Mhe" - }, - { - "kind": "variable", - "name": "Phe" - }, - { - "kind": "variable", - "name": "Nhe" - }, - { - "kind": "variable", - "name": "bK", - "type": { - "text": "object" - }, - "default": "{Element:hR,IFrame:wK}" - }, - { - "kind": "variable", - "name": "AK" - }, - { - "kind": "variable", - "name": "Xu" - }, - { - "kind": "variable", - "name": "Hhe" - }, - { - "kind": "variable", - "name": "eY" - }, - { - "kind": "variable", - "name": "Vhe" - }, - { - "kind": "variable", - "name": "Uhe" - }, - { - "kind": "variable", - "name": "gY", - "default": "mY" - }, - { - "kind": "variable", - "name": "wY" - }, - { - "kind": "variable", - "name": "yR" - }, - { - "kind": "variable", - "name": "A4" - }, - { - "kind": "variable", - "name": "fp" - }, - { - "kind": "variable", - "name": "Whe" - }, - { - "kind": "variable", - "name": "ER" - }, - { - "kind": "variable", - "name": "DR" - }, - { - "kind": "variable", - "name": "qhe" - }, - { - "kind": "variable", - "name": "SR" - }, - { - "kind": "variable", - "name": "LY", - "default": "u5" - }, - { - "kind": "variable", - "name": "kR" - }, - { - "kind": "variable", - "name": "Khe" - }, - { - "kind": "variable", - "name": "Yhe" - }, - { - "kind": "variable", - "name": "Zhe" - }, - { - "kind": "variable", - "name": "Xhe" - }, - { - "kind": "variable", - "name": "c5", - "type": { - "text": "object" - }, - "default": "{user:\"UserIcon\",useralt:\"UserAltIcon\",useradd:\"UserAddIcon\",users:\"UsersIcon\",profile:\"ProfileIcon\",facehappy:\"FaceHappyIcon\",faceneutral:\"FaceNeutralIcon\",facesad:\"FaceSadIcon\",accessibility:\"AccessibilityIcon\",accessibilityalt:\"AccessibilityAltIcon\",arrowup:\"ChevronUpIcon\",arrowdown:\"ChevronDownIcon\",arrowleft:\"ChevronLeftIcon\",arrowright:\"ChevronRightIcon\",arrowupalt:\"ArrowUpIcon\",arrowdownalt:\"ArrowDownIcon\",arrowleftalt:\"ArrowLeftIcon\",arrowrightalt:\"ArrowRightIcon\",expandalt:\"ExpandAltIcon\",collapse:\"CollapseIcon\",expand:\"ExpandIcon\",unfold:\"UnfoldIcon\",transfer:\"TransferIcon\",redirect:\"RedirectIcon\",undo:\"UndoIcon\",reply:\"ReplyIcon\",sync:\"SyncIcon\",upload:\"UploadIcon\",download:\"DownloadIcon\",back:\"BackIcon\",proceed:\"ProceedIcon\",refresh:\"RefreshIcon\",globe:\"GlobeIcon\",compass:\"CompassIcon\",location:\"LocationIcon\",pin:\"PinIcon\",time:\"TimeIcon\",dashboard:\"DashboardIcon\",timer:\"TimerIcon\",home:\"HomeIcon\",admin:\"AdminIcon\",info:\"InfoIcon\",question:\"QuestionIcon\",support:\"SupportIcon\",alert:\"AlertIcon\",email:\"EmailIcon\",phone:\"PhoneIcon\",link:\"LinkIcon\",unlink:\"LinkBrokenIcon\",bell:\"BellIcon\",rss:\"RSSIcon\",sharealt:\"ShareAltIcon\",share:\"ShareIcon\",circle:\"CircleIcon\",circlehollow:\"CircleHollowIcon\",bookmarkhollow:\"BookmarkHollowIcon\",bookmark:\"BookmarkIcon\",hearthollow:\"HeartHollowIcon\",heart:\"HeartIcon\",starhollow:\"StarHollowIcon\",star:\"StarIcon\",certificate:\"CertificateIcon\",verified:\"VerifiedIcon\",thumbsup:\"ThumbsUpIcon\",shield:\"ShieldIcon\",basket:\"BasketIcon\",beaker:\"BeakerIcon\",hourglass:\"HourglassIcon\",flag:\"FlagIcon\",cloudhollow:\"CloudHollowIcon\",edit:\"EditIcon\",cog:\"CogIcon\",nut:\"NutIcon\",wrench:\"WrenchIcon\",ellipsis:\"EllipsisIcon\",check:\"CheckIcon\",form:\"FormIcon\",batchdeny:\"BatchDenyIcon\",batchaccept:\"BatchAcceptIcon\",controls:\"ControlsIcon\",plus:\"PlusIcon\",closeAlt:\"CloseAltIcon\",cross:\"CrossIcon\",trash:\"TrashIcon\",pinalt:\"PinAltIcon\",unpin:\"UnpinIcon\",add:\"AddIcon\",subtract:\"SubtractIcon\",close:\"CloseIcon\",delete:\"DeleteIcon\",passed:\"PassedIcon\",changed:\"ChangedIcon\",failed:\"FailedIcon\",clear:\"ClearIcon\",comment:\"CommentIcon\",commentadd:\"CommentAddIcon\",requestchange:\"RequestChangeIcon\",comments:\"CommentsIcon\",lock:\"LockIcon\",unlock:\"UnlockIcon\",key:\"KeyIcon\",outbox:\"OutboxIcon\",credit:\"CreditIcon\",button:\"ButtonIcon\",type:\"TypeIcon\",pointerdefault:\"PointerDefaultIcon\",pointerhand:\"PointerHandIcon\",browser:\"BrowserIcon\",tablet:\"TabletIcon\",mobile:\"MobileIcon\",watch:\"WatchIcon\",sidebar:\"SidebarIcon\",sidebaralt:\"SidebarAltIcon\",sidebaralttoggle:\"SidebarAltToggleIcon\",sidebartoggle:\"SidebarToggleIcon\",bottombar:\"BottomBarIcon\",bottombartoggle:\"BottomBarToggleIcon\",cpu:\"CPUIcon\",database:\"DatabaseIcon\",memory:\"MemoryIcon\",structure:\"StructureIcon\",box:\"BoxIcon\",power:\"PowerIcon\",photo:\"PhotoIcon\",component:\"ComponentIcon\",grid:\"GridIcon\",outline:\"OutlineIcon\",photodrag:\"PhotoDragIcon\",search:\"SearchIcon\",zoom:\"ZoomIcon\",zoomout:\"ZoomOutIcon\",zoomreset:\"ZoomResetIcon\",eye:\"EyeIcon\",eyeclose:\"EyeCloseIcon\",lightning:\"LightningIcon\",lightningoff:\"LightningOffIcon\",contrast:\"ContrastIcon\",switchalt:\"SwitchAltIcon\",mirror:\"MirrorIcon\",grow:\"GrowIcon\",paintbrush:\"PaintBrushIcon\",ruler:\"RulerIcon\",stop:\"StopIcon\",camera:\"CameraIcon\",video:\"VideoIcon\",speaker:\"SpeakerIcon\",play:\"PlayIcon\",playback:\"PlayBackIcon\",playnext:\"PlayNextIcon\",rewind:\"RewindIcon\",fastforward:\"FastForwardIcon\",stopalt:\"StopAltIcon\",sidebyside:\"SideBySideIcon\",stacked:\"StackedIcon\",sun:\"SunIcon\",moon:\"MoonIcon\",book:\"BookIcon\",document:\"DocumentIcon\",copy:\"CopyIcon\",category:\"CategoryIcon\",folder:\"FolderIcon\",print:\"PrintIcon\",graphline:\"GraphLineIcon\",calendar:\"CalendarIcon\",graphbar:\"GraphBarIcon\",menu:\"MenuIcon\",menualt:\"MenuIcon\",filter:\"FilterIcon\",docchart:\"DocChartIcon\",doclist:\"DocListIcon\",markup:\"MarkupIcon\",bold:\"BoldIcon\",paperclip:\"PaperClipIcon\",listordered:\"ListOrderedIcon\",listunordered:\"ListUnorderedIcon\",paragraph:\"ParagraphIcon\",markdown:\"MarkdownIcon\",repository:\"RepoIcon\",commit:\"CommitIcon\",branch:\"BranchIcon\",pullrequest:\"PullRequestIcon\",merge:\"MergeIcon\",apple:\"AppleIcon\",linux:\"LinuxIcon\",ubuntu:\"UbuntuIcon\",windows:\"WindowsIcon\",storybook:\"StorybookIcon\",azuredevops:\"AzureDevOpsIcon\",bitbucket:\"BitbucketIcon\",chrome:\"ChromeIcon\",chromatic:\"ChromaticIcon\",componentdriven:\"ComponentDrivenIcon\",discord:\"DiscordIcon\",facebook:\"FacebookIcon\",figma:\"FigmaIcon\",gdrive:\"GDriveIcon\",github:\"GithubIcon\",gitlab:\"GitlabIcon\",google:\"GoogleIcon\",graphql:\"GraphqlIcon\",medium:\"MediumIcon\",redux:\"ReduxIcon\",twitter:\"TwitterIcon\",youtube:\"YoutubeIcon\",vscode:\"VSCodeIcon\"}" - }, - { - "kind": "variable", - "name": "Jhe" - }, - { - "kind": "variable", - "name": "Qhe" - }, - { - "kind": "variable", - "name": "ZY" - }, - { - "kind": "variable", - "name": "XY" - }, - { - "kind": "variable", - "name": "eme" - }, - { - "kind": "variable", - "name": "QY", - "default": "WT" - }, - { - "kind": "variable", - "name": "eZ", - "type": { - "text": "object" - }, - "default": "{}" - }, - { - "kind": "function", - "name": "a" - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "r" - } - ] - }, - { - "kind": "variable", - "name": "tme" - }, - { - "kind": "variable", - "name": "sn", - "default": "OX" - }, - { - "kind": "variable", - "name": "To", - "default": "QX" - }, - { - "kind": "variable", - "name": "j4", - "default": "Dne" - }, - { - "kind": "variable", - "name": "Y", - "type": { - "text": "object" - }, - "default": "{blockQuote:\"0\",breakLine:\"1\",breakThematic:\"2\",codeBlock:\"3\",codeFenced:\"4\",codeInline:\"5\",footnote:\"6\",footnoteReference:\"7\",gfmTask:\"8\",heading:\"9\",headingSetext:\"10\",htmlBlock:\"11\",htmlComment:\"12\",htmlSelfClosing:\"13\",image:\"14\",link:\"15\",linkAngleBraceStyleDetector:\"16\",linkBareUrlDetector:\"17\",linkMailtoDetector:\"18\",newlineCoalescer:\"19\",orderedList:\"20\",paragraph:\"21\",ref:\"22\",refImage:\"23\",refLink:\"24\",table:\"25\",tableSeparator:\"26\",text:\"27\",textBolded:\"28\",textEmphasized:\"29\",textEscaped:\"30\",textMarked:\"31\",textStrikethroughed:\"32\",unorderedList:\"33\"}" - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "p" - }, - { - "name": "m" - }, - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "p" - }, - { - "name": "m" - } - ] - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "e" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "o" - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - }, - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "a" - } - ] - }, - { - "kind": "variable", - "name": "al", - "default": "qce" - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "m" - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "x" - }, - { - "name": "D" - } - ] - }, - { - "kind": "function", - "name": "C", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "b", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "y", - "parameters": [ - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "E" - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "i", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "h" - }, - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "t", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "l" - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "p" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "h" - } - ] - }, - { - "kind": "function", - "name": "r", - "parameters": [ - { - "name": "n" - }, - { - "name": "a" - } - ] - }, - { - "kind": "function", - "name": "p", - "parameters": [ - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "m" - }, - { - "kind": "function", - "name": "g", - "parameters": [ - { - "name": "v" - }, - { - "name": "C" - }, - { - "name": "b" - }, - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "g" - }, - { - "kind": "function", - "name": "v", - "parameters": [ - { - "name": "y" - }, - { - "name": "E" - }, - { - "name": "x" - } - ] - }, - { - "kind": "function", - "name": "C", - "parameters": [ - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "b", - "parameters": [ - { - "name": "y" - } - ] - }, - { - "kind": "function", - "name": "_", - "parameters": [ - { - "name": "A" - } - ] - }, - { - "kind": "function", - "name": "h", - "parameters": [ - { - "name": "v" - } - ] - }, - { - "kind": "function", - "name": "f", - "parameters": [ - { - "name": "m" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "f" - } - ] - }, - { - "kind": "function", - "name": "k" - }, - { - "kind": "function", - "name": "d", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "g" - } - ] - }, - { - "kind": "variable", - "name": "ome" - }, - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "function", - "name": "ime", - "parameters": [ - { - "name": "{title:e,subtitle:t,colors:r}" - } - ] - }, - { - "kind": "variable", - "name": "lme" - }, - { - "kind": "function", - "name": "a", - "parameters": [ - { - "name": "o" - }, - { - "name": "i", - "default": "null" - }, - { - "name": "l", - "default": "!1" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "d" - } - ] - }, - { - "kind": "function", - "name": "o", - "parameters": [ - { - "name": "i" - } - ] - }, - { - "kind": "variable", - "name": "ehe" - }, - { - "kind": "function", - "name": "a3", - "parameters": [ - { - "name": "e" - }, - { - "name": "t" - } - ] - }, - { - "kind": "variable", - "name": "rhe" - }, - { - "kind": "variable", - "name": "ihe" - }, - { - "kind": "variable", - "name": "lhe" - }, - { - "kind": "function", - "name": "sme", - "parameters": [ - { - "name": "{context:e,docsParameter:t}" - } - ] - }, - { - "kind": "function", - "name": "ume", - "parameters": [ - { - "name": "{of:e}" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "$", - "declaration": { - "name": "Bhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "A", - "declaration": { - "name": "FH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "B", - "declaration": { - "name": "$o", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "C", - "declaration": { - "name": "DH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "D", - "declaration": { - "name": "xH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "E", - "declaration": { - "name": "SH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "F", - "declaration": { - "name": "Yhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "G", - "declaration": { - "name": "ZY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "H", - "declaration": { - "name": "Jhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "I", - "declaration": { - "name": "ER", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "J", - "declaration": { - "name": "y4", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "K", - "declaration": { - "name": "RH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "L", - "declaration": { - "name": "yR", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "M", - "declaration": { - "name": "DR", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "N", - "declaration": { - "name": "fp", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "O", - "declaration": { - "name": "Ti", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "P", - "declaration": { - "name": "Nhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "Q", - "declaration": { - "name": "qhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "R", - "declaration": { - "name": "_H", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "S", - "declaration": { - "name": "kH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "T", - "declaration": { - "name": "io", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "U", - "declaration": { - "name": "zH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "V", - "declaration": { - "name": "SR", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "W", - "declaration": { - "name": "LY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "X", - "declaration": { - "name": "A4", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "Y", - "declaration": { - "name": "wY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "Z", - "declaration": { - "name": "Vhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "_", - "declaration": { - "name": "Zhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a", - "declaration": { - "name": "CH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a0", - "declaration": { - "name": "Uhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a1", - "declaration": { - "name": "LH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a2", - "declaration": { - "name": "Hhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a3", - "declaration": { - "name": "eY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a4", - "declaration": { - "name": "bK", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a5", - "declaration": { - "name": "Sa", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a6", - "declaration": { - "name": "QY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a7", - "declaration": { - "name": "Ng", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a8", - "declaration": { - "name": "XY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "a9", - "declaration": { - "name": "c5", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "aa", - "declaration": { - "name": "Khe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ab", - "declaration": { - "name": "we", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ac", - "declaration": { - "name": "eZ", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ad", - "declaration": { - "name": "De", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ae", - "declaration": { - "name": "oe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "af", - "declaration": { - "name": "ume", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ag", - "declaration": { - "name": "lme", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ah", - "declaration": { - "name": "ime", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ai", - "declaration": { - "name": "ome", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "aj", - "declaration": { - "name": "w", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ak", - "declaration": { - "name": "lhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "al", - "declaration": { - "name": "Iu", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "am", - "declaration": { - "name": "u", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "an", - "declaration": { - "name": "ehe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ao", - "declaration": { - "name": "rhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ap", - "declaration": { - "name": "ihe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "aq", - "declaration": { - "name": "sme", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "ar", - "declaration": { - "name": "sn", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "as", - "declaration": { - "name": "To", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "at", - "declaration": { - "name": "j4", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "au", - "declaration": { - "name": "F", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "av", - "declaration": { - "name": "tme", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "aw", - "declaration": { - "name": "Cr", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "b", - "declaration": { - "name": "VT", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "c", - "declaration": { - "name": "Whe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "d", - "declaration": { - "name": "gY", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "e", - "declaration": { - "name": "eme", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "f", - "declaration": { - "name": "fH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "g", - "declaration": { - "name": "wH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "h", - "declaration": { - "name": "hH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "i", - "declaration": { - "name": "Mhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "j", - "declaration": { - "name": "$H", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "k", - "declaration": { - "name": "TH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "l", - "declaration": { - "name": "v4", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "m", - "declaration": { - "name": "HT", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "n", - "declaration": { - "name": "Jv", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "o", - "declaration": { - "name": "yd", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "p", - "declaration": { - "name": "kR", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "q", - "declaration": { - "name": "Phe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "r", - "declaration": { - "name": "IH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "s", - "declaration": { - "name": "Xhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "t", - "declaration": { - "name": "AK", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "u", - "declaration": { - "name": "Lhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "v", - "declaration": { - "name": "bH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "w", - "declaration": { - "name": "EH", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "x", - "declaration": { - "name": "Xu", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "y", - "declaration": { - "name": "UT", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - }, - { - "kind": "js", - "name": "z", - "declaration": { - "name": "Qhe", - "module": "storybook-static/assets/index-CEHpLOKL.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-Cef7vbu6.js", - "declarations": [ - { - "kind": "variable", - "name": "c" - }, - { - "kind": "function", - "name": "y", - "parameters": [ - { - "name": "o" - }, - { - "name": "t" - } - ] - }, - { - "kind": "function", - "name": "D", - "parameters": [ - { - "name": "o" - }, - { - "name": "t" - } - ] - }, - { - "kind": "variable", - "name": "Qo" - }, - { - "kind": "variable", - "name": "Zo", - "default": "`${Wo}/snippet-rendered`" - }, - { - "kind": "variable", - "name": "Ho" - } - ], - "exports": [ - { - "kind": "js", - "name": "D", - "declaration": { - "name": "Ho", - "module": "storybook-static/assets/index-Cef7vbu6.js" - } - }, - { - "kind": "js", - "name": "c", - "declaration": { - "name": "Qo", - "module": "storybook-static/assets/index-Cef7vbu6.js" - } - }, - { - "kind": "js", - "name": "y", - "declaration": { - "name": "Zo", - "module": "storybook-static/assets/index-Cef7vbu6.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-D-8MO0q_.js", - "declarations": [ - { - "kind": "variable", - "name": "P" - }, - { - "kind": "variable", - "name": "E" - }, - { - "kind": "variable", - "name": "I" - } - ], - "exports": [ - { - "kind": "js", - "name": "O", - "declaration": { - "name": "I", - "module": "storybook-static/assets/index-D-8MO0q_.js" - } - }, - { - "kind": "js", - "name": "P", - "declaration": { - "name": "E", - "module": "storybook-static/assets/index-D-8MO0q_.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-DbMrrvlq.js", - "declarations": [ - { - "kind": "function", - "name": "u", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "function", - "name": "s", - "parameters": [ - { - "name": "n" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "M", - "declaration": { - "name": "s", - "module": "storybook-static/assets/index-DbMrrvlq.js" - } - }, - { - "kind": "js", - "name": "u", - "declaration": { - "name": "u", - "module": "storybook-static/assets/index-DbMrrvlq.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-DrFu-skq.js", - "declarations": [ - { - "kind": "function", - "name": "l", - "parameters": [ - { - "name": "o" - } - ] - }, - { - "kind": "variable", - "name": "d", - "default": "new RegExp(` [ ]{`+Math.min.apply(Math,s)+\"}\",\"g\")" - } - ], - "exports": [ - { - "kind": "js", - "name": "d", - "declaration": { - "name": "l", - "module": "storybook-static/assets/index-DrFu-skq.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/index-DwlXWCcg.js", - "declarations": [], - "exports": [ - { - "kind": "js", - "name": "MDXProvider", - "declaration": { - "name": "a", - "module": "storybook-static/assets/index-DwlXWCcg.js" - } - }, - { - "kind": "js", - "name": "useMDXComponents", - "declaration": { - "name": "n", - "module": "storybook-static/assets/index-DwlXWCcg.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/link.stories-BOM4gVP0.js", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "l", - "members": [ - { - "kind": "method", - "name": "hasLinkChild" - }, - { - "kind": "method", - "name": "templateWithChildren" - }, - { - "kind": "method", - "name": "templateWithSlots" - } - ], - "superclass": { - "name": "$", - "module": "/storybook-static/assets/lit-element-BqPU_nbQ.js" - }, - "tagName": "usa-link", - "customElement": true - }, - { - "kind": "variable", - "name": "L", - "type": { - "text": "object" - }, - "default": "{title:\"Components/Link\",component:\"usa-link\",args:{href:\"http://designsystem.digital.gov\",label:\"It's dangerous to go alone. Here, take this.\"},render:({href:t,label:e})=>o`${e}`}" - }, - { - "kind": "variable", - "name": "s", - "type": { - "text": "object" - }, - "default": "{}" - }, - { - "kind": "variable", - "name": "a", - "type": { - "text": "object" - }, - "default": "{parameters:{a11y:{config:{rules:[{id:\"link-name\",reviewOnFail:!0}]}}},render:({href:t,label:e})=>o` ${e} `}" - }, - { - "kind": "variable", - "name": "n", - "type": { - "text": "object" - }, - "default": "{parameters:{backgrounds:{default:\"dark\"}}}" - }, - { - "kind": "variable", - "name": "x", - "type": { - "text": "array" - }, - "default": "[\"Default\",\"ChildLink\",\"Inverse\"]" - } - ], - "exports": [ - { - "kind": "custom-element-definition", - "name": "usa-link", - "declaration": { - "name": "l", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - }, - { - "kind": "js", - "name": "ChildLink", - "declaration": { - "name": "a", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - }, - { - "kind": "js", - "name": "Default", - "declaration": { - "name": "s", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - }, - { - "kind": "js", - "name": "Inverse", - "declaration": { - "name": "n", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - }, - { - "kind": "js", - "name": "__namedExportsOrder", - "declaration": { - "name": "x", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - }, - { - "kind": "js", - "name": "default", - "declaration": { - "name": "L", - "module": "storybook-static/assets/link.stories-BOM4gVP0.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/lit-element-BqPU_nbQ.js", - "declarations": [ - { - "kind": "function", - "name": "ot", - "parameters": [ - { - "name": "n" - } - ] - }, - { - "kind": "variable", - "name": "Pt" - }, - { - "kind": "variable", - "name": "i" - }, - { - "kind": "variable", - "name": "r" - }, - { - "kind": "variable", - "name": "D" - }, - { - "kind": "variable", - "name": "k", - "default": "`[ \\f\\r]`" - }, - { - "kind": "variable", - "name": "Q", - "default": "/\"/g" - }, - { - "kind": "variable", - "name": "Ct" - }, - { - "kind": "variable", - "name": "v" - }, - { - "kind": "variable", - "name": "d" - }, - { - "kind": "variable", - "name": "h", - "default": "n[l]" - }, - { - "kind": "class", - "description": "", - "name": "R", - "members": [ - { - "kind": "field", - "name": "tagName", - "readonly": true - }, - { - "kind": "field", - "name": "_$AU", - "readonly": true - }, - { - "kind": "method", - "name": "_$AI", - "parameters": [ - { - "name": "t" - }, - { - "name": "e", - "default": "this" - }, - { - "name": "s" - }, - { - "name": "i" - } - ] - }, - { - "kind": "method", - "name": "j", - "parameters": [ - { - "name": "t" - } - ] - }, - { - "kind": "field", - "name": "type", - "type": { - "text": "number" - }, - "default": "1" - }, - { - "kind": "field", - "name": "_$AH", - "default": "d" - }, - { - "kind": "field", - "name": "_$AN", - "default": "void 0" - }, - { - "kind": "field", - "name": "element", - "default": "t" - }, - { - "kind": "field", - "name": "name", - "default": "e" - }, - { - "kind": "field", - "name": "_$AM", - "default": "i" - }, - { - "kind": "field", - "name": "options", - "default": "o" - } - ], - "tagName": "usa-banner", - "customElement": true - }, - { - "kind": "function", - "name": "bt", - "parameters": [ - { - "name": "n" - }, - { - "name": "t" - }, - { - "name": "e" - } - ] - }, - { - "kind": "class", - "description": "", - "name": "H", - "members": [ - { - "kind": "field", - "name": "renderOptions", - "type": { - "text": "object" - }, - "default": "{host:this}" - }, - { - "kind": "field", - "name": "o", - "default": "void 0" - }, - { - "kind": "method", - "name": "addInitializer", - "static": true, - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "createProperty", - "static": true, - "parameters": [ - { - "name": "t" - }, - { - "name": "e", - "default": "K" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "getPropertyDescriptor", - "static": true, - "parameters": [ - { - "name": "t" - }, - { - "name": "e" - }, - { - "name": "s" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "getPropertyOptions", - "static": true, - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$Ei", - "static": true, - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "finalize", - "static": true, - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "finalizeStyles", - "static": true, - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$Eu", - "static": true, - "parameters": [ - { - "name": "t" - }, - { - "name": "e" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$Ev", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "addController", - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "removeController", - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$E_", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "enableUpdating", - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$EC", - "parameters": [ - { - "name": "t" - }, - { - "name": "e" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$AK", - "parameters": [ - { - "name": "t" - }, - { - "name": "e" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "P", - "parameters": [ - { - "name": "t" - }, - { - "name": "e" - }, - { - "name": "s" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$ET", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$AE", - "parameters": [ - { - "name": "t" - } - ], - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "_$EU", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "field", - "name": "updateComplete", - "readonly": true, - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "method", - "name": "getUpdateComplete", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "field", - "name": "_$Ep", - "default": "void 0", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "field", - "name": "isUpdatePending", - "type": { - "text": "boolean" - }, - "default": "!1", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "field", - "name": "hasUpdated", - "type": { - "text": "boolean" - }, - "default": "!1", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "field", - "name": "_$Em", - "type": { - "text": "null" - }, - "default": "null", - "inheritedFrom": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - } - ], - "superclass": { - "name": "y", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - } - ], - "exports": [ - { - "kind": "js", - "name": "D", - "declaration": { - "name": "d", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "Q", - "declaration": { - "name": "bt", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "R", - "declaration": { - "name": "v", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "h", - "declaration": { - "name": "H", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "i", - "declaration": { - "name": "Pt", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "k", - "declaration": { - "name": "Ct", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - }, - { - "kind": "js", - "name": "r", - "declaration": { - "name": "ot", - "module": "storybook-static/assets/lit-element-BqPU_nbQ.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview--El2DDUU.js", - "declarations": [ - { - "kind": "variable", - "name": "d", - "type": { - "text": "object" - }, - "default": "{docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import(\"./DocsRenderer-CFRXHY34-BArH1aTH.js\"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}}" - } - ], - "exports": [ - { - "kind": "js", - "name": "parameters", - "declaration": { - "name": "d", - "module": "storybook-static/assets/preview--El2DDUU.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-BWzBA1C2.js", - "declarations": [ - { - "kind": "variable", - "name": "h", - "type": { - "text": "array" - }, - "default": "[e]" - }, - { - "kind": "variable", - "name": "g", - "type": { - "text": "object" - }, - "default": "{[m]:!1}" - } - ], - "exports": [ - { - "kind": "js", - "name": "decorators", - "declaration": { - "name": "h", - "module": "storybook-static/assets/preview-BWzBA1C2.js" - } - }, - { - "kind": "js", - "name": "initialGlobals", - "declaration": { - "name": "g", - "module": "storybook-static/assets/preview-BWzBA1C2.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-BhhEZcNS.js", - "declarations": [ - { - "kind": "variable", - "name": "T", - "type": { - "text": "array" - }, - "default": "[R]" - } - ], - "exports": [ - { - "kind": "js", - "name": "decorators", - "declaration": { - "name": "T", - "module": "storybook-static/assets/preview-BhhEZcNS.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-D0t8ZgI1.js", - "declarations": [ - { - "kind": "variable", - "name": "Ke", - "type": { - "text": "object" - }, - "default": "{parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},docs:{toc:!0,theme:qe,canvas:{sourceState:\"shown\"}}},tags:[\"autodocs\"]}" - } - ], - "exports": [ - { - "kind": "js", - "name": "default", - "declaration": { - "name": "Ke", - "module": "storybook-static/assets/preview-D0t8ZgI1.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-D77C14du.js", - "declarations": [ - { - "kind": "variable", - "name": "V" - }, - { - "kind": "variable", - "name": "ee", - "type": { - "text": "object" - }, - "default": "{[g]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!(FEATURES!=null&&FEATURES.backgroundsStoryGlobals)&&{values:Object.values(C)}}}" - }, - { - "kind": "variable", - "name": "re" - } - ], - "exports": [ - { - "kind": "js", - "name": "decorators", - "declaration": { - "name": "V", - "module": "storybook-static/assets/preview-D77C14du.js" - } - }, - { - "kind": "js", - "name": "initialGlobals", - "declaration": { - "name": "re", - "module": "storybook-static/assets/preview-D77C14du.js" - } - }, - { - "kind": "js", - "name": "parameters", - "declaration": { - "name": "ee", - "module": "storybook-static/assets/preview-D77C14du.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-DEMzn_yN.js", - "declarations": [ - { - "kind": "variable", - "name": "ct", - "type": { - "text": "array" - }, - "default": "[gt]" - }, - { - "kind": "variable", - "name": "wt", - "type": { - "text": "object" - }, - "default": "{[j]:!1}" - } - ], - "exports": [ - { - "kind": "js", - "name": "decorators", - "declaration": { - "name": "ct", - "module": "storybook-static/assets/preview-DEMzn_yN.js" - } - }, - { - "kind": "js", - "name": "initialGlobals", - "declaration": { - "name": "wt", - "module": "storybook-static/assets/preview-DEMzn_yN.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-DFmD0pui.js", - "declarations": [ - { - "kind": "variable", - "name": "r" - } - ], - "exports": [ - { - "kind": "js", - "name": "initialGlobals", - "declaration": { - "name": "r", - "module": "storybook-static/assets/preview-DFmD0pui.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-DGUiP6tS.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-DdIOoAWn.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/preview-aVwhiz9X.js", - "declarations": [ - { - "kind": "variable", - "name": "Y", - "type": { - "text": "array" - }, - "default": "[M,B]" - }, - { - "kind": "variable", - "name": "N", - "type": { - "text": "array" - }, - "default": "[P]" - } - ], - "exports": [ - { - "kind": "js", - "name": "argsEnhancers", - "declaration": { - "name": "Y", - "module": "storybook-static/assets/preview-aVwhiz9X.js" - } - }, - { - "kind": "js", - "name": "loaders", - "declaration": { - "name": "N", - "module": "storybook-static/assets/preview-aVwhiz9X.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/readme-CfjcQ6Wk.js", - "declarations": [ - { - "kind": "function", - "name": "w", - "parameters": [ - { - "name": "t", - "default": "{}" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "default", - "declaration": { - "name": "w", - "module": "storybook-static/assets/readme-CfjcQ6Wk.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/tiny-invariant-CopsF_GD.js", - "declarations": [ - { - "kind": "function", - "name": "n", - "parameters": [ - { - "name": "r" - }, - { - "name": "i" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "i", - "declaration": { - "name": "n", - "module": "storybook-static/assets/tiny-invariant-CopsF_GD.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/assets/welcome-CyVmdwve.js", - "declarations": [ - { - "kind": "variable", - "name": "s", - "type": { - "text": "object" - }, - "default": "{type:{primary:\"Public Sans Web, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol\"},weight:{regular:\"400\",bold:\"700\",extrabold:\"800\",black:\"900\"},size:{xs1:13,xs2:14,xs3:15,sm:16,md:17,lg:22,xl1:32,xl2:40,xl3:48}}" - }, - { - "kind": "variable", - "name": "m", - "type": { - "text": "string" - }, - "default": "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\"" - }, - { - "kind": "function", - "name": "y", - "parameters": [ + }, + { + "kind": "field", + "name": "isOpen", + "type": { + "text": "boolean" + }, + "default": "!1" + }, + { + "kind": "field", + "name": "tld", + "type": { + "text": "string" + }, + "default": "\"gov\"" + }, { - "name": "r", - "default": "{}" + "kind": "field", + "name": "data", + "type": { + "text": "object" + }, + "default": "{ en: { banner: { label: \"Official website of the United States government\", text: \"An official website of the United States government\", action: \"Here's how you know\" }, domain: { heading: \"Official websites use\", text1: \"A\", text2: \"website belongs to an official government organization in the United States.\" }, https: { heading1: \"Secure\", heading2: \"websites use HTTPS\", text1: \"A lock\", text2: \"or https:// means you’ve safely connected to the\", text3: \"website. Share sensitive information only on official, secure websites.\" } }, es: { banner: { label: \"Un sitio oficial del Gobierno de Estados Unidos\", text: \"Un sitio oficial del Gobierno de Estados Unidos\", action: \"Así es como usted puede verificarlo\" }, domain: { heading: \"Los sitios web oficiales usan\", text1: \"Un sitio web\", text2: \"pertenece a una organización oficial del Gobierno de Estados Unidos.\" }, https: { heading1: \"Los sitios web seguros\", heading2: \"usan HTTPS\", text1: \"Un candado\", text2: \"o https:// significa que usted se conectó de forma segura a un sitio web\", text3: \"Comparta información sensible sólo en sitios web oficiales y seguros.\" } } }" } - ] + ], + "superclass": { + "name": "re", + "package": "lit" + }, + "tagName": "usa-banner", + "customElement": true } ], "exports": [ { - "kind": "js", - "name": "SampleText", - "declaration": { - "name": "m", - "module": "storybook-static/assets/welcome-CyVmdwve.js" - } - }, - { - "kind": "js", - "name": "default", + "kind": "custom-element-definition", + "name": "usa-banner", "declaration": { - "name": "y", - "module": "storybook-static/assets/welcome-CyVmdwve.js" + "name": "I", + "module": "dist/components/usa-banner.js" } }, { "kind": "js", - "name": "typography", - "declaration": { - "name": "s", - "module": "storybook-static/assets/welcome-CyVmdwve.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-manager/globals-module-info.js", - "declarations": [ - { - "kind": "variable", - "name": "S" - } - ], - "exports": [ - { - "kind": "js", - "name": "globalsModuleInfoMap", + "name": "UsaBanner", "declaration": { - "name": "S", - "module": "storybook-static/sb-manager/globals-module-info.js" + "name": "I", + "module": "dist/components/usa-banner.js" } } ] }, { "kind": "javascript-module", - "path": "storybook-static/sb-manager/globals-runtime.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-manager/globals.js", + "path": "dist/components/usa-link.js", "declarations": [ { - "kind": "variable", - "name": "_", - "type": { - "text": "object" + "kind": "class", + "description": "", + "name": "i", + "members": [ + { + "kind": "method", + "name": "hasLinkChild" + }, + { + "kind": "method", + "name": "templateWithChildren" + }, + { + "kind": "method", + "name": "templateWithSlots" + } + ], + "superclass": { + "name": "n", + "package": "lit" }, - "default": "{ react: \"__REACT__\", \"react-dom\": \"__REACT_DOM__\", \"react-dom/client\": \"__REACT_DOM_CLIENT__\", \"@storybook/icons\": \"__STORYBOOK_ICONS__\", \"storybook/internal/manager-api\": \"__STORYBOOK_API__\", \"@storybook/manager-api\": \"__STORYBOOK_API__\", \"@storybook/core/manager-api\": \"__STORYBOOK_API__\", \"storybook/internal/components\": \"__STORYBOOK_COMPONENTS__\", \"@storybook/components\": \"__STORYBOOK_COMPONENTS__\", \"@storybook/core/components\": \"__STORYBOOK_COMPONENTS__\", \"storybook/internal/channels\": \"__STORYBOOK_CHANNELS__\", \"@storybook/channels\": \"__STORYBOOK_CHANNELS__\", \"@storybook/core/channels\": \"__STORYBOOK_CHANNELS__\", \"storybook/internal/core-errors\": \"__STORYBOOK_CORE_EVENTS__\", \"@storybook/core-events\": \"__STORYBOOK_CORE_EVENTS__\", \"@storybook/core/core-events\": \"__STORYBOOK_CORE_EVENTS__\", \"storybook/internal/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"@storybook/core-events/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"@storybook/core/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"storybook/internal/router\": \"__STORYBOOK_ROUTER__\", \"@storybook/router\": \"__STORYBOOK_ROUTER__\", \"@storybook/core/router\": \"__STORYBOOK_ROUTER__\", \"storybook/internal/theming\": \"__STORYBOOK_THEMING__\", \"@storybook/theming\": \"__STORYBOOK_THEMING__\", \"@storybook/core/theming\": \"__STORYBOOK_THEMING__\", \"storybook/internal/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"@storybook/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"@storybook/core/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"storybook/internal/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"@storybook/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"@storybook/core/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"storybook/internal/types\": \"__STORYBOOK_TYPES__\", \"@storybook/types\": \"__STORYBOOK_TYPES__\", \"@storybook/core/types\": \"__STORYBOOK_TYPES__\" }" - }, - { - "kind": "variable", - "name": "o" + "tagName": "usa-link", + "customElement": true } ], "exports": [ { - "kind": "js", - "name": "globalPackages", + "kind": "custom-element-definition", + "name": "usa-link", "declaration": { - "name": "o", - "module": "storybook-static/sb-manager/globals.js" + "name": "i", + "module": "dist/components/usa-link.js" } }, { "kind": "js", - "name": "globalsNameReferenceMap", + "name": "UsaLink", "declaration": { - "name": "_", - "module": "storybook-static/sb-manager/globals.js" + "name": "i", + "module": "dist/components/usa-link.js" } } ] }, { "kind": "javascript-module", - "path": "storybook-static/sb-manager/runtime.js", + "path": "src/components/index.js", "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-preview/globals.js", - "declarations": [ - { - "kind": "variable", - "name": "_", - "type": { - "text": "object" - }, - "default": "{ \"@storybook/global\": \"__STORYBOOK_MODULE_GLOBAL__\", \"storybook/internal/channels\": \"__STORYBOOK_MODULE_CHANNELS__\", \"@storybook/channels\": \"__STORYBOOK_MODULE_CHANNELS__\", \"@storybook/core/channels\": \"__STORYBOOK_MODULE_CHANNELS__\", \"storybook/internal/client-logger\": \"__STORYBOOK_MODULE_CLIENT_LOGGER__\", \"@storybook/client-logger\": \"__STORYBOOK_MODULE_CLIENT_LOGGER__\", \"@storybook/core/client-logger\": \"__STORYBOOK_MODULE_CLIENT_LOGGER__\", \"storybook/internal/core-events\": \"__STORYBOOK_MODULE_CORE_EVENTS__\", \"@storybook/core-events\": \"__STORYBOOK_MODULE_CORE_EVENTS__\", \"@storybook/core/core-events\": \"__STORYBOOK_MODULE_CORE_EVENTS__\", \"storybook/internal/preview-errors\": \"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__\", \"@storybook/core-events/preview-errors\": \"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__\", \"@storybook/core/preview-errors\": \"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__\", \"storybook/internal/preview-api\": \"__STORYBOOK_MODULE_PREVIEW_API__\", \"@storybook/preview-api\": \"__STORYBOOK_MODULE_PREVIEW_API__\", \"@storybook/core/preview-api\": \"__STORYBOOK_MODULE_PREVIEW_API__\", \"storybook/internal/types\": \"__STORYBOOK_MODULE_TYPES__\", \"@storybook/types\": \"__STORYBOOK_MODULE_TYPES__\", \"@storybook/core/types\": \"__STORYBOOK_MODULE_TYPES__\" }" - }, - { - "kind": "variable", - "name": "O" - } - ], "exports": [ { "kind": "js", - "name": "globalPackages", + "name": "UsaLink", "declaration": { - "name": "O", - "module": "storybook-static/sb-preview/globals.js" + "name": "UsaLink", + "module": "src/components/index.js" } }, { "kind": "js", - "name": "globalsNameReferenceMap", + "name": "UsaBanner", "declaration": { - "name": "_", - "module": "storybook-static/sb-preview/globals.js" + "name": "UsaBanner", + "module": "src/components/index.js" } } ] }, { "kind": "javascript-module", - "path": "storybook-static/sb-preview/runtime.js", + "path": "src/components/usa-banner/banner.spec.js", "declarations": [], "exports": [] }, @@ -6868,21 +226,13 @@ }, "default": "{}" }, - { - "kind": "variable", - "name": "CustomAriaLabel", - "type": { - "text": "object" - }, - "default": "{ args: { label: \"A custom aria label\", }, }" - }, { "kind": "variable", "name": "CustomContent", "type": { "text": "object" }, - "default": "{ args: { bannerText: \"Un site Web officiel du gouvernement américain\", bannerAction: \"Voici comment vous le savez\", domainHeading: \"Les sites Web officiels utilisent\", domainText: \"Un site Web .gov appartient à une organisation gouvernementale officielle aux États-Unis.\", httpsHeading: \"Les sites Web .gov sécurisés utilisent HTTPS\", httpsText: `Un verrou ou (lock) https:// signifie que vous êtes connecté(e) en toute sécurité au site Web .gov. Assurez-vous de ne partager des informations sensibles que sur des sites Web officiels et sécurisés.`, }, render: ({ bannerText, bannerAction, domainHeading, domainText, httpsHeading, httpsText, }) => html` ${bannerText} ${bannerAction} ${domainHeading} ${domainText} ${httpsHeading} ${httpsText} `, }" + "default": "{ argTypes: { tld: { table: { disable: true } }, lang: { table: { disable: true } }, }, args: { label: \"Un site Web officiel du gouvernement américain\", bannerText: \"Un site Web officiel du gouvernement américain\", bannerAction: \"Voici comment vous le savez\", domainHeading: \"Les sites Web officiels utilisent\", domainText: \"Un site Web .gov appartient à une organisation gouvernementale officielle aux États-Unis.\", httpsHeading: \"Les sites Web .gov sécurisés utilisent HTTPS\", httpsText: `Un verrou () ou https:// signifie que vous êtes connecté(e) en toute sécurité au site Web .gov. Assurez-vous de ne partager des informations sensibles que sur des sites Web officiels et sécurisés.`, tld: \"mil\", }, render: ({ label, bannerText, bannerAction, domainHeading, domainText, httpsHeading, httpsText, }) => html` ${bannerText} ${bannerAction} ${domainHeading} ${domainText} ${httpsHeading} ${unsafeHTML(httpsText)} `, }" }, { "kind": "variable", @@ -6933,14 +283,6 @@ "module": "src/components/usa-banner/banner.stories.js" } }, - { - "kind": "js", - "name": "CustomAriaLabel", - "declaration": { - "name": "CustomAriaLabel", - "module": "src/components/usa-banner/banner.stories.js" - } - }, { "kind": "js", "name": "CustomContent", @@ -6991,6 +333,50 @@ "kind": "class", "description": "", "name": "UsaBanner", + "cssProperties": [ + { + "description": "Sets banner background color.", + "name": "--theme-banner-background-color" + }, + { + "description": "Sets banner font family.", + "name": "--theme-banner-font-family" + }, + { + "description": "Sets the default link color.", + "name": "--theme-banner-link-color" + }, + { + "description": "Sets the default link color.", + "name": "--theme-banner-link-hover-color" + } + ], + "slots": [ + { + "description": "The text for official government website text.", + "name": "banner-text" + }, + { + "description": "Action text label \"Here's how you know.\"", + "name": "banner-action" + }, + { + "description": "Heading text for the domain section.", + "name": "domain-heading" + }, + { + "description": "Body text for domain section.", + "name": "domain-text" + }, + { + "description": "Heading for HTTPs section.", + "name": "https-heading" + }, + { + "description": "Body text for HTTPs section.", + "name": "https-text" + } + ], "members": [ { "kind": "method", @@ -7006,10 +392,6 @@ "name": "_actionText", "readonly": true }, - { - "kind": "method", - "name": "svgLock" - }, { "kind": "method", "name": "domainTemplate", @@ -7019,6 +401,10 @@ } ] }, + { + "kind": "method", + "name": "lockIcon" + }, { "kind": "method", "name": "httpsTemplate", @@ -7036,7 +422,8 @@ "text": "string" }, "default": "\"en\"", - "attribute": "lang" + "attribute": "lang", + "reflects": true }, { "kind": "field", @@ -7086,39 +473,42 @@ ], "attributes": [ { - "name": "lang", "type": { "text": "string" }, + "description": "The element's language.", + "name": "lang", "default": "\"en\"", "fieldName": "lang" }, { - "name": "isOpen", - "type": { - "text": "boolean" - }, - "default": "false", - "fieldName": "isOpen" - }, - { - "name": "classes", - "fieldName": "classes" - }, - { - "name": "label", "type": { "text": "string" }, + "description": "The custom aria label users can override.", + "name": "label", "fieldName": "label" }, { - "name": "tld", "type": { "text": "string" }, + "description": "The top level domain for the site.", + "name": "tld", "default": "\"gov\"", "fieldName": "tld" + }, + { + "name": "isOpen", + "type": { + "text": "boolean" + }, + "default": "false", + "fieldName": "isOpen" + }, + { + "name": "classes", + "fieldName": "classes" } ], "superclass": { @@ -7126,6 +516,7 @@ "package": "lit" }, "tagName": "usa-banner", + "summary": "The usa-banner component.", "customElement": true } ], @@ -7158,7 +549,7 @@ "type": { "text": "array" }, - "default": "[ unsafeCSS(usaBannerStyle), css` * { box-sizing: border-box; } .usa-banner__inner { flex-wrap: nowrap; } .usa-accordion__button { cursor: pointer; } `, //* In USWDS close icon is set via max-width media query, flipped it here. css` .usa-banner__button::after, .usa-banner__header-action::after { background-image: url(${unsafeCSS(expandMore)}); mask-image: url(${unsafeCSS(expandMore)}); } .usa-banner__button[aria-expanded=\"true\"]::after { background-image: url(${unsafeCSS(close)}); mask-image: url(${unsafeCSS(close)}); } @media all and (min-width: 40em) { .usa-banner__button[aria-expanded=\"true\"]::after { background-image: url(${unsafeCSS(expandLess)}); mask-image: url(${unsafeCSS(expandLess)}); } } `, ]" + "default": "[ unsafeCSS(usaBannerStyle), css` :host { --theme-banner-background-color: var(--usa-base-lightest, #f0f0f0); --theme-banner-font-family: var(--usa-font-ui, system-ui, sans-serif); --theme-banner-link-color: var(--theme-link-color, #005ea2); --theme-banner-link-color-hover: var(--theme-link-hover-color, #1a4480); // Missing theme-banner-max-width because we can't pass custom property to media queries. } * { box-sizing: border-box; } .usa-banner { background-color: var(--theme-banner-background-color); font-family: var(--theme-banner-font-family); } .usa-banner__inner { flex-wrap: nowrap; } /* Allows banner action to inherit font variable. */ .usa-banner .usa-accordion { font-family: inherit; } .usa-banner__button { color: var(--theme-banner-link-color); cursor: pointer; font-family: inherit; } .usa-banner__button:hover { color: var(--theme-banner-link-hover-color); } /* In USWDS close icon is set via max-width media query, flipped it here. */ .usa-banner__button::after, .usa-banner__header-action::after { background-image: url(\"${unsafeCSS(expandMore)}\"); mask-image: url(\"${unsafeCSS(expandMore)}\"); } .usa-banner__button[aria-expanded=\"true\"]::after { background-image: url(\"${unsafeCSS(close)}\"); mask-image: url(\"${unsafeCSS(close)}\"); } /** * HTTPS section lock icon. * * Rewrote styles to avoid reliance of SASS mixins & functions. * * Height and width taken from calculated output in USWDS 3 banner. */ .usa-banner__icon-lock { background-image: url(\"${unsafeCSS(lock)}\"); background-position: center; background-repeat: no-repeat; background-size: cover; display: inline-block; height: 1.5ex; mask-image: url(\"${unsafeCSS(lock)}\"); mask-position: center; mask-repeat: no-repeat; mask-size: cover; vertical-align: middle; width: 1.21875ex; } @media all and (min-width: 40em) { .usa-banner__button[aria-expanded=\"true\"]::after { background-image: url(\"${unsafeCSS(expandLess)}\"); mask-image: url(\"${unsafeCSS(expandLess)}\"); } } `, ]" } ], "exports": [ @@ -7344,78 +735,6 @@ "path": "src/components/usa-link/usa-link.spec.js", "declarations": [], "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-actions-3/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-controls-2/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/a11y-10/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-outline-8/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-measure-7/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/links-1/manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "storybook-static/sb-addons/storybook-11/manager-bundle.js", - "declarations": [], - "exports": [] } ] } diff --git a/eslint.config.js b/eslint.config.js index 2ea913e..3c0aec3 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,4 +1,15 @@ import js from "@eslint/js"; import eslintConfigPrettierRecommended from "eslint-config-prettier"; +import vitest from "vitest"; -export default [js.configs.recommended, eslintConfigPrettierRecommended]; +export default [ + js.configs.recommended, + eslintConfigPrettierRecommended, + { + files: ["**/*.spec.js"], + plugins: { vitest }, + rules: { + ...vitest.configs.recommended.rules, + }, + }, +]; diff --git a/package-lock.json b/package-lock.json index 00b7bf4..fc2070c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1707,26 +1707,6 @@ "@parcel/watcher-win32-x64": "2.5.0" } }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.0.tgz", - "integrity": "sha512-qlX4eS28bUcQCdribHkg/herLe+0A9RyYC+mm2PXpncit8z5b3nSqGVzMNR3CmtAOgRutiZ02eIJJgP/b1iEFQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/@parcel/watcher-darwin-arm64": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.0.tgz", @@ -1747,226 +1727,6 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.0.tgz", - "integrity": "sha512-9rhlwd78saKf18fT869/poydQK8YqlU26TMiNg7AIu7eBp9adqbJZqmdFOsbZ5cnLp5XvRo9wcFmNHgHdWaGYA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.0.tgz", - "integrity": "sha512-syvfhZzyM8kErg3VF0xpV8dixJ+RzbUaaGaeb7uDuz0D3FK97/mZ5AJQ3XNnDsXX7KkFNtyQyFrXZzQIcN49Tw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.0.tgz", - "integrity": "sha512-0VQY1K35DQET3dVYWpOaPFecqOT9dbuCfzjxoQyif1Wc574t3kOSkKevULddcR9znz1TcklCE7Ht6NIxjvTqLA==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.0.tgz", - "integrity": "sha512-6uHywSIzz8+vi2lAzFeltnYbdHsDm3iIB57d4g5oaB9vKwjb6N6dRIgZMujw4nm5r6v9/BQH0noq6DzHrqr2pA==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.0.tgz", - "integrity": "sha512-BfNjXwZKxBy4WibDb/LDCriWSKLz+jJRL3cM/DllnHH5QUyoiUNEp3GmL80ZqxeumoADfCCP19+qiYiC8gUBjA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.0.tgz", - "integrity": "sha512-S1qARKOphxfiBEkwLUbHjCY9BWPdWnW9j7f7Hb2jPplu8UZ3nes7zpPOW9bkLbHRvWM0WDTsjdOTUgW0xLBN1Q==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-glibc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.0.tgz", - "integrity": "sha512-d9AOkusyXARkFD66S6zlGXyzx5RvY+chTP9Jp0ypSTC9d4lzyRs9ovGf/80VCxjKddcUvnsGwCHWuF2EoPgWjw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-x64-musl": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.0.tgz", - "integrity": "sha512-iqOC+GoTDoFyk/VYSFHwjHhYrk8bljW6zOhPuhi5t9ulqiYq1togGJB5e3PwYVFFfeVgc6pbz3JdQyDoBszVaA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.0.tgz", - "integrity": "sha512-twtft1d+JRNkM5YbmexfcH/N4znDtjgysFaV9zvZmmJezQsKpkfLYJ+JFV3uygugK6AtIM2oADPkB2AdhBrNig==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.0.tgz", - "integrity": "sha512-+rgpsNRKwo8A53elqbbHXdOMtY/tAtTzManTWShB5Kk54N8Q9mzNWV7tV+IbGueCbcj826MfWGU3mprWtuf1TA==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.0.tgz", - "integrity": "sha512-lPrxve92zEHdgeff3aiu4gDOIt4u7sJYha6wbdEZDCDUhtjTsOMiaJzG5lMY4GkWH8p0fMmO2Ppq5G5XXG+DQw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "dev": true, diff --git a/package.json b/package.json index 2e541d0..8329213 100644 --- a/package.json +++ b/package.json @@ -17,18 +17,19 @@ "default": "./dist/components/index.js" }, "./components/*": "./dist/components/*.js", - "./src/components/*": "./src/components/*/index.js" + "./src/components/*": "./src/components/*/index.js", + "./core/*": "./src/core/*" }, "scripts": { - "build": "npm run clean && vite build && npm run manifest:build", - "clean": "node ./scripts/rmrf.js dist", + "build": "vite build && npm run manifest:build", + "build:watch": "vite build --watch", + "dev": "vite", - "prepare": "npm run build", "prettier:js": "npx prettier --check './src/components/**/*.js'", "prettier:js:fix": "npx prettier --write './src/components/**/*.js'", "prettier:md": "npx prettier --check '**/*.{md,mdx}'", "prettier:md:fix": "npx prettier --write '**/*.{md,mdx}'", - "start": "npm run storybook && npm run manifest:watch", + "start": "npm run storybook & npm run manifest:watch", "storybook:build": "storybook build", "storybook": "storybook dev -p 8008", "manifest:build": "npx cem analyze --litelement", diff --git a/src/components/usa-banner/banner.spec.js b/src/components/usa-banner/banner.spec.js new file mode 100644 index 0000000..ad91c11 --- /dev/null +++ b/src/components/usa-banner/banner.spec.js @@ -0,0 +1,65 @@ +import { beforeEach, describe, expect, it } from "vitest"; + +import "./index.js"; + +function getInsideBanner() { + return document.body.querySelector("usa-banner")?.shadowRoot; +} + +function getBannerButton() { + return getInsideBanner().querySelector(".usa-banner__button"); +} + +describe("USA Banner component", async () => { + beforeEach(async () => { + document.body.innerHTML = ""; + }); + + it("renders correctly", () => { + expect(getInsideBanner().textContent).toContain( + "An official website of the United States government", + ); + }); + + it("uses gov TLD by default", () => { + expect( + getInsideBanner().querySelector(".usa-banner__content").textContent, + ).toContain(".gov"); + }); + + it("initializes closed", () => { + expect(getBannerButton().ariaExpanded).toBe("false"); + }); + + it("expands on button click", async () => { + const bannerButton = getBannerButton(); + + await bannerButton.click(); + + expect(bannerButton.ariaExpanded).toBe("true"); + }); +}); + +describe("Spanish variant", async () => { + beforeEach(async () => { + document.body.innerHTML = ``; + }); + + it("renders correctly", () => { + expect(getInsideBanner().textContent).toContain( + "Un sitio oficial del Gobierno de Estados Unidos", + ); + }); +}); + +describe("MIL variant", async () => { + beforeEach(async () => { + document.body.innerHTML = ``; + }); + + it("renders correctly", () => { + expect( + getInsideBanner().querySelector(".usa-banner__content").textContent, + ).toContain(".mil"); + }); +}); diff --git a/src/components/usa-banner/banner.stories.js b/src/components/usa-banner/banner.stories.js index 06872bc..73b126d 100644 --- a/src/components/usa-banner/banner.stories.js +++ b/src/components/usa-banner/banner.stories.js @@ -4,44 +4,45 @@ import { html, nothing } from "lit"; import { userEvent, expect, waitFor } from "@storybook/test"; import { within } from "shadow-dom-testing-library"; +import { unsafeHTML } from "lit/directives/unsafe-html.js"; export default { title: "Components/Banner", component: "usa-banner", args: { label: "", - tld: "", - lang: "", + tld: "gov", + lang: "en", }, render: ({ lang, label, tld }) => html` `, }; export const Default = {}; -export const CustomAriaLabel = { - args: { - label: "A custom aria label", - }, -}; - export const CustomContent = { + argTypes: { + tld: { table: { disable: true } }, + lang: { table: { disable: true } }, + }, args: { + label: "Un site Web officiel du gouvernement américain", bannerText: "Un site Web officiel du gouvernement américain", bannerAction: "Voici comment vous le savez", domainHeading: "Les sites Web officiels utilisent", domainText: "Un site Web .gov appartient à une organisation gouvernementale officielle aux États-Unis.", httpsHeading: "Les sites Web .gov sécurisés utilisent HTTPS", - httpsText: `Un verrou ou (lock) https:// signifie que vous êtes connecté(e) en toute sécurité au site Web .gov. Assurez-vous de ne partager des informations sensibles que sur des sites Web officiels et sécurisés.`, + httpsText: `Un verrou () ou https:// signifie que vous êtes connecté(e) en toute sécurité au site Web .gov. Assurez-vous de ne partager des informations sensibles que sur des sites Web officiels et sécurisés.`, + tld: "mil", }, render: ({ + label, bannerText, bannerAction, domainHeading, @@ -49,13 +50,13 @@ export const CustomContent = { httpsHeading, httpsText, }) => html` - + ${bannerText} ${bannerAction} ${domainHeading} ${domainText} ${httpsHeading} - ${httpsText} + ${unsafeHTML(httpsText)} `, }; diff --git a/src/components/usa-banner/index.js b/src/components/usa-banner/index.js index 445ebdd..c9d2c6b 100644 --- a/src/components/usa-banner/index.js +++ b/src/components/usa-banner/index.js @@ -8,9 +8,33 @@ import usFlagSmall from "@uswds/uswds/img/us_flag_small.png"; import iconDotGov from "@uswds/uswds/img/icon-dot-gov.svg"; import iconHttps from "@uswds/uswds/img/icon-https.svg"; +/** + * @summary The usa-banner component. + * + * @attribute {string} lang - The element's language. + * @attribute {string} label - The custom aria label users can override. + * @attribute {string} tld - The top level domain for the site. + * + * @cssprop --theme-banner-background-color - Sets banner background color. + * @cssprop --theme-banner-font-family - Sets banner font family. + * @cssprop --theme-banner-link-color - Sets the default link color. + * @cssprop --theme-banner-link-hover-color - Sets the default link color. + * + * @slot banner-text - The text for official government website text. + * @slot banner-action - Action text label "Here's how you know." + * @slot domain-heading - Heading text for the domain section. + * @slot domain-text - Body text for domain section. + * @slot https-heading - Heading for HTTPs section. + * @slot https-text - Body text for HTTPs section. + * + * @tagname usa-banner + */ export class UsaBanner extends LitElement { static properties = { - lang: { type: String }, + lang: { + type: String, + reflect: true, + }, data: { attribute: false }, isOpen: { type: Boolean }, classes: {}, @@ -96,32 +120,6 @@ export class UsaBanner extends LitElement { return bannerActionText?.textContent; } - // TODO: Use inline image instead or translate strings. - svgLock() { - return html` - - - - - - - - `; - } - domainTemplate(tld) { const { domain } = this._bannerText; @@ -147,6 +145,17 @@ export class UsaBanner extends LitElement { `; } + lockIcon() { + return html` + + `; + } + httpsTemplate(tld) { const { https } = this._bannerText; @@ -166,7 +175,7 @@ export class UsaBanner extends LitElement {
- ${unsafeHTML(https.text1)} (${this.svgLock()}) + ${unsafeHTML(https.text1)} (${this.lockIcon()}) ${unsafeHTML(https.text2)} .${tld} ${https.text3}

diff --git a/src/components/usa-banner/usa-banner.scss.js b/src/components/usa-banner/usa-banner.scss.js index d1aec5e..67a6389 100644 --- a/src/components/usa-banner/usa-banner.scss.js +++ b/src/components/usa-banner/usa-banner.scss.js @@ -1,44 +1,90 @@ import usaBannerStyle from "@uswds/uswds/scss/usa-banner?inline"; + ("@uswds/uswds/scss/usa-banner"); import { unsafeCSS, css } from "lit"; import close from "@uswds/uswds/img/usa-icons/close.svg"; import expandMore from "@uswds/uswds/img/usa-icons/expand_more.svg"; import expandLess from "@uswds/uswds/img/usa-icons/expand_less.svg"; +import lock from "@uswds/uswds/img/usa-icons/lock.svg"; -// ! CSS won't work if comments added *inside* css``. export const bannerStyles = [ unsafeCSS(usaBannerStyle), css` + :host { + --theme-banner-background-color: var(--usa-base-lightest, #f0f0f0); + --theme-banner-font-family: var(--usa-font-ui, system-ui, sans-serif); + --theme-banner-link-color: var(--theme-link-color, #005ea2); + --theme-banner-link-color-hover: var(--theme-link-hover-color, #1a4480); + // Missing theme-banner-max-width because we can't pass custom property to media queries. + } + * { box-sizing: border-box; } + + .usa-banner { + background-color: var(--theme-banner-background-color); + font-family: var(--theme-banner-font-family); + } + .usa-banner__inner { flex-wrap: nowrap; } - .usa-accordion__button { + /* Allows banner action to inherit font variable. */ + .usa-banner .usa-accordion { + font-family: inherit; + } + + .usa-banner__button { + color: var(--theme-banner-link-color); cursor: pointer; + font-family: inherit; } - `, - //* In USWDS close icon is set via max-width media query, flipped it here. - css` + .usa-banner__button:hover { + color: var(--theme-banner-link-hover-color); + } + + /* In USWDS close icon is set via max-width media query, flipped it here. */ .usa-banner__button::after, .usa-banner__header-action::after { - background-image: url(${unsafeCSS(expandMore)}); - mask-image: url(${unsafeCSS(expandMore)}); + background-image: url("${unsafeCSS(expandMore)}"); + mask-image: url("${unsafeCSS(expandMore)}"); } .usa-banner__button[aria-expanded="true"]::after { - background-image: url(${unsafeCSS(close)}); - mask-image: url(${unsafeCSS(close)}); + background-image: url("${unsafeCSS(close)}"); + mask-image: url("${unsafeCSS(close)}"); + } + + /** + * HTTPS section lock icon. + * + * Rewrote styles to avoid reliance of SASS mixins & functions. + * + * Height and width taken from calculated output in USWDS 3 banner. + */ + .usa-banner__icon-lock { + background-image: url("${unsafeCSS(lock)}"); + background-position: center; + background-repeat: no-repeat; + background-size: cover; + display: inline-block; + height: 1.5ex; + mask-image: url("${unsafeCSS(lock)}"); + mask-position: center; + mask-repeat: no-repeat; + mask-size: cover; + vertical-align: middle; + width: 1.21875ex; } @media all and (min-width: 40em) { .usa-banner__button[aria-expanded="true"]::after { - background-image: url(${unsafeCSS(expandLess)}); - mask-image: url(${unsafeCSS(expandLess)}); + background-image: url("${unsafeCSS(expandLess)}"); + mask-image: url("${unsafeCSS(expandLess)}"); } } `, diff --git a/src/core/colors.css b/src/core/colors.css new file mode 100644 index 0000000..60cd837 --- /dev/null +++ b/src/core/colors.css @@ -0,0 +1,6 @@ +:root { + --usa-base-lightest: #f0f0f0; + + --theme-link-color: #005ea2; + --theme-link-hover-color: #1a4480; +} diff --git a/src/core/fonts.css b/src/core/fonts.css new file mode 100644 index 0000000..a21fa7b --- /dev/null +++ b/src/core/fonts.css @@ -0,0 +1,211 @@ +/* ========================================================================== + USWDS Fonts & theme settings + ========================================================================== */ + +/* + Theme settings + ========================================================================== */ +:root { + --font-stack-source-sans-pro: "Source Sans Pro Web", "Helvetica Neue", + "Helvetica", "Roboto", "Arial", sans-serif; + --font-stack-public-sans: "Public Sans Web", -apple-system, BlinkMacSystemFont, + "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol"; + + --usa-font-sans: var(--font-stack-source-sans-pro); + --usa-font-ui: var(--usa-font-sans); +} + +/* + Source Sans Pro Web + ========================================================================== */ +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 300; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2") + format("woff2"); +} + +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 400; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 700; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 300; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 400; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 700; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2") + format("woff2"); +} + +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 300; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-light-webfont.woff2") + format("woff2"); +} + +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 400; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-regular-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: normal; + font-weight: 700; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bold-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 300; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-lightitalic-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 400; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-italic-webfont.woff2") + format("woff2"); +} +@font-face { + font-family: "Source Sans Pro Web"; + font-style: italic; + font-weight: 700; + font-display: fallback; + src: url("@uswds/uswds/fonts/source-sans-pro/sourcesanspro-bolditalic-webfont.woff2") + format("woff2"); +} + +/* + Public Sans + ========================================================================== */ +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 300; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Light.woff2") + format("woff2"); +} + +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 400; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Regular.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 700; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Bold.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 300; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-LightItalic.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 400; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Italic.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 700; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2") + format("woff2"); +} + +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 300; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Light.woff2") + format("woff2"); +} + +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 400; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Regular.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: normal; + font-weight: 700; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Bold.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 300; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-LightItalic.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 400; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-Italic.woff2") + format("woff2"); +} +@font-face { + font-family: "Public Sans Web"; + font-style: italic; + font-weight: 700; + src: url("@uswds/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2") + format("woff2"); +} diff --git a/src/core/index.css b/src/core/index.css new file mode 100644 index 0000000..ce251fd --- /dev/null +++ b/src/core/index.css @@ -0,0 +1,2 @@ +@import "./colors.css" layer; +@import "./fonts.css" layer; diff --git a/storybook/index.css b/storybook/index.css index 38e5355..108dc8b 100644 --- a/storybook/index.css +++ b/storybook/index.css @@ -1,47 +1,3 @@ -@font-face { - font-family: "Public Sans Web"; - font-style: normal; - font-weight: 300; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-Light.woff2") - format("woff2"); -} - -@font-face { - font-family: "Public Sans Web"; - font-style: normal; - font-weight: 400; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-Regular.woff2") - format("woff2"); -} -@font-face { - font-family: "Public Sans Web"; - font-style: normal; - font-weight: 700; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-Bold.woff2") - format("woff2"); -} -@font-face { - font-family: "Public Sans Web"; - font-style: italic; - font-weight: 300; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-LightItalic.woff2") - format("woff2"); -} -@font-face { - font-family: "Public Sans Web"; - font-style: italic; - font-weight: 400; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-Italic.woff2") - format("woff2"); -} -@font-face { - font-family: "Public Sans Web"; - font-style: italic; - font-weight: 700; - src: url("@uswds/uswds/fonts/public-sans/PublicSans-BoldItalic.woff2") - format("woff2"); -} - :root { font-family: "Public Sans Web", @@ -68,14 +24,6 @@ -moz-osx-font-smoothing: grayscale; } -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - @media (prefers-color-scheme: light) { :root { color: #213547; diff --git a/storybook/welcome.mdx b/storybook/welcome.mdx index 6338c3e..c3f3676 100644 --- a/storybook/welcome.mdx +++ b/storybook/welcome.mdx @@ -29,64 +29,37 @@ npm run start # Colors +## System + + + +## Global + + + --- -# Typography - -export const typography = { - type: { - primary: - "Public Sans Web, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol", - }, - weight: { - regular: "400", - bold: "700", - extrabold: "800", - black: "900", - }, - size: { - xs1: 13, - xs2: 14, - xs3: 15, - sm: 16, - md: 17, - lg: 22, - xl1: 32, - xl2: 40, - xl3: 48, - }, -}; - -export const SampleText = - "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; - -**Font:** Public Sans Web - - +# Creating stories + +Stories should the following component features: + +- Variants +- Properties +- CSS Custom Properties