@inera/ids-react 9.3.0 → 9.4.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/components/accordion/accordion-base.d.ts +1 -1
- package/components/accordion/accordion.d.ts +1 -1
- package/components/alert/alert-base.d.ts +1 -1
- package/components/alert/alert.d.ts +1 -1
- package/components/badge/badge.js +1 -1
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.js +4 -5
- package/components/button/button-group.d.ts +1 -1
- package/components/button/button.js +6 -1
- package/components/button/control-button.js +2 -1
- package/components/card/card.d.ts +1 -1
- package/components/carousel/carousel-item.d.ts +1 -1
- package/components/carousel/carousel.d.ts +1 -1
- package/components/carousel/carousel.js +7 -5
- package/components/date-label/date-label.d.ts +3 -2
- package/components/date-label/date-label.js +4 -2
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +1 -1
- package/components/district-selector/district-selector.d.ts +10 -0
- package/components/district-selector/district-selector.js +11 -0
- package/components/dropdown/dropdown-base.d.ts +2 -2
- package/components/dropdown/dropdown-base.js +1 -1
- package/components/dropdown/dropdown.d.ts +2 -1
- package/components/dropdown/dropdown.js +2 -0
- package/components/footer-1177/footer-1177-columns.d.ts +10 -0
- package/components/footer-1177/footer-1177-columns.js +18 -0
- package/components/footer-1177/footer-1177-headline.d.ts +10 -0
- package/components/footer-1177/footer-1177-headline.js +11 -0
- package/components/footer-1177/footer-1177.d.ts +1 -1
- package/components/footer-1177/footer-1177.js +4 -20
- package/components/footer-1177-admin/footer-1177-admin-columns.d.ts +10 -0
- package/components/footer-1177-admin/footer-1177-admin-columns.js +18 -0
- package/components/footer-1177-admin/footer-1177-admin-headline.d.ts +9 -0
- package/components/footer-1177-admin/footer-1177-admin-headline.js +11 -0
- package/components/footer-1177-admin/footer-1177-admin.d.ts +1 -1
- package/components/footer-1177-admin/footer-1177-admin.js +4 -20
- package/components/footer-1177-pro/footer-1177-pro-columns.d.ts +13 -0
- package/components/footer-1177-pro/footer-1177-pro-columns.js +18 -0
- package/components/footer-1177-pro/footer-1177-pro-headline.d.ts +9 -0
- package/components/footer-1177-pro/footer-1177-pro-headline.js +11 -0
- package/components/footer-1177-pro/footer-1177-pro.d.ts +1 -1
- package/components/footer-1177-pro/footer-1177-pro.js +4 -20
- package/components/footer-inera/footer-inera-columns.d.ts +10 -0
- package/components/footer-inera/footer-inera-columns.js +18 -0
- package/components/footer-inera/footer-inera-headline.d.ts +9 -0
- package/components/footer-inera/footer-inera-headline.js +11 -0
- package/components/footer-inera/footer-inera.d.ts +1 -1
- package/components/footer-inera/footer-inera.js +4 -20
- package/components/footer-inera-admin/footer-inera-admin-columns.d.ts +10 -0
- package/components/footer-inera-admin/footer-inera-admin-columns.js +18 -0
- package/components/footer-inera-admin/footer-inera-admin-headline.d.ts +9 -0
- package/components/footer-inera-admin/footer-inera-admin-headline.js +11 -0
- package/components/footer-inera-admin/footer-inera-admin.d.ts +1 -1
- package/components/footer-inera-admin/footer-inera-admin.js +4 -20
- package/components/footer-inera-general/footer-inera-general-columns.d.ts +10 -0
- package/components/footer-inera-general/footer-inera-general-columns.js +18 -0
- package/components/footer-inera-general/footer-inera-general-headline.d.ts +9 -0
- package/components/footer-inera-general/footer-inera-general-headline.js +11 -0
- package/components/footer-inera-general/footer-inera-general.d.ts +1 -1
- package/components/footer-inera-general/footer-inera-general.js +4 -20
- package/components/form/checkbox/checkbox-group-base.d.ts +1 -1
- package/components/form/checkbox/checkbox-group.d.ts +2 -2
- package/components/form/datepicker/datepicker.d.ts +1 -1
- package/components/form/datepicker/datepicker.js +1 -1
- package/components/form/error-message/error-message.d.ts +1 -1
- package/components/form/form-hooks/useAriaDescribedBy.js +1 -4
- package/components/form/input/input-base.d.ts +1 -1
- package/components/form/input/input-base.js +1 -1
- package/components/form/radio/radio-base.d.ts +1 -1
- package/components/form/radio/radio-group-base.d.ts +1 -1
- package/components/form/radio/radio-group.d.ts +2 -2
- package/components/form/radio-button/radio-button-group-base.d.ts +1 -1
- package/components/form/radio-button/radio-button-group.d.ts +2 -1
- package/components/form/range/range-base.d.ts +1 -1
- package/components/form/select/select-base.d.ts +1 -1
- package/components/form/select-multiple/select-multiple-base.d.ts +2 -2
- package/components/form/select-multiple/select-multiple-base.js +2 -2
- package/components/form/select-multiple/select-multiple.d.ts +2 -2
- package/components/form/select-multiple/select-multiple.js +1 -1
- package/components/form/spinner/spinner.d.ts +1 -1
- package/components/form/textarea/textarea-base.d.ts +1 -1
- package/components/form/time/time-base.d.ts +1 -1
- package/components/global-alert/global-alert-base.d.ts +1 -1
- package/components/global-alert/global-alert.d.ts +1 -1
- package/components/header-1177/header-1177-avatar-base.d.ts +1 -1
- package/components/header-1177/header-1177-avatar.d.ts +1 -1
- package/components/header-1177/header-1177-base.d.ts +2 -2
- package/components/header-1177/header-1177-base.js +3 -5
- package/components/header-1177/header-1177-item-base.d.ts +1 -1
- package/components/header-1177/header-1177-item-base.js +1 -2
- package/components/header-1177/header-1177-item.d.ts +1 -1
- package/components/header-1177/header-1177-logo.d.ts +12 -0
- package/components/header-1177/header-1177-logo.js +8 -0
- package/components/header-1177/header-1177-menu-mobile-base.d.ts +1 -1
- package/components/header-1177/header-1177-menu-mobile.d.ts +1 -1
- package/components/header-1177/header-1177-nav-base.d.ts +1 -1
- package/components/header-1177/header-1177-nav-base.js +1 -1
- package/components/header-1177/header-1177-nav-item-base.d.ts +1 -1
- package/components/header-1177/header-1177-nav-item-base.js +3 -12
- package/components/header-1177/header-1177-nav-item-link.d.ts +10 -0
- package/components/header-1177/header-1177-nav-item-link.js +19 -0
- package/components/header-1177/header-1177-nav-item-mobile-base.d.ts +1 -1
- package/components/header-1177/header-1177-nav-item-mobile.d.ts +1 -1
- package/components/header-1177/header-1177-nav-item.d.ts +1 -1
- package/components/header-1177/header-1177-nav.d.ts +1 -1
- package/components/header-1177/header-1177-region-picker-base.d.ts +2 -2
- package/components/header-1177/header-1177-region-picker-mobile-base.d.ts +2 -2
- package/components/header-1177/header-1177-region-picker-mobile.d.ts +1 -1
- package/components/header-1177/header-1177-region-picker.d.ts +1 -1
- package/components/header-1177/header-1177.d.ts +2 -1
- package/components/header-1177/header-1177.js +2 -2
- package/components/header-1177-admin/header-1177-admin-avatar-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar-mobile-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar-mobile.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-base.d.ts +2 -2
- package/components/header-1177-admin/header-1177-admin-base.js +3 -5
- package/components/header-1177-admin/header-1177-admin-item-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-item-base.js +1 -2
- package/components/header-1177-admin/header-1177-admin-item.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-logo.d.ts +12 -0
- package/components/header-1177-admin/header-1177-admin-logo.js +8 -0
- package/components/header-1177-admin/header-1177-admin-menu-mobile-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-menu-mobile.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-base.d.ts +2 -1
- package/components/header-1177-admin/header-1177-admin-nav-base.js +4 -3
- package/components/header-1177-admin/header-1177-admin-nav-item-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item-base.js +3 -12
- package/components/header-1177-admin/header-1177-admin-nav-item-link.d.ts +10 -0
- package/components/header-1177-admin/header-1177-admin-nav-item-link.js +19 -0
- package/components/header-1177-admin/header-1177-admin-nav-item-mobile-base.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item-mobile.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin-nav.d.ts +2 -1
- package/components/header-1177-admin/header-1177-admin-nav.js +2 -2
- package/components/header-1177-admin/header-1177-admin.d.ts +2 -1
- package/components/header-1177-admin/header-1177-admin.js +2 -2
- package/components/header-1177-pro/header-1177-pro-avatar-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile-base.js +0 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-base.js +2 -1
- package/components/header-1177-pro/header-1177-pro-item-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-item-base.js +1 -2
- package/components/header-1177-pro/header-1177-pro-item.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-logo.d.ts +12 -0
- package/components/header-1177-pro/header-1177-pro-logo.js +8 -0
- package/components/header-1177-pro/header-1177-pro-menu-mobile-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-menu-mobile.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-base.d.ts +2 -1
- package/components/header-1177-pro/header-1177-pro-nav-base.js +3 -2
- package/components/header-1177-pro/header-1177-pro-nav-item-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item-base.js +3 -12
- package/components/header-1177-pro/header-1177-pro-nav-item-link.d.ts +10 -0
- package/components/header-1177-pro/header-1177-pro-nav-item-link.js +19 -0
- package/components/header-1177-pro/header-1177-pro-nav-item-mobile-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item-mobile.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-nav.d.ts +2 -1
- package/components/header-1177-pro/header-1177-pro-nav.js +2 -2
- package/components/header-1177-pro/header-1177-pro-region-picker-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile-base.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro-region-picker.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro.d.ts +1 -1
- package/components/header-inera/header-inera-base.d.ts +2 -2
- package/components/header-inera/header-inera-base.js +3 -2
- package/components/header-inera/header-inera-item-base.d.ts +1 -1
- package/components/header-inera/header-inera-item-base.js +1 -2
- package/components/header-inera/header-inera-item.d.ts +1 -1
- package/components/header-inera/header-inera-logo.d.ts +12 -0
- package/components/header-inera/header-inera-logo.js +8 -0
- package/components/header-inera/header-inera-menu-mobile-base.d.ts +1 -1
- package/components/header-inera/header-inera-menu-mobile.d.ts +1 -1
- package/components/header-inera/header-inera-nav-base.d.ts +1 -1
- package/components/header-inera/header-inera-nav-base.js +1 -1
- package/components/header-inera/header-inera-nav-item-base.d.ts +1 -1
- package/components/header-inera/header-inera-nav-item-base.js +4 -13
- package/components/header-inera/header-inera-nav-item-link.d.ts +10 -0
- package/components/header-inera/header-inera-nav-item-link.js +19 -0
- package/components/header-inera/header-inera-nav-item.d.ts +1 -1
- package/components/header-inera/header-inera-nav.d.ts +1 -1
- package/components/header-inera/header-inera.d.ts +2 -1
- package/components/header-inera/header-inera.js +2 -2
- package/components/header-inera-admin/header-inera-admin-avatar-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-avatar-mobile-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-avatar-mobile.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-avatar.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-base.js +1 -10
- package/components/header-inera-admin/header-inera-admin-item-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-item-base.js +2 -3
- package/components/header-inera-admin/header-inera-admin-item.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-menu-mobile-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-menu-mobile.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-base.d.ts +2 -1
- package/components/header-inera-admin/header-inera-admin-nav-base.js +4 -3
- package/components/header-inera-admin/header-inera-admin-nav-item-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-item-base.js +3 -12
- package/components/header-inera-admin/header-inera-admin-nav-item-link.d.ts +10 -0
- package/components/header-inera-admin/header-inera-admin-nav-item-link.js +19 -0
- package/components/header-inera-admin/header-inera-admin-nav-item-mobile-base.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-item-mobile.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-item.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin-nav.d.ts +2 -1
- package/components/header-inera-admin/header-inera-admin-nav.js +2 -2
- package/components/header-inera-admin/header-inera-admin.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-avatar-base.d.ts +18 -0
- package/components/header-inera-general/header-inera-general-avatar-base.js +24 -0
- package/components/header-inera-general/header-inera-general-avatar-mobile-base.d.ts +17 -0
- package/components/header-inera-general/header-inera-general-avatar-mobile-base.js +24 -0
- package/components/header-inera-general/header-inera-general-avatar-mobile.d.ts +12 -0
- package/components/header-inera-general/header-inera-general-avatar-mobile.js +28 -0
- package/components/header-inera-general/header-inera-general-avatar.d.ts +12 -0
- package/components/header-inera-general/header-inera-general-avatar.js +29 -0
- package/components/header-inera-general/header-inera-general-base.d.ts +2 -1
- package/components/header-inera-general/header-inera-general-base.js +2 -2
- package/components/header-inera-general/header-inera-general-item-base.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-item-base.js +2 -2
- package/components/header-inera-general/header-inera-general-item.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-item.js +1 -1
- package/components/header-inera-general/header-inera-general-menu-mobile-base.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-menu-mobile.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-nav-base.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-nav-base.js +1 -1
- package/components/header-inera-general/header-inera-general-nav-item-base.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-nav-item-base.js +4 -13
- package/components/header-inera-general/header-inera-general-nav-item-link.d.ts +10 -0
- package/components/header-inera-general/header-inera-general-nav-item-link.js +19 -0
- package/components/header-inera-general/header-inera-general-nav-item-mobile-base.d.ts +10 -0
- package/components/header-inera-general/header-inera-general-nav-item-mobile-base.js +11 -0
- package/components/header-inera-general/header-inera-general-nav-item-mobile.d.ts +10 -0
- package/components/header-inera-general/header-inera-general-nav-item-mobile.js +12 -0
- package/components/header-inera-general/header-inera-general-nav-item.d.ts +1 -1
- package/components/header-inera-general/header-inera-general-nav-mobile.d.ts +10 -0
- package/components/header-inera-general/header-inera-general-nav-mobile.js +8 -0
- package/components/header-inera-general/header-inera-general-nav.d.ts +1 -1
- package/components/header-inera-general/header-inera-general.d.ts +3 -1
- package/components/header-inera-general/header-inera-general.js +2 -2
- package/components/header-patient/header-patient.d.ts +1 -1
- package/components/link/action-link.d.ts +1 -1
- package/components/link/box-link.d.ts +1 -1
- package/components/list-pagination/list-pagination-links.d.ts +3 -2
- package/components/list-pagination/list-pagination-links.js +3 -20
- package/components/list-pagination/list-pagination-summary.d.ts +13 -0
- package/components/list-pagination/list-pagination-summary.js +9 -0
- package/components/list-pagination/list-pagination.d.ts +3 -2
- package/components/list-pagination/list-pagination.js +3 -20
- package/components/message-avatar/message-avatar.d.ts +12 -0
- package/components/message-avatar/message-avatar.js +10 -0
- package/components/mobile-menu/mobile-item-base.d.ts +1 -1
- package/components/mobile-menu/mobile-item-base.js +4 -24
- package/components/mobile-menu/mobile-item-link.d.ts +16 -0
- package/components/mobile-menu/mobile-item-link.js +27 -0
- package/components/mobile-menu/mobile-item.d.ts +1 -1
- package/components/mobile-menu/mobile-menu.d.ts +1 -1
- package/components/navigation-content/navigation-content-item-base.d.ts +12 -0
- package/components/navigation-content/navigation-content-item-base.js +17 -0
- package/components/navigation-content/navigation-content-item.d.ts +11 -0
- package/components/navigation-content/navigation-content-item.js +25 -0
- package/components/navigation-content/navigation-content.d.ts +1 -1
- package/components/navigation-content/navigation-content.js +10 -6
- package/components/navigation-local/navigation-local.d.ts +1 -1
- package/components/notification-badge/notification-badge.js +1 -1
- package/components/popover/popover-base.d.ts +1 -1
- package/components/popover/popover-caret.d.ts +9 -0
- package/components/popover/popover-caret.js +8 -0
- package/components/popover/popover-content.d.ts +1 -1
- package/components/popover/popover-content.js +2 -2
- package/components/popover/popover.d.ts +1 -1
- package/components/progressbar/progressbar.d.ts +1 -1
- package/components/puff-list/puff-list-item-date.d.ts +1 -1
- package/components/puff-list/puff-list-item-header.d.ts +1 -1
- package/components/puff-list/puff-list-item-info.d.ts +1 -1
- package/components/puff-list/puff-list-item.d.ts +1 -1
- package/components/puff-list/puff-list.d.ts +1 -1
- package/components/region-icon/region-icon.d.ts +5 -2
- package/components/region-icon/region-icon.js +6 -3
- package/components/side-menu/side-menu-base.d.ts +1 -1
- package/components/side-menu/side-menu-base.js +6 -24
- package/components/side-menu/side-menu-label.d.ts +17 -0
- package/components/side-menu/side-menu-label.js +14 -0
- package/components/side-menu/side-menu-toggle.d.ts +15 -0
- package/components/side-menu/side-menu-toggle.js +14 -0
- package/components/side-menu/side-menu.d.ts +1 -1
- package/components/side-panel/side-panel-base.js +2 -8
- package/components/side-panel/side-panel-footer.d.ts +10 -0
- package/components/side-panel/side-panel-footer.js +8 -0
- package/components/side-panel/side-panel-provider.d.ts +1 -1
- package/components/side-panel/side-panel.d.ts +1 -1
- package/components/side-panel/side-panel.js +2 -18
- package/components/stepper/step-base.js +6 -9
- package/components/stepper/step-indicator.d.ts +11 -0
- package/components/stepper/step-indicator.js +8 -0
- package/components/stepper/stepper.d.ts +1 -1
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tab.js +1 -1
- package/components/tabs/tabs-base.d.ts +1 -1
- package/components/tabs/tabs.d.ts +1 -1
- package/components/tag/tag.js +1 -0
- package/components/tooltip/tooltip-base.d.ts +1 -1
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/utils/utils.js +0 -1
- package/index.d.ts +11 -0
- package/index.js +11 -0
- package/package.json +2 -2
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
import { jsxs, jsx
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import '@inera/ids-design/components/footer-1177-pro/footer-1177-pro.css';
|
|
4
|
+
import { IDSFooter1177ProColumns } from './footer-1177-pro-columns.js';
|
|
5
|
+
import { IDSFooter1177ProHeadline } from './footer-1177-pro-headline.js';
|
|
4
6
|
|
|
5
7
|
function IDSFooter1177Pro({ headline = "", srHeadline = "", mobileHeadline = "", col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
|
|
6
|
-
|
|
7
|
-
if (srHeadline) {
|
|
8
|
-
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-1177-pro__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-1177-pro__headline", children: headline })] }));
|
|
9
|
-
}
|
|
10
|
-
return jsx("h2", { className: "ids-footer-1177-pro__headline", children: headline });
|
|
11
|
-
};
|
|
12
|
-
const renderCols = () => {
|
|
13
|
-
if (!!col1 && !col2 && !col3) {
|
|
14
|
-
return (jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--100"), children: [col1Headline, col1] }));
|
|
15
|
-
}
|
|
16
|
-
else if (!!col1 && !!col2 && !col3) {
|
|
17
|
-
return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col2Headline, col2] })] }));
|
|
18
|
-
}
|
|
19
|
-
else if (!!col1 && !!col2 && !!col3) {
|
|
20
|
-
return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col2Headline, col2] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col3Headline, col3] })] }));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
};
|
|
24
|
-
return (jsxs("footer", { className: clsx("ids-footer-1177-pro", className), ...props, children: [jsx("div", { className: "ids-footer-1177-pro__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-pro__inner", children: [jsx("div", { className: "ids-footer-1177-pro__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-1177-pro__content", children: [jsxs("div", { className: "ids-footer-1177-pro__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-pro__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-pro__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-1177-pro__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-pro__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-pro__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline", children: mobileHeadline })] }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
|
|
8
|
+
return (jsxs("footer", { className: clsx("ids-footer-1177-pro", className), ...props, children: [jsx("div", { className: "ids-footer-1177-pro__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-pro__inner", children: [jsx("div", { className: "ids-footer-1177-pro__headline-wrapper", children: jsx(IDSFooter1177ProHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-1177-pro__content", children: [jsxs("div", { className: "ids-footer-1177-pro__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-pro__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-pro__cols", children: jsx(IDSFooter1177ProColumns, { col1: col1, col2: col2, col3: col3, col1Headline: col1Headline, col2Headline: col2Headline, col3Headline: col3Headline }) })] })] }) }), jsx("div", { className: "ids-footer-1177-pro__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-pro__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-pro__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline", children: mobileHeadline })] }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
|
|
25
9
|
}
|
|
26
10
|
IDSFooter1177Pro.displayName = "IDSFooter1177Pro";
|
|
27
11
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface FooterIneraColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
col1?: ReactNode;
|
|
4
|
+
col2?: ReactNode;
|
|
5
|
+
col3?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function IDSFooterIneraColumns({ col1, col2, col3 }: FooterIneraColumnsProps): React.JSX.Element;
|
|
8
|
+
export declare namespace IDSFooterIneraColumns {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
|
|
4
|
+
function IDSFooterIneraColumns({ col1, col2, col3 }) {
|
|
5
|
+
if (!!col1 && !col2 && !col3) {
|
|
6
|
+
return jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--100"), children: col1 });
|
|
7
|
+
}
|
|
8
|
+
else if (!!col1 && !!col2 && !col3) {
|
|
9
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col2 })] }));
|
|
10
|
+
}
|
|
11
|
+
else if (!!col1 && !!col2 && !!col3) {
|
|
12
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col3 })] }));
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
IDSFooterIneraColumns.displayName = "IDSFooterIneraColumns";
|
|
17
|
+
|
|
18
|
+
export { IDSFooterIneraColumns };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface FooterIneraHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
headline?: string;
|
|
4
|
+
srHeadline?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IDSFooterIneraHeadline({ headline, srHeadline }: FooterIneraHeadlineProps): React.JSX.Element;
|
|
7
|
+
export declare namespace IDSFooterIneraHeadline {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function IDSFooterIneraHeadline({ headline = "", srHeadline = "" }) {
|
|
4
|
+
if (srHeadline) {
|
|
5
|
+
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera__headline", children: headline })] }));
|
|
6
|
+
}
|
|
7
|
+
return jsx("h2", { className: "ids-footer-inera__headline", children: headline });
|
|
8
|
+
}
|
|
9
|
+
IDSFooterIneraHeadline.displayName = "IDSFooterIneraHeadline";
|
|
10
|
+
|
|
11
|
+
export { IDSFooterIneraHeadline };
|
|
@@ -14,7 +14,7 @@ interface FooterIneraProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
14
|
subFooterMobile?: ReactNode;
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare function IDSFooterInera({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraProps):
|
|
17
|
+
export declare function IDSFooterInera({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraProps): React.JSX.Element;
|
|
18
18
|
export declare namespace IDSFooterInera {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
import { jsxs, jsx
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import '@inera/ids-design/components/footer-inera/footer-inera.css';
|
|
4
|
+
import { IDSFooterIneraColumns } from './footer-inera-columns.js';
|
|
5
|
+
import { IDSFooterIneraHeadline } from './footer-inera-headline.js';
|
|
4
6
|
|
|
5
7
|
function IDSFooterInera({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
|
|
6
|
-
|
|
7
|
-
if (srHeadline) {
|
|
8
|
-
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera__headline", children: headline })] }));
|
|
9
|
-
}
|
|
10
|
-
return jsx("h2", { className: "ids-footer-inera__headline", children: headline });
|
|
11
|
-
};
|
|
12
|
-
const renderCols = () => {
|
|
13
|
-
if (!!col1 && !col2 && !col3) {
|
|
14
|
-
return jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--100"), children: col1 });
|
|
15
|
-
}
|
|
16
|
-
else if (!!col1 && !!col2 && !col3) {
|
|
17
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col2 })] }));
|
|
18
|
-
}
|
|
19
|
-
else if (!!col1 && !!col2 && !!col3) {
|
|
20
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col3 })] }));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
};
|
|
24
|
-
return (jsxs("footer", { className: clsx("ids-footer-inera", className), ...props, children: [jsx("div", { className: "ids-footer-inera__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera__inner", children: [jsx("div", { className: "ids-footer-inera__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera__content", children: [jsxs("div", { className: "ids-footer-inera__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera__sub-footer", children: [jsx("div", { className: "ids-footer-inera__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
8
|
+
return (jsxs("footer", { className: clsx("ids-footer-inera", className), ...props, children: [jsx("div", { className: "ids-footer-inera__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera__inner", children: [jsx("div", { className: "ids-footer-inera__headline-wrapper", children: jsx(IDSFooterIneraHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera__content", children: [jsxs("div", { className: "ids-footer-inera__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera__cols", children: jsx(IDSFooterIneraColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera__sub-footer", children: [jsx("div", { className: "ids-footer-inera__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
25
9
|
}
|
|
26
10
|
IDSFooterInera.displayName = "IDSFooterInera";
|
|
27
11
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface IDSFooterIneraAdminColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
col1?: ReactNode;
|
|
4
|
+
col2?: ReactNode;
|
|
5
|
+
col3?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function IDSFooterIneraAdminColumns({ col1, col2, col3 }: IDSFooterIneraAdminColumnsProps): React.JSX.Element;
|
|
8
|
+
export declare namespace IDSFooterIneraAdminColumns {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
|
|
4
|
+
function IDSFooterIneraAdminColumns({ col1, col2, col3 }) {
|
|
5
|
+
if (!!col1 && !col2 && !col3) {
|
|
6
|
+
return jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--100"), children: col1 });
|
|
7
|
+
}
|
|
8
|
+
else if (!!col1 && !!col2 && !col3) {
|
|
9
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col2 })] }));
|
|
10
|
+
}
|
|
11
|
+
else if (!!col1 && !!col2 && !!col3) {
|
|
12
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col3 })] }));
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
IDSFooterIneraAdminColumns.displayName = "IDSFooterIneraAdminColumns";
|
|
17
|
+
|
|
18
|
+
export { IDSFooterIneraAdminColumns };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface FooterIneraAdminHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
headline?: string;
|
|
4
|
+
srHeadline?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IDSFooterIneraAdminHeadline({ headline, srHeadline }: FooterIneraAdminHeadlineProps): React.JSX.Element;
|
|
7
|
+
export declare namespace IDSFooterIneraAdminHeadline {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function IDSFooterIneraAdminHeadline({ headline = "", srHeadline = "" }) {
|
|
4
|
+
if (srHeadline) {
|
|
5
|
+
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-admin__headline", children: headline })] }));
|
|
6
|
+
}
|
|
7
|
+
return jsx("h2", { className: "ids-footer-inera-admin__headline", children: headline });
|
|
8
|
+
}
|
|
9
|
+
IDSFooterIneraAdminHeadline.displayName = "IDSFooterIneraAdminHeadline";
|
|
10
|
+
|
|
11
|
+
export { IDSFooterIneraAdminHeadline };
|
|
@@ -14,7 +14,7 @@ interface FooterIneraAdminProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
14
|
subFooterMobile?: ReactNode;
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare function IDSFooterIneraAdmin({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraAdminProps):
|
|
17
|
+
export declare function IDSFooterIneraAdmin({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraAdminProps): React.JSX.Element;
|
|
18
18
|
export declare namespace IDSFooterIneraAdmin {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
import { jsxs, jsx
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import '@inera/ids-design/components/footer-inera-admin/footer-inera-admin.css';
|
|
4
|
+
import { IDSFooterIneraAdminColumns } from './footer-inera-admin-columns.js';
|
|
5
|
+
import { IDSFooterIneraAdminHeadline } from './footer-inera-admin-headline.js';
|
|
4
6
|
|
|
5
7
|
function IDSFooterIneraAdmin({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
|
|
6
|
-
|
|
7
|
-
if (srHeadline) {
|
|
8
|
-
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-admin__headline", children: headline })] }));
|
|
9
|
-
}
|
|
10
|
-
return jsx("h2", { className: "ids-footer-inera-admin__headline", children: headline });
|
|
11
|
-
};
|
|
12
|
-
const renderCols = () => {
|
|
13
|
-
if (!!col1 && !col2 && !col3) {
|
|
14
|
-
return (jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--100"), children: col1 }));
|
|
15
|
-
}
|
|
16
|
-
else if (!!col1 && !!col2 && !col3) {
|
|
17
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col2 })] }));
|
|
18
|
-
}
|
|
19
|
-
else if (!!col1 && !!col2 && !!col3) {
|
|
20
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col3 })] }));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
};
|
|
24
|
-
return (jsxs("footer", { className: clsx("ids-footer-inera-admin", className), ...props, children: [jsx("div", { className: "ids-footer-inera-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-admin__inner", children: [jsx("div", { className: "ids-footer-inera-admin__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera-admin__content", children: [jsxs("div", { className: "ids-footer-inera-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-admin__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-admin__sub-footer", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-admin__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
8
|
+
return (jsxs("footer", { className: clsx("ids-footer-inera-admin", className), ...props, children: [jsx("div", { className: "ids-footer-inera-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-admin__inner", children: [jsx("div", { className: "ids-footer-inera-admin__headline-wrapper", children: jsx(IDSFooterIneraAdminHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera-admin__content", children: [jsxs("div", { className: "ids-footer-inera-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-admin__cols", children: jsx(IDSFooterIneraAdminColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-admin__sub-footer", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-admin__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
25
9
|
}
|
|
26
10
|
IDSFooterIneraAdmin.displayName = "IDSFooterIneraAdmin";
|
|
27
11
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface IDSFooterIneraGeneralColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
col1?: ReactNode;
|
|
4
|
+
col2?: ReactNode;
|
|
5
|
+
col3?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function IDSFooterIneraGeneralColumns({ col1, col2, col3 }: IDSFooterIneraGeneralColumnsProps): React.JSX.Element;
|
|
8
|
+
export declare namespace IDSFooterIneraGeneralColumns {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
|
|
4
|
+
function IDSFooterIneraGeneralColumns({ col1, col2, col3 }) {
|
|
5
|
+
if (!!col1 && !col2 && !col3) {
|
|
6
|
+
return (jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--100"), children: col1 }));
|
|
7
|
+
}
|
|
8
|
+
else if (!!col1 && !!col2 && !col3) {
|
|
9
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col2 })] }));
|
|
10
|
+
}
|
|
11
|
+
else if (!!col1 && !!col2 && !!col3) {
|
|
12
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col3 })] }));
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
IDSFooterIneraGeneralColumns.displayName = "IDSFooterIneraGeneralColumns";
|
|
17
|
+
|
|
18
|
+
export { IDSFooterIneraGeneralColumns };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface FooterIneraGeneralHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
headline?: string;
|
|
4
|
+
srHeadline?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IDSFooterIneraGeneralHeadline({ headline, srHeadline }: FooterIneraGeneralHeadlineProps): React.JSX.Element;
|
|
7
|
+
export declare namespace IDSFooterIneraGeneralHeadline {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function IDSFooterIneraGeneralHeadline({ headline = "", srHeadline = "" }) {
|
|
4
|
+
if (srHeadline) {
|
|
5
|
+
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-general__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-general__headline", children: headline })] }));
|
|
6
|
+
}
|
|
7
|
+
return jsx("h2", { className: "ids-footer-inera-general__headline", children: headline });
|
|
8
|
+
}
|
|
9
|
+
IDSFooterIneraGeneralHeadline.displayName = "IDSFooterIneraGeneralHeadline";
|
|
10
|
+
|
|
11
|
+
export { IDSFooterIneraGeneralHeadline };
|
|
@@ -14,7 +14,7 @@ interface FooterIneraGeneralProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
14
|
subFooterMobile?: ReactNode;
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare function IDSFooterIneraGeneral({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraGeneralProps):
|
|
17
|
+
export declare function IDSFooterIneraGeneral({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraGeneralProps): React.JSX.Element;
|
|
18
18
|
export declare namespace IDSFooterIneraGeneral {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
import { jsxs, jsx
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import '@inera/ids-design/components/footer-inera-general/footer-inera-general.css';
|
|
4
|
+
import { IDSFooterIneraGeneralColumns } from './footer-inera-general-columns.js';
|
|
5
|
+
import { IDSFooterIneraGeneralHeadline } from './footer-inera-general-headline.js';
|
|
4
6
|
|
|
5
7
|
function IDSFooterIneraGeneral({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
|
|
6
|
-
|
|
7
|
-
if (srHeadline) {
|
|
8
|
-
return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-general__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-general__headline", children: headline })] }));
|
|
9
|
-
}
|
|
10
|
-
return jsx("h2", { className: "ids-footer-inera-general__headline", children: headline });
|
|
11
|
-
};
|
|
12
|
-
const renderCols = () => {
|
|
13
|
-
if (!!col1 && !col2 && !col3) {
|
|
14
|
-
return jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--100"), children: col1 });
|
|
15
|
-
}
|
|
16
|
-
else if (!!col1 && !!col2 && !col3) {
|
|
17
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col2 })] }));
|
|
18
|
-
}
|
|
19
|
-
else if (!!col1 && !!col2 && !!col3) {
|
|
20
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col3 })] }));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
};
|
|
24
|
-
return (jsxs("footer", { className: clsx("ids-footer-inera-general", className), ...props, children: [jsx("div", { className: "ids-footer-inera-general__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-general__inner", children: [jsx("div", { className: "ids-footer-inera-general__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera-general__content", children: [jsxs("div", { className: "ids-footer-inera-general__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-general__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-general__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera-general__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-general__sub-footer", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-general__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-general__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-general__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
8
|
+
return (jsxs("footer", { className: clsx("ids-footer-inera-general", className), ...props, children: [jsx("div", { className: "ids-footer-inera-general__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-general__inner", children: [jsx("div", { className: "ids-footer-inera-general__headline-wrapper", children: jsx(IDSFooterIneraGeneralHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera-general__content", children: [jsxs("div", { className: "ids-footer-inera-general__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-general__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-general__cols", children: jsx(IDSFooterIneraGeneralColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera-general__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-general__sub-footer", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-general__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-general__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-general__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
|
|
25
9
|
}
|
|
26
10
|
IDSFooterIneraGeneral.displayName = "IDSFooterIneraGeneral";
|
|
27
11
|
|
|
@@ -11,7 +11,7 @@ export interface IDSCheckboxGroupBaseProps extends InputHTMLAttributes<HTMLField
|
|
|
11
11
|
groupRef?: React.Ref<HTMLFieldSetElement>;
|
|
12
12
|
subtitle?: string | ReactNode;
|
|
13
13
|
}
|
|
14
|
-
export declare function IDSCheckboxGroupBase({ legend, errorMsg, subtitle, compact, hideLegend, tooltip, children, className, invalid, errorMsgId, groupRef, ...props }: IDSCheckboxGroupBaseProps):
|
|
14
|
+
export declare function IDSCheckboxGroupBase({ legend, errorMsg, subtitle, compact, hideLegend, tooltip, children, className, invalid, errorMsgId, groupRef, ...props }: IDSCheckboxGroupBaseProps): React.JSX.Element;
|
|
15
15
|
export declare namespace IDSCheckboxGroupBase {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import React, { InputHTMLAttributes, ReactNode } from "react";
|
|
2
2
|
export interface IDSCheckboxGroupProps extends InputHTMLAttributes<HTMLFieldSetElement> {
|
|
3
3
|
legend?: string;
|
|
4
4
|
errorMsg?: string | ReactNode;
|
|
@@ -12,7 +12,7 @@ export interface IDSCheckboxGroupProps extends InputHTMLAttributes<HTMLFieldSetE
|
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
onValidityChange?: (isValid: boolean) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function IDSCheckboxGroup({ errorMsg, block, invalid, subtitle, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps):
|
|
15
|
+
export declare function IDSCheckboxGroup({ errorMsg, block, invalid, subtitle, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps): React.JSX.Element;
|
|
16
16
|
export declare namespace IDSCheckboxGroup {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -29,7 +29,7 @@ export interface IDSDatePickerProps extends Omit<React.InputHTMLAttributes<HTMLI
|
|
|
29
29
|
onClose?: () => void;
|
|
30
30
|
onDayClick?: (date: Date, modifiers: Modifiers, e: React.MouseEvent) => void;
|
|
31
31
|
}
|
|
32
|
-
export declare function IDSDatePicker({ label, id, value, light, placeholder, subtitle, dataTestId, errorMsg, missingDateErrorMsg, invalidDateErrorMsg, calendarHeader, srOpenText, srCloseText, validationOnBlur, defaultMonth, startMonth, endMonth, noValidation, disabled, required, invalid, readOnly, tooltip, disableNavigation, modifiers, focusedDay, onChange, onFocus, onBlur, onOpen, onClose, onDayClick, className, ...props }: IDSDatePickerProps):
|
|
32
|
+
export declare function IDSDatePicker({ label, id, value, light, placeholder, subtitle, dataTestId, errorMsg, missingDateErrorMsg, invalidDateErrorMsg, calendarHeader, srOpenText, srCloseText, validationOnBlur, defaultMonth, startMonth, endMonth, noValidation, disabled, required, invalid, readOnly, tooltip, disableNavigation, modifiers, focusedDay, onChange, onFocus, onBlur, onOpen, onClose, onDayClick, className, ...props }: IDSDatePickerProps): React.JSX.Element;
|
|
33
33
|
export declare namespace IDSDatePicker {
|
|
34
34
|
var displayName: string;
|
|
35
35
|
}
|
|
@@ -4,7 +4,7 @@ import { getWeek, isValid, format, subMonths, addMonths } from 'date-fns';
|
|
|
4
4
|
import { sv } from 'react-day-picker/locale';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { IDSErrorMessage } from '../error-message/error-message.js';
|
|
7
|
-
import { DayPicker,
|
|
7
|
+
import { DayPicker, YearsDropdown, MonthsDropdown, WeekNumberHeader, useDayPicker, DropdownNav } from 'react-day-picker';
|
|
8
8
|
import { useFocusTrap } from '../../utils/hooks/useFocusTrap.js';
|
|
9
9
|
import { useAriaDescribedBy } from '../form-hooks/useAriaDescribedBy.js';
|
|
10
10
|
import { useClickOutside } from '../../utils/hooks/useClickOutside.js';
|
|
@@ -5,7 +5,7 @@ interface IDSErrorMessageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
compact?: boolean;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare function IDSErrorMessage({ show, compact, id, children, className, ...props }: IDSErrorMessageProps):
|
|
8
|
+
export declare function IDSErrorMessage({ show, compact, id, children, className, ...props }: IDSErrorMessageProps): React.JSX.Element;
|
|
9
9
|
export declare namespace IDSErrorMessage {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -12,7 +12,7 @@ export interface IDSInputBaseProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
12
12
|
icon?: string;
|
|
13
13
|
clearButton?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare function IDSInputBase({ label, type, icon, clearButton, hint, unit, subtitle, showSearchLabel, errorMsg, dataTestId, disabled, invalid, required, focusAnchor, light, readOnly, tooltip, submitButton, className, id, hintId, errorMsgId, inputRef, ...props }: IDSInputBaseProps):
|
|
15
|
+
export declare function IDSInputBase({ label, type, icon, clearButton, hint, unit, subtitle, showSearchLabel, errorMsg, dataTestId, disabled, invalid, required, focusAnchor, light, readOnly, tooltip, submitButton, className, id, hintId, errorMsgId, inputRef, ...props }: IDSInputBaseProps): React.JSX.Element;
|
|
16
16
|
export declare namespace IDSInputBase {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -26,7 +26,7 @@ function IDSInputBase({ label, type = "text", icon, clearButton, hint, unit, sub
|
|
|
26
26
|
"ids-label-wrapper--sr-only": type === "search" && !showSearchLabel
|
|
27
27
|
}), children: [jsx("label", { className: clsx("ids-label", {
|
|
28
28
|
"ids-label--sr-only": type === "search" && !showSearchLabel
|
|
29
|
-
}), htmlFor: inputId, children: label }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] })), subtitle && jsx("div", { className: "ids-subtitle", children: subtitle }), jsxs("div", { className: "ids-input__input-wrapper", children: [type === "search" && jsx("span", { className: "ids-input__search-icon" }), jsx("input", { ref: inputRef, id: inputId, type: type, readOnly: readOnly, className: clsx("ids-input__input", {
|
|
29
|
+
}), htmlFor: inputId, children: label }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] })), subtitle && jsx("div", { className: "ids-subtitle", children: subtitle }), jsxs("div", { className: "ids-input__input-wrapper", children: [type === "search" && jsx("span", { className: "ids-input__search-icon", "aria-hidden": "true" }), jsx("input", { ref: inputRef, id: inputId, type: type, readOnly: readOnly, className: clsx("ids-input__input", {
|
|
30
30
|
"ids-input--light": light,
|
|
31
31
|
"ids-input--invalid": invalid,
|
|
32
32
|
"ids-focus-anchor": focusAnchor
|
|
@@ -4,7 +4,7 @@ interface IDSRadioBaseProps extends React.InputHTMLAttributes<HTMLInputElement>,
|
|
|
4
4
|
errorMsgId?: string;
|
|
5
5
|
inputRef?: React.Ref<HTMLInputElement>;
|
|
6
6
|
}
|
|
7
|
-
export declare function IDSRadioBase({ id, name, light, disabled, focusAnchor, tooltip, dataTestId, children, className, inputRef, invalid, errorMsgId, ...props }: IDSRadioBaseProps):
|
|
7
|
+
export declare function IDSRadioBase({ id, name, light, disabled, focusAnchor, tooltip, dataTestId, children, className, inputRef, invalid, errorMsgId, ...props }: IDSRadioBaseProps): React.JSX.Element;
|
|
8
8
|
export declare namespace IDSRadioBase {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -11,7 +11,7 @@ interface IDSRadioGroupBaseProps extends FieldsetHTMLAttributes<HTMLFieldSetElem
|
|
|
11
11
|
errorMsgId?: string;
|
|
12
12
|
groupRef?: React.Ref<HTMLFieldSetElement>;
|
|
13
13
|
}
|
|
14
|
-
export declare function IDSRadioGroupBase({ legend, hideLegend, errorMsg, errorMsgId, compact, required, tooltip, subtitle, className, children, invalid, groupRef, ...props }: IDSRadioGroupBaseProps):
|
|
14
|
+
export declare function IDSRadioGroupBase({ legend, hideLegend, errorMsg, errorMsgId, compact, required, tooltip, subtitle, className, children, invalid, groupRef, ...props }: IDSRadioGroupBaseProps): React.JSX.Element;
|
|
15
15
|
export declare namespace IDSRadioGroupBase {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEvent, ReactNode, FieldsetHTMLAttributes } from "react";
|
|
1
|
+
import React, { ChangeEvent, ReactNode, FieldsetHTMLAttributes } from "react";
|
|
2
2
|
interface IDSRadioGroupProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
3
3
|
name?: string;
|
|
4
4
|
legend?: string;
|
|
@@ -12,7 +12,7 @@ interface IDSRadioGroupProps extends FieldsetHTMLAttributes<HTMLFieldSetElement>
|
|
|
12
12
|
noValidation?: boolean;
|
|
13
13
|
onRadioChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function IDSRadioGroup({ name, required, noValidation, invalid, errorMsg, subtitle, children, onRadioChange, ...props }: IDSRadioGroupProps):
|
|
15
|
+
export declare function IDSRadioGroup({ name, required, noValidation, invalid, errorMsg, subtitle, children, onRadioChange, ...props }: IDSRadioGroupProps): React.JSX.Element;
|
|
16
16
|
export declare namespace IDSRadioGroup {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -5,7 +5,7 @@ export interface IDSRadioButtonGroupBaseProps extends InputHTMLAttributes<HTMLFi
|
|
|
5
5
|
tooltip?: ReactNode;
|
|
6
6
|
groupRef?: React.Ref<HTMLFieldSetElement>;
|
|
7
7
|
}
|
|
8
|
-
export declare function IDSRadioButtonGroupBase({ legend, groupRef, tooltip, children, className, ...props }: IDSRadioButtonGroupBaseProps): import("react
|
|
8
|
+
export declare function IDSRadioButtonGroupBase({ legend, groupRef, tooltip, children, className, ...props }: IDSRadioButtonGroupBaseProps): import("react").JSX.Element;
|
|
9
9
|
export declare namespace IDSRadioButtonGroupBase {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode, ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
+
import React from "react";
|
|
2
3
|
interface IDSRadioButtonGroupProps extends InputHTMLAttributes<HTMLFieldSetElement> {
|
|
3
4
|
name: string;
|
|
4
5
|
legend?: string;
|
|
@@ -6,7 +7,7 @@ interface IDSRadioButtonGroupProps extends InputHTMLAttributes<HTMLFieldSetEleme
|
|
|
6
7
|
children?: ReactNode;
|
|
7
8
|
onRadioChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
8
9
|
}
|
|
9
|
-
export declare function IDSRadioButtonGroup({ name, legend, tooltip, children, onRadioChange, className, ...props }: IDSRadioButtonGroupProps):
|
|
10
|
+
export declare function IDSRadioButtonGroup({ name, legend, tooltip, children, onRadioChange, className, ...props }: IDSRadioButtonGroupProps): React.JSX.Element;
|
|
10
11
|
export declare namespace IDSRadioButtonGroup {
|
|
11
12
|
var displayName: string;
|
|
12
13
|
}
|
|
@@ -10,7 +10,7 @@ export interface IDSRangeBaseProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
10
10
|
inputRef?: Ref<HTMLInputElement>;
|
|
11
11
|
style?: CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
export declare function IDSRangeBase({ id, label, showTicks, ticks, disabled, focusAnchor, dataTestId, tooltip, valueNow, min, max, step, inputRef, style, className, subtitle, ...props }: IDSRangeBaseProps): import("react
|
|
13
|
+
export declare function IDSRangeBase({ id, label, showTicks, ticks, disabled, focusAnchor, dataTestId, tooltip, valueNow, min, max, step, inputRef, style, className, subtitle, ...props }: IDSRangeBaseProps): import("react").JSX.Element;
|
|
14
14
|
export declare namespace IDSRangeBase {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -5,7 +5,7 @@ export interface IDSSelectBaseProps extends React.SelectHTMLAttributes<HTMLSelec
|
|
|
5
5
|
errorMsgId?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
export declare function IDSSelectBase({ id, label, errorMsgId, errorMsg, invalid, readOnly, disabled, required, light, focusAnchor, tooltip, children, className, selectRef, dataTestId, style, subtitle, ...props }: IDSSelectBaseProps): import("react
|
|
8
|
+
export declare function IDSSelectBase({ id, label, errorMsgId, errorMsg, invalid, readOnly, disabled, required, light, focusAnchor, tooltip, children, className, selectRef, dataTestId, style, subtitle, ...props }: IDSSelectBaseProps): import("react").JSX.Element;
|
|
9
9
|
export declare namespace IDSSelectBase {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from "react";
|
|
2
2
|
import { CommonFormPropsWithReadOnly } from "../form-props/form-props";
|
|
3
|
-
export interface IDSSelectMultipleBaseProps extends React.
|
|
3
|
+
export interface IDSSelectMultipleBaseProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, CommonFormPropsWithReadOnly {
|
|
4
4
|
expanded?: boolean;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
numbCheckedBoxes?: number;
|
|
@@ -14,7 +14,7 @@ export interface IDSSelectMultipleBaseProps extends React.InputHTMLAttributes<HT
|
|
|
14
14
|
client?: boolean;
|
|
15
15
|
style?: CSSProperties;
|
|
16
16
|
}
|
|
17
|
-
export declare function IDSSelectMultipleBase({ id, label, placeholder, numbCheckedBoxes, selectedLabel, selectedLabelPlural, expanded, maxHeight, tooltip, subtitle, componentRef, buttonRef, invalid, disabled, readOnly, ariaDisabled, light, focusAnchor, className, children, style, onClick, client }: IDSSelectMultipleBaseProps): import("react
|
|
17
|
+
export declare function IDSSelectMultipleBase({ id, label, placeholder, numbCheckedBoxes, selectedLabel, selectedLabelPlural, expanded, maxHeight, tooltip, subtitle, componentRef, buttonRef, invalid, disabled, readOnly, ariaDisabled, light, focusAnchor, className, children, style, onClick, client, ...props }: IDSSelectMultipleBaseProps): import("react").JSX.Element;
|
|
18
18
|
export declare namespace IDSSelectMultipleBase {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useId } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
|
|
5
|
-
function IDSSelectMultipleBase({ id, label, placeholder, numbCheckedBoxes, selectedLabel = "vald", selectedLabelPlural = "valda", expanded, maxHeight = "", tooltip, subtitle, componentRef, buttonRef, invalid, disabled, readOnly, ariaDisabled, light, focusAnchor, className, children, style, onClick, client = false }) {
|
|
5
|
+
function IDSSelectMultipleBase({ id, label, placeholder, numbCheckedBoxes, selectedLabel = "vald", selectedLabelPlural = "valda", expanded, maxHeight = "", tooltip, subtitle, componentRef, buttonRef, invalid, disabled, readOnly, ariaDisabled, light, focusAnchor, className, children, style, onClick, client = false, ...props }) {
|
|
6
6
|
const reactId = useId();
|
|
7
7
|
const labelId = `select-multiple-base-label-${reactId}`;
|
|
8
8
|
const dropdownId = `select-multiple-base-dropdown-${reactId}`;
|
|
@@ -19,7 +19,7 @@ function IDSSelectMultipleBase({ id, label, placeholder, numbCheckedBoxes, selec
|
|
|
19
19
|
return (jsxs("div", { className: clsx("ids-select-multiple", className), ref: componentRef, style: style, children: [label && (jsxs("div", { className: "ids-label-wrapper ids-label-wrapper--margin-bottom", children: [jsx("label", { id: labelId, className: "ids-label", children: label }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] })), subtitle && jsx("div", { className: "ids-subtitle", children: subtitle }), jsx("div", { className: "ids-select-multiple__select-wrapper", children: jsx("button", { ref: buttonRef, id: id, "aria-labelledby": labelId, type: "button", "aria-haspopup": "dialog", "aria-controls": dropdownId, className: clsx("ids-select-multiple__select", {
|
|
20
20
|
"ids-input--light": light,
|
|
21
21
|
"ids-focus-anchor": focusAnchor
|
|
22
|
-
}), disabled: disabled, "aria-disabled": ariaDisabled || readOnly || undefined, "aria-expanded": expanded, "aria-invalid": invalid, ...clickHandler, children: displayedValue }) }), jsx("div", { className: "ids-select-multiple__dropdown-wrapper", id: dropdownId, children: jsx("div", { className: clsx("ids-select-multiple__dropdown", {
|
|
22
|
+
}), disabled: disabled, "aria-disabled": ariaDisabled || readOnly || undefined, "aria-expanded": expanded, "aria-invalid": invalid, ...clickHandler, ...props, children: displayedValue }) }), jsx("div", { className: "ids-select-multiple__dropdown-wrapper", id: dropdownId, children: jsx("div", { className: clsx("ids-select-multiple__dropdown", {
|
|
23
23
|
"ids-select-multiple__dropdown--expanded": expanded
|
|
24
24
|
}), children: jsx("div", { className: "ids-select-multiple__dropdown-scroll-area", style: { maxHeight }, children: children }) }) })] }));
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { CommonFormPropsWithReadOnly } from "../form-props/form-props";
|
|
3
|
-
export interface IDSSelectMultipleProps extends React.
|
|
3
|
+
export interface IDSSelectMultipleProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, CommonFormPropsWithReadOnly {
|
|
4
4
|
selectedLabel?: string;
|
|
5
5
|
selectedLabelPlural?: string;
|
|
6
6
|
placeholder?: string;
|
|
@@ -8,7 +8,7 @@ export interface IDSSelectMultipleProps extends React.InputHTMLAttributes<HTMLIn
|
|
|
8
8
|
maxHeight?: string;
|
|
9
9
|
expanded?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare function IDSSelectMultiple({ label, invalid, noValidation, expanded, errorMsg,
|
|
11
|
+
export declare function IDSSelectMultiple({ label, invalid, noValidation, expanded, errorMsg, children, ...props }: IDSSelectMultipleProps): React.JSX.Element;
|
|
12
12
|
export declare namespace IDSSelectMultiple {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|