@infineon/infineon-design-system-stencil 32.3.1--canary.1737.a3128b038cfc8e0e9120047c702b6a062a414c98.0 → 32.3.1--canary.1745.17b5fed52c992d3b92f301283d48e7c02c420ede.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-checkbox.cjs.entry.js +11 -25
- package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +1 -1
- package/dist/cjs/ifx-download.cjs.entry.js +24 -0
- package/dist/cjs/ifx-download.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown.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-footer-column.cjs.entry.js +1 -1
- package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
- package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
- package/dist/cjs/ifx-link.cjs.entry.js +1 -1
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-modal.cjs.entry.js +2 -2
- package/dist/cjs/ifx-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js +3 -3
- package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
- package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
- package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
- 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-1ce5aae1.js +4 -0
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkbox/checkbox.js +11 -25
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/download/download.css +0 -0
- package/dist/collection/components/download/download.js +47 -0
- package/dist/collection/components/download/download.js.map +1 -0
- package/dist/collection/components/download/download.stories.js +8 -0
- package/dist/collection/components/download/download.stories.js.map +1 -0
- package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js +2 -2
- package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/footer/footer-column.js +1 -1
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/icon/infineonIconStencil.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icons-preview/icons-preview.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/navigation/navbar/navbar-item.js +2 -2
- package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
- package/dist/collection/components/navigation/navbar/navbar.js +3 -3
- 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-accordion-item.js +1 -1
- package/dist/components/ifx-alert.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-breadcrumb-item-label.js +1 -1
- package/dist/components/ifx-checkbox-group.js +1 -1
- package/dist/components/ifx-checkbox.js +1 -1
- package/dist/components/ifx-chip-item.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-date-picker.js +1 -1
- package/dist/components/ifx-download.d.ts +11 -0
- package/dist/components/ifx-download.js +40 -0
- package/dist/components/ifx-download.js.map +1 -0
- package/dist/components/ifx-dropdown-header.js +1 -1
- package/dist/components/ifx-dropdown-item.js +2 -2
- package/dist/components/ifx-dropdown-menu.js +2 -2
- package/dist/components/ifx-dropdown-separator.js +1 -1
- package/dist/components/ifx-dropdown-trigger-button.js +3 -3
- package/dist/components/ifx-dropdown-trigger.js +1 -1
- package/dist/components/ifx-dropdown.js +1 -1
- package/dist/components/ifx-faq.js +3 -3
- package/dist/components/ifx-filter-accordion.js +4 -4
- package/dist/components/ifx-filter-bar.js +2 -2
- package/dist/components/ifx-filter-search.js +3 -3
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-footer-column.js +1 -1
- package/dist/components/ifx-footer.js +4 -4
- package/dist/components/ifx-icon-button.js +1 -1
- package/dist/components/ifx-icon.js +1 -1
- package/dist/components/ifx-icons-preview.js +4 -4
- package/dist/components/ifx-link.js +1 -1
- package/dist/components/ifx-list-entry.js +4 -4
- package/dist/components/ifx-list.js +2 -2
- package/dist/components/ifx-modal.js +4 -4
- package/dist/components/ifx-multiselect.js +1 -1
- package/dist/components/ifx-navbar-item.js +3 -3
- package/dist/components/ifx-navbar-profile.js +3 -3
- package/dist/components/ifx-navbar.js +4 -4
- package/dist/components/ifx-notification.js +1 -1
- package/dist/components/ifx-number-indicator.js +1 -1
- package/dist/components/ifx-overview-table.js +4 -4
- 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 +2 -2
- package/dist/components/ifx-radio-button.js +1 -1
- package/dist/components/ifx-search-bar.js +3 -3
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +2 -2
- package/dist/components/ifx-segmented-control.js +3 -3
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +6 -6
- package/dist/components/ifx-sidebar-item.js +7 -7
- package/dist/components/ifx-sidebar-title.js +1 -1
- package/dist/components/ifx-sidebar.js +5 -5
- package/dist/components/ifx-slider.js +3 -3
- package/dist/components/ifx-spinner.js +1 -1
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +5 -5
- 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 +10 -10
- package/dist/components/ifx-tabs.js +3 -3
- package/dist/components/ifx-tag.js +2 -2
- package/dist/components/ifx-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +8 -8
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +1 -1
- package/dist/components/ifx-tooltip.js +5 -5
- package/dist/components/{p-efb9a50a.js → p-007e8e8a.js} +3 -3
- package/dist/components/{p-efb9a50a.js.map → p-007e8e8a.js.map} +1 -1
- package/dist/components/{p-5f01ab1d.js → p-11a4b45e.js} +3 -3
- package/dist/components/{p-5f01ab1d.js.map → p-11a4b45e.js.map} +1 -1
- package/dist/components/{p-6925a52c.js → p-160033dc.js} +2 -2
- package/dist/components/{p-6925a52c.js.map → p-160033dc.js.map} +1 -1
- package/dist/components/{p-4cd3a589.js → p-2424d547.js} +2 -2
- package/dist/components/{p-4cd3a589.js.map → p-2424d547.js.map} +1 -1
- package/dist/components/{p-b59e5493.js → p-2c4a9546.js} +5 -5
- package/dist/components/{p-b59e5493.js.map → p-2c4a9546.js.map} +1 -1
- package/dist/components/{p-191e58c6.js → p-2f29e88e.js} +13 -27
- package/dist/components/p-2f29e88e.js.map +1 -0
- package/dist/components/{p-ec51e955.js → p-2fc4d89e.js} +2 -2
- package/dist/components/{p-ec51e955.js.map → p-2fc4d89e.js.map} +1 -1
- package/dist/components/{p-b73ca128.js → p-3319980f.js} +4 -4
- package/dist/components/{p-b73ca128.js.map → p-3319980f.js.map} +1 -1
- package/dist/components/{p-bf0b6855.js → p-48982e27.js} +6 -6
- package/dist/components/{p-bf0b6855.js.map → p-48982e27.js.map} +1 -1
- package/dist/components/{p-6758b716.js → p-5c6c8db1.js} +3 -3
- package/dist/components/{p-6758b716.js.map → p-5c6c8db1.js.map} +1 -1
- package/dist/components/{p-5add608d.js → p-6ad0aace.js} +3 -3
- package/dist/components/{p-5add608d.js.map → p-6ad0aace.js.map} +1 -1
- package/dist/components/{p-c24216e7.js → p-6f140151.js} +6 -6
- package/dist/components/{p-c24216e7.js.map → p-6f140151.js.map} +1 -1
- package/dist/components/{p-fd590059.js → p-81b56546.js} +3 -3
- package/dist/components/{p-fd590059.js.map → p-81b56546.js.map} +1 -1
- package/dist/components/{p-b3918f07.js → p-93d53622.js} +5 -5
- package/dist/components/{p-b3918f07.js.map → p-93d53622.js.map} +1 -1
- package/dist/components/{p-5fe24279.js → p-aec5b8b0.js} +2 -2
- package/dist/components/{p-5fe24279.js.map → p-aec5b8b0.js.map} +1 -1
- package/dist/components/{p-be22dd11.js → p-b2a7942c.js} +2 -2
- package/dist/components/{p-be22dd11.js.map → p-b2a7942c.js.map} +1 -1
- package/dist/components/{p-5443f055.js → p-b6e5ec90.js} +4 -4
- package/dist/components/{p-5443f055.js.map → p-b6e5ec90.js.map} +1 -1
- package/dist/components/{p-dbf6be15.js → p-cb77fa81.js} +2 -2
- package/dist/components/{p-dbf6be15.js.map → p-cb77fa81.js.map} +1 -1
- package/dist/components/{p-e3b1b73d.js → p-ccbaa65b.js} +3 -3
- package/dist/components/{p-e3b1b73d.js.map → p-ccbaa65b.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-checkbox.entry.js +11 -25
- package/dist/esm/ifx-checkbox.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +1 -1
- package/dist/esm/ifx-download.entry.js +20 -0
- package/dist/esm/ifx-download.entry.js.map +1 -0
- package/dist/esm/ifx-dropdown-header.entry.js +1 -1
- package/dist/esm/ifx-dropdown-item.entry.js +1 -1
- package/dist/esm/ifx-dropdown-menu.entry.js +2 -2
- package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
- package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
- package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
- package/dist/esm/ifx-dropdown.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-footer-column.entry.js +1 -1
- package/dist/esm/ifx-footer.entry.js +4 -4
- package/dist/esm/ifx-icon-button.entry.js +1 -1
- package/dist/esm/ifx-icon.entry.js +1 -1
- package/dist/esm/ifx-icons-preview.entry.js +1 -1
- package/dist/esm/ifx-link.entry.js +1 -1
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-modal.entry.js +2 -2
- package/dist/esm/ifx-navbar-item.entry.js +2 -2
- package/dist/esm/ifx-navbar-profile.entry.js +3 -3
- package/dist/esm/ifx-navbar.entry.js +3 -3
- package/dist/esm/ifx-notification.entry.js +2 -2
- package/dist/esm/ifx-number-indicator.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/ifx-search-field.entry.js +1 -1
- 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-b4eaf00e.js +4 -0
- 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-73b7e3a5.entry.js → p-0172d52c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-0f933cad.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-0f933cad.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js → p-173d334e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6cf93534.entry.js → p-1d9cde1e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0682ec9e.entry.js → p-20c6ebbe.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js → p-2434844c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js → p-27f9f57a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js → p-2b332395.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-137b4109.entry.js → p-2c5cf039.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js → p-2e1122b1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-40466219.entry.js → p-31327cc0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js → p-3225f423.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fd866344.entry.js → p-3251543c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1d4fc278.entry.js → p-32e42994.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js → p-36b89598.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cc859294.entry.js → p-374f7549.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-62396204.entry.js → p-381d261c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-188274f9.entry.js → p-41a68087.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ece5ec08.entry.js → p-46a67cee.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-61840c5e.entry.js → p-4701832b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-61840c5e.entry.js.map → p-4701832b.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-757132ca.entry.js → p-4ad9e31e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a2616b8d.entry.js → p-4b7531d2.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-58bf8eae.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-484ab7c4.entry.js → p-5b5df125.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2c83ff9d.entry.js → p-5b6b99bd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-5e8c7036.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-9bc3708f.entry.js → p-69d265c4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-42103a85.entry.js → p-6f917b70.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js → p-709ebcde.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8a92bb07.entry.js → p-775ad1fa.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-44c3ef6d.entry.js → p-8068fe6a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6ede583b.entry.js → p-863af8d4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ce37b499.entry.js → p-92244c2f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9631e187.entry.js → p-96ccf127.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-9a4c7de1.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js → p-9ecd2470.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js → p-a837717e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-48701f83.entry.js → p-a9c98bbd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ebef8ea8.entry.js → p-ad20e38b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-daa1ac45.entry.js → p-ad6e2162.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b4982f52.entry.js → p-b9a0ef12.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-bc29c491.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-bb2885be.entry.js → p-c0cf5750.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-c36cf885.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js → p-c535f8a6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0ed489eb.entry.js → p-cb6b37c9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e69d348c.entry.js → p-cc7037cd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-86b0dcad.entry.js → p-ced64779.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-e05ec79e.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-c70eddd7.entry.js → p-e399449a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7a2688a5.entry.js → p-e87fc26f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-f6d60cd4.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-a8fdba36.entry.js → p-f9d49250.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7721aa73.entry.js → p-fa05babc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e58a1c25.entry.js → p-fbb87f8f.entry.js} +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/download/download.d.ts +4 -0
- package/dist/types/components/download/download.stories.d.ts +7 -0
- package/dist/types/components.d.ts +15 -0
- package/package.json +1 -1
- package/dist/components/p-191e58c6.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-1b5ebeef.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-52c46b22.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-71b5d16a.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-778a65ae.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-88a3c2e8.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-8edfc4d5.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bfd26211.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-73b7e3a5.entry.js.map → p-0172d52c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js.map → p-173d334e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6cf93534.entry.js.map → p-1d9cde1e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0682ec9e.entry.js.map → p-20c6ebbe.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js.map → p-2434844c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js.map → p-27f9f57a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js.map → p-2b332395.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-137b4109.entry.js.map → p-2c5cf039.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js.map → p-2e1122b1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-40466219.entry.js.map → p-31327cc0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js.map → p-3225f423.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fd866344.entry.js.map → p-3251543c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1d4fc278.entry.js.map → p-32e42994.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js.map → p-36b89598.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cc859294.entry.js.map → p-374f7549.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-62396204.entry.js.map → p-381d261c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-188274f9.entry.js.map → p-41a68087.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ece5ec08.entry.js.map → p-46a67cee.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-757132ca.entry.js.map → p-4ad9e31e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a2616b8d.entry.js.map → p-4b7531d2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-778a65ae.entry.js.map → p-58bf8eae.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-484ab7c4.entry.js.map → p-5b5df125.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2c83ff9d.entry.js.map → p-5b6b99bd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8edfc4d5.entry.js.map → p-5e8c7036.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9bc3708f.entry.js.map → p-69d265c4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-42103a85.entry.js.map → p-6f917b70.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js.map → p-709ebcde.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8a92bb07.entry.js.map → p-775ad1fa.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-44c3ef6d.entry.js.map → p-8068fe6a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6ede583b.entry.js.map → p-863af8d4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ce37b499.entry.js.map → p-92244c2f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9631e187.entry.js.map → p-96ccf127.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bfd26211.entry.js.map → p-9a4c7de1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js.map → p-9ecd2470.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js.map → p-a837717e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-48701f83.entry.js.map → p-a9c98bbd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ebef8ea8.entry.js.map → p-ad20e38b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-daa1ac45.entry.js.map → p-ad6e2162.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b4982f52.entry.js.map → p-b9a0ef12.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-71b5d16a.entry.js.map → p-bc29c491.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb2885be.entry.js.map → p-c0cf5750.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1b5ebeef.entry.js.map → p-c36cf885.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js.map → p-c535f8a6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0ed489eb.entry.js.map → p-cb6b37c9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e69d348c.entry.js.map → p-cc7037cd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-86b0dcad.entry.js.map → p-ced64779.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-88a3c2e8.entry.js.map → p-e05ec79e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c70eddd7.entry.js.map → p-e399449a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7a2688a5.entry.js.map → p-e87fc26f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-52c46b22.entry.js.map → p-f6d60cd4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a8fdba36.entry.js.map → p-f9d49250.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7721aa73.entry.js.map → p-fa05babc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e58a1c25.entry.js.map → p-fbb87f8f.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
|
|
1
|
+
import{r,h as s}from"./p-c808c7d2.js";const o=":host{display:inline-block;cursor:pointer}";const t=o;const e=class{constructor(s){r(this,s);this.isOpen=false}render(){return s("slot",{key:"89bd5e8f427fea2329e032469132190fd71acd54"})}};e.style=t;export{e as ifx_dropdown_trigger};
|
2
|
+
//# sourceMappingURL=p-e05ec79e.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as a,c as
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as a,c as r,h as e,g as s}from"./p-c808c7d2.js";const i=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}';const t=i;const h=class{constructor(e){a(this,e);this.ifxInput=r(this,"ifxInput",7);this.ifxOpen=r(this,"ifxOpen",7);this.isOpen=true;this.disabled=false;this.handleCloseButton=()=>{this.internalState=!this.internalState;this.ifxOpen.emit(this.internalState)};this.handleFocus=()=>{this.internalState=true}}async onNavbarMobile(){this.ifxOpen.emit(false);this.internalState=false}handlePropChange(){this.internalState=this.isOpen}setInitialState(){this.internalState=this.isOpen}componentWillLoad(){this.setInitialState();this.ifxOpen.emit(this.internalState)}handleInput(a){this.value=a.detail}render(){return e("div",{key:"15b0a35d009af8564ce4f7f529b093aff5749061","aria-label":"a search bar","aria-disabled":this.disabled,class:`search-bar ${this.internalState?"open":"closed"}`},this.internalState?e("div",{class:"search-bar-wrapper"},e("ifx-search-field",{disabled:this.disabled,value:this.value,maxlength:this.maxlength,onIfxInput:this.handleInput.bind(this)},e("ifx-icon",{icon:"search-16",slot:"search-icon"})),e("a",{tabindex:"-1",href:"javascript:void(0)",onClick:this.handleCloseButton},"Close")):e("div",{class:"search-bar__icon-wrapper",onClick:this.handleCloseButton},e("ifx-icon",{icon:"search-16"})))}get el(){return s(this)}static get watchers(){return{isOpen:["handlePropChange"]}}};h.style=t;export{h as ifx_search_bar};
|
2
|
+
//# sourceMappingURL=p-e399449a.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as t,h as i,g as o}from"./p-c808c7d2.js";const
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as t,h as i,g as o}from"./p-c808c7d2.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font:400 0.75rem/1rem "Source Sans 3";margin-bottom:8px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption{margin-top:8px;align-self:flex-start;display:flex;width:100%;column-gap:8px;justify-content:space-between;align-items:center}.caption.default{color:#1D1D1D}.caption.error{color:#CD002F}.caption-text{font:400 0.75rem/1rem "Source Sans 3";flex:1;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption-icon{flex:0;display:flex}';const n=a;const e=class{constructor(i){t(this,i);this.errorStates=new Map;this.alignment="vertical";this.groupLabelText="Group Label Text";this.hasErrors=false;this.handleSlotChange=()=>{this.initializeState()}}handleRadioButtonError(t){const i=t.target;if(i.tagName==="ifx-radio-button"){this.errorStates.set(i,t.detail);this.updateHasErrors()}}async setGroupError(t){const i=Array.from(this.el.querySelectorAll("ifx-radio-button"));i.forEach((i=>{i.error=t}))}componentWillLoad(){this.initializeState()}initializeState(){this.errorStates.clear();const t=Array.from(this.el.querySelectorAll("ifx-radio-button"));t.forEach((t=>{if(!this.errorStates.has(t)){this.errorStates.set(t,t.error||false)}}));this.updateHasErrors()}updateHasErrors(){this.hasErrors=Array.from(this.errorStates.values()).some((t=>t))}render(){return i("div",{key:"8316d55cd2188e39adc39b4ae2cff2a6a00645d7",class:"radio-button-group-container"},this.showGroupLabel?i("div",{class:"group-label"},this.groupLabelText," *"):"",i("div",{key:"2d173aa92a70454f51e5cc51832a6c6dee190bca",class:`radio-button-group ${this.alignment} ${this.size}`},i("slot",{key:"5d0743555c2c7f8575bdfde588b8e60fa705103c",onSlotchange:this.handleSlotChange})),this.showCaption?i("div",{class:`caption ${this.hasErrors?"error":"default"}`},this.showCaptionIcon?i("div",{class:"caption-icon"},i("ifx-icon",{icon:"c-info-16"})):"",i("div",{class:"caption-text"},this.captionText)):"")}static get formAssociated(){return true}get el(){return o(this)}};e.style=n;export{e as ifx_radio_button_group};
|
2
|
+
//# sourceMappingURL=p-e87fc26f.entry.js.map
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{r,h as o}from"./p-c808c7d2.js";const s=".dropdown-separator{height:1px;background-color:#EEEDED;margin:8px 16px}";const a=s;const c=class{constructor(o){r(this,o)}render(){return o("div",{key:"4909b1b593f932f2a9492f06f699731c69d6dc0a",class:"dropdown-separator"})}};c.style=a;export{c as ifx_dropdown_separator};
|
2
|
+
//# sourceMappingURL=p-f6d60cd4.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as e,c as i,h as s}from"./p-c808c7d2.js";import{c as r}from"./p-5cdc6210.js";const
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as e,c as i,h as s}from"./p-c808c7d2.js";import{c as r}from"./p-5cdc6210.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.search-field{box-sizing:border-box;background-color:#FFFFFF;width:100%;font-family:var(--ifx-font-family)}.search-field .search-field__wrapper{box-sizing:border-box;height:40px;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;padding:8px 16px;gap:12px;flex:none;order:0;align-self:stretch;flex-grow:0;position:relative;width:100%;outline:none;color:#8D8786}.search-field .search-field__wrapper.focused{border:1px solid #0A8276}.search-field .search-field__wrapper.focused ifx-icon{color:#575352}.search-field .search-field__wrapper.search-field__wrapper-s{height:36px}.search-field .search-field__wrapper:hover:not(.focused,:focus){border:1px solid #3C3A39}.search-field .search-field__wrapper:focus{outline:none;border:1px solid #0A8276}.search-field .search-field__wrapper .delete-icon{right:12px;cursor:pointer}.search-field .search-field__wrapper input[type=text]{font-style:normal;font-weight:400;font-size:16px;color:#8D8786;border:none;width:100%;outline:none;height:16px}.search-field .search-field__wrapper input[type=text]:focus{outline:none;color:#1d1d1d}.search-field .search-field__wrapper input[type=text]:disabled{background-color:#EEEDED}.search-field .search-field__wrapper:has(input[disabled]){background-color:#EEEDED}';const t=a;const l=class{constructor(s){e(this,s);this.ifxInput=i(this,"ifxInput",7);this.value="";this.insideDropdown=false;this.showDeleteIcon=false;this.showDeleteIconInternalState=false;this.disabled=false;this.size="l";this.isFocused=false;this.placeholder="Search...";this.maxlength=null;this.handleInput=()=>{const e=this.inputElement.value;this.value=e;this.ifxInput.emit(this.value)};this.handleDelete=()=>{this.inputElement.value="";this.value="";this.ifxInput.emit(this.value)}}handleOutsideClick(e){const i=e.composedPath();if(!i.includes(this.inputElement)){this.isFocused=false}}valueWatcher(e){if(e!==this.inputElement.value){this.inputElement.value=e}}focusInput(){this.inputElement.focus();this.isFocused=true}componentWillUpdate(){if(this.value!==""){this.showDeleteIconInternalState=true}else this.showDeleteIconInternalState=false}render(){return s("div",{key:"97056685e044ef83e9da78455a25ffc2347c43b3","aria-label":"a search field for user input","aria-disabled":this.disabled,"aria-value":this.value,class:"search-field"},s("div",{key:"f7f004953a2687b6aa937d21847a43a8abfc06b9",class:this.getWrapperClassNames(),tabindex:1,onFocus:()=>this.focusInput(),onClick:()=>this.focusInput()},s("ifx-icon",{key:"49aa10a205a30704c2936bffc18dc2673dcc9ad3",icon:"search-16",class:"search-icon"}),s("input",{key:"2626ee1e512110afa75f5cb01219b874a8e0a9f1",ref:e=>this.inputElement=e,type:"text",onInput:()=>this.handleInput(),placeholder:this.placeholder,disabled:this.disabled,maxlength:this.maxlength,value:this.value}),this.showDeleteIcon&&this.showDeleteIconInternalState?s("ifx-icon",{icon:"cremove16",class:"delete-icon",onClick:this.handleDelete}):null))}getSizeClass(){return`${this.size}`==="s"?"search-field__wrapper-s":""}getWrapperClassNames(){return r(`search-field__wrapper`,`search-field__wrapper ${this.getSizeClass()}`,`${this.isFocused?"focused":""}`)}static get watchers(){return{value:["valueWatcher"]}}};l.style=t;export{l as ifx_search_field};
|
2
|
+
//# sourceMappingURL=p-f9d49250.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as i,c as e,h as t,g as o}from"./p-c808c7d2.js";const s=":host{position:relative;z-index:1000}.dropdown-menu{display:none;visibility:hidden;flex-direction:column;width:224px;max-height:289px;min-width:224px;overflow-y:auto;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)}.dropdown-menu.small{max-height:266px;max-width:186px;overflow-y:auto}.dropdown-menu.hideTopPadding{padding-top:0px}.dropdown-menu.show{display:flex;visibility:visible}";const d=s;const n=class{constructor(t){i(this,t);this.menuSize=e(this,"menuSize",7);this.ifxDropdownMenuItem=e(this,"ifxDropdownMenuItem",7);this.isOpen=false;this.size="l";this.hideTopPadding=false;this.filteredItems=[]}handleMenuFilter(i){const e=i.detail;this.filterDropdownItems(e)}handleDropdownItemValueEmission(i){this.ifxDropdownMenuItem.emit(i.detail)}filterDropdownItems(i){const e=Array.from(this.el.querySelectorAll("ifx-dropdown-item"));let t,o;let s=i.toUpperCase();for(let i=0;i<e.length;i++){t=e[i];o=t.textContent||t.innerText;if(o.toUpperCase().indexOf(s)>-1){t.setAttribute("hide",false)}else{t.setAttribute("hide",true)}}}componentWillUpdate(){this.menuSize.emit(this.size)}componentWillLoad(){this.filteredItems=Array.from(this.el.querySelectorAll("ifx-dropdown-item"));const i=this.el.querySelector("ifx-search-field");const e=this.el.querySelector("ifx-dropdown-header");if(i||e){this.hideTopPadding=true}else this.hideTopPadding=false}render(){return t("div",{key:"
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as i,c as e,h as t,g as o}from"./p-c808c7d2.js";const s=":host{position:relative;z-index:1000}.dropdown-menu{display:none;visibility:hidden;flex-direction:column;width:224px;max-height:289px;min-width:224px;overflow-y:auto;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)}.dropdown-menu.small{max-height:266px;max-width:186px;overflow-y:auto}.dropdown-menu.hideTopPadding{padding-top:0px}.dropdown-menu.show{display:flex;visibility:visible}";const d=s;const n=class{constructor(t){i(this,t);this.menuSize=e(this,"menuSize",7);this.ifxDropdownMenuItem=e(this,"ifxDropdownMenuItem",7);this.isOpen=false;this.size="l";this.hideTopPadding=false;this.filteredItems=[]}handleMenuFilter(i){const e=i.detail;this.filterDropdownItems(e)}handleDropdownItemValueEmission(i){this.ifxDropdownMenuItem.emit(i.detail)}filterDropdownItems(i){const e=Array.from(this.el.querySelectorAll("ifx-dropdown-item"));let t,o;let s=i.toUpperCase();for(let i=0;i<e.length;i++){t=e[i];o=t.textContent||t.innerText;if(o.toUpperCase().indexOf(s)>-1){t.setAttribute("hide",false)}else{t.setAttribute("hide",true)}}}componentWillUpdate(){this.menuSize.emit(this.size)}componentWillLoad(){this.filteredItems=Array.from(this.el.querySelectorAll("ifx-dropdown-item"));const i=this.el.querySelector("ifx-search-field");const e=this.el.querySelector("ifx-dropdown-header");if(i||e){this.hideTopPadding=true}else this.hideTopPadding=false}render(){return t("div",{key:"547c4475f18600340e579143237073be8e7050ac",class:`dropdown-menu \n ${this.isOpen?"show":""} \n ${this.hideTopPadding?"hideTopPadding":""}\n ${this.size==="s"?"small":""}`},t("slot",{key:"eab87d9be479a0123afb56699a86dcc7114e6fcd"}))}get el(){return o(this)}};n.style=d;export{n as ifx_dropdown_menu};
|
2
|
+
//# sourceMappingURL=p-fa05babc.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as t,h as e,c as i,g as r}from"./p-c808c7d2.js";import{c as n}from"./p-5cdc6210.js";const o=":host{display:inline-block}.spinner{position:relative;width:40px;height:40px}.spinner.s{width:24px;height:24px}.border{box-sizing:border-box;position:absolute;width:100%;height:100%;border:4px solid transparent;border-top-color:#0A8276;border-left-color:#0A8276;border-right-color:#0A8276;border-top-left-radius:1px;border-top-right-radius:1px;border-radius:50%;animation:spin 2s linear infinite}.border.inverted{border-top-color:#FFFFFF;border-left-color:#FFFFFF;border-right-color:#FFFFFF}.semiconductor{width:100%;height:100%;animation:spin 2s linear infinite}.semiconductor svg{fill:#0A8276}.semiconductor.inverted svg{fill:#FFFFFF}.semiconductor.s svg{width:24px;height:24px}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";const s=o;const a=class{constructor(e){t(this,e);this.inverted=false}render(){return e("div",{key:"
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as t,h as e,c as i,g as r}from"./p-c808c7d2.js";import{c as n}from"./p-5cdc6210.js";const o=":host{display:inline-block}.spinner{position:relative;width:40px;height:40px}.spinner.s{width:24px;height:24px}.border{box-sizing:border-box;position:absolute;width:100%;height:100%;border:4px solid transparent;border-top-color:#0A8276;border-left-color:#0A8276;border-right-color:#0A8276;border-top-left-radius:1px;border-top-right-radius:1px;border-radius:50%;animation:spin 2s linear infinite}.border.inverted{border-top-color:#FFFFFF;border-left-color:#FFFFFF;border-right-color:#FFFFFF}.semiconductor{width:100%;height:100%;animation:spin 2s linear infinite}.semiconductor svg{fill:#0A8276}.semiconductor.inverted svg{fill:#FFFFFF}.semiconductor.s svg{width:24px;height:24px}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";const s=o;const a=class{constructor(e){t(this,e);this.inverted=false}render(){return e("div",{key:"029e1fc94f4abd0fc3f938a29b37c872889ec5d9","aria-label":"spinner indicating a loading process",class:this.getClassNames()},e("div",{key:"b648bc1a06b2a92d61a75fd99a4fc0884d10b882",class:`${this.variant!=="brand"?"border":""} ${this.inverted?"inverted":""}`}),this.variant==="brand"&&e("div",{key:"f949d5f4d477d440b2ca44121e72e6d94c49b984",class:`semiconductor ${this.inverted?"inverted":""} ${this.getSizeClass()}`},e("svg",{key:"76e04a2c9290f71b4628e977087f6cce3a09bdb9",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"3927589002256e8f9e721a009864787cc61410a5",id:"spinner/conductor"},e("path",{key:"50cfe42b648991f1957ab51dc78d6cb20849048b",id:"Vector",d:"M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z"})))))}getSizeClass(){return`${this.size}`==="s"?"s":""}getClassNames(){return n("spinner",this.size&&`spinner ${this.getSizeClass()}`)}};a.style=s;const p=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.textInput__container{display:flex;flex-direction:column;align-items:flex-start;padding:0px;width:100%;flex:none;order:0;align-self:stretch;flex-grow:0;font-family:var(--ifx-font-family)}.textInput__container.disabled .textInput__top-wrapper label{color:#575352}.textInput__container.disabled .textInput__bottom-wrapper input{border:1px solid #575352;background-color:#EEEDED}.textInput__container.disabled .textInput__bottom-wrapper input::placeholder{font-size:0.875rem;color:#575352}.textInput__container .textInput__top-wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:0px;gap:4px;flex:none;order:0;align-self:stretch;flex-grow:0}.textInput__container .textInput__top-wrapper label{font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;display:flex;align-items:center;color:#1D1D1D;flex:none;order:0;flex-grow:0}.textInput__container .textInput__top-wrapper label .optional-required{margin-left:4px}.textInput__container .textInput__top-wrapper label .optional{margin-left:4px}.textInput__container .textInput__top-wrapper label .required{margin-left:4px}.textInput__container .textInput__top-wrapper label .required.error{color:#CD002F}.textInput__container .input-container{position:relative;display:flex;align-items:center;width:100%}.textInput__container .textInput__bottom-wrapper{flex-grow:1;position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:0px;gap:4px;flex:none;order:1;align-self:stretch;flex-grow:0}.textInput__container .textInput__bottom-wrapper input{width:100%;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:8px 16px;gap:8px;height:40px;background-color:#FFFFFF;color:#1D1D1D;font-family:"Source Sans 3";font-size:1rem;line-height:1.5rem;border:1px solid #8D8786;border-radius:1px;flex:none;order:0;align-self:stretch;flex-grow:0;text-overflow:ellipsis}.textInput__container .textInput__bottom-wrapper input.input-s{height:36px;font-size:0.875rem;line-height:1.25rem}.textInput__container .textInput__bottom-wrapper input.input-s::placeholder{font-size:0.875rem;line-height:1.25rem}.textInput__container .textInput__bottom-wrapper input.icon{padding-left:40px}.textInput__container .textInput__bottom-wrapper input.error{border:1px solid #CD002F}.textInput__container .textInput__bottom-wrapper input.error:focus{outline:none}.textInput__container .textInput__bottom-wrapper input.success{border:1px solid #4CA460}.textInput__container .textInput__bottom-wrapper input.success:focus{outline:none}.textInput__container .textInput__bottom-wrapper input:focus:not(.error,.success){outline:none;border:1px solid #0A8276}.textInput__container .textInput__bottom-wrapper input:hover:not(:disabled,:focus,.error,.success){border:1px solid #575352}.textInput__container .textInput__bottom-wrapper input::placeholder{font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#8D8786;flex:none;order:1;flex-grow:1}.textInput__container .textInput__bottom-wrapper .input-icon{position:absolute;top:50%;transform:translateY(-50%);left:16px;transition:0.3s;color:#8D8786}.textInput__container .textInput__bottom-wrapper .textInput__bottom-wrapper-caption{font-style:normal;font-weight:400;font-size:0.75rem;line-height:1rem;letter-spacing:0.2px;color:#1D1D1D;flex:none;order:1;align-self:stretch;flex-grow:0}.textInput__container .textInput__bottom-wrapper .textInput__bottom-wrapper-caption.error{color:#CD002F}.textInput__container .textInput__bottom-wrapper .textInput__bottom-wrapper-caption.disabled{color:#575352}.textInput__container .delete-icon{position:absolute;right:16px}.textInput__container .delete-icon :hover{cursor:pointer}';const l=p;const c=class{constructor(e){t(this,e);this.ifxInput=i(this,"ifxInput",7);if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}this.placeholder="Placeholder";this.value="";this.error=false;this.label="";this.icon="";this.caption="";this.size="m";this.required=false;this.optional=false;this.success=false;this.disabled=false;this.showDeleteIcon=false}valueWatcher(t){if(t!==this.inputElement.value){this.inputElement.value=t}}async reset(){this.value="";this.inputElement.value=""}handleDeleteContent(){this.reset();this.ifxInput.emit(this.value)}handleInput(){const t=this.inputElement.value;this.value=t;this.internals.setFormValue(t);this.ifxInput.emit(this.value)}formResetCallback(){this.internals.setValidity({});this.internals.setFormValue("")}render(){return e("div",{key:"0188267b3df484e2a0575ae0326af647d5a21c1f","aria-label":"a text field for user input","aria-value":this.value,"aria-disabled":this.disabled,class:`textInput__container ${this.disabled?"disabled":""}`},e("div",{key:"e8ab0747e882a4790dfccf5e4f349d7911277435",class:"textInput__top-wrapper"},e("label",{key:"a3127eb7de886d157a48547174bd726cd3bdba75",htmlFor:"text-field"},e("slot",{key:"baf7f5a47746eaabb6a13175155087bf114089b9"}),this.optional&&this.required?e("span",{class:"optional-required"},"(optional) *"):this.optional?e("span",{class:"optional"},"(optional)"):this.required?e("span",{class:`required ${this.error?"error":""}`},"*"):null)),e("div",{key:"ec98a4d94e3b946b3a89a99d61217687079a8037",class:"textInput__bottom-wrapper"},e("div",{key:"8387605ed7655e7d0def0033b0fa4974db7fc9ff",class:"input-container"},this.icon&&e("ifx-icon",{key:"0582c4554c9279e99a14f9bb0906e80712036d0d",class:"input-icon",icon:this.icon}),e("input",{key:"0252b09ae6585ac0813d616a7836ef4b89510a2c",ref:t=>this.inputElement=t,disabled:this.disabled,type:"text",id:"text-field",value:this.value,onInput:()=>this.handleInput(),placeholder:this.placeholder,maxlength:this.maxlength,class:`${this.icon?"icon":""}\n ${this.error?"error":""} \n ${this.size==="s"?"input-s":""}\n ${this.success?"success":""}`}),this.showDeleteIcon&&this.value&&e("ifx-icon",{key:"a20b54c126ec56bc3e7803e96e6b45d61c7e074d",class:"delete-icon",icon:"cremove16",onClick:()=>this.handleDeleteContent()})),this.caption&&!this.error&&e("div",{key:"ed4bae2eea7162e45a29cd4146c9fadbe0b4b271",class:`textInput__bottom-wrapper-caption ${this.disabled} ? disabled : ""`},this.caption),this.error&&e("div",{key:"e9831a365bd4cd56de7cea5eb5cb2d311677da5c",class:"textInput__bottom-wrapper-caption error"},this.caption)))}static get formAssociated(){return true}get el(){return r(this)}static get watchers(){return{value:["valueWatcher"]}}};c.style=l;export{a as ifx_spinner,c as ifx_text_field};
|
2
|
+
//# sourceMappingURL=p-fbb87f8f.entry.js.map
|
@@ -27,6 +27,6 @@ export declare class Checkbox {
|
|
27
27
|
* Called whenever the form is reset.
|
28
28
|
*/
|
29
29
|
formResetCallback(): void;
|
30
|
-
getCheckedClassName(): "" | "error" | "checked" | "
|
30
|
+
getCheckedClassName(): "" | "error" | "checked" | "checked error";
|
31
31
|
render(): any;
|
32
32
|
}
|
@@ -134,6 +134,9 @@ export namespace Components {
|
|
134
134
|
"success": boolean;
|
135
135
|
"value": string;
|
136
136
|
}
|
137
|
+
interface IfxDownload {
|
138
|
+
"tokens": 'css' | 'scss';
|
139
|
+
}
|
137
140
|
interface IfxDropdown {
|
138
141
|
"closeDropdown": () => Promise<void>;
|
139
142
|
"defaultOpen": boolean;
|
@@ -970,6 +973,12 @@ declare global {
|
|
970
973
|
prototype: HTMLIfxDatePickerElement;
|
971
974
|
new (): HTMLIfxDatePickerElement;
|
972
975
|
};
|
976
|
+
interface HTMLIfxDownloadElement extends Components.IfxDownload, HTMLStencilElement {
|
977
|
+
}
|
978
|
+
var HTMLIfxDownloadElement: {
|
979
|
+
prototype: HTMLIfxDownloadElement;
|
980
|
+
new (): HTMLIfxDownloadElement;
|
981
|
+
};
|
973
982
|
interface HTMLIfxDropdownElementEventMap {
|
974
983
|
"ifxOpen": any;
|
975
984
|
"ifxClose": any;
|
@@ -1681,6 +1690,7 @@ declare global {
|
|
1681
1690
|
"ifx-content-switcher": HTMLIfxContentSwitcherElement;
|
1682
1691
|
"ifx-content-switcher-item": HTMLIfxContentSwitcherItemElement;
|
1683
1692
|
"ifx-date-picker": HTMLIfxDatePickerElement;
|
1693
|
+
"ifx-download": HTMLIfxDownloadElement;
|
1684
1694
|
"ifx-dropdown": HTMLIfxDropdownElement;
|
1685
1695
|
"ifx-dropdown-header": HTMLIfxDropdownHeaderElement;
|
1686
1696
|
"ifx-dropdown-item": HTMLIfxDropdownItemElement;
|
@@ -1861,6 +1871,9 @@ declare namespace LocalJSX {
|
|
1861
1871
|
"success"?: boolean;
|
1862
1872
|
"value"?: string;
|
1863
1873
|
}
|
1874
|
+
interface IfxDownload {
|
1875
|
+
"tokens"?: 'css' | 'scss';
|
1876
|
+
}
|
1864
1877
|
interface IfxDropdown {
|
1865
1878
|
"defaultOpen"?: boolean;
|
1866
1879
|
"disabled"?: boolean;
|
@@ -2322,6 +2335,7 @@ declare namespace LocalJSX {
|
|
2322
2335
|
"ifx-content-switcher": IfxContentSwitcher;
|
2323
2336
|
"ifx-content-switcher-item": IfxContentSwitcherItem;
|
2324
2337
|
"ifx-date-picker": IfxDatePicker;
|
2338
|
+
"ifx-download": IfxDownload;
|
2325
2339
|
"ifx-dropdown": IfxDropdown;
|
2326
2340
|
"ifx-dropdown-header": IfxDropdownHeader;
|
2327
2341
|
"ifx-dropdown-item": IfxDropdownItem;
|
@@ -2406,6 +2420,7 @@ declare module "@stencil/core" {
|
|
2406
2420
|
"ifx-content-switcher": LocalJSX.IfxContentSwitcher & JSXBase.HTMLAttributes<HTMLIfxContentSwitcherElement>;
|
2407
2421
|
"ifx-content-switcher-item": LocalJSX.IfxContentSwitcherItem & JSXBase.HTMLAttributes<HTMLIfxContentSwitcherItemElement>;
|
2408
2422
|
"ifx-date-picker": LocalJSX.IfxDatePicker & JSXBase.HTMLAttributes<HTMLIfxDatePickerElement>;
|
2423
|
+
"ifx-download": LocalJSX.IfxDownload & JSXBase.HTMLAttributes<HTMLIfxDownloadElement>;
|
2409
2424
|
"ifx-dropdown": LocalJSX.IfxDropdown & JSXBase.HTMLAttributes<HTMLIfxDropdownElement>;
|
2410
2425
|
"ifx-dropdown-header": LocalJSX.IfxDropdownHeader & JSXBase.HTMLAttributes<HTMLIfxDropdownHeaderElement>;
|
2411
2426
|
"ifx-dropdown-item": LocalJSX.IfxDropdownItem & JSXBase.HTMLAttributes<HTMLIfxDropdownItemElement>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@infineon/infineon-design-system-stencil",
|
3
|
-
"version": "32.3.1--canary.
|
3
|
+
"version": "32.3.1--canary.1745.17b5fed52c992d3b92f301283d48e7c02c420ede.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Infineon design system Stencil web components",
|
6
6
|
"homepage": "https://infineon.github.io/infineon-design-system-stencil",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-191e58c6.js","mappings":"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","names":[],"sources":["src/components/checkbox/checkbox.scss?tag=ifx-checkbox&encapsulation=shadow","src/components/checkbox/checkbox.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: inline-flex;\n vertical-align: top;\n}\n\n.checkbox__container {\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n align-items: top;\n padding: 0px;\n gap: tokens.$ifxSpace100;\n font-family: var(--ifx-font-family);\n\n & .checkbox__wrapper {\n box-sizing: border-box;\n display: flex;\n position: relative; //needs to be added for the indeterminate state of the checkbox\n justify-content: center;\n align-items: center;\n width: tokens.$ifxSize250;\n height: tokens.$ifxSize250;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n align-self: flex-start;\n\n &.checkbox-m {\n height: tokens.$ifxSize300;\n width: tokens.$ifxSize300;\n }\n\n &.error {\n border-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid #575352;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #EEEDED;\n border: 1px solid #575352;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background-color: #BFBBBB;\n border-color: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.checked {\n background-color: #0A8276;\n border-radius: tokens.$ifxBorderRadius12;\n border-color: tokens.$ifxColorBaseTransparent;\n flex: none;\n order: 0;\n flex-grow: 0;\n color: tokens.$ifxColorBaseWhite;\n\n &.error {\n background-color: #CD002F;\n }\n\n &:focus-visible {\n border: 1px solid transparent;\n outline: 2px solid #0A8276;\n outline-offset: 2px;\n }\n\n &:hover {\n background-color: #08665C;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n\n &.disabled {\n background: #BFBBBB;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n flex-grow: 0;\n }\n }\n\n &.indeterminate {\n &:before {\n content: \"\";\n display: block;\n width: 70%; // Adjust as needed for the width of the minus sign\n height: 2px; // Adjust for thickness of the minus sign\n background-color: #08665C; // Color of the minus sign\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n\n }\n\n & .label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n color: tokens.$ifxColorBaseBlack;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-all;\n max-width: 100%;\n\n &.label-m {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n }\n\n &.disabled {\n color: #BFBBBB;\n }\n }\n\n & .checkbox__wrapper,\n & .label {\n &:hover {\n cursor: pointer;\n }\n }\n}","import { Component, h, Prop, Element, State, Event, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';\n\n@Component({\n tag: 'ifx-checkbox',\n styleUrl: 'checkbox.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class Checkbox {\n private inputElement: HTMLInputElement;\n\n @Element() el;\n @Prop() disabled: boolean = false;\n @Prop() checked: boolean = false;\n @Prop() error: boolean = false;\n @Prop() size: string = 'm';\n @Prop() indeterminate: boolean = false;\n @Prop() value: string;\n @State() internalChecked: boolean;\n @State() internalIndeterminate: boolean;\n\n @AttachInternals() internals: ElementInternals;\n\n @Event({ bubbles: true, composed: true }) ifxChange: EventEmitter;\n @Event({ bubbles: true, composed: true }) ifxError: EventEmitter;\n\n handleCheckbox() {\n if (!this.disabled) {\n if (this.inputElement.indeterminate) {\n this.internalChecked = true;\n this.internalIndeterminate = false;\n } else {\n this.internalChecked = !this.internalChecked;\n }\n if (this.internalChecked) {\n if (this.value !== undefined) {\n this.internals.setFormValue(this.value);\n } else {\n this.internals.setFormValue(\"on\")\n }\n } else {\n this.internals.setFormValue(null)\n }\n this.ifxChange.emit(this.internalChecked);\n }\n }\n\n @Method()\n async isChecked(): Promise<boolean> {\n return this.internalChecked;\n }\n\n @Method()\n async toggleCheckedState(newVal: boolean) {\n this.internalChecked = newVal;\n }\n\n @Watch('checked')\n valueChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalChecked = newValue;\n this.inputElement.checked = this.internalChecked; // update the checkbox's checked property\n }\n }\n\n @Watch('error')\n errorChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.ifxError.emit(newValue);\n }\n }\n\n @Watch('indeterminate')\n indeterminateChanged(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n this.internalIndeterminate = newValue;\n this.inputElement.indeterminate = this.internalIndeterminate; // update the checkbox's indeterminate property\n }\n }\n\n handleKeydown(event) {\n // Keycode 32 corresponds to the Space key, 13 corresponds to the Enter key\n if (event.keyCode === 32 || event.keyCode === 13) {\n this.handleCheckbox();\n event.preventDefault(); // prevent the default action when space or enter is pressed\n }\n }\n\n componentWillLoad() {\n this.internalChecked = this.checked;\n this.internalIndeterminate = this.indeterminate;\n }\n\n componentDidRender() {\n this.inputElement.indeterminate = this.internalIndeterminate;\n }\n\n /**\n * Callback for form association.\n * Called whenever the form is reset.\n */\n formResetCallback() {\n this.internals.setFormValue(null);\n }\n\n getCheckedClassName() {\n // Prioritize the indeterminate state over the checked state to avoid displaying both states at the same time.\n if (this.internalIndeterminate) {\n if (this.error) {\n return \"error\";\n }\n else {\n return \"\";\n }\n }\n else {\n if (this.error) {\n if (this.internalChecked) {\n return \"checked error\";\n } else {\n return \"error\";\n }\n } else if (this.internalChecked && this.internalIndeterminate) {\n return \"indeterminate\";\n }\n else if (this.internalChecked) {\n return \"checked\";\n } else return \"\";\n }\n }\n\n render() {\n const slot = this.el.innerHTML;\n let hasSlot = false;\n if (slot) {\n hasSlot = true;\n }\n return (\n <div class=\"checkbox__container\">\n <input\n type=\"checkbox\"\n hidden\n ref={(el) => (this.inputElement = el)}\n checked={this.internalChecked}\n onChange={this.handleCheckbox.bind(this)} // Listen for changes here\n id='checkbox'\n value={`${this.value}`}\n disabled={this.disabled ? true : undefined}\n />\n <div\n tabindex=\"0\"\n onClick={this.handleCheckbox.bind(this)}\n onKeyDown={this.handleKeydown.bind(this)}\n role=\"checkbox\"\n aria-checked={this.indeterminate ? 'mixed' : this.internalChecked.toString()}\n aria-disabled={this.disabled}\n aria-labelledby=\"label\"\n class={`checkbox__wrapper \n ${this.getCheckedClassName()}\n ${this.size === \"m\" ? \"checkbox-m\" : \"\"}\n ${this.indeterminate ? 'indeterminate' : \"\"}\n ${this.disabled ? 'disabled' : \"\"}`}\n >\n {!this.indeterminate && this.internalChecked && <ifx-icon icon=\"check-12\" aria-hidden=\"true\"></ifx-icon>}\n </div>\n {hasSlot &&\n <div id=\"label\" class={`label ${this.size === \"m\" ? \"label-m\" : \"\"} ${this.disabled ? 'disabled' : \"\"} `} onClick={this.handleCheckbox.bind(this)}>\n <slot />\n </div>}\n </div>\n );\n }\n}"],"version":3}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r as t,h as s}from"./p-c808c7d2.js";const e=":host{display:inline-block}.rotate{transition:transform 0.2s ease-in-out;transform:rotate(-180deg);margin-top:0em}.icon{margin-top:0em;transition:transform 0.2s ease-in-out}";const o=e;const i=class{constructor(s){t(this,s);this.isOpen=false;this.theme="default";this.size="m";this.hideArrow=false}render(){return s("ifx-button",{key:"3f5c9da4adce25304ff23702add3d858f5518a7d",variant:this.variant,theme:this.theme,size:this.size,disabled:this.disabled,class:"dropdown-trigger-button"},s("slot",{key:"e998ffe1f1813e26545e670f74d839745129aea2"}),!this.hideArrow&&s("ifx-icon",{key:"93057033a2de1cdae71a20ef496963d5cace88cb",icon:"chevron-down-12",class:`icon${this.isOpen?" rotate":""}`}))}};i.style=o;export{i as ifx_dropdown_trigger_button};
|
2
|
-
//# sourceMappingURL=p-1b5ebeef.entry.js.map
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{r,h as o}from"./p-c808c7d2.js";const d=".dropdown-separator{height:1px;background-color:#EEEDED;margin:8px 16px}";const e=d;const s=class{constructor(o){r(this,o)}render(){return o("div",{key:"5d982d5c92e0d2d3064ebca6403eee845790d61e",class:"dropdown-separator"})}};s.style=e;export{s as ifx_dropdown_separator};
|
2
|
-
//# sourceMappingURL=p-52c46b22.entry.js.map
|