@infineon/infineon-design-system-stencil 35.0.0--canary.1896.7610588f166b44c9bbafd29f93a275eb5db3ec59.0 → 35.0.0--canary.1896.1d519c7bdceb9e02dc64b1f637502d93a7d24118.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 (86) hide show
  1. package/dist/cjs/ifx-icon.cjs.entry.js +8 -3
  2. package/dist/cjs/ifx-icon.cjs.entry.js.map +1 -1
  3. package/dist/collection/components/icon/infineonIconStencil.js +8 -3
  4. package/dist/collection/components/icon/infineonIconStencil.js.map +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-c7ea7b19.js → p-261f2660.js} +3 -3
  51. package/dist/components/{p-c7ea7b19.js.map → p-261f2660.js.map} +1 -1
  52. package/dist/components/{p-eb6ca49a.js → p-363a7f5d.js} +9 -4
  53. package/dist/components/p-363a7f5d.js.map +1 -0
  54. package/dist/components/{p-046895f8.js → p-39c3858d.js} +2 -2
  55. package/dist/components/{p-046895f8.js.map → p-39c3858d.js.map} +1 -1
  56. package/dist/components/{p-4a26513a.js → p-4b7f1862.js} +2 -2
  57. package/dist/components/{p-4a26513a.js.map → p-4b7f1862.js.map} +1 -1
  58. package/dist/components/{p-078e9c76.js → p-637370bd.js} +2 -2
  59. package/dist/components/{p-078e9c76.js.map → p-637370bd.js.map} +1 -1
  60. package/dist/components/{p-a7202d3b.js → p-76f6e25b.js} +2 -2
  61. package/dist/components/{p-a7202d3b.js.map → p-76f6e25b.js.map} +1 -1
  62. package/dist/components/{p-d8afbc9e.js → p-7dca2604.js} +2 -2
  63. package/dist/components/{p-d8afbc9e.js.map → p-7dca2604.js.map} +1 -1
  64. package/dist/components/{p-6085f742.js → p-88743a31.js} +4 -4
  65. package/dist/components/{p-6085f742.js.map → p-88743a31.js.map} +1 -1
  66. package/dist/components/{p-d3594393.js → p-b8cbb5f8.js} +2 -2
  67. package/dist/components/{p-d3594393.js.map → p-b8cbb5f8.js.map} +1 -1
  68. package/dist/components/{p-658f16f9.js → p-c4ae1de4.js} +2 -2
  69. package/dist/components/{p-658f16f9.js.map → p-c4ae1de4.js.map} +1 -1
  70. package/dist/components/{p-367b840b.js → p-df47110f.js} +3 -3
  71. package/dist/components/{p-367b840b.js.map → p-df47110f.js.map} +1 -1
  72. package/dist/components/{p-b4bfd8c5.js → p-eb48190b.js} +3 -3
  73. package/dist/components/{p-b4bfd8c5.js.map → p-eb48190b.js.map} +1 -1
  74. package/dist/components/{p-d829ac98.js → p-eb62c93b.js} +2 -2
  75. package/dist/components/{p-d829ac98.js.map → p-eb62c93b.js.map} +1 -1
  76. package/dist/components/{p-0f7cb0c7.js → p-fbb6cb0e.js} +2 -2
  77. package/dist/components/{p-0f7cb0c7.js.map → p-fbb6cb0e.js.map} +1 -1
  78. package/dist/esm/ifx-icon.entry.js +8 -3
  79. package/dist/esm/ifx-icon.entry.js.map +1 -1
  80. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  81. package/dist/infineon-design-system-stencil/p-f7b02dc8.entry.js +2 -0
  82. package/dist/infineon-design-system-stencil/p-f7b02dc8.entry.js.map +1 -0
  83. package/package.json +1 -1
  84. package/dist/components/p-eb6ca49a.js.map +0 -1
  85. package/dist/infineon-design-system-stencil/p-aef44361.entry.js +0 -2
  86. package/dist/infineon-design-system-stencil/p-aef44361.entry.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{r as t,c as s,h as e,a as n}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 r=i;const c=class{constructor(e){t(this,e);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 n=this.convertHtmlToObject(t);const o=e("path",n);s.push(o);if(t.firstChild){const n=t.querySelectorAll("path");const o=t.querySelectorAll("path").length;for(let t=0;t<o;t++){let o=this.convertHtmlToObject(n[t]);let i=e("path",o);s.push(i)}}return s}getSVG(t){return e("svg",{class:"inline-svg",width:this.ifxIcon.width,height:this.ifxIcon.height,xmlns:"http://www.w3.org/2000/svg",fill:this.ifxIcon.fill,viewBox:this.ifxIcon.viewBox},...t)}constructIcon(){if(this.ifxIcon){const t=this.convertStringToHtml(this.ifxIcon.svgContent);const s=this.convertPathsToVnode(t);const e=this.getSVG(s);return e}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 e(n,{key:"0bea5330247eadec614b8cb15f2918ae4af32b1a"},this.constructIcon())}};c.style=r;export{c as ifx_icon};
