@progressio_resources/gravity-design-system 1.1.14 → 1.1.16

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.
Files changed (43) hide show
  1. package/esm2020/lib/components/gravity-attach-file/gravity-attach-file.component.mjs +3 -3
  2. package/esm2020/lib/components/gravity-button/gravity-button.component.mjs +4 -7
  3. package/esm2020/lib/components/gravity-calendar/gravity-calendar.component.mjs +35 -23
  4. package/esm2020/lib/components/gravity-checkbox/gravity-checkbox.component.mjs +2 -2
  5. package/esm2020/lib/components/gravity-dialog/gravity-dialog.component.mjs +3 -3
  6. package/esm2020/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
  7. package/esm2020/lib/components/gravity-icon/gravity-icon.component.mjs +3 -3
  8. package/esm2020/lib/components/gravity-notification/gravity-notification.component.mjs +3 -3
  9. package/esm2020/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +3 -3
  10. package/esm2020/lib/components/gravity-radio-button/gravity-radio-button.component.mjs +2 -2
  11. package/esm2020/lib/components/gravity-switch/gravity-switch.component.mjs +2 -2
  12. package/esm2020/lib/components/gravity-text-field/gravity-text-field.component.mjs +15 -5
  13. package/esm2020/lib/services/gravity-dialog-manager.service.mjs +6 -3
  14. package/fesm2015/progressio_resources-gravity-design-system.mjs +74 -52
  15. package/fesm2015/progressio_resources-gravity-design-system.mjs.map +1 -1
  16. package/fesm2020/progressio_resources-gravity-design-system.mjs +74 -52
  17. package/fesm2020/progressio_resources-gravity-design-system.mjs.map +1 -1
  18. package/lib/components/gravity-button/gravity-button.component.d.ts +2 -3
  19. package/lib/components/gravity-calendar/gravity-calendar.component.d.ts +15 -23
  20. package/lib/components/gravity-dialog/gravity-dialog.component.d.ts +4 -2
  21. package/lib/components/gravity-text-field/gravity-text-field.component.d.ts +2 -1
  22. package/lib/services/gravity-dialog-manager.service.d.ts +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/assets/icons/lock.svg +2 -2
  25. package/src/lib/assets/json/icons.json +3 -11
  26. package/src/lib/styles/_responsive.scss +1 -1
  27. package/src/lib/styles/components/_card_highlight.scss +2 -2
  28. package/src/lib/styles/components/_datepicker.scss +2 -2
  29. package/src/lib/styles/{fundamentals → foundations}/colors/primitives/_hero.primitives.scss +26 -24
  30. package/src/lib/styles/{fundamentals → foundations}/colors/themes/_hero.theme.scss +348 -347
  31. package/src/lib/styles/{fundamentals → foundations}/colors/tokens/_hero.tokens.scss +372 -371
  32. package/src/lib/styles/foundations/elevation/_hero.elevation.scss +22 -0
  33. package/src/lib/styles/foundations/grids/_grids.scss +158 -0
  34. package/src/lib/styles/gravity-design-system.scss +13 -6
  35. package/src/lib/styles/overwrite/bootstrap/_modal.scss +5 -2
  36. package/src/lib/styles/themes/_hero.scss +4 -0
  37. package/src/lib/assets/icons/radio-off.svg +0 -3
  38. package/src/lib/assets/icons/radio-on.svg +0 -3
  39. package/src/lib/styles/fundamentals/grids/grids.scss +0 -6
  40. /package/src/lib/styles/{fundamentals → foundations}/border-radius/_hero.border-radius.scss +0 -0
  41. /package/src/lib/styles/{fundamentals/breakpoints/breakpoints.scss → foundations/breakpoints/_breakpoints.scss} +0 -0
  42. /package/src/lib/styles/{fundamentals/spacing/spacing.scss → foundations/spacing/_spacing.scss} +0 -0
  43. /package/src/lib/styles/{fundamentals → foundations}/typography/_hero.typography.scss +0 -0
