Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@leafygreen-ui/typography

Package Overview
Dependencies
Maintainers
6
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/typography - npm Package Compare versions

Comparing version 16.1.0 to 16.2.0

src/InlineCode/InlineCode.spec.tsx

16

CHANGELOG.md
# @leafygreen-ui/typography
## 16.2.0
### Minor Changes
- ece595acd: InlineCode component now supports "as" prop
- 9858ab8c5: Overwrites default text-decoration property on Link component
### Patch Changes
- Updated dependencies [3ef365fd3]
- Updated dependencies [c2c5601f4]
- @leafygreen-ui/polymorphic@1.3.0
- @leafygreen-ui/icon@11.12.7
- @leafygreen-ui/lib@10.3.1
- @leafygreen-ui/palette@4.0.1
## 16.1.0

@@ -4,0 +20,0 @@

2

dist/esm/index.js

@@ -1,2 +0,2 @@

import e,{useState as n,useEffect as t,useMemo as r}from"react";import{css as a,cx as o}from"@leafygreen-ui/emotion";import{useBaseFontSize as i,useDarkMode as l}from"@leafygreen-ui/leafygreen-provider";import{Polymorphic as s,usePolymorphic as d,InferredPolymorphic as c,useInferredPolymorphic as h,Polymorph as m}from"@leafygreen-ui/polymorphic";import{Theme as f,createUniqueClassName as g,getNodeTextContent as p}from"@leafygreen-ui/lib";import{palette as u}from"@leafygreen-ui/palette";import{fontFamilies as b,typeScales as y,BaseFontSize as v,focusRing as x}from"@leafygreen-ui/tokens";import k from"prop-types";import N from"@leafygreen-ui/icon/dist/ArrowRight";import w from"@leafygreen-ui/icon/dist/OpenNewTab";function z(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function F(){return F=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},F.apply(this,arguments)}function D(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function E(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function S(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var r,a,o=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw a}}return o}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return M(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return M(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var O,L,B,C,j,H,A,I,P,W,R,T,U,_,K,$,q,G,J,Q,V,X=a(O||(O=E(["\n margin: unset;\n font-family: ",";\n color: ",";\n"])),b.default,u.black),Y=(z(C={},v.Body1,a(L||(L=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(C,v.Body2,a(B||(B=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body2.fontSize,y.body2.lineHeight)),C),Z=(z(A={},v.Body1,a(j||(j=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.code1.fontSize,y.code1.lineHeight)),z(A,v.Body2,a(H||(H=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.code2.fontSize,y.code2.lineHeight)),A),ee=(z(W={},f.Light,a(I||(I=E(["\n color: ",";\n "])),u.black)),z(W,f.Dark,a(P||(P=E(["\n color: ",";\n "])),u.gray.light2)),W),ne=function(e){var n=i();return e?16===e?v.Body2:v.Body1:16===n?v.Body2:v.Body1},te=["baseFontSize","darkMode","className","weight","as"],re={default:{regular:400,medium:500},strong:{regular:700,medium:700}},ae=s((function(n){var t=n.baseFontSize,r=n.darkMode,i=n.className,s=n.weight,c=void 0===s?"regular":s,h=n.as,m=void 0===h?"p":h,f=D(n,te),g=l(r).theme,p=ne(t),u=d(m).Component,b=a(R||(R=E(["\n font-weight: ",";\n strong,\n b {\n font-weight: ",";\n }\n "])),re.default[c],re.strong[c]);return e.createElement(u,F({className:o(X,Y[p],ee[g],b,i)},f))}));ae.displayName="Body";var oe,ie,le,se,de=a(T||(T=E(["\n font-family: ",";\n font-weight: normal;\n margin-top: 0;\n margin-bottom: 0;\n"])),b.default),ce=(z(K={},f.Light,a(U||(U=E(["\n color: ",";\n "])),u.gray.dark1)),z(K,f.Dark,a(_||(_=E(["\n color: ",";\n "])),u.gray.light1)),K),he=(z(G={},f.Light,a($||($=E(["\n color: ",";\n "])),u.gray.dark1)),z(G,f.Dark,a(q||(q=E(["\n color: ",";\n "])),u.gray.base)),G),me=(z(V={},v.Body1,a(J||(J=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(V,v.Body2,a(Q||(Q=E(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),y.body2.fontSize)),V),fe=["baseFontSize","darkMode","disabled","children","className"],ge=function(n){var t=n.baseFontSize,r=n.darkMode,a=n.disabled,i=void 0!==a&&a,s=n.children,d=n.className,c=D(n,fe),h=l(r).theme,m=ne(t);return e.createElement("p",F({className:o(de,ce[h],me[m],z({},he[h],i),d)},c),s)};ge.displayName="Description";var pe,ue,be,ye,ve=(z(le={},f.Light,a(oe||(oe=E(["\n color: ",";\n "])),u.gray.dark1)),z(le,f.Dark,a(ie||(ie=E(["\n color: ",";\n "])),u.gray.light1)),le),xe=a(se||(se=E(["\n display: block;\n font-size: 11px;\n line-height: 16px;\n letter-spacing: 0.2px;\n"]))),ke=["darkMode","children","className"];function Ne(n){var t=n.darkMode,r=n.children,a=n.className,i=D(n,ke),s=l(t).theme;return e.createElement("small",F({},i,{className:o(X,xe,ve[s],a)}),r)}Ne.displayName="Disclaimer";var we,ze,Fe,De,Ee,Se,Me,Oe,Le=a(pe||(pe=E(["\n font-family: ",";\n font-weight: normal;\n font-size: inherit;\n line-height: inherit;\n\n // Unsets browser default margins\n margin-block-start: 0;\n margin-block-end: 0;\n"])),b.default),Be=(z(ye={},f.Light,a(ue||(ue=E(["\n color: ",";\n "])),u.red.base)),z(ye,f.Dark,a(be||(be=E(["\n color: ",";\n "])),u.red.light1)),ye),Ce=["as","darkMode","children","className"],je=s((function(n){var t=n.as,r=void 0===t?"p":t,a=n.darkMode,i=n.children,s=n.className,c=D(n,Ce),h=l(a).theme,m=d(r).Component;return e.createElement(m,F({},c,{className:o(Le,Be[h],s)}),i)})),He=a(we||(we=E(["\n font-weight: 400;\n font-size: 48px;\n line-height: 62px;\n font-family: ",";\n"])),b.serif),Ae=(z(De={},f.Light,a(ze||(ze=E(["\n color: ",";\n "])),u.green.dark2)),z(De,f.Dark,a(Fe||(Fe=E(["\n color: ",";\n "])),u.green.light1)),De),Ie=["darkMode","className","as"],Pe=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h1":a,s=D(n,Ie),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,He,Ae[c],r)},s))}));Pe.displayName="H1";var We,Re=a(Ee||(Ee=E(["\n font-size: 32px;\n line-height: 40px;\n font-weight: 400;\n font-family: ",";\n"])),b.serif),Te=(z(Oe={},f.Light,a(Se||(Se=E(["\n color: ",";\n "])),u.green.dark2)),z(Oe,f.Dark,a(Me||(Me=E(["\n color: ",";\n "])),u.green.light1)),Oe),Ue=["darkMode","className","as"],_e=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h2":a,s=D(n,Ue),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,Re,Te[c],r)},s))}));_e.displayName="H2";var Ke,$e,qe,Ge,Je,Qe,Ve,Xe,Ye,Ze,en,nn,tn,rn=a(We||(We=E(["\n font-size: 24px;\n line-height: 32px;\n font-weight: 500;\n"]))),an=["darkMode","className","as"],on=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h3":a,s=D(n,an),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,rn,ee[c],r)},s))}));on.displayName="H3";var ln,sn,dn,cn,hn=g(),mn=a(Ke||(Ke=E(["\n display: inline;\n transition: all 0.15s ease-in-out;\n border-radius: 3px;\n font-family: ",";\n line-height: 20px;\n\n .",":hover > & {\n text-decoration: none;\n }\n"])),b.code,hn),fn=(z(Ge={},f.Light,a($e||($e=E(["\n background-color: ",";\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),u.gray.light3,u.gray.light2,u.gray.dark3,hn,u.gray.light2,u.gray.light1)),z(Ge,f.Dark,a(qe||(qe=E(["\n background-color: transparent;\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),u.gray.dark2,u.gray.light1,hn,u.gray.dark2,u.gray.dark1)),Ge),gn=(z(Ve={},f.Light,a(Je||(Je=E(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),hn,x[f.Light].default,u.blue.base)),z(Ve,f.Dark,a(Qe||(Qe=E(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),hn,x[f.Dark].default,u.blue.base)),Ve),pn=(z(Ze={},f.Light,a(Xe||(Xe=E(["\n color: ",";\n "])),u.blue.base)),z(Ze,f.Dark,a(Ye||(Ye=E(["\n color: ",";\n "])),u.blue.light1)),Ze),un=a(en||(en=E(["\n text-decoration: none;\n margin: 0;\n padding: 0;\n line-height: 20px;\n\n &:focus {\n outline: none;\n }\n"]))),bn=a(nn||(nn=E(["\n white-space: nowrap;\n"]))),yn=a(tn||(tn=E(["\n white-space: normal;\n"]))),vn=["children","className","darkMode","baseFontSize"],xn=e.forwardRef((function(n,t){var r,a,i=n.children,s=n.className,d=n.darkMode,c=n.baseFontSize,h=D(n,vn),m=l(d).theme,f=ne(c),g=(null!==(r="string"==typeof i&&(null===(a=i.match(/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g))||void 0===a?void 0:a.length))&&void 0!==r?r:0)<=30?bn:yn,p=void 0!==(null==h?void 0:h.href)||void 0!==h.onClick,u=e.createElement("code",{ref:t,className:o(Z[f],mn,fn[m],gn[m],g,z({},pn[m],p),s)},i);return p?e.createElement("a",F({className:o(hn,un,s)},h),u):e.cloneElement(u,h)}));xn.displayName="InlineCode",xn.propTypes={children:k.node,className:k.string,darkMode:k.bool,baseFontSize:k.oneOf(Object.values(v))};var kn,Nn,wn,zn,Fn,Dn,En,Sn,Mn,On,Ln=a(ln||(ln=E(["\n font-family: ",";\n border: 1px solid;\n border-radius: 3px;\n padding-left: 5px;\n padding-right: 5px;\n"])),b.code),Bn=(z(cn={},f.Light,a(sn||(sn=E(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),u.black,u.gray.dark3,u.white)),z(cn,f.Dark,a(dn||(dn=E(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),u.gray.light2,u.gray.base,u.gray.dark3)),cn),Cn=["baseFontSize","darkMode","children","className"];function jn(n){var t=n.baseFontSize,r=n.darkMode,a=n.children,i=n.className,s=D(n,Cn),d=ne(t),c=l(r).theme;return e.createElement("code",F({className:o(Ln,Bn[c],Z[d],i)},s),a)}jn.displayName="InlineKeyCode";var Hn,An,In,Pn,Wn,Rn,Tn,Un,_n,Kn,$n,qn=a(kn||(kn=E(["\n font-family: ",";\n font-weight: bold;\n"])),b.default),Gn=(z(zn={},f.Light,a(Nn||(Nn=E(["\n color: ",";\n "])),u.black)),z(zn,f.Dark,a(wn||(wn=E(["\n color: ",";\n "])),u.gray.light2)),zn),Jn=(z(En={},f.Light,a(Fn||(Fn=E(["\n color: ",";\n "])),u.gray.dark1)),z(En,f.Dark,a(Dn||(Dn=E(["\n color: ",";\n "])),u.gray.base)),En),Qn=(z(On={},v.Body1,a(Sn||(Sn=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(On,v.Body2,a(Mn||(Mn=E(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),y.body2.fontSize)),On),Vn=["baseFontSize","darkMode","className","children","disabled","as"],Xn=s((function(n){var t=n.baseFontSize,r=n.darkMode,a=n.className,i=n.children,s=n.disabled,c=void 0!==s&&s,h=n.as,m=void 0===h?"label":h,f=D(n,Vn),g=l(r).theme,p=ne(t),u=d(m).Component;return e.createElement(u,F({className:o(qn,Gn[g],Qn[p],z({},Jn[g],c),a)},f),i)}));Xn.displayName="Label";var Yn,Zn,et=g(),nt=a(Hn||(Hn=E(["\n font-family: ",";\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n line-height: 13px;\n\n &:focus {\n outline: none;\n }\n"])),b.default),tt=(z(Pn={},f.Light,a(An||(An=E(["\n color: ",";\n font-weight: 400;\n "])),u.blue.base)),z(Pn,f.Dark,a(In||(In=E(["\n color: ",";\n font-weight: 700;\n "])),u.blue.light1)),Pn),rt=a(Wn||(Wn=E(["\n position: relative;\n &::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 2px;\n bottom: -4px;\n left: 0;\n border-radius: 2px;\n }\n\n .",":focus & {\n &::after {\n background-color: ",";\n }\n }\n"])),et,u.blue.light1),at=(z(Un={},f.Light,a(Rn||(Rn=E(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),et,u.gray.light2)),z(Un,f.Dark,a(Tn||(Tn=E(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),et,u.gray.dark2)),Un),ot=a(_n||(_n=E(["\n transform: translate3d(3px, 0, 0);\n"]))),it=a(Kn||(Kn=E(["\n opacity: 0;\n transform: translate3d(-3px, 0, 0);\n transition: all 100ms ease-in;\n\n .",":hover & {\n opacity: 1;\n transform: translate3d(3px, 0, 0);\n }\n"])),et),lt=a($n||($n=E(["\n position: relative;\n bottom: 4px;\n left: -1px;\n height: 12px;\n"]))),st="hover",dt="persist",ct="none",ht=["children","className","arrowAppearance","hideExternalIcon","baseFontSize","darkMode","as"],mt=c((function(a){var i=a.children,s=a.className,d=a.arrowAppearance,c=void 0===d?ct:d,m=a.hideExternalIcon,f=void 0!==m&&m,g=a.baseFontSize,p=a.darkMode,u=a.as,b=D(a,ht),y=S(n(""),2),v=y[0],x=y[1];t((function(){x(window.location.hostname)}),[]);var k,E=l(p).theme,M=ne(g),O=h(u,b,"span").Component,L=r((function(){if(void 0!==b.href){return/^http(s)?:\/\//.test(b.href)?new URL(b.href).hostname:v}}),[b,v]),B={target:void 0,rel:void 0};if(b.target||b.rel?(B.target=b.target,B.rel=b.rel):"a"===O&&(L===v?B.target="_self":(B.target="_blank",B.rel="noopener noreferrer")),"_blank"!==B.target||f){if(c!==ct){var C;k=e.createElement(N,{role:"presentation",size:12,className:o((C={},z(C,it,c===st),z(C,ot,c===dt),C))})}}else k=e.createElement(w,{role:"presentation",className:lt});return e.createElement(O,F({className:o(et,Y[M],nt,tt[E],s)},B,b),e.createElement("span",{className:o(rt,at[E])},i),k)})),ft=a(Yn||(Yn=E(["\n font-size: 12px;\n font-weight: 700;\n text-transform: uppercase;\n line-height: 20px;\n letter-spacing: 0.4px;\n"]))),gt=["darkMode","className","as"],pt=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"div":a,s=D(n,gt),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,ft,ee[c],r)},s))}));pt.displayName="Overline";var ut=a(Zn||(Zn=E(["\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n"]))),bt=["darkMode","className","as"],yt=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h6":a,s=D(n,bt),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,ut,ee[c],r)},s))}));yt.displayName="Subtitle";var vt,xt,kt=["as","children","maxFontWeight","pseudoElement","className"],Nt=function(e){var n=e.pseudoElement,t=e.maxFontWeight,r="&:".concat(n);return a(vt||(vt=E(["\n /* Inherit relevant properties from the parent */\n font-weight: inherit;\n font-size: inherit;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n position: relative;\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n text-decoration: none;\n min-width: 0;\n max-width: 100%;\n\n "," {\n content: attr(data-text);\n height: 0;\n font-weight: ",";\n visibility: hidden;\n overflow: hidden;\n user-select: none;\n pointer-events: none;\n }\n "])),r,t)},wt=a(xt||(xt=E(["\n flex: 1;\n min-width: 0;\n max-width: 100%;\n\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n"])));function zt(n){var t=n.as,r=n.children,a=n.maxFontWeight,i=void 0===a?700:a,l=n.pseudoElement,s=void 0===l?"after":l,d=n.className,c=D(n,kt),h=p(r);return e.createElement(m,F({className:o(Nt({pseudoElement:s,maxFontWeight:i}),d),as:null!=t?t:"span","data-text":h},c),e.createElement("span",{className:wt},r))}export{ae as Body,ge as Description,Ne as Disclaimer,je as Error,Pe as H1,_e as H2,on as H3,xn as InlineCode,jn as InlineKeyCode,Xn as Label,mt as Link,pt as Overline,zt as StaticWidthText,yt as Subtitle,et as anchorClassName,Y as bodyTypeScaleStyles,Qn as labelTypeScaleStyles,ne as useUpdatedBaseFontSize};
import e,{useState as n,useEffect as t,useMemo as r}from"react";import{css as a,cx as o}from"@leafygreen-ui/emotion";import{useBaseFontSize as i,useDarkMode as l}from"@leafygreen-ui/leafygreen-provider";import{Polymorphic as s,usePolymorphic as d,InferredPolymorphic as c,useInferredPolymorphic as h,Polymorph as m}from"@leafygreen-ui/polymorphic";import{Theme as f,createUniqueClassName as g,getNodeTextContent as p}from"@leafygreen-ui/lib";import{palette as u}from"@leafygreen-ui/palette";import{fontFamilies as b,typeScales as y,BaseFontSize as v,focusRing as x}from"@leafygreen-ui/tokens";import k from"prop-types";import N from"@leafygreen-ui/icon/dist/ArrowRight";import w from"@leafygreen-ui/icon/dist/OpenNewTab";function z(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function F(){return F=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},F.apply(this,arguments)}function D(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function E(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function S(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var r,a,o=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw a}}return o}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return M(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return M(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var O,L,B,C,j,H,A,I,P,W,T,U,_,R,K,$,q,G,J,Q,V,X=a(O||(O=E(["\n margin: unset;\n font-family: ",";\n color: ",";\n"])),b.default,u.black),Y=(z(C={},v.Body1,a(L||(L=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(C,v.Body2,a(B||(B=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body2.fontSize,y.body2.lineHeight)),C),Z=(z(A={},v.Body1,a(j||(j=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.code1.fontSize,y.code1.lineHeight)),z(A,v.Body2,a(H||(H=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.code2.fontSize,y.code2.lineHeight)),A),ee=(z(W={},f.Light,a(I||(I=E(["\n color: ",";\n "])),u.black)),z(W,f.Dark,a(P||(P=E(["\n color: ",";\n "])),u.gray.light2)),W),ne=function(e){var n=i();return e?16===e?v.Body2:v.Body1:16===n?v.Body2:v.Body1},te=["baseFontSize","darkMode","className","weight","as"],re={default:{regular:400,medium:500},strong:{regular:700,medium:700}},ae=s((function(n){var t=n.baseFontSize,r=n.darkMode,i=n.className,s=n.weight,c=void 0===s?"regular":s,h=n.as,m=void 0===h?"p":h,f=D(n,te),g=l(r).theme,p=ne(t),u=d(m).Component,b=a(T||(T=E(["\n font-weight: ",";\n strong,\n b {\n font-weight: ",";\n }\n "])),re.default[c],re.strong[c]);return e.createElement(u,F({className:o(X,Y[p],ee[g],b,i)},f))}));ae.displayName="Body";var oe,ie,le,se,de=a(U||(U=E(["\n font-family: ",";\n font-weight: normal;\n margin-top: 0;\n margin-bottom: 0;\n"])),b.default),ce=(z(K={},f.Light,a(_||(_=E(["\n color: ",";\n "])),u.gray.dark1)),z(K,f.Dark,a(R||(R=E(["\n color: ",";\n "])),u.gray.light1)),K),he=(z(G={},f.Light,a($||($=E(["\n color: ",";\n "])),u.gray.dark1)),z(G,f.Dark,a(q||(q=E(["\n color: ",";\n "])),u.gray.base)),G),me=(z(V={},v.Body1,a(J||(J=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(V,v.Body2,a(Q||(Q=E(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),y.body2.fontSize)),V),fe=["baseFontSize","darkMode","disabled","children","className"],ge=function(n){var t=n.baseFontSize,r=n.darkMode,a=n.disabled,i=void 0!==a&&a,s=n.children,d=n.className,c=D(n,fe),h=l(r).theme,m=ne(t);return e.createElement("p",F({className:o(de,ce[h],me[m],z({},he[h],i),d)},c),s)};ge.displayName="Description";var pe,ue,be,ye,ve=(z(le={},f.Light,a(oe||(oe=E(["\n color: ",";\n "])),u.gray.dark1)),z(le,f.Dark,a(ie||(ie=E(["\n color: ",";\n "])),u.gray.light1)),le),xe=a(se||(se=E(["\n display: block;\n font-size: 11px;\n line-height: 16px;\n letter-spacing: 0.2px;\n"]))),ke=["darkMode","children","className"];function Ne(n){var t=n.darkMode,r=n.children,a=n.className,i=D(n,ke),s=l(t).theme;return e.createElement("small",F({},i,{className:o(X,xe,ve[s],a)}),r)}Ne.displayName="Disclaimer";var we,ze,Fe,De,Ee,Se,Me,Oe,Le=a(pe||(pe=E(["\n font-family: ",";\n font-weight: normal;\n font-size: inherit;\n line-height: inherit;\n\n // Unsets browser default margins\n margin-block-start: 0;\n margin-block-end: 0;\n"])),b.default),Be=(z(ye={},f.Light,a(ue||(ue=E(["\n color: ",";\n "])),u.red.base)),z(ye,f.Dark,a(be||(be=E(["\n color: ",";\n "])),u.red.light1)),ye),Ce=["as","darkMode","children","className"],je=s((function(n){var t=n.as,r=void 0===t?"p":t,a=n.darkMode,i=n.children,s=n.className,c=D(n,Ce),h=l(a).theme,m=d(r).Component;return e.createElement(m,F({},c,{className:o(Le,Be[h],s)}),i)})),He=a(we||(we=E(["\n font-weight: 400;\n font-size: 48px;\n line-height: 62px;\n font-family: ",";\n"])),b.serif),Ae=(z(De={},f.Light,a(ze||(ze=E(["\n color: ",";\n "])),u.green.dark2)),z(De,f.Dark,a(Fe||(Fe=E(["\n color: ",";\n "])),u.green.light1)),De),Ie=["darkMode","className","as"],Pe=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h1":a,s=D(n,Ie),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,He,Ae[c],r)},s))}));Pe.displayName="H1";var We,Te=a(Ee||(Ee=E(["\n font-size: 32px;\n line-height: 40px;\n font-weight: 400;\n font-family: ",";\n"])),b.serif),Ue=(z(Oe={},f.Light,a(Se||(Se=E(["\n color: ",";\n "])),u.green.dark2)),z(Oe,f.Dark,a(Me||(Me=E(["\n color: ",";\n "])),u.green.light1)),Oe),_e=["darkMode","className","as"],Re=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h2":a,s=D(n,_e),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,Te,Ue[c],r)},s))}));Re.displayName="H2";var Ke,$e,qe,Ge,Je,Qe,Ve,Xe,Ye,Ze,en,nn,tn,rn=a(We||(We=E(["\n font-size: 24px;\n line-height: 32px;\n font-weight: 500;\n"]))),an=["darkMode","className","as"],on=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h3":a,s=D(n,an),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,rn,ee[c],r)},s))}));on.displayName="H3";var ln,sn,dn,cn,hn=g(),mn=a(Ke||(Ke=E(["\n display: inline;\n transition: all 0.15s ease-in-out;\n border-radius: 3px;\n font-family: ",";\n line-height: 20px;\n\n .",":hover > & {\n text-decoration: none;\n }\n"])),b.code,hn),fn=(z(Ge={},f.Light,a($e||($e=E(["\n background-color: ",";\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),u.gray.light3,u.gray.light2,u.gray.dark3,hn,u.gray.light2,u.gray.light1)),z(Ge,f.Dark,a(qe||(qe=E(["\n background-color: transparent;\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),u.gray.dark2,u.gray.light1,hn,u.gray.dark2,u.gray.dark1)),Ge),gn=(z(Ve={},f.Light,a(Je||(Je=E(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),hn,x[f.Light].default,u.blue.base)),z(Ve,f.Dark,a(Qe||(Qe=E(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),hn,x[f.Dark].default,u.blue.base)),Ve),pn=(z(Ze={},f.Light,a(Xe||(Xe=E(["\n color: ",";\n "])),u.blue.base)),z(Ze,f.Dark,a(Ye||(Ye=E(["\n color: ",";\n "])),u.blue.light1)),Ze),un=a(en||(en=E(["\n text-decoration: none;\n margin: 0;\n padding: 0;\n line-height: 20px;\n\n &:focus {\n outline: none;\n }\n"]))),bn=a(nn||(nn=E(["\n white-space: nowrap;\n"]))),yn=a(tn||(tn=E(["\n white-space: normal;\n"]))),vn=["children","className","darkMode","baseFontSize","as"],xn=c((function(n,t){var r,a,i=n.children,s=n.className,d=n.darkMode,c=n.baseFontSize,m=n.as,f=D(n,vn),g=l(d).theme,p=ne(c),u=h(m,f,"code").Component,b=(null!==(r="string"==typeof i&&(null===(a=i.match(/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g))||void 0===a?void 0:a.length))&&void 0!==r?r:0)<=30?bn:yn,y="code"!==u,v=e.createElement("code",{ref:t,className:o(Z[p],mn,fn[g],gn[g],b,z({},pn[g],y),s)},i);return y?e.createElement(u,F({className:o(hn,un,s)},f),v):e.cloneElement(v,f)}));xn.displayName="InlineCode",xn.propTypes={children:k.node,className:k.string,darkMode:k.bool,baseFontSize:k.oneOf(Object.values(v))};var kn,Nn,wn,zn,Fn,Dn,En,Sn,Mn,On,Ln=a(ln||(ln=E(["\n font-family: ",";\n border: 1px solid;\n border-radius: 3px;\n padding-left: 5px;\n padding-right: 5px;\n"])),b.code),Bn=(z(cn={},f.Light,a(sn||(sn=E(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),u.black,u.gray.dark3,u.white)),z(cn,f.Dark,a(dn||(dn=E(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),u.gray.light2,u.gray.base,u.gray.dark3)),cn),Cn=["baseFontSize","darkMode","children","className"];function jn(n){var t=n.baseFontSize,r=n.darkMode,a=n.children,i=n.className,s=D(n,Cn),d=ne(t),c=l(r).theme;return e.createElement("code",F({className:o(Ln,Bn[c],Z[d],i)},s),a)}jn.displayName="InlineKeyCode";var Hn,An,In,Pn,Wn,Tn,Un,_n,Rn,Kn,$n,qn,Gn=a(kn||(kn=E(["\n font-family: ",";\n font-weight: bold;\n"])),b.default),Jn=(z(zn={},f.Light,a(Nn||(Nn=E(["\n color: ",";\n "])),u.black)),z(zn,f.Dark,a(wn||(wn=E(["\n color: ",";\n "])),u.gray.light2)),zn),Qn=(z(En={},f.Light,a(Fn||(Fn=E(["\n color: ",";\n "])),u.gray.dark1)),z(En,f.Dark,a(Dn||(Dn=E(["\n color: ",";\n "])),u.gray.base)),En),Vn=(z(On={},v.Body1,a(Sn||(Sn=E(["\n font-size: ","px;\n line-height: ","px;\n "])),y.body1.fontSize,y.body1.lineHeight)),z(On,v.Body2,a(Mn||(Mn=E(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),y.body2.fontSize)),On),Xn=["baseFontSize","darkMode","className","children","disabled","as"],Yn=s((function(n){var t=n.baseFontSize,r=n.darkMode,a=n.className,i=n.children,s=n.disabled,c=void 0!==s&&s,h=n.as,m=void 0===h?"label":h,f=D(n,Xn),g=l(r).theme,p=ne(t),u=d(m).Component;return e.createElement(u,F({className:o(Gn,Jn[g],Vn[p],z({},Qn[g],c),a)},f),i)}));Yn.displayName="Label";var Zn,et,nt=g(),tt=a(Hn||(Hn=E(["\n &:hover,\n &:focus,\n &:visited {\n text-decoration: none;\n }\n"]))),rt=a(An||(An=E(["\n font-family: ",";\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n line-height: 13px;\n\n &:focus {\n outline: none;\n }\n"])),b.default),at=(z(Wn={},f.Light,a(In||(In=E(["\n color: ",";\n font-weight: 400;\n "])),u.blue.base)),z(Wn,f.Dark,a(Pn||(Pn=E(["\n color: ",";\n font-weight: 700;\n "])),u.blue.light1)),Wn),ot=a(Tn||(Tn=E(["\n position: relative;\n &::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 2px;\n bottom: -4px;\n left: 0;\n border-radius: 2px;\n }\n\n .",":focus & {\n &::after {\n background-color: ",";\n }\n }\n"])),nt,u.blue.light1),it=(z(Rn={},f.Light,a(Un||(Un=E(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),nt,u.gray.light2)),z(Rn,f.Dark,a(_n||(_n=E(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),nt,u.gray.dark2)),Rn),lt=a(Kn||(Kn=E(["\n transform: translate3d(3px, 0, 0);\n"]))),st=a($n||($n=E(["\n opacity: 0;\n transform: translate3d(-3px, 0, 0);\n transition: all 100ms ease-in;\n\n .",":hover & {\n opacity: 1;\n transform: translate3d(3px, 0, 0);\n }\n"])),nt),dt=a(qn||(qn=E(["\n position: relative;\n bottom: 4px;\n left: -1px;\n height: 12px;\n"]))),ct="hover",ht="persist",mt="none",ft=["children","className","arrowAppearance","hideExternalIcon","baseFontSize","darkMode","as"],gt=c((function(a){var i=a.children,s=a.className,d=a.arrowAppearance,c=void 0===d?mt:d,m=a.hideExternalIcon,f=void 0!==m&&m,g=a.baseFontSize,p=a.darkMode,u=a.as,b=D(a,ft),y=S(n(""),2),v=y[0],x=y[1];t((function(){x(window.location.hostname)}),[]);var k,E=l(p).theme,M=ne(g),O=h(u,b,"span").Component,L=r((function(){if(void 0!==b.href){return/^http(s)?:\/\//.test(b.href)?new URL(b.href).hostname:v}}),[b,v]),B={target:void 0,rel:void 0};if(b.target||b.rel?(B.target=b.target,B.rel=b.rel):"a"===O&&(L===v?B.target="_self":(B.target="_blank",B.rel="noopener noreferrer")),"_blank"!==B.target||f){if(c!==mt){var C;k=e.createElement(N,{role:"presentation",size:12,className:o((C={},z(C,st,c===ct),z(C,lt,c===ht),C))})}}else k=e.createElement(w,{role:"presentation",className:dt});return e.createElement(O,F({className:o(nt,tt,Y[M],rt,at[E],s)},B,b),e.createElement("span",{className:o(ot,it[E])},i),k)})),pt=a(Zn||(Zn=E(["\n font-size: 12px;\n font-weight: 700;\n text-transform: uppercase;\n line-height: 20px;\n letter-spacing: 0.4px;\n"]))),ut=["darkMode","className","as"],bt=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"div":a,s=D(n,ut),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,pt,ee[c],r)},s))}));bt.displayName="Overline";var yt=a(et||(et=E(["\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n"]))),vt=["darkMode","className","as"],xt=s((function(n){var t=n.darkMode,r=n.className,a=n.as,i=void 0===a?"h6":a,s=D(n,vt),c=l(t).theme,h=d(i).Component;return e.createElement(h,F({className:o(X,yt,ee[c],r)},s))}));xt.displayName="Subtitle";var kt,Nt,wt=["as","children","maxFontWeight","pseudoElement","className"],zt=function(e){var n=e.pseudoElement,t=e.maxFontWeight,r="&:".concat(n);return a(kt||(kt=E(["\n /* Inherit relevant properties from the parent */\n font-weight: inherit;\n font-size: inherit;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n position: relative;\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n text-decoration: none;\n min-width: 0;\n max-width: 100%;\n\n "," {\n content: attr(data-text);\n height: 0;\n font-weight: ",";\n visibility: hidden;\n overflow: hidden;\n user-select: none;\n pointer-events: none;\n }\n "])),r,t)},Ft=a(Nt||(Nt=E(["\n flex: 1;\n min-width: 0;\n max-width: 100%;\n\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n"])));function Dt(n){var t=n.as,r=n.children,a=n.maxFontWeight,i=void 0===a?700:a,l=n.pseudoElement,s=void 0===l?"after":l,d=n.className,c=D(n,wt),h=p(r);return e.createElement(m,F({className:o(zt({pseudoElement:s,maxFontWeight:i}),d),as:null!=t?t:"span","data-text":h},c),e.createElement("span",{className:Ft},r))}export{ae as Body,ge as Description,Ne as Disclaimer,je as Error,Pe as H1,Re as H2,on as H3,xn as InlineCode,jn as InlineKeyCode,Yn as Label,gt as Link,bt as Overline,Dt as StaticWidthText,xt as Subtitle,nt as anchorClassName,Y as bodyTypeScaleStyles,Vn as labelTypeScaleStyles,ne as useUpdatedBaseFontSize};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/leafygreen-provider"),require("@leafygreen-ui/polymorphic"),require("@leafygreen-ui/lib"),require("@leafygreen-ui/palette"),require("@leafygreen-ui/tokens"),require("prop-types"),require("@leafygreen-ui/icon/dist/ArrowRight"),require("@leafygreen-ui/icon/dist/OpenNewTab")):"function"==typeof define&&define.amd?define(["exports","react","@leafygreen-ui/emotion","@leafygreen-ui/leafygreen-provider","@leafygreen-ui/polymorphic","@leafygreen-ui/lib","@leafygreen-ui/palette","@leafygreen-ui/tokens","prop-types","@leafygreen-ui/icon/dist/ArrowRight","@leafygreen-ui/icon/dist/OpenNewTab"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/typography"]={},e.React,e["@leafygreen-ui/emotion"],e["@leafygreen-ui/leafygreen-provider"],e["@leafygreen-ui/polymorphic"],e["@leafygreen-ui/lib"],e["@leafygreen-ui/palette"],e["@leafygreen-ui/tokens"],e.PropTypes,e.ArrowRight,e.OpenNewTab)}(this,(function(e,n,t,a,r,o,i,l,s,c,d){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p,h,f,m,g,y,b,x,v,k,N=u(n),S=u(s),F=u(c),w=u(d);function z(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function D(){return D=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},D.apply(this,arguments)}function T(e,n){if(null==e)return{};var t,a,r=function(e,n){if(null==e)return{};var t,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)t=o[a],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)t=o[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function M(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function B(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var a,r,o=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw r}}return o}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return E(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var P,O,C,L,j,H,I,q,A,R,U,W=t.css(p||(p=M(["\n margin: unset;\n font-family: ",";\n color: ",";\n"])),l.fontFamilies.default,i.palette.black),_=(z(m={},l.BaseFontSize.Body1,t.css(h||(h=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(m,l.BaseFontSize.Body2,t.css(f||(f=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body2.fontSize,l.typeScales.body2.lineHeight)),m),K=(z(b={},l.BaseFontSize.Body1,t.css(g||(g=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.code1.fontSize,l.typeScales.code1.lineHeight)),z(b,l.BaseFontSize.Body2,t.css(y||(y=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.code2.fontSize,l.typeScales.code2.lineHeight)),b),$=(z(k={},o.Theme.Light,t.css(x||(x=M(["\n color: ",";\n "])),i.palette.black)),z(k,o.Theme.Dark,t.css(v||(v=M(["\n color: ",";\n "])),i.palette.gray.light2)),k),G=function(e){var n=a.useBaseFontSize();return e?16===e?l.BaseFontSize.Body2:l.BaseFontSize.Body1:16===n?l.BaseFontSize.Body2:l.BaseFontSize.Body1},J=["baseFontSize","darkMode","className","weight","as"],Q={default:{regular:400,medium:500},strong:{regular:700,medium:700}},V=r.Polymorphic((function(e){var n=e.baseFontSize,o=e.darkMode,i=e.className,l=e.weight,s=void 0===l?"regular":l,c=e.as,d=void 0===c?"p":c,u=T(e,J),p=a.useDarkMode(o).theme,h=G(n),f=r.usePolymorphic(d).Component,m=t.css(P||(P=M(["\n font-weight: ",";\n strong,\n b {\n font-weight: ",";\n }\n "])),Q.default[s],Q.strong[s]);return N.default.createElement(f,D({className:t.cx(W,_[h],$[p],m,i)},u))}));V.displayName="Body";var X,Y,Z,ee,ne=t.css(O||(O=M(["\n font-family: ",";\n font-weight: normal;\n margin-top: 0;\n margin-bottom: 0;\n"])),l.fontFamilies.default),te=(z(j={},o.Theme.Light,t.css(C||(C=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(j,o.Theme.Dark,t.css(L||(L=M(["\n color: ",";\n "])),i.palette.gray.light1)),j),ae=(z(q={},o.Theme.Light,t.css(H||(H=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(q,o.Theme.Dark,t.css(I||(I=M(["\n color: ",";\n "])),i.palette.gray.base)),q),re=(z(U={},l.BaseFontSize.Body1,t.css(A||(A=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(U,l.BaseFontSize.Body2,t.css(R||(R=M(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),l.typeScales.body2.fontSize)),U),oe=["baseFontSize","darkMode","disabled","children","className"],ie=function(e){var n=e.baseFontSize,r=e.darkMode,o=e.disabled,i=void 0!==o&&o,l=e.children,s=e.className,c=T(e,oe),d=a.useDarkMode(r).theme,u=G(n);return N.default.createElement("p",D({className:t.cx(ne,te[d],re[u],z({},ae[d],i),s)},c),l)};ie.displayName="Description";var le,se,ce,de,ue=(z(Z={},o.Theme.Light,t.css(X||(X=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(Z,o.Theme.Dark,t.css(Y||(Y=M(["\n color: ",";\n "])),i.palette.gray.light1)),Z),pe=t.css(ee||(ee=M(["\n display: block;\n font-size: 11px;\n line-height: 16px;\n letter-spacing: 0.2px;\n"]))),he=["darkMode","children","className"];function fe(e){var n=e.darkMode,r=e.children,o=e.className,i=T(e,he),l=a.useDarkMode(n).theme;return N.default.createElement("small",D({},i,{className:t.cx(W,pe,ue[l],o)}),r)}fe.displayName="Disclaimer";var me,ge,ye,be,xe,ve,ke,Ne,Se=t.css(le||(le=M(["\n font-family: ",";\n font-weight: normal;\n font-size: inherit;\n line-height: inherit;\n\n // Unsets browser default margins\n margin-block-start: 0;\n margin-block-end: 0;\n"])),l.fontFamilies.default),Fe=(z(de={},o.Theme.Light,t.css(se||(se=M(["\n color: ",";\n "])),i.palette.red.base)),z(de,o.Theme.Dark,t.css(ce||(ce=M(["\n color: ",";\n "])),i.palette.red.light1)),de),we=["as","darkMode","children","className"],ze=r.Polymorphic((function(e){var n=e.as,o=void 0===n?"p":n,i=e.darkMode,l=e.children,s=e.className,c=T(e,we),d=a.useDarkMode(i).theme,u=r.usePolymorphic(o).Component;return N.default.createElement(u,D({},c,{className:t.cx(Se,Fe[d],s)}),l)})),De=t.css(me||(me=M(["\n font-weight: 400;\n font-size: 48px;\n line-height: 62px;\n font-family: ",";\n"])),l.fontFamilies.serif),Te=(z(be={},o.Theme.Light,t.css(ge||(ge=M(["\n color: ",";\n "])),i.palette.green.dark2)),z(be,o.Theme.Dark,t.css(ye||(ye=M(["\n color: ",";\n "])),i.palette.green.light1)),be),Me=["darkMode","className","as"],Be=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h1":i,s=T(e,Me),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,De,Te[c],o)},s))}));Be.displayName="H1";var Ee,Pe=t.css(xe||(xe=M(["\n font-size: 32px;\n line-height: 40px;\n font-weight: 400;\n font-family: ",";\n"])),l.fontFamilies.serif),Oe=(z(Ne={},o.Theme.Light,t.css(ve||(ve=M(["\n color: ",";\n "])),i.palette.green.dark2)),z(Ne,o.Theme.Dark,t.css(ke||(ke=M(["\n color: ",";\n "])),i.palette.green.light1)),Ne),Ce=["darkMode","className","as"],Le=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h2":i,s=T(e,Ce),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,Pe,Oe[c],o)},s))}));Le.displayName="H2";var je,He,Ie,qe,Ae,Re,Ue,We,_e,Ke,$e,Ge,Je,Qe=t.css(Ee||(Ee=M(["\n font-size: 24px;\n line-height: 32px;\n font-weight: 500;\n"]))),Ve=["darkMode","className","as"],Xe=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h3":i,s=T(e,Ve),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,Qe,$[c],o)},s))}));Xe.displayName="H3";var Ye,Ze,en,nn,tn=o.createUniqueClassName(),an=t.css(je||(je=M(["\n display: inline;\n transition: all 0.15s ease-in-out;\n border-radius: 3px;\n font-family: ",";\n line-height: 20px;\n\n .",":hover > & {\n text-decoration: none;\n }\n"])),l.fontFamilies.code,tn),rn=(z(qe={},o.Theme.Light,t.css(He||(He=M(["\n background-color: ",";\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),i.palette.gray.light3,i.palette.gray.light2,i.palette.gray.dark3,tn,i.palette.gray.light2,i.palette.gray.light1)),z(qe,o.Theme.Dark,t.css(Ie||(Ie=M(["\n background-color: transparent;\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),i.palette.gray.dark2,i.palette.gray.light1,tn,i.palette.gray.dark2,i.palette.gray.dark1)),qe),on=(z(Ue={},o.Theme.Light,t.css(Ae||(Ae=M(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),tn,l.focusRing[o.Theme.Light].default,i.palette.blue.base)),z(Ue,o.Theme.Dark,t.css(Re||(Re=M(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),tn,l.focusRing[o.Theme.Dark].default,i.palette.blue.base)),Ue),ln=(z(Ke={},o.Theme.Light,t.css(We||(We=M(["\n color: ",";\n "])),i.palette.blue.base)),z(Ke,o.Theme.Dark,t.css(_e||(_e=M(["\n color: ",";\n "])),i.palette.blue.light1)),Ke),sn=t.css($e||($e=M(["\n text-decoration: none;\n margin: 0;\n padding: 0;\n line-height: 20px;\n\n &:focus {\n outline: none;\n }\n"]))),cn=t.css(Ge||(Ge=M(["\n white-space: nowrap;\n"]))),dn=t.css(Je||(Je=M(["\n white-space: normal;\n"]))),un=["children","className","darkMode","baseFontSize"],pn=N.default.forwardRef((function(e,n){var r,o,i=e.children,l=e.className,s=e.darkMode,c=e.baseFontSize,d=T(e,un),u=a.useDarkMode(s).theme,p=G(c),h=(null!==(r="string"==typeof i&&(null===(o=i.match(/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g))||void 0===o?void 0:o.length))&&void 0!==r?r:0)<=30?cn:dn,f=void 0!==(null==d?void 0:d.href)||void 0!==d.onClick,m=N.default.createElement("code",{ref:n,className:t.cx(K[p],an,rn[u],on[u],h,z({},ln[u],f),l)},i);return f?N.default.createElement("a",D({className:t.cx(tn,sn,l)},d),m):N.default.cloneElement(m,d)}));pn.displayName="InlineCode",pn.propTypes={children:S.default.node,className:S.default.string,darkMode:S.default.bool,baseFontSize:S.default.oneOf(Object.values(l.BaseFontSize))};var hn,fn,mn,gn,yn,bn,xn,vn,kn,Nn,Sn=t.css(Ye||(Ye=M(["\n font-family: ",";\n border: 1px solid;\n border-radius: 3px;\n padding-left: 5px;\n padding-right: 5px;\n"])),l.fontFamilies.code),Fn=(z(nn={},o.Theme.Light,t.css(Ze||(Ze=M(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),i.palette.black,i.palette.gray.dark3,i.palette.white)),z(nn,o.Theme.Dark,t.css(en||(en=M(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),i.palette.gray.light2,i.palette.gray.base,i.palette.gray.dark3)),nn),wn=["baseFontSize","darkMode","children","className"];function zn(e){var n=e.baseFontSize,r=e.darkMode,o=e.children,i=e.className,l=T(e,wn),s=G(n),c=a.useDarkMode(r).theme;return N.default.createElement("code",D({className:t.cx(Sn,Fn[c],K[s],i)},l),o)}zn.displayName="InlineKeyCode";var Dn,Tn,Mn,Bn,En,Pn,On,Cn,Ln,jn,Hn,In=t.css(hn||(hn=M(["\n font-family: ",";\n font-weight: bold;\n"])),l.fontFamilies.default),qn=(z(gn={},o.Theme.Light,t.css(fn||(fn=M(["\n color: ",";\n "])),i.palette.black)),z(gn,o.Theme.Dark,t.css(mn||(mn=M(["\n color: ",";\n "])),i.palette.gray.light2)),gn),An=(z(xn={},o.Theme.Light,t.css(yn||(yn=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(xn,o.Theme.Dark,t.css(bn||(bn=M(["\n color: ",";\n "])),i.palette.gray.base)),xn),Rn=(z(Nn={},l.BaseFontSize.Body1,t.css(vn||(vn=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(Nn,l.BaseFontSize.Body2,t.css(kn||(kn=M(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),l.typeScales.body2.fontSize)),Nn),Un=["baseFontSize","darkMode","className","children","disabled","as"],Wn=r.Polymorphic((function(e){var n=e.baseFontSize,o=e.darkMode,i=e.className,l=e.children,s=e.disabled,c=void 0!==s&&s,d=e.as,u=void 0===d?"label":d,p=T(e,Un),h=a.useDarkMode(o).theme,f=G(n),m=r.usePolymorphic(u).Component;return N.default.createElement(m,D({className:t.cx(In,qn[h],Rn[f],z({},An[h],c),i)},p),l)}));Wn.displayName="Label";var _n,Kn,$n=o.createUniqueClassName(),Gn=t.css(Dn||(Dn=M(["\n font-family: ",";\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n line-height: 13px;\n\n &:focus {\n outline: none;\n }\n"])),l.fontFamilies.default),Jn=(z(Bn={},o.Theme.Light,t.css(Tn||(Tn=M(["\n color: ",";\n font-weight: 400;\n "])),i.palette.blue.base)),z(Bn,o.Theme.Dark,t.css(Mn||(Mn=M(["\n color: ",";\n font-weight: 700;\n "])),i.palette.blue.light1)),Bn),Qn=t.css(En||(En=M(["\n position: relative;\n &::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 2px;\n bottom: -4px;\n left: 0;\n border-radius: 2px;\n }\n\n .",":focus & {\n &::after {\n background-color: ",";\n }\n }\n"])),$n,i.palette.blue.light1),Vn=(z(Cn={},o.Theme.Light,t.css(Pn||(Pn=M(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),$n,i.palette.gray.light2)),z(Cn,o.Theme.Dark,t.css(On||(On=M(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),$n,i.palette.gray.dark2)),Cn),Xn=t.css(Ln||(Ln=M(["\n transform: translate3d(3px, 0, 0);\n"]))),Yn=t.css(jn||(jn=M(["\n opacity: 0;\n transform: translate3d(-3px, 0, 0);\n transition: all 100ms ease-in;\n\n .",":hover & {\n opacity: 1;\n transform: translate3d(3px, 0, 0);\n }\n"])),$n),Zn=t.css(Hn||(Hn=M(["\n position: relative;\n bottom: 4px;\n left: -1px;\n height: 12px;\n"]))),et="hover",nt="persist",tt="none",at=["children","className","arrowAppearance","hideExternalIcon","baseFontSize","darkMode","as"],rt=r.InferredPolymorphic((function(e){var o=e.children,i=e.className,l=e.arrowAppearance,s=void 0===l?tt:l,c=e.hideExternalIcon,d=void 0!==c&&c,u=e.baseFontSize,p=e.darkMode,h=e.as,f=T(e,at),m=B(n.useState(""),2),g=m[0],y=m[1];n.useEffect((function(){y(window.location.hostname)}),[]);var b,x=a.useDarkMode(p).theme,v=G(u),k=r.useInferredPolymorphic(h,f,"span").Component,S=n.useMemo((function(){if(void 0!==f.href){return/^http(s)?:\/\//.test(f.href)?new URL(f.href).hostname:g}}),[f,g]),M={target:void 0,rel:void 0};if(f.target||f.rel?(M.target=f.target,M.rel=f.rel):"a"===k&&(S===g?M.target="_self":(M.target="_blank",M.rel="noopener noreferrer")),"_blank"!==M.target||d){if(s!==tt){var E;b=N.default.createElement(F.default,{role:"presentation",size:12,className:t.cx((E={},z(E,Yn,s===et),z(E,Xn,s===nt),E))})}}else b=N.default.createElement(w.default,{role:"presentation",className:Zn});return N.default.createElement(k,D({className:t.cx($n,_[v],Gn,Jn[x],i)},M,f),N.default.createElement("span",{className:t.cx(Qn,Vn[x])},o),b)})),ot=t.css(_n||(_n=M(["\n font-size: 12px;\n font-weight: 700;\n text-transform: uppercase;\n line-height: 20px;\n letter-spacing: 0.4px;\n"]))),it=["darkMode","className","as"],lt=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"div":i,s=T(e,it),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,ot,$[c],o)},s))}));lt.displayName="Overline";var st=t.css(Kn||(Kn=M(["\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n"]))),ct=["darkMode","className","as"],dt=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h6":i,s=T(e,ct),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,st,$[c],o)},s))}));dt.displayName="Subtitle";var ut,pt,ht=["as","children","maxFontWeight","pseudoElement","className"],ft=function(e){var n=e.pseudoElement,a=e.maxFontWeight,r="&:".concat(n);return t.css(ut||(ut=M(["\n /* Inherit relevant properties from the parent */\n font-weight: inherit;\n font-size: inherit;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n position: relative;\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n text-decoration: none;\n min-width: 0;\n max-width: 100%;\n\n "," {\n content: attr(data-text);\n height: 0;\n font-weight: ",";\n visibility: hidden;\n overflow: hidden;\n user-select: none;\n pointer-events: none;\n }\n "])),r,a)},mt=t.css(pt||(pt=M(["\n flex: 1;\n min-width: 0;\n max-width: 100%;\n\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n"])));e.Body=V,e.Description=ie,e.Disclaimer=fe,e.Error=ze,e.H1=Be,e.H2=Le,e.H3=Xe,e.InlineCode=pn,e.InlineKeyCode=zn,e.Label=Wn,e.Link=rt,e.Overline=lt,e.StaticWidthText=function(e){var n=e.as,a=e.children,i=e.maxFontWeight,l=void 0===i?700:i,s=e.pseudoElement,c=void 0===s?"after":s,d=e.className,u=T(e,ht),p=o.getNodeTextContent(a);return N.default.createElement(r.Polymorph,D({className:t.cx(ft({pseudoElement:c,maxFontWeight:l}),d),as:null!=n?n:"span","data-text":p},u),N.default.createElement("span",{className:mt},a))},e.Subtitle=dt,e.anchorClassName=$n,e.bodyTypeScaleStyles=_,e.labelTypeScaleStyles=Rn,e.useUpdatedBaseFontSize=G,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/leafygreen-provider"),require("@leafygreen-ui/polymorphic"),require("@leafygreen-ui/lib"),require("@leafygreen-ui/palette"),require("@leafygreen-ui/tokens"),require("prop-types"),require("@leafygreen-ui/icon/dist/ArrowRight"),require("@leafygreen-ui/icon/dist/OpenNewTab")):"function"==typeof define&&define.amd?define(["exports","react","@leafygreen-ui/emotion","@leafygreen-ui/leafygreen-provider","@leafygreen-ui/polymorphic","@leafygreen-ui/lib","@leafygreen-ui/palette","@leafygreen-ui/tokens","prop-types","@leafygreen-ui/icon/dist/ArrowRight","@leafygreen-ui/icon/dist/OpenNewTab"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self)["@leafygreen-ui/typography"]={},e.React,e["@leafygreen-ui/emotion"],e["@leafygreen-ui/leafygreen-provider"],e["@leafygreen-ui/polymorphic"],e["@leafygreen-ui/lib"],e["@leafygreen-ui/palette"],e["@leafygreen-ui/tokens"],e.PropTypes,e.ArrowRight,e.OpenNewTab)}(this,(function(e,n,t,a,r,o,i,l,s,c,d){"use strict";function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,h,f,m,g,y,b,x,v,k,N=p(n),S=p(s),F=p(c),w=p(d);function z(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function D(){return D=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},D.apply(this,arguments)}function T(e,n){if(null==e)return{};var t,a,r=function(e,n){if(null==e)return{};var t,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)t=o[a],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)t=o[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function M(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function B(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var a,r,o=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw r}}return o}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return E(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var P,O,C,L,j,H,I,q,A,R,U,W=t.css(u||(u=M(["\n margin: unset;\n font-family: ",";\n color: ",";\n"])),l.fontFamilies.default,i.palette.black),_=(z(m={},l.BaseFontSize.Body1,t.css(h||(h=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(m,l.BaseFontSize.Body2,t.css(f||(f=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body2.fontSize,l.typeScales.body2.lineHeight)),m),K=(z(b={},l.BaseFontSize.Body1,t.css(g||(g=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.code1.fontSize,l.typeScales.code1.lineHeight)),z(b,l.BaseFontSize.Body2,t.css(y||(y=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.code2.fontSize,l.typeScales.code2.lineHeight)),b),$=(z(k={},o.Theme.Light,t.css(x||(x=M(["\n color: ",";\n "])),i.palette.black)),z(k,o.Theme.Dark,t.css(v||(v=M(["\n color: ",";\n "])),i.palette.gray.light2)),k),G=function(e){var n=a.useBaseFontSize();return e?16===e?l.BaseFontSize.Body2:l.BaseFontSize.Body1:16===n?l.BaseFontSize.Body2:l.BaseFontSize.Body1},J=["baseFontSize","darkMode","className","weight","as"],Q={default:{regular:400,medium:500},strong:{regular:700,medium:700}},V=r.Polymorphic((function(e){var n=e.baseFontSize,o=e.darkMode,i=e.className,l=e.weight,s=void 0===l?"regular":l,c=e.as,d=void 0===c?"p":c,p=T(e,J),u=a.useDarkMode(o).theme,h=G(n),f=r.usePolymorphic(d).Component,m=t.css(P||(P=M(["\n font-weight: ",";\n strong,\n b {\n font-weight: ",";\n }\n "])),Q.default[s],Q.strong[s]);return N.default.createElement(f,D({className:t.cx(W,_[h],$[u],m,i)},p))}));V.displayName="Body";var X,Y,Z,ee,ne=t.css(O||(O=M(["\n font-family: ",";\n font-weight: normal;\n margin-top: 0;\n margin-bottom: 0;\n"])),l.fontFamilies.default),te=(z(j={},o.Theme.Light,t.css(C||(C=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(j,o.Theme.Dark,t.css(L||(L=M(["\n color: ",";\n "])),i.palette.gray.light1)),j),ae=(z(q={},o.Theme.Light,t.css(H||(H=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(q,o.Theme.Dark,t.css(I||(I=M(["\n color: ",";\n "])),i.palette.gray.base)),q),re=(z(U={},l.BaseFontSize.Body1,t.css(A||(A=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(U,l.BaseFontSize.Body2,t.css(R||(R=M(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),l.typeScales.body2.fontSize)),U),oe=["baseFontSize","darkMode","disabled","children","className"],ie=function(e){var n=e.baseFontSize,r=e.darkMode,o=e.disabled,i=void 0!==o&&o,l=e.children,s=e.className,c=T(e,oe),d=a.useDarkMode(r).theme,p=G(n);return N.default.createElement("p",D({className:t.cx(ne,te[d],re[p],z({},ae[d],i),s)},c),l)};ie.displayName="Description";var le,se,ce,de,pe=(z(Z={},o.Theme.Light,t.css(X||(X=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(Z,o.Theme.Dark,t.css(Y||(Y=M(["\n color: ",";\n "])),i.palette.gray.light1)),Z),ue=t.css(ee||(ee=M(["\n display: block;\n font-size: 11px;\n line-height: 16px;\n letter-spacing: 0.2px;\n"]))),he=["darkMode","children","className"];function fe(e){var n=e.darkMode,r=e.children,o=e.className,i=T(e,he),l=a.useDarkMode(n).theme;return N.default.createElement("small",D({},i,{className:t.cx(W,ue,pe[l],o)}),r)}fe.displayName="Disclaimer";var me,ge,ye,be,xe,ve,ke,Ne,Se=t.css(le||(le=M(["\n font-family: ",";\n font-weight: normal;\n font-size: inherit;\n line-height: inherit;\n\n // Unsets browser default margins\n margin-block-start: 0;\n margin-block-end: 0;\n"])),l.fontFamilies.default),Fe=(z(de={},o.Theme.Light,t.css(se||(se=M(["\n color: ",";\n "])),i.palette.red.base)),z(de,o.Theme.Dark,t.css(ce||(ce=M(["\n color: ",";\n "])),i.palette.red.light1)),de),we=["as","darkMode","children","className"],ze=r.Polymorphic((function(e){var n=e.as,o=void 0===n?"p":n,i=e.darkMode,l=e.children,s=e.className,c=T(e,we),d=a.useDarkMode(i).theme,p=r.usePolymorphic(o).Component;return N.default.createElement(p,D({},c,{className:t.cx(Se,Fe[d],s)}),l)})),De=t.css(me||(me=M(["\n font-weight: 400;\n font-size: 48px;\n line-height: 62px;\n font-family: ",";\n"])),l.fontFamilies.serif),Te=(z(be={},o.Theme.Light,t.css(ge||(ge=M(["\n color: ",";\n "])),i.palette.green.dark2)),z(be,o.Theme.Dark,t.css(ye||(ye=M(["\n color: ",";\n "])),i.palette.green.light1)),be),Me=["darkMode","className","as"],Be=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h1":i,s=T(e,Me),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,De,Te[c],o)},s))}));Be.displayName="H1";var Ee,Pe=t.css(xe||(xe=M(["\n font-size: 32px;\n line-height: 40px;\n font-weight: 400;\n font-family: ",";\n"])),l.fontFamilies.serif),Oe=(z(Ne={},o.Theme.Light,t.css(ve||(ve=M(["\n color: ",";\n "])),i.palette.green.dark2)),z(Ne,o.Theme.Dark,t.css(ke||(ke=M(["\n color: ",";\n "])),i.palette.green.light1)),Ne),Ce=["darkMode","className","as"],Le=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h2":i,s=T(e,Ce),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,Pe,Oe[c],o)},s))}));Le.displayName="H2";var je,He,Ie,qe,Ae,Re,Ue,We,_e,Ke,$e,Ge,Je,Qe=t.css(Ee||(Ee=M(["\n font-size: 24px;\n line-height: 32px;\n font-weight: 500;\n"]))),Ve=["darkMode","className","as"],Xe=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h3":i,s=T(e,Ve),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,Qe,$[c],o)},s))}));Xe.displayName="H3";var Ye,Ze,en,nn,tn=o.createUniqueClassName(),an=t.css(je||(je=M(["\n display: inline;\n transition: all 0.15s ease-in-out;\n border-radius: 3px;\n font-family: ",";\n line-height: 20px;\n\n .",":hover > & {\n text-decoration: none;\n }\n"])),l.fontFamilies.code,tn),rn=(z(qe={},o.Theme.Light,t.css(He||(He=M(["\n background-color: ",";\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),i.palette.gray.light3,i.palette.gray.light2,i.palette.gray.dark3,tn,i.palette.gray.light2,i.palette.gray.light1)),z(qe,o.Theme.Dark,t.css(Ie||(Ie=M(["\n background-color: transparent;\n border: 1px solid ",";\n color: ",";\n\n .",":hover > & {\n box-shadow: 0 0 0 3px ",";\n border: 1px solid ",";\n }\n "])),i.palette.gray.dark2,i.palette.gray.light1,tn,i.palette.gray.dark2,i.palette.gray.dark1)),qe),on=(z(Ue={},o.Theme.Light,t.css(Ae||(Ae=M(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),tn,l.focusRing[o.Theme.Light].default,i.palette.blue.base)),z(Ue,o.Theme.Dark,t.css(Re||(Re=M(["\n .",":focus-visible > & {\n box-shadow: ",";\n border: 1px solid ",";\n }\n "])),tn,l.focusRing[o.Theme.Dark].default,i.palette.blue.base)),Ue),ln=(z(Ke={},o.Theme.Light,t.css(We||(We=M(["\n color: ",";\n "])),i.palette.blue.base)),z(Ke,o.Theme.Dark,t.css(_e||(_e=M(["\n color: ",";\n "])),i.palette.blue.light1)),Ke),sn=t.css($e||($e=M(["\n text-decoration: none;\n margin: 0;\n padding: 0;\n line-height: 20px;\n\n &:focus {\n outline: none;\n }\n"]))),cn=t.css(Ge||(Ge=M(["\n white-space: nowrap;\n"]))),dn=t.css(Je||(Je=M(["\n white-space: normal;\n"]))),pn=["children","className","darkMode","baseFontSize","as"],un=r.InferredPolymorphic((function(e,n){var o,i,l=e.children,s=e.className,c=e.darkMode,d=e.baseFontSize,p=e.as,u=T(e,pn),h=a.useDarkMode(c).theme,f=G(d),m=r.useInferredPolymorphic(p,u,"code").Component,g=(null!==(o="string"==typeof l&&(null===(i=l.match(/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g))||void 0===i?void 0:i.length))&&void 0!==o?o:0)<=30?cn:dn,y="code"!==m,b=N.default.createElement("code",{ref:n,className:t.cx(K[f],an,rn[h],on[h],g,z({},ln[h],y),s)},l);return y?N.default.createElement(m,D({className:t.cx(tn,sn,s)},u),b):N.default.cloneElement(b,u)}));un.displayName="InlineCode",un.propTypes={children:S.default.node,className:S.default.string,darkMode:S.default.bool,baseFontSize:S.default.oneOf(Object.values(l.BaseFontSize))};var hn,fn,mn,gn,yn,bn,xn,vn,kn,Nn,Sn=t.css(Ye||(Ye=M(["\n font-family: ",";\n border: 1px solid;\n border-radius: 3px;\n padding-left: 5px;\n padding-right: 5px;\n"])),l.fontFamilies.code),Fn=(z(nn={},o.Theme.Light,t.css(Ze||(Ze=M(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),i.palette.black,i.palette.gray.dark3,i.palette.white)),z(nn,o.Theme.Dark,t.css(en||(en=M(["\n color: ",";\n border-color: ",";\n background-color: ",";\n "])),i.palette.gray.light2,i.palette.gray.base,i.palette.gray.dark3)),nn),wn=["baseFontSize","darkMode","children","className"];function zn(e){var n=e.baseFontSize,r=e.darkMode,o=e.children,i=e.className,l=T(e,wn),s=G(n),c=a.useDarkMode(r).theme;return N.default.createElement("code",D({className:t.cx(Sn,Fn[c],K[s],i)},l),o)}zn.displayName="InlineKeyCode";var Dn,Tn,Mn,Bn,En,Pn,On,Cn,Ln,jn,Hn,In,qn=t.css(hn||(hn=M(["\n font-family: ",";\n font-weight: bold;\n"])),l.fontFamilies.default),An=(z(gn={},o.Theme.Light,t.css(fn||(fn=M(["\n color: ",";\n "])),i.palette.black)),z(gn,o.Theme.Dark,t.css(mn||(mn=M(["\n color: ",";\n "])),i.palette.gray.light2)),gn),Rn=(z(xn={},o.Theme.Light,t.css(yn||(yn=M(["\n color: ",";\n "])),i.palette.gray.dark1)),z(xn,o.Theme.Dark,t.css(bn||(bn=M(["\n color: ",";\n "])),i.palette.gray.base)),xn),Un=(z(Nn={},l.BaseFontSize.Body1,t.css(vn||(vn=M(["\n font-size: ","px;\n line-height: ","px;\n "])),l.typeScales.body1.fontSize,l.typeScales.body1.lineHeight)),z(Nn,l.BaseFontSize.Body2,t.css(kn||(kn=M(["\n font-size: ","px;\n line-height: 20px; // Hardcoding because it does not match body2 lineHeight\n "])),l.typeScales.body2.fontSize)),Nn),Wn=["baseFontSize","darkMode","className","children","disabled","as"],_n=r.Polymorphic((function(e){var n=e.baseFontSize,o=e.darkMode,i=e.className,l=e.children,s=e.disabled,c=void 0!==s&&s,d=e.as,p=void 0===d?"label":d,u=T(e,Wn),h=a.useDarkMode(o).theme,f=G(n),m=r.usePolymorphic(p).Component;return N.default.createElement(m,D({className:t.cx(qn,An[h],Un[f],z({},Rn[h],c),i)},u),l)}));_n.displayName="Label";var Kn,$n,Gn=o.createUniqueClassName(),Jn=t.css(Dn||(Dn=M(["\n &:hover,\n &:focus,\n &:visited {\n text-decoration: none;\n }\n"]))),Qn=t.css(Tn||(Tn=M(["\n font-family: ",";\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n line-height: 13px;\n\n &:focus {\n outline: none;\n }\n"])),l.fontFamilies.default),Vn=(z(En={},o.Theme.Light,t.css(Mn||(Mn=M(["\n color: ",";\n font-weight: 400;\n "])),i.palette.blue.base)),z(En,o.Theme.Dark,t.css(Bn||(Bn=M(["\n color: ",";\n font-weight: 700;\n "])),i.palette.blue.light1)),En),Xn=t.css(Pn||(Pn=M(["\n position: relative;\n &::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 2px;\n bottom: -4px;\n left: 0;\n border-radius: 2px;\n }\n\n .",":focus & {\n &::after {\n background-color: ",";\n }\n }\n"])),Gn,i.palette.blue.light1),Yn=(z(Ln={},o.Theme.Light,t.css(On||(On=M(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),Gn,i.palette.gray.light2)),z(Ln,o.Theme.Dark,t.css(Cn||(Cn=M(["\n .",":hover & {\n &::after {\n background-color: ",";\n }\n }\n "])),Gn,i.palette.gray.dark2)),Ln),Zn=t.css(jn||(jn=M(["\n transform: translate3d(3px, 0, 0);\n"]))),et=t.css(Hn||(Hn=M(["\n opacity: 0;\n transform: translate3d(-3px, 0, 0);\n transition: all 100ms ease-in;\n\n .",":hover & {\n opacity: 1;\n transform: translate3d(3px, 0, 0);\n }\n"])),Gn),nt=t.css(In||(In=M(["\n position: relative;\n bottom: 4px;\n left: -1px;\n height: 12px;\n"]))),tt="hover",at="persist",rt="none",ot=["children","className","arrowAppearance","hideExternalIcon","baseFontSize","darkMode","as"],it=r.InferredPolymorphic((function(e){var o=e.children,i=e.className,l=e.arrowAppearance,s=void 0===l?rt:l,c=e.hideExternalIcon,d=void 0!==c&&c,p=e.baseFontSize,u=e.darkMode,h=e.as,f=T(e,ot),m=B(n.useState(""),2),g=m[0],y=m[1];n.useEffect((function(){y(window.location.hostname)}),[]);var b,x=a.useDarkMode(u).theme,v=G(p),k=r.useInferredPolymorphic(h,f,"span").Component,S=n.useMemo((function(){if(void 0!==f.href){return/^http(s)?:\/\//.test(f.href)?new URL(f.href).hostname:g}}),[f,g]),M={target:void 0,rel:void 0};if(f.target||f.rel?(M.target=f.target,M.rel=f.rel):"a"===k&&(S===g?M.target="_self":(M.target="_blank",M.rel="noopener noreferrer")),"_blank"!==M.target||d){if(s!==rt){var E;b=N.default.createElement(F.default,{role:"presentation",size:12,className:t.cx((E={},z(E,et,s===tt),z(E,Zn,s===at),E))})}}else b=N.default.createElement(w.default,{role:"presentation",className:nt});return N.default.createElement(k,D({className:t.cx(Gn,Jn,_[v],Qn,Vn[x],i)},M,f),N.default.createElement("span",{className:t.cx(Xn,Yn[x])},o),b)})),lt=t.css(Kn||(Kn=M(["\n font-size: 12px;\n font-weight: 700;\n text-transform: uppercase;\n line-height: 20px;\n letter-spacing: 0.4px;\n"]))),st=["darkMode","className","as"],ct=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"div":i,s=T(e,st),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,lt,$[c],o)},s))}));ct.displayName="Overline";var dt=t.css($n||($n=M(["\n font-size: 18px;\n line-height: 24px;\n font-weight: 700;\n"]))),pt=["darkMode","className","as"],ut=r.Polymorphic((function(e){var n=e.darkMode,o=e.className,i=e.as,l=void 0===i?"h6":i,s=T(e,pt),c=a.useDarkMode(n).theme,d=r.usePolymorphic(l).Component;return N.default.createElement(d,D({className:t.cx(W,dt,$[c],o)},s))}));ut.displayName="Subtitle";var ht,ft,mt=["as","children","maxFontWeight","pseudoElement","className"],gt=function(e){var n=e.pseudoElement,a=e.maxFontWeight,r="&:".concat(n);return t.css(ht||(ht=M(["\n /* Inherit relevant properties from the parent */\n font-weight: inherit;\n font-size: inherit;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n position: relative;\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n text-decoration: none;\n min-width: 0;\n max-width: 100%;\n\n "," {\n content: attr(data-text);\n height: 0;\n font-weight: ",";\n visibility: hidden;\n overflow: hidden;\n user-select: none;\n pointer-events: none;\n }\n "])),r,a)},yt=t.css(ft||(ft=M(["\n flex: 1;\n min-width: 0;\n max-width: 100%;\n\n white-space: inherit;\n overflow: inherit;\n text-overflow: inherit;\n"])));e.Body=V,e.Description=ie,e.Disclaimer=fe,e.Error=ze,e.H1=Be,e.H2=Le,e.H3=Xe,e.InlineCode=un,e.InlineKeyCode=zn,e.Label=_n,e.Link=it,e.Overline=ct,e.StaticWidthText=function(e){var n=e.as,a=e.children,i=e.maxFontWeight,l=void 0===i?700:i,s=e.pseudoElement,c=void 0===s?"after":s,d=e.className,p=T(e,mt),u=o.getNodeTextContent(a);return N.default.createElement(r.Polymorph,D({className:t.cx(gt({pseudoElement:c,maxFontWeight:l}),d),as:null!=n?n:"span","data-text":u},p),N.default.createElement("span",{className:yt},a))},e.Subtitle=ut,e.anchorClassName=Gn,e.bodyTypeScaleStyles=_,e.labelTypeScaleStyles=Un,e.useUpdatedBaseFontSize=G,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.js.map

@@ -1,5 +0,4 @@

import React from 'react';
import { InlineCodeProps } from './InlineCode.types';
declare const InlineCode: React.ForwardRefExoticComponent<Pick<InlineCodeProps, "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "darkMode" | "baseFontSize" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "type" | "referrerPolicy"> & React.RefAttributes<HTMLElement>>;
declare const InlineCode: import("@leafygreen-ui/polymorphic").InferredPolymorphicComponentType<InlineCodeProps, "code">;
export default InlineCode;
//# sourceMappingURL=InlineCode.d.ts.map
import { Theme } from '@leafygreen-ui/lib';
export declare const anchorClassName: string;
export declare const overwriteDefaultStyles: string;
export declare const linkStyles: string;

@@ -4,0 +5,0 @@ export declare const linkModeStyles: Record<Theme, string>;

{
"name": "@leafygreen-ui/typography",
"version": "16.1.0",
"version": "16.2.0",
"description": "leafyGreen UI Kit Typography",

@@ -24,6 +24,6 @@ "main": "./dist/index.js",

"@leafygreen-ui/emotion": "^4.0.3",
"@leafygreen-ui/icon": "^11.12.5",
"@leafygreen-ui/lib": "^10.2.2",
"@leafygreen-ui/palette": "^4.0.0",
"@leafygreen-ui/polymorphic": "^1.2.0",
"@leafygreen-ui/icon": "^11.12.7",
"@leafygreen-ui/lib": "^10.3.1",
"@leafygreen-ui/palette": "^4.0.1",
"@leafygreen-ui/polymorphic": "^1.3.0",
"@leafygreen-ui/tokens": "^2.0.1"

@@ -30,0 +30,0 @@ },

@@ -8,2 +8,10 @@ import { css } from '@leafygreen-ui/emotion';

export const overwriteDefaultStyles = css`
&:hover,
&:focus,
&:visited {
text-decoration: none;
}
`;
export const linkStyles = css`

@@ -10,0 +18,0 @@ font-family: ${fontFamilies.default};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc