@infineon/infineon-design-system-stencil 32.9.0--canary.1690.0fd1d4f3930adff7951d6ac8fa7cd8a2f129f926.0 → 32.9.0--canary.1690.0b04d2e768692eb0a6dff00bb4a8192404e39af6.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.
- package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +1 -1
- package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icon.cjs.entry.js +78 -0
- package/dist/cjs/ifx-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-navbar-item.cjs.entry.js +351 -0
- package/dist/cjs/ifx-navbar-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js +4 -4
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/{ifx-icon_6.cjs.entry.js → ifx-navbar.cjs.entry.js} +4 -562
- package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
- package/dist/cjs/ifx-number-indicator.cjs.entry.js +31 -0
- package/dist/cjs/ifx-number-indicator.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-search-bar.cjs.entry.js +55 -0
- package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-search-field.cjs.entry.js +77 -0
- package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
- package/dist/cjs/ifx-select.cjs.entry.js +2 -2
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
- package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner_2.cjs.entry.js +6 -6
- package/dist/cjs/ifx-status.cjs.entry.js +1 -1
- package/dist/cjs/ifx-step.cjs.entry.js +4 -4
- package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
- package/dist/cjs/ifx-table.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
- package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/index-c9480f70.js +24 -4
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/navigation/navbar/navbar-item.css +16 -0
- package/dist/collection/components/navigation/navbar/navbar-item.js +32 -8
- package/dist/collection/components/navigation/navbar/navbar-item.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
- package/dist/collection/components/navigation/navbar/navbar.js +3 -13
- package/dist/collection/components/navigation/navbar/navbar.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar.stories.js +27 -2
- package/dist/collection/components/navigation/navbar/navbar.stories.js.map +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
- package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
- package/dist/collection/components/notification/notification.js +2 -2
- package/dist/collection/components/number-indicator/number-indicator.js +1 -1
- package/dist/collection/components/overview-table/overview-table.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/search-bar/search-bar.js +1 -1
- package/dist/collection/components/search-field/search-field.js +1 -1
- package/dist/collection/components/segmented-control/segment/segment.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/select/single-select/select.js +2 -2
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/status/status.js +1 -1
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
- package/dist/collection/components/table-advanced-version/table.js +2 -2
- package/dist/collection/components/table-basic-version/table.js +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/templates/template/template.js +1 -1
- package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-faq.js +1 -1
- package/dist/components/ifx-filter-accordion.js +3 -3
- package/dist/components/ifx-filter-bar.js +1 -1
- package/dist/components/ifx-filter-search.js +2 -2
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-icons-preview.js +1 -1
- package/dist/components/ifx-list-entry.js +2 -2
- package/dist/components/ifx-navbar-item.js +15 -10
- package/dist/components/ifx-navbar-item.js.map +1 -1
- package/dist/components/ifx-navbar-profile.js +4 -4
- package/dist/components/ifx-navbar-profile.js.map +1 -1
- package/dist/components/ifx-navbar.js +3 -13
- package/dist/components/ifx-navbar.js.map +1 -1
- package/dist/components/ifx-notification.js +1 -1
- package/dist/components/ifx-number-indicator.js +1 -1
- package/dist/components/ifx-overview-table.js +2 -2
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-progress-bar.js +1 -1
- package/dist/components/ifx-radio-button-group.js +1 -1
- package/dist/components/ifx-radio-button.js +1 -1
- package/dist/components/ifx-search-bar.js +2 -2
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +1 -1
- package/dist/components/ifx-segmented-control.js +2 -2
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +2 -2
- package/dist/components/ifx-sidebar-item.js +6 -6
- package/dist/components/ifx-sidebar-title.js +1 -1
- package/dist/components/ifx-sidebar.js +5 -5
- package/dist/components/ifx-slider.js +2 -2
- package/dist/components/ifx-spinner.js +1 -1
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +4 -4
- package/dist/components/ifx-stepper.js +2 -2
- package/dist/components/ifx-switch.js +1 -1
- package/dist/components/ifx-tab.js +1 -1
- package/dist/components/ifx-table.js +6 -6
- package/dist/components/ifx-tabs.js +2 -2
- package/dist/components/ifx-tag.js +1 -1
- package/dist/components/ifx-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +4 -4
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +1 -1
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/{p-02993d59.js → p-03acdbd0.js} +2 -2
- package/dist/components/{p-02993d59.js.map → p-03acdbd0.js.map} +1 -1
- package/dist/components/{p-267a34e4.js → p-107fafa0.js} +3 -3
- package/dist/components/{p-267a34e4.js.map → p-107fafa0.js.map} +1 -1
- package/dist/components/{p-51411d26.js → p-1718b5a9.js} +3 -3
- package/dist/components/{p-51411d26.js.map → p-1718b5a9.js.map} +1 -1
- package/dist/components/{p-8d10b031.js → p-3857ac48.js} +5 -5
- package/dist/components/{p-8d10b031.js.map → p-3857ac48.js.map} +1 -1
- package/dist/components/{p-86dbec0b.js → p-519cb249.js} +3 -3
- package/dist/components/{p-86dbec0b.js.map → p-519cb249.js.map} +1 -1
- package/dist/components/{p-3228aac2.js → p-5853aeb8.js} +3 -3
- package/dist/components/{p-3228aac2.js.map → p-5853aeb8.js.map} +1 -1
- package/dist/components/{p-9765c4af.js → p-58a0ff65.js} +2 -2
- package/dist/components/{p-9765c4af.js.map → p-58a0ff65.js.map} +1 -1
- package/dist/components/{p-1f3ec3be.js → p-696ba960.js} +4 -4
- package/dist/components/{p-1f3ec3be.js.map → p-696ba960.js.map} +1 -1
- package/dist/components/{p-718f6082.js → p-b024aa08.js} +2 -2
- package/dist/components/{p-718f6082.js.map → p-b024aa08.js.map} +1 -1
- package/dist/components/{p-4d4f8f00.js → p-bf2666f8.js} +3 -3
- package/dist/components/{p-4d4f8f00.js.map → p-bf2666f8.js.map} +1 -1
- package/dist/esm/ifx-alert_2.entry.js +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-chip_3.entry.js +1 -1
- package/dist/esm/ifx-faq.entry.js +1 -1
- package/dist/esm/ifx-filter-accordion.entry.js +2 -2
- package/dist/esm/ifx-filter-bar.entry.js +1 -1
- package/dist/esm/ifx-filter-search.entry.js +1 -1
- package/dist/esm/ifx-filter-type-group.entry.js +1 -1
- package/dist/esm/ifx-icon.entry.js +74 -0
- package/dist/esm/ifx-icon.entry.js.map +1 -0
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-navbar-item.entry.js +347 -0
- package/dist/esm/ifx-navbar-item.entry.js.map +1 -0
- package/dist/esm/ifx-navbar-profile.entry.js +4 -4
- package/dist/esm/ifx-navbar-profile.entry.js.map +1 -1
- package/dist/esm/{ifx-icon_6.entry.js → ifx-navbar.entry.js} +6 -559
- package/dist/esm/ifx-navbar.entry.js.map +1 -0
- package/dist/esm/ifx-notification.entry.js +2 -2
- package/dist/esm/ifx-number-indicator.entry.js +27 -0
- package/dist/esm/ifx-number-indicator.entry.js.map +1 -0
- package/dist/esm/ifx-overview-table.entry.js +1 -1
- package/dist/esm/ifx-progress-bar.entry.js +1 -1
- package/dist/esm/ifx-radio-button-group.entry.js +1 -1
- package/dist/esm/ifx-radio-button.entry.js +2 -2
- package/dist/esm/ifx-search-bar.entry.js +51 -0
- package/dist/esm/ifx-search-bar.entry.js.map +1 -0
- package/dist/esm/ifx-search-field.entry.js +73 -0
- package/dist/esm/ifx-search-field.entry.js.map +1 -0
- package/dist/esm/ifx-segment.entry.js +1 -1
- package/dist/esm/ifx-segmented-control.entry.js +2 -2
- package/dist/esm/ifx-select.entry.js +2 -2
- package/dist/esm/ifx-sidebar-item.entry.js +5 -5
- package/dist/esm/ifx-sidebar-title.entry.js +1 -1
- package/dist/esm/ifx-sidebar.entry.js +5 -5
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner_2.entry.js +6 -6
- package/dist/esm/ifx-status.entry.js +1 -1
- package/dist/esm/ifx-step.entry.js +4 -4
- package/dist/esm/ifx-stepper.entry.js +2 -2
- package/dist/esm/ifx-switch.entry.js +1 -1
- package/dist/esm/ifx-tab.entry.js +1 -1
- package/dist/esm/ifx-table.entry.js +2 -2
- package/dist/esm/ifx-tabs.entry.js +2 -2
- package/dist/esm/ifx-tag.entry.js +1 -1
- package/dist/esm/ifx-templates-ui.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +1 -1
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/index-c77e25a0.js +24 -4
- package/dist/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/{p-1e4bc2b9.entry.js → p-00c52c84.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9ae3f322.entry.js → p-03752fe5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-dd5d3a7e.entry.js → p-1abbcdbc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-1b59a7f9.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-1c19f8ce.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-32b1a855.entry.js → p-1de4f93c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-1fca1eb2.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-1fca1eb2.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-33b93a7c.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-33b93a7c.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-e76958fe.entry.js → p-37e75e7c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-71abc76f.entry.js → p-3a682dbd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-aa47ef1b.entry.js → p-3c039adc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-04dd3ba0.entry.js → p-48ea6a67.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-35c6aaf9.entry.js → p-5536a9c8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cdf8f8c1.entry.js → p-59fb1317.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-5ba50092.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-5ba50092.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-04295692.entry.js → p-5cf37e2a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-65d9faca.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-a3273feb.entry.js → p-67c63b48.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-3123e5e2.entry.js → p-68b06d9b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e43a687a.entry.js → p-6b9ecace.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ed07daf7.entry.js → p-6ba8b5eb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-711d5051.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-711d5051.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-ccbeb030.entry.js → p-7abdbf1f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a9d22ce3.entry.js → p-86ba198c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-945bae94.entry.js → p-8a0b4540.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f7b3460c.entry.js → p-8dbe0add.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e0cab72d.entry.js → p-9e413f66.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d4d0a720.entry.js → p-9feda3ff.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1d4e6390.entry.js → p-a0d570a0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7137962f.entry.js → p-b63754ff.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-23c72549.entry.js → p-b7057914.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9bf471f5.entry.js → p-d08d3dd7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-d30f4aed.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-d30f4aed.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-010454e4.entry.js → p-dc49f3c8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-e2d0ad64.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-d829f880.entry.js → p-e447fb1f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-e4de8215.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-e4de8215.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-e57f8890.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-73c719bc.entry.js.map → p-e57f8890.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-ca2820fd.entry.js → p-ecc58519.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-f99f62ec.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-f99f62ec.entry.js.map +1 -0
- package/dist/types/components/navigation/navbar/navbar-item.d.ts +2 -1
- package/dist/types/components/navigation/navbar/navbar.d.ts +0 -1
- package/dist/types/components/navigation/navbar/navbar.stories.d.ts +31 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/ifx-icon_6.cjs.entry.js.map +0 -1
- package/dist/esm/ifx-icon_6.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-408741e6.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-688baa7f.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-73c719bc.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-b1e7ffb5.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bff428f4.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bff428f4.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-e42e3390.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-e42e3390.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-fbdcd51a.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-1e4bc2b9.entry.js.map → p-00c52c84.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9ae3f322.entry.js.map → p-03752fe5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-dd5d3a7e.entry.js.map → p-1abbcdbc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-688baa7f.entry.js.map → p-1b59a7f9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fbdcd51a.entry.js.map → p-1c19f8ce.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-32b1a855.entry.js.map → p-1de4f93c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e76958fe.entry.js.map → p-37e75e7c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-71abc76f.entry.js.map → p-3a682dbd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-aa47ef1b.entry.js.map → p-3c039adc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-04dd3ba0.entry.js.map → p-48ea6a67.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-35c6aaf9.entry.js.map → p-5536a9c8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cdf8f8c1.entry.js.map → p-59fb1317.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-04295692.entry.js.map → p-5cf37e2a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b1e7ffb5.entry.js.map → p-65d9faca.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a3273feb.entry.js.map → p-67c63b48.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3123e5e2.entry.js.map → p-68b06d9b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e43a687a.entry.js.map → p-6b9ecace.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ed07daf7.entry.js.map → p-6ba8b5eb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ccbeb030.entry.js.map → p-7abdbf1f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a9d22ce3.entry.js.map → p-86ba198c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-945bae94.entry.js.map → p-8a0b4540.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f7b3460c.entry.js.map → p-8dbe0add.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e0cab72d.entry.js.map → p-9e413f66.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d4d0a720.entry.js.map → p-9feda3ff.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1d4e6390.entry.js.map → p-a0d570a0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7137962f.entry.js.map → p-b63754ff.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-23c72549.entry.js.map → p-b7057914.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9bf471f5.entry.js.map → p-d08d3dd7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-010454e4.entry.js.map → p-dc49f3c8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-408741e6.entry.js.map → p-e2d0ad64.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d829f880.entry.js.map → p-e447fb1f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ca2820fd.entry.js.map → p-ecc58519.entry.js.map} +0 -0
@@ -177,7 +177,7 @@ const Template = class {
|
|
177
177
|
}
|
178
178
|
}
|
179
179
|
render() {
|
180
|
-
return (index.h("div", { key: '
|
180
|
+
return (index.h("div", { key: 'f65bcad4089f5c8b672184729dcdd17c6eda8cba' }, this.isTemplatePage
|
181
181
|
?
|
182
182
|
index.h("div", { class: "template__page-wrapper" }, !this.repoUrl && !this.repoError &&
|
183
183
|
index.h("div", null, index.h("h3", null, "Your repository is getting ready.."), index.h("p", null, "This will only take a minute.")), this.isLoading && !this.repoError && index.h("div", null, index.h("ifx-spinner", { variant: 'default', size: 's' })), this.repoUrl && index.h("ifx-link", { href: this.repoUrl, target: "_parent", size: "m", variant: "underlined" }, "Your repository"), this.repoError && index.h("div", null, this.repoError))
|
@@ -182,7 +182,7 @@ const Table = class {
|
|
182
182
|
return {};
|
183
183
|
}
|
184
184
|
render() {
|
185
|
-
return (index.h(index.Host, { key: '
|
185
|
+
return (index.h(index.Host, { key: 'ad2d7535d94aba7f303088599101f365f077f65e' }, index.h("div", { key: 'ab6135affa957b20efc6fcd96be4e5308e767659', id: "table-wrapper", class: this.getClassNames() }, index.h("div", { key: '2aac286f7422d5c0106c1a13beab760abb3e03fe', id: `ifxTable-${this.uniqueKey}`, class: "ifx-ag-grid", style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
|
186
186
|
}
|
187
187
|
get host() { return index.getElement(this); }
|
188
188
|
};
|
@@ -512,7 +512,7 @@ const Pagination = class {
|
|
512
512
|
this.initPagination(paginationElement);
|
513
513
|
}
|
514
514
|
render() {
|
515
|
-
return (index.h("div", { key: '
|
515
|
+
return (index.h("div", { key: 'b0c95fd2d1f3eff8c2a02773b7332fa8a0e8df4b', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, index.h("div", { key: '5258c41927e8699f3abedd4e4cf127abc9b9d621', class: 'items__per-page-wrapper' }, index.h("div", { key: 'c1613e4f10bddd59733f92a18b02df25fb2bd41c', class: 'items__per-page-label' }, "Results per Page"), index.h("div", { key: 'c51981aec1cf851bba48ccac2bfdfc0d6889efdf', class: 'items__per-page-field' }, index.h("ifx-select", { key: 'df0af4e9e347a3bad00477d187df5dfa2336a3a8', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: this.filteredItemsPerPage }))), index.h("div", { key: 'ef3a823246abfd7c22f4e3a214c87880491a97ce', class: 'items__total-wrapper' }, index.h("div", { key: 'd358a8c56ea8a2963b4de1cb0e3424e45bef5486', class: 'page__numbers-wrapper' }, index.h("div", { key: 'e0fd96bf52b67c9010f567bc11856f57f1fb9128', class: "pagination" }, index.h("ifx-icon-button", { key: '094f2b269326b82f332375bbf0bf94b25c895051', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), index.h("ol", { key: '1cbe4f1104728aaf5c384d2328db1f2cfc10e6e5' }, this.numberOfPages.map((item) => index.h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, index.h("a", { href: undefined }, item)))), index.h("ifx-icon-button", { key: '8befcf76b3fb5d7c349dbde7f45041b7cf661882', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
|
516
516
|
}
|
517
517
|
get el() { return index.getElement(this); }
|
518
518
|
};
|
@@ -12,7 +12,7 @@ const Faq = class {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (index.h("div", { key: '
|
15
|
+
return (index.h("div", { key: '38fe3ec5631fe45adcc35588f571cb04b9c2ff86', class: 'container' }, index.h("ifx-accordion", { key: '0a200c6d581b25df4d1ac5109a552fb03ce19248' }, index.h("ifx-accordion-item", { key: '817f3277cafe0434924c77df5f535a1aed24c31d', 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", { key: 'c26ade22de3178d88f441dfeaf13af56b39a225e', 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", { key: 'f294796deb5779d31b8d0436c0ebce363e17d51b', 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", { key: '17996798e2b1a74e4ba64e0745cccc3de1af63dc', 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", { key: 'f3246800892322c806e8710a8c7824b7dffa6a34', 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
16
|
}
|
17
17
|
};
|
18
18
|
Faq.style = IfxFaqStyle0;
|
@@ -53,8 +53,8 @@ const FilterAccordion = class {
|
|
53
53
|
this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
|
54
54
|
}
|
55
55
|
render() {
|
56
|
-
return (index.h("div", { key: '
|
57
|
-
index.h("div", { key: '
|
56
|
+
return (index.h("div", { key: '04f5bf30e72842f9933b4e996d0f1f8fd05a7e20', class: `accordion ${this.expanded ? 'expanded' : ''}` }, index.h("div", { key: 'db74e70636d12b7eda258cd51b970efabca762b1', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, index.h("div", { key: '275bb4906b9bf54d3f7a3d92127c2b5f5929f66f', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, index.h("div", { key: '196c8da9491b30ee1b9340f2d608dcc0fbc77e8d', class: "text" }, index.h("span", { key: 'ca7a0e16bdec5ad7c7712eacc663e93016745274' }, this.filterGroupName), index.h("ifx-number-indicator", { key: 'ded7fee1ddad870fd8ab71c552443b10c64fe16b' }, this.count)), index.h("ifx-icon", { key: 'bf3c7d0609df661cf80d2a54d6541f00ad12e4fe', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), index.h("ifx-icon", { key: 'e51d932d03376e78da2a7c7023b7a730c485735e', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
|
57
|
+
index.h("div", { key: '9f918e904eac2a581a2964c151a968745ac947f3', class: "filter-accordion-container" }, index.h("slot", { key: 'dd76a13a2b0eacbdf472d80418b3c003c9a4fac5', name: "list" }))));
|
58
58
|
}
|
59
59
|
get el() { return index.getElement(this); }
|
60
60
|
};
|
@@ -97,7 +97,7 @@ const FilterBar = class {
|
|
97
97
|
// Calculate slotsToShow safely
|
98
98
|
const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
|
99
99
|
const slots = Array.from({ length: slotsToShow }, (_, i) => (index.h("div", { class: "filter-slot-wrapper" }, index.h("slot", { name: `filter-component-${i + 1}` }))));
|
100
|
-
return (index.h(index.Host, { key: '
|
100
|
+
return (index.h(index.Host, { key: '3918b1d231610b4f950c76a2ed07d925d7ba29e3' }, index.h("div", { key: 'd72e6b4183d5f89b28f837ffb7996a63d33f5c4f', class: "search-container" }, index.h("slot", { key: 'e01e5096996fe278288ca45a4556df6f887e95b2', name: "filter-search" }), " "), index.h("div", { key: 'd98c1aabedb706e1cd87329e1b5f223395692e01', class: "components-container" }, slots.length > 0 ? slots : index.h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (index.h("div", { key: '655e3d96f5265ad5c2f412c27b715a083456e8b6', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, index.h("ifx-button", { key: '47dabee1d37f6c673b2d62de1547eaba96262e8a', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, index.h("ifx-icon", { key: 'de59be45b90578acde9c141129f4579562e348cf', icon: "filter-16" }), "More filters"))))));
|
101
101
|
}
|
102
102
|
get el() { return index.getElement(this); }
|
103
103
|
};
|
@@ -33,7 +33,7 @@ const FilterSearch = class {
|
|
33
33
|
this.ifxFilterSearchChange.emit({ filterName: this.filterName, filterValue: this.filterValue, filterKey: this.filterKey }); // Emitting filterKey along with other properties
|
34
34
|
}
|
35
35
|
render() {
|
36
|
-
return (index.h("div", { key: '
|
36
|
+
return (index.h("div", { key: '53a34910aec55e31b40d2d2868481fea46dec401', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, index.h("div", { key: 'eb4451b33cf8815237b0543d22f0cabcc2129070', class: "filter-name" }, this.filterName), index.h("ifx-search-field", { key: '6240cf45bc67f23d9899ee67914974104801f632', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
|
37
37
|
}
|
38
38
|
get host() { return index.getElement(this); }
|
39
39
|
static get watchers() { return {
|
@@ -129,7 +129,7 @@ const IfxFilterTypeGroup = class {
|
|
129
129
|
window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);
|
130
130
|
}
|
131
131
|
render() {
|
132
|
-
return (index.h(index.Host, { key: '
|
132
|
+
return (index.h(index.Host, { key: 'b3c13d48da96a74d05ba0af9f592fc4f4bf688fc' }, index.h("div", { key: 'd0bea155f2d083279710607bde2957fa7f2bdd41', class: "filter-type-group" }, index.h("slot", { key: '71c60c9cdc705fb1d845b93d9871f3257090b88f', name: "filter-search" }), index.h("slot", { key: 'd3ecbbd9e98a227cd2d6902e28ce13c1511bd451', name: "filter-accordion" }))));
|
133
133
|
}
|
134
134
|
get el() { return index.getElement(this); }
|
135
135
|
};
|
@@ -0,0 +1,78 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-c9480f70.js');
|
6
|
+
const icons = require('./icons-497a0772.js');
|
7
|
+
|
8
|
+
const infineonIconStencilCss = "ifx-icon{display:inline-flex;justify-content:center}ifx-icon:empty{display:none}";
|
9
|
+
const IfxIconStyle0 = infineonIconStencilCss;
|
10
|
+
|
11
|
+
const InfineonIconStencil = class {
|
12
|
+
constructor(hostRef) {
|
13
|
+
index.registerInstance(this, hostRef);
|
14
|
+
this.consoleError = index.createEvent(this, "consoleError", 7);
|
15
|
+
this.icon = "";
|
16
|
+
}
|
17
|
+
convertStringToHtml(htmlString) {
|
18
|
+
const div = document.createElement('div');
|
19
|
+
div.innerHTML = htmlString;
|
20
|
+
return div.firstChild;
|
21
|
+
}
|
22
|
+
convertHtmlToObject(htmlElement) {
|
23
|
+
let pathToObject = Array
|
24
|
+
.from(htmlElement.attributes, ({ name, value }) => ({ name, value }))
|
25
|
+
.reduce((acc, current) => {
|
26
|
+
acc[current.name] = current.value;
|
27
|
+
return acc;
|
28
|
+
}, {});
|
29
|
+
return pathToObject;
|
30
|
+
}
|
31
|
+
convertPathsToVnode(htmlPath) {
|
32
|
+
let svgPaths = [];
|
33
|
+
const parentPath = this.convertHtmlToObject(htmlPath);
|
34
|
+
const parentPathToVnode = index.h("path", parentPath);
|
35
|
+
svgPaths.push(parentPathToVnode);
|
36
|
+
if (htmlPath.firstChild) {
|
37
|
+
const paths = htmlPath.querySelectorAll('path');
|
38
|
+
const pathLength = htmlPath.querySelectorAll('path').length;
|
39
|
+
for (let i = 0; i < pathLength; i++) {
|
40
|
+
let pathToObject = this.convertHtmlToObject(paths[i]);
|
41
|
+
let objToVnode = index.h("path", pathToObject);
|
42
|
+
svgPaths.push(objToVnode);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
return svgPaths;
|
46
|
+
}
|
47
|
+
getSVG(svgPath) {
|
48
|
+
return index.h("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);
|
49
|
+
}
|
50
|
+
constructIcon() {
|
51
|
+
if (this.ifxIcon) {
|
52
|
+
const htmlPath = this.convertStringToHtml(this.ifxIcon.svgContent);
|
53
|
+
const svgPath = this.convertPathsToVnode(htmlPath);
|
54
|
+
const SVG = this.getSVG(svgPath);
|
55
|
+
return SVG;
|
56
|
+
}
|
57
|
+
else if (this.icon !== "") {
|
58
|
+
console.error('Icon not found!');
|
59
|
+
this.consoleError.emit(true);
|
60
|
+
return;
|
61
|
+
}
|
62
|
+
else {
|
63
|
+
return;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
componentWillLoad() {
|
67
|
+
const removeHyphen = (str) => str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_m, chr) => chr);
|
68
|
+
this.ifxIcon = icons.getIcon(removeHyphen(this.icon));
|
69
|
+
}
|
70
|
+
render() {
|
71
|
+
return (index.h(index.Host, { key: 'b9e7a70969306d21d04013a291d7f1c6c12a2f40' }, this.constructIcon()));
|
72
|
+
}
|
73
|
+
};
|
74
|
+
InfineonIconStencil.style = IfxIconStyle0;
|
75
|
+
|
76
|
+
exports.ifx_icon = InfineonIconStencil;
|
77
|
+
|
78
|
+
//# sourceMappingURL=ifx-icon.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ifx-icon.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,sBAAsB,GAAG,kFAAkF,CAAC;AAClH,sBAAe,sBAAsB;;MCSxB,mBAAmB;IALhC;;;QAM2B,SAAI,GAAW,EAAE,CAAA;KAuE3C;IAnEC,mBAAmB,CAAC,UAAU;QAC5B,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;QACzC,GAAG,CAAC,SAAS,GAAG,UAAU,CAAA;QAC1B,OAAO,GAAG,CAAC,UAAU,CAAA;KACtB;IAED,mBAAmB,CAAC,WAAW;QAC7B,IAAI,YAAY,GAAG,KAAK;aACrB,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;aACpE,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO;YACnB,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,KAAK,CAAA;YACjC,OAAO,GAAG,CAAA;SACX,EAAE,EAAE,CAAC,CAAA;QAER,OAAO,YAAY,CAAA;KACpB;IAED,mBAAmB,CAAC,QAAQ;QAC1B,IAAI,QAAQ,GAAG,EAAE,CAAA;QACjB,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QACtD,MAAM,iBAAiB,GAAGA,OAAC,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QAChD,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA;QAChC,IAAG,QAAQ,CAAC,UAAU,EAAE;YACtB,MAAM,KAAK,GAAG,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;YAChD,MAAM,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC;YAC5D,KAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE;gBAClC,IAAI,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;gBACrD,IAAI,UAAU,GAAGA,OAAC,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;gBACxC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;aAC1B;SACF;QACD,OAAO,QAAQ,CAAA;KAChB;IAED,MAAM,CAAC,OAAO;QACZ,OAAOA,iBAAK,KAAK,EAAC,YAAY,EAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,OAAM,OAAO,CAAO,CAAA;KACrM;IAED,aAAa;QACX,IAAG,IAAI,CAAC,OAAO,EAAE;YACf,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;YAClE,MAAM,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAA;YAClD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;YAChC,OAAO,GAAG,CAAC;SACZ;aAAM,IAAG,IAAI,CAAC,IAAI,KAAK,EAAE,EAAE;YAC1B,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;YAChC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YAC5B,OAAO;SACR;aAAO;YACN,OAAO;SACR;KACF;IAED,iBAAiB;QACf,MAAM,YAAY,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,GAAG,CAAC,CAAC;QAC/F,IAAI,CAAC,OAAO,GAAGC,aAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;KACjD;IAID,MAAM;QACJ,QACED,QAACE,UAAI,uDACJ,IAAI,CAAC,aAAa,EAAE,CACd,EACP;KACH;;;;;;","names":["h","getIcon","Host"],"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\n\n render() {\n return (\n <Host>\n {this.constructIcon()}\n </Host>\n );\n }\n}"],"version":3}
|
@@ -25,7 +25,7 @@ const ListEntry = class {
|
|
25
25
|
this.ifxListEntryChange.emit({ label: this.label, value: this.value, type: this.type });
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (index.h("div", { key: '
|
28
|
+
return (index.h("div", { key: 'e7beb5ddc5e3493eac6f47d2eaf066a6f8a09add', class: "wrapper" }, this.type === 'checkbox' ? (index.h("div", { class: "list-entry" }, index.h("ifx-checkbox", { size: "s", checked: this.value }, this.label))) : (index.h("div", { class: "list-entry" }, index.h("ifx-radio-button", { size: "s", checked: this.value }, this.label)))));
|
29
29
|
}
|
30
30
|
get host() { return index.getElement(this); }
|
31
31
|
static get watchers() { return {
|
@@ -0,0 +1,351 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-c9480f70.js');
|
6
|
+
|
7
|
+
const navbarItemCss = ":host(.hidden){display:none}.navbar__item{position:relative;display:flex;flex-direction:row;align-items:center;padding:0px 8px;flex:none;order:0;flex-grow:0;font-family:var(--ifx-font-family);text-decoration:none;font-weight:400;font-size:16px;color:#1D1D1D}.navbar__item.hide{display:none}.navbar__item.isParent{gap:8px}.navbar__item .navItemIconWrapper{transition:0.3s}.navbar__item.open .navItemIconWrapper{transform:rotate(-180deg);transition:0.3s}.navbar__item:hover{color:#0A8276;cursor:pointer}.navbar__item:hover .username__tooltip{display:block}.navbar__item:hover .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{cursor:pointer;background-color:#08665C}.navbar__item.remove{display:none}.navbar__item.removeLabel .label__wrapper{display:none}.navbar__item .number__indicator-wrapper{position:relative;top:-11px}.navbar__item .dot__indicator-wrapper{display:flex;width:8px;height:8px;justify-content:center;align-items:center;flex-shrink:0;border-radius:50%;background-color:#0A8276;position:relative;top:-11px}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:8px;flex:none;order:0;flex-grow:0}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .username__tooltip{display:none;position:absolute;top:35px;right:0;text-wrap:nowrap;padding:1px 5px;font-size:13px;font-family:\"Source Sans 3\";background-color:black;color:#fff;z-index:99}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper:hover .username__tooltip{display:block}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{display:flex;width:24px;height:24px;justify-content:center;align-items:center;border-radius:100%;background-color:#0A8276}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper .initials{color:#FFF;text-align:center;font-family:\"Source Sans 3\";font-size:14px;font-style:normal;font-weight:600;line-height:20px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper img{width:24px;height:24px;border-radius:100%}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.removeWrapper{display:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.hide{display:none}.container{position:relative}.container .sub__layer-back-button{display:none}.container .sub__layer-back-button.show{display:flex;justify-content:flex-start}.container .sub__layer-back-button.show .back__button-wrapper{display:flex;align-items:center;gap:8px;padding:8px 0 16px 0;color:#0A8276;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.container .sub__layer-back-button.show .back__button-wrapper span:hover,.container .sub__layer-back-button.show .back__button-wrapper ifx-icon:hover{cursor:pointer}.container.hide{display:none}.container .inner__content-wrapper{position:relative;display:flex;justify-content:space-between;align-items:center;gap:8px}.container .inner__content-wrapper.no-gap{gap:0px}.container .inner__content-wrapper .navbar__container-right-content-navigation-item-icon-wrapper.no-gap{gap:0px}.container .inner__content-wrapper .number__indicator-wrapper{position:relative;top:-11px}.navbar-menu{position:absolute;display:none;list-style-type:none;visibility:visible;flex-direction:column;width:224px;min-width:224px;background:#FFFFFF;box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843);border:1px solid #EEEDED;padding:8px 0px;font-family:var(--ifx-font-family)}.navbar-menu.open:not(.itemInMobileMenu){display:flex}.navbar-menu.itemInMobileMenu{display:none}.navbar-menu.right{left:100%;top:-40%}.navbar-menu.left{top:-40%;right:100%}.navbar-menu.rightSideItemMenu{left:initial;right:0px}.navbar__item.layer__item-parent{color:#1D1D1D;font-size:24px;font-style:normal;font-weight:600;line-height:32px;letter-spacing:-0.24px;cursor:initial}.navbar__item.layer__item-parent .navbar__container-right-content-navigation-item-icon-wrapper ifx-icon svg{width:24px;height:24px}.navbar__item.sidebarMenuItem{justify-content:space-between;padding:0}.navbar__item.menuItem{text-decoration:none;color:#1D1D1D;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;gap:8px;font-family:var(--ifx-font-family)}.navbar__item.menuItem.hide{display:none}.navbar__item.menuItem .label__wrapper{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.navbar__item.menuItem:hover{cursor:pointer;background-color:#EEEDED}.navbar__item.menuItem:active{background-color:#BFBBBB}.sub__layer-menu{padding:5px;display:none}.sub__layer-menu.remove__margin{margin:0;padding:0}.sub__layer-menu.open{display:block}.navbar__item.hide{display:none}.menuItemRightIconWrapper.hide{display:none}.navItemIconWrapper.hide{display:none}";
|
8
|
+
const IfxNavbarItemStyle0 = navbarItemCss;
|
9
|
+
|
10
|
+
const NavbarItem = class {
|
11
|
+
constructor(hostRef) {
|
12
|
+
index.registerInstance(this, hostRef);
|
13
|
+
this.ifxNavItem = index.createEvent(this, "ifxNavItem", 7);
|
14
|
+
this.showLabel = true;
|
15
|
+
this.icon = "";
|
16
|
+
this.href = "";
|
17
|
+
this.target = "_self";
|
18
|
+
this.hideOnMobile = true;
|
19
|
+
this.internalHref = "";
|
20
|
+
this.isMenuItem = false;
|
21
|
+
this.hasChildNavItems = false;
|
22
|
+
this.isSidebarMenuItem = false;
|
23
|
+
this.dotIndicator = false;
|
24
|
+
}
|
25
|
+
handleOutsideClick(event) {
|
26
|
+
const path = event.composedPath();
|
27
|
+
const itemMenu = this.getItemMenu();
|
28
|
+
if (itemMenu) {
|
29
|
+
if (itemMenu.classList.contains('open')) {
|
30
|
+
if (!path.includes(this.el)) {
|
31
|
+
this.closeItemMenu();
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
async hideComponent() {
|
37
|
+
this.el.style.display = 'none';
|
38
|
+
}
|
39
|
+
async showComponent() {
|
40
|
+
this.el.style.display = '';
|
41
|
+
}
|
42
|
+
async toggleChildren(action) {
|
43
|
+
const itemMenu = this.getItemMenu();
|
44
|
+
const arrowIcon = this.getChevronDownIconWrapper();
|
45
|
+
if (itemMenu) {
|
46
|
+
this.handleClassList(arrowIcon, action, 'hide');
|
47
|
+
this.handleClassList(itemMenu, action, 'itemInMobileMenu');
|
48
|
+
}
|
49
|
+
}
|
50
|
+
async moveChildComponentsIntoSubLayerMenu() {
|
51
|
+
const subLayerMenu = this.getItemMenu();
|
52
|
+
if (subLayerMenu) {
|
53
|
+
const subLayerMenuIsOpened = this.handleClassList(subLayerMenu, 'contains', 'open');
|
54
|
+
if (subLayerMenuIsOpened) {
|
55
|
+
const navbarItem = this.getNavBarItem();
|
56
|
+
const subLayerBackButton = this.getSubLayerBackButton();
|
57
|
+
this.handleClassList(navbarItem, 'add', 'layer__item-parent');
|
58
|
+
this.handleClassList(subLayerBackButton, 'add', 'show');
|
59
|
+
this.ifxNavItem.emit({ component: this.el, action: 'hideFirstLayer' });
|
60
|
+
}
|
61
|
+
}
|
62
|
+
const navItems = this.el.querySelectorAll('[slot="first__layer"]');
|
63
|
+
this.isSidebarMenuItem = true;
|
64
|
+
for (let i = 0; i < navItems.length; i++) {
|
65
|
+
navItems[i].setAttribute('slot', 'second__layer');
|
66
|
+
navItems[i].moveChildComponentsIntoSubLayerMenu();
|
67
|
+
}
|
68
|
+
}
|
69
|
+
getSubLayerBackButton() {
|
70
|
+
const sublayerBackButton = this.el.shadowRoot.querySelector('.sub__layer-back-button');
|
71
|
+
return sublayerBackButton;
|
72
|
+
}
|
73
|
+
async toggleFirstLayerItem(actionOne, actionTwo) {
|
74
|
+
const navbarItem = this.getNavBarItem();
|
75
|
+
const secondLayerMenu = this.getSubLayerMenu();
|
76
|
+
const subLayerBackButton = this.getSubLayerBackButton();
|
77
|
+
this.handleClassList(subLayerBackButton, [actionOne], 'show');
|
78
|
+
this.handleClassList(navbarItem, [actionTwo], 'hide');
|
79
|
+
this.handleClassList(secondLayerMenu, [actionTwo], 'remove__margin');
|
80
|
+
}
|
81
|
+
openSubLayerMenu() {
|
82
|
+
if (this.hasChildNavItems) {
|
83
|
+
const subLayerBackButton = this.getSubLayerBackButton();
|
84
|
+
const rightArrowIcon = this.getRightArrowIcon();
|
85
|
+
const navbarItem = this.getNavBarItem();
|
86
|
+
const subLayerMenu = this.getSubLayerMenu();
|
87
|
+
const slotName = this.el.getAttribute('slot');
|
88
|
+
this.handleClassList(subLayerBackButton, 'add', 'show');
|
89
|
+
this.handleClassList(rightArrowIcon, 'add', 'hide');
|
90
|
+
this.handleClassList(navbarItem, 'add', 'layer__item-parent');
|
91
|
+
this.handleClassList(subLayerMenu, 'add', 'open');
|
92
|
+
if (slotName.toLowerCase() === 'second__layer') {
|
93
|
+
this.ifxNavItem.emit({ component: this.el, parent: this.el.parentElement, action: 'hideSecondLayer' });
|
94
|
+
this.handleClassList(navbarItem, 'remove', 'menuItem');
|
95
|
+
}
|
96
|
+
else {
|
97
|
+
this.ifxNavItem.emit({ component: this.el, action: 'hideFirstLayer' });
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
async addMenuItemClass() {
|
102
|
+
const navbarItem = this.getNavBarItem();
|
103
|
+
this.handleClassList(navbarItem, 'add', 'menuItem');
|
104
|
+
const rightArrowIcon = this.getRightArrowIcon();
|
105
|
+
if (this.hasChildNavItems) {
|
106
|
+
this.handleClassList(rightArrowIcon, 'remove', 'hide');
|
107
|
+
}
|
108
|
+
}
|
109
|
+
async moveChildComponentsBackIntoNavbar() {
|
110
|
+
const subLayerBackButton = this.getSubLayerBackButton();
|
111
|
+
const navbarItem = this.getNavBarItem();
|
112
|
+
const secondLayerMenu = this.getSubLayerMenu();
|
113
|
+
this.handleClassList(subLayerBackButton, 'remove', 'show');
|
114
|
+
this.handleClassList(navbarItem, 'remove', 'layer__item-parent');
|
115
|
+
this.handleClassList(secondLayerMenu, 'remove', 'remove__margin');
|
116
|
+
this.ifxNavItem.emit({ component: this.el, action: 'show' });
|
117
|
+
const navItems = this.el.querySelectorAll('[slot="second__layer"]');
|
118
|
+
this.isSidebarMenuItem = false;
|
119
|
+
this.showComponent();
|
120
|
+
this.handleClassList(navbarItem, 'remove', 'hide');
|
121
|
+
for (let i = 0; i < navItems.length; i++) {
|
122
|
+
navItems[i].setAttribute('slot', 'first__layer');
|
123
|
+
navItems[i].moveChildComponentsBackIntoNavbar();
|
124
|
+
navItems[i].addMenuItemClass();
|
125
|
+
navItems[i].returnToFirstLayer();
|
126
|
+
}
|
127
|
+
}
|
128
|
+
getRightArrowIcon() {
|
129
|
+
const menuItemRightIconWrapper = this.el.shadowRoot.querySelector('.menuItemRightIconWrapper');
|
130
|
+
return menuItemRightIconWrapper;
|
131
|
+
}
|
132
|
+
getChevronDownIconWrapper() {
|
133
|
+
const arrowIcon = this.el.shadowRoot.querySelector('.navItemIconWrapper');
|
134
|
+
return arrowIcon;
|
135
|
+
}
|
136
|
+
async returnToFirstLayer() {
|
137
|
+
const subLayerBackButton = this.getSubLayerBackButton();
|
138
|
+
const navbarItem = this.getNavBarItem();
|
139
|
+
const rightArrowIcon = this.getRightArrowIcon();
|
140
|
+
const subLayerMenu = this.getSubLayerMenu();
|
141
|
+
const slotName = this.el.getAttribute('slot');
|
142
|
+
this.handleClassList(subLayerBackButton, 'remove', 'show');
|
143
|
+
this.handleClassList(navbarItem, 'remove', 'layer__item-parent');
|
144
|
+
this.handleClassList(subLayerMenu, 'remove', 'open');
|
145
|
+
if (this.hasChildNavItems) {
|
146
|
+
this.handleClassList(rightArrowIcon, 'remove', 'hide');
|
147
|
+
}
|
148
|
+
if (slotName.toLowerCase() === 'second__layer') {
|
149
|
+
this.ifxNavItem.emit({ component: this.el, parent: this.el.parentElement, action: 'returnToSecondLayer' });
|
150
|
+
this.handleClassList(navbarItem, 'add', 'menuItem');
|
151
|
+
}
|
152
|
+
else {
|
153
|
+
this.ifxNavItem.emit({ component: this.el, action: 'return' });
|
154
|
+
}
|
155
|
+
}
|
156
|
+
componentWillLoad() {
|
157
|
+
this.setHref();
|
158
|
+
this.checkIfItemIsNested();
|
159
|
+
this.checkIfItemHasChildren();
|
160
|
+
this.removeEmptyItem();
|
161
|
+
}
|
162
|
+
componentDidLoad() {
|
163
|
+
this.handleItemGap();
|
164
|
+
this.handleLabelWrapper();
|
165
|
+
if (this.hasChildNavItems) {
|
166
|
+
const navItems = this.getNavbarItems();
|
167
|
+
this.relocateItemsToFirstlayer(navItems);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
componentDidUpdate() {
|
171
|
+
const navbarItem = this.getNavBarItem();
|
172
|
+
const isLayerItemParent = this.handleClassList(navbarItem, 'contains', 'layer__item-parent');
|
173
|
+
if (this.isSidebarMenuItem && isLayerItemParent) {
|
174
|
+
const rightArrowIcon = this.getRightArrowIcon();
|
175
|
+
this.handleClassList(rightArrowIcon, 'add', 'hide');
|
176
|
+
}
|
177
|
+
}
|
178
|
+
async setMenuItemPosition() {
|
179
|
+
if (this.isMenuItem && this.hasChildNavItems) {
|
180
|
+
const menuPosition = this.getItemMenuPosition();
|
181
|
+
if (menuPosition === 'left') {
|
182
|
+
this.itemPosition = 'left';
|
183
|
+
}
|
184
|
+
else if (menuPosition === 'right') {
|
185
|
+
this.itemPosition = 'right';
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
handleClassList(el, type, className) {
|
190
|
+
el.classList[type](className);
|
191
|
+
if (type === 'contains') {
|
192
|
+
return el.classList.contains(className);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
getNavbarItems() {
|
196
|
+
const navItems = this.el.querySelectorAll('ifx-navbar-item');
|
197
|
+
return navItems;
|
198
|
+
}
|
199
|
+
getNavBarItem() {
|
200
|
+
const navItem = this.el.shadowRoot.querySelector('.navbar__item');
|
201
|
+
return navItem;
|
202
|
+
}
|
203
|
+
getSubLayerMenu() {
|
204
|
+
const subLayerMenu = this.el.shadowRoot.querySelector('.sub__layer-menu');
|
205
|
+
return subLayerMenu;
|
206
|
+
}
|
207
|
+
relocateItemsToFirstlayer(navItems) {
|
208
|
+
navItems.forEach(item => {
|
209
|
+
item.setAttribute('slot', 'first__layer');
|
210
|
+
});
|
211
|
+
}
|
212
|
+
setHref() {
|
213
|
+
if (this.href.toLowerCase().trim() === "") {
|
214
|
+
this.internalHref = undefined;
|
215
|
+
}
|
216
|
+
else
|
217
|
+
this.internalHref = this.href;
|
218
|
+
}
|
219
|
+
checkIfItemIsNested() {
|
220
|
+
const parentElement = this.el.parentElement;
|
221
|
+
if (parentElement.tagName.toUpperCase() === 'IFX-NAVBAR-ITEM'
|
222
|
+
|| parentElement.tagName.toUpperCase() === 'IFX-NAVBAR-PROFILE') {
|
223
|
+
this.isMenuItem = true;
|
224
|
+
return;
|
225
|
+
}
|
226
|
+
else {
|
227
|
+
this.isMenuItem = false;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
checkIfItemHasChildren() {
|
231
|
+
const sidebarItems = this.getNavbarItems();
|
232
|
+
if (sidebarItems.length !== 0) {
|
233
|
+
this.hasChildNavItems = true;
|
234
|
+
}
|
235
|
+
else {
|
236
|
+
this.hasChildNavItems = false;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
async setItemSideSpecifications() {
|
240
|
+
const menuItem = this.el;
|
241
|
+
const itemMenu = this.getItemMenu();
|
242
|
+
const slotValue = menuItem.getAttribute('slot');
|
243
|
+
if (slotValue.toLowerCase().trim() === "right-item") {
|
244
|
+
this.handleClassList(itemMenu, 'add', 'rightSideItemMenu');
|
245
|
+
}
|
246
|
+
return true;
|
247
|
+
}
|
248
|
+
getItemMenu() {
|
249
|
+
const menu = this.el.shadowRoot.querySelector('.navbar-menu');
|
250
|
+
return menu;
|
251
|
+
}
|
252
|
+
closeItemMenu() {
|
253
|
+
const itemMenu = this.getItemMenu();
|
254
|
+
const menuItem = this.getNavBarItem();
|
255
|
+
if (itemMenu) {
|
256
|
+
this.handleClassList(itemMenu, 'remove', 'open');
|
257
|
+
this.handleClassList(menuItem, 'remove', 'open');
|
258
|
+
}
|
259
|
+
}
|
260
|
+
getItemMenuPosition() {
|
261
|
+
let parentElement = this.el;
|
262
|
+
while (parentElement) {
|
263
|
+
if (parentElement.tagName === 'IFX-NAVBAR-PROFILE' || parentElement.slot === 'right-item') {
|
264
|
+
return 'left';
|
265
|
+
}
|
266
|
+
parentElement = parentElement.parentElement || parentElement.getRootNode().host;
|
267
|
+
}
|
268
|
+
return 'right';
|
269
|
+
}
|
270
|
+
toggleItemMenu() {
|
271
|
+
const slotName = this.el.getAttribute('slot');
|
272
|
+
if (slotName.toLowerCase() === 'mobile-menu-top' || slotName.toLowerCase() === 'second__layer') {
|
273
|
+
this.openSubLayerMenu();
|
274
|
+
}
|
275
|
+
if (!this.internalHref && slotName.toLowerCase() !== 'mobile-menu-top' && slotName.toLowerCase() !== 'second__layer') {
|
276
|
+
const itemMenu = this.getItemMenu();
|
277
|
+
if (this.hasChildNavItems) {
|
278
|
+
const menuItem = this.getNavBarItem();
|
279
|
+
this.handleClassList(itemMenu, 'toggle', 'open');
|
280
|
+
this.handleClassList(menuItem, 'toggle', 'open');
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
handleNestedLayerMenu(e) {
|
285
|
+
if (this.isMenuItem && this.hasChildNavItems && !this.isSidebarMenuItem) {
|
286
|
+
const itemMenu = this.getItemMenu();
|
287
|
+
const menuPosition = this.getItemMenuPosition();
|
288
|
+
if (e.type.toUpperCase() === 'MOUSEENTER') {
|
289
|
+
this.handleClassList(itemMenu, 'add', 'open');
|
290
|
+
if (menuPosition === 'left') {
|
291
|
+
this.handleClassList(itemMenu, 'add', 'left');
|
292
|
+
}
|
293
|
+
else if (menuPosition === 'right') {
|
294
|
+
this.handleClassList(itemMenu, 'add', 'right');
|
295
|
+
}
|
296
|
+
}
|
297
|
+
if (e.type.toUpperCase() === 'MOUSELEAVE') {
|
298
|
+
this.handleClassList(itemMenu, 'remove', 'open');
|
299
|
+
if (menuPosition === 'left') {
|
300
|
+
this.handleClassList(itemMenu, 'remove', 'left');
|
301
|
+
}
|
302
|
+
else if (menuPosition === 'right') {
|
303
|
+
this.handleClassList(itemMenu, 'remove', 'right');
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
handleLabelWrapper() {
|
309
|
+
const labelWrapper = this.el.shadowRoot.querySelector('.label__wrapper');
|
310
|
+
const navItem = this.getNavBarItem();
|
311
|
+
const slot = labelWrapper.querySelector('slot');
|
312
|
+
if (!slot.assignedNodes().length) {
|
313
|
+
navItem.classList.add('removeLabel');
|
314
|
+
}
|
315
|
+
else if (this.showLabel && navItem.classList.contains('removeLabel')) {
|
316
|
+
navItem.classList.remove('removeLabel');
|
317
|
+
}
|
318
|
+
}
|
319
|
+
handleItemGap() {
|
320
|
+
const innerContentWrapper = this.el.shadowRoot.querySelector('.navbar__item');
|
321
|
+
const numberIndicatorWrapper = innerContentWrapper.querySelector('.navbar__container-right-content-navigation-item-icon-wrapper');
|
322
|
+
if (this.numberIndicator || this.dotIndicator) {
|
323
|
+
this.handleClassList(numberIndicatorWrapper, 'add', 'no-gap');
|
324
|
+
}
|
325
|
+
else {
|
326
|
+
this.handleClassList(numberIndicatorWrapper, 'remove', 'no-gap');
|
327
|
+
}
|
328
|
+
}
|
329
|
+
removeEmptyItem() {
|
330
|
+
const hostElement = this.el.shadowRoot.host;
|
331
|
+
if (!this.showLabel && !this.icon) {
|
332
|
+
this.handleClassList(hostElement, 'add', 'hidden');
|
333
|
+
}
|
334
|
+
}
|
335
|
+
render() {
|
336
|
+
return (index.h("div", { key: '98a3a5584ce6970b42c1362533aeceb82009e91b', class: "container", onMouseLeave: e => this.handleNestedLayerMenu(e), onMouseEnter: e => this.handleNestedLayerMenu(e) }, index.h("div", { key: '21eeccfc5a01721c14033b98c3ebe38522ba6ab9', class: "sub__layer-back-button" }, index.h("div", { key: '08825ed5d7c6c3a1e0dd582a7e6528b201240959', class: "back__button-wrapper", onClick: () => this.returnToFirstLayer() }, index.h("ifx-icon", { key: '5763b65a915c8bf0d554e79cae52dabe8b810986', icon: "arrow-left-16" }), index.h("span", { key: '300ddc647f93f8ef78921ba67ce12233affe3cb4' }, "Back"))), index.h("a", { key: 'dab2a111f7170f50b30de5824cdcdd471899adfc', href: this.internalHref, target: this.target, onClick: () => this.toggleItemMenu(), class: `navbar__item ${this.isSidebarMenuItem ? 'sidebarMenuItem' : ""} ${!this.showLabel ? 'removeLabel' : ""} ${this.isMenuItem ? 'menuItem' : ""} ${this.hasChildNavItems ? 'isParent' : ""}` }, index.h("div", { key: 'f2c6800d93b7607cf2952e63aa5ab34ecaae48be', class: "inner__content-wrapper" }, index.h("div", { key: 'fafd3d1472c2dfca443e655e1acd2dc697489621', class: `navbar__container-right-content-navigation-item-icon-wrapper ${!this.icon ? "removeWrapper" : ""}` }, this.icon && index.h("ifx-icon", { key: '6f00f8d13482ab9ecd74db4de66f4367abcd255e', icon: this.icon }), this.icon && !this.showLabel && !isNaN(this.numberIndicator) &&
|
337
|
+
index.h("div", { key: 'f0d7d1be990c6583be95b5d65569381c85195bff', class: "number__indicator-wrapper" }, index.h("ifx-number-indicator", { key: 'd0139e514dadeefdc09f2ace9ba1bc754a42ecfc' }, this.numberIndicator)), this.icon && !this.showLabel && !this.numberIndicator && this.dotIndicator &&
|
338
|
+
index.h("div", { key: '1d616918f156bc28a91c9e734b04df5facc45ee8', class: "dot__indicator-wrapper" })), this.itemPosition === 'left'
|
339
|
+
&& this.hasChildNavItems
|
340
|
+
&& this.isMenuItem &&
|
341
|
+
index.h("div", { key: 'c23a19ba3b2b6fe3c5eb79a3a004c0d0107d682b', class: "menuItemLeftIconWrapper" }, index.h("ifx-icon", { key: '373e318e386e976213fbd9592a37b7afa7488d7b', icon: "chevron-left-12" })), index.h("span", { key: 'a4463d2ee853ca5731b276f14c9e6cbe3b7f8108', class: "label__wrapper" }, index.h("slot", { key: 'd682377d8e98e612bf2597e4b749c0ff18b10774' }))), this.showLabel && this.numberIndicator && !isNaN(this.numberIndicator) ?
|
342
|
+
index.h("div", { class: "number__indicator-wrapper" }, index.h("ifx-number-indicator", null, this.numberIndicator)) : "", this.showLabel && !this.numberIndicator && this.dotIndicator ?
|
343
|
+
index.h("div", { class: "dot__indicator-wrapper" }) : "", index.h("div", { key: '0dade0d6eb4062bd0e31804ff501a93711dccd43', class: `navItemIconWrapper ${this.hasChildNavItems && !this.isMenuItem && !this.isSidebarMenuItem ? '' : "hide"}` }, index.h("ifx-icon", { key: '8ec6bff717321e37a8e36ae8623f9d9cd5506ed0', icon: "chevron-down-12" })), index.h("div", { key: '6d75cd61b28fa198e55436d0b783725943c5d314', class: `menuItemRightIconWrapper ${((this.itemPosition === 'right' && this.hasChildNavItems && this.isMenuItem) || (this.isSidebarMenuItem && this.hasChildNavItems)) ? '' : "hide"}` }, index.h("ifx-icon", { key: '26c1d540a395b96c4d699bb050065f7e104d263b', icon: "chevron-right-12" }))), this.hasChildNavItems && !this.isSidebarMenuItem && index.h("ul", { key: '35c6a68f085200d3b1c3da2d994448b87201d7f9', class: 'navbar-menu' }, " ", index.h("slot", { key: 'a7fff45b205883f0a7e83a1d2b98f52e40e3caa0', name: "first__layer" }), " "), this.isSidebarMenuItem && index.h("ul", { key: '1af92bb3811e89b576b7794e214d750bb7e340c2', class: 'sub__layer-menu' }, " ", index.h("slot", { key: '629fb9090d0382885b248ed1b98a260b969e3b43', name: "second__layer" }), " ")));
|
344
|
+
}
|
345
|
+
get el() { return index.getElement(this); }
|
346
|
+
};
|
347
|
+
NavbarItem.style = IfxNavbarItemStyle0;
|
348
|
+
|
349
|
+
exports.ifx_navbar_item = NavbarItem;
|
350
|
+
|
351
|
+
//# sourceMappingURL=ifx-navbar-item.cjs.entry.js.map
|