@@ -0,0 +1,22 @@
1
+ $elevations: (
2
+ none,
3
+ xs,
4
+ sm,
5
+ md
6
+ );
7
+
8
+ .elevation-none {
9
+ box-shadow: none;
10
+ }
11
+
12
+ .elevation-xs {
13
+ box-shadow: 0 1px 4px 0 rgba(var(--shadow-primary), 0.22);
14
+ }
15
+
16
+ .elevation-sm {
17
+ box-shadow: 0 4px 10px 0 rgba(var(--shadow-primary), 0.22);
18
+ }
19
+
20
+ .elevation-xs {
21
+ box-shadow: 0 8px 35px 0 rgba(var(--shadow-primary), 0.22);
22
+ }
@@ -0,0 +1,158 @@
1
+ $grids: (
2
+ sm: 4,
3
+ md: 6,
4
+ lg: 12,
5
+ xl: 16
6
+ );
7
+
8
+ .col-sm-1 {
9
+ width: calc(100% / 4) * 1;
10
+ }
11
+
12
+ .col-sm-2 {
13
+ width: calc(100% / 4) * 2;
14
+ }
15
+
16
+ .col-sm-3 {
17
+ width: calc(100% / 4) * 3;
18
+ }
19
+
20
+ .col-sm-4 {
21
+ width: calc(100% / 4) * 4;
22
+ }
23
+
24
+ .col-md-1 {
25
+ width: calc(100% / 6) * 1;
26
+ }
27
+
28
+ .col-md-2 {
29
+ width: calc(100% / 6) * 2;
30
+ }
31
+
32
+ .col-md-3 {
33
+ width: calc(100% / 6) * 3;
34
+ }
35
+
36
+ .col-md-4 {
37
+ width: calc(100% / 6) * 4;
38
+ }
39
+
40
+ .col-md-5 {
41
+ width: calc(100% / 6) * 5;
42
+ }
43
+
44
+ .col-md-6 {
45
+ width: calc(100% / 6) * 6;
46
+ }
47
+
48
+ .col-lg-1 {
49
+ width: calc(100% / 12) * 1;
50
+ }
51
+
52
+ .col-lg-2 {
53
+ width: calc(100% / 12) * 2;
54
+ }
55
+
56
+ .col-lg-3 {
57
+ width: calc(100% / 12) * 3;
58
+ }
59
+
60
+ .col-lg-4 {
61
+ width: calc(100% / 12) * 4;
62
+ }
63
+
64
+ .col-lg-5 {
65
+ width: calc(100% / 12) * 5;
66
+ }
67
+
68
+ .col-lg-6 {
69
+ width: calc(100% / 12) * 6;
70
+ }
71
+
72
+ .col-lg-7 {
73
+ width: calc(100% / 12) * 7;
74
+ }
75
+
76
+ .col-lg-8 {
77
+ width: calc(100% / 12) * 8;
78
+ }
79
+
80
+ .col-lg-9 {
81
+ width: calc(100% / 12) * 9;
82
+ }
83
+
84
+ .col-lg-10 {
85
+ width: calc(100% / 12) * 10;
86
+ }
87
+
88
+ .col-lg-11 {
89
+ width: calc(100% / 12) * 11;
90
+ }
91
+
92
+ .col-lg-12 {
93
+ width: calc(100% / 12) * 12;
94
+ }
95
+
96
+ .col-xl-1 {
97
+ width: calc(100% / 16) * 1;
98
+ }
99
+
100
+ .col-xl-2 {
101
+ width: calc(100% / 16) * 2;
102
+ }
103
+
104
+ .col-xl-3 {
105
+ width: calc(100% / 16) * 3;
106
+ }
107
+
108
+ .col-xl-4 {
109
+ width: calc(100% / 16) * 4;
110
+ }
111
+
112
+ .col-xl-5 {
113
+ width: calc(100% / 16) * 5;
114
+ }
115
+
116
+ .col-xl-6 {
117
+ width: calc(100% / 16) * 6;
118
+ }
119
+
120
+ .col-xl-7 {
121
+ width: calc(100% / 16) * 7;
122
+ }
123
+
124
+ .col-xl-8 {
125
+ width: calc(100% / 16) * 8;
126
+ }
127
+
128
+ .col-xl-9 {
129
+ width: calc(100% / 16) * 9;
130
+ }
131
+
132
+ .col-xl-10 {
133
+ width: calc(100% / 16) * 10;
134
+ }
135
+
136
+ .col-xl-11 {
137
+ width: calc(100% / 16) * 11;
138
+ }
139
+
140
+ .col-xl-12 {
141
+ width: calc(100% / 16) * 12;
142
+ }
143
+
144
+ .col-xl-13 {
145
+ width: calc(100% / 16) * 13;
146
+ }
147
+
148
+ .col-xl-14 {
149
+ width: calc(100% / 16) * 14;
150
+ }
151
+
152
+ .col-xl-15 {
153
+ width: calc(100% / 16) * 15;
154
+ }
155
+
156
+ .col-xl-16 {
157
+ width: calc(100% / 16) * 16;
158
+ }
@@ -1,9 +1,16 @@
1
- @import "./fundamentals/border-radius/hero.border-radius";
2
- @import "./fundamentals/colors/tokens/hero.tokens";
3
- @import "./fundamentals/spacing/spacing";
4
- @import "./fundamentals/typography/hero.typography";
5
- @import "./overwrite/bootstrap/bootstrap-export";
6
- @import "./overwrite/pretty-checkbox/pretty-checkbox.scss";
1
+ @import "./responsive";
2
+ @import "./shared";
3
+
4
+ //Components
7
5
  @import "./components/card_highlight";
