@progressio_resources/gravity-design-system 3.0.45 → 3.0.47

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.
@@ -6,6 +6,7 @@ export declare class GravityCheckboxComponent implements AfterViewInit, OnChange
6
6
  name: string;
7
7
  size: 'md' | 'sm';
8
8
  value: string;
9
+ isPartial: boolean;
9
10
  change: EventEmitter<{
10
11
  value: string;
11
12
  checked: boolean;
@@ -15,5 +16,5 @@ export declare class GravityCheckboxComponent implements AfterViewInit, OnChange
15
16
  ngOnChanges(changes: SimpleChanges): void;
16
17
  toggleCheckbox(): void;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityCheckboxComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GravityCheckboxComponent, "gravity-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<GravityCheckboxComponent, "gravity-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isPartial": { "alias": "isPartial"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
19
20
  }
@@ -36,19 +36,24 @@ export declare class GravityDropdownListComponent implements OnChanges {
36
36
  dropdownOpened: boolean;
37
37
  searchText: string;
38
38
  selectedItems: any[];
39
+ openChildrenMap: Map<any, boolean>;
39
40
  constructor(filterByPipe: FilterByPipe, _eref: ElementRef);
40
41
  ngOnChanges(changes: SimpleChanges): void;
41
42
  getStatus(): string;
42
43
  isIconLeftNew(): boolean;
43
44
  toggleDropdown(): void;
44
45
  selectItem(itemToAdd: any): void;
46
+ isPartiallySelected(item: any): boolean;
45
47
  checkIfSelected(itemToFind: any): boolean;
46
48
  clearSelection(): void;
47
49
  filterItems(): void;
48
50
  onDocumentClick($event: PointerEvent): void;
49
51
  getCurrencyIconSize(size: string): "sm-16" | "lg-32" | "xl-40" | "md-24";
50
52
  getSpacingClass(size: string): "" | "gravity-margin-right-xxs" | "gravity-margin-right-xs" | "gravity-margin-right-sm" | "gravity-margin-right-md";
53
+ getMultilevelSpacingClass(size: string): "" | "gravity-margin-right-md" | "gravity-margin-right-lg";
51
54
  getLabelText(): string;
55
+ isChildrenOpen(item: any): boolean;
56
+ toggleChildren(item: any, event: MouseEvent): void;
52
57
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListComponent, never>;
53
58
  static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "dropdownState": { "alias": "dropdownState"; "required": false; }; "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; }; }, { "dropdownStateChange": "dropdownStateChange"; "selectedItemsResponse": "response"; }, never, ["*"], false, never>;
54
59
  }
