@progressio_resources/gravity-design-system 3.0.34 → 3.0.36
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-backdrop/gravity-backdrop.component.mjs +17 -0
- package/esm2022/lib/components/gravity-generic-avatar-secondary/gravity-generic-avatar-secondary.component.mjs +3 -3
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +2 -2
- package/esm2022/lib/components/gravity-navigation-card/gravity-navigation-card.component.mjs +2 -2
- package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +2 -2
- package/esm2022/lib/gravity-design-system.module.mjs +9 -4
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/progressio_resources-gravity-design-system.mjs +30 -12
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-backdrop/gravity-backdrop.component.d.ts +6 -0
- package/lib/gravity-design-system.module.d.ts +10 -9
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/styles/components/_offcanvas.scss +2 -2
- package/src/lib/styles/foundations/colors/themes/_hero.theme.scss +3 -0
- package/src/lib/styles/foundations/colors/tokens/_hero.tokens.scss +9 -1
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GravityBackdropComponent {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GravityBackdropComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityBackdropComponent, "gravity-backdrop", never, { "visible": { "alias": "visible"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
6
|
+
}
|
|
@@ -56,16 +56,17 @@ import * as i54 from "./components/gravity-card-button/gravity-card-button.compo
|
|
|
56
56
|
import * as i55 from "./components/gravity-dropdown-label/gravity-dropdown-label.component";
|
|
57
57
|
import * as i56 from "./components/gravity-navigation-card/gravity-navigation-card.component";
|
|
58
58
|
import * as i57 from "./components/gravity-generic-avatar-secondary/gravity-generic-avatar-secondary.component";
|
|
59
|
-
import * as i58 from "
|
|
60
|
-
import * as i59 from "angular-svg-icon
|
|
61
|
-
import * as i60 from "
|
|
62
|
-
import * as i61 from "
|
|
63
|
-
import * as i62 from "@angular/
|
|
64
|
-
import * as i63 from "
|
|
65
|
-
import * as i64 from "
|
|
66
|
-
import * as i65 from "@
|
|
59
|
+
import * as i58 from "./components/gravity-backdrop/gravity-backdrop.component";
|
|
60
|
+
import * as i59 from "angular-svg-icon";
|
|
61
|
+
import * as i60 from "angular-svg-icon-preloader";
|
|
62
|
+
import * as i61 from "ngx-bootstrap/datepicker";
|
|
63
|
+
import * as i62 from "@angular/common";
|
|
64
|
+
import * as i63 from "@angular/forms";
|
|
65
|
+
import * as i64 from "./vendor/gravity-tooltip/gravity-tooltip.module";
|
|
66
|
+
import * as i65 from "@ng-bootstrap/ng-bootstrap";
|
|
67
|
+
import * as i66 from "@angular/router";
|
|
67
68
|
export declare class GravityDesignSystemModule {
|
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDesignSystemModule, never>;
|
|
69
|
-
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.NodeComponent, typeof i30.NodeToggleComponent, typeof i31.NodeCheckboxComponent, typeof i32.NodeNameComponent, typeof i33.FilterByPipe, typeof i34.DateAbbreviationPipe, typeof i35.BsDatepickerDayDecoratorComponent, typeof i36.BsDatepickerNavigationViewComponent, typeof i37.BsDaysCalendarViewComponent, typeof i38.BsMonthCalendarViewComponent, typeof i39.BsYearsCalendarViewComponent, typeof i40.BsDatepickerContainerComponent, typeof i41.BsDatepickerDirective, typeof i42.BsDatepickerInlineContainerComponent, typeof i43.BsDatepickerInlineDirective, typeof i44.BsDaterangepickerContainerComponent, typeof i45.BsDaterangepickerDirective, typeof i46.BsDaterangepickerInlineContainerComponent, typeof i47.BsDaterangepickerInlineDirective, typeof i48.GravityModalComponent, typeof i49.GravityLinkComponent, typeof i50.GravityTabPrimaryComponent, typeof i51.GravityTabSecondaryComponent, typeof i52.GravityChipComponent, typeof i53.GravityEditableInputComponent, typeof i54.GravityCardButtonComponent, typeof i55.GravityDropdownLabelComponent, typeof i56.GravityNavigationCardComponent, typeof i57.GravityGenericAvatarSecondaryComponent], [typeof
|
|
70
|
+
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.NodeComponent, typeof i30.NodeToggleComponent, typeof i31.NodeCheckboxComponent, typeof i32.NodeNameComponent, typeof i33.FilterByPipe, typeof i34.DateAbbreviationPipe, typeof i35.BsDatepickerDayDecoratorComponent, typeof i36.BsDatepickerNavigationViewComponent, typeof i37.BsDaysCalendarViewComponent, typeof i38.BsMonthCalendarViewComponent, typeof i39.BsYearsCalendarViewComponent, typeof i40.BsDatepickerContainerComponent, typeof i41.BsDatepickerDirective, typeof i42.BsDatepickerInlineContainerComponent, typeof i43.BsDatepickerInlineDirective, typeof i44.BsDaterangepickerContainerComponent, typeof i45.BsDaterangepickerDirective, typeof i46.BsDaterangepickerInlineContainerComponent, typeof i47.BsDaterangepickerInlineDirective, typeof i48.GravityModalComponent, typeof i49.GravityLinkComponent, typeof i50.GravityTabPrimaryComponent, typeof i51.GravityTabSecondaryComponent, typeof i52.GravityChipComponent, typeof i53.GravityEditableInputComponent, typeof i54.GravityCardButtonComponent, typeof i55.GravityDropdownLabelComponent, typeof i56.GravityNavigationCardComponent, typeof i57.GravityGenericAvatarSecondaryComponent, typeof i58.GravityBackdropComponent], [typeof i59.AngularSvgIconModule, typeof i60.AngularSvgIconPreloaderModule, typeof i61.BsDatepickerModule, typeof i62.CommonModule, typeof i63.FormsModule, typeof i64.GravityTooltipModule, typeof i65.NgbDatepickerModule, typeof i65.NgbOffcanvasModule, typeof i65.NgbProgressbarModule, typeof i65.NgbToastModule, typeof i63.ReactiveFormsModule, typeof i66.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 i64.GravityTooltipModule, typeof i28.GravityTreeViewComponent, typeof i48.GravityModalComponent, typeof i49.GravityLinkComponent, typeof i50.GravityTabPrimaryComponent, typeof i51.GravityTabSecondaryComponent, typeof i52.GravityChipComponent, typeof i53.GravityEditableInputComponent, typeof i54.GravityCardButtonComponent, typeof i56.GravityNavigationCardComponent, typeof i57.GravityGenericAvatarSecondaryComponent, typeof i58.GravityBackdropComponent]>;
|
|
70
71
|
static ɵinj: i0.ɵɵInjectorDeclaration<GravityDesignSystemModule>;
|
|
71
72
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export * from './lib/components/gravity-card-button/gravity-card-button.componen
|
|
|
36
36
|
export * from './lib/components/gravity-dropdown-label/gravity-dropdown-label.component';
|
|
37
37
|
export * from './lib/components/gravity-navigation-card/gravity-navigation-card.component';
|
|
38
38
|
export * from './lib/components/gravity-generic-avatar-secondary/gravity-generic-avatar-secondary.component';
|
|
39
|
+
export * from './lib/components/gravity-backdrop/gravity-backdrop.component';
|
|
39
40
|
export * from './lib/services/gravity-dialog-manager.service';
|
|
40
41
|
export * from './lib/vendor/gravity-tooltip';
|
|
41
42
|
export * from './lib/components/gravity-notification/gravity-notification-content.interface';
|
|
@@ -9,7 +9,7 @@ $z-index: 1040;
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.offcanvas-backdrop {
|
|
12
|
-
background-color: var(--
|
|
12
|
+
background-color: var(--backdrop-primary);
|
|
13
13
|
height: 100vh;
|
|
14
14
|
left: 0;
|
|
15
15
|
position: fixed;
|
|
@@ -22,7 +22,7 @@ $z-index: 1040;
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&.show {
|
|
25
|
-
opacity:
|
|
25
|
+
opacity: var(--backdrop-opacity);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -553,6 +553,9 @@ $bg-generic-avatar-secondary-blocked-dark: $r500;
|
|
|
553
553
|
$bg-generic-avatar-secondary-active-light: $g400;
|
|
554
554
|
$bg-generic-avatar-secondary-active-dark: $g400;
|
|
555
555
|
|
|
556
|
+
// Backdrop
|
|
557
|
+
$backdrop-primary-light: $n600;
|
|
558
|
+
$backdrop-primary-dark: $n100;
|
|
556
559
|
|
|
557
560
|
// Chip
|
|
558
561
|
$cl-chip-disabled-state-light: $n600;
|
|
@@ -312,6 +312,10 @@
|
|
|
312
312
|
--on-bg-generic-avatar-secondary-inactive: #{$bg-generic-avatar-secondary-inactive-light};
|
|
313
313
|
--on-bg-generic-avatar-secondary-blocked: #{$bg-generic-avatar-secondary-blocked-light};
|
|
314
314
|
|
|
315
|
+
// backdrop
|
|
316
|
+
--backdrop-primary: #{$backdrop-primary-light};
|
|
317
|
+
--backdrop-opacity: 0.25;
|
|
318
|
+
|
|
315
319
|
// chip
|
|
316
320
|
--cl-chip-disabled-state: #{$cl-chip-disabled-state-light};
|
|
317
321
|
--cl-chip-active-primary: #{$cl-chip-active-primary-light};
|
|
@@ -670,7 +674,11 @@
|
|
|
670
674
|
--on-bg-generic-avatar-secondary-inactive: #{$bg-generic-avatar-secondary-inactive-dark};
|
|
671
675
|
--on-bg-generic-avatar-secondary-blocked: #{$bg-generic-avatar-secondary-blocked-dark};
|
|
672
676
|
|
|
673
|
-
//
|
|
677
|
+
// backdrop
|
|
678
|
+
--backdrop-primary: #{$backdrop-primary-dark};
|
|
679
|
+
--backdrop-opacity: 0.6;
|
|
680
|
+
|
|
681
|
+
// chip
|
|
674
682
|
--cl-chip-disabled-state: #{$cl-chip-disabled-state-dark};
|
|
675
683
|
--cl-chip-active-primary: #{$cl-chip-active-primary-dark};
|
|
676
684
|
--bg-chip-active-primary: #{$bg-chip-active-primary-dark};
|
|
@@ -121,7 +121,7 @@ $modal-margin: 3.5rem;
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.modal-backdrop {
|
|
124
|
-
background-color: var(--
|
|
124
|
+
background-color: var(--backdrop-primary);
|
|
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: var(--
|
|
136
|
+
opacity: var(--backdrop-opacity);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|