@progressio_resources/gravity-design-system 1.1.12 → 1.1.14
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/esm2020/lib/components/gravity-attach-file/gravity-attach-file.component.mjs +3 -3
- package/esm2020/lib/components/gravity-calendar/gravity-calendar.component.mjs +3 -3
- package/esm2020/lib/components/gravity-dialog/gravity-dialog.component.mjs +2 -2
- package/esm2020/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2020/lib/components/gravity-notification/gravity-notification.component.mjs +2 -2
- package/esm2020/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +2 -2
- package/esm2020/lib/components/gravity-switch/gravity-switch.component.mjs +3 -3
- package/esm2020/lib/components/gravity-text-field/gravity-text-field.component.mjs +3 -3
- package/fesm2015/progressio_resources-gravity-design-system.mjs +16 -16
- package/fesm2015/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/fesm2020/progressio_resources-gravity-design-system.mjs +16 -16
- package/fesm2020/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/styles/_responsive.scss +61 -0
- package/src/lib/styles/_shared.scss +0 -1
- package/src/lib/styles/{_card_highlight.scss → components/_card_highlight.scss} +5 -4
- package/src/lib/styles/{_datepicker.scss → components/_datepicker.scss} +6 -5
- package/src/lib/styles/fundamentals/border-radius/_hero.border-radius.scss +40 -0
- package/src/lib/styles/fundamentals/breakpoints/breakpoints.scss +7 -0
- package/src/lib/styles/fundamentals/grids/grids.scss +6 -0
- package/src/lib/styles/fundamentals/spacing/spacing.scss +24 -0
- package/src/lib/styles/gravity-design-system.scss +5 -3
- package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
- /package/src/lib/styles/{_link.scss → components/_link.scss} +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import "./fundamentals/breakpoints/breakpoints";
|
|
2
|
+
|
|
3
|
+
.hide-xl {
|
|
4
|
+
@media (max-width: map-get($breakpoints, xl)) {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.hide-lg {
|
|
10
|
+
@media (max-width: map-get($breakpoints, lg)) {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.hide-md {
|
|
16
|
+
@media (max-width: map-get($breakpoints, md)) {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.hide-sm {
|
|
22
|
+
@media (max-width: map-get($breakpoints, sm)) {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.hide-xs {
|
|
28
|
+
@media (max-width: map-get($breakpoints, xs)) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.show-xl {
|
|
34
|
+
@media (min-width: map-get($breakpoints, xl) + 1) {
|
|
35
|
+
display: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.show-lg {
|
|
40
|
+
@media (min-width: map-get($breakpoints, lg) + 1) {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.show-md {
|
|
46
|
+
@media (min-width: map-get($breakpoints, md) + 1) {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.show-sm {
|
|
52
|
+
@media (min-width: map-get($breakpoints, sm) + 1) {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.show-xs {
|
|
58
|
+
@media (min-width: map-get($breakpoints, xs) + 1) {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
@import "fundamentals/typography/hero.typography";
|
|
2
|
-
@import "
|
|
1
|
+
@import "../fundamentals/typography/hero.typography";
|
|
2
|
+
@import "../fundamentals/border-radius/hero.border-radius";
|
|
3
|
+
@import "../shared";
|
|
3
4
|
|
|
4
5
|
.gravity-card-highlight {
|
|
5
6
|
@extend .hr-body-text, .md-regular;
|
|
6
7
|
|
|
7
8
|
background-color: var(--surface-primary);
|
|
8
9
|
border-left: 1.25rem solid var(--bg-highlight-neutro-secondary);
|
|
9
|
-
border-radius: $border-radius-
|
|
10
|
+
border-radius: $border-radius-md;
|
|
10
11
|
color: var(--text-primary);
|
|
11
12
|
padding: 1.5rem;
|
|
12
13
|
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
|
|
24
25
|
&.gravity-card-content {
|
|
25
26
|
border: 1px solid var(--divider-primary);
|
|
26
|
-
border-radius: $border-radius-
|
|
27
|
+
border-radius: $border-radius-md;
|
|
27
28
|
margin-top: 1rem;
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
1
|
+
@import "../fundamentals/typography/hero.typography";
|
|
2
|
+
@import "../fundamentals/border-radius/hero.border-radius";
|
|
3
|
+
@import "../shared";
|
|
3
4
|
|
|
4
5
|
ngb-datepicker.gravity-datepicker-dialog {
|
|
5
6
|
background-color: var(--bg-calender-primary);
|
|
6
|
-
border-radius: $border-radius-
|
|
7
|
+
border-radius: $border-radius-md;
|
|
7
8
|
box-shadow: 0 0 10px #AAA;
|
|
8
9
|
color: var(--on-bg-calender-primary);
|
|
9
10
|
|
|
10
11
|
.ngb-dp-header {
|
|
11
12
|
background-color: var(--bg-calendar-nav-primary);
|
|
12
|
-
border-top-left-radius: $border-radius-
|
|
13
|
-
border-top-right-radius: $border-radius-
|
|
13
|
+
border-top-left-radius: $border-radius-md;
|
|
14
|
+
border-top-right-radius: $border-radius-md;
|
|
14
15
|
color: var(--on-bg-calendar-nav-primary);
|
|
15
16
|
height: 3.125rem;
|
|
16
17
|
min-width: 17.75rem;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
$border-radius-none: 0;
|
|
2
|
+
$border-radius-xs: 0.0625rem; //1px
|
|
3
|
+
$border-radius-sm: 0.3125rem; //5px
|
|
4
|
+
$border-radius-md: 0.625rem; //10px
|
|
5
|
+
$border-radius-lg: 0.9375rem; //16px
|
|
6
|
+
$border-radius-xl: 1.25rem; //20px
|
|
7
|
+
$border-radius-xxl: 2rem; //32px
|
|
8
|
+
$border-radius-rounded: 50%;
|
|
9
|
+
|
|
10
|
+
.border-radius-none {
|
|
11
|
+
border-radius: $border-radius-none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.border-radius-xs {
|
|
15
|
+
border-radius: $border-radius-xs;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.border-radius-sm {
|
|
19
|
+
border-radius: $border-radius-sm;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.border-radius-md {
|
|
23
|
+
border-radius: $border-radius-md;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.border-radius-lg {
|
|
27
|
+
border-radius: $border-radius-lg;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.border-radius-xl {
|
|
31
|
+
border-radius: $border-radius-xl;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.border-radius-xxl {
|
|
35
|
+
border-radius: $border-radius-xxl;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.border-radius-rounded {
|
|
39
|
+
border-radius: $border-radius-rounded;
|
|
40
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$scss-types: padding, margin;
|
|
2
|
+
$spacing-sizes: xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
|
|
3
|
+
$spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
|
|
4
|
+
|
|
5
|
+
$spacing-values: (
|
|
6
|
+
xs: 8px,
|
|
7
|
+
sm: 16px,
|
|
8
|
+
md: 24px,
|
|
9
|
+
lg: 32px,
|
|
10
|
+
xl: 48px,
|
|
11
|
+
xxl: 64px,
|
|
12
|
+
xxxl: 96px,
|
|
13
|
+
xxxxl: 192px
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
@each $scss-type in $scss-types {
|
|
17
|
+
@each $size in $spacing-sizes {
|
|
18
|
+
@each $spacing-type in $spacing-types {
|
|
19
|
+
.gravity-#{$scss-type}#{$spacing-type}-#{$size} {
|
|
20
|
+
#{$scss-type}#{$spacing-type}: map-get($spacing-values, $size);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
@import "./fundamentals/border-radius/hero.border-radius";
|
|
1
2
|
@import "./fundamentals/colors/tokens/hero.tokens";
|
|
3
|
+
@import "./fundamentals/spacing/spacing";
|
|
2
4
|
@import "./fundamentals/typography/hero.typography";
|
|
3
5
|
@import "./overwrite/bootstrap/bootstrap-export";
|
|
4
6
|
@import "./overwrite/pretty-checkbox/pretty-checkbox.scss";
|
|
5
|
-
@import "./card_highlight";
|
|
6
|
-
@import "./datepicker";
|
|
7
|
-
@import "./link";
|
|
7
|
+
@import "./components/card_highlight";
|
|
8
|
+
@import "./components/datepicker";
|
|
9
|
+
@import "./components/link";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "../../
|
|
1
|
+
@import "../../fundamentals/border-radius/hero.border-radius";
|
|
2
2
|
|
|
3
3
|
$modal-margin: 3.5rem;
|
|
4
4
|
|
|
@@ -87,7 +87,7 @@ $modal-margin: 3.5rem;
|
|
|
87
87
|
|
|
88
88
|
background-clip: padding-box;
|
|
89
89
|
background-color: var(--dialog-background-color);
|
|
90
|
-
border-radius: $border-radius-
|
|
90
|
+
border-radius: $border-radius-md;
|
|
91
91
|
box-shadow: 0 27px 34px #000c208f;
|
|
92
92
|
color: var(--dialog-text-color);
|
|
93
93
|
display: flex;
|
|
File without changes
|