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

@maggioli-design-system/mds-img

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.4.2 to 2.5.0

dist/cjs/index-a511bffb.js

2

dist/cjs/loader.cjs.js

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

const index = require('./index-7158986a.js');
const index = require('./index-a511bffb.js');

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

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

const index = require('./index-7158986a.js');
const index = require('./index-a511bffb.js');

@@ -8,0 +8,0 @@ const setAttributeIfEmpty = (element, attribute, value) => {

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

const index = require('./index-7158986a.js');
const index = require('./index-a511bffb.js');
/*
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
Stencil Client Patch Browser v4.7.1 | MIT Licensed | https://stenciljs.com
*/

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

@@ -7,3 +7,3 @@ {

"name": "@stencil/core",
"version": "4.5.0",
"version": "4.7.1",
"typescriptVersion": "5.2.2"

@@ -10,0 +10,0 @@ },

@@ -63,2 +63,6 @@ const typographyDictionary = [

];
export { typographyDictionary, typographyInfoDictionary, typographyReadingVariationsDictionary, typographyMonoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
const typographyInputDictionary = [
'snippet',
'detail',
];
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
{
"timestamp": "2023-10-19T09:54:18",
"timestamp": "2023-11-08T15:41:38",
"compiler": {
"name": "@stencil/core",
"version": "4.5.0",
"version": "4.7.1",
"typescriptVersion": "5.2.2"

@@ -7,0 +7,0 @@ },

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

import{b as bootstrapLazy}from"./index-699f36d1.js";export{s as setNonce}from"./index-699f36d1.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-img",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],t)};export{defineCustomElements};
import{b as bootstrapLazy}from"./index-031d7385.js";export{s as setNonce}from"./index-031d7385.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-img",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],t)};export{defineCustomElements};

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

