@infineon/infineon-design-system-stencil 33.4.1--canary.1855.9072f261ae1648f3cac7f0ecf35a72e7d31be400.0 → 33.4.1--canary.1855.420b7862d699aa915f9b73ca7df50510dc35789a.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +1 -1
- package/dist/cjs/ifx-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/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-2ba2b196.js → p-45f2dea4.js} +3 -3
- package/dist/components/{p-2ba2b196.js.map → p-45f2dea4.js.map} +1 -1
- 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-49f70934.js → p-78a11a55.js} +4 -4
- package/dist/components/{p-49f70934.js.map → p-78a11a55.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-45c75348.js → p-9b400f64.js} +2 -2
- package/dist/components/{p-45c75348.js.map → p-9b400f64.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-c4b939c0.js → p-d64e5297.js} +6 -6
- package/dist/components/{p-c4b939c0.js.map → p-d64e5297.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-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-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/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-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
@@ -1,5 +1,5 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-2cc378b8.js';
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
2
|
+
import { d as defineCustomElement$1 } from './p-2a46b223.js';
|
3
3
|
|
4
4
|
const accordionItemCss = ":root{font-family:\"Source Sans 3\", sans-serif}.accordion-item{border-radius:3px;overflow:hidden;transition:all 0.3s;font-family:\"Source Sans 3\"}.accordion-title:focus{outline:none}.accordion-title:focus::after{content:\"\";display:block;position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;border-radius:5px;border:2px solid #0A8276;box-sizing:border-box}.accordion-title:hover{border:1px solid #EEEDED;color:#08665C}.accordion-title{display:flex;align-items:center;position:relative;padding:12px 16px;gap:12px;color:#0A8276;background-color:#FFFFFF;border:1px solid #EEEDED;cursor:pointer;margin:4px}.accordion-caption{font-weight:600;font-size:1.125rem}.accordion-content{gap:8px;max-height:0;overflow:hidden;transition:max-height 0.3s ease-in-out;line-height:24px;font-size:1rem;font-weight:400}.inner-content{background-color:#FFFFFF;padding:24px;word-wrap:break-word;overflow-wrap:anywhere;align-self:stretch;}.accordion-icon{font-weight:bold;display:inline-block;transition:transform 0.3s}.accordion-icon:hover{color:#08665C}.accordion-item.open .accordion-icon{transform:rotate(-180deg)}";
|
5
5
|
const IfxAccordionItemStyle0 = accordionItemCss;
|
@@ -116,4 +116,4 @@ function defineCustomElement() {
|
|
116
116
|
|
117
117
|
export { IfxAccordionItem as I, defineCustomElement as d };
|
118
118
|
|
119
|
-
//# sourceMappingURL=p-
|
119
|
+
//# sourceMappingURL=p-f7a8339d.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"p-
|
1
|
+
{"file":"p-f7a8339d.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,mlCAAmlC,CAAC;AAC7mC,+BAAe,gBAAgB;;MCOlB,gBAAgB;IAL7B;;;;;;QAUK,SAAI,GAAY,KAAK,CAAC;QACjB,cAAS,GAAG,CAAC,CAAC;QACb,iBAAY,GAAY,KAAK,CAAC;KA0GxC;IAnGC,iBAAiB;QACf,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC;KAC/B;IAED,gBAAgB;QACd,IAAI,CAAC,iBAAiB,EAAE,CAAA;KACzB;IAED,kBAAkB;QAChB,IAAI,CAAC,iBAAiB,EAAE,CAAA;KACzB;IAKD,WAAW,CAAC,QAAiB;QAC3B,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;KAC9B;IAED,UAAU;QACR,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC;QAE9B,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;SAClD;aAAM;YACL,IAAI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ordionItem.tsx"],"sourcesContent":["// ifxAccordionItem.scss\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n\n.accordion-item {\n border-radius: 3px;\n overflow: hidden;\n transition: all 0.3s;\n font-family: tokens.$ifxFontFamilyBody;\n\n}\n\n.accordion-title:focus {\n outline: none;\n}\n\n// workaround to add corner radius to outline\n.accordion-title:focus::after {\n content: '';\n display: block;\n position: absolute;\n top: -4px;\n bottom: -4px;\n left: -4px;\n right: -4px;\n border-radius: 5px;\n border: 2px solid tokens.$ifxColorOcean500;\n box-sizing: border-box;\n}\n\n.accordion-title:hover {\n border: 1px solid tokens.$ifxColorEngineering200;\n color: tokens.$ifxColorOcean600;\n}\n\n.accordion-title {\n display: flex;\n align-items: center;\n position: relative;\n padding: tokens.$ifxSpace150 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace150;\n color: tokens.$ifxColorOcean500;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid tokens.$ifxColorEngineering200;\n cursor: pointer;\n margin: 4px;\n}\n\n.accordion-caption {\n font-weight: tokens.$ifxFontWeightSemibold;\n font-size: tokens.$ifxFontSizeL;\n}\n\n.accordion-content {\n gap: tokens.$ifxSpace100;\n max-height: 0;\n overflow: hidden;\n transition: max-height 0.3s ease-in-out;\n line-height: 24px;\n font-size: tokens.$ifxFontSizeM;\n font-weight: 400;\n}\n\n.inner-content {\n background-color: tokens.$ifxColorBaseWhite;\n padding: tokens.$ifxSpace300;\n // white-space: pre-wrap;\n /* wraps text at spaces and within words */\n word-wrap: break-word;\n /* breaks text within a word if necessary */\n overflow-wrap: anywhere;\n align-self: stretch;\n\n /* breaks text at arbitrary points when needed */\n}\n\n.accordion-icon {\n font-weight: bold;\n display: inline-block;\n transition: transform 0.3s;\n\n &:hover {\n color: tokens.$ifxColorOcean600;\n\n }\n}\n\n\n\n.accordion-item.open .accordion-icon {\n transform: rotate(-180deg);\n}","//ifxAccordionItem\nimport { Component, Prop, h, State, Event, EventEmitter, Watch, Listen, Element } from '@stencil/core';\n\n@Component({\n tag: 'ifx-accordion-item',\n styleUrl: 'accordionItem.scss',\n shadow: true,\n})\nexport class IfxAccordionItem {\n @Element() el;\n @Prop() caption: string;\n @Prop({\n mutable: true,\n }) open: boolean = false;\n @Prop() AriaLevel = 3;\n @State() internalOpen: boolean = false;\n @Event() ifxOpen: EventEmitter;\n @Event() ifxClose: EventEmitter;\n private contentEl!: HTMLElement;\n private titleEl!: HTMLElement;\n\n\n componentWillLoad() {\n this.internalOpen = this.open;\n }\n\n componentDidLoad() {\n this.openAccordionItem()\n }\n\n componentDidUpdate() {\n this.openAccordionItem()\n }\n\n\n\n @Watch('open')\n openChanged(newValue: boolean) {\n this.internalOpen = newValue;\n }\n\n toggleOpen() {\n this.internalOpen = !this.internalOpen;\n this.open = this.internalOpen;\n\n if (this.internalOpen) {\n this.ifxOpen.emit({ isOpen: this.internalOpen });\n } else {\n this.ifxClose.emit({ isClosed: !this.internalOpen });\n }\n }\n\n openAccordionItem() {\n if (this.internalOpen) {\n this.contentEl.style.maxHeight = `${this.contentEl.scrollHeight}px`;\n } else {\n this.contentEl.style.maxHeight = '0';\n }\n }\n\n handleSlotChange(e) {\n const slotElement = e.target;\n const nodes = slotElement.assignedNodes();\n \n if(nodes.length > 0) {\n nodes.forEach(node => {\n const observer = new MutationObserver((mutationsList, _) => {\n for(let mutation of mutationsList) {\n if (mutation.type === 'childList') {\n if (this.internalOpen) {\n this.openAccordionItem();\n }\n }\n }\n });\n observer.observe(node, { attributes: true, childList: true, subtree: true });\n });\n }\n\n if (this.internalOpen) {\n this.openAccordionItem();\n }\n }\n\n \n\n @Listen('keydown')\n handleKeydown(ev: KeyboardEvent) {\n const path = ev.composedPath();\n\n if(!path.includes(this.titleEl)) { \n return;\n }\n\n switch (ev.key) {\n case 'Enter': // fallthrough\n case ' ': // space\n ev.preventDefault();\n this.toggleOpen();\n break;\n }\n }\n\n\n render() {\n return (\n <div class={`accordion-item ${this.internalOpen ? 'open' : ''}`}>\n <div role=\"button\" aria-expanded={this.internalOpen} aria-controls=\"accordion-content\" class=\"accordion-title\" onClick={() => this.toggleOpen()} tabindex='0' ref={(el) => (this.titleEl = el as HTMLElement)}>\n <span aria-hidden=\"true\" role=\"heading\" aria-level={String(this.AriaLevel) as string} class=\"accordion-icon\">\n <ifx-icon icon=\"chevron-down-12\"/>\n </span>\n <span id=\"accordion-caption\" class=\"accordion-caption\">{this.caption}</span>\n </div>\n <div id=\"accordion-content\" class=\"accordion-content\" ref={(el) => (this.contentEl = el as HTMLElement)} role=\"region\" aria-labelledby=\"accordion-caption\">\n <div class=\"inner-content\">\n <slot onSlotchange={(e) => this.handleSlotChange(e)} />\n </div>\n </div>\n </div>\n );\n }\n}"],"version":3}
|
@@ -39,7 +39,7 @@ const Link = /*@__PURE__*/ proxyCustomElement(class Link extends H {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
render() {
|
42
|
-
return (h("a", { key: '
|
42
|
+
return (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() }, h("slot", { key: '23793b0f016486595e4e10dff4b5741411ffbc6c' })));
|
43
43
|
}
|
44
44
|
getSizeClass() {
|
45
45
|
const small = this.size === 's' ? 'small' : null;
|
@@ -116,4 +116,4 @@ function defineCustomElement() {
|
|
116
116
|
|
117
117
|
export { Link as L, defineCustomElement as d };
|
118
118
|
|
119
|
-
//# sourceMappingURL=p-
|
119
|
+
//# sourceMappingURL=p-f8ce0088.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"p-
|
1
|
+
{"file":"p-f8ce0088.js","mappings":";;;AAAA,MAAM,OAAO,GAAG,0yCAA0yC,CAAC;AAC3zC,sBAAe,OAAO;;MCST,IAAI;IANjB;;;;QAOU,SAAI,GAAW,SAAS,CAAC;QACzB,WAAM,GAAW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,OAAO,UAAU,CACf,MAAM,EACN,SAAS,EACT,IAAI,CAAC,eAAe,EAAE,EACtB,IAAI,CAAC,YAAY,EAAE,EACnB,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAChC,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/link/link.scss?tag=ifx-link&encapsulation=shadow","src/components/link/link.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n}\n\n.link {\n display: inline-flex;\n align-items: center;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n text-decoration: none;\n color: tokens.$ifxColorOcean500;\n gap: tokens.$ifxSpace100;\n line-height: 1.6;\n font-family: tokens.$ifxFontFamilyBody;\n\n &:hover { \n cursor: pointer;\n }\n\n &:focus {\n outline-width: 2px;\n outline-style: solid;\n outline-color: #0A8276;\n outline-offset: 4px;\n border-radius: 3px;\n }\n\n &.bold {\n font-weight: tokens.$ifxFontWeightSemibold;\n\n &:hover {\n text-decoration: underline;\n }\n\n &:active {\n color: #08665C;\n font-style: normal;\n font-weight: 600;\n text-decoration: underline;\n }\n\n }\n\n &.underlined {\n text-decoration: underline;\n text-decoration-color: tokens.$ifxColorOcean500;\n color: #1D1D1D;\n text-underline-offset: 8px;\n \n &:hover {\n color: tokens.$ifxColorOcean500;;\n }\n \n &:active {\n color: #0A8276;\n }\n\n &:disabled,\n &.disabled {\n text-decoration-color: tokens.$ifxColorEngineering300;\n }\n }\n\n &.title {\n text-decoration: none;\n font-weight: tokens.$ifxFontWeightSemibold;\n color: #1D1D1D;\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n }\n\n &:active {\n color: #08665C;\n }\n }\n\n &.menu {\n font-weight: 400;\n font-style: normal;\n line-height: 26px;\n color: #1D1D1D;\n\n &:hover {\n color: tokens.$ifxColorOcean500;\n }\n\n &:active {\n color: #08665C;\n }\n }\n\n &.small {\n font-size: tokens.$ifxFontSizeS;\n }\n\n &.medium {\n font-size: tokens.$ifxFontSizeM;\n }\n\n &.large {\n font-size: tokens.$ifxFontSizeL;\n }\n\n &.extraLarge {\n font-size: tokens.$ifxFontSizeXl;\n }\n\n &.underline {\n text-decoration: underline;\n }\n\n &:disabled,\n &.disabled {\n color: tokens.$ifxColorEngineering300;\n cursor: default;\n pointer-events: none;\n }\n\n}","import { Component, Prop, h, State } from \"@stencil/core\";\nimport classNames from 'classnames';\n \n\n@Component({\n tag: 'ifx-link',\n styleUrl: 'link.scss',\n shadow: true\n})\n\nexport class Link {\n @Prop() href: string = undefined;\n @Prop() target: string = '_self';\n @Prop() variant: string = 'bold';\n @Prop() size: string;\n @Prop() disabled: boolean = false;\n @Prop() download: string;\n @Prop() ariaLabel: string | null;\n @State() internalHref: string ='';\n @State() internalTarget: string = '';\n @State() internalVariant: string = '';\n\n setInternalStates() {\n if(this.href){\n this.internalHref = this.href.trim();\n }else{\n this.internalHref = undefined;\n }\n this.internalTarget = this.target.trim();\n this.internalVariant = this.variant.trim().toLowerCase();\n }\n\n componentWillRender(){\n this.setInternalStates();\n }\n\n handleKeyDown(event: KeyboardEvent) {\n if (this.disabled) {\n event.preventDefault();\n } else if (event.key === 'Enter') {\n event.preventDefault();\n }\n }\n\n render() {\n return (\n <a\n role=\"link\"\n aria-label={this.ariaLabel}\n aria-disabled={this.disabled || !this.internalHref}\n href={this.disabled ? undefined : this.internalHref}\n download={this.download}\n target={this.internalTarget}\n class={this.linkClassNames()}>\n <slot></slot>\n </a>)\n }\n\n getSizeClass() {\n const small = this.size === 's' ? 'small' : null;\n const medium = this.size === 'm' ? 'medium' : null;\n const large = this.size === 'l' ? 'large' : null;\n const extraLarge = this.size === 'xl' ? 'extraLarge' : null;\n\n if (small) {\n return small;\n } else if (medium) {\n return medium;\n } else if (large) {\n return large;\n } else if (extraLarge && this.internalVariant === 'underlined') {\n return 'large';\n } else if (extraLarge && this.internalVariant !== 'underlined') {\n return extraLarge;\n } else return \"\";\n }\n\n getVariantClass() {\n const bold = this.internalVariant === 'bold' ? 'bold' : null;\n const title = this.internalVariant === 'title' ? 'title' : null;\n const underlined = this.internalVariant === 'underlined' ? 'underlined' : null;\n const menu = this.internalVariant === 'menu' ? 'menu' : null;\n\n if (bold) {\n return bold\n } else if (title) {\n return title;\n } else if (underlined) {\n return underlined;\n } else if (menu) {\n return menu;\n } else return bold;\n }\n\n linkClassNames() {\n return classNames(\n 'link',\n 'primary',\n this.getVariantClass(),\n this.getSizeClass(),\n this.disabled ? 'disabled' : '',\n );\n }\n}"],"version":3}
|
@@ -173,7 +173,7 @@ const Template = class {
|
|
173
173
|
}
|
174
174
|
}
|
175
175
|
render() {
|
176
|
-
return (h("div", { key: '
|
176
|
+
return (h("div", { key: '168d0844f5ce2d89964476d312579e1771c35886' }, this.isTemplatePage
|
177
177
|
?
|
178
178
|
h("div", { class: "template__page-wrapper" }, !this.repoUrl && !this.repoError &&
|
179
179
|
h("div", null, h("h3", null, "Your repository is getting ready.."), h("p", null, "This will only take a minute.")), this.isLoading && !this.repoError && h("div", null, h("ifx-spinner", { variant: 'default', size: 's' })), this.repoUrl && h("ifx-link", { href: this.repoUrl, target: "_parent", size: "m", variant: "underlined" }, "Your repository"), this.repoError && h("div", null, this.repoError))
|
@@ -179,7 +179,7 @@ const Table = class {
|
|
179
179
|
return {};
|
180
180
|
}
|
181
181
|
render() {
|
182
|
-
return (h(Host, { key: '
|
182
|
+
return (h(Host, { key: 'bb4f66d3a409a2b06cb72f7fdc445df10358c591' }, h("div", { key: '873b1fa7aa2086cc4de9763c001dbcabc649d68f', id: "table-wrapper", class: this.getClassNames() }, h("div", { key: 'a0cfe32c9f60f075234b4e29cbdd56c867699417', id: `ifxTable-${this.uniqueKey}`, class: `ifx-ag-grid ${this.variant === 'zebra' ? 'zebra' : ""}`, style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
|
183
183
|
}
|
184
184
|
get host() { return getElement(this); }
|
185
185
|
};
|
@@ -481,7 +481,7 @@ const Pagination = class {
|
|
481
481
|
this.initPagination();
|
482
482
|
}
|
483
483
|
render() {
|
484
|
-
return (h("div", { key: '
|
484
|
+
return (h("div", { key: '2db22cea600f9d93a048dbfa6748f6c0a12aa5f5', class: "container" }, h("div", { key: '33a7bf4cc2178bd8777264177411ba19cf944a78', class: "items__per-page-wrapper" }, h("div", { key: '9d6bcb6005180b6cd06c6b619317283d047b2f68', class: "items__per-page-label" }, "Results per Page"), h("div", { key: 'd468243b87792d9543481022c7a4f0c5b3fdd805', class: "items__per-page-field" }, h("ifx-select", { key: '48b87e0a1dbfcff4b9468b134f0f3a609c7b2aca', placeholder: 'false', "show-search": 'false', value: undefined, disabled: false, error: false, size: "s", options: this.filteredItemsPerPage, "placeholder-value": "Select" }))), h("div", { key: '11c0559524ac4239d4239e97088c7b8f7dee813e', class: "items__total-wrapper" }, h("div", { key: 'a0c52f73524aec6c33b4af18010e8783e1cea524', class: "pagination" }, h("ifx-icon-button", { key: '40a755dce92de2dd8d14846bcf2269a0e74ff6db', class: "prev", icon: "arrow-left-24", onClick: () => this.changePage(this.internalPage - 1) }), h("ol", { key: '24cd5cb3dfc5b33d809099efd1b979c24e19d676' }, this.visiblePages.map((page, i) => typeof page === 'number' ? (h("li", { key: `page-${page}`, class: { [this.CLASS_ACTIVE]: page === this.internalPage }, "data-page": page }, h("a", { href: "javascript:void(0)" }, page))) : (h("li", { class: "ellipsis", key: `ellipsis-${i}` }, h("span", null, "..."))))), h("ifx-icon-button", { key: '4c8276b66ff84a6280543066c48e6eb88310de83', class: "next", icon: "arrow-right-24", onClick: () => this.changePage(this.internalPage + 1) })))));
|
485
485
|
}
|
486
486
|
get el() { return getElement(this); }
|
487
487
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c77e25a0.js';
|
2
2
|
|
3
|
-
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}";
|
3
|
+
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}";
|
4
4
|
const IfxDatePickerStyle0 = datePickerCss;
|
5
5
|
|
6
6
|
const DatePicker = class {
|
@@ -99,7 +99,8 @@ const DatePicker = class {
|
|
99
99
|
}
|
100
100
|
render() {
|
101
101
|
var _a, _b;
|
102
|
-
return (h("div", { key: '4fd623e58f74d41cc7871b4971b4bd3806f310b2', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '75f325296e0733fbe2021718b580ed1049248ffa', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
102
|
+
return (h("div", { key: '4fd623e58f74d41cc7871b4971b4bd3806f310b2', class: `date__picker-container ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '75f325296e0733fbe2021718b580ed1049248ffa', class: 'label__wrapper', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
103
|
+
_a.trim(), h("span", { key: '02de17b70b3d0af8d59cb2d13ec7b17ea939f2db', class: `asterisk ${this.required ? 'required' : ""} ${this.error ? 'error' : ""}` }, "*")), h("div", { key: '7bf28947be09f941fb0bf4972e0c8c105366488b', class: `input__wrapper ${this.size === 'l' ? 'large' : 'small'} ${this.disabled ? 'disabled' : ''}` }, 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) }), h("div", { key: '87880933e1ec373376f2ff4dde170ad29bd326bf', class: "icon__wrapper", role: "button", onClick: () => this.handleInputFocusOnIconClick() }, h("ifx-icon", { key: '81bd4154b84f9c1bb48fc6ac6574a915aca0dfce', icon: 'calendar16', "aria-hidden": "true" }))), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (h("div", { key: '371a538db6b4c5e119e436b9dfccff1c5ad35cf1', class: 'caption__wrapper' }, this.caption.trim()))));
|
103
104
|
}
|
104
105
|
static get formAssociated() { return true; }
|
105
106
|
get el() { return getElement(this); }
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"ifx-date-picker.entry.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,GAAG,YAAY,CAAC,QA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EACP;KACF;;;;AAGH,IAAI,YAAY,GAAG,CAAC,CAAC;;;;;","names":[],"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.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,OAAO,EAAE,CAAC;QACnC,MAAM,KAAK,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AAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAI,EACpC,4DAAK,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,2BAA2B,EAAE,IACxF,iEAAU,IAAI,EAAC,YAAY,iBAAa,MAAM,GAAY,CACtD,CACF,EAEJ,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,EAAE,MAClB,4DAAK,KAAK,EAAC,kBAAkB,IACzB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CACjB,CACP,CACC,EACP;KACF;;;;AAGH,IAAI,YAAY,GAAG,CAAC,CAAC;;;;;","names":[],"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}
|
@@ -16,7 +16,7 @@ const Download = class {
|
|
16
16
|
const fileName = `infineon-tokens.${this.tokens}`;
|
17
17
|
const sourceFile = fileMap[this.tokens];
|
18
18
|
const fileUrl = `https://raw.githubusercontent.com/Infineon/public-assets/main/ifx-tokens/${sourceFile}`;
|
19
|
-
return (h("ifx-link", { key: '
|
19
|
+
return (h("ifx-link", { key: '8a05f429c2d8c9bfcb132df3fda0aa47d7109b67', onClick: (e) => {
|
20
20
|
e.preventDefault();
|
21
21
|
fetch(fileUrl)
|
22
22
|
.then(res => res.blob())
|
@@ -26,7 +26,7 @@ const Download = class {
|
|
26
26
|
link.download = fileName;
|
27
27
|
link.click();
|
28
28
|
});
|
29
|
-
}, href: fileUrl, download: fileName, class: "download__wrapper", size: "m", variant: "bold" }, h("slot", { key: '
|
29
|
+
}, href: fileUrl, download: fileName, class: "download__wrapper", size: "m", variant: "bold" }, h("slot", { key: '72d494771e43406d7f85122f22300f3524fd94b1' })));
|
30
30
|
}
|
31
31
|
};
|
32
32
|
Download.style = IfxDownloadStyle0;
|
@@ -8,7 +8,7 @@ const DropdownHeader = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return (h("div", { key: '
|
11
|
+
return (h("div", { key: 'd93c45a63fba5ca781065e118af56370ddb340eb', class: 'dropdown-header' }, h("span", { key: 'dbcc17303d9d0cef7daf2150ac77833498f76ae7' }, h("slot", { key: 'f157de72d9b164e2492fae87d457da8227eb77ce' }))));
|
12
12
|
}
|
13
13
|
};
|
14
14
|
DropdownHeader.style = IfxDropdownHeaderStyle0;
|
@@ -20,7 +20,7 @@ const DropdownItem = class {
|
|
20
20
|
}
|
21
21
|
render() {
|
22
22
|
let hrefAttr = this.href ? { href: this.href, target: this.target } : {};
|
23
|
-
return (h("a", Object.assign({ key: '
|
23
|
+
return (h("a", Object.assign({ key: '7308bd850dbc2dff472b8c045d166730bcec0af3' }, hrefAttr, { onClick: () => this.handleEventEmission(), class: `dropdown-item ${this.size === 's' ? 'small' : ""} ${this.hide ? 'hide' : ""}` }), this.icon && h("ifx-icon", { key: '575dad93fe45d15c155e812eaed3f922a0137c18', class: "icon", icon: this.icon }), h("span", { key: '93497cc96543367e73f5dcb48f17c54156b71546' }, h("slot", { key: '1a2011575806ff7250d51bd72edacabbb64e075c' }))));
|
24
24
|
}
|
25
25
|
get el() { return getElement(this); }
|
26
26
|
};
|
@@ -49,10 +49,10 @@ const DropdownMenu = class {
|
|
49
49
|
this.hideTopPadding = false;
|
50
50
|
}
|
51
51
|
render() {
|
52
|
-
return (h("div", { key: '
|
52
|
+
return (h("div", { key: '83e1663841879b35eb8083e6efc996e73af5360e', class: `dropdown-menu
|
53
53
|
${this.isOpen ? 'show' : ''}
|
54
54
|
${this.hideTopPadding ? 'hideTopPadding' : ""}
|
55
|
-
${this.size === 's' ? 'small' : ""}` }, h("slot", { key: '
|
55
|
+
${this.size === 's' ? 'small' : ""}` }, h("slot", { key: '69f3d918fbb83a8bc474e2a13d25227726a8c179' })));
|
56
56
|
}
|
57
57
|
get el() { return getElement(this); }
|
58
58
|
};
|
@@ -8,7 +8,7 @@ const DropdownSeparator = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return (h("div", { key: '
|
11
|
+
return (h("div", { key: 'f842407a72dcfa69c2e05b821bab2f9ec3e2702f', class: 'dropdown-separator' }));
|
12
12
|
}
|
13
13
|
};
|
14
14
|
DropdownSeparator.style = IfxDropdownSeparatorStyle0;
|
@@ -12,8 +12,8 @@ const DropdownItem = class {
|
|
12
12
|
this.hideArrow = false;
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h("ifx-button", { key: '
|
16
|
-
h("ifx-icon", { key: '
|
15
|
+
return (h("ifx-button", { key: 'a039a16f7329ab9af57d92555f54d27153936aa9', variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, h("slot", { key: '06b448d35be0c0afbedde160f92824d9df4977ea' }), !this.hideArrow &&
|
16
|
+
h("ifx-icon", { key: '9b10c74e101533527e30e520a48db498bebe0715', icon: "chevron-down-12", class: `icon${this.isOpen ? ' rotate' : ''}` })));
|
17
17
|
}
|
18
18
|
};
|
19
19
|
DropdownItem.style = IfxDropdownTriggerButtonStyle0;
|
@@ -9,7 +9,7 @@ const DropdownItem = class {
|
|
9
9
|
this.isOpen = false;
|
10
10
|
}
|
11
11
|
render() {
|
12
|
-
return (h("slot", { key: '
|
12
|
+
return (h("slot", { key: 'ef3ea59efc3e4cd4779f4e8dc50fae826c760015' }));
|
13
13
|
}
|
14
14
|
};
|
15
15
|
DropdownItem.style = IfxDropdownTriggerStyle0;
|
@@ -135,7 +135,7 @@ const Dropdown = class {
|
|
135
135
|
}
|
136
136
|
}
|
137
137
|
render() {
|
138
|
-
return (h("div", { key: '
|
138
|
+
return (h("div", { key: '69f27816cb5e4907952939cde18bbdaa5e7fce56', "aria-label": 'dropdown menu', class: 'dropdown' }, h("slot", { key: 'cd37ec9b162b6533f2a865f937976412b4d57e13' })));
|
139
139
|
}
|
140
140
|
get el() { return getElement(this); }
|
141
141
|
static get watchers() { return {
|
@@ -8,7 +8,7 @@ const Faq = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return (h("div", { key: '
|
11
|
+
return (h("div", { key: '4e761e2d958ce9c5fea599b01b12fca554835a0e', class: 'container' }, h("ifx-accordion", { key: 'f304b4deedb45cab9d852ed07b80dd967c820382' }, 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."), 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."), 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.)"), 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."), 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."))));
|
12
12
|
}
|
13
13
|
};
|
14
14
|
Faq.style = IfxFaqStyle0;
|
@@ -525,10 +525,10 @@ const FileUpload = class {
|
|
525
525
|
this.validateRequired();
|
526
526
|
}
|
527
527
|
render() {
|
528
|
-
return (h("div", { key: '
|
528
|
+
return (h("div", { key: 'f8edbd56edf372f509c97c7e162f9c247c91110d', class: {
|
529
529
|
'file-upload-wrapper': true,
|
530
530
|
'disabled': this.disabled
|
531
|
-
} }, this.label && (h("label", { key: '
|
531
|
+
} }, this.label && (h("label", { key: '9258dd4a34a28443665e798845cefe87ab471abb', class: "file-upload-label", htmlFor: this.internalId }, this.label, this.required && (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) && (h("div", { key: 'f07d24d2f3cf47e44e244d85fede4d5c5a7ea4ff', class: "file-list-wrapper" }, h("div", { key: 'a2d6c4ce19e828d44dbf1f54e86d3964ad3cd442', class: "upload-heading" }, this.labelUploadedFilesHeading), h("ul", { key: '2c76503b9c39be82596f869e46052762f6ab7ac1', class: "file-list" }, this.rejectedSizeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-size-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'size') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString()) }, this.getFormattedFileTooLargeText())))))), this.rejectedTypeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-type-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'type') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelUnsupportedFileType }, this.labelUnsupportedFileType)))))), this.files.map((file) => {
|
532
532
|
var _a;
|
533
533
|
const task = this.uploadTasks.find(t => t.file.name === file.name);
|
534
534
|
const progress = (_a = task === null || task === void 0 ? void 0 : task.progress) !== null && _a !== void 0 ? _a : 100;
|
@@ -49,8 +49,8 @@ const FilterAccordion = class {
|
|
49
49
|
this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
|
50
50
|
}
|
51
51
|
render() {
|
52
|
-
return (h("div", { key: '
|
53
|
-
h("div", { key: '
|
52
|
+
return (h("div", { key: 'dcee8e0efc95236f519e28d19819ec4ff308f5b6', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '53b7dae8f8a2798408ace40dcf18c602946c1b1f', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: '1e8047d0e9808475d8bfaad216fa7d0a1024b696', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '8ca900b6cd9539106789327caef0e26120ecf795', class: "text" }, h("span", { key: '6da0944b9bfca9ad62ef0000da328a4a7ad7c972' }, this.filterGroupName), h("ifx-number-indicator", { key: 'f30c44cd8d704bb030be5fe9992d61bd9274435a' }, this.count)), h("ifx-icon", { key: '212e9e442d4e4a0da39985ec4ed57e804fbd5a90', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: 'bcc8e05d06158818f63f5d10fa505ac85a754f33', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
|
53
|
+
h("div", { key: 'd1756b49a90159e1d24397354e839a01abe534a2', class: "filter-accordion-container" }, h("slot", { key: '4020258a7ed72253cfa34cc53c15b8fe186d1d43', name: "list" }))));
|
54
54
|
}
|
55
55
|
get el() { return getElement(this); }
|
56
56
|
};
|
@@ -93,7 +93,7 @@ const FilterBar = class {
|
|
93
93
|
// Calculate slotsToShow safely
|
94
94
|
const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
|
95
95
|
const slots = Array.from({ length: slotsToShow }, (_, i) => (h("div", { class: "filter-slot-wrapper" }, h("slot", { name: `filter-component-${i + 1}` }))));
|
96
|
-
return (h(Host, { key: '
|
96
|
+
return (h(Host, { key: '6b6f43a15e34306b15e594b3a73dbcab0ebe881e' }, h("div", { key: 'a444719b8ca1599f2416c3bd9d690731562a7fe4', class: "search-container" }, h("slot", { key: '4d8f9bee4ec182e3c17ebd1714c5ea903bc5e538', name: "filter-search" }), " "), h("div", { key: '4d3755201694ddefe9b4d9d1b7a3ad65036e91b2', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: '5ab036d16a8d8441a586770258b40c8bf6d06a40', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: '82fa6ad85af9e6dd5b42d5b9087ab0cd15cefa44', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: '23085121e53980f58471af19fd9322f618c58313', icon: "filter-16" }), "More filters"))))));
|
97
97
|
}
|
98
98
|
get el() { return getElement(this); }
|
99
99
|
};
|
@@ -29,7 +29,7 @@ const FilterSearch = class {
|
|
29
29
|
this.ifxFilterSearchChange.emit({ filterName: this.filterName, filterValue: this.filterValue, filterKey: this.filterKey }); // Emitting filterKey along with other properties
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h("div", { key: '
|
32
|
+
return (h("div", { key: '5580e31d167e1559594e3e1f4580dc6d19dc9968', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, h("div", { key: '7eac96b49e4e281c6daf1c74bacd957ec86d01ca', class: "filter-name" }, this.filterName), h("ifx-search-field", { key: '827596a91c60c83ac1831427947305105952fe73', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
|
33
33
|
}
|
34
34
|
get host() { return getElement(this); }
|
35
35
|
static get watchers() { return {
|
@@ -125,7 +125,7 @@ const IfxFilterTypeGroup = class {
|
|
125
125
|
window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);
|
126
126
|
}
|
127
127
|
render() {
|
128
|
-
return (h(Host, { key: '
|
128
|
+
return (h(Host, { key: '88595f680a4453f9d514a0f2f15ccd659b9a9ea3' }, h("div", { key: '71eade5ef05a39413fa51619ca731adc0cc846f6', class: "filter-type-group" }, h("slot", { key: '63021a6178acdb0534ba2dc940a3eb806e4751ce', name: "filter-search" }), h("slot", { key: '90726fa79bcc88dccd96cd0f53d2b17f506897e7', name: "filter-accordion" }))));
|
129
129
|
}
|
130
130
|
get el() { return getElement(this); }
|
131
131
|
};
|
@@ -8,7 +8,7 @@ const FooterColumn = class {
|
|
8
8
|
registerInstance(this, hostRef);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return (h("div", { key: '
|
11
|
+
return (h("div", { key: '7aa95b8a15301c23ac2abc4cc3b3a8b819751094', class: "col" }, h("slot", { key: 'fa29a8a160f7e1b8630d7265fbcdaa05120299be', name: "title" }), h("span", { key: 'eac7c00dbec5752a416df5355f2bf4b1f4980b10', "aria-label": 'navigation link' }, h("slot", { key: 'df076a7b986e7318f38916ad6d4e7a24bf2111cc', name: "link" }))));
|
12
12
|
}
|
13
13
|
get el() { return getElement(this); }
|
14
14
|
};
|
@@ -16,10 +16,10 @@ const Footer = class {
|
|
16
16
|
this.hasSocialsSlot = !!this.el.querySelector('[slot="socials"]');
|
17
17
|
}
|
18
18
|
render() {
|
19
|
-
return (h(Host, { key: '
|
20
|
-
h("div", { key: '
|
21
|
-
h("div", { key: '
|
22
|
-
h("div", { key: '
|
19
|
+
return (h(Host, { key: '8a0eca9a83b01c82e83241b08bb04c313bf66384' }, h("footer", { key: 'bb05632d21d2d3c086e09875501e66701d341fd2', class: "footer__container" }, h("div", { key: 'a81e9ae63e0c0515ca12877ed01b643a2bdf8df7', class: "footer__wrapper" }, (this.hasSocialsSlot || this.hasColSlot) &&
|
20
|
+
h("div", { key: '43796b42c42979018c389c5a850c164d0af729b2', class: "footer__logo_top" }, 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" }, h("g", { key: '05540661b1c7b1b54f75dc62446d7588cdc0cb05', "clip-path": "url(#clip0_2396_2480)" }, 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" }), 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" })), h("defs", { key: '09b03dd7535db48d79ca676a7573b0e8dd4701de' }, h("clipPath", { key: '74db5dd3385aa77e354581ff48171c342b8d9f2f', id: "clip0_2396_2480" }, h("rect", { key: '9127a1cdf97f64b44ec81e76e46530bc3f062331', width: "91", height: "40", fill: "white" }))))), this.hasColSlot && (h("nav", { key: '0790bcce4f81bd7f36dd9c6d96d6d2ac0acbaed1' }, h("div", { key: '6f7325bd229d06247cc0de26f9cf7e65cdd3953c', class: "col-wrapper" }, h("slot", { key: 'b846a1e50bb659900d7ee153167f9424490c8a03', name: "col" })))), this.hasSocialsSlot &&
|
21
|
+
h("div", { key: '12b28b3076118e6b92b6685d86d58fe0417c2d4b', class: "default", "aria-label": 'Follow us on social media' }, h("div", { key: '86524dac9d05cecc7b302edf7533ec499d7ee0eb', class: "footer__logo_btm" }, h("svg", { key: 'd64b2bf4dda7ecdb560b6e6a8f72c22253a64ef8', width: "91", height: "40", viewBox: "0 0 91 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'af493ec2a9a55c3967cedfa4cc978d0331d9bac5', "clip-path": "url(#clip0_2396_2480)" }, 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" }), 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" })), h("defs", { key: 'ef64f04407945b8d0eefc4ffe15089c6960ea6c4' }, h("clipPath", { key: '837102c532377ffad69428da9828bf02bcf3c266', id: "clip0_2396_2480" }, h("rect", { key: '22ceece2d9cd3a7696a2903b3f97b266c47c918f', width: "91", height: "40", fill: "white" }))))), h("slot", { key: 'ca30e6cdcdeaedddb81ab78cba10715f5865ef83', name: "socials" })), h("div", { key: '3421b781dc546bdefce8b4f669fc47ac3ba3253a', class: "footer__base" }, this.copyrightText &&
|
22
|
+
h("div", { key: '59a60d757670ac822ae685633596af59bf58bf10', class: "footer__brand" }, this.copyrightText), h("div", { key: '69215073b07f8fadf3963e74c79e67bb0db6d4d1', class: "footer__info" }, h("slot", { key: '861c20986762eb9cd4a53a431790938416fcf53b', name: "info" })))))));
|
23
23
|
}
|
24
24
|
get el() { return getElement(this); }
|
25
25
|
};
|
@@ -24,7 +24,7 @@ const IconButton = class {
|
|
24
24
|
}
|
25
25
|
}
|
26
26
|
render() {
|
27
|
-
return (h(Host, { key: '
|
27
|
+
return (h(Host, { key: '76ee6d778296f5334121e83a5a15a15025c3dd13', "aria-disabled": this.disabled, "aria-label": this.ariaLabel }, this.href ? (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 }, h("ifx-icon", { icon: this.icon }))) : (h("button", { class: this.getClassNames(), type: "button", disabled: this.disabled }, h("ifx-icon", { icon: this.icon })))));
|
28
28
|
}
|
29
29
|
getVariantClass() {
|
30
30
|
return `${this.variant}` === "secondary"
|
@@ -64,7 +64,7 @@ const InfineonIconStencil = class {
|
|
64
64
|
this.ifxIcon = getIcon(removeHyphen(this.icon));
|
65
65
|
}
|
66
66
|
render() {
|
67
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: '775fda2fec495006f6ae41fc2463a055df1067cf' }, this.constructIcon()));
|
68
68
|
}
|
69
69
|
};
|
70
70
|
InfineonIconStencil.style = IfxIconStyle0;
|
@@ -33,7 +33,7 @@ const IconsPreview = class {
|
|
33
33
|
}
|
34
34
|
}
|
35
35
|
render() {
|
36
|
-
return (h("div", { key: '
|
36
|
+
return (h("div", { key: 'e5e0788565bb50d8b50f202e3824afe86e2a158e', class: 'container' }, h("div", { key: 'ae158193f2a9181eb1426480ea2b94f7430f5eca', class: "alert__wrapper" }, 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.")), h("div", { key: '1aa82aeee7fbf2fcbdef49dad691cc1a45da9fc3', class: 'html-wrapper' }, h("span", { key: 'd8ed26f941d413ed9c97ad913ab0099119a824c6', class: "html-tag" }, "<"), h("span", { key: '5061e0909765b0e654a387610a05cb66c5218265', class: "component-name" }, "ifx-icon"), h("span", { key: 'c72b7029ae8c6a61ef58a337a203952e8f313d3e', class: "attribute-name" }, " icon"), "=", h("span", { key: '9dc24de771b12f7c35ef12a666446053043b70c5', class: "attribute-value" }, this.iconName), h("span", { key: '5fab1ce949dbe53f00c350ad5f214448d9b57e7a', class: "html-tag" }, ">"), h("span", { key: '84a21a9f0f9a8b2c0c92d9d12f43e371d0773810', class: "html-tag" }, "</"), h("span", { key: '2a41361f12ccd3c314b3fce84e1db9a667c594a9', class: "component-name" }, "ifx-icon"), h("span", { key: '8a0e75935ce8736caccac24709904112ec539b73', class: "html-tag" }, ">"), h("button", { key: '83a4d63fec9460cc387abe1488f220472ab3b16f', onClick: () => this.copyHtmlString() }, this.isCopied ? 'Copied' : 'Copy')), h("div", { key: '972b1d933d4e31c5ba78e629414c8f20c52cbb23', class: "preview__container" }, this.iconsArray.map((icon, index) => h("div", { class: `preview__container-item ${this.isCopied && this.copiedIndex === index ? 'copied' : ""}`, onClick: () => this.copyIconText(icon) }, h("ifx-icon", { icon: icon }))))));
|
37
37
|
}
|
38
38
|
get el() { return getElement(this); }
|
39
39
|
};
|