@infineon/infineon-design-system-stencil 18.2.14 → 18.2.15

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 (46) hide show
  1. package/dist/cjs/{ifx-accordion-item.cjs.entry.js → ifx-accordion_2.cjs.entry.js} +27 -1
  2. package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -0
  3. package/dist/cjs/ifx-faq.cjs.entry.js +21 -0
  4. package/dist/cjs/ifx-faq.cjs.entry.js.map +1 -0
  5. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +2 -1
  8. package/dist/collection/stories/setup-and-installation/faq/faq.css +3 -0
  9. package/dist/collection/stories/setup-and-installation/faq/faq.js +19 -0
  10. package/dist/collection/stories/setup-and-installation/faq/faq.js.map +1 -0
  11. package/dist/components/accordion.js +47 -0
  12. package/dist/components/accordion.js.map +1 -0
  13. package/dist/components/accordionItem.js +71 -0
  14. package/dist/components/accordionItem.js.map +1 -0
  15. package/dist/components/ifx-accordion-item.js +1 -67
  16. package/dist/components/ifx-accordion-item.js.map +1 -1
  17. package/dist/components/ifx-accordion.js +1 -43
  18. package/dist/components/ifx-accordion.js.map +1 -1
  19. package/dist/components/ifx-faq.d.ts +11 -0
  20. package/dist/components/ifx-faq.js +53 -0
  21. package/dist/components/ifx-faq.js.map +1 -0
  22. package/dist/esm/{ifx-accordion-item.entry.js → ifx-accordion_2.entry.js} +28 -3
  23. package/dist/esm/ifx-accordion_2.entry.js.map +1 -0
  24. package/dist/esm/ifx-faq.entry.js +17 -0
  25. package/dist/esm/ifx-faq.entry.js.map +1 -0
  26. package/dist/esm/infineon-design-system-stencil.js +1 -1
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  29. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  30. package/dist/infineon-design-system-stencil/p-66a2ec8c.entry.js +2 -0
  31. package/dist/infineon-design-system-stencil/p-66a2ec8c.entry.js.map +1 -0
  32. package/dist/infineon-design-system-stencil/p-e772711f.entry.js +2 -0
  33. package/dist/infineon-design-system-stencil/p-e772711f.entry.js.map +1 -0
  34. package/dist/types/components.d.ts +13 -0
  35. package/dist/types/stories/setup-and-installation/faq/faq.d.ts +3 -0
  36. package/package.json +1 -1
  37. package/dist/cjs/ifx-accordion-item.cjs.entry.js.map +0 -1
  38. package/dist/cjs/ifx-accordion.cjs.entry.js +0 -34
  39. package/dist/cjs/ifx-accordion.cjs.entry.js.map +0 -1
  40. package/dist/esm/ifx-accordion-item.entry.js.map +0 -1
  41. package/dist/esm/ifx-accordion.entry.js +0 -30
  42. package/dist/esm/ifx-accordion.entry.js.map +0 -1
  43. package/dist/infineon-design-system-stencil/p-502d42a4.entry.js +0 -2
  44. package/dist/infineon-design-system-stencil/p-502d42a4.entry.js.map +0 -1
  45. package/dist/infineon-design-system-stencil/p-a88112db.entry.js +0 -2
  46. package/dist/infineon-design-system-stencil/p-a88112db.entry.js.map +0 -1
@@ -4,6 +4,31 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-daa22998.js');
6
6
 
7
+ const accordionCss = "*{font-family:\"Source Sans Pro\"}:host{display:block}.accordion-wrapper{display:flex;flex-direction:column;gap:8px}";
8
+
9
+ const Accordion = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.autoCollapse = false;
13
+ }
14
+ async onItemOpen(event) {
15
+ if (this.autoCollapse) {
16
+ const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));
17
+ for (const item of items) {
18
+ const itemElement = item;
19
+ if (itemElement !== event.target && (await itemElement.isOpen())) {
20
+ itemElement.close();
21
+ }
22
+ }
23
+ }
24
+ }
25
+ render() {
26
+ return (index.h("div", { class: "accordion-wrapper" }, index.h("slot", null)));
27
+ }
28
+ get el() { return index.getElement(this); }
29
+ };
30
+ Accordion.style = accordionCss;
31
+
7
32
  const accordionItemCss = "*{font-family:\"Source Sans Pro\"}.accordion-item{border-radius:3px;overflow:hidden;transition:all 0.3s}.accordion-title:hover{border:1px solid #ebe9e9;background-color:#ebe9e9}.accordion-title{display:flex;align-items:center;padding:1rem;color:#378375;border:1px solid #ebe9e9;cursor:pointer}.accordion-caption{font-weight:600;font-size:1rem}.accordion-content{max-height:0;overflow:hidden;transition:max-height 0.3s ease-in-out}.inner-content{padding:24px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;}.accordion-icon{font-weight:bold;display:inline-block;transition:transform 0.3s;margin-right:0.5rem}.accordion-item.open .accordion-icon{transform:rotate(-180deg)}";
8
33
 