import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-699f36d1.js";var setAttributeIfEmpty=function(t,i,e){var s;if(t.hasAttribute(i)){return(s=t.getAttribute(i))!==null&&s!==void 0?s:""}t.setAttribute(i,e);return e};var mdsImgCss=".fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.flex-col{-ms-flex-direction:column;flex-direction:column}.items-center{-ms-flex-align:center;align-items:center}.gap-6{gap:1.5rem}.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{background-position:center;background-repeat:no-repeat;background-size:cover;display:-ms-flexbox;display:flex;-o-object-fit:fill;object-fit:fill;overflow:hidden}img{width:100%;-o-object-fit:inherit;object-fit:inherit}";var MdsImg=function(){function t(t){var i=this;registerInstance(this,t);this.loadErrorEvent=createEvent(this,"mdsImgLoadError",7);this.loadSuccessEvent=createEvent(this,"mdsImgLoadSuccess",7);this.aspectRatioModern=false;this.onError=function(t){i.image=t.target;i.loadErrorEvent.emit({image:i.image})};this.onSuccess=function(t){i.image=t.target;i.loadSuccessEvent.emit({image:i.image})};this.alt="";this.aspectRatio="";this.crossorigin="use-credentials";this.height=undefined;this.loading="lazy";this.referrerpolicy="no-referrer-when-downgrade";this.sizes=undefined;this.src=undefined;this.srcset=undefined;this.width=undefined}t.prototype.aspectRatioPaddingTop=function(){var t=parseInt(this.aspectRatio.split("/")[1]);var i=parseInt(this.aspectRatio.split("/")[0]);return"".concat((t/i*100).toFixed(2),"%")};t.prototype.aspectRatioSanitized=function(){return"".concat(this.aspectRatio.split("/")[0]," / ").concat(this.aspectRatio.split("/")[1])};t.prototype.getAspectRatio=function(){if(this.aspectRatioModern){return{aspectRatio:this.aspectRatioSanitized()}}return{paddingTop:this.aspectRatioPaddingTop()}};t.prototype.autoAltName=function(){if(this.src){var t=this.src.lastIndexOf("/")+1;return this.src.substring(t)}return""};t.prototype.componentWillLoad=function(){this.image=this.host.querySelector("img");if(!this.alt){this.alt=this.autoAltName()}};t.prototype.setAriaAttributes=function(){if(this.aspectRatio!==""){setAttributeIfEmpty(this.host,"aria-label",this.alt)}};t.prototype.componentDidLoad=function(){this.setAriaAttributes()};t.prototype.render=function(){if(this.aspectRatio!==""){return h(Host,{"aria-label":this.alt,role:"img",style:Object.assign(Object.assign({},this.getAspectRatio()),{backgroundImage:"url(".concat(this.src,")"),width:"100%"})})}return h(Host,{"aria-label":this.alt,role:"img"},h("img",{alt:this.alt,"aria-hidden":"true",height:this.height,loading:this.loading,onError:this.onError,onLoad:this.onSuccess,part:"media",sizes:this.sizes,src:this.src,srcset:this.srcset,width:this.width}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsImg.style=mdsImgCss;export{MdsImg as mds_img};
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-031d7385.js";var setAttributeIfEmpty=function(t,i,e){var s;if(t.hasAttribute(i)){return(s=t.getAttribute(i))!==null&&s!==void 0?s:""}t.setAttribute(i,e);return e};var mdsImgCss=".fixed{position:fixed}.absolute{position:absolute}.flex{display:-ms-flexbox;display:flex}.flex-col{-ms-flex-direction:column;flex-direction:column}.items-center{-ms-flex-align:center;align-items:center}.gap-6{gap:1.5rem}.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{background-position:center;background-repeat:no-repeat;background-size:cover;display:-ms-flexbox;display:flex;-o-object-fit:fill;object-fit:fill;overflow:hidden}img{width:100%;-o-object-fit:inherit;object-fit:inherit}";var MdsImg=function(){function t(t){var i=this;registerInstance(this,t);this.loadErrorEvent=createEvent(this,"mdsImgLoadError",7);this.loadSuccessEvent=createEvent(this,"mdsImgLoadSuccess",7);this.aspectRatioModern=false;this.onError=function(t){i.image=t.target;i.loadErrorEvent.emit({image:i.image})};this.onSuccess=function(t){i.image=t.target;i.loadSuccessEvent.emit({image:i.image})};this.alt="";this.aspectRatio="";this.crossorigin="use-credentials";this.height=undefined;this.loading="lazy";this.referrerpolicy="no-referrer-when-downgrade";this.sizes=undefined;this.src=undefined;this.srcset=undefined;this.width=undefined}t.prototype.aspectRatioPaddingTop=function(){var t=parseInt(this.aspectRatio.split("/")[1]);var i=parseInt(this.aspectRatio.split("/")[0]);return"".concat((t/i*100).toFixed(2),"%")};t.prototype.aspectRatioSanitized=function(){return"".concat(this.aspectRatio.split("/")[0]," / ").concat(this.aspectRatio.split("/")[1])};t.prototype.getAspectRatio=function(){if(this.aspectRatioModern){return{aspectRatio:this.aspectRatioSanitized()}}return{paddingTop:this.aspectRatioPaddingTop()}};t.prototype.autoAltName=function(){if(this.src){var t=this.src.lastIndexOf("/")+1;return this.src.substring(t)}return""};t.prototype.componentWillLoad=function(){this.image=this.host.querySelector("img");if(!this.alt){this.alt=this.autoAltName()}};t.prototype.setAriaAttributes=function(){if(this.aspectRatio!==""){setAttributeIfEmpty(this.host,"aria-label",this.alt)}};t.prototype.componentDidLoad=function(){this.setAriaAttributes()};t.prototype.render=function(){if(this.aspectRatio!==""){return h(Host,{"aria-label":this.alt,role:"img",style:Object.assign(Object.assign({},this.getAspectRatio()),{backgroundImage:"url(".concat(this.src,")"),width:"100%"})})}return h(Host,{"aria-label":this.alt,role:"img"},h("img",{alt:this.alt,"aria-hidden":"true",height:this.height,loading:this.loading,onError:this.onError,onLoad:this.onSuccess,part:"media",sizes:this.sizes,src:this.src,srcset:this.srcset,width:this.width}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsImg.style=mdsImgCss;export{MdsImg as mds_img};

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

