@kirbydesign/designsystem 6.0.2 → 6.1.2-rc.ionic
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/esm2020/lib/components/button/button.component.mjs +2 -2
- package/esm2020/lib/components/card/card-footer/card-footer.component.mjs +2 -2
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +26 -18
- package/esm2020/lib/components/fab-sheet/fab-sheet.component.mjs +3 -3
- package/esm2020/lib/components/form-field/input/input.component.mjs +2 -2
- package/esm2020/lib/components/form-field/textarea/textarea.component.mjs +2 -2
- package/esm2020/lib/components/icon/icon.component.mjs +1 -1
- package/esm2020/lib/components/item/item.component.mjs +1 -1
- package/esm2020/lib/components/list/list-item/list-item.component.mjs +2 -2
- package/esm2020/lib/components/list/list.component.mjs +2 -2
- package/esm2020/lib/components/modal/footer/modal-footer.component.mjs +14 -9
- package/esm2020/lib/components/modal/modal-wrapper/modal-elements-mover.delegate.mjs +62 -0
- package/esm2020/lib/components/modal/modal-wrapper/modal-wrapper.component.mjs +73 -123
- package/esm2020/lib/components/modal/services/action-sheet.helper.mjs +4 -1
- package/esm2020/lib/components/modal/services/modal-animation-builder.service.mjs +62 -50
- package/esm2020/lib/components/modal/services/modal.helper.mjs +12 -11
- package/esm2020/lib/components/modal/services/modal.interfaces.mjs +39 -1
- package/esm2020/lib/components/page/page.component.mjs +31 -21
- package/esm2020/lib/components/range/range.component.mjs +1 -1
- package/esm2020/lib/components/segmented-control/segmented-control.component.mjs +1 -1
- package/esm2020/lib/components/slide-button/slide-button.component.mjs +2 -2
- package/esm2020/lib/components/toggle/toggle.component.mjs +1 -1
- package/fesm2015/kirbydesign-designsystem.mjs +321 -232
- package/fesm2015/kirbydesign-designsystem.mjs.map +1 -1
- package/fesm2020/kirbydesign-designsystem.mjs +314 -232
- package/fesm2020/kirbydesign-designsystem.mjs.map +1 -1
- package/lib/components/avatar/avatar.component.d.ts +1 -1
- package/lib/components/dropdown/dropdown.component.d.ts +6 -5
- package/lib/components/modal/footer/modal-footer.component.d.ts +5 -2
- package/lib/components/modal/modal-wrapper/modal-elements-mover.delegate.d.ts +14 -0
- package/lib/components/modal/modal-wrapper/modal-wrapper.component.d.ts +14 -16
- package/lib/components/modal/services/modal-animation-builder.service.d.ts +14 -3
- package/lib/components/modal/services/modal.interfaces.d.ts +22 -0
- package/lib/components/page/page.component.d.ts +7 -5
- package/package.json +8 -8
- 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/src/lib/components/icon/README.md +16 -0
- package/README.md +0 -7
|
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
|
|
|
14
14
|
overlay: boolean;
|
|
15
15
|
size: AvatarSize | `${AvatarSize}`;
|
|
16
16
|
themeColor: NotificationColor | BrandColor | 'medium' | 'white' | 'dark' | 'light' | 'semi-light';
|
|
17
|
-
get _cssClass(): ("medium" | "md" | "warning" | "xs" | "sm" | "lg" | "success" | "danger" | "primary" | "secondary" | "tertiary" | "
|
|
17
|
+
get _cssClass(): ("medium" | "md" | "warning" | "xs" | "sm" | "lg" | "success" | "danger" | AvatarSize | "primary" | "secondary" | "tertiary" | "white" | "dark" | "light" | "semi-light")[];
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
19
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "kirby-avatar", never, { "imageSrc": "imageSrc"; "altText": "altText"; "shadow": "shadow"; "text": "text"; "overlay": "overlay"; "size": "size"; "themeColor": "themeColor"; }, {}, never, ["kirby-icon", "kirby-badge"]>;
|
|
20
20
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { HorizontalDirection, PopoverComponent } from '../popover/popover.component';
|
|
4
4
|
import { KeyboardHandlerService } from './keyboard-handler.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DropdownComponent implements
|
|
6
|
+
export declare class DropdownComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
7
7
|
private renderer;
|
|
8
8
|
private elementRef;
|
|
9
9
|
private changeDetectorRef;
|
|
10
10
|
private keyboardHandlerService;
|
|
11
11
|
static readonly OPEN_DELAY_IN_MS = 100;
|
|
12
12
|
private state;
|
|
13
|
-
private hasConfiguredSlottedItems;
|
|
14
13
|
private horizontalDirection;
|
|
15
14
|
private verticalDirection;
|
|
16
15
|
private _items;
|
|
@@ -53,7 +52,9 @@ export declare class DropdownComponent implements AfterContentChecked, AfterView
|
|
|
53
52
|
popover?: PopoverComponent;
|
|
54
53
|
buttonElement: ElementRef<HTMLElement>;
|
|
55
54
|
kirbyItemsDefault: QueryList<ElementRef<HTMLElement>>;
|
|
56
|
-
|
|
55
|
+
_kirbyItemsSlotted: QueryList<ElementRef<HTMLElement>>;
|
|
56
|
+
set kirbyItemsSlotted(kirbyItems: QueryList<ElementRef<HTMLElement>>);
|
|
57
|
+
get kirbyItemsSlotted(): QueryList<ElementRef<HTMLElement>>;
|
|
57
58
|
private itemClickUnlisten;
|
|
58
59
|
private intersectionObserverRef;
|
|
59
60
|
private showDropdownTimeoutId;
|
|
@@ -61,7 +62,6 @@ export declare class DropdownComponent implements AfterContentChecked, AfterView
|
|
|
61
62
|
onToggle(event: MouseEvent): void;
|
|
62
63
|
toggle(): void;
|
|
63
64
|
onButtonMouseEvent(event: Event): void;
|
|
64
|
-
ngAfterContentChecked(): void;
|
|
65
65
|
private setPopoverCardStyle;
|
|
66
66
|
ngAfterViewInit(): void;
|
|
67
67
|
private initializeAlignment;
|
|
@@ -118,6 +118,7 @@ export declare class DropdownComponent implements AfterContentChecked, AfterView
|
|
|
118
118
|
_onEnter(event: KeyboardEvent): void;
|
|
119
119
|
_onArrowKeys(event: KeyboardEvent): boolean;
|
|
120
120
|
_onHomeEndKeys(event: KeyboardEvent): boolean;
|
|
121
|
+
private unlistenAllSlottedItems;
|
|
121
122
|
ngOnDestroy(): void;
|
|
122
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
123
124
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "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"; }, ["itemTemplate", "slottedItems", "kirbyItemsSlotted"], never>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ModalElementComponent, ModalElementsAdvertiser } from '../services/modal.interfaces';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ModalFooterComponent {
|
|
4
|
+
export declare class ModalFooterComponent extends ModalElementComponent {
|
|
3
5
|
snapToKeyboard: boolean;
|
|
4
6
|
type: 'inline' | 'fixed';
|
|
5
|
-
|
|
7
|
+
constructor(elementRef: ElementRef<HTMLElement>, modalElementsAdvertiser: ModalElementsAdvertiser);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalFooterComponent, [null, { optional: true; }]>;
|
|
6
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalFooterComponent, "kirby-modal-footer", never, { "snapToKeyboard": "snapToKeyboard"; "type": "type"; }, {}, never, ["*"]>;
|
|
7
10
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
export declare class ModalElementsMoverDelegate {
|
|
3
|
+
private renderer;
|
|
4
|
+
private elementRef;
|
|
5
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
6
|
+
addFooter(footerElementRef: ElementRef<HTMLElement>): void;
|
|
7
|
+
removeFooter(footerElementRef: ElementRef<HTMLElement>): void;
|
|
8
|
+
addPageProgress(pageProgressElementRef: ElementRef<HTMLElement>, ionToolbarElement: ElementRef<HTMLIonToolbarElement>): void;
|
|
9
|
+
removePageProgress(pageProgressElementRef: ElementRef<HTMLElement>): void;
|
|
10
|
+
addTitle(titleElementRef: ElementRef<HTMLElement>, contentTitleElement: ElementRef<HTMLElement>, hasCollapsibleTitle: boolean, ionTitleElement: ElementRef<HTMLIonTitleElement>): void;
|
|
11
|
+
removeTitle(titleElementRef: ElementRef<HTMLElement>, hasCollapsibleTitle: boolean, contentTitleElement: ElementRef<HTMLElement>): void;
|
|
12
|
+
private moveChild;
|
|
13
|
+
private removeChild;
|
|
14
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { AfterViewInit, ComponentFactoryResolver, ElementRef, Injector, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, Injector, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { KirbyAnimation } from '../../../animation/kirby-animation';
|
|
4
4
|
import { PlatformService } from '../../../helpers/platform.service';
|
|
5
5
|
import { WindowRef } from '../../../types/window-ref';
|
|
6
6
|
import { ResizeObserverService } from '../../shared/resize-observer/resize-observer.service';
|
|
7
|
-
import { Modal } from '../services/modal.interfaces';
|
|
7
|
+
import { Modal, ModalElementsAdvertiser, ModalElementType } from '../services/modal.interfaces';
|
|
8
8
|
import { ModalConfig } from './config/modal-config';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ModalWrapperComponent implements Modal, AfterViewInit, OnInit, OnDestroy {
|
|
10
|
+
export declare class ModalWrapperComponent implements Modal, AfterViewInit, OnInit, OnDestroy, ModalElementsAdvertiser {
|
|
11
|
+
private changeDetector;
|
|
11
12
|
private injector;
|
|
12
13
|
private elementRef;
|
|
13
14
|
private renderer;
|
|
@@ -30,7 +31,8 @@ export declare class ModalWrapperComponent implements Modal, AfterViewInit, OnIn
|
|
|
30
31
|
private ionToolbarElement;
|
|
31
32
|
private ionTitleElement;
|
|
32
33
|
private routerOutlet;
|
|
33
|
-
private
|
|
34
|
+
private _contentTitleElement;
|
|
35
|
+
get contentTitleElement(): ElementRef<HTMLElement>;
|
|
34
36
|
private keyboardVisible;
|
|
35
37
|
private toolbarButtons;
|
|
36
38
|
private delayedClose;
|
|
@@ -45,24 +47,28 @@ export declare class ModalWrapperComponent implements Modal, AfterViewInit, OnIn
|
|
|
45
47
|
private viewportResize;
|
|
46
48
|
private viewportResize$;
|
|
47
49
|
private _mutationObserver;
|
|
48
|
-
private get mutationObserver();
|
|
49
50
|
private _intersectionObserver;
|
|
50
51
|
private get intersectionObserver();
|
|
51
52
|
private destroy$;
|
|
52
53
|
get _isDrawer(): boolean;
|
|
53
54
|
willClose$: Observable<void>;
|
|
54
|
-
|
|
55
|
+
private modalElementsMoverDelegate;
|
|
56
|
+
constructor(changeDetector: ChangeDetectorRef, injector: Injector, elementRef: ElementRef<HTMLElement>, renderer: Renderer2, zone: NgZone, resizeObserverService: ResizeObserverService, componentFactoryResolver: ComponentFactoryResolver, windowRef: WindowRef, platform: PlatformService);
|
|
55
57
|
ngOnInit(): void;
|
|
58
|
+
private _currentFooter;
|
|
59
|
+
private set currentFooter(value);
|
|
60
|
+
private get currentFooter();
|
|
61
|
+
addModalElement(type: ModalElementType, modalElement: ElementRef<HTMLElement>): void;
|
|
62
|
+
removeModalElement(type: ModalElementType, modalElement: ElementRef<HTMLElement>): void;
|
|
56
63
|
private initializeResizeModalToModalWrapper;
|
|
57
64
|
private initializeSizing;
|
|
58
65
|
private initializeModalRoute;
|
|
59
66
|
private onSiblingModalRouteActivated;
|
|
60
67
|
private patchScrollElementSize;
|
|
61
68
|
private observeModalFullHeight;
|
|
69
|
+
private getIonModalWrapperElement;
|
|
62
70
|
ngAfterViewInit(): void;
|
|
63
|
-
private checkForEmbeddedElements;
|
|
64
71
|
private observeHeaderResize;
|
|
65
|
-
private moveEmbeddedElements;
|
|
66
72
|
private listenForIonModalDidPresent;
|
|
67
73
|
private listenForIonModalWillDismiss;
|
|
68
74
|
scrollToTop(scrollDuration?: KirbyAnimation.Duration): void;
|
|
@@ -83,14 +89,6 @@ export declare class ModalWrapperComponent implements Modal, AfterViewInit, OnIn
|
|
|
83
89
|
private observeViewportResize;
|
|
84
90
|
private onViewportResize;
|
|
85
91
|
blurActiveElement(): void;
|
|
86
|
-
private readonly elementToParentMap;
|
|
87
|
-
private clearEmbeddedElements;
|
|
88
|
-
private getEmbeddedComponentElement;
|
|
89
|
-
private getEmbeddedFooterElement;
|
|
90
|
-
private moveChild;
|
|
91
|
-
private removeChild;
|
|
92
|
-
private observeEmbeddedElements;
|
|
93
|
-
private createEmbeddedElementsMutationObserver;
|
|
94
92
|
private createModalWrapperIntersectionObserver;
|
|
95
93
|
ngOnDestroy(): void;
|
|
96
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalWrapperComponent, never>;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
import { AnimationBuilder
|
|
1
|
+
import { AnimationBuilder } from '@ionic/angular';
|
|
2
2
|
import { PlatformService } from '../../../helpers/platform.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ModalAnimationBuilderService {
|
|
5
|
-
private animationCtrl;
|
|
6
5
|
private platform;
|
|
7
|
-
constructor(
|
|
6
|
+
constructor(platform: PlatformService);
|
|
8
7
|
private readonly easingEnter;
|
|
9
8
|
private readonly easingLeave;
|
|
10
9
|
private readonly duration;
|
|
11
10
|
private readonly SwipeToCloseDefaults;
|
|
12
11
|
enterAnimation(currentBackdrop?: HTMLIonBackdropElement): AnimationBuilder;
|
|
13
12
|
leaveAnimation(currentBackdrop?: HTMLIonBackdropElement): AnimationBuilder;
|
|
13
|
+
private createEnterAnimation;
|
|
14
|
+
private createLeaveAnimation;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the root context of a shadow dom element
|
|
17
|
+
* On newer browsers this will be the shadowRoot,
|
|
18
|
+
* but for older browser this may just be the
|
|
19
|
+
* element itself.
|
|
20
|
+
*
|
|
21
|
+
* Useful for whenever you need to explicitly
|
|
22
|
+
* do "myElement.shadowRoot!.querySelector(...)".
|
|
23
|
+
*/
|
|
24
|
+
private getElementRoot;
|
|
14
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalAnimationBuilderService, never>;
|
|
15
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalAnimationBuilderService>;
|
|
16
27
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
1
2
|
import { ActivatedRoute } from '@angular/router';
|
|
2
3
|
import { KirbyAnimation } from '../../../animation/kirby-animation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
3
5
|
export interface OverlayEventDetail<T = any> {
|
|
4
6
|
data?: T;
|
|
5
7
|
role?: string;
|
|
@@ -21,3 +23,23 @@ export declare abstract class Modal {
|
|
|
21
23
|
scrollToBottom: (scrollDuration?: KirbyAnimation.Duration) => void;
|
|
22
24
|
scrollDisabled: boolean;
|
|
23
25
|
}
|
|
26
|
+
export declare enum ModalElementType {
|
|
27
|
+
PAGE_PROGRESS = 0,
|
|
28
|
+
FOOTER = 1,
|
|
29
|
+
TITLE = 2
|
|
30
|
+
}
|
|
31
|
+
export declare abstract class ModalElementsAdvertiser {
|
|
32
|
+
addModalElement: (type: ModalElementType, elementRef: ElementRef<HTMLElement>) => void;
|
|
33
|
+
removeModalElement: (type: ModalElementType, elementRef: ElementRef<HTMLElement>) => void;
|
|
34
|
+
}
|
|
35
|
+
export declare abstract class ModalElementComponent implements AfterViewInit, OnDestroy {
|
|
36
|
+
private modalElementType;
|
|
37
|
+
private elementRef;
|
|
38
|
+
private modalElementsAdvertiser;
|
|
39
|
+
private get isContainedInModal();
|
|
40
|
+
constructor(modalElementType: ModalElementType, elementRef: ElementRef<HTMLElement>, modalElementsAdvertiser: ModalElementsAdvertiser);
|
|
41
|
+
ngAfterViewInit(): void;
|
|
42
|
+
ngOnDestroy(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalElementComponent, [null, null, { optional: true; }]>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalElementComponent, "ng-component", never, {}, {}, never, never>;
|
|
45
|
+
}
|
|
@@ -4,6 +4,7 @@ import { FitHeadingConfig } from '../../directives/fit-heading/fit-heading.direc
|
|
|
4
4
|
import { WindowRef } from '../../types/window-ref';
|
|
5
5
|
import { ModalWrapperComponent } from '../modal/modal-wrapper/modal-wrapper.component';
|
|
6
6
|
import { ModalNavigationService } from '../modal/services/modal-navigation.service';
|
|
7
|
+
import { ModalElementComponent, ModalElementsAdvertiser } from '../modal/services/modal.interfaces';
|
|
7
8
|
import { TabsComponent } from '../tabs/tabs.component';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
declare type stickyConfig = {
|
|
@@ -52,16 +53,17 @@ export declare class PageContentDirective {
|
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageContentDirective, never>;
|
|
53
54
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PageContentDirective, "[kirbyPageContent]", never, { "config": "kirbyPageContent"; }, {}, never>;
|
|
54
55
|
}
|
|
55
|
-
export declare class PageProgressComponent implements OnInit {
|
|
56
|
+
export declare class PageProgressComponent extends ModalElementComponent implements OnInit {
|
|
56
57
|
private modalWrapper;
|
|
57
58
|
slot: string;
|
|
58
|
-
constructor(modalWrapper: ModalWrapperComponent);
|
|
59
|
+
constructor(modalWrapper: ModalWrapperComponent, modalElementsAdvertiser: ModalElementsAdvertiser, elementRef: ElementRef<HTMLElement>);
|
|
59
60
|
ngOnInit(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageProgressComponent, [{ optional: true; skipSelf: true; }]>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageProgressComponent, [{ optional: true; skipSelf: true; }, { optional: true; }, null]>;
|
|
61
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageProgressComponent, "kirby-page-progress", never, {}, {}, never, ["*"]>;
|
|
62
63
|
}
|
|
63
|
-
export declare class PageTitleComponent {
|
|
64
|
-
|
|
64
|
+
export declare class PageTitleComponent extends ModalElementComponent {
|
|
65
|
+
constructor(elementRef: ElementRef<HTMLElement>, modalElementsAdvertiser: ModalElementsAdvertiser);
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitleComponent, [null, { optional: true; }]>;
|
|
65
67
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageTitleComponent, "kirby-page-title", never, {}, {}, never, ["*"]>;
|
|
66
68
|
}
|
|
67
69
|
export declare class PageContentComponent {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirbydesign/designsystem",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.2-rc.ionic",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@fontsource/roboto": "4.2.1",
|
|
6
|
-
"@ionic/angular": "
|
|
7
|
-
"@kirbydesign/core": "0.0.
|
|
6
|
+
"@ionic/angular": "6.2.1",
|
|
7
|
+
"@kirbydesign/core": "0.0.29-rc.ionic",
|
|
8
8
|
"chart.js": "3.3.2",
|
|
9
9
|
"chartjs-adapter-date-fns": "^2.0.0",
|
|
10
10
|
"chartjs-plugin-annotation": "^1.0.2",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"tslib": "^2.3.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/common": ">=
|
|
21
|
-
"@angular/core": ">=
|
|
22
|
-
"@angular/forms": ">=
|
|
23
|
-
"@angular/router": ">=
|
|
24
|
-
"rxjs": ">=6.5.
|
|
20
|
+
"@angular/common": ">=12.0.0",
|
|
21
|
+
"@angular/core": ">=12.0.0",
|
|
22
|
+
"@angular/forms": ">=12.0.0",
|
|
23
|
+
"@angular/router": ">=12.0.0",
|
|
24
|
+
"rxjs": ">=6.5.5",
|
|
25
25
|
"zone.js": ">=0.10.2"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
@@ -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";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Add new icons
|
|
2
|
+
|
|
3
|
+
To add new icons, you should use the [icomoon app](https://icomoon.io).
|
|
4
|
+
|
|
5
|
+
## Generate font from svg's
|
|
6
|
+
|
|
7
|
+
1. Upload selection.json to get existing icons and settings
|
|
8
|
+
2. Upload new icons
|
|
9
|
+
3. Download Font
|
|
10
|
+
|
|
11
|
+
## Update kirby icons
|
|
12
|
+
|
|
13
|
+
1. Replace src/kirby/icon/selection.json, with newly generated selection.json
|
|
14
|
+
2. Replace src/fonts/kirby.ttf, with newly generated kirby.ttf
|
|
15
|
+
3. Update kirby-custom-icon-settings.ts with new icons (old icons should not have changed)
|
|
16
|
+
4. Add new icon svg's to src/assets/icons/kirby
|