9
34
  const IfxAccordionItem = class {
@@ -44,6 +69,7 @@ const IfxAccordionItem = class {
44
69
  };
45
70
  IfxAccordionItem.style = accordionItemCss;
46
71
 
72
+ exports.ifx_accordion = Accordion;
47
73
  exports.ifx_accordion_item = IfxAccordionItem;
48
74
 
49
- //# sourceMappingURL=ifx-accordion-item.cjs.entry.js.map
75
+ //# sourceMappingURL=ifx-accordion_2.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"ifx-accordion.ifx-accordion-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,sHAAsH;;MCQ9H,SAAS;;;wBAEY,KAAK;;EAGrC,MAAM,UAAU,CAAC,KAAkB;IACjC,IAAG,IAAI,CAAC,YAAY,EAAE;MACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,CAAC;MACzE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACxB,MAAM,WAAW,GAAG,IAAmC,CAAC;QACxD,IAAI,WAAW,KAAK,KAAK,CAAC,MAAM,KAAK,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE;UAChE,WAAW,CAAC,KAAK,EAAE,CAAC;SACrB;OACF;KACF;GACF;EAED,MAAM;IACJ,QACEA,iBAAK,KAAK,EAAC,mBAAmB,IAC5BA,qBAAQ,CACJ,EACN;GACH;;;;;AC/BH,MAAM,gBAAgB,GAAG,irBAAirB;;MCQ7rB,gBAAgB;;;;;;gBAEF,KAAK;;EAK9B,UAAU;IACR,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;KACzB;SAAM;MACL,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KAC1B;GACF;EAED,kBAAkB;IAChB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,IAAI,CAAC;KACrE;SAAM;MACL,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC;KACtC;GACF;EAGD,MAAM,KAAK;IACT,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IAClB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;GAC1B;EAGD,MAAM,MAAM;IACV,OAAO,IAAI,CAAC,IAAI,CAAC;GAClB;EAED,MAAM;IACJ,QACEA,iBAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,EAAE,EAAE,IACrDA,iBAAK,KAAK,EAAC,iBAAiB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,IAC3DA,kBAAM,KAAK,EAAC,gBAAgB,IAC1BA,sBAAU,IAAI,EAAC,iBAAiB,GAAG,CAC9B,EACPA,kBAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,OAAO,CAAQ,CACjD,EACNA,iBAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAiB,CAAC,IAC9EA,iBAAK,KAAK,EAAC,eAAe,IACxBA,qBAAQ,CACJ,CACF,CACF,EACN;GACH;;;;;;;","names":["h"],"sources":["./src/components/accordion/accordion.scss?tag=ifx-accordion&encapsulation=shadow","./src/components/accordion/accordion.tsx","./src/components/accordion/accordionItem.scss?tag=ifx-accordion-item&encapsulation=shadow","./src/components/accordion/accordionItem.tsx"],"sourcesContent":["// ifxAccordion.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: block;\n}\n\n.accordion-wrapper {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}","//ifxAccordion.tsx\nimport { Component, h, Listen, Element, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion',\n styleUrl: 'accordion.scss',\n shadow: true,\n})\nexport class Accordion {\n @Element() el: HTMLElement;\n @Prop() autoCollapse: boolean = false;\n\n @Listen('ifxItemOpen')\n async onItemOpen(event: CustomEvent) {\n if(this.autoCollapse) { \n const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));\n for (const item of items) {\n const itemElement = item as HTMLIfxAccordionItemElement;\n if (itemElement !== event.target && (await itemElement.isOpen())) {\n itemElement.close();\n }\n }\n }\n }\n\n render() {\n return (\n <div class=\"accordion-wrapper\">\n <slot />\n </div>\n );\n }\n}\n","// ifxAccordionItem.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n// :host {\n// display: block;\n// }\n\n.accordion-item {\n border-radius: 3px;\n overflow: hidden;\n transition: all 0.3s;\n}\n\n.accordion-title:hover {\n border: 1px solid tokens.$color-gray-200;\n background-color: tokens.$color-gray-200;\n}\n\n.accordion-title {\n display: flex;\n align-items: center;\n padding: 1rem;\n color: tokens.$color-default-500;\n border: 1px solid tokens.$color-gray-200;\n cursor: pointer;\n}\n\n.accordion-caption {\n font-weight: tokens.$font-weight-semi-bold;\n font-size: tokens.$font-size-m;\n}\n\n.accordion-content {\n max-height: 0;\n overflow: hidden;\n transition: max-height 0.3s ease-in-out;\n}\n\n.inner-content {\n padding: 24px;\n white-space: pre-wrap;\n /* wraps text at spaces and within words */\n word-wrap: break-word;\n /* breaks text within a word if necessary */\n overflow-wrap: anywhere;\n /* breaks text at arbitrary points when needed */\n}\n\n.accordion-icon {\n font-weight: bold;\n display: inline-block;\n transition: transform 0.3s;\n margin-right: 0.5rem;\n}\n\n.accordion-item.open .accordion-icon {\n transform: rotate(-180deg);\n}","//ifxAccordionItem\nimport { Component, Prop, h, State, Event, EventEmitter, Method } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion-item',\n styleUrl: 'accordionItem.scss',\n shadow: true,\n})\nexport class IfxAccordionItem {\n @Prop() caption: string;\n @State() open: boolean = false;\n @Event() ifxItemOpen: EventEmitter;\n @Event() ifxItemClose: EventEmitter;\n private contentEl!: HTMLElement;\n\n toggleOpen() {\n this.open = !this.open;\n if (this.open) {\n this.ifxItemOpen.emit();\n } else {\n this.ifxItemClose.emit();\n }\n }\n\n componentDidUpdate() {\n if (this.open) {\n this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;\n } else {\n this.contentEl.style.maxHeight = '0';\n }\n }\n\n @Method()\n async close() {\n this.open = false;\n this.ifxItemClose.emit();\n }\n\n @Method()\n async isOpen(): Promise<boolean> {\n return this.open;\n }\n\n render() {\n return (\n <div class={`accordion-item ${this.open ? 'open' : ''}`}>\n <div class=\"accordion-title\" onClick={() => this.toggleOpen()}>\n <span class=\"accordion-icon\">\n <ifx-icon icon=\"chevron-down-12\" />\n </span>\n <span class=\"accordion-caption\">{this.caption}</span>\n </div>\n <div class=\"accordion-content\" ref={(el) => (this.contentEl = el as HTMLElement)}>\n <div class=\"inner-content\">\n <slot />\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-daa22998.js');
6
+
7
+ const faqCss = ".container{padding-top:10px}";
8
+
9
+ const Faq = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ }
13
+ render() {
14
+ return (index.h("div", { class: 'container' }, index.h("ifx-accordion", null, index.h("ifx-accordion-item", { caption: "What is the Infineon DDS?" }, "The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application\u2019s structure should be."), index.h("ifx-accordion-item", { caption: "How do I get access to the DDS?" }, "You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github."), index.h("ifx-accordion-item", { caption: "Can I integrate the Infineon DDS into my project?" }, "Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)"), index.h("ifx-accordion-item", { caption: "Are Infineon DDS components accessable?" }, "We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here."), index.h("ifx-accordion-item", { caption: "How to request a new component?" }, "Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you."))));
15
+ }
16
+ };
17
+ Faq.style = faqCss;
18
+
19
+ exports.ifx_faq = Faq;
20
+
21
+ //# sourceMappingURL=ifx-faq.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"ifx-faq.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,MAAM,GAAG,8BAA8B;;MCOhC,GAAG;;;;EAEd,MAAM;IACJ,QACEA,iBAAK,KAAK,EAAC,WAAW,IACtBA,+BACEA,gCAAoB,OAAO,EAAC,2BAA2B,0dAElC,EACrBA,gCAAoB,OAAO,EAAC,iCAAiC,oNAExC,EACrBA,gCAAoB,OAAO,EAAC,mDAAmD,kVAE1D,EACrBA,gCAAoB,OAAO,EAAC,yCAAyC,gUAEhD,EACrBA,gCAAoB,OAAO,EAAC,iCAAiC,0PAExC,CACP,CACV,EACN;GACH;;;;;;","names":["h"],"sources":["./src/stories/setup-and-installation/faq/faq.scss?tag=ifx-faq&encapsulation=shadow","./src/stories/setup-and-installation/faq/faq.tsx"],"sourcesContent":[".container { \n padding-top: 10px;\n}","import { Component, h } from '@stencil/core';\n\n@Component({\n tag: 'ifx-faq',\n styleUrl: './faq.scss',\n shadow: true,\n})\nexport class Faq {\n\n render() {\n return (\n <div class='container'>\n <ifx-accordion>\n <ifx-accordion-item caption=\"What is the Infineon DDS?\">\n The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application’s structure should be.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How do I get access to the DDS?\">\n You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Can I integrate the Infineon DDS into my project?\">\n Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Are Infineon DDS components accessable?\">\n We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How to request a new component?\">\n Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you.\n </ifx-accordion-item>\n </ifx-accordion>\n </div>\n );\n }\n}\n"],"version":3}
@@ -20,7 +20,7 @@ const patchBrowser = () => {
20
20
  };
21
21
 
