@progressio_resources/gravity-design-system 3.0.10 → 3.0.12
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-calendar-v2/datepicker/components/bs-datepicker-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +2 -2
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list-display/display-currency-items.mjs +2 -0
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +118 -0
- package/esm2022/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.mjs +25 -0
- package/esm2022/lib/components/gravity-link/gravity-link.component.mjs +30 -0
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +61 -0
- package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +2 -2
- package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +14 -5
- package/esm2022/lib/gravity-design-system.module.mjs +33 -6
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/progressio_resources-gravity-design-system.mjs +285 -39
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-dropdown-list-display/display-currency-items.d.ts +9 -0
- package/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.d.ts +34 -0
- package/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.d.ts +9 -0
- package/lib/components/gravity-link/gravity-link.component.d.ts +11 -0
- package/lib/components/gravity-modal/gravity-modal.component.d.ts +26 -0
- package/lib/components/gravity-status-indicator/gravity-status-indicator.component.d.ts +4 -2
- package/lib/gravity-design-system.module.d.ts +55 -50
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/src/lib/styles/foundations/colors/themes/_hero.theme.scss +33 -5
- package/src/lib/styles/foundations/colors/tokens/_hero.tokens.scss +36 -0
- package/src/lib/styles/foundations/spacing/_spacing.scss +19 -12
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
package/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DisplayCurrencyItems } from "./display-currency-items";
|
|
2
|
+
import { FilterByPipe } from "../gravity-dropdown-list/filter-by.pipe";
|
|
3
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GravityDropdownListDisplayComponent implements OnInit {
|
|
6
|
+
private readonly filterByPipe;
|
|
7
|
+
private _eref;
|
|
8
|
+
selectedItemsResponse: EventEmitter<any[] | any>;
|
|
9
|
+
cypressTag: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
currentLang: string;
|
|
12
|
+
isReadonly: boolean;
|
|
13
|
+
customValues: Array<any> | any;
|
|
14
|
+
defaultSelectedItemIndex: number;
|
|
15
|
+
items: DisplayCurrencyItems[];
|
|
16
|
+
size: 'md';
|
|
17
|
+
width: 'standard';
|
|
18
|
+
selectedItem: DisplayCurrencyItems;
|
|
19
|
+
set watch(searchInput: ElementRef<HTMLInputElement>);
|
|
20
|
+
availableOptions: any[];
|
|
21
|
+
dropdownOpened: boolean;
|
|
22
|
+
searchText: string;
|
|
23
|
+
selectedItems: any[];
|
|
24
|
+
constructor(filterByPipe: FilterByPipe, _eref: ElementRef);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
getStatus(): string;
|
|
27
|
+
toggleDropdown(): void;
|
|
28
|
+
selectItem(itemToAdd: any): void;
|
|
29
|
+
checkIfSelected(itemToFind: any): boolean;
|
|
30
|
+
filterItems(): void;
|
|
31
|
+
onDocumentClick($event: PointerEvent): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListDisplayComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListDisplayComponent, "gravity-dropdown-list-display", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "defaultSelectedItemIndex": { "alias": "defaultSelectedItemIndex"; "required": false; }; "items": { "alias": "items"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "selectedItemsResponse": "response"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GravityGenericAvatarComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
initials: string;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
getStatus(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityGenericAvatarComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityGenericAvatarComponent, "gravity-generic-avatar", never, { "label": { "alias": "label"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GravityLinkComponent {
|
|
3
|
+
link: string;
|
|
4
|
+
linkText: string;
|
|
5
|
+
cypressTag: string;
|
|
6
|
+
iconName: string | undefined;
|
|
7
|
+
iconPosition: 'left' | 'right';
|
|
8
|
+
state: 'active' | 'visited' | 'pressed' | 'disabled';
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityLinkComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityLinkComponent, "gravity-link", never, { "link": { "alias": "link"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GravityModalComponent {
|
|
4
|
+
title: string;
|
|
5
|
+
mainText: string;
|
|
6
|
+
preTitle: string;
|
|
7
|
+
subTitle: string;
|
|
8
|
+
secondaryText: string;
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
primaryBtnText: string;
|
|
11
|
+
primaryBtnIcon: string;
|
|
12
|
+
secondaryBtnTxt: string;
|
|
13
|
+
secondaryBtnIcon: string;
|
|
14
|
+
iconPosition: 'right' | 'left';
|
|
15
|
+
link: string;
|
|
16
|
+
linkText: string;
|
|
17
|
+
linkIcon: string;
|
|
18
|
+
linkState: 'active' | 'visited' | 'pressed' | 'disabled';
|
|
19
|
+
primaryBtnCallback: () => void;
|
|
20
|
+
secondaryBtnCallback: () => void;
|
|
21
|
+
close: EventEmitter<void>;
|
|
22
|
+
closeModal(): void;
|
|
23
|
+
protected readonly onclose: (this: Window, ev: Event) => any;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityModalComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityModalComponent, "gravity-modal", never, { "title": { "alias": "title"; "required": false; }; "mainText": { "alias": "mainText"; "required": false; }; "preTitle": { "alias": "preTitle"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "secondaryText": { "alias": "secondaryText"; "required": false; }; "isVisible": { "alias": "isVisible"; "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; }; "primaryBtnCallback": { "alias": "primaryBtnCallback"; "required": false; }; "secondaryBtnCallback": { "alias": "secondaryBtnCallback"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class GravityStatusIndicatorComponent {
|
|
3
3
|
icon: string;
|
|
4
|
-
status: 'positive' | 'negative' | 'neutro';
|
|
5
4
|
text: string;
|
|
5
|
+
size: 'sm' | 'md';
|
|
6
|
+
status: 'positive' | 'negative' | 'attention' | 'neutro';
|
|
7
|
+
getIconSizeClass(size: string): 'sm-12' | 'md-16';
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityStatusIndicatorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityStatusIndicatorComponent, "gravity-status-indicator", never, { "icon": { "alias": "icon"; "required": false; }; "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityStatusIndicatorComponent, "gravity-status-indicator", never, { "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
10
|
}
|
|
@@ -1,57 +1,62 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./components/gravity-attach-file/gravity-attach-file.component";
|
|
3
3
|
import * as i2 from "./components/gravity-avatar-stack/gravity-avatar-stack.component";
|
|
4
|
-
import * as i3 from "./components/gravity-
|
|
5
|
-
import * as i4 from "./components/gravity-
|
|
6
|
-
import * as i5 from "./components/gravity-calendar
|
|
7
|
-
import * as i6 from "./components/gravity-
|
|
8
|
-
import * as i7 from "./components/gravity-
|
|
9
|
-
import * as i8 from "./components/gravity-
|
|
10
|
-
import * as i9 from "./components/gravity-currency
|
|
11
|
-
import * as i10 from "./components/gravity-
|
|
12
|
-
import * as i11 from "./components/gravity-
|
|
13
|
-
import * as i12 from "./components/gravity-
|
|
14
|
-
import * as i13 from "./components/gravity-
|
|
15
|
-
import * as i14 from "./components/gravity-
|
|
16
|
-
import * as i15 from "./components/gravity-
|
|
17
|
-
import * as i16 from "./components/gravity-
|
|
18
|
-
import * as i17 from "./components/gravity-
|
|
19
|
-
import * as i18 from "./components/gravity-
|
|
20
|
-
import * as i19 from "./components/gravity-
|
|
21
|
-
import * as i20 from "./components/gravity-
|
|
22
|
-
import * as i21 from "./components/gravity-
|
|
23
|
-
import * as i22 from "./components/gravity-
|
|
24
|
-
import * as i23 from "./components/gravity-
|
|
25
|
-
import * as i24 from "./components/gravity-
|
|
26
|
-
import * as i25 from "./components/gravity-
|
|
27
|
-
import * as i26 from "./components/gravity-
|
|
28
|
-
import * as i27 from "./components/gravity-
|
|
29
|
-
import * as i28 from "./components/gravity-tree-view/
|
|
30
|
-
import * as i29 from "./components/gravity-
|
|
31
|
-
import * as i30 from "./components/gravity-
|
|
32
|
-
import * as i31 from "./components/gravity-
|
|
33
|
-
import * as i32 from "./components/gravity-
|
|
34
|
-
import * as i33 from "./components/gravity-
|
|
35
|
-
import * as i34 from "./components/gravity-
|
|
36
|
-
import * as i35 from "./components/gravity-
|
|
37
|
-
import * as i36 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
38
|
-
import * as i37 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-
|
|
39
|
-
import * as i38 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
40
|
-
import * as i39 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
41
|
-
import * as i40 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
42
|
-
import * as i41 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
43
|
-
import * as i42 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
44
|
-
import * as i43 from "./components/gravity-calendar-v2/datepicker/components/bs-
|
|
45
|
-
import * as i44 from "./components/gravity-calendar-v2/datepicker/bs-
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "
|
|
48
|
-
import * as i47 from "
|
|
49
|
-
import * as i48 from "
|
|
50
|
-
import * as i49 from "
|
|
51
|
-
import * as i50 from "
|
|
52
|
-
import * as i51 from "
|
|
4
|
+
import * as i3 from "./components/gravity-generic-avatar/gravity-generic-avatar.component";
|
|
5
|
+
import * as i4 from "./components/gravity-button/gravity-button.component";
|
|
6
|
+
import * as i5 from "./components/gravity-calendar/gravity-calendar.component";
|
|
7
|
+
import * as i6 from "./components/gravity-calendar-v2/gravity-calendar-v2.component";
|
|
8
|
+
import * as i7 from "./components/gravity-card-list/gravity-card-list.component";
|
|
9
|
+
import * as i8 from "./components/gravity-checkbox/gravity-checkbox.component";
|
|
10
|
+
import * as i9 from "./components/gravity-currency/gravity-currency.component";
|
|
11
|
+
import * as i10 from "./components/gravity-currency-display/gravity-currency-display.component";
|
|
12
|
+
import * as i11 from "./components/gravity-dialog/gravity-dialog.component";
|
|
13
|
+
import * as i12 from "./components/gravity-dropdown-list/gravity-dropdown-list.component";
|
|
14
|
+
import * as i13 from "./components/gravity-dropdown-list-display/gravity-dropdown-list-display.component";
|
|
15
|
+
import * as i14 from "./components/gravity-icon-button/gravity-icon-button.component";
|
|
16
|
+
import * as i15 from "./components/gravity-icon/gravity-icon.component";
|
|
17
|
+
import * as i16 from "./components/gravity-multi-language/gravity-multi-language.component";
|
|
18
|
+
import * as i17 from "./components/gravity-network-pill/gravity-network-pill.component";
|
|
19
|
+
import * as i18 from "./components/gravity-notification/gravity-notification.component";
|
|
20
|
+
import * as i19 from "./components/gravity-notification-instant/gravity-notification-instant-container.component";
|
|
21
|
+
import * as i20 from "./components/gravity-offcanvas/gravity-offcanvas.component";
|
|
22
|
+
import * as i21 from "./components/gravity-radio-button/gravity-radio-button.component";
|
|
23
|
+
import * as i22 from "./components/gravity-status-indicator/gravity-status-indicator.component";
|
|
24
|
+
import * as i23 from "./components/gravity-stepper/gravity-stepper.component";
|
|
25
|
+
import * as i24 from "./components/gravity-switch/gravity-switch.component";
|
|
26
|
+
import * as i25 from "./components/gravity-table/gravity-table.component";
|
|
27
|
+
import * as i26 from "./components/gravity-text-field/gravity-text-field.component";
|
|
28
|
+
import * as i27 from "./components/gravity-text-field-number-only/gravity-text-field-number-only.component";
|
|
29
|
+
import * as i28 from "./components/gravity-tree-view/gravity-tree-view.component";
|
|
30
|
+
import * as i29 from "./components/gravity-modal/gravity-modal.component";
|
|
31
|
+
import * as i30 from "./components/gravity-link/gravity-link.component";
|
|
32
|
+
import * as i31 from "./components/gravity-tree-view/node/node.component";
|
|
33
|
+
import * as i32 from "./components/gravity-tree-view/node/node-toggle/node-toggle.component";
|
|
34
|
+
import * as i33 from "./components/gravity-tree-view/node/node-checkbox/node-checkbox.component";
|
|
35
|
+
import * as i34 from "./components/gravity-tree-view/node/node-name/node-name.component";
|
|
36
|
+
import * as i35 from "./components/gravity-dropdown-list/filter-by.pipe";
|
|
37
|
+
import * as i36 from "./components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-datepicker-day-decorator.directive";
|
|
38
|
+
import * as i37 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-navigation-view/bs-datepicker-navigation-view.component";
|
|
39
|
+
import * as i38 from "./components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-days-calendar-view.component";
|
|
40
|
+
import * as i39 from "./components/gravity-calendar-v2/datepicker/components/bs-months-calendar-view/bs-months-calendar-view.component";
|
|
41
|
+
import * as i40 from "./components/gravity-calendar-v2/datepicker/components/bs-years-calendar-view/bs-years-calendar-view.component";
|
|
42
|
+
import * as i41 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component";
|
|
43
|
+
import * as i42 from "./components/gravity-calendar-v2/datepicker/bs-datepicker.component";
|
|
44
|
+
import * as i43 from "./components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component";
|
|
45
|
+
import * as i44 from "./components/gravity-calendar-v2/datepicker/bs-datepicker-inline.component";
|
|
46
|
+
import * as i45 from "./components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component";
|
|
47
|
+
import * as i46 from "./components/gravity-calendar-v2/datepicker/bs-daterangepicker.component";
|
|
48
|
+
import * as i47 from "./components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component";
|
|
49
|
+
import * as i48 from "./components/gravity-calendar-v2/datepicker/bs-daterangepicker-inline.component";
|
|
50
|
+
import * as i49 from "angular-svg-icon";
|
|
51
|
+
import * as i50 from "angular-svg-icon-preloader";
|
|
52
|
+
import * as i51 from "ngx-bootstrap/datepicker";
|
|
53
|
+
import * as i52 from "@angular/common";
|
|
54
|
+
import * as i53 from "@angular/forms";
|
|
55
|
+
import * as i54 from "./vendor/gravity-tooltip/gravity-tooltip.module";
|
|
56
|
+
import * as i55 from "@ng-bootstrap/ng-bootstrap";
|
|
57
|
+
import * as i56 from "@angular/router";
|
|
53
58
|
export declare class GravityDesignSystemModule {
|
|
54
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDesignSystemModule, never>;
|
|
55
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.
|
|
60
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GravityDesignSystemModule, [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarComponent, typeof i6.GravityCalendarV2Component, typeof i7.GravityCardListComponent, typeof i8.GravityCheckboxComponent, typeof i9.GravityCurrencyComponent, typeof i10.GravityCurrencyDisplayComponent, typeof i11.GravityDialogComponent, typeof i12.GravityDropdownListComponent, typeof i13.GravityDropdownListDisplayComponent, typeof i14.GravityIconButtonComponent, typeof i15.GravityIconComponent, typeof i16.GravityMultiLanguageComponent, typeof i17.GravityNetworkPillComponent, typeof i18.GravityNotificationComponent, typeof i19.GravityNotificationInstantContainerComponent, typeof i20.GravityOffcanvasComponent, typeof i21.GravityRadioButtonComponent, typeof i22.GravityStatusIndicatorComponent, typeof i23.GravityStepperComponent, typeof i24.GravitySwitchComponent, typeof i25.GravityTableComponent, typeof i26.GravityTextFieldComponent, typeof i27.GravityTextFieldNumberOnlyComponent, typeof i28.GravityTreeViewComponent, typeof i29.GravityModalComponent, typeof i30.GravityLinkComponent, typeof i31.NodeComponent, typeof i32.NodeToggleComponent, typeof i33.NodeCheckboxComponent, typeof i34.NodeNameComponent, typeof i35.FilterByPipe, typeof i36.BsDatepickerDayDecoratorComponent, typeof i37.BsDatepickerNavigationViewComponent, typeof i38.BsDaysCalendarViewComponent, typeof i39.BsMonthCalendarViewComponent, typeof i40.BsYearsCalendarViewComponent, typeof i41.BsDatepickerContainerComponent, typeof i42.BsDatepickerDirective, typeof i43.BsDatepickerInlineContainerComponent, typeof i44.BsDatepickerInlineDirective, typeof i45.BsDaterangepickerContainerComponent, typeof i46.BsDaterangepickerDirective, typeof i47.BsDaterangepickerInlineContainerComponent, typeof i48.BsDaterangepickerInlineDirective, typeof i29.GravityModalComponent, typeof i30.GravityLinkComponent], [typeof i49.AngularSvgIconModule, typeof i50.AngularSvgIconPreloaderModule, typeof i51.BsDatepickerModule, typeof i52.CommonModule, typeof i53.FormsModule, typeof i54.GravityTooltipModule, typeof i55.NgbDatepickerModule, typeof i55.NgbOffcanvasModule, typeof i55.NgbProgressbarModule, typeof i55.NgbToastModule, typeof i53.ReactiveFormsModule, typeof i56.RouterLink], [typeof i1.GravityAttachFileComponent, typeof i2.GravityAvatarStackComponent, typeof i3.GravityGenericAvatarComponent, typeof i4.GravityButtonComponent, typeof i5.GravityCalendarComponent, typeof i6.GravityCalendarV2Component, typeof i7.GravityCardListComponent, typeof i8.GravityCheckboxComponent, typeof i9.GravityCurrencyComponent, typeof i10.GravityCurrencyDisplayComponent, typeof i11.GravityDialogComponent, typeof i12.GravityDropdownListComponent, typeof i13.GravityDropdownListDisplayComponent, typeof i14.GravityIconButtonComponent, typeof i15.GravityIconComponent, typeof i16.GravityMultiLanguageComponent, typeof i17.GravityNetworkPillComponent, typeof i19.GravityNotificationInstantContainerComponent, typeof i20.GravityOffcanvasComponent, typeof i21.GravityRadioButtonComponent, typeof i22.GravityStatusIndicatorComponent, typeof i23.GravityStepperComponent, typeof i24.GravitySwitchComponent, typeof i25.GravityTableComponent, typeof i26.GravityTextFieldComponent, typeof i27.GravityTextFieldNumberOnlyComponent, typeof i54.GravityTooltipModule, typeof i28.GravityTreeViewComponent, typeof i29.GravityModalComponent, typeof i30.GravityLinkComponent]>;
|
|
56
61
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
57
62
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/components/gravity-currency/gravity-currency.component';
|
|
|
10
10
|
export * from './lib/components/gravity-currency-display/gravity-currency-display.component';
|
|
11
11
|
export * from './lib/components/gravity-dialog/gravity-dialog.component';
|
|
12
12
|
export * from './lib/components/gravity-dropdown-list/gravity-dropdown-list.component';
|
|
13
|
+
export * from './lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component';
|
|
13
14
|
export * from './lib/components/gravity-icon/gravity-icon.component';
|
|
14
15
|
export * from './lib/components/gravity-icon-button/gravity-icon-button.component';
|
|
15
16
|
export * from './lib/components/gravity-multi-language/gravity-multi-language.component';
|
|
@@ -24,6 +25,9 @@ export * from './lib/components/gravity-table/gravity-table.component';
|
|
|
24
25
|
export * from './lib/components/gravity-text-field/gravity-text-field.component';
|
|
25
26
|
export * from './lib/components/gravity-text-field-number-only/gravity-text-field-number-only.component';
|
|
26
27
|
export * from './lib/components/gravity-tree-view/gravity-tree-view.component';
|
|
28
|
+
export * from './lib/components/gravity-generic-avatar/gravity-generic-avatar.component';
|
|
29
|
+
export * from './lib/components/gravity-modal/gravity-modal.component';
|
|
30
|
+
export * from './lib/components/gravity-link/gravity-link.component';
|
|
27
31
|
export * from './lib/services/gravity-dialog-manager.service';
|
|
28
32
|
export * from './lib/vendor/gravity-tooltip';
|
|
29
33
|
export * from './lib/components/gravity-notification/gravity-notification-content.interface';
|
|
@@ -90,6 +90,12 @@ $bg-button-pressed-alternative-light: $o300;
|
|
|
90
90
|
$on-bg-button-pressed-alternative-dark: $o100;
|
|
91
91
|
$bg-button-pressed-alternative-dark: $o300;
|
|
92
92
|
|
|
93
|
+
// button-neutral
|
|
94
|
+
$on-bg-button-active-neutro-light: $n400;
|
|
95
|
+
$bg-button-active-neutro-light: $n800;
|
|
96
|
+
$on-bg-button-active-neutro-dark: $n800;
|
|
97
|
+
$bg-button-active-neutro-dark: $n200;
|
|
98
|
+
|
|
93
99
|
// disabled-status
|
|
94
100
|
$on-bg-disabled-light: $n600;
|
|
95
101
|
$bg-disabled-light: $n800;
|
|
@@ -101,8 +107,10 @@ $outline-disabled-dark: $n500;
|
|
|
101
107
|
// surface
|
|
102
108
|
$surface-primary-light: $n800;
|
|
103
109
|
$surface-secondary-light: $n900;
|
|
110
|
+
$surface-tertiary-light: $n600;
|
|
104
111
|
$surface-primary-dark: $n200;
|
|
105
112
|
$surface-secondary-dark: $n100;
|
|
113
|
+
$surface-tertiary-dark: $n100;
|
|
106
114
|
|
|
107
115
|
// text
|
|
108
116
|
$text-primary-light: $n400;
|
|
@@ -326,6 +334,12 @@ $bg-dropdown-item-hover-primary-dark: $n300;
|
|
|
326
334
|
$on-bg-dropdown-item-pressed-primary-dark: $n900;
|
|
327
335
|
$on-bg-dropdown-item-disabled-primary-dark: $n300;
|
|
328
336
|
|
|
337
|
+
// dropdown-list-display-currency
|
|
338
|
+
$bg-dropdown-list-dc-primary-light: $n800;
|
|
339
|
+
$outline-dropdown-list-dc-primary-light: $n800;
|
|
340
|
+
$bg-dropdown-list-dc-primary-dark: $n200;
|
|
341
|
+
$outline-dropdown-list-dc-primary-dark: $n200;
|
|
342
|
+
|
|
329
343
|
// loading
|
|
330
344
|
$loading-primary-light: $b400;
|
|
331
345
|
$loading-primary-dark: $b700;
|
|
@@ -391,13 +405,13 @@ $on-bg-icon-dialog-primary-dark: $n300;
|
|
|
391
405
|
$bg-icon-dialog-primary-dark: $n800;
|
|
392
406
|
|
|
393
407
|
// link
|
|
394
|
-
$link-active-primary-light: $
|
|
395
|
-
$link-hover-primary-light: $
|
|
396
|
-
$bg-link-hover-primary-light: $
|
|
408
|
+
$link-active-primary-light: $b500;
|
|
409
|
+
$link-hover-primary-light: $b800;
|
|
410
|
+
$bg-link-hover-primary-light: $b400;
|
|
397
411
|
$link-disabled-primary-light: $n600;
|
|
398
412
|
$link-visited-primary-light: $b200;
|
|
399
|
-
$link-active-primary-dark: $
|
|
400
|
-
$link-hover-primary-dark: $
|
|
413
|
+
$link-active-primary-dark: $b800;
|
|
414
|
+
$link-hover-primary-dark: $b300;
|
|
401
415
|
$bg-link-hover-primary-dark: $n300;
|
|
402
416
|
$link-disabled-primary-dark: $n500;
|
|
403
417
|
$link-visited-primary-dark: $n900;
|
|
@@ -514,6 +528,20 @@ $bg-icon-button-pressed-dark: $n300;
|
|
|
514
528
|
$on-bg-icon-button-disabled-light: $n700;
|
|
515
529
|
$on-bg-icon-button-disabled-dark: $n400;
|
|
516
530
|
|
|
531
|
+
// generic-avatar
|
|
532
|
+
$cl-generic-avatar-label-primary-light: $n400;
|
|
533
|
+
$cl-generic-avatar-label-primary-dark: $n800;
|
|
534
|
+
$cl-generic-avatar-label-disabled-light: $n600;
|
|
535
|
+
$cl-generic-avatar-label-disabled-dark: $n500;
|
|
536
|
+
$bg-generic-avatar-initials-primary-light: $n400;
|
|
537
|
+
$bg-generic-avatar-initials-primary-dark: $n800;
|
|
538
|
+
$bg-generic-avatar-initials-disabled-light: $n800;
|
|
539
|
+
$bg-generic-avatar-initials-disabled-dark: $n200;
|
|
540
|
+
$cl-generic-avatar-initials-text-primary-light: $n900;
|
|
541
|
+
$cl-generic-avatar-initials-text-primary-dark: $n500;
|
|
542
|
+
$cl-generic-avatar-initials-text-disabled-light: $n600;
|
|
543
|
+
$cl-generic-avatar-initials-text-disabled-dark: $n500;
|
|
544
|
+
|
|
517
545
|
// currencies
|
|
518
546
|
$on-bg-currency: $c1;
|
|
519
547
|
$btc-primary-light: $c10;
|
|
@@ -53,6 +53,10 @@
|
|
|
53
53
|
--on-bg-button-pressed-alternative: #{$on-bg-button-pressed-alternative-light};
|
|
54
54
|
--bg-button-pressed-alternative: #{$bg-button-pressed-alternative-light};
|
|
55
55
|
|
|
56
|
+
// button-neutral
|
|
57
|
+
--on-bg-button-active-neutro: #{$on-bg-button-active-neutro-light};
|
|
58
|
+
--bg-button-active-neutro: #{$bg-button-active-neutro-light};
|
|
59
|
+
|
|
56
60
|
// disabled-status
|
|
57
61
|
--on-bg-disabled: #{$on-bg-disabled-light};
|
|
58
62
|
--bg-disabled: #{$bg-disabled-light};
|
|
@@ -61,6 +65,8 @@
|
|
|
61
65
|
// surface
|
|
62
66
|
--surface-primary: #{$surface-primary-light};
|
|
63
67
|
--surface-secondary: #{$surface-secondary-light};
|
|
68
|
+
--surface-tertiary: #{$surface-tertiary-light};
|
|
69
|
+
--surface-opacity: .25;
|
|
64
70
|
|
|
65
71
|
// text
|
|
66
72
|
--text-primary: #{$text-primary-light};
|
|
@@ -186,6 +192,10 @@
|
|
|
186
192
|
--on-bg-dropdown-item-pressed-primary: #{$on-bg-dropdown-item-pressed-primary-light};
|
|
187
193
|
--on-bg-dropdown-item-disabled-primary: #{$on-bg-dropdown-item-disabled-primary-light};
|
|
188
194
|
|
|
195
|
+
// dropdown-list-display-currency
|
|
196
|
+
--bg-dropdown-list-dc-primary: #{$bg-dropdown-list-dc-primary-light};
|
|
197
|
+
--outline-dropdown-list-dc-primary: #{$outline-dropdown-list-dc-primary-light};
|
|
198
|
+
|
|
189
199
|
// loading
|
|
190
200
|
--loading-primary: #{$loading-primary-light};
|
|
191
201
|
|
|
@@ -289,6 +299,14 @@
|
|
|
289
299
|
--bg-icon-button-pressed: #{$bg-icon-button-pressed-light};
|
|
290
300
|
--on-bg-icon-button-disabled: #{$on-bg-icon-button-disabled-light};
|
|
291
301
|
|
|
302
|
+
// generic-avatar
|
|
303
|
+
--cl-generic-avatar-label-primary: #{$cl-generic-avatar-label-primary-light};
|
|
304
|
+
--cl-generic-avatar-label-disabled: #{$cl-generic-avatar-label-disabled-light};
|
|
305
|
+
--bg-generic-avatar-initials-primary: #{$bg-generic-avatar-initials-primary-light};
|
|
306
|
+
--bg-generic-avatar-initials-disabled: #{$bg-generic-avatar-initials-disabled-light};
|
|
307
|
+
--cl-generic-avatar-initial-text-primary: #{$cl-generic-avatar-initials-text-primary-light};
|
|
308
|
+
--cl-generic-avatar-initial-text-disabled: #{$cl-generic-avatar-initials-text-disabled-light};
|
|
309
|
+
|
|
292
310
|
// Currencies
|
|
293
311
|
--btc-primary: #{$btc-primary-light};
|
|
294
312
|
--busd-primary: #{$busd-primary-light};
|
|
@@ -378,6 +396,10 @@
|
|
|
378
396
|
--on-bg-button-pressed-alternative: #{$on-bg-button-pressed-alternative-dark};
|
|
379
397
|
--bg-button-pressed-alternative: #{$bg-button-pressed-alternative-dark};
|
|
380
398
|
|
|
399
|
+
// button-neutral
|
|
400
|
+
--on-bg-button-active-neutro: #{$on-bg-button-active-neutro-dark};
|
|
401
|
+
--bg-button-active-neutro: #{$bg-button-active-neutro-dark};
|
|
402
|
+
|
|
381
403
|
// disabled-status
|
|
382
404
|
--on-bg-disabled: #{$on-bg-disabled-dark};
|
|
383
405
|
--bg-disabled: #{$bg-disabled-dark};
|
|
@@ -386,6 +408,8 @@
|
|
|
386
408
|
// surface
|
|
387
409
|
--surface-primary: #{$surface-primary-dark};
|
|
388
410
|
--surface-secondary: #{$surface-secondary-dark};
|
|
411
|
+
--surface-tertiary: #{$surface-tertiary-dark};
|
|
412
|
+
--surface-opacity: .6;
|
|
389
413
|
|
|
390
414
|
// text
|
|
391
415
|
--text-primary: #{$text-primary-dark};
|
|
@@ -511,6 +535,10 @@
|
|
|
511
535
|
--on-bg-dropdown-item-pressed-primary: #{$on-bg-dropdown-item-pressed-primary-dark};
|
|
512
536
|
--on-bg-dropdown-item-disabled-primary: #{$on-bg-dropdown-item-disabled-primary-dark};
|
|
513
537
|
|
|
538
|
+
//dropdown-list-display-currency
|
|
539
|
+
--bg-dropdown-list-dc-primary: #{$bg-dropdown-list-dc-primary-dark};
|
|
540
|
+
--outline-dropdown-list-dc-primary: #{$outline-dropdown-list-dc-primary-dark};
|
|
541
|
+
|
|
514
542
|
// loading
|
|
515
543
|
--loading-primary: #{$loading-primary-dark};
|
|
516
544
|
|
|
@@ -614,6 +642,14 @@
|
|
|
614
642
|
--bg-icon-button-pressed: #{$bg-icon-button-pressed-dark};
|
|
615
643
|
--on-bg-icon-button-disabled: #{$on-bg-icon-button-disabled-dark};
|
|
616
644
|
|
|
645
|
+
// generic-avatar
|
|
646
|
+
--cl-generic-avatar-label-primary: #{$cl-generic-avatar-label-primary-dark};
|
|
647
|
+
--cl-generic-avatar-label-disabled: #{$cl-generic-avatar-label-disabled-dark};
|
|
648
|
+
--bg-generic-avatar-initials-primary: #{$bg-generic-avatar-initials-primary-dark};
|
|
649
|
+
--bg-generic-avatar-initials-disabled: #{$bg-generic-avatar-initials-disabled-dark};
|
|
650
|
+
--cl-generic-avatar-initial-text-primary: #{$cl-generic-avatar-initials-text-primary-dark};
|
|
651
|
+
--cl-generic-avatar-initial-text-disabled: #{$cl-generic-avatar-initials-text-disabled-dark};
|
|
652
|
+
|
|
617
653
|
// Currencies
|
|
618
654
|
--btc-primary: #{$c10};
|
|
619
655
|
--busd-primary: #{$busd-primary-dark};
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
$scss-types: padding, margin;
|
|
2
|
-
$spacing-sizes: none, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
|
|
2
|
+
$spacing-sizes: none, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl;
|
|
3
3
|
$spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
|
|
4
4
|
|
|
5
5
|
$spacing-values: (
|
|
6
|
-
none: 0,
|
|
7
|
-
xxs: 0.25rem,
|
|
8
|
-
xs: 0.5rem,
|
|
9
|
-
sm: 1rem,
|
|
10
|
-
md: 1.5rem,
|
|
11
|
-
lg: 2rem,
|
|
12
|
-
xl:
|
|
13
|
-
xxl:
|
|
14
|
-
xxxl:
|
|
15
|
-
xxxxl:
|
|
6
|
+
none: 0, // 0px
|
|
7
|
+
xxs: 0.25rem, // 4px
|
|
8
|
+
xs: 0.5rem, // 8px
|
|
9
|
+
sm: 1rem, // 16px
|
|
10
|
+
md: 1.5rem, // 24px
|
|
11
|
+
lg: 2rem, // 32px
|
|
12
|
+
xl: 2.5rem, // 40px
|
|
13
|
+
xxl: 3rem, // 48px
|
|
14
|
+
xxxl: 4rem, // 64px
|
|
15
|
+
xxxxl: 6rem, // 96px
|
|
16
|
+
xxxxxl: 12rem // 192px
|
|
16
17
|
);
|
|
17
18
|
|
|
19
|
+
:root {
|
|
20
|
+
@each $key, $value in $spacing-values {
|
|
21
|
+
--gravity-spacing-#{$key}: #{$value};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
18
25
|
@each $scss-type in $scss-types {
|
|
19
26
|
@each $size in $spacing-sizes {
|
|
20
27
|
@each $spacing-type in $spacing-types {
|
|
21
|
-
//.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxs, xs,sm,md,lg,xl,xxl,xxxl,xxxxl}}
|
|
28
|
+
//.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl}}
|
|
22
29
|
.gravity-#{$scss-type}#{$spacing-type}-#{$size} {
|
|
23
30
|
#{$scss-type}#{$spacing-type}: map-get($spacing-values, $size) !important;
|
|
24
31
|
}
|
|
@@ -121,7 +121,7 @@ $modal-margin: 3.5rem;
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.modal-backdrop {
|
|
124
|
-
background-color: var(--surface-
|
|
124
|
+
background-color: var(--surface-tertiary);
|
|
125
125
|
height: 100vh;
|
|
126
126
|
left: 0;
|
|
127
127
|
position: fixed;
|
|
@@ -133,7 +133,7 @@ $modal-margin: 3.5rem;
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&.show {
|
|
136
|
-
opacity:
|
|
136
|
+
opacity: var(--surface-opacity);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|