@porsche-design-system/components-js
Advanced tools
Comparing version 2.15.1-rc.1 to 2.16.0
@@ -12,2 +12,4 @@ # Changelog | ||
### [2.16.0] - 2022-09-08 | ||
### [2.15.1-rc.1] - 2022-09-08 | ||
@@ -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.15.1-rc.1",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.15.1-rc.1.7421dfdaa688ba07d567.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.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.0.152fd6c2e5ca1f7b233c.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.15.1-rc.1", | ||
"version": "2.16.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": [ |
@@ -122,3 +122,3 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime'; | ||
var cdnBaseUrl = getCdnBaseUrl(cdn); | ||
var manifest = { "core": "porsche-design-system.v2.15.1-rc.1.7421dfdaa688ba07d567.js", "accordion": "porsche-design-system.accordion.000eb20aef48c530c7b3.js", "banner": "porsche-design-system.banner.fa8b299d5b67bf18a8b7.js", "button-pure": "porsche-design-system.button-pure.11a3f4379e97abc95ac4.js", "button": "porsche-design-system.button.f808d27fa8909c6bf892.js", "carousel": "porsche-design-system.carousel.4fc0063eecf3299c2bbf.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.b8020063838c9efd3650.js", "content-wrapper": "porsche-design-system.content-wrapper.3e37a0caab72c6a697d0.js", "divider": "porsche-design-system.divider.0c6124f8a1699ec51bfc.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.45fb53c9e8db20daf034.js", "flex": "porsche-design-system.flex.d4f78612477916cdd30c.js", "grid": "porsche-design-system.grid.8dffd920cffb6e124c9c.js", "headline": "porsche-design-system.headline.c11e90c7a090439f09bd.js", "icon": "porsche-design-system.icon.0544c74a41ca706aa817.js", "link-pure": "porsche-design-system.link-pure.2d2708f664bf6ecc55ad.js", "link-social": "porsche-design-system.link-social.9da0c1e9ca8cfe052cb6.js", "link": "porsche-design-system.link.5f5f3da1fd02df1ba4f2.js", "marque": "porsche-design-system.marque.83d6dd30663bf741850b.js", "modal": "porsche-design-system.modal.9a27e3e88fb41717e49f.js", "pagination": "porsche-design-system.pagination.a3318368c0c9742e46cf.js", "popover": "porsche-design-system.popover.eaa56c7a43bfc2b3045b.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.21dc23fd8e2724a2cbab.js", "scroller": "porsche-design-system.scroller.0eae7f7c6c740986f437.js", "segmented-control": "porsche-design-system.segmented-control.e7197f42d49461605c4b.js", "select-wrapper": "porsche-design-system.select-wrapper.7f291dc4537a20c7a78a.js", "spinner": "porsche-design-system.spinner.4d8350fc936911857398.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.61bb0117c2a8782898fb.js", "switch": "porsche-design-system.switch.ed0992e2c9364b2ef799.js", "table": "porsche-design-system.table.bb2447441890de39944b.js", "tabs-bar": "porsche-design-system.tabs-bar.95a6fcddf90de432a79d.js", "tabs": "porsche-design-system.tabs.27cd3ce4671c6f0fbedf.js", "tag": "porsche-design-system.tag.ee445b6ef537d3c574c0.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.106b1085c4699106ef0e.js", "text-list": "porsche-design-system.text-list.738f9b21b57282d640a3.js", "text": "porsche-design-system.text.1349b877c1086e0b1b34.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.177c0a8bc1e0d177e4b7.js", "toast": "porsche-design-system.toast.e1f679e7730d8f4cd921.js" }; | ||
var manifest = { "core": "porsche-design-system.v2.16.0.152fd6c2e5ca1f7b233c.js", "accordion": "porsche-design-system.accordion.563600ca576ff0023c45.js", "banner": "porsche-design-system.banner.17b8cc81485acd48722d.js", "button-pure": "porsche-design-system.button-pure.2785807bcb42cf0b5951.js", "button": "porsche-design-system.button.17b605e94de71a0c020a.js", "carousel": "porsche-design-system.carousel.e6de45b6a61011b90a0e.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.f0ad9cde38d83d8e5458.js", "content-wrapper": "porsche-design-system.content-wrapper.d2f557e6eac0ff1517d7.js", "divider": "porsche-design-system.divider.d003178dd4d33357178d.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.8fe80c7bd56430a0a984.js", "flex": "porsche-design-system.flex.12529b0191f4c45327d6.js", "grid": "porsche-design-system.grid.ef6f982ff1f562227a5f.js", "headline": "porsche-design-system.headline.847092a15afd2549ee56.js", "icon": "porsche-design-system.icon.fc2e9fcdeaca350e079b.js", "link-pure": "porsche-design-system.link-pure.d285e953e7ab834e153c.js", "link-social": "porsche-design-system.link-social.4f6e47b56b6ba62caa33.js", "link": "porsche-design-system.link.14ce4ad6fd54a2d40c70.js", "marque": "porsche-design-system.marque.69e82b6a25495cbf1bb3.js", "modal": "porsche-design-system.modal.2a956dc9178b171185a0.js", "pagination": "porsche-design-system.pagination.63b72c3f40db68a47e7a.js", "popover": "porsche-design-system.popover.febafca1a2be6abdd0eb.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.daece6afabbbc0231de9.js", "scroller": "porsche-design-system.scroller.373e33b870f973e31e48.js", "segmented-control": "porsche-design-system.segmented-control.4e2e130c382ca5f3ee1c.js", "select-wrapper": "porsche-design-system.select-wrapper.1036617ce01c1500d62c.js", "spinner": "porsche-design-system.spinner.6d5b9624acf480c99117.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.70e6eb87af2427096c3c.js", "switch": "porsche-design-system.switch.c19b02c2b2b9f5a8e3de.js", "table": "porsche-design-system.table.388d31b02265388c03c4.js", "tabs-bar": "porsche-design-system.tabs-bar.c8c2921d7ceb72d22e56.js", "tabs": "porsche-design-system.tabs.a5eba71e744cd6e0fb0b.js", "tag": "porsche-design-system.tag.3a8392ebfc9e72e8753a.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.57be6774e4f1a7c2efca.js", "text-list": "porsche-design-system.text-list.3a4d4d22c91feb09fd92.js", "text": "porsche-design-system.text.e3b5fba22bb53ecf8f51.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.1607c09c25527187f478.js", "toast": "porsche-design-system.toast.ce9d3cc73306e9e5c68c.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.15.1-rc.1\",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.15.1-rc.1.7421dfdaa688ba07d567.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.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.0.152fd6c2e5ca1f7b233c.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
1364700