@progressio_resources/gravity-design-system 3.0.24 → 4.0.25
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-attach-file/gravity-attach-file.component.mjs +2 -2
- package/esm2022/lib/components/gravity-avatar-stack/gravity-avatar-stack.component.mjs +2 -2
- package/esm2022/lib/components/gravity-button/gravity-button.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar/gravity-calendar.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-datepicker-inline.component.mjs +3 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-datepicker.component.mjs +3 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-daterangepicker-inline.component.mjs +3 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-daterangepicker.component.mjs +3 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-navigation-view/bs-datepicker-navigation-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-datepicker-day-decorator.directive.mjs +3 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-days-calendar-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-months-calendar-view/bs-months-calendar-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-years-calendar-view/bs-years-calendar-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/gravity-calendar-v2.component.mjs +2 -2
- package/esm2022/lib/components/gravity-card-button/gravity-card-button.component.mjs +2 -2
- package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-checkbox/gravity-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/gravity-chip/gravity-chip.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency-display/gravity-currency-display.component.mjs +2 -2
- package/esm2022/lib/components/gravity-dialog/gravity-dialog.component.mjs +2 -2
- package/esm2022/lib/components/gravity-dropdown-list/filter-by.pipe.mjs +3 -2
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +2 -2
- package/esm2022/lib/components/gravity-editable-input/gravity-editable-input.component.mjs +2 -2
- package/esm2022/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.mjs +2 -2
- package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +3 -3
- package/esm2022/lib/components/gravity-icon-button/gravity-icon-button.component.mjs +2 -2
- package/esm2022/lib/components/gravity-link/gravity-link.component.mjs +3 -5
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +3 -3
- package/esm2022/lib/components/gravity-multi-language/gravity-multi-language.component.mjs +2 -2
- package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +2 -2
- package/esm2022/lib/components/gravity-notification/gravity-notification.component.mjs +2 -2
- package/esm2022/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +2 -2
- package/esm2022/lib/components/gravity-offcanvas/gravity-offcanvas.component.mjs +2 -2
- package/esm2022/lib/components/gravity-radio-button/gravity-radio-button.component.mjs +2 -2
- package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +2 -2
- package/esm2022/lib/components/gravity-stepper/gravity-stepper.component.mjs +2 -2
- package/esm2022/lib/components/gravity-switch/gravity-switch.component.mjs +3 -3
- package/esm2022/lib/components/gravity-tab-primary/gravity-tab-primary.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tab-secondary/gravity-tab-secondary.component.mjs +2 -2
- package/esm2022/lib/components/gravity-table/gravity-table.component.mjs +2 -2
- package/esm2022/lib/components/gravity-text-field/gravity-text-field.component.mjs +2 -2
- package/esm2022/lib/components/gravity-text-field-number-only/gravity-text-field-number-only.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tree-view/gravity-tree-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tree-view/node/node-checkbox/node-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tree-view/node/node-name/node-name.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tree-view/node/node-toggle/node-toggle.component.mjs +2 -2
- package/esm2022/lib/components/gravity-tree-view/node/node.component.mjs +2 -2
- package/esm2022/lib/gravity-design-system.module.mjs +1 -1
- package/esm2022/lib/vendor/gravity-tooltip/gravity-tooltip.component.mjs +2 -2
- package/esm2022/lib/vendor/gravity-tooltip/gravity-tooltip.directive.mjs +2 -1
- package/fesm2022/progressio_resources-gravity-design-system.mjs +67 -62
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-link/gravity-link.component.d.ts +1 -2
- package/lib/components/gravity-switch/gravity-switch.component.d.ts +2 -0
- package/package.json +8 -8
- package/src/lib/styles/_responsive.scss +12 -11
- package/src/lib/styles/components/_card_highlight.scss +5 -5
- package/src/lib/styles/components/_datepicker.scss +14 -13
- package/src/lib/styles/components/_offcanvas.scss +5 -4
- package/src/lib/styles/components/_tables.scss +7 -7
- package/src/lib/styles/foundations/colors/themes/_hero.theme.scss +542 -542
- package/src/lib/styles/foundations/colors/tokens/_hero.tokens.scss +545 -544
- package/src/lib/styles/foundations/spacing/_spacing.scss +3 -1
- package/src/lib/styles/gravity-design-system.scss +12 -12
- package/src/lib/styles/overwrite/bootstrap/_bootstrap-export.scss +2 -2
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
- package/src/lib/styles/themes/_hero.scss +4 -4
- package/src/lib/vendor/gravity-tooltip/gravity-tooltip.component.ts +5 -4
- package/src/lib/vendor/gravity-tooltip/gravity-tooltip.directive.ts +3 -2
- package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-lg-24.svg +0 -10
- package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-md-16.svg +0 -10
- package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-sm-12.svg +0 -10
- package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-xl-32.svg +0 -10
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class GravityLinkComponent {
|
|
3
3
|
link: string;
|
|
4
|
-
href: string;
|
|
5
4
|
linkText: string;
|
|
6
5
|
fontSize: string;
|
|
7
6
|
cypressTag: string;
|
|
@@ -11,5 +10,5 @@ export declare class GravityLinkComponent {
|
|
|
11
10
|
iconSize: 'sm-12' | 'md-16' | 'lg-24' | 'xl-32';
|
|
12
11
|
state: 'active' | 'visited' | 'pressed' | 'disabled';
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityLinkComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityLinkComponent, "gravity-link", never, { "link": { "alias": "link"; "required": false; }; "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityLinkComponent, "gravity-link", never, { "link": { "alias": "link"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "target": { "alias": "target"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
14
|
}
|
|
@@ -6,8 +6,10 @@ export declare class GravitySwitchComponent implements AfterViewInit, OnChanges
|
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
size: 'md' | 'sm';
|
|
8
8
|
textOptions: {
|
|
9
|
+
above?: string;
|
|
9
10
|
left?: string;
|
|
10
11
|
right?: string;
|
|
12
|
+
below?: string;
|
|
11
13
|
};
|
|
12
14
|
response: EventEmitter<boolean>;
|
|
13
15
|
isSwitchActive: boolean;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progressio_resources/gravity-design-system",
|
|
3
3
|
"description": "Gravity Design System",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.25",
|
|
5
5
|
"license": "SEE LICENSE IN LIBRARY-LICENSE",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/common": "^
|
|
8
|
-
"@angular/core": "^
|
|
9
|
-
"@angular/localize": "^
|
|
10
|
-
"@ng-bootstrap/ng-bootstrap": "^
|
|
7
|
+
"@angular/common": "^19.1.6",
|
|
8
|
+
"@angular/core": "^19.1.6",
|
|
9
|
+
"@angular/localize": "^19.1.6",
|
|
10
|
+
"@ng-bootstrap/ng-bootstrap": "^18.0.0",
|
|
11
11
|
"@popperjs/core": "^2.11.8",
|
|
12
|
-
"angular-svg-icon": "^
|
|
13
|
-
"angular-svg-icon-preloader": "^
|
|
14
|
-
"ngx-bootstrap": "^
|
|
12
|
+
"angular-svg-icon": "^19.0.0",
|
|
13
|
+
"angular-svg-icon-preloader": "^19.0.0",
|
|
14
|
+
"ngx-bootstrap": "^19.0.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.6.2"
|
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use "foundations/breakpoints/breakpoints" as br;
|
|
2
3
|
|
|
3
4
|
.hide-xl {
|
|
4
|
-
@media (max-width: map
|
|
5
|
+
@media (max-width: map.get(br.$breakpoints, xl)) {
|
|
5
6
|
display: none;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.hide-lg {
|
|
10
|
-
@media (max-width: map
|
|
11
|
+
@media (max-width: map.get(br.$breakpoints, lg)) {
|
|
11
12
|
display: none;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.hide-md {
|
|
16
|
-
@media (max-width: map
|
|
17
|
+
@media (max-width: map.get(br.$breakpoints, md)) {
|
|
17
18
|
display: none;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.hide-sm {
|
|
22
|
-
@media (max-width: map
|
|
23
|
+
@media (max-width: map.get(br.$breakpoints, sm)) {
|
|
23
24
|
display: none;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.hide-xs {
|
|
28
|
-
@media (max-width: map
|
|
29
|
+
@media (max-width: map.get(br.$breakpoints, xs)) {
|
|
29
30
|
display: none;
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.show-xl {
|
|
34
|
-
@media (min-width: map
|
|
35
|
+
@media (min-width: map.get(br.$breakpoints, xl) + 1) {
|
|
35
36
|
display: none;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
.show-lg {
|
|
40
|
-
@media (min-width: map
|
|
41
|
+
@media (min-width: map.get(br.$breakpoints, lg) + 1) {
|
|
41
42
|
display: none;
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
.show-md {
|
|
46
|
-
@media (min-width: map
|
|
47
|
+
@media (min-width: map.get(br.$breakpoints, md) + 1) {
|
|
47
48
|
display: none;
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.show-sm {
|
|
52
|
-
@media (min-width: map
|
|
53
|
+
@media (min-width: map.get(br.$breakpoints, sm) + 1) {
|
|
53
54
|
display: none;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
.show-xs {
|
|
58
|
-
@media (min-width: map
|
|
59
|
+
@media (min-width: map.get(br.$breakpoints, xs) + 1) {
|
|
59
60
|
display: none;
|
|
60
61
|
}
|
|
61
62
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use "../foundations/typography/hero.typography";
|
|
2
|
+
@use "../foundations/border-radius/hero.border-radius" as bor;
|
|
3
|
+
@use "../shared";
|
|
4
4
|
|
|
5
5
|
.gravity-card-highlight {
|
|
6
6
|
@extend .hr-body, .md-regular;
|
|
7
7
|
|
|
8
8
|
background-color: var(--surface-primary);
|
|
9
9
|
border-left: 1.25rem solid var(--bg-highlight-neutro-secondary);
|
|
10
|
-
border-radius:
|
|
10
|
+
border-radius: bor.$border-radius-md;
|
|
11
11
|
color: var(--text-primary);
|
|
12
12
|
padding: 1.5rem;
|
|
13
13
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
&.gravity-card-content {
|
|
26
26
|
border: 1px solid var(--divider-primary);
|
|
27
|
-
border-radius:
|
|
27
|
+
border-radius: bor.$border-radius-md;
|
|
28
28
|
margin-top: 1rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use "../foundations/typography/hero.typography";
|
|
3
|
+
@use "../foundations/spacing/spacing" as spa;
|
|
4
|
+
@use "../foundations/border-radius/hero.border-radius" as bor;
|
|
5
|
+
@use "../shared";
|
|
5
6
|
|
|
6
7
|
$datepicker-min-width: 15rem;
|
|
7
8
|
|
|
@@ -15,14 +16,14 @@ bs-datepicker-container {
|
|
|
15
16
|
|
|
16
17
|
.gravity-datepicker-dialog {
|
|
17
18
|
background-color: var(--bg-calender-primary);
|
|
18
|
-
border-radius:
|
|
19
|
+
border-radius: bor.$border-radius-md;
|
|
19
20
|
box-shadow: 0 0 10px #AAA;
|
|
20
21
|
color: var(--on-bg-calender-primary);
|
|
21
22
|
|
|
22
23
|
.bs-datepicker-head {
|
|
23
24
|
background-color: var(--bg-calendar-nav-primary);
|
|
24
|
-
border-top-left-radius:
|
|
25
|
-
border-top-right-radius:
|
|
25
|
+
border-top-left-radius: bor.$border-radius-md;
|
|
26
|
+
border-top-right-radius: bor.$border-radius-md;
|
|
26
27
|
color: var(--on-bg-calendar-nav-primary);
|
|
27
28
|
height: 3.125rem;
|
|
28
29
|
min-width: $datepicker-min-width;
|
|
@@ -39,7 +40,7 @@ bs-datepicker-container {
|
|
|
39
40
|
|
|
40
41
|
background-color: var(--bg-calendar-nav-primary);
|
|
41
42
|
border: none;
|
|
42
|
-
border-radius:
|
|
43
|
+
border-radius: bor.$border-radius-rounded;
|
|
43
44
|
color: var(--arrow-calendar-active-primary);
|
|
44
45
|
cursor: pointer;
|
|
45
46
|
height: 2rem;
|
|
@@ -72,13 +73,13 @@ bs-datepicker-container {
|
|
|
72
73
|
align-items: center;
|
|
73
74
|
background-color: var(--bg-calendar-nav-primary);
|
|
74
75
|
border: none;
|
|
75
|
-
border-radius:
|
|
76
|
+
border-radius: bor.$border-radius-rounded;
|
|
76
77
|
color: var(--on-bg-calendar-nav-primary);
|
|
77
78
|
cursor: pointer;
|
|
78
79
|
display: flex;
|
|
79
80
|
height: 2rem;
|
|
80
81
|
outline: none;
|
|
81
|
-
padding-inline: map
|
|
82
|
+
padding-inline: map.get(spa.$spacing-values, sm);
|
|
82
83
|
|
|
83
84
|
&:not([disabled]):hover {
|
|
84
85
|
background-color: var(--bg-arrow-calendar-hover-primary);
|
|
@@ -102,7 +103,7 @@ bs-datepicker-container {
|
|
|
102
103
|
width: 100%;
|
|
103
104
|
|
|
104
105
|
td {
|
|
105
|
-
border-radius:
|
|
106
|
+
border-radius: bor.$border-radius-rounded;
|
|
106
107
|
color: var(--number-calender-active-primary);
|
|
107
108
|
cursor: pointer;
|
|
108
109
|
height: 2rem;
|
|
@@ -111,7 +112,7 @@ bs-datepicker-container {
|
|
|
111
112
|
|
|
112
113
|
span {
|
|
113
114
|
align-items: center;
|
|
114
|
-
border-radius:
|
|
115
|
+
border-radius: bor.$border-radius-rounded;
|
|
115
116
|
display: flex;
|
|
116
117
|
height: 2rem;
|
|
117
118
|
justify-content: center;
|
|
@@ -182,7 +183,7 @@ bs-datepicker-container {
|
|
|
182
183
|
|
|
183
184
|
span {
|
|
184
185
|
@extend .hr-label, .sm-regular;
|
|
185
|
-
border-radius:
|
|
186
|
+
border-radius: bor.$border-radius-rounded;
|
|
186
187
|
margin: 0 !important;
|
|
187
188
|
|
|
188
189
|
&.selected {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use "../foundations/breakpoints/_breakpoints.scss" as br;
|
|
2
|
-
@
|
|
3
|
-
@
|
|
3
|
+
@use "../foundations/elevation/hero.elevation";
|
|
4
|
+
@use "../foundations/spacing/spacing";
|
|
4
5
|
|
|
5
6
|
$z-index: 1040;
|
|
6
7
|
|
|
@@ -42,12 +43,12 @@ $z-index: 1040;
|
|
|
42
43
|
transition: transform .3s ease-in-out;
|
|
43
44
|
z-index: $z-index;
|
|
44
45
|
|
|
45
|
-
@media (min-width: map
|
|
46
|
+
@media (min-width: map.get(br.$breakpoints, md) + 1) {
|
|
46
47
|
background-color: var(--surface-secondary);
|
|
47
48
|
width: 50% !important;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
@media (max-width: map
|
|
51
|
+
@media (max-width: map.get(br.$breakpoints, md)) {
|
|
51
52
|
background-color: var(--surface-primary);
|
|
52
53
|
width: 100% !important;
|
|
53
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use "./link";
|
|
2
|
+
@use "../foundations/border-radius/hero.border-radius" as bor;
|
|
3
|
+
@use "../foundations/typography/hero.typography";
|
|
4
4
|
|
|
5
5
|
.table-container.xl, .table-container.lg {
|
|
6
6
|
table {
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
color: var(--on-bg-highlight-neutro-secondary);
|
|
16
16
|
|
|
17
17
|
th:first-of-type {
|
|
18
|
-
border-top-left-radius:
|
|
18
|
+
border-top-left-radius: bor.$border-radius-sm;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
th:last-of-type {
|
|
22
|
-
border-top-right-radius:
|
|
22
|
+
border-top-right-radius: bor.$border-radius-sm;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
|
|
142
142
|
tr {
|
|
143
143
|
background-color: var(--surface-primary);
|
|
144
|
-
border-radius:
|
|
144
|
+
border-radius: bor.$border-radius-sm;
|
|
145
145
|
color: var(--text-primary);
|
|
146
146
|
margin-bottom: 1rem;
|
|
147
147
|
padding: 0.75rem 1rem; //12px 16px
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
.panel {
|
|
224
224
|
background-color: var(--surface-secondary);
|
|
225
225
|
border: 0.5px solid var(--divider-primary);
|
|
226
|
-
border-radius:
|
|
226
|
+
border-radius: bor.$border-radius-sm;
|
|
227
227
|
padding: 0.25rem 1rem;
|
|
228
228
|
position: absolute;
|
|
229
229
|
right: 0;
|