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

@maggioli-design-system/mds-icon

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.5.1 to 2.5.2

dist/mds-icon/p-7d3de133.system.entry.js

2

dist/cjs/mds-icon.cjs.entry.js

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

resolveIconName(iconName) {
console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`);
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
return this._resolveIconName(iconName, this.name, this.path);

@@ -99,0 +99,0 @@ }

@@ -6,3 +6,3 @@ export class MdsIconSet {

resolveIconName(iconName) {
console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`);
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
return this._resolveIconName(iconName, this.name, this.path);

@@ -9,0 +9,0 @@ }

@@ -92,3 +92,3 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';

resolveIconName(iconName) {
console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`);
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
return this._resolveIconName(iconName, this.name, this.path);

@@ -95,0 +95,0 @@ }

{
"timestamp": "2023-09-27T11:23:32",
"timestamp": "2023-09-29T10:20:28",
"compiler": {

@@ -4,0 +4,0 @@ "name": "@stencil/core",

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

var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return c([e,t])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-9506e242.js";function promisifyRequest(e){return new Promise((function(t,n){e.oncomplete=e.onsuccess=function(){return t(e.result)};e.onabort=e.onerror=function(){return n(e.error)}}))}function createStore(e,t){var n=indexedDB.open(e);n.onupgradeneeded=function(){return n.result.createObjectStore(t)};var r=promisifyRequest(n);return function(e,n){return r.then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}function get(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return t("readonly",(function(t){return promisifyRequest(t.get(e))}))}function set(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultGetStore();return n("readwrite",(function(n){n.put(t,e);return promisifyRequest(n.transaction)}))}function del(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return t("readwrite",(function(t){t.delete(e);return promisifyRequest(t.transaction)}))}var MdsIconSet=function(){function e(e,t,n){this.name=e;this.path=t;this._resolveIconName=n}e.prototype.resolveIconName=function(e){console.log("resolveIconName - iconName: ".concat(e," | name: ").concat(this.name," | path: ").concat(this.path));return this._resolveIconName(e,this.name,this.path)};Object.defineProperty(e.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return e}();var IconsSetController=function(){function e(){var e=this;this._iconsSets=new Map;this._svgPathKey="mdsIconSvgPath";this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.memoryCache={};this.listeners=[];this.isCacheAvailable=function(t){return __awaiter(e,void 0,void 0,(function(){var e,n,r;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,get("loader_".concat(t))];case 1:e=o.sent();if(!e){return[2,false]}n=JSON.parse(e);if(Date.now()<n.expiry){return[2,n.data]}del("loader_".concat(t));return[2,false];case 2:r=o.sent();console.error("isCacheAvailable error",r);return[2,false];case 3:return[2]}}))}))};this.setCache=function(t,n){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,set("loader_".concat(t),JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))];case 1:r.sent();return[3,3];case 2:e=r.sent();console.error("setCache error",e);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}e.prototype.addIconSet=function(e,t,n){var r=n;var o=this._iconsSets.get(e);if(!r&&o&&typeof o.resolver==="function"){r=o.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(e," needs a resolve function for the icon names."));return false}this._iconsSets.set(e,new MdsIconSet(e,t,r));return true};e.prototype.getIconSet=function(e){if(!e)return{set:null};return{set:this._iconsSets.get(e.split("/")[0])}};e.prototype.setSvgPath=function(e){this._svgPath=e;window.dispatchEvent(new Event(this._svgPathUpdate))};e.prototype.getSvgPath=function(){return this._svgPath};e.prototype.registerListener=function(e){this.listeners.push(e)};e.prototype.setUpListener=function(){var e=this;window.addEventListener(this._svgPathUpdate,(function(){for(var t=0,n=e.listeners;t<n.length;t++){var r=n[t];r()}}))};e.prototype.fetchSvg=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,o,i;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,4,,5]);return[4,this.isCacheAvailable(e)];case 1:t=s.sent();if(this.memoryCache[e]||t){return[2,this.memoryCache[e]||t]}return[4,fetch(e)];case 2:n=s.sent();if(!n.ok){throw Error("Request for '".concat(e,"' returned ").concat(n.status," (").concat(n.statusText,")"))}return[4,n.text()];case 3:r=s.sent();o=r.toLowerCase().trim();if(!(o.startsWith("<svg")||o.startsWith("<?xml"))){throw Error("Resource '".concat(e,"' returned an invalid SVG file"))}this.setCache(e,r);this.memoryCache[e]=r;return[2,r];case 4:i=s.sent();console.error("fetchSvg error",i);return[2,""];case 5:return[2]}}))}))};return e}();var IconsSetService=new IconsSetController;var mdsIconCss=".static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.fill-label-blue-05{fill:rgb(var(--label-blue-05))}.fill-label-green-05{fill:rgb(var(--label-green-05))}.fill-label-green-06{fill:rgb(var(--label-green-06))}.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{aspect-ratio:1 / 1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}";var MdsIcon=function(){function e(e){registerInstance(this,e);this.svgHTML=undefined;this.name=undefined;this._iconHref=undefined}e.prototype.componentWillLoad=function(){var e=this;this.updateIcon();IconsSetService.registerListener((function(){return e.updateIcon()}))};e.setSvgPathStatic=function(e){IconsSetService.setSvgPath(e)};e.prototype.setSvgPath=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){IconsSetService.setSvgPath(e);return[2]}))}))};e.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];e=IconsSetService.getSvgPath()||window.sessionStorage.getItem(IconsSetService._svgPathKey);this._iconHref=e&&!this.name.startsWith("http")?window.location.origin.concat(e.concat(this.name).concat(".svg")):this.name;t=this;return[4,IconsSetService.fetchSvg(this._iconHref)];case 1:t.svgHTML=n.sent();return[2]}}))}))};e.prototype.render=function(){return h(Host,null,this.svgHTML&&h("i",{"aria-hidden":"true",class:"icon",innerHTML:this.svgHTML}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return e}();MdsIcon.style=mdsIconCss;export{MdsIcon as mds_icon};
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return c([e,t])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-9506e242.js";function promisifyRequest(e){return new Promise((function(t,n){e.oncomplete=e.onsuccess=function(){return t(e.result)};e.onabort=e.onerror=function(){return n(e.error)}}))}function createStore(e,t){var n=indexedDB.open(e);n.onupgradeneeded=function(){return n.result.createObjectStore(t)};var r=promisifyRequest(n);return function(e,n){return r.then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}function get(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return t("readonly",(function(t){return promisifyRequest(t.get(e))}))}function set(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:defaultGetStore();return n("readwrite",(function(n){n.put(t,e);return promisifyRequest(n.transaction)}))}function del(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaultGetStore();return t("readwrite",(function(t){t.delete(e);return promisifyRequest(t.transaction)}))}var MdsIconSet=function(){function e(e,t,n){this.name=e;this.path=t;this._resolveIconName=n}e.prototype.resolveIconName=function(e){return this._resolveIconName(e,this.name,this.path)};Object.defineProperty(e.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return e}();var IconsSetController=function(){function e(){var e=this;this._iconsSets=new Map;this._svgPathKey="mdsIconSvgPath";this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.memoryCache={};this.listeners=[];this.isCacheAvailable=function(t){return __awaiter(e,void 0,void 0,(function(){var e,n,r;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,get("loader_".concat(t))];case 1:e=o.sent();if(!e){return[2,false]}n=JSON.parse(e);if(Date.now()<n.expiry){return[2,n.data]}del("loader_".concat(t));return[2,false];case 2:r=o.sent();console.error("isCacheAvailable error",r);return[2,false];case 3:return[2]}}))}))};this.setCache=function(t,n){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,set("loader_".concat(t),JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))];case 1:r.sent();return[3,3];case 2:e=r.sent();console.error("setCache error",e);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}e.prototype.addIconSet=function(e,t,n){var r=n;var o=this._iconsSets.get(e);if(!r&&o&&typeof o.resolver==="function"){r=o.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(e," needs a resolve function for the icon names."));return false}this._iconsSets.set(e,new MdsIconSet(e,t,r));return true};e.prototype.getIconSet=function(e){if(!e)return{set:null};return{set:this._iconsSets.get(e.split("/")[0])}};e.prototype.setSvgPath=function(e){this._svgPath=e;window.dispatchEvent(new Event(this._svgPathUpdate))};e.prototype.getSvgPath=function(){return this._svgPath};e.prototype.registerListener=function(e){this.listeners.push(e)};e.prototype.setUpListener=function(){var e=this;window.addEventListener(this._svgPathUpdate,(function(){for(var t=0,n=e.listeners;t<n.length;t++){var r=n[t];r()}}))};e.prototype.fetchSvg=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,o,i;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,4,,5]);return[4,this.isCacheAvailable(e)];case 1:t=s.sent();if(this.memoryCache[e]||t){return[2,this.memoryCache[e]||t]}return[4,fetch(e)];case 2:n=s.sent();if(!n.ok){throw Error("Request for '".concat(e,"' returned ").concat(n.status," (").concat(n.statusText,")"))}return[4,n.text()];case 3:r=s.sent();o=r.toLowerCase().trim();if(!(o.startsWith("<svg")||o.startsWith("<?xml"))){throw Error("Resource '".concat(e,"' returned an invalid SVG file"))}this.setCache(e,r);this.memoryCache[e]=r;return[2,r];case 4:i=s.sent();console.error("fetchSvg error",i);return[2,""];case 5:return[2]}}))}))};return e}();var IconsSetService=new IconsSetController;var mdsIconCss=".static{position:static}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.fill-label-blue-05{fill:rgb(var(--label-blue-05))}.fill-label-green-05{fill:rgb(var(--label-green-05))}.fill-label-green-06{fill:rgb(var(--label-green-06))}.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{aspect-ratio:1 / 1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}";var MdsIcon=function(){function e(e){registerInstance(this,e);this.svgHTML=undefined;this.name=undefined;this._iconHref=undefined}e.prototype.componentWillLoad=function(){var e=this;this.updateIcon();IconsSetService.registerListener((function(){return e.updateIcon()}))};e.setSvgPathStatic=function(e){IconsSetService.setSvgPath(e)};e.prototype.setSvgPath=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){IconsSetService.setSvgPath(e);return[2]}))}))};e.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];e=IconsSetService.getSvgPath()||window.sessionStorage.getItem(IconsSetService._svgPathKey);this._iconHref=e&&!this.name.startsWith("http")?window.location.origin.concat(e.concat(this.name).concat(".svg")):this.name;t=this;return[4,IconsSetService.fetchSvg(this._iconHref)];case 1:t.svgHTML=n.sent();return[2]}}))}))};e.prototype.render=function(){return h(Host,null,this.svgHTML&&h("i",{"aria-hidden":"true",class:"icon",innerHTML:this.svgHTML}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return e}();MdsIcon.style=mdsIconCss;export{MdsIcon as mds_icon};

@@ -92,3 +92,3 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-9506e242.js';

resolveIconName(iconName) {
console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`);
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
return this._resolveIconName(iconName, this.name, this.path);

