@progressio_resources/gravity-design-system 3.3.41 → 3.3.43
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-currency-display-v2/gravity-currency-display-v2.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +4 -4
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +26 -9
- package/fesm2022/progressio_resources-gravity-design-system.mjs +28 -11
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.d.ts +2 -2
- package/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.d.ts +6 -3
- package/package.json +1 -1
- package/src/lib/assets/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency-disabled.svg +4 -0
- package/src/lib/assets/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency.svg +4 -0
- package/src/lib/assets/icon-set/networks/gt-icon-pol-network/gt-icon-pol-network-disabled.svg +5 -0
- package/src/lib/assets/icon-set/networks/gt-icon-pol-network/gt-icon-pol-network.svg +11 -0
- package/src/lib/assets/json/icons.json +20 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
1
|
import { FilterByPipe } from "./filter-by.pipe";
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GravityDropdownListComponent implements OnChanges {
|
|
5
5
|
private readonly filterByPipe;
|
|
@@ -37,12 +37,12 @@ export declare class GravityDropdownListComponent implements OnChanges {
|
|
|
37
37
|
isoConfig: string;
|
|
38
38
|
availableOptions: any[];
|
|
39
39
|
dropdownOpened: boolean;
|
|
40
|
+
openChildrenMap: Map<any, boolean>;
|
|
40
41
|
networkConfig: {
|
|
41
42
|
label: string;
|
|
42
43
|
iso: string;
|
|
43
44
|
id: number;
|
|
44
45
|
};
|
|
45
|
-
openChildrenMap: Map<any, boolean>;
|
|
46
46
|
constructor(filterByPipe: FilterByPipe, _eref: ElementRef);
|
|
47
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
48
48
|
getStatus(): string;
|
package/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DisplayCurrencyItems } from "./display-currency-items";
|
|
2
2
|
import { FilterByPipe } from "../gravity-dropdown-list/filter-by.pipe";
|
|
3
|
-
import { ElementRef, EventEmitter,
|
|
3
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GravityDropdownListDisplayComponent implements
|
|
5
|
+
export declare class GravityDropdownListDisplayComponent implements OnChanges {
|
|
6
6
|
private readonly filterByPipe;
|
|
7
7
|
private _eref;
|
|
8
8
|
selectedItemsResponse: EventEmitter<any[] | any>;
|
|
@@ -17,6 +17,7 @@ export declare class GravityDropdownListDisplayComponent implements OnInit {
|
|
|
17
17
|
items: DisplayCurrencyItems[];
|
|
18
18
|
size: 'md';
|
|
19
19
|
width: 'standard';
|
|
20
|
+
isHovered: boolean;
|
|
20
21
|
selectedItem: DisplayCurrencyItems;
|
|
21
22
|
set watch(searchInput: ElementRef<HTMLInputElement>);
|
|
22
23
|
availableOptions: any[];
|
|
@@ -24,7 +25,7 @@ export declare class GravityDropdownListDisplayComponent implements OnInit {
|
|
|
24
25
|
searchText: string;
|
|
25
26
|
selectedItems: any[];
|
|
26
27
|
constructor(filterByPipe: FilterByPipe, _eref: ElementRef);
|
|
27
|
-
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
29
|
private loadItems;
|
|
29
30
|
getStatus(): string;
|
|
30
31
|
toggleDropdown(): void;
|
|
@@ -32,6 +33,8 @@ export declare class GravityDropdownListDisplayComponent implements OnInit {
|
|
|
32
33
|
checkIfSelected(itemToFind: any): boolean;
|
|
33
34
|
filterItems(): void;
|
|
34
35
|
onDocumentClick($event: PointerEvent): void;
|
|
36
|
+
onMouseEnter(): void;
|
|
37
|
+
onMouseLeave(): void;
|
|
35
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListDisplayComponent, never>;
|
|
36
39
|
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; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "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>;
|
|
37
40
|
}
|
package/package.json
CHANGED
package/src/lib/assets/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency-disabled.svg
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.9966 0.5C24.5563 0.500085 31.4956 7.43961 31.4956 16C31.4956 24.5604 24.5563 31.4999 15.9966 31.5C7.43683 31.5 0.497559 24.5604 0.497559 16C0.497559 7.43955 7.43683 0.5 15.9966 0.5Z" stroke="#97A4BD"/>
|
|
3
|
+
<path d="M13.6683 13.466L11.918 12.4494L6.66699 15.4993V21.5783L11.918 24.6178L17.169 21.5783V12.1245L20.0827 10.437L22.9964 12.1245V15.4993L20.0827 17.1868L18.3323 16.1701V18.8742L20.0827 19.8909L25.3337 16.8514V10.7724L20.0827 7.73291L14.8317 10.7724V20.2263L11.918 21.9137L9.00426 20.2263V16.8409L11.918 15.1535L13.6683 16.1701V13.466Z" fill="#97A4BD"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.9964 32C24.8324 32 31.9953 24.8366 31.9953 16C31.9953 7.16344 24.8324 0 15.9964 0C7.1605 0 -0.00244141 7.16344 -0.00244141 16C-0.00244141 24.8366 7.1605 32 15.9964 32Z" fill="#6C00F6"/>
|
|
3
|
+
<path d="M13.6683 13.466L11.918 12.4494L6.66699 15.4993V21.5783L11.918 24.6178L17.169 21.5783V12.1245L20.0827 10.437L22.9964 12.1245V15.4993L20.0827 17.1868L18.3323 16.1701V18.8742L20.0827 19.8909L25.3337 16.8514V10.7724L20.0827 7.73291L14.8317 10.7724V20.2263L11.918 21.9137L9.00426 20.2263V16.8409L11.918 15.1535L13.6683 16.1701V13.466Z" fill="white"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="6" cy="6" r="6" fill="white"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 11.5556C9.06825 11.5556 11.5556 9.06825 11.5556 6C11.5556 2.93175 9.06825 0.444444 6 0.444444C2.93175 0.444444 0.444444 2.93175 0.444444 6C0.444444 9.06825 2.93175 11.5556 6 11.5556ZM6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z" fill="#97A4BD"/>
|
|
4
|
+
<path d="M5.12549 5.04982L4.46912 4.66857L2.5 5.81231V8.09193L4.46912 9.23174L6.43824 8.09193V4.54673L7.53088 3.91394L8.62353 4.54673V5.81231L7.53088 6.4451L6.87451 6.06385V7.07789L7.53088 7.45914L9.5 6.31933V4.03971L7.53088 2.8999L5.56176 4.03971V7.58491L4.46912 8.2177L3.37647 7.58491V6.3154L4.46912 5.68261L5.12549 6.06385V5.04982Z" fill="#97A4BD"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_13632_4141)">
|
|
3
|
+
<circle cx="6" cy="6" r="6" fill="#6C00F6"/>
|
|
4
|
+
<path d="M5.12549 5.04982L4.46912 4.66857L2.5 5.81231V8.09193L4.46912 9.23174L6.43824 8.09193V4.54673L7.53088 3.91394L8.62353 4.54673V5.81231L7.53088 6.4451L6.87451 6.06385V7.07789L7.53088 7.45914L9.5 6.31933V4.03971L7.53088 2.8999L5.56176 4.03971V7.58491L4.46912 8.2177L3.37647 7.58491V6.3154L4.46912 5.68261L5.12549 6.06385V5.04982Z" fill="white"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_13632_4141">
|
|
8
|
+
<rect width="12" height="12" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
@@ -292,6 +292,14 @@
|
|
|
292
292
|
"iconName": "gt-icon-coin-id-41-disabled",
|
|
293
293
|
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-shib-currency/gt-icon-shib-currency-disabled.svg"
|
|
294
294
|
},
|
|
295
|
+
{
|
|
296
|
+
"iconName": "gt-icon-coin-id-49",
|
|
297
|
+
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency.svg"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"iconName": "gt-icon-coin-id-49-disabled",
|
|
301
|
+
"iconPath": "/assets/gravity/icon-set/coins/crypto/gt-icon-pol-currency/gt-icon-pol-currency-disabled.svg"
|
|
302
|
+
},
|
|
295
303
|
{
|
|
296
304
|
"iconName": "gt-icon-add-update-md-16",
|
|
297
305
|
"iconPath": "/assets/gravity/icon-set/gt-icon-add-update/gt-icon-add-update-md-16.svg"
|
|
@@ -848,6 +856,14 @@
|
|
|
848
856
|
"iconName": "gt-icon-network-id-8-disabled",
|
|
849
857
|
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-base-network/gt-icon-base-network-disabled.svg"
|
|
850
858
|
},
|
|
859
|
+
{
|
|
860
|
+
"iconName": "gt-icon-network-id-9",
|
|
861
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-doge-network/gt-icon-doge-network.svg"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"iconName": "gt-icon-network-id-9-disabled",
|
|
865
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-doge-network/gt-icon-doge-network-disabled.svg"
|
|
866
|
+
},
|
|
851
867
|
{
|
|
852
868
|
"iconName": "gt-icon-network-id-14",
|
|
853
869
|
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-op-network/gt-icon-op-network.svg"
|
|
@@ -857,12 +873,12 @@
|
|
|
857
873
|
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-op-network/gt-icon-op-network-disabled.svg"
|
|
858
874
|
},
|
|
859
875
|
{
|
|
860
|
-
"iconName": "gt-icon-network-id-
|
|
861
|
-
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-
|
|
876
|
+
"iconName": "gt-icon-network-id-15",
|
|
877
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-pol-network/gt-icon-pol-network.svg"
|
|
862
878
|
},
|
|
863
879
|
{
|
|
864
|
-
"iconName": "gt-icon-network-id-
|
|
865
|
-
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-
|
|
880
|
+
"iconName": "gt-icon-network-id-15-disabled",
|
|
881
|
+
"iconPath": "/assets/gravity/icon-set/networks/gt-icon-pol-network/gt-icon-pol-network-disabled.svg"
|
|
866
882
|
},
|
|
867
883
|
{
|
|
868
884
|
"iconName": "gt-icon-new-tab-lg-24",
|