@progressio_resources/gravity-design-system 3.0.35 → 3.0.37

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.
@@ -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
+ }
@@ -15,6 +15,7 @@ export declare class GravityDropdownListComponent implements OnChanges {
15
15
  cypressTag: string;
16
16
  hasError: boolean;
17
17
  iconLeft: string;
18
+ isCurrency: boolean;
18
19
  isDisabled: boolean;
19
20
  isReadonly: boolean;
20
21
  items: Array<any>;
@@ -23,9 +24,6 @@ export declare class GravityDropdownListComponent implements OnChanges {
23
24
  placeholder: string;
24
25
  required: boolean;
25
26
  supportText: string;
26
- currency_id: number;
27
- network_iso: string;
28
- network_id: number;
29
27
  labelSize: 'sm' | 'md' | 'lg';
30
28
  size: 'sm' | 'md' | 'lg' | 'xl';
31
29
  inputType: 'field' | 'label';
@@ -49,5 +47,5 @@ export declare class GravityDropdownListComponent implements OnChanges {
49
47
  getSpacingClass(size: string): "" | "gravity-margin-right-xxs" | "gravity-margin-right-xs" | "gravity-margin-right-sm" | "gravity-margin-right-md";
50
48
  getLabelText(): string;
51
49
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "clearable": { "alias": "clearable"; "required": false; }; "config": { "alias": "config"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "currency_id": { "alias": "currency_id"; "required": false; }; "network_iso": { "alias": "network_iso"; "required": false; }; "network_id": { "alias": "network_id"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "selectedItemsResponse": "response"; }, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "clearable": { "alias": "clearable"; "required": false; }; "config": { "alias": "config"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "isCurrency": { "alias": "isCurrency"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "selectedItemsResponse": "response"; }, never, never, false, never>;
53
51
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GravityIconButtonComponent {
4
+ cypressTag: string;
4
5
  icon: string;
5
6
  supportText: string;
6
7
  variant: boolean;
@@ -10,5 +11,5 @@ export declare class GravityIconButtonComponent {
10
11
  clickOnIcon: EventEmitter<void>;
11
12
  onClick(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityIconButtonComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<GravityIconButtonComponent, "gravity-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "clickOnIcon": "clickOnIcon"; }, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<GravityIconButtonComponent, "gravity-icon-button", never, { "cypressTag": { "alias": "cypressTag"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "clickOnIcon": "clickOnIcon"; }, never, never, false, never>;
14
15
  }
@@ -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 "angular-svg-icon";
60
- import * as i59 from "angular-svg-icon-preloader";
61
- import * as i60 from "ngx-bootstrap/datepicker";
62
- import * as i61 from "@angular/common";
63
- import * as i62 from "@angular/forms";
64
- import * as i63 from "./vendor/gravity-tooltip/gravity-tooltip.module";
65
- import * as i64 from "@ng-bootstrap/ng-bootstrap";
66
- import * as i65 from "@angular/router";
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 i58.AngularSvgIconModule, typeof i59.AngularSvgIconPreloaderModule, typeof i60.BsDatepickerModule, typeof i61.CommonModule, typeof i62.FormsModule, typeof i63.GravityTooltipModule, typeof i64.NgbDatepickerModule, typeof i64.NgbOffcanvasModule, typeof i64.NgbProgressbarModule, typeof i64.NgbToastModule, typeof i62.ReactiveFormsModule, typeof i65.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 i63.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]>;
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progressio_resources/gravity-design-system",
3
3
  "description": "Gravity Design System",
4
- "version": "3.0.35",
4
+ "version": "3.0.37",
5
5
  "license": "SEE LICENSE IN LIBRARY-LICENSE",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^16.2.12",
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(--surface-primary);
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: .5;
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
- //chip
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(--surface-tertiary);
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(--surface-opacity);
136
+ opacity: var(--backdrop-opacity);
137
137
  }
138
138
  }
139
139