@infineon/infineon-design-system-stencil 33.4.1--canary.1855.83055532e24827965eebebc371d8d9f314f098a7.0 → 33.4.1--canary.1855.4ecc2334895a5f7093529884743b44972a5ab85b.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 +1 -1
- 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-date-picker.cjs.entry.js +3 -2
- package/dist/cjs/ifx-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-download.cjs.entry.js +2 -2
- 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-file-upload.cjs.entry.js +2 -2
- 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 +5 -5
- 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/collection/components/checkbox/checkbox.css +1 -0
- package/dist/collection/components/date-picker/date-picker.css +10 -0
- package/dist/collection/components/date-picker/date-picker.js +2 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/download/download.js +2 -2
- 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/file-upload/file-upload.js +2 -2
- 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 +5 -5
- 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 +4 -3
- package/dist/components/ifx-date-picker.js.map +1 -1
- package/dist/components/ifx-download.js +3 -3
- 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-file-upload.js +5 -5
- 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 +7 -7
- 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-008afd49.js → p-04cfc587.js} +6 -6
- package/dist/components/{p-008afd49.js.map → p-04cfc587.js.map} +1 -1
- package/dist/components/{p-118c5b21.js → p-0aee2554.js} +3 -3
- package/dist/components/{p-118c5b21.js.map → p-0aee2554.js.map} +1 -1
- package/dist/components/{p-ef6730e0.js → p-18ad1165.js} +3 -3
- package/dist/components/{p-ef6730e0.js.map → p-18ad1165.js.map} +1 -1
- package/dist/components/{p-4882084d.js → p-23a993bc.js} +3 -3
- package/dist/components/{p-4882084d.js.map → p-23a993bc.js.map} +1 -1
- package/dist/components/{p-7f0af813.js → p-2a46b223.js} +2 -2
- package/dist/components/{p-7f0af813.js.map → p-2a46b223.js.map} +1 -1
- package/dist/components/{p-dd76064d.js → p-42dca0c9.js} +2 -2
- package/dist/components/{p-dd76064d.js.map → p-42dca0c9.js.map} +1 -1
- package/dist/components/{p-45c75348.js → p-4d7b13e3.js} +3 -3
- package/dist/components/p-4d7b13e3.js.map +1 -0
- package/dist/components/{p-7ba45e8a.js → p-52c9a12e.js} +3 -3
- package/dist/components/{p-7ba45e8a.js.map → p-52c9a12e.js.map} +1 -1
- package/dist/components/{p-cd01352d.js → p-5fd6328a.js} +3 -3
- package/dist/components/{p-cd01352d.js.map → p-5fd6328a.js.map} +1 -1
- package/dist/components/{p-1d0b8ace.js → p-681bd5b1.js} +5 -5
- package/dist/components/{p-1d0b8ace.js.map → p-681bd5b1.js.map} +1 -1
- package/dist/components/{p-6ddcb06b.js → p-8824ca83.js} +2 -2
- package/dist/components/{p-6ddcb06b.js.map → p-8824ca83.js.map} +1 -1
- package/dist/components/{p-e56942b3.js → p-bfae6ae0.js} +2 -2
- package/dist/components/{p-e56942b3.js.map → p-bfae6ae0.js.map} +1 -1
- package/dist/components/{p-0b2bb8ad.js → p-ca6c8507.js} +2 -2
- package/dist/components/{p-0b2bb8ad.js.map → p-ca6c8507.js.map} +1 -1
- package/dist/components/{p-2ba2b196.js → p-cefd9f73.js} +3 -3
- package/dist/components/{p-2ba2b196.js.map → p-cefd9f73.js.map} +1 -1
- package/dist/components/{p-c4b939c0.js → p-d64e5297.js} +6 -6
- package/dist/components/{p-c4b939c0.js.map → p-d64e5297.js.map} +1 -1
- package/dist/components/{p-49f70934.js → p-f41c84fa.js} +4 -4
- package/dist/components/{p-49f70934.js.map → p-f41c84fa.js.map} +1 -1
- package/dist/components/{p-2e096da7.js → p-f69a7795.js} +5 -5
- package/dist/components/{p-2e096da7.js.map → p-f69a7795.js.map} +1 -1
- package/dist/components/{p-d4b2d98f.js → p-f76b674f.js} +4 -4
- package/dist/components/{p-d4b2d98f.js.map → p-f76b674f.js.map} +1 -1
- package/dist/components/{p-5d0763d9.js → p-f7a8339d.js} +2 -2
- package/dist/components/{p-5d0763d9.js.map → p-f7a8339d.js.map} +1 -1
- package/dist/components/{p-524a6949.js → p-f8ce0088.js} +2 -2
- package/dist/components/{p-524a6949.js.map → p-f8ce0088.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 +1 -1
- package/dist/esm/ifx-checkbox.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +1 -1
- package/dist/esm/ifx-date-picker.entry.js +3 -2
- package/dist/esm/ifx-date-picker.entry.js.map +1 -1
- package/dist/esm/ifx-download.entry.js +2 -2
- 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-file-upload.entry.js +2 -2
- 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 +5 -5
- 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/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/p-007f032b.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-b900e8d0.entry.js → p-00fd53b9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-da4ceaeb.entry.js → p-040dfe3a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0b6db901.entry.js → p-0474c62d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cf27e139.entry.js → p-1218cd67.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-1958f029.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-1958f029.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-ad50d807.entry.js → p-1a29bbb2.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-22615332.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-e1407b5b.entry.js → p-29984af2.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-571635d2.entry.js → p-2fa26bf7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9fbd4a42.entry.js → p-2fb84e5d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0e9145f8.entry.js → p-3469adb7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-eaf5dc4b.entry.js → p-3545f2d5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-07f2abf0.entry.js → p-361d1e31.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-3ff188be.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-4d544302.entry.js → p-406b00eb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-41846fb5.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-41846fb5.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-997901f4.entry.js → p-41f245f6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-17df9778.entry.js → p-4d0da3de.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a0f432cc.entry.js → p-53411f03.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-14fa6261.entry.js → p-59036c10.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-69272ea3.entry.js → p-5a5df7de.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bb624976.entry.js → p-61117bda.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-294c7bab.entry.js → p-65d5e257.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-91beff89.entry.js → p-6693fddc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d0c21d65.entry.js → p-723cace7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7feaadc5.entry.js → p-7bbaff92.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fa9610c3.entry.js → p-7e55680a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0f9e4cc6.entry.js → p-88ae2d37.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-02f83605.entry.js → p-8a733ad7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c5d99eb5.entry.js → p-964e15d1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7a1327e5.entry.js → p-99461b11.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-32e8759a.entry.js → p-9da1f8b9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f926dc7d.entry.js → p-a25618fd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-3796fda7.entry.js → p-a3ece62e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-505aa612.entry.js → p-a8241d5d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-a92465d1.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-c9a647fe.entry.js → p-ac4aaa18.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-27e25f78.entry.js → p-b0c402e0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1038a1a1.entry.js → p-b26d054b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-5f3a20a2.entry.js → p-b2ff6914.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c101a974.entry.js → p-b44360ea.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b1538bfa.entry.js → p-b8e74ad3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0512a705.entry.js → p-ba4f65f1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7d66ee28.entry.js → p-c2cc54c0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4a5ac145.entry.js → p-c6b76d4a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fc455450.entry.js → p-ce448991.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4a239abe.entry.js → p-d2dfe109.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-47953778.entry.js → p-d4da0515.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f3a3242b.entry.js → p-d5936509.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-d928585e.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-8e774a2e.entry.js.map → p-d928585e.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-563c4e58.entry.js → p-de733e32.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-e5df823b.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-3ad9c66a.entry.js → p-edc77e53.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f5bc6488.entry.js → p-f22dad77.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-db9bdd7d.entry.js → p-f4866ad9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-685f1e5d.entry.js → p-fdad4729.entry.js} +2 -2
- package/package.json +1 -1
- package/dist/components/p-45c75348.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-0bb8aad7.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-1599e9f6.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-78039fa0.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-86d63cdc.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-86d63cdc.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-8e774a2e.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-91ffb683.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bf1f6439.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bf1f6439.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-eb510174.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-78039fa0.entry.js.map → p-007f032b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b900e8d0.entry.js.map → p-00fd53b9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-da4ceaeb.entry.js.map → p-040dfe3a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0b6db901.entry.js.map → p-0474c62d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cf27e139.entry.js.map → p-1218cd67.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ad50d807.entry.js.map → p-1a29bbb2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0bb8aad7.entry.js.map → p-22615332.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e1407b5b.entry.js.map → p-29984af2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-571635d2.entry.js.map → p-2fa26bf7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9fbd4a42.entry.js.map → p-2fb84e5d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0e9145f8.entry.js.map → p-3469adb7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-eaf5dc4b.entry.js.map → p-3545f2d5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-07f2abf0.entry.js.map → p-361d1e31.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1599e9f6.entry.js.map → p-3ff188be.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4d544302.entry.js.map → p-406b00eb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-997901f4.entry.js.map → p-41f245f6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-17df9778.entry.js.map → p-4d0da3de.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a0f432cc.entry.js.map → p-53411f03.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-14fa6261.entry.js.map → p-59036c10.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-69272ea3.entry.js.map → p-5a5df7de.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb624976.entry.js.map → p-61117bda.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-294c7bab.entry.js.map → p-65d5e257.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-91beff89.entry.js.map → p-6693fddc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d0c21d65.entry.js.map → p-723cace7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7feaadc5.entry.js.map → p-7bbaff92.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fa9610c3.entry.js.map → p-7e55680a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0f9e4cc6.entry.js.map → p-88ae2d37.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-02f83605.entry.js.map → p-8a733ad7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c5d99eb5.entry.js.map → p-964e15d1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7a1327e5.entry.js.map → p-99461b11.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-32e8759a.entry.js.map → p-9da1f8b9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f926dc7d.entry.js.map → p-a25618fd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3796fda7.entry.js.map → p-a3ece62e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-505aa612.entry.js.map → p-a8241d5d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-91ffb683.entry.js.map → p-a92465d1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c9a647fe.entry.js.map → p-ac4aaa18.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-27e25f78.entry.js.map → p-b0c402e0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1038a1a1.entry.js.map → p-b26d054b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5f3a20a2.entry.js.map → p-b2ff6914.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c101a974.entry.js.map → p-b44360ea.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b1538bfa.entry.js.map → p-b8e74ad3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0512a705.entry.js.map → p-ba4f65f1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7d66ee28.entry.js.map → p-c2cc54c0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4a5ac145.entry.js.map → p-c6b76d4a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fc455450.entry.js.map → p-ce448991.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4a239abe.entry.js.map → p-d2dfe109.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-47953778.entry.js.map → p-d4da0515.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f3a3242b.entry.js.map → p-d5936509.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-563c4e58.entry.js.map → p-de733e32.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-eb510174.entry.js.map → p-e5df823b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3ad9c66a.entry.js.map → p-edc77e53.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f5bc6488.entry.js.map → p-f22dad77.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-db9bdd7d.entry.js.map → p-f4866ad9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-685f1e5d.entry.js.map → p-fdad4729.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: '168d0844f5ce2d89964476d312579e1771c35886' }, 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))
|
@@ -183,7 +183,7 @@ const Table = class {
|
|
183
183
|
return {};
|
184
184
|
}
|
185
185
|
render() {
|
186
|
-
return (index.h(index.Host, { key: '
|
186
|
+
return (index.h(index.Host, { key: 'bb4f66d3a409a2b06cb72f7fdc445df10358c591' }, index.h("div", { key: '873b1fa7aa2086cc4de9763c001dbcabc649d68f', id: "table-wrapper", class: this.getClassNames() }, index.h("div", { key: 'a0cfe32c9f60f075234b4e29cbdd56c867699417', id: `ifxTable-${this.uniqueKey}`, class: `ifx-ag-grid ${this.variant === 'zebra' ? 'zebra' : ""}`, style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
|
187
187
|
}
|
188
188
|
get host() { return index.getElement(this); }
|
189
189
|
};
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-c9480f70.js');
|
6
6
|
|
7
|
-
const checkboxCss = ":host{display:inline-flex;vertical-align:top}.checkbox__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:top;padding:0px;gap:8px;font-family:\"Source Sans 3\"}.checkbox__container .checkbox__wrapper{box-sizing:border-box;display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:#FFFFFF;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0;align-self:flex-start}.checkbox__container .checkbox__wrapper.checkbox-m{height:24px;width:24px}.checkbox__container .checkbox__wrapper.error{border-color:#CD002F}.checkbox__container .checkbox__wrapper:focus-visible{border:1px solid #575352;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper:hover{background-color:#EEEDED;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate){background-color:#0A8276;border-radius:1px;border-color:transparent;flex:none;order:0;flex-grow:0;color:#FFFFFF}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate).error{background-color:#CD002F}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate):focus-visible{border:1px solid transparent;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate):hover{background-color:#08665C;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate).disabled{background:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.indeterminate:before{content:\"\";display:block;width:70%;height:2px;background-color:#08665C;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.checkbox__container .label{font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;max-width:100%}.checkbox__container .label.label-m{font-size:1rem;line-height:1.5rem}.checkbox__container .label.disabled{color:#BFBBBB}.checkbox__container .checkbox__wrapper:hover,.checkbox__container .label:hover{cursor:pointer}";
|
7
|
+
const checkboxCss = ":host{display:inline-flex;vertical-align:top}.checkbox__container{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:top;padding:0px;gap:8px;font-family:\"Source Sans 3\";vertical-align:bottom}.checkbox__container .checkbox__wrapper{box-sizing:border-box;display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:#FFFFFF;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0;align-self:flex-start}.checkbox__container .checkbox__wrapper.checkbox-m{height:24px;width:24px}.checkbox__container .checkbox__wrapper.error{border-color:#CD002F}.checkbox__container .checkbox__wrapper:focus-visible{border:1px solid #575352;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper:hover{background-color:#EEEDED;border:1px solid #575352;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.disabled{background-color:#BFBBBB;border-color:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate){background-color:#0A8276;border-radius:1px;border-color:transparent;flex:none;order:0;flex-grow:0;color:#FFFFFF}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate).error{background-color:#CD002F}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate):focus-visible{border:1px solid transparent;outline:2px solid #0A8276;outline-offset:2px}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate):hover{background-color:#08665C;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.checked:not(.indeterminate).disabled{background:#BFBBBB;border-radius:1px;flex:none;order:0;flex-grow:0}.checkbox__container .checkbox__wrapper.indeterminate:before{content:\"\";display:block;width:70%;height:2px;background-color:#08665C;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.checkbox__container .label{font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;color:#1D1D1D;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;max-width:100%}.checkbox__container .label.label-m{font-size:1rem;line-height:1.5rem}.checkbox__container .label.disabled{color:#BFBBBB}.checkbox__container .checkbox__wrapper:hover,.checkbox__container .label:hover{cursor:pointer}";
|
8
8
|
const IfxCheckboxStyle0 = checkboxCss;
|
9
9
|
|
10
10
|
const Checkbox = class {
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"ifx-checkbox.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,6zEAA6zE,CAAC;AACl1E,0BAAe,WAAW;;MCQb,QAAQ;IAPrB;;;;;;;;;;;QAWU,aAAQ,GAAY,KAAK,CAAC;QAC1B,YAAO,GAAY,KAAK,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ox.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: tokens.$ifxFontFamilyBody;\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:not(.indeterminate) {\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 = !this.internalChecked;\n } \n if (this.internalChecked && !this.internalIndeterminate) {\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 if (this.error) {\n if (this.internalChecked) {\n return \"checked error\"\n } else {\n return \"error\"\n }\n } else if (this.internalChecked) {\n return \"checked\";\n } else return \"\"\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.internalChecked && !this.internalIndeterminate && <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
|
+
{"file":"ifx-checkbox.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,m1EAAm1E,CAAC;AACx2E,0BAAe,WAAW;;MCQb,QAAQ;IAPrB;;;;;;;;;;;QAWU,aAAQ,GAAY,KAAK,CAAC;QAC1B,YAAO,GAAY,KAAK,CAAC;QACzB,UAAK,GAAY,KAAK,CAAC;QACvB,SAAI,GAAW,GAAG,CAAC;QACnB,kBAAa,GAAY,KAAK,CAAC;KA2IxC;IAjIC,cAAc;QACZ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE;gBACpC,IAAI,CAAC,eAAe,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC;aAC9C;YACD,IAAI,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE;gBACvD,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;oBAC5B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;iBACzC;qBAAM;oBACL,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;iBAClC;aAC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Q,qBACZ,OAAO,EACvB,KAAK,EAAE;YACL,IAAI,CAAC,mBAAmB,EAAE;UAC5B,IAAI,CAAC,IAAI,KAAK,GAAG,GAAG,YAAY,GAAG,EAAE;UACrC,IAAI,CAAC,aAAa,GAAG,eAAe,GAAG,EAAE;UACzC,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,EAAE,IAEhC,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,qBAAqB,IAAIA,uEAAU,IAAI,EAAC,UAAU,iBAAa,MAAM,GAAY,CAC5G,EACL,OAAO;YACNA,kEAAK,EAAE,EAAC,OAAO,EAAC,KAAK,EAAE,SAAS,IAAI,CAAC,IAAI,KAAK,GAAG,GAAG,SAAS,GAAG,EAAE,IAAI,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,IAC/IA,oEAAQ,CACJ,CACJ,EACN;KACH;;;;;;;;;;;;;","names":["h"],"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: tokens.$ifxFontFamilyBody;\n vertical-align: bottom;\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:not(.indeterminate) {\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 = !this.internalChecked;\n } \n if (this.internalChecked && !this.internalIndeterminate) {\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 if (this.error) {\n if (this.internalChecked) {\n return \"checked error\"\n } else {\n return \"error\"\n }\n } else if (this.internalChecked) {\n return \"checked\";\n } else return \"\"\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.internalChecked && !this.internalIndeterminate && <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}
|
@@ -485,7 +485,7 @@ const Pagination = class {
|
|
485
485
|
this.initPagination();
|
486
486
|
}
|
487
487
|
render() {
|
488
|
-
return (index.h("div", { key: '
|
488
|
+
return (index.h("div", { key: '2db22cea600f9d93a048dbfa6748f6c0a12aa5f5', class: "container" }, index.h("div", { key: '33a7bf4cc2178bd8777264177411ba19cf944a78', class: "items__per-page-wrapper" }, index.h("div", { key: '9d6bcb6005180b6cd06c6b619317283d047b2f68', class: "items__per-page-label" }, "Results per Page"), index.h("div", { key: 'd468243b87792d9543481022c7a4f0c5b3fdd805', class: "items__per-page-field" }, index.h("ifx-select", { key: '48b87e0a1dbfcff4b9468b134f0f3a609c7b2aca', placeholder: 'false', "show-search": 'false', value: undefined, disabled: false, error: false, size: "s", options: this.filteredItemsPerPage, "placeholder-value": "Select" }))), index.h("div", { key: '11c0559524ac4239d4239e97088c7b8f7dee813e', class: "items__total-wrapper" }, index.h("div", { key: 'a0c52f73524aec6c33b4af18010e8783e1cea524', class: "pagination" }, index.h("ifx-icon-button", { key: '40a755dce92de2dd8d14846bcf2269a0e74ff6db', class: "prev", icon: "arrow-left-24", onClick: () => this.changePage(this.internalPage - 1) }), index.h("ol", { key: '24cd5cb3dfc5b33d809099efd1b979c24e19d676' }, this.visiblePages.map((page, i) => typeof page === 'number' ? (index.h("li", { key: `page-${page}`, class: { [this.CLASS_ACTIVE]: page === this.internalPage }, "data-page": page }, index.h("a", { href: "javascript:void(0)" }, page))) : (index.h("li", { class: "ellipsis", key: `ellipsis-${i}` }, index.h("span", null, "..."))))), index.h("ifx-icon-button", { key: '4c8276b66ff84a6280543066c48e6eb88310de83', class: "next", icon: "arrow-right-24", onClick: () => this.changePage(this.internalPage + 1) })))));
|
489
489
|
}
|
490
490
|
get el() { return index.getElement(this); }
|
491
491
|
};
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-c9480f70.js');
|
6
6
|
|
7
|
-
const datePickerCss = ".date__picker-container{display:flex;flex-direction:column}.date__picker-container .label__wrapper{color:#1D1D1D;font:400 1rem/1.5rem \"Source Sans 3\"}.date__picker-container.disabled .label__wrapper{color:#575352}.date__picker-container.error .caption__wrapper{color:#CD002F}.date__picker-container.disabled .caption__wrapper{color:#575352}.date__picker-container .caption__wrapper{margin-top:4px;color:#1D1D1D;font:400 0.75rem/1rem \"Source Sans 3\"}.date__picker-input{font-family:\"Source Sans 3\";outline:none;width:100%;cursor:pointer;border-radius:1px;border:1px solid #8D8786;height:100%}.date__picker-input.firefox__classes{padding:8px 16px;color:#8D8786;font-size:16px;text-transform:uppercase;font-style:normal;font-weight:400;line-height:24px;cursor:pointer}.date__picker-input:focus:not(.error,.success){border-color:#0A8276}.date__picker-input:hover:not(:disabled,:focus,.error,.success){border-color:#575352}.date__picker-input:disabled{border-color:#575352;background-color:#EEEDED}.date__picker-input.error{border-color:#CD002F}.date__picker-input.success:not(.error){border-color:#4CA460}.date__picker-input::-webkit-datetime-edit-text{color:#8D8786;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.date__picker-input.has-value::-webkit-datetime-edit-text{color:#1D1D1D}.date__picker-input.has-value::-webkit-datetime-edit{color:#1D1D1D}::-webkit-datetime-edit{color:#8D8786;font-size:16px;text-transform:uppercase;font-style:normal;font-weight:400;line-height:24px}::-webkit-datetime-edit-fields-wrapper{padding:8px 16px;padding-bottom:9px;transform:translateY(1px)}::-webkit-inner-spin-button{display:none}::-webkit-calendar-picker-indicator{position:absolute;right:15px;font-size:19px;cursor:pointer;border-radius:1px}::-webkit-calendar-picker-indicator:focus-within{outline:2px solid #0A8276;outline-offset:2px}.input__wrapper{display:flex;justify-content:space-between;align-items:center;align-self:stretch;background:#FFFFFF;position:relative}.input__wrapper.large{height:40px}.input__wrapper.small{height:36px}.input__wrapper.disabled .icon__wrapper{background-color:#EEEDED}.icon__wrapper{position:absolute;right:17px;padding:2px;display:flex;justify-content:flex-end;align-items:center;pointer-events:none;z-index:100;background-color:#FFFFFF;line-height:16px}.icon__wrapper ifx-icon{vertical-align:middle}";
|
7
|
+
const datePickerCss = ".date__picker-container{display:flex;flex-direction:column}.date__picker-container .label__wrapper{color:#1D1D1D;font:400 1rem/1.5rem \"Source Sans 3\"}.date__picker-container .label__wrapper .asterisk{display:none}.date__picker-container .label__wrapper .asterisk.required{display:inline;margin-left:4px}.date__picker-container .label__wrapper .asterisk.required.error{color:#CD002F}.date__picker-container.disabled .label__wrapper{color:#575352}.date__picker-container.error .caption__wrapper{color:#CD002F}.date__picker-container.disabled .caption__wrapper{color:#575352}.date__picker-container .caption__wrapper{margin-top:4px;color:#1D1D1D;font:400 0.75rem/1rem \"Source Sans 3\"}.date__picker-input{font-family:\"Source Sans 3\";outline:none;width:100%;cursor:pointer;border-radius:1px;border:1px solid #8D8786;height:100%}.date__picker-input.firefox__classes{padding:8px 16px;color:#8D8786;font-size:16px;text-transform:uppercase;font-style:normal;font-weight:400;line-height:24px;cursor:pointer}.date__picker-input:focus:not(.error,.success){border-color:#0A8276}.date__picker-input:hover:not(:disabled,:focus,.error,.success){border-color:#575352}.date__picker-input:disabled{border-color:#575352;background-color:#EEEDED}.date__picker-input.error{border-color:#CD002F}.date__picker-input.success:not(.error){border-color:#4CA460}.date__picker-input::-webkit-datetime-edit-text{color:#8D8786;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.date__picker-input.has-value::-webkit-datetime-edit-text{color:#1D1D1D}.date__picker-input.has-value::-webkit-datetime-edit{color:#1D1D1D}::-webkit-datetime-edit{color:#8D8786;font-size:16px;text-transform:uppercase;font-style:normal;font-weight:400;line-height:24px}::-webkit-datetime-edit-fields-wrapper{padding:8px 16px;padding-bottom:9px;transform:translateY(1px)}::-webkit-inner-spin-button{display:none}::-webkit-calendar-picker-indicator{position:absolute;right:15px;font-size:19px;cursor:pointer;border-radius:1px}::-webkit-calendar-picker-indicator:focus-within{outline:2px solid #0A8276;outline-offset:2px}.input__wrapper{display:flex;justify-content:space-between;align-items:center;align-self:stretch;background:#FFFFFF;position:relative}.input__wrapper.large{height:40px}.input__wrapper.small{height:36px}.input__wrapper.disabled .icon__wrapper{background-color:#EEEDED}.icon__wrapper{position:absolute;right:17px;padding:2px;display:flex;justify-content:flex-end;align-items:center;pointer-events:none;z-index:100;background-color:#FFFFFF;line-height:16px}.icon__wrapper ifx-icon{vertical-align:middle}";
|
8
8
|
const IfxDatePickerStyle0 = datePickerCss;
|
9
9
|
|
10
10
|
const DatePicker = class {
|
@@ -103,7 +103,8 @@ const DatePicker = class {
|
|
103
103
|
}
|
104
104
|
render() {
|
105
105
|
var _a, _b;
|
106
|
-
return (index.h("div", { key: '4fd623e58f74d41cc7871b4971b4bd3806f310b2', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, index.h("label", { key: '75f325296e0733fbe2021718b580ed1049248ffa', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
106
|
+
return (index.h("div", { key: '4fd623e58f74d41cc7871b4971b4bd3806f310b2', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, index.h("label", { key: '75f325296e0733fbe2021718b580ed1049248ffa', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
107
|
+
_a.trim(), index.h("span", { key: '02de17b70b3d0af8d59cb2d13ec7b17ea939f2db', class: `asterisk ${this.required ? 'required' : ""} ${this.error ? 'error' : ""}` }, "*")), index.h("div", { key: '7bf28947be09f941fb0bf4972e0c8c105366488b', class: `input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}` }, index.h("input", { key: 'b2413ef548765a108c54c9b338c7274dde36b3f6', type: this.type, autocomplete: this.autocomplete, class: `date__picker-input ${this.error ? 'error' : ""} ${this.success ? "success" : ""}`, disabled: this.disabled ? true : undefined, "aria-invalid": this.error ? true : undefined, "aria-label": this.ariaLabel, max: this.max, min: this.min, value: this.value, required: this.required, onChange: (e) => this.getDate(e) }), index.h("div", { key: '87880933e1ec373376f2ff4dde170ad29bd326bf', class: "icon__wrapper", role: "button", onClick: () => this.handleInputFocusOnIconClick() }, index.h("ifx-icon", { key: '81bd4154b84f9c1bb48fc6ac6574a915aca0dfce', icon: 'calendar16', "aria-hidden": "true" }))), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (index.h("div", { key: '371a538db6b4c5e119e436b9dfccff1c5ad35cf1', class: 'caption__wrapper' }, this.caption.trim()))));
|
107
108
|
}
|
108
109
|
static get formAssociated() { return true; }
|
109
110
|
get el() { return index.getElement(this); }
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"ifx-date-picker.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,kzEAAkzE,CAAC;AACz0E,4BAAe,aAAa;;MCUf,UAAU;IAPvB;;;;;;;;;;QAQU,YAAO,GAAW,mBAAmB,EAAE,YAAY,EAAE,CAAC;QAGtD,SAAI,GAAW,GAAG,CAAC;QACnB,UAAK,GAAY,KAAK,CAAC;QACvB,YAAO,GAAY,KAAK,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;QAG1B,SAAI,GAAW,MAAM,CAAA;QAGrB,aAAQ,GAAY,KAAK,CAAC;QAG1B,iBAAY,GAAW,IAAI,CAAC;KAyHrC;IAnHC,OAAO,CAAC,CAAC;QACP,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QAClC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,YAAY,CAAC,OAAO,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,YAAY,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;QAC1C,MAAM,IAAI,GAAG,YAAY,CAAC,WAAW,EAAE,CAAC;QAIxC,IAAI,CAAC,UAAU,EAAE;YACf,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAElC,IAAG,IAAI,CAAC,IAAI,KAAK,gBAAgB,EAAE;gBACjC,MAAM,KAAK,GAA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AI,EAAE,CACjB,CACP,CACC,EACP;KACF;;;;AAGH,IAAI,YAAY,GAAG,CAAC,CAAC;;;;;","names":["h"],"sources":["src/components/date-picker/date-picker.scss?tag=ifx-date-picker&encapsulation=shadow","src/components/date-picker/date-picker.tsx"],"sourcesContent":["@use '~@infineon/design-system-tokens/dist/tokens';\n\n.date__picker-container {\n display: flex;\n flex-direction: column;\n\n & .label__wrapper {\n color: tokens.$ifxColorBaseBlack;\n font: tokens.$ifxBodyBody03;\n }\n\n &.disabled {\n .label__wrapper {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n &.error {\n .caption__wrapper {\n color: tokens.$ifxColorRed500;\n }\n }\n\n &.disabled {\n .caption__wrapper {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n & .caption__wrapper {\n margin-top: tokens.$ifxSpace50;\n color: tokens.$ifxColorBaseBlack;\n font: tokens.$ifxBodyBody05;\n }\n}\n\n.date__picker-input {\n font-family: 'Source Sans 3';\n outline: none;\n width: 100%;\n cursor: pointer;\n border-radius: 1px;\n border: 1px solid tokens.$ifxColorEngineering400;\n height: 100%;\n\n &.firefox__classes {\n padding: 8px 16px;\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n cursor: pointer;\n }\n\n &:focus:not(.error, .success) {\n border-color: tokens.$ifxColorOcean500;\n }\n\n &:hover:not(:disabled, :focus, .error, .success) {\n border-color: tokens.$ifxColorEngineering500;\n }\n\n &:disabled {\n border-color: tokens.$ifxColorEngineering500;\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.error {\n border-color: tokens.$ifxColorRed500;\n }\n\n &.success:not(.error) {\n border-color: tokens.$ifxColorGreen500;\n }\n\n &::-webkit-datetime-edit-text {\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n }\n\n &.has-value::-webkit-datetime-edit-text {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.has-value::-webkit-datetime-edit {\n color: tokens.$ifxColorBaseBlack;\n }\n}\n\n::-webkit-datetime-edit {\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n\n::-webkit-datetime-edit-fields-wrapper {\n padding: 8px 16px;\n padding-bottom: 9px;\n transform: translateY(1px);\n}\n\n::-webkit-inner-spin-button {\n display: none;\n}\n\n::-webkit-calendar-picker-indicator {\n position: absolute;\n right: 15px;\n font-size: 19px;\n cursor: pointer;\n border-radius: 1px;\n &:focus-within {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 2px;\n }\n}\n\n.input__wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n align-self: stretch;\n background: tokens.$ifxColorBaseWhite;\n position: relative;\n &.large {\n height: 40px;\n }\n\n &.small {\n height: 36px;\n }\n\n &.disabled {\n & .icon__wrapper {\n background-color: tokens.$ifxColorEngineering200;\n }\n }\n}\n\n.icon__wrapper {\n position: absolute;\n right: 17px;\n padding: 2px;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n pointer-events: none;\n z-index: 100;\n background-color: tokens.$ifxColorBaseWhite;\n line-height: 16px;\n\n & ifx-icon {\n vertical-align: middle;\n }\n}\n","import { AttachInternals } from '@stencil/core';\nimport { Component, Prop, h, Element, Event, EventEmitter } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-date-picker',\n styleUrl: 'date-picker.scss',\n shadow: true,\n formAssociated: true,\n})\n\nexport class DatePicker {\n private inputId: string = `ifx-date-picker-${++datePickerId}`;\n\n @Element() el: HTMLElement;\n @Prop() size: string = 's';\n @Prop() error: boolean = false;\n @Prop() success: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() ariaLabel: string | null;\n @Prop() value: string;\n @Prop() type: string = 'date'\n @Prop() max: string;\n @Prop() min: string;\n @Prop() required: boolean = false;\n @Prop() label: string;\n @Prop() caption: string;\n @Prop() autocomplete: string = 'on';\n\n @AttachInternals() internals: ElementInternals;\n\n @Event() ifxDate: EventEmitter;\n\n getDate(e) { \n const inputValue = e.target.value;\n const selectedDate = new Date(inputValue);\n const day = selectedDate.getDate();\n const month = selectedDate.getMonth() + 1; \n const year = selectedDate.getFullYear();\n\n \n \n if (!inputValue) {\n this.internals.setFormValue(null);\n\n if(this.type === 'datetime-local') { \n const hours = selectedDate.getHours();\n const minutes = selectedDate.getMinutes();\n this.ifxDate.emit({day, month, year, hours, minutes});\n } else { \n this.ifxDate.emit({day, month, year});\n }\n return;\n }\n\n const input = this.el.shadowRoot.querySelector('.date__picker-input') as HTMLInputElement;\n input.classList.add('has-value');\n\n this.internals.setFormValue(selectedDate.toISOString().substring(0,10))\n if(this.type === 'datetime-local') { \n const hours = selectedDate.getHours();\n const minutes = selectedDate.getMinutes();\n this.ifxDate.emit({day, month, year, hours, minutes});\n } else { \n this.ifxDate.emit({day, month, year})\n }\n }\n\n handleInputFocusOnIconClick() { \n const input = this.el.shadowRoot.querySelector('.date__picker-input') as HTMLInputElement;\n if(input) { \n input.focus()\n }\n }\n\n getBrowser() {\n if( navigator.userAgent.indexOf(\"Chrome\") != -1 ) {\n return \"Chrome\";\n } else if( navigator.userAgent.indexOf(\"Opera\") != -1 ) {\n return \"Opera\";\n } else if( navigator.userAgent.indexOf(\"MSIE\") != -1 ) {\n return \"IE\";\n } else if( navigator.userAgent.indexOf(\"Firefox\") != -1 ) {\n return \"Firefox\";\n } else {\n return \"unknown\";\n }\n }\n\n setFireFoxClasses() { \n const browser = this.getBrowser()\n const input = this.el.shadowRoot.querySelector('.date__picker-input');\n\n if(browser === 'Firefox') { \n input.classList.add('firefox__classes')\n } else if(input.classList.contains('firefox__classes')) { \n input.classList.remove('firefox__classes')\n }\n }\n\n componentDidLoad() { \n this.setFireFoxClasses()\n }\n\n componentWillUpdate() { \n if (this.value) {\n this.getDate({ target: { value: this.value } });\n }\n }\n\n formResetCallback() {\n this.internals.setFormValue(null);\n }\n\n render() {\n return (\n <div class={`date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled': ''}`}>\n\n <label class='label__wrapper' htmlFor={ this.inputId }>\n { this.label?.trim() }\n </label>\n\n <div class={`input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}`}>\n <input\n type={this.type}\n autocomplete={this.autocomplete}\n class={`date__picker-input ${this.error ? 'error' : \"\"} ${this.success ? \"success\" : \"\"}`}\n disabled={this.disabled ? true : undefined}\n aria-invalid={this.error ? true : undefined}\n aria-label={this.ariaLabel}\n max={this.max}\n min={this.min}\n value={this.value}\n required={this.required}\n onChange={(e) => this.getDate(e)} />\n <div class=\"icon__wrapper\" role=\"button\" onClick={() => this.handleInputFocusOnIconClick()}>\n <ifx-icon icon='calendar16' aria-hidden=\"true\"></ifx-icon>\n </div>\n </div>\n\n { this.caption?.trim() && (\n <div class='caption__wrapper'>\n { this.caption.trim() }\n </div> \n )}\n </div>\n )\n }\n}\n\nlet datePickerId = 0;"],"version":3}
|
1
|
+
{"file":"ifx-date-picker.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,0hFAA0hF,CAAC;AACjjF,4BAAe,aAAa;;MCUf,UAAU;IAPvB;;;;;;;;;;QAQU,YAAO,GAAW,mBAAmB,EAAE,YAAY,EAAE,CAAC;QAGtD,SAAI,GAAW,GAAG,CAAC;QACnB,UAAK,GAAY,KAAK,CAAC;QACvB,YAAO,GAAY,KAAK,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;QAG1B,SAAI,GAAW,MAAM,CAAA;QAGrB,aAAQ,GAAY,KAAK,CAAC;QAG1B,iBAAY,GAAW,IAAI,CAAC;KA0HrC;IApHC,OAAO,CAAC,CAAC;QACP,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QAClC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,YAAY,CAAC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AAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAI,EACpCA,kEAAK,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,2BAA2B,EAAE,IACxFA,uEAAU,IAAI,EAAC,YAAY,iBAAa,MAAM,GAAY,CACtD,CACF,EAEJ,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,EAAE,MAClBA,kEAAK,KAAK,EAAC,kBAAkB,IACzB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CACjB,CACP,CACC,EACP;KACF;;;;AAGH,IAAI,YAAY,GAAG,CAAC,CAAC;;;;;","names":["h"],"sources":["src/components/date-picker/date-picker.scss?tag=ifx-date-picker&encapsulation=shadow","src/components/date-picker/date-picker.tsx"],"sourcesContent":["@use '~@infineon/design-system-tokens/dist/tokens';\n\n.date__picker-container {\n display: flex;\n flex-direction: column;\n\n & .label__wrapper {\n color: tokens.$ifxColorBaseBlack;\n font: tokens.$ifxBodyBody03;\n\n & .asterisk { \n display: none;\n &.required {\n display: inline;\n margin-left: 4px;\n \n &.error {\n color: #CD002F;\n }\n }\n }\n\n }\n\n &.disabled {\n .label__wrapper {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n &.error {\n .caption__wrapper {\n color: tokens.$ifxColorRed500;\n }\n }\n\n &.disabled {\n .caption__wrapper {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n & .caption__wrapper {\n margin-top: tokens.$ifxSpace50;\n color: tokens.$ifxColorBaseBlack;\n font: tokens.$ifxBodyBody05;\n }\n}\n\n.date__picker-input {\n font-family: 'Source Sans 3';\n outline: none;\n width: 100%;\n cursor: pointer;\n border-radius: 1px;\n border: 1px solid tokens.$ifxColorEngineering400;\n height: 100%;\n\n &.firefox__classes {\n padding: 8px 16px;\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n cursor: pointer;\n }\n\n &:focus:not(.error, .success) {\n border-color: tokens.$ifxColorOcean500;\n }\n\n &:hover:not(:disabled, :focus, .error, .success) {\n border-color: tokens.$ifxColorEngineering500;\n }\n\n &:disabled {\n border-color: tokens.$ifxColorEngineering500;\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &.error {\n border-color: tokens.$ifxColorRed500;\n }\n\n &.success:not(.error) {\n border-color: tokens.$ifxColorGreen500;\n }\n\n &::-webkit-datetime-edit-text {\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n }\n\n &.has-value::-webkit-datetime-edit-text {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.has-value::-webkit-datetime-edit {\n color: tokens.$ifxColorBaseBlack;\n }\n}\n\n::-webkit-datetime-edit {\n color: tokens.$ifxColorEngineering400;\n font-size: 16px;\n text-transform: uppercase;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n\n::-webkit-datetime-edit-fields-wrapper {\n padding: 8px 16px;\n padding-bottom: 9px;\n transform: translateY(1px);\n}\n\n::-webkit-inner-spin-button {\n display: none;\n}\n\n::-webkit-calendar-picker-indicator {\n position: absolute;\n right: 15px;\n font-size: 19px;\n cursor: pointer;\n border-radius: 1px;\n &:focus-within {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 2px;\n }\n}\n\n.input__wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n align-self: stretch;\n background: tokens.$ifxColorBaseWhite;\n position: relative;\n &.large {\n height: 40px;\n }\n\n &.small {\n height: 36px;\n }\n\n &.disabled {\n & .icon__wrapper {\n background-color: tokens.$ifxColorEngineering200;\n }\n }\n}\n\n.icon__wrapper {\n position: absolute;\n right: 17px;\n padding: 2px;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n pointer-events: none;\n z-index: 100;\n background-color: tokens.$ifxColorBaseWhite;\n line-height: 16px;\n\n & ifx-icon {\n vertical-align: middle;\n }\n}\n","import { AttachInternals } from '@stencil/core';\nimport { Component, Prop, h, Element, Event, EventEmitter } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-date-picker',\n styleUrl: 'date-picker.scss',\n shadow: true,\n formAssociated: true,\n})\n\nexport class DatePicker {\n private inputId: string = `ifx-date-picker-${++datePickerId}`;\n\n @Element() el: HTMLElement;\n @Prop() size: string = 's';\n @Prop() error: boolean = false;\n @Prop() success: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() ariaLabel: string | null;\n @Prop() value: string;\n @Prop() type: string = 'date'\n @Prop() max: string;\n @Prop() min: string;\n @Prop() required: boolean = false;\n @Prop() label: string;\n @Prop() caption: string;\n @Prop() autocomplete: string = 'on';\n\n @AttachInternals() internals: ElementInternals;\n\n @Event() ifxDate: EventEmitter;\n\n getDate(e) { \n const inputValue = e.target.value;\n const selectedDate = new Date(inputValue);\n const day = selectedDate.getDate();\n const month = selectedDate.getMonth() + 1; \n const year = selectedDate.getFullYear();\n\n \n \n if (!inputValue) {\n this.internals.setFormValue(null);\n\n if(this.type === 'datetime-local') { \n const hours = selectedDate.getHours();\n const minutes = selectedDate.getMinutes();\n this.ifxDate.emit({day, month, year, hours, minutes});\n } else { \n this.ifxDate.emit({day, month, year});\n }\n return;\n }\n\n const input = this.el.shadowRoot.querySelector('.date__picker-input') as HTMLInputElement;\n input.classList.add('has-value');\n\n this.internals.setFormValue(selectedDate.toISOString().substring(0,10))\n if(this.type === 'datetime-local') { \n const hours = selectedDate.getHours();\n const minutes = selectedDate.getMinutes();\n this.ifxDate.emit({day, month, year, hours, minutes});\n } else { \n this.ifxDate.emit({day, month, year})\n }\n }\n\n handleInputFocusOnIconClick() { \n const input = this.el.shadowRoot.querySelector('.date__picker-input') as HTMLInputElement;\n if(input) { \n input.focus()\n }\n }\n\n getBrowser() {\n if( navigator.userAgent.indexOf(\"Chrome\") != -1 ) {\n return \"Chrome\";\n } else if( navigator.userAgent.indexOf(\"Opera\") != -1 ) {\n return \"Opera\";\n } else if( navigator.userAgent.indexOf(\"MSIE\") != -1 ) {\n return \"IE\";\n } else if( navigator.userAgent.indexOf(\"Firefox\") != -1 ) {\n return \"Firefox\";\n } else {\n return \"unknown\";\n }\n }\n\n setFireFoxClasses() { \n const browser = this.getBrowser()\n const input = this.el.shadowRoot.querySelector('.date__picker-input');\n\n if(browser === 'Firefox') { \n input.classList.add('firefox__classes')\n } else if(input.classList.contains('firefox__classes')) { \n input.classList.remove('firefox__classes')\n }\n }\n\n componentDidLoad() { \n this.setFireFoxClasses()\n }\n\n componentWillUpdate() { \n if (this.value) {\n this.getDate({ target: { value: this.value } });\n }\n }\n\n formResetCallback() {\n this.internals.setFormValue(null);\n }\n\n render() {\n return (\n <div class={`date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled': ''}`}>\n\n <label class='label__wrapper' htmlFor={ this.inputId }>\n { this.label?.trim() }\n <span class={`asterisk ${this.required ? 'required' : \"\"} ${this.error ? 'error' : \"\"}`}>*</span>\n </label>\n\n <div class={`input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}`}>\n <input\n type={this.type}\n autocomplete={this.autocomplete}\n class={`date__picker-input ${this.error ? 'error' : \"\"} ${this.success ? \"success\" : \"\"}`}\n disabled={this.disabled ? true : undefined}\n aria-invalid={this.error ? true : undefined}\n aria-label={this.ariaLabel}\n max={this.max}\n min={this.min}\n value={this.value}\n required={this.required}\n onChange={(e) => this.getDate(e)} />\n <div class=\"icon__wrapper\" role=\"button\" onClick={() => this.handleInputFocusOnIconClick()}>\n <ifx-icon icon='calendar16' aria-hidden=\"true\"></ifx-icon>\n </div>\n </div>\n\n { this.caption?.trim() && (\n <div class='caption__wrapper'>\n { this.caption.trim() }\n </div> \n )}\n </div>\n )\n }\n}\n\nlet datePickerId = 0;"],"version":3}
|
@@ -20,7 +20,7 @@ const Download = class {
|
|
20
20
|
const fileName = `infineon-tokens.${this.tokens}`;
|
21
21
|
const sourceFile = fileMap[this.tokens];
|
22
22
|
const fileUrl = `https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-tokens/${sourceFile}`;
|
23
|
-
return (index.h("ifx-link", { key: '
|
23
|
+
return (index.h("ifx-link", { key: '8a05f429c2d8c9bfcb132df3fda0aa47d7109b67', onClick: (e) => {
|
24
24
|
e.preventDefault();
|
25
25
|
fetch(fileUrl)
|
26
26
|
.then(res => res.blob())
|
@@ -30,7 +30,7 @@ const Download = class {
|
|
30
30
|
link.download = fileName;
|
31
31
|
link.click();
|
32
32
|
});
|
33
|
-
}, href: fileUrl, download: fileName, class: "download__wrapper", size: "m", variant: "bold" }, index.h("slot", { key: '
|
33
|
+
}, href: fileUrl, download: fileName, class: "download__wrapper", size: "m", variant: "bold" }, index.h("slot", { key: '72d494771e43406d7f85122f22300f3524fd94b1' })));
|
34
34
|
}
|
35
35
|
};
|
36
36
|
Download.style = IfxDownloadStyle0;
|
@@ -12,7 +12,7 @@ const DropdownHeader = class {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (index.h("div", { key: '
|
15
|
+
return (index.h("div", { key: 'd93c45a63fba5ca781065e118af56370ddb340eb', class: 'dropdown-header' }, index.h("span", { key: 'dbcc17303d9d0cef7daf2150ac77833498f76ae7' }, index.h("slot", { key: 'f157de72d9b164e2492fae87d457da8227eb77ce' }))));
|
16
16
|
}
|
17
17
|
};
|
18
18
|
DropdownHeader.style = IfxDropdownHeaderStyle0;
|
@@ -24,7 +24,7 @@ const DropdownItem = class {
|
|
24
24
|
}
|
25
25
|
render() {
|
26
26
|
let hrefAttr = this.href ? { href: this.href, target: this.target } : {};
|
27
|
-
return (index.h("a", Object.assign({ key: '
|
27
|
+
return (index.h("a", Object.assign({ key: '7308bd850dbc2dff472b8c045d166730bcec0af3' }, hrefAttr, { onClick: () => this.handleEventEmission(), class: `dropdown-item ${this.size === 's' ? 'small' : ""} ${this.hide ? 'hide' : ""}` }), this.icon && index.h("ifx-icon", { key: '575dad93fe45d15c155e812eaed3f922a0137c18', class: "icon", icon: this.icon }), index.h("span", { key: '93497cc96543367e73f5dcb48f17c54156b71546' }, index.h("slot", { key: '1a2011575806ff7250d51bd72edacabbb64e075c' }))));
|
28
28
|
}
|
29
29
|
get el() { return index.getElement(this); }
|
30
30
|
};
|
@@ -53,10 +53,10 @@ const DropdownMenu = class {
|
|
53
53
|
this.hideTopPadding = false;
|
54
54
|
}
|
55
55
|
render() {
|
56
|
-
return (index.h("div", { key: '
|
56
|
+
return (index.h("div", { key: '83e1663841879b35eb8083e6efc996e73af5360e', class: `dropdown-menu
|
57
57
|
${this.isOpen ? 'show' : ''}
|
58
58
|
${this.hideTopPadding ? 'hideTopPadding' : ""}
|
59
|
-
${this.size === 's' ? 'small' : ""}` }, index.h("slot", { key: '
|
59
|
+
${this.size === 's' ? 'small' : ""}` }, index.h("slot", { key: '69f3d918fbb83a8bc474e2a13d25227726a8c179' })));
|
60
60
|
}
|
61
61
|
get el() { return index.getElement(this); }
|
62
62
|
};
|
@@ -12,7 +12,7 @@ const DropdownSeparator = class {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (index.h("div", { key: '
|
15
|
+
return (index.h("div", { key: 'f842407a72dcfa69c2e05b821bab2f9ec3e2702f', class: 'dropdown-separator' }));
|
16
16
|
}
|
17
17
|
};
|
18
18
|
DropdownSeparator.style = IfxDropdownSeparatorStyle0;
|
@@ -16,8 +16,8 @@ const DropdownItem = class {
|
|
16
16
|
this.hideArrow = false;
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (index.h("ifx-button", { key: '
|
20
|
-
index.h("ifx-icon", { key: '
|
19
|
+
return (index.h("ifx-button", { key: 'a039a16f7329ab9af57d92555f54d27153936aa9', variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, index.h("slot", { key: '06b448d35be0c0afbedde160f92824d9df4977ea' }), !this.hideArrow &&
|
20
|
+
index.h("ifx-icon", { key: '9b10c74e101533527e30e520a48db498bebe0715', icon: "chevron-down-12", class: `icon${this.isOpen ? ' rotate' : ''}` })));
|
21
21
|
}
|
22
22
|
};
|
23
23
|
DropdownItem.style = IfxDropdownTriggerButtonStyle0;
|
@@ -13,7 +13,7 @@ const DropdownItem = class {
|
|
13
13
|
this.isOpen = false;
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (index.h("slot", { key: '
|
16
|
+
return (index.h("slot", { key: 'ef3ea59efc3e4cd4779f4e8dc50fae826c760015' }));
|
17
17
|
}
|
18
18
|
};
|
19
19
|
DropdownItem.style = IfxDropdownTriggerStyle0;
|
@@ -139,7 +139,7 @@ const Dropdown = class {
|
|
139
139
|
}
|
140
140
|
}
|
141
141
|
render() {
|
142
|
-
return (index.h("div", { key: '
|
142
|
+
return (index.h("div", { key: '69f27816cb5e4907952939cde18bbdaa5e7fce56', "aria-label": 'dropdown menu', class: 'dropdown' }, index.h("slot", { key: 'cd37ec9b162b6533f2a865f937976412b4d57e13' })));
|
143
143
|
}
|
144
144
|
get el() { return index.getElement(this); }
|
145
145
|
static get watchers() { return {
|
@@ -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: '4e761e2d958ce9c5fea599b01b12fca554835a0e', class: 'container' }, index.h("ifx-accordion", { key: 'f304b4deedb45cab9d852ed07b80dd967c820382' }, index.h("ifx-accordion-item", { key: 'a36e8eadc373b7afd6371dfde1058d483f279cab', 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: 'e603437b41806c870030d8e63b88ec985ae3e46d', 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: '77593944637daecd4a1eacc72e6472e0c865c95c', 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: 'be834115e1e4e3c231d141858c31685bb9d7ecc8', 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: '7b2def3eaf82ac3959ebebcbdae34bbf50b730fe', 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;
|
@@ -529,10 +529,10 @@ const FileUpload = class {
|
|
529
529
|
this.validateRequired();
|
530
530
|
}
|
531
531
|
render() {
|
532
|
-
return (index.h("div", { key: '
|
532
|
+
return (index.h("div", { key: 'f8edbd56edf372f509c97c7e162f9c247c91110d', class: {
|
533
533
|
'file-upload-wrapper': true,
|
534
534
|
'disabled': this.disabled
|
535
|
-
} }, this.label && (index.h("label", { key: '
|
535
|
+
} }, this.label && (index.h("label", { key: '9258dd4a34a28443665e798845cefe87ab471abb', class: "file-upload-label", htmlFor: this.internalId }, this.label, this.required && (index.h("span", { key: '62e786769e41ddb7d412a22157e4504719ac3900', class: `required ${this.requiredError ? 'error' : ''}` }, "*")))), this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea(), (this.files.length > 0 || this.rejectedSizeFiles.length > 0 || this.rejectedTypeFiles.length > 0) && (index.h("div", { key: 'f07d24d2f3cf47e44e244d85fede4d5c5a7ea4ff', class: "file-list-wrapper" }, index.h("div", { key: 'a2d6c4ce19e828d44dbf1f54e86d3964ad3cd442', class: "upload-heading" }, this.labelUploadedFilesHeading), index.h("ul", { key: '2c76503b9c39be82596f869e46052762f6ab7ac1', class: "file-list" }, this.rejectedSizeFiles.map(fileName => (index.h("li", { class: "file-item upload-failed", key: `rejected-size-${fileName}` }, index.h("div", { class: "file-icon" }, index.h("ifx-icon", { icon: "file-16" })), index.h("div", { class: "file-info" }, index.h("div", { class: "file-top-row" }, index.h("span", { class: "file-name-wrapper" }, index.h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), index.h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), index.h("div", { class: "file-actions" }, index.h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'size') }))), index.h("div", { class: "file-middle-row" }, index.h("span", { class: "file-status", "aria-label": this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString()) }, this.getFormattedFileTooLargeText())))))), this.rejectedTypeFiles.map(fileName => (index.h("li", { class: "file-item upload-failed", key: `rejected-type-${fileName}` }, index.h("div", { class: "file-icon" }, index.h("ifx-icon", { icon: "file-16" })), index.h("div", { class: "file-info" }, index.h("div", { class: "file-top-row" }, index.h("span", { class: "file-name-wrapper" }, index.h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), index.h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), index.h("div", { class: "file-actions" }, index.h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'type') }))), index.h("div", { class: "file-middle-row" }, index.h("span", { class: "file-status", "aria-label": this.labelUnsupportedFileType }, this.labelUnsupportedFileType)))))), this.files.map((file) => {
|
536
536
|
var _a;
|
537
537
|
const task = this.uploadTasks.find(t => t.file.name === file.name);
|
538
538
|
const progress = (_a = task === null || task === void 0 ? void 0 : task.progress) !== null && _a !== void 0 ? _a : 100;
|
@@ -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: 'dcee8e0efc95236f519e28d19819ec4ff308f5b6', class: `accordion ${this.expanded ? 'expanded' : ''}` }, index.h("div", { key: '53b7dae8f8a2798408ace40dcf18c602946c1b1f', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, index.h("div", { key: '1e8047d0e9808475d8bfaad216fa7d0a1024b696', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, index.h("div", { key: '8ca900b6cd9539106789327caef0e26120ecf795', class: "text" }, index.h("span", { key: '6da0944b9bfca9ad62ef0000da328a4a7ad7c972' }, this.filterGroupName), index.h("ifx-number-indicator", { key: 'f30c44cd8d704bb030be5fe9992d61bd9274435a' }, this.count)), index.h("ifx-icon", { key: '212e9e442d4e4a0da39985ec4ed57e804fbd5a90', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), index.h("ifx-icon", { key: 'bcc8e05d06158818f63f5d10fa505ac85a754f33', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
|
57
|
+
index.h("div", { key: 'd1756b49a90159e1d24397354e839a01abe534a2', class: "filter-accordion-container" }, index.h("slot", { key: '4020258a7ed72253cfa34cc53c15b8fe186d1d43', 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: '6b6f43a15e34306b15e594b3a73dbcab0ebe881e' }, index.h("div", { key: 'a444719b8ca1599f2416c3bd9d690731562a7fe4', class: "search-container" }, index.h("slot", { key: '4d8f9bee4ec182e3c17ebd1714c5ea903bc5e538', name: "filter-search" }), " "), index.h("div", { key: '4d3755201694ddefe9b4d9d1b7a3ad65036e91b2', class: "components-container" }, slots.length > 0 ? slots : index.h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (index.h("div", { key: '5ab036d16a8d8441a586770258b40c8bf6d06a40', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, index.h("ifx-button", { key: '82fa6ad85af9e6dd5b42d5b9087ab0cd15cefa44', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, index.h("ifx-icon", { key: '23085121e53980f58471af19fd9322f618c58313', 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: '5580e31d167e1559594e3e1f4580dc6d19dc9968', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, index.h("div", { key: '7eac96b49e4e281c6daf1c74bacd957ec86d01ca', class: "filter-name" }, this.filterName), index.h("ifx-search-field", { key: '827596a91c60c83ac1831427947305105952fe73', 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: '88595f680a4453f9d514a0f2f15ccd659b9a9ea3' }, index.h("div", { key: '71eade5ef05a39413fa51619ca731adc0cc846f6', class: "filter-type-group" }, index.h("slot", { key: '63021a6178acdb0534ba2dc940a3eb806e4751ce', name: "filter-search" }), index.h("slot", { key: '90726fa79bcc88dccd96cd0f53d2b17f506897e7', name: "filter-accordion" }))));
|
133
133
|
}
|
134
134
|
get el() { return index.getElement(this); }
|
135
135
|
};
|
@@ -12,7 +12,7 @@ const FooterColumn = class {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (index.h("div", { key: '
|
15
|
+
return (index.h("div", { key: '7aa95b8a15301c23ac2abc4cc3b3a8b819751094', class: "col" }, index.h("slot", { key: 'fa29a8a160f7e1b8630d7265fbcdaa05120299be', name: "title" }), index.h("span", { key: 'eac7c00dbec5752a416df5355f2bf4b1f4980b10', "aria-label": 'navigation link' }, index.h("slot", { key: 'df076a7b986e7318f38916ad6d4e7a24bf2111cc', name: "link" }))));
|
16
16
|
}
|
17
17
|
get el() { return index.getElement(this); }
|
18
18
|
};
|
@@ -20,10 +20,10 @@ const Footer = class {
|
|
20
20
|
this.hasSocialsSlot = !!this.el.querySelector('[slot="socials"]');
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (index.h(index.Host, { key: '
|
24
|
-
index.h("div", { key: '
|
25
|
-
index.h("div", { key: '
|
26
|
-
index.h("div", { key: '
|
23
|
+
return (index.h(index.Host, { key: '8a0eca9a83b01c82e83241b08bb04c313bf66384' }, index.h("footer", { key: 'bb05632d21d2d3c086e09875501e66701d341fd2', class: "footer__container" }, index.h("div", { key: 'a81e9ae63e0c0515ca12877ed01b643a2bdf8df7', class: "footer__wrapper" }, (this.hasSocialsSlot || this.hasColSlot) &&
|
24
|
+
index.h("div", { key: '43796b42c42979018c389c5a850c164d0af729b2', class: "footer__logo_top" }, index.h("svg", { key: '11a627bdba1eebf30722c31b7411f9b8009a95e6', "aria-hidden": "true", width: "91", height: "40", viewBox: "0 0 91 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '05540661b1c7b1b54f75dc62446d7588cdc0cb05', "clip-path": "url(#clip0_2396_2480)" }, index.h("path", { key: '8c340b9da4ed0829f316e97f35bcbf38cac3cd56', d: "M67.691 26.7766C71.0884 26.7766 72.1461 23.1841 72.1461 19.8802C72.1461 15.4536 70.2871 13.1441 67.691 13.1441C64.4219 13.1441 63.2681 16.7367 63.3001 19.9443C63.3322 23.1199 64.2296 26.7766 67.691 26.7766ZM66.0244 19.8481C66.0244 18.533 66.0244 15.4536 67.691 15.4536C69.4859 15.4536 69.4218 18.5009 69.4218 19.9123C69.4218 21.2595 69.4218 24.5313 67.7551 24.5313C65.9603 24.4992 66.0244 21.2274 66.0244 19.8481ZM57.8195 26.7766C59.1976 26.7766 60.3835 26.2313 61.5053 25.0445L60.5117 23.1841C59.7425 24.018 58.9733 24.4671 58.0438 24.4671C57.2746 24.4671 56.6336 24.018 56.249 23.2482C55.9285 22.5746 55.8644 21.8048 55.8644 20.9708V20.7142H61.6335V20.1368C61.6335 17.282 61.2809 15.7102 60.3835 14.5234C59.7104 13.6253 58.7169 13.1441 57.499 13.1441C56.2169 13.1441 55.1593 13.7215 54.39 14.8442C53.5567 16.0631 53.2042 17.699 53.2042 19.9443C53.1721 24.2426 54.8708 26.7766 57.8195 26.7766ZM57.531 15.2612C58.172 15.2612 58.5566 15.614 58.813 16.1914C59.0053 16.7046 59.1015 17.5707 59.1015 18.5971H55.8644C55.8964 16.3197 56.3772 15.2612 57.531 15.2612ZM74.2614 26.4559H76.7614V16.8329C77.3703 16.0952 78.0754 15.6782 78.5882 15.6782C78.9087 15.6782 79.2292 15.7423 79.4215 15.9989C79.6138 16.2876 79.71 16.7046 79.71 17.699V26.4559H82.21V16.5442C82.21 15.6782 82.1138 14.8121 81.601 14.1706C81.1523 13.5932 80.4472 13.2404 79.5497 13.2404C78.3959 13.2404 77.2101 13.914 76.569 14.6838C76.537 14.0102 76.3126 13.3687 76.2485 13.1441L73.9089 13.7536C74.0371 14.4593 74.2294 15.3253 74.2294 16.8971V26.4559H74.2614ZM45.2236 14.6838C45.1915 14.0102 44.9672 13.3687 44.9031 13.1441L42.5634 13.7536C42.6916 14.4593 42.8839 15.3253 42.8839 16.8971V26.4238H45.3838V16.8008C45.9928 16.0631 46.6979 15.6461 47.2107 15.6461C47.5312 15.6461 47.8517 15.7102 48.044 15.9669C48.2363 16.2555 48.3325 16.6725 48.3325 17.6669V26.4238H50.8324V16.5442C50.8324 15.6782 50.7363 14.8121 50.2235 14.1706C49.7748 13.5932 49.0696 13.2404 48.1722 13.2404C47.0505 13.2404 45.8646 13.914 45.2236 14.6838ZM14.6473 9.07042C16.1216 9.07042 17.3075 7.88359 17.3075 6.40807C17.3075 4.93256 16.1216 3.74573 14.6473 3.74573C13.173 3.74573 11.9871 4.93256 11.9871 6.40807C11.9871 7.88359 13.173 9.07042 14.6473 9.07042ZM26.9227 26.4559V16.5442C26.9227 15.6782 26.8265 14.8121 26.3137 14.1706C25.865 13.5932 25.1599 13.2404 24.2625 13.2404C23.1087 13.2404 21.9228 13.914 21.2818 14.6838C21.2497 14.0102 21.0254 13.3687 20.9613 13.1441L18.6536 13.7857C18.7818 14.4913 18.9741 15.3574 18.9741 16.9291V26.4559H21.4741V16.8329C22.0831 16.0952 22.7882 15.6782 23.301 15.6782C23.6215 15.6782 23.942 15.7423 24.1343 15.9989C24.3266 16.2876 24.4227 16.7046 24.4227 17.699V26.4559H26.9227ZM38.4289 8.36474C37.4994 8.36474 36.7622 9.10249 36.7622 10.0327C36.7622 10.9629 37.4994 11.7007 38.3968 11.7007C39.3263 11.7007 40.0634 10.9629 40.0634 10.0327C40.0634 9.10249 39.3263 8.36474 38.4289 8.36474ZM13.4614 26.4559H15.9614V10.8346L13.4614 11.1554V26.4559ZM33.8777 9.90441C34.3264 9.90441 34.7751 10.0648 35.0635 10.2893L35.7687 8.33266C35.0956 7.85151 34.3584 7.62698 33.429 7.62698C32.788 7.62698 32.1149 7.78736 31.5059 8.26851C30.897 8.78173 30.256 9.80818 30.256 11.7328C30.256 12.5667 30.288 13.4328 30.288 13.4328H29.4226V15.6461H30.288V26.4238H32.8521V15.6782H34.743L35.2238 13.4649H32.8841V11.4762C32.8841 10.5139 33.2687 9.90441 33.8777 9.90441ZM37.1468 26.4559H39.6788V13.2404L37.1468 13.5611V26.4559Z", fill: "#005DA9" }), index.h("path", { key: '9c3034513d67b2e0c345203481b0d3099178e401', d: "M77.0816 33.5126C68.6203 36.0146 58.3321 37.1052 48.2682 37.1052C22.7239 37.1052 6.24986 29.5993 5.09604 19.6877C4.67938 15.9668 7.59599 12.3422 12.4677 9.26285C11.6023 8.62132 11.0575 7.59488 11.0254 6.44012C3.97427 10.161 0 15.0366 0 19.9764C0 30.9145 19.5188 40.1525 48.5246 39.7676C58.6205 39.6393 67.0498 38.1958 74.6778 35.6939C83.7482 32.7428 89.4532 28.5087 90.8313 26.6483C89.1968 28.1238 85.3186 31.0748 77.0816 33.5126ZM23.2687 4.38723C24.9674 3.80985 27.3712 3.0721 27.3712 3.0721C34.1339 1.21166 41.6017 0.121063 48.5566 0.185215C40.544 -0.295931 33.2365 0.185215 26.8584 1.33997C26.8584 1.33997 24.743 1.69281 22.4675 2.27018C22.4675 2.27018 21.3777 2.55887 20.7047 2.75133C20.0316 2.94379 19.1021 3.2004 19.1021 3.2004C18.4611 3.39286 17.8201 3.6174 17.1791 3.84193C17.8201 4.48346 18.2047 5.31745 18.2368 6.27974C19.3586 5.76652 21.5059 4.99668 23.2687 4.38723Z", fill: "#E30034" })), index.h("defs", { key: '09b03dd7535db48d79ca676a7573b0e8dd4701de' }, index.h("clipPath", { key: '74db5dd3385aa77e354581ff48171c342b8d9f2f', id: "clip0_2396_2480" }, index.h("rect", { key: '9127a1cdf97f64b44ec81e76e46530bc3f062331', width: "91", height: "40", fill: "white" }))))), this.hasColSlot && (index.h("nav", { key: '0790bcce4f81bd7f36dd9c6d96d6d2ac0acbaed1' }, index.h("div", { key: '6f7325bd229d06247cc0de26f9cf7e65cdd3953c', class: "col-wrapper" }, index.h("slot", { key: 'b846a1e50bb659900d7ee153167f9424490c8a03', name: "col" })))), this.hasSocialsSlot &&
|
25
|
+
index.h("div", { key: '12b28b3076118e6b92b6685d86d58fe0417c2d4b', class: "default", "aria-label": 'Follow us on social media' }, index.h("div", { key: '86524dac9d05cecc7b302edf7533ec499d7ee0eb', class: "footer__logo_btm" }, index.h("svg", { key: 'd64b2bf4dda7ecdb560b6e6a8f72c22253a64ef8', width: "91", height: "40", viewBox: "0 0 91 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: 'af493ec2a9a55c3967cedfa4cc978d0331d9bac5', "clip-path": "url(#clip0_2396_2480)" }, index.h("path", { key: '6676adb1bb2aad39a1442d70e2dfa28e1c4192db', d: "M67.691 26.7766C71.0884 26.7766 72.1461 23.1841 72.1461 19.8802C72.1461 15.4536 70.2871 13.1441 67.691 13.1441C64.4219 13.1441 63.2681 16.7367 63.3001 19.9443C63.3322 23.1199 64.2296 26.7766 67.691 26.7766ZM66.0244 19.8481C66.0244 18.533 66.0244 15.4536 67.691 15.4536C69.4859 15.4536 69.4218 18.5009 69.4218 19.9123C69.4218 21.2595 69.4218 24.5313 67.7551 24.5313C65.9603 24.4992 66.0244 21.2274 66.0244 19.8481ZM57.8195 26.7766C59.1976 26.7766 60.3835 26.2313 61.5053 25.0445L60.5117 23.1841C59.7425 24.018 58.9733 24.4671 58.0438 24.4671C57.2746 24.4671 56.6336 24.018 56.249 23.2482C55.9285 22.5746 55.8644 21.8048 55.8644 20.9708V20.7142H61.6335V20.1368C61.6335 17.282 61.2809 15.7102 60.3835 14.5234C59.7104 13.6253 58.7169 13.1441 57.499 13.1441C56.2169 13.1441 55.1593 13.7215 54.39 14.8442C53.5567 16.0631 53.2042 17.699 53.2042 19.9443C53.1721 24.2426 54.8708 26.7766 57.8195 26.7766ZM57.531 15.2612C58.172 15.2612 58.5566 15.614 58.813 16.1914C59.0053 16.7046 59.1015 17.5707 59.1015 18.5971H55.8644C55.8964 16.3197 56.3772 15.2612 57.531 15.2612ZM74.2614 26.4559H76.7614V16.8329C77.3703 16.0952 78.0754 15.6782 78.5882 15.6782C78.9087 15.6782 79.2292 15.7423 79.4215 15.9989C79.6138 16.2876 79.71 16.7046 79.71 17.699V26.4559H82.21V16.5442C82.21 15.6782 82.1138 14.8121 81.601 14.1706C81.1523 13.5932 80.4472 13.2404 79.5497 13.2404C78.3959 13.2404 77.2101 13.914 76.569 14.6838C76.537 14.0102 76.3126 13.3687 76.2485 13.1441L73.9089 13.7536C74.0371 14.4593 74.2294 15.3253 74.2294 16.8971V26.4559H74.2614ZM45.2236 14.6838C45.1915 14.0102 44.9672 13.3687 44.9031 13.1441L42.5634 13.7536C42.6916 14.4593 42.8839 15.3253 42.8839 16.8971V26.4238H45.3838V16.8008C45.9928 16.0631 46.6979 15.6461 47.2107 15.6461C47.5312 15.6461 47.8517 15.7102 48.044 15.9669C48.2363 16.2555 48.3325 16.6725 48.3325 17.6669V26.4238H50.8324V16.5442C50.8324 15.6782 50.7363 14.8121 50.2235 14.1706C49.7748 13.5932 49.0696 13.2404 48.1722 13.2404C47.0505 13.2404 45.8646 13.914 45.2236 14.6838ZM14.6473 9.07042C16.1216 9.07042 17.3075 7.88359 17.3075 6.40807C17.3075 4.93256 16.1216 3.74573 14.6473 3.74573C13.173 3.74573 11.9871 4.93256 11.9871 6.40807C11.9871 7.88359 13.173 9.07042 14.6473 9.07042ZM26.9227 26.4559V16.5442C26.9227 15.6782 26.8265 14.8121 26.3137 14.1706C25.865 13.5932 25.1599 13.2404 24.2625 13.2404C23.1087 13.2404 21.9228 13.914 21.2818 14.6838C21.2497 14.0102 21.0254 13.3687 20.9613 13.1441L18.6536 13.7857C18.7818 14.4913 18.9741 15.3574 18.9741 16.9291V26.4559H21.4741V16.8329C22.0831 16.0952 22.7882 15.6782 23.301 15.6782C23.6215 15.6782 23.942 15.7423 24.1343 15.9989C24.3266 16.2876 24.4227 16.7046 24.4227 17.699V26.4559H26.9227ZM38.4289 8.36474C37.4994 8.36474 36.7622 9.10249 36.7622 10.0327C36.7622 10.9629 37.4994 11.7007 38.3968 11.7007C39.3263 11.7007 40.0634 10.9629 40.0634 10.0327C40.0634 9.10249 39.3263 8.36474 38.4289 8.36474ZM13.4614 26.4559H15.9614V10.8346L13.4614 11.1554V26.4559ZM33.8777 9.90441C34.3264 9.90441 34.7751 10.0648 35.0635 10.2893L35.7687 8.33266C35.0956 7.85151 34.3584 7.62698 33.429 7.62698C32.788 7.62698 32.1149 7.78736 31.5059 8.26851C30.897 8.78173 30.256 9.80818 30.256 11.7328C30.256 12.5667 30.288 13.4328 30.288 13.4328H29.4226V15.6461H30.288V26.4238H32.8521V15.6782H34.743L35.2238 13.4649H32.8841V11.4762C32.8841 10.5139 33.2687 9.90441 33.8777 9.90441ZM37.1468 26.4559H39.6788V13.2404L37.1468 13.5611V26.4559Z", fill: "#005DA9" }), index.h("path", { key: '79b0bcb1bf3f790ed9a7a9682f94424115049f19', d: "M77.0816 33.5126C68.6203 36.0146 58.3321 37.1052 48.2682 37.1052C22.7239 37.1052 6.24986 29.5993 5.09604 19.6877C4.67938 15.9668 7.59599 12.3422 12.4677 9.26285C11.6023 8.62132 11.0575 7.59488 11.0254 6.44012C3.97427 10.161 0 15.0366 0 19.9764C0 30.9145 19.5188 40.1525 48.5246 39.7676C58.6205 39.6393 67.0498 38.1958 74.6778 35.6939C83.7482 32.7428 89.4532 28.5087 90.8313 26.6483C89.1968 28.1238 85.3186 31.0748 77.0816 33.5126ZM23.2687 4.38723C24.9674 3.80985 27.3712 3.0721 27.3712 3.0721C34.1339 1.21166 41.6017 0.121063 48.5566 0.185215C40.544 -0.295931 33.2365 0.185215 26.8584 1.33997C26.8584 1.33997 24.743 1.69281 22.4675 2.27018C22.4675 2.27018 21.3777 2.55887 20.7047 2.75133C20.0316 2.94379 19.1021 3.2004 19.1021 3.2004C18.4611 3.39286 17.8201 3.6174 17.1791 3.84193C17.8201 4.48346 18.2047 5.31745 18.2368 6.27974C19.3586 5.76652 21.5059 4.99668 23.2687 4.38723Z", fill: "#E30034" })), index.h("defs", { key: 'ef64f04407945b8d0eefc4ffe15089c6960ea6c4' }, index.h("clipPath", { key: '837102c532377ffad69428da9828bf02bcf3c266', id: "clip0_2396_2480" }, index.h("rect", { key: '22ceece2d9cd3a7696a2903b3f97b266c47c918f', width: "91", height: "40", fill: "white" }))))), index.h("slot", { key: 'ca30e6cdcdeaedddb81ab78cba10715f5865ef83', name: "socials" })), index.h("div", { key: '3421b781dc546bdefce8b4f669fc47ac3ba3253a', class: "footer__base" }, this.copyrightText &&
|
26
|
+
index.h("div", { key: '59a60d757670ac822ae685633596af59bf58bf10', class: "footer__brand" }, this.copyrightText), index.h("div", { key: '69215073b07f8fadf3963e74c79e67bb0db6d4d1', class: "footer__info" }, index.h("slot", { key: '861c20986762eb9cd4a53a431790938416fcf53b', name: "info" })))))));
|
27
27
|
}
|
28
28
|
get el() { return index.getElement(this); }
|
29
29
|
};
|
@@ -28,7 +28,7 @@ const IconButton = class {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
render() {
|
31
|
-
return (index.h(index.Host, { key: '
|
31
|
+
return (index.h(index.Host, { key: '76ee6d778296f5334121e83a5a15a15025c3dd13', "aria-disabled": this.disabled, "aria-label": this.ariaLabel }, this.href ? (index.h("a", { ref: (el) => (this.focusableElement = el), class: this.getClassNames(), href: !this.disabled ? this.href : undefined, target: this.target, rel: this.target === '_blank' ? 'noopener noreferrer' : undefined }, index.h("ifx-icon", { icon: this.icon }))) : (index.h("button", { class: this.getClassNames(), type: "button", disabled: this.disabled }, index.h("ifx-icon", { icon: this.icon })))));
|
32
32
|
}
|
33
33
|
getVariantClass() {
|
34
34
|
return `${this.variant}` === "secondary"
|
@@ -68,7 +68,7 @@ const InfineonIconStencil = class {
|
|
68
68
|
this.ifxIcon = icons.getIcon(removeHyphen(this.icon));
|
69
69
|
}
|
70
70
|
render() {
|
71
|
-
return (index.h(index.Host, { key: '
|
71
|
+
return (index.h(index.Host, { key: '775fda2fec495006f6ae41fc2463a055df1067cf' }, this.constructIcon()));
|
72
72
|
}
|
73
73
|
};
|
74
74
|
InfineonIconStencil.style = IfxIconStyle0;
|
@@ -37,7 +37,7 @@ const IconsPreview = class {
|
|
37
37
|
}
|
38
38
|
}
|
39
39
|
render() {
|
40
|
-
return (index.h("div", { key: '
|
40
|
+
return (index.h("div", { key: 'e5e0788565bb50d8b50f202e3824afe86e2a158e', class: 'container' }, index.h("div", { key: 'ae158193f2a9181eb1426480ea2b94f7430f5eca', class: "alert__wrapper" }, index.h("ifx-notification", { key: '8345b299944d276859d0ddc7514fc6df1cb13784', icon: "c-check-16", variant: "neutral", "link-text": "Figma icon library", "link-href": "https://www.figma.com/design/yWwaLoqsWLWygDxXfvdym9/Infineon-DDS-%7C-UI-icon-library?node-id=13284-1289&p=f&t=SD6EdmXaSufsjPCv-0", "link-target": "_blank" }, "You can also find the UI icons in Figma for use in mockups.")), index.h("div", { key: '1aa82aeee7fbf2fcbdef49dad691cc1a45da9fc3', class: 'html-wrapper' }, index.h("span", { key: 'd8ed26f941d413ed9c97ad913ab0099119a824c6', class: "html-tag" }, "<"), index.h("span", { key: '5061e0909765b0e654a387610a05cb66c5218265', class: "component-name" }, "ifx-icon"), index.h("span", { key: 'c72b7029ae8c6a61ef58a337a203952e8f313d3e', class: "attribute-name" }, " icon"), "=", index.h("span", { key: '9dc24de771b12f7c35ef12a666446053043b70c5', class: "attribute-value" }, this.iconName), index.h("span", { key: '5fab1ce949dbe53f00c350ad5f214448d9b57e7a', class: "html-tag" }, ">"), index.h("span", { key: '84a21a9f0f9a8b2c0c92d9d12f43e371d0773810', class: "html-tag" }, "</"), index.h("span", { key: '2a41361f12ccd3c314b3fce84e1db9a667c594a9', class: "component-name" }, "ifx-icon"), index.h("span", { key: '8a0e75935ce8736caccac24709904112ec539b73', class: "html-tag" }, ">"), index.h("button", { key: '83a4d63fec9460cc387abe1488f220472ab3b16f', onClick: () => this.copyHtmlString() }, this.isCopied ? 'Copied' : 'Copy')), index.h("div", { key: '972b1d933d4e31c5ba78e629414c8f20c52cbb23', class: "preview__container" }, this.iconsArray.map((icon, index$1) => index.h("div", { class: `preview__container-item ${this.isCopied && this.copiedIndex === index$1 ? 'copied' : ""}`, onClick: () => this.copyIconText(icon) }, index.h("ifx-icon", { icon: icon }))))));
|
41
41
|
}
|
42
42
|
get el() { return index.getElement(this); }
|
43
43
|
};
|
@@ -41,7 +41,7 @@ const Link = class {
|
|
41
41
|
}
|
42
42
|
}
|
43
43
|
render() {
|
44
|
-
return (index.h("a", { key: '
|
44
|
+
return (index.h("a", { key: 'a69268e5561febf610ba6a47f2dcc4759a63cb60', role: "link", "aria-label": this.ariaLabel, "aria-disabled": this.disabled || !this.internalHref, href: this.disabled ? undefined : this.internalHref, download: this.download, target: this.internalTarget, class: this.linkClassNames() }, index.h("slot", { key: '23793b0f016486595e4e10dff4b5741411ffbc6c' })));
|
45
45
|
}
|
46
46
|
getSizeClass() {
|
47
47
|
const small = this.size === 's' ? 'small' : null;
|
@@ -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: 'd3e8cf091f71dc4e2fb56230a807712bc6012dc3', 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 {
|