@kirbydesign/designsystem 11.0.0 → 11.1.1
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/accordion/index.d.ts +42 -6
- package/accordion/index.d.ts.map +1 -0
- package/action-group/index.d.ts +43 -6
- package/action-group/index.d.ts.map +1 -0
- package/avatar/index.d.ts +28 -6
- package/avatar/index.d.ts.map +1 -0
- package/badge/index.d.ts +20 -6
- package/badge/index.d.ts.map +1 -0
- package/button/index.d.ts +43 -6
- package/button/index.d.ts.map +1 -0
- package/calendar/index.d.ts +137 -6
- package/calendar/index.d.ts.map +1 -0
- package/card/index.d.ts +72 -6
- package/card/index.d.ts.map +1 -0
- package/chart/index.d.ts +198 -4
- package/chart/index.d.ts.map +1 -0
- package/checkbox/index.d.ts +69 -6
- package/checkbox/index.d.ts.map +1 -0
- package/config/index.d.ts +40 -4
- package/config/index.d.ts.map +1 -0
- package/data-table/index.d.ts +30 -4
- package/data-table/index.d.ts.map +1 -0
- package/divider/index.d.ts +10 -6
- package/divider/index.d.ts.map +1 -0
- package/dropdown/index.d.ts +166 -6
- package/dropdown/index.d.ts.map +1 -0
- package/empty-state/index.d.ts +37 -6
- package/empty-state/index.d.ts.map +1 -0
- package/fab-sheet/index.d.ts +29 -6
- package/fab-sheet/index.d.ts.map +1 -0
- package/fesm2022/kirbydesign-designsystem-accordion.mjs +42 -22
- package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-action-group.mjs +5 -7
- package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-avatar.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-badge.mjs +4 -6
- package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-button.mjs +4 -5
- package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-calendar.mjs +4 -6
- package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-card.mjs +20 -21
- package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-chart.mjs +478 -478
- package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs +6 -8
- package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-config.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-data-table.mjs +8 -8
- package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-divider.mjs +4 -5
- package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs +27 -22
- package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs +10 -9
- package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +5 -6
- package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-flag.mjs +5 -6
- package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-form-field.mjs +48 -41
- package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-header.mjs +20 -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 +11 -10
- package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-group.mjs +4 -5
- package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-item.mjs +12 -13
- 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-list.mjs +43 -46
- package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +8 -8
- package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-menu.mjs +8 -10
- package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-modal.mjs +643 -634
- package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-page.mjs +67 -54
- package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-popover.mjs +5 -6
- package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +8 -9
- package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-radio.mjs +16 -16
- package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-range.mjs +6 -8
- package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +9 -10
- package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-section-header.mjs +4 -5
- 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 +18 -18
- package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs +17 -70
- package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-slide.mjs +14 -14
- 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 +11 -11
- package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-tabs.mjs +14 -15
- package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs +286 -286
- package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -4
- package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -4
- 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 +9 -10
- package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
- package/fesm2022/kirbydesign-designsystem-toggle.mjs +6 -8
- 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 +17 -18
- package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
- package/flag/index.d.ts +14 -6
- package/flag/index.d.ts.map +1 -0
- package/form-field/index.d.ts +230 -6
- package/form-field/index.d.ts.map +1 -0
- package/header/index.d.ts +70 -6
- package/header/index.d.ts.map +1 -0
- package/helpers/index.d.ts +94 -4
- package/helpers/index.d.ts.map +1 -0
- package/helpers/scss/index.d.ts +9 -6
- package/helpers/scss/index.d.ts.map +1 -0
- package/icon/index.d.ts +66 -4
- package/icon/index.d.ts.map +1 -0
- package/icons/svg/top-up.svg +1 -0
- package/index.d.ts +222 -6
- package/index.d.ts.map +1 -0
- package/item/index.d.ts +53 -6
- package/item/index.d.ts.map +1 -0
- package/item-group/index.d.ts +10 -6
- package/item-group/index.d.ts.map +1 -0
- package/item-sliding/index.d.ts +28 -6
- package/item-sliding/index.d.ts.map +1 -0
- package/kirby-app/index.d.ts +21 -6
- package/kirby-app/index.d.ts.map +1 -0
- package/list/index.d.ts +282 -4
- package/list/index.d.ts.map +1 -0
- package/loading-overlay/index.d.ts +26 -6
- package/loading-overlay/index.d.ts.map +1 -0
- package/menu/index.d.ts +71 -6
- package/menu/index.d.ts.map +1 -0
- package/modal/index.d.ts +492 -4
- package/modal/index.d.ts.map +1 -0
- package/package.json +17 -17
- package/page/index.d.ts +233 -4
- package/page/index.d.ts.map +1 -0
- package/popover/index.d.ts +40 -6
- package/popover/index.d.ts.map +1 -0
- package/progress-circle/index.d.ts +64 -6
- package/progress-circle/index.d.ts.map +1 -0
- package/radio/index.d.ts +100 -6
- package/radio/index.d.ts.map +1 -0
- package/range/index.d.ts +45 -6
- package/range/index.d.ts.map +1 -0
- package/reorder-list/index.d.ts +34 -6
- package/reorder-list/index.d.ts.map +1 -0
- package/router-outlet/index.d.ts +20 -6
- package/router-outlet/index.d.ts.map +1 -0
- package/section-header/index.d.ts +9 -6
- package/section-header/index.d.ts.map +1 -0
- package/shared/floating/index.d.ts +138 -4
- package/shared/floating/index.d.ts.map +1 -0
- package/shared/index.d.ts +150 -4
- package/shared/index.d.ts.map +1 -0
- package/shared/portal/index.d.ts +36 -4
- package/shared/portal/index.d.ts.map +1 -0
- package/slide/index.d.ts +66 -6
- package/slide/index.d.ts.map +1 -0
- package/slide-button/index.d.ts +35 -6
- package/slide-button/index.d.ts.map +1 -0
- package/spinner/index.d.ts +16 -6
- package/spinner/index.d.ts.map +1 -0
- package/tab-navigation/index.d.ts +58 -6
- package/tab-navigation/index.d.ts.map +1 -0
- package/tabs/index.d.ts +49 -6
- package/tabs/index.d.ts.map +1 -0
- package/testing/index.d.ts +62 -6
- package/testing/index.d.ts.map +1 -0
- package/testing-base/index.d.ts +816 -6
- package/testing-base/index.d.ts.map +1 -0
- package/testing-jasmine/index.d.ts +11 -6
- package/testing-jasmine/index.d.ts.map +1 -0
- package/testing-jest/index.d.ts +11 -6
- package/testing-jest/index.d.ts.map +1 -0
- package/toast/index.d.ts +34 -6
- package/toast/index.d.ts.map +1 -0
- package/toggle/index.d.ts +64 -6
- package/toggle/index.d.ts.map +1 -0
- package/toggle-button/index.d.ts +58 -6
- package/toggle-button/index.d.ts.map +1 -0
- package/types/index.d.ts +21 -6
- package/types/index.d.ts.map +1 -0
- package/accordion/accordion-item.component.d.ts +0 -22
- package/accordion/accordion-item.component.d.ts.map +0 -1
- package/accordion/accordion.directive.d.ts +0 -6
- package/accordion/accordion.directive.d.ts.map +0 -1
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/accordion.module.d.ts.map +0 -1
- package/accordion/kirbydesign-designsystem-accordion.d.ts.map +0 -1
- package/accordion/public_api.d.ts +0 -4
- package/accordion/public_api.d.ts.map +0 -1
- package/action-group/action-group.component.d.ts +0 -40
- package/action-group/action-group.component.d.ts.map +0 -1
- package/action-group/kirbydesign-designsystem-action-group.d.ts.map +0 -1
- package/action-group/public_api.d.ts +0 -2
- package/action-group/public_api.d.ts.map +0 -1
- package/avatar/avatar.component.d.ts +0 -25
- package/avatar/avatar.component.d.ts.map +0 -1
- package/avatar/kirbydesign-designsystem-avatar.d.ts.map +0 -1
- package/avatar/public_api.d.ts +0 -2
- package/avatar/public_api.d.ts.map +0 -1
- package/badge/badge.component.d.ts +0 -16
- package/badge/badge.component.d.ts.map +0 -1
- package/badge/kirbydesign-designsystem-badge.d.ts.map +0 -1
- package/badge/public_api.d.ts +0 -2
- package/badge/public_api.d.ts.map +0 -1
- package/button/button.component.d.ts +0 -39
- package/button/button.component.d.ts.map +0 -1
- package/button/kirbydesign-designsystem-button.d.ts.map +0 -1
- package/button/public_api.d.ts +0 -2
- package/button/public_api.d.ts.map +0 -1
- package/calendar/calendar.component.d.ts +0 -113
- package/calendar/calendar.component.d.ts.map +0 -1
- package/calendar/interfaces/calendar-day.d.ts +0 -18
- package/calendar/interfaces/calendar-day.d.ts.map +0 -1
- package/calendar/interfaces/calendar-year-navigator-config.d.ts +0 -5
- package/calendar/interfaces/calendar-year-navigator-config.d.ts.map +0 -1
- package/calendar/kirbydesign-designsystem-calendar.d.ts.map +0 -1
- package/calendar/public_api.d.ts +0 -3
- package/calendar/public_api.d.ts.map +0 -1
- package/card/card-as-button/card-as-button.directive.d.ts +0 -16
- package/card/card-as-button/card-as-button.directive.d.ts.map +0 -1
- package/card/card-flag-level.d.ts +0 -3
- package/card/card-flag-level.d.ts.map +0 -1
- package/card/card-footer/card-footer.component.d.ts +0 -7
- package/card/card-footer/card-footer.component.d.ts.map +0 -1
- package/card/card-header/card-header.component.d.ts +0 -13
- package/card/card-header/card-header.component.d.ts.map +0 -1
- package/card/card.component.d.ts +0 -27
- package/card/card.component.d.ts.map +0 -1
- package/card/card.module.d.ts +0 -13
- package/card/card.module.d.ts.map +0 -1
- package/card/kirbydesign-designsystem-card.d.ts.map +0 -1
- package/card/public_api.d.ts +0 -7
- package/card/public_api.d.ts.map +0 -1
- package/chart/chart/chart.component.d.ts +0 -8
- package/chart/chart/chart.component.d.ts.map +0 -1
- package/chart/chart/index.d.ts +0 -2
- package/chart/chart/index.d.ts.map +0 -1
- package/chart/chart-config/chart-bar-config/chart-bar-config.d.ts +0 -10
- package/chart/chart-config/chart-bar-config/chart-bar-config.d.ts.map +0 -1
- package/chart/chart-config/chart-base-config.d.ts +0 -7
- package/chart/chart-config/chart-base-config.d.ts.map +0 -1
- package/chart/chart-config/chart-stock-config/chart-stock-config.d.ts +0 -21
- package/chart/chart-config/chart-stock-config/chart-stock-config.d.ts.map +0 -1
- package/chart/chart-config/chart-stock-config/data-label-position/data-label-position.d.ts +0 -5
- package/chart/chart-config/chart-stock-config/data-label-position/data-label-position.d.ts.map +0 -1
- package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.d.ts +0 -3
- package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.d.ts.map +0 -1
- package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.d.ts +0 -13
- package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.d.ts.map +0 -1
- package/chart/charts.module.d.ts +0 -9
- package/chart/charts.module.d.ts.map +0 -1
- package/chart/kirbydesign-designsystem-chart.d.ts.map +0 -1
- package/chart/public_api.d.ts +0 -7
- package/chart/public_api.d.ts.map +0 -1
- package/chart/shared/base-chart/base-chart.component.d.ts +0 -35
- package/chart/shared/base-chart/base-chart.component.d.ts.map +0 -1
- package/chart/shared/base-chart/index.d.ts +0 -2
- package/chart/shared/base-chart/index.d.ts.map +0 -1
- package/chart/shared/chart-config-service/chart-config.service.d.ts +0 -31
- package/chart/shared/chart-config-service/chart-config.service.d.ts.map +0 -1
- package/chart/shared/chart-config-service/configs/annotations.config.d.ts +0 -3
- package/chart/shared/chart-config-service/configs/annotations.config.d.ts.map +0 -1
- package/chart/shared/chart-config-service/configs/global-defaults.config.d.ts +0 -49
- package/chart/shared/chart-config-service/configs/global-defaults.config.d.ts.map +0 -1
- package/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.d.ts +0 -5
- package/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.d.ts.map +0 -1
- package/chart/shared/chart-config-service/configs/type.config.d.ts +0 -3
- package/chart/shared/chart-config-service/configs/type.config.d.ts.map +0 -1
- package/chart/shared/chart-config-service/index.d.ts +0 -2
- package/chart/shared/chart-config-service/index.d.ts.map +0 -1
- package/chart/shared/chart-js-service/annotations.delegate.d.ts +0 -17
- package/chart/shared/chart-js-service/annotations.delegate.d.ts.map +0 -1
- package/chart/shared/chart-js-service/chart-js.service.d.ts +0 -46
- package/chart/shared/chart-js-service/chart-js.service.d.ts.map +0 -1
- package/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.d.ts +0 -15
- package/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.d.ts.map +0 -1
- package/chart/shared/chart-js-service/configured-chart-js.d.ts +0 -4
- package/chart/shared/chart-js-service/configured-chart-js.d.ts.map +0 -1
- package/chart/shared/chart-js-service/index.d.ts +0 -3
- package/chart/shared/chart-js-service/index.d.ts.map +0 -1
- package/chart/shared/chart-js-service/test-utils.d.ts +0 -5
- package/chart/shared/chart-js-service/test-utils.d.ts.map +0 -1
- package/chart/shared/charts.types.d.ts +0 -27
- package/chart/shared/charts.types.d.ts.map +0 -1
- package/chart/shared/index.d.ts +0 -5
- package/chart/shared/index.d.ts.map +0 -1
- package/chart/stock-chart/index.d.ts +0 -2
- package/chart/stock-chart/index.d.ts.map +0 -1
- package/chart/stock-chart/stock-chart-js.service.d.ts +0 -38
- package/chart/stock-chart/stock-chart-js.service.d.ts.map +0 -1
- package/chart/stock-chart/stock-chart.component.d.ts +0 -10
- package/chart/stock-chart/stock-chart.component.d.ts.map +0 -1
- package/checkbox/checkbox.component.d.ts +0 -66
- package/checkbox/checkbox.component.d.ts.map +0 -1
- package/checkbox/kirbydesign-designsystem-checkbox.d.ts.map +0 -1
- package/checkbox/public_api.d.ts +0 -2
- package/checkbox/public_api.d.ts.map +0 -1
- package/config/kirbydesign-designsystem-config.d.ts.map +0 -1
- package/config/provide-kirby.d.ts +0 -38
- package/config/provide-kirby.d.ts.map +0 -1
- package/config/public_api.d.ts +0 -2
- package/config/public_api.d.ts.map +0 -1
- package/data-table/data-table.module.d.ts +0 -13
- package/data-table/data-table.module.d.ts.map +0 -1
- package/data-table/kirbydesign-designsystem-data-table.d.ts.map +0 -1
- package/data-table/public_api.d.ts +0 -3
- package/data-table/public_api.d.ts.map +0 -1
- package/data-table/sortable/sortable.component.d.ts +0 -18
- package/data-table/sortable/sortable.component.d.ts.map +0 -1
- package/divider/divider.component.d.ts +0 -7
- package/divider/divider.component.d.ts.map +0 -1
- package/divider/kirbydesign-designsystem-divider.d.ts.map +0 -1
- package/divider/public_api.d.ts +0 -2
- package/divider/public_api.d.ts.map +0 -1
- package/dropdown/dropdown.component.d.ts +0 -131
- package/dropdown/dropdown.component.d.ts.map +0 -1
- package/dropdown/dropdown.module.d.ts +0 -16
- package/dropdown/dropdown.module.d.ts.map +0 -1
- package/dropdown/dropdown.types.d.ts +0 -10
- package/dropdown/dropdown.types.d.ts.map +0 -1
- package/dropdown/keyboard-handler.service.d.ts +0 -7
- package/dropdown/keyboard-handler.service.d.ts.map +0 -1
- package/dropdown/kirbydesign-designsystem-dropdown.d.ts.map +0 -1
- package/dropdown/public_api.d.ts +0 -6
- package/dropdown/public_api.d.ts.map +0 -1
- package/empty-state/empty-state.component.d.ts +0 -24
- package/empty-state/empty-state.component.d.ts.map +0 -1
- package/empty-state/empty-state.module.d.ts +0 -11
- package/empty-state/empty-state.module.d.ts.map +0 -1
- package/empty-state/kirbydesign-designsystem-empty-state.d.ts.map +0 -1
- package/empty-state/public_api.d.ts +0 -3
- package/empty-state/public_api.d.ts.map +0 -1
- package/fab-sheet/fab-sheet.component.d.ts +0 -26
- package/fab-sheet/fab-sheet.component.d.ts.map +0 -1
- package/fab-sheet/kirbydesign-designsystem-fab-sheet.d.ts.map +0 -1
- package/fab-sheet/public_api.d.ts +0 -2
- package/fab-sheet/public_api.d.ts.map +0 -1
- package/flag/flag.component.d.ts +0 -10
- package/flag/flag.component.d.ts.map +0 -1
- package/flag/kirbydesign-designsystem-flag.d.ts.map +0 -1
- package/flag/public_api.d.ts +0 -2
- package/flag/public_api.d.ts.map +0 -1
- package/form-field/directives/affix/affix.directive.d.ts +0 -10
- package/form-field/directives/affix/affix.directive.d.ts.map +0 -1
- package/form-field/directives/date/date-input.directive.d.ts +0 -45
- package/form-field/directives/date/date-input.directive.d.ts.map +0 -1
- package/form-field/directives/decimal-mask/decimal-mask.directive.d.ts +0 -41
- package/form-field/directives/decimal-mask/decimal-mask.directive.d.ts.map +0 -1
- package/form-field/form-field-message/form-field-message.component.d.ts +0 -8
- package/form-field/form-field-message/form-field-message.component.d.ts.map +0 -1
- package/form-field/form-field.component.d.ts +0 -58
- package/form-field/form-field.component.d.ts.map +0 -1
- package/form-field/form-field.module.d.ts +0 -14
- package/form-field/form-field.module.d.ts.map +0 -1
- package/form-field/input/input.component.d.ts +0 -39
- package/form-field/input/input.component.d.ts.map +0 -1
- package/form-field/input-counter/input-counter.component.d.ts +0 -16
- package/form-field/input-counter/input-counter.component.d.ts.map +0 -1
- package/form-field/kirbydesign-designsystem-form-field.d.ts.map +0 -1
- package/form-field/public_api.d.ts +0 -10
- package/form-field/public_api.d.ts.map +0 -1
- package/form-field/textarea/textarea.component.d.ts +0 -28
- package/form-field/textarea/textarea.component.d.ts.map +0 -1
- package/header/header.component.d.ts +0 -59
- package/header/header.component.d.ts.map +0 -1
- package/header/header.module.d.ts +0 -10
- package/header/header.module.d.ts.map +0 -1
- package/header/kirbydesign-designsystem-header.d.ts.map +0 -1
- package/header/public_api.d.ts +0 -3
- package/header/public_api.d.ts.map +0 -1
- package/helpers/chart-config-has-type.d.ts +0 -3
- package/helpers/chart-config-has-type.d.ts.map +0 -1
- package/helpers/color-helper.d.ts +0 -2
- package/helpers/color-helper.d.ts.map +0 -1
- package/helpers/content-mutation-observer.d.ts +0 -9
- package/helpers/content-mutation-observer.d.ts.map +0 -1
- package/helpers/deep-copy.d.ts +0 -2
- package/helpers/deep-copy.d.ts.map +0 -1
- package/helpers/design-token-helper.d.ts +0 -2
- package/helpers/design-token-helper.d.ts.map +0 -1
- package/helpers/element-ancestor-utils.d.ts +0 -3
- package/helpers/element-ancestor-utils.d.ts.map +0 -1
- package/helpers/ionic-element-part-helper.d.ts +0 -10
- package/helpers/ionic-element-part-helper.d.ts.map +0 -1
- package/helpers/kirby-animation.d.ts +0 -20
- package/helpers/kirby-animation.d.ts.map +0 -1
- package/helpers/kirbydesign-designsystem-helpers.d.ts.map +0 -1
- package/helpers/line-clamp-helper.d.ts +0 -12
- package/helpers/line-clamp-helper.d.ts.map +0 -1
- package/helpers/merge-deep.d.ts +0 -17
- package/helpers/merge-deep.d.ts.map +0 -1
- package/helpers/platform.service.d.ts +0 -11
- package/helpers/platform.service.d.ts.map +0 -1
- package/helpers/public_api.d.ts +0 -15
- package/helpers/public_api.d.ts.map +0 -1
- package/helpers/scss/kirbydesign-designsystem-helpers-scss.d.ts.map +0 -1
- package/helpers/scss/public_api.d.ts +0 -2
- package/helpers/scss/public_api.d.ts.map +0 -1
- package/helpers/scss/scss-helper.d.ts +0 -7
- package/helpers/scss/scss-helper.d.ts.map +0 -1
- package/helpers/string-helper.d.ts +0 -2
- package/helpers/string-helper.d.ts.map +0 -1
- package/helpers/theme-color.type.d.ts +0 -2
- package/helpers/theme-color.type.d.ts.map +0 -1
- package/helpers/unique-id-generator.helper.d.ts +0 -9
- package/helpers/unique-id-generator.helper.d.ts.map +0 -1
- package/icon/icon-registry.service.d.ts +0 -21
- package/icon/icon-registry.service.d.ts.map +0 -1
- package/icon/icon-settings.d.ts +0 -8
- package/icon/icon-settings.d.ts.map +0 -1
- package/icon/icon.component.d.ts +0 -29
- package/icon/icon.component.d.ts.map +0 -1
- package/icon/icon.module.d.ts +0 -10
- package/icon/icon.module.d.ts.map +0 -1
- package/icon/kirby-icon-settings.d.ts +0 -4
- package/icon/kirby-icon-settings.d.ts.map +0 -1
- package/icon/kirbydesign-designsystem-icon.d.ts.map +0 -1
- package/icon/public_api.d.ts +0 -6
- package/icon/public_api.d.ts.map +0 -1
- package/item/item.component.d.ts +0 -34
- package/item/item.component.d.ts.map +0 -1
- package/item/item.module.d.ts +0 -12
- package/item/item.module.d.ts.map +0 -1
- package/item/kirbydesign-designsystem-item.d.ts.map +0 -1
- package/item/label/label.component.d.ts +0 -8
- package/item/label/label.component.d.ts.map +0 -1
- package/item/public_api.d.ts +0 -4
- package/item/public_api.d.ts.map +0 -1
- package/item-group/item-group.component.d.ts +0 -7
- package/item-group/item-group.component.d.ts.map +0 -1
- package/item-group/kirbydesign-designsystem-item-group.d.ts.map +0 -1
- package/item-group/public_api.d.ts +0 -2
- package/item-group/public_api.d.ts.map +0 -1
- package/item-sliding/item-sliding.component.d.ts +0 -14
- package/item-sliding/item-sliding.component.d.ts.map +0 -1
- package/item-sliding/item-sliding.types.d.ts +0 -11
- package/item-sliding/item-sliding.types.d.ts.map +0 -1
- package/item-sliding/kirbydesign-designsystem-item-sliding.d.ts.map +0 -1
- package/item-sliding/public_api.d.ts +0 -3
- package/item-sliding/public_api.d.ts.map +0 -1
- package/kirby-app/kirby-app.component.d.ts +0 -10
- package/kirby-app/kirby-app.component.d.ts.map +0 -1
- package/kirby-app/kirby-app.module.d.ts +0 -10
- package/kirby-app/kirby-app.module.d.ts.map +0 -1
- package/kirby-app/kirbydesign-designsystem-kirby-app.d.ts.map +0 -1
- package/kirby-app/public_api.d.ts +0 -3
- package/kirby-app/public_api.d.ts.map +0 -1
- package/kirbydesign-designsystem.d.ts.map +0 -1
- package/lib/components/index.d.ts +0 -3
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/segmented-control/segment-item.d.ts +0 -14
- package/lib/components/segmented-control/segment-item.d.ts.map +0 -1
- package/lib/components/segmented-control/segmented-control.component.d.ts +0 -86
- package/lib/components/segmented-control/segmented-control.component.d.ts.map +0 -1
- package/lib/directives/index.d.ts +0 -3
- package/lib/directives/index.d.ts.map +0 -1
- package/lib/directives/key-handler/key-handler.directive.d.ts +0 -10
- package/lib/directives/key-handler/key-handler.directive.d.ts.map +0 -1
- package/lib/directives/modal-router-link/modal-router-link.directive.d.ts +0 -16
- package/lib/directives/modal-router-link/modal-router-link.directive.d.ts.map +0 -1
- package/lib/index.d.ts +0 -49
- package/lib/index.d.ts.map +0 -1
- package/lib/kirby.module.d.ts +0 -57
- package/lib/kirby.module.d.ts.map +0 -1
- package/list/directives/index.d.ts +0 -4
- package/list/directives/index.d.ts.map +0 -1
- package/list/directives/infinite-scroll.directive.d.ts +0 -50
- package/list/directives/infinite-scroll.directive.d.ts.map +0 -1
- package/list/directives/list-item-color.directive.d.ts +0 -13
- package/list/directives/list-item-color.directive.d.ts.map +0 -1
- package/list/directives/scroll.model.d.ts +0 -6
- package/list/directives/scroll.model.d.ts.map +0 -1
- package/list/helpers/index.d.ts +0 -2
- package/list/helpers/index.d.ts.map +0 -1
- package/list/helpers/list-helper.d.ts +0 -22
- package/list/helpers/list-helper.d.ts.map +0 -1
- package/list/kirbydesign-designsystem-list.d.ts.map +0 -1
- package/list/list-experimental/index.d.ts +0 -2
- package/list/list-experimental/index.d.ts.map +0 -1
- package/list/list-experimental/list-experimental.component.d.ts +0 -9
- package/list/list-experimental/list-experimental.component.d.ts.map +0 -1
- package/list/list-header/index.d.ts +0 -2
- package/list/list-header/index.d.ts.map +0 -1
- package/list/list-header/list-header.component.d.ts +0 -7
- package/list/list-header/list-header.component.d.ts.map +0 -1
- package/list/list-item/index.d.ts +0 -2
- package/list/list-item/index.d.ts.map +0 -1
- package/list/list-item/list-item.component.d.ts +0 -37
- package/list/list-item/list-item.component.d.ts.map +0 -1
- package/list/list-section-header/index.d.ts +0 -2
- package/list/list-section-header/index.d.ts.map +0 -1
- package/list/list-section-header/list-section-header.component.d.ts +0 -7
- package/list/list-section-header/list-section-header.component.d.ts.map +0 -1
- package/list/list-swipe-action.d.ts +0 -2
- package/list/list-swipe-action.d.ts.map +0 -1
- package/list/list-swipe-action.type.d.ts +0 -12
- package/list/list-swipe-action.type.d.ts.map +0 -1
- package/list/list.component.d.ts +0 -108
- package/list/list.component.d.ts.map +0 -1
- package/list/list.directive.d.ts +0 -18
- package/list/list.directive.d.ts.map +0 -1
- package/list/list.event.d.ts +0 -8
- package/list/list.event.d.ts.map +0 -1
- package/list/list.module.d.ts +0 -19
- package/list/list.module.d.ts.map +0 -1
- package/list/public_api.d.ts +0 -12
- package/list/public_api.d.ts.map +0 -1
- package/loading-overlay/kirbydesign-designsystem-loading-overlay.d.ts.map +0 -1
- package/loading-overlay/loading-overlay.component.d.ts +0 -9
- package/loading-overlay/loading-overlay.component.d.ts.map +0 -1
- package/loading-overlay/loading-overlay.service.d.ts +0 -15
- package/loading-overlay/loading-overlay.service.d.ts.map +0 -1
- package/loading-overlay/public_api.d.ts +0 -3
- package/loading-overlay/public_api.d.ts.map +0 -1
- package/menu/kirbydesign-designsystem-menu.d.ts.map +0 -1
- package/menu/menu.component.d.ts +0 -68
- package/menu/menu.component.d.ts.map +0 -1
- package/menu/public_api.d.ts +0 -2
- package/menu/public_api.d.ts.map +0 -1
- package/modal/kirbydesign-designsystem-modal.d.ts.map +0 -1
- package/modal/modal/action-sheet/action-sheet.component.d.ts +0 -18
- package/modal/modal/action-sheet/action-sheet.component.d.ts.map +0 -1
- package/modal/modal/action-sheet/config/action-sheet-config.d.ts +0 -8
- package/modal/modal/action-sheet/config/action-sheet-config.d.ts.map +0 -1
- package/modal/modal/action-sheet/config/action-sheet-item.d.ts +0 -5
- package/modal/modal/action-sheet/config/action-sheet-item.d.ts.map +0 -1
- package/modal/modal/action-sheet/index.d.ts +0 -4
- package/modal/modal/action-sheet/index.d.ts.map +0 -1
- package/modal/modal/alert/alert.component.d.ts +0 -29
- package/modal/modal/alert/alert.component.d.ts.map +0 -1
- package/modal/modal/alert/config/alert-config.d.ts +0 -15
- package/modal/modal/alert/config/alert-config.d.ts.map +0 -1
- package/modal/modal/alert/index.d.ts +0 -3
- package/modal/modal/alert/index.d.ts.map +0 -1
- package/modal/modal/footer/modal-footer.component.d.ts +0 -13
- package/modal/modal/footer/modal-footer.component.d.ts.map +0 -1
- package/modal/modal/index.d.ts +0 -7
- package/modal/modal/index.d.ts.map +0 -1
- package/modal/modal/modal-component/modal.component.d.ts +0 -53
- package/modal/modal/modal-component/modal.component.d.ts.map +0 -1
- package/modal/modal/services/action-sheet.helper.d.ts +0 -12
- package/modal/modal/services/action-sheet.helper.d.ts.map +0 -1
- package/modal/modal/services/alert.helper.d.ts +0 -15
- package/modal/modal/services/alert.helper.d.ts.map +0 -1
- package/modal/modal/services/can-dismiss-modal-guard.d.ts +0 -3
- package/modal/modal/services/can-dismiss-modal-guard.d.ts.map +0 -1
- package/modal/modal/services/can-dismiss.helper.d.ts +0 -13
- package/modal/modal/services/can-dismiss.helper.d.ts.map +0 -1
- package/modal/modal/services/index.d.ts +0 -7
- package/modal/modal/services/index.d.ts.map +0 -1
- package/modal/modal/services/modal-animation-builder.service.d.ts +0 -28
- package/modal/modal/services/modal-animation-builder.service.d.ts.map +0 -1
- package/modal/modal/services/modal.controller.d.ts +0 -39
- package/modal/modal/services/modal.controller.d.ts.map +0 -1
- package/modal/modal/services/modal.helper.d.ts +0 -21
- package/modal/modal/services/modal.helper.d.ts.map +0 -1
- package/modal/modal-navigation.service.d.ts +0 -39
- package/modal/modal-navigation.service.d.ts.map +0 -1
- package/modal/modal-wrapper/compact/index.d.ts +0 -2
- package/modal/modal-wrapper/compact/index.d.ts.map +0 -1
- package/modal/modal-wrapper/compact/modal-compact-wrapper.component.d.ts +0 -36
- package/modal/modal-wrapper/compact/modal-compact-wrapper.component.d.ts.map +0 -1
- package/modal/modal-wrapper/config/drawer-supplementary-action.d.ts +0 -5
- package/modal/modal-wrapper/config/drawer-supplementary-action.d.ts.map +0 -1
- package/modal/modal-wrapper/config/index.d.ts +0 -4
- package/modal/modal-wrapper/config/index.d.ts.map +0 -1
- package/modal/modal-wrapper/config/modal-config.d.ts +0 -42
- package/modal/modal-wrapper/config/modal-config.d.ts.map +0 -1
- package/modal/modal-wrapper/config/modal-config.helper.d.ts +0 -3
- package/modal/modal-wrapper/config/modal-config.helper.d.ts.map +0 -1
- package/modal/modal-wrapper/index.d.ts +0 -4
- package/modal/modal-wrapper/index.d.ts.map +0 -1
- package/modal/modal-wrapper/modal-elements-mover.delegate.d.ts +0 -15
- package/modal/modal-wrapper/modal-elements-mover.delegate.d.ts.map +0 -1
- package/modal/modal-wrapper/modal-wrapper.component.d.ts +0 -112
- package/modal/modal-wrapper/modal-wrapper.component.d.ts.map +0 -1
- package/modal/modal.interfaces.d.ts +0 -58
- package/modal/modal.interfaces.d.ts.map +0 -1
- package/modal/public_api.d.ts +0 -5
- package/modal/public_api.d.ts.map +0 -1
- package/page/kirbydesign-designsystem-page.d.ts.map +0 -1
- package/page/page-footer/page-footer.component.d.ts +0 -15
- package/page/page-footer/page-footer.component.d.ts.map +0 -1
- package/page/page.component.d.ts +0 -207
- package/page/page.component.d.ts.map +0 -1
- package/page/page.module.d.ts +0 -14
- package/page/page.module.d.ts.map +0 -1
- package/page/public_api.d.ts +0 -4
- package/page/public_api.d.ts.map +0 -1
- package/popover/kirbydesign-designsystem-popover.d.ts.map +0 -1
- package/popover/popover.component.d.ts +0 -37
- package/popover/popover.component.d.ts.map +0 -1
- package/popover/public_api.d.ts +0 -2
- package/popover/public_api.d.ts.map +0 -1
- package/progress-circle/kirbydesign-designsystem-progress-circle.d.ts.map +0 -1
- package/progress-circle/progress-circle-ring.component.d.ts +0 -20
- package/progress-circle/progress-circle-ring.component.d.ts.map +0 -1
- package/progress-circle/progress-circle.component.d.ts +0 -43
- package/progress-circle/progress-circle.component.d.ts.map +0 -1
- package/progress-circle/public_api.d.ts +0 -3
- package/progress-circle/public_api.d.ts.map +0 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +0 -1
- package/radio/kirbydesign-designsystem-radio.d.ts.map +0 -1
- package/radio/public_api.d.ts +0 -4
- package/radio/public_api.d.ts.map +0 -1
- package/radio/radio-group/radio-group.component.d.ts +0 -65
- package/radio/radio-group/radio-group.component.d.ts.map +0 -1
- package/radio/radio-module.d.ts +0 -11
- package/radio/radio-module.d.ts.map +0 -1
- package/radio/radio.component.d.ts +0 -26
- package/radio/radio.component.d.ts.map +0 -1
- package/range/kirbydesign-designsystem-range.d.ts.map +0 -1
- package/range/public_api.d.ts +0 -2
- package/range/public_api.d.ts.map +0 -1
- package/range/range.component.d.ts +0 -42
- package/range/range.component.d.ts.map +0 -1
- package/reorder-list/kirbydesign-designsystem-reorder-list.d.ts.map +0 -1
- package/reorder-list/public_api.d.ts +0 -3
- package/reorder-list/public_api.d.ts.map +0 -1
- package/reorder-list/reorder-event.d.ts +0 -8
- package/reorder-list/reorder-event.d.ts.map +0 -1
- package/reorder-list/reorder-list.component.d.ts +0 -24
- package/reorder-list/reorder-list.component.d.ts.map +0 -1
- package/router-outlet/kirbydesign-designsystem-router-outlet.d.ts.map +0 -1
- package/router-outlet/public_api.d.ts +0 -4
- package/router-outlet/public_api.d.ts.map +0 -1
- package/router-outlet/router-outlet.component.d.ts +0 -8
- package/router-outlet/router-outlet.component.d.ts.map +0 -1
- package/router-outlet/router-outlet.module.d.ts +0 -10
- package/router-outlet/router-outlet.module.d.ts.map +0 -1
- package/section-header/kirbydesign-designsystem-section-header.d.ts.map +0 -1
- package/section-header/public_api.d.ts +0 -2
- package/section-header/public_api.d.ts.map +0 -1
- package/section-header/section-header.component.d.ts +0 -6
- package/section-header/section-header.component.d.ts.map +0 -1
- package/shared/component-configuration.d.ts +0 -6
- package/shared/component-configuration.d.ts.map +0 -1
- package/shared/component-loader.directive.d.ts +0 -16
- package/shared/component-loader.directive.d.ts.map +0 -1
- package/shared/controls/label-helpers.d.ts +0 -17
- package/shared/controls/label-helpers.d.ts.map +0 -1
- package/shared/dynamic-component.d.ts +0 -4
- package/shared/dynamic-component.d.ts.map +0 -1
- package/shared/fit-heading/fit-heading.directive.d.ts +0 -29
- package/shared/fit-heading/fit-heading.directive.d.ts.map +0 -1
- package/shared/fit-heading/index.d.ts +0 -2
- package/shared/fit-heading/index.d.ts.map +0 -1
- package/shared/floating/floating.directive.d.ts +0 -136
- package/shared/floating/floating.directive.d.ts.map +0 -1
- package/shared/floating/kirbydesign-designsystem-shared-floating.d.ts.map +0 -1
- package/shared/floating/public_api.d.ts +0 -2
- package/shared/floating/public_api.d.ts.map +0 -1
- package/shared/kirbydesign-designsystem-shared.d.ts.map +0 -1
- package/shared/portal/kirbydesign-designsystem-shared-portal.d.ts.map +0 -1
- package/shared/portal/portal.directive.d.ts +0 -35
- package/shared/portal/portal.directive.d.ts.map +0 -1
- package/shared/portal/public_api.d.ts +0 -2
- package/shared/portal/public_api.d.ts.map +0 -1
- package/shared/public_api.d.ts +0 -10
- package/shared/public_api.d.ts.map +0 -1
- package/shared/resize-observer/resize-observer.factory.d.ts +0 -11
- package/shared/resize-observer/resize-observer.factory.d.ts.map +0 -1
- package/shared/resize-observer/resize-observer.service.d.ts +0 -16
- package/shared/resize-observer/resize-observer.service.d.ts.map +0 -1
- package/shared/theme-color/theme-color.directive.d.ts +0 -36
- package/shared/theme-color/theme-color.directive.d.ts.map +0 -1
- package/shared/translation/translation.interface.d.ts +0 -13
- package/shared/translation/translation.interface.d.ts.map +0 -1
- package/shared/translation/translation.service.d.ts +0 -13
- package/shared/translation/translation.service.d.ts.map +0 -1
- package/shared/translation/translations/da.d.ts +0 -3
- package/shared/translation/translations/da.d.ts.map +0 -1
- package/shared/translation/translations/de.d.ts +0 -3
- package/shared/translation/translations/de.d.ts.map +0 -1
- package/shared/translation/translations/en.d.ts +0 -3
- package/shared/translation/translations/en.d.ts.map +0 -1
- package/slide/kirbydesign-designsystem-slide.d.ts.map +0 -1
- package/slide/public_api.d.ts +0 -5
- package/slide/public_api.d.ts.map +0 -1
- package/slide/slide-stretch-height.directive.d.ts +0 -10
- package/slide/slide-stretch-height.directive.d.ts.map +0 -1
- package/slide/slide.directive.d.ts +0 -6
- package/slide/slide.directive.d.ts.map +0 -1
- package/slide/slide.module.d.ts +0 -13
- package/slide/slide.module.d.ts.map +0 -1
- package/slide/slides.component.d.ts +0 -42
- package/slide/slides.component.d.ts.map +0 -1
- package/slide-button/kirbydesign-designsystem-slide-button.d.ts.map +0 -1
- package/slide-button/public_api.d.ts +0 -2
- package/slide-button/public_api.d.ts.map +0 -1
- package/slide-button/slide-button.component.d.ts +0 -32
- package/slide-button/slide-button.component.d.ts.map +0 -1
- package/spinner/kirbydesign-designsystem-spinner.d.ts.map +0 -1
- package/spinner/public_api.d.ts +0 -3
- package/spinner/public_api.d.ts.map +0 -1
- package/spinner/spinner.component.d.ts +0 -6
- package/spinner/spinner.component.d.ts.map +0 -1
- package/spinner/spinner.module.d.ts +0 -9
- package/spinner/spinner.module.d.ts.map +0 -1
- package/tab-navigation/kirbydesign-designsystem-tab-navigation.d.ts.map +0 -1
- package/tab-navigation/public_api.d.ts +0 -4
- package/tab-navigation/public_api.d.ts.map +0 -1
- package/tab-navigation/tab-navigation/tab-navigation.component.d.ts +0 -36
- package/tab-navigation/tab-navigation/tab-navigation.component.d.ts.map +0 -1
- package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts +0 -14
- package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts.map +0 -1
- package/tab-navigation/tab-navigation.module.d.ts +0 -10
- package/tab-navigation/tab-navigation.module.d.ts.map +0 -1
- package/tabs/kirbydesign-designsystem-tabs.d.ts.map +0 -1
- package/tabs/public_api.d.ts +0 -6
- package/tabs/public_api.d.ts.map +0 -1
- package/tabs/tab-button/tab-button.component.d.ts +0 -12
- package/tabs/tab-button/tab-button.component.d.ts.map +0 -1
- package/tabs/tab-button/tab-button.events.d.ts +0 -2
- package/tabs/tab-button/tab-button.events.d.ts.map +0 -1
- package/tabs/tabs.component.d.ts +0 -15
- package/tabs/tabs.component.d.ts.map +0 -1
- package/tabs/tabs.module.d.ts +0 -12
- package/tabs/tabs.module.d.ts.map +0 -1
- package/tabs/tabs.service.d.ts +0 -12
- package/tabs/tabs.service.d.ts.map +0 -1
- package/testing/element-css-custom-matchers.d.ts +0 -4
- package/testing/element-css-custom-matchers.d.ts.map +0 -1
- package/testing/kirbydesign-designsystem-testing.d.ts.map +0 -1
- package/testing/public_api.d.ts +0 -3
- package/testing/public_api.d.ts.map +0 -1
- package/testing/test-helper.d.ts +0 -55
- package/testing/test-helper.d.ts.map +0 -1
- package/testing-base/kirbydesign-designsystem-testing-base.d.ts.map +0 -1
- package/testing-base/lib/components/index.d.ts +0 -64
- package/testing-base/lib/components/index.d.ts.map +0 -1
- package/testing-base/lib/components/mock.accordion-item.component.d.ts +0 -10
- package/testing-base/lib/components/mock.accordion-item.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.action-group.component.d.ts +0 -9
- package/testing-base/lib/components/mock.action-group.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.action-sheet.component.d.ts +0 -16
- package/testing-base/lib/components/mock.action-sheet.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.alert.component.d.ts +0 -15
- package/testing-base/lib/components/mock.alert.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.avatar.component.d.ts +0 -16
- package/testing-base/lib/components/mock.avatar.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.badge.component.d.ts +0 -8
- package/testing-base/lib/components/mock.badge.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.base-chart.component.d.ts +0 -16
- package/testing-base/lib/components/mock.base-chart.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.button.component.d.ts +0 -15
- package/testing-base/lib/components/mock.button.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.calendar.component.d.ts +0 -33
- package/testing-base/lib/components/mock.calendar.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.card-footer.component.d.ts +0 -7
- package/testing-base/lib/components/mock.card-footer.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.card-header.component.d.ts +0 -12
- package/testing-base/lib/components/mock.card-header.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.card.component.d.ts +0 -14
- package/testing-base/lib/components/mock.card.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.chart.component.d.ts +0 -9
- package/testing-base/lib/components/mock.chart.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.checkbox.component.d.ts +0 -14
- package/testing-base/lib/components/mock.checkbox.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.divider.component.d.ts +0 -7
- package/testing-base/lib/components/mock.divider.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.dropdown.component.d.ts +0 -22
- package/testing-base/lib/components/mock.dropdown.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.empty-state.component.d.ts +0 -9
- package/testing-base/lib/components/mock.empty-state.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.fab-sheet.component.d.ts +0 -8
- package/testing-base/lib/components/mock.fab-sheet.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.flag.component.d.ts +0 -8
- package/testing-base/lib/components/mock.flag.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.form-field-message.component.d.ts +0 -8
- package/testing-base/lib/components/mock.form-field-message.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.form-field.component.d.ts +0 -9
- package/testing-base/lib/components/mock.form-field.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.header.component.d.ts +0 -22
- package/testing-base/lib/components/mock.header.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.icon.component.d.ts +0 -9
- package/testing-base/lib/components/mock.icon.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.input-counter.component.d.ts +0 -8
- package/testing-base/lib/components/mock.input-counter.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.input.component.d.ts +0 -16
- package/testing-base/lib/components/mock.input.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.item-group.component.d.ts +0 -6
- package/testing-base/lib/components/mock.item-group.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.item-sliding.component.d.ts +0 -9
- package/testing-base/lib/components/mock.item-sliding.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.item.component.d.ts +0 -13
- package/testing-base/lib/components/mock.item.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.kirby-app.component.d.ts +0 -6
- package/testing-base/lib/components/mock.kirby-app.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.label.component.d.ts +0 -7
- package/testing-base/lib/components/mock.label.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.list-experimental.component.d.ts +0 -6
- package/testing-base/lib/components/mock.list-experimental.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.list-header.component.d.ts +0 -6
- package/testing-base/lib/components/mock.list-header.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.list-item.component.d.ts +0 -17
- package/testing-base/lib/components/mock.list-item.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.list-section-header.component.d.ts +0 -7
- package/testing-base/lib/components/mock.list-section-header.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.list.component.d.ts +0 -24
- package/testing-base/lib/components/mock.list.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.loading-overlay.component.d.ts +0 -9
- package/testing-base/lib/components/mock.loading-overlay.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.menu.component.d.ts +0 -21
- package/testing-base/lib/components/mock.menu.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.modal-compact-wrapper.component.d.ts +0 -8
- package/testing-base/lib/components/mock.modal-compact-wrapper.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.modal-footer.component.d.ts +0 -8
- package/testing-base/lib/components/mock.modal-footer.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.modal-wrapper.component.d.ts +0 -10
- package/testing-base/lib/components/mock.modal-wrapper.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.page-footer.component.d.ts +0 -7
- package/testing-base/lib/components/mock.page-footer.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.page.component.d.ts +0 -70
- package/testing-base/lib/components/mock.page.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.popover.component.d.ts +0 -11
- package/testing-base/lib/components/mock.popover.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.progress-circle-ring.component.d.ts +0 -11
- package/testing-base/lib/components/mock.progress-circle-ring.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.progress-circle.component.d.ts +0 -9
- package/testing-base/lib/components/mock.progress-circle.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.radio-group.component.d.ts +0 -15
- package/testing-base/lib/components/mock.radio-group.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.radio.component.d.ts +0 -10
- package/testing-base/lib/components/mock.radio.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.range.component.d.ts +0 -22
- package/testing-base/lib/components/mock.range.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.reorder-list.component.d.ts +0 -13
- package/testing-base/lib/components/mock.reorder-list.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.router-outlet.component.d.ts +0 -7
- package/testing-base/lib/components/mock.router-outlet.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.section-header.component.d.ts +0 -6
- package/testing-base/lib/components/mock.section-header.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.segmented-control.component.d.ts +0 -16
- package/testing-base/lib/components/mock.segmented-control.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.slide-button.component.d.ts +0 -11
- package/testing-base/lib/components/mock.slide-button.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.slides.component.d.ts +0 -11
- package/testing-base/lib/components/mock.slides.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.spinner.component.d.ts +0 -6
- package/testing-base/lib/components/mock.spinner.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.stock-chart.component.d.ts +0 -9
- package/testing-base/lib/components/mock.stock-chart.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.tab-button.component.d.ts +0 -9
- package/testing-base/lib/components/mock.tab-button.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.tab-navigation-item.component.d.ts +0 -7
- package/testing-base/lib/components/mock.tab-navigation-item.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.tab-navigation.component.d.ts +0 -8
- package/testing-base/lib/components/mock.tab-navigation.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.tabs.component.d.ts +0 -6
- package/testing-base/lib/components/mock.tabs.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.textarea.component.d.ts +0 -12
- package/testing-base/lib/components/mock.textarea.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.toggle-button.component.d.ts +0 -9
- package/testing-base/lib/components/mock.toggle-button.component.d.ts.map +0 -1
- package/testing-base/lib/components/mock.toggle.component.d.ts +0 -10
- package/testing-base/lib/components/mock.toggle.component.d.ts.map +0 -1
- package/testing-base/lib/directives/index.d.ts +0 -17
- package/testing-base/lib/directives/index.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.accordion.directive.d.ts +0 -6
- package/testing-base/lib/directives/mock.accordion.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.affix.directive.d.ts +0 -7
- package/testing-base/lib/directives/mock.affix.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.card-as-button.directive.d.ts +0 -6
- package/testing-base/lib/directives/mock.card-as-button.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.component-loader.directive.d.ts +0 -9
- package/testing-base/lib/directives/mock.component-loader.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.date-input.directive.d.ts +0 -6
- package/testing-base/lib/directives/mock.date-input.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.decimal-mask.directive.d.ts +0 -13
- package/testing-base/lib/directives/mock.decimal-mask.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.fit-heading.directive.d.ts +0 -8
- package/testing-base/lib/directives/mock.fit-heading.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.floating.directive.d.ts +0 -27
- package/testing-base/lib/directives/mock.floating.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.infinite-scroll.directive.d.ts +0 -9
- package/testing-base/lib/directives/mock.infinite-scroll.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.key-handler.directive.d.ts +0 -6
- package/testing-base/lib/directives/mock.key-handler.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.list-item-color.directive.d.ts +0 -9
- package/testing-base/lib/directives/mock.list-item-color.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.list.directive.d.ts +0 -18
- package/testing-base/lib/directives/mock.list.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.modal-router-link.directive.d.ts +0 -9
- package/testing-base/lib/directives/mock.modal-router-link.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.portal.directive.d.ts +0 -7
- package/testing-base/lib/directives/mock.portal.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.slide.directive.d.ts +0 -6
- package/testing-base/lib/directives/mock.slide.directive.d.ts.map +0 -1
- package/testing-base/lib/directives/mock.theme-color.directive.d.ts +0 -8
- package/testing-base/lib/directives/mock.theme-color.directive.d.ts.map +0 -1
- package/testing-base/lib/index.d.ts +0 -4
- package/testing-base/lib/index.d.ts.map +0 -1
- package/testing-base/lib/kirby-testing-base.module.d.ts +0 -86
- package/testing-base/lib/kirby-testing-base.module.d.ts.map +0 -1
- package/testing-base/lib/mock-components.d.ts +0 -3
- package/testing-base/lib/mock-components.d.ts.map +0 -1
- package/testing-base/lib/mock-directives.d.ts +0 -3
- package/testing-base/lib/mock-directives.d.ts.map +0 -1
- package/testing-base/public_api.d.ts +0 -2
- package/testing-base/public_api.d.ts.map +0 -1
- package/testing-jasmine/kirbydesign-designsystem-testing-jasmine.d.ts.map +0 -1
- package/testing-jasmine/lib/kirby-testing.module.d.ts +0 -8
- package/testing-jasmine/lib/kirby-testing.module.d.ts.map +0 -1
- package/testing-jasmine/lib/mock-providers.d.ts +0 -33
- package/testing-jasmine/lib/mock-providers.d.ts.map +0 -1
- package/testing-jasmine/public_api.d.ts +0 -2
- package/testing-jasmine/public_api.d.ts.map +0 -1
- package/testing-jest/kirbydesign-designsystem-testing-jest.d.ts.map +0 -1
- package/testing-jest/lib/kirby-testing.module.d.ts +0 -8
- package/testing-jest/lib/kirby-testing.module.d.ts.map +0 -1
- package/testing-jest/lib/mock-providers.d.ts +0 -68
- package/testing-jest/lib/mock-providers.d.ts.map +0 -1
- package/testing-jest/public_api.d.ts +0 -2
- package/testing-jest/public_api.d.ts.map +0 -1
- package/toast/config/toast-config.d.ts +0 -8
- package/toast/config/toast-config.d.ts.map +0 -1
- package/toast/kirbydesign-designsystem-toast.d.ts.map +0 -1
- package/toast/public_api.d.ts +0 -4
- package/toast/public_api.d.ts.map +0 -1
- package/toast/services/indexs.d.ts +0 -3
- package/toast/services/indexs.d.ts.map +0 -1
- package/toast/services/toast.controller.d.ts +0 -11
- package/toast/services/toast.controller.d.ts.map +0 -1
- package/toast/services/toast.helper.d.ts +0 -15
- package/toast/services/toast.helper.d.ts.map +0 -1
- package/toggle/kirbydesign-designsystem-toggle.d.ts.map +0 -1
- package/toggle/public_api.d.ts +0 -2
- package/toggle/public_api.d.ts.map +0 -1
- package/toggle/toggle.component.d.ts +0 -61
- package/toggle/toggle.component.d.ts.map +0 -1
- package/toggle-button/kirbydesign-designsystem-toggle-button.d.ts.map +0 -1
- package/toggle-button/public_api.d.ts +0 -3
- package/toggle-button/public_api.d.ts.map +0 -1
- package/toggle-button/toggle-button.component.d.ts +0 -48
- package/toggle-button/toggle-button.component.d.ts.map +0 -1
- package/toggle-button/toggle-button.module.d.ts +0 -9
- package/toggle-button/toggle-button.module.d.ts.map +0 -1
- package/types/event-listener-dispose-fn.d.ts +0 -2
- package/types/event-listener-dispose-fn.d.ts.map +0 -1
- package/types/form-field-control.d.ts +0 -6
- package/types/form-field-control.d.ts.map +0 -1
- package/types/kirbydesign-designsystem-types.d.ts.map +0 -1
- package/types/public_api.d.ts +0 -5
- package/types/public_api.d.ts.map +0 -1
- package/types/unobserve-fn.d.ts +0 -2
- package/types/unobserve-fn.d.ts.map +0 -1
- package/types/window-ref.d.ts +0 -7
- package/types/window-ref.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kirbydesign-designsystem-badge.mjs","sources":["../../badge/src/badge.component.ts","../../badge/src/badge.component.html","../../badge/src/kirbydesign-designsystem-badge.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, HostBinding, Input } from '@angular/core';\nimport { ThemeColorDirective } from '@kirbydesign/designsystem/shared';\nimport { IonBadge } from '@ionic/angular/standalone';\n\nexport type BadgeSize = 'sm' | 'md';\n\nconst KIRBY_BADGE_TEXT_PROPERTY_DEPRECATION_WARNING =\n '[Kirby Badge] The `text` property has been deprecated. Please set the text of the Badge between the opening and closing tag.';\n\n@Component({\n selector: 'kirby-badge',\n templateUrl: './badge.component.html',\n styleUrls: ['./badge.component.scss'],\n imports: [CommonModule, IonBadge],\n hostDirectives: [{ directive: ThemeColorDirective, inputs: ['themeColor'] }],\n})\nexport class BadgeComponent {\n private _text: string;\n get text(): string {\n return this._text;\n }\n /**\n * @deprecated The 'text' property has been deprecated.\n * Please set the text of the Badge between the opening and closing tag.\n */\n @Input() set text(value: string) {\n console.warn(KIRBY_BADGE_TEXT_PROPERTY_DEPRECATION_WARNING);\n this._text = value;\n }\n\n @HostBinding('class')\n @Input()\n size: BadgeSize = 'md';\n}\n","<ion-badge>\n <span *ngIf=\"size === 'sm'\"></span>\n <ng-content *ngIf=\"!text && size === 'md'\"></ng-content>\n <ng-container *ngIf=\"text && size === 'md'\">{{ text }}</ng-container>\n</ion-badge>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAOA,MAAM,6CAA6C,GACjD,8HAA8H;MASnH,cAAc,CAAA;AAP3B,IAAA,WAAA,GAAA;QAuBE,IAAI,CAAA,IAAA,GAAc,IAAI;AACvB;AAfC,IAAA,IAAI,IAAI,GAAA;QACN,OAAO,IAAI,CAAC,KAAK;;AAEnB;;;AAGG;IACH,IAAa,IAAI,CAAC,KAAa,EAAA;AAC7B,QAAA,OAAO,CAAC,IAAI,CAAC,6CAA6C,CAAC;AAC3D,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK;;kIAXT,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,ECjB3B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,WAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,+MAKA,EDSY,MAAA,EAAA,CAAA,o0CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,mIAAE,QAAQ,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGrB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAGd,CAAC,YAAY,EAAE,QAAQ,CAAC,kBACjB,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,EAAA,QAAA,EAAA,+MAAA,EAAA,MAAA,EAAA,CAAA,o0CAAA,CAAA,EAAA;8BAW/D,IAAI,EAAA,CAAA;sBAAhB;gBAOD,IAAI,EAAA,CAAA;sBAFH,WAAW;uBAAC,OAAO;;sBACnB;;;AEhCH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"kirbydesign-designsystem-badge.mjs","sources":["../tmp-esm2022/badge/badge.component.js","../tmp-esm2022/badge/kirbydesign-designsystem-badge.js"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { ThemeColorDirective } from '@kirbydesign/designsystem/shared';\nimport { IonBadge } from '@ionic/angular/standalone';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@kirbydesign/designsystem/shared\";\nconst KIRBY_BADGE_TEXT_PROPERTY_DEPRECATION_WARNING = '[Kirby Badge] The `text` property has been deprecated. Please set the text of the Badge between the opening and closing tag.';\nexport class BadgeComponent {\n constructor() {\n this.size = 'md';\n }\n get text() {\n return this._text;\n }\n /**\n * @deprecated The 'text' property has been deprecated.\n * Please set the text of the Badge between the opening and closing tag.\n */\n set text(value) {\n console.warn(KIRBY_BADGE_TEXT_PROPERTY_DEPRECATION_WARNING);\n this._text = value;\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.2.0\", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.2.0\", type: BadgeComponent, isStandalone: true, selector: \"kirby-badge\", inputs: { text: \"text\", size: \"size\" }, host: { properties: { \"class\": \"this.size\" } }, hostDirectives: [{ directive: i1.ThemeColorDirective, inputs: [\"themeColor\", \"themeColor\"] }], ngImport: i0, template: \"<ion-badge>\\n @if (size === 'sm') {\\n <span></span>\\n }\\n @if (!text && size === 'md') {\\n <ng-content></ng-content>\\n }\\n @if (text && size === 'md') {\\n {{ text }}\\n }\\n</ion-badge>\\n\", styles: [\":host{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}:host ion-badge{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}:host ion-badge ::ng-deep>kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}:host(.sm) ion-badge{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}:host(.md) ion-badge{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}:host(.success) ion-badge{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}:host(.warning) ion-badge{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}:host(.danger) ion-badge{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}:host(.default) ion-badge,:host(.white) ion-badge{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}\\n\"], dependencies: [{ kind: \"component\", type: IonBadge, selector: \"ion-badge\", inputs: [\"color\", \"mode\"] }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.2.0\", ngImport: i0, type: BadgeComponent, decorators: [{\n type: Component,\n args: [{ selector: 'kirby-badge', imports: [IonBadge], hostDirectives: [{ directive: ThemeColorDirective, inputs: ['themeColor'] }], template: \"<ion-badge>\\n @if (size === 'sm') {\\n <span></span>\\n }\\n @if (!text && size === 'md') {\\n <ng-content></ng-content>\\n }\\n @if (text && size === 'md') {\\n {{ text }}\\n }\\n</ion-badge>\\n\", styles: [\":host{position:var(--kirby-badge-position, relative);left:var(--kirby-badge-left, auto);right:var(--kirby-badge-right, auto);top:var(--kirby-badge-top, auto);z-index:var(--kirby-badge-z-index, auto);font-size:10px;line-height:1}:host ion-badge{--background: var(--kirby-badge-background-color, var(--kirby-white));--color: var(--kirby-badge-color, var(--kirby-white-contrast));box-sizing:border-box;border-radius:8px;font-size:inherit;position:relative;box-shadow:var(--kirby-badge-elevation, none)}:host ion-badge ::ng-deep>kirby-icon{--kirby-icon-font-size: 16px;position:absolute;top:0;left:0}:host(.sm) ion-badge{padding:initial;min-height:initial;min-width:initial;height:8px;width:8px}:host(.md) ion-badge{--padding-top: 3px;--padding-end: 5px;--padding-bottom: 3px;--padding-start: 5px;min-width:16px;min-height:16px}:host(.success) ion-badge{--background: var(--kirby-success);--color: var(--kirby-badge-color, var(--kirby-success-contrast))}:host(.warning) ion-badge{--background: var(--kirby-warning);--color: var(--kirby-badge-color, var(--kirby-warning-contrast))}:host(.danger) ion-badge{--background: var(--kirby-danger);--color: var(--kirby-badge-color, var(--kirby-text-color-white))}:host(.default) ion-badge,:host(.white) ion-badge{--kirby-badge-elevation: 0 20px 30px -15px rgb(28 28 28 / 30%), 0 0 5px 0 rgb(28 28 28 / 12%)}\\n\"] }]\n }], propDecorators: { text: [{\n type: Input\n }], size: [{\n type: HostBinding,\n args: ['class']\n }, {\n type: Input\n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6IHN0cmluZztcbiAgZ2V0IHRleHQoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5fdGV4dDtcbiAgfVxuICAvKipcbiAgICogQGRlcHJlY2F0ZWQgVGhlICd0ZXh0JyBwcm9wZXJ0eSBoYXMgYmVlbiBkZXByZWNhdGVkLlxuICAgKiBQbGVhc2Ugc2V0IHRoZSB0ZXh0IG9mIHRoZSBCYWRnZSBiZXR3ZWVuIHRoZSBvcGVuaW5nIGFuZCBjbG9zaW5nIHRhZy5cbiAgICovXG4gIEBJbnB1dCgpIHNldCB0ZXh0KHZhbHVlOiBzdHJpbmcpIHtcbiAgICBjb25zb2xlLndhcm4oS0lSQllfQkFER0VfVEVYVF9QUk9QRVJUWV9ERVBSRUNBVElPTl9XQVJOSU5HKTtcbiAgICB0aGlzLl90ZXh0ID0gdmFsdWU7XG4gIH1cblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgQElucHV0KClcbiAgc2l6ZTogQmFkZ2VTaXplID0gJ21kJztcbn1cbiIsIjxpb24tYmFkZ2U+XG4gIEBpZiAoc2l6ZSA9PT0gJ3NtJykge1xuICAgIDxzcGFuPjwvc3Bhbj5cbiAgfVxuICBAaWYgKCF0ZXh0ICYmIHNpemUgPT09ICdtZCcpIHtcbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIH1cbiAgQGlmICh0ZXh0ICYmIHNpemUgPT09ICdtZCcpIHtcbiAgICB7eyB0ZXh0IH19XG4gIH1cbjwvaW9uLWJhZGdlPlxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWJhZGdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYmFkZ2Uvc3JjL2tpcmJ5ZGVzaWduLWRlc2lnbnN5c3RlbS1iYWR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import { CommonModule } from '@angular/common';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
2
|
import { ElementRef, HostListener, ContentChild, Input, HostBinding, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
3
|
import { IconComponent } from '@kirbydesign/designsystem/icon';
|
|
@@ -108,12 +107,12 @@ class ButtonComponent {
|
|
|
108
107
|
event.stopImmediatePropagation();
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
112
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ButtonComponent, isStandalone: true, selector: "button[kirby-button],Button[kirby-button],a[kirby-button]", inputs: { attentionLevel: "attentionLevel", noDecoration: "noDecoration", themeColor: "themeColor", expand: "expand", isFloating: "isFloating", size: "size", showIconOnly: "showIconOnly" }, host: { listeners: { "keydown.enter": "_onEnterOrSpace($event)", "keydown.space": "_onEnterOrSpace($event)" }, properties: { "class.no-decoration": "this.noDecoration", "class.floating": "this.isButtonFloating", "class.icon-only": "this.isIconOnly", "class.icon-left": "this.isIconLeft", "class.icon-right": "this.isIconRight", "class": "this._cssClass" } }, queries: [{ propertyName: "iconElementRef", first: true, predicate: IconComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "<ng-container>\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <span class=\"content-layer\"><ng-content></ng-content></span>\n</ng-container>\n<!--\n TODO: Fix globally exposed .state-layer and .content-layer\n \n See: https://github.com/kirbydesign/designsystem/issues/2101\n-->\n", styles: [":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\"\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
110
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
111
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0", type: ButtonComponent, isStandalone: true, selector: "button[kirby-button],Button[kirby-button],a[kirby-button]", inputs: { attentionLevel: "attentionLevel", noDecoration: "noDecoration", themeColor: "themeColor", expand: "expand", isFloating: "isFloating", size: "size", showIconOnly: "showIconOnly" }, host: { listeners: { "keydown.enter": "_onEnterOrSpace($event)", "keydown.space": "_onEnterOrSpace($event)" }, properties: { "class.no-decoration": "this.noDecoration", "class.floating": "this.isButtonFloating", "class.icon-only": "this.isIconOnly", "class.icon-left": "this.isIconLeft", "class.icon-right": "this.isIconRight", "class": "this._cssClass" } }, queries: [{ propertyName: "iconElementRef", first: true, predicate: IconComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "<ng-container>\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <span class=\"content-layer\"><ng-content></ng-content></span>\n</ng-container>\n<!--\n TODO: Fix globally exposed .state-layer and .content-layer\n \n See: https://github.com/kirbydesign/designsystem/issues/2101\n-->\n", styles: [":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\"\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
113
112
|
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
115
114
|
type: Component,
|
|
116
|
-
args: [{ imports: [CommonModule], selector: 'button[kirby-button],Button[kirby-button],a[kirby-button]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <span class=\"content-layer\"><ng-content></ng-content></span>\n</ng-container>\n<!--\n TODO: Fix globally exposed .state-layer and .content-layer\n \n See: https://github.com/kirbydesign/designsystem/issues/2101\n-->\n", styles: [":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\"\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\n"] }]
|
|
115
|
+
args: [{ selector: 'button[kirby-button],Button[kirby-button],a[kirby-button]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container>\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <span class=\"content-layer\"><ng-content></ng-content></span>\n</ng-container>\n<!--\n TODO: Fix globally exposed .state-layer and .content-layer\n \n See: https://github.com/kirbydesign/designsystem/issues/2101\n-->\n", styles: [":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\"\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\"\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\"\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\n"] }]
|
|
117
116
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { attentionLevel: [{
|
|
118
117
|
type: Input
|
|
119
118
|
}], noDecoration: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kirbydesign-designsystem-button.mjs","sources":["../../button/src/button.component.ts","../../button/src/button.component.html","../../button/src/kirbydesign-designsystem-button.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n HostListener,\n Input,\n Renderer2,\n} from '@angular/core';\n\nimport { NotificationColor } from '@kirbydesign/core';\n\nimport { IconComponent } from '@kirbydesign/designsystem/icon';\n\nexport enum ButtonSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n}\n\nexport type AttentionLevel = '1' | '2' | '3';\n\n@Component({\n imports: [CommonModule],\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[kirby-button],Button[kirby-button],a[kirby-button]',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent implements AfterContentInit {\n @Input() attentionLevel: AttentionLevel;\n\n @HostBinding('class.no-decoration')\n @Input()\n noDecoration = false;\n\n @HostBinding('class.floating')\n public get isButtonFloating(): boolean {\n return this.isFloating;\n }\n\n @HostBinding('class.icon-only')\n public get isIconOnly(): boolean {\n return !!this.iconElementRef && this.showIconOnly;\n }\n private _isIconLeft = false;\n @HostBinding('class.icon-left')\n public get isIconLeft() {\n return this._isIconLeft && !this.showIconOnly;\n }\n private _isIconRight = false;\n @HostBinding('class.icon-right')\n public get isIconRight() {\n return this._isIconRight && !this.showIconOnly;\n }\n\n @HostBinding('class')\n get _cssClass() {\n const attentionLevel = this.getAttentionLevelCssClass();\n return [this.themeColor, this.size, attentionLevel].filter((cssClass) => !!cssClass);\n }\n\n private getAttentionLevelCssClass() {\n if (this.noDecoration) return;\n const attentionLevelDefault: AttentionLevel = '1';\n return `attention-level${this.attentionLevel || attentionLevelDefault}`;\n }\n\n @Input()\n themeColor: NotificationColor;\n @Input() expand: 'full' | 'block';\n @Input() isFloating: boolean = false;\n @Input()\n size: ButtonSize | `${ButtonSize}` = ButtonSize.MD;\n\n private _showIconOnly: boolean = false;\n get showIconOnly() {\n return this._showIconOnly;\n }\n @Input() set showIconOnly(value: boolean) {\n if (value) {\n // If the button text is supplied as plain text (i.e. as a text node not within an element tag),\n // we need to wrap it in an element to be able to target and hide it with css:\n this.wrapTextNode(this.iconElementRef?.nativeElement);\n }\n this._showIconOnly = value;\n }\n\n @ContentChild(IconComponent, { read: ElementRef })\n iconElementRef?: ElementRef<HTMLElement>;\n\n constructor(\n private elementRef: ElementRef<HTMLElement>,\n private renderer: Renderer2\n ) {}\n\n private wrapTextNode(iconElement?: HTMLElement) {\n if (!iconElement) {\n return;\n }\n\n const ifTextNode = (node?: ChildNode): ChildNode | undefined => {\n return node?.nodeType === Node.TEXT_NODE ? node : undefined;\n };\n\n const textNode = ifTextNode(iconElement.previousSibling) || ifTextNode(iconElement.nextSibling);\n if (textNode) {\n const placement = textNode === iconElement.previousSibling ? 'before' : 'after';\n const textWrapper = this.renderer.createElement('span');\n const parent = textNode.parentNode;\n this.renderer.removeChild(textNode.parentNode, textNode);\n this.renderer.appendChild(textWrapper, textNode);\n if (placement === 'before') {\n this.renderer.insertBefore(parent, textWrapper, iconElement);\n } else if (placement === 'after') {\n this.renderer.appendChild(parent, textWrapper);\n }\n }\n }\n\n ngAfterContentInit(): void {\n const iconElement = this.iconElementRef?.nativeElement;\n\n if (iconElement === undefined) {\n // Nothing to do here when there's no icon:\n return;\n }\n\n // Ensure buttons with icon is always shown as icon only inside the toolbar:\n if (this.elementRef.nativeElement.closest('ion-toolbar')) {\n this._showIconOnly = true;\n }\n\n if (this.showIconOnly) {\n // If the button text is supplied as plain text (i.e. as a text node not within an element tag),\n // we need to wrap it in an element to be able to target and hide it with css:\n this.wrapTextNode(iconElement);\n }\n\n const hasText = !!this.elementRef.nativeElement.textContent;\n if (!hasText) {\n // Button doesn't contain any text, make it round:\n this._showIconOnly = true;\n }\n\n if (hasText && !this.showIconOnly) {\n this._isIconLeft =\n this.elementRef.nativeElement.querySelector('.content-layer').firstChild === iconElement;\n this._isIconRight = !this._isIconLeft;\n }\n }\n\n @HostListener('keydown.enter', ['$event'])\n @HostListener('keydown.space', ['$event'])\n _onEnterOrSpace(event: KeyboardEvent) {\n if (this.elementRef.nativeElement.ariaDisabled === 'true') {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n }\n}\n","<ng-container>\n <span class=\"state-layer\" aria-hidden=\"true\"></span>\n <span class=\"content-layer\"><ng-content></ng-content></span>\n</ng-container>\n<!--\n TODO: Fix globally exposed .state-layer and .content-layer\n \n See: https://github.com/kirbydesign/designsystem/issues/2101\n-->\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;IAiBY;AAAZ,CAAA,UAAY,UAAU,EAAA;AACpB,IAAA,UAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,UAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,UAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,UAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACX,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,CAAA,CAAA;MAYY,eAAe,CAAA;AAO1B,IAAA,IACW,gBAAgB,GAAA;QACzB,OAAO,IAAI,CAAC,UAAU;;AAGxB,IAAA,IACW,UAAU,GAAA;QACnB,OAAO,CAAC,CAAC,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,YAAY;;AAGnD,IAAA,IACW,UAAU,GAAA;QACnB,OAAO,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,YAAY;;AAG/C,IAAA,IACW,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,YAAY;;AAGhD,IAAA,IACI,SAAS,GAAA;AACX,QAAA,MAAM,cAAc,GAAG,IAAI,CAAC,yBAAyB,EAAE;QACvD,OAAO,CAAC,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;;sBACjC;gBAIU,gBAAgB,EAAA,CAAA;sBAD1B,WAAW;uBAAC,gBAAgB;gBAMlB,UAAU,EAAA,CAAA;sBADpB,WAAW;uBAAC,iBAAiB;gBAMnB,UAAU,EAAA,CAAA;sBADpB,WAAW;uBAAC,iBAAiB;gBAMnB,WAAW,EAAA,CAAA;sBADrB,WAAW;uBAAC,kBAAkB;gBAM3B,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,OAAO;gBAapB,UAAU,EAAA,CAAA;sBADT;gBAEQ,MAAM,EAAA,CAAA;sBAAd;gBACQ,UAAU,EAAA,CAAA;sBAAlB;gBAED,IAAI,EAAA,CAAA;sBADH;gBAOY,YAAY,EAAA,CAAA;sBAAxB;gBAUD,cAAc,EAAA,CAAA;sBADb,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,aAAa,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;gBAkEjD,eAAe,EAAA,CAAA;sBAFd,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC;;sBACxC,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC;;;AE9J3C;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"kirbydesign-designsystem-button.mjs","sources":["../tmp-esm2022/button/button.component.js","../tmp-esm2022/button/kirbydesign-designsystem-button.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, HostBinding, HostListener, Input, } from '@angular/core';\nimport { IconComponent } from '@kirbydesign/designsystem/icon';\nimport * as i0 from \"@angular/core\";\nexport var ButtonSize;\n(function (ButtonSize) {\n ButtonSize[\"XS\"] = \"xs\";\n ButtonSize[\"SM\"] = \"sm\";\n ButtonSize[\"MD\"] = \"md\";\n ButtonSize[\"LG\"] = \"lg\";\n})(ButtonSize || (ButtonSize = {}));\nexport class ButtonComponent {\n get isButtonFloating() {\n return this.isFloating;\n }\n get isIconOnly() {\n return !!this.iconElementRef && this.showIconOnly;\n }\n get isIconLeft() {\n return this._isIconLeft && !this.showIconOnly;\n }\n get isIconRight() {\n return this._isIconRight && !this.showIconOnly;\n }\n get _cssClass() {\n const attentionLevel = this.getAttentionLevelCssClass();\n return [this.themeColor, this.size, attentionLevel].filter((cssClass) => !!cssClass);\n }\n getAttentionLevelCssClass() {\n if (this.noDecoration)\n return;\n const attentionLevelDefault = '1';\n return `attention-level${this.attentionLevel || attentionLevelDefault}`;\n }\n get showIconOnly() {\n return this._showIconOnly;\n }\n set showIconOnly(value) {\n if (value) {\n // If the button text is supplied as plain text (i.e. as a text node not within an element tag),\n // we need to wrap it in an element to be able to target and hide it with css:\n this.wrapTextNode(this.iconElementRef?.nativeElement);\n }\n this._showIconOnly = value;\n }\n constructor(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.noDecoration = false;\n this._isIconLeft = false;\n this._isIconRight = false;\n this.isFloating = false;\n this.size = ButtonSize.MD;\n this._showIconOnly = false;\n }\n wrapTextNode(iconElement) {\n if (!iconElement) {\n return;\n }\n const ifTextNode = (node) => {\n return node?.nodeType === Node.TEXT_NODE ? node : undefined;\n };\n const textNode = ifTextNode(iconElement.previousSibling) || ifTextNode(iconElement.nextSibling);\n if (textNode) {\n const placement = textNode === iconElement.previousSibling ? 'before' : 'after';\n const textWrapper = this.renderer.createElement('span');\n const parent = textNode.parentNode;\n this.renderer.removeChild(textNode.parentNode, textNode);\n this.renderer.appendChild(textWrapper, textNode);\n if (placement === 'before') {\n this.renderer.insertBefore(parent, textWrapper, iconElement);\n }\n else if (placement === 'after') {\n this.renderer.appendChild(parent, textWrapper);\n }\n }\n }\n ngAfterContentInit() {\n const iconElement = this.iconElementRef?.nativeElement;\n if (iconElement === undefined) {\n // Nothing to do here when there's no icon:\n return;\n }\n // Ensure buttons with icon is always shown as icon only inside the toolbar:\n if (this.elementRef.nativeElement.closest('ion-toolbar')) {\n this._showIconOnly = true;\n }\n if (this.showIconOnly) {\n // If the button text is supplied as plain text (i.e. as a text node not within an element tag),\n // we need to wrap it in an element to be able to target and hide it with css:\n this.wrapTextNode(iconElement);\n }\n const hasText = !!this.elementRef.nativeElement.textContent;\n if (!hasText) {\n // Button doesn't contain any text, make it round:\n this._showIconOnly = true;\n }\n if (hasText && !this.showIconOnly) {\n this._isIconLeft =\n this.elementRef.nativeElement.querySelector('.content-layer').firstChild === iconElement;\n this._isIconRight = !this._isIconLeft;\n }\n }\n _onEnterOrSpace(event) {\n if (this.elementRef.nativeElement.ariaDisabled === 'true') {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.2.0\", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }\n /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.2.0\", type: ButtonComponent, isStandalone: true, selector: \"button[kirby-button],Button[kirby-button],a[kirby-button]\", inputs: { attentionLevel: \"attentionLevel\", noDecoration: \"noDecoration\", themeColor: \"themeColor\", expand: \"expand\", isFloating: \"isFloating\", size: \"size\", showIconOnly: \"showIconOnly\" }, host: { listeners: { \"keydown.enter\": \"_onEnterOrSpace($event)\", \"keydown.space\": \"_onEnterOrSpace($event)\" }, properties: { \"class.no-decoration\": \"this.noDecoration\", \"class.floating\": \"this.isButtonFloating\", \"class.icon-only\": \"this.isIconOnly\", \"class.icon-left\": \"this.isIconLeft\", \"class.icon-right\": \"this.isIconRight\", \"class\": \"this._cssClass\" } }, queries: [{ propertyName: \"iconElementRef\", first: true, predicate: IconComponent, descendants: true, read: ElementRef }], ngImport: i0, template: \"<ng-container>\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <span class=\\\"content-layer\\\"><ng-content></ng-content></span>\\n</ng-container>\\n<!--\\n TODO: Fix globally exposed .state-layer and .content-layer\\n \\n See: https://github.com/kirbydesign/designsystem/issues/2101\\n-->\\n\", styles: [\":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\\\"\\\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\\\"\\\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.2.0\", ngImport: i0, type: ButtonComponent, decorators: [{\n type: Component,\n args: [{ selector: 'button[kirby-button],Button[kirby-button],a[kirby-button]', changeDetection: ChangeDetectionStrategy.OnPush, template: \"<ng-container>\\n <span class=\\\"state-layer\\\" aria-hidden=\\\"true\\\"></span>\\n <span class=\\\"content-layer\\\"><ng-content></ng-content></span>\\n</ng-container>\\n<!--\\n TODO: Fix globally exposed .state-layer and .content-layer\\n \\n See: https://github.com/kirbydesign/designsystem/issues/2101\\n-->\\n\", styles: [\":host{--kirby-button-padding-left: 24px;--kirby-button-padding-right: 24px;flex-shrink:0}:host{position:relative}:host:after{content:\\\"\\\";position:absolute;min-height:44px;min-width:44px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}@media (hover: hover) and (pointer: fine){:host:focus{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}:host:focus:not(:focus-visible){box-shadow:0 0 0 0 transparent}:host:focus-visible{transition:all 80ms linear 0ms;box-shadow:0 0 0 2px var(--kirby-background-color),0 0 0 4px #4d90fe}}:host{--state-layer-opacity: 0;--state-layer-background-color: var(--kirby-black);position:relative}:host .content-layer{position:relative;z-index:var(--content-layer-z-index, 1)}:host .state-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:2}:host .state-layer:before{transition:all 80ms linear 0ms;content:\\\"\\\";position:absolute;pointer-events:none;inset:-50%;opacity:var(--state-layer-opacity, 0);background-color:var(--state-layer-background-color, var(--kirby-black))}@media (hover: hover){:host:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host:active,:host.interaction-state-active{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black)}:host .content-layer{display:inherit;width:inherit;flex-direction:inherit;align-items:inherit;justify-content:inherit;padding-inline:var(--kirby-button-padding-left) var(--kirby-button-padding-right)}:host{font-family:var(--kirby-font-family);background-color:var(--kirby-button-background-color, initial);color:var(--kirby-button-color, inherit);border-radius:999px;box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;font-size:14px;height:40px;min-width:88px;padding:0;margin:4px;line-height:20px;outline:none;border:none}:host.no-margin{margin:0}:host.icon-left{--kirby-icon-margin-right: 8px;--kirby-button-padding-left: 12px;--kirby-button-padding-right: 16px;padding:0}:host.icon-right{--kirby-icon-margin-left: 8px;--kirby-button-padding-left: 16px;--kirby-button-padding-right: 12px;padding:0}:host.icon-only{--kirby-button-padding-left: 0;--kirby-button-padding-right: 0;width:40px;padding:0;min-width:unset}:host.icon-only .content-layer ::ng-deep>:not(kirby-icon){position:absolute;scale:0}:host.xs{position:relative}:host.xs:after{content:\\\"\\\";position:absolute;min-height:32px;min-width:32px;width:100%;height:100%;transform:translate(-50%,-50%);left:50%;top:50%}:host.xs{font-size:12px;height:24px;min-width:44px}:host.xs:not(.icon-only){--kirby-button-padding-left: 12px;--kirby-button-padding-right: 12px}:host.xs.icon-only{--kirby-icon-font-size: 16px;width:24px;min-width:unset}:host.xs.icon-left{--kirby-button-padding-left: 8px;--kirby-icon-margin-right: 4px}:host.xs.icon-right{--kirby-button-padding-right: 8px;--kirby-icon-margin-left: 4px}:host.xs.icon-left,:host.xs.icon-right{--kirby-icon-font-size: 16px;min-width:44px}:host.sm{font-size:12px;height:32px;min-width:44px}:host.sm:not(.icon-only){--kirby-button-padding-left: 16px;--kirby-button-padding-right: 16px}:host.sm.icon-only{--kirby-icon-font-size: 16px;width:32px;min-width:unset}:host.sm.icon-left{--kirby-button-padding-left: 12px}:host.sm.icon-right{--kirby-button-padding-right: 12px}:host.sm.icon-left,:host.sm.icon-right{--kirby-icon-font-size: 16px;min-width:88px}:host.lg{font-size:16px;height:48px;min-width:220px}:host.lg.icon-only{width:48px;min-width:unset}:host.no-decoration{--kirby-button-background-color: transparent;--kirby-button-color: var(--kirby-black)}@media (hover: hover){:host.no-decoration:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.no-decoration:active,:host.no-decoration.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level1{--kirby-button-background-color: var(--kirby-primary);--kirby-button-color: var(--kirby-primary-contrast)}:host.attention-level1.destructive{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}:host.attention-level2{--kirby-button-background-color: var(--kirby-black);--kirby-button-color: var(--kirby-black-contrast)}@media (hover: hover){:host.attention-level2:hover{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host.attention-level2:active,:host.attention-level2.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host.attention-level3:active,:host.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host.attention-level3 .state-layer{box-shadow:var(--kirby-inputs-elevation)}:host[expand=block]{width:100%}:host:disabled,:host[aria-disabled=true]{color:var(--kirby-semi-dark-shade);border-color:transparent;pointer-events:none}:host:disabled:not(.no-decoration),:host[aria-disabled=true]:not(.no-decoration){background-color:var(--kirby-semi-light)}:host.floating{width:64px!important;height:64px!important;min-width:unset}:host.floating:not(:disabled){box-shadow:0 20px 30px -15px #1c1c1c4d,0 0 5px #1c1c1c14}:host(a){text-decoration:none}:host-context(.kirby-color-brightness-dark).no-decoration{--kirby-button-color: var(--kirby-white)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).no-decoration:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).no-decoration:active,:host-context(.kirby-color-brightness-dark).no-decoration.interaction-state-active{--state-layer-opacity: .2;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(.kirby-color-brightness-dark).attention-level2{--kirby-button-background-color: var(--kirby-white);--kirby-button-color: var(--kirby-white-contrast)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level2:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level2:active,:host-context(.kirby-color-brightness-dark).attention-level2.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}@media (hover: hover){:host-context(.kirby-color-brightness-dark).attention-level3:hover{--state-layer-opacity: .04;--state-layer-background-color: var(--kirby-black-contrast);cursor:pointer}}:host-context(.kirby-color-brightness-dark).attention-level3:active,:host-context(.kirby-color-brightness-dark).attention-level3.interaction-state-active{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black-contrast)}:host-context(kirby-item)[slot=end]{margin-inline:16px 0}:host-context(kirby-dropdown){justify-content:space-between}:host-context(ion-toolbar ion-buttons.legacy-actions){font-size:14px;height:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only{width:40px}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:hover,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.no-decoration.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level1.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level2.interaction-state-active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3:active,:host-context(ion-toolbar ion-buttons.legacy-actions).icon-only.attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(.page-title kirby-page-actions).no-decoration,:host-context(.page-title kirby-page-actions).attention-level1,:host-context(.page-title kirby-page-actions).attention-level2,:host-context(.page-title kirby-page-actions).attention-level3{--kirby-button-background-color: var(--kirby-inputs-background-color);--kirby-button-color: var(--kirby-inputs-color)}@media (hover: hover){:host-context(.page-title kirby-page-actions).no-decoration:hover,:host-context(.page-title kirby-page-actions).attention-level1:hover,:host-context(.page-title kirby-page-actions).attention-level2:hover,:host-context(.page-title kirby-page-actions).attention-level3:hover{--state-layer-opacity: .12;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(.page-title kirby-page-actions).no-decoration:active,:host-context(.page-title kirby-page-actions).no-decoration.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level1:active,:host-context(.page-title kirby-page-actions).attention-level1.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level2:active,:host-context(.page-title kirby-page-actions).attention-level2.interaction-state-active,:host-context(.page-title kirby-page-actions).attention-level3:active,:host-context(.page-title kirby-page-actions).attention-level3.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-empty-state .content){font-size:16px;height:48px;min-width:220px}:host-context(kirby-empty-state .content).icon-only{width:48px;min-width:unset}:host-context(kirby-toggle-button).success{--kirby-button-background-color: var(--kirby-success);--kirby-button-color: var(--kirby-success-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).success:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).success:active,:host-context(kirby-toggle-button).success.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).warning{--kirby-button-background-color: var(--kirby-warning);--kirby-button-color: var(--kirby-warning-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).warning:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).warning:active,:host-context(kirby-toggle-button).warning.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-toggle-button).danger{--kirby-button-background-color: var(--kirby-danger);--kirby-button-color: var(--kirby-danger-contrast)}@media (hover: hover){:host-context(kirby-toggle-button).danger:hover{--state-layer-opacity: .08;--state-layer-background-color: var(--kirby-black);cursor:pointer}}:host-context(kirby-toggle-button).danger:active,:host-context(kirby-toggle-button).danger.interaction-state-active{--state-layer-opacity: .16;--state-layer-background-color: var(--kirby-black)}:host-context(kirby-page-actions),:host-context(kirby-action-group),:host-context(.kirby-modal ion-header ion-toolbar ion-buttons){margin:0}:host-context(kirby-modal-footer){margin-top:0;margin-bottom:0}:host-context(kirby-modal-footer):first-child{margin-left:0}:host-context(kirby-modal-footer):last-child{margin-right:0}\\n\"] }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { attentionLevel: [{\n type: Input\n }], noDecoration: [{\n type: HostBinding,\n args: ['class.no-decoration']\n }, {\n type: Input\n }], isButtonFloating: [{\n type: HostBinding,\n args: ['class.floating']\n }], isIconOnly: [{\n type: HostBinding,\n args: ['class.icon-only']\n }], isIconLeft: [{\n type: HostBinding,\n args: ['class.icon-left']\n }], isIconRight: [{\n type: HostBinding,\n args: ['class.icon-right']\n }], _cssClass: [{\n type: HostBinding,\n args: ['class']\n }], themeColor: [{\n type: Input\n }], expand: [{\n type: Input\n }], isFloating: [{\n type: Input\n }], size: [{\n type: Input\n }], showIconOnly: [{\n type: Input\n }], iconElementRef: [{\n type: ContentChild,\n args: [IconComponent, { read: ElementRef }]\n }], _onEnterOrSpace: [{\n type: HostListener,\n args: ['keydown.enter', ['$event']]\n }, {\n type: HostListener,\n args: ['keydown.space', ['$event']]\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2J1dHRvbi9zcmMvYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL2J1dHRvbi9zcmMvYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyx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yRldmVudCddKVxuICBfb25FbnRlck9yU3BhY2UoZXZlbnQ6IEtleWJvYXJkRXZlbnQpIHtcbiAgICBpZiAodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuYXJpYURpc2FibGVkID09PSAndHJ1ZScpIHtcbiAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICBldmVudC5zdG9wSW1tZWRpYXRlUHJvcGFnYXRpb24oKTtcbiAgICB9XG4gIH1cbn1cbiIsIjxuZy1jb250YWluZXI+XG4gIDxzcGFuIGNsYXNzPVwic3RhdGUtbGF5ZXJcIiBhcmlhLWhpZGRlbj1cInRydWVcIj48L3NwYW4+XG4gIDxzcGFuIGNsYXNzPVwiY29udGVudC1sYXllclwiPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L3NwYW4+XG48L25nLWNvbnRhaW5lcj5cbjwhLS1cbiAgVE9ETzogRml4IGdsb2JhbGx5IGV4cG9zZWQgLnN0YXRlLWxheWVyIGFuZCAuY29udGVudC1sYXllclxuICBcbiAgU2VlOiBodHRwczovL2dpdGh1Yi5jb20va2lyYnlkZXNpZ24vZGVzaWduc3lzdGVtL2lzc3Vlcy8yMTAxXG4tLT5cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWJ1dHRvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2J1dHRvbi9zcmMva2lyYnlkZXNpZ24tZGVzaWduc3lzdGVtLWJ1dHRvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpd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,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;AAClC,gBAAgB,IAAI,EAAE,YAAY;AAClC,gBAAgB,IAAI,EAAE,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC;AAClD,aAAa,EAAE;AACf,gBAAgB,IAAI,EAAE,YAAY;AAClC,gBAAgB,IAAI,EAAE,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC;AAClD,aAAa,CAAC,EAAE,EAAE,CAAC;;AC3JnB;AACA;AACA;;;;"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as i4 from '@angular/common';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import { EventEmitter, LOCALE_ID, HostBinding, Input, Output, Inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
5
3
|
import { isBefore, isAfter, startOfDay, format, isSameMonth, startOfMonth, eachDayOfInterval, endOfWeek, startOfWeek, isSameDay, add, isWeekend, getYear, lastDayOfWeek } from 'date-fns';
|
|
@@ -460,12 +458,12 @@ class CalendarComponent {
|
|
|
460
458
|
event.preventDefault();
|
|
461
459
|
this.focusDate(newDate);
|
|
462
460
|
}
|
|
463
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
464
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
461
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: CalendarComponent, deps: [{ token: LOCALE_ID }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.TranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
462
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0", type: CalendarComponent, isStandalone: true, selector: "kirby-calendar", inputs: { timezone: "timezone", disableWeekends: "disableWeekends", disablePastDates: "disablePastDates", disableFutureDates: "disableFutureDates", alwaysEnableToday: "alwaysEnableToday", locales: "locales", customLocales: "customLocales", usePopover: "usePopover", yearNavigatorOptions: "yearNavigatorOptions", selectedDate: "selectedDate", disabledDates: "disabledDates", enabledDates: "enabledDates", todayDate: "todayDate", minDate: "minDate", maxDate: "maxDate" }, outputs: { dateChange: "dateChange", dateSelect: "dateSelect", yearSelect: "yearSelect", previousMonthClicked: "previousMonthClicked", nextMonthClicked: "nextMonthClicked" }, host: { properties: { "class.has-year-navigator": "this._hasYearNavigator" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"header\">\n <div class=\"month-navigator\">\n <button\n kirby-button\n type=\"button\"\n class=\"no-margin\"\n [attr.aria-label]=\"translations.get('previousMonth')\"\n [attr.aria-disabled]=\"_canNavigateBack ? null : true\"\n [noDecoration]=\"true\"\n (click)=\"_changeMonth(-1)\"\n >\n <kirby-icon name=\"arrow-back\" aria-hidden=\"true\"></kirby-icon>\n </button>\n\n <div class=\"month-and-year\" [id]=\"_tableMonthId\" aria-live=\"polite\" aria-atomic=\"true\">\n <span class=\"month\">{{ activeMonthName }}</span>\n @if (!_hasYearNavigator) {\n <span class=\"year\">{{ activeYear }}</span>\n }\n </div>\n\n <button\n kirby-button\n type=\"button\"\n class=\"no-margin\"\n [attr.aria-label]=\"translations.get('nextMonth')\"\n [attr.aria-disabled]=\"_canNavigateForward ? null : true\"\n [noDecoration]=\"true\"\n (click)=\"_changeMonth(1)\"\n >\n <kirby-icon name=\"arrow-more\" aria-hidden=\"true\"></kirby-icon>\n </button>\n </div>\n @if (_hasYearNavigator) {\n <kirby-dropdown\n [usePopover]=\"usePopover\"\n [selectedIndex]=\"navigatedYear\"\n [items]=\"navigableYears\"\n [attr.aria-label]=\"translations.get('selectYear')\"\n popout=\"left\"\n (change)=\"_changeYear($event)\"\n ></kirby-dropdown>\n }\n</div>\n\n<table [attr.aria-labelledby]=\"_tableMonthId\" role=\"grid\">\n <thead>\n <tr>\n @for (weekDay of _weekDays; track weekDay.fullName) {\n <th scope=\"col\">\n <span aria-hidden=\"true\">{{ weekDay.firstLetterCapitalized }}</span>\n <span class=\"visually-hidden\">{{ weekDay.fullName }}</span>\n </th>\n }\n </tr>\n </thead>\n\n <tbody>\n @for (week of _month; track $index) {\n <tr>\n @for (day of week; track day.date + '-' + day.monthIndex + '-' + day.year) {\n <td [attr.aria-selected]=\"day.isSelected ? true : false\">\n <button\n kirby-button\n type=\"button\"\n (click)=\"_onDateSelected(day)\"\n (keydown)=\"_onDateKeydown($event)\"\n class=\"day\"\n [class.current-month]=\"day.isCurrentMonth\"\n [class.weekend]=\"day.isWeekend\"\n [class.today]=\"day.isToday\"\n [class.selectable]=\"day.isSelectable\"\n [class.selected]=\"day.isSelected\"\n [class.focussed]=\"day.isFocussed\"\n [class.past]=\"day.isPast\"\n [attr.aria-label]=\"day.ariaLabel\"\n [attr.aria-disabled]=\"day.isSelectable ? null : true\"\n [noDecoration]=\"true\"\n [disabled]=\"day.isFocusable ? null : true\"\n [tabIndex]=\"day.isFocussed ? 0 : -1\"\n >\n {{ day.date }}\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{font-size:16px}table{width:100%;border-collapse:collapse;-webkit-user-select:none;user-select:none;margin-bottom:8px}th,td{text-align:center;padding:0}th:first-child,td:first-child{padding-left:8px}th:last-child,td:last-child{padding-right:8px}th{height:50px;border-bottom:1px solid var(--kirby-background-color)}.header,th,td{background-color:transparent}.header{display:flex;justify-content:space-between;margin:8px 8px 0}.month-navigator{display:flex;flex-grow:1;align-items:center;justify-content:space-between}.month-and-year{-webkit-user-select:none;user-select:none;font-weight:700}.month-and-year .month{margin-right:8px}:host(.has-year-navigator) .month-navigator{flex-grow:0}:host(.has-year-navigator) .month-and-year{width:80px;margin:0 8px;text-align:center}:host(.has-year-navigator) .month{margin-right:0}.day{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;min-width:40px;min-height:40px;width:40px;height:40px;margin:4px 0;font-size:16px}.day:focus{z-index:1}button[aria-disabled=true]{color:#b4b4b4}.day.selectable:not(.current-month,.selected){color:var(--kirby-text-color-semi-dark)}.day.today{color:var(--kirby-medium-contrast);background-color:var(--kirby-medium)}.day.selected{color:var(--kirby-black-contrast);background-color:var(--kirby-black)}.visually-hidden{position:absolute;scale:0}\n"], dependencies: [{ kind: "ngmodule", type: DropdownModule }, { kind: "component", type: i2.DropdownComponent, selector: "kirby-dropdown", inputs: ["items", "selectedIndex", "focusedIndex", "itemTextProperty", "placeholder", "popout", "attentionLevel", "expand", "disabled", "hasError", "size", "tabindex", "usePopover"], outputs: ["change"] }, { kind: "component", type: ButtonComponent, selector: "button[kirby-button],Button[kirby-button],a[kirby-button]", inputs: ["attentionLevel", "noDecoration", "themeColor", "expand", "isFloating", "size", "showIconOnly"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i3.IconComponent, selector: "kirby-icon", inputs: ["size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
465
463
|
}
|
|
466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
467
465
|
type: Component,
|
|
468
|
-
args: [{ imports: [DropdownModule, ButtonComponent, IconModule
|
|
466
|
+
args: [{ imports: [DropdownModule, ButtonComponent, IconModule], selector: 'kirby-calendar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"header\">\n <div class=\"month-navigator\">\n <button\n kirby-button\n type=\"button\"\n class=\"no-margin\"\n [attr.aria-label]=\"translations.get('previousMonth')\"\n [attr.aria-disabled]=\"_canNavigateBack ? null : true\"\n [noDecoration]=\"true\"\n (click)=\"_changeMonth(-1)\"\n >\n <kirby-icon name=\"arrow-back\" aria-hidden=\"true\"></kirby-icon>\n </button>\n\n <div class=\"month-and-year\" [id]=\"_tableMonthId\" aria-live=\"polite\" aria-atomic=\"true\">\n <span class=\"month\">{{ activeMonthName }}</span>\n @if (!_hasYearNavigator) {\n <span class=\"year\">{{ activeYear }}</span>\n }\n </div>\n\n <button\n kirby-button\n type=\"button\"\n class=\"no-margin\"\n [attr.aria-label]=\"translations.get('nextMonth')\"\n [attr.aria-disabled]=\"_canNavigateForward ? null : true\"\n [noDecoration]=\"true\"\n (click)=\"_changeMonth(1)\"\n >\n <kirby-icon name=\"arrow-more\" aria-hidden=\"true\"></kirby-icon>\n </button>\n </div>\n @if (_hasYearNavigator) {\n <kirby-dropdown\n [usePopover]=\"usePopover\"\n [selectedIndex]=\"navigatedYear\"\n [items]=\"navigableYears\"\n [attr.aria-label]=\"translations.get('selectYear')\"\n popout=\"left\"\n (change)=\"_changeYear($event)\"\n ></kirby-dropdown>\n }\n</div>\n\n<table [attr.aria-labelledby]=\"_tableMonthId\" role=\"grid\">\n <thead>\n <tr>\n @for (weekDay of _weekDays; track weekDay.fullName) {\n <th scope=\"col\">\n <span aria-hidden=\"true\">{{ weekDay.firstLetterCapitalized }}</span>\n <span class=\"visually-hidden\">{{ weekDay.fullName }}</span>\n </th>\n }\n </tr>\n </thead>\n\n <tbody>\n @for (week of _month; track $index) {\n <tr>\n @for (day of week; track day.date + '-' + day.monthIndex + '-' + day.year) {\n <td [attr.aria-selected]=\"day.isSelected ? true : false\">\n <button\n kirby-button\n type=\"button\"\n (click)=\"_onDateSelected(day)\"\n (keydown)=\"_onDateKeydown($event)\"\n class=\"day\"\n [class.current-month]=\"day.isCurrentMonth\"\n [class.weekend]=\"day.isWeekend\"\n [class.today]=\"day.isToday\"\n [class.selectable]=\"day.isSelectable\"\n [class.selected]=\"day.isSelected\"\n [class.focussed]=\"day.isFocussed\"\n [class.past]=\"day.isPast\"\n [attr.aria-label]=\"day.ariaLabel\"\n [attr.aria-disabled]=\"day.isSelectable ? null : true\"\n [noDecoration]=\"true\"\n [disabled]=\"day.isFocusable ? null : true\"\n [tabIndex]=\"day.isFocussed ? 0 : -1\"\n >\n {{ day.date }}\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{font-size:16px}table{width:100%;border-collapse:collapse;-webkit-user-select:none;user-select:none;margin-bottom:8px}th,td{text-align:center;padding:0}th:first-child,td:first-child{padding-left:8px}th:last-child,td:last-child{padding-right:8px}th{height:50px;border-bottom:1px solid var(--kirby-background-color)}.header,th,td{background-color:transparent}.header{display:flex;justify-content:space-between;margin:8px 8px 0}.month-navigator{display:flex;flex-grow:1;align-items:center;justify-content:space-between}.month-and-year{-webkit-user-select:none;user-select:none;font-weight:700}.month-and-year .month{margin-right:8px}:host(.has-year-navigator) .month-navigator{flex-grow:0}:host(.has-year-navigator) .month-and-year{width:80px;margin:0 8px;text-align:center}:host(.has-year-navigator) .month{margin-right:0}.day{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;min-width:40px;min-height:40px;width:40px;height:40px;margin:4px 0;font-size:16px}.day:focus{z-index:1}button[aria-disabled=true]{color:#b4b4b4}.day.selectable:not(.current-month,.selected){color:var(--kirby-text-color-semi-dark)}.day.today{color:var(--kirby-medium-contrast);background-color:var(--kirby-medium)}.day.selected{color:var(--kirby-black-contrast);background-color:var(--kirby-black)}.visually-hidden{position:absolute;scale:0}\n"] }]
|
|
469
467
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
470
468
|
type: Inject,
|
|
471
469
|
args: [LOCALE_ID]
|