@infineon/design-system 0.0.0-stage → 41.11.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/LICENSE +21 -0
- package/dist/cem.json +15580 -0
- package/dist/cjs/animation-DvEMST7j.js +42 -0
- package/dist/cjs/dom-utils-BdvOgC2b.js +19 -0
- package/dist/cjs/icons-oFc1Jyfp.js +1334 -0
- package/dist/cjs/ifx-accordion-item.cjs.entry.js +118 -0
- package/dist/cjs/ifx-accordion.cjs.entry.js +40 -0
- package/dist/cjs/ifx-action-list-item.cjs.entry.js +238 -0
- package/dist/cjs/ifx-action-list.cjs.entry.js +30 -0
- package/dist/cjs/ifx-ai-label.cjs.entry.js +23 -0
- package/dist/cjs/ifx-alert_2.cjs.entry.js +217 -0
- package/dist/cjs/ifx-basic-table.cjs.entry.js +218 -0
- package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js +35 -0
- package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +116 -0
- package/dist/cjs/ifx-breadcrumb.cjs.entry.js +51 -0
- package/dist/cjs/ifx-button.cjs.entry.js +156 -0
- package/dist/cjs/ifx-card-headline.cjs.entry.js +33 -0
- package/dist/cjs/ifx-card-image.cjs.entry.js +37 -0
- package/dist/cjs/ifx-card-links.cjs.entry.js +18 -0
- package/dist/cjs/ifx-card-overline.cjs.entry.js +17 -0
- package/dist/cjs/ifx-card-text.cjs.entry.js +26 -0
- package/dist/cjs/ifx-card.cjs.entry.js +77 -0
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js +77 -0
- package/dist/cjs/ifx-checkbox.cjs.entry.js +255 -0
- package/dist/cjs/ifx-chip-item_2.cjs.entry.js +392 -0
- package/dist/cjs/ifx-chip.cjs.entry.js +340 -0
- package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +21 -0
- package/dist/cjs/ifx-content-switcher.cjs.entry.js +188 -0
- package/dist/cjs/ifx-counter.cjs.entry.js +74 -0
- package/dist/cjs/ifx-date-picker.cjs.entry.js +203 -0
- package/dist/cjs/ifx-download.cjs.entry.js +40 -0
- package/dist/cjs/ifx-dropdown-header.cjs.entry.js +17 -0
- package/dist/cjs/ifx-dropdown-item.cjs.entry.js +68 -0
- package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +71 -0
- package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +17 -0
- package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +29 -0
- package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +19 -0
- package/dist/cjs/ifx-dropdown.cjs.entry.js +257 -0
- package/dist/cjs/ifx-error-page.cjs.entry.js +54 -0
- package/dist/cjs/ifx-file-upload.cjs.entry.js +821 -0
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +67 -0
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +119 -0
- package/dist/cjs/ifx-filter-search.cjs.entry.js +62 -0
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +168 -0
- package/dist/cjs/ifx-footer-column.cjs.entry.js +18 -0
- package/dist/cjs/ifx-footer.cjs.entry.js +35 -0
- package/dist/cjs/ifx-icon-button.cjs.entry.js +106 -0
- package/dist/cjs/ifx-icon.cjs.entry.js +134 -0
- package/dist/cjs/ifx-icons-preview.cjs.entry.js +15499 -0
- package/dist/cjs/ifx-indicator.cjs.entry.js +46 -0
- package/dist/cjs/ifx-link.cjs.entry.js +125 -0
- package/dist/cjs/ifx-list-entry.cjs.entry.js +44 -0
- package/dist/cjs/ifx-list.cjs.entry.js +143 -0
- package/dist/cjs/ifx-modal.cjs.entry.js +403 -0
- package/dist/cjs/ifx-multiselect-group.cjs.entry.js +42 -0
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +1151 -0
- package/dist/cjs/ifx-navbar-item.cjs.entry.js +438 -0
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js +173 -0
- package/dist/cjs/ifx-navbar.cjs.entry.js +705 -0
- package/dist/cjs/ifx-notification.cjs.entry.js +58 -0
- package/dist/cjs/ifx-overview-table.cjs.entry.js +59 -0
- package/dist/cjs/ifx-popover.cjs.entry.js +340 -0
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +46 -0
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js +77 -0
- package/dist/cjs/ifx-radio-button.cjs.entry.js +148 -0
- package/dist/cjs/ifx-search-bar.cjs.entry.js +123 -0
- package/dist/cjs/ifx-search-field.cjs.entry.js +562 -0
- package/dist/cjs/ifx-segment.cjs.entry.js +46 -0
- package/dist/cjs/ifx-segmented-control.cjs.entry.js +151 -0
- package/dist/cjs/ifx-select-group.cjs.entry.js +43 -0
- package/dist/cjs/ifx-select_2.cjs.entry.js +574 -0
- package/dist/cjs/ifx-set-filter.cjs.entry.js +83 -0
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js +290 -0
- package/dist/cjs/ifx-sidebar-separator.cjs.entry.js +17 -0
- package/dist/cjs/ifx-sidebar-title.cjs.entry.js +24 -0
- package/dist/cjs/ifx-sidebar.cjs.entry.js +454 -0
- package/dist/cjs/ifx-slider.cjs.entry.js +364 -0
- package/dist/cjs/ifx-spinner.cjs.entry.js +53 -0
- package/dist/cjs/ifx-status.cjs.entry.js +36 -0
- package/dist/cjs/ifx-step.cjs.entry.js +104 -0
- package/dist/cjs/ifx-stepper.cjs.entry.js +168 -0
- package/dist/cjs/ifx-switch.cjs.entry.js +190 -0
- package/dist/cjs/ifx-tab.cjs.entry.js +42 -0
- package/dist/cjs/ifx-table.cjs.entry.js +1466 -0
- package/dist/cjs/ifx-tabs.cjs.entry.js +380 -0
- package/dist/cjs/ifx-templates-ui.cjs.entry.js +58 -0
- package/dist/cjs/ifx-text-field.cjs.entry.js +131 -0
- package/dist/cjs/ifx-textarea.cjs.entry.js +132 -0
- package/dist/cjs/ifx-toast-container.cjs.entry.js +114 -0
- package/dist/cjs/ifx-toast.cjs.entry.js +193 -0
- package/dist/cjs/ifx-tooltip.cjs.entry.js +228 -0
- package/dist/cjs/ifx-tree-view-item.cjs.entry.js +404 -0
- package/dist/cjs/ifx-tree-view.cjs.entry.js +70 -0
- package/dist/cjs/index-BiOrxEib.js +3361 -0
- package/dist/cjs/index-Bp6Dd2i1.js +94 -0
- package/dist/cjs/index.cjs.js +121 -0
- package/dist/cjs/infineon-design-system-stencil.cjs.js +45 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/main.esm-Y2lKtAqX.js +56050 -0
- package/dist/cjs/popper-Dmp8OTYh.js +1792 -0
- package/dist/cjs/toast-config-D0RjnbKw.js +21 -0
- package/dist/cjs/tracking-BPjaTlNR.js +144 -0
- package/dist/cjs/url-utils-CPE59br4.js +18 -0
- package/dist/collection/collection-manifest.json +105 -0
- package/dist/collection/components/accordion/accordion.css +10 -0
- package/dist/collection/components/accordion/accordion.js +76 -0
- package/dist/collection/components/accordion/accordionItem.css +128 -0
- package/dist/collection/components/accordion/accordionItem.js +250 -0
- package/dist/collection/components/action-list/action-list-item.css +71 -0
- package/dist/collection/components/action-list/action-list-item.js +409 -0
- package/dist/collection/components/action-list/action-list.css +8 -0
- package/dist/collection/components/action-list/action-list.js +56 -0
- package/dist/collection/components/ai-label/ai-label.css +55 -0
- package/dist/collection/components/ai-label/ai-label.js +68 -0
- package/dist/collection/components/alert/alert.css +142 -0
- package/dist/collection/components/alert/alert.js +167 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item-label.css +33 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item-label.js +121 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.css +52 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +146 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +14 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +54 -0
- package/dist/collection/components/button/button.css +247 -0
- package/dist/collection/components/button/button.js +383 -0
- package/dist/collection/components/card/card-headline/card-headline.css +36 -0
- package/dist/collection/components/card/card-headline/card-headline.js +41 -0
- package/dist/collection/components/card/card-image/card-image.css +24 -0
- package/dist/collection/components/card/card-image/card-image.js +136 -0
- package/dist/collection/components/card/card-links/card-links.css +18 -0
- package/dist/collection/components/card/card-links/card-links.js +20 -0
- package/dist/collection/components/card/card-overline/card-overline.css +25 -0
- package/dist/collection/components/card/card-overline/card-overline.js +18 -0
- package/dist/collection/components/card/card-text/card-text.css +30 -0
- package/dist/collection/components/card/card-text/card-text.js +33 -0
- package/dist/collection/components/card/card.css +187 -0
- package/dist/collection/components/card/card.js +221 -0
- package/dist/collection/components/checkbox/checkbox.css +154 -0
- package/dist/collection/components/checkbox/checkbox.js +546 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +70 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +278 -0
- package/dist/collection/components/chip/chip-item/chip-item.css +39 -0
- package/dist/collection/components/chip/chip-item/chip-item.js +199 -0
- package/dist/collection/components/chip/chip.css +180 -0
- package/dist/collection/components/chip/chip.js +581 -0
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/content-switcher/content-switcher-item.css +38 -0
- package/dist/collection/components/content-switcher/content-switcher-item.js +65 -0
- package/dist/collection/components/content-switcher/content-switcher.css +32 -0
- package/dist/collection/components/content-switcher/content-switcher.js +223 -0
- package/dist/collection/components/counter/counter.css +69 -0
- package/dist/collection/components/counter/counter.js +131 -0
- package/dist/collection/components/date-picker/date-picker.css +206 -0
- package/dist/collection/components/date-picker/date-picker.js +522 -0
- package/dist/collection/components/download/download.css +0 -0
- package/dist/collection/components/download/download.js +65 -0
- package/dist/collection/components/dropdown/IOpenable.js +1 -0
- package/dist/collection/components/dropdown/dropdown-header/dropdown-header.css +18 -0
- package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +19 -0
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.css +58 -0
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +231 -0
- package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.css +32 -0
- package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js +177 -0
- package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.css +5 -0
- package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +19 -0
- package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.css +4 -0
- package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +45 -0
- package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.css +14 -0
- package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +155 -0
- package/dist/collection/components/dropdown/dropdown.css +3 -0
- package/dist/collection/components/dropdown/dropdown.js +519 -0
- package/dist/collection/components/error-page/error-page.css +118 -0
- package/dist/collection/components/error-page/error-page.js +155 -0
- package/dist/collection/components/file-upload/file-upload.css +209 -0
- package/dist/collection/components/file-upload/file-upload.js +1796 -0
- package/dist/collection/components/footer/footer-column.css +28 -0
- package/dist/collection/components/footer/footer-column.js +20 -0
- package/dist/collection/components/footer/footer.css +137 -0
- package/dist/collection/components/footer/footer.js +67 -0
- package/dist/collection/components/icon/figma_code_connect_icons.js +34 -0
- package/dist/collection/components/icon/icon.css +10 -0
- package/dist/collection/components/icon/icon.js +183 -0
- package/dist/collection/components/icon-button/icon-button.css +131 -0
- package/dist/collection/components/icon-button/icon-button.js +321 -0
- package/dist/collection/components/icons-preview/icons-preview.css +93 -0
- package/dist/collection/components/icons-preview/icons-preview.js +78 -0
- package/dist/collection/components/indicator/indicator.css +45 -0
- package/dist/collection/components/indicator/indicator.js +137 -0
- package/dist/collection/components/link/link.css +107 -0
- package/dist/collection/components/link/link.js +298 -0
- package/dist/collection/components/modal/modal.css +196 -0
- package/dist/collection/components/modal/modal.js +560 -0
- package/dist/collection/components/navigation/navbar/navbar-item.css +278 -0
- package/dist/collection/components/navigation/navbar/navbar-item.js +812 -0
- package/dist/collection/components/navigation/navbar/navbar-profile.js +354 -0
- package/dist/collection/components/navigation/navbar/navbar.css +417 -0
- package/dist/collection/components/navigation/navbar/navbar.js +857 -0
- package/dist/collection/components/navigation/sidebar/sidebar-item.css +201 -0
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +583 -0
- package/dist/collection/components/navigation/sidebar/sidebar-seperator/sidebar-separator.css +5 -0
- package/dist/collection/components/navigation/sidebar/sidebar-seperator/sidebar-separator.js +19 -0
- package/dist/collection/components/navigation/sidebar/sidebar-title.css +25 -0
- package/dist/collection/components/navigation/sidebar/sidebar-title.js +50 -0
- package/dist/collection/components/navigation/sidebar/sidebar.css +254 -0
- package/dist/collection/components/navigation/sidebar/sidebar.js +896 -0
- package/dist/collection/components/notification/notification.css +80 -0
- package/dist/collection/components/notification/notification.js +205 -0
- package/dist/collection/components/overview-table/overview-table.css +152 -0
- package/dist/collection/components/overview-table/overview-table.js +61 -0
- package/dist/collection/components/pagination/pagination.css +190 -0
- package/dist/collection/components/pagination/pagination.js +459 -0
- package/dist/collection/components/popover/popover.css +95 -0
- package/dist/collection/components/popover/popover.js +565 -0
- package/dist/collection/components/progress-bar/progress-bar.css +38 -0
- package/dist/collection/components/progress-bar/progress-bar.js +118 -0
- package/dist/collection/components/radio-button/radio-button.css +157 -0
- package/dist/collection/components/radio-button/radio-button.js +334 -0
- package/dist/collection/components/radio-button-group/radio-button-group.css +69 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +278 -0
- package/dist/collection/components/search-bar/search-bar.css +60 -0
- package/dist/collection/components/search-bar/search-bar.js +323 -0
- package/dist/collection/components/search-field/search-field.css +235 -0
- package/dist/collection/components/search-field/search-field.js +1156 -0
- package/dist/collection/components/segmented-control/segment/segment.css +46 -0
- package/dist/collection/components/segmented-control/segment/segment.js +145 -0
- package/dist/collection/components/segmented-control/segmented-control.css +47 -0
- package/dist/collection/components/segmented-control/segmented-control.js +319 -0
- package/dist/collection/components/select/multi-select/interfaces.js +1 -0
- package/dist/collection/components/select/multi-select/multiselect-group.css +18 -0
- package/dist/collection/components/select/multi-select/multiselect-group.js +92 -0
- package/dist/collection/components/select/multi-select/multiselect-option.css +113 -0
- package/dist/collection/components/select/multi-select/multiselect-option.js +530 -0
- package/dist/collection/components/select/multi-select/multiselect.css +337 -0
- package/dist/collection/components/select/multi-select/multiselect.js +1353 -0
- package/dist/collection/components/select/single-select/select-group.css +24 -0
- package/dist/collection/components/select/single-select/select-group.js +94 -0
- package/dist/collection/components/select/single-select/select-option.css +65 -0
- package/dist/collection/components/select/single-select/select-option.js +241 -0
- package/dist/collection/components/select/single-select/select.css +213 -0
- package/dist/collection/components/select/single-select/select.js +1030 -0
- package/dist/collection/components/slider/slider.css +157 -0
- package/dist/collection/components/slider/slider.js +703 -0
- package/dist/collection/components/spinner/spinner.css +66 -0
- package/dist/collection/components/spinner/spinner.js +151 -0
- package/dist/collection/components/status/status.css +196 -0
- package/dist/collection/components/status/status.js +102 -0
- package/dist/collection/components/stepper/interfaces.js +1 -0
- package/dist/collection/components/stepper/step/step.css +189 -0
- package/dist/collection/components/stepper/step/step.js +250 -0
- package/dist/collection/components/stepper/stepper.css +58 -0
- package/dist/collection/components/stepper/stepper.js +327 -0
- package/dist/collection/components/switch/switch.css +116 -0
- package/dist/collection/components/switch/switch.js +419 -0
- package/dist/collection/components/table-advanced-version/buttonCellRenderer.js +72 -0
- package/dist/collection/components/table-advanced-version/checkboxCellRenderer.js +67 -0
- package/dist/collection/components/table-advanced-version/checkboxHeaderRenderer.js +32 -0
- package/dist/collection/components/table-advanced-version/customLoadingOverlay.js +15 -0
- package/dist/collection/components/table-advanced-version/customNoRowsOverlay.js +17 -0
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.css +64 -0
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +195 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.css +70 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +124 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.css +30 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +216 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.css +14 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +231 -0
- package/dist/collection/components/table-advanced-version/filter-type-group/utils.js +12 -0
- package/dist/collection/components/table-advanced-version/iconButtonCellRenderer.js +69 -0
- package/dist/collection/components/table-advanced-version/interfaces.js +17 -0
- package/dist/collection/components/table-advanced-version/linkCellRenderer.js +50 -0
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.css +7 -0
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +134 -0
- package/dist/collection/components/table-advanced-version/list/list.css +8 -0
- package/dist/collection/components/table-advanced-version/list/list.js +255 -0
- package/dist/collection/components/table-advanced-version/set-filter/set-filter.css +1 -0
- package/dist/collection/components/table-advanced-version/set-filter/setFilter.js +207 -0
- package/dist/collection/components/table-advanced-version/statusCellRenderer.js +30 -0
- package/dist/collection/components/table-advanced-version/table.css +7362 -0
- package/dist/collection/components/table-advanced-version/table.js +1598 -0
- package/dist/collection/components/table-advanced-version/tooltipCellRenderer.js +59 -0
- package/dist/collection/components/table-basic-version/customLoadingOverlay.js +15 -0
- package/dist/collection/components/table-basic-version/customNoRowsOverlay.js +17 -0
- package/dist/collection/components/table-basic-version/interfaces.js +8 -0
- package/dist/collection/components/table-basic-version/table.css +7211 -0
- package/dist/collection/components/table-basic-version/table.js +318 -0
- package/dist/collection/components/tabs/tab.css +3 -0
- package/dist/collection/components/tabs/tab.js +240 -0
- package/dist/collection/components/tabs/tabs.css +341 -0
- package/dist/collection/components/tabs/tabs.js +606 -0
- package/dist/collection/components/templates/template/template.css +76 -0
- package/dist/collection/components/templates/template/template.js +272 -0
- package/dist/collection/components/templates/templates-ui/templates-ui.css +33 -0
- package/dist/collection/components/templates/templates-ui/templates-ui.js +75 -0
- package/dist/collection/components/text-field/text-field.css +193 -0
- package/dist/collection/components/text-field/text-field.js +514 -0
- package/dist/collection/components/textarea/textarea.css +97 -0
- package/dist/collection/components/textarea/textarea.js +485 -0
- package/dist/collection/components/toast/toast-config.js +17 -0
- package/dist/collection/components/toast/toast-container/toast-container.css +58 -0
- package/dist/collection/components/toast/toast-container/toast-container.js +280 -0
- package/dist/collection/components/toast/toast-controller.js +116 -0
- package/dist/collection/components/toast/toast.css +68 -0
- package/dist/collection/components/toast/toast.js +397 -0
- package/dist/collection/components/tooltip/tooltip.css +164 -0
- package/dist/collection/components/tooltip/tooltip.js +380 -0
- package/dist/collection/components/tree-view/tree-view-item.css +112 -0
- package/dist/collection/components/tree-view/tree-view-item.js +603 -0
- package/dist/collection/components/tree-view/tree-view.css +19 -0
- package/dist/collection/components/tree-view/tree-view.js +187 -0
- package/dist/collection/global/setup.js +5 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/shared/utils/animation.js +37 -0
- package/dist/collection/shared/utils/colorNames.js +1 -0
- package/dist/collection/shared/utils/dom-ready.js +15 -0
- package/dist/collection/shared/utils/dom-utils.js +15 -0
- package/dist/collection/shared/utils/focus-trap.js +120 -0
- package/dist/collection/shared/utils/framework-detection.js +74 -0
- package/dist/collection/shared/utils/tracking.js +60 -0
- package/dist/collection/shared/utils/url-utils.js +14 -0
- package/dist/collection/storybook/public/favicon.svg +5 -0
- package/dist/components/ifx-accordion-item.d.ts +11 -0
- package/dist/components/ifx-accordion-item.js +1 -0
- package/dist/components/ifx-accordion.d.ts +11 -0
- package/dist/components/ifx-accordion.js +1 -0
- package/dist/components/ifx-action-list-item.d.ts +11 -0
- package/dist/components/ifx-action-list-item.js +1 -0
- package/dist/components/ifx-action-list.d.ts +11 -0
- package/dist/components/ifx-action-list.js +1 -0
- package/dist/components/ifx-ai-label.d.ts +11 -0
- package/dist/components/ifx-ai-label.js +1 -0
- package/dist/components/ifx-alert.d.ts +11 -0
- package/dist/components/ifx-alert.js +1 -0
- package/dist/components/ifx-basic-table.d.ts +11 -0
- package/dist/components/ifx-basic-table.js +1 -0
- package/dist/components/ifx-breadcrumb-item-label.d.ts +11 -0
- package/dist/components/ifx-breadcrumb-item-label.js +1 -0
- package/dist/components/ifx-breadcrumb-item.d.ts +11 -0
- package/dist/components/ifx-breadcrumb-item.js +1 -0
- package/dist/components/ifx-breadcrumb.d.ts +11 -0
- package/dist/components/ifx-breadcrumb.js +1 -0
- package/dist/components/ifx-button.d.ts +11 -0
- package/dist/components/ifx-button.js +1 -0
- package/dist/components/ifx-card-headline.d.ts +11 -0
- package/dist/components/ifx-card-headline.js +1 -0
- package/dist/components/ifx-card-image.d.ts +11 -0
- package/dist/components/ifx-card-image.js +1 -0
- package/dist/components/ifx-card-links.d.ts +11 -0
- package/dist/components/ifx-card-links.js +1 -0
- package/dist/components/ifx-card-overline.d.ts +11 -0
- package/dist/components/ifx-card-overline.js +1 -0
- package/dist/components/ifx-card-text.d.ts +11 -0
- package/dist/components/ifx-card-text.js +1 -0
- package/dist/components/ifx-card.d.ts +11 -0
- package/dist/components/ifx-card.js +1 -0
- package/dist/components/ifx-checkbox-group.d.ts +11 -0
- package/dist/components/ifx-checkbox-group.js +1 -0
- package/dist/components/ifx-checkbox.d.ts +11 -0
- package/dist/components/ifx-checkbox.js +1 -0
- package/dist/components/ifx-chip-item.d.ts +11 -0
- package/dist/components/ifx-chip-item.js +1 -0
- package/dist/components/ifx-chip.d.ts +11 -0
- package/dist/components/ifx-chip.js +1 -0
- package/dist/components/ifx-content-switcher-item.d.ts +11 -0
- package/dist/components/ifx-content-switcher-item.js +1 -0
- package/dist/components/ifx-content-switcher.d.ts +11 -0
- package/dist/components/ifx-content-switcher.js +1 -0
- package/dist/components/ifx-counter.d.ts +11 -0
- package/dist/components/ifx-counter.js +1 -0
- package/dist/components/ifx-date-picker.d.ts +11 -0
- package/dist/components/ifx-date-picker.js +1 -0
- package/dist/components/ifx-download.d.ts +11 -0
- package/dist/components/ifx-download.js +1 -0
- package/dist/components/ifx-dropdown-header.d.ts +11 -0
- package/dist/components/ifx-dropdown-header.js +1 -0
- package/dist/components/ifx-dropdown-item.d.ts +11 -0
- package/dist/components/ifx-dropdown-item.js +1 -0
- package/dist/components/ifx-dropdown-menu.d.ts +11 -0
- package/dist/components/ifx-dropdown-menu.js +1 -0
- package/dist/components/ifx-dropdown-separator.d.ts +11 -0
- package/dist/components/ifx-dropdown-separator.js +1 -0
- package/dist/components/ifx-dropdown-trigger-button.d.ts +11 -0
- package/dist/components/ifx-dropdown-trigger-button.js +1 -0
- package/dist/components/ifx-dropdown-trigger.d.ts +11 -0
- package/dist/components/ifx-dropdown-trigger.js +1 -0
- package/dist/components/ifx-dropdown.d.ts +11 -0
- package/dist/components/ifx-dropdown.js +1 -0
- package/dist/components/ifx-error-page.d.ts +11 -0
- package/dist/components/ifx-error-page.js +1 -0
- package/dist/components/ifx-file-upload.d.ts +11 -0
- package/dist/components/ifx-file-upload.js +1 -0
- package/dist/components/ifx-filter-accordion.d.ts +11 -0
- package/dist/components/ifx-filter-accordion.js +1 -0
- package/dist/components/ifx-filter-bar.d.ts +11 -0
- package/dist/components/ifx-filter-bar.js +1 -0
- package/dist/components/ifx-filter-search.d.ts +11 -0
- package/dist/components/ifx-filter-search.js +1 -0
- package/dist/components/ifx-filter-type-group.d.ts +11 -0
- package/dist/components/ifx-filter-type-group.js +1 -0
- package/dist/components/ifx-footer-column.d.ts +11 -0
- package/dist/components/ifx-footer-column.js +1 -0
- package/dist/components/ifx-footer.d.ts +11 -0
- package/dist/components/ifx-footer.js +1 -0
- package/dist/components/ifx-icon-button.d.ts +11 -0
- package/dist/components/ifx-icon-button.js +1 -0
- package/dist/components/ifx-icon.d.ts +11 -0
- package/dist/components/ifx-icon.js +1 -0
- package/dist/components/ifx-icons-preview.d.ts +11 -0
- package/dist/components/ifx-icons-preview.js +1 -0
- package/dist/components/ifx-indicator.d.ts +11 -0
- package/dist/components/ifx-indicator.js +1 -0
- package/dist/components/ifx-link.d.ts +11 -0
- package/dist/components/ifx-link.js +1 -0
- package/dist/components/ifx-list-entry.d.ts +11 -0
- package/dist/components/ifx-list-entry.js +1 -0
- package/dist/components/ifx-list.d.ts +11 -0
- package/dist/components/ifx-list.js +1 -0
- package/dist/components/ifx-modal.d.ts +11 -0
- package/dist/components/ifx-modal.js +1 -0
- package/dist/components/ifx-multiselect-group.d.ts +11 -0
- package/dist/components/ifx-multiselect-group.js +1 -0
- package/dist/components/ifx-multiselect-option.d.ts +11 -0
- package/dist/components/ifx-multiselect-option.js +1 -0
- package/dist/components/ifx-multiselect.d.ts +11 -0
- package/dist/components/ifx-multiselect.js +1 -0
- package/dist/components/ifx-navbar-item.d.ts +11 -0
- package/dist/components/ifx-navbar-item.js +1 -0
- package/dist/components/ifx-navbar-profile.d.ts +11 -0
- package/dist/components/ifx-navbar-profile.js +1 -0
- package/dist/components/ifx-navbar.d.ts +11 -0
- package/dist/components/ifx-navbar.js +1 -0
- package/dist/components/ifx-notification.d.ts +11 -0
- package/dist/components/ifx-notification.js +1 -0
- package/dist/components/ifx-overview-table.d.ts +11 -0
- package/dist/components/ifx-overview-table.js +1 -0
- package/dist/components/ifx-pagination.d.ts +11 -0
- package/dist/components/ifx-pagination.js +1 -0
- package/dist/components/ifx-popover.d.ts +11 -0
- package/dist/components/ifx-popover.js +1 -0
- package/dist/components/ifx-progress-bar.d.ts +11 -0
- package/dist/components/ifx-progress-bar.js +1 -0
- package/dist/components/ifx-radio-button-group.d.ts +11 -0
- package/dist/components/ifx-radio-button-group.js +1 -0
- package/dist/components/ifx-radio-button.d.ts +11 -0
- package/dist/components/ifx-radio-button.js +1 -0
- package/dist/components/ifx-search-bar.d.ts +11 -0
- package/dist/components/ifx-search-bar.js +1 -0
- package/dist/components/ifx-search-field.d.ts +11 -0
- package/dist/components/ifx-search-field.js +1 -0
- package/dist/components/ifx-segment.d.ts +11 -0
- package/dist/components/ifx-segment.js +1 -0
- package/dist/components/ifx-segmented-control.d.ts +11 -0
- package/dist/components/ifx-segmented-control.js +1 -0
- package/dist/components/ifx-select-group.d.ts +11 -0
- package/dist/components/ifx-select-group.js +1 -0
- package/dist/components/ifx-select-option.d.ts +11 -0
- package/dist/components/ifx-select-option.js +1 -0
- package/dist/components/ifx-select.d.ts +11 -0
- package/dist/components/ifx-select.js +1 -0
- package/dist/components/ifx-set-filter.d.ts +11 -0
- package/dist/components/ifx-set-filter.js +1 -0
- package/dist/components/ifx-sidebar-item.d.ts +11 -0
- package/dist/components/ifx-sidebar-item.js +1 -0
- package/dist/components/ifx-sidebar-separator.d.ts +11 -0
- package/dist/components/ifx-sidebar-separator.js +1 -0
- package/dist/components/ifx-sidebar-title.d.ts +11 -0
- package/dist/components/ifx-sidebar-title.js +1 -0
- package/dist/components/ifx-sidebar.d.ts +11 -0
- package/dist/components/ifx-sidebar.js +1 -0
- package/dist/components/ifx-slider.d.ts +11 -0
- package/dist/components/ifx-slider.js +1 -0
- package/dist/components/ifx-spinner.d.ts +11 -0
- package/dist/components/ifx-spinner.js +1 -0
- package/dist/components/ifx-status.d.ts +11 -0
- package/dist/components/ifx-status.js +1 -0
- package/dist/components/ifx-step.d.ts +11 -0
- package/dist/components/ifx-step.js +1 -0
- package/dist/components/ifx-stepper.d.ts +11 -0
- package/dist/components/ifx-stepper.js +1 -0
- package/dist/components/ifx-switch.d.ts +11 -0
- package/dist/components/ifx-switch.js +1 -0
- package/dist/components/ifx-tab.d.ts +11 -0
- package/dist/components/ifx-tab.js +1 -0
- package/dist/components/ifx-table.d.ts +11 -0
- package/dist/components/ifx-table.js +1 -0
- package/dist/components/ifx-tabs.d.ts +11 -0
- package/dist/components/ifx-tabs.js +1 -0
- package/dist/components/ifx-template.d.ts +11 -0
- package/dist/components/ifx-template.js +1 -0
- package/dist/components/ifx-templates-ui.d.ts +11 -0
- package/dist/components/ifx-templates-ui.js +1 -0
- package/dist/components/ifx-text-field.d.ts +11 -0
- package/dist/components/ifx-text-field.js +1 -0
- package/dist/components/ifx-textarea.d.ts +11 -0
- package/dist/components/ifx-textarea.js +1 -0
- package/dist/components/ifx-toast-container.d.ts +11 -0
- package/dist/components/ifx-toast-container.js +1 -0
- package/dist/components/ifx-toast.d.ts +11 -0
- package/dist/components/ifx-toast.js +1 -0
- package/dist/components/ifx-tooltip.d.ts +11 -0
- package/dist/components/ifx-tooltip.js +1 -0
- package/dist/components/ifx-tree-view-item.d.ts +11 -0
- package/dist/components/ifx-tree-view-item.js +1 -0
- package/dist/components/ifx-tree-view.d.ts +11 -0
- package/dist/components/ifx-tree-view.js +1 -0
- package/dist/components/index.d.ts +221 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-6rWkhPoz.js +1 -0
- package/dist/components/p-94ZtGp9D.js +1 -0
- package/dist/components/p-B2BXeRbX.js +1 -0
- package/dist/components/p-B9Se0P8X.js +1 -0
- package/dist/components/p-BQusv3OP.js +1 -0
- package/dist/components/p-BT3Wl1wi.js +1 -0
- package/dist/components/p-BT_2CyMS.js +1 -0
- package/dist/components/p-BfP9ezJQ.js +1 -0
- package/dist/components/p-BfTCfPZ1.js +6 -0
- package/dist/components/p-BsM3UmwT.js +1 -0
- package/dist/components/p-BwNZsorZ.js +1 -0
- package/dist/components/p-ByHlxOiP.js +1 -0
- package/dist/components/p-By_rGGZ6.js +1 -0
- package/dist/components/p-C0ZpAymO.js +1 -0
- package/dist/components/p-C2NpYb5B.js +1 -0
- package/dist/components/p-CFIxSP2i.js +1 -0
- package/dist/components/p-CHllTWC_.js +1 -0
- package/dist/components/p-CKEkzlHL.js +1 -0
- package/dist/components/p-COoPXL_o.js +1 -0
- package/dist/components/p-CZkp3I3Z.js +1 -0
- package/dist/components/p-Cof8Iu4T.js +1 -0
- package/dist/components/p-D8rBTzjL.js +1 -0
- package/dist/components/p-DMAv4MDG.js +1 -0
- package/dist/components/p-DqacDHEO.js +1 -0
- package/dist/components/p-M9y7mTsF.js +1 -0
- package/dist/components/p-OJkXkXZS.js +1 -0
- package/dist/components/p-QgsB_-OM.js +1 -0
- package/dist/components/p-tjdx4F2u.js +1 -0
- package/dist/components/p-uQx-50k_.js +1 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +21723 -0
- package/dist/esm/animation-BT3Wl1wi.js +39 -0
- package/dist/esm/dom-utils-CtINY9El.js +17 -0
- package/dist/esm/icons-ZeLzvI0y.js +1331 -0
- package/dist/esm/ifx-accordion-item.entry.js +116 -0
- package/dist/esm/ifx-accordion.entry.js +38 -0
- package/dist/esm/ifx-action-list-item.entry.js +236 -0
- package/dist/esm/ifx-action-list.entry.js +28 -0
- package/dist/esm/ifx-ai-label.entry.js +21 -0
- package/dist/esm/ifx-alert_2.entry.js +214 -0
- package/dist/esm/ifx-basic-table.entry.js +216 -0
- package/dist/esm/ifx-breadcrumb-item-label.entry.js +33 -0
- package/dist/esm/ifx-breadcrumb-item.entry.js +114 -0
- package/dist/esm/ifx-breadcrumb.entry.js +49 -0
- package/dist/esm/ifx-button.entry.js +154 -0
- package/dist/esm/ifx-card-headline.entry.js +31 -0
- package/dist/esm/ifx-card-image.entry.js +35 -0
- package/dist/esm/ifx-card-links.entry.js +16 -0
- package/dist/esm/ifx-card-overline.entry.js +15 -0
- package/dist/esm/ifx-card-text.entry.js +24 -0
- package/dist/esm/ifx-card.entry.js +75 -0
- package/dist/esm/ifx-checkbox-group.entry.js +75 -0
- package/dist/esm/ifx-checkbox.entry.js +253 -0
- package/dist/esm/ifx-chip-item_2.entry.js +389 -0
- package/dist/esm/ifx-chip.entry.js +338 -0
- package/dist/esm/ifx-content-switcher-item.entry.js +19 -0
- package/dist/esm/ifx-content-switcher.entry.js +186 -0
- package/dist/esm/ifx-counter.entry.js +72 -0
- package/dist/esm/ifx-date-picker.entry.js +201 -0
- package/dist/esm/ifx-download.entry.js +38 -0
- package/dist/esm/ifx-dropdown-header.entry.js +15 -0
- package/dist/esm/ifx-dropdown-item.entry.js +66 -0
- package/dist/esm/ifx-dropdown-menu.entry.js +69 -0
- package/dist/esm/ifx-dropdown-separator.entry.js +15 -0
- package/dist/esm/ifx-dropdown-trigger-button.entry.js +27 -0
- package/dist/esm/ifx-dropdown-trigger.entry.js +17 -0
- package/dist/esm/ifx-dropdown.entry.js +255 -0
- package/dist/esm/ifx-error-page.entry.js +52 -0
- package/dist/esm/ifx-file-upload.entry.js +819 -0
- package/dist/esm/ifx-filter-accordion.entry.js +65 -0
- package/dist/esm/ifx-filter-bar.entry.js +117 -0
- package/dist/esm/ifx-filter-search.entry.js +60 -0
- package/dist/esm/ifx-filter-type-group.entry.js +166 -0
- package/dist/esm/ifx-footer-column.entry.js +16 -0
- package/dist/esm/ifx-footer.entry.js +33 -0
- package/dist/esm/ifx-icon-button.entry.js +104 -0
- package/dist/esm/ifx-icon.entry.js +132 -0
- package/dist/esm/ifx-icons-preview.entry.js +15497 -0
- package/dist/esm/ifx-indicator.entry.js +44 -0
- package/dist/esm/ifx-link.entry.js +123 -0
- package/dist/esm/ifx-list-entry.entry.js +42 -0
- package/dist/esm/ifx-list.entry.js +141 -0
- package/dist/esm/ifx-modal.entry.js +401 -0
- package/dist/esm/ifx-multiselect-group.entry.js +40 -0
- package/dist/esm/ifx-multiselect_2.entry.js +1148 -0
- package/dist/esm/ifx-navbar-item.entry.js +436 -0
- package/dist/esm/ifx-navbar-profile.entry.js +171 -0
- package/dist/esm/ifx-navbar.entry.js +703 -0
- package/dist/esm/ifx-notification.entry.js +56 -0
- package/dist/esm/ifx-overview-table.entry.js +57 -0
- package/dist/esm/ifx-popover.entry.js +338 -0
- package/dist/esm/ifx-progress-bar.entry.js +44 -0
- package/dist/esm/ifx-radio-button-group.entry.js +75 -0
- package/dist/esm/ifx-radio-button.entry.js +146 -0
- package/dist/esm/ifx-search-bar.entry.js +121 -0
- package/dist/esm/ifx-search-field.entry.js +560 -0
- package/dist/esm/ifx-segment.entry.js +44 -0
- package/dist/esm/ifx-segmented-control.entry.js +149 -0
- package/dist/esm/ifx-select-group.entry.js +41 -0
- package/dist/esm/ifx-select_2.entry.js +571 -0
- package/dist/esm/ifx-set-filter.entry.js +81 -0
- package/dist/esm/ifx-sidebar-item.entry.js +288 -0
- package/dist/esm/ifx-sidebar-separator.entry.js +15 -0
- package/dist/esm/ifx-sidebar-title.entry.js +22 -0
- package/dist/esm/ifx-sidebar.entry.js +452 -0
- package/dist/esm/ifx-slider.entry.js +362 -0
- package/dist/esm/ifx-spinner.entry.js +51 -0
- package/dist/esm/ifx-status.entry.js +34 -0
- package/dist/esm/ifx-step.entry.js +102 -0
- package/dist/esm/ifx-stepper.entry.js +166 -0
- package/dist/esm/ifx-switch.entry.js +188 -0
- package/dist/esm/ifx-tab.entry.js +40 -0
- package/dist/esm/ifx-table.entry.js +1464 -0
- package/dist/esm/ifx-tabs.entry.js +378 -0
- package/dist/esm/ifx-templates-ui.entry.js +56 -0
- package/dist/esm/ifx-text-field.entry.js +129 -0
- package/dist/esm/ifx-textarea.entry.js +130 -0
- package/dist/esm/ifx-toast-container.entry.js +112 -0
- package/dist/esm/ifx-toast.entry.js +191 -0
- package/dist/esm/ifx-tooltip.entry.js +226 -0
- package/dist/esm/ifx-tree-view-item.entry.js +402 -0
- package/dist/esm/ifx-tree-view.entry.js +68 -0
- package/dist/esm/index-BfTCfPZ1.js +92 -0
- package/dist/esm/index-CY4s4b6R.js +3330 -0
- package/dist/esm/index.js +119 -0
- package/dist/esm/infineon-design-system-stencil.js +41 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/main.esm-ByHlxOiP.js +56045 -0
- package/dist/esm/popper-BfP9ezJQ.js +1790 -0
- package/dist/esm/toast-config-CvlFl4bk.js +19 -0
- package/dist/esm/tracking-DNHOWgWh.js +141 -0
- package/dist/esm/url-utils-QgsB_-OM.js +16 -0
- package/dist/hydrate/index.d.ts +287 -0
- package/dist/hydrate/index.js +115426 -0
- package/dist/hydrate/index.mjs +115416 -0
- package/dist/hydrate/package.json +12 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/infineon-design-system-stencil/index.esm.js +1 -0
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.css +1 -0
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -0
- package/dist/infineon-design-system-stencil/p-00e44b86.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-04b2ca48.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-056c97d1.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-068f8d94.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-080482d5.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-0824da97.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-0eb80b01.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-1bde9db6.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-1c5cdf00.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-1d282105.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-1dba3e82.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-1ee2ae36.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-200b5cf4.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-25b276e7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-27d6189d.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-33cee615.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-387628c3.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-3d79452f.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-3d99137a.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-46025b1d.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-49abd04b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-4b0cfd87.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-507c06f6.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-58d3465b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-5ca1e5f9.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-5e787c60.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-622b768a.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-62c217d9.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-633f7103.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-6ad38b43.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-6bc72aa7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-6d5608f3.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-6dbe3565.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-6feba4bd.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7637f1a9.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-767d1120.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7a632c59.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7cd30e96.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7cfaf0b0.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7d1bce96.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-7e39ffb5.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-83ac00d0.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-83ed07c5.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-85699507.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-85cab510.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-86f8257b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-8712ed7c.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-89ca7297.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-8a9c392b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-8d6f90ce.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-8f7f4367.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-90055cc1.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-91f93a99.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-981a5d47.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-982379c6.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-98b1d319.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-9ed59a1b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-BT3Wl1wi.js +1 -0
- package/dist/infineon-design-system-stencil/p-BfP9ezJQ.js +1 -0
- package/dist/infineon-design-system-stencil/p-BfTCfPZ1.js +6 -0
- package/dist/infineon-design-system-stencil/p-ByHlxOiP.js +1 -0
- package/dist/infineon-design-system-stencil/p-CY4s4b6R.js +3 -0
- package/dist/infineon-design-system-stencil/p-CtINY9El.js +1 -0
- package/dist/infineon-design-system-stencil/p-CvlFl4bk.js +1 -0
- package/dist/infineon-design-system-stencil/p-DNHOWgWh.js +1 -0
- package/dist/infineon-design-system-stencil/p-QgsB_-OM.js +1 -0
- package/dist/infineon-design-system-stencil/p-ZeLzvI0y.js +1 -0
- package/dist/infineon-design-system-stencil/p-a64b4893.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-a749b6af.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-adee38e7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-b024ca63.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-b0db38b1.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-b52e98b3.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-b8027aac.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-bc74a63e.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-bdc53480.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-bfd5c624.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-c2955de7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-c436d915.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-c8de164f.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-d3194d57.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-d7614c74.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-d96c1ee9.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-db3f7660.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-e3fc01c1.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-e616abd0.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-e97262eb.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-ea5f0a88.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-ec37b6a4.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-ec538561.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-ee84f6e7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f290a76e.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f4e8f76a.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f4f3916e.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f5b65911.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f740a48b.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-f9273ee7.entry.js +1 -0
- package/dist/infineon-design-system-stencil/p-fbdef7ac.entry.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/types/components/accordion/accordion.d.ts +8 -0
- package/dist/types/components/accordion/accordionItem.d.ts +31 -0
- package/dist/types/components/action-list/action-list-item.d.ts +59 -0
- package/dist/types/components/action-list/action-list.d.ts +9 -0
- package/dist/types/components/ai-label/ai-label.d.ts +7 -0
- package/dist/types/components/alert/alert.d.ts +22 -0
- package/dist/types/components/breadcrumb/breadcrumb-item-label.d.ts +14 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +25 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +6 -0
- package/dist/types/components/button/button.d.ts +41 -0
- package/dist/types/components/card/card-headline/card-headline.d.ts +7 -0
- package/dist/types/components/card/card-image/card-image.d.ts +17 -0
- package/dist/types/components/card/card-links/card-links.d.ts +4 -0
- package/dist/types/components/card/card-overline/card-overline.d.ts +3 -0
- package/dist/types/components/card/card-text/card-text.d.ts +6 -0
- package/dist/types/components/card/card.d.ts +28 -0
- package/dist/types/components/checkbox/checkbox.d.ts +88 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +30 -0
- package/dist/types/components/chip/chip-item/chip-item.d.ts +23 -0
- package/dist/types/components/chip/chip.d.ts +54 -0
- package/dist/types/components/chip/interfaces.d.ts +13 -0
- package/dist/types/components/content-switcher/content-switcher-item.d.ts +7 -0
- package/dist/types/components/content-switcher/content-switcher.d.ts +74 -0
- package/dist/types/components/counter/counter.d.ts +19 -0
- package/dist/types/components/date-picker/date-picker.d.ts +83 -0
- package/dist/types/components/download/download.d.ts +5 -0
- package/dist/types/components/dropdown/IOpenable.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown-header/dropdown-header.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown-item/dropdown-item.d.ts +23 -0
- package/dist/types/components/dropdown/dropdown-menu/dropdown-menu.d.ts +23 -0
- package/dist/types/components/dropdown/dropdown-seperator/dropdown-separator.d.ts +3 -0
- package/dist/types/components/dropdown/dropdown-trigger/dropdown-trigger.d.ts +6 -0
- package/dist/types/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.d.ts +16 -0
- package/dist/types/components/dropdown/dropdown.d.ts +55 -0
- package/dist/types/components/error-page/error-page.d.ts +15 -0
- package/dist/types/components/file-upload/file-upload.d.ts +205 -0
- package/dist/types/components/footer/footer-column.d.ts +4 -0
- package/dist/types/components/footer/footer.d.ts +11 -0
- package/dist/types/components/icon/figma_code_connect_icons.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +31 -0
- package/dist/types/components/icon-button/icon-button.d.ts +57 -0
- package/dist/types/components/icons-preview/icons-preview.d.ts +18 -0
- package/dist/types/components/indicator/indicator.d.ts +17 -0
- package/dist/types/components/link/link.d.ts +48 -0
- package/dist/types/components/modal/modal.d.ts +97 -0
- package/dist/types/components/navigation/navbar/navbar-item.d.ts +73 -0
- package/dist/types/components/navigation/navbar/navbar-profile.d.ts +41 -0
- package/dist/types/components/navigation/navbar/navbar.d.ts +70 -0
- package/dist/types/components/navigation/sidebar/sidebar-item.d.ts +65 -0
- package/dist/types/components/navigation/sidebar/sidebar-seperator/sidebar-separator.d.ts +3 -0
- package/dist/types/components/navigation/sidebar/sidebar-title.d.ts +7 -0
- package/dist/types/components/navigation/sidebar/sidebar.d.ts +87 -0
- package/dist/types/components/notification/notification.d.ts +23 -0
- package/dist/types/components/overview-table/overview-table.d.ts +11 -0
- package/dist/types/components/pagination/pagination.d.ts +45 -0
- package/dist/types/components/popover/popover.d.ts +55 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +14 -0
- package/dist/types/components/radio-button/radio-button.d.ts +37 -0
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +30 -0
- package/dist/types/components/search-bar/search-bar.d.ts +60 -0
- package/dist/types/components/search-field/search-field.d.ts +178 -0
- package/dist/types/components/segmented-control/segment/segment.d.ts +16 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +40 -0
- package/dist/types/components/select/multi-select/interfaces.d.ts +9 -0
- package/dist/types/components/select/multi-select/multiselect-group.d.ts +15 -0
- package/dist/types/components/select/multi-select/multiselect-option.d.ts +43 -0
- package/dist/types/components/select/multi-select/multiselect.d.ts +123 -0
- package/dist/types/components/select/single-select/select-group.d.ts +17 -0
- package/dist/types/components/select/single-select/select-option.d.ts +31 -0
- package/dist/types/components/select/single-select/select.d.ts +129 -0
- package/dist/types/components/slider/slider.d.ts +76 -0
- package/dist/types/components/spinner/spinner.d.ts +27 -0
- package/dist/types/components/status/status.d.ts +11 -0
- package/dist/types/components/stepper/interfaces.d.ts +7 -0
- package/dist/types/components/stepper/step/step.d.ts +24 -0
- package/dist/types/components/stepper/stepper.d.ts +35 -0
- package/dist/types/components/switch/switch.d.ts +112 -0
- package/dist/types/components/table-advanced-version/buttonCellRenderer.d.ts +15 -0
- package/dist/types/components/table-advanced-version/checkboxCellRenderer.d.ts +15 -0
- package/dist/types/components/table-advanced-version/checkboxHeaderRenderer.d.ts +14 -0
- package/dist/types/components/table-advanced-version/customLoadingOverlay.d.ts +9 -0
- package/dist/types/components/table-advanced-version/customNoRowsOverlay.d.ts +9 -0
- package/dist/types/components/table-advanced-version/filter-bar/filter-bar.d.ts +26 -0
- package/dist/types/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.d.ts +20 -0
- package/dist/types/components/table-advanced-version/filter-type-group/filter-search/filter-search.d.ts +22 -0
- package/dist/types/components/table-advanced-version/filter-type-group/filter-type-group.d.ts +29 -0
- package/dist/types/components/table-advanced-version/filter-type-group/utils.d.ts +5 -0
- package/dist/types/components/table-advanced-version/iconButtonCellRenderer.d.ts +15 -0
- package/dist/types/components/table-advanced-version/interfaces.d.ts +53 -0
- package/dist/types/components/table-advanced-version/linkCellRenderer.d.ts +12 -0
- package/dist/types/components/table-advanced-version/list/list-entry/list-entry.d.ts +11 -0
- package/dist/types/components/table-advanced-version/list/list.d.ts +38 -0
- package/dist/types/components/table-advanced-version/set-filter/setFilter.d.ts +20 -0
- package/dist/types/components/table-advanced-version/statusCellRenderer.d.ts +8 -0
- package/dist/types/components/table-advanced-version/table.d.ts +146 -0
- package/dist/types/components/table-advanced-version/tooltipCellRenderer.d.ts +12 -0
- package/dist/types/components/table-basic-version/customLoadingOverlay.d.ts +9 -0
- package/dist/types/components/table-basic-version/customNoRowsOverlay.d.ts +9 -0
- package/dist/types/components/table-basic-version/interfaces.d.ts +9 -0
- package/dist/types/components/table-basic-version/table.d.ts +34 -0
- package/dist/types/components/tabs/tab.d.ts +26 -0
- package/dist/types/components/tabs/tabs.d.ts +64 -0
- package/dist/types/components/templates/template/template.d.ts +37 -0
- package/dist/types/components/templates/templates-ui/templates-ui.d.ts +10 -0
- package/dist/types/components/text-field/text-field.d.ts +55 -0
- package/dist/types/components/textarea/textarea.d.ts +54 -0
- package/dist/types/components/toast/toast-config.d.ts +7 -0
- package/dist/types/components/toast/toast-container/toast-container.d.ts +43 -0
- package/dist/types/components/toast/toast-controller.d.ts +51 -0
- package/dist/types/components/toast/toast.d.ts +58 -0
- package/dist/types/components/tooltip/tooltip.d.ts +34 -0
- package/dist/types/components/tree-view/tree-view-item.d.ts +79 -0
- package/dist/types/components/tree-view/tree-view.d.ts +21 -0
- package/dist/types/components.d.ts +8540 -0
- package/dist/types/global/setup.d.ts +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/shared/utils/animation.d.ts +13 -0
- package/dist/types/shared/utils/colorNames.d.ts +1 -0
- package/dist/types/shared/utils/dom-ready.d.ts +1 -0
- package/dist/types/shared/utils/dom-utils.d.ts +1 -0
- package/dist/types/shared/utils/focus-trap.d.ts +33 -0
- package/dist/types/shared/utils/framework-detection.d.ts +1 -0
- package/dist/types/shared/utils/tracking.d.ts +10 -0
- package/dist/types/shared/utils/url-utils.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/package.json +193 -3
- package/readme.md +229 -0
- package/README.md +0 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
var urlUtils = require('./url-utils-CPE59br4.js');
|
|
5
|
+
|
|
6
|
+
const breadcrumbItemLabelCss = () => `.breadcrumb-item-label-container{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1d1d1d}.breadcrumb-item-label-container.margin{margin-left:16px}.breadcrumb-item-label-container ifx-icon:empty{display:none}.breadcrumb-item-label-container .label-icon-wrapper{display:inline-flex}.breadcrumb-item-label-container .menu-icon-wrapper{display:flex;justify-content:center;align-items:center;width:16px;height:16px}.breadcrumb-item-label-container .menu-icon-wrapper.hide{display:none}.breadcrumb-item-label-container .menu-icon-wrapper ifx-icon{transition:0.3s}.breadcrumb-item-label-container .menu-icon-wrapper.show ifx-icon{transition:0.3s;transform:rotate(180deg)}`;
|
|
7
|
+
|
|
8
|
+
const BreadcrumbItemLabel = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
this.breadcrumbMenuIconWrapper = index.createEvent(this, "breadcrumbMenuIconWrapper", 7);
|
|
12
|
+
}
|
|
13
|
+
/** Icon displayed inside the breadcrumb item. */
|
|
14
|
+
icon;
|
|
15
|
+
/** URL the breadcrumb item links to. */
|
|
16
|
+
href;
|
|
17
|
+
/** Where to open the link. */
|
|
18
|
+
target = "_self";
|
|
19
|
+
get el() { return index.getElement(this); }
|
|
20
|
+
/** Fires with the icon wrapper element when it's ready. */
|
|
21
|
+
breadcrumbMenuIconWrapper;
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
const container = this.el.shadowRoot.querySelector(".breadcrumb-item-label-container");
|
|
24
|
+
const menuWrapper = container?.querySelector(".menu-icon-wrapper");
|
|
25
|
+
if (menuWrapper) {
|
|
26
|
+
this.breadcrumbMenuIconWrapper.emit(menuWrapper);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (index.h("a", { key: '469c15e1f80f043cc781457277fb49ca250712cc', href: urlUtils.sanitizeHref(this.href), target: this.target, class: "breadcrumb-item-label-container", role: "link" }, index.h("ifx-icon", { key: 'd2f25b67fa417f58baac4553fa231005971eed25', icon: this.icon, "aria-hidden": "true" }), index.h("span", { key: '952ce4529313627043a590e1a6780edb7382b389', class: "label-wrapper" }, index.h("slot", { key: 'dd372efabeca69a1c05f06974cbc874a21d3f83c' })), index.h("span", { key: '685a2ccfc4f00910cf2d3fbdc27caaef9bae04b3', class: "menu-icon-wrapper", "aria-hiden": "true" }, index.h("ifx-icon", { key: '571d27872a74dff5d4084a151464fb23cbf81fcc', icon: "chevron-down-16" }))));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
BreadcrumbItemLabel.style = breadcrumbItemLabelCss();
|
|
34
|
+
|
|
35
|
+
exports.ifx_breadcrumb_item_label = BreadcrumbItemLabel;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const breadcrumbItemCss = () => `.breadcrumb-parent{display:flex;flex-direction:row;align-items:center;padding:0px;gap:12px;min-height:24px;justify-content:center}.breadcrumb-parent:hover{cursor:pointer}.breadcrumb-parent .breadcrumb-wrapper{display:flex;flex-direction:row;align-items:center;padding:0px;gap:8px;position:relative}.breadcrumb-parent .breadcrumb-wrapper .dropdown-menu{display:none;position:absolute;top:20px}.breadcrumb-parent .breadcrumb-wrapper .dropdown-menu.open{display:block}.breadcrumb-parent .breadcrumb-wrapper a{text-decoration:none;color:#1d1d1d;font-family:var(--ifx-font-family);font-style:normal;font-weight:400;font-size:0.875rem;line-height:1.25rem;display:flex;align-items:center;color:#1d1d1d;flex-direction:column;justify-content:center;padding:0px;border-bottom:1px solid #1D1D1D}.breadcrumb-parent .breadcrumb-divider{width:10px;height:16px;color:#bfbbbb;line-height:13px;font-size:1.25rem;margin-right:12px}`;
|
|
6
|
+
|
|
7
|
+
const BreadcrumbItem = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
isLastItem = false;
|
|
12
|
+
get el() { return index.getElement(this); }
|
|
13
|
+
emittedElement;
|
|
14
|
+
uniqueId;
|
|
15
|
+
hasDropdownMenu = false;
|
|
16
|
+
handleOutsideClick(event) {
|
|
17
|
+
const path = event.composedPath();
|
|
18
|
+
if (!path.includes(this.el)) {
|
|
19
|
+
this.closeDropdownMenu();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
handleKeyDown(ev) {
|
|
23
|
+
if (ev.key === "Enter" || ev.key === " ") {
|
|
24
|
+
this.toggleDropdownMenu();
|
|
25
|
+
}
|
|
26
|
+
else if (ev.key === "Escape") {
|
|
27
|
+
this.closeDropdownMenu();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
getDropdownMenu() {
|
|
31
|
+
const dropdownMenu = this.el.shadowRoot.querySelector(".dropdown-menu");
|
|
32
|
+
return dropdownMenu;
|
|
33
|
+
}
|
|
34
|
+
menuWrapperEventReEmitter(event) {
|
|
35
|
+
this.emittedElement = event.detail;
|
|
36
|
+
}
|
|
37
|
+
getMenuIconWrapper() {
|
|
38
|
+
return this.emittedElement;
|
|
39
|
+
}
|
|
40
|
+
handleClassList(el, type, className) {
|
|
41
|
+
el.classList[type](className);
|
|
42
|
+
}
|
|
43
|
+
closeDropdownMenu() {
|
|
44
|
+
if (this.hasDropdownMenu) {
|
|
45
|
+
const dropdownMenu = this.getDropdownMenu();
|
|
46
|
+
const menuWrapper = this.getMenuIconWrapper();
|
|
47
|
+
this.handleClassList(dropdownMenu, "remove", "open");
|
|
48
|
+
this.handleClassList(menuWrapper, "remove", "show");
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
toggleDropdownMenu() {
|
|
52
|
+
if (this.hasDropdownMenu) {
|
|
53
|
+
const dropdownMenu = this.getDropdownMenu();
|
|
54
|
+
const menuWrapper = this.getMenuIconWrapper();
|
|
55
|
+
this.handleClassList(dropdownMenu, "toggle", "open");
|
|
56
|
+
this.handleClassList(menuWrapper, "toggle", "show");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
isDropdownMenuOpen() {
|
|
60
|
+
const dropdownMenu = this.getDropdownMenu();
|
|
61
|
+
return (this.hasDropdownMenu &&
|
|
62
|
+
dropdownMenu &&
|
|
63
|
+
dropdownMenu.classList.contains("open"));
|
|
64
|
+
}
|
|
65
|
+
handleLastItem() {
|
|
66
|
+
const breadcrumbItems = this.el
|
|
67
|
+
.closest("ifx-breadcrumb")
|
|
68
|
+
.querySelectorAll("ifx-breadcrumb-item");
|
|
69
|
+
if (this.el === breadcrumbItems[breadcrumbItems.length - 1]) {
|
|
70
|
+
this.isLastItem = true;
|
|
71
|
+
}
|
|
72
|
+
else
|
|
73
|
+
this.isLastItem = false;
|
|
74
|
+
}
|
|
75
|
+
generateUniqueId(prefix = "id") {
|
|
76
|
+
return `${prefix}-${Math.random().toString(36).substring(2, 9)}`;
|
|
77
|
+
}
|
|
78
|
+
componentWillLoad() {
|
|
79
|
+
if (!this.uniqueId) {
|
|
80
|
+
this.uniqueId = this.generateUniqueId("breadcrumb-dropdown");
|
|
81
|
+
}
|
|
82
|
+
this.handleLastItem();
|
|
83
|
+
}
|
|
84
|
+
componentDidUpdate() {
|
|
85
|
+
this.handleLastItem();
|
|
86
|
+
}
|
|
87
|
+
componentWillRender() {
|
|
88
|
+
this.setHasDropdownMenuState();
|
|
89
|
+
}
|
|
90
|
+
setHasDropdownMenuState() {
|
|
91
|
+
const dropdownMenu = this.getIfxDropdownMenuComponent();
|
|
92
|
+
if (dropdownMenu) {
|
|
93
|
+
this.hasDropdownMenu = !!dropdownMenu;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
getIfxDropdownMenuComponent() {
|
|
97
|
+
const dropdownMenu = this.el.querySelector("ifx-dropdown-menu");
|
|
98
|
+
return dropdownMenu;
|
|
99
|
+
}
|
|
100
|
+
componentDidLoad() {
|
|
101
|
+
const dropdownMenu = this.getIfxDropdownMenuComponent();
|
|
102
|
+
if (!this.hasDropdownMenu) {
|
|
103
|
+
const iconMenuWrapper = this.getMenuIconWrapper();
|
|
104
|
+
this.handleClassList(iconMenuWrapper, "toggle", "hide");
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
dropdownMenu.isOpen = true;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
render() {
|
|
111
|
+
return (index.h("li", { key: 'a6e3ced53d2a988efc7814ab096443f0c3adc889', class: "breadcrumb-parent", "aria-current": `${this.isLastItem ? "page" : ""}` }, index.h("li", { key: 'a34dba95bbfa06947c20f4cca2ea98519c510e49', role: "button", tabindex: this.hasDropdownMenu ? 0 : -1, class: "breadcrumb-wrapper", onClick: () => this.toggleDropdownMenu(), "aria-controls": this.uniqueId, "aria-haspopup": "menu", "aria-label": "Toggle dropdown menu" }, index.h("slot", { key: '29a928930c54eb5395431ef214bb799c3ad6c59b', name: "label" }), index.h("div", { key: '1fba6f650c6d9c9173cba1bfa7fcd03a7b90f7cd', id: this.uniqueId, class: "dropdown-menu", "aria-expanded": this.isDropdownMenuOpen(), "aria-label": "Dropdown menu" }, index.h("slot", { key: 'c43583bd4a2d9da175f3cdb358f87c6953682362' }))), !this.isLastItem && (index.h("span", { key: '74c85ac130502169455204850d6a6cfe07e12851', class: "breadcrumb-divider", "aria-hidden": "true" }, "/"))));
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
BreadcrumbItem.style = breadcrumbItemCss();
|
|
115
|
+
|
|
116
|
+
exports.ifx_breadcrumb_item = BreadcrumbItem;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
var domUtils = require('./dom-utils-BdvOgC2b.js');
|
|
5
|
+
var tracking = require('./tracking-BPjaTlNR.js');
|
|
6
|
+
|
|
7
|
+
const breadcrumbCss = () => `:host{display:flex}.breadcrumb{list-style:none;padding:0px;margin:0px;display:flex;flex-direction:row;font-family:var(--ifx-font-family);font-size:0.875rem;align-items:flex-start}`;
|
|
8
|
+
|
|
9
|
+
const Breadcrumb = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
get el() { return index.getElement(this); }
|
|
14
|
+
async componentDidLoad() {
|
|
15
|
+
if (!domUtils.isNestedInIfxComponent(this.el)) {
|
|
16
|
+
const framework = tracking.detectFramework();
|
|
17
|
+
tracking.trackComponent("ifx-breadcrumb", await framework);
|
|
18
|
+
}
|
|
19
|
+
const element = this.el.shadowRoot?.firstElementChild;
|
|
20
|
+
if (element instanceof HTMLElement) {
|
|
21
|
+
this.validateBreadcrumbItemStructure(element);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
validateBreadcrumbItemStructure(element) {
|
|
25
|
+
if (!element) {
|
|
26
|
+
console.error("element not found");
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const slot = element.querySelector("slot");
|
|
30
|
+
if (slot) {
|
|
31
|
+
const assignedNodes = slot.assignedNodes();
|
|
32
|
+
for (let i = 0; i < assignedNodes.length; i++) {
|
|
33
|
+
const node = assignedNodes[i];
|
|
34
|
+
if (node.nodeName === "IFX-BREADCRUMB-ITEM") {
|
|
35
|
+
const breadcrumbItem = node;
|
|
36
|
+
const breadcrumbItemLabel = breadcrumbItem.querySelector("ifx-breadcrumb-item-label");
|
|
37
|
+
const breadcrumbDropdown = breadcrumbItem.querySelector("ifx-dropdown-menu");
|
|
38
|
+
if (breadcrumbItemLabel.hasAttribute("href") && breadcrumbDropdown) {
|
|
39
|
+
throw new Error("ifx-breadcrumb-item cannot have both a href and a dropdown menu.");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
return (index.h("nav", { key: '7e61f9e82395ddb901c955a3dd2eb266cd7ad221', "aria-label": "Page navigation breadcrumb" }, index.h("ol", { key: 'a2e6222a25a25fdcf551e4f3c4fe6af3f5bb604a', class: "breadcrumb" }, index.h("slot", { key: '827978b36b42f8ddd14c20ff042a79c9eee4981f' }))));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
Breadcrumb.style = breadcrumbCss();
|
|
50
|
+
|
|
51
|
+
exports.ifx_breadcrumb = Breadcrumb;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
var index$1 = require('./index-Bp6Dd2i1.js');
|
|
5
|
+
var domUtils = require('./dom-utils-BdvOgC2b.js');
|
|
6
|
+
var tracking = require('./tracking-BPjaTlNR.js');
|
|
7
|
+
var urlUtils = require('./url-utils-CPE59br4.js');
|
|
8
|
+
|
|
9
|
+
const buttonCss = () => `:host{vertical-align:bottom;display:inline-flex;width:var(--bw, fit-content)}.btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0px 16px;gap:8px;color:#ffffff;font-weight:600;border-radius:1px;line-height:1.5rem;font-family:var(--ifx-font-family);font-style:normal;text-decoration:none;user-select:none;font-size:1rem;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;width:var(--bw, fit-content)}.btn:not(.disabled){cursor:pointer}.btn.disabled{pointer-events:none}.btn-default{color:#ffffff;background-color:#0a8276}.btn-default:disabled,.btn-default.disabled{background-color:#bfbbbb;color:#ffffff;pointer-events:none}.btn-secondary-default{background-color:#ffffff;color:#0a8276;border:1px solid #0a8276}.btn-secondary-default:disabled,.btn-secondary-default.disabled{background-color:#ffffff;border:1px solid #bfbbbb;color:#bfbbbb;pointer-events:none}.btn-tertiary-default{background-color:rgba(0, 0, 0, 0);color:#0a8276}.btn-tertiary-default:disabled,.btn-tertiary-default.disabled{color:#bfbbbb;pointer-events:none}.btn-danger{color:#ffffff;background-color:#cd002f;border-color:#cd002f}.btn-danger:disabled,.btn-danger.disabled{background-color:#bfbbbb;color:#ffffff;pointer-events:none}.btn-secondary-danger{background-color:#ffffff;color:#cd002f;border:1px solid #cd002f}.btn-secondary-danger:disabled,.btn-secondary-danger.disabled{background-color:#ffffff;border:1px solid #bfbbbb;color:#bfbbbb;pointer-events:none}.btn-tertiary-danger{background-color:rgba(0, 0, 0, 0);color:#cd002f}.btn-tertiary-danger:disabled,.btn-tertiary-danger.disabled{background-color:#ffffff;color:#bfbbbb;pointer-events:none}.btn-inverse{color:#0a8276;background-color:#ffffff}.btn-inverse:disabled,.btn-inverse.disabled{opacity:1;background-color:#ffffff;color:#bfbbbb;pointer-events:none}.btn-secondary-inverse{color:#ffffff;border:1px solid #ffffff}.btn-secondary-inverse:disabled,.btn-secondary-inverse.disabled{border:1px solid #ffffff;color:#ffffff;pointer-events:none}.btn-tertiary-inverse{color:#ffffff}.btn-tertiary-inverse:disabled,.btn-tertiary-inverse.disabled{color:#ffffff;opacity:1;pointer-events:none}.btn ifx-icon:empty{display:none}.btn.btn-xs{font-size:0.875rem;height:32px;line-height:1rem}.btn.btn-s{font-size:0.875rem;height:36px;line-height:1.25rem}.btn.btn-l{font-size:1.25rem;height:48px;line-height:1.75rem}.btn.btn-default:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #0a8276}.btn.btn-default:not(:disabled,.disabled):hover{background-color:#08665c}.btn.btn-default:not(:disabled,.disabled):active,.btn.btn-default:not(:disabled,.disabled).active{background-color:#06534b}.btn.btn-secondary-default:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #0a8276}.btn.btn-secondary-default:not(:disabled,.disabled):hover{color:#ffffff;background-color:#08665c}.btn.btn-secondary-default:not(:disabled,.disabled):active,.btn.btn-secondary-default:not(:disabled,.disabled).active{background-color:#06534b}.btn.btn-secondary:not(:disabled,.disabled):hover{background-color:#9c216e}.btn.btn-secondary:not(:disabled,.disabled):active,.btn.btn-secondary:not(:disabled,.disabled).active{background-color:#9c216e}.btn.btn-danger:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #0a8276}.btn.btn-danger:not(:disabled,.disabled):hover{background-color:#a2001e}.btn.btn-danger:not(:disabled,.disabled):active,.btn.btn-danger:not(:disabled,.disabled).active{background-color:#900021}.btn.btn-secondary-danger:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #0a8276}.btn.btn-secondary-danger:not(:disabled,.disabled):hover{color:#ffffff;background-color:#a2001e}.btn.btn-secondary-danger:not(:disabled,.disabled):active,.btn.btn-secondary-danger:not(:disabled,.disabled).active{background-color:#900021}.btn.btn-inverse:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #0a8276, 0 0 0 4px #ffffff}.btn.btn-inverse:not(:disabled,.disabled):hover{background-color:#eeeded}.btn.btn-inverse:not(:disabled,.disabled):active,.btn.btn-inverse:not(:disabled,.disabled).active{background-color:#bfbbbb}.btn.btn-secondary-inverse:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #0a8276, 0 0 0 4px #ffffff}.btn.btn-secondary-inverse:not(:disabled,.disabled):hover{color:#0a8276;background-color:#eeeded}.btn.btn-secondary-inverse:not(:disabled,.disabled):active,.btn.btn-secondary-inverse:not(:disabled,.disabled).active{color:#0a8276;background-color:#bfbbbb}.btn.btn-tertiary-default:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #08665c}.btn.btn-tertiary-default:not(:disabled,.disabled):hover{color:#08665c}.btn.btn-tertiary-default:not(:disabled,.disabled):active,.btn.btn-tertiary-default:not(:disabled,.disabled).active{color:#06534b}.btn.btn-tertiary-danger:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #ffffff, 0 0 0 4px #a2001e}.btn.btn-tertiary-danger:not(:disabled,.disabled):hover{color:#a2001e}.btn.btn-tertiary-danger:not(:disabled,.disabled):active,.btn.btn-tertiary-danger:not(:disabled,.disabled).active{color:#900021}.btn.btn-tertiary-inverse:not(:disabled,.disabled):focus:not(:active,.active){outline:none;box-shadow:0 0 0 2px #0a8276, 0 0 0 4px #ffffff}.btn.btn-tertiary-inverse:not(:disabled,.disabled):hover{color:#eeeded}.btn.btn-tertiary-inverse:not(:disabled,.disabled):active,.btn.btn-tertiary-inverse:not(:disabled,.disabled).active{color:#bfbbbb}`;
|
|
10
|
+
|
|
11
|
+
const Button = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
}
|
|
15
|
+
/** Button style level (visual prominence). */
|
|
16
|
+
variant = "primary";
|
|
17
|
+
/** Color theme of the button. */
|
|
18
|
+
theme = "default";
|
|
19
|
+
/** Button size (xs, s, m, l). */
|
|
20
|
+
size = "m";
|
|
21
|
+
/** Wether the button is disabled and not clickable. */
|
|
22
|
+
disabled = false;
|
|
23
|
+
internalHref;
|
|
24
|
+
/** URL the Button should navigate to when clicked. */
|
|
25
|
+
href;
|
|
26
|
+
/** Where to open the link. */
|
|
27
|
+
target = "_self";
|
|
28
|
+
/** Native button type. */
|
|
29
|
+
type = "button";
|
|
30
|
+
/** If true, button stretches to fill the available width. */
|
|
31
|
+
fullWidth = false;
|
|
32
|
+
/** Accessible label for screen readers when text is not enough */
|
|
33
|
+
ariaLabelText;
|
|
34
|
+
get el() { return index.getElement(this); }
|
|
35
|
+
focusableElement;
|
|
36
|
+
nativeButton;
|
|
37
|
+
setInternalHref(newValue) {
|
|
38
|
+
this.internalHref = newValue;
|
|
39
|
+
}
|
|
40
|
+
/** Move keayboard focus to the button. */
|
|
41
|
+
async setFocus() {
|
|
42
|
+
this.focusableElement.focus();
|
|
43
|
+
}
|
|
44
|
+
insertNativeButton() {
|
|
45
|
+
this.nativeButton = document.createElement("button");
|
|
46
|
+
this.nativeButton.type = this.type;
|
|
47
|
+
this.nativeButton.style.display = "none";
|
|
48
|
+
this.el.closest("form").appendChild(this.nativeButton);
|
|
49
|
+
}
|
|
50
|
+
handleFormAndInternalHref() {
|
|
51
|
+
if (this.el.closest("form")) {
|
|
52
|
+
if (this.el.href) {
|
|
53
|
+
this.internalHref = undefined;
|
|
54
|
+
}
|
|
55
|
+
this.insertNativeButton();
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.internalHref = this.href;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
handleButtonWidth() {
|
|
62
|
+
if (this.fullWidth) {
|
|
63
|
+
this.el.style.setProperty("--bw", "100%");
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
this.el.style.setProperty("--bw", "fit-content");
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
componentWillLoad() {
|
|
70
|
+
this.handleFormAndInternalHref();
|
|
71
|
+
}
|
|
72
|
+
async componentDidLoad() {
|
|
73
|
+
if (!domUtils.isNestedInIfxComponent(this.el)) {
|
|
74
|
+
const framework = tracking.detectFramework();
|
|
75
|
+
tracking.trackComponent("ifx-button", await framework);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
componentWillRender() {
|
|
79
|
+
this.handleButtonWidth();
|
|
80
|
+
}
|
|
81
|
+
handleClick = (ev) => {
|
|
82
|
+
if (this.el.shadowRoot) {
|
|
83
|
+
const parentForm = this.el.closest("form");
|
|
84
|
+
if (parentForm) {
|
|
85
|
+
ev.preventDefault();
|
|
86
|
+
if (this.type === "reset") {
|
|
87
|
+
parentForm.reset();
|
|
88
|
+
parentForm.dispatchEvent(new Event("reset"));
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (this.nativeButton) {
|
|
92
|
+
this.nativeButton.click();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const fakeButton = document.createElement("button");
|
|
96
|
+
if (this.type) {
|
|
97
|
+
fakeButton.type = this.type;
|
|
98
|
+
}
|
|
99
|
+
fakeButton.style.display = "none";
|
|
100
|
+
parentForm.appendChild(fakeButton);
|
|
101
|
+
fakeButton.click();
|
|
102
|
+
fakeButton.remove();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
handleKeyDown(ev) {
|
|
107
|
+
if (ev.key === " " || (ev.key === "Enter" && !this.disabled)) {
|
|
108
|
+
this.focusableElement.click();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
handleHostClick(event) {
|
|
112
|
+
if (this.disabled === true) {
|
|
113
|
+
event.stopImmediatePropagation();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
handleFocus(event) {
|
|
117
|
+
if (this.disabled) {
|
|
118
|
+
event.preventDefault();
|
|
119
|
+
this.focusableElement.blur();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
render() {
|
|
123
|
+
return (index.h(index.Host, { key: 'e4c165461267e3877bb8eeeccbffd4210c7442ae' }, index.h("a", { key: '0a5e7131ed8cac297f08329cbd43e64d5c9f5941', role: this.href ? "link" : "button", tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.focusableElement = el), class: this.getClassNames(), href: !this.disabled ? urlUtils.sanitizeHref(this.internalHref) : undefined, target: this.target, onClick: this.handleClick, rel: this.target === "_blank" ? "noopener noreferrer" : undefined, onFocus: (event) => this.handleFocus(event), "aria-disabled": this.disabled ? "true" : null, "aria-describedby": this.theme === "danger" ? "Dangerous action" : undefined, "aria-label": this.ariaLabelText || undefined }, index.h("slot", { key: 'aee88584e7ed312589f8606f2387cd7833bcac77' }))));
|
|
124
|
+
}
|
|
125
|
+
getVariantClass() {
|
|
126
|
+
return `${this.variant}` === "secondary"
|
|
127
|
+
? `secondary-${this.theme}`
|
|
128
|
+
: `${this.variant}` === "tertiary"
|
|
129
|
+
? `tertiary-${this.theme}`
|
|
130
|
+
: `${this.theme}`;
|
|
131
|
+
}
|
|
132
|
+
getSizeClass() {
|
|
133
|
+
if (`${this.size}` === "xs") {
|
|
134
|
+
return "xs";
|
|
135
|
+
}
|
|
136
|
+
else if (`${this.size}` === "s") {
|
|
137
|
+
return "s";
|
|
138
|
+
}
|
|
139
|
+
else if (`${this.size}` === "l") {
|
|
140
|
+
return "l";
|
|
141
|
+
}
|
|
142
|
+
else
|
|
143
|
+
return "";
|
|
144
|
+
}
|
|
145
|
+
getClassNames() {
|
|
146
|
+
return index$1.classNames("btn", this.size && `btn-${this.getSizeClass()}`, `btn-${this.getVariantClass()}`, this.disabled ? "disabled" : "");
|
|
147
|
+
}
|
|
148
|
+
static get watchers() { return {
|
|
149
|
+
"href": [{
|
|
150
|
+
"setInternalHref": 0
|
|
151
|
+
}]
|
|
152
|
+
}; }
|
|
153
|
+
};
|
|
154
|
+
Button.style = buttonCss();
|
|
155
|
+
|
|
156
|
+
exports.ifx_button = Button;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const cardHeadlineCss = () => `:host{pointer-events:auto}.card__headline-wrapper{padding-bottom:var(--card-headline-padding, 16px)}.card__headline-wrapper.withDesc{padding-bottom:8px}.card-headline{pointer-events:none;margin-top:0;padding-top:0;font-family:var(--ifx-font-family);font-weight:600;font-size:1.5rem;line-height:2rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.card-headline.horizontal{font-size:var(--card-headline-font, 1.25rem);line-height:var(--card-headline-line-height, 28px)}::slotted(a),::slotted(button),::slotted(ifx-link),::slotted(ifx-button){pointer-events:auto}`;
|
|
6
|
+
|
|
7
|
+
const CardHeadline = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
get el() { return index.getElement(this); }
|
|
12
|
+
direction;
|
|
13
|
+
hasDesc;
|
|
14
|
+
componentWillLoad() {
|
|
15
|
+
const cardElement = this.el.closest("ifx-card");
|
|
16
|
+
if (cardElement) {
|
|
17
|
+
const cardClass = cardElement.shadowRoot.querySelector(".card")?.className;
|
|
18
|
+
if (cardClass && cardClass.includes("horizontal")) {
|
|
19
|
+
this.direction = "horizontal";
|
|
20
|
+
}
|
|
21
|
+
const desc = cardElement.querySelector("ifx-card-text");
|
|
22
|
+
if (desc) {
|
|
23
|
+
this.hasDesc = true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (index.h("div", { key: 'b8e311b9ae6cab669ef0e0bf4761bc44498e0f4c', class: `card__headline-wrapper ${this.hasDesc ? "withDesc" : ""}` }, index.h("div", { key: '299da45fcffac2c89ad9d5056e91dc7c7adb3715', class: `card-headline ${this.direction}` }, index.h("slot", { key: 'd249ab6b2cc602502bb03ac83504b235066c09bf' }))));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
CardHeadline.style = cardHeadlineCss();
|
|
32
|
+
|
|
33
|
+
exports.ifx_card_headline = CardHeadline;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const cardImageCss = () => `:host{display:block;width:100%;height:100%}.card-image{width:100%;height:100%;object-fit:cover;display:block}.card-image.object-fit-contain{object-fit:contain}.card-image.object-fit-fill{object-fit:fill}.card-image.object-fit-none{object-fit:none}.card-image.object-fit-scale-down{object-fit:scale-down}`;
|
|
6
|
+
|
|
7
|
+
const CardImage = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.imgPosition = index.createEvent(this, "imgPosition", 7);
|
|
11
|
+
}
|
|
12
|
+
/** Image source URL. */
|
|
13
|
+
src;
|
|
14
|
+
/** Text description of the image for screen readers. */
|
|
15
|
+
alt;
|
|
16
|
+
/** Image position. */
|
|
17
|
+
position;
|
|
18
|
+
/** CSS object-fit value applied to the image. */
|
|
19
|
+
objectFit = "cover";
|
|
20
|
+
/** Emits the image position when it changes or is set. */
|
|
21
|
+
imgPosition;
|
|
22
|
+
handlePosition(position) {
|
|
23
|
+
this.imgPosition.emit(position);
|
|
24
|
+
}
|
|
25
|
+
componentWillLoad() {
|
|
26
|
+
this.handlePosition(this.position);
|
|
27
|
+
}
|
|
28
|
+
componentDidUpdate() {
|
|
29
|
+
this.handlePosition(this.position);
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return index.h("img", { key: '1b9476661390907bc3ad512dfaf64daab6f7d4fb', src: this.src, alt: this.alt, class: `card-image ${this.objectFit !== 'cover' ? `object-fit-${this.objectFit}` : ''}` });
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
CardImage.style = cardImageCss();
|
|
36
|
+
|
|
37
|
+
exports.ifx_card_image = CardImage;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const cardLinksCss = () => `.container{display:flex;align-items:center;gap:20px;flex-wrap:wrap;text-decoration:none;color:#1d1d1d;padding:var(--card-links-padding, 0px 24px 24px 24px);padding-top:var(--card-links-padding-top, 0px);word-wrap:break-word;overflow-wrap:anywhere;}.container:hover{cursor:initial}`;
|
|
6
|
+
|
|
7
|
+
const CardLinks = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
get el() { return index.getElement(this); }
|
|
12
|
+
render() {
|
|
13
|
+
return (index.h("div", { key: '44c03fc2b2ea694be6394887732cfd1ff810d2ce', class: "container" }, index.h("slot", { key: '59607d594985586985328f1dd1d71c7dda4acb08' })));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
CardLinks.style = cardLinksCss();
|
|
17
|
+
|
|
18
|
+
exports.ifx_card_links = CardLinks;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const cardOverlineCss = () => `:host{pointer-events:auto}.card-overline{pointer-events:none;font-family:var(--ifx-font-family);font-size:1rem;font-weight:400;color:#575352;padding-bottom:4px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all}::slotted(a),::slotted(button),::slotted(ifx-link),::slotted(ifx-button){pointer-events:auto}`;
|
|
6
|
+
|
|
7
|
+
const CardOverline = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (index.h("div", { key: 'b7f68e2d5249fc4f94025f0d6774ad43ecc7bd8b', class: "card-overline" }, index.h("slot", { key: '10fd6203c796c36ba7eedc56364c4f1e9a38a967' })));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
CardOverline.style = cardOverlineCss();
|
|
16
|
+
|
|
17
|
+
exports.ifx_card_overline = CardOverline;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const cardTextCss = () => `:host{pointer-events:auto}.card__text-wrapper{padding-bottom:0px}.card__text-wrapper.hasBtn{padding-bottom:16px}.card-text{pointer-events:none;line-height:1.5rem;font-size:1rem;font-weight:400;white-space:wrap;display:-webkit-box;-webkit-line-clamp:var(--card-text-line-clamp, 3);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}::slotted(a),::slotted(button),::slotted(ifx-link),::slotted(ifx-button){pointer-events:auto}`;
|
|
6
|
+
|
|
7
|
+
const CardText = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
get el() { return index.getElement(this); }
|
|
12
|
+
hasBtn;
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
const link = this.el.closest("ifx-card").querySelector("ifx-link");
|
|
15
|
+
const button = this.el.closest("ifx-card").querySelector("ifx-button");
|
|
16
|
+
if (link || button) {
|
|
17
|
+
this.hasBtn = true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (index.h("div", { key: 'e6b84591ff0b42172937c23fe8ae7a7e9a54b4ec', class: `card__text-wrapper ${this.hasBtn ? "hasBtn" : ""}` }, index.h("div", { key: 'a9f34bdbacc6db245f3d0eba66caf759255af4a2', class: `card-text` }, index.h("slot", { key: '7357c67c2d27fb4fe6afe18ff57884115210054d' }))));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
CardText.style = cardTextCss();
|
|
25
|
+
|
|
26
|
+
exports.ifx_card_text = CardText;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
var domUtils = require('./dom-utils-BdvOgC2b.js');
|
|
5
|
+
var tracking = require('./tracking-BPjaTlNR.js');
|
|
6
|
+
var urlUtils = require('./url-utils-CPE59br4.js');
|
|
7
|
+
|
|
8
|
+
const cardCss = () => `*{box-sizing:border-box}:host{display:inline-flex}:host(:not(.full-width)){--card-links-padding:0px 24px 24px 24px;align-self:flex-start}:host(.full-width){width:100%}:host(.full-width) .card{width:100%;height:100%;border-width:1px}:host(.full-width) .card.pin-buttons .vertical{display:flex;flex-direction:column;height:100%}:host(.full-width) .card.pin-buttons .vertical .upper__body-wrapper{flex:1;display:flex;flex-direction:column;min-height:0}:host(.full-width) .card.pin-buttons .vertical .lower__body-wrapper{flex:0 0 auto}:host(.full-width) .card.horizontal ::slotted(ifx-card-links){--card-links-padding:0px;--card-links-padding-top:16px}:host(.full-width) .card.horizontal ::slotted(ifx-card-headline){--card-headline-padding:0px;--card-headline-font:18px;--card-headline-line-height:26px}:host(.full-width) .card.horizontal ::slotted(ifx-card-text){--card-text-line-clamp:unset}:host(.full-width) .card.horizontal .horizontal{min-height:auto;width:100%;height:auto;justify-content:space-between}:host(.full-width) .card.horizontal .horizontal .card-img{flex:0 0 40%;min-width:0;max-width:50%;position:relative;align-self:stretch}:host(.full-width) .card.horizontal .horizontal .card-img ::slotted([slot=img]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}:host(.full-width) .card.horizontal .horizontal .lower__body-wrapper{flex:1;padding:16px;display:flex;flex-direction:column;min-height:0}:host(.full-width) .card.horizontal .horizontal .lower__body-wrapper .upper-body{padding:0px;min-height:0}.card{position:relative;display:inline-flex;flex-direction:column;word-wrap:break-word;background-color:#ffffff;background-clip:border-box;border:2px solid #eeeded;border-radius:2px;width:350px;height:auto;font-family:var(--ifx-font-family)}.card:has(.card-href:focus),.card:has(.card-href:hover){outline:none;border-color:#0a8276}.card:has(.card-href:focus) ::slotted(ifx-card-headline),.card:has(.card-href:hover) ::slotted(ifx-card-headline){color:#0a8276}.card.noBtns .vertical .lower__body-wrapper{padding-bottom:24px}.card.noBtns .horizontal .lower__body-wrapper{padding-bottom:24px}.card.pin-buttons .horizontal .lower__body-wrapper{display:grid;grid-template-rows:1fr auto}.card.pin-buttons .horizontal .lower__body-wrapper .upper-body{flex:1;min-height:0}.card .horizontal{display:flex;flex-direction:row;min-height:218px;width:100%;gap:24px}.card .horizontal .card-img{flex:1;text-decoration:none}.card .horizontal .card-img.noImage{display:none}.card .horizontal .card-img ::slotted([slot=img]){width:100%;height:100%;object-fit:cover}.card .horizontal .lower__body-wrapper{flex:1;display:flex;flex-direction:column}.card .horizontal .lower__body-wrapper .upper-body{display:flex;flex-direction:column;text-decoration:none;color:#1d1d1d;padding:24px 24px 0px 24px}.card .vertical .upper__body-wrapper{text-decoration:none;color:#1d1d1d}.card .vertical .upper__body-wrapper .card-img{height:190px}.card .vertical .upper__body-wrapper .card-img.noImage{display:none}.card .vertical .upper__body-wrapper .upper-body{padding:24px 24px 0px 24px}.card .vertical .lower__body-wrapper:hover{border-color:#eeeded}.card.horizontal{flex-direction:row;width:538px}.card.horizontal .card-img{flex:1;order:2}.card.horizontal .card-img ::slotted([slot=img]){width:100%;height:100%;vertical-align:bottom;object-fit:cover}.card.horizontal.left .horizontal{gap:24px}.card.horizontal.left .horizontal .card-img{order:1}.card.horizontal.left .horizontal .lower__body-wrapper{order:2}.card .card-href:focus{outline:none}`;
|
|
9
|
+
|
|
10
|
+
const Card = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
}
|
|
14
|
+
get el() { return index.getElement(this); }
|
|
15
|
+
noBtns;
|
|
16
|
+
/** Layout direction of the card. */
|
|
17
|
+
direction = "vertical";
|
|
18
|
+
alignment;
|
|
19
|
+
noImg;
|
|
20
|
+
/** Link the card should navigate to when clicked. */
|
|
21
|
+
href = "";
|
|
22
|
+
internalHref = "";
|
|
23
|
+
/** Where to open the link. */
|
|
24
|
+
target = "_self";
|
|
25
|
+
/** Accessible label for screen readers. */
|
|
26
|
+
ariaLabelText = "";
|
|
27
|
+
/** If true, Card stretches to fill the available width. */
|
|
28
|
+
fullWidth = false;
|
|
29
|
+
/** Controls vertical placement of the buttons slot within the card.
|
|
30
|
+
* "default" keeps buttons inline with content height.
|
|
31
|
+
* "bottom" pins buttons to the bottom of the card. Only takes effect when fullWidth is true. */
|
|
32
|
+
actionsPlacement = "default";
|
|
33
|
+
setImgPosition(event) {
|
|
34
|
+
this.alignment = event.detail;
|
|
35
|
+
}
|
|
36
|
+
handleImageSlotChange(event) {
|
|
37
|
+
const slot = event.target;
|
|
38
|
+
this.noImg = slot.assignedElements().length === 0;
|
|
39
|
+
}
|
|
40
|
+
handleComponentAdjustment() {
|
|
41
|
+
const image = this.el.querySelector('[slot="img"]');
|
|
42
|
+
const links = this.el.querySelector("ifx-card-links");
|
|
43
|
+
this.noImg = !image;
|
|
44
|
+
this.noBtns = !links;
|
|
45
|
+
if (this.href.trim() === "") {
|
|
46
|
+
this.internalHref = undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.internalHref = this.href;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
this.handleComponentAdjustment();
|
|
54
|
+
}
|
|
55
|
+
async componentDidLoad() {
|
|
56
|
+
if (!domUtils.isNestedInIfxComponent(this.el)) {
|
|
57
|
+
const framework = tracking.detectFramework();
|
|
58
|
+
tracking.trackComponent("ifx-card", await framework);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
componentWillUpdate() {
|
|
62
|
+
this.handleComponentAdjustment();
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const pinButtons = this.direction === "horizontal"
|
|
66
|
+
? this.actionsPlacement === "bottom"
|
|
67
|
+
: this.fullWidth && this.actionsPlacement === "bottom";
|
|
68
|
+
return (index.h(index.Host, { key: 'b327e65252e5d37cebd9bac3aa024452fcc76fb9', class: `${this.fullWidth ? 'full-width' : ''} ${pinButtons ? 'pin-buttons' : ''}` }, index.h("div", { key: '8b6975b47c097cf0159ec3f7c03af7e1ce6d9e50', "aria-label": this.ariaLabelText || undefined, class: `card
|
|
69
|
+
${this.noBtns ? "noBtns" : ""}
|
|
70
|
+
${this.direction}
|
|
71
|
+
${this.alignment}
|
|
72
|
+
${pinButtons ? "pin-buttons" : ""}`, role: "group" }, this.direction === "horizontal" && (index.h("div", { key: '614061a5dc130c4792f524503629e9b70e0ca643', class: "horizontal" }, index.h("a", { key: 'db03ac3ee6b6bd371348800508172e63e4bdb6e3', class: `card-img ${this.noImg ? "noImage" : ""} ${this.internalHref ? "card-href" : ""}`, href: urlUtils.sanitizeHref(this.internalHref) }, index.h("slot", { key: '378e8b9f3603edd0eceddc6726065067229bca7d', name: "img", onSlotchange: (event) => this.handleImageSlotChange(event) })), index.h("div", { key: '1aa1c14dda2780750cfb46631798321db8174a44', class: "lower__body-wrapper" }, index.h("a", { key: '684494ade8c3b3939154badf6c3a36d2d019a95f', class: `upper-body ${this.internalHref ? "card-href" : ""}`, href: urlUtils.sanitizeHref(this.internalHref), id: "upper-body-content" }, index.h("slot", { key: '9c9a573eb6f9b8d0978138046faa4dd958fdff0a' })), index.h("div", { key: 'a26ad6c93f791c91ebfc54854e0ca0e90af28d7c' }, index.h("slot", { key: '5a90771f179cd1f0762e28dc3502bf3d5881bad3', name: "actions" }))))), this.direction === "vertical" && (index.h("div", { key: '9c1a6f981610b88ed9ca6f52e46028982cfd0502', class: "vertical" }, index.h("a", { key: '6940e4c1f1a671a783a94da21038f2773adb0297', class: `upper__body-wrapper ${this.internalHref ? "card-href" : ""}`, href: urlUtils.sanitizeHref(this.internalHref), target: this.target }, index.h("div", { key: '4a2c3cfc40299adbd0217cffbc86d2da9a429a34', class: `card-img ${this.noImg ? "noImage" : ""}` }, index.h("slot", { key: '49d55285cf72082c0ac23f89b0749b53db483642', name: "img", onSlotchange: (event) => this.handleImageSlotChange(event) })), index.h("div", { key: '7640f8376eee794b46bc73f843dfee7568737172', class: "upper-body", id: "upper-body-content" }, index.h("slot", { key: '3c19fd1b0e60d5b2ee037f3346d4e8f36849f617' }))), index.h("div", { key: '2de079b0a499d155797cac0885548614e37249aa', class: "lower__body-wrapper", role: "group", "aria-labelledby": "upper-body-content" }, index.h("slot", { key: '1903d7f15838ff392e232c2de4ef2c5932ab139b', name: "actions" })))))));
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
Card.style = cardCss();
|
|
76
|
+
|
|
77
|
+
exports.ifx_card = Card;
|