@inera/ids-react 9.2.2 → 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/accordion/accordion.js +1 -1
- package/components/alert/alert-base.d.ts +1 -1
- package/components/alert/alert-base.js +2 -2
- 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 +10 -6
- package/components/button/button-group.d.ts +1 -1
- package/components/button/button.d.ts +1 -0
- package/components/button/button.js +7 -2
- package/components/button/control-button.d.ts +6 -0
- package/components/button/control-button.js +10 -0
- 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 +8 -6
- package/components/date-label/date-label.d.ts +3 -2
- package/components/date-label/date-label.js +4 -2
- package/components/dialog/dialog-base.js +1 -1
- 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-base.js +2 -3
- package/components/form/checkbox/checkbox-group-base.d.ts +2 -1
- package/components/form/checkbox/checkbox-group-base.js +3 -3
- package/components/form/checkbox/checkbox-group.d.ts +3 -2
- package/components/form/checkbox/checkbox-group.js +2 -2
- package/components/form/checkbox/checkbox.js +3 -4
- package/components/form/datepicker/datepicker.d.ts +3 -1
- package/components/form/datepicker/datepicker.js +143 -111
- package/components/form/error-message/error-message.d.ts +1 -1
- package/components/form/form-hooks/useAriaDescribedBy.js +1 -4
- package/components/form/form-hooks/useInputValidity.d.ts +1 -1
- package/components/form/form-hooks/useInputValidity.js +28 -12
- package/components/form/form-props/form-props.d.ts +1 -0
- package/components/form/input/input-base.d.ts +4 -2
- package/components/form/input/input-base.js +14 -9
- package/components/form/input/input.d.ts +3 -0
- package/components/form/input/input.js +1 -1
- package/components/form/radio/radio-base.d.ts +1 -1
- package/components/form/radio/radio-base.js +1 -2
- package/components/form/radio/radio-group-base.d.ts +2 -1
- package/components/form/radio/radio-group-base.js +3 -3
- package/components/form/radio/radio-group.d.ts +3 -2
- package/components/form/radio/radio-group.js +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/range/range-base.js +2 -2
- package/components/form/select/select-base.d.ts +3 -3
- package/components/form/select/select-base.js +3 -5
- package/components/form/select/select.d.ts +2 -2
- package/components/form/select/select.js +1 -1
- package/components/form/select-multiple/select-multiple-base.d.ts +2 -2
- package/components/form/select-multiple/select-multiple-base.js +3 -3
- 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/textarea/textarea-base.js +3 -5
- package/components/form/textarea/textarea.js +1 -1
- package/components/form/time/time-base.d.ts +1 -1
- package/components/form/time/time-base.js +2 -4
- package/components/form/time/time.js +4 -5
- 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 +4 -2
- package/components/header-1177/header-1177-region-picker-base.js +8 -3
- package/components/header-1177/header-1177-region-picker-mobile-base.d.ts +4 -2
- package/components/header-1177/header-1177-region-picker-mobile-base.js +8 -3
- package/components/header-1177/header-1177-region-picker-mobile.d.ts +3 -1
- package/components/header-1177/header-1177-region-picker.d.ts +3 -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 +3 -1
- package/components/header-1177-pro/header-1177-pro-region-picker-base.js +8 -3
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile-base.d.ts +3 -1
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile-base.js +8 -3
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile.d.ts +3 -1
- package/components/header-1177-pro/header-1177-pro-region-picker-mobile.js +1 -1
- package/components/header-1177-pro/header-1177-pro-region-picker.d.ts +3 -1
- package/components/header-1177-pro/header-1177-pro-region-picker.js +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 +2 -1
- package/components/popover/popover.js +28 -14
- 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 +2 -2
- package/components/puff-list/puff-list-item-info.d.ts +1 -1
- package/components/puff-list/puff-list-item.d.ts +2 -1
- package/components/puff-list/puff-list-item.js +2 -2
- 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 +4 -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.d.ts +1 -1
- 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/step.d.ts +1 -1
- package/components/stepper/step.js +2 -11
- 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 +9 -2
- package/components/tooltip/tooltip-base.d.ts +1 -3
- package/components/tooltip/tooltip-base.js +14 -10
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/tooltip/tooltip.js +1 -41
- package/components/utils/utils.js +0 -1
- package/index.d.ts +12 -0
- package/index.js +12 -0
- package/package.json +4 -3
|
@@ -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-admin/footer-1177-admin.css';
|
|
4
|
+
import { IDSFooter1177AdminColumns } from './footer-1177-admin-columns.js';
|
|
5
|
+
import { IDSFooter1177AdminHeadline } from './footer-1177-admin-headline.js';
|
|
4
6
|
|
|
5
7
|
function IDSFooter1177Admin({ 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-1177-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-1177-admin__headline", children: headline })] }));
|
|
9
|
-
}
|
|
10
|
-
return jsx("h2", { className: "ids-footer-1177-admin__headline", children: headline });
|
|
11
|
-
};
|
|
12
|
-
const renderCols = () => {
|
|
13
|
-
if (!!col1 && !col2 && !col3) {
|
|
14
|
-
return jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--100"), children: col1 });
|
|
15
|
-
}
|
|
16
|
-
else if (!!col1 && !!col2 && !col3) {
|
|
17
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--50"), children: col2 })] }));
|
|
18
|
-
}
|
|
19
|
-
else if (!!col1 && !!col2 && !!col3) {
|
|
20
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col3 })] }));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
};
|
|
24
|
-
return (jsxs("footer", { className: clsx("ids-footer-1177-admin", className), ...props, children: [jsx("div", { className: "ids-footer-1177-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-admin__inner", children: [jsx("div", { className: "ids-footer-1177-admin__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-1177-admin__content", children: [jsxs("div", { className: "ids-footer-1177-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-admin__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-1177-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-admin__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline", children: headline })] }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
|
|
8
|
+
return (jsxs("footer", { className: clsx("ids-footer-1177-admin", className), ...props, children: [jsx("div", { className: "ids-footer-1177-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-admin__inner", children: [jsx("div", { className: "ids-footer-1177-admin__headline-wrapper", children: jsx(IDSFooter1177AdminHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-1177-admin__content", children: [jsxs("div", { className: "ids-footer-1177-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-admin__cols", children: jsx(IDSFooter1177AdminColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-1177-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-admin__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline", children: headline })] }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
|
|
25
9
|
}
|
|
26
10
|
IDSFooter1177Admin.displayName = "IDSFooter1177Admin";
|
|
27
11
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface Footer1177ProColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
col1Headline?: ReactNode;
|
|
4
|
+
col2Headline?: ReactNode;
|
|
5
|
+
col3Headline?: ReactNode;
|
|
6
|
+
col1?: ReactNode;
|
|
7
|
+
col2?: ReactNode;
|
|
8
|
+
col3?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare function IDSFooter1177ProColumns({ col1, col2, col3, col1Headline, col2Headline, col3Headline }: Footer1177ProColumnsProps): React.JSX.Element;
|
|
11
|
+
export declare namespace IDSFooter1177ProColumns {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
|
|
4
|
+
function IDSFooter1177ProColumns({ col1, col2, col3, col1Headline, col2Headline, col3Headline }) {
|
|
5
|
+
if (!!col1 && !col2 && !col3) {
|
|
6
|
+
return (jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--100"), children: [col1Headline, col1] }));
|
|
7
|
+
}
|
|
8
|
+
else if (!!col1 && !!col2 && !col3) {
|
|
9
|
+
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] })] }));
|
|
10
|
+
}
|
|
11
|
+
else if (!!col1 && !!col2 && !!col3) {
|
|
12
|
+
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] })] }));
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
IDSFooter1177ProColumns.displayName = "IDSFooter1177ProColumns";
|
|
17
|
+
|
|
18
|
+
export { IDSFooter1177ProColumns };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface Footer1177ProHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
headline?: string;
|
|
4
|
+
srHeadline?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IDSFooter1177ProHeadline({ headline, srHeadline }: Footer1177ProHeadlineProps): React.JSX.Element;
|
|
7
|
+
export declare namespace IDSFooter1177ProHeadline {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
function IDSFooter1177ProHeadline({ headline = "", srHeadline = "" }) {
|
|
4
|
+
if (srHeadline) {
|
|
5
|
+
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 })] }));
|
|
6
|
+
}
|
|
7
|
+
return jsx("h2", { className: "ids-footer-1177-pro__headline", children: headline });
|
|
8
|
+
}
|
|
9
|
+
IDSFooter1177ProHeadline.displayName = "IDSFooter1177ProHeadline";
|
|
10
|
+
|
|
11
|
+
export { IDSFooter1177ProHeadline };
|
|
@@ -18,7 +18,7 @@ interface Footer1177ProProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
18
18
|
subFooterMobile?: ReactNode;
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
}
|
|
21
|
-
export declare function IDSFooter1177Pro({ headline, srHeadline, mobileHeadline, col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: Footer1177ProProps):
|
|
21
|
+
export declare function IDSFooter1177Pro({ headline, srHeadline, mobileHeadline, col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: Footer1177ProProps): React.JSX.Element;
|
|
22
22
|
export declare namespace IDSFooter1177Pro {
|
|
23
23
|
var displayName: string;
|
|
24
24
|
}
|
|
@@ -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
|
|
|
@@ -16,13 +16,12 @@ function IDSCheckboxBase({ invalid, disabled, required, indeterminate, light, bl
|
|
|
16
16
|
return (jsxs("div", { className: clsx("ids-checkbox-component", className), style: { display: "inline-flex", flexDirection: "column", gap: showErrorMsg ? "0.5rem" : "" }, "data-testid": dataTestId, children: [jsxs("div", { className: clsx("ids-checkbox", {
|
|
17
17
|
"ids-checkbox--light": light,
|
|
18
18
|
"ids-checkbox--block": block
|
|
19
|
-
}),
|
|
19
|
+
}), children: [jsx("input", { id: inputId, ref: inputRef, type: "checkbox", className: clsx("ids-checkbox__input", {
|
|
20
20
|
"ids-focus-anchor": focusAnchor
|
|
21
21
|
}), "aria-invalid": invalid, disabled: disabled, required: required, ...ariaErrorHandler, ...ariaCheckedHandler, ...props }), !!children && (jsxs("div", { className: clsx("ids-label-wrapper", {
|
|
22
22
|
"ids-label-wrapper--block": block
|
|
23
23
|
}), children: [jsx("label", { htmlFor: inputId, className: clsx("ids-checkbox__label ids-label", {
|
|
24
|
-
"ids-label--clickable": !disabled
|
|
25
|
-
"ids-label--disabled": disabled
|
|
24
|
+
"ids-label--clickable": !disabled
|
|
26
25
|
}), children: children }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] }))] }), showErrorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, children: errorMsg }))] }));
|
|
27
26
|
}
|
|
28
27
|
IDSCheckboxBase.displayName = "IDSCheckboxBase";
|
|
@@ -9,8 +9,9 @@ export interface IDSCheckboxGroupBaseProps extends InputHTMLAttributes<HTMLField
|
|
|
9
9
|
invalid?: boolean;
|
|
10
10
|
errorMsgId?: string;
|
|
11
11
|
groupRef?: React.Ref<HTMLFieldSetElement>;
|
|
12
|
+
subtitle?: string | ReactNode;
|
|
12
13
|
}
|
|
13
|
-
export declare function IDSCheckboxGroupBase({ legend, errorMsg, 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;
|
|
14
15
|
export declare namespace IDSCheckboxGroupBase {
|
|
15
16
|
var displayName: string;
|
|
16
17
|
}
|
|
@@ -3,13 +3,13 @@ import { useId } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { IDSErrorMessage } from '../error-message/error-message.js';
|
|
5
5
|
|
|
6
|
-
function IDSCheckboxGroupBase({ legend, errorMsg = "", compact = false, hideLegend, tooltip, children, className, invalid = false, errorMsgId, groupRef, ...props }) {
|
|
6
|
+
function IDSCheckboxGroupBase({ legend, errorMsg = "", subtitle, compact = false, hideLegend, tooltip, children, className, invalid = false, errorMsgId, groupRef, ...props }) {
|
|
7
7
|
const baseErrorMsgId = errorMsgId ?? `checkbox-group-base-error-${useId()}`;
|
|
8
8
|
return (jsxs("fieldset", { ref: groupRef, "aria-describedby": invalid && errorMsg ? baseErrorMsgId : undefined, className: clsx("ids-form-group__fieldset", {
|
|
9
9
|
"ids-form-group__fieldset--compact": compact
|
|
10
|
-
}, className), ...props, children: [legend && (
|
|
10
|
+
}, className), ...props, children: [legend && (jsxs("div", { className: clsx("ids-label-wrapper", {
|
|
11
11
|
"ids-label-wrapper--sr-only": hideLegend
|
|
12
|
-
}, className), children: jsxs("legend", { children: [legend, tooltip && jsx("span", { className: "ids-legend__tooltip", children: tooltip })] }) })), children, invalid && !!errorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, compact: true, style: { marginTop: compact ? "0.75rem" : "auto" }, children: errorMsg }))] }));
|
|
12
|
+
}, className), children: [jsxs("legend", { children: [legend, tooltip && jsx("span", { className: "ids-legend__tooltip", children: tooltip })] }), subtitle && jsx("div", { className: "ids-subtitle ids-subtitle--group", children: subtitle })] })), children, invalid && !!errorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, compact: true, style: { marginTop: compact ? "0.75rem" : "auto" }, children: errorMsg }))] }));
|
|
13
13
|
}
|
|
14
14
|
IDSCheckboxGroupBase.displayName = "IDSCheckboxGroupBase";
|
|
15
15
|
|
|
@@ -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;
|
|
@@ -8,10 +8,11 @@ export interface IDSCheckboxGroupProps extends InputHTMLAttributes<HTMLFieldSetE
|
|
|
8
8
|
tooltip?: ReactNode;
|
|
9
9
|
block?: boolean;
|
|
10
10
|
noValidation?: boolean;
|
|
11
|
+
subtitle?: string | ReactNode;
|
|
11
12
|
children?: ReactNode;
|
|
12
13
|
onValidityChange?: (isValid: boolean) => void;
|
|
13
14
|
}
|
|
14
|
-
export declare function IDSCheckboxGroup({ errorMsg, block, invalid, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps):
|
|
15
|
+
export declare function IDSCheckboxGroup({ errorMsg, block, invalid, subtitle, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps): React.JSX.Element;
|
|
15
16
|
export declare namespace IDSCheckboxGroup {
|
|
16
17
|
var displayName: string;
|
|
17
18
|
}
|
|
@@ -5,7 +5,7 @@ import { IDSCheckboxGroupBase } from './checkbox-group-base.js';
|
|
|
5
5
|
import { IDSCheckbox } from './checkbox.js';
|
|
6
6
|
import { useGroupValidity } from '../form-hooks/useGroupValidity.js';
|
|
7
7
|
|
|
8
|
-
function IDSCheckboxGroup({ errorMsg = "", block, invalid, noValidation = false, onValidityChange, children, ...props }) {
|
|
8
|
+
function IDSCheckboxGroup({ errorMsg = "", block, invalid, subtitle, noValidation = false, onValidityChange, children, ...props }) {
|
|
9
9
|
const groupRef = useRef(null);
|
|
10
10
|
const errorMsgId = useId();
|
|
11
11
|
const { isValid, hasInteracted } = useGroupValidity(groupRef, "checkbox", () => {
|
|
@@ -34,7 +34,7 @@ function IDSCheckboxGroup({ errorMsg = "", block, invalid, noValidation = false,
|
|
|
34
34
|
}
|
|
35
35
|
return child;
|
|
36
36
|
});
|
|
37
|
-
return (jsx(IDSCheckboxGroupBase, { ...props, groupRef: groupRef, invalid: groupInvalid || invalid, errorMsgId: errorMsgId, errorMsg: !noValidation && errorMsg, children: clonedChildren }));
|
|
37
|
+
return (jsx(IDSCheckboxGroupBase, { ...props, groupRef: groupRef, invalid: groupInvalid || invalid, errorMsgId: errorMsgId, errorMsg: !noValidation && errorMsg, subtitle: subtitle, children: clonedChildren }));
|
|
38
38
|
}
|
|
39
39
|
IDSCheckboxGroup.displayName = "IDSCheckboxGroup";
|
|
40
40
|
|
|
@@ -4,10 +4,9 @@ import { forwardRef, useRef, useEffect } from 'react';
|
|
|
4
4
|
import { IDSCheckboxBase } from './checkbox-base.js';
|
|
5
5
|
import { useInputValidity } from '../form-hooks/useInputValidity.js';
|
|
6
6
|
|
|
7
|
-
const IDSCheckbox = forwardRef(({ invalid = false, noValidation = false, indeterminate = false, children, ...props }, ref) => {
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const hasValidValue = useInputValidity(checkboxRef);
|
|
7
|
+
const IDSCheckbox = forwardRef(({ invalid = false, noValidation = false, indeterminate = false, validationOnBlur = false, children, ...props }, ref) => {
|
|
8
|
+
const checkboxRef = useRef(null);
|
|
9
|
+
const hasValidValue = useInputValidity(checkboxRef, validationOnBlur, noValidation);
|
|
11
10
|
const computedInvalid = (invalid || !hasValidValue) && !noValidation;
|
|
12
11
|
// Merge forwarded + local ref
|
|
13
12
|
const mergedRef = (node) => {
|
|
@@ -21,13 +21,15 @@ export interface IDSDatePickerProps extends Omit<React.InputHTMLAttributes<HTMLI
|
|
|
21
21
|
invalidDateErrorMsg?: string;
|
|
22
22
|
disableNavigation?: boolean;
|
|
23
23
|
noValidation?: boolean;
|
|
24
|
+
readOnly?: boolean;
|
|
25
|
+
dataTestId?: string;
|
|
24
26
|
modifiers?: Record<string, Matcher | Matcher[]>;
|
|
25
27
|
onChange?: (event: IDSDatePickerChangeEvent) => void;
|
|
26
28
|
onOpen?: () => void;
|
|
27
29
|
onClose?: () => void;
|
|
28
30
|
onDayClick?: (date: Date, modifiers: Modifiers, e: React.MouseEvent) => void;
|
|
29
31
|
}
|
|
30
|
-
export declare function IDSDatePicker({ label, id, value, light, placeholder, errorMsg, missingDateErrorMsg, invalidDateErrorMsg, calendarHeader, srOpenText, srCloseText, validationOnBlur, defaultMonth, startMonth, endMonth, noValidation, disabled, required, invalid, 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;
|
|
31
33
|
export declare namespace IDSDatePicker {
|
|
32
34
|
var displayName: string;
|
|
33
35
|
}
|