@maggioli-design-system/mds-text
Advanced tools
Comparing version 1.4.1 to 2.0.0
@@ -111,3 +111,3 @@ 'use strict'; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--brand-maggioli-08));--selection-color:rgb(var(--brand-maggioli-03))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--adjust-tone-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--adjust-tone-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--label-sky-08));--selection-color:rgb(var(--label-sky-01))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--tone-neutral-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--tone-neutral-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
@@ -114,0 +114,0 @@ const MdsText = class { |
@@ -43,2 +43,7 @@ const typographyDictionary = [ | ||
]; | ||
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, }; | ||
const typographyTooltipDictionary = [ | ||
'caption', | ||
'detail', | ||
'tip', | ||
]; | ||
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, typographyTooltipDictionary, }; |
@@ -107,3 +107,3 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client'; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--brand-maggioli-08));--selection-color:rgb(var(--brand-maggioli-03))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--adjust-tone-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--adjust-tone-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--label-sky-08));--selection-color:rgb(var(--label-sky-01))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--tone-neutral-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--tone-neutral-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
@@ -110,0 +110,0 @@ const MdsText$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement { |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,h,H as Host}from"./index-333d3ec8.js";var typographyDefaultsVariaint={action:{tag:"span",selector:"text-primary-action"},caption:{tag:"span",selector:"text-secondary-caption"},code:{tag:"code",selector:"text-mono-code"},detail:{tag:"p",selector:"text-secondary-detail"},h1:{tag:"h1",selector:"text-primary-h1"},h2:{tag:"h2",selector:"text-primary-h2"},h3:{tag:"h3",selector:"text-primary-h3"},h4:{tag:"h4",selector:"text-primary-h4"},h5:{tag:"h5",selector:"text-primary-h5"},h6:{tag:"h6",selector:"text-primary-h6"},hack:{tag:"code",selector:"text-mono-hack"},label:{tag:"label",selector:"text-secondary-label"},option:{tag:"label",selector:"text-secondary-option"},paragraph:{tag:"p",selector:"text-secondary-paragraph"},tip:{tag:"span",selector:"text-secondary-tip"}};function toVal(t){var e,o,i="";if(typeof t==="string"||typeof t==="number"){i+=t}else if(typeof t==="object"){if(Array.isArray(t)){for(e=0;e<t.length;e++){if(t[e]){if(o=toVal(t[e])){i&&(i+=" ");i+=o}}}}else{for(e in t){if(t[e]){i&&(i+=" ");i+=e}}}}return i}function clsx(){var t=0,e,o,i="";while(t<arguments.length){if(e=arguments[t++]){if(o=toVal(e)){i&&(i+=" ");i+=o}}}return i}var mdsTextCss=".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--brand-maggioli-08));--selection-color:rgb(var(--brand-maggioli-03))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--adjust-tone-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--adjust-tone-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}";var MdsText=function(){function t(t){registerInstance(this,t);this.typography="detail"}t.prototype.render=function(){var t=this.tag!==undefined?this.tag:typographyDefaultsVariaint[this.typography].tag;var e=typographyDefaultsVariaint[this.typography].selector;return h(Host,{class:clsx(e,t)},h(t,{class:"text"},h("slot",null)))};return t}();MdsText.style=mdsTextCss;export{MdsText as mds_text}; | ||
import{r as registerInstance,h,H as Host}from"./index-333d3ec8.js";var typographyDefaultsVariaint={action:{tag:"span",selector:"text-primary-action"},caption:{tag:"span",selector:"text-secondary-caption"},code:{tag:"code",selector:"text-mono-code"},detail:{tag:"p",selector:"text-secondary-detail"},h1:{tag:"h1",selector:"text-primary-h1"},h2:{tag:"h2",selector:"text-primary-h2"},h3:{tag:"h3",selector:"text-primary-h3"},h4:{tag:"h4",selector:"text-primary-h4"},h5:{tag:"h5",selector:"text-primary-h5"},h6:{tag:"h6",selector:"text-primary-h6"},hack:{tag:"code",selector:"text-mono-hack"},label:{tag:"label",selector:"text-secondary-label"},option:{tag:"label",selector:"text-secondary-option"},paragraph:{tag:"p",selector:"text-secondary-paragraph"},tip:{tag:"span",selector:"text-secondary-tip"}};function toVal(t){var e,o,a="";if(typeof t==="string"||typeof t==="number"){a+=t}else if(typeof t==="object"){if(Array.isArray(t)){for(e=0;e<t.length;e++){if(t[e]){if(o=toVal(t[e])){a&&(a+=" ");a+=o}}}}else{for(e in t){if(t[e]){a&&(a+=" ");a+=e}}}}return a}function clsx(){var t=0,e,o,a="";while(t<arguments.length){if(e=arguments[t++]){if(o=toVal(e)){a&&(a+=" ");a+=o}}}return a}var mdsTextCss=".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--label-sky-08));--selection-color:rgb(var(--label-sky-01))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--tone-neutral-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--tone-neutral-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}";var MdsText=function(){function t(t){registerInstance(this,t);this.typography="detail"}t.prototype.render=function(){var t=this.tag!==undefined?this.tag:typographyDefaultsVariaint[this.typography].tag;var e=typographyDefaultsVariaint[this.typography].selector;return h(Host,{class:clsx(e,t)},h(t,{class:"text"},h("slot",null)))};return t}();MdsText.style=mdsTextCss;export{MdsText as mds_text}; |
@@ -107,3 +107,3 @@ import { r as registerInstance, h, H as Host } from './index-333d3ec8.js'; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--brand-maggioli-08));--selection-color:rgb(var(--brand-maggioli-03))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--adjust-tone-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--adjust-tone-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
const mdsTextCss = ".text-primary-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-primary-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-secondary-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-code{font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-mono-hack{font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--selection-background:rgb(var(--label-sky-08));--selection-color:rgb(var(--label-sky-01))}:host::-moz-selection{background-color:var(--selection-background);color:var(--selection-color)}:host::selection{background-color:var(--selection-background);color:var(--selection-color)}:host(.text-primary-h1){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:3rem;line-height:1;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h2){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:2.25rem;line-height:2.5rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h3){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.875rem;line-height:2.25rem;font-weight:800;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h4){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h5){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:1.75rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-h6){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;font-weight:700;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-primary-action){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-paragraph){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-detail){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-caption){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-label){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-tip){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-secondary-option){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:0.625rem;font-weight:700;text-transform:uppercase;line-height:1;letter-spacing:-0.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-code){font-family:'Roboto Mono', monospace;font-size:1rem;line-height:1.5rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host(.text-mono-hack){font-family:'Roboto Mono', monospace;font-size:0.875rem;line-height:1.25rem;line-height:1.625;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text{display:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}:host(.article),:host(.blockquote),:host(.dd),:host(.details),:host(.div),:host(.dl),:host(.dt),:host(.figcaption),:host(.h1),:host(.h2),:host(.h3),:host(.h4),:host(.h5),:host(.h6),:host(.label),:host(.legend),:host(.li),:host(.ol),:host(.p),:host(.pre),:host(.summary),:host(.ul){display:block}:host(.abbr),:host(.address),:host(.b),:host(.bdo),:host(.cite),:host(.code),:host(.del),:host(.dfn),:host(.em),:host(.i),:host(.ins),:host(.kbd),:host(.mark),:host(.q),:host(.rb),:host(.rt),:host(.ruby),:host(.s),:host(.samp),:host(.small),:host(.span),:host(.strong),:host(.sub),:host(.sup),:host(.time),:host(.u),:host(.var){display:inline;line-height:inherit}:host(.code){border-radius:0.25rem;--tw-bg-opacity:1;background-color:rgba(var(--tone-neutral-09), var(--tw-bg-opacity));padding-left:0.25rem;padding-right:0.25rem;--tw-text-opacity:1;color:rgba(var(--tone-neutral-03), var(--tw-text-opacity));transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{margin:0;overflow:inherit;text-overflow:inherit}"; | ||
@@ -110,0 +110,0 @@ const MdsText = class { |
@@ -1,1 +0,1 @@ | ||
import{p as t,b as p}from"./p-8ea18d4b.js";(()=>{const p=import.meta.url,r={};return""!==p&&(r.resourcesUrl=new URL(".",p).href),t(r)})().then((t=>p([["p-0db8ec83",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t))); | ||
import{p as t,b as p}from"./p-8ea18d4b.js";(()=>{const p=import.meta.url,a={};return""!==p&&(a.resourcesUrl=new URL(".",p).href),t(a)})().then((t=>p([["p-41a96874",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t))); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-5a8373da.system.js"],(function(t,e){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b}],execute:function(){var t=function(){var t=e.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return r(n)};t().then((function(t){return n([["p-910418d9.system",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t)}))}}})); | ||
System.register(["./p-5a8373da.system.js"],(function(t,e){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b}],execute:function(){var t=function(){var t=e.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return r(n)};t().then((function(t){return n([["p-a85398ea.system",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t)}))}}})); |
{ | ||
"timestamp": "2022-06-09T14:43:24", | ||
"timestamp": "2022-06-22T09:12:30", | ||
"compiler": { | ||
@@ -79,17 +79,17 @@ "name": "node", | ||
"./dist/mds-text/mds-text.js", | ||
"./dist/mds-text/p-0db8ec83.entry.js", | ||
"./dist/mds-text/p-101933fc.system.js", | ||
"./dist/mds-text/p-41a96874.entry.js", | ||
"./dist/mds-text/p-50ea2036.system.js", | ||
"./dist/mds-text/p-5a8373da.system.js", | ||
"./dist/mds-text/p-8ea18d4b.js", | ||
"./dist/mds-text/p-910418d9.system.entry.js", | ||
"./dist/mds-text/p-a85398ea.system.entry.js", | ||
"./www/build/index.esm.js", | ||
"./www/build/mds-text.esm.js", | ||
"./www/build/mds-text.js", | ||
"./www/build/p-0db8ec83.entry.js", | ||
"./www/build/p-101933fc.system.js", | ||
"./www/build/p-41a96874.entry.js", | ||
"./www/build/p-50ea2036.system.js", | ||
"./www/build/p-5a8373da.system.js", | ||
"./www/build/p-8ea18d4b.js", | ||
"./www/build/p-910418d9.system.entry.js" | ||
"./www/build/p-a85398ea.system.entry.js" | ||
] | ||
@@ -127,8 +127,8 @@ }, | ||
], | ||
"bundleId": "p-0db8ec83", | ||
"fileName": "p-0db8ec83.entry.js", | ||
"bundleId": "p-41a96874", | ||
"fileName": "p-41a96874.entry.js", | ||
"imports": [ | ||
"p-8ea18d4b.js" | ||
], | ||
"originalByteSize": 12704 | ||
"originalByteSize": 12696 | ||
} | ||
@@ -147,3 +147,3 @@ ], | ||
], | ||
"originalByteSize": 12708 | ||
"originalByteSize": 12700 | ||
} | ||
@@ -162,3 +162,3 @@ ], | ||
], | ||
"originalByteSize": 12708 | ||
"originalByteSize": 12700 | ||
} | ||
@@ -172,8 +172,8 @@ ], | ||
], | ||
"bundleId": "p-910418d9.system", | ||
"fileName": "p-910418d9.system.entry.js", | ||
"bundleId": "p-a85398ea.system", | ||
"fileName": "p-a85398ea.system.entry.js", | ||
"imports": [ | ||
"p-5a8373da.system.js" | ||
], | ||
"originalByteSize": 13599 | ||
"originalByteSize": 13591 | ||
} | ||
@@ -192,3 +192,3 @@ ], | ||
], | ||
"originalByteSize": 12784 | ||
"originalByteSize": 12776 | ||
} | ||
@@ -195,0 +195,0 @@ ] |
@@ -6,2 +6,3 @@ declare const typographyDictionary: string[]; | ||
declare const typographySmallerDictionary: string[]; | ||
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, }; | ||
declare const typographyTooltipDictionary: string[]; | ||
export { typographyDictionary, typographyMonoDictionary, typographyPrimaryDictionary, typographySecondaryDictionary, typographySmallerDictionary, typographyTooltipDictionary, }; |
@@ -6,1 +6,2 @@ export declare type TypographyType = 'action' | 'caption' | 'code' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip'; | ||
export declare type TypographyMonoType = 'code' | 'hack'; | ||
export declare type TypographyTooltipType = 'caption' | 'detail' | 'tip'; |
{ | ||
"name": "@maggioli-design-system/mds-text", | ||
"version": "1.4.1", | ||
"version": "2.0.0", | ||
"description": "mds-text is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.", | ||
@@ -26,4 +26,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@maggioli-design-system/styles": "^6.5.3", | ||
"@stencil/core": "^2.15.2", | ||
"@maggioli-design-system/styles": "^7.0.0", | ||
"@stencil/core": "^2.16.1", | ||
"clsx": "^1.1.1", | ||
@@ -30,0 +30,0 @@ "typeface-karla": "^1.1.13", |
@@ -36,2 +36,3 @@ # mds-text | ||
- [mds-kpi-item](../mds-kpi-item) | ||
- [mds-label](../mds-label) | ||
- [mds-list-item](../mds-list-item) | ||
@@ -43,3 +44,2 @@ - [mds-notification](../mds-notification) | ||
- [mds-tab-bar-item](../mds-tab-bar-item) | ||
- [mds-tag](../mds-tag) | ||
- [mds-toast](../mds-toast) | ||
@@ -69,2 +69,3 @@ - [mds-tooltip](../mds-tooltip) | ||
mds-kpi-item --> mds-text | ||
mds-label --> mds-text | ||
mds-list-item --> mds-text | ||
@@ -76,3 +77,2 @@ mds-notification --> mds-text | ||
mds-tab-bar-item --> mds-text | ||
mds-tag --> mds-text | ||
mds-toast --> mds-text | ||
@@ -79,0 +79,0 @@ mds-tooltip --> mds-text |
@@ -1,12 +0,48 @@ | ||
import { newE2EPage } from '@stencil/core/testing' | ||
import { E2EPage, newE2EPage } from '@stencil/core/testing' | ||
import { TypographyType } from '@type/typography' | ||
describe('mds-text', () => { | ||
it('renders', async () => { | ||
const page = await newE2EPage() | ||
await page.setContent('<mds-text></mds-text>') | ||
const primaryTypes = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'action'] | ||
const secondaryTypes = ['paragraph', 'detail', 'caption', 'label', 'option', 'tip'] | ||
const monoTypes = ['code', 'hack'] | ||
const textContent = 'Test text' | ||
let page: E2EPage | ||
beforeEach(async () => { | ||
page = await newE2EPage() | ||
await page.setContent(`<mds-text>${textContent}</mds-text>`) | ||
}) | ||
it('renders default', async () => { | ||
const element = await page.find('mds-text') | ||
// expect(element).toHaveClass('hydrated') | ||
expect(true).toBe(true) | ||
expect(element).toHaveClass('hydrated') | ||
expect(element).toHaveClass('text-secondary-detail') | ||
expect(element.textContent).toEqual(textContent) | ||
}) | ||
it.each(primaryTypes)('renders primary %s', async (typography: TypographyType) => { | ||
await setTypography(page, typography) | ||
const element = await page.find('mds-text') | ||
expect(element).toHaveClass(`text-primary-${typography}`) | ||
}) | ||
it.each(secondaryTypes)('renders secondary %s', async (typography: TypographyType) => { | ||
await setTypography(page, typography) | ||
const element = await page.find('mds-text') | ||
expect(element).toHaveClass(`text-secondary-${typography}`) | ||
}) | ||
it.each(monoTypes)('renders mono %s', async (typography: TypographyType) => { | ||
await setTypography(page, typography) | ||
const element = await page.find('mds-text') | ||
expect(element).toHaveClass(`text-mono-${typography}`) | ||
}) | ||
async function setTypography (page: E2EPage, typography: TypographyType): Promise<void> { | ||
await page.$eval('mds-text', (elem: HTMLMdsTextElement, typography: TypographyType) => { | ||
elem.typography = typography | ||
}, typography) | ||
return page.waitForChanges() | ||
} | ||
}) |
@@ -48,2 +48,8 @@ const typographyDictionary = [ | ||
const typographyTooltipDictionary = [ | ||
'caption', | ||
'detail', | ||
'tip', | ||
] | ||
export { | ||
@@ -55,2 +61,3 @@ typographyDictionary, | ||
typographySmallerDictionary, | ||
typographyTooltipDictionary, | ||
} |
@@ -42,1 +42,6 @@ export type TypographyType = | ||
| 'hack' | ||
export type TypographyTooltipType = | ||
| 'caption' | ||
| 'detail' | ||
| 'tip' |
@@ -1,1 +0,1 @@ | ||
import{p as t,b as p}from"./p-8ea18d4b.js";(()=>{const p=import.meta.url,r={};return""!==p&&(r.resourcesUrl=new URL(".",p).href),t(r)})().then((t=>p([["p-0db8ec83",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t))); | ||
import{p as t,b as p}from"./p-8ea18d4b.js";(()=>{const p=import.meta.url,a={};return""!==p&&(a.resourcesUrl=new URL(".",p).href),t(a)})().then((t=>p([["p-41a96874",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t))); |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-5a8373da.system.js"],(function(t,e){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b}],execute:function(){var t=function(){var t=e.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return r(n)};t().then((function(t){return n([["p-910418d9.system",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t)}))}}})); | ||
System.register(["./p-5a8373da.system.js"],(function(t,e){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b}],execute:function(){var t=function(){var t=e.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return r(n)};t().then((function(t){return n([["p-a85398ea.system",[[1,"mds-text",{tag:[1],typography:[1]}]]]],t)}))}}})); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
757786
9190
+ Added@maggioli-design-system/design-tokens@7.0.0(transitive)
+ Added@maggioli-design-system/styles@7.0.0(transitive)
- Removed@maggioli-design-system/design-tokens@6.4.1(transitive)
- Removed@maggioli-design-system/styles@6.5.4(transitive)
Updated@stencil/core@^2.16.1