@infineon/infineon-design-system-stencil 35.0.0--canary.1896.76b85ade60616149af2cd2912c41e3dd45bfd15f.0 → 35.0.0--canary.1896.48ace02f79029e2c84d99703b4c0a9c1e0bd2f4c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/cjs/{icons-14857a37.js → icons-31ab853f.js} +15 -15
  2. package/dist/cjs/icons-31ab853f.js.map +1 -0
  3. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  4. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  5. package/dist/components/ifx-accordion-item.js +1 -1
  6. package/dist/components/ifx-alert.js +1 -1
  7. package/dist/components/ifx-breadcrumb-item-label.js +1 -1
  8. package/dist/components/ifx-checkbox-group.js +1 -1
  9. package/dist/components/ifx-checkbox.js +1 -1
  10. package/dist/components/ifx-chip-item.js +1 -1
  11. package/dist/components/ifx-chip.js +1 -1
  12. package/dist/components/ifx-date-picker.js +1 -1
  13. package/dist/components/ifx-dropdown-item.js +1 -1
  14. package/dist/components/ifx-dropdown-trigger-button.js +1 -1
  15. package/dist/components/ifx-faq.js +2 -2
  16. package/dist/components/ifx-file-upload.js +2 -2
  17. package/dist/components/ifx-filter-accordion.js +1 -1
  18. package/dist/components/ifx-filter-bar.js +1 -1
  19. package/dist/components/ifx-filter-search.js +2 -2
  20. package/dist/components/ifx-icon-button.js +1 -1
  21. package/dist/components/ifx-icon.js +1 -1
  22. package/dist/components/ifx-icons-preview.js +3 -3
  23. package/dist/components/ifx-list-entry.js +2 -2
  24. package/dist/components/ifx-list.js +1 -1
  25. package/dist/components/ifx-modal.js +2 -2
  26. package/dist/components/ifx-multiselect.js +1 -1
  27. package/dist/components/ifx-navbar-item.js +1 -1
  28. package/dist/components/ifx-navbar.js +1 -1
  29. package/dist/components/ifx-notification.js +1 -1
  30. package/dist/components/ifx-overview-table.js +1 -1
  31. package/dist/components/ifx-pagination.js +1 -1
  32. package/dist/components/ifx-radio-button-group.js +1 -1
  33. package/dist/components/ifx-search-bar.js +2 -2
  34. package/dist/components/ifx-search-field.js +1 -1
  35. package/dist/components/ifx-segment.js +1 -1
  36. package/dist/components/ifx-segmented-control.js +1 -1
  37. package/dist/components/ifx-select.js +1 -1
  38. package/dist/components/ifx-set-filter.js +5 -5
  39. package/dist/components/ifx-sidebar-item.js +1 -1
  40. package/dist/components/ifx-slider.js +1 -1
  41. package/dist/components/ifx-step.js +1 -1
  42. package/dist/components/ifx-table.js +7 -7
  43. package/dist/components/ifx-tabs.js +1 -1
  44. package/dist/components/ifx-tag.js +1 -1
  45. package/dist/components/ifx-template.js +1 -1
  46. package/dist/components/ifx-templates-ui.js +5 -5
  47. package/dist/components/ifx-text-field.js +1 -1
  48. package/dist/components/ifx-tooltip.js +1 -1
  49. package/dist/components/ifx-tree-view-item.js +2 -2
  50. package/dist/components/{p-4b44776b.js → p-1233e88f.js} +4 -4
  51. package/dist/components/{p-4b44776b.js.map → p-1233e88f.js.map} +1 -1
  52. package/dist/components/{p-bfa4cccd.js → p-3f3bff46.js} +2 -2
  53. package/dist/components/{p-bfa4cccd.js.map → p-3f3bff46.js.map} +1 -1
  54. package/dist/components/{p-322abc25.js → p-468cd13e.js} +2 -2
  55. package/dist/components/{p-322abc25.js.map → p-468cd13e.js.map} +1 -1
  56. package/dist/components/{p-0ed48c83.js → p-47544912.js} +2 -2
  57. package/dist/components/{p-0ed48c83.js.map → p-47544912.js.map} +1 -1
  58. package/dist/components/{p-86ffef9d.js → p-508bb93f.js} +3 -3
  59. package/dist/components/{p-86ffef9d.js.map → p-508bb93f.js.map} +1 -1
  60. package/dist/components/{p-25193d1c.js → p-67213226.js} +15 -15
  61. package/dist/components/p-67213226.js.map +1 -0
  62. package/dist/components/{p-f4f71c1d.js → p-814c54f0.js} +3 -3
  63. package/dist/components/{p-f4f71c1d.js.map → p-814c54f0.js.map} +1 -1
  64. package/dist/components/{p-6e1e2d56.js → p-8fe694c7.js} +2 -2
  65. package/dist/components/{p-6e1e2d56.js.map → p-8fe694c7.js.map} +1 -1
  66. package/dist/components/{p-c7cd5e92.js → p-99a6b7fb.js} +3 -3
  67. package/dist/components/{p-c7cd5e92.js.map → p-99a6b7fb.js.map} +1 -1
  68. package/dist/components/{p-39ddb6de.js → p-bacfbd70.js} +2 -2
  69. package/dist/components/{p-39ddb6de.js.map → p-bacfbd70.js.map} +1 -1
  70. package/dist/components/{p-e53e2c1c.js → p-bceac2ab.js} +2 -2
  71. package/dist/components/{p-e53e2c1c.js.map → p-bceac2ab.js.map} +1 -1
  72. package/dist/components/{p-952417f3.js → p-bde5bd73.js} +2 -2
  73. package/dist/components/{p-952417f3.js.map → p-bde5bd73.js.map} +1 -1
  74. package/dist/components/{p-4f7e657d.js → p-d4b96419.js} +2 -2
  75. package/dist/components/{p-4f7e657d.js.map → p-d4b96419.js.map} +1 -1
  76. package/dist/components/{p-35f780cc.js → p-e25cf775.js} +2 -2
  77. package/dist/components/{p-35f780cc.js.map → p-e25cf775.js.map} +1 -1
  78. package/dist/esm/{icons-e2536d40.js → icons-845f859e.js} +15 -15
  79. package/dist/esm/icons-845f859e.js.map +1 -0
  80. package/dist/esm/ifx-icon.entry.js +1 -1
  81. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  82. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  83. package/dist/infineon-design-system-stencil/p-1e2705c8.js +2 -0
  84. package/dist/infineon-design-system-stencil/p-1e2705c8.js.map +1 -0
  85. package/dist/infineon-design-system-stencil/{p-e1184177.entry.js → p-54a2b0d7.entry.js} +2 -2
  86. package/dist/infineon-design-system-stencil/{p-5650fe08.entry.js → p-84ec2ff5.entry.js} +2 -2
  87. package/package.json +1 -1
  88. package/dist/cjs/icons-14857a37.js.map +0 -1
  89. package/dist/components/p-25193d1c.js.map +0 -1
  90. package/dist/esm/icons-e2536d40.js.map +0 -1
  91. package/dist/infineon-design-system-stencil/p-816cfb79.js +0 -2
  92. package/dist/infineon-design-system-stencil/p-816cfb79.js.map +0 -1
  93. /package/dist/infineon-design-system-stencil/{p-e1184177.entry.js.map → p-54a2b0d7.entry.js.map} +0 -0
  94. /package/dist/infineon-design-system-stencil/{p-5650fe08.entry.js.map → p-84ec2ff5.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,h as i,g as a}from"./p-b7a462e5.js";import{i as t}from"./p-816cfb79.js";const n='.container{display:flex;flex-direction:column;gap:10px}.alert__wrapper{margin-bottom:40px}.snippet__wrapper{display:flex;flex-direction:column;gap:5px;position:sticky;top:0;left:0;z-index:99;background-color:white}.html-wrapper{background:rgb(38, 38, 38);padding:20px;color:white;font-family:monospace}.html-wrapper button{position:absolute;right:0px;bottom:0px;background:rgba(0, 0, 0, 0.85);color:#C9CDCF;border:0 none;padding:4px 10px;font-size:0.75rem;font-family:"Nunito Sans";font-weight:700;border-top:1px solid rgba(255, 255, 255, 0.1);border-left:1px solid rgba(255, 255, 255, 0.1);margin-left:-1px;border-radius:4px 0 0 0;cursor:pointer}.html-wrapper .component-name{color:#A8FF60}.html-wrapper .attribute-name{color:rgb(150, 203, 254)}.html-wrapper .attribute-value{color:rgb(180, 116, 221)}.preview__container{box-sizing:border-box;display:flex;align-items:center;padding:2px;flex-wrap:wrap;gap:4px}.preview__container .no-results{width:100%;text-align:center}.preview__container .preview__container-item{display:flex;justify-content:center;align-items:center;border:1px solid #f1f1f1;padding:2px;width:50px;height:50px;position:relative}.preview__container .preview__container-item:active{border-color:#378375}.preview__container .preview__container-item:hover{cursor:pointer}.preview__container .preview__container-item.copied::after{z-index:50;content:"copied!";position:absolute;top:0;left:50px;background-color:#000;color:white;padding:3px;border-radius:4px}';const o=n;const c=class{constructor(i){e(this,i);this.iconsArray=[];this.isCopied=false;this.copiedIcon=null;this.htmlTag='<ifx-icon icon="calendar-16"></ifx-icon>';this.iconName=`""`;this.searchTerm=""}handleCopiedText(){this.isCopied=true;setTimeout((()=>{this.isCopied=false}),2e3)}copyIconText(e){this.htmlTag=`<ifx-icon icon="${e}"></ifx-icon>`;this.iconName=`"${e}"`;this.copiedIcon=e}copyHtmlString(){const e=`<ifx-icon icon=${this.iconName}></ifx-icon>`;navigator.clipboard.writeText(e);this.handleCopiedText()}get filteredIcons(){const e=this.searchTerm.toLowerCase().trim();if(!e)return this.iconsArray;return this.iconsArray.filter((i=>i.toLowerCase().includes(e)))}getIconIndex(e){return this.iconsArray.indexOf(e)}handleIconFilter(){const e=this.el.shadowRoot.querySelector("#search__field");e.addEventListener("ifxInput",(e=>{this.searchTerm=e.detail}))}componentWillLoad(){this.iconsArray=Object.keys(t)}componentDidLoad(){this.handleIconFilter()}render(){return i("div",{key:"7b9c4b5b3212cdae77e4522bd573939b1bc32e62",class:"container"},i("div",{key:"8e4047341dd331f402a2ce249b6bd68b7fe398d5",class:"alert__wrapper"},i("ifx-notification",{key:"42e17eefa571360711ea0aca45d57dae6a5b70a6",icon:"c-check-16",variant:"neutral","link-text":"Figma icon library","link-href":"https://www.figma.com/design/yWwaLoqsWLWygDxXfvdym9/Infineon-DDS-%7C-UI-icon-library?node-id=13284-1289&p=f&t=SD6EdmXaSufsjPCv-0","link-target":"_blank"},"You can also find the UI icons in Figma for use in mockups.")),i("div",{key:"ecd1f37f5edb25b913157626ba674f10c2a00026",class:"snippet__wrapper"},i("div",{key:"58f5fd04a7fef398ba47d71c23c74515c5461337",class:"search__wrapper"},i("ifx-search-field",{key:"76802675d5c01562a0f7d69f8d3bd3df15c2944b",id:"search__field",size:"m","show-delete-icon":"true",value:"",autocomplete:"on",placeholder:"Search icon"})),i("div",{key:"2160ef2e64b86140232aa6566db2f153d724b107",class:"html-wrapper"},i("span",{key:"810aa571906d82fbe93d631322bec4ed08b956d4",class:"html-tag"},"<"),i("span",{key:"2aeeb86927938a7b2a3d9f5fb2ef57f0aa925eaa",class:"component-name"},"ifx-icon"),i("span",{key:"de18997563df168af3e976b1ad81d205cd2a850a",class:"attribute-name"}," icon"),"=",i("span",{key:"a93dfbec210940b2d9b2c1dd349a727e5f7185ce",class:"attribute-value"},this.iconName),i("span",{key:"b2900ea9e7099ab4fcb890d6df05cab4d6109c55",class:"html-tag"},">"),i("span",{key:"fee18bd1c39103e29ec84bc115b1719c11a66849",class:"html-tag"},"</"),i("span",{key:"57c6db27a4156d0ad50c20d691138817db80ba18",class:"component-name"},"ifx-icon"),i("span",{key:"395b55e085cb49a133beaca0bf79338662c0905b",class:"html-tag"},">"),i("button",{key:"a6c81538ec62f435c06460e8822aa1784ec06138",onClick:()=>this.copyHtmlString()},this.isCopied?"Copied":"Copy"))),i("div",{key:"dcac1dacdfc1f4d0cdeeabbe908b2b71bc79334e",class:"preview__container"},this.filteredIcons.map((e=>i("div",{key:e,class:`preview__container-item ${this.isCopied&&this.copiedIcon===e?"copied":""}`,onClick:()=>this.copyIconText(e)},i("ifx-icon",{icon:e})))),this.filteredIcons.length===0&&i("div",{key:"128cee79fdfa10ea937e704b1a48ae83485c0c1f",class:"no-results"},'No icons found matching "',this.searchTerm,'"')))}get el(){return a(this)}};c.style=o;export{c as ifx_icons_preview};