22
22
  patchBrowser().then(options => {
23
- return index.bootstrapLazy([["ifx-search-bar.cjs",[[1,"ifx-search-bar",{"icon":[1],"showCloseButton":[4,"show-close-button"],"isOpen":[1028,"is-open"],"hideLabel":[4,"hide-label"],"size":[1],"value":[1025]}]]],["ifx-dropdown-item.cjs",[[1,"ifx-dropdown-item",{"label":[1],"size":[1],"disabled":[4],"icon":[1],"checkable":[4],"value":[1],"url":[1],"target":[1],"checkboxColor":[32]}]]],["ifx-modal.cjs",[[1,"ifx-modal",{"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"alertColor":[1,"alert-color"],"alertIcon":[1,"alert-icon"],"showModal":[32],"open":[64],"close":[64]}]]],["ifx-multi-select-input.cjs",[[1,"ifx-multi-select-input",{"Placeholder":[1,"placeholder"],"isEmpty":[32],"isOverflowing":[32]},[[5,"mousedown","handleOutsideClick"],[0,"closed","handleButtonClose"]]]]],["ifx-accordion-item.cjs",[[1,"ifx-accordion-item",{"caption":[1],"open":[32],"close":[64],"isOpen":[64]}]]],["ifx-alert.cjs",[[1,"ifx-alert",{"color":[1],"icon":[1]}]]],["ifx-breadcrumb-item-label.cjs",[[1,"ifx-breadcrumb-item-label",{"icon":[1],"url":[1],"target":[1]}]]],["ifx-chip.cjs",[[1,"ifx-chip",{"placeholder":[1],"isEmpty":[32]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-example.cjs",[[1,"ifx-example",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-icon-button.cjs",[[1,"ifx-icon-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"href":[1],"target":[1],"shape":[1],"setFocus":[64]}]]],["ifx-icons-preview.cjs",[[1,"ifx-icons-preview",{"iconsArray":[32],"isCopied":[32],"copiedIndex":[32],"htmlTag":[32],"iconName":[32]}]]],["ifx-list-item.cjs",[[1,"ifx-list-item",{"isFlush":[1028,"is-flush"],"badge":[4],"badgeValue":[2,"badge-value"],"hasBulletpoint":[32]}]]],["ifx-navbar.cjs",[[1,"ifx-navbar",{"applicationName":[1,"application-name"],"main":[32],"products":[32],"applications":[32],"design":[32],"support":[32],"about":[32],"hasLeftMenuItems":[32]}]]],["ifx-navbar-menu-item.cjs",[[1,"ifx-navbar-menu-item",{"isProfile":[1028,"is-profile"],"hideLabel":[4,"hide-label"],"icon":[1]}]]],["ifx-range.cjs",[[1,"ifx-range",{"min":[2],"max":[2],"value":[2],"disabled":[4],"showPercentage":[4,"show-percentage"],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"leftText":[1,"left-text"],"rightText":[1,"right-text"],"internalValue":[32]}]]],["ifx-sidebar-item.cjs",[[1,"ifx-sidebar-item",{"icon":[1],"hasIcon":[32]}]]],["ifx-text-input.cjs",[[1,"ifx-text-input",{"placeholder":[1],"value":[1025],"error":[4],"errorMessage":[1,"error-message"],"success":[4],"disabled":[4],"readonly":[4],"icon":[4]}]]],["ifx-accordion.cjs",[[1,"ifx-accordion",{"autoCollapse":[4,"auto-collapse"]},[[0,"ifxItemOpen","onItemOpen"]]]]],["ifx-badge.cjs",[[1,"ifx-badge"]]],["ifx-breadcrumb.cjs",[[1,"ifx-breadcrumb"]]],["ifx-breadcrumb-item.cjs",[[1,"ifx-breadcrumb-item",{"isLastItem":[32]},[[5,"mousedown","handleOutsideClick"],[0,"breadcrumbMenuIconWrapper","menuWrapperEventReEmitter"]]]]],["ifx-card.cjs",[[1,"ifx-card",{"direction":[1],"alignment":[1],"hasAll":[1028,"has-all"],"largeSize":[1028,"large-size"],"smallSize":[1028,"small-size"],"hasBtn":[32],"hasDesc":[32]}]]],["ifx-card-headline.cjs",[[1,"ifx-card-headline",{"direction":[1025],"hasDesc":[1028,"has-desc"]}]]],["ifx-card-overline.cjs",[[1,"ifx-card-overline"]]],["ifx-card-text.cjs",[[1,"ifx-card-text",{"hasBtn":[1028,"has-btn"]}]]],["ifx-dropdown.cjs",[[1,"ifx-dropdown",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-dropdown-divider.cjs",[[1,"ifx-dropdown-divider"]]],["ifx-dropdown-menu.cjs",[[1,"ifx-dropdown-menu",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"isShown":[32],"isInsideSelect":[32],"isInsideMultiSelect":[32]}]]],["ifx-filter-input.cjs",[[1,"ifx-filter-input",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"options":[32]}]]],["ifx-footer.cjs",[[1,"ifx-footer",{"variant":[1],"large":[32],"default":[32],"showFacebook":[32]}]]],["ifx-footer-column.cjs",[[1,"ifx-footer-column"]]],["ifx-list-group.cjs",[[1,"ifx-list-group",{"flush":[4],"bulletpoint":[4],"notification":[4]}]]],["ifx-list-notification.cjs",[[1,"ifx-list-notification",{"titleText":[1,"title-text"],"isFlush":[4,"is-flush"],"creationTime":[8,"creation-time"],"postTime":[32],"shownTime":[32]}]]],["ifx-progress-bar.cjs",[[1,"ifx-progress-bar",{"value":[2],"label":[1],"size":[1],"showLabel":[4,"show-label"],"internalValue":[32]}]]],["ifx-radio-button.cjs",[[1,"ifx-radio-button",{"disabled":[4],"value":[4],"error":[4],"size":[1],"internalValue":[32],"hasSlot":[32]}]]],["ifx-select-input.cjs",[[1,"ifx-select-input",null,[[5,"mousedown","handleOutsideClick"]]]]],["ifx-sidebar.cjs",[[1,"ifx-sidebar"]]],["ifx-spinner.cjs",[[1,"ifx-spinner",{"size":[1],"variant":[1]}]]],["ifx-status.cjs",[[1,"ifx-status",{"label":[1],"border":[4],"color":[1]}]]],["ifx-switch.cjs",[[1,"ifx-switch",{"value":[4],"name":[1],"internalValue":[32]}]]],["ifx-tab.cjs",[[4,"ifx-tab",{"header":[1]}]]],["ifx-tabs.cjs",[[1,"ifx-tabs",{"tabs":[16],"orientation":[1],"small":[4],"activeTabIndex":[32],"tabRefs":[32],"tabHeaderRefs":[32],"tabTitles":[32]},[[0,"slotchange","onSlotChange"]]]]],["ifx-tag.cjs",[[1,"ifx-tag",{"label":[1]}]]],["ifx-icon.cjs",[[0,"ifx-icon",{"icon":[1025],"ifxIcon":[1032,"ifx-icon"]}]]],["ifx-button.cjs",[[1,"ifx-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-checkbox.cjs",[[1,"ifx-checkbox",{"disabled":[4],"value":[4],"error":[4],"name":[1],"internalValue":[32]}]]],["ifx-multi-select-input-item.cjs",[[1,"ifx-multi-select-input-item",{"content":[1]}]]],["ifx-number-indicator.cjs",[[1,"ifx-number-indicator",{"inverted":[4]}]]],["ifx-link_2.cjs",[[1,"ifx-search-input",{"value":[1025],"width":[1],"showDeleteIcon":[4,"show-delete-icon"],"disabled":[4],"borderColor":[1,"border-color"],"size":[1],"insideDropdown":[32]}],[1,"ifx-link",{"href":[1],"target":[1],"color":[1],"bold":[4],"underline":[4]}]]]], options);
23
+ return index.bootstrapLazy([["ifx-faq.cjs",[[1,"ifx-faq"]]],["ifx-search-bar.cjs",[[1,"ifx-search-bar",{"icon":[1],"showCloseButton":[4,"show-close-button"],"isOpen":[1028,"is-open"],"hideLabel":[4,"hide-label"],"size":[1],"value":[1025]}]]],["ifx-dropdown-item.cjs",[[1,"ifx-dropdown-item",{"label":[1],"size":[1],"disabled":[4],"icon":[1],"checkable":[4],"value":[1],"url":[1],"target":[1],"checkboxColor":[32]}]]],["ifx-modal.cjs",[[1,"ifx-modal",{"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"alertColor":[1,"alert-color"],"alertIcon":[1,"alert-icon"],"showModal":[32],"open":[64],"close":[64]}]]],["ifx-multi-select-input.cjs",[[1,"ifx-multi-select-input",{"Placeholder":[1,"placeholder"],"isEmpty":[32],"isOverflowing":[32]},[[5,"mousedown","handleOutsideClick"],[0,"closed","handleButtonClose"]]]]],["ifx-alert.cjs",[[1,"ifx-alert",{"color":[1],"icon":[1]}]]],["ifx-breadcrumb-item-label.cjs",[[1,"ifx-breadcrumb-item-label",{"icon":[1],"url":[1],"target":[1]}]]],["ifx-chip.cjs",[[1,"ifx-chip",{"placeholder":[1],"isEmpty":[32]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-example.cjs",[[1,"ifx-example",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-icon-button.cjs",[[1,"ifx-icon-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"href":[1],"target":[1],"shape":[1],"setFocus":[64]}]]],["ifx-icons-preview.cjs",[[1,"ifx-icons-preview",{"iconsArray":[32],"isCopied":[32],"copiedIndex":[32],"htmlTag":[32],"iconName":[32]}]]],["ifx-list-item.cjs",[[1,"ifx-list-item",{"isFlush":[1028,"is-flush"],"badge":[4],"badgeValue":[2,"badge-value"],"hasBulletpoint":[32]}]]],["ifx-navbar.cjs",[[1,"ifx-navbar",{"applicationName":[1,"application-name"],"main":[32],"products":[32],"applications":[32],"design":[32],"support":[32],"about":[32],"hasLeftMenuItems":[32]}]]],["ifx-navbar-menu-item.cjs",[[1,"ifx-navbar-menu-item",{"isProfile":[1028,"is-profile"],"hideLabel":[4,"hide-label"],"icon":[1]}]]],["ifx-range.cjs",[[1,"ifx-range",{"min":[2],"max":[2],"value":[2],"disabled":[4],"showPercentage":[4,"show-percentage"],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"leftText":[1,"left-text"],"rightText":[1,"right-text"],"internalValue":[32]}]]],["ifx-sidebar-item.cjs",[[1,"ifx-sidebar-item",{"icon":[1],"hasIcon":[32]}]]],["ifx-text-input.cjs",[[1,"ifx-text-input",{"placeholder":[1],"value":[1025],"error":[4],"errorMessage":[1,"error-message"],"success":[4],"disabled":[4],"readonly":[4],"icon":[4]}]]],["ifx-badge.cjs",[[1,"ifx-badge"]]],["ifx-breadcrumb.cjs",[[1,"ifx-breadcrumb"]]],["ifx-breadcrumb-item.cjs",[[1,"ifx-breadcrumb-item",{"isLastItem":[32]},[[5,"mousedown","handleOutsideClick"],[0,"breadcrumbMenuIconWrapper","menuWrapperEventReEmitter"]]]]],["ifx-card.cjs",[[1,"ifx-card",{"direction":[1],"alignment":[1],"hasAll":[1028,"has-all"],"largeSize":[1028,"large-size"],"smallSize":[1028,"small-size"],"hasBtn":[32],"hasDesc":[32]}]]],["ifx-card-headline.cjs",[[1,"ifx-card-headline",{"direction":[1025],"hasDesc":[1028,"has-desc"]}]]],["ifx-card-overline.cjs",[[1,"ifx-card-overline"]]],["ifx-card-text.cjs",[[1,"ifx-card-text",{"hasBtn":[1028,"has-btn"]}]]],["ifx-dropdown.cjs",[[1,"ifx-dropdown",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-dropdown-divider.cjs",[[1,"ifx-dropdown-divider"]]],["ifx-dropdown-menu.cjs",[[1,"ifx-dropdown-menu",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"isShown":[32],"isInsideSelect":[32],"isInsideMultiSelect":[32]}]]],["ifx-filter-input.cjs",[[1,"ifx-filter-input",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"options":[32]}]]],["ifx-footer.cjs",[[1,"ifx-footer",{"variant":[1],"large":[32],"default":[32],"showFacebook":[32]}]]],["ifx-footer-column.cjs",[[1,"ifx-footer-column"]]],["ifx-list-group.cjs",[[1,"ifx-list-group",{"flush":[4],"bulletpoint":[4],"notification":[4]}]]],["ifx-list-notification.cjs",[[1,"ifx-list-notification",{"titleText":[1,"title-text"],"isFlush":[4,"is-flush"],"creationTime":[8,"creation-time"],"postTime":[32],"shownTime":[32]}]]],["ifx-progress-bar.cjs",[[1,"ifx-progress-bar",{"value":[2],"label":[1],"size":[1],"showLabel":[4,"show-label"],"internalValue":[32]}]]],["ifx-radio-button.cjs",[[1,"ifx-radio-button",{"disabled":[4],"value":[4],"error":[4],"size":[1],"internalValue":[32],"hasSlot":[32]}]]],["ifx-select-input.cjs",[[1,"ifx-select-input",null,[[5,"mousedown","handleOutsideClick"]]]]],["ifx-sidebar.cjs",[[1,"ifx-sidebar"]]],["ifx-spinner.cjs",[[1,"ifx-spinner",{"size":[1],"variant":[1]}]]],["ifx-status.cjs",[[1,"ifx-status",{"label":[1],"border":[4],"color":[1]}]]],["ifx-switch.cjs",[[1,"ifx-switch",{"value":[4],"name":[1],"internalValue":[32]}]]],["ifx-tab.cjs",[[4,"ifx-tab",{"header":[1]}]]],["ifx-tabs.cjs",[[1,"ifx-tabs",{"tabs":[16],"orientation":[1],"small":[4],"activeTabIndex":[32],"tabRefs":[32],"tabHeaderRefs":[32],"tabTitles":[32]},[[0,"slotchange","onSlotChange"]]]]],["ifx-tag.cjs",[[1,"ifx-tag",{"label":[1]}]]],["ifx-icon.cjs",[[0,"ifx-icon",{"icon":[1025],"ifxIcon":[1032,"ifx-icon"]}]]],["ifx-button.cjs",[[1,"ifx-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-checkbox.cjs",[[1,"ifx-checkbox",{"disabled":[4],"value":[4],"error":[4],"name":[1],"internalValue":[32]}]]],["ifx-multi-select-input-item.cjs",[[1,"ifx-multi-select-input-item",{"content":[1]}]]],["ifx-number-indicator.cjs",[[1,"ifx-number-indicator",{"inverted":[4]}]]],["ifx-accordion_2.cjs",[[1,"ifx-accordion-item",{"caption":[1],"open":[32],"close":[64],"isOpen":[64]}],[1,"ifx-accordion",{"autoCollapse":[4,"auto-collapse"]},[[0,"ifxItemOpen","onItemOpen"]]]]],["ifx-link_2.cjs",[[1,"ifx-search-input",{"value":[1025],"width":[1],"showDeleteIcon":[4,"show-delete-icon"],"disabled":[4],"borderColor":[1,"border-color"],"size":[1],"insideDropdown":[32]}],[1,"ifx-link",{"href":[1],"target":[1],"color":[1],"bold":[4],"underline":[4]}]]]], options);
24
24
  });
25
25
 
26
26
  exports.setNonce = index.setNonce;
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["ifx-search-bar.cjs",[[1,"ifx-search-bar",{"icon":[1],"showCloseButton":[4,"show-close-button"],"isOpen":[1028,"is-open"],"hideLabel":[4,"hide-label"],"size":[1],"value":[1025]}]]],["ifx-dropdown-item.cjs",[[1,"ifx-dropdown-item",{"label":[1],"size":[1],"disabled":[4],"icon":[1],"checkable":[4],"value":[1],"url":[1],"target":[1],"checkboxColor":[32]}]]],["ifx-modal.cjs",[[1,"ifx-modal",{"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"alertColor":[1,"alert-color"],"alertIcon":[1,"alert-icon"],"showModal":[32],"open":[64],"close":[64]}]]],["ifx-multi-select-input.cjs",[[1,"ifx-multi-select-input",{"Placeholder":[1,"placeholder"],"isEmpty":[32],"isOverflowing":[32]},[[5,"mousedown","handleOutsideClick"],[0,"closed","handleButtonClose"]]]]],["ifx-accordion-item.cjs",[[1,"ifx-accordion-item",{"caption":[1],"open":[32],"close":[64],"isOpen":[64]}]]],["ifx-alert.cjs",[[1,"ifx-alert",{"color":[1],"icon":[1]}]]],["ifx-breadcrumb-item-label.cjs",[[1,"ifx-breadcrumb-item-label",{"icon":[1],"url":[1],"target":[1]}]]],["ifx-chip.cjs",[[1,"ifx-chip",{"placeholder":[1],"isEmpty":[32]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-example.cjs",[[1,"ifx-example",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-icon-button.cjs",[[1,"ifx-icon-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"href":[1],"target":[1],"shape":[1],"setFocus":[64]}]]],["ifx-icons-preview.cjs",[[1,"ifx-icons-preview",{"iconsArray":[32],"isCopied":[32],"copiedIndex":[32],"htmlTag":[32],"iconName":[32]}]]],["ifx-list-item.cjs",[[1,"ifx-list-item",{"isFlush":[1028,"is-flush"],"badge":[4],"badgeValue":[2,"badge-value"],"hasBulletpoint":[32]}]]],["ifx-navbar.cjs",[[1,"ifx-navbar",{"applicationName":[1,"application-name"],"main":[32],"products":[32],"applications":[32],"design":[32],"support":[32],"about":[32],"hasLeftMenuItems":[32]}]]],["ifx-navbar-menu-item.cjs",[[1,"ifx-navbar-menu-item",{"isProfile":[1028,"is-profile"],"hideLabel":[4,"hide-label"],"icon":[1]}]]],["ifx-range.cjs",[[1,"ifx-range",{"min":[2],"max":[2],"value":[2],"disabled":[4],"showPercentage":[4,"show-percentage"],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"leftText":[1,"left-text"],"rightText":[1,"right-text"],"internalValue":[32]}]]],["ifx-sidebar-item.cjs",[[1,"ifx-sidebar-item",{"icon":[1],"hasIcon":[32]}]]],["ifx-text-input.cjs",[[1,"ifx-text-input",{"placeholder":[1],"value":[1025],"error":[4],"errorMessage":[1,"error-message"],"success":[4],"disabled":[4],"readonly":[4],"icon":[4]}]]],["ifx-accordion.cjs",[[1,"ifx-accordion",{"autoCollapse":[4,"auto-collapse"]},[[0,"ifxItemOpen","onItemOpen"]]]]],["ifx-badge.cjs",[[1,"ifx-badge"]]],["ifx-breadcrumb.cjs",[[1,"ifx-breadcrumb"]]],["ifx-breadcrumb-item.cjs",[[1,"ifx-breadcrumb-item",{"isLastItem":[32]},[[5,"mousedown","handleOutsideClick"],[0,"breadcrumbMenuIconWrapper","menuWrapperEventReEmitter"]]]]],["ifx-card.cjs",[[1,"ifx-card",{"direction":[1],"alignment":[1],"hasAll":[1028,"has-all"],"largeSize":[1028,"large-size"],"smallSize":[1028,"small-size"],"hasBtn":[32],"hasDesc":[32]}]]],["ifx-card-headline.cjs",[[1,"ifx-card-headline",{"direction":[1025],"hasDesc":[1028,"has-desc"]}]]],["ifx-card-overline.cjs",[[1,"ifx-card-overline"]]],["ifx-card-text.cjs",[[1,"ifx-card-text",{"hasBtn":[1028,"has-btn"]}]]],["ifx-dropdown.cjs",[[1,"ifx-dropdown",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-dropdown-divider.cjs",[[1,"ifx-dropdown-divider"]]],["ifx-dropdown-menu.cjs",[[1,"ifx-dropdown-menu",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"isShown":[32],"isInsideSelect":[32],"isInsideMultiSelect":[32]}]]],["ifx-filter-input.cjs",[[1,"ifx-filter-input",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"options":[32]}]]],["ifx-footer.cjs",[[1,"ifx-footer",{"variant":[1],"large":[32],"default":[32],"showFacebook":[32]}]]],["ifx-footer-column.cjs",[[1,"ifx-footer-column"]]],["ifx-list-group.cjs",[[1,"ifx-list-group",{"flush":[4],"bulletpoint":[4],"notification":[4]}]]],["ifx-list-notification.cjs",[[1,"ifx-list-notification",{"titleText":[1,"title-text"],"isFlush":[4,"is-flush"],"creationTime":[8,"creation-time"],"postTime":[32],"shownTime":[32]}]]],["ifx-progress-bar.cjs",[[1,"ifx-progress-bar",{"value":[2],"label":[1],"size":[1],"showLabel":[4,"show-label"],"internalValue":[32]}]]],["ifx-radio-button.cjs",[[1,"ifx-radio-button",{"disabled":[4],"value":[4],"error":[4],"size":[1],"internalValue":[32],"hasSlot":[32]}]]],["ifx-select-input.cjs",[[1,"ifx-select-input",null,[[5,"mousedown","handleOutsideClick"]]]]],["ifx-sidebar.cjs",[[1,"ifx-sidebar"]]],["ifx-spinner.cjs",[[1,"ifx-spinner",{"size":[1],"variant":[1]}]]],["ifx-status.cjs",[[1,"ifx-status",{"label":[1],"border":[4],"color":[1]}]]],["ifx-switch.cjs",[[1,"ifx-switch",{"value":[4],"name":[1],"internalValue":[32]}]]],["ifx-tab.cjs",[[4,"ifx-tab",{"header":[1]}]]],["ifx-tabs.cjs",[[1,"ifx-tabs",{"tabs":[16],"orientation":[1],"small":[4],"activeTabIndex":[32],"tabRefs":[32],"tabHeaderRefs":[32],"tabTitles":[32]},[[0,"slotchange","onSlotChange"]]]]],["ifx-tag.cjs",[[1,"ifx-tag",{"label":[1]}]]],["ifx-icon.cjs",[[0,"ifx-icon",{"icon":[1025],"ifxIcon":[1032,"ifx-icon"]}]]],["ifx-button.cjs",[[1,"ifx-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-checkbox.cjs",[[1,"ifx-checkbox",{"disabled":[4],"value":[4],"error":[4],"name":[1],"internalValue":[32]}]]],["ifx-multi-select-input-item.cjs",[[1,"ifx-multi-select-input-item",{"content":[1]}]]],["ifx-number-indicator.cjs",[[1,"ifx-number-indicator",{"inverted":[4]}]]],["ifx-link_2.cjs",[[1,"ifx-search-input",{"value":[1025],"width":[1],"showDeleteIcon":[4,"show-delete-icon"],"disabled":[4],"borderColor":[1,"border-color"],"size":[1],"insideDropdown":[32]}],[1,"ifx-link",{"href":[1],"target":[1],"color":[1],"bold":[4],"underline":[4]}]]]], options);
17
+ return index.bootstrapLazy([["ifx-faq.cjs",[[1,"ifx-faq"]]],["ifx-search-bar.cjs",[[1,"ifx-search-bar",{"icon":[1],"showCloseButton":[4,"show-close-button"],"isOpen":[1028,"is-open"],"hideLabel":[4,"hide-label"],"size":[1],"value":[1025]}]]],["ifx-dropdown-item.cjs",[[1,"ifx-dropdown-item",{"label":[1],"size":[1],"disabled":[4],"icon":[1],"checkable":[4],"value":[1],"url":[1],"target":[1],"checkboxColor":[32]}]]],["ifx-modal.cjs",[[1,"ifx-modal",{"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"alertColor":[1,"alert-color"],"alertIcon":[1,"alert-icon"],"showModal":[32],"open":[64],"close":[64]}]]],["ifx-multi-select-input.cjs",[[1,"ifx-multi-select-input",{"Placeholder":[1,"placeholder"],"isEmpty":[32],"isOverflowing":[32]},[[5,"mousedown","handleOutsideClick"],[0,"closed","handleButtonClose"]]]]],["ifx-alert.cjs",[[1,"ifx-alert",{"color":[1],"icon":[1]}]]],["ifx-breadcrumb-item-label.cjs",[[1,"ifx-breadcrumb-item-label",{"icon":[1],"url":[1],"target":[1]}]]],["ifx-chip.cjs",[[1,"ifx-chip",{"placeholder":[1],"isEmpty":[32]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-example.cjs",[[1,"ifx-example",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-icon-button.cjs",[[1,"ifx-icon-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"href":[1],"target":[1],"shape":[1],"setFocus":[64]}]]],["ifx-icons-preview.cjs",[[1,"ifx-icons-preview",{"iconsArray":[32],"isCopied":[32],"copiedIndex":[32],"htmlTag":[32],"iconName":[32]}]]],["ifx-list-item.cjs",[[1,"ifx-list-item",{"isFlush":[1028,"is-flush"],"badge":[4],"badgeValue":[2,"badge-value"],"hasBulletpoint":[32]}]]],["ifx-navbar.cjs",[[1,"ifx-navbar",{"applicationName":[1,"application-name"],"main":[32],"products":[32],"applications":[32],"design":[32],"support":[32],"about":[32],"hasLeftMenuItems":[32]}]]],["ifx-navbar-menu-item.cjs",[[1,"ifx-navbar-menu-item",{"isProfile":[1028,"is-profile"],"hideLabel":[4,"hide-label"],"icon":[1]}]]],["ifx-range.cjs",[[1,"ifx-range",{"min":[2],"max":[2],"value":[2],"disabled":[4],"showPercentage":[4,"show-percentage"],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"leftText":[1,"left-text"],"rightText":[1,"right-text"],"internalValue":[32]}]]],["ifx-sidebar-item.cjs",[[1,"ifx-sidebar-item",{"icon":[1],"hasIcon":[32]}]]],["ifx-text-input.cjs",[[1,"ifx-text-input",{"placeholder":[1],"value":[1025],"error":[4],"errorMessage":[1,"error-message"],"success":[4],"disabled":[4],"readonly":[4],"icon":[4]}]]],["ifx-badge.cjs",[[1,"ifx-badge"]]],["ifx-breadcrumb.cjs",[[1,"ifx-breadcrumb"]]],["ifx-breadcrumb-item.cjs",[[1,"ifx-breadcrumb-item",{"isLastItem":[32]},[[5,"mousedown","handleOutsideClick"],[0,"breadcrumbMenuIconWrapper","menuWrapperEventReEmitter"]]]]],["ifx-card.cjs",[[1,"ifx-card",{"direction":[1],"alignment":[1],"hasAll":[1028,"has-all"],"largeSize":[1028,"large-size"],"smallSize":[1028,"small-size"],"hasBtn":[32],"hasDesc":[32]}]]],["ifx-card-headline.cjs",[[1,"ifx-card-headline",{"direction":[1025],"hasDesc":[1028,"has-desc"]}]]],["ifx-card-overline.cjs",[[1,"ifx-card-overline"]]],["ifx-card-text.cjs",[[1,"ifx-card-text",{"hasBtn":[1028,"has-btn"]}]]],["ifx-dropdown.cjs",[[1,"ifx-dropdown",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4]},[[5,"mousedown","handleOutsideClick"]]]]],["ifx-dropdown-divider.cjs",[[1,"ifx-dropdown-divider"]]],["ifx-dropdown-menu.cjs",[[1,"ifx-dropdown-menu",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"isShown":[32],"isInsideSelect":[32],"isInsideMultiSelect":[32]}]]],["ifx-filter-input.cjs",[[1,"ifx-filter-input",{"label":[1],"size":[1],"disabled":[4],"icon":[4],"search":[4],"filter":[4],"options":[32]}]]],["ifx-footer.cjs",[[1,"ifx-footer",{"variant":[1],"large":[32],"default":[32],"showFacebook":[32]}]]],["ifx-footer-column.cjs",[[1,"ifx-footer-column"]]],["ifx-list-group.cjs",[[1,"ifx-list-group",{"flush":[4],"bulletpoint":[4],"notification":[4]}]]],["ifx-list-notification.cjs",[[1,"ifx-list-notification",{"titleText":[1,"title-text"],"isFlush":[4,"is-flush"],"creationTime":[8,"creation-time"],"postTime":[32],"shownTime":[32]}]]],["ifx-progress-bar.cjs",[[1,"ifx-progress-bar",{"value":[2],"label":[1],"size":[1],"showLabel":[4,"show-label"],"internalValue":[32]}]]],["ifx-radio-button.cjs",[[1,"ifx-radio-button",{"disabled":[4],"value":[4],"error":[4],"size":[1],"internalValue":[32],"hasSlot":[32]}]]],["ifx-select-input.cjs",[[1,"ifx-select-input",null,[[5,"mousedown","handleOutsideClick"]]]]],["ifx-sidebar.cjs",[[1,"ifx-sidebar"]]],["ifx-spinner.cjs",[[1,"ifx-spinner",{"size":[1],"variant":[1]}]]],["ifx-status.cjs",[[1,"ifx-status",{"label":[1],"border":[4],"color":[1]}]]],["ifx-switch.cjs",[[1,"ifx-switch",{"value":[4],"name":[1],"internalValue":[32]}]]],["ifx-tab.cjs",[[4,"ifx-tab",{"header":[1]}]]],["ifx-tabs.cjs",[[1,"ifx-tabs",{"tabs":[16],"orientation":[1],"small":[4],"activeTabIndex":[32],"tabRefs":[32],"tabHeaderRefs":[32],"tabTitles":[32]},[[0,"slotchange","onSlotChange"]]]]],["ifx-tag.cjs",[[1,"ifx-tag",{"label":[1]}]]],["ifx-icon.cjs",[[0,"ifx-icon",{"icon":[1025],"ifxIcon":[1032,"ifx-icon"]}]]],["ifx-button.cjs",[[1,"ifx-button",{"variant":[1],"color":[1],"size":[1],"disabled":[4],"icon":[1],"position":[1],"href":[1],"target":[1],"type":[1],"internalPosition":[32],"setFocus":[64]}]]],["ifx-checkbox.cjs",[[1,"ifx-checkbox",{"disabled":[4],"value":[4],"error":[4],"name":[1],"internalValue":[32]}]]],["ifx-multi-select-input-item.cjs",[[1,"ifx-multi-select-input-item",{"content":[1]}]]],["ifx-number-indicator.cjs",[[1,"ifx-number-indicator",{"inverted":[4]}]]],["ifx-accordion_2.cjs",[[1,"ifx-accordion-item",{"caption":[1],"open":[32],"close":[64],"isOpen":[64]}],[1,"ifx-accordion",{"autoCollapse":[4,"auto-collapse"]},[[0,"ifxItemOpen","onItemOpen"]]]]],["ifx-link_2.cjs",[[1,"ifx-search-input",{"value":[1025],"width":[1],"showDeleteIcon":[4,"show-delete-icon"],"disabled":[4],"borderColor":[1,"border-color"],"size":[1],"insideDropdown":[32]}],[1,"ifx-link",{"href":[1],"target":[1],"color":[1],"bold":[4],"underline":[4]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -49,7 +49,8 @@
49
49
  "./components/tabs/tabs.js",
50
50
  "./components/tag/tag.js",
51
51
  "./components/template-story-with-markdown/example.js",
52
- "./components/text-input/text-input.js"
52
+ "./components/text-input/text-input.js",
53
+ "./stories/setup-and-installation/faq/faq.js"
53
54
  ],
54
55
  "compiler": {
55
56
  "name": "@stencil/core",
@@ -0,0 +1,3 @@
1
+ .container {
2
+ padding-top: 10px;
3
+ }
@@ -0,0 +1,19 @@
1
+ import { h } from '@stencil/core';
2
+ export class Faq {
3
+ render() {
4
+ return (h("div", { class: 'container' }, h("ifx-accordion", null, h("ifx-accordion-item", { caption: "What is the Infineon DDS?" }, "The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application\u2019s structure should be."), h("ifx-accordion-item", { caption: "How do I get access to the DDS?" }, "You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github."), h("ifx-accordion-item", { caption: "Can I integrate the Infineon DDS into my project?" }, "Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)"), h("ifx-accordion-item", { caption: "Are Infineon DDS components accessable?" }, "We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here."), h("ifx-accordion-item", { caption: "How to request a new component?" }, "Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you."))));
5
+ }
6
+ static get is() { return "ifx-faq"; }
7
+ static get encapsulation() { return "shadow"; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["./faq.scss"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["faq.css"]
16
+ };
17
+ }
18
+ }
19
+ //# sourceMappingURL=faq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"faq.js","sourceRoot":"","sources":["../../../../src/stories/setup-and-installation/faq/faq.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAO7C,MAAM,OAAO,GAAG;EAEd,MAAM;IACJ,OAAO,CACL,WAAK,KAAK,EAAC,WAAW;MACtB;QACE,0BAAoB,OAAO,EAAC,2BAA2B,0dAElC;QACrB,0BAAoB,OAAO,EAAC,iCAAiC,oNAExC;QACrB,0BAAoB,OAAO,EAAC,mDAAmD,kVAE1D;QACrB,0BAAoB,OAAO,EAAC,yCAAyC,gUAEhD;QACrB,0BAAoB,OAAO,EAAC,iCAAiC,0PAExC,CACP,CACV,CACP,CAAC;EACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h } from '@stencil/core';\n\n@Component({\n tag: 'ifx-faq',\n styleUrl: './faq.scss',\n shadow: true,\n})\nexport class Faq {\n\n render() {\n return (\n <div class='container'>\n <ifx-accordion>\n <ifx-accordion-item caption=\"What is the Infineon DDS?\">\n The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application’s structure should be.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How do I get access to the DDS?\">\n You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Can I integrate the Infineon DDS into my project?\">\n Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Are Infineon DDS components accessable?\">\n We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How to request a new component?\">\n Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you.\n </ifx-accordion-item>\n </ifx-accordion>\n </div>\n );\n }\n}\n"]}
@@ -0,0 +1,47 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ const accordionCss = "*{font-family:\"Source Sans Pro\"}:host{display:block}.accordion-wrapper{display:flex;flex-direction:column;gap:8px}";
4
+
5
+ const Accordion = /*@__PURE__*/ proxyCustomElement(class Accordion extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.autoCollapse = false;
11
+ }
12
+ async onItemOpen(event) {
13
+ if (this.autoCollapse) {
14
+ const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));
15
+ for (const item of items) {
16
+ const itemElement = item;
17
+ if (itemElement !== event.target && (await itemElement.isOpen())) {
18
+ itemElement.close();
19
+ }
20
+ }
21
+ }
22
+ }
23
+ render() {
24
+ return (h("div", { class: "accordion-wrapper" }, h("slot", null)));
25
+ }
26
+ get el() { return this; }
27
+ static get style() { return accordionCss; }
28
+ }, [1, "ifx-accordion", {
29
+ "autoCollapse": [4, "auto-collapse"]
30
+ }, [[0, "ifxItemOpen", "onItemOpen"]]]);
31
+ function defineCustomElement() {
32
+ if (typeof customElements === "undefined") {
33
+ return;
34
+ }
35
+ const components = ["ifx-accordion"];
36
+ components.forEach(tagName => { switch (tagName) {
37
+ case "ifx-accordion":
38
+ if (!customElements.get(tagName)) {
39
+ customElements.define(tagName, Accordion);
40
+ }
41
+ break;
42
+ } });
43
+ }
44
+
45
+ export { Accordion as A, defineCustomElement as d };
46
+
47
+ //# sourceMappingURL=accordion.js.map
@@ -0,0 +1 @@
1
+ {"file":"accordion.js","mappings":";;AAAA,MAAM,YAAY,GAAG,sHAAsH;;MCQ9H,SAAS;;;;;wBAEY,KAAK;;EAGrC,MAAM,UAAU,CAAC,KAAkB;IACjC,IAAG,IAAI,CAAC,YAAY,EAAE;MACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,CAAC;MACzE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACxB,MAAM,WAAW,GAAG,IAAmC,CAAC;QACxD,IAAI,WAAW,KAAK,KAAK,CAAC,MAAM,KAAK,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE;UAChE,WAAW,CAAC,KAAK,EAAE,CAAC;SACrB;OACF;KACF;GACF;EAED,MAAM;IACJ,QACE,WAAK,KAAK,EAAC,mBAAmB,IAC5B,eAAQ,CACJ,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/accordion/accordion.scss?tag=ifx-accordion&encapsulation=shadow","./src/components/accordion/accordion.tsx"],"sourcesContent":["// ifxAccordion.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: block;\n}\n\n.accordion-wrapper {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}","//ifxAccordion.tsx\nimport { Component, h, Listen, Element, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion',\n styleUrl: 'accordion.scss',\n shadow: true,\n})\nexport class Accordion {\n @Element() el: HTMLElement;\n @Prop() autoCollapse: boolean = false;\n\n @Listen('ifxItemOpen')\n async onItemOpen(event: CustomEvent) {\n if(this.autoCollapse) { \n const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));\n for (const item of items) {\n const itemElement = item as HTMLIfxAccordionItemElement;\n if (itemElement !== event.target && (await itemElement.isOpen())) {\n itemElement.close();\n }\n }\n }\n }\n\n render() {\n return (\n <div class=\"accordion-wrapper\">\n <slot />\n </div>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,71 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './infineonIconStencil.js';
3
+
4
+ const accordionItemCss = "*{font-family:\"Source Sans Pro\"}.accordion-item{border-radius:3px;overflow:hidden;transition:all 0.3s}.accordion-title:hover{border:1px solid #ebe9e9;background-color:#ebe9e9}.accordion-title{display:flex;align-items:center;padding:1rem;color:#378375;border:1px solid #ebe9e9;cursor:pointer}.accordion-caption{font-weight:600;font-size:1rem}.accordion-content{max-height:0;overflow:hidden;transition:max-height 0.3s ease-in-out}.inner-content{padding:24px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;}.accordion-icon{font-weight:bold;display:inline-block;transition:transform 0.3s;margin-right:0.5rem}.accordion-item.open .accordion-icon{transform:rotate(-180deg)}";
5
+
6
+ const IfxAccordionItem = /*@__PURE__*/ proxyCustomElement(class IfxAccordionItem extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.ifxItemOpen = createEvent(this, "ifxItemOpen", 7);
12
+ this.ifxItemClose = createEvent(this, "ifxItemClose", 7);
13
+ this.caption = undefined;
14
+ this.open = false;
15
+ }
16
+ toggleOpen() {
17
+ this.open = !this.open;
18
+ if (this.open) {
19
+ this.ifxItemOpen.emit();
20
+ }
21
+ else {
22
+ this.ifxItemClose.emit();
23
+ }
24
+ }
25
+ componentDidUpdate() {
26
+ if (this.open) {
27
+ this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;
28
+ }
29
+ else {
30
+ this.contentEl.style.maxHeight = '0';
31
+ }
32
+ }
33
+ async close() {
34
+ this.open = false;
35
+ this.ifxItemClose.emit();
36
+ }
37
+ async isOpen() {
38
+ return this.open;
39
+ }
40
+ render() {
41
+ return (h("div", { class: `accordion-item ${this.open ? 'open' : ''}` }, h("div", { class: "accordion-title", onClick: () => this.toggleOpen() }, h("span", { class: "accordion-icon" }, h("ifx-icon", { icon: "chevron-down-12" })), h("span", { class: "accordion-caption" }, this.caption)), h("div", { class: "accordion-content", ref: (el) => (this.contentEl = el) }, h("div", { class: "inner-content" }, h("slot", null)))));
42
+ }
43
+ static get style() { return accordionItemCss; }
44
+ }, [1, "ifx-accordion-item", {
45
+ "caption": [1],
46
+ "open": [32],
47
+ "close": [64],
48
+ "isOpen": [64]
49
+ }]);
50
+ function defineCustomElement() {
51
+ if (typeof customElements === "undefined") {
52
+ return;
53
+ }
54
+ const components = ["ifx-accordion-item", "ifx-icon"];
55
+ components.forEach(tagName => { switch (tagName) {
56
+ case "ifx-accordion-item":
57
+ if (!customElements.get(tagName)) {
58
+ customElements.define(tagName, IfxAccordionItem);
59
+ }
60
+ break;
61
+ case "ifx-icon":
62
+ if (!customElements.get(tagName)) {
63
+ defineCustomElement$1();
64
+ }
65
+ break;
66
+ } });
67
+ }
68
+
69
+ export { IfxAccordionItem as I, defineCustomElement as d };
70
+
71
+ //# sourceMappingURL=accordionItem.js.map
@@ -0,0 +1 @@
1
+ {"file":"accordionItem.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,irBAAirB;;MCQ7rB,gBAAgB;;;;;;;;gBAEF,KAAK;;EAK9B,UAAU;IACR,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;KACzB;SAAM;MACL,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KAC1B;GACF;EAED,kBAAkB;IAChB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,IAAI,CAAC;KACrE;SAAM;MACL,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC;KACtC;GACF;EAGD,MAAM,KAAK;IACT,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IAClB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;GAC1B;EAGD,MAAM,MAAM;IACV,OAAO,IAAI,CAAC,IAAI,CAAC;GAClB;EAED,MAAM;IACJ,QACE,WAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,EAAE,EAAE,IACrD,WAAK,KAAK,EAAC,iBAAiB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,IAC3D,YAAM,KAAK,EAAC,gBAAgB,IAC1B,gBAAU,IAAI,EAAC,iBAAiB,GAAG,CAC9B,EACP,YAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,OAAO,CAAQ,CACjD,EACN,WAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAiB,CAAC,IAC9E,WAAK,KAAK,EAAC,eAAe,IACxB,eAAQ,CACJ,CACF,CACF,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/accordion/accordionItem.scss?tag=ifx-accordion-item&encapsulation=shadow","./src/components/accordion/accordionItem.tsx"],"sourcesContent":["// ifxAccordionItem.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n// :host {\n// display: block;\n// }\n\n.accordion-item {\n border-radius: 3px;\n overflow: hidden;\n transition: all 0.3s;\n}\n\n.accordion-title:hover {\n border: 1px solid tokens.$color-gray-200;\n background-color: tokens.$color-gray-200;\n}\n\n.accordion-title {\n display: flex;\n align-items: center;\n padding: 1rem;\n color: tokens.$color-default-500;\n border: 1px solid tokens.$color-gray-200;\n cursor: pointer;\n}\n\n.accordion-caption {\n font-weight: tokens.$font-weight-semi-bold;\n font-size: tokens.$font-size-m;\n}\n\n.accordion-content {\n max-height: 0;\n overflow: hidden;\n transition: max-height 0.3s ease-in-out;\n}\n\n.inner-content {\n padding: 24px;\n white-space: pre-wrap;\n /* wraps text at spaces and within words */\n word-wrap: break-word;\n /* breaks text within a word if necessary */\n overflow-wrap: anywhere;\n /* breaks text at arbitrary points when needed */\n}\n\n.accordion-icon {\n font-weight: bold;\n display: inline-block;\n transition: transform 0.3s;\n margin-right: 0.5rem;\n}\n\n.accordion-item.open .accordion-icon {\n transform: rotate(-180deg);\n}","//ifxAccordionItem\nimport { Component, Prop, h, State, Event, EventEmitter, Method } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion-item',\n styleUrl: 'accordionItem.scss',\n shadow: true,\n})\nexport class IfxAccordionItem {\n @Prop() caption: string;\n @State() open: boolean = false;\n @Event() ifxItemOpen: EventEmitter;\n @Event() ifxItemClose: EventEmitter;\n private contentEl!: HTMLElement;\n\n toggleOpen() {\n this.open = !this.open;\n if (this.open) {\n this.ifxItemOpen.emit();\n } else {\n this.ifxItemClose.emit();\n }\n }\n\n componentDidUpdate() {\n if (this.open) {\n this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;\n } else {\n this.contentEl.style.maxHeight = '0';\n }\n }\n\n @Method()\n async close() {\n this.open = false;\n this.ifxItemClose.emit();\n }\n\n @Method()\n async isOpen(): Promise<boolean> {\n return this.open;\n }\n\n render() {\n return (\n <div class={`accordion-item ${this.open ? 'open' : ''}`}>\n <div class=\"accordion-title\" onClick={() => this.toggleOpen()}>\n <span class=\"accordion-icon\">\n <ifx-icon icon=\"chevron-down-12\" />\n </span>\n <span class=\"accordion-caption\">{this.caption}</span>\n </div>\n <div class=\"accordion-content\" ref={(el) => (this.contentEl = el as HTMLElement)}>\n <div class=\"inner-content\">\n <slot />\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,70 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './infineonIconStencil.js';
3
-
4
- const accordionItemCss = "*{font-family:\"Source Sans Pro\"}.accordion-item{border-radius:3px;overflow:hidden;transition:all 0.3s}.accordion-title:hover{border:1px solid #ebe9e9;background-color:#ebe9e9}.accordion-title{display:flex;align-items:center;padding:1rem;color:#378375;border:1px solid #ebe9e9;cursor:pointer}.accordion-caption{font-weight:600;font-size:1rem}.accordion-content{max-height:0;overflow:hidden;transition:max-height 0.3s ease-in-out}.inner-content{padding:24px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;}.accordion-icon{font-weight:bold;display:inline-block;transition:transform 0.3s;margin-right:0.5rem}.accordion-item.open .accordion-icon{transform:rotate(-180deg)}";
5
-
6
- const IfxAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class IfxAccordionItem extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.__attachShadow();
11
- this.ifxItemOpen = createEvent(this, "ifxItemOpen", 7);
12
- this.ifxItemClose = createEvent(this, "ifxItemClose", 7);
13
- this.caption = undefined;
14
- this.open = false;
15
- }
16
- toggleOpen() {
17
- this.open = !this.open;
18
- if (this.open) {
19
- this.ifxItemOpen.emit();
20
- }
21
- else {
22
- this.ifxItemClose.emit();
23
- }
24
- }
25
- componentDidUpdate() {
26
- if (this.open) {
27
- this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;
28
- }
29
- else {
30
- this.contentEl.style.maxHeight = '0';
31
- }
32
- }
33
- async close() {
34
- this.open = false;
35
- this.ifxItemClose.emit();
36
- }
37
- async isOpen() {
38
- return this.open;
39
- }
40
- render() {
41
- return (h("div", { class: `accordion-item ${this.open ? 'open' : ''}` }, h("div", { class: "accordion-title", onClick: () => this.toggleOpen() }, h("span", { class: "accordion-icon" }, h("ifx-icon", { icon: "chevron-down-12" })), h("span", { class: "accordion-caption" }, this.caption)), h("div", { class: "accordion-content", ref: (el) => (this.contentEl = el) }, h("div", { class: "inner-content" }, h("slot", null)))));
42
- }
43
- static get style() { return accordionItemCss; }
44
- }, [1, "ifx-accordion-item", {
45
- "caption": [1],
46
- "open": [32],
47
- "close": [64],
48
- "isOpen": [64]
49
- }]);
50
- function defineCustomElement$1() {
51
- if (typeof customElements === "undefined") {
52
- return;
53
- }
54
- const components = ["ifx-accordion-item", "ifx-icon"];
55
- components.forEach(tagName => { switch (tagName) {
56
- case "ifx-accordion-item":
57
- if (!customElements.get(tagName)) {
58
- customElements.define(tagName, IfxAccordionItem$1);
59
- }
60
- break;
61
- case "ifx-icon":
62
- if (!customElements.get(tagName)) {
63
- defineCustomElement$2();
64
- }
65
- break;
66
- } });
67
- }
1
+ import { I as IfxAccordionItem$1, d as defineCustomElement$1 } from './accordionItem.js';
68
2
 
69
3
  const IfxAccordionItem = IfxAccordionItem$1;
70
4
  const defineCustomElement = defineCustomElement$1;
@@ -1 +1 @@
1
- {"file":"ifx-accordion-item.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,irBAAirB;;MCQ7rBA,kBAAgB;;;;;;;;gBAEF,KAAK;;EAK9B,UAAU;IACR,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;KACzB;SAAM;MACL,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KAC1B;GACF;EAED,kBAAkB;IAChB,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,IAAI,CAAC;KACrE;SAAM;MACL,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,GAAG,CAAC;KACtC;GACF;EAGD,MAAM,KAAK;IACT,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IAClB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;GAC1B;EAGD,MAAM,MAAM;IACV,OAAO,IAAI,CAAC,IAAI,CAAC;GAClB;EAED,MAAM;IACJ,QACE,WAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,EAAE,EAAE,IACrD,WAAK,KAAK,EAAC,iBAAiB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,IAC3D,YAAM,KAAK,EAAC,gBAAgB,IAC1B,gBAAU,IAAI,EAAC,iBAAiB,GAAG,CAC9B,EACP,YAAM,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,OAAO,CAAQ,CACjD,EACN,WAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAiB,CAAC,IAC9E,WAAK,KAAK,EAAC,eAAe,IACxB,eAAQ,CACJ,CACF,CACF,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["IfxAccordionItem"],"sources":["./src/components/accordion/accordionItem.scss?tag=ifx-accordion-item&encapsulation=shadow","./src/components/accordion/accordionItem.tsx"],"sourcesContent":["// ifxAccordionItem.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n// :host {\n// display: block;\n// }\n\n.accordion-item {\n border-radius: 3px;\n overflow: hidden;\n transition: all 0.3s;\n}\n\n.accordion-title:hover {\n border: 1px solid tokens.$color-gray-200;\n background-color: tokens.$color-gray-200;\n}\n\n.accordion-title {\n display: flex;\n align-items: center;\n padding: 1rem;\n color: tokens.$color-default-500;\n border: 1px solid tokens.$color-gray-200;\n cursor: pointer;\n}\n\n.accordion-caption {\n font-weight: tokens.$font-weight-semi-bold;\n font-size: tokens.$font-size-m;\n}\n\n.accordion-content {\n max-height: 0;\n overflow: hidden;\n transition: max-height 0.3s ease-in-out;\n}\n\n.inner-content {\n padding: 24px;\n white-space: pre-wrap;\n /* wraps text at spaces and within words */\n word-wrap: break-word;\n /* breaks text within a word if necessary */\n overflow-wrap: anywhere;\n /* breaks text at arbitrary points when needed */\n}\n\n.accordion-icon {\n font-weight: bold;\n display: inline-block;\n transition: transform 0.3s;\n margin-right: 0.5rem;\n}\n\n.accordion-item.open .accordion-icon {\n transform: rotate(-180deg);\n}","//ifxAccordionItem\nimport { Component, Prop, h, State, Event, EventEmitter, Method } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion-item',\n styleUrl: 'accordionItem.scss',\n shadow: true,\n})\nexport class IfxAccordionItem {\n @Prop() caption: string;\n @State() open: boolean = false;\n @Event() ifxItemOpen: EventEmitter;\n @Event() ifxItemClose: EventEmitter;\n private contentEl!: HTMLElement;\n\n toggleOpen() {\n this.open = !this.open;\n if (this.open) {\n this.ifxItemOpen.emit();\n } else {\n this.ifxItemClose.emit();\n }\n }\n\n componentDidUpdate() {\n if (this.open) {\n this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;\n } else {\n this.contentEl.style.maxHeight = '0';\n }\n }\n\n @Method()\n async close() {\n this.open = false;\n this.ifxItemClose.emit();\n }\n\n @Method()\n async isOpen(): Promise<boolean> {\n return this.open;\n }\n\n render() {\n return (\n <div class={`accordion-item ${this.open ? 'open' : ''}`}>\n <div class=\"accordion-title\" onClick={() => this.toggleOpen()}>\n <span class=\"accordion-icon\">\n <ifx-icon icon=\"chevron-down-12\" />\n </span>\n <span class=\"accordion-caption\">{this.caption}</span>\n </div>\n <div class=\"accordion-content\" ref={(el) => (this.contentEl = el as HTMLElement)}>\n <div class=\"inner-content\">\n <slot />\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ifx-accordion-item.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,46 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
-
3
- const accordionCss = "*{font-family:\"Source Sans Pro\"}:host{display:block}.accordion-wrapper{display:flex;flex-direction:column;gap:8px}";
4
-
5
- const Accordion = /*@__PURE__*/ proxyCustomElement(class Accordion extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- this.autoCollapse = false;
11
- }
12
- async onItemOpen(event) {
13
- if (this.autoCollapse) {
14
- const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));
15
- for (const item of items) {
16
- const itemElement = item;
17
- if (itemElement !== event.target && (await itemElement.isOpen())) {
18
- itemElement.close();
19
- }
20
- }
21
- }
22
- }
23
- render() {
24
- return (h("div", { class: "accordion-wrapper" }, h("slot", null)));
25
- }
26
- get el() { return this; }
27
- static get style() { return accordionCss; }
28
- }, [1, "ifx-accordion", {
29
- "autoCollapse": [4, "auto-collapse"]
30
- }, [[0, "ifxItemOpen", "onItemOpen"]]]);
31
- function defineCustomElement$1() {
32
- if (typeof customElements === "undefined") {
33
- return;
34
- }
35
- const components = ["ifx-accordion"];
36
- components.forEach(tagName => { switch (tagName) {
37
- case "ifx-accordion":
38
- if (!customElements.get(tagName)) {
39
- customElements.define(tagName, Accordion);
40
- }
41
- break;
42
- } });
43
- }
1
+ import { A as Accordion, d as defineCustomElement$1 } from './accordion.js';
44
2
 
45
3
  const IfxAccordion = Accordion;
46
4
  const defineCustomElement = defineCustomElement$1;
@@ -1 +1 @@
1
- {"file":"ifx-accordion.js","mappings":";;AAAA,MAAM,YAAY,GAAG,sHAAsH;;MCQ9H,SAAS;;;;;wBAEY,KAAK;;EAGrC,MAAM,UAAU,CAAC,KAAkB;IACjC,IAAG,IAAI,CAAC,YAAY,EAAE;MACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,CAAC;MACzE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACxB,MAAM,WAAW,GAAG,IAAmC,CAAC;QACxD,IAAI,WAAW,KAAK,KAAK,CAAC,MAAM,KAAK,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE;UAChE,WAAW,CAAC,KAAK,EAAE,CAAC;SACrB;OACF;KACF;GACF;EAED,MAAM;IACJ,QACE,WAAK,KAAK,EAAC,mBAAmB,IAC5B,eAAQ,CACJ,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/accordion/accordion.scss?tag=ifx-accordion&encapsulation=shadow","./src/components/accordion/accordion.tsx"],"sourcesContent":["// ifxAccordion.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: block;\n}\n\n.accordion-wrapper {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}","//ifxAccordion.tsx\nimport { Component, h, Listen, Element, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion',\n styleUrl: 'accordion.scss',\n shadow: true,\n})\nexport class Accordion {\n @Element() el: HTMLElement;\n @Prop() autoCollapse: boolean = false;\n\n @Listen('ifxItemOpen')\n async onItemOpen(event: CustomEvent) {\n if(this.autoCollapse) { \n const items = Array.from(this.el.querySelectorAll('ifx-accordion-item'));\n for (const item of items) {\n const itemElement = item as HTMLIfxAccordionItemElement;\n if (itemElement !== event.target && (await itemElement.isOpen())) {\n itemElement.close();\n }\n }\n }\n }\n\n render() {\n return (\n <div class=\"accordion-wrapper\">\n <slot />\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ifx-accordion.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface IfxFaq extends Components.IfxFaq, HTMLElement {}
4
+ export const IfxFaq: {
5
+ prototype: IfxFaq;
6
+ new (): IfxFaq;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,53 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$4 } from './accordion.js';
3
+ import { d as defineCustomElement$3 } from './accordionItem.js';
4
+ import { d as defineCustomElement$2 } from './infineonIconStencil.js';
5
+
6
+ const faqCss = ".container{padding-top:10px}";
7
+
8
+ const Faq = /*@__PURE__*/ proxyCustomElement(class Faq extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ }
14
+ render() {
15
+ return (h("div", { class: 'container' }, h("ifx-accordion", null, h("ifx-accordion-item", { caption: "What is the Infineon DDS?" }, "The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application\u2019s structure should be."), h("ifx-accordion-item", { caption: "How do I get access to the DDS?" }, "You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github."), h("ifx-accordion-item", { caption: "Can I integrate the Infineon DDS into my project?" }, "Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)"), h("ifx-accordion-item", { caption: "Are Infineon DDS components accessable?" }, "We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here."), h("ifx-accordion-item", { caption: "How to request a new component?" }, "Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you."))));
16
+ }
17
+ static get style() { return faqCss; }
18
+ }, [1, "ifx-faq"]);
19
+ function defineCustomElement$1() {
20
+ if (typeof customElements === "undefined") {
21
+ return;
22
+ }
23
+ const components = ["ifx-faq", "ifx-accordion", "ifx-accordion-item", "ifx-icon"];
24
+ components.forEach(tagName => { switch (tagName) {
25
+ case "ifx-faq":
26
+ if (!customElements.get(tagName)) {
27
+ customElements.define(tagName, Faq);
28
+ }
29
+ break;
30
+ case "ifx-accordion":
31
+ if (!customElements.get(tagName)) {
32
+ defineCustomElement$4();
33
+ }
34
+ break;
35
+ case "ifx-accordion-item":
36
+ if (!customElements.get(tagName)) {
37
+ defineCustomElement$3();
38
+ }
39
+ break;
40
+ case "ifx-icon":
41
+ if (!customElements.get(tagName)) {
42
+ defineCustomElement$2();
43
+ }
44
+ break;
45
+ } });
46
+ }
47
+
48
+ const IfxFaq = Faq;
49
+ const defineCustomElement = defineCustomElement$1;
50
+
51
+ export { IfxFaq, defineCustomElement };
52
+
53
+ //# sourceMappingURL=ifx-faq.js.map
@@ -0,0 +1 @@
1
+ {"file":"ifx-faq.js","mappings":";;;;;AAAA,MAAM,MAAM,GAAG,8BAA8B;;MCOhC,GAAG;;;;;;EAEd,MAAM;IACJ,QACE,WAAK,KAAK,EAAC,WAAW,IACtB,yBACE,0BAAoB,OAAO,EAAC,2BAA2B,0dAElC,EACrB,0BAAoB,OAAO,EAAC,iCAAiC,oNAExC,EACrB,0BAAoB,OAAO,EAAC,mDAAmD,kVAE1D,EACrB,0BAAoB,OAAO,EAAC,yCAAyC,gUAEhD,EACrB,0BAAoB,OAAO,EAAC,iCAAiC,0PAExC,CACP,CACV,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/stories/setup-and-installation/faq/faq.scss?tag=ifx-faq&encapsulation=shadow","./src/stories/setup-and-installation/faq/faq.tsx"],"sourcesContent":[".container { \n padding-top: 10px;\n}","import { Component, h } from '@stencil/core';\n\n@Component({\n tag: 'ifx-faq',\n styleUrl: './faq.scss',\n shadow: true,\n})\nexport class Faq {\n\n render() {\n return (\n <div class='container'>\n <ifx-accordion>\n <ifx-accordion-item caption=\"What is the Infineon DDS?\">\n The Infineon Digital Design System consists of code components, design principles, tools and guidelines as well as a dedicated interdisciplinary team. Its purpose is to support internal and external colleagues create digital user interfaces with a high level of usability as well as a consistent expression of the Infineon brand. The DDS does not focus on the content of a web application but it describes how the design of the application’s structure should be.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How do I get access to the DDS?\">\n You can use the provided Figma file as a foundation for mockups and prototypes, use Storybook to view what UI components and variants are available and use code components provided via Storybook or Github.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Can I integrate the Infineon DDS into my project?\">\n Yes, you can. We are happy to discuss with you which point in time and which scope of integration is bestsuited for updating your interface to the Infineon DDS. (To avoid that users get confused by a mixture of UI components, we recommend choosing larger updates or technology changes as opportunity to integrate the Infineon DDS.)\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"Are Infineon DDS components accessable?\">\n We have taken WCAG 2.0 Level AA as baseline level for all design decisions inside the Infineon Digital Design System. To make an online experience truly accessible you have to implement the specific code, content, and visual design according to the accessibility standard. Find an introduction to this topic here.\n </ifx-accordion-item>\n <ifx-accordion-item caption=\"How to request a new component?\">\n Please contact us like described in the contribution section! We are planning to expand the number of components continually. If your component is also usable for multiple other projects, there is a good chance we might work together with you.\n </ifx-accordion-item>\n </ifx-accordion>\n </div>\n );\n }\n}\n"],"version":3}