@@ -25,56 +25,57 @@ export declare enum ICONS {
25
25
  'bell' = 6,
26
26
  'calendar' = 7,
27
27
  'check' = 8,
28
- 'clock' = 9,
29
- 'chevron-double-down' = 10,
30
- 'chevron-double-up' = 11,
31
- 'copy' = 12,
32
- 'deposit' = 13,
33
- 'download' = 14,
34
- 'eye-closed' = 15,
35
- 'eye-open' = 16,
36
- 'exchange-provider' = 17,
37
- 'graphics' = 18,
38
- 'happy-face' = 19,
39
- 'home' = 20,
40
- 'information-circle' = 21,
41
- 'internal-processing' = 22,
42
- 'language' = 23,
43
- 'mail' = 24,
44
- 'menu' = 25,
45
- 'money-in' = 26,
46
- 'monitor' = 27,
47
- 'more-options' = 28,
48
- 'new-tab' = 29,
49
- 'news' = 30,
50
- 'off' = 31,
51
- 'on' = 32,
52
- 'payout' = 33,
53
- 'plus' = 34,
54
- 'question-circle' = 35,
55
- 'queue' = 36,
56
- 'rates' = 37,
57
- 'report' = 38,
58
- 'right-angle-arrow' = 39,
59
- 'search' = 40,
60
- 'security' = 41,
61
- 'settings' = 42,
62
- 'sign-out' = 43,
63
- 'stop' = 44,
64
- 'success-circle' = 45,
65
- 'swaps' = 46,
66
- 'swaps-arrow-left' = 47,
67
- 'swaps-arrow-right' = 48,
68
- 'switch' = 49,
69
- 'tool' = 50,
70
- 'trash' = 51,
71
- 'unlock' = 52,
72
- 'unsuccess' = 53,
73
- 'update' = 54,
74
- 'user' = 55,
75
- 'warning-circle' = 56,
76
- 'hero-avatar-admin' = 57,
77
- 'hero-avatar-regular' = 58,
78
- 'hero-avatar-support' = 59,
79
- 'hero-avatar-blocked' = 60
28
+ 'checkbox-dash' = 9,
29
+ 'clock' = 10,
30
+ 'chevron-double-down' = 11,
31
+ 'chevron-double-up' = 12,
32
+ 'copy' = 13,
33
+ 'deposit' = 14,
34
+ 'download' = 15,
35
+ 'eye-closed' = 16,
36
+ 'eye-open' = 17,
37
+ 'exchange-provider' = 18,
38
+ 'graphics' = 19,
39
+ 'happy-face' = 20,
40
+ 'home' = 21,
41
+ 'information-circle' = 22,
42
+ 'internal-processing' = 23,
43
+ 'language' = 24,
44
+ 'mail' = 25,
45
+ 'menu' = 26,
46
+ 'money-in' = 27,
47
+ 'monitor' = 28,
48
+ 'more-options' = 29,
49
+ 'new-tab' = 30,
50
+ 'news' = 31,
51
+ 'off' = 32,
52
+ 'on' = 33,
53
+ 'payout' = 34,
54
+ 'plus' = 35,
55
+ 'question-circle' = 36,
56
+ 'queue' = 37,
57
+ 'rates' = 38,
58
+ 'report' = 39,
59
+ 'right-angle-arrow' = 40,
60
+ 'search' = 41,
61
+ 'security' = 42,
62
+ 'settings' = 43,
63
+ 'sign-out' = 44,
64
+ 'stop' = 45,
65
+ 'success-circle' = 46,
66
+ 'swaps' = 47,
67
+ 'swaps-arrow-left' = 48,
68
+ 'swaps-arrow-right' = 49,
69
+ 'switch' = 50,
70
+ 'tool' = 51,
71
+ 'trash' = 52,
72
+ 'unlock' = 53,
73
+ 'unsuccess' = 54,
74
+ 'update' = 55,
75
+ 'user' = 56,
76
+ 'warning-circle' = 57,
77
+ 'hero-avatar-admin' = 58,
78
+ 'hero-avatar-regular' = 59,
79
+ 'hero-avatar-support' = 60,
80
+ 'hero-avatar-blocked' = 61
80
81
  }
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.45",
4
+ "version": "3.0.47",
5
5
  "license": "SEE LICENSE IN LIBRARY-LICENSE",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^16.2.12",
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21 11.25C21.6904 11.25 22.25 11.8096 22.25 12.5C22.25 13.1904 21.6904 13.75 21 13.75L3 13.75C2.30964 13.75 1.75 13.1904 1.75 12.5C1.75 11.8096 2.30964 11.25 3 11.25L21 11.25Z" fill="var(--icon-color, #394C6E)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.9999 7.54981L14.0966 7.55469C14.5758 7.60311 14.95 8.00787 14.95 8.49981C14.95 8.99174 14.5758 9.3965 14.0966 9.44492L13.9999 9.44981L2.00022 9.4498C1.47556 9.4498 1.05005 9.02437 1.05005 8.4998C1.05005 7.97524 1.47556 7.5498 2.00022 7.5498L13.9999 7.54981Z" fill="var(--icon-color, #394C6E)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.5 5.75C10.9142 5.75 11.25 6.08579 11.25 6.5C11.25 6.91421 10.9142 7.25 10.5 7.25L1.5 7.25C1.08579 7.25 0.75 6.91421 0.75 6.5C0.75 6.08579 1.08579 5.75 1.5 5.75L10.5 5.75Z" fill="var(--icon-color, #394C6E)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M28.0437 14.8501L28.2132 14.8589C29.0482 14.9435 29.7 15.6461 29.7 16.5001C29.7 17.3541 29.0482 18.0567 28.2132 18.1413L28.0437 18.1501L3.95644 18.1501C3.04186 18.1501 2.30005 17.4112 2.30005 16.5001C2.30005 15.589 3.04186 14.8501 3.95644 14.8501L28.0437 14.8501Z" fill="var(--icon-color, #394C6E)"/>
3
+ </svg>
@@ -296,6 +296,22 @@
296
296
  "iconName": "gt-icon-check-xl-32",
297
297
  "iconPath": "/assets/gravity/icon-set/gt-icon-check/gt-icon-check-xl-32.svg"
298
298
  },
299
+ {
300
+ "iconName": "gt-icon-checkbox-dash-lg-24",
301
+ "iconPath": "/assets/gravity/icon-set/gt-icon-checkbox-dash/gt-icon-checkbox-dash-lg-24.svg"
302
+ },
303
+ {
304
+ "iconName": "gt-icon-checkbox-dash-md-16",
305
+ "iconPath": "/assets/gravity/icon-set/gt-icon-checkbox-dash/gt-icon-checkbox-dash-md-16.svg"
306
+ },
307
+ {
308
+ "iconName": "gt-icon-checkbox-dash-sm-12",
309
+ "iconPath": "/assets/gravity/icon-set/gt-icon-checkbox-dash/gt-icon-checkbox-dash-sm-12.svg"
310
+ },
311
+ {
312
+ "iconName": "gt-icon-checkbox-dash-xl-32",
313
+ "iconPath": "/assets/gravity/icon-set/gt-icon-checkbox-dash/gt-icon-checkbox-dash-xl-32.svg"
314
+ },
299
315
  {
300
316
  "iconName": "gt-icon-chevron-double-down-lg-24",
301
317
  "iconPath": "/assets/gravity/icon-set/gt-icon-chevron-double-down/gt-icon-chevron-double-down-lg-24.svg"