2
- //# sourceMappingURL=p-e1184177.entry.js.map
1
+ import{r as e,h as i,g as a}from"./p-b7a462e5.js";import{i as t}from"./p-1e2705c8.js";const n='.container{display:flex;flex-direction:column;gap:10px}.alert__wrapper{margin-bottom:40px}.snippet__wrapper{display:flex;flex-direction:column;gap:5px;position:sticky;top:0;left:0;z-index:99;background-color:white}.html-wrapper{background:rgb(38, 38, 38);padding:20px;color:white;font-family:monospace}.html-wrapper button{position:absolute;right:0px;bottom:0px;background:rgba(0, 0, 0, 0.85);color:#C9CDCF;border:0 none;padding:4px 10px;font-size:0.75rem;font-family:"Nunito Sans";font-weight:700;border-top:1px solid rgba(255, 255, 255, 0.1);border-left:1px solid rgba(255, 255, 255, 0.1);margin-left:-1px;border-radius:4px 0 0 0;cursor:pointer}.html-wrapper .component-name{color:#A8FF60}.html-wrapper .attribute-name{color:rgb(150, 203, 254)}.html-wrapper .attribute-value{color:rgb(180, 116, 221)}.preview__container{box-sizing:border-box;display:flex;align-items:center;padding:2px;flex-wrap:wrap;gap:4px}.preview__container .no-results{width:100%;text-align:center}.preview__container .preview__container-item{display:flex;justify-content:center;align-items:center;border:1px solid #f1f1f1;padding:2px;width:50px;height:50px;position:relative}.preview__container .preview__container-item:active{border-color:#378375}.preview__container .preview__container-item:hover{cursor:pointer}.preview__container .preview__container-item.copied::after{z-index:50;content:"copied!";position:absolute;top:0;left:50px;background-color:#000;color:white;padding:3px;border-radius:4px}';const o=n;const c=class{constructor(i){e(this,i);this.iconsArray=[];this.isCopied=false;this.copiedIcon=null;this.htmlTag='<ifx-icon icon="calendar-16"></ifx-icon>';this.iconName=`""`;this.searchTerm=""}handleCopiedText(){this.isCopied=true;setTimeout((()=>{this.isCopied=false}),2e3)}copyIconText(e){this.htmlTag=`<ifx-icon icon="${e}"></ifx-icon>`;this.iconName=`"${e}"`;this.copiedIcon=e}copyHtmlString(){const e=`<ifx-icon icon=${this.iconName}></ifx-icon>`;navigator.clipboard.writeText(e);this.handleCopiedText()}get filteredIcons(){const e=this.searchTerm.toLowerCase().trim();if(!e)return this.iconsArray;return this.iconsArray.filter((i=>i.toLowerCase().includes(e)))}getIconIndex(e){return this.iconsArray.indexOf(e)}handleIconFilter(){const e=this.el.shadowRoot.querySelector("#search__field");e.addEventListener("ifxInput",(e=>{this.searchTerm=e.detail}))}componentWillLoad(){this.iconsArray=Object.keys(t)}componentDidLoad(){this.handleIconFilter()}render(){return i("div",{key:"7b9c4b5b3212cdae77e4522bd573939b1bc32e62",class:"container"},i("div",{key:"8e4047341dd331f402a2ce249b6bd68b7fe398d5",class:"alert__wrapper"},i("ifx-notification",{key:"42e17eefa571360711ea0aca45d57dae6a5b70a6",icon:"c-check-16",variant:"neutral","link-text":"Figma icon library","link-href":"https://www.figma.com/design/yWwaLoqsWLWygDxXfvdym9/Infineon-DDS-%7C-UI-icon-library?node-id=13284-1289&p=f&t=SD6EdmXaSufsjPCv-0","link-target":"_blank"},"You can also find the UI icons in Figma for use in mockups.")),i("div",{key:"ecd1f37f5edb25b913157626ba674f10c2a00026",class:"snippet__wrapper"},i("div",{key:"58f5fd04a7fef398ba47d71c23c74515c5461337",class:"search__wrapper"},i("ifx-search-field",{key:"76802675d5c01562a0f7d69f8d3bd3df15c2944b",id:"search__field",size:"m","show-delete-icon":"true",value:"",autocomplete:"on",placeholder:"Search icon"})),i("div",{key:"2160ef2e64b86140232aa6566db2f153d724b107",class:"html-wrapper"},i("span",{key:"810aa571906d82fbe93d631322bec4ed08b956d4",class:"html-tag"},"<"),i("span",{key:"2aeeb86927938a7b2a3d9f5fb2ef57f0aa925eaa",class:"component-name"},"ifx-icon"),i("span",{key:"de18997563df168af3e976b1ad81d205cd2a850a",class:"attribute-name"}," icon"),"=",i("span",{key:"a93dfbec210940b2d9b2c1dd349a727e5f7185ce",class:"attribute-value"},this.iconName),i("span",{key:"b2900ea9e7099ab4fcb890d6df05cab4d6109c55",class:"html-tag"},">"),i("span",{key:"fee18bd1c39103e29ec84bc115b1719c11a66849",class:"html-tag"},"</"),i("span",{key:"57c6db27a4156d0ad50c20d691138817db80ba18",class:"component-name"},"ifx-icon"),i("span",{key:"395b55e085cb49a133beaca0bf79338662c0905b",class:"html-tag"},">"),i("button",{key:"a6c81538ec62f435c06460e8822aa1784ec06138",onClick:()=>this.copyHtmlString()},this.isCopied?"Copied":"Copy"))),i("div",{key:"dcac1dacdfc1f4d0cdeeabbe908b2b71bc79334e",class:"preview__container"},this.filteredIcons.map((e=>i("div",{key:e,class:`preview__container-item ${this.isCopied&&this.copiedIcon===e?"copied":""}`,onClick:()=>this.copyIconText(e)},i("ifx-icon",{icon:e})))),this.filteredIcons.length===0&&i("div",{key:"128cee79fdfa10ea937e704b1a48ae83485c0c1f",class:"no-results"},'No icons found matching "',this.searchTerm,'"')))}get el(){return a(this)}};c.style=o;export{c as ifx_icons_preview};
2
+ //# sourceMappingURL=p-54a2b0d7.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as n,a as o}from"./p-b7a462e5.js";import{g as e}from"./p-816cfb79.js";const i="ifx-icon{display:inline-flex;justify-content:center}ifx-icon:empty{display:none}";const c=i;const r=class{constructor(n){t(this,n);this.consoleError=s(this,"consoleError",7);this.icon=""}convertStringToHtml(t){const s=document.createElement("div");s.innerHTML=t;return s.firstChild}convertHtmlToObject(t){let s=Array.from(t.attributes,(({name:t,value:s})=>({name:t,value:s}))).reduce(((t,s)=>{t[s.name]=s.value;return t}),{});return s}convertPathsToVnode(t){let s=[];const o=this.convertHtmlToObject(t);const e=n("path",o);s.push(e);if(t.firstChild){const o=t.querySelectorAll("path");const e=t.querySelectorAll("path").length;for(let t=0;t<e;t++){let e=this.convertHtmlToObject(o[t]);let i=n("path",e);s.push(i)}}return s}getSVG(t){const s=this.convertStringToHtml(this.ifxIcon);const o=s.getAttribute("width");const e=s.getAttribute("height");const i=s.getAttribute("fill");const c=s.getAttribute("viewBox");return n("svg",{class:"inline-svg",width:o,height:e,xmlns:"http://www.w3.org/2000/svg",fill:i,viewBox:c},...t)}constructIcon(){if(this.ifxIcon){const t=this.convertStringToHtml(this.ifxIcon);const s=this.convertPathsToVnode(t);const n=this.getSVG(s);return n}else if(this.icon!==""){console.error("Icon not found!");this.consoleError.emit(true);return}else{return}}componentWillLoad(){const t=t=>t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,((t,s)=>s));this.ifxIcon=e(t(this.icon))}render(){return n(o,{key:"c1a8037e96f84eb87d1e111039c34885b7452d85"},this.constructIcon())}};r.style=c;export{r as ifx_icon};
2
- //# sourceMappingURL=p-5650fe08.entry.js.map
1
+ import{r as t,c as s,h as n,a as e}from"./p-b7a462e5.js";import{g as o}from"./p-1e2705c8.js";const i="ifx-icon{display:inline-flex;justify-content:center}ifx-icon:empty{display:none}";const c=i;const r=class{constructor(n){t(this,n);this.consoleError=s(this,"consoleError",7);this.icon=""}convertStringToHtml(t){const s=document.createElement("div");s.innerHTML=t;return s.firstChild}convertHtmlToObject(t){let s=Array.from(t.attributes,(({name:t,value:s})=>({name:t,value:s}))).reduce(((t,s)=>{t[s.name]=s.value;return t}),{});return s}convertPathsToVnode(t){let s=[];const e=this.convertHtmlToObject(t);const o=n("path",e);s.push(o);if(t.firstChild){const e=t.querySelectorAll("path");const o=t.querySelectorAll("path").length;for(let t=0;t<o;t++){let o=this.convertHtmlToObject(e[t]);let i=n("path",o);s.push(i)}}return s}getSVG(t){const s=this.convertStringToHtml(this.ifxIcon);const e=s.getAttribute("width");const o=s.getAttribute("height");const i=s.getAttribute("fill");const c=s.getAttribute("viewBox");return n("svg",{class:"inline-svg",width:e,height:o,xmlns:"http://www.w3.org/2000/svg",fill:i,viewBox:c},...t)}constructIcon(){if(this.ifxIcon){const t=this.convertStringToHtml(this.ifxIcon);const s=this.convertPathsToVnode(t);const n=this.getSVG(s);return n}else if(this.icon!==""){console.error("Icon not found!");this.consoleError.emit(true);return}else{return}}componentWillLoad(){const t=t=>t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,((t,s)=>s));this.ifxIcon=o(t(this.icon))}render(){return n(e,{key:"c1a8037e96f84eb87d1e111039c34885b7452d85"},this.constructIcon())}};r.style=c;export{r as ifx_icon};
2
+ //# sourceMappingURL=p-84ec2ff5.entry.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infineon/infineon-design-system-stencil",
3
- "version": "35.0.0--canary.1896.76b85ade60616149af2cd2912c41e3dd45bfd15f.0",
3
+ "version": "35.0.0--canary.1896.48ace02f79029e2c84d99703b4c0a9c1e0bd2f4c.0",
4
4
  "private": false,
5
5
  "description": "Infineon design system Stencil web components",
6
6
  "homepage": "https://infineon.github.io/infineon-design-system-stencil",