import{p as promiseResolve,b as bootstrapLazy}from"./index-699f36d1.js";export{s as setNonce}from"./index-699f36d1.js";var patchBrowser=function(){var r=import.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return promiseResolve(s)};patchBrowser().then((function(r){return bootstrapLazy([["mds-img",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],r)}));
import{p as promiseResolve,b as bootstrapLazy}from"./index-031d7385.js";export{s as setNonce}from"./index-031d7385.js";var patchBrowser=function(){var r=import.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return promiseResolve(s)};patchBrowser().then((function(r){return bootstrapLazy([["mds-img",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],r)}));

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

import { b as bootstrapLazy } from './index-699f36d1.js';
export { s as setNonce } from './index-699f36d1.js';
import { b as bootstrapLazy } from './index-031d7385.js';
export { s as setNonce } from './index-031d7385.js';

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

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

import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-699f36d1.js';
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-031d7385.js';

@@ -3,0 +3,0 @@ const setAttributeIfEmpty = (element, attribute, value) => {

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

import { p as promiseResolve, b as bootstrapLazy } from './index-699f36d1.js';
export { s as setNonce } from './index-699f36d1.js';
import { p as promiseResolve, b as bootstrapLazy } from './index-031d7385.js';
export { s as setNonce } from './index-031d7385.js';
/*
Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
Stencil Client Patch Browser v4.7.1 | MIT Licensed | https://stenciljs.com
*/

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

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

import{p as r,b as t}from"./p-13864483.js";export{s as setNonce}from"./p-13864483.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),r(t)})().then((s=>t([["p-0ca704b1",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],s)));
import{p as r,b as t}from"./p-3359c348.js";export{s as setNonce}from"./p-3359c348.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),r(t)})().then((s=>t([["p-52b28505",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],s)));
{
"timestamp": "2023-10-19T09:54:18",
"timestamp": "2023-11-08T15:41:38",
"compiler": {

@@ -12,7 +12,7 @@ "name": "node",

"entries": 1,
"bundles": 71,
"bundles": 70,
"outputs": [
{
"name": "dist-collection",
"files": 30,
"files": 29,
"generatedFiles": [

@@ -34,3 +34,3 @@ "./dist/collection/common/aria.js",

"./dist/collection/dictionary/icon.js",
"./dist/collection/dictionary/input-text-type.js",
"./dist/collection/dictionary/input.js",
"./dist/collection/dictionary/loading.js",

@@ -45,4 +45,3 @@ "./dist/collection/dictionary/typography.js",

"./dist/collection/type/form-rel.js",
"./dist/collection/type/input-text-type.js",
"./dist/collection/type/input-value-type.js",
"./dist/collection/type/input.js",
"./dist/collection/type/loading.js",

@@ -67,3 +66,3 @@ "./dist/collection/type/typography.js",

"generatedFiles": [
"./dist/cjs/index-7158986a.js",
"./dist/cjs/index-a511bffb.js",
"./dist/cjs/index.cjs.js",

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

"./dist/cjs/mds-img.cjs.js",
"./dist/esm-es5/index-699f36d1.js",
"./dist/esm-es5/index-031d7385.js",
"./dist/esm-es5/index.js",

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

"./dist/esm-es5/mds-img.js",
"./dist/esm/index-699f36d1.js",
"./dist/esm/index-031d7385.js",
"./dist/esm/index.js",

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

"./dist/mds-img/mds-img.js",
"./dist/mds-img/p-0ca704b1.entry.js",
"./dist/mds-img/p-13864483.js",
"./dist/mds-img/p-2223c25c.system.js",
"./dist/mds-img/p-3359c348.js",
"./dist/mds-img/p-371c2b47.system.entry.js",
"./dist/mds-img/p-50ea2036.system.js",
"./dist/mds-img/p-713250eb.system.js",
"./dist/mds-img/p-bb8ce918.system.entry.js",
"./dist/mds-img/p-f2ace3a5.system.js",
"./dist/mds-img/p-52b28505.entry.js",
"./dist/mds-img/p-75269af7.system.js",
"./www/build/index.esm.js",
"./www/build/mds-img.esm.js",
"./www/build/mds-img.js",
"./www/build/p-0ca704b1.entry.js",
"./www/build/p-13864483.js",
"./www/build/p-2223c25c.system.js",
"./www/build/p-3359c348.js",
"./www/build/p-371c2b47.system.entry.js",
"./www/build/p-50ea2036.system.js",
"./www/build/p-713250eb.system.js",
"./www/build/p-bb8ce918.system.entry.js",
"./www/build/p-f2ace3a5.system.js"
"./www/build/p-52b28505.entry.js",
"./www/build/p-75269af7.system.js"
]

@@ -138,6 +137,6 @@ },

],
"bundleId": "p-0ca704b1",
"fileName": "p-0ca704b1.entry.js",
"bundleId": "p-52b28505",
"fileName": "p-52b28505.entry.js",
"imports": [
"p-13864483.js"
"p-3359c348.js"
],

@@ -156,3 +155,3 @@ "originalByteSize": 3717

"imports": [
"index-699f36d1.js"
"index-031d7385.js"
],

@@ -171,3 +170,3 @@ "originalByteSize": 3721

"imports": [
"index-699f36d1.js"
"index-031d7385.js"
],

@@ -183,6 +182,6 @@ "originalByteSize": 3721

],
"bundleId": "p-bb8ce918.system",
"fileName": "p-bb8ce918.system.entry.js",
"bundleId": "p-371c2b47.system",
"fileName": "p-371c2b47.system.entry.js",
"imports": [
"p-713250eb.system.js"
"p-75269af7.system.js"
],

@@ -201,3 +200,3 @@ "originalByteSize": 4440

"imports": [
"index-7158986a.js"
"index-a511bffb.js"
],

@@ -884,3 +883,3 @@ "originalByteSize": 3786

"sc-mds-img": [
"p-13864483.js"
"p-3359c348.js"
]

@@ -911,3 +910,3 @@ },

],
"./src/dictionary/input-text-type.ts": [],
"./src/dictionary/input.ts": [],
"./src/dictionary/loading.ts": [],

@@ -922,4 +921,3 @@ "./src/dictionary/typography.ts": [],

"./src/type/form-rel.ts": [],
"./src/type/input-text-type.ts": [],
"./src/type/input-value-type.ts": [],
"./src/type/input.ts": [],
"./src/type/loading.ts": [],

@@ -926,0 +924,0 @@ "./src/type/typography.ts": [],

@@ -63,3 +63,15 @@ /* eslint-disable */

declare global {
interface HTMLMdsImgElementEventMap {
"mdsImgLoadError": MdsImgEventDetail;
"mdsImgLoadSuccess": MdsImgEventDetail;
}
interface HTMLMdsImgElement extends Components.MdsImg, HTMLStencilElement {
addEventListener<K extends keyof HTMLMdsImgElementEventMap>(type: K, listener: (this: HTMLMdsImgElement, ev: MdsImgCustomEvent<HTMLMdsImgElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLMdsImgElementEventMap>(type: K, listener: (this: HTMLMdsImgElement, ev: MdsImgCustomEvent<HTMLMdsImgElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

@@ -66,0 +78,0 @@ var HTMLMdsImgElement: {

@@ -10,2 +10,3 @@ declare const typographyDictionary: string[];

declare const typographyTooltipDictionary: string[];
export { typographyDictionary, typographyInfoDictionary, typographyReadingVariationsDictionary, typographyMonoDictionary, typographyReadDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
declare const typographyInputDictionary: string[];
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };

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

import { InputValueType } from '@type/input-value-type';
import { InputValueType } from '@type/input';
export interface InputValue {
value: InputValueType;
}

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

interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
height?: number;
media?: string;

@@ -1143,2 +1144,3 @@ sizes?: string;

type?: string;
width?: number;
}

@@ -1145,0 +1147,0 @@ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {

@@ -10,1 +10,2 @@ export type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';

export type TypographyTooltipType = 'caption' | 'detail' | 'tip';
export type TypographyInputType = 'snippet' | 'detail';
{
"timestamp": "2023-10-19T09:23:19",
"timestamp": "2023-11-08T14:31:27",
"compiler": {
"name": "@stencil/core",
"version": "4.5.0",
"version": "4.7.1",
"typescriptVersion": "5.2.2"

@@ -569,2 +569,12 @@ },

},
"src/type/input.ts::InputControlsLayoutType": {
"declaration": "export type InputControlsLayoutType =\n | 'horizontal'\n | 'vertical'",
"docstring": "",
"path": "src/type/input.ts"
},
"src/type/input.ts::InputControlsIconType": {
"declaration": "export type InputControlsIconType =\n | 'arrow'\n | 'arithmetic'",
"docstring": "",
"path": "src/type/input.ts"
},
"src/type/variant.ts::ThemeStatusVariantType": {

@@ -575,19 +585,19 @@ "declaration": "export type ThemeStatusVariantType =\n | 'error'\n | 'info'\n | 'success'\n | 'warning'",

},
"src/type/input-text-type.ts::InputTextType": {
"src/type/input.ts::InputTextType": {
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
"docstring": "",
"path": "src/type/input-text-type.ts"
"path": "src/type/input.ts"
},
"src/type/input-value-type.ts::InputValueType": {
"declaration": "export type InputValueType =\n | null\n | number\n | string\n | undefined",
"src/type/typography.ts::TypographyInputType": {
"declaration": "export type TypographyInputType =\n | 'snippet'\n | 'detail'",
"docstring": "",
"path": "src/type/input-value-type.ts"
"path": "src/type/typography.ts"
},
"src/components/mds-input/meta/interfaces.ts::InputValue": {
"declaration": "export interface InputValue {\n value: InputValueType\n}",
"src/components/mds-input/meta/event-detail.ts::MdsInputEventDetail": {
"declaration": "export interface MdsInputEventDetail {\n value?: string\n}",
"docstring": "",
"path": "src/components/mds-input/meta/interfaces.ts"
"path": "src/components/mds-input/meta/event-detail.ts"
},
"src/components/mds-input-field/meta/types.ts::ValidationModelType": {
"declaration": "export type ValidationModelType =\n | 'cf'\n | 'email'\n | 'isbn'\n | 'piva'",
"declaration": "export type ValidationModelType =\n | 'cc'\n | 'cf'\n | 'email'\n | 'isbn'\n | 'piva'",
"docstring": "",

@@ -611,2 +621,7 @@ "path": "src/components/mds-input-field/meta/types.ts"

},
"src/type/input.ts::InputValueType": {
"declaration": "export type InputValueType =\n | null\n | number\n | string\n | undefined",
"docstring": "",
"path": "src/type/input.ts"
},
"src/type/typography.ts::TypographyType": {

@@ -613,0 +628,0 @@ "declaration": "export type TypographyType =\n | 'action'\n | 'caption'\n | 'snippet'\n | 'detail'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hack'\n | 'label'\n | 'option'\n | 'paragraph'\n | 'tip'",

{
"name": "@maggioli-design-system/mds-img",
"version": "2.4.2",
"version": "2.5.0",
"description": "mds-img 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.",

@@ -26,3 +26,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@stencil/core": "^4.3.0"
"@stencil/core": "4.7.1"
},

@@ -29,0 +29,0 @@ "license": "MIT",

@@ -63,3 +63,15 @@ /* eslint-disable */

declare global {
interface HTMLMdsImgElementEventMap {
"mdsImgLoadError": MdsImgEventDetail;
"mdsImgLoadSuccess": MdsImgEventDetail;
}
interface HTMLMdsImgElement extends Components.MdsImg, HTMLStencilElement {
addEventListener<K extends keyof HTMLMdsImgElementEventMap>(type: K, listener: (this: HTMLMdsImgElement, ev: MdsImgCustomEvent<HTMLMdsImgElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLMdsImgElementEventMap>(type: K, listener: (this: HTMLMdsImgElement, ev: MdsImgCustomEvent<HTMLMdsImgElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

@@ -66,0 +78,0 @@ var HTMLMdsImgElement: {

@@ -72,8 +72,14 @@ const typographyDictionary = [

const typographyInputDictionary = [
'snippet',
'detail',
]
export {
typographyDictionary,
typographyInfoDictionary,
typographyReadingVariationsDictionary,
typographyInputDictionary,
typographyMonoDictionary,
typographyReadDictionary,
typographyReadingVariationsDictionary,
typographySmallerDictionary,

@@ -80,0 +86,0 @@ typographyTitleDictionary,

@@ -77,2 +77,3 @@ [

"mgg/face-to-face-meeting",
"mgg/factory",
"mgg/farmer",

@@ -103,2 +104,4 @@ "mgg/field",

"mgg/google-check-small",
"mgg/google-keyboard-double-arrow-down",
"mgg/google-keyboard-double-arrow-up",
"mgg/google-place-item",

@@ -202,2 +205,15 @@ "mgg/group-assigned-automatically-system",

"mgg/todo",
"mgg/todo-action-businessman-view",
"mgg/todo-action-certificate",
"mgg/todo-action-contract",
"mgg/todo-action-currency-euro",
"mgg/todo-action-graduate",
"mgg/todo-action-graduation-hat",
"mgg/todo-action-judge",
"mgg/todo-action-money",
"mgg/todo-action-protocol",
"mgg/todo-action-upload",
"mgg/todo-action-wkf-document-checked",
"mgg/todo-action-wkf-people-checked",
"mgg/todo-action-wkf-set-pub-date",
"mgg/todo-completed",

@@ -229,2 +245,3 @@ "mgg/todo-completed-re-executable",

"mi/baseline/account-balance-wallet",
"mi/baseline/add",
"mi/baseline/adobe",

@@ -270,2 +287,3 @@ "mi/baseline/agriculture",

"mi/baseline/radio-button-unchecked",
"mi/baseline/remove",
"mi/baseline/route",

@@ -272,0 +290,0 @@ "mi/baseline/settings",

@@ -66,2 +66,3 @@ [

"mgg/face-to-face-meeting",
"mgg/factory",
"mgg/farmer",

@@ -92,2 +93,4 @@ "mgg/field",

"mgg/google-check-small",
"mgg/google-keyboard-double-arrow-down",
"mgg/google-keyboard-double-arrow-up",
"mgg/google-place-item",

@@ -190,2 +193,15 @@ "mgg/group-assigned-automatically-system",

"mgg/terminal",
"mgg/todo-action-businessman-view",
"mgg/todo-action-certificate",
"mgg/todo-action-contract",
"mgg/todo-action-currency-euro",
"mgg/todo-action-graduate",
"mgg/todo-action-graduation-hat",
"mgg/todo-action-judge",
"mgg/todo-action-money",
"mgg/todo-action-protocol",
"mgg/todo-action-upload",
"mgg/todo-action-wkf-document-checked",
"mgg/todo-action-wkf-people-checked",
"mgg/todo-action-wkf-set-pub-date",
"mgg/todo-completed-re-executable",

@@ -192,0 +208,0 @@ "mgg/todo-completed",

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

import { InputValueType } from '@type/input-value-type'
import { InputValueType } from '@type/input'

@@ -3,0 +3,0 @@ export interface InputValue {

@@ -62,1 +62,5 @@ export type TypographyType =

| 'tip'
export type TypographyInputType =
| 'snippet'
| 'detail'

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

import{p as r,b as t}from"./p-13864483.js";export{s as setNonce}from"./p-13864483.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),r(t)})().then((s=>t([["p-0ca704b1",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],s)));
import{p as r,b as t}from"./p-3359c348.js";export{s as setNonce}from"./p-3359c348.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),r(t)})().then((s=>t([["p-52b28505",[[1,"mds-img",{alt:[1537],aspectRatio:[1,"aspect-ratio"],crossorigin:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],width:[1]}]]]],s)));

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