@porsche-design-system/components-js
Advanced tools
Comparing version 2.16.2-rc.0 to 2.16.2
@@ -12,2 +12,4 @@ # Changelog | ||
### [2.16.2] - 2022-09-15 | ||
### [2.16.2-rc.0] - 2022-09-15 | ||
@@ -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.2-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.2-rc.0.0ee4b7f892c9cb120c4d.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.2",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.2.179716d8d5c560427cf3.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.2-rc.0", | ||
"version": "2.16.2", | ||
"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.2-rc.0.0ee4b7f892c9cb120c4d.js", "accordion": "porsche-design-system.accordion.ed342b31023e62de33c1.js", "banner": "porsche-design-system.banner.3731be7d527c3c8cfb5c.js", "button-pure": "porsche-design-system.button-pure.73f0bb95b1e2ae9640da.js", "button": "porsche-design-system.button.1eaecab9514670974cae.js", "carousel": "porsche-design-system.carousel.b26858704e9290cc15d1.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.9d24a38217e8178b4d99.js", "content-wrapper": "porsche-design-system.content-wrapper.b221eabcc8d6826ecc78.js", "divider": "porsche-design-system.divider.a07267ede1a349faf7b4.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.1361e61ec501c9105175.js", "flex": "porsche-design-system.flex.9df1cb109982b93a9165.js", "grid": "porsche-design-system.grid.cfc75188701cd0dec219.js", "headline": "porsche-design-system.headline.9d8b10cb85729754d3e7.js", "icon": "porsche-design-system.icon.086277f47146c01aafc5.js", "link-pure": "porsche-design-system.link-pure.a4de9e46776a07cc4b16.js", "link-social": "porsche-design-system.link-social.09178f40bd9fb4640d9d.js", "link": "porsche-design-system.link.712aad5b7addcb2f5776.js", "marque": "porsche-design-system.marque.9adb781c4d83ed3f1c5d.js", "modal": "porsche-design-system.modal.671661a9fd5a4dc98a0b.js", "pagination": "porsche-design-system.pagination.fb9bba7568761a2cdc04.js", "popover": "porsche-design-system.popover.c6a7dcb167b00dc7839e.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.961ae548198148a39cfe.js", "scroller": "porsche-design-system.scroller.ae33ae19d8bf4bfc5c09.js", "segmented-control": "porsche-design-system.segmented-control.b89c7d9bec01280c54dd.js", "select-wrapper": "porsche-design-system.select-wrapper.35b95e84554f743a67ad.js", "spinner": "porsche-design-system.spinner.1c03a97a62a491eadb27.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.5fe7317991072a058e37.js", "switch": "porsche-design-system.switch.952d8efb8e8f92edec69.js", "table": "porsche-design-system.table.34ba9f7e50bde10092f5.js", "tabs-bar": "porsche-design-system.tabs-bar.085b148a0de58a80a1a8.js", "tabs": "porsche-design-system.tabs.80dd0c2b6864b4db64e6.js", "tag": "porsche-design-system.tag.c7560f54a079bff52e54.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.da2fac5ff9fe7c143d05.js", "text-list": "porsche-design-system.text-list.95570f43d1c6c1f60e63.js", "text": "porsche-design-system.text.99b4514891e21aa37069.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.8a99cd8c388c089be4a7.js", "toast": "porsche-design-system.toast.5db0628168778a38dc3f.js" }; | ||
var manifest = { "core": "porsche-design-system.v2.16.2.179716d8d5c560427cf3.js", "accordion": "porsche-design-system.accordion.47eac6aa758ed93c9920.js", "banner": "porsche-design-system.banner.724e1e9916c7affda73a.js", "button-pure": "porsche-design-system.button-pure.f9a99c80577a52d60110.js", "button": "porsche-design-system.button.6e6b8e0f083b1e3a0679.js", "carousel": "porsche-design-system.carousel.c86a347d33600a189565.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.f22ed631c4d2e141ce03.js", "content-wrapper": "porsche-design-system.content-wrapper.b2739d60fb9d9e41f8cc.js", "divider": "porsche-design-system.divider.ec774e49a1bafc96d299.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.c08e95cce76565de6a21.js", "flex": "porsche-design-system.flex.efef7f9c67e1bdd4f6b6.js", "grid": "porsche-design-system.grid.dd5544a0bbaf7893618c.js", "headline": "porsche-design-system.headline.94f6cbf6681d613c7fef.js", "icon": "porsche-design-system.icon.287c70768c0e656c3673.js", "link-pure": "porsche-design-system.link-pure.4d208fee23b73da90089.js", "link-social": "porsche-design-system.link-social.8fbd28ad8a5425493fc4.js", "link": "porsche-design-system.link.aea5fbdd54c3fb1818ee.js", "marque": "porsche-design-system.marque.4fcab59c7d4cd520fc96.js", "modal": "porsche-design-system.modal.d1e2383089d5d66d0494.js", "pagination": "porsche-design-system.pagination.454318a9c30934356036.js", "popover": "porsche-design-system.popover.53b82121c2176afd0c6d.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.f89b8f2c2f38f6dd1354.js", "scroller": "porsche-design-system.scroller.31a9bc1fac54495fdcf2.js", "segmented-control": "porsche-design-system.segmented-control.0c278316e67e4de2cb50.js", "select-wrapper": "porsche-design-system.select-wrapper.d1b855b5c29c4855a36b.js", "spinner": "porsche-design-system.spinner.70e5d3075f9899a63eec.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.9ec1637f805a91fb569f.js", "switch": "porsche-design-system.switch.53547c8a24f953d417a4.js", "table": "porsche-design-system.table.905ac2e593940ff1cc24.js", "tabs-bar": "porsche-design-system.tabs-bar.fd37a85cca3ac1d208b6.js", "tabs": "porsche-design-system.tabs.e385affd64ca0b80b7eb.js", "tag": "porsche-design-system.tag.b84add0d2b45307193cb.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.2a737979b20b069e3f8e.js", "text-list": "porsche-design-system.text-list.4098add8db98451eb004.js", "text": "porsche-design-system.text.dc34fbbcb45dbafcd348.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.fd9b69e7458fe92bd7be.js", "toast": "porsche-design-system.toast.f0b86362ac82b223f406.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.2-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.2-rc.0.0ee4b7f892c9cb120c4d.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.2\",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.2.179716d8d5c560427cf3.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
1365203