2
- //# sourceMappingURL=p-aef44361.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["infineonIconStencilCss","IfxIconStyle0","InfineonIconStencil","constructor","hostRef","this","icon","convertStringToHtml","htmlString","div","document","createElement","innerHTML","firstChild","convertHtmlToObject","htmlElement","pathToObject","Array","from","attributes","name","value","reduce","acc","current","convertPathsToVnode","htmlPath","svgPaths","parentPath","parentPathToVnode","h","push","paths","querySelectorAll","pathLength","length","i","objToVnode","getSVG","svgPath","class","width","ifxIcon","height","xmlns","fill","viewBox","constructIcon","svgContent","SVG","console","error","consoleError","emit","componentWillLoad","removeHyphen","str","toLowerCase","replace","_m","chr","getIcon","render","Host","key"],"sources":["src/components/icon/infineonIconStencil.scss?tag=ifx-icon","src/components/icon/infineonIconStencil.tsx"],"sourcesContent":["ifx-icon {\n display: inline-flex;\n justify-content: center;\n\n &:empty {\n display: none;\n }\n}","import { Component, Prop, h, Host, Event, EventEmitter } from '@stencil/core';\nimport { getIcon } from '@infineon/infineon-icons'\n \n\n\n@Component({\n tag: 'ifx-icon',\n styleUrl: './infineonIconStencil.scss'\n})\n\nexport class InfineonIconStencil {\n @Prop({ mutable: true }) icon: string = \"\"\n @Prop({ mutable: true }) ifxIcon: any;\n @Event() consoleError: EventEmitter<boolean>;\n \n convertStringToHtml(htmlString) { \n const div = document.createElement('div')\n div.innerHTML = htmlString\n return div.firstChild\n }\n\n convertHtmlToObject(htmlElement) { \n let pathToObject = Array\n .from(htmlElement.attributes, ({ name, value }) => ({ name, value }))\n .reduce((acc, current) => {\n acc[current.name] = current.value\n return acc\n }, {})\n\n return pathToObject\n }\n\n convertPathsToVnode(htmlPath) { \n let svgPaths = []\n const parentPath = this.convertHtmlToObject(htmlPath);\n const parentPathToVnode = h(\"path\", parentPath);\n svgPaths.push(parentPathToVnode)\n if(htmlPath.firstChild) { \n const paths = htmlPath.querySelectorAll('path');\n const pathLength = htmlPath.querySelectorAll('path').length;\n for(let i = 0; i < pathLength; i++) { \n let pathToObject = this.convertHtmlToObject(paths[i])\n let objToVnode = h(\"path\", pathToObject)\n svgPaths.push(objToVnode)\n } \n }\n return svgPaths\n }\n\n getSVG(svgPath) {\n return <svg class=\"inline-svg\" width={this.ifxIcon.width} height={this.ifxIcon.height} xmlns=\"http://www.w3.org/2000/svg\" fill={this.ifxIcon.fill} viewBox={this.ifxIcon.viewBox}>{...svgPath}</svg>\n }\n\n constructIcon() {\n if(this.ifxIcon) {\n const htmlPath = this.convertStringToHtml(this.ifxIcon.svgContent)\n const svgPath = this.convertPathsToVnode(htmlPath)\n const SVG = this.getSVG(svgPath)\n return SVG;\n } else if(this.icon !== \"\") {\n console.error('Icon not found!')\n this.consoleError.emit(true)\n return;\n } else { \n return;\n }\n }\n\n componentWillLoad() {\n const removeHyphen = (str) => str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_m, chr) => chr);\n this.ifxIcon = getIcon(removeHyphen(this.icon));\n }\n\n render() {\n return (\n <Host>\n {this.constructIcon()}\n </Host>\n );\n }\n}"],"mappings":"6FAAA,MAAMA,EAAyB,mFAC/B,MAAAC,EAAeD,E,MCSFE,EAAmB,MALhC,WAAAC,CAAAC,G,qDAM2BC,KAAAC,KAAe,E,CAIxC,mBAAAC,CAAoBC,GAClB,MAAMC,EAAMC,SAASC,cAAc,OACnCF,EAAIG,UAAYJ,EAChB,OAAOC,EAAII,U,CAGb,mBAAAC,CAAoBC,GAClB,IAAIC,EAAeC,MAChBC,KAAKH,EAAYI,YAAY,EAAGC,OAAMC,YAAO,CAAQD,OAAMC,YAC3DC,QAAO,CAACC,EAAKC,KACZD,EAAIC,EAAQJ,MAAQI,EAAQH,MAC5B,OAAOE,CAAG,GACT,IAEL,OAAOP,C,CAGT,mBAAAS,CAAoBC,GAClB,IAAIC,EAAW,GACf,MAAMC,EAAavB,KAAKS,oBAAoBY,GAC5C,MAAMG,EAAoBC,EAAE,OAAQF,GACpCD,EAASI,KAAKF,GACd,GAAGH,EAASb,WAAY,CACtB,MAAMmB,EAAQN,EAASO,iBAAiB,QACxC,MAAMC,EAAaR,EAASO,iBAAiB,QAAQE,OACrD,IAAI,IAAIC,EAAI,EAAGA,EAAIF,EAAYE,IAAK,CAClC,IAAIpB,EAAeX,KAAKS,oBAAoBkB,EAAMI,IAClD,IAAIC,EAAaP,EAAE,OAAQd,GAC3BW,EAASI,KAAKM,E,EAGlB,OAAOV,C,CAGR,MAAAW,CAAOC,GACN,OAAOT,EAAA,OAAKU,MAAM,aAAaC,MAAOpC,KAAKqC,QAAQD,MAAOE,OAAQtC,KAAKqC,QAAQC,OAAQC,MAAM,6BAA6BC,KAAMxC,KAAKqC,QAAQG,KAAMC,QAASzC,KAAKqC,QAAQI,YAAaP,E,CAGxL,aAAAQ,GACE,GAAG1C,KAAKqC,QAAS,CACf,MAAMhB,EAAWrB,KAAKE,oBAAoBF,KAAKqC,QAAQM,YACvD,MAAMT,EAAUlC,KAAKoB,oBAAoBC,GACzC,MAAMuB,EAAM5C,KAAKiC,OAAOC,GACxB,OAAOU,C,MACF,GAAG5C,KAAKC,OAAS,GAAI,CAC1B4C,QAAQC,MAAM,mBACd9C,KAAK+C,aAAaC,KAAK,MACvB,M,KACM,CACN,M,EAIJ,iBAAAC,GACE,MAAMC,EAAgBC,GAAQA,EAAIC,cAAcC,QAAQ,qBAAqB,CAACC,EAAIC,IAAQA,IAC1FvD,KAAKqC,QAAUmB,EAAQN,EAAalD,KAAKC,M,CAG3C,MAAAwD,GACE,OACEhC,EAACiC,EAAI,CAAAC,IAAA,4CACJ3D,KAAK0C,gB","ignoreList":[]}