@porsche-design-system/components-js
Advanced tools
Comparing version 2.16.3-rc.0 to 2.16.3
@@ -12,2 +12,4 @@ # Changelog | ||
### [2.16.3] - 2022-10-21 | ||
### [2.16.3-rc.0] - 2022-10-21 | ||
@@ -14,0 +16,0 @@ |
@@ -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,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},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={};function o(e){if("noModule"in HTMLScriptElement.prototype){const t=("script",document.createElement("script"));t.src=e,t.setAttribute("crossorigin",""),document.body.appendChild(t)}}e.r(t),e.d(t,{componentsReady:()=>r,load:()=>s});const n="porscheDesignSystem";const s=(e={prefix:""})=>{!function({script:e,version:t,prefix:s}){var r;const c=null!==(r=function(e){const t=(document[n]||(document[n]={}),document[n]),{[e]:o=null}=t;if(null===o){const o={isLoaded:!1,prefixes:[],registerCustomElements:null};t[e]=o}return t[e]}(t))&&void 0!==r?r:{},{isLoaded:i,prefixes:d,registerCustomElements:p}=c;i||(o(e),c.isLoaded=!0),d.includes(s)||(d.push(s),p&&p(s))}(Object.assign(Object.assign({},{version:"2.16.3-rc.0",script:(typeof window!=='undefined'&&window.PORSCHE_DESIGN_SYSTEM_CDN==='cn'?'https://cdn.ui.porsche.cn':'https://cdn.ui.porsche.com')+"/porsche-design-system/components/porsche-design-system.v2.16.3-rc.0.930db9afceef1fcd6b0c.js"}),e))},r=(e=document.body)=>{let t;const o=new Promise((e=>t=e));if(c())i(e,t);else{const o="readystatechange",n=()=>{c()&&(document.removeEventListener(o,n),i(e,t))};document.addEventListener(o,n)}return o},c=()=>"complete"===document.readyState,i=(e,t)=>{const o=d(e);Promise.all(o).then((e=>t(e.length))).catch(console.error)},d=e=>{let t=[];return 1===(null==e?void 0:e.nodeType)&&Array.from(e.children).forEach((e=>{l(e)&&t.push(e.componentOnReady()),t=t.concat(d(e))})),t},p=/^(.*-)?P-(.*)$/,l=e=>p.exec(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,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},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={};function o(e){if("noModule"in HTMLScriptElement.prototype){const t=("script",document.createElement("script"));t.src=e,t.setAttribute("crossorigin",""),document.body.appendChild(t)}}e.r(t),e.d(t,{componentsReady:()=>r,load:()=>s});const n="porscheDesignSystem";const s=(e={prefix:""})=>{!function({script:e,version:t,prefix:s}){var r;const c=null!==(r=function(e){const t=(document[n]||(document[n]={}),document[n]),{[e]:o=null}=t;if(null===o){const o={isLoaded:!1,prefixes:[],registerCustomElements:null};t[e]=o}return t[e]}(t))&&void 0!==r?r:{},{isLoaded:i,prefixes:d,registerCustomElements:p}=c;i||(o(e),c.isLoaded=!0),d.includes(s)||(d.push(s),p&&p(s))}(Object.assign(Object.assign({},{version:"2.16.3",script:(typeof window!=='undefined'&&window.PORSCHE_DESIGN_SYSTEM_CDN==='cn'?'https://cdn.ui.porsche.cn':'https://cdn.ui.porsche.com')+"/porsche-design-system/components/porsche-design-system.v2.16.3.06ce22a072c3a305ecc9.js"}),e))},r=(e=document.body)=>{let t;const o=new Promise((e=>t=e));if(c())i(e,t);else{const o="readystatechange",n=()=>{c()&&(document.removeEventListener(o,n),i(e,t))};document.addEventListener(o,n)}return o},c=()=>"complete"===document.readyState,i=(e,t)=>{const o=d(e);Promise.all(o).then((e=>t(e.length))).catch(console.error)},d=e=>{let t=[];return 1===(null==e?void 0:e.nodeType)&&Array.from(e.children).forEach((e=>{l(e)&&t.push(e.componentOnReady()),t=t.concat(d(e))})),t},p=/^(.*-)?P-(.*)$/,l=e=>p.exec(e.tagName)&&"function"==typeof e.componentOnReady;return t})())); |
{ | ||
"name": "@porsche-design-system/components-js", | ||
"version": "2.16.3-rc.0", | ||
"version": "2.16.3", | ||
"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": [ |
@@ -122,3 +122,3 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime'; | ||
var cdnBaseUrl = getCdnBaseUrl(cdn); | ||
var manifest = { "core": "porsche-design-system.v2.16.3-rc.0.930db9afceef1fcd6b0c.js", "accordion": "porsche-design-system.accordion.e057ff771edaca92ecde.js", "banner": "porsche-design-system.banner.c5a8af5a778dffa32745.js", "button-pure": "porsche-design-system.button-pure.a64c68ea1bf28632e481.js", "button": "porsche-design-system.button.f7edbcf23f073f6605dd.js", "carousel": "porsche-design-system.carousel.73dab25f9be177fc6ed8.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.cd2157cc96fe1c37593b.js", "content-wrapper": "porsche-design-system.content-wrapper.9b864a98e7cfd6aa0eda.js", "divider": "porsche-design-system.divider.63e9e94ca4ad38d86a65.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.26e31ac23643fce028cc.js", "flex": "porsche-design-system.flex.69efdbe68b19970df01c.js", "grid": "porsche-design-system.grid.a77c6894d31e598260bb.js", "headline": "porsche-design-system.headline.1ff340bac2cbb86f144d.js", "icon": "porsche-design-system.icon.ad2aaf8701306b5e4cdb.js", "link-pure": "porsche-design-system.link-pure.04aa4b5937994edd7cfe.js", "link-social": "porsche-design-system.link-social.0246738bf2f59d9374ae.js", "link": "porsche-design-system.link.f589b6fa297009657bca.js", "marque": "porsche-design-system.marque.45199530b46bf6c724f1.js", "modal": "porsche-design-system.modal.8154dd8dd2cb5b889d77.js", "pagination": "porsche-design-system.pagination.a24b6fcbfd2623dd2a66.js", "popover": "porsche-design-system.popover.804d924c3e4aefcfd568.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.8e7f12d95548130eaa77.js", "scroller": "porsche-design-system.scroller.518514b607f264fe10ce.js", "segmented-control": "porsche-design-system.segmented-control.c95f6149d96da0a099f6.js", "select-wrapper": "porsche-design-system.select-wrapper.ec9b486c77d28d61af14.js", "spinner": "porsche-design-system.spinner.c2dabc9e4a4f7884cd31.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.0fc49d1080dc1bb91f72.js", "switch": "porsche-design-system.switch.1f97e9a15149668d4cf1.js", "table": "porsche-design-system.table.a3d8bc53a22ec4af275a.js", "tabs-bar": "porsche-design-system.tabs-bar.bed2e179552a80e1fd80.js", "tabs": "porsche-design-system.tabs.44f4cf73245b2e3eac22.js", "tag": "porsche-design-system.tag.b58f430d28b068b4c806.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.67b4a97589c995e17f9f.js", "text-list": "porsche-design-system.text-list.39f1d6acd18620a4e719.js", "text": "porsche-design-system.text.cbb56a3b11171a3fcdbd.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.a2671f28769800b33531.js", "toast": "porsche-design-system.toast.0c15e169a7595b958746.js" }; | ||
var manifest = { "core": "porsche-design-system.v2.16.3.06ce22a072c3a305ecc9.js", "accordion": "porsche-design-system.accordion.7b7bb83773d55e4cb069.js", "banner": "porsche-design-system.banner.322b5c98260f7aeb3c52.js", "button-pure": "porsche-design-system.button-pure.967a94498db7d40571d7.js", "button": "porsche-design-system.button.62f654ffce061e70b555.js", "carousel": "porsche-design-system.carousel.dc948925174778b1716a.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.65cfd301f6ed0f6bc8f9.js", "content-wrapper": "porsche-design-system.content-wrapper.cb24888c39c003e2f1a7.js", "divider": "porsche-design-system.divider.ef607f3a6d67b04323f1.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.62d0f404edd7532ed1ae.js", "flex": "porsche-design-system.flex.e9cda22dcc788684e465.js", "grid": "porsche-design-system.grid.1184503eb7fc5a8edb5d.js", "headline": "porsche-design-system.headline.e4a882d22fa9ec5a71e9.js", "icon": "porsche-design-system.icon.ec7ddf320e3dd1fd0d24.js", "link-pure": "porsche-design-system.link-pure.d8f55ad7a2382dc78859.js", "link-social": "porsche-design-system.link-social.167a85ca15ebf60238c3.js", "link": "porsche-design-system.link.e6eb56f3469c7dd053a9.js", "marque": "porsche-design-system.marque.03e1f2c95dd7a7ec1fc6.js", "modal": "porsche-design-system.modal.c0d087e625761f2c5cda.js", "pagination": "porsche-design-system.pagination.06d3672d4b5840fe7cf4.js", "popover": "porsche-design-system.popover.dfeea7f0a3aa626cf455.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.f071037e141c8c1bd8c7.js", "scroller": "porsche-design-system.scroller.b144df13d91f99b443f9.js", "segmented-control": "porsche-design-system.segmented-control.6bc23c71f4af38bd9ffd.js", "select-wrapper": "porsche-design-system.select-wrapper.783675f4ca665b2f7e42.js", "spinner": "porsche-design-system.spinner.c819a5c6fefb5fb5d7a9.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.bf41a9f79924255ce446.js", "switch": "porsche-design-system.switch.2c03c6a9835d6897bfe6.js", "table": "porsche-design-system.table.9a0381060d7844b25466.js", "tabs-bar": "porsche-design-system.tabs-bar.68911feb735415b85575.js", "tabs": "porsche-design-system.tabs.d2594c67c346bf1bb71d.js", "tag": "porsche-design-system.tag.a2db0dcf5c3c10d64b60.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.c00cd5ca4e847bb667ce.js", "text-list": "porsche-design-system.text-list.044f06994959baaf7c53.js", "text": "porsche-design-system.text.12035ac6a347c791e34e.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.5e8322d3d6c5de826c13.js", "toast": "porsche-design-system.toast.5c1ebb07b5843fcd0c5b.js" }; | ||
var urls = ['core'].concat(components).map(function (cmp) { return "".concat(cdnBaseUrl, "/porsche-design-system/components/").concat(manifest[cmp]); }); | ||
@@ -172,3 +172,3 @@ var linksHtml = urls | ||
: 'porscheDesignSystem.load()'; | ||
var scriptContent = "var porscheDesignSystem;(()=>{\"use strict\";var e={d:(t,s)=>{for(var o in s)e.o(s,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:s[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={};function s(e){if(\"noModule\"in HTMLScriptElement.prototype){const t=(\"script\",document.createElement(\"script\"));t.src=e,t.setAttribute(\"crossorigin\",\"\"),document.body.appendChild(t)}}e.r(t),e.d(t,{load:()=>n});const o=\"porscheDesignSystem\";const n=(e={prefix:\"\"})=>{!function({script:e,version:t,prefix:n}){var r;const i=null!==(r=function(e){const t=(document[o]||(document[o]={}),document[o]),{[e]:s=null}=t;if(null===s){const s={isLoaded:!1,prefixes:[],registerCustomElements:null};t[e]=s}return t[e]}(t))&&void 0!==r?r:{},{isLoaded:c,prefixes:d,registerCustomElements:p}=i;c||(s(e),i.isLoaded=!0),d.includes(n)||(d.push(n),p&&p(n))}(Object.assign(Object.assign({},{version:\"2.16.3-rc.0\",script:(typeof window!=='undefined'&&window.PORSCHE_DESIGN_SYSTEM_CDN==='cn'?'https://cdn.ui.porsche.cn':'https://cdn.ui.porsche.com')+\"/porsche-design-system/components/porsche-design-system.v2.16.3-rc.0.930db9afceef1fcd6b0c.js\"}),e))};porscheDesignSystem=t})();" + loadCalls; | ||
var scriptContent = "var porscheDesignSystem;(()=>{\"use strict\";var e={d:(t,s)=>{for(var o in s)e.o(s,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:s[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={};function s(e){if(\"noModule\"in HTMLScriptElement.prototype){const t=(\"script\",document.createElement(\"script\"));t.src=e,t.setAttribute(\"crossorigin\",\"\"),document.body.appendChild(t)}}e.r(t),e.d(t,{load:()=>n});const o=\"porscheDesignSystem\";const n=(e={prefix:\"\"})=>{!function({script:e,version:t,prefix:n}){var r;const i=null!==(r=function(e){const t=(document[o]||(document[o]={}),document[o]),{[e]:s=null}=t;if(null===s){const s={isLoaded:!1,prefixes:[],registerCustomElements:null};t[e]=s}return t[e]}(t))&&void 0!==r?r:{},{isLoaded:c,prefixes:d,registerCustomElements:p}=i;c||(s(e),i.isLoaded=!0),d.includes(n)||(d.push(n),p&&p(n))}(Object.assign(Object.assign({},{version:\"2.16.3\",script:(typeof window!=='undefined'&&window.PORSCHE_DESIGN_SYSTEM_CDN==='cn'?'https://cdn.ui.porsche.cn':'https://cdn.ui.porsche.com')+\"/porsche-design-system/components/porsche-design-system.v2.16.3.06ce22a072c3a305ecc9.js\"}),e))};porscheDesignSystem=t})();" + loadCalls; | ||
// there is no other solution than using dangerouslySetInnerHTML since JSX elements are rendered by the createElement() function | ||
@@ -175,0 +175,0 @@ // https://stackoverflow.com/a/64815699 |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1365392