@@ -95,0 +95,0 @@ }

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

import{p as e,b as n}from"./p-be59bc16.js";export{s as setNonce}from"./p-be59bc16.js";(()=>{const s=import.meta.url,n={};return""!==s&&(n.resourcesUrl=new URL(".",s).href),e(n)})().then((e=>n([["p-f75740b5",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)));
import{p as e,b as n}from"./p-be59bc16.js";export{s as setNonce}from"./p-be59bc16.js";(()=>{const s=import.meta.url,n={};return""!==s&&(n.resourcesUrl=new URL(".",s).href),e(n)})().then((e=>n([["p-fd1a9fc8",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)));

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

System.register(["./p-95984042.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-ac5b4f17.system",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)}))}}}));
System.register(["./p-95984042.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-7d3de133.system",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)}))}}}));
{
"timestamp": "2023-09-27T11:23:32",
"timestamp": "2023-09-29T10:20:28",
"compiler": {

@@ -84,6 +84,6 @@ "name": "node",

"./dist/mds-icon/p-50ea2036.system.js",
"./dist/mds-icon/p-7d3de133.system.entry.js",
"./dist/mds-icon/p-95984042.system.js",
"./dist/mds-icon/p-ac5b4f17.system.entry.js",
"./dist/mds-icon/p-be59bc16.js",
"./dist/mds-icon/p-f75740b5.entry.js",
"./dist/mds-icon/p-fd1a9fc8.entry.js",
"./www/build/index.esm.js",

@@ -94,6 +94,6 @@ "./www/build/mds-icon.esm.js",

"./www/build/p-50ea2036.system.js",
"./www/build/p-7d3de133.system.entry.js",
"./www/build/p-95984042.system.js",
"./www/build/p-ac5b4f17.system.entry.js",
"./www/build/p-be59bc16.js",
"./www/build/p-f75740b5.entry.js"
"./www/build/p-fd1a9fc8.entry.js"
]

@@ -131,8 +131,8 @@ },

],
"bundleId": "p-f75740b5",
"fileName": "p-f75740b5.entry.js",
"bundleId": "p-fd1a9fc8",
"fileName": "p-fd1a9fc8.entry.js",
"imports": [
"p-be59bc16.js"
],
"originalByteSize": 9215
"originalByteSize": 9217
}

