@progressio_resources/gravity-design-system 3.0.20 → 3.0.22
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/esm2022/lib/components/gravity-avatar-stack/gravity-avatar-stack.component.mjs +7 -7
- package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +2 -2
- package/esm2022/lib/components/gravity-editable-input/gravity-editable-input.component.mjs +13 -3
- package/esm2022/lib/components/gravity-link/gravity-link.component.mjs +3 -3
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +11 -8
- package/fesm2022/progressio_resources-gravity-design-system.mjs +31 -18
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-avatar-stack/gravity-avatar-stack.component.d.ts +6 -6
- package/lib/components/gravity-editable-input/gravity-editable-input.component.d.ts +4 -1
- package/lib/components/gravity-modal/gravity-modal.component.d.ts +5 -6
- package/package.json +1 -1
- package/src/lib/styles/foundations/typography/_hero.typography.scss +7 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GravityAvatarStackComponent {
|
|
4
|
+
items: Array<any>;
|
|
5
|
+
isCoin: boolean;
|
|
6
|
+
size: 'lg' | 'md' | 'sm';
|
|
7
|
+
type: 'network' | 'coin';
|
|
8
|
+
selectMultipleItems: boolean;
|
|
4
9
|
config: {
|
|
5
10
|
icon: string;
|
|
6
11
|
label: string;
|
|
7
12
|
};
|
|
8
|
-
isCoin: boolean;
|
|
9
|
-
items: Array<any>;
|
|
10
|
-
selectMultipleItems: boolean;
|
|
11
|
-
size: 'lg' | 'md' | 'sm';
|
|
12
|
-
type: 'network' | 'coin';
|
|
13
13
|
clickOnIcon: EventEmitter<any[]>;
|
|
14
14
|
selectedIndexes: number[];
|
|
15
15
|
selectedItems: Array<any>;
|
|
16
16
|
onClick(index: number): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityAvatarStackComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityAvatarStackComponent, "gravity-avatar-stack", never, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityAvatarStackComponent, "gravity-avatar-stack", never, { "items": { "alias": "items"; "required": false; }; "isCoin": { "alias": "isCoin"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "selectMultipleItems": { "alias": "selectMultipleItems"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "clickOnIcon": "clickOnIcon"; }, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class GravityEditableInputComponent {
|
|
3
4
|
isFocused: boolean;
|
|
@@ -8,8 +9,10 @@ export declare class GravityEditableInputComponent {
|
|
|
8
9
|
size: 'sm' | 'md';
|
|
9
10
|
readOnly: boolean;
|
|
10
11
|
haveError: boolean;
|
|
12
|
+
justNumber: boolean;
|
|
13
|
+
valueChange: EventEmitter<string>;
|
|
11
14
|
onKeyUp(inputField: HTMLInputElement): void;
|
|
12
15
|
focusInput(inputField: HTMLInputElement): void;
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityEditableInputComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityEditableInputComponent, "gravity-editable-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "haveError": { "alias": "haveError"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityEditableInputComponent, "gravity-editable-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "haveError": { "alias": "haveError"; "required": false; }; "justNumber": { "alias": "justNumber"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
15
18
|
}
|
|
@@ -3,11 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class GravityModalComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
iconName: string;
|
|
6
|
-
mainText: string;
|
|
7
6
|
preTitle: string;
|
|
8
7
|
subTitle: string;
|
|
9
|
-
secondaryText: string;
|
|
10
8
|
isVisible: boolean;
|
|
9
|
+
state: 'positive' | 'negative' | 'warning' | 'neutral';
|
|
11
10
|
primaryBtnText: string;
|
|
12
11
|
primaryBtnIcon: string;
|
|
13
12
|
secondaryBtnTxt: string;
|
|
@@ -17,12 +16,12 @@ export declare class GravityModalComponent {
|
|
|
17
16
|
linkText: string;
|
|
18
17
|
linkIcon: string;
|
|
19
18
|
linkState: 'active' | 'visited' | 'pressed' | 'disabled';
|
|
20
|
-
|
|
21
|
-
primaryBtnCallback: () => void;
|
|
22
|
-
secondaryBtnCallback: () => void;
|
|
19
|
+
linkCallback: (() => void) | null;
|
|
20
|
+
primaryBtnCallback: (() => void) | null;
|
|
21
|
+
secondaryBtnCallback: (() => void) | null;
|
|
23
22
|
close: EventEmitter<void>;
|
|
24
23
|
closeModal(): void;
|
|
25
24
|
protected readonly onclose: (this: Window, ev: Event) => any;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityModalComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityModalComponent, "gravity-modal", never, { "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityModalComponent, "gravity-modal", never, { "title": { "alias": "title"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "preTitle": { "alias": "preTitle"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "state": { "alias": "state"; "required": false; }; "primaryBtnText": { "alias": "primaryBtnText"; "required": false; }; "primaryBtnIcon": { "alias": "primaryBtnIcon"; "required": false; }; "secondaryBtnTxt": { "alias": "secondaryBtnTxt"; "required": false; }; "secondaryBtnIcon": { "alias": "secondaryBtnIcon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "link": { "alias": "link"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkIcon": { "alias": "linkIcon"; "required": false; }; "linkState": { "alias": "linkState"; "required": false; }; "linkCallback": { "alias": "linkCallback"; "required": false; }; "primaryBtnCallback": { "alias": "primaryBtnCallback"; "required": false; }; "secondaryBtnCallback": { "alias": "secondaryBtnCallback"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
28
27
|
}
|
package/package.json
CHANGED