@kirbydesign/designsystem 9.4.1 → 9.6.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/avatar/avatar.component.d.ts +5 -2
- package/calendar/helpers/calendar-cell.model.d.ts +2 -0
- package/card/card-as-button/card-as-button.directive.d.ts +2 -3
- package/card/card.component.d.ts +9 -2
- package/chart/shared/base-chart/base-chart.component.d.ts +2 -2
- package/esm2022/accordion/accordion-item.component.mjs +4 -4
- package/esm2022/accordion/accordion.directive.mjs +4 -4
- package/esm2022/accordion/accordion.module.mjs +5 -5
- package/esm2022/accordion/kirbydesign-designsystem-accordion.mjs +1 -1
- package/esm2022/accordion/public_api.mjs +1 -1
- package/esm2022/action-group/action-group.component.mjs +4 -4
- package/esm2022/action-group/kirbydesign-designsystem-action-group.mjs +1 -1
- package/esm2022/action-group/public_api.mjs +1 -1
- package/esm2022/avatar/avatar.component.mjs +12 -6
- package/esm2022/avatar/kirbydesign-designsystem-avatar.mjs +1 -1
- package/esm2022/avatar/public_api.mjs +1 -1
- package/esm2022/badge/badge.component.mjs +4 -4
- package/esm2022/badge/kirbydesign-designsystem-badge.mjs +1 -1
- package/esm2022/badge/public_api.mjs +1 -1
- package/esm2022/button/button.component.mjs +4 -4
- package/esm2022/button/kirbydesign-designsystem-button.mjs +1 -1
- package/esm2022/button/public_api.mjs +1 -1
- package/esm2022/calendar/calendar.component.mjs +20 -19
- package/esm2022/calendar/helpers/calendar-cell.model.mjs +1 -1
- package/esm2022/calendar/helpers/calendar-options.model.mjs +1 -1
- package/esm2022/calendar/helpers/calendar.helper.mjs +4 -4
- package/esm2022/calendar/kirbydesign-designsystem-calendar.mjs +1 -1
- package/esm2022/calendar/options/calendar-year-navigator-config.mjs +1 -1
- package/esm2022/calendar/public_api.mjs +1 -1
- package/esm2022/card/card-as-button/card-as-button.directive.mjs +4 -9
- package/esm2022/card/card-flag-level.mjs +1 -1
- package/esm2022/card/card-footer/card-footer.component.mjs +5 -5
- package/esm2022/card/card-header/card-header.component.mjs +4 -4
- package/esm2022/card/card.component.mjs +27 -9
- package/esm2022/card/card.module.mjs +5 -5
- package/esm2022/card/kirbydesign-designsystem-card.mjs +1 -1
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/chart/chart/chart.component.mjs +4 -4
- package/esm2022/chart/chart/index.mjs +1 -1
- package/esm2022/chart/chart-config/chart-bar-config/chart-bar-config.mjs +1 -1
- package/esm2022/chart/chart-config/chart-base-config.mjs +1 -1
- package/esm2022/chart/chart-config/chart-stock-config/chart-stock-config.mjs +1 -1
- package/esm2022/chart/chart-config/chart-stock-config/data-label-position/data-label-position.mjs +1 -1
- package/esm2022/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.mjs +1 -1
- package/esm2022/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.mjs +1 -1
- package/esm2022/chart/charts.module.mjs +5 -5
- package/esm2022/chart/kirbydesign-designsystem-chart.mjs +1 -1
- package/esm2022/chart/public_api.mjs +1 -1
- package/esm2022/chart/shared/base-chart/base-chart.component.mjs +4 -4
- package/esm2022/chart/shared/base-chart/index.mjs +1 -1
- package/esm2022/chart/shared/chart-config-service/chart-config.service.mjs +4 -4
- package/esm2022/chart/shared/chart-config-service/configs/annotations.config.mjs +1 -1
- package/esm2022/chart/shared/chart-config-service/configs/global-defaults.config.mjs +1 -1
- package/esm2022/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.mjs +1 -1
- package/esm2022/chart/shared/chart-config-service/configs/type.config.mjs +1 -1
- package/esm2022/chart/shared/chart-config-service/index.mjs +1 -1
- package/esm2022/chart/shared/chart-js-service/annotations.delegate.mjs +1 -1
- package/esm2022/chart/shared/chart-js-service/chart-js.service.mjs +4 -4
- package/esm2022/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.mjs +1 -1
- package/esm2022/chart/shared/chart-js-service/configured-chart-js.mjs +1 -1
- package/esm2022/chart/shared/chart-js-service/index.mjs +1 -1
- package/esm2022/chart/shared/chart-js-service/test-utils.mjs +1 -1
- package/esm2022/chart/shared/charts.types.mjs +1 -1
- package/esm2022/chart/shared/index.mjs +1 -1
- package/esm2022/chart/stock-chart/index.mjs +1 -1
- package/esm2022/chart/stock-chart/stock-chart-js.service.mjs +4 -4
- package/esm2022/chart/stock-chart/stock-chart.component.mjs +4 -4
- package/esm2022/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/checkbox/kirbydesign-designsystem-checkbox.mjs +1 -1
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/data-table/data-table.module.mjs +5 -5
- package/esm2022/data-table/kirbydesign-designsystem-data-table.mjs +1 -1
- package/esm2022/data-table/public_api.mjs +1 -1
- package/esm2022/data-table/sortable/sortable.component.mjs +4 -4
- package/esm2022/data-table/table/table.component.mjs +4 -4
- package/esm2022/data-table/table-row/table-row.component.mjs +4 -4
- package/esm2022/divider/divider.component.mjs +4 -4
- package/esm2022/divider/kirbydesign-designsystem-divider.mjs +1 -1
- package/esm2022/divider/public_api.mjs +1 -1
- package/esm2022/dropdown/dropdown.component.mjs +5 -5
- package/esm2022/dropdown/dropdown.module.mjs +5 -5
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/dropdown/keyboard-handler.service.mjs +4 -4
- package/esm2022/dropdown/kirbydesign-designsystem-dropdown.mjs +1 -1
- package/esm2022/dropdown/public_api.mjs +1 -1
- package/esm2022/empty-state/empty-state.component.mjs +4 -4
- package/esm2022/empty-state/empty-state.module.mjs +5 -5
- package/esm2022/empty-state/kirbydesign-designsystem-empty-state.mjs +1 -1
- package/esm2022/empty-state/public_api.mjs +1 -1
- package/esm2022/fab-sheet/fab-sheet.component.mjs +4 -4
- package/esm2022/fab-sheet/kirbydesign-designsystem-fab-sheet.mjs +1 -1
- package/esm2022/fab-sheet/public_api.mjs +1 -1
- package/esm2022/flag/flag.component.mjs +4 -4
- package/esm2022/flag/kirbydesign-designsystem-flag.mjs +1 -1
- package/esm2022/flag/public_api.mjs +1 -1
- package/esm2022/form-field/directives/affix/affix.directive.mjs +4 -4
- package/esm2022/form-field/directives/date/date-input.directive.mjs +4 -4
- package/esm2022/form-field/directives/decimal-mask/decimal-mask.directive.mjs +4 -4
- package/esm2022/form-field/form-field-message/form-field-message.component.mjs +4 -4
- package/esm2022/form-field/form-field.component.mjs +4 -4
- package/esm2022/form-field/form-field.module.mjs +5 -5
- package/esm2022/form-field/input/input.component.mjs +4 -4
- package/esm2022/form-field/input-counter/input-counter.component.mjs +4 -4
- package/esm2022/form-field/kirbydesign-designsystem-form-field.mjs +1 -1
- package/esm2022/form-field/public_api.mjs +1 -1
- package/esm2022/form-field/textarea/textarea.component.mjs +4 -4
- package/esm2022/header/header.component.mjs +24 -17
- package/esm2022/header/header.module.mjs +5 -5
- package/esm2022/header/kirbydesign-designsystem-header.mjs +1 -1
- package/esm2022/header/public_api.mjs +1 -1
- package/esm2022/helpers/chart-config-has-type.mjs +1 -1
- package/esm2022/helpers/color-helper.mjs +1 -1
- package/esm2022/helpers/deep-copy.mjs +1 -1
- package/esm2022/helpers/design-token-helper.mjs +1 -1
- package/esm2022/helpers/element-has-ancestor.mjs +1 -1
- package/esm2022/helpers/ionic-element-part-helper.mjs +4 -4
- package/esm2022/helpers/kirby-animation.mjs +1 -1
- package/esm2022/helpers/kirbydesign-designsystem-helpers.mjs +1 -1
- package/esm2022/helpers/line-clamp-helper.mjs +4 -4
- package/esm2022/helpers/merge-deep.mjs +1 -1
- package/esm2022/helpers/platform.service.mjs +4 -4
- package/esm2022/helpers/public_api.mjs +1 -1
- package/esm2022/helpers/scss/kirbydesign-designsystem-helpers-scss.mjs +1 -1
- package/esm2022/helpers/scss/public_api.mjs +1 -1
- package/esm2022/helpers/scss/scss-helper.mjs +1 -1
- package/esm2022/helpers/string-helper.mjs +1 -1
- package/esm2022/helpers/theme-color.type.mjs +1 -1
- package/esm2022/helpers/unique-id-generator.helper.mjs +1 -1
- package/esm2022/icon/icon-registry.service.mjs +4 -4
- package/esm2022/icon/icon-settings.mjs +1 -1
- package/esm2022/icon/icon.component.mjs +4 -4
- package/esm2022/icon/icon.module.mjs +5 -5
- package/esm2022/icon/kirby-icon-settings.mjs +1 -1
- package/esm2022/icon/kirbydesign-designsystem-icon.mjs +1 -1
- package/esm2022/icon/public_api.mjs +1 -1
- package/esm2022/item/item.component.mjs +5 -5
- package/esm2022/item/item.module.mjs +5 -5
- package/esm2022/item/kirbydesign-designsystem-item.mjs +1 -1
- package/esm2022/item/label/label.component.mjs +4 -4
- package/esm2022/item/public_api.mjs +1 -1
- package/esm2022/item-group/item-group.component.mjs +4 -4
- package/esm2022/item-group/kirbydesign-designsystem-item-group.mjs +1 -1
- package/esm2022/item-group/public_api.mjs +1 -1
- package/esm2022/item-sliding/item-sliding.component.mjs +4 -4
- package/esm2022/item-sliding/item-sliding.types.mjs +1 -1
- package/esm2022/item-sliding/kirbydesign-designsystem-item-sliding.mjs +1 -1
- package/esm2022/item-sliding/public_api.mjs +1 -1
- package/esm2022/kirby-app/kirby-app.component.mjs +4 -4
- package/esm2022/kirby-app/kirby-app.module.mjs +5 -5
- package/esm2022/kirby-app/kirbydesign-designsystem-kirby-app.mjs +1 -1
- package/esm2022/kirby-app/public_api.mjs +1 -1
- package/esm2022/kirby-ionic-module/kirby-ionic.module.mjs +5 -5
- package/esm2022/kirby-ionic-module/kirbydesign-designsystem-kirby-ionic-module.mjs +1 -1
- package/esm2022/kirby-ionic-module/public_api.mjs +1 -1
- package/esm2022/kirbydesign-designsystem.mjs +1 -1
- package/esm2022/lib/components/index.mjs +1 -1
- package/esm2022/lib/components/page-local-navigation/index.mjs +1 -1
- package/esm2022/lib/components/page-local-navigation/page-local-navigation-item.mjs +1 -1
- package/esm2022/lib/components/page-local-navigation/page-local-navigation.component.mjs +5 -5
- package/esm2022/lib/components/segmented-control/segment-item.mjs +1 -1
- package/esm2022/lib/components/segmented-control/segmented-control.component.mjs +36 -19
- package/esm2022/lib/directives/index.mjs +1 -1
- package/esm2022/lib/directives/key-handler/key-handler.directive.mjs +4 -4
- package/esm2022/lib/directives/modal-router-link/modal-router-link.directive.mjs +4 -4
- package/esm2022/lib/index.mjs +1 -1
- package/esm2022/lib/kirby-experimental.module.mjs +5 -5
- package/esm2022/lib/kirby.module.mjs +5 -5
- package/esm2022/list/directives/index.mjs +1 -1
- package/esm2022/list/directives/infinite-scroll.directive.mjs +4 -4
- package/esm2022/list/directives/list-item-color.directive.mjs +4 -4
- package/esm2022/list/directives/scroll.model.mjs +1 -1
- package/esm2022/list/helpers/index.mjs +1 -1
- package/esm2022/list/helpers/list-helper.mjs +4 -4
- package/esm2022/list/kirbydesign-designsystem-list.mjs +1 -1
- package/esm2022/list/list-experimental/index.mjs +1 -1
- package/esm2022/list/list-experimental/list-experimental.component.mjs +4 -4
- package/esm2022/list/list-header/index.mjs +1 -1
- package/esm2022/list/list-header/list-header.component.mjs +4 -4
- package/esm2022/list/list-item/index.mjs +1 -1
- package/esm2022/list/list-item/list-item.component.mjs +5 -5
- package/esm2022/list/list-section-header/index.mjs +1 -1
- package/esm2022/list/list-section-header/list-section-header.component.mjs +4 -4
- package/esm2022/list/list-swipe-action.mjs +1 -1
- package/esm2022/list/list-swipe-action.type.mjs +1 -1
- package/esm2022/list/list.component.mjs +5 -5
- package/esm2022/list/list.directive.mjs +13 -13
- package/esm2022/list/list.event.mjs +1 -1
- package/esm2022/list/list.module.mjs +18 -12
- package/esm2022/list/public_api.mjs +1 -1
- package/esm2022/loading-overlay/kirbydesign-designsystem-loading-overlay.mjs +1 -1
- package/esm2022/loading-overlay/loading-overlay.component.mjs +5 -5
- package/esm2022/loading-overlay/loading-overlay.service.mjs +4 -4
- package/esm2022/loading-overlay/public_api.mjs +1 -1
- package/esm2022/menu/kirbydesign-designsystem-menu.mjs +1 -1
- package/esm2022/menu/menu.component.mjs +4 -4
- package/esm2022/menu/public_api.mjs +1 -1
- package/esm2022/modal/kirbydesign-designsystem-modal.mjs +1 -1
- package/esm2022/modal/modal/action-sheet/action-sheet.component.mjs +4 -4
- package/esm2022/modal/modal/action-sheet/config/action-sheet-config.mjs +1 -1
- package/esm2022/modal/modal/action-sheet/config/action-sheet-item.mjs +1 -1
- package/esm2022/modal/modal/action-sheet/index.mjs +1 -1
- package/esm2022/modal/modal/alert/alert.component.mjs +4 -4
- package/esm2022/modal/modal/alert/config/alert-config.mjs +1 -1
- package/esm2022/modal/modal/alert/index.mjs +1 -1
- package/esm2022/modal/modal/footer/modal-footer.component.mjs +5 -5
- package/esm2022/modal/modal/index.mjs +1 -1
- package/esm2022/modal/modal/modal-component/modal.component.mjs +12 -19
- package/esm2022/modal/modal/services/action-sheet.helper.mjs +4 -4
- package/esm2022/modal/modal/services/alert.helper.mjs +4 -4
- package/esm2022/modal/modal/services/can-dismiss-modal-guard.mjs +31 -0
- package/esm2022/modal/modal/services/can-dismiss.helper.mjs +4 -4
- package/esm2022/modal/modal/services/index.mjs +2 -1
- package/esm2022/modal/modal/services/modal-animation-builder.service.mjs +4 -4
- package/esm2022/modal/modal/services/modal.controller.mjs +12 -8
- package/esm2022/modal/modal/services/modal.helper.mjs +24 -26
- package/esm2022/modal/modal-navigation.service.mjs +25 -14
- package/esm2022/modal/modal-wrapper/compact/index.mjs +1 -1
- package/esm2022/modal/modal-wrapper/compact/modal-compact-wrapper.component.mjs +4 -4
- package/esm2022/modal/modal-wrapper/config/drawer-supplementary-action.mjs +1 -1
- package/esm2022/modal/modal-wrapper/config/index.mjs +1 -1
- package/esm2022/modal/modal-wrapper/config/modal-config.helper.mjs +1 -1
- package/esm2022/modal/modal-wrapper/config/modal-config.mjs +1 -1
- package/esm2022/modal/modal-wrapper/index.mjs +1 -1
- package/esm2022/modal/modal-wrapper/modal-elements-mover.delegate.mjs +1 -1
- package/esm2022/modal/modal-wrapper/modal-wrapper.component.mjs +6 -6
- package/esm2022/modal/modal.interfaces.mjs +4 -4
- package/esm2022/modal/public_api.mjs +1 -1
- package/esm2022/modal/v2/footer/footer.component.mjs +4 -4
- package/esm2022/modal/v2/kirby-modal.module.mjs +5 -5
- package/esm2022/modal/v2/kirbydesign-designsystem-modal-v2.mjs +1 -1
- package/esm2022/modal/v2/modal/modal.component.mjs +5 -5
- package/esm2022/modal/v2/modal-routing/modal-routing.component.mjs +4 -4
- package/esm2022/modal/v2/public_api.mjs +1 -1
- package/esm2022/modal/v2/services/modal.controller.mjs +4 -4
- package/esm2022/modal/v2/wrapper/wrapper.component.mjs +5 -5
- package/esm2022/page/kirbydesign-designsystem-page.mjs +1 -1
- package/esm2022/page/page-footer/page-footer.component.mjs +4 -4
- package/esm2022/page/page.component.mjs +44 -35
- package/esm2022/page/page.module.mjs +5 -5
- package/esm2022/page/public_api.mjs +1 -1
- package/esm2022/popover/kirbydesign-designsystem-popover.mjs +1 -1
- package/esm2022/popover/popover.component.mjs +4 -4
- package/esm2022/popover/public_api.mjs +1 -1
- package/esm2022/progress-circle/kirbydesign-designsystem-progress-circle.mjs +1 -1
- package/esm2022/progress-circle/progress-circle-ring.component.mjs +25 -16
- package/esm2022/progress-circle/progress-circle.component.mjs +4 -4
- package/esm2022/progress-circle/public_api.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/radio/kirbydesign-designsystem-radio.mjs +1 -1
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio-group/radio-group.component.mjs +4 -4
- package/esm2022/radio/radio-module.mjs +5 -5
- package/esm2022/radio/radio.component.mjs +5 -5
- package/esm2022/range/kirbydesign-designsystem-range.mjs +1 -1
- package/esm2022/range/public_api.mjs +1 -1
- package/esm2022/range/range.component.mjs +4 -4
- package/esm2022/reorder-list/kirbydesign-designsystem-reorder-list.mjs +1 -1
- package/esm2022/reorder-list/public_api.mjs +1 -1
- package/esm2022/reorder-list/reorder-event.mjs +1 -1
- package/esm2022/reorder-list/reorder-list.component.mjs +4 -4
- package/esm2022/router-outlet/kirbydesign-designsystem-router-outlet.mjs +1 -1
- package/esm2022/router-outlet/public_api.mjs +1 -1
- package/esm2022/router-outlet/router-outlet.component.mjs +4 -4
- package/esm2022/router-outlet/router-outlet.module.mjs +5 -5
- package/esm2022/section-header/kirbydesign-designsystem-section-header.mjs +1 -1
- package/esm2022/section-header/public_api.mjs +1 -1
- package/esm2022/section-header/section-header.component.mjs +5 -5
- package/esm2022/shared/component-configuration.mjs +1 -1
- package/esm2022/shared/component-loader.directive.mjs +4 -4
- package/esm2022/shared/dynamic-component.mjs +1 -1
- package/esm2022/shared/fit-heading/fit-heading.directive.mjs +4 -4
- package/esm2022/shared/fit-heading/index.mjs +1 -1
- package/esm2022/shared/floating/floating.directive.mjs +4 -4
- package/esm2022/shared/floating/kirbydesign-designsystem-shared-floating.mjs +1 -1
- package/esm2022/shared/floating/public_api.mjs +1 -1
- package/esm2022/shared/kirbydesign-designsystem-shared.mjs +1 -1
- package/esm2022/shared/portal/kirbydesign-designsystem-shared-portal.mjs +1 -1
- package/esm2022/shared/portal/portal.directive.mjs +4 -4
- package/esm2022/shared/portal/public_api.mjs +1 -1
- package/esm2022/shared/public_api.mjs +1 -1
- package/esm2022/shared/resize-observer/resize-observer.factory.mjs +4 -4
- package/esm2022/shared/resize-observer/resize-observer.service.mjs +4 -4
- package/esm2022/shared/theme-color/theme-color.directive.mjs +4 -4
- package/esm2022/slide/kirbydesign-designsystem-slide.mjs +1 -1
- package/esm2022/slide/public_api.mjs +1 -1
- package/esm2022/slide/slide-stretch-height.directive.mjs +4 -4
- package/esm2022/slide/slide.directive.mjs +4 -4
- package/esm2022/slide/slide.module.mjs +5 -5
- package/esm2022/slide/slides.component.mjs +4 -4
- package/esm2022/slide-button/kirbydesign-designsystem-slide-button.mjs +1 -1
- package/esm2022/slide-button/public_api.mjs +1 -1
- package/esm2022/slide-button/slide-button.component.mjs +5 -5
- package/esm2022/spinner/kirbydesign-designsystem-spinner.mjs +1 -1
- package/esm2022/spinner/public_api.mjs +1 -1
- package/esm2022/spinner/spinner.component.mjs +4 -4
- package/esm2022/spinner/spinner.module.mjs +5 -5
- package/esm2022/tab-navigation/kirbydesign-designsystem-tab-navigation.mjs +1 -1
- package/esm2022/tab-navigation/public_api.mjs +1 -1
- package/esm2022/tab-navigation/tab-navigation/tab-navigation.component.mjs +5 -5
- package/esm2022/tab-navigation/tab-navigation-item/tab-navigation-item.component.mjs +8 -5
- package/esm2022/tab-navigation/tab-navigation.module.mjs +5 -5
- package/esm2022/tabs/kirbydesign-designsystem-tabs.mjs +1 -1
- package/esm2022/tabs/public_api.mjs +1 -1
- package/esm2022/tabs/tab-button/tab-button.component.mjs +5 -5
- package/esm2022/tabs/tab-button/tab-button.events.mjs +1 -1
- package/esm2022/tabs/tabs.component.mjs +4 -4
- package/esm2022/tabs/tabs.module.mjs +5 -5
- package/esm2022/tabs/tabs.service.mjs +4 -4
- package/esm2022/testing/element-css-custom-matchers.mjs +1 -1
- package/esm2022/testing/kirbydesign-designsystem-testing.mjs +1 -1
- package/esm2022/testing/public_api.mjs +1 -1
- package/esm2022/testing/test-helper.mjs +5 -5
- package/esm2022/testing-base/kirbydesign-designsystem-testing-base.mjs +1 -1
- package/esm2022/testing-base/lib/components/index.mjs +1 -1
- package/esm2022/testing-base/lib/components/mock.accordion-item.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.action-group.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.action-sheet.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.alert.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.avatar.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.badge.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.base-chart.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.button.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.calendar.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.card-footer.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.card-header.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.card.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.chart.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.checkbox.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.divider.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.dropdown.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.empty-state.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.fab-sheet.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.flag.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.footer.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.form-field-message.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.form-field.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.header.component.mjs +12 -10
- package/esm2022/testing-base/lib/components/mock.icon.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.input-counter.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.input.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.item-group.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.item-sliding.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.item.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.kirby-app.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.label.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.list-experimental.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.list-header.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.list-item.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.list-section-header.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.list.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.loading-overlay.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.menu.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.modal-compact-wrapper.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.modal-footer.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.modal-routing.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.modal-wrapper.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.modal.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.page-footer.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.page-local-navigation.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.page.component.mjs +44 -34
- package/esm2022/testing-base/lib/components/mock.popover.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.progress-circle-ring.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.progress-circle.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.radio-group.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.radio.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.range.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.reorder-list.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.router-outlet.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.section-header.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.segmented-control.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.slide-button.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.slides.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.spinner.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.stock-chart.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.tab-button.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.tab-navigation-item.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.tab-navigation.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.table-row.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.table.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.tabs.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.textarea.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.toggle-button.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.toggle.component.mjs +6 -4
- package/esm2022/testing-base/lib/components/mock.wrapper.component.mjs +6 -4
- package/esm2022/testing-base/lib/directives/index.mjs +1 -1
- package/esm2022/testing-base/lib/directives/mock.accordion.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.affix.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.card-as-button.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.component-loader.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.date-input.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.decimal-mask.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.fit-heading.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.floating.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.infinite-scroll.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.key-handler.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.list-item-color.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.list.directive.mjs +13 -13
- package/esm2022/testing-base/lib/directives/mock.modal-router-link.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.portal.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.slide.directive.mjs +4 -4
- package/esm2022/testing-base/lib/directives/mock.theme-color.directive.mjs +4 -4
- package/esm2022/testing-base/lib/index.mjs +1 -1
- package/esm2022/testing-base/lib/kirby-testing-base.module.mjs +5 -5
- package/esm2022/testing-base/lib/mock-components.mjs +1 -1
- package/esm2022/testing-base/lib/mock-directives.mjs +1 -1
- package/esm2022/testing-base/public_api.mjs +1 -1
- package/esm2022/testing-jasmine/kirbydesign-designsystem-testing-jasmine.mjs +1 -1
- package/esm2022/testing-jasmine/lib/kirby-testing.module.mjs +5 -6
- package/esm2022/testing-jasmine/lib/mock-providers.mjs +1 -1
- package/esm2022/testing-jasmine/public_api.mjs +1 -1
- package/esm2022/testing-jest/kirbydesign-designsystem-testing-jest.mjs +1 -1
- package/esm2022/testing-jest/lib/kirby-testing.module.mjs +5 -6
- package/esm2022/testing-jest/lib/mock-providers.mjs +1 -1
- package/esm2022/testing-jest/public_api.mjs +1 -1
- package/esm2022/toast/config/toast-config.mjs +1 -1
- package/esm2022/toast/kirbydesign-designsystem-toast.mjs +1 -1
- package/esm2022/toast/public_api.mjs +1 -1
- package/esm2022/toast/services/indexs.mjs +1 -1
- package/esm2022/toast/services/toast.controller.mjs +4 -4
- package/esm2022/toast/services/toast.helper.mjs +4 -4
- package/esm2022/toggle/kirbydesign-designsystem-toggle.mjs +1 -1
- package/esm2022/toggle/public_api.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/toggle-button/kirbydesign-designsystem-toggle-button.mjs +1 -1
- package/esm2022/toggle-button/public_api.mjs +1 -1
- package/esm2022/toggle-button/toggle-button.component.mjs +4 -4
- package/esm2022/toggle-button/toggle-button.module.mjs +5 -5
- package/esm2022/types/event-listener-dispose-fn.mjs +1 -1
- package/esm2022/types/kirbydesign-designsystem-types.mjs +1 -1
- package/esm2022/types/public_api.mjs +1 -1
- package/esm2022/types/window-ref.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-accordion.mjs +10 -10
- package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-action-group.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-avatar.mjs +11 -5
- package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-badge.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-button.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-calendar.mjs +22 -21
- package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-card.mjs +40 -27
- package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-chart.mjs +22 -22
- package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-data-table.mjs +13 -13
- package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-divider.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs +11 -11
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-flag.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-form-field.mjs +28 -28
- package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-header.mjs +27 -20
- package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-helpers.mjs +9 -9
- package/fesm2022/kirbydesign-designsystem-helpers.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-icon.mjs +10 -10
- package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-group.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item.mjs +11 -11
- package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-kirby-ionic-module.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-list.mjs +55 -49
- package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-menu.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-modal-v2.mjs +21 -21
- package/fesm2022/kirbydesign-designsystem-modal-v2.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-modal.mjs +125 -92
- package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-page.mjs +50 -41
- package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-popover.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +26 -17
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-radio.mjs +11 -11
- package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-range.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-section-header.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-shared-portal.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-shared.mjs +15 -15
- package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide.mjs +13 -13
- package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-spinner.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +15 -12
- package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-tabs.mjs +14 -14
- package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs +455 -307
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -5
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -5
- package/fesm2022/kirbydesign-designsystem-testing-jest.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-testing.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toast.mjs +6 -6
- package/fesm2022/kirbydesign-designsystem-toast.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +7 -7
- package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toggle.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-types.mjs +3 -3
- package/fesm2022/kirbydesign-designsystem-types.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem.mjs +53 -36
- package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
- package/header/header.component.d.ts +5 -2
- package/lib/components/segmented-control/segment-item.d.ts +0 -4
- package/lib/components/segmented-control/segmented-control.component.d.ts +22 -12
- package/list/list.module.d.ts +1 -1
- package/modal/modal/footer/modal-footer.component.d.ts +1 -1
- package/modal/modal/modal-component/modal.component.d.ts +5 -5
- package/modal/modal/services/can-dismiss-modal-guard.d.ts +2 -0
- package/modal/modal/services/index.d.ts +1 -0
- package/modal/modal/services/modal.controller.d.ts +2 -0
- package/modal/modal/services/modal.helper.d.ts +3 -4
- package/modal/modal-navigation.service.d.ts +1 -0
- package/modal/modal.interfaces.d.ts +1 -0
- package/package.json +28 -30
- package/page/page.component.d.ts +1 -1
- package/progress-circle/progress-circle-ring.component.d.ts +7 -3
- package/readme.md +11 -10
- package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts +2 -1
- package/testing-base/lib/components/mock.avatar.component.d.ts +1 -1
- package/testing-base/lib/components/mock.button.component.d.ts +1 -1
- package/testing-jest/lib/mock-providers.d.ts +28 -28
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IonContent } from '@ionic/angular/standalone';
|
|
3
3
|
import { OverlayEventDetail } from '@ionic/core/components';
|
|
4
4
|
import { KirbyAnimation } from '@kirbydesign/designsystem/helpers';
|
|
5
5
|
import { WindowRef } from '@kirbydesign/designsystem/types';
|
|
6
|
+
import { ModalNavigationService } from '../../modal-navigation.service';
|
|
6
7
|
import { DrawerSupplementaryAction, ModalConfig, ModalFlavor, ModalSize, ShowAlertCallback } from '../../modal-wrapper';
|
|
7
8
|
import { CanDismissHelper } from '../services';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ModalComponent implements OnChanges
|
|
10
|
+
export declare class ModalComponent implements OnChanges {
|
|
10
11
|
private canDismissHelper;
|
|
12
|
+
private modalNavigationService;
|
|
11
13
|
private windowRef;
|
|
12
14
|
modalElement: ElementRef<HTMLIonModalElement>;
|
|
13
15
|
ionContent: IonContent;
|
|
@@ -33,8 +35,7 @@ export declare class ModalComponent implements OnChanges, AfterContentInit {
|
|
|
33
35
|
*/
|
|
34
36
|
_config: ModalConfig;
|
|
35
37
|
_canDismiss: ShowAlertCallback | boolean;
|
|
36
|
-
constructor(canDismissHelper: CanDismissHelper, windowRef: WindowRef);
|
|
37
|
-
ngAfterContentInit(): void;
|
|
38
|
+
constructor(canDismissHelper: CanDismissHelper, modalNavigationService: ModalNavigationService, windowRef: WindowRef);
|
|
38
39
|
ngOnChanges(changes: SimpleChanges): void;
|
|
39
40
|
scrollToTop(scrollDuration?: KirbyAnimation.Duration): void;
|
|
40
41
|
scrollToBottom(scrollDuration?: KirbyAnimation.Duration): void;
|
|
@@ -42,7 +43,6 @@ export declare class ModalComponent implements OnChanges, AfterContentInit {
|
|
|
42
43
|
_onDidPresent(event: CustomEvent<OverlayEventDetail>): void;
|
|
43
44
|
_onWillDismiss(event: CustomEvent<OverlayEventDetail>): void;
|
|
44
45
|
_onDidDismiss(event: CustomEvent<OverlayEventDetail>): void;
|
|
45
|
-
private handleBrowserBackButton;
|
|
46
46
|
private updateModalConfigOnChange;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
48
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "kirby-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scrollDisabled": { "alias": "scrollDisabled"; "required": false; }; "canDismiss": { "alias": "canDismiss"; "required": false; }; "collapseTitle": { "alias": "collapseTitle"; "required": false; }; "customHeight": { "alias": "customHeight"; "required": false; }; "flavor": { "alias": "flavor"; "required": false; }; "drawerSupplementaryAction": { "alias": "drawerSupplementaryAction"; "required": false; }; "interactWithBackground": { "alias": "interactWithBackground"; "required": false; }; }, { "willPresent": "willPresent"; "didPresent": "didPresent"; "didDismiss": "didDismiss"; "willDismiss": "willDismiss"; }, ["template"], never, true, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Params, Routes } from '@angular/router';
|
|
3
|
+
import { Overlay } from '../../modal.interfaces';
|
|
3
4
|
import { ActionSheetConfig } from '../action-sheet/config/action-sheet-config';
|
|
4
5
|
import { AlertConfig } from '../alert/config/alert-config';
|
|
5
6
|
import { ModalNavigationService } from '../../modal-navigation.service';
|
|
@@ -30,6 +31,7 @@ export declare class ModalController implements OnDestroy {
|
|
|
30
31
|
private showAndRegisterOverlay;
|
|
31
32
|
hideTopmost(data?: any): Promise<boolean>;
|
|
32
33
|
hideAll(): Promise<void>;
|
|
34
|
+
getTopMost(): Overlay | null;
|
|
33
35
|
ngOnDestroy(): void;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalController, [null, null, null, null, { optional: true; }]>;
|
|
35
37
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalController>;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { ModalController } from '@ionic/angular/standalone';
|
|
2
2
|
import { WindowRef } from '@kirbydesign/designsystem/types';
|
|
3
3
|
import { Overlay } from '../../modal.interfaces';
|
|
4
|
+
import { ModalNavigationService } from '../../modal-navigation.service';
|
|
4
5
|
import { ModalConfig } from '../../modal-wrapper';
|
|
5
6
|
import { AlertConfig } from '../alert/config/alert-config';
|
|
6
7
|
import { ModalAnimationBuilderService } from './modal-animation-builder.service';
|
|
7
8
|
import { CanDismissHelper } from './can-dismiss.helper';
|
|
8
|
-
import { AlertHelper } from './alert.helper';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ModalHelper {
|
|
11
11
|
private ionicModalController;
|
|
12
12
|
private modalAnimationBuilder;
|
|
13
|
+
private modalNavigationService;
|
|
13
14
|
private windowRef;
|
|
14
15
|
private canDismissHelper;
|
|
15
|
-
|
|
16
|
-
constructor(ionicModalController: ModalController, modalAnimationBuilder: ModalAnimationBuilderService, windowRef: WindowRef, canDismissHelper: CanDismissHelper, alertHelper: AlertHelper);
|
|
16
|
+
constructor(ionicModalController: ModalController, modalAnimationBuilder: ModalAnimationBuilderService, modalNavigationService: ModalNavigationService, windowRef: WindowRef, canDismissHelper: CanDismissHelper);
|
|
17
17
|
private isModalOpening;
|
|
18
18
|
showModalWindow(config: ModalConfig, alertConfig?: AlertConfig): Promise<Overlay>;
|
|
19
|
-
private handleBrowserBackButton;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHelper, never>;
|
|
21
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalHelper>;
|
|
22
21
|
}
|
|
@@ -35,6 +35,7 @@ export declare class ModalNavigationService {
|
|
|
35
35
|
navigateWithinModal(relativePath: string, queryParams?: Params): Promise<boolean>;
|
|
36
36
|
navigateOutOfModalOutlet(): Promise<boolean>;
|
|
37
37
|
private getBackdropRoute;
|
|
38
|
+
handleBrowserBackButton(modal: HTMLIonModalElement): void;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalNavigationService, never>;
|
|
39
40
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalNavigationService>;
|
|
40
41
|
}
|
package/package.json
CHANGED
|
@@ -1,29 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirbydesign/designsystem",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
|
+
"description": "The Kirby Design Angular Components.",
|
|
5
|
+
"author": "kirby@bankdata.dk",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/kirbydesign/designsystem.git"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"Angular",
|
|
12
|
+
"Angular2",
|
|
13
|
+
"Library",
|
|
14
|
+
"Kirby"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/kirbydesign/designsystem/issues"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://cookbook.kirby.design",
|
|
4
21
|
"dependencies": {
|
|
5
22
|
"@floating-ui/dom": "^1.1.0",
|
|
6
23
|
"@fontsource/roboto": "4.2.1",
|
|
7
|
-
"@kirbydesign/core": "0.0.
|
|
8
|
-
"inputmask": "5.0.
|
|
24
|
+
"@kirbydesign/core": "0.0.62",
|
|
25
|
+
"inputmask": "5.0.8",
|
|
9
26
|
"tslib": "^2.3.0"
|
|
10
27
|
},
|
|
11
28
|
"peerDependencies": {
|
|
12
|
-
"@ionic/angular": "7.8.3",
|
|
13
29
|
"@angular/cdk": "^17.0.0",
|
|
14
30
|
"@angular/common": "^17.0.0",
|
|
15
31
|
"@angular/core": "^17.0.0",
|
|
16
32
|
"@angular/forms": "^17.0.0",
|
|
17
33
|
"@angular/router": "^17.0.0",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"chartjs-
|
|
21
|
-
"chartjs-plugin-
|
|
34
|
+
"@ionic/angular": "7.8.3",
|
|
35
|
+
"chart.js": "^3.9.1",
|
|
36
|
+
"chartjs-adapter-date-fns": "^2.0.0",
|
|
37
|
+
"chartjs-plugin-annotation": "^1.0.2",
|
|
38
|
+
"chartjs-plugin-datalabels": "^2.0.0",
|
|
22
39
|
"date-fns": "^2.30.0",
|
|
23
40
|
"date-fns-tz": "^1.3.8",
|
|
24
|
-
"rxjs": "
|
|
41
|
+
"rxjs": "^7.0.0",
|
|
25
42
|
"swiper": "^9.2.0",
|
|
26
|
-
"zone.js": "
|
|
43
|
+
"zone.js": "^0.14.3"
|
|
27
44
|
},
|
|
28
45
|
"exports": {
|
|
29
46
|
"./scss/global-styles": "./scss/_global-styles.scss",
|
|
@@ -364,24 +381,5 @@
|
|
|
364
381
|
},
|
|
365
382
|
"module": "fesm2022/kirbydesign-designsystem.mjs",
|
|
366
383
|
"typings": "index.d.ts",
|
|
367
|
-
"sideEffects": false
|
|
368
|
-
"description": "The Kirby Design Angular Components.",
|
|
369
|
-
"repository": {
|
|
370
|
-
"type": "git",
|
|
371
|
-
"url": "git+https://github.com/kirbydesign/designsystem.git"
|
|
372
|
-
},
|
|
373
|
-
"keywords": [
|
|
374
|
-
"Angular",
|
|
375
|
-
"Angular2",
|
|
376
|
-
"Library",
|
|
377
|
-
"Kirby"
|
|
378
|
-
],
|
|
379
|
-
"author": {
|
|
380
|
-
"name": "bdyjeo@bankdata.dk"
|
|
381
|
-
},
|
|
382
|
-
"license": "MIT",
|
|
383
|
-
"bugs": {
|
|
384
|
-
"url": "https://github.com/kirbydesign/designsystem/issues"
|
|
385
|
-
},
|
|
386
|
-
"homepage": "https://cookbook.kirby.design"
|
|
384
|
+
"sideEffects": false
|
|
387
385
|
}
|
package/page/page.component.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ type stickyConfig = {
|
|
|
13
13
|
type fixedConfig = {
|
|
14
14
|
fixed: boolean;
|
|
15
15
|
};
|
|
16
|
-
type MaxWidth = 'default' | 'standard' | 'optimized' | 'full';
|
|
16
|
+
type MaxWidth = 'default' | 'standard' | 'optimized' | 'lg' | 'xl' | 'full';
|
|
17
17
|
export declare const PAGE_BACK_BUTTON_OVERRIDE: InjectionToken<PageBackButtonOverride>;
|
|
18
18
|
export interface PageBackButtonOverride {
|
|
19
19
|
navigateBack: (routerOutlet: IonRouterOutlet, navCtrl: NavController, defaultBackHref: string) => void;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ProgressCircleRingComponent {
|
|
3
|
+
export declare class ProgressCircleRingComponent implements AfterViewInit {
|
|
3
4
|
radius: number;
|
|
4
5
|
value: number;
|
|
5
6
|
themeColor: 'success' | 'warning' | 'danger';
|
|
6
7
|
strokeWidth: number;
|
|
7
8
|
upperBound: number;
|
|
8
|
-
|
|
9
|
+
viewInitialized: any;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
9
11
|
get _diameter(): number;
|
|
10
12
|
get _centerRadius(): number;
|
|
11
13
|
get _centerCircumference(): number;
|
|
12
|
-
|
|
14
|
+
get _progress(): number;
|
|
15
|
+
get _remainder(): number;
|
|
16
|
+
get _progressStrokeWidth(): number;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressCircleRingComponent, never>;
|
|
14
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressCircleRingComponent, "kirby-progress-circle-ring", never, { "radius": { "alias": "radius"; "required": false; }; "value": { "alias": "value"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "upperBound": { "alias": "upperBound"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
19
|
}
|
package/readme.md
CHANGED
|
@@ -193,15 +193,16 @@ A basic walkthrough is outlined in the structure below:
|
|
|
193
193
|
Below is an overview of most widely used scripts, available for this project.
|
|
194
194
|
Use them in your terminal like: `npm run <script>` :
|
|
195
195
|
|
|
196
|
-
| Command
|
|
197
|
-
|
|
|
198
|
-
| start
|
|
199
|
-
|
|
|
200
|
-
|
|
|
201
|
-
|
|
|
202
|
-
|
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
| Command | Description |
|
|
197
|
+
| ------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
198
|
+
| start | Starts the development server, providing a means of running the cookbook while developing |
|
|
199
|
+
| start:ios | Builds the flows app and deploys it to an iOS device (real or simulated) using Capacitor |
|
|
200
|
+
| start:android | Builds the flows app and deploys it to an Android device (real or simulated) using Capacitor |
|
|
201
|
+
| publish | When run locally it produces a set of npm packages in `dist/` that can be installed locally with npm install <path to tarball> |
|
|
202
|
+
| storybook | Opens up Storybook where component states are set up for snapshot testing with Chromatic |
|
|
203
|
+
|
|
204
|
+
We use [nx][nx] to run common tasks like building, linting and testing projects.
|
|
205
|
+
This is done with `npx nx <target name> <project name>`, e.g. `npx nx lint designsystem` preferrably _from the root of the workspace_ to ensure config paths are resolved correctly.
|
|
205
206
|
|
|
206
207
|
## Contributing
|
|
207
208
|
|
|
@@ -211,7 +212,7 @@ If you wish to contribute new features, bug fixes or something third to the proj
|
|
|
211
212
|
[jasmine]: https://jasmine.github.io/
|
|
212
213
|
[jest]: https://jestjs.io/
|
|
213
214
|
[nrwl]: https://nrwl.io/
|
|
214
|
-
[nx]: https://nx.dev/
|
|
215
|
+
[nx]: https://nx.dev/getting-started/intro
|
|
215
216
|
[kirby.design]: https://kirby.design/
|
|
216
217
|
[kirby.cookbook]: https://cookbook.kirby.design
|
|
217
218
|
[kirby.cookbook.fonts]: https://cookbook.kirby.design/home/showcase/fonts
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TabNavigationItemComponent {
|
|
3
3
|
label: string;
|
|
4
|
+
truncate: boolean;
|
|
4
5
|
constructor();
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabNavigationItemComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabNavigationItemComponent, "kirby-tab-navigation-item", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabNavigationItemComponent, "kirby-tab-navigation-item", never, { "label": { "alias": "label"; "required": false; }; "truncate": { "alias": "truncate"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BrandColor, NotificationColor } from '@kirbydesign/core
|
|
1
|
+
import { BrandColor, NotificationColor } from '@kirbydesign/core';
|
|
2
2
|
import { AvatarSize } from '@kirbydesign/designsystem/avatar';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MockAvatarComponent {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NotificationColor } from '@kirbydesign/core
|
|
1
|
+
import { NotificationColor } from '@kirbydesign/core';
|
|
2
2
|
import { AttentionLevel, ButtonSize } from '@kirbydesign/designsystem/button';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MockButtonComponent {
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { ChartConfigService, ChartJSService, IconRegistryService, LoadingOverlayService, ModalController, TabsService } from '@kirbydesign/designsystem';
|
|
2
2
|
import { ToastController } from '@kirbydesign/designsystem/toast';
|
|
3
3
|
export declare function chartConfigServiceFactory(): {
|
|
4
|
-
getTypeConfig: jest.Mock<any, any
|
|
5
|
-
getAnnotationDefaults: jest.Mock<any, any
|
|
6
|
-
chartTypeToChartJSType: jest.Mock<any, any
|
|
7
|
-
applyInteractionFunctionsExtensions: jest.Mock<any, any
|
|
8
|
-
getStockChartOptions: jest.Mock<any, any
|
|
4
|
+
getTypeConfig: jest.Mock<any, any>;
|
|
5
|
+
getAnnotationDefaults: jest.Mock<any, any>;
|
|
6
|
+
chartTypeToChartJSType: jest.Mock<any, any>;
|
|
7
|
+
applyInteractionFunctionsExtensions: jest.Mock<any, any>;
|
|
8
|
+
getStockChartOptions: jest.Mock<any, any>;
|
|
9
9
|
};
|
|
10
10
|
export declare function chartJSServiceFactory(): {
|
|
11
|
-
renderChart: jest.Mock<any, any
|
|
12
|
-
redrawChart: jest.Mock<any, any
|
|
13
|
-
destroyChart: jest.Mock<any, any
|
|
14
|
-
updateData: jest.Mock<any, any
|
|
15
|
-
updateLabels: jest.Mock<any, any
|
|
16
|
-
updateType: jest.Mock<any, any
|
|
17
|
-
updateOptions: jest.Mock<any, any
|
|
18
|
-
updateAnnotations: jest.Mock<any, any
|
|
19
|
-
updateHighlightedElements: jest.Mock<any, any
|
|
11
|
+
renderChart: jest.Mock<any, any>;
|
|
12
|
+
redrawChart: jest.Mock<any, any>;
|
|
13
|
+
destroyChart: jest.Mock<any, any>;
|
|
14
|
+
updateData: jest.Mock<any, any>;
|
|
15
|
+
updateLabels: jest.Mock<any, any>;
|
|
16
|
+
updateType: jest.Mock<any, any>;
|
|
17
|
+
updateOptions: jest.Mock<any, any>;
|
|
18
|
+
updateAnnotations: jest.Mock<any, any>;
|
|
19
|
+
updateHighlightedElements: jest.Mock<any, any>;
|
|
20
20
|
};
|
|
21
21
|
export declare function iconRegistryServiceFactory(): {
|
|
22
|
-
addIcon: jest.Mock<any, any
|
|
23
|
-
addIcons: jest.Mock<any, any
|
|
22
|
+
addIcon: jest.Mock<any, any>;
|
|
23
|
+
addIcons: jest.Mock<any, any>;
|
|
24
24
|
};
|
|
25
25
|
export declare function loadingOverlayServiceFactory(): {
|
|
26
|
-
showLoadingOverlay: jest.Mock<any, any
|
|
27
|
-
hideLoadingOverlay: jest.Mock<any, any
|
|
26
|
+
showLoadingOverlay: jest.Mock<any, any>;
|
|
27
|
+
hideLoadingOverlay: jest.Mock<any, any>;
|
|
28
28
|
};
|
|
29
29
|
export declare function modalControllerFactory(): {
|
|
30
|
-
showModal: jest.Mock<any, any
|
|
31
|
-
navigateToModal: jest.Mock<any, any
|
|
32
|
-
navigateWithinModal: jest.Mock<any, any
|
|
33
|
-
showActionSheet: jest.Mock<any, any
|
|
34
|
-
showAlert: jest.Mock<any, any
|
|
35
|
-
hideTopmost: jest.Mock<any, any
|
|
36
|
-
hideAll: jest.Mock<any, any
|
|
30
|
+
showModal: jest.Mock<any, any>;
|
|
31
|
+
navigateToModal: jest.Mock<any, any>;
|
|
32
|
+
navigateWithinModal: jest.Mock<any, any>;
|
|
33
|
+
showActionSheet: jest.Mock<any, any>;
|
|
34
|
+
showAlert: jest.Mock<any, any>;
|
|
35
|
+
hideTopmost: jest.Mock<any, any>;
|
|
36
|
+
hideAll: jest.Mock<any, any>;
|
|
37
37
|
};
|
|
38
38
|
export declare function tabsServiceFactory(): {
|
|
39
|
-
setOutlet: jest.Mock<any, any
|
|
40
|
-
resetOutlet: jest.Mock<any, any
|
|
39
|
+
setOutlet: jest.Mock<any, any>;
|
|
40
|
+
resetOutlet: jest.Mock<any, any>;
|
|
41
41
|
outlet$: import("rxjs").Observable<never>;
|
|
42
42
|
};
|
|
43
43
|
export declare function toastControllerFactory(): {
|
|
44
|
-
showToast: jest.Mock<any, any
|
|
44
|
+
showToast: jest.Mock<any, any>;
|
|
45
45
|
};
|
|
46
46
|
export declare const MOCK_PROVIDERS: ({
|
|
47
47
|
provide: typeof ChartConfigService;
|