@porsche-design-system/components-js
Advanced tools
Comparing version 2.16.1 to 2.16.2-rc.0
@@ -12,2 +12,11 @@ # Changelog | ||
### [2.16.2-rc.0] - 2022-09-15 | ||
#### Fixed | ||
- Issue with `Popover` where drop-shadow is not shown correctly in Chrome >= 105 | ||
- Issue with `Carousel` and `wrap-content="true"` where the layout was out of sync with `Content Wrapper` for | ||
viewports >= 1760px. | ||
- `Select Wrapper` with custom dropdown keeps attribute changes of native select options in sync if changed programmatically | ||
### [2.16.1] - 2022-09-09 | ||
@@ -14,0 +23,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.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.16.1.406dd0cc60054ff97f92.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-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})())); |
{ | ||
"name": "@porsche-design-system/components-js", | ||
"version": "2.16.1", | ||
"version": "2.16.2-rc.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.16.1.406dd0cc60054ff97f92.js", "accordion": "porsche-design-system.accordion.e9789790c69a8f9430ec.js", "banner": "porsche-design-system.banner.cb29ef244223a5fa17a2.js", "button-pure": "porsche-design-system.button-pure.e4273abc823c5d0df8bf.js", "button": "porsche-design-system.button.c94f12b458fc10a4c770.js", "carousel": "porsche-design-system.carousel.32a0295af22d50b95fc4.js", "checkbox-wrapper": "porsche-design-system.checkbox-wrapper.097d6ae26c8b4168d378.js", "content-wrapper": "porsche-design-system.content-wrapper.cb05cef31bcbcb85ff08.js", "divider": "porsche-design-system.divider.b55d3215338b6a2cff9b.js", "fieldset-wrapper": "porsche-design-system.fieldset-wrapper.5a0204e87605332ee3b9.js", "flex": "porsche-design-system.flex.bdbcaefa054edd174cee.js", "grid": "porsche-design-system.grid.66f75a305ecfc5df25b0.js", "headline": "porsche-design-system.headline.beaad59996958d70172d.js", "icon": "porsche-design-system.icon.dc2434c108147cff2ca0.js", "link-pure": "porsche-design-system.link-pure.808645990af973b1fb46.js", "link-social": "porsche-design-system.link-social.91c8d7c3bd73df80ba66.js", "link": "porsche-design-system.link.86988f67e2dbec0cf7b6.js", "marque": "porsche-design-system.marque.0029dd38ebecc2918564.js", "modal": "porsche-design-system.modal.77ce83392cf4b8dd0baa.js", "pagination": "porsche-design-system.pagination.1bce40c568738585720f.js", "popover": "porsche-design-system.popover.0cf0f1fd85826efd1255.js", "radio-button-wrapper": "porsche-design-system.radio-button-wrapper.ce2739849b0187379e4b.js", "scroller": "porsche-design-system.scroller.177b9a9b3f0b422a2db1.js", "segmented-control": "porsche-design-system.segmented-control.cd0adcb84b14dbc26a93.js", "select-wrapper": "porsche-design-system.select-wrapper.0497c232a3927720590f.js", "spinner": "porsche-design-system.spinner.74283f1b8173dc69e693.js", "stepper-horizontal": "porsche-design-system.stepper-horizontal.895714c9d91d4dab2685.js", "switch": "porsche-design-system.switch.c415f3304b3e2c3935b6.js", "table": "porsche-design-system.table.e7e3ffe621f95ab83d1d.js", "tabs-bar": "porsche-design-system.tabs-bar.287a30c91d024352e888.js", "tabs": "porsche-design-system.tabs.3ef52c50b2352cda6b20.js", "tag": "porsche-design-system.tag.76efa07165c409ad5e0c.js", "text-field-wrapper": "porsche-design-system.text-field-wrapper.3a9a2d4c8371714bef70.js", "text-list": "porsche-design-system.text-list.0fef033046bd7df86cd8.js", "text": "porsche-design-system.text.972fa4620c686b9603b5.js", "textarea-wrapper": "porsche-design-system.textarea-wrapper.b5a6e1f1d0cad64b5148.js", "toast": "porsche-design-system.toast.5b6a179c19a721c8f9b9.js" }; | ||
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 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.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.16.1.406dd0cc60054ff97f92.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-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; | ||
// 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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1365221
1