@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,168 @@
|
|
|
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 stepperCss = () => `.stepper{display:flex;align-items:center}.stepper.compact{align-items:center;gap:8px}.stepper.compact.compact-right{flex-direction:row-reverse;text-align:left}.stepper.compact .stepper-wrapper{width:unset;flex-direction:column}.stepper.vertical{height:100%}.stepper.vertical .stepper-wrapper{flex-direction:column;width:unset;height:100%}.stepper-wrapper{display:flex;flex-direction:row;width:100%}.stepper-wrapper ::slotted(*){display:flex;flex:1;justify-content:flex-start}.stepper-progress{display:flex;justify-content:center;align-items:center;font:600 0.875rem/1.25rem "Source Sans 3";font-family:var(--ifx-font-family);min-width:56px;height:56px;border-radius:9999px;background:conic-gradient(#0a8276 var(--pb, 0%), #bfbbbb 0)}.stepper-progress .progress-detail{display:flex;justify-content:center;align-items:center;text-align:center;width:48px;height:48px;border-radius:9999px;background:white}`;
|
|
8
|
+
|
|
9
|
+
const Stepper = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.ifxChange = index.createEvent(this, "ifxChange", 7);
|
|
13
|
+
}
|
|
14
|
+
get el() { return index.getElement(this); }
|
|
15
|
+
/** Fired when the active step changes. */
|
|
16
|
+
ifxChange;
|
|
17
|
+
/** Currently active step in the stepper. */
|
|
18
|
+
activeStep = 1;
|
|
19
|
+
/** Position of the indicator relative to the step content. */
|
|
20
|
+
indicatorPosition = "left";
|
|
21
|
+
/** If true, displays step numbers inside the indicators. */
|
|
22
|
+
showStepNumber = false;
|
|
23
|
+
/** Visual layout variant of the stepper (default, compact, or vertical). */
|
|
24
|
+
variant = "default";
|
|
25
|
+
/** Accessible label for the stepper region. */
|
|
26
|
+
ariaLabelText;
|
|
27
|
+
/** ARIA current value for the active step (e.g. 'step' or 'page'). */
|
|
28
|
+
ariaCurrentText;
|
|
29
|
+
stepsCount;
|
|
30
|
+
shouldEmitEvent = true;
|
|
31
|
+
emittedByClick = false;
|
|
32
|
+
onStepChange(event) {
|
|
33
|
+
const steps = this.getSteps();
|
|
34
|
+
const previousActiveStep = steps[event.detail.previousActiveStep - 1];
|
|
35
|
+
if (previousActiveStep && !previousActiveStep.complete) {
|
|
36
|
+
previousActiveStep.setAttribute("error", "true");
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
handleActiveStep(newStep, oldStep) {
|
|
40
|
+
const steps = this.getSteps();
|
|
41
|
+
if (!this.shouldEmitEvent) {
|
|
42
|
+
this.shouldEmitEvent = true;
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
// Skipping until the enabled step is found
|
|
46
|
+
if (steps[newStep - 1]) {
|
|
47
|
+
if (!steps[newStep - 1].disabled) {
|
|
48
|
+
this.emitIfxChange(newStep, oldStep);
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
// If coming from higher step number to the lower step number
|
|
52
|
+
if (newStep < oldStep) {
|
|
53
|
+
let i = newStep;
|
|
54
|
+
this.shouldEmitEvent = false;
|
|
55
|
+
while (i >= 1 && steps[i - 1].disabled)
|
|
56
|
+
i--;
|
|
57
|
+
// if all the steps are disabled no change.
|
|
58
|
+
if (i < 1) {
|
|
59
|
+
this.activeStep = oldStep;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
this.emitIfxChange(i, oldStep);
|
|
63
|
+
this.activeStep = i;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
// If coming from lower step number to the higher step number
|
|
67
|
+
else {
|
|
68
|
+
let i = newStep;
|
|
69
|
+
this.shouldEmitEvent = false;
|
|
70
|
+
while (i <= this.stepsCount && steps[i - 1].disabled)
|
|
71
|
+
i++;
|
|
72
|
+
if (i > this.stepsCount) {
|
|
73
|
+
this.activeStep = oldStep;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.emitIfxChange(i, oldStep);
|
|
77
|
+
this.activeStep = i;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
emitIfxChange(activeStep, previousActiveStep) {
|
|
84
|
+
this.ifxChange.emit({
|
|
85
|
+
activeStep: activeStep,
|
|
86
|
+
previousActiveStep: previousActiveStep,
|
|
87
|
+
totalSteps: this.stepsCount,
|
|
88
|
+
emittedByClick: this.emittedByClick,
|
|
89
|
+
});
|
|
90
|
+
this.emittedByClick = false;
|
|
91
|
+
}
|
|
92
|
+
getSteps() {
|
|
93
|
+
const steps = this.el.querySelectorAll("ifx-step");
|
|
94
|
+
return steps;
|
|
95
|
+
}
|
|
96
|
+
addStepIdsToStepsAndCountSteps() {
|
|
97
|
+
const steps = this.getSteps();
|
|
98
|
+
steps[steps.length - 1].lastStep = true;
|
|
99
|
+
for (let i = 0; i < steps.length; i++) {
|
|
100
|
+
steps[i].stepId = i + 1;
|
|
101
|
+
}
|
|
102
|
+
this.stepsCount = steps.length;
|
|
103
|
+
}
|
|
104
|
+
setActiveStep(stepId, setByClick = false) {
|
|
105
|
+
this.emittedByClick = setByClick;
|
|
106
|
+
this.activeStep = stepId;
|
|
107
|
+
}
|
|
108
|
+
setStepsBeforeActiveToComplete() {
|
|
109
|
+
const steps = this.getSteps();
|
|
110
|
+
steps.forEach((step, stepId) => {
|
|
111
|
+
if (stepId + 1 < this.activeStep)
|
|
112
|
+
step.complete = true;
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
syncIfxSteps() {
|
|
116
|
+
const steps = this.getSteps();
|
|
117
|
+
for (let i = 0; i < steps.length; i++) {
|
|
118
|
+
const stepperState = {
|
|
119
|
+
activeStep: this.activeStep,
|
|
120
|
+
indicatorPosition: this.indicatorPosition !== "right" ? "left" : "right",
|
|
121
|
+
showStepNumber: this.showStepNumber,
|
|
122
|
+
variant: this.variant !== "compact" && this.variant !== "vertical"
|
|
123
|
+
? "default"
|
|
124
|
+
: this.variant,
|
|
125
|
+
setActiveStep: this.setActiveStep.bind(this),
|
|
126
|
+
};
|
|
127
|
+
steps[i].stepperState = stepperState;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
setInitialActiveStep() {
|
|
131
|
+
this.activeStep = Math.max(1, Math.min(this.stepsCount + (this.variant !== "compact" ? 1 : 0), this.activeStep));
|
|
132
|
+
}
|
|
133
|
+
componentWillLoad() {
|
|
134
|
+
this.addStepIdsToStepsAndCountSteps();
|
|
135
|
+
this.setInitialActiveStep();
|
|
136
|
+
this.setStepsBeforeActiveToComplete();
|
|
137
|
+
}
|
|
138
|
+
async componentDidLoad() {
|
|
139
|
+
if (!domUtils.isNestedInIfxComponent(this.el)) {
|
|
140
|
+
const framework = tracking.detectFramework();
|
|
141
|
+
tracking.trackComponent("ifx-stepper", await framework);
|
|
142
|
+
}
|
|
143
|
+
this.syncIfxSteps();
|
|
144
|
+
}
|
|
145
|
+
componentWillUpdate() {
|
|
146
|
+
this.syncIfxSteps();
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
return (index.h("div", { key: '80f7a337df54e600e28a05568a97dc9b1b4d381d', "aria-label": this.ariaLabelText, "aria-current": this.ariaCurrentText, role: "navigation", class: `stepper ${this.variant !== "compact" && this.variant !== "vertical" ? "default" : this.variant} ${this.variant === "compact" ? "compact-" + this.indicatorPosition : ""}` },
|
|
150
|
+
/* Progress bar for compact variant. */
|
|
151
|
+
this.variant === "compact" && (index.h("div", { key: '15f433b364dd4293c4d11ee8a9871c28d1a9d28c', class: "stepper-progress" }, index.h("div", { key: 'd6a175d28b23d449243d2fb3d18208548fddff8f', class: "progress-detail" }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`))), index.h("div", { key: 'd0a986345ee4401a30b9033c218135f6cc838370', class: `stepper-wrapper` }, index.h("slot", { key: '32b1d023f9d8af37dfa8becb5451cb1668470479' }))));
|
|
152
|
+
}
|
|
153
|
+
componentDidRender() {
|
|
154
|
+
/* Updating progress bar in compact version. */
|
|
155
|
+
if (this.variant == "compact") {
|
|
156
|
+
const progressBar = this.el.shadowRoot.querySelector(".stepper-progress");
|
|
157
|
+
progressBar.style.setProperty("--pb", `${(this.activeStep / this.stepsCount) * 100}%`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
static get watchers() { return {
|
|
161
|
+
"activeStep": [{
|
|
162
|
+
"handleActiveStep": 0
|
|
163
|
+
}]
|
|
164
|
+
}; }
|
|
165
|
+
};
|
|
166
|
+
Stepper.style = stepperCss();
|
|
167
|
+
|
|
168
|
+
exports.ifx_stepper = Stepper;
|
|
@@ -0,0 +1,190 @@
|
|
|
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 switchCss = () => `:host{display:inline-block;user-select:none}.container{display:flex;flex-direction:row;align-items:center}.container.gap{gap:16px}.switch__checkbox-container{padding:4px;display:flex;align-items:center;position:relative;width:32px;height:16px;background-color:#ffffff;border:1px solid #575352;border-radius:20px;cursor:pointer;transition:background-color 0.3s ease;outline:none}.switch__checkbox-container:focus{outline:4px solid #0a8276;outline-offset:2px}.switch__checkbox-container:focus:not(:focus-visible){outline:none}.switch__checkbox-container:focus-visible{outline:2px solid #0a8276;outline-offset:2px}.switch__checkbox-container.disabled{cursor:default;border-color:#bfbbbb}.switch__label-wrapper{font-family:var(--ifx-font-family);color:#1d1d1d}.switch__label-wrapper label:hover{cursor:pointer}.switch__label-wrapper.disabled{color:#bfbbbb}.switch__label-wrapper.disabled label:hover{cursor:default}.switch__label-wrapper.readOnly{color:#575352}.switch__label-wrapper.readOnly label:hover{cursor:default}.switch__checkbox-wrapper .switch{width:16px;height:16px;background-color:#575352;border-radius:50%;transition:transform 0.3s ease, background-color 0.3s ease}.switch__checkbox-wrapper .switch.disabled{background-color:#bfbbbb;border-color:#bfbbbb;cursor:default}.switch__checkbox-wrapper .switch.checked{transform:translateX(16px);background-color:#ffffff}.switch__checkbox-wrapper .switch.checked.disabled{cursor:default}.switch__checkbox-container:hover .toggle-switch{box-shadow:0 0 5px rgba(0, 0, 0, 0.2)}.switch__checkbox-container.checked{background-color:#0a8276;border-color:#0a8276}.switch__checkbox-container.checked.disabled{background-color:#bfbbbb;border-color:#bfbbbb;cursor:default}.switch__checkbox-container.checked.readOnly{background-color:#575352;border-color:#575352}.switch__checkbox-container.readOnly{border-color:#bfbbbb;cursor:default}`;
|
|
8
|
+
|
|
9
|
+
const Switch = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.ifxChange = index.createEvent(this, "ifxChange", 7);
|
|
13
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
14
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
18
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
// 1. Own Properties - internal only, not exposed on host element
|
|
22
|
+
initialChecked;
|
|
23
|
+
get el() { return index.getElement(this); }
|
|
24
|
+
// 3. State Variables - internal reactive state
|
|
25
|
+
// (none - this component uses @Prop instead)
|
|
26
|
+
// 4. Public Properties - exposed as both properties and attributes
|
|
27
|
+
/**
|
|
28
|
+
* Sets the checked state of the switch.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
checked = false;
|
|
32
|
+
// @Watch goes right after the @Prop it monitors - keeps related code together
|
|
33
|
+
onCheckedChange(newValue, oldValue) {
|
|
34
|
+
if (newValue !== oldValue) {
|
|
35
|
+
this.checked = newValue;
|
|
36
|
+
this.updateFormValue();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Disables user interaction when true.
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
disabled = false;
|
|
44
|
+
/**
|
|
45
|
+
* Makes the switch read-only.
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
readOnly = false;
|
|
49
|
+
/**
|
|
50
|
+
* Form field name.
|
|
51
|
+
* @default ""
|
|
52
|
+
*/
|
|
53
|
+
name = "";
|
|
54
|
+
/**
|
|
55
|
+
* Form field value when checked.
|
|
56
|
+
* If not set, defaults to "on" (standard checkbox behavior).
|
|
57
|
+
* @default "on"
|
|
58
|
+
*/
|
|
59
|
+
value = "on";
|
|
60
|
+
// ElementInternals for form association - enables participation in HTML forms
|
|
61
|
+
internals;
|
|
62
|
+
// 5. Events - custom events emitted by the component
|
|
63
|
+
/**
|
|
64
|
+
* Emitted when checked state changes.
|
|
65
|
+
*/
|
|
66
|
+
ifxChange;
|
|
67
|
+
// 6. Lifecycle Methods - ordered by execution flow
|
|
68
|
+
componentWillLoad() {
|
|
69
|
+
// Remember initial state for form reset
|
|
70
|
+
this.initialChecked = this.checked;
|
|
71
|
+
// Set initial form value when component loads
|
|
72
|
+
this.updateFormValue();
|
|
73
|
+
}
|
|
74
|
+
async componentDidLoad() {
|
|
75
|
+
// Only track top-level components to avoid duplicate analytics
|
|
76
|
+
if (!domUtils.isNestedInIfxComponent(this.el)) {
|
|
77
|
+
const framework = tracking.detectFramework();
|
|
78
|
+
tracking.trackComponent("ifx-switch", await framework);
|
|
79
|
+
}
|
|
80
|
+
this.toggleLabelGap();
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Form-Associated Lifecycle Callbacks
|
|
84
|
+
* ------------------------------------
|
|
85
|
+
* These are called by the browser to integrate with native form behavior.
|
|
86
|
+
* See: https://stenciljs.com/docs/form-associated
|
|
87
|
+
*
|
|
88
|
+
* Note: formAssociatedCallback and formDisabledCallback are not implemented
|
|
89
|
+
* as they're not needed for this component. They would only be useful if we
|
|
90
|
+
* needed to react to form association changes or support fieldset-level disabling.
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* Called when the form is reset.
|
|
94
|
+
* Resets the switch to its initial state and clears form value.
|
|
95
|
+
*/
|
|
96
|
+
formResetCallback() {
|
|
97
|
+
this.checked = this.initialChecked;
|
|
98
|
+
this.updateFormValue();
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Called when the browser restores form state (e.g., browser autofill or back button).
|
|
102
|
+
* @param state - The saved state to restore
|
|
103
|
+
* @param mode - "restore" (browser restart/navigation) or "autocomplete" (autofill)
|
|
104
|
+
*/
|
|
105
|
+
formStateRestoreCallback(state, _mode) {
|
|
106
|
+
if (state) {
|
|
107
|
+
this.checked = true;
|
|
108
|
+
this.updateFormValue();
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
this.checked = false;
|
|
112
|
+
this.internals.setFormValue(null);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
// 7. Listeners
|
|
116
|
+
// (none - this component handles events inline in render)
|
|
117
|
+
// 8. Public Methods - MUST be async, exposed on host element
|
|
118
|
+
/**
|
|
119
|
+
* Returns the current checked state.
|
|
120
|
+
*/
|
|
121
|
+
async isChecked() {
|
|
122
|
+
return this.checked;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Sets the checked state.
|
|
126
|
+
* @param checked - New checked state.
|
|
127
|
+
*/
|
|
128
|
+
async setChecked(checked) {
|
|
129
|
+
this.checked = checked;
|
|
130
|
+
return Promise.resolve();
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Toggles the checked state.
|
|
134
|
+
* @returns Resolves when the toggle is complete.
|
|
135
|
+
*/
|
|
136
|
+
async toggle() {
|
|
137
|
+
return Promise.resolve(this.toggleSwitch());
|
|
138
|
+
}
|
|
139
|
+
// 9. Private Methods - internal helpers, not callable externally
|
|
140
|
+
handleKeyDown(event) {
|
|
141
|
+
if (this.disabled || this.readOnly)
|
|
142
|
+
return;
|
|
143
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
144
|
+
this.toggleSwitch();
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
toggleSwitch() {
|
|
148
|
+
if (this.disabled || this.readOnly)
|
|
149
|
+
return;
|
|
150
|
+
this.checked = !this.checked;
|
|
151
|
+
this.updateFormValue();
|
|
152
|
+
this.ifxChange.emit(this.checked);
|
|
153
|
+
return this.checked;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Updates the form value based on the current checked state.
|
|
157
|
+
* Called whenever checked state changes to keep form data in sync.
|
|
158
|
+
*/
|
|
159
|
+
updateFormValue() {
|
|
160
|
+
if (this.checked) {
|
|
161
|
+
this.internals.setFormValue(this.value);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
this.internals.setFormValue(null);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
toggleLabelGap() {
|
|
168
|
+
const slot = this.el.shadowRoot.querySelector("slot");
|
|
169
|
+
const container = this.el.shadowRoot.querySelector(".container");
|
|
170
|
+
if (slot.assignedNodes().length) {
|
|
171
|
+
container.classList.add("gap");
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
container.classList.remove("gap");
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
// 10. render() - always last, called when state/props change
|
|
178
|
+
render() {
|
|
179
|
+
return (index.h("div", { key: '9c1bcd3ef1d073d117ea30a3403b3a523c6a1b8f', class: "container", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled || this.readOnly ? "true" : "false", "aria-readonly": this.readOnly ? "true" : "false", "aria-labelledby": "switch-label", tabIndex: this.disabled ? -1 : 0, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, index.h("div", { key: 'f6ecd560e30a8e8274d631769ed2caafd88d052a', class: `switch__checkbox-container ${this.checked ? "checked" : ""} ${this.readOnly ? "readOnly" : this.disabled ? "disabled" : ""}` }, index.h("div", { key: '5d1c4d4dbe78e98a75a7aea071c95686f63517a7', class: "switch__checkbox-wrapper" }, index.h("input", { key: '5811a455d03b91a0f01b0a81fd71d9d3df725770', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled && !this.readOnly, checked: this.checked, value: this.value }), index.h("div", { key: '1a7af5766ad6c3d36384ed85fc6cd668570a7a14', class: `switch ${this.checked ? "checked" : ""} ${this.readOnly ? "readOnly" : this.disabled ? "disabled" : ""}` }))), index.h("div", { key: '823964c09843b68b74c065371391c3afaae5c878', class: `switch__label-wrapper ${this.readOnly ? "readOnly" : this.disabled ? "disabled" : ""}` }, index.h("label", { key: 'd6c95ecf19ead9a6bc70f7d15f773e2779daa4ce', htmlFor: "switch" }, index.h("slot", { key: 'ca9f2a9eb9559f1932093cf31d4581bd81282a24', onSlotchange: () => this.toggleLabelGap() })))));
|
|
180
|
+
}
|
|
181
|
+
static get formAssociated() { return true; }
|
|
182
|
+
static get watchers() { return {
|
|
183
|
+
"checked": [{
|
|
184
|
+
"onCheckedChange": 0
|
|
185
|
+
}]
|
|
186
|
+
}; }
|
|
187
|
+
};
|
|
188
|
+
Switch.style = switchCss();
|
|
189
|
+
|
|
190
|
+
exports.ifx_switch = Switch;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BiOrxEib.js');
|
|
4
|
+
|
|
5
|
+
const tabCss = () => `:host{display:block}`;
|
|
6
|
+
|
|
7
|
+
const IfxTab = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.tabHeaderChange = index.createEvent(this, "tabHeaderChange", 7);
|
|
11
|
+
}
|
|
12
|
+
get el() { return index.getElement(this); }
|
|
13
|
+
/** Visible title text displayed in the tab header. */
|
|
14
|
+
header;
|
|
15
|
+
/** Disables the tab when true. */
|
|
16
|
+
disabled;
|
|
17
|
+
/** Icon displayed in the tab header. */
|
|
18
|
+
icon = '';
|
|
19
|
+
/** Position of the Icon relative to the header text. */
|
|
20
|
+
iconPosition = 'left';
|
|
21
|
+
/** Subline under the header, only for advanced variant. */
|
|
22
|
+
subline;
|
|
23
|
+
/** Subline position, either left or center. */
|
|
24
|
+
sublinePosition = 'left';
|
|
25
|
+
/** Text of the Advanced-Tab-Label */
|
|
26
|
+
label;
|
|
27
|
+
/** Number of the Advanced-Tab-Number */
|
|
28
|
+
number = 0;
|
|
29
|
+
/** Makes the tab header stick to the top of its scrolling oontainer */
|
|
30
|
+
positionSticky = false;
|
|
31
|
+
/** Emitted when tab header triggers a change (selection or property updates). */
|
|
32
|
+
tabHeaderChange;
|
|
33
|
+
componentWillUpdate() {
|
|
34
|
+
this.tabHeaderChange.emit(this.header);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return index.h("slot", { key: '4d6f00ec2248b1b76c45a6a8da46d039f356c6e8' });
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
IfxTab.style = tabCss();
|
|
41
|
+
|
|
42
|
+
exports.ifx_tab = IfxTab;
|