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

@maggioli-design-system/mds-text

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-text - npm Package Compare versions

Comparing version 3.4.2 to 3.4.3

dist/cjs/index-62f6b55c.js

2

dist/cjs/loader.cjs.js

@@ -5,3 +5,3 @@ 'use strict';

const index = require('./index-d7d88336.js');
const index = require('./index-62f6b55c.js');

@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => {

@@ -5,3 +5,3 @@ 'use strict';

const index = require('./index-d7d88336.js');
const index = require('./index-62f6b55c.js');

@@ -8,0 +8,0 @@ const typographyDefaultsVariant = {

@@ -5,6 +5,6 @@ 'use strict';

const index = require('./index-d7d88336.js');
const index = require('./index-62f6b55c.js');
/*
Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
*/

@@ -11,0 +11,0 @@ const patchBrowser = () => {

@@ -7,4 +7,4 @@ {

"name": "@stencil/core",
"version": "4.3.0",
"typescriptVersion": "5.1.6"
"version": "4.5.0",
"typescriptVersion": "5.2.2"
},

@@ -11,0 +11,0 @@ "collections": [],

@@ -29,3 +29,3 @@ export class KeyboardManager {

this.escapeCallback = callBack;
if (typeof window !== undefined) {
if (window !== undefined) {
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));

@@ -36,3 +36,3 @@ }

this.escapeCallback = () => { return; };
if (typeof window !== undefined) {
if (window !== undefined) {
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));

@@ -39,0 +39,0 @@ }

{
"timestamp": "2023-09-27T11:31:20",
"timestamp": "2023-10-19T10:00:12",
"compiler": {
"name": "@stencil/core",
"version": "4.3.0",
"typescriptVersion": "5.1.6"
"version": "4.5.0",
"typescriptVersion": "5.2.2"
},

@@ -8,0 +8,0 @@ "components": [

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

import{b as bootstrapLazy}from"./index-378635c4.js";export{s as setNonce}from"./index-378635c4.js";var defineCustomElements=function(t,e){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-text",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],e)};export{defineCustomElements};
import{b as bootstrapLazy}from"./index-9abad6ee.js";export{s as setNonce}from"./index-9abad6ee.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-text",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],t)};export{defineCustomElements};

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

import{r as registerInstance,h,H as Host}from"./index-378635c4.js";var typographyDefaultsVariant={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var mdsTextCss=".text-title-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:48px;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:36px;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:30px;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:24px;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:10px;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-paragraph{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:20px;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-detail{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:16px;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-caption{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-code-snippet{font-family:'Roboto Mono', monospace;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-code-hack{font-family:'Roboto Mono', monospace;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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{--mds-text-selection-background:rgb(var(--label-sky-09));--mds-text-selection-color:rgb(var(--label-sky-01));display:-ms-flexbox;display:flex;min-width:0}.text::-moz-selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text::selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text{display:inherit}:host([typography=\"snippet\"]){font-family:'Roboto Mono', monospace;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"hack\"]){font-family:'Roboto Mono', monospace;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h1\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:48px;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h2\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:36px;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h3\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:30px;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h4\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:24px;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h5\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h6\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"action\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"paragraph\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"detail\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"caption\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"label\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"tip\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"option\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:10px;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"paragraph\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:20px;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"detail\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:16px;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"caption\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([tag=\"article\"]),:host([tag=\"blockquote\"]),:host([tag=\"dd\"]),:host([tag=\"details\"]),:host([tag=\"div\"]),:host([tag=\"dl\"]),:host([tag=\"dt\"]),:host([tag=\"figcaption\"]),:host([tag=\"h1\"]),:host([tag=\"h2\"]),:host([tag=\"h3\"]),:host([tag=\"h4\"]),:host([tag=\"h5\"]),:host([tag=\"h6\"]),:host([tag=\"label\"]),:host([tag=\"legend\"]),:host([tag=\"li\"]),:host([tag=\"ol\"]),:host([tag=\"p\"]),:host([tag=\"pre\"]),:host([tag=\"summary\"]),:host([tag=\"ul\"]){display:block}:host([tag=\"abbr\"]),:host([tag=\"address\"]),:host([tag=\"b\"]),:host([tag=\"bdo\"]),:host([tag=\"cite\"]),:host([tag=\"code\"]),:host([tag=\"del\"]),:host([tag=\"dfn\"]),:host([tag=\"em\"]),:host([tag=\"i\"]),:host([tag=\"ins\"]),:host([tag=\"kbd\"]),:host([tag=\"mark\"]),:host([tag=\"q\"]),:host([tag=\"rb\"]),:host([tag=\"rt\"]),:host([tag=\"ruby\"]),:host([tag=\"s\"]),:host([tag=\"samp\"]),:host([tag=\"small\"]),:host([tag=\"span\"]),:host([tag=\"strong\"]),:host([tag=\"sub\"]),:host([tag=\"sup\"]),:host([tag=\"time\"]),:host([tag=\"u\"]),:host([tag=\"var\"]){display:inline}:host([tag=\"code\"]){border-radius:0.25rem;padding-left:0.25rem;padding-right:0.25rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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;background-color:rgb(var(--tone-neutral-09));color:rgb(var(--tone-neutral-03))}:host([truncate]:not([truncate=\"false\"])){display:-ms-flexbox;display:flex}:host([truncate]:not([truncate=\"false\"])) .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-ms-flex-positive:1;flex-grow:1;min-width:0}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{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}";var MdsText=function(){function t(t){registerInstance(this,t);this.tag=undefined;this.truncate=undefined;this.typography="detail";this.variant=undefined}t.prototype.render=function(){var t;var e=typographyDefaultsVariant[this.typography].tag;this.tag=(t=this.tag)!==null&&t!==void 0?t:e;return h(Host,null,h(this.tag,{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-9abad6ee.js";var typographyDefaultsVariant={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var mdsTextCss=".text-title-h1{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:48px;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h2{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:36px;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h3{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:30px;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h4{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:24px;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h5{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-h6{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-title-action{font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-paragraph{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-detail{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-caption{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-label{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-option{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:10px;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-info-tip{font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-paragraph{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:20px;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-detail{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:16px;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-read-caption{font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-code-snippet{font-family:'Roboto Mono', monospace;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.text-code-hack{font-family:'Roboto Mono', monospace;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fixed{position:fixed}.absolute{position:absolute}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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{--mds-text-selection-background:rgb(var(--label-sky-09));--mds-text-selection-color:rgb(var(--label-sky-01));display:-ms-flexbox;display:flex;min-width:0}.text::-moz-selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text::selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text{display:inherit}:host([typography=\"snippet\"]){font-family:'Roboto Mono', monospace;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"hack\"]){font-family:'Roboto Mono', monospace;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h1\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:48px;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h2\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:36px;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h3\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:30px;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h4\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:24px;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h5\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"h6\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"action\"]){font-family:Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"paragraph\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:20px;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"detail\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:16px;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"caption\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"label\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"tip\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:12px;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"option\"]){font-family:Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;font-size:10px;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"paragraph\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:20px;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"detail\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:16px;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=\"caption\"][variant=\"read\"]){font-family:'Merriweather', Times, 'Times New Roman', serif;font-size:14px;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([tag=\"article\"]),:host([tag=\"blockquote\"]),:host([tag=\"dd\"]),:host([tag=\"details\"]),:host([tag=\"div\"]),:host([tag=\"dl\"]),:host([tag=\"dt\"]),:host([tag=\"figcaption\"]),:host([tag=\"h1\"]),:host([tag=\"h2\"]),:host([tag=\"h3\"]),:host([tag=\"h4\"]),:host([tag=\"h5\"]),:host([tag=\"h6\"]),:host([tag=\"label\"]),:host([tag=\"legend\"]),:host([tag=\"li\"]),:host([tag=\"ol\"]),:host([tag=\"p\"]),:host([tag=\"pre\"]),:host([tag=\"summary\"]),:host([tag=\"ul\"]){display:block}:host([tag=\"abbr\"]),:host([tag=\"address\"]),:host([tag=\"b\"]),:host([tag=\"bdo\"]),:host([tag=\"cite\"]),:host([tag=\"code\"]),:host([tag=\"del\"]),:host([tag=\"dfn\"]),:host([tag=\"em\"]),:host([tag=\"i\"]),:host([tag=\"ins\"]),:host([tag=\"kbd\"]),:host([tag=\"mark\"]),:host([tag=\"q\"]),:host([tag=\"rb\"]),:host([tag=\"rt\"]),:host([tag=\"ruby\"]),:host([tag=\"s\"]),:host([tag=\"samp\"]),:host([tag=\"small\"]),:host([tag=\"span\"]),:host([tag=\"strong\"]),:host([tag=\"sub\"]),:host([tag=\"sup\"]),:host([tag=\"time\"]),:host([tag=\"u\"]),:host([tag=\"var\"]){display:inline}:host([tag=\"code\"]){border-radius:0.25rem;padding-left:0.25rem;padding-right:0.25rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;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;background-color:rgb(var(--tone-neutral-09));color:rgb(var(--tone-neutral-03))}:host([truncate]:not([truncate=\"false\"])){display:-ms-flexbox;display:flex}:host([truncate]:not([truncate=\"false\"])) .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-ms-flex-positive:1;flex-grow:1;min-width:0}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{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}";var MdsText=function(){function t(t){registerInstance(this,t);this.tag=undefined;this.truncate=undefined;this.typography="detail";this.variant=undefined}t.prototype.render=function(){var t;var e=typographyDefaultsVariant[this.typography].tag;this.tag=(t=this.tag)!==null&&t!==void 0?t:e;return h(Host,null,h(this.tag,{class:"text"},h("slot",null)))};return t}();MdsText.style=mdsTextCss;export{MdsText as mds_text};

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

import{p as promiseResolve,b as bootstrapLazy}from"./index-378635c4.js";export{s as setNonce}from"./index-378635c4.js";var patchBrowser=function(){var r=import.meta.url;var t={};if(r!==""){t.resourcesUrl=new URL(".",r).href}return promiseResolve(t)};patchBrowser().then((function(r){return bootstrapLazy([["mds-text",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],r)}));
import{p as promiseResolve,b as bootstrapLazy}from"./index-9abad6ee.js";export{s as setNonce}from"./index-9abad6ee.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return bootstrapLazy([["mds-text",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],e)}));

@@ -1,3 +0,3 @@

import { b as bootstrapLazy } from './index-378635c4.js';
export { s as setNonce } from './index-378635c4.js';
import { b as bootstrapLazy } from './index-9abad6ee.js';
export { s as setNonce } from './index-9abad6ee.js';

@@ -4,0 +4,0 @@ const defineCustomElements = (win, options) => {

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

import { r as registerInstance, h, H as Host } from './index-378635c4.js';
import { r as registerInstance, h, H as Host } from './index-9abad6ee.js';

@@ -3,0 +3,0 @@ const typographyDefaultsVariant = {

@@ -1,6 +0,6 @@

import { p as promiseResolve, b as bootstrapLazy } from './index-378635c4.js';
export { s as setNonce } from './index-378635c4.js';
import { p as promiseResolve, b as bootstrapLazy } from './index-9abad6ee.js';
export { s as setNonce } from './index-9abad6ee.js';
/*
Stencil Client Patch Browser v4.3.0 | MIT Licensed | https://stenciljs.com
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
*/

@@ -7,0 +7,0 @@ const patchBrowser = () => {

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

import{p as t,b as a}from"./p-df2f9afe.js";export{s as setNonce}from"./p-df2f9afe.js";(()=>{const a=import.meta.url,e={};return""!==a&&(e.resourcesUrl=new URL(".",a).href),t(e)})().then((t=>a([["p-bed6ca83",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],t)));
import{p as t,b as a}from"./p-076cc865.js";export{s as setNonce}from"./p-076cc865.js";(()=>{const a=import.meta.url,r={};return""!==a&&(r.resourcesUrl=new URL(".",a).href),t(r)})().then((t=>a([["p-414bea80",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],t)));
{
"timestamp": "2023-09-27T11:31:20",
"timestamp": "2023-10-19T10:00:13",
"compiler": {

@@ -63,3 +63,3 @@ "name": "node",

"generatedFiles": [
"./dist/cjs/index-d7d88336.js",
"./dist/cjs/index-62f6b55c.js",
"./dist/cjs/index.cjs.js",

@@ -69,3 +69,3 @@ "./dist/cjs/loader.cjs.js",

"./dist/cjs/mds-text.cjs.js",
"./dist/esm-es5/index-378635c4.js",
"./dist/esm-es5/index-9abad6ee.js",
"./dist/esm-es5/index.js",

@@ -75,3 +75,3 @@ "./dist/esm-es5/loader.js",

"./dist/esm-es5/mds-text.js",
"./dist/esm/index-378635c4.js",
"./dist/esm/index-9abad6ee.js",
"./dist/esm/index.js",

@@ -86,17 +86,17 @@ "./dist/esm/loader.js",

"./dist/mds-text/mds-text.js",
"./dist/mds-text/p-36791b72.system.js",
"./dist/mds-text/p-076cc865.js",
"./dist/mds-text/p-414bea80.entry.js",
"./dist/mds-text/p-50ea2036.system.js",
"./dist/mds-text/p-706b756c.system.entry.js",
"./dist/mds-text/p-bed6ca83.entry.js",
"./dist/mds-text/p-df2f9afe.js",
"./dist/mds-text/p-e940fd8e.system.js",
"./dist/mds-text/p-837c6db3.system.entry.js",
"./dist/mds-text/p-befa88cd.system.js",
"./dist/mds-text/p-e2e01f1d.system.js",
"./www/build/index.esm.js",
"./www/build/mds-text.esm.js",
"./www/build/mds-text.js",
"./www/build/p-36791b72.system.js",
"./www/build/p-076cc865.js",
"./www/build/p-414bea80.entry.js",
"./www/build/p-50ea2036.system.js",
"./www/build/p-706b756c.system.entry.js",
"./www/build/p-bed6ca83.entry.js",
"./www/build/p-df2f9afe.js",
"./www/build/p-e940fd8e.system.js"
"./www/build/p-837c6db3.system.entry.js",
"./www/build/p-befa88cd.system.js",
"./www/build/p-e2e01f1d.system.js"
]

@@ -134,6 +134,6 @@ },

],
"bundleId": "p-bed6ca83",
"fileName": "p-bed6ca83.entry.js",
"bundleId": "p-414bea80",
"fileName": "p-414bea80.entry.js",
"imports": [
"p-df2f9afe.js"
"p-076cc865.js"
],

@@ -152,3 +152,3 @@ "originalByteSize": 14777

"imports": [
"index-378635c4.js"
"index-9abad6ee.js"
],

@@ -167,3 +167,3 @@ "originalByteSize": 14781

"imports": [
"index-378635c4.js"
"index-9abad6ee.js"
],

@@ -179,6 +179,6 @@ "originalByteSize": 14781

],
"bundleId": "p-706b756c.system",
"fileName": "p-706b756c.system.entry.js",
"bundleId": "p-837c6db3.system",
"fileName": "p-837c6db3.system.entry.js",
"imports": [
"p-36791b72.system.js"
"p-e2e01f1d.system.js"
],

@@ -197,3 +197,3 @@ "originalByteSize": 15750

"imports": [
"index-d7d88336.js"
"index-62f6b55c.js"
],

@@ -337,2 +337,4 @@ "originalByteSize": 14857

{
"attachInternalsMemberName": null,
"formAssociated": false,
"tagName": "mds-text",

@@ -555,3 +557,3 @@ "excludeFromCollection": false,

"sc-mds-text": [
"p-df2f9afe.js"
"p-076cc865.js"
]

@@ -558,0 +560,0 @@ },

@@ -7,2 +7,12 @@ declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;

/**
* When set to `true` this component will be form-associated. See
* https://stenciljs.com/docs/next/form-associated documentation on how to
* build form-associated Stencil components that integrate into forms like
* native browser elements such as `<input>` and `<textarea>`.
*
* The {@link AttachInternals} decorator allows for access to the
* `ElementInternals` object to modify the associated form.
*/
formAssociated?: boolean;
/**
* Tag name of the web component. Ideally, the tag name must be globally unique,

@@ -111,2 +121,5 @@ * so it's recommended to choose an unique prefix for all your components within the same collection.

}
export interface AttachInternalsDecorator {
(): PropertyDecorator;
}
export interface ListenDecorator {

@@ -181,2 +194,8 @@ (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;

/**
* If the `formAssociated` option is set in options passed to the
* `@Component()` decorator then this decorator may be used to get access to the
* `ElementInternals` instance associated with the component.
*/
export declare const AttachInternals: AttachInternalsDecorator;
/**
* The `Listen()` decorator is for listening DOM events, including the ones

@@ -183,0 +202,0 @@ * dispatched from `@Events()`.

{
"timestamp": "2023-09-27T10:36:27",
"timestamp": "2023-10-19T09:23:19",
"compiler": {
"name": "@stencil/core",
"version": "4.3.0",
"typescriptVersion": "5.1.6"
"version": "4.5.0",
"typescriptVersion": "5.2.2"
},

@@ -8,0 +8,0 @@ "components": [

{
"name": "@maggioli-design-system/mds-text",
"version": "3.4.2",
"version": "3.4.3",
"description": "mds-text is a web-component from Magma Design System, 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.",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

@@ -35,3 +35,3 @@ export class KeyboardManager {

this.escapeCallback = callBack
if (typeof window !== undefined) {
if (window !== undefined) {
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))

@@ -43,3 +43,3 @@ }

this.escapeCallback = () => {return}
if (typeof window !== undefined) {
if (window !== undefined) {
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this))

@@ -46,0 +46,0 @@ }

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

import{p as t,b as a}from"./p-df2f9afe.js";export{s as setNonce}from"./p-df2f9afe.js";(()=>{const a=import.meta.url,e={};return""!==a&&(e.resourcesUrl=new URL(".",a).href),t(e)})().then((t=>a([["p-bed6ca83",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],t)));
import{p as t,b as a}from"./p-076cc865.js";export{s as setNonce}from"./p-076cc865.js";(()=>{const a=import.meta.url,r={};return""!==a&&(r.resourcesUrl=new URL(".",a).href),t(r)})().then((t=>a([["p-414bea80",[[1,"mds-text",{tag:[1537],truncate:[516],typography:[513],variant:[513]}]]]],t)));

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc