@kirbydesign/designsystem 5.3.1 → 6.0.0-rc.2
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/bundles/kirbydesign-designsystem-testing-base.umd.js +1988 -1260
- package/bundles/kirbydesign-designsystem-testing-base.umd.js.map +1 -1
- package/bundles/kirbydesign-designsystem-testing-jasmine.umd.js +34 -16
- package/bundles/kirbydesign-designsystem-testing-jasmine.umd.js.map +1 -1
- package/bundles/kirbydesign-designsystem-testing-jest.umd.js +34 -16
- package/bundles/kirbydesign-designsystem-testing-jest.umd.js.map +1 -1
- package/bundles/kirbydesign-designsystem.umd.js +9965 -9186
- package/bundles/kirbydesign-designsystem.umd.js.map +1 -1
- package/esm2015/kirbydesign-designsystem.js +1 -115
- package/esm2015/lib/components/accordion/accordion-item.component.js +31 -20
- package/esm2015/lib/components/accordion/accordion.directive.js +11 -7
- package/esm2015/lib/components/app/app.component.js +23 -18
- package/esm2015/lib/components/app/app.module.js +13 -8
- package/esm2015/lib/components/avatar/avatar.component.js +31 -19
- package/esm2015/lib/components/button/button.component.js +63 -34
- package/esm2015/lib/components/calendar/calendar.component.js +58 -34
- package/esm2015/lib/components/calendar/helpers/calendar.helper.js +8 -8
- package/esm2015/lib/components/card/card-footer/card-footer.component.js +14 -11
- package/esm2015/lib/components/card/card-header/card-header.component.js +26 -15
- package/esm2015/lib/components/card/card.component.js +34 -25
- package/esm2015/lib/components/chart/chart-js/chart-js.service.js +11 -9
- package/esm2015/lib/components/chart/chart-js/chartjs-plugin-marker/chartjs-plugin-marker.js +1 -3
- package/esm2015/lib/components/chart/chart.component.js +36 -39
- package/esm2015/lib/components/chart/chart.module.js +13 -8
- package/esm2015/lib/components/chart/configs/chart-config.service.js +7 -4
- package/esm2015/lib/components/chart/configs/interaction-functions-extensions.config.js +8 -10
- package/esm2015/lib/components/chart/configs/shared.utils.js +1 -1
- package/esm2015/lib/components/chart/configs/type.config.js +1 -3
- package/esm2015/lib/components/chart/index.js +2 -1
- package/esm2015/lib/components/chart-deprecated/chart-deprecated-helper.js +7 -4
- package/esm2015/lib/components/chart-deprecated/chart-deprecated.component.js +54 -36
- package/esm2015/lib/components/chart-deprecated/options/areaspline.js +7 -9
- package/esm2015/lib/components/chart-deprecated/options/donut.js +5 -7
- package/esm2015/lib/components/chart-deprecated/options/timeseries.js +8 -10
- package/esm2015/lib/components/checkbox/checkbox.component.js +47 -21
- package/esm2015/lib/components/chip/chip.component.js +24 -13
- package/esm2015/lib/components/divider/divider.component.js +16 -12
- package/esm2015/lib/components/dropdown/dropdown.component.js +154 -61
- package/esm2015/lib/components/dropdown/keyboard-handler.service.js +9 -7
- package/esm2015/lib/components/empty-state/empty-state.component.js +27 -16
- package/esm2015/lib/components/fab-sheet/fab-sheet.component.js +35 -22
- package/esm2015/lib/components/flag/flag.component.js +20 -14
- package/esm2015/lib/components/form-field/directives/date/date-input.directive.js +16 -15
- package/esm2015/lib/components/form-field/directives/decimal-mask/decimal-mask.directive.js +41 -28
- package/esm2015/lib/components/form-field/form-field-message/form-field-message.component.js +17 -13
- package/esm2015/lib/components/form-field/form-field.component.js +39 -26
- package/esm2015/lib/components/form-field/input/input.component.js +65 -23
- package/esm2015/lib/components/form-field/input-counter/input-counter.component.js +14 -10
- package/esm2015/lib/components/form-field/textarea/textarea.component.js +51 -20
- package/esm2015/lib/components/grid/breakpoint-helper.service.js +9 -9
- package/esm2015/lib/components/grid/grid.component.js +21 -18
- package/esm2015/lib/components/icon/icon-registry.service.js +11 -19
- package/esm2015/lib/components/icon/icon-settings.js +2 -3
- package/esm2015/lib/components/icon/icon.component.js +27 -20
- package/esm2015/lib/components/icon/icon.module.js +13 -8
- package/esm2015/lib/components/icon/index.js +1 -2
- package/esm2015/lib/components/icon/kirby-icon-settings.js +2 -4
- package/esm2015/lib/components/index.js +11 -10
- package/esm2015/lib/components/item/item.component.js +33 -16
- package/esm2015/lib/components/item/item.module.js +13 -8
- package/esm2015/lib/components/item/label/label.component.js +18 -12
- package/esm2015/lib/components/item-group/item-group.component.js +15 -11
- package/esm2015/lib/components/item-sliding/item-sliding.component.js +19 -12
- package/esm2015/lib/components/list/directives/infinite-scroll.directive.js +18 -17
- package/esm2015/lib/components/list/directives/list-item-color.directive.js +17 -11
- package/esm2015/lib/components/list/helpers/list-helper.js +7 -4
- package/esm2015/lib/components/list/index.js +2 -3
- package/esm2015/lib/components/list/list-experimental/list-experimental.component.js +20 -13
- package/esm2015/lib/components/list/list-header/list-header.component.js +14 -11
- package/esm2015/lib/components/list/list-item/list-item.component.js +38 -24
- package/esm2015/lib/components/list/list-section-header/list-section-header.component.js +15 -13
- package/esm2015/lib/components/list/list.component.js +81 -40
- package/esm2015/lib/components/list/list.directive.js +34 -45
- package/esm2015/lib/components/list/list.module.js +33 -12
- package/esm2015/lib/components/list/pipes/group-by.pipe.js +10 -6
- package/esm2015/lib/components/loading-overlay/loading-overlay.component.js +20 -13
- package/esm2015/lib/components/loading-overlay/loading-overlay.service.js +9 -13
- package/esm2015/lib/components/modal/action-sheet/action-sheet.component.js +32 -18
- package/esm2015/lib/components/modal/alert/alert.component.js +38 -26
- package/esm2015/lib/components/modal/alert/config/alert-config.js +1 -1
- package/esm2015/lib/components/modal/footer/modal-footer.component.js +25 -13
- package/esm2015/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.js +25 -21
- package/esm2015/lib/components/modal/modal-wrapper/config/modal-config.js +1 -1
- package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.js +124 -56
- package/esm2015/lib/components/modal/services/action-sheet.helper.js +8 -8
- package/esm2015/lib/components/modal/services/alert.helper.js +10 -20
- package/esm2015/lib/components/modal/services/modal-animation-builder.service.js +7 -10
- package/esm2015/lib/components/modal/services/modal-navigation.service.js +7 -10
- package/esm2015/lib/components/modal/services/modal.controller.js +17 -16
- package/esm2015/lib/components/modal/services/modal.helper.js +10 -10
- package/esm2015/lib/components/page/index.js +2 -1
- package/esm2015/lib/components/page/page-footer/page-footer.component.js +21 -18
- package/esm2015/lib/components/page/page.component.js +187 -110
- package/esm2015/lib/components/page/page.module.js +60 -32
- package/esm2015/lib/components/popover/popover.component.js +38 -34
- package/esm2015/lib/components/progress-circle/progress-circle-ring.component.js +29 -17
- package/esm2015/lib/components/progress-circle/progress-circle.component.js +30 -21
- package/esm2015/lib/components/radio/radio-group/radio-group.component.js +60 -34
- package/esm2015/lib/components/radio/radio.component.js +36 -17
- package/esm2015/lib/components/range/range.component.js +51 -29
- package/esm2015/lib/components/reorder-list/reorder-list.component.js +32 -21
- package/esm2015/lib/components/router-outlet/router-outlet.component.js +18 -12
- package/esm2015/lib/components/router-outlet/router-outlet.module.js +13 -8
- package/esm2015/lib/components/section-header/section-header.component.js +15 -9
- package/esm2015/lib/components/segmented-control/segment-item.js +1 -1
- package/esm2015/lib/components/segmented-control/segmented-control.component.js +38 -29
- package/esm2015/lib/components/shared/component-loader.directive.js +15 -16
- package/esm2015/lib/components/shared/resize-observer/resize-observer.factory.js +7 -5
- package/esm2015/lib/components/shared/resize-observer/resize-observer.service.js +7 -10
- package/esm2015/lib/components/slide-button/slide-button.component.js +22 -19
- package/esm2015/lib/components/slides/slides.component.js +42 -20
- package/esm2015/lib/components/spinner/index.js +3 -0
- package/esm2015/lib/components/spinner/spinner.component.js +14 -11
- package/esm2015/lib/components/spinner/spinner.module.js +14 -9
- package/esm2015/lib/components/stock-chart-deprecated/options/stock-chart-deprecated-options.js +9 -3
- package/esm2015/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.js +25 -20
- package/esm2015/lib/components/tabs/tab-button/tab-button.component.js +21 -18
- package/esm2015/lib/components/tabs/tabs.component.js +20 -16
- package/esm2015/lib/components/tabs/tabs.module.js +14 -9
- package/esm2015/lib/components/tabs/tabs.service.js +9 -7
- package/esm2015/lib/components/toast/config/toast-config.js +1 -1
- package/esm2015/lib/components/toast/services/toast.controller.js +8 -8
- package/esm2015/lib/components/toast/services/toast.helper.js +8 -12
- package/esm2015/lib/components/toggle/toggle.component.js +21 -14
- package/esm2015/lib/components/toggle-button/index.js +3 -0
- package/esm2015/lib/components/toggle-button/toggle-button.component.js +20 -13
- package/esm2015/lib/components/toggle-button/toggle-button.module.js +13 -8
- package/esm2015/lib/components/web-component-proxies.component.js +13 -15
- package/esm2015/lib/directives/element-as-button/element-as-button.directive.js +26 -17
- package/esm2015/lib/directives/fit-heading/fit-heading.directive.js +16 -17
- package/esm2015/lib/directives/fit-heading/fit-heading.module.js +12 -7
- package/esm2015/lib/directives/index.js +3 -1
- package/esm2015/lib/directives/key-handler/key-handler.directive.js +14 -14
- package/esm2015/lib/directives/modal-router-link/modal-router-link.directive.js +20 -15
- package/esm2015/lib/directives/theme-color/theme-color.directive.js +55 -24
- package/esm2015/lib/helpers/element-has-ancestor.js +1 -1
- package/esm2015/lib/helpers/line-clamp-helper.js +7 -8
- package/esm2015/lib/helpers/platform.service.js +9 -11
- package/esm2015/lib/index.js +1 -5
- package/esm2015/lib/kirby.module.js +166 -25
- package/esm2015/lib/types/window-ref.js +9 -7
- package/esm2015/testing-base/kirbydesign-designsystem-testing-base.js +1 -59
- package/esm2015/testing-base/lib/components/index.js +56 -0
- package/esm2015/testing-base/lib/components/mock.accordion-item.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.action-sheet.component.js +38 -24
- package/esm2015/testing-base/lib/components/mock.app.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.avatar.component.js +36 -23
- package/esm2015/testing-base/lib/components/mock.button.component.js +35 -23
- package/esm2015/testing-base/lib/components/mock.calendar.component.js +54 -32
- package/esm2015/testing-base/lib/components/mock.card-footer.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.card-header.component.js +30 -20
- package/esm2015/testing-base/lib/components/mock.card.component.js +34 -22
- package/esm2015/testing-base/lib/components/mock.chart-deprecated.component.js +38 -24
- package/esm2015/testing-base/lib/components/mock.chart.component.js +38 -25
- package/esm2015/testing-base/lib/components/mock.checkbox.component.js +36 -23
- package/esm2015/testing-base/lib/components/mock.chip.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.divider.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.dropdown.component.js +48 -29
- package/esm2015/testing-base/lib/components/mock.empty-state.component.js +30 -20
- package/esm2015/testing-base/lib/components/mock.fab-sheet.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.flag.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.form-field-message.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.form-field.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.grid.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.icon.component.js +28 -19
- package/esm2015/testing-base/lib/components/mock.input-counter.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.input.component.js +41 -26
- package/esm2015/testing-base/lib/components/mock.item-group.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.item-sliding.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.item.component.js +32 -21
- package/esm2015/testing-base/lib/components/mock.label.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.list-experimental.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.list-header.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.list-item.component.js +40 -25
- package/esm2015/testing-base/lib/components/mock.list-section-header.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.list.component.js +50 -30
- package/esm2015/testing-base/lib/components/mock.loading-overlay.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.modal-footer.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.page-footer.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.page.component.js +228 -125
- package/esm2015/testing-base/lib/components/mock.popover.component.js +28 -19
- package/esm2015/testing-base/lib/components/mock.progress-circle.component.js +28 -19
- package/esm2015/testing-base/lib/components/mock.radio-group.component.js +38 -24
- package/esm2015/testing-base/lib/components/mock.radio.component.js +30 -20
- package/esm2015/testing-base/lib/components/mock.range.component.js +44 -27
- package/esm2015/testing-base/lib/components/mock.reorder-list.component.js +32 -21
- package/esm2015/testing-base/lib/components/mock.router-outlet.component.js +24 -17
- package/esm2015/testing-base/lib/components/mock.section-header.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.segmented-control.component.js +34 -22
- package/esm2015/testing-base/lib/components/mock.slide-button.component.js +30 -20
- package/esm2015/testing-base/lib/components/mock.slides.component.js +51 -0
- package/esm2015/testing-base/lib/components/mock.spinner.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.tab-button.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.tabs.component.js +22 -14
- package/esm2015/testing-base/lib/components/mock.textarea.component.js +35 -23
- package/esm2015/testing-base/lib/components/mock.toggle-button.component.js +26 -18
- package/esm2015/testing-base/lib/components/mock.toggle.component.js +28 -19
- package/esm2015/testing-base/lib/components/mock.web-component-proxies.component.js +33 -0
- package/esm2015/testing-base/lib/directives/index.js +4 -0
- package/esm2015/testing-base/lib/directives/mock.accordion.directive.js +22 -13
- package/esm2015/testing-base/lib/directives/mock.fit-heading.directive.js +24 -15
- package/esm2015/testing-base/lib/directives/mock.theme-color.directive.js +24 -16
- package/esm2015/testing-base/lib/index.js +4 -0
- package/esm2015/testing-base/lib/kirby-testing-base.module.js +69 -7
- package/esm2015/testing-base/lib/mock-components.js +5 -2
- package/esm2015/testing-base/public_api.js +2 -2
- package/esm2015/testing-jasmine/kirbydesign-designsystem-testing-jasmine.js +1 -2
- package/esm2015/testing-jasmine/lib/kirby-testing.module.js +14 -8
- package/esm2015/testing-jest/kirbydesign-designsystem-testing-jest.js +1 -2
- package/esm2015/testing-jest/lib/kirby-testing.module.js +14 -8
- package/fesm2015/kirbydesign-designsystem-testing-base.js +1859 -1164
- package/fesm2015/kirbydesign-designsystem-testing-base.js.map +1 -1
- package/fesm2015/kirbydesign-designsystem-testing-jasmine.js +13 -8
- package/fesm2015/kirbydesign-designsystem-testing-jasmine.js.map +1 -1
- package/fesm2015/kirbydesign-designsystem-testing-jest.js +13 -8
- package/fesm2015/kirbydesign-designsystem-testing-jest.js.map +1 -1
- package/fesm2015/kirbydesign-designsystem.js +5374 -4465
- package/fesm2015/kirbydesign-designsystem.js.map +1 -1
- package/kirbydesign-designsystem.d.ts +1 -114
- package/lib/components/accordion/accordion-item.component.d.ts +3 -0
- package/lib/components/accordion/accordion.directive.d.ts +3 -0
- package/lib/components/app/app.component.d.ts +3 -0
- package/lib/components/app/app.module.d.ts +7 -0
- package/lib/components/avatar/avatar.component.d.ts +4 -1
- package/lib/components/button/button.component.d.ts +4 -1
- package/lib/components/calendar/calendar.component.d.ts +3 -0
- package/lib/components/calendar/helpers/calendar.helper.d.ts +3 -0
- package/lib/components/card/card-footer/card-footer.component.d.ts +3 -0
- package/lib/components/card/card-header/card-header.component.d.ts +3 -0
- package/lib/components/card/card.component.d.ts +3 -0
- package/lib/components/chart/chart-js/chart-js.service.d.ts +3 -0
- package/lib/components/chart/chart.component.d.ts +4 -4
- package/lib/components/chart/chart.module.d.ts +5 -0
- package/lib/components/chart/configs/chart-config.service.d.ts +4 -1
- package/lib/components/chart/index.d.ts +1 -0
- package/lib/components/chart-deprecated/chart-deprecated-helper.d.ts +3 -0
- package/lib/components/chart-deprecated/chart-deprecated.component.d.ts +3 -0
- package/lib/components/checkbox/checkbox.component.d.ts +3 -0
- package/lib/components/chip/chip.component.d.ts +3 -0
- package/lib/components/divider/divider.component.d.ts +3 -0
- package/lib/components/dropdown/dropdown.component.d.ts +3 -0
- package/lib/components/dropdown/keyboard-handler.service.d.ts +3 -0
- package/lib/components/empty-state/empty-state.component.d.ts +3 -0
- package/lib/components/fab-sheet/fab-sheet.component.d.ts +3 -0
- package/lib/components/flag/flag.component.d.ts +3 -0
- package/lib/components/form-field/directives/date/date-input.directive.d.ts +3 -0
- package/lib/components/form-field/directives/decimal-mask/decimal-mask.directive.d.ts +3 -0
- package/lib/components/form-field/form-field-message/form-field-message.component.d.ts +3 -0
- package/lib/components/form-field/form-field.component.d.ts +3 -0
- package/lib/components/form-field/input/input.component.d.ts +3 -0
- package/lib/components/form-field/input-counter/input-counter.component.d.ts +3 -0
- package/lib/components/form-field/textarea/textarea.component.d.ts +3 -0
- package/lib/components/grid/breakpoint-helper.service.d.ts +3 -0
- package/lib/components/grid/grid.component.d.ts +3 -0
- package/lib/components/icon/icon-registry.service.d.ts +4 -2
- package/lib/components/icon/icon-settings.d.ts +0 -2
- package/lib/components/icon/icon.component.d.ts +3 -0
- package/lib/components/icon/icon.module.d.ts +6 -0
- package/lib/components/icon/index.d.ts +1 -1
- package/lib/components/index.d.ts +10 -9
- package/lib/components/item/item.component.d.ts +3 -0
- package/lib/components/item/item.module.d.ts +9 -0
- package/lib/components/item/label/label.component.d.ts +3 -0
- package/lib/components/item-group/item-group.component.d.ts +3 -0
- package/lib/components/item-sliding/item-sliding.component.d.ts +3 -0
- package/lib/components/list/directives/infinite-scroll.directive.d.ts +3 -0
- package/lib/components/list/directives/list-item-color.directive.d.ts +3 -0
- package/lib/components/list/helpers/list-helper.d.ts +3 -0
- package/lib/components/list/index.d.ts +1 -2
- package/lib/components/list/list-experimental/list-experimental.component.d.ts +3 -0
- package/lib/components/list/list-header/list-header.component.d.ts +3 -0
- package/lib/components/list/list-item/list-item.component.d.ts +3 -0
- package/lib/components/list/list-section-header/list-section-header.component.d.ts +3 -0
- package/lib/components/list/list.component.d.ts +3 -0
- package/lib/components/list/list.directive.d.ts +9 -6
- package/lib/components/list/list.module.d.ts +16 -0
- package/lib/components/list/pipes/group-by.pipe.d.ts +3 -0
- package/lib/components/loading-overlay/loading-overlay.component.d.ts +3 -0
- package/lib/components/loading-overlay/loading-overlay.service.d.ts +3 -0
- package/lib/components/modal/action-sheet/action-sheet.component.d.ts +3 -0
- package/lib/components/modal/alert/alert.component.d.ts +5 -2
- package/lib/components/modal/alert/config/alert-config.d.ts +0 -8
- package/lib/components/modal/footer/modal-footer.component.d.ts +3 -0
- package/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.d.ts +3 -0
- package/lib/components/modal/modal-wrapper/config/modal-config.d.ts +1 -8
- package/lib/components/modal/modal-wrapper/modal-wrapper.component.d.ts +5 -0
- package/lib/components/modal/services/action-sheet.helper.d.ts +3 -0
- package/lib/components/modal/services/alert.helper.d.ts +4 -2
- package/lib/components/modal/services/modal-animation-builder.service.d.ts +3 -0
- package/lib/components/modal/services/modal-navigation.service.d.ts +3 -0
- package/lib/components/modal/services/modal.controller.d.ts +3 -0
- package/lib/components/modal/services/modal.helper.d.ts +3 -0
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/page/page-footer/page-footer.component.d.ts +3 -0
- package/lib/components/page/page.component.d.ts +26 -0
- package/lib/components/page/page.module.d.ts +10 -0
- package/lib/components/popover/popover.component.d.ts +4 -2
- package/lib/components/progress-circle/progress-circle-ring.component.d.ts +3 -0
- package/lib/components/progress-circle/progress-circle.component.d.ts +3 -0
- package/lib/components/radio/radio-group/radio-group.component.d.ts +3 -0
- package/lib/components/radio/radio.component.d.ts +3 -0
- package/lib/components/range/range.component.d.ts +3 -0
- package/lib/components/reorder-list/reorder-list.component.d.ts +3 -0
- package/lib/components/router-outlet/router-outlet.component.d.ts +3 -0
- package/lib/components/router-outlet/router-outlet.module.d.ts +7 -0
- package/lib/components/section-header/section-header.component.d.ts +3 -0
- package/lib/components/segmented-control/segment-item.d.ts +0 -4
- package/lib/components/segmented-control/segmented-control.component.d.ts +3 -0
- package/lib/components/shared/component-loader.directive.d.ts +3 -0
- package/lib/components/shared/resize-observer/resize-observer.factory.d.ts +3 -0
- package/lib/components/shared/resize-observer/resize-observer.service.d.ts +3 -0
- package/lib/components/slide-button/slide-button.component.d.ts +3 -0
- package/lib/components/slides/slides.component.d.ts +5 -0
- package/lib/components/spinner/index.d.ts +2 -0
- package/lib/components/spinner/spinner.component.d.ts +3 -0
- package/lib/components/spinner/spinner.module.d.ts +6 -0
- package/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.d.ts +3 -0
- package/lib/components/tabs/tab-button/tab-button.component.d.ts +3 -0
- package/lib/components/tabs/tabs.component.d.ts +3 -0
- package/lib/components/tabs/tabs.module.d.ts +9 -0
- package/lib/components/tabs/tabs.service.d.ts +3 -0
- package/lib/components/toast/config/toast-config.d.ts +1 -4
- package/lib/components/toast/services/toast.controller.d.ts +3 -0
- package/lib/components/toast/services/toast.helper.d.ts +3 -0
- package/lib/components/toggle/toggle.component.d.ts +3 -0
- package/lib/components/toggle-button/index.d.ts +2 -0
- package/lib/components/toggle-button/toggle-button.component.d.ts +3 -0
- package/lib/components/toggle-button/toggle-button.module.d.ts +6 -0
- package/lib/components/web-component-proxies.component.d.ts +3 -0
- package/lib/custom-elements-initializer.d.ts +1 -1
- package/lib/directives/element-as-button/element-as-button.directive.d.ts +3 -0
- package/lib/directives/fit-heading/fit-heading.directive.d.ts +3 -0
- package/lib/directives/fit-heading/fit-heading.module.d.ts +5 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/key-handler/key-handler.directive.d.ts +3 -0
- package/lib/directives/modal-router-link/modal-router-link.directive.d.ts +3 -0
- package/lib/directives/theme-color/theme-color.directive.d.ts +3 -0
- package/lib/helpers/line-clamp-helper.d.ts +3 -0
- package/lib/helpers/platform.service.d.ts +3 -0
- package/lib/index.d.ts +0 -1
- package/lib/kirby.module.d.ts +69 -0
- package/lib/types/window-ref.d.ts +3 -0
- package/package.json +3 -4
- package/readme.md +6 -79
- package/scss/base/_link.scss +1 -0
- package/scss/interaction-state/_active.scss +1 -0
- package/scss/interaction-state/_focus.scss +1 -0
- package/scss/interaction-state/_hover.scss +1 -0
- package/scss/interaction-state/_index.scss +1 -0
- package/scss/interaction-state/_interaction-state.utilities.scss +1 -0
- package/scss/interaction-state/_layer.scss +1 -0
- package/scss/opt-out/_index.scss +1 -0
- package/scss/opt-out/_link.scss +1 -0
- package/testing-base/kirbydesign-designsystem-testing-base.d.ts +1 -58
- package/testing-base/lib/components/index.d.ts +55 -0
- package/testing-base/lib/components/mock.accordion-item.component.d.ts +3 -0
- package/testing-base/lib/components/mock.action-sheet.component.d.ts +3 -0
- package/testing-base/lib/components/mock.app.component.d.ts +3 -0
- package/testing-base/lib/components/mock.avatar.component.d.ts +3 -0
- package/testing-base/lib/components/mock.button.component.d.ts +3 -0
- package/testing-base/lib/components/mock.calendar.component.d.ts +3 -0
- package/testing-base/lib/components/mock.card-footer.component.d.ts +3 -0
- package/testing-base/lib/components/mock.card-header.component.d.ts +3 -0
- package/testing-base/lib/components/mock.card.component.d.ts +3 -0
- package/testing-base/lib/components/mock.chart-deprecated.component.d.ts +3 -0
- package/testing-base/lib/components/mock.chart.component.d.ts +3 -1
- package/testing-base/lib/components/mock.checkbox.component.d.ts +3 -0
- package/testing-base/lib/components/mock.chip.component.d.ts +3 -0
- package/testing-base/lib/components/mock.divider.component.d.ts +3 -0
- package/testing-base/lib/components/mock.dropdown.component.d.ts +3 -0
- package/testing-base/lib/components/mock.empty-state.component.d.ts +3 -0
- package/testing-base/lib/components/mock.fab-sheet.component.d.ts +3 -0
- package/testing-base/lib/components/mock.flag.component.d.ts +3 -0
- package/testing-base/lib/components/mock.form-field-message.component.d.ts +3 -0
- package/testing-base/lib/components/mock.form-field.component.d.ts +3 -0
- package/testing-base/lib/components/mock.grid.component.d.ts +3 -0
- package/testing-base/lib/components/mock.icon.component.d.ts +3 -0
- package/testing-base/lib/components/mock.input-counter.component.d.ts +3 -0
- package/testing-base/lib/components/mock.input.component.d.ts +3 -0
- package/testing-base/lib/components/mock.item-group.component.d.ts +3 -0
- package/testing-base/lib/components/mock.item-sliding.component.d.ts +3 -0
- package/testing-base/lib/components/mock.item.component.d.ts +3 -0
- package/testing-base/lib/components/mock.label.component.d.ts +3 -0
- package/testing-base/lib/components/mock.list-experimental.component.d.ts +3 -0
- package/testing-base/lib/components/mock.list-header.component.d.ts +3 -0
- package/testing-base/lib/components/mock.list-item.component.d.ts +3 -0
- package/testing-base/lib/components/mock.list-section-header.component.d.ts +3 -0
- package/testing-base/lib/components/mock.list.component.d.ts +3 -0
- package/testing-base/lib/components/mock.loading-overlay.component.d.ts +3 -0
- package/testing-base/lib/components/mock.modal-footer.component.d.ts +3 -0
- package/testing-base/lib/components/mock.page-footer.component.d.ts +3 -0
- package/testing-base/lib/components/mock.page.component.d.ts +24 -0
- package/testing-base/lib/components/mock.popover.component.d.ts +3 -0
- package/testing-base/lib/components/mock.progress-circle.component.d.ts +3 -0
- package/testing-base/lib/components/mock.radio-group.component.d.ts +3 -0
- package/testing-base/lib/components/mock.radio.component.d.ts +3 -0
- package/testing-base/lib/components/mock.range.component.d.ts +3 -0
- package/testing-base/lib/components/mock.reorder-list.component.d.ts +3 -0
- package/testing-base/lib/components/mock.router-outlet.component.d.ts +3 -0
- package/testing-base/lib/components/mock.section-header.component.d.ts +3 -0
- package/testing-base/lib/components/mock.segmented-control.component.d.ts +3 -0
- package/testing-base/lib/components/mock.slide-button.component.d.ts +3 -0
- package/testing-base/lib/components/mock.slides.component.d.ts +11 -0
- package/testing-base/lib/components/mock.spinner.component.d.ts +3 -0
- package/testing-base/lib/components/mock.tab-button.component.d.ts +3 -0
- package/testing-base/lib/components/mock.tabs.component.d.ts +3 -0
- package/testing-base/lib/components/mock.textarea.component.d.ts +3 -0
- package/testing-base/lib/components/mock.toggle-button.component.d.ts +3 -0
- package/testing-base/lib/components/mock.toggle.component.d.ts +3 -0
- package/testing-base/lib/components/mock.web-component-proxies.component.d.ts +8 -0
- package/testing-base/lib/directives/index.d.ts +3 -0
- package/testing-base/lib/directives/mock.accordion.directive.d.ts +3 -0
- package/testing-base/lib/directives/mock.fit-heading.directive.d.ts +3 -0
- package/testing-base/lib/directives/mock.theme-color.directive.d.ts +3 -0
- package/testing-base/lib/index.d.ts +3 -0
- package/testing-base/lib/kirby-testing-base.module.d.ts +61 -0
- package/testing-base/package.json +0 -1
- package/testing-base/public_api.d.ts +1 -1
- package/testing-jasmine/kirbydesign-designsystem-testing-jasmine.d.ts +1 -1
- package/testing-jasmine/lib/kirby-testing.module.d.ts +5 -0
- package/testing-jasmine/package.json +0 -1
- package/testing-jest/kirbydesign-designsystem-testing-jest.d.ts +1 -1
- package/testing-jest/lib/kirby-testing.module.d.ts +5 -0
- package/testing-jest/package.json +0 -1
- package/README.md +0 -7
- package/bundles/kirbydesign-designsystem-testing-base.umd.min.js +0 -2
- package/bundles/kirbydesign-designsystem-testing-base.umd.min.js.map +0 -1
- package/bundles/kirbydesign-designsystem-testing-jasmine.umd.min.js +0 -16
- package/bundles/kirbydesign-designsystem-testing-jasmine.umd.min.js.map +0 -1
- package/bundles/kirbydesign-designsystem-testing-jest.umd.min.js +0 -16
- package/bundles/kirbydesign-designsystem-testing-jest.umd.min.js.map +0 -1
- package/bundles/kirbydesign-designsystem.umd.min.js +0 -2
- package/bundles/kirbydesign-designsystem.umd.min.js.map +0 -1
- package/esm2015/index.metadata.json +0 -1
- package/esm2015/kirbydesign-designsystem.metadata.json +0 -1
- package/esm2015/lib/components/accordion/accordion-item.component.metadata.json +0 -1
- package/esm2015/lib/components/accordion/accordion.directive.metadata.json +0 -1
- package/esm2015/lib/components/accordion/index.metadata.json +0 -1
- package/esm2015/lib/components/angular-component-lib/utils.metadata.json +0 -1
- package/esm2015/lib/components/app/app.component.metadata.json +0 -1
- package/esm2015/lib/components/app/app.module.metadata.json +0 -1
- package/esm2015/lib/components/app/index.metadata.json +0 -1
- package/esm2015/lib/components/avatar/avatar.component.metadata.json +0 -1
- package/esm2015/lib/components/button/button.component.metadata.json +0 -1
- package/esm2015/lib/components/calendar/calendar.component.metadata.json +0 -1
- package/esm2015/lib/components/calendar/helpers/calendar-cell.model.metadata.json +0 -1
- package/esm2015/lib/components/calendar/helpers/calendar-options.model.metadata.json +0 -1
- package/esm2015/lib/components/calendar/helpers/calendar.helper.metadata.json +0 -1
- package/esm2015/lib/components/calendar/index.metadata.json +0 -1
- package/esm2015/lib/components/calendar/options/calendar-year-navigator-config.metadata.json +0 -1
- package/esm2015/lib/components/card/card-footer/card-footer.component.metadata.json +0 -1
- package/esm2015/lib/components/card/card-header/card-header.component.metadata.json +0 -1
- package/esm2015/lib/components/card/card.component.metadata.json +0 -1
- package/esm2015/lib/components/card/index.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart-js/chart-js.service.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart-js/chartjs-plugin-marker/chartjs-plugin-marker.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart-js/configured-chart-js.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart.component.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart.module.metadata.json +0 -1
- package/esm2015/lib/components/chart/chart.types.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/annotations.config.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/chart-config.service.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/global-defaults.config.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/interaction-functions-extensions.config.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/shared.utils.metadata.json +0 -1
- package/esm2015/lib/components/chart/configs/type.config.metadata.json +0 -1
- package/esm2015/lib/components/chart/index.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/chart-deprecated-helper.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/chart-deprecated-type.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/chart-deprecated.component.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/index.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/activitygauge.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/areaspline.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/bar.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/column.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/donut.metadata.json +0 -1
- package/esm2015/lib/components/chart-deprecated/options/timeseries.metadata.json +0 -1
- package/esm2015/lib/components/checkbox/checkbox.component.metadata.json +0 -1
- package/esm2015/lib/components/chip/chip.component.metadata.json +0 -1
- package/esm2015/lib/components/divider/divider.component.metadata.json +0 -1
- package/esm2015/lib/components/dropdown/dropdown.component.metadata.json +0 -1
- package/esm2015/lib/components/dropdown/dropdown.types.metadata.json +0 -1
- package/esm2015/lib/components/dropdown/keyboard-handler.service.metadata.json +0 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +0 -1
- package/esm2015/lib/components/fab-sheet/fab-sheet.component.metadata.json +0 -1
- package/esm2015/lib/components/flag/flag.component.metadata.json +0 -1
- package/esm2015/lib/components/form-field/directives/date/date-input.directive.metadata.json +0 -1
- package/esm2015/lib/components/form-field/directives/decimal-mask/decimal-mask.directive.metadata.json +0 -1
- package/esm2015/lib/components/form-field/form-field-message/form-field-message.component.metadata.json +0 -1
- package/esm2015/lib/components/form-field/form-field.component.metadata.json +0 -1
- package/esm2015/lib/components/form-field/index.metadata.json +0 -1
- package/esm2015/lib/components/form-field/input/input.component.metadata.json +0 -1
- package/esm2015/lib/components/form-field/input-counter/input-counter.component.metadata.json +0 -1
- package/esm2015/lib/components/form-field/textarea/textarea.component.metadata.json +0 -1
- package/esm2015/lib/components/grid/breakpoint-helper.service.metadata.json +0 -1
- package/esm2015/lib/components/grid/grid-card-configuration.metadata.json +0 -1
- package/esm2015/lib/components/grid/grid.component.metadata.json +0 -1
- package/esm2015/lib/components/icon/icon-registry.service.metadata.json +0 -1
- package/esm2015/lib/components/icon/icon-settings.metadata.json +0 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +0 -1
- package/esm2015/lib/components/icon/icon.module.metadata.json +0 -1
- package/esm2015/lib/components/icon/index.metadata.json +0 -1
- package/esm2015/lib/components/icon/kirby-icon-settings.metadata.json +0 -1
- package/esm2015/lib/components/index.metadata.json +0 -1
- package/esm2015/lib/components/item/index.metadata.json +0 -1
- package/esm2015/lib/components/item/item.component.metadata.json +0 -1
- package/esm2015/lib/components/item/item.module.metadata.json +0 -1
- package/esm2015/lib/components/item/label/label.component.metadata.json +0 -1
- package/esm2015/lib/components/item-group/item-group.component.metadata.json +0 -1
- package/esm2015/lib/components/item-sliding/index.metadata.json +0 -1
- package/esm2015/lib/components/item-sliding/item-sliding.component.metadata.json +0 -1
- package/esm2015/lib/components/item-sliding/item-sliding.types.metadata.json +0 -1
- package/esm2015/lib/components/list/directives/infinite-scroll.directive.metadata.json +0 -1
- package/esm2015/lib/components/list/directives/list-item-color.directive.metadata.json +0 -1
- package/esm2015/lib/components/list/directives/scroll.model.metadata.json +0 -1
- package/esm2015/lib/components/list/helpers/list-helper.metadata.json +0 -1
- package/esm2015/lib/components/list/index.metadata.json +0 -1
- package/esm2015/lib/components/list/list-experimental/list-experimental.component.metadata.json +0 -1
- package/esm2015/lib/components/list/list-header/list-header.component.metadata.json +0 -1
- package/esm2015/lib/components/list/list-item/list-item.component.metadata.json +0 -1
- package/esm2015/lib/components/list/list-section-header/list-section-header.component.metadata.json +0 -1
- package/esm2015/lib/components/list/list-swipe-action.type.metadata.json +0 -1
- package/esm2015/lib/components/list/list.component.metadata.json +0 -1
- package/esm2015/lib/components/list/list.directive.metadata.json +0 -1
- package/esm2015/lib/components/list/list.event.metadata.json +0 -1
- package/esm2015/lib/components/list/list.module.metadata.json +0 -1
- package/esm2015/lib/components/list/pipes/group-by.pipe.metadata.json +0 -1
- package/esm2015/lib/components/loading-overlay/index.metadata.json +0 -1
- package/esm2015/lib/components/loading-overlay/loading-overlay.component.metadata.json +0 -1
- package/esm2015/lib/components/loading-overlay/loading-overlay.service.metadata.json +0 -1
- package/esm2015/lib/components/modal/action-sheet/action-sheet.component.metadata.json +0 -1
- package/esm2015/lib/components/modal/action-sheet/config/action-sheet-config.metadata.json +0 -1
- package/esm2015/lib/components/modal/action-sheet/config/action-sheet-item.metadata.json +0 -1
- package/esm2015/lib/components/modal/alert/alert.component.metadata.json +0 -1
- package/esm2015/lib/components/modal/alert/config/alert-config.metadata.json +0 -1
- package/esm2015/lib/components/modal/footer/modal-footer.component.metadata.json +0 -1
- package/esm2015/lib/components/modal/index.metadata.json +0 -1
- package/esm2015/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.metadata.json +0 -1
- package/esm2015/lib/components/modal/modal-wrapper/config/drawer-supplementary-action.metadata.json +0 -1
- package/esm2015/lib/components/modal/modal-wrapper/config/modal-config.helper.metadata.json +0 -1
- package/esm2015/lib/components/modal/modal-wrapper/config/modal-config.metadata.json +0 -1
- package/esm2015/lib/components/modal/modal-wrapper/modal-wrapper.component.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/action-sheet.helper.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/alert.helper.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/modal-animation-builder.service.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/modal-navigation.service.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/modal.controller.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/modal.helper.metadata.json +0 -1
- package/esm2015/lib/components/modal/services/modal.interfaces.metadata.json +0 -1
- package/esm2015/lib/components/page/index.metadata.json +0 -1
- package/esm2015/lib/components/page/page-footer/page-footer.component.metadata.json +0 -1
- package/esm2015/lib/components/page/page.component.metadata.json +0 -1
- package/esm2015/lib/components/page/page.module.metadata.json +0 -1
- package/esm2015/lib/components/popover/popover.component.metadata.json +0 -1
- package/esm2015/lib/components/progress-circle/progress-circle-ring.component.metadata.json +0 -1
- package/esm2015/lib/components/progress-circle/progress-circle.component.metadata.json +0 -1
- package/esm2015/lib/components/radio/index.metadata.json +0 -1
- package/esm2015/lib/components/radio/radio-group/radio-group.component.metadata.json +0 -1
- package/esm2015/lib/components/radio/radio.component.metadata.json +0 -1
- package/esm2015/lib/components/range/range.component.metadata.json +0 -1
- package/esm2015/lib/components/reorder-list/index.metadata.json +0 -1
- package/esm2015/lib/components/reorder-list/reorder-event.metadata.json +0 -1
- package/esm2015/lib/components/reorder-list/reorder-list.component.metadata.json +0 -1
- package/esm2015/lib/components/router-outlet/index.metadata.json +0 -1
- package/esm2015/lib/components/router-outlet/router-outlet.component.metadata.json +0 -1
- package/esm2015/lib/components/router-outlet/router-outlet.module.metadata.json +0 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +0 -1
- package/esm2015/lib/components/segmented-control/segment-item.metadata.json +0 -1
- package/esm2015/lib/components/segmented-control/segmented-control.component.metadata.json +0 -1
- package/esm2015/lib/components/shared/component-configuration.metadata.json +0 -1
- package/esm2015/lib/components/shared/component-loader.directive.metadata.json +0 -1
- package/esm2015/lib/components/shared/dynamic-component.metadata.json +0 -1
- package/esm2015/lib/components/shared/index.metadata.json +0 -1
- package/esm2015/lib/components/shared/resize-observer/resize-observer.factory.metadata.json +0 -1
- package/esm2015/lib/components/shared/resize-observer/resize-observer.service.metadata.json +0 -1
- package/esm2015/lib/components/shared/resize-observer/types/resize-observer-callback.metadata.json +0 -1
- package/esm2015/lib/components/shared/resize-observer/types/resize-observer-entry.metadata.json +0 -1
- package/esm2015/lib/components/shared/resize-observer/types/resize-observer.metadata.json +0 -1
- package/esm2015/lib/components/slide-button/slide-button.component.metadata.json +0 -1
- package/esm2015/lib/components/slides/slides.component.metadata.json +0 -1
- package/esm2015/lib/components/spinner/spinner.component.metadata.json +0 -1
- package/esm2015/lib/components/spinner/spinner.module.metadata.json +0 -1
- package/esm2015/lib/components/stock-chart-deprecated/index.metadata.json +0 -1
- package/esm2015/lib/components/stock-chart-deprecated/options/stock-chart-deprecated-options.metadata.json +0 -1
- package/esm2015/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.metadata.json +0 -1
- package/esm2015/lib/components/tabs/index.metadata.json +0 -1
- package/esm2015/lib/components/tabs/tab-button/tab-button.component.metadata.json +0 -1
- package/esm2015/lib/components/tabs/tab-button/tab-button.events.metadata.json +0 -1
- package/esm2015/lib/components/tabs/tabs.component.metadata.json +0 -1
- package/esm2015/lib/components/tabs/tabs.module.metadata.json +0 -1
- package/esm2015/lib/components/tabs/tabs.service.metadata.json +0 -1
- package/esm2015/lib/components/toast/config/toast-config.metadata.json +0 -1
- package/esm2015/lib/components/toast/index.metadata.json +0 -1
- package/esm2015/lib/components/toast/services/toast.controller.metadata.json +0 -1
- package/esm2015/lib/components/toast/services/toast.helper.metadata.json +0 -1
- package/esm2015/lib/components/toggle/toggle.component.metadata.json +0 -1
- package/esm2015/lib/components/toggle-button/toggle-button.component.metadata.json +0 -1
- package/esm2015/lib/components/toggle-button/toggle-button.module.metadata.json +0 -1
- package/esm2015/lib/components/web-component-proxies.component.metadata.json +0 -1
- package/esm2015/lib/custom-elements-initializer.metadata.json +0 -1
- package/esm2015/lib/directives/element-as-button/element-as-button.directive.metadata.json +0 -1
- package/esm2015/lib/directives/fit-heading/fit-heading.directive.metadata.json +0 -1
- package/esm2015/lib/directives/fit-heading/fit-heading.module.metadata.json +0 -1
- package/esm2015/lib/directives/index.metadata.json +0 -1
- package/esm2015/lib/directives/key-handler/key-handler.directive.metadata.json +0 -1
- package/esm2015/lib/directives/modal-router-link/modal-router-link.directive.metadata.json +0 -1
- package/esm2015/lib/directives/theme-color/theme-color.directive.metadata.json +0 -1
- package/esm2015/lib/helpers/color-helper.metadata.json +0 -1
- package/esm2015/lib/helpers/deep-copy.metadata.json +0 -1
- package/esm2015/lib/helpers/design-token-helper.metadata.json +0 -1
- package/esm2015/lib/helpers/element-has-ancestor.metadata.json +0 -1
- package/esm2015/lib/helpers/index.metadata.json +0 -1
- package/esm2015/lib/helpers/line-clamp-helper.metadata.json +0 -1
- package/esm2015/lib/helpers/merge-deep.metadata.json +0 -1
- package/esm2015/lib/helpers/platform.service.metadata.json +0 -1
- package/esm2015/lib/helpers/string-helper.metadata.json +0 -1
- package/esm2015/lib/helpers/theme-color.type.metadata.json +0 -1
- package/esm2015/lib/helpers/unique-id-generator.helper.metadata.json +0 -1
- package/esm2015/lib/index.metadata.json +0 -1
- package/esm2015/lib/kirby.module.metadata.json +0 -1
- package/esm2015/lib/scss/scss-helper.metadata.json +0 -1
- package/esm2015/lib/types/window-ref.metadata.json +0 -1
- package/esm2015/testing-base/kirbydesign-designsystem-testing-base.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.accordion-item.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.action-sheet.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.app.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.avatar.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.button.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.calendar.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.card-footer.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.card-header.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.card.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.chart-deprecated.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.chart.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.checkbox.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.chip.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.divider.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.dropdown.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.empty-state.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.fab-sheet.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.flag.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.form-field-message.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.form-field.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.grid.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.icon.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.input-counter.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.input.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.item-group.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.item-sliding.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.item.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.label.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.list-experimental.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.list-header.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.list-item.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.list-section-header.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.list.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.loading-overlay.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.modal-footer.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.page-footer.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.page.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.popover.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.progress-circle.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.radio-group.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.radio.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.range.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.reorder-list.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.router-outlet.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.section-header.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.segmented-control.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.slide-button.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.spinner.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.tab-button.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.tabs.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.textarea.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.toggle-button.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/components/mock.toggle.component.metadata.json +0 -1
- package/esm2015/testing-base/lib/directives/mock.accordion.directive.metadata.json +0 -1
- package/esm2015/testing-base/lib/directives/mock.fit-heading.directive.metadata.json +0 -1
- package/esm2015/testing-base/lib/directives/mock.theme-color.directive.metadata.json +0 -1
- package/esm2015/testing-base/lib/kirby-testing-base.module.metadata.json +0 -1
- package/esm2015/testing-base/lib/mock-components.metadata.json +0 -1
- package/esm2015/testing-base/lib/mock-directives.metadata.json +0 -1
- package/esm2015/testing-base/public_api.metadata.json +0 -1
- package/esm2015/testing-jasmine/kirbydesign-designsystem-testing-jasmine.metadata.json +0 -1
- package/esm2015/testing-jasmine/lib/kirby-testing.module.metadata.json +0 -1
- package/esm2015/testing-jasmine/lib/mock-providers.metadata.json +0 -1
- package/esm2015/testing-jasmine/public_api.metadata.json +0 -1
- package/esm2015/testing-jest/kirbydesign-designsystem-testing-jest.metadata.json +0 -1
- package/esm2015/testing-jest/lib/kirby-testing.module.metadata.json +0 -1
- package/esm2015/testing-jest/lib/mock-providers.metadata.json +0 -1
- package/esm2015/testing-jest/public_api.metadata.json +0 -1
- package/kirbydesign-designsystem.metadata.json +0 -1
- package/testing-base/kirbydesign-designsystem-testing-base.metadata.json +0 -1
- package/testing-jasmine/kirbydesign-designsystem-testing-jasmine.metadata.json +0 -1
- package/testing-jest/kirbydesign-designsystem-testing-jest.metadata.json +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ThemeColor } from '@kirbydesign/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ThemeColorDirective {
|
|
3
4
|
private _isDefault;
|
|
4
5
|
get isDefault(): boolean;
|
|
@@ -29,4 +30,6 @@ export declare class ThemeColorDirective {
|
|
|
29
30
|
private _isBrightnessDark;
|
|
30
31
|
get isBrightnessDark(): boolean;
|
|
31
32
|
set themeColor(value: ThemeColor);
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeColorDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeColorDirective, "kirby-avatar[themeColor], kirby-card[themeColor], kirby-icon[themeColor], kirby-progress-circle-ring[themeColor], kirby-modal-footer[themeColor], kirby-empty-state[themeColor]", never, { "themeColor": "themeColor"; }, {}, never>;
|
|
32
35
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class LineClampHelper {
|
|
3
4
|
private renderer;
|
|
4
5
|
constructor(renderer: Renderer2);
|
|
5
6
|
setMaxLines(element: Element, maxLines: number): void;
|
|
6
7
|
setLineHeight(element: Element, lineHeight: string): void;
|
|
7
8
|
removeLineClamp(element: Element): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineClampHelper, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LineClampHelper>;
|
|
8
11
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { WindowRef } from '../types/window-ref';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class PlatformService {
|
|
3
4
|
private windowRef;
|
|
4
5
|
constructor(windowRef: WindowRef);
|
|
5
6
|
isTouch(): any;
|
|
6
7
|
isPhabletOrBigger(): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformService>;
|
|
7
10
|
}
|
package/lib/index.d.ts
CHANGED
package/lib/kirby.module.d.ts
CHANGED
|
@@ -1,9 +1,78 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { ModalController } from './components/modal/services/modal.controller';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/card/card.component";
|
|
5
|
+
import * as i2 from "./components/card/card-header/card-header.component";
|
|
6
|
+
import * as i3 from "./components/card/card-footer/card-footer.component";
|
|
7
|
+
import * as i4 from "./components/button/button.component";
|
|
8
|
+
import * as i5 from "./components/chart-deprecated/chart-deprecated.component";
|
|
9
|
+
import * as i6 from "./components/stock-chart-deprecated/stock-chart-deprecated.component";
|
|
10
|
+
import * as i7 from "./components/grid/grid.component";
|
|
11
|
+
import * as i8 from "./components/shared/component-loader.directive";
|
|
12
|
+
import * as i9 from "./components/avatar/avatar.component";
|
|
13
|
+
import * as i10 from "./components/list/pipes/group-by.pipe";
|
|
14
|
+
import * as i11 from "./components/calendar/calendar.component";
|
|
15
|
+
import * as i12 from "./components/checkbox/checkbox.component";
|
|
16
|
+
import * as i13 from "./components/modal/action-sheet/action-sheet.component";
|
|
17
|
+
import * as i14 from "./components/modal/footer/modal-footer.component";
|
|
18
|
+
import * as i15 from "./directives/modal-router-link/modal-router-link.directive";
|
|
19
|
+
import * as i16 from "./components/segmented-control/segmented-control.component";
|
|
20
|
+
import * as i17 from "./components/chip/chip.component";
|
|
21
|
+
import * as i18 from "./components/web-component-proxies.component";
|
|
22
|
+
import * as i19 from "./directives/theme-color/theme-color.directive";
|
|
23
|
+
import * as i20 from "./components/form-field/directives/date/date-input.directive";
|
|
24
|
+
import * as i21 from "./components/form-field/directives/decimal-mask/decimal-mask.directive";
|
|
25
|
+
import * as i22 from "./components/slide-button/slide-button.component";
|
|
26
|
+
import * as i23 from "./components/toggle/toggle.component";
|
|
27
|
+
import * as i24 from "./components/empty-state/empty-state.component";
|
|
28
|
+
import * as i25 from "./components/form-field/form-field.component";
|
|
29
|
+
import * as i26 from "./components/form-field/input/input.component";
|
|
30
|
+
import * as i27 from "./components/form-field/input-counter/input-counter.component";
|
|
31
|
+
import * as i28 from "./components/form-field/textarea/textarea.component";
|
|
32
|
+
import * as i29 from "./components/fab-sheet/fab-sheet.component";
|
|
33
|
+
import * as i30 from "./components/divider/divider.component";
|
|
34
|
+
import * as i31 from "./components/reorder-list/reorder-list.component";
|
|
35
|
+
import * as i32 from "./components/dropdown/dropdown.component";
|
|
36
|
+
import * as i33 from "./components/loading-overlay/loading-overlay.component";
|
|
37
|
+
import * as i34 from "./components/progress-circle/progress-circle.component";
|
|
38
|
+
import * as i35 from "./components/flag/flag.component";
|
|
39
|
+
import * as i36 from "./components/slides/slides.component";
|
|
40
|
+
import * as i37 from "./components/accordion/accordion.directive";
|
|
41
|
+
import * as i38 from "./components/accordion/accordion-item.component";
|
|
42
|
+
import * as i39 from "./components/item-sliding/item-sliding.component";
|
|
43
|
+
import * as i40 from "./components/radio/radio.component";
|
|
44
|
+
import * as i41 from "./components/radio/radio-group/radio-group.component";
|
|
45
|
+
import * as i42 from "./components/range/range.component";
|
|
46
|
+
import * as i43 from "./directives/element-as-button/element-as-button.directive";
|
|
47
|
+
import * as i44 from "./components/item-group/item-group.component";
|
|
48
|
+
import * as i45 from "./components/section-header/section-header.component";
|
|
49
|
+
import * as i46 from "./directives/key-handler/key-handler.directive";
|
|
50
|
+
import * as i47 from "./components/form-field/form-field-message/form-field-message.component";
|
|
51
|
+
import * as i48 from "./components/modal/alert/alert.component";
|
|
52
|
+
import * as i49 from "./components/modal/modal-wrapper/modal-wrapper.component";
|
|
53
|
+
import * as i50 from "./components/modal/modal-wrapper/compact/modal-compact-wrapper.component";
|
|
54
|
+
import * as i51 from "./components/progress-circle/progress-circle-ring.component";
|
|
55
|
+
import * as i52 from "./components/popover/popover.component";
|
|
56
|
+
import * as i53 from "@angular/common";
|
|
57
|
+
import * as i54 from "@angular/router";
|
|
58
|
+
import * as i55 from "@ionic/angular";
|
|
59
|
+
import * as i56 from "./components/app/app.module";
|
|
60
|
+
import * as i57 from "./components/router-outlet/router-outlet.module";
|
|
61
|
+
import * as i58 from "./components/page/page.module";
|
|
62
|
+
import * as i59 from "./components/tabs/tabs.module";
|
|
63
|
+
import * as i60 from "./components/icon/icon.module";
|
|
64
|
+
import * as i61 from "./components/item/item.module";
|
|
65
|
+
import * as i62 from "./components/toggle-button/toggle-button.module";
|
|
66
|
+
import * as i63 from "./components/list/list.module";
|
|
67
|
+
import * as i64 from "./components/chart/chart.module";
|
|
68
|
+
import * as i65 from "./components/spinner/spinner.module";
|
|
3
69
|
export interface KirbyConfig {
|
|
4
70
|
moduleRootRoutePath?: string;
|
|
5
71
|
}
|
|
6
72
|
export declare class KirbyModule {
|
|
7
73
|
static forChild(config?: KirbyConfig): ModuleWithProviders<KirbyModule>;
|
|
8
74
|
constructor(modalController: ModalController, config?: KirbyConfig);
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KirbyModule, [null, { optional: true; }]>;
|
|
76
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KirbyModule, [typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardFooterComponent, typeof i4.ButtonComponent, typeof i5.ChartDeprecatedComponent, typeof i6.StockChartDeprecatedComponent, typeof i7.GridComponent, typeof i8.ComponentLoaderDirective, typeof i9.AvatarComponent, typeof i10.GroupByPipe, typeof i11.CalendarComponent, typeof i12.CheckboxComponent, typeof i13.ActionSheetComponent, typeof i14.ModalFooterComponent, typeof i15.ModalRouterLinkDirective, typeof i16.SegmentedControlComponent, typeof i17.ChipComponent, typeof i18.KirbyBadge, typeof i19.ThemeColorDirective, typeof i20.DateInputDirective, typeof i21.DecimalMaskDirective, typeof i22.SlideButtonComponent, typeof i23.ToggleComponent, typeof i24.EmptyStateComponent, typeof i25.FormFieldComponent, typeof i26.InputComponent, typeof i27.InputCounterComponent, typeof i28.TextareaComponent, typeof i29.FabSheetComponent, typeof i30.DividerComponent, typeof i31.ReorderListComponent, typeof i32.DropdownComponent, typeof i33.LoadingOverlayComponent, typeof i34.ProgressCircleComponent, typeof i35.FlagComponent, typeof i36.SlidesComponent, typeof i36.SlideDirective, typeof i37.AccordionDirective, typeof i38.AccordionItemComponent, typeof i39.ItemSlidingComponent, typeof i40.RadioComponent, typeof i41.RadioGroupComponent, typeof i42.RangeComponent, typeof i43.ElementAsButtonDirective, typeof i44.ItemGroupComponent, typeof i45.SectionHeaderComponent, typeof i46.KeyHandlerDirective, typeof i47.FormFieldMessageComponent, typeof i48.AlertComponent, typeof i49.ModalWrapperComponent, typeof i50.ModalCompactWrapperComponent, typeof i51.ProgressCircleRingComponent, typeof i52.PopoverComponent], [typeof i53.CommonModule, typeof i54.RouterModule, typeof i55.IonicModule, typeof i56.AppModule, typeof i57.RouterOutletModule, typeof i58.PageModule, typeof i59.TabsModule, typeof i60.IconModule, typeof i61.ItemModule, typeof i62.ToggleButtonModule, typeof i63.ListModule, typeof i64.ChartModule, typeof i65.SpinnerModule], [typeof i56.AppModule, typeof i57.RouterOutletModule, typeof i58.PageModule, typeof i59.TabsModule, typeof i60.IconModule, typeof i61.ItemModule, typeof i62.ToggleButtonModule, typeof i63.ListModule, typeof i64.ChartModule, typeof i65.SpinnerModule, typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardFooterComponent, typeof i4.ButtonComponent, typeof i5.ChartDeprecatedComponent, typeof i6.StockChartDeprecatedComponent, typeof i7.GridComponent, typeof i8.ComponentLoaderDirective, typeof i9.AvatarComponent, typeof i10.GroupByPipe, typeof i11.CalendarComponent, typeof i12.CheckboxComponent, typeof i13.ActionSheetComponent, typeof i14.ModalFooterComponent, typeof i15.ModalRouterLinkDirective, typeof i16.SegmentedControlComponent, typeof i17.ChipComponent, typeof i18.KirbyBadge, typeof i19.ThemeColorDirective, typeof i20.DateInputDirective, typeof i21.DecimalMaskDirective, typeof i22.SlideButtonComponent, typeof i23.ToggleComponent, typeof i24.EmptyStateComponent, typeof i25.FormFieldComponent, typeof i26.InputComponent, typeof i27.InputCounterComponent, typeof i28.TextareaComponent, typeof i29.FabSheetComponent, typeof i30.DividerComponent, typeof i31.ReorderListComponent, typeof i32.DropdownComponent, typeof i33.LoadingOverlayComponent, typeof i34.ProgressCircleComponent, typeof i35.FlagComponent, typeof i36.SlidesComponent, typeof i36.SlideDirective, typeof i37.AccordionDirective, typeof i38.AccordionItemComponent, typeof i39.ItemSlidingComponent, typeof i40.RadioComponent, typeof i41.RadioGroupComponent, typeof i42.RangeComponent, typeof i43.ElementAsButtonDirective, typeof i44.ItemGroupComponent, typeof i45.SectionHeaderComponent]>;
|
|
77
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KirbyModule>;
|
|
9
78
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirbydesign/designsystem",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-rc.2",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@fontsource/roboto": "4.2.1",
|
|
6
6
|
"@ionic/angular": "5.5.2",
|
|
7
|
-
"@kirbydesign/core": "0.0.
|
|
7
|
+
"@kirbydesign/core": "0.0.26-rc.2",
|
|
8
8
|
"chart.js": "3.3.2",
|
|
9
9
|
"chartjs-adapter-date-fns": "^2.0.0",
|
|
10
10
|
"chartjs-plugin-annotation": "^1.0.2",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"include-media": "^1.4.10",
|
|
16
16
|
"inputmask": "5.0.5",
|
|
17
17
|
"ts-deepcopy": "^0.1.4",
|
|
18
|
-
"tslib": "^2.
|
|
18
|
+
"tslib": "^2.2.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": ">=9.0.0",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"esm2015": "esm2015/kirbydesign-designsystem.js",
|
|
32
32
|
"fesm2015": "fesm2015/kirbydesign-designsystem.js",
|
|
33
33
|
"typings": "kirbydesign-designsystem.d.ts",
|
|
34
|
-
"metadata": "kirbydesign-designsystem.metadata.json",
|
|
35
34
|
"sideEffects": false,
|
|
36
35
|
"description": "Kirby Design Angular Components. This library provides Angular wrappers for the @kirbydesign/core package, for smoother integration into Angular projects.",
|
|
37
36
|
"repository": {
|
package/readme.md
CHANGED
|
@@ -26,7 +26,7 @@ The Kirby Cookbook, containing samples, status of components etc. can be accesse
|
|
|
26
26
|
- [Sass](#sass)
|
|
27
27
|
- [Icons](#icons)
|
|
28
28
|
- [Testing](#testing)
|
|
29
|
-
- [Migration
|
|
29
|
+
- [Migration Guides](#migration-guides)
|
|
30
30
|
- [Folder Structure](#folder-structure)
|
|
31
31
|
- [Scripts](#scripts)
|
|
32
32
|
- [Developing new features in Kirby](#developing-new-features-in-kirby)
|
|
@@ -114,80 +114,6 @@ describe('AppComponent', () => {
|
|
|
114
114
|
For unit test performance reasons it's highly recommended to utilize these modules, since they provide a template-less implementation of the Kirby Components, but still translude content through `<ng-content></ng-content>` and provide `@Input` -decorated properties and `@Output` -decorated `EventEmitter` s, without
|
|
115
115
|
having to reflow the DOM, execute component logic etc.
|
|
116
116
|
|
|
117
|
-
### Migration Guide
|
|
118
|
-
|
|
119
|
-
To upgrade, please perform the following tasks:
|
|
120
|
-
|
|
121
|
-
- `v0.x.x` => `v1.0.0`
|
|
122
|
-
|
|
123
|
-
#### Simplified namespaces
|
|
124
|
-
|
|
125
|
-
Import `@kirbydesign/designsystem` instead of `@kirbydesign/designsystem/list` or `@kirbydesign/designsystem/modal` . This can be done by executing the following commands (Mac/Linux and Windows respectively):
|
|
126
|
-
|
|
127
|
-
##### Mac / Linux
|
|
128
|
-
|
|
129
|
-
```sh
|
|
130
|
-
cd <root folder of your application>
|
|
131
|
-
find . -name "*.ts" ! -name "*.spec.ts" -type f -exec sed -i '' -e "s|from '@kirbydesign/designsystem/.*';$|from '@kirbydesign/designsystem';|g" {} \;
|
|
132
|
-
find . -name "*.spec.ts" -type f -exec sed -i '' -e "s|from '@kirbydesign/designsystem/testing';$|from '@kirbydesign/designsystem/testing-jasmine';|g" {} \;
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
_Note: If you're using `jest` you should replace with `@kirbydesign/designsystem/testing-jest` instead._
|
|
136
|
-
|
|
137
|
-
##### Windows
|
|
138
|
-
|
|
139
|
-
```sh
|
|
140
|
-
cd <root folder of your application>
|
|
141
|
-
Get-ChildItem "*.ts" -Recurse | ForEach {
|
|
142
|
-
(Get-Content $_ | ForEach { $_ `
|
|
143
|
-
-replace "from '@kirbydesign/designsystem/((?!testing).)*';$", "from '@kirbydesign/designsystem';" `
|
|
144
|
-
-replace "from '@kirbydesign/designsystem/testing';$", "from '@kirbydesign/designsystem/testing-jasmine';" `
|
|
145
|
-
}) | Set-Content $_
|
|
146
|
-
}
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
_Note: If you're using `jest` you should replace with `@kirbydesign/designsystem/testing-jest` instead._
|
|
150
|
-
|
|
151
|
-
#### Change TypeScript configuration
|
|
152
|
-
|
|
153
|
-
Due to Kirby not being distributed as a source-distribution package any more, changes to `tsconfig.json` , `tsconfig.app.json` as well as `tsconfig.spec.json` should be reverted:
|
|
154
|
-
|
|
155
|
-
In `tsconfig.json` :
|
|
156
|
-
|
|
157
|
-
- Remove the line `"./node_modules/@kirbydesign/designsystem/**/*.ts"` from the `includes`-array
|
|
158
|
-
|
|
159
|
-
In `tsconfig.app.json` :
|
|
160
|
-
|
|
161
|
-
- Remove the line `"./node_modules/@kirbydesign/designsystem/**/*.ts"` from the `includes`-array
|
|
162
|
-
- Remove the line `"../node_modules/@kirbydesign/designsystem/testing/**/*.*"` from the `excludes` -array
|
|
163
|
-
|
|
164
|
-
In `tsconfig.spec.json` :
|
|
165
|
-
|
|
166
|
-
- Remove the line `"../node_modules/@kirbydesign/designsystem/**/*.ts",` from the `includes`-array
|
|
167
|
-
|
|
168
|
-
#### Changed dependencies
|
|
169
|
-
|
|
170
|
-
Remove any previously installed dev-dependencies for `sass-extract` , `sass-extract-loader` and `ng-mocks` _(unless otherwise used in your application)_.
|
|
171
|
-
This can be done by the following command:
|
|
172
|
-
|
|
173
|
-
`npm uninstall --save-dev sass-extract sass-extract-loader ng-mocks`
|
|
174
|
-
|
|
175
|
-
#### Deprecation
|
|
176
|
-
|
|
177
|
-
The following legacy components have been removed:
|
|
178
|
-
|
|
179
|
-
- `ListItemComponent` (`<kirby-list-item>`)
|
|
180
|
-
- `ListFlexItemComponent` (`<kirby-list-flex-item>`)
|
|
181
|
-
- `ListCellComponent` (`<kirby-list-cell>`)
|
|
182
|
-
- `ListCellLineComponent` (`<kirby-list-cell-line>`)
|
|
183
|
-
|
|
184
|
-
The following directives have been deprecated and will be removed in future versions:
|
|
185
|
-
|
|
186
|
-
- `ListItemDirective` (`[kirbyListItem]`)
|
|
187
|
-
- `ListFlexItemDirective` (`[kirbyListFlexItem]`)
|
|
188
|
-
|
|
189
|
-
_Please see the [list documentation][kirby.cookbook.list] on how to use the list component(s) and directives._
|
|
190
|
-
|
|
191
117
|
### Icons
|
|
192
118
|
|
|
193
119
|
Kirby comes bundled with a default set of icons. Make sure the `.svg` files used by Kirby are copied to your output folder by adding the following to `build > options > assets` in `angular.json` :
|
|
@@ -216,6 +142,10 @@ Kirby comes bundled with a default set of icons. Make sure the `.svg` files used
|
|
|
216
142
|
}
|
|
217
143
|
```
|
|
218
144
|
|
|
145
|
+
### Migration Guides
|
|
146
|
+
|
|
147
|
+
For details on migrating from earlier versions of Kirby see our [Migration Guides](./MIGRATION.md).
|
|
148
|
+
|
|
219
149
|
## Folder Structure
|
|
220
150
|
|
|
221
151
|
The folder structure of the repository is based on [Nrwl][nrwl]'s [NX][nx] mono-repository project.
|
|
@@ -225,10 +155,7 @@ A basic walkthrough is outlined in the structure below:
|
|
|
225
155
|
```
|
|
226
156
|
@kirbydesign/designsystem
|
|
227
157
|
├── apps # Contains source code for applications
|
|
228
|
-
|
|
|
229
|
-
| └── cookbook-e2e # - End-to-end tests for Cookbook application
|
|
230
|
-
├── config
|
|
231
|
-
| └── helm
|
|
158
|
+
| └── cookbook # - Cookbook application (showcase and examples)
|
|
232
159
|
├── dist # Contains output files when building artifacts (for distribution)
|
|
233
160
|
| ├── apps
|
|
234
161
|
| └── libs
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/base/link";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state/active";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state/focus";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state/hover";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state/interaction-state.utilities";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/interaction-state/layer";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/opt-out";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "~@kirbydesign/core/scss/opt-out/link";
|
|
@@ -1,62 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@kirbydesign/designsystem/testing-base" />
|
|
4
5
|
export * from './public_api';
|
|
5
|
-
export { MockAccordionItemComponent as ɵb } from './lib/components/mock.accordion-item.component';
|
|
6
|
-
export { MockActionSheetComponent as ɵbj } from './lib/components/mock.action-sheet.component';
|
|
7
|
-
export { MockAppComponent as ɵc } from './lib/components/mock.app.component';
|
|
8
|
-
export { MockAvatarComponent as ɵd } from './lib/components/mock.avatar.component';
|
|
9
|
-
export { MockButtonComponent as ɵe } from './lib/components/mock.button.component';
|
|
10
|
-
export { MockCalendarComponent as ɵf } from './lib/components/mock.calendar.component';
|
|
11
|
-
export { MockCardFooterComponent as ɵg } from './lib/components/mock.card-footer.component';
|
|
12
|
-
export { MockCardHeaderComponent as ɵh } from './lib/components/mock.card-header.component';
|
|
13
|
-
export { MockCardComponent as ɵi } from './lib/components/mock.card.component';
|
|
14
|
-
export { MockChartDeprecatedComponent as ɵk } from './lib/components/mock.chart-deprecated.component';
|
|
15
|
-
export { MockChartComponent as ɵj } from './lib/components/mock.chart.component';
|
|
16
|
-
export { MockCheckboxComponent as ɵl } from './lib/components/mock.checkbox.component';
|
|
17
|
-
export { MockChipComponent as ɵm } from './lib/components/mock.chip.component';
|
|
18
|
-
export { MockDividerComponent as ɵn } from './lib/components/mock.divider.component';
|
|
19
|
-
export { MockDropdownComponent as ɵo } from './lib/components/mock.dropdown.component';
|
|
20
|
-
export { MockEmptyStateComponent as ɵp } from './lib/components/mock.empty-state.component';
|
|
21
|
-
export { MockFabSheetComponent as ɵq } from './lib/components/mock.fab-sheet.component';
|
|
22
|
-
export { MockFlagComponent as ɵr } from './lib/components/mock.flag.component';
|
|
23
|
-
export { MockFormFieldMessageComponent as ɵs } from './lib/components/mock.form-field-message.component';
|
|
24
|
-
export { MockFormFieldComponent as ɵt } from './lib/components/mock.form-field.component';
|
|
25
|
-
export { MockGridComponent as ɵx } from './lib/components/mock.grid.component';
|
|
26
|
-
export { MockIconComponent as ɵy } from './lib/components/mock.icon.component';
|
|
27
|
-
export { MockInputCounterComponent as ɵv } from './lib/components/mock.input-counter.component';
|
|
28
|
-
export { MockInputComponent as ɵu } from './lib/components/mock.input.component';
|
|
29
|
-
export { MockItemGroupComponent as ɵbb } from './lib/components/mock.item-group.component';
|
|
30
|
-
export { MockItemSlidingComponent as ɵbc } from './lib/components/mock.item-sliding.component';
|
|
31
|
-
export { MockItemComponent as ɵz } from './lib/components/mock.item.component';
|
|
32
|
-
export { MockLabelComponent as ɵba } from './lib/components/mock.label.component';
|
|
33
|
-
export { MockListExperimentalComponent as ɵbd } from './lib/components/mock.list-experimental.component';
|
|
34
|
-
export { MockListHeaderComponent as ɵbe } from './lib/components/mock.list-header.component';
|
|
35
|
-
export { MockListItemComponent as ɵbf } from './lib/components/mock.list-item.component';
|
|
36
|
-
export { MockListSectionHeaderComponent as ɵbg } from './lib/components/mock.list-section-header.component';
|
|
37
|
-
export { MockListComponent as ɵbh } from './lib/components/mock.list.component';
|
|
38
|
-
export { MockLoadingOverlayComponent as ɵbi } from './lib/components/mock.loading-overlay.component';
|
|
39
|
-
export { MockModalFooterComponent as ɵbk } from './lib/components/mock.modal-footer.component';
|
|
40
|
-
export { MockPageFooterComponent as ɵbl } from './lib/components/mock.page-footer.component';
|
|
41
|
-
export { MockPageActionsComponent as ɵbt, MockPageActionsDirective as ɵbo, MockPageComponent as ɵbu, MockPageContentComponent as ɵbs, MockPageContentDirective as ɵbp, MockPageProgressComponent as ɵbq, MockPageTitleComponent as ɵbr, MockPageTitleDirective as ɵbm, MockPageToolbarTitleDirective as ɵbn } from './lib/components/mock.page.component';
|
|
42
|
-
export { MockPopoverComponent as ɵbv } from './lib/components/mock.popover.component';
|
|
43
|
-
export { MockProgressCircleComponent as ɵbw } from './lib/components/mock.progress-circle.component';
|
|
44
|
-
export { MockRadioGroupComponent as ɵbx } from './lib/components/mock.radio-group.component';
|
|
45
|
-
export { MockRadioComponent as ɵby } from './lib/components/mock.radio.component';
|
|
46
|
-
export { MockRangeComponent as ɵbz } from './lib/components/mock.range.component';
|
|
47
|
-
export { MockReorderListComponent as ɵca } from './lib/components/mock.reorder-list.component';
|
|
48
|
-
export { MockRouterOutletComponent as ɵcb } from './lib/components/mock.router-outlet.component';
|
|
49
|
-
export { MockSectionHeaderComponent as ɵcc } from './lib/components/mock.section-header.component';
|
|
50
|
-
export { MockSegmentedControlComponent as ɵcd } from './lib/components/mock.segmented-control.component';
|
|
51
|
-
export { MockSlideButtonComponent as ɵce } from './lib/components/mock.slide-button.component';
|
|
52
|
-
export { MockSpinnerComponent as ɵcf } from './lib/components/mock.spinner.component';
|
|
53
|
-
export { MockTabButtonComponent as ɵcg } from './lib/components/mock.tab-button.component';
|
|
54
|
-
export { MockTabsComponent as ɵch } from './lib/components/mock.tabs.component';
|
|
55
|
-
export { MockTextareaComponent as ɵw } from './lib/components/mock.textarea.component';
|
|
56
|
-
export { MockToggleButtonComponent as ɵcj } from './lib/components/mock.toggle-button.component';
|
|
57
|
-
export { MockToggleComponent as ɵci } from './lib/components/mock.toggle.component';
|
|
58
|
-
export { MockAccordionDirective as ɵcn } from './lib/directives/mock.accordion.directive';
|
|
59
|
-
export { MockFitHeadingDirective as ɵcm } from './lib/directives/mock.fit-heading.directive';
|
|
60
|
-
export { MockThemeColorDirective as ɵcl } from './lib/directives/mock.theme-color.directive';
|
|
61
|
-
export { MOCK_COMPONENTS as ɵa } from './lib/mock-components';
|
|
62
|
-
export { MOCK_DIRECTIVES as ɵck } from './lib/mock-directives';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export { MockAccordionItemComponent } from './mock.accordion-item.component';
|
|
2
|
+
export { MockActionSheetComponent } from './mock.action-sheet.component';
|
|
3
|
+
export { MockAppComponent } from './mock.app.component';
|
|
4
|
+
export { MockAvatarComponent } from './mock.avatar.component';
|
|
5
|
+
export { MockButtonComponent } from './mock.button.component';
|
|
6
|
+
export { MockCalendarComponent } from './mock.calendar.component';
|
|
7
|
+
export { MockCardFooterComponent } from './mock.card-footer.component';
|
|
8
|
+
export { MockCardHeaderComponent } from './mock.card-header.component';
|
|
9
|
+
export { MockCardComponent } from './mock.card.component';
|
|
10
|
+
export { MockChartDeprecatedComponent } from './mock.chart-deprecated.component';
|
|
11
|
+
export { MockChartComponent } from './mock.chart.component';
|
|
12
|
+
export { MockCheckboxComponent } from './mock.checkbox.component';
|
|
13
|
+
export { MockChipComponent } from './mock.chip.component';
|
|
14
|
+
export { MockDividerComponent } from './mock.divider.component';
|
|
15
|
+
export { MockDropdownComponent } from './mock.dropdown.component';
|
|
16
|
+
export { MockEmptyStateComponent } from './mock.empty-state.component';
|
|
17
|
+
export { MockFabSheetComponent } from './mock.fab-sheet.component';
|
|
18
|
+
export { MockFlagComponent } from './mock.flag.component';
|
|
19
|
+
export { MockFormFieldMessageComponent } from './mock.form-field-message.component';
|
|
20
|
+
export { MockFormFieldComponent } from './mock.form-field.component';
|
|
21
|
+
export { MockGridComponent } from './mock.grid.component';
|
|
22
|
+
export { MockIconComponent } from './mock.icon.component';
|
|
23
|
+
export { MockInputCounterComponent } from './mock.input-counter.component';
|
|
24
|
+
export { MockInputComponent } from './mock.input.component';
|
|
25
|
+
export { MockItemGroupComponent } from './mock.item-group.component';
|
|
26
|
+
export { MockItemSlidingComponent } from './mock.item-sliding.component';
|
|
27
|
+
export { MockItemComponent } from './mock.item.component';
|
|
28
|
+
export { MockLabelComponent } from './mock.label.component';
|
|
29
|
+
export { MockListExperimentalComponent } from './mock.list-experimental.component';
|
|
30
|
+
export { MockListHeaderComponent } from './mock.list-header.component';
|
|
31
|
+
export { MockListItemComponent } from './mock.list-item.component';
|
|
32
|
+
export { MockListSectionHeaderComponent } from './mock.list-section-header.component';
|
|
33
|
+
export { MockListComponent } from './mock.list.component';
|
|
34
|
+
export { MockLoadingOverlayComponent } from './mock.loading-overlay.component';
|
|
35
|
+
export { MockModalFooterComponent } from './mock.modal-footer.component';
|
|
36
|
+
export { MockPageFooterComponent } from './mock.page-footer.component';
|
|
37
|
+
export { MockPageTitleDirective, MockPageToolbarTitleDirective, MockPageActionsDirective, MockPageContentDirective, MockPageProgressComponent, MockPageSubtitleDirective, MockPageActionsComponent, MockPageComponent, MockPageContentComponent, MockPageTitleComponent, } from './mock.page.component';
|
|
38
|
+
export { MockPopoverComponent } from './mock.popover.component';
|
|
39
|
+
export { MockProgressCircleComponent } from './mock.progress-circle.component';
|
|
40
|
+
export { MockRadioGroupComponent } from './mock.radio-group.component';
|
|
41
|
+
export { MockRadioComponent } from './mock.radio.component';
|
|
42
|
+
export { MockRangeComponent } from './mock.range.component';
|
|
43
|
+
export { MockReorderListComponent } from './mock.reorder-list.component';
|
|
44
|
+
export { MockRouterOutletComponent } from './mock.router-outlet.component';
|
|
45
|
+
export { MockSectionHeaderComponent } from './mock.section-header.component';
|
|
46
|
+
export { MockSegmentedControlComponent } from './mock.segmented-control.component';
|
|
47
|
+
export { MockSlideButtonComponent } from './mock.slide-button.component';
|
|
48
|
+
export { MockSlideDirective, MockSlidesComponent } from './mock.slides.component';
|
|
49
|
+
export { MockSpinnerComponent } from './mock.spinner.component';
|
|
50
|
+
export { MockTabButtonComponent } from './mock.tab-button.component';
|
|
51
|
+
export { MockTabsComponent } from './mock.tabs.component';
|
|
52
|
+
export { MockTextareaComponent } from './mock.textarea.component';
|
|
53
|
+
export { MockToggleButtonComponent } from './mock.toggle-button.component';
|
|
54
|
+
export { MockToggleComponent } from './mock.toggle.component';
|
|
55
|
+
export { MockBadgeComponent } from './mock.web-component-proxies.component';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MockAccordionItemComponent {
|
|
2
3
|
title: string;
|
|
3
4
|
isExpanded: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockAccordionItemComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockAccordionItemComponent, "kirby-accordion-item", never, { "title": "title"; "isExpanded": "isExpanded"; }, {}, never, ["*"]>;
|
|
4
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ActionSheetItem } from '@kirbydesign/designsystem';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MockActionSheetComponent {
|
|
4
5
|
cancelButtonText: string;
|
|
5
6
|
hideCancel: boolean;
|
|
@@ -9,4 +10,6 @@ export declare class MockActionSheetComponent {
|
|
|
9
10
|
items: Array<ActionSheetItem>;
|
|
10
11
|
cancel: EventEmitter<any>;
|
|
11
12
|
itemSelect: EventEmitter<ActionSheetItem>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockActionSheetComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockActionSheetComponent, "kirby-action-sheet", never, { "cancelButtonText": "cancelButtonText"; "hideCancel": "hideCancel"; "disabled": "disabled"; "header": "header"; "subheader": "subheader"; "items": "items"; }, { "cancel": "cancel"; "itemSelect": "itemSelect"; }, never, ["*"]>;
|
|
12
15
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AvatarSize, BrandColor, NotificationColor } from '@kirbydesign/designsystem';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MockAvatarComponent {
|
|
3
4
|
imageSrc: string;
|
|
4
5
|
altText: string;
|
|
@@ -7,4 +8,6 @@ export declare class MockAvatarComponent {
|
|
|
7
8
|
overlay: boolean;
|
|
8
9
|
size: AvatarSize | `${AvatarSize}`;
|
|
9
10
|
themeColor: NotificationColor | BrandColor | 'medium' | 'white' | 'dark' | 'light' | 'semi-light';
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockAvatarComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockAvatarComponent, "kirby-avatar", never, { "imageSrc": "imageSrc"; "altText": "altText"; "shadow": "shadow"; "text": "text"; "overlay": "overlay"; "size": "size"; "themeColor": "themeColor"; }, {}, never, ["*"]>;
|
|
10
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonSize, NotificationColor } from '@kirbydesign/designsystem';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MockButtonComponent {
|
|
3
4
|
attentionLevel: '1' | '2' | '3' | '4';
|
|
4
5
|
isDestructive: boolean;
|
|
@@ -6,4 +7,6 @@ export declare class MockButtonComponent {
|
|
|
6
7
|
expand: 'full' | 'block';
|
|
7
8
|
isFloating: boolean;
|
|
8
9
|
size: ButtonSize | `${ButtonSize}`;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockButtonComponent, "button[kirby-button],Button[kirby-button]", never, { "attentionLevel": "attentionLevel"; "isDestructive": "isDestructive"; "themeColor": "themeColor"; "expand": "expand"; "isFloating": "isFloating"; "size": "size"; }, {}, never, ["*"]>;
|
|
9
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
3
|
import { CalendarYearNavigatorConfig } from '@kirbydesign/designsystem';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MockCalendarComponent {
|
|
5
6
|
dateChange: EventEmitter<Date>;
|
|
6
7
|
dateSelect: EventEmitter<Date>;
|
|
@@ -20,4 +21,6 @@ export declare class MockCalendarComponent {
|
|
|
20
21
|
todayDate: Date;
|
|
21
22
|
minDate: Date;
|
|
22
23
|
maxDate: Date;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockCalendarComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockCalendarComponent, "kirby-calendar", never, { "timezone": "timezone"; "disableWeekends": "disableWeekends"; "disablePastDates": "disablePastDates"; "disableFutureDates": "disableFutureDates"; "alwaysEnableToday": "alwaysEnableToday"; "customLocales": "customLocales"; "usePopover": "usePopover"; "yearNavigatorOptions": "yearNavigatorOptions"; "selectedDate": "selectedDate"; "disabledDates": "disabledDates"; "todayDate": "todayDate"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "dateChange": "dateChange"; "dateSelect": "dateSelect"; "yearSelect": "yearSelect"; }, never, ["*"]>;
|
|
23
26
|
}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MockCardFooterComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockCardFooterComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockCardFooterComponent, "kirby-card-footer", never, {}, {}, never, ["*"]>;
|
|
2
5
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { CardFlagLevel } from '@kirbydesign/designsystem';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MockCardHeaderComponent {
|
|
3
4
|
title: string;
|
|
4
5
|
subtitle: string;
|
|
5
6
|
isTitleBold: boolean;
|
|
6
7
|
flagged: CardFlagLevel;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockCardHeaderComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockCardHeaderComponent, "kirby-card-header", never, { "title": "title"; "subtitle": "subtitle"; "isTitleBold": "isTitleBold"; "flagged": "flagged"; }, {}, never, ["*"]>;
|
|
7
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MockCardComponent {
|
|
2
3
|
title: string;
|
|
3
4
|
subtitle: string;
|
|
@@ -7,4 +8,6 @@ export declare class MockCardComponent {
|
|
|
7
8
|
[size: string]: number;
|
|
8
9
|
};
|
|
9
10
|
mode: 'flat' | 'highlighted';
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockCardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockCardComponent, "kirby-card", never, { "title": "title"; "subtitle": "subtitle"; "backgroundImageUrl": "backgroundImageUrl"; "hasPadding": "hasPadding"; "sizes": "sizes"; "mode": "mode"; }, {}, never, ["*"]>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Options, XAxisBreaksOptions } from 'highcharts';
|
|
2
2
|
import { ChartDeprecatedType } from '@kirbydesign/designsystem';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MockChartDeprecatedComponent {
|
|
4
5
|
data: [];
|
|
5
6
|
categories: string[];
|
|
@@ -9,4 +10,6 @@ export declare class MockChartDeprecatedComponent {
|
|
|
9
10
|
description: string;
|
|
10
11
|
showDataLabels: boolean;
|
|
11
12
|
options: Options;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockChartDeprecatedComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockChartDeprecatedComponent, "kirby-chart-deprecated", never, { "data": "data"; "categories": "categories"; "breaks": "breaks"; "height": "height"; "type": "type"; "description": "description"; "showDataLabels": "showDataLabels"; "options": "options"; }, {}, never, ["*"]>;
|
|
12
15
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AnnotationOptions, ChartDataLabelOptions, ChartDataset, ChartHighlightedElements, ChartLabel, ChartOptions, ChartType } from '@kirbydesign/designsystem';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MockChartComponent {
|
|
3
4
|
type: ChartType;
|
|
4
5
|
data: ChartDataset[] | number[];
|
|
5
6
|
labels: ChartLabel[];
|
|
6
|
-
dataLabels: string[] | string[][];
|
|
7
7
|
customOptions: ChartOptions;
|
|
8
8
|
dataLabelOptions: ChartDataLabelOptions;
|
|
9
9
|
annotations: AnnotationOptions[];
|
|
10
10
|
highlightedElements: ChartHighlightedElements;
|
|
11
11
|
height: string | number;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockChartComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockChartComponent, "kirby-chart", never, { "type": "type"; "data": "data"; "labels": "labels"; "customOptions": "customOptions"; "dataLabelOptions": "dataLabelOptions"; "annotations": "annotations"; "highlightedElements": "highlightedElements"; "height": "height"; }, {}, never, ["*"]>;
|
|
12
14
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MockCheckboxComponent {
|
|
3
4
|
checked: boolean;
|
|
4
5
|
attentionLevel: '1' | '2';
|
|
@@ -7,4 +8,6 @@ export declare class MockCheckboxComponent {
|
|
|
7
8
|
hasError: boolean;
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
checkedChange: EventEmitter<boolean>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockCheckboxComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockCheckboxComponent, "kirby-checkbox", never, { "checked": "checked"; "attentionLevel": "attentionLevel"; "text": "text"; "size": "size"; "hasError": "hasError"; "disabled": "disabled"; }, { "checkedChange": "checkedChange"; }, never, ["*"]>;
|
|
10
13
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MockChipComponent {
|
|
2
3
|
text: string;
|
|
3
4
|
isSelected: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockChipComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockChipComponent, "kirby-chip", never, { "text": "text"; "isSelected": "isSelected"; }, {}, never, ["*"]>;
|
|
4
7
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MockDividerComponent {
|
|
2
3
|
hasMargin: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockDividerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockDividerComponent, "kirby-divider", never, { "hasMargin": "hasMargin"; }, {}, never, ["*"]>;
|
|
3
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { HorizontalDirection } from '@kirbydesign/designsystem';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MockDropdownComponent {
|
|
4
5
|
items: string[] | any[];
|
|
5
6
|
selectedIndex: number;
|
|
@@ -14,4 +15,6 @@ export declare class MockDropdownComponent {
|
|
|
14
15
|
tabindex: number;
|
|
15
16
|
usePopover: boolean;
|
|
16
17
|
change: EventEmitter<any>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MockDropdownComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MockDropdownComponent, "kirby-dropdown", never, { "items": "items"; "selectedIndex": "selectedIndex"; "itemTextProperty": "itemTextProperty"; "placeholder": "placeholder"; "popout": "popout"; "attentionLevel": "attentionLevel"; "expand": "expand"; "disabled": "disabled"; "hasError": "hasError"; "size": "size"; "tabindex": "tabindex"; "usePopover": "usePopover"; }, { "change": "change"; }, never, ["*"]>;
|
|
17
20
|
}
|