8
6
  @import "./components/datepicker";
9
7
  @import "./components/link";
8
+
9
+ //Foundations
10
+ @import "./foundations/breakpoints/breakpoints";
11
+ @import "./foundations/grids/grids";
12
+ @import "./foundations/spacing/spacing";
13
+
14
+ //Overwrite
15
+ @import "./overwrite/bootstrap/bootstrap-export";
16
+ @import "./overwrite/pretty-checkbox/pretty-checkbox.scss";
@@ -1,4 +1,4 @@
1
- @import "../../fundamentals/border-radius/hero.border-radius";
1
+ @import "../../foundations/border-radius/hero.border-radius";
2
2
 
3
3
  $modal-margin: 3.5rem;
4
4
 
@@ -34,6 +34,7 @@ $modal-margin: 3.5rem;
34
34
 
35
35
  .modal-dialog-scrollable {
36
36
  height: calc(100% - $modal-margin * 2);
37
+ min-height: 15rem;
37
38
 
38
39
  .modal-content {
39
40
  max-height: 100%;
@@ -41,6 +42,7 @@ $modal-margin: 3.5rem;
41
42
  }
42
43
 
43
44
  .dialog-body {
45
+ max-height: 16vw;
44
46
  overflow-y: auto;
45
47
  }
46
48
  }
@@ -57,7 +59,8 @@ $modal-margin: 3.5rem;
57
59
  .modal-dialog-centered {
58
60
  align-items: center;
59
61
  display: flex;
60
- min-height: calc(100% - $modal-margin * 2);
62
+ height: calc(100% - $modal-margin * 2);
63
+ min-height: 15rem;
61
64
  }
62
65
 
63
66
  .modal-fullscreen {
@@ -0,0 +1,4 @@
1
+ @import "../foundations/border-radius/hero.border-radius";
2
+ @import "../foundations/colors/tokens/hero.tokens";
3
+ @import "../foundations/elevation/hero.elevation";
4
+ @import "../foundations/typography/hero.typography";
@@ -1,3 +0,0 @@
1
- <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="2.5" y="2.5" width="43" height="43" rx="21.5" stroke="var(--radio-button-on-primary, red)" stroke-width="5"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="28" height="28" rx="14" fill="var(--radio-button-off-primary, red)"/>
3
- </svg>
@@ -1,6 +0,0 @@
1
- $grids: (
2
- sm: 4,
3
- md: 6,
4
- lg: 12,
5
- xl: 16
6
- );