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

@porsche-design-system/components-js

Package Overview
Dependencies
Maintainers
0
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@porsche-design-system/components-js - npm Package Compare versions

Comparing version 3.22.0-rc.1 to 3.22.0

2

index.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.porscheDesignSystem=t():e.porscheDesignSystem=t()}("undefined"!=typeof self?self:this,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{componentsReady:()=>i,load:()=>r});const n="porscheDesignSystem";function o(){return document[n]||(document[n]={}),document[n]}function s({script:e,version:t,prefix:s}){const r=function(e){const t=o(),{[e]:n}=t;if(!n){let n=()=>{};const o=new Promise((e=>n=e));t[e]={isInjected:!1,isReady:()=>o,readyResolve:n,prefixes:[],registerCustomElements:null}}return t[e]}(t),{isInjected:c,prefixes:i=[],registerCustomElements:d}=r,[m]=Object.entries(o()).filter((([e,n])=>e!==t&&"object"==typeof n&&n.prefixes.includes(s)));if(m)throw new Error(`[Porsche Design System v${t}] prefix '${s}' is already registered with version '${m[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${n} for more details.`);c||(function(e){const t=document.createElement("script");t.src=e,t.setAttribute("crossorigin",""),document.body.appendChild(t)}(e),r.isInjected=!0),i.includes(s)||(i.push(s),d&&d(s))}const r=(e={})=>{const t="PORSCHE_DESIGN_SYSTEM_CDN";window[t]=e.cdn||window[t]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const n="porscheDesignSystem";document[n]||(document[n]={}),document[n].cdn={url:"https://cdn.ui.porsche."+("cn"===window[t]?"cn":"com"),prefixes:[]},s({version:"3.22.0-rc.1",script:document[n].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.22.0-rc.1.75404893b09493a56ff5.js",prefix:e.prefix||""})},c={loading:0,interactive:1,complete:2},i=(e=document.body,t="complete")=>{let n;const o=new Promise((e=>n=e)),s=()=>{m().then((()=>p(e,n)))};if(d(t))s();else{const e="readystatechange",n=()=>{d(t)&&(document.removeEventListener(e,n),s())};document.addEventListener(e,n)}return o},d=e=>c[document.readyState]>=c[e],m=()=>{if(document.porscheDesignSystem?.["3.22.0-rc.1"]?.isReady)return document.porscheDesignSystem["3.22.0-rc.1"].isReady();let e;const t=new Promise((t=>e=t)),n={set(t,n,o){return"3.22.0-rc.1"===n&&o.isReady().then(e),Reflect.set(...arguments)}};return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},n),t},p=(e,t)=>{const n=u(e);Promise.all(n).then((e=>t(e.length))).catch((e=>console.error("[Porsche Design System]",e)))},u=e=>{const t=[],n=[e];for(;n.length>0;){const e=n.pop();e.nodeType===Node.ELEMENT_NODE&&(a(e)&&t.push(e.componentOnReady()),n.push(...Array.from(e.children)))}return t},f=/^(.*-)?P-(.*)$/,a=e=>f.test(e.tagName)&&"function"==typeof e.componentOnReady;return t})()));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.porscheDesignSystem=t():e.porscheDesignSystem=t()}("undefined"!=typeof self?self:this,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{componentsReady:()=>i,load:()=>r});const n="porscheDesignSystem";function o(){return document[n]||(document[n]={}),document[n]}function s({script:e,version:t,prefix:s}){const r=function(e){const t=o(),{[e]:n}=t;if(!n){let n=()=>{};const o=new Promise((e=>n=e));t[e]={isInjected:!1,isReady:()=>o,readyResolve:n,prefixes:[],registerCustomElements:null}}return t[e]}(t),{isInjected:c,prefixes:i=[],registerCustomElements:d}=r,[m]=Object.entries(o()).filter((([e,n])=>e!==t&&"object"==typeof n&&n.prefixes.includes(s)));if(m)throw new Error(`[Porsche Design System v${t}] prefix '${s}' is already registered with version '${m[0]}' of the Porsche Design System. Please use a different one.\nTake a look at document.${n} for more details.`);c||(function(e){const t=document.createElement("script");t.src=e,t.setAttribute("crossorigin",""),document.body.appendChild(t)}(e),r.isInjected=!0),i.includes(s)||(i.push(s),d&&d(s))}const r=(e={})=>{const t="PORSCHE_DESIGN_SYSTEM_CDN";window[t]=e.cdn||window[t]||(window.location.origin.match(/\.cn$/)?"cn":"auto");const n="porscheDesignSystem";document[n]||(document[n]={}),document[n].cdn={url:"https://cdn.ui.porsche."+("cn"===window[t]?"cn":"com"),prefixes:[]},s({version:"3.22.0",script:document[n].cdn.url+"/porsche-design-system/components/porsche-design-system.v3.22.0.85cfe591838c3c15ab4a.js",prefix:e.prefix||""})},c={loading:0,interactive:1,complete:2},i=(e=document.body,t="complete")=>{let n;const o=new Promise((e=>n=e)),s=()=>{m().then((()=>p(e,n)))};if(d(t))s();else{const e="readystatechange",n=()=>{d(t)&&(document.removeEventListener(e,n),s())};document.addEventListener(e,n)}return o},d=e=>c[document.readyState]>=c[e],m=()=>{if(document.porscheDesignSystem?.["3.22.0"]?.isReady)return document.porscheDesignSystem["3.22.0"].isReady();let e;const t=new Promise((t=>e=t)),n={set(t,n,o){return"3.22.0"===n&&o.isReady().then(e),Reflect.set(...arguments)}};return document.porscheDesignSystem=new Proxy(document.porscheDesignSystem||{},n),t},p=(e,t)=>{const n=u(e);Promise.all(n).then((e=>t(e.length))).catch((e=>console.error("[Porsche Design System]",e)))},u=e=>{const t=[],n=[e];for(;n.length>0;){const e=n.pop();e.nodeType===Node.ELEMENT_NODE&&(f(e)&&t.push(e.componentOnReady()),n.push(...Array.from(e.children)))}return t},a=/^(.*-)?P-(.*)$/,f=e=>a.test(e.tagName)&&"function"==typeof e.componentOnReady;return t})()));
{
"name": "@porsche-design-system/components-js",
"version": "3.22.0-rc.1",
"version": "3.22.0",
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",

@@ -5,0 +5,0 @@ "keywords": [

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

const cdnBaseUrl = getCdnBaseUrl(cdn);
const manifest = { "core": "porsche-design-system.v3.22.0-rc.1.75404893b09493a56ff5.js", "accordion": "porsche-design-system.accordion.8891d3f4950a81045a77.js", "banner": "porsche-design-system.banner.7e3783d4ebff7d6ee035.js", "button-group": "porsche-design-system.button-group.3472663e5eab9e1bfde5.js", "button-pure": "porsche-design-system.button-pure.8ba6e5c8b59f4a329f5d.js", "button-tile": "porsche-design-system.button-tile.ea51cea2c2a28ed22da9.js", "button": "porsche-design-system.button.be96ddc10d374dd56234.js", "canvas": "porsche-design-system.canvas.2dae7b75d355581c05a1.js", "carousel": "porsche-design-system.carousel.6edf3c60223993d9a55a.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.c3df6ef63f1bfb9d59dd.js", "checkbox": "porsche-design-system.checkbox.62817677d790b64dc1b5.js", "content-wrapper": "porsche-design-system.content-wrapper.9846fa3c6de7266b579d.js", "crest": "porsche-design-system.crest.2824d4a45717cdf155d4.js", "display": "porsche-design-system.display.25b9b7b4467070b8728b.js", "divider": "porsche-design-system.divider.df3b20d614c811bcedcd.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.edcdd52d26d5c4625b9b.js", "fieldset": "porsche-design-system.fieldset.562db4046b79ce9b555b.js", "flex": "porsche-design-system.flex.97d0b81fca1434ce7141.js", "flyout-multilevel": "porsche-design-system.flyout-multilevel.f799dbeea1084fe51cce.js", "flyout": "porsche-design-system.flyout.ecbb5ab0e51e11c621ae.js", "grid": "porsche-design-system.grid.ad408e42ae5fd9832f62.js", "heading": "porsche-design-system.heading.d7f46a8e29b75f4930d3.js", "headline": "porsche-design-system.headline.fb81eb9317a4091ae199.js", "icon": "porsche-design-system.icon.98e15b6ab4645d4c3f7e.js", "inline-notification": "porsche-design-system.inline-notification.d505e116f86167100b33.js", "link-pure": "porsche-design-system.link-pure.a0d30b746167274be055.js", "link-social": "porsche-design-system.link-social.0ca17c2665a6ebe80453.js", "link-tile-model-signature": "porsche-design-system.link-tile-model-signature.84625d119bb72d22aead.js", "link-tile-product": "porsche-design-system.link-tile-product.723cda9438246b42a6ac.js", "link-tile": "porsche-design-system.link-tile.9aaeec8f3f706ae6a78e.js", "link": "porsche-design-system.link.fd4314f0e23613db9d1d.js", "marque": "porsche-design-system.marque.f02bfee5d9c21f9ecba0.js", "modal": "porsche-design-system.modal.46804b3f1a29da21efcc.js", "model-signature": "porsche-design-system.model-signature.4a2073648bb1d1178098.js", "multi-select": "porsche-design-system.multi-select.f3695035266c6c662ff4.js", "optgroup": "porsche-design-system.optgroup.9fb28b6cd58a206e14b5.js", "pagination": "porsche-design-system.pagination.661336eba30bff346406.js", "pin-code": "porsche-design-system.pin-code.0d1445d77eefa9daf9c1.js", "popover": "porsche-design-system.popover.90407310e407690c1133.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.0cdbba2e786c1c68b15a.js", "scroller": "porsche-design-system.scroller.5e3d72ec7ac7a9a1ccef.js", "segmented-control": "porsche-design-system.segmented-control.91fd2310fd6c95aa3e3f.js", "select-wrapper": "porsche-design-system.select-wrapper.0b41d6989d5b900cbd96.js", "select": "porsche-design-system.select.6552d5a5d02f0aa0f346.js", "spinner": "porsche-design-system.spinner.af3619fcff9c2309b894.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.47f604856f2c1e831479.js", "switch": "porsche-design-system.switch.736df78a425b6781a3ee.js", "table": "porsche-design-system.table.7fb17a8a7db56e5f290d.js", "tabs-bar": "porsche-design-system.tabs-bar.9cf5699f077ed5045a19.js", "tabs": "porsche-design-system.tabs.83981b1021f15f0bc24b.js", "tag-dismissible": "porsche-design-system.tag-dismissible.cf96fe7ec9ce20edb337.js", "tag": "porsche-design-system.tag.a71f61c6ae319b089880.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.3e5c293c7ed24bac7c11.js", "text-list": "porsche-design-system.text-list.5d7b8753129a70c98113.js", "text": "porsche-design-system.text.9ed31664244425549619.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.9f053a813d7ee90b5875.js", "textarea": "porsche-design-system.textarea.a0f5da273fa4287aa82b.js", "toast": "porsche-design-system.toast.0ff24d5ec294d60f9622.js", "wordmark": "porsche-design-system.wordmark.58de0e2625ac36363725.js" };
const manifest = { "core": "porsche-design-system.v3.22.0.85cfe591838c3c15ab4a.js", "accordion": "porsche-design-system.accordion.6bf1d561846a89fcafbf.js", "banner": "porsche-design-system.banner.c07c1ec2864cb24012b9.js", "button-group": "porsche-design-system.button-group.463f1072eea2a62ac4a3.js", "button-pure": "porsche-design-system.button-pure.ce3a78b9bda52b8ac1c2.js", "button-tile": "porsche-design-system.button-tile.4096ba2e2ebb7f1a7d1d.js", "button": "porsche-design-system.button.0554243f052b1bbe2420.js", "canvas": "porsche-design-system.canvas.98279f27034f87a538a4.js", "carousel": "porsche-design-system.carousel.80777d3effb2c6c82ab0.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.9595c213a0f7ee75a0aa.js", "checkbox": "porsche-design-system.checkbox.a0f271623697f9232989.js", "content-wrapper": "porsche-design-system.content-wrapper.f764c3c1e86b136d5c85.js", "crest": "porsche-design-system.crest.fcce377af0467b3b4d8d.js", "display": "porsche-design-system.display.6ce667d7113a01ec9837.js", "divider": "porsche-design-system.divider.adeb1ae79f2900826a00.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.f623907b7a5d22950b76.js", "fieldset": "porsche-design-system.fieldset.f17a8f82b801804e6d64.js", "flex": "porsche-design-system.flex.9d2949be5250504288b9.js", "flyout-multilevel": "porsche-design-system.flyout-multilevel.9a9a4dc612c8dd8932af.js", "flyout": "porsche-design-system.flyout.01dcf4bd1b87129e293d.js", "grid": "porsche-design-system.grid.87a6b078e558df462d75.js", "heading": "porsche-design-system.heading.ed5dea0ebb75c56b5a5d.js", "headline": "porsche-design-system.headline.fc5f452067e24a53fb8d.js", "icon": "porsche-design-system.icon.21f8dcec7f441e2d1667.js", "inline-notification": "porsche-design-system.inline-notification.1de36afd3b4b2648d956.js", "link-pure": "porsche-design-system.link-pure.63965b861c1b45fceba2.js", "link-social": "porsche-design-system.link-social.24778153e0d59722224d.js", "link-tile-model-signature": "porsche-design-system.link-tile-model-signature.efda18e278268bdeab58.js", "link-tile-product": "porsche-design-system.link-tile-product.a107ae27cf16961137d9.js", "link-tile": "porsche-design-system.link-tile.24b81d5d2ff52a0ae8c2.js", "link": "porsche-design-system.link.eba2cdb56e14b539db01.js", "marque": "porsche-design-system.marque.8263afe557cff9291abd.js", "modal": "porsche-design-system.modal.cfc2f4fa339940921f18.js", "model-signature": "porsche-design-system.model-signature.e2509cddfab93a3de9fc.js", "multi-select": "porsche-design-system.multi-select.7b242412692952f07a25.js", "optgroup": "porsche-design-system.optgroup.fa22cf0f608ae1784aa1.js", "pagination": "porsche-design-system.pagination.1f69e25a3c0687068f32.js", "pin-code": "porsche-design-system.pin-code.c849c6f659663927b06c.js", "popover": "porsche-design-system.popover.affba28a6e329f816f55.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.1c893193592c2fcaf7c5.js", "scroller": "porsche-design-system.scroller.1c4cb87edc5e4cb12888.js", "segmented-control": "porsche-design-system.segmented-control.f1582b3e4d17271c6cb8.js", "select-wrapper": "porsche-design-system.select-wrapper.055ba3987715aa8ad449.js", "select": "porsche-design-system.select.8c716978d0b0b21f5714.js", "spinner": "porsche-design-system.spinner.010abbdf2334e3bdae8a.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.c3b361b16a2e654f6189.js", "switch": "porsche-design-system.switch.ac3d6de5d37a6fbc8060.js", "table": "porsche-design-system.table.ac7f0249770f24064575.js", "tabs-bar": "porsche-design-system.tabs-bar.4cf6dce220bac5d9e8df.js", "tabs": "porsche-design-system.tabs.e29d5715040fff7e81b6.js", "tag-dismissible": "porsche-design-system.tag-dismissible.8ae1d2c82e55faec15ee.js", "tag": "porsche-design-system.tag.c4e102e6d9afe4fb9768.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.eff61174762faad9fd5f.js", "text-list": "porsche-design-system.text-list.4e215bda43954b043ff1.js", "text": "porsche-design-system.text.d39d8df305e647c99931.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.d7db158355cf56fdfefc.js", "textarea": "porsche-design-system.textarea.f5100770914d56ed87d2.js", "toast": "porsche-design-system.toast.f79dadb4eac70035b05a.js", "wordmark": "porsche-design-system.wordmark.4ee6382e37902828e31c.js" };
const urls = ['core'].concat(components).map((cmp) => `${cdnBaseUrl}/porsche-design-system/components/${manifest[cmp]}`);

@@ -302,3 +302,3 @@ const linksHtml = urls

: 'porscheDesignSystem.load()';
const scriptContent = "var porscheDesignSystem;(()=>{\"use strict\";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})}},t={};e.r(t),e.d(t,{load:()=>r});const n=\"porscheDesignSystem\";function o(){return document[n]||(document[n]={}),document[n]}function s({script:e,version:t,prefix:s}){const r=function(e){const t=o(),{[e]:n}=t;if(!n){let n=()=>{};const o=new Promise((e=>n=e));t[e]={isInjected:!1,isReady:()=>o,readyResolve:n,prefixes:[],registerCustomElements:null}}return t[e]}(t),{isInjected:i,prefixes:c=[],registerCustomElements:d}=r,[u]=Object.entries(o()).filter((([e,n])=>e!==t&&\"object\"==typeof n&&n.prefixes.includes(s)));if(u)throw new Error(`[Porsche Design System v${t}] prefix '${s}' is already registered with version '${u[0]}' of the Porsche Design System. Please use a different one.\\nTake a look at document.${n} for more details.`);i||(function(e){const t=document.createElement(\"script\");t.src=e,t.setAttribute(\"crossorigin\",\"\"),document.body.appendChild(t)}(e),r.isInjected=!0),c.includes(s)||(c.push(s),d&&d(s))}const r=(e={})=>{const t=\"PORSCHE_DESIGN_SYSTEM_CDN\";window[t]=e.cdn||window[t]||(window.location.origin.match(/\\.cn$/)?\"cn\":\"auto\");const n=\"porscheDesignSystem\";document[n]||(document[n]={}),document[n].cdn={url:\"https://cdn.ui.porsche.\"+(\"cn\"===window[t]?\"cn\":\"com\"),prefixes:[]},s({version:\"3.22.0-rc.1\",script:document[n].cdn.url+\"/porsche-design-system/components/porsche-design-system.v3.22.0-rc.1.75404893b09493a56ff5.js\",prefix:e.prefix||\"\"})};porscheDesignSystem=t})();" + loadCalls;
const scriptContent = "var porscheDesignSystem;(()=>{\"use strict\";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})}},t={};e.r(t),e.d(t,{load:()=>r});const n=\"porscheDesignSystem\";function o(){return document[n]||(document[n]={}),document[n]}function s({script:e,version:t,prefix:s}){const r=function(e){const t=o(),{[e]:n}=t;if(!n){let n=()=>{};const o=new Promise((e=>n=e));t[e]={isInjected:!1,isReady:()=>o,readyResolve:n,prefixes:[],registerCustomElements:null}}return t[e]}(t),{isInjected:i,prefixes:c=[],registerCustomElements:d}=r,[u]=Object.entries(o()).filter((([e,n])=>e!==t&&\"object\"==typeof n&&n.prefixes.includes(s)));if(u)throw new Error(`[Porsche Design System v${t}] prefix '${s}' is already registered with version '${u[0]}' of the Porsche Design System. Please use a different one.\\nTake a look at document.${n} for more details.`);i||(function(e){const t=document.createElement(\"script\");t.src=e,t.setAttribute(\"crossorigin\",\"\"),document.body.appendChild(t)}(e),r.isInjected=!0),c.includes(s)||(c.push(s),d&&d(s))}const r=(e={})=>{const t=\"PORSCHE_DESIGN_SYSTEM_CDN\";window[t]=e.cdn||window[t]||(window.location.origin.match(/\\.cn$/)?\"cn\":\"auto\");const n=\"porscheDesignSystem\";document[n]||(document[n]={}),document[n].cdn={url:\"https://cdn.ui.porsche.\"+(\"cn\"===window[t]?\"cn\":\"com\"),prefixes:[]},s({version:\"3.22.0\",script:document[n].cdn.url+\"/porsche-design-system/components/porsche-design-system.v3.22.0.85cfe591838c3c15ab4a.js\",prefix:e.prefix||\"\"})};porscheDesignSystem=t})();" + loadCalls;
// there is no other solution than using dangerouslySetInnerHTML since JSX elements are rendered by the createElement() function

@@ -305,0 +305,0 @@ // https://stackoverflow.com/a/64815699

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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