@infineon/infineon-design-system-stencil 37.14.1--canary.1990.b13d1053b56bc94bb0208688a929b6d341856554.0 → 37.15.0--canary.1964.d1721fcfafcf4119f6427df261d727c9433e5b45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js +3 -2
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-checkbox-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +11 -11
- package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
- package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
- package/dist/cjs/ifx-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/ifx-download.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
- package/dist/cjs/ifx-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
- package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
- package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
- package/dist/cjs/ifx-indicator.cjs.entry.js +2 -2
- package/dist/cjs/ifx-link.cjs.entry.js +1 -1
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-modal.cjs.entry.js +2 -2
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +4 -4
- package/dist/cjs/ifx-navbar-item.cjs.entry.js +5 -5
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js +3 -3
- package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
- package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
- package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js +3 -2
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-radio-button-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-search-field.cjs.entry.js +2 -2
- package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segmented-control.cjs.entry.js +5 -3
- package/dist/cjs/ifx-segmented-control.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-segmented-control.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-select.cjs.entry.js +2 -2
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
- package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner.ifx-text-field.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-spinner_2.cjs.entry.js +7 -7
- package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-status.cjs.entry.js +1 -1
- package/dist/cjs/ifx-step.cjs.entry.js +4 -4
- package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
- package/dist/cjs/ifx-table.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
- package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ifx-tree-view-item.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +15 -2
- package/dist/collection/components/checkbox-group/checkbox-group.js +22 -1
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/collection/components/checkbox-group/checkbox-group.stories.js +10 -1
- package/dist/collection/components/checkbox-group/checkbox-group.stories.js.map +1 -1
- package/dist/collection/components/chip/chip-item/chip-item.js +2 -2
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/content-switcher/content-switcher-item.js +1 -1
- package/dist/collection/components/content-switcher/content-switcher.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +2 -2
- package/dist/collection/components/download/download.js +2 -2
- package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/file-upload/file-upload.js +2 -2
- package/dist/collection/components/footer/footer-column.js +1 -1
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/icon/infineonIconStencil.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icons-preview/icons-preview.js +1 -1
- package/dist/collection/components/indicator/indicator.js +2 -2
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/navigation/navbar/navbar-item.js +5 -5
- package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
- package/dist/collection/components/navigation/navbar/navbar.js +3 -3
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
- package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
- package/dist/collection/components/notification/notification.js +2 -2
- package/dist/collection/components/overview-table/overview-table.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button-group/radio-button-group.css +14 -2
- package/dist/collection/components/radio-button-group/radio-button-group.js +22 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js +10 -1
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js.map +1 -1
- package/dist/collection/components/search-bar/search-bar.js +1 -1
- package/dist/collection/components/search-field/search-field.js +2 -2
- package/dist/collection/components/segmented-control/segment/segment.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +17 -3
- package/dist/collection/components/segmented-control/segmented-control.js +44 -2
- package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/collection/components/segmented-control/segmented-control.stories.js +24 -2
- package/dist/collection/components/segmented-control/segmented-control.stories.js.map +1 -1
- package/dist/collection/components/select/multi-select/multiselect-option.js +4 -4
- package/dist/collection/components/select/single-select/select.js +2 -2
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/status/status.js +1 -1
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
- package/dist/collection/components/table-advanced-version/table.js +2 -2
- package/dist/collection/components/table-basic-version/table.js +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/templates/template/template.js +1 -1
- package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
- package/dist/collection/components/text-field/text-field.css +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/text-field/text-field.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tree-view/tree-view-item.js +2 -2
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
- package/dist/components/ifx-accordion-item.js +1 -1
- package/dist/components/ifx-alert.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-breadcrumb-item-label.js +1 -1
- package/dist/components/ifx-checkbox-group.js +5 -3
- package/dist/components/ifx-checkbox-group.js.map +1 -1
- package/dist/components/ifx-checkbox.js +1 -1
- package/dist/components/ifx-chip-item.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-content-switcher-item.js +1 -1
- package/dist/components/ifx-content-switcher.js +1 -1
- package/dist/components/ifx-date-picker.js +3 -3
- package/dist/components/ifx-download.js +3 -3
- package/dist/components/ifx-dropdown-header.js +1 -1
- package/dist/components/ifx-dropdown-item.js +1 -1
- package/dist/components/ifx-dropdown-separator.js +1 -1
- package/dist/components/ifx-dropdown-trigger-button.js +3 -3
- package/dist/components/ifx-dropdown-trigger.js +1 -1
- package/dist/components/ifx-dropdown.js +1 -1
- package/dist/components/ifx-faq.js +3 -3
- package/dist/components/ifx-file-upload.js +5 -5
- package/dist/components/ifx-filter-accordion.js +4 -4
- package/dist/components/ifx-filter-bar.js +2 -2
- package/dist/components/ifx-filter-search.js +3 -3
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-footer-column.js +1 -1
- package/dist/components/ifx-footer.js +4 -4
- package/dist/components/ifx-icon-button.js +1 -1
- package/dist/components/ifx-icon.js +1 -1
- package/dist/components/ifx-icons-preview.js +5 -5
- package/dist/components/ifx-indicator.js +1 -1
- package/dist/components/ifx-link.js +1 -1
- package/dist/components/ifx-list-entry.js +4 -4
- package/dist/components/ifx-list.js +2 -2
- package/dist/components/ifx-modal.js +4 -4
- package/dist/components/ifx-multiselect-option.js +1 -1
- package/dist/components/ifx-multiselect.js +1 -1
- package/dist/components/ifx-navbar-item.js +7 -7
- package/dist/components/ifx-navbar-profile.js +3 -3
- package/dist/components/ifx-navbar.js +4 -4
- package/dist/components/ifx-notification.js +1 -1
- package/dist/components/ifx-overview-table.js +4 -4
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-progress-bar.js +1 -1
- package/dist/components/ifx-radio-button-group.js +5 -3
- package/dist/components/ifx-radio-button-group.js.map +1 -1
- package/dist/components/ifx-radio-button.js +1 -1
- package/dist/components/ifx-search-bar.js +3 -3
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +2 -2
- package/dist/components/ifx-segmented-control.js +9 -5
- package/dist/components/ifx-segmented-control.js.map +1 -1
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +7 -7
- package/dist/components/ifx-sidebar-item.js +7 -7
- package/dist/components/ifx-sidebar-title.js +1 -1
- package/dist/components/ifx-sidebar.js +5 -5
- package/dist/components/ifx-slider.js +3 -3
- package/dist/components/ifx-spinner.js +1 -1
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +5 -5
- package/dist/components/ifx-stepper.js +2 -2
- package/dist/components/ifx-switch.js +1 -1
- package/dist/components/ifx-tab.js +1 -1
- package/dist/components/ifx-table.js +10 -10
- package/dist/components/ifx-tabs.js +3 -3
- package/dist/components/ifx-tag.js +2 -2
- package/dist/components/ifx-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +8 -8
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +2 -2
- package/dist/components/ifx-tooltip.js +5 -5
- package/dist/components/ifx-tree-view-item.js +4 -4
- package/dist/components/ifx-tree-view.js +1 -1
- package/dist/components/{p-BeILQ55F.js → p-2JFFbyg-.js} +3 -3
- package/dist/components/{p-BeILQ55F.js.map → p-2JFFbyg-.js.map} +1 -1
- package/dist/components/{p-DI1Tz44s.js → p-ADIPRswj.js} +5 -5
- package/dist/components/{p-DI1Tz44s.js.map → p-ADIPRswj.js.map} +1 -1
- package/dist/components/{p-r7hBylnC.js → p-B-erGWs9.js} +4 -4
- package/dist/components/{p-r7hBylnC.js.map → p-B-erGWs9.js.map} +1 -1
- package/dist/components/{p-CwsunKGp.js → p-B6Fm7iTY.js} +6 -6
- package/dist/components/{p-CwsunKGp.js.map → p-B6Fm7iTY.js.map} +1 -1
- package/dist/components/{p-COBB2gby.js → p-B8kacvl9.js} +3 -3
- package/dist/components/{p-COBB2gby.js.map → p-B8kacvl9.js.map} +1 -1
- package/dist/components/{p-DEGJaJSs.js → p-B9dL8SWq.js} +3 -3
- package/dist/components/{p-DEGJaJSs.js.map → p-B9dL8SWq.js.map} +1 -1
- package/dist/components/{p-CkOHJ_UX.js → p-BEBd3obw.js} +8 -8
- package/dist/components/{p-CkOHJ_UX.js.map → p-BEBd3obw.js.map} +1 -1
- package/dist/components/{p-CLgcoxeD.js → p-BUTrT3Q6.js} +4 -4
- package/dist/components/{p-CLgcoxeD.js.map → p-BUTrT3Q6.js.map} +1 -1
- package/dist/components/{p-Dt9X9aqI.js → p-BWgf6L-y.js} +5 -5
- package/dist/components/{p-Dt9X9aqI.js.map → p-BWgf6L-y.js.map} +1 -1
- package/dist/components/{p-Bq-GdSe7.js → p-BctmSAbW.js} +3 -3
- package/dist/components/{p-Bq-GdSe7.js.map → p-BctmSAbW.js.map} +1 -1
- package/dist/components/{p-DyWw4V2x.js → p-BjsR5WjH.js} +5 -5
- package/dist/components/{p-DyWw4V2x.js.map → p-BjsR5WjH.js.map} +1 -1
- package/dist/components/{p-C0tC8p0l.js → p-BrOTS__r.js} +12 -12
- package/dist/components/{p-C0tC8p0l.js.map → p-BrOTS__r.js.map} +1 -1
- package/dist/components/{p-Bsg4XNJ8.js → p-C2W97E17.js} +6 -6
- package/dist/components/{p-Bsg4XNJ8.js.map → p-C2W97E17.js.map} +1 -1
- package/dist/components/{p-CwnDj9-A.js → p-C7evM2QQ.js} +3 -3
- package/dist/components/{p-CwnDj9-A.js.map → p-C7evM2QQ.js.map} +1 -1
- package/dist/components/{p-DL0DaOdR.js → p-D44F8FsC.js} +3 -3
- package/dist/components/{p-DL0DaOdR.js.map → p-D44F8FsC.js.map} +1 -1
- package/dist/components/{p-AfeIKrPd.js → p-DbtZVHL-.js} +4 -4
- package/dist/components/{p-AfeIKrPd.js.map → p-DbtZVHL-.js.map} +1 -1
- package/dist/components/{p-BdjtCY5d.js → p-Dlvk6j_W.js} +8 -8
- package/dist/components/p-Dlvk6j_W.js.map +1 -0
- package/dist/components/{p-CStEOh5u.js → p-kRbl4pfT.js} +4 -4
- package/dist/components/{p-CStEOh5u.js.map → p-kRbl4pfT.js.map} +1 -1
- package/dist/components/{p-BPtblWb0.js → p-pGEk1iMS.js} +6 -6
- package/dist/components/{p-BPtblWb0.js.map → p-pGEk1iMS.js.map} +1 -1
- package/dist/components/{p-FczSL6gb.js → p-wyS2KS0v.js} +7 -7
- package/dist/components/{p-FczSL6gb.js.map → p-wyS2KS0v.js.map} +1 -1
- package/dist/esm/ifx-alert_2.entry.js +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-checkbox-group.entry.js +3 -2
- package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +11 -11
- package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
- package/dist/esm/ifx-content-switcher.entry.js +1 -1
- package/dist/esm/ifx-date-picker.entry.js +2 -2
- package/dist/esm/ifx-download.entry.js +2 -2
- package/dist/esm/ifx-dropdown-header.entry.js +1 -1
- package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
- package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
- package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
- package/dist/esm/ifx-dropdown.entry.js +1 -1
- package/dist/esm/ifx-faq.entry.js +1 -1
- package/dist/esm/ifx-file-upload.entry.js +2 -2
- package/dist/esm/ifx-filter-accordion.entry.js +2 -2
- package/dist/esm/ifx-filter-bar.entry.js +1 -1
- package/dist/esm/ifx-filter-search.entry.js +1 -1
- package/dist/esm/ifx-filter-type-group.entry.js +1 -1
- package/dist/esm/ifx-footer-column.entry.js +1 -1
- package/dist/esm/ifx-footer.entry.js +4 -4
- package/dist/esm/ifx-icon-button.entry.js +1 -1
- package/dist/esm/ifx-icon.entry.js +1 -1
- package/dist/esm/ifx-icons-preview.entry.js +1 -1
- package/dist/esm/ifx-indicator.entry.js +2 -2
- package/dist/esm/ifx-link.entry.js +1 -1
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-modal.entry.js +2 -2
- package/dist/esm/ifx-multiselect_2.entry.js +4 -4
- package/dist/esm/ifx-navbar-item.entry.js +5 -5
- package/dist/esm/ifx-navbar-profile.entry.js +3 -3
- package/dist/esm/ifx-navbar.entry.js +3 -3
- package/dist/esm/ifx-notification.entry.js +2 -2
- package/dist/esm/ifx-overview-table.entry.js +1 -1
- package/dist/esm/ifx-progress-bar.entry.js +1 -1
- package/dist/esm/ifx-radio-button-group.entry.js +3 -2
- package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
- package/dist/esm/ifx-radio-button.entry.js +2 -2
- package/dist/esm/ifx-search-bar.entry.js +1 -1
- package/dist/esm/ifx-search-field.entry.js +2 -2
- package/dist/esm/ifx-segment.entry.js +1 -1
- package/dist/esm/ifx-segmented-control.entry.js +5 -3
- package/dist/esm/ifx-segmented-control.entry.js.map +1 -1
- package/dist/esm/ifx-select.entry.js +2 -2
- package/dist/esm/ifx-sidebar-item.entry.js +5 -5
- package/dist/esm/ifx-sidebar-title.entry.js +1 -1
- package/dist/esm/ifx-sidebar.entry.js +5 -5
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner.ifx-text-field.entry.js.map +1 -1
- package/dist/esm/ifx-spinner_2.entry.js +7 -7
- package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
- package/dist/esm/ifx-status.entry.js +1 -1
- package/dist/esm/ifx-step.entry.js +4 -4
- package/dist/esm/ifx-stepper.entry.js +2 -2
- package/dist/esm/ifx-switch.entry.js +1 -1
- package/dist/esm/ifx-tab.entry.js +1 -1
- package/dist/esm/ifx-table.entry.js +2 -2
- package/dist/esm/ifx-tabs.entry.js +2 -2
- package/dist/esm/ifx-tag.entry.js +1 -1
- package/dist/esm/ifx-templates-ui.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +2 -2
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/ifx-tree-view-item.entry.js +2 -2
- package/dist/esm/ifx-tree-view.entry.js +1 -1
- package/dist/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/ifx-checkbox-group.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/ifx-radio-button-group.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/ifx-segmented-control.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/ifx-spinner.ifx-text-field.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/p-04f2237d.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-04f2237d.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-79399588.entry.js → p-06586e96.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cdbc14e1.entry.js → p-0a162122.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-12e9cb3c.entry.js → p-0e0d582c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0d9b2670.entry.js → p-0e5825a5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-17887cb2.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-ea61b79e.entry.js → p-1943bc7f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-61acd0a3.entry.js → p-19cd1513.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b81d2f37.entry.js → p-1ce77237.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-213b3a93.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-0c0e6c8e.entry.js → p-2240a76c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1503b3bc.entry.js → p-2397df2c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-29799c87.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-fa128756.entry.js → p-2b3fd394.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-2f2dec57.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-2418f067.entry.js.map → p-2f2dec57.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-2bffcd86.entry.js → p-3256c763.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-382c4f85.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-edd19eeb.entry.js.map → p-382c4f85.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-4452873e.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-45392cf4.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-41291d21.entry.js → p-46c95ba7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a405b6f4.entry.js → p-4aaf616d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7b091a06.entry.js → p-501f14a4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0eaf5a5e.entry.js → p-5745f007.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bb927fbf.entry.js → p-5c92cb7b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cc0309cc.entry.js → p-5cb2aab1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-92e5b3bd.entry.js → p-5d0d9e07.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-022667fd.entry.js → p-5f848e4c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-296c1bd4.entry.js → p-5fb3fdea.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-6a1e8666.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-6a1e8666.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-7165e0cf.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-7165e0cf.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-abeffac5.entry.js → p-71d5251b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-3411df03.entry.js → p-74fe3228.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-48fec115.entry.js → p-78899cd5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-72bc047a.entry.js → p-7ca40483.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7c017d8c.entry.js → p-80780865.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2803322f.entry.js → p-81710c26.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c47ac148.entry.js → p-87616bcc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7b4b783a.entry.js → p-955ba323.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c863b508.entry.js → p-9a665d0a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-9cc912ed.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-7462fff6.entry.js.map → p-9cc912ed.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-a03e4f48.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-62b09872.entry.js → p-a127befe.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-a6d0163a.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-a7bdfd8b.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-a7bdfd8b.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-2d068462.entry.js → p-adc266e9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-b07989b6.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-7c32c3aa.entry.js → p-b69806b1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-11c13738.entry.js → p-b8b06a31.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4528750a.entry.js → p-bb947485.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bf480e62.entry.js → p-c67c0cf5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f4bf3d68.entry.js → p-ccecd20d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-262afd53.entry.js → p-dfdaeee3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-772517cc.entry.js → p-e1e0d304.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e2dd3eef.entry.js → p-e49604e9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-15610863.entry.js → p-e5b508ec.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bf51fc38.entry.js → p-ee54a9ba.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-66a4ed41.entry.js → p-f2fba247.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-fbc93427.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-34146964.entry.js.map → p-fbc93427.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-5c1a8c83.entry.js → p-fc09ec6b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-fe11b230.entry.js +2 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +1 -0
- package/dist/types/components/checkbox-group/checkbox-group.stories.d.ts +13 -0
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -0
- package/dist/types/components/radio-button-group/radio-button-group.stories.d.ts +13 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +2 -0
- package/dist/types/components/segmented-control/segmented-control.stories.d.ts +20 -0
- package/dist/types/components.d.ts +32 -0
- package/package.json +1 -1
- package/dist/components/p-BdjtCY5d.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-2418f067.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-34146964.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-50867a1f.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7424e1be.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7424e1be.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-7462fff6.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-83b63d0e.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-86523f4e.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-8eb1ba71.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-8eb1ba71.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-c06b0a60.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-c75784ef.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-c75784ef.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-e0961fed.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-e3452084.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-edd19eeb.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-ee034faf.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-f00cf887.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-f53f7d80.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-f53f7d80.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-ffe479d0.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-79399588.entry.js.map → p-06586e96.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cdbc14e1.entry.js.map → p-0a162122.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-12e9cb3c.entry.js.map → p-0e0d582c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0d9b2670.entry.js.map → p-0e5825a5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ffe479d0.entry.js.map → p-17887cb2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ea61b79e.entry.js.map → p-1943bc7f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-61acd0a3.entry.js.map → p-19cd1513.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b81d2f37.entry.js.map → p-1ce77237.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-83b63d0e.entry.js.map → p-213b3a93.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0c0e6c8e.entry.js.map → p-2240a76c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1503b3bc.entry.js.map → p-2397df2c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f00cf887.entry.js.map → p-29799c87.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fa128756.entry.js.map → p-2b3fd394.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2bffcd86.entry.js.map → p-3256c763.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c06b0a60.entry.js.map → p-4452873e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-50867a1f.entry.js.map → p-45392cf4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-41291d21.entry.js.map → p-46c95ba7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a405b6f4.entry.js.map → p-4aaf616d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7b091a06.entry.js.map → p-501f14a4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0eaf5a5e.entry.js.map → p-5745f007.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb927fbf.entry.js.map → p-5c92cb7b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cc0309cc.entry.js.map → p-5cb2aab1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-92e5b3bd.entry.js.map → p-5d0d9e07.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-022667fd.entry.js.map → p-5f848e4c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-296c1bd4.entry.js.map → p-5fb3fdea.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-abeffac5.entry.js.map → p-71d5251b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3411df03.entry.js.map → p-74fe3228.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-48fec115.entry.js.map → p-78899cd5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-72bc047a.entry.js.map → p-7ca40483.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7c017d8c.entry.js.map → p-80780865.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2803322f.entry.js.map → p-81710c26.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c47ac148.entry.js.map → p-87616bcc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7b4b783a.entry.js.map → p-955ba323.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c863b508.entry.js.map → p-9a665d0a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e0961fed.entry.js.map → p-a03e4f48.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-62b09872.entry.js.map → p-a127befe.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ee034faf.entry.js.map → p-a6d0163a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2d068462.entry.js.map → p-adc266e9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e3452084.entry.js.map → p-b07989b6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7c32c3aa.entry.js.map → p-b69806b1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-11c13738.entry.js.map → p-b8b06a31.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4528750a.entry.js.map → p-bb947485.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bf480e62.entry.js.map → p-c67c0cf5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f4bf3d68.entry.js.map → p-ccecd20d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-262afd53.entry.js.map → p-dfdaeee3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-772517cc.entry.js.map → p-e1e0d304.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e2dd3eef.entry.js.map → p-e49604e9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-15610863.entry.js.map → p-e5b508ec.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bf51fc38.entry.js.map → p-ee54a9ba.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-66a4ed41.entry.js.map → p-f2fba247.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5c1a8c83.entry.js.map → p-fc09ec6b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-86523f4e.entry.js.map → p-fe11b230.entry.js.map} +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './index.js';
|
2
2
|
import { d as detectFramework, t as trackComponent } from './p-DcmcuUOA.js';
|
3
3
|
import { i as isNestedInIfxComponent } from './p-Bw2fh5LT.js';
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
4
|
+
import { d as defineCustomElement$2 } from './p-BctmSAbW.js';
|
5
5
|
|
6
|
-
const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font:
|
6
|
+
const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font-size:1rem;line-height:1.5rem;font-weight:400;margin-bottom:8px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.group-label .required{color:#575352;margin-left:4px}.group-label .required.error{color:#CD002F}.caption{margin-top:8px;align-self:flex-start;display:flex;width:100%;column-gap:8px;justify-content:space-between;align-items:center}.caption.default{color:#1D1D1D}.caption.error{color:#CD002F}.caption-text{font-size:0.75rem;line-height:1rem;flex:1;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption-icon{flex:0;display:flex}";
|
7
7
|
|
8
8
|
const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class RadioButtonGroup extends H {
|
9
9
|
constructor() {
|
@@ -13,6 +13,7 @@ const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class RadioButtonGroup
|
|
13
13
|
this.errorStates = new Map();
|
14
14
|
this.alignment = 'vertical';
|
15
15
|
this.groupLabelText = 'Group Label Text';
|
16
|
+
this.required = false;
|
16
17
|
this.hasErrors = false;
|
17
18
|
this.handleSlotChange = () => {
|
18
19
|
this.initializeState();
|
@@ -55,7 +56,7 @@ const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class RadioButtonGroup
|
|
55
56
|
this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);
|
56
57
|
}
|
57
58
|
render() {
|
58
|
-
return (h("div", { key: '
|
59
|
+
return (h("div", { key: 'c90a5b0aac233a17352406756ef4ea3aa4fa3507', class: 'radio-button-group-container' }, this.showGroupLabel && (h("div", { key: 'b85deef39cfe803fa0278ab9c99367ab56500bc2', class: "group-label" }, this.groupLabelText, this.required && h("span", { key: 'b344228eedaa49d880d9b2c92536879865f97695', class: `required ${this.hasErrors ? 'error' : ''}` }, "*"))), h("div", { key: '023bee6820528963569d77ed34d88e348f6b59f5', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '386fdd5873830ecf2b16be33bdb24362b885e419', onSlotchange: this.handleSlotChange })), this.showCaption ? (h("div", { class: `caption ${this.hasErrors ? 'error' : 'default'}` }, this.showCaptionIcon ? h("div", { class: 'caption-icon' }, h("ifx-icon", { icon: "c-info-16" })) : '', h("div", { class: 'caption-text' }, this.captionText))) : ''));
|
59
60
|
}
|
60
61
|
get el() { return this; }
|
61
62
|
static get style() { return radioButtonGroupCss; }
|
@@ -67,6 +68,7 @@ const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class RadioButtonGroup
|
|
67
68
|
"showCaption": [4, "show-caption"],
|
68
69
|
"captionText": [1, "caption-text"],
|
69
70
|
"showCaptionIcon": [4, "show-caption-icon"],
|
71
|
+
"required": [4],
|
70
72
|
"hasErrors": [32],
|
71
73
|
"setGroupError": [64]
|
72
74
|
}, [[0, "ifxError", "handleRadioButtonError"]]]);
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"ifx-radio-button-group.js","mappings":";;;;;AAAA,MAAM,mBAAmB,GAAG
|
1
|
+
{"file":"ifx-radio-button-group.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/radio-button-group/radio-button-group.scss?tag=ifx-radio-button-group&encapsulation=shadow","src/components/radio-button-group/radio-button-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.radio-button-group-container {\n display: flex;\n flex-direction: column;\n}\n\n.radio-button-group {\n display: flex;\n font-family: var(--ifx-font-family); // tokens.$ifxFontFamilyBody;\n\n\n gap: tokens.$ifxSpace100;\n\n &.horizontal {\n flex-direction: row;\n column-gap: tokens.$ifxSpace150;\n }\n\n &.vertical {\n flex-direction: column;\n row-gap: tokens.$ifxSpace150;\n }\n}\n\n.group-label {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n font-weight: tokens.$ifxFontWeightRegular;\n margin-bottom: tokens.$ifxSpace100;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.group-label .required {\n color: tokens.$ifxColorEngineering500;\n margin-left: tokens.$ifxSpace50;\n}\n\n.group-label .required.error {\n color: tokens.$ifxColorRed500;\n}\n\n.caption {\n margin-top: tokens.$ifxSpace100;\n align-self: flex-start;\n display: flex;\n width: 100%;\n column-gap: tokens.$ifxSpace100;\n justify-content: space-between;\n align-items: center;\n\n &.default {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n\n.caption-text {\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n flex: 1;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption-icon {\n flex:0;\n display: flex;\n}","import { Component, State, Prop, h, Element, Listen, Method } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component({\n tag: 'ifx-radio-button-group',\n styleUrl: 'radio-button-group.scss',\n shadow: true,\n // formAssociated: true\n})\n\nexport class RadioButtonGroup {\n private errorStates: Map<HTMLElement, boolean> = new Map();\n\n @Element() el: HTMLElement;\n @Prop() alignment: 'horizontal' | 'vertical' = 'vertical';\n @Prop() size: string;\n @Prop() showGroupLabel: boolean;\n @Prop() groupLabelText: string = 'Group Label Text';\n @Prop() showCaption: boolean;\n @Prop() captionText: string;\n @Prop() showCaptionIcon: boolean;\n @Prop() required: boolean = false;\n @State() hasErrors: boolean = false;\n \n @Listen('ifxError')\n handleRadioButtonError(event: CustomEvent) {\n const radioButton = event.target as HTMLElement;\n if (radioButton.tagName === 'ifx-radio-button') {\n this.errorStates.set(radioButton, event.detail);\n this.updateHasErrors();\n }\n }\n\n // Method to set the error state of all radio-butttons in the group\n @Method()\n async setGroupError(error: boolean) {\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n (radioButton as any).error = error;\n });\n }\n\n componentWillLoad() {\n this.initializeState();\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) { \n const framework = detectFramework();\n trackComponent('ifx-radio-button-group', await framework)\n }\n }\n\n handleSlotChange = () => {\n this.initializeState();\n };\n\n private initializeState() {\n this.errorStates.clear();\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n if (!this.errorStates.has(radioButton)) {\n this.errorStates.set(radioButton, (radioButton as any).error || false);\n }\n });\n this.updateHasErrors();\n }\n\n private updateHasErrors() {\n this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);\n }\n\n render() {\n return (\n <div class='radio-button-group-container'>\n {this.showGroupLabel && (\n <div class=\"group-label\">\n {this.groupLabelText}\n {this.required && <span class={`required ${this.hasErrors ? 'error' : ''}`}>*</span>}\n </div>\n )}\n <div class={`radio-button-group ${this.alignment} ${this.size}`}>\n <slot onSlotchange={this.handleSlotChange} ></slot>\n </div>\n {this.showCaption ? (\n <div class={`caption ${this.hasErrors ? 'error' : 'default'}`}>\n {this.showCaptionIcon ? <div class='caption-icon'><ifx-icon icon=\"c-info-16\">\n </ifx-icon></div> : ''}\n <div class='caption-text'>{this.captionText}</div>\n </div>) : ''}\n </div>\n );\n }\n}"],"version":3}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
2
|
import { d as detectFramework, t as trackComponent } from './p-DcmcuUOA.js';
|
3
3
|
import { i as isNestedInIfxComponent } from './p-Bw2fh5LT.js';
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
4
|
+
import { d as defineCustomElement$3 } from './p-BctmSAbW.js';
|
5
|
+
import { d as defineCustomElement$2 } from './p-BWgf6L-y.js';
|
6
6
|
|
7
7
|
const searchBarCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper a:focus{outline:none;box-shadow:0 0 0 2px #FFFFFF, 0 0 0 4px #0A8276}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}";
|
8
8
|
|
@@ -48,7 +48,7 @@ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends H {
|
|
48
48
|
this.value = event.detail;
|
49
49
|
}
|
50
50
|
render() {
|
51
|
-
return (h("div", { key: '
|
51
|
+
return (h("div", { key: '7d45f985d7fd0b65e714f7cb129aa85dc1cc5a8b', role: "search", "aria-label": "a search field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (h("div", { class: "search-bar-wrapper" }, h("ifx-search-field", { autocomplete: this.autocomplete, disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, h("ifx-icon", { icon: "search-16", slot: "search-icon" })), h("a", { "aria-label": "Close button", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar_icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
|
52
52
|
}
|
53
53
|
get el() { return this; }
|
54
54
|
static get watchers() { return {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
2
|
+
import { d as defineCustomElement$2 } from './p-BctmSAbW.js';
|
3
3
|
|
4
4
|
const segmentCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.segment{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;border:1px solid #BFBBBB;border-radius:1px;padding:0 8px 0 8px;height:34px;background-color:#FFFFFF;transition:all 100ms ease;transition-property:color, background;font:600 0.875rem/1.25rem \"Source Sans 3\"}.segment:focus-visible{color:#FFFFFF;background-color:#0A8276}.segment:hover{color:#FFFFFF;background-color:#08665C;cursor:pointer}.segment:active{background-color:#06534B}.segment.segment--selected{color:#FFFFFF;background-color:#0A8276}.segment.segment--small{height:30px}.segment::after{position:absolute;top:0;left:0;width:100%;height:100%;outline:1px solid #BFBBBB;border-radius:1px;content:\"\"}";
|
5
5
|
|
@@ -26,7 +26,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends H {
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
render() {
|
29
|
-
return (h("div", { key: '
|
29
|
+
return (h("div", { key: 'a76781c607aad619d279d69346755e5d24e419f2', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '1f0e9e14400d9f78c8c849e9073ae89b191d041e', icon: this.icon }), " ", h("slot", { key: '201ac1267f6a0930cd4baa0721c5010fa82de700' })));
|
30
30
|
}
|
31
31
|
static get style() { return segmentCss; }
|
32
32
|
}, [257, "ifx-segment", {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
2
|
import { d as detectFramework, t as trackComponent } from './p-DcmcuUOA.js';
|
3
3
|
import { i as isNestedInIfxComponent } from './p-Bw2fh5LT.js';
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
4
|
+
import { d as defineCustomElement$2 } from './p-BctmSAbW.js';
|
5
5
|
|
6
|
-
const segmentedControlCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.group{display:flex;flex-direction:column;justify-content:space-between
|
6
|
+
const segmentedControlCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.group{display:flex;flex-direction:column;justify-content:space-between}.group__label{font-size:1rem;line-height:1.5rem;font-weight:400}.group__label:empty{display:none}.group__label .required{color:#575352;margin-left:4px}.group__label .required.error{color:#CD002F}.group__controls{display:flex;flex-wrap:wrap}.group__controls ::slotted(*){margin-left:-1px;margin-top:-1px}.group__caption{margin-top:4px;display:flex;align-items:center;gap:8px;font-weight:400;font-size:0.75rem;line-height:1rem}.group__caption.error{color:#CD002F}";
|
7
7
|
|
8
8
|
const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl extends H {
|
9
9
|
constructor() {
|
@@ -14,6 +14,8 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
14
14
|
this.caption = '';
|
15
15
|
this.label = '';
|
16
16
|
this.size = 'regular';
|
17
|
+
this.required = false;
|
18
|
+
this.error = false;
|
17
19
|
this.selectedValue = '';
|
18
20
|
}
|
19
21
|
onSegmentSelect(event) {
|
@@ -72,8 +74,8 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
72
74
|
this.setActiveSegment();
|
73
75
|
}
|
74
76
|
render() {
|
75
|
-
return (h("div", { key: '
|
76
|
-
h("div", { key: '
|
77
|
+
return (h("div", { key: '89adf4eb1c9da0bdacac4d7d0a26bf0c4d01666d', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: "group" }, h("div", { key: '5ed77f418047838589851b36d90d1a12eeb9b664', class: 'group__label' }, this.label.trim(), this.required && h("span", { key: '745973fd74bcbdadb4651a8148aa584c45a6999a', class: `required ${this.error ? 'error' : ''}` }, "*")), h("div", { key: '02a611e12d25901cd6657774d3e6dbebaeb2686d', class: 'group__controls' }, h("slot", { key: '601f72992d94bc5cefc1de872edd4ba1567c4564' })), this.caption.trim() &&
|
78
|
+
h("div", { key: 'b6e5ac307a1d908a5054ce225acc9a41db235618', class: `group__caption ${this.error ? 'error' : ''}` }, h("ifx-icon", { key: '3d44e4a1a64e608948d807fe6ec014c4adc45c6a', icon: 'c-info-16' }), " ", this.caption.trim())));
|
77
79
|
}
|
78
80
|
componentDidRender() {
|
79
81
|
this.setSegmentSize();
|
@@ -83,7 +85,9 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
83
85
|
}, [257, "ifx-segmented-control", {
|
84
86
|
"caption": [1],
|
85
87
|
"label": [1],
|
86
|
-
"size": [1]
|
88
|
+
"size": [1],
|
89
|
+
"required": [4],
|
90
|
+
"error": [4]
|
87
91
|
}, [[0, "segmentSelect", "onSegmentSelect"]]]);
|
88
92
|
function defineCustomElement$1() {
|
89
93
|
if (typeof customElements === "undefined") {
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"ifx-segmented-control.js","mappings":";;;;;AAAA,MAAM,mBAAmB,GAAG,
|
1
|
+
{"file":"ifx-segmented-control.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/segmented-control/segmented-control.scss?tag=ifx-segmented-control&encapsulation=shadow","src/components/segmented-control/segmented-control.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.group {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.group__label {\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n font-weight: tokens.$ifxFontWeightRegular;\n \n &:empty {\n display: none;\n }\n\n & .required {\n color: tokens.$ifxColorEngineering500;\n margin-left: tokens.$ifxSpace50;\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n }\n}\n\n.group__controls {\n display: flex;\n flex-wrap: wrap;\n}\n\n.group__controls ::slotted(*) {\n margin-left: -1px;\n margin-top: -1px;\n}\n\n.group__caption {\n margin-top: tokens.$ifxSpace50;\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n font-weight: tokens.$ifxFontWeightRegular;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n","import { h, Component, Element, Event, EventEmitter, Listen, Prop } from \"@stencil/core\";\nimport { trackComponent } from '../../global/utils/tracking'; \nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\n@Component ({\n tag: 'ifx-segmented-control',\n styleUrl: 'segmented-control.scss',\n shadow: true\n})\n\nexport class SegmentedControl {\n @Element() SegmentedControl: HTMLIfxSegmentedControlElement;\n\n @Event() ifxChange: EventEmitter<{ previousValue: string, selectedValue: string }>;\n\n @Prop() caption: string = '';\n @Prop() label: string = '';\n @Prop() size: 'regular' | 'small' = 'regular';\n @Prop() required: boolean = false;\n @Prop() error: boolean = false;\n\n\n @Listen('segmentSelect')\n onSegmentSelect(event: CustomEvent) {\n const { previousValue, selectedValue } = this.unselectPreviousSegment(event.detail);\n this.selectedValue = selectedValue;\n this.ifxChange.emit({ previousValue, selectedValue });\n }\n\n private selectedValue: string = '';\n\n unselectPreviousSegment(newSelectedIndex: number): { previousValue: string, selectedValue: string } {\n let previousValue: string;\n let selectedValue: string;\n\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n if (control.selected) {\n if (control.segmentIndex !== newSelectedIndex) {\n control.selected = false;\n previousValue = control.value;\n } else {\n selectedValue = control.value;\n }\n }\n })\n\n return { previousValue, selectedValue };\n }\n\n getSegments(): NodeList {\n return this.SegmentedControl.querySelectorAll('ifx-segment');\n }\n\n setActiveSegment(): void {\n const segments: NodeList = this.getSegments();\n let activeSegmentedControlFound = false;\n segments.forEach((control: HTMLIfxSegmentElement, idx: number) => {\n control.segmentIndex = idx;\n if (activeSegmentedControlFound) {\n if (control.selected) control.selected = false;\n } else {\n if (control.selected) {\n activeSegmentedControlFound = true;\n this.selectedValue = control.value;\n }\n }\n });\n }\n\n setSegmentSize(): void {\n const segments: NodeList = this.getSegments();\n segments.forEach((control: HTMLIfxSegmentElement) => {\n control.shadowRoot.querySelector('.segment').classList.add(`segment--${this.size}`);\n });\n }\n\n async componentDidLoad() {\n if(!isNestedInIfxComponent(this.SegmentedControl)) { \n const framework = detectFramework();\n trackComponent('ifx-segmented-control', await framework)\n }\n this.setActiveSegment();\n }\n\n render() {\n return (\n <div aria-value={this.selectedValue} aria-label='segmented control' class=\"group\">\n <div class='group__label'>\n { this.label.trim() }\n { this.required && <span class={`required ${this.error ? 'error' : ''}`}>*</span> }\n </div>\n \n <div class='group__controls'>\n <slot />\n </div>\n \n {\n this.caption.trim() &&\n <div class={`group__caption ${this.error ? 'error' : ''}`}>\n <ifx-icon icon='c-info-16'></ifx-icon> { this.caption.trim() }\n </div>\n }\n </div>\n );\n }\n\n componentDidRender() {\n this.setSegmentSize();\n }\n}"],"version":3}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
|
-
import { d as defineCustomElement$8 } from './p-
|
3
|
-
import { d as defineCustomElement$7 } from './p-
|
4
|
-
import { d as defineCustomElement$6 } from './p-
|
5
|
-
import { d as defineCustomElement$5 } from './p-
|
6
|
-
import { d as defineCustomElement$4 } from './p-
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
2
|
+
import { d as defineCustomElement$8 } from './p-D44F8FsC.js';
|
3
|
+
import { d as defineCustomElement$7 } from './p-BctmSAbW.js';
|
4
|
+
import { d as defineCustomElement$6 } from './p-BjsR5WjH.js';
|
5
|
+
import { d as defineCustomElement$5 } from './p-BEBd3obw.js';
|
6
|
+
import { d as defineCustomElement$4 } from './p-BWgf6L-y.js';
|
7
|
+
import { d as defineCustomElement$3 } from './p-ADIPRswj.js';
|
8
|
+
import { d as defineCustomElement$2 } from './p-Dlvk6j_W.js';
|
9
9
|
|
10
10
|
const setFilterCss = "";
|
11
11
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
2
|
+
import { d as defineCustomElement$3 } from './p-BctmSAbW.js';
|
3
|
+
import { d as defineCustomElement$2 } from './p-BUTrT3Q6.js';
|
4
4
|
|
5
5
|
const sidebarItemCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}:host{position:relative}.sidebar__nav-item:focus,.sidebar__nav-item.header__section:focus{outline:none;box-shadow:0 0 0 2px #FFFFFF, 0 0 0 4px #0A8276}.sidebar__nav-item:focus .sidebar__nav-item-icon-wrapper,.sidebar__nav-item.header__section:focus .sidebar__nav-item-icon-wrapper{color:#08665C}.sidebar__nav-item:focus .sidebar__nav-item-label,.sidebar__nav-item.header__section:focus .sidebar__nav-item-label{outline:none;color:#08665C}.sidebar__nav-item:focus .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon,.sidebar__nav-item.header__section:focus .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon{color:#08665C}.sidebar__nav-item:hover,.sidebar__nav-item.header__section:hover{outline:none}.sidebar__nav-item:hover .sidebar__nav-item-icon-wrapper,.sidebar__nav-item.header__section:hover .sidebar__nav-item-icon-wrapper{color:#08665C}.sidebar__nav-item:hover .sidebar__nav-item-label,.sidebar__nav-item.header__section:hover .sidebar__nav-item-label{outline:none;color:#08665C}.sidebar__nav-item:hover .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon,.sidebar__nav-item.header__section:hover .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon{color:#08665C}.sidebar__nav-item{display:flex;flex-direction:row;align-items:center;width:100%;padding:8px 0px;gap:4px;flex:none;order:0;flex-grow:0;text-decoration:none;color:#1D1D1D;cursor:pointer;font-family:var(--ifx-font-family)}.sidebar__nav-item.extra-padding__bottom{padding:8px 0px 16px 0px}.sidebar__nav-item.active{color:#0A8276}.sidebar__nav-item.active-section::before{content:\"\";position:absolute;left:-32px;height:40px;width:2px;background:#0A8276}.sidebar__nav-item.open{padding:8px 0px}.sidebar__nav-item.open .sidebar__nav-item-label{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.sidebar__nav-item.open .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon{transform:rotate(-180deg)}.sidebar__nav-item.header__section{box-sizing:padding-box;border-top:1px solid #EEEDED;padding:16px 0px;display:-webkit-flex;-webkit-line-clamp:1;-webkit-box-orient:horizontal;overflow:hidden;text-overflow:ellipsis}.sidebar__nav-item.header__section.no-top-border{border-top:none}.sidebar__nav-item.header__section.active-section::before{content:\"\";position:absolute;left:-32px;height:40px;width:2px;background:#0A8276}.sidebar__nav-item.header__section.open{padding:16px 0px 8px 0px}.sidebar__nav-item.header__section.open .sidebar__nav-item-indicator .item__arrow-wrapper ifx-icon{transform:rotate(-180deg)}.sidebar__nav-item.header__section .sidebar__nav-item-label{color:#1D1D1D;font-family:Source Sans 3;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.sidebar__nav-item.submenu__item{padding:4px 0px}.sidebar__nav-item.submenu__item.extra-padding__bottom{padding:4px 0px 16px 0px}.sidebar__nav-item .sidebar__nav-item-icon-wrapper{display:flex;width:24px;height:24px;justify-content:center;align-items:center;gap:8px;flex-shrink:0}.sidebar__nav-item .sidebar__nav-item-icon-wrapper.noIcon{display:none}.sidebar__nav-item .sidebar__nav-item-icon-wrapper ifx-icon{width:16px;height:16px}.sidebar__nav-item .sidebar__nav-item-label{font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;display:flex;align-items:center;flex:none;order:1;flex-grow:1;cursor:pointer}.sidebar__nav-item .sidebar__nav-item-indicator{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0px 4px;flex:none;order:2;flex-grow:0}.expandable__submenu{display:none;list-style-type:none;flex-direction:column;padding:0;margin:0;padding-left:40px}.expandable__submenu.open{display:flex}.header__section+.expandable__submenu{padding-left:0}";
|
6
6
|
|
@@ -250,11 +250,11 @@ const SidebarItem = /*@__PURE__*/ proxyCustomElement(class SidebarItem extends H
|
|
250
250
|
}
|
251
251
|
}
|
252
252
|
render() {
|
253
|
-
return (h("div", { key: '
|
254
|
-
h("div", { key: '
|
255
|
-
h("div", { key: '
|
256
|
-
h("span", { key: '
|
257
|
-
h("span", { key: '
|
253
|
+
return (h("div", { key: 'f695c7d2452fb5d46013f3e3e8f6c662fc600239' }, h("a", { key: '409b95b6d8134d6d1f14e3a31ccfd4217616e358', tabIndex: 1, onKeyDown: (event) => this.handleKeyDown(event), href: this.internalHref, onClick: () => this.toggleSubmenu(), target: this.target, class: `sidebar__nav-item ${!this.isNested && this.isExpandable ? 'header__section' : ""} ${this.isSubMenuItem ? 'submenu__item' : ""}` }, this.icon &&
|
254
|
+
h("div", { key: '1706e6d03d3f70e8b5fca17aed062368faf614f5', class: `sidebar__nav-item-icon-wrapper ${!this.showIcon ? 'noIcon' : ""}` }, h("ifx-icon", { key: 'a262f89e41e6f7c7b1f59daed3cffe31cc1484d7', icon: this.icon })), h("div", { key: '83be40c680878721ca1fe69411e38219c9d6be2b', class: "sidebar__nav-item-label" }, h("slot", { key: 'd90e33c87be1218396856d34631fc23426ae70a9' })), (this.isExpandable || !isNaN(this.numberIndicator)) &&
|
255
|
+
h("div", { key: 'f47f399e3d09c8a09cd9c046e55da9543a42e460', class: "sidebar__nav-item-indicator" }, this.isExpandable &&
|
256
|
+
h("span", { key: 'f886dd5c8df0f0b4fee7a9924bd461499c96f27d', class: 'item__arrow-wrapper' }, h("ifx-icon", { key: '25260aa5a7edf6a333a36667f4d46e39b7aee79f', icon: "chevron-down-16" })), !isNaN(this.numberIndicator) && !this.isExpandable && !this.isNested &&
|
257
|
+
h("span", { key: '7e37286b824ec8f11268ae923127e4a3d4f22f10', class: 'item__number-indicator' }, h("ifx-indicator", { key: 'aaa11eed7eefa48c503d11cf8ad5f3c31701fff1', variant: 'number', number: this.numberIndicator })))), this.isExpandable && h("ul", { key: 'a7b4ea463ceb60462af5a902e3a115386756365e', class: 'expandable__submenu' })));
|
258
258
|
}
|
259
259
|
get el() { return this; }
|
260
260
|
static get watchers() { return {
|
@@ -9,7 +9,7 @@ const SidebarTitle = /*@__PURE__*/ proxyCustomElement(class SidebarTitle extends
|
|
9
9
|
this.__attachShadow();
|
10
10
|
}
|
11
11
|
render() {
|
12
|
-
return (h("div", { key: '
|
12
|
+
return (h("div", { key: 'ae2e7948da954e39311413b41a09cfbce5e7b63a', class: 'sidebar__title' }, h("div", { key: 'f8758f407dec82faf1c12c98492264e90ec16f10', class: 'sidebar__title-label' }, h("slot", { key: '1dd6327d44621a0dd0b9ec7385aaec48c54d37cb' }))));
|
13
13
|
}
|
14
14
|
get el() { return this; }
|
15
15
|
static get style() { return sidebarTitleCss; }
|
@@ -317,11 +317,11 @@ const Sidebar = /*@__PURE__*/ proxyCustomElement(class Sidebar extends H {
|
|
317
317
|
}
|
318
318
|
}
|
319
319
|
render() {
|
320
|
-
return (h("div", { key: '
|
321
|
-
h("div", { key: '
|
322
|
-
h("div", { key: '
|
323
|
-
h("div", { key: '
|
324
|
-
h("div", { key: '
|
320
|
+
return (h("div", { key: 'fb87bcc13aa1b52e592cb5af7630a17842ccc907', "aria-label": "a navigation sidebar", "aria-value": this.applicationName, class: 'sidebar__container' }, h("div", { key: '2b47c8d19b9f1d3c4e469c0d02b2de0d470061da', class: 'sidebar__top-container' }, this.showHeader &&
|
321
|
+
h("div", { key: '6ab38d38e5234be5aeb3dfbbb5ab43d13b12f81e', class: "sidebar__nav-bar" }, h("div", { key: '51f4b3a487a2944d8fb2003e8a97045788d0673a', class: "sidebar__nav-bar-logo" }, h("div", { key: 'cfa5d3f53e18336ecc773781f1cd0ca22e179de1', class: 'sidebar__nav-bar-logo-img' }, h("svg", { key: 'a81659e900a96ff3f490f01faef1da9724a59416', width: "91", height: "40", viewBox: "0 0 91 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'f4f55e0c540bea3a8ae8f5d0eec14082750a33a0', "clip-path": "url(#clip0_2396_2480)" }, h("path", { key: '337077a13cfa54004b3ead9820f73f55ee82ae26', d: "M67.691 26.7766C71.0884 26.7766 72.1461 23.1841 72.1461 19.8802C72.1461 15.4536 70.2871 13.1441 67.691 13.1441C64.4219 13.1441 63.2681 16.7367 63.3001 19.9443C63.3322 23.1199 64.2296 26.7766 67.691 26.7766ZM66.0244 19.8481C66.0244 18.533 66.0244 15.4536 67.691 15.4536C69.4859 15.4536 69.4218 18.5009 69.4218 19.9123C69.4218 21.2595 69.4218 24.5313 67.7551 24.5313C65.9603 24.4992 66.0244 21.2274 66.0244 19.8481ZM57.8195 26.7766C59.1976 26.7766 60.3835 26.2313 61.5053 25.0445L60.5117 23.1841C59.7425 24.018 58.9733 24.4671 58.0438 24.4671C57.2746 24.4671 56.6336 24.018 56.249 23.2482C55.9285 22.5746 55.8644 21.8048 55.8644 20.9708V20.7142H61.6335V20.1368C61.6335 17.282 61.2809 15.7102 60.3835 14.5234C59.7104 13.6253 58.7169 13.1441 57.499 13.1441C56.2169 13.1441 55.1593 13.7215 54.39 14.8442C53.5567 16.0631 53.2042 17.699 53.2042 19.9443C53.1721 24.2426 54.8708 26.7766 57.8195 26.7766ZM57.531 15.2612C58.172 15.2612 58.5566 15.614 58.813 16.1914C59.0053 16.7046 59.1015 17.5707 59.1015 18.5971H55.8644C55.8964 16.3197 56.3772 15.2612 57.531 15.2612ZM74.2614 26.4559H76.7614V16.8329C77.3703 16.0952 78.0754 15.6782 78.5882 15.6782C78.9087 15.6782 79.2292 15.7423 79.4215 15.9989C79.6138 16.2876 79.71 16.7046 79.71 17.699V26.4559H82.21V16.5442C82.21 15.6782 82.1138 14.8121 81.601 14.1706C81.1523 13.5932 80.4472 13.2404 79.5497 13.2404C78.3959 13.2404 77.2101 13.914 76.569 14.6838C76.537 14.0102 76.3126 13.3687 76.2485 13.1441L73.9089 13.7536C74.0371 14.4593 74.2294 15.3253 74.2294 16.8971V26.4559H74.2614ZM45.2236 14.6838C45.1915 14.0102 44.9672 13.3687 44.9031 13.1441L42.5634 13.7536C42.6916 14.4593 42.8839 15.3253 42.8839 16.8971V26.4238H45.3838V16.8008C45.9928 16.0631 46.6979 15.6461 47.2107 15.6461C47.5312 15.6461 47.8517 15.7102 48.044 15.9669C48.2363 16.2555 48.3325 16.6725 48.3325 17.6669V26.4238H50.8324V16.5442C50.8324 15.6782 50.7363 14.8121 50.2235 14.1706C49.7748 13.5932 49.0696 13.2404 48.1722 13.2404C47.0505 13.2404 45.8646 13.914 45.2236 14.6838ZM14.6473 9.07042C16.1216 9.07042 17.3075 7.88359 17.3075 6.40807C17.3075 4.93256 16.1216 3.74573 14.6473 3.74573C13.173 3.74573 11.9871 4.93256 11.9871 6.40807C11.9871 7.88359 13.173 9.07042 14.6473 9.07042ZM26.9227 26.4559V16.5442C26.9227 15.6782 26.8265 14.8121 26.3137 14.1706C25.865 13.5932 25.1599 13.2404 24.2625 13.2404C23.1087 13.2404 21.9228 13.914 21.2818 14.6838C21.2497 14.0102 21.0254 13.3687 20.9613 13.1441L18.6536 13.7857C18.7818 14.4913 18.9741 15.3574 18.9741 16.9291V26.4559H21.4741V16.8329C22.0831 16.0952 22.7882 15.6782 23.301 15.6782C23.6215 15.6782 23.942 15.7423 24.1343 15.9989C24.3266 16.2876 24.4227 16.7046 24.4227 17.699V26.4559H26.9227ZM38.4289 8.36474C37.4994 8.36474 36.7622 9.10249 36.7622 10.0327C36.7622 10.9629 37.4994 11.7007 38.3968 11.7007C39.3263 11.7007 40.0634 10.9629 40.0634 10.0327C40.0634 9.10249 39.3263 8.36474 38.4289 8.36474ZM13.4614 26.4559H15.9614V10.8346L13.4614 11.1554V26.4559ZM33.8777 9.90441C34.3264 9.90441 34.7751 10.0648 35.0635 10.2893L35.7687 8.33266C35.0956 7.85151 34.3584 7.62698 33.429 7.62698C32.788 7.62698 32.1149 7.78736 31.5059 8.26851C30.897 8.78173 30.256 9.80818 30.256 11.7328C30.256 12.5667 30.288 13.4328 30.288 13.4328H29.4226V15.6461H30.288V26.4238H32.8521V15.6782H34.743L35.2238 13.4649H32.8841V11.4762C32.8841 10.5139 33.2687 9.90441 33.8777 9.90441ZM37.1468 26.4559H39.6788V13.2404L37.1468 13.5611V26.4559Z", fill: "#005DA9" }), h("path", { key: '601c89d84f9c96d5fcb01bc12df1096a3f831be1', d: "M77.0816 33.5126C68.6203 36.0146 58.3321 37.1052 48.2682 37.1052C22.7239 37.1052 6.24986 29.5993 5.09604 19.6877C4.67938 15.9668 7.59599 12.3422 12.4677 9.26285C11.6023 8.62132 11.0575 7.59488 11.0254 6.44012C3.97427 10.161 0 15.0366 0 19.9764C0 30.9145 19.5188 40.1525 48.5246 39.7676C58.6205 39.6393 67.0498 38.1958 74.6778 35.6939C83.7482 32.7428 89.4532 28.5087 90.8313 26.6483C89.1968 28.1238 85.3186 31.0748 77.0816 33.5126ZM23.2687 4.38723C24.9674 3.80985 27.3712 3.0721 27.3712 3.0721C34.1339 1.21166 41.6017 0.121063 48.5566 0.185215C40.544 -0.295931 33.2365 0.185215 26.8584 1.33997C26.8584 1.33997 24.743 1.69281 22.4675 2.27018C22.4675 2.27018 21.3777 2.55887 20.7047 2.75133C20.0316 2.94379 19.1021 3.2004 19.1021 3.2004C18.4611 3.39286 17.8201 3.6174 17.1791 3.84193C17.8201 4.48346 18.2047 5.31745 18.2368 6.27974C19.3586 5.76652 21.5059 4.99668 23.2687 4.38723Z", fill: "#E30034" })), h("defs", { key: '09346eb89b216d8485af303d036b8fa1f754ac54' }, h("clipPath", { key: '2b2ba588827c5561db577a574c03c0718b805070', id: "clip0_2396_2480" }, h("rect", { key: 'ee169c7e35571549d0f6b3ca3e6e6dc77e967cc0', width: "91", height: "40", fill: "white" })))), " "), h("div", { key: 'ef5cf9864e1e0f9a8913d33dc0b7dc5f6f4e4a56', class: 'sidebar__nav-bar-logo-text' }, this.applicationName))), h("div", { key: '18815e4e0bf74dfe357e5246ee3aa867e5d5768b', class: "sidebar__nav-container" }, h("slot", { key: '88ef25ff895ef546035670910bbae46362fed539' }))), this.internalShowFooter &&
|
322
|
+
h("div", { key: '0cded0a85602c01ea706abf660ee72570573e0f9', class: 'sidebar__footer-container' }, h("div", { key: '95f597a3e2c376ea7a375a3ecd154e52f13c4b73', class: "sidebar__footer-wrapper" }, (this.internalTermsofUse || this.internalImprint || this.internalPrivacyPolicy) &&
|
323
|
+
h("div", { key: 'b1e7d065a050cf8f3c818f181153aabfaff539b1', class: 'sidebar__footer-wrapper-top-links' }, this.internalTermsofUse !== '' && h("a", { key: '7c717ad597694381bed2fd5a1edb2a57fa9da2d0', target: this.target, href: this.internalTermsofUse }, "Terms of use"), this.internalImprint !== '' && h("a", { key: 'c5e57102bfad2ed9f359bae76e462b94994a06e9', target: this.target, href: this.internalImprint }, "Imprint"), this.internalPrivacyPolicy !== '' && h("a", { key: '0cb510972bbbdb81261f45261b78c890d98327e4', target: this.target, href: this.internalPrivacyPolicy }, "Privacy policy")), this.copyrightText &&
|
324
|
+
h("div", { key: 'e95f4f08e662064e488dd79d7dd4bbd7404c455c', class: 'sidebar__footer-wrapper-bottom-links' }, h("span", { key: '89ec652a045ea0644ac3efb80ddeece92383e5f7' }, this.copyrightText))))));
|
325
325
|
}
|
326
326
|
get el() { return this; }
|
327
327
|
static get style() { return sidebarCss; }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
2
2
|
import { d as detectFramework, t as trackComponent } from './p-DcmcuUOA.js';
|
3
3
|
import { i as isNestedInIfxComponent } from './p-Bw2fh5LT.js';
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
4
|
+
import { d as defineCustomElement$2 } from './p-BctmSAbW.js';
|
5
5
|
|
6
6
|
const sliderCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}:host{display:block}.left-icon,.right-icon,.left-text,.right-text,.percentage-display{font-size:0.875rem;color:#575352;margin-left:8px}.left-icon.disabled,.right-icon.disabled,.left-text.disabled,.right-text.disabled,.percentage-display.disabled{color:#BFBBBB}.left-icon,.left-text{margin-right:8px}.right-icon,.right-text,.percentage-display{margin-left:8px}.ifx-slider{display:flex;align-items:center;padding:2px 16px;border-radius:9999px}.ifx-slider input[type=range]{-webkit-appearance:none;width:100%;height:4px;background:linear-gradient(to right, #0A8276 0%, #0A8276 var(--value-percent, 0%), #EEEDED var(--value-percent, 0%), #EEEDED 100%);outline:none;cursor:pointer;transition:0.2s}.ifx-slider input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#0A8276;cursor:pointer;box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2)}.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#0A8276;border-radius:50%;cursor:pointer;transition:box-shadow 0.2s}.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb:hover{background:#08665C}.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb:active{background:#06534B}.ifx-slider input[type=range]:disabled{background:#BFBBBB;cursor:default}.ifx-slider input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#BFBBBB;border-radius:50%;cursor:default}.ifx-slider .range-slider__wrapper{position:relative;width:100%;height:4px;display:flex;align-items:center;justify-content:center;margin:0px 2px;background:linear-gradient(to right, #EEEDED 0%, #EEEDED var(--min-value-percent, 100%), #0A8276 var(--min-value-percent, 100%), #0A8276 var(--max-value-percent, 100%), #EEEDED var(--max-value-percent, 100%), #EEEDED 100%)}.ifx-slider .range-slider__wrapper:has(input[type=range]:disabled){background:#BFBBBB}.ifx-slider .range-slider__wrapper input[type=range]{position:absolute;pointer-events:none;background:none}.ifx-slider .range-slider__wrapper input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;pointer-events:auto;cursor:pointer;box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2)}.ifx-slider .range-slider__wrapper input[type=range]::-moz-range-thumb{-webkit-appearance:none;border:none;pointer-events:auto;cursor:pointer;box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2)}.ifx-slider .range-slider__wrapper input[type=range]::-ms-thumb{-webkit-appearance:none;border:none;pointer-events:auto;cursor:pointer;box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2)}.ifx-slider .range-slider__wrapper input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;border:none;background:none;width:100%}.ifx-slider .range-slider__wrapper input[type=range]::-moz-range-track{-webkit-appearance:none;border:none;background:none;width:100%}";
|
7
7
|
|
@@ -150,10 +150,10 @@ const IfxSlider$1 = /*@__PURE__*/ proxyCustomElement(class IfxSlider extends H {
|
|
150
150
|
this.updateValuePercent();
|
151
151
|
}
|
152
152
|
render() {
|
153
|
-
return (h("div", { key: '
|
153
|
+
return (h("div", { key: 'd80fe9a957d3dc99db0ab0a38f09db3ff01e3412', class: "ifx-slider" }, this.leftText && (h("span", { key: 'a0346b20c2cde3684333ec410e2dc5c423fc1d22', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: 'da2345fd1065d5c501b69f59c43744ed86d4859e', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
154
154
|
h("input", { type: "range", min: this.min, max: this.max, step: this.step, value: this.internalValue, disabled: this.disabled, ref: (el) => (this.inputRef = el), onInput: (event) => this.handleInputChange(event), "aria-label": 'a slider', "aria-value": this.value, "aria-disabled": this.disabled })
|
155
155
|
:
|
156
|
-
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: '
|
156
|
+
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: '222408d757f2c8cb46a93db8118af07a828e35d6', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: '711630abb3168b0c75aba4daf3196c1c70b06aa5', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: 'b2886304b3873a7eeff00510636470986b204f0f', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
157
157
|
}
|
158
158
|
get el() { return this; }
|
159
159
|
static get watchers() { return {
|
@@ -22,7 +22,7 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends H {
|
|
22
22
|
var _a;
|
23
23
|
const effectiveColor = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.trim()) ? this.color : 'orange-500';
|
24
24
|
const containerClass = this.border ? `container border-${effectiveColor}` : 'container no-border';
|
25
|
-
return (h("div", { key: '
|
25
|
+
return (h("div", { key: 'df0bd64479b85637198e0dc8715afc705d52a756', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: 'a1ca252388cb2f707b40b7b4e792c5004b9ab5e9', class: `dot ${effectiveColor}` }), h("p", { key: '6b91b2724502837bffff721ec51e98e6a9ee3bc6', class: "text" }, this.label)));
|
26
26
|
}
|
27
27
|
get el() { return this; }
|
28
28
|
static get style() { return statusCss; }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './index.js';
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
2
|
+
import { d as defineCustomElement$2 } from './p-BctmSAbW.js';
|
3
3
|
|
4
4
|
const stepCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}.step-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;gap:8px;font:400 1rem/1.5rem \"Source Sans 3\"}.step-wrapper.vertical{flex-direction:row;gap:12px;width:unset;height:100%}.step-wrapper.vertical .step-icon-wrapper{flex-direction:column;width:unset;height:100%}.step-wrapper.compact{gap:0;max-width:100%}.step-wrapper.compact .step-label{max-width:100%;cursor:auto;align-self:flex-start}.step-wrapper.compact.indicator-left{align-items:flex-end;text-align:right}.step-wrapper.compact.indicator-right{align-items:flex-start}.step-wrapper .step-label{max-width:90%;color:#8D8786;word-wrap:break-word}.step-wrapper .step-label.curr-label{font:600 1.25rem/1.75rem \"Source Sans 3\"}.step-wrapper .step-label.next-label{font:400 0.75rem/1rem \"Source Sans 3\"}.step-wrapper .step-label :hover{color:#8D8786}.step-wrapper.first-step .step-connector-l{height:0px}.step-wrapper.last-step .step-connector-r{height:0px}.step-wrapper.vertical.first-step .step-connector-l,.step-wrapper.vertical.last-step .step-connector-r{width:0px}.step-wrapper.complete .step-connector-l,.step-wrapper.complete .step-connector-r,.step-wrapper.complete .step-icon{background:#0A8276}.step-wrapper.complete .step-connector-l.active,.step-wrapper.complete .step-connector-l.error,.step-wrapper.complete .step-connector-r.active,.step-wrapper.complete .step-connector-r.error,.step-wrapper.complete .step-icon.active,.step-wrapper.complete .step-icon.error{background:#8D8786}.step-wrapper.complete:not(.disabled) .step-label{cursor:pointer;color:#1D1D1D}.step-wrapper.complete:not(.disabled) .step-label :hover{color:#08665C}.step-wrapper.disabled .step-connector-l,.step-wrapper.disabled .step-connector-r,.step-wrapper.disabled .step-icon{background-color:#8D8786}.step-wrapper.disabled .step-label,.step-wrapper.disabled .step-label :hover{color:#8D8786}.step-wrapper.active .step-connector-l,.step-wrapper.active .step-connector-r,.step-wrapper.active .step-icon{background:#0A8276}.step-wrapper.active .step-connector-l.active,.step-wrapper.active .step-connector-l.error,.step-wrapper.active .step-connector-r.active,.step-wrapper.active .step-connector-r.error,.step-wrapper.active .step-icon.active,.step-wrapper.active .step-icon.error{background:#8D8786}.step-wrapper.active .step-label,.step-wrapper.active .step-label :hover{color:#1D1D1D}.step-wrapper.active.complete .step-label{cursor:auto}.step-wrapper.clickable:not(.active) .step-label{cursor:pointer}.step-wrapper.error:not(.active){color:#CD002F}.step-wrapper.error:not(.active) .step-label{color:#CD002F}.step-wrapper.error:not(.active) .step-label :hover{color:#0A8276}.step-wrapper.disabled .step-label{cursor:auto}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon{background:#08665C}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-l.error,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-connector-r.error,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon.active,.step-wrapper:hover.complete:not(.disabled):not(.active) .step-icon.error{background:#8D8786}.step-wrapper:hover.complete:not(.disabled):not(.active) .step-label{color:#08665C}.active-indic{width:16px;height:16px;border-radius:9999px;background:white}.step-icon-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%}.step-icon{width:24px;height:24px;background-color:#8D8786;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:white}.step-connector-r,.step-connector-l{height:2px;min-width:40px;flex-grow:1;background-color:#8D8786}.vertical .step-connector-r,.vertical .step-connector-l{height:unset;min-width:unset;width:2px;min-height:40px}";
|
5
5
|
|
@@ -49,7 +49,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
49
49
|
}
|
50
50
|
}
|
51
51
|
render() {
|
52
|
-
return (h("div", { key: '
|
52
|
+
return (h("div", { key: '16eb71f0ad6bd16c0a9ca629b426803d55b7eedd', "aria-current": this.active ? 'step' : false, "aria-disabled": this.active || this.complete ? false : true, onClick: (e) => this.stopOnClickPropogation(e), class: `step-wrapper ${this.stepId === 1 ? 'first-step' : ''}
|
53
53
|
${this.error ? 'error' : ''}
|
54
54
|
${this.stepperState.variant}
|
55
55
|
${this.complete ? 'complete' : ''}
|
@@ -57,11 +57,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
57
57
|
indicator-${this.stepperState.indicatorPosition}
|
58
58
|
${this.active ? 'active' : ''}
|
59
59
|
${this.clickable ? 'clickable' : ''}
|
60
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
61
|
-
h("div", { key: '
|
60
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '4ffd3c627c44a652814fb2b28b8a57ede5572d2a', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: 'f198e558160f837f3553804ec8b6447fe5ca19bc', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
61
|
+
h("div", { key: 'b9729e46a5bba23cd0de106af3d1f3d50280d41c', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: 'b86eea4d66ee542d41c49ce6c1669f1d55b285a6', icon: 'check16' }), this.active && h("span", { key: '491566173caea0ef800c9540c287645dadac823f', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: 'afa67edf1c8b61ec276b73238ac2264d48d6350a', icon: 'warningF16' }), this.stepperState.variant !== 'compact' && h("span", { key: 'f0cd06d1fc4f50bc38b9a64a2c283cf429e6d099', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
62
62
|
/* Step labels */
|
63
63
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
64
|
-
h("div", { key: '
|
64
|
+
h("div", { key: 'ea152255764c891ce43c89c4f55b28057809ed7e', tabIndex: !this.disabled && this.complete && !this.active ? 0 : -1, class: `step-label ${this.stepperState.variant === 'compact' ? (this.active ? 'curr-label' : 'next-label') : ''}`, onClick: () => { this.handleStepClick(); }, onKeyDown: (e) => { this.handleStepKeyDown(e); } }, (this.stepperState.variant !== 'compact') && h("slot", { key: '7405313a5c724511ab13f4618bcbc0fe4bb09ad8' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '491baf5f8c458e8ca028343e7008f10fd5659adf' }))));
|
65
65
|
}
|
66
66
|
;
|
67
67
|
static get watchers() { return {
|
@@ -131,10 +131,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
|
|
131
131
|
this.syncIfxSteps();
|
132
132
|
}
|
133
133
|
render() {
|
134
|
-
return (h("div", { key: '
|
134
|
+
return (h("div", { key: '072b8e14d99551292137f832f0c1b10086ae709c', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
135
135
|
/* Progress bar for compact variant. */
|
136
136
|
(this.variant === 'compact') &&
|
137
|
-
h("div", { key: '
|
137
|
+
h("div", { key: 'f91c8ecdd38d2f4e4f1d8a9e93af9894a45668d7', class: 'stepper-progress' }, h("div", { key: '4541cad0c38c02c2586e1557fe2aff571d4f09d4', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '9b7a8a0f1a3b0bfb8b2a399f2365289af5ea5628', class: `stepper-wrapper` }, h("slot", { key: 'ac33e01c765ef7307e74cad6bbdbec94141864b4' }))));
|
138
138
|
}
|
139
139
|
;
|
140
140
|
componentDidRender() {
|
@@ -77,7 +77,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
|
|
77
77
|
this.internals.setFormValue(null);
|
78
78
|
}
|
79
79
|
render() {
|
80
|
-
return (h("div", { key: '
|
80
|
+
return (h("div", { key: 'bda1fe5683e06758d888da3dc5de17224c64dd17', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-label": this.name, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, h("div", { key: '9d0f1293ef425b0caf4152ac937752c2a7e85c8d', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '7fbc08bfaceea1049cc9a1532d6657d7fd3eaec0', class: "switch__checkbox-wrapper" }, h("input", { key: '98cf08dd4c7c7886501800810cd91aff5aff3b55', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: 'e997d84f6bb9963b5aea80d9ec3ffb8b5f17d430', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '6e72acd55d4d7ae33fe3d7893703669112e493d2', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '8777cdd035e8ba9b8b1037aaeb528101fc3872c5', htmlFor: "switch" }, h("slot", { key: 'c79036bfb6a266d96826410dd313442ffb7d8fab', onSlotchange: () => this.toggleLabelGap() })))));
|
81
81
|
}
|
82
82
|
get el() { return this; }
|
83
83
|
static get watchers() { return {
|
@@ -14,7 +14,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
|
|
14
14
|
this.tabHeaderChange.emit(this.header);
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return h("slot", { key: '
|
17
|
+
return h("slot", { key: 'bedec1035ad52a5601082ad5c1f75559384ccc7c' });
|
18
18
|
}
|
19
19
|
get el() { return this; }
|
20
20
|
static get style() { return tabCss; }
|
@@ -4,14 +4,14 @@ import { d as detectFramework, t as trackComponent } from './p-DcmcuUOA.js';
|
|
4
4
|
import { i as isNestedInIfxComponent } from './p-Bw2fh5LT.js';
|
5
5
|
import { c as createGrid } from './p-9UDg_bQZ.js';
|
6
6
|
import { d as defineCustomElement$a } from './p-CSFUrFeR.js';
|
7
|
-
import { d as defineCustomElement$9 } from './p-
|
8
|
-
import { d as defineCustomElement$8 } from './p-
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
7
|
+
import { d as defineCustomElement$9 } from './p-D44F8FsC.js';
|
8
|
+
import { d as defineCustomElement$8 } from './p-BrOTS__r.js';
|
9
|
+
import { d as defineCustomElement$7 } from './p-C2W97E17.js';
|
10
|
+
import { d as defineCustomElement$6 } from './p-BctmSAbW.js';
|
11
|
+
import { d as defineCustomElement$5 } from './p-B-erGWs9.js';
|
12
|
+
import { d as defineCustomElement$4 } from './p-BUTrT3Q6.js';
|
13
|
+
import { d as defineCustomElement$3 } from './p-B6Fm7iTY.js';
|
14
|
+
import { d as defineCustomElement$2 } from './p-ADIPRswj.js';
|
15
15
|
|
16
16
|
class ButtonCellRenderer {
|
17
17
|
init(params) {
|
@@ -530,12 +530,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
|
|
530
530
|
};
|
531
531
|
}
|
532
532
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
533
|
-
return (h(Host, { key: '
|
533
|
+
return (h(Host, { key: 'fb906655167ddedb80def7cfb3eec28e58ecd0d5' }, h("div", { key: 'eea988c62f6839c0519763705909e386551c63c4', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '548e6e19fd2e250eae6ccc0a8254f91ff4777640', class: "sidebar-btn" }, h("ifx-button", { key: 'b3a2a09589df2fcc79f542115f84a26321697b90', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: '3c8e715c78928df34e0221b3c6d7707b91e9c55f', icon: "cross-16" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'f8be6a37a02130881ffadb33a3ffdf6a5917732f', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: 'c51a22c0771e01f82e27c33dc3b8652f8bd113cc', class: "sidebar-container" }, h("div", { key: 'd5a488b075f98e65df89d52d83ed4d2f0d28f9c7', class: "filters-title-container" }, h("span", { key: '1715722349bdfcfef4e258b031a3ffaef6a04bb2', class: "filters-title" }, "Filters")), h("div", { key: '82b88eaefd81471fc3f737b1cb8d3a5c4b3d7daf', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '94c9f07686c925aca2038c5d377be13dbcca08d2', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: 'c005b97bc68994e45b72087629affc14752b98da', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'a597fe719c81a9a34a18199eaf5bc4233eefd40f', name: "topbar-filter" })))), h("div", { key: '0b0d059e7f7797cdccceb6e5972d42bb5cf0d264', class: "table-pagination-wrapper" }, h("div", { key: 'd4aeca558ea68c5a14a0df4487005348e43d16c5', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
534
534
|
const filter = this.currentFilters[name];
|
535
535
|
const filterValues = filter.filterValues;
|
536
536
|
const isMultiSelect = filter.type !== 'text';
|
537
537
|
return filterValues.length > 0 ? (h("ifx-chip", { placeholder: name, size: "large", variant: isMultiSelect ? "multi" : "single", readOnly: true, value: filterValues, key: name }, filterValues.map(filterValue => (h("ifx-chip-item", { value: filterValue, selected: true, key: filterValue }, filterValue))))) : null;
|
538
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
538
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: 'b888feff25c69793865808001c15f26a3812d724', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: 'b99afab0bd7f94af80710ea46b4f607704f3c41c', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: '2664799a64bb5643b1e1ad3e6e670c28d38bf8d0', class: "matching-results-container" }, h("span", { key: 'c2a8dbb58eefe88452f2118f6a6d770622ce9351', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: 'e41adb3796ead5fad432406f562ec844145589f8', class: "matching-results-text" }, "matching results"))), h("div", { key: 'f5ba45475d3798c984f242ee157a56b0155665c7', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: 'ed0ce2dec6f58b4a9621410aa33319c552c4dcaa', id: `ifxTable-${this.uniqueKey}`, class: `ifx-ag-grid ${this.variant === 'zebra' ? 'zebra' : ""}`, style: style, ref: (el) => this.container = el })), this.pagination ? h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage, "items-per-page": this.internalItemsPerPage }) : null)))));
|
539
539
|
}
|
540
540
|
hasButtonCol() {
|
541
541
|
return this.getColData().some(column => column.field === 'button');
|