@@ -151,3 +151,3 @@ ],

],
"originalByteSize": 9219
"originalByteSize": 9221
}

@@ -166,3 +166,3 @@ ],

],
"originalByteSize": 9219
"originalByteSize": 9221
}

@@ -176,8 +176,8 @@ ],

],
"bundleId": "p-ac5b4f17.system",
"fileName": "p-ac5b4f17.system.entry.js",
"bundleId": "p-7d3de133.system",
"fileName": "p-7d3de133.system.entry.js",
"imports": [
"p-95984042.system.js"
],
"originalByteSize": 10884
"originalByteSize": 10886
}

@@ -196,3 +196,3 @@ ],

],
"originalByteSize": 9278
"originalByteSize": 9280
}

@@ -199,0 +199,0 @@ ]

{
"timestamp": "2023-09-27T10:36:27",
"timestamp": "2023-09-29T10:16:34",
"compiler": {

@@ -4,0 +4,0 @@ "name": "@stencil/core",

{
"name": "@maggioli-design-system/mds-icon",
"version": "2.5.1",
"version": "2.5.2",
"description": "mds-icon 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",

@@ -8,3 +8,3 @@ export type IconNameResolverFn = (iconName: string, name: string, path: string) => string

resolveIconName (iconName: string): string {
console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
// console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
return this._resolveIconName(iconName, this.name, this.path)

@@ -11,0 +11,0 @@ }

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

import{p as e,b as n}from"./p-be59bc16.js";export{s as setNonce}from"./p-be59bc16.js";(()=>{const s=import.meta.url,n={};return""!==s&&(n.resourcesUrl=new URL(".",s).href),e(n)})().then((e=>n([["p-f75740b5",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)));
import{p as e,b as n}from"./p-be59bc16.js";export{s as setNonce}from"./p-be59bc16.js";(()=>{const s=import.meta.url,n={};return""!==s&&(n.resourcesUrl=new URL(".",s).href),e(n)})().then((e=>n([["p-fd1a9fc8",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)));

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

System.register(["./p-95984042.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-ac5b4f17.system",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)}))}}}));
System.register(["./p-95984042.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-7d3de133.system",[[1,"mds-icon",{name:[513],svgHTML:[32],_iconHref:[32],setSvgPath:[64]},null,{name:["updateIcon"]}]]]],e)}))}}}));
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