@progressio_resources/gravity-design-system 3.0.11 → 3.0.13
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 +2 -2
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +2 -2
- package/esm2022/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.mjs +25 -0
- package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +43 -41
- 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 +17 -5
- package/esm2022/lib/components/gravity-tab-secondary/gravity-tab-secondary.component.mjs +28 -0
- package/esm2022/lib/gravity-design-system.module.mjs +29 -6
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/progressio_resources-gravity-design-system.mjs +230 -69
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.d.ts +9 -0
- package/lib/components/gravity-icon/gravity-icon.component.d.ts +42 -40
- 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 +5 -2
- package/lib/components/gravity-tab-secondary/gravity-tab-secondary.component.d.ts +13 -0
- package/lib/gravity-design-system.module.d.ts +56 -51
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/src/lib/assets/icon-set/gt-icon-clock/gt-icon-clock-lg-24.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-clock/gt-icon-clock-md-16.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-clock/gt-icon-clock-sm-12.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-clock/gt-icon-clock-xl-32.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-lg-24.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-md-16.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-sm-12.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-xl-32.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-queue/gt-icon-queue-lg-24.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-queue/gt-icon-queue-md-16.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-queue/gt-icon-queue-sm-12.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-queue/gt-icon-queue-xl-32.svg +10 -0
- package/src/lib/assets/icon-set/gt-icon-security/gt-icon-security-lg-24.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-security/gt-icon-security-md-16.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-security/gt-icon-security-xl-32.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-unlock/gt-icon-unlock-lg-24.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-unlock/gt-icon-unlock-md-16.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-unlock/gt-icon-unlock-sm-12.svg +1 -1
- package/src/lib/assets/icon-set/gt-icon-unlock/gt-icon-unlock-xl-32.svg +1 -1
- package/src/lib/assets/json/icons.json +32 -0
- package/src/lib/styles/foundations/colors/themes/_hero.theme.scss +28 -6
- package/src/lib/styles/foundations/colors/tokens/_hero.tokens.scss +28 -0
- package/src/lib/styles/foundations/spacing/_spacing.scss +19 -12
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
- package/src/lib/assets/icon-set/gt-icon-security/gt-icon-security-sm-12.svg +0 -3
|
@@ -288,6 +288,22 @@
|
|
|
288
288
|
"iconName": "gt-icon-chevron-double-up-xl-32",
|
|
289
289
|
"iconPath": "/assets/gravity/icon-set/gt-icon-chevron-double-up/gt-icon-chevron-double-up-xl-32.svg"
|
|
290
290
|
},
|
|
291
|
+
{
|
|
292
|
+
"iconName": "gt-icon-clock-lg-24",
|
|
293
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-clock/gt-icon-clock-lg-24.svg"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"iconName": "gt-icon-clock-md-16",
|
|
297
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-clock/gt-icon-clock-md-16.svg"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"iconName": "gt-icon-clock-sm-12",
|
|
301
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-clock/gt-icon-clock-sm-12.svg"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"iconName": "gt-icon-clock-xl-32",
|
|
305
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-clock/gt-icon-clock-xl-32.svg"
|
|
306
|
+
},
|
|
291
307
|
{
|
|
292
308
|
"iconName": "gt-icon-copy-lg-24",
|
|
293
309
|
"iconPath": "/assets/gravity/icon-set/gt-icon-copy/gt-icon-copy-lg-24.svg"
|
|
@@ -608,6 +624,22 @@
|
|
|
608
624
|
"iconName": "gt-icon-question-circle-xl-32",
|
|
609
625
|
"iconPath": "/assets/gravity/icon-set/gt-icon-question-circle/gt-icon-question-circle-xl-32.svg"
|
|
610
626
|
},
|
|
627
|
+
{
|
|
628
|
+
"iconName": "gt-icon-queue-lg-24",
|
|
629
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-queue/gt-icon-queue-lg-24.svg"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"iconName": "gt-icon-queue-md-16",
|
|
633
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-queue/gt-icon-queue-md-16.svg"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"iconName": "gt-icon-queue-sm-12",
|
|
637
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-queue/gt-icon-queue-sm-12.svg"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"iconName": "gt-icon-queue-xl-32",
|
|
641
|
+
"iconPath": "/assets/gravity/icon-set/gt-icon-queue/gt-icon-queue-xl-32.svg"
|
|
642
|
+
},
|
|
611
643
|
{
|
|
612
644
|
"iconName": "gt-icon-rates-lg-24",
|
|
613
645
|
"iconPath": "/assets/gravity/icon-set/gt-icon-rates/gt-icon-rates-lg-24.svg"
|
|
@@ -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;
|
|
@@ -397,14 +405,14 @@ $on-bg-icon-dialog-primary-dark: $n300;
|
|
|
397
405
|
$bg-icon-dialog-primary-dark: $n800;
|
|
398
406
|
|
|
399
407
|
// link
|
|
400
|
-
$link-active-primary-light: $
|
|
401
|
-
$link-hover-primary-light: $
|
|
402
|
-
$bg-link-hover-primary-light: $
|
|
408
|
+
$link-active-primary-light: $b500;
|
|
409
|
+
$link-hover-primary-light: $b800;
|
|
410
|
+
$bg-link-hover-primary-light: $b400;
|
|
403
411
|
$link-disabled-primary-light: $n600;
|
|
404
412
|
$link-visited-primary-light: $b200;
|
|
405
|
-
$link-active-primary-dark: $
|
|
406
|
-
$link-hover-primary-dark: $
|
|
407
|
-
$bg-link-hover-primary-dark: $
|
|
413
|
+
$link-active-primary-dark: $b800;
|
|
414
|
+
$link-hover-primary-dark: $n300;
|
|
415
|
+
$bg-link-hover-primary-dark: $n700;
|
|
408
416
|
$link-disabled-primary-dark: $n500;
|
|
409
417
|
$link-visited-primary-dark: $n900;
|
|
410
418
|
|
|
@@ -520,6 +528,20 @@ $bg-icon-button-pressed-dark: $n300;
|
|
|
520
528
|
$on-bg-icon-button-disabled-light: $n700;
|
|
521
529
|
$on-bg-icon-button-disabled-dark: $n400;
|
|
522
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
|
+
|
|
523
545
|
// currencies
|
|
524
546
|
$on-bg-currency: $c1;
|
|
525
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};
|
|
@@ -293,6 +299,14 @@
|
|
|
293
299
|
--bg-icon-button-pressed: #{$bg-icon-button-pressed-light};
|
|
294
300
|
--on-bg-icon-button-disabled: #{$on-bg-icon-button-disabled-light};
|
|
295
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
|
+
|
|
296
310
|
// Currencies
|
|
297
311
|
--btc-primary: #{$btc-primary-light};
|
|
298
312
|
--busd-primary: #{$busd-primary-light};
|
|
@@ -382,6 +396,10 @@
|
|
|
382
396
|
--on-bg-button-pressed-alternative: #{$on-bg-button-pressed-alternative-dark};
|
|
383
397
|
--bg-button-pressed-alternative: #{$bg-button-pressed-alternative-dark};
|
|
384
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
|
+
|
|
385
403
|
// disabled-status
|
|
386
404
|
--on-bg-disabled: #{$on-bg-disabled-dark};
|
|
387
405
|
--bg-disabled: #{$bg-disabled-dark};
|
|
@@ -390,6 +408,8 @@
|
|
|
390
408
|
// surface
|
|
391
409
|
--surface-primary: #{$surface-primary-dark};
|
|
392
410
|
--surface-secondary: #{$surface-secondary-dark};
|
|
411
|
+
--surface-tertiary: #{$surface-tertiary-dark};
|
|
412
|
+
--surface-opacity: .6;
|
|
393
413
|
|
|
394
414
|
// text
|
|
395
415
|
--text-primary: #{$text-primary-dark};
|
|
@@ -622,6 +642,14 @@
|
|
|
622
642
|
--bg-icon-button-pressed: #{$bg-icon-button-pressed-dark};
|
|
623
643
|
--on-bg-icon-button-disabled: #{$on-bg-icon-button-disabled-dark};
|
|
624
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
|
+
|
|
625
653
|
// Currencies
|
|
626
654
|
--btc-primary: #{$c10};
|
|
627
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
|
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.62052 0.945869C4.12491 0.945869 3.72314 1.34001 3.72314 1.82621V4.2111H8.27686V1.82621C8.27686 1.34001 7.87509 0.945869 7.37948 0.945869H4.62052ZM4.62052 0C3.59241 0 2.75895 0.817623 2.75895 1.82621V4.2111H0.482091C0.215839 4.2111 0 4.42284 0 4.68403V11.5271C0 11.7883 0.215839 12 0.482091 12H11.5179C11.7842 12 12 11.7883 12 11.5271V4.68403C12 4.42284 11.7842 4.2111 11.5179 4.2111H9.24105V1.82621C9.24105 0.817623 8.40759 0 7.37948 0H4.62052ZM0.964182 5.15697V11.0541H11.0358V5.15697H0.964182Z" fill="var(--icon-color, #394C6E)"/>
|
|
3
|
-
</svg>
|