@porsche-design-system/components-js
Advanced tools
Comparing version 2.17.0-rc.0 to 2.17.0
@@ -12,2 +12,4 @@ # Changelog | ||
### [2.17.0] - 2022-10-31 | ||
### [2.17.0-rc.0] - 2022-10-31 | ||
@@ -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.17.0-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.17.0-rc.0.df4df43fafe00f1d9cb9.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.17.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.17.0.9a579f8ff7708b1885a9.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.17.0-rc.0", | ||
"version": "2.17.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": [ |
@@ -121,3 +121,3 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime'; | ||
var cdnBaseUrl = getCdnBaseUrl(cdn); | ||
var manifest = { "core": "porsche-design-system.v2.17.0-rc.0.df4df43fafe00f1d9cb9.js", "accordion": "porsche-design-system.accordion.40f6e6a43d593e43dfc1.js", "banner": "porsche-design-system.banner.7f8ee7a7258ee4c2ed3c.js", "button-pure": "porsche-design-system.button-pure.779f1c0869aa77d39b27.js", "button": "porsche-design-system.button.915fc48483796e26d295.js", "carousel": "porsche-design-system.carousel.23481420d05c32514918.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.e0de459b770283ddfc63.js", "content-wrapper": "porsche-design-system.content-wrapper.e639121dd5ce3675bfd7.js", "divider": "porsche-design-system.divider.107ac53717dfd2fe319f.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.c5a41ea840c96468643d.js", "flex": "porsche-design-system.flex.235c2180b5115257a43d.js", "grid": "porsche-design-system.grid.afaa3525a314ef2a42a9.js", "headline": "porsche-design-system.headline.eb0ea7059d4f533e9bd2.js", "icon": "porsche-design-system.icon.af2de0e7342a82822269.js", "link-pure": "porsche-design-system.link-pure.e413519ecaa9279e21df.js", "link-social": "porsche-design-system.link-social.1a49abce3d34a21b47c4.js", "link-tile": "porsche-design-system.link-tile.80c726d715fe1af7784f.js", "link": "porsche-design-system.link.1eee9920eed3c2e09b60.js", "marque": "porsche-design-system.marque.30f9a452a1c9a68b7cd3.js", "modal": "porsche-design-system.modal.376af86f5c801c82fd14.js", "pagination": "porsche-design-system.pagination.e924168fe4615239ae5d.js", "popover": "porsche-design-system.popover.e27b113a36e030a08819.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.5274587cbfa6c65fe812.js", "scroller": "porsche-design-system.scroller.b2e016a89aa4ad6a7ffb.js", "segmented-control": "porsche-design-system.segmented-control.aaff62ee547a39f5c5e8.js", "select-wrapper": "porsche-design-system.select-wrapper.366ada5c6c6783a9d31d.js", "spinner": "porsche-design-system.spinner.56744158cbf854e788aa.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.071c0919b275bc496353.js", "switch": "porsche-design-system.switch.5fe7514dae5f28072c50.js", "table": "porsche-design-system.table.3f9ca9eb75d9992634c5.js", "tabs-bar": "porsche-design-system.tabs-bar.50decfc5d6fbaee88674.js", "tabs": "porsche-design-system.tabs.d476c39c3befea950e86.js", "tag": "porsche-design-system.tag.acd17dd384a64223a81f.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.01c747329c188f2dcce7.js", "text-list": "porsche-design-system.text-list.b363bc15aed4358cd3a2.js", "text": "porsche-design-system.text.4438a52781e7b7a9b798.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.f6f2c77c5afac41b1825.js", "toast": "porsche-design-system.toast.b0e4dba76fc37918b724.js" }; | ||
var manifest = { "core": "porsche-design-system.v2.17.0.9a579f8ff7708b1885a9.js", "accordion": "porsche-design-system.accordion.672e1be1ea3640e24667.js", "banner": "porsche-design-system.banner.41722b8017de0b5d246f.js", "button-pure": "porsche-design-system.button-pure.30ccbf3af509e4f1444b.js", "button": "porsche-design-system.button.1302204116d894125d63.js", "carousel": "porsche-design-system.carousel.7bb34355be1533f6d219.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.0af31d3a2a11adbc1ae4.js", "content-wrapper": "porsche-design-system.content-wrapper.d9162b397da063884674.js", "divider": "porsche-design-system.divider.e9d7d5a7b1ca8e4d5e2a.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.4d758de2835b1fcb09d0.js", "flex": "porsche-design-system.flex.4093bb8b443bc49aa49c.js", "grid": "porsche-design-system.grid.f471d5944c4c0bc0bcb5.js", "headline": "porsche-design-system.headline.92aaf8194ac8f192fdf7.js", "icon": "porsche-design-system.icon.8e3a3734f69eb6533c66.js", "link-pure": "porsche-design-system.link-pure.b8e683a1a1a69ddf74fc.js", "link-social": "porsche-design-system.link-social.c427ef5338d238b9c406.js", "link-tile": "porsche-design-system.link-tile.db163722a7e770a85f45.js", "link": "porsche-design-system.link.ad83794849f270307099.js", "marque": "porsche-design-system.marque.15c9d0da4a73516566d8.js", "modal": "porsche-design-system.modal.6382d8f585232c4b4120.js", "pagination": "porsche-design-system.pagination.1b5362bc59b91b296644.js", "popover": "porsche-design-system.popover.b9015a3d8ffa9b3dc529.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.d516c4f3e943bd84e926.js", "scroller": "porsche-design-system.scroller.5079d0bd819b3a58c31a.js", "segmented-control": "porsche-design-system.segmented-control.3e0a64a358afea901217.js", "select-wrapper": "porsche-design-system.select-wrapper.6f8719e84241b2b08909.js", "spinner": "porsche-design-system.spinner.537b7347ce9998a458ed.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.71f7b8ef9e4703bb45ce.js", "switch": "porsche-design-system.switch.9a4262d17747468b33a1.js", "table": "porsche-design-system.table.c386b11a1a32f6902e79.js", "tabs-bar": "porsche-design-system.tabs-bar.afd66e89a8aafc67b326.js", "tabs": "porsche-design-system.tabs.3eb4aa2f6dee90fe4e7d.js", "tag": "porsche-design-system.tag.b744c98e72d000d02825.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.5b90b22b64b058d2f329.js", "text-list": "porsche-design-system.text-list.e7fee3013c5730c1f34a.js", "text": "porsche-design-system.text.6c494c2050a87f393ea4.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.8c1cb14711df00cdcfaf.js", "toast": "porsche-design-system.toast.5cfb4408583fffba8a67.js" }; | ||
var urls = ['core'].concat(components).map(function (cmp) { return "".concat(cdnBaseUrl, "/porsche-design-system/components/").concat(manifest[cmp]); }); | ||
@@ -171,3 +171,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.17.0-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.17.0-rc.0.df4df43fafe00f1d9cb9.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.17.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.17.0.9a579f8ff7708b1885a9.js\"}),e))};porscheDesignSystem=t})();" + loadCalls; | ||
// there is no other solution than using dangerouslySetInnerHTML since JSX elements are rendered by the createElement() function | ||
@@ -174,0 +174,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
1365747