@testgorilla/tgo-ui 2.3.3 → 2.3.4
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/components/divider/divider.component.d.ts +9 -2
- package/components/file-upload/file-upload.component.d.ts +9 -1
- package/esm2022/assets/i18n/en.json +2 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/components/divider/divider.component.mjs +12 -3
- package/esm2022/components/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/components/file-upload/file-upload.component.mjs +18 -9
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +3 -3
- package/esm2022/components/radio-button/radio-button.component.mjs +2 -2
- package/esm2022/components/scale/scale.component.mjs +2 -2
- package/esm2022/components/segmented-button/segmented-button.component.mjs +2 -2
- package/fesm2022/testgorilla-tgo-ui.mjs +42 -22
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/en.json +2 -0
- package/src/theme/_font.scss +35 -43
- package/src/theme/_lib-styles.scss +1 -2
- package/src/theme/_typography.scss +5 -5
- package/src/theme/theme.scss +1 -2
package/package.json
CHANGED
package/src/assets/i18n/en.json
CHANGED
|
@@ -69,6 +69,8 @@
|
|
|
69
69
|
"BROWSE": "Browse",
|
|
70
70
|
"YOUR_FILES": "your files",
|
|
71
71
|
"MAX_SIZE": "MB max file size.",
|
|
72
|
+
"MIN_SIZE": "MB min file size",
|
|
73
|
+
"MIN_SIZE_ERROR": "Upload a file larger than ({{min}} MB)",
|
|
72
74
|
"UPLOADING": "Uploading",
|
|
73
75
|
"SUPPORTED_FILE_TYPES": "Supported file types:",
|
|
74
76
|
"CHANGE": "Change"
|
package/src/theme/_font.scss
CHANGED
|
@@ -1,95 +1,87 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-display: swap;
|
|
3
|
-
font-
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-family: 'ModernGothic';
|
|
3
|
+
font-family: 'ModernGothic-Black';
|
|
6
4
|
src: url('./fonts/ModernGothic-Black.otf') format('truetype');
|
|
5
|
+
font-weight: 800;
|
|
6
|
+
font-style: normal;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@font-face {
|
|
10
10
|
font-display: swap;
|
|
11
|
-
font-
|
|
12
|
-
font-style: italic;
|
|
13
|
-
font-family: 'ModernGothic';
|
|
11
|
+
font-family: 'ModernGothic-BlackItalic';
|
|
14
12
|
src: url('./fonts/ModernGothic-BlackItalic.otf') format('truetype');
|
|
13
|
+
font-weight: 800;
|
|
14
|
+
font-style: italic;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@font-face {
|
|
18
|
-
font-weight: 700;
|
|
19
|
-
font-style: normal;
|
|
20
18
|
font-display: swap;
|
|
21
|
-
font-family: 'ModernGothic';
|
|
19
|
+
font-family: 'ModernGothic-Bold';
|
|
22
20
|
src: url('./fonts/ModernGothic-Bold.otf') format('truetype');
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
font-style: normal;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@font-face {
|
|
26
|
-
font-weight: 700;
|
|
27
|
-
font-style: italic;
|
|
28
26
|
font-display: swap;
|
|
29
|
-
font-family: 'ModernGothic';
|
|
27
|
+
font-family: 'ModernGothic-BoldItalic';
|
|
30
28
|
src: url('./fonts/ModernGothic-BoldItalic.otf') format('truetype');
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
font-style: italic;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@font-face {
|
|
34
|
-
font-weight: 500;
|
|
35
|
-
font-style: normal;
|
|
36
34
|
font-display: swap;
|
|
37
|
-
font-family: 'ModernGothic';
|
|
38
|
-
src: url('./fonts/ModernGothic-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-weight: 500;
|
|
35
|
+
font-family: 'ModernGothic-Italic';
|
|
36
|
+
src: url('./fonts/ModernGothic-Italic.otf') format('truetype');
|
|
37
|
+
font-weight: 400;
|
|
43
38
|
font-style: italic;
|
|
44
|
-
font-display: swap;
|
|
45
|
-
font-family: 'ModernGothic';
|
|
46
|
-
src: url('./fonts/ModernGothic-MediumItalic.otf') format('truetype');
|
|
47
39
|
}
|
|
48
40
|
|
|
49
41
|
@font-face {
|
|
42
|
+
font-display: swap;
|
|
43
|
+
font-family: 'ModernGothic-Light';
|
|
44
|
+
src: url('./fonts/ModernGothic-Light.otf') format('truetype');
|
|
50
45
|
font-weight: 400;
|
|
51
46
|
font-style: normal;
|
|
52
|
-
font-display: swap;
|
|
53
|
-
font-family: 'ModernGothic';
|
|
54
|
-
src: url('./fonts/ModernGothic-Regular.otf') format('truetype');
|
|
55
47
|
}
|
|
56
48
|
|
|
57
49
|
@font-face {
|
|
50
|
+
font-display: swap;
|
|
51
|
+
font-family: 'ModernGothic-LightItalic';
|
|
52
|
+
src: url('./fonts/ModernGothic-LightItalic.otf') format('truetype');
|
|
58
53
|
font-weight: 400;
|
|
59
54
|
font-style: italic;
|
|
60
|
-
font-display: swap;
|
|
61
|
-
font-family: 'ModernGothic';
|
|
62
|
-
src: url('./fonts/ModernGothic-Italic.otf') format('truetype');
|
|
63
55
|
}
|
|
64
56
|
|
|
65
57
|
@font-face {
|
|
66
|
-
font-weight: 300;
|
|
67
|
-
font-style: normal;
|
|
68
58
|
font-display: swap;
|
|
69
|
-
font-family: 'ModernGothic';
|
|
70
|
-
src: url('./fonts/ModernGothic-
|
|
59
|
+
font-family: 'ModernGothic-MediumItalic';
|
|
60
|
+
src: url('./fonts/ModernGothic-MediumItalic.otf') format('truetype');
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
font-style: italic;
|
|
71
63
|
}
|
|
72
64
|
|
|
73
65
|
@font-face {
|
|
74
|
-
font-weight: 300;
|
|
75
|
-
font-style: italic;
|
|
76
66
|
font-display: swap;
|
|
77
|
-
font-family: 'ModernGothic';
|
|
78
|
-
src: url('./fonts/ModernGothic-
|
|
67
|
+
font-family: 'ModernGothic-Regular';
|
|
68
|
+
src: url('./fonts/ModernGothic-Regular.otf') format('truetype');
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
font-style: normal;
|
|
79
71
|
}
|
|
80
72
|
|
|
81
73
|
@font-face {
|
|
82
|
-
font-weight: 200;
|
|
83
|
-
font-style: normal;
|
|
84
74
|
font-display: swap;
|
|
85
|
-
font-family: 'ModernGothic';
|
|
75
|
+
font-family: 'ModernGothic-Thin';
|
|
86
76
|
src: url('./fonts/ModernGothic-Thin.otf') format('truetype');
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-style: normal;
|
|
87
79
|
}
|
|
88
80
|
|
|
89
81
|
@font-face {
|
|
90
|
-
font-weight: 200;
|
|
91
|
-
font-style: italic;
|
|
92
82
|
font-display: swap;
|
|
93
|
-
font-family: 'ModernGothic';
|
|
83
|
+
font-family: 'ModernGothic-ThinItalic';
|
|
94
84
|
src: url('./fonts/ModernGothic-ThinItalic.otf') format('truetype');
|
|
85
|
+
font-weight: 400;
|
|
86
|
+
font-style: italic;
|
|
95
87
|
}
|
|
@@ -166,7 +166,7 @@ caption,
|
|
|
166
166
|
font-weight: 400;
|
|
167
167
|
|
|
168
168
|
&.black {
|
|
169
|
-
font-family: "ModernGothic", sans-serif!important;
|
|
169
|
+
font-family: "ModernGothic-Black", sans-serif!important;
|
|
170
170
|
font-weight: 900;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -177,7 +177,7 @@ caption,
|
|
|
177
177
|
font-size: 24px;
|
|
178
178
|
line-height: 30px;
|
|
179
179
|
font-weight: 900;
|
|
180
|
-
font-family: "ModernGothic", sans-serif!important;
|
|
180
|
+
font-family: "ModernGothic-Black", sans-serif!important;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
h3,
|
|
@@ -188,7 +188,7 @@ caption,
|
|
|
188
188
|
color: $black;
|
|
189
189
|
|
|
190
190
|
&.bold {
|
|
191
|
-
font-family: "ModernGothic", sans-serif!important;
|
|
191
|
+
font-family: "ModernGothic-Bold", sans-serif!important;
|
|
192
192
|
font-weight: 700;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -199,7 +199,7 @@ caption,
|
|
|
199
199
|
line-height: 20px;
|
|
200
200
|
font-weight: 700;
|
|
201
201
|
color: $black;
|
|
202
|
-
font-family: "ModernGothic", sans-serif!important;
|
|
202
|
+
font-family: "ModernGothic-Bold", sans-serif!important;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
h5,
|
|
@@ -208,7 +208,7 @@ caption,
|
|
|
208
208
|
line-height: 18px;
|
|
209
209
|
font-weight: 700;
|
|
210
210
|
color: $black;
|
|
211
|
-
font-family: "ModernGothic", sans-serif!important;
|
|
211
|
+
font-family: "ModernGothic-Bold", sans-serif!important;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.body-large {
|
package/src/theme/theme.scss
CHANGED
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
*[theme="dark"], *[theme="light"] {
|
|
18
18
|
* {
|
|
19
|
-
font-family: "ModernGothic", sans-serif;
|
|
20
|
-
font-weight: 400;
|
|
19
|
+
font-family: "ModernGothic-Regular", sans-serif;
|
|
21
20
|
|
|
22
21
|
.mat-mdc-elevation-specific.mat-elevation-z8 {
|
|
23
22
|
box-shadow: $box-shadow-modal!important;
|