@testgorilla/tgo-ui 2.3.0 → 2.3.2
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/autocomplete/autocomplete.component.d.ts +11 -5
- package/components/autocomplete/autocomplete.component.module.d.ts +2 -1
- package/components/checkbox/checkbox.component.d.ts +20 -7
- package/components/checkbox/checkbox.component.module.d.ts +4 -1
- package/components/dropdown/dropdown.component.d.ts +12 -6
- package/components/dropdown/dropdown.component.module.d.ts +2 -1
- package/components/field/field.component.d.ts +11 -5
- package/components/field/field.component.module.d.ts +2 -1
- package/components/phone-input/phone-input.component.d.ts +8 -2
- package/components/phone-input/phone-input.component.module.d.ts +2 -1
- package/components/validation-error/validation-error.component.d.ts +27 -0
- package/components/validation-error/validation-error.model.d.ts +1 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/esm2022/assets/i18n/en.json +8 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +39 -30
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +7 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +39 -22
- package/esm2022/components/checkbox/checkbox.component.module.mjs +7 -4
- package/esm2022/components/dropdown/dropdown.component.mjs +34 -27
- package/esm2022/components/dropdown/dropdown.component.module.mjs +7 -3
- package/esm2022/components/field/field.component.mjs +34 -28
- package/esm2022/components/field/field.component.module.mjs +7 -3
- package/esm2022/components/phone-input/phone-input.component.mjs +21 -5
- package/esm2022/components/phone-input/phone-input.component.module.mjs +7 -3
- package/esm2022/components/validation-error/validation-error.component.mjs +59 -0
- package/esm2022/components/validation-error/validation-error.model.mjs +2 -0
- package/esm2022/components/validation-error/validation-error.module.mjs +20 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +491 -354
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/en.json +8 -0
- package/src/theme/_font.scss +22 -0
package/package.json
CHANGED
package/src/assets/i18n/en.json
CHANGED
|
@@ -83,5 +83,13 @@
|
|
|
83
83
|
"SPECIAL_CHARACTER": "Contains at least one special character",
|
|
84
84
|
"CHARACTERS": "Contains at least 12 characters",
|
|
85
85
|
"PASSWORD_PLACEHOLDER": "Password"
|
|
86
|
+
},
|
|
87
|
+
"ERRORS": {
|
|
88
|
+
"REQUIRED": "This field is required",
|
|
89
|
+
"REQUIRED_FIELD": "This field is required - ({{label}})",
|
|
90
|
+
"MAX_LENGTH": "Please enter a value with a maximum length of ({{maxlength}}) characters",
|
|
91
|
+
"MIN_LENGTH": "Please enter a value with a minimum length of ({{maxlength}}) characters",
|
|
92
|
+
"MAX": "Please enter a value with a maximum value of ({{max}})",
|
|
93
|
+
"MIN": "Please enter a value with a minimum value of ({{min}})"
|
|
86
94
|
}
|
|
87
95
|
}
|
package/src/theme/_font.scss
CHANGED
|
@@ -2,64 +2,86 @@
|
|
|
2
2
|
font-display: swap;
|
|
3
3
|
font-family: 'ModernGothic-Black';
|
|
4
4
|
src: url('./fonts/ModernGothic-Black.otf') format('truetype');
|
|
5
|
+
font-weight: 800;
|
|
6
|
+
font-style: normal;
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
@font-face {
|
|
8
10
|
font-display: swap;
|
|
9
11
|
font-family: 'ModernGothic-BlackItalic';
|
|
10
12
|
src: url('./fonts/ModernGothic-BlackItalic.otf') format('truetype');
|
|
13
|
+
font-weight: 800;
|
|
14
|
+
font-style: italic;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
@font-face {
|
|
14
18
|
font-display: swap;
|
|
15
19
|
font-family: 'ModernGothic-Bold';
|
|
16
20
|
src: url('./fonts/ModernGothic-Bold.otf') format('truetype');
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
font-style: normal;
|
|
17
23
|
}
|
|
18
24
|
|
|
19
25
|
@font-face {
|
|
20
26
|
font-display: swap;
|
|
21
27
|
font-family: 'ModernGothic-BoldItalic';
|
|
22
28
|
src: url('./fonts/ModernGothic-BoldItalic.otf') format('truetype');
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
font-style: italic;
|
|
23
31
|
}
|
|
24
32
|
|
|
25
33
|
@font-face {
|
|
26
34
|
font-display: swap;
|
|
27
35
|
font-family: 'ModernGothic-Italic';
|
|
28
36
|
src: url('./fonts/ModernGothic-Italic.otf') format('truetype');
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
font-style: italic;
|
|
29
39
|
}
|
|
30
40
|
|
|
31
41
|
@font-face {
|
|
32
42
|
font-display: swap;
|
|
33
43
|
font-family: 'ModernGothic-Light';
|
|
34
44
|
src: url('./fonts/ModernGothic-Light.otf') format('truetype');
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
font-style: normal;
|
|
35
47
|
}
|
|
36
48
|
|
|
37
49
|
@font-face {
|
|
38
50
|
font-display: swap;
|
|
39
51
|
font-family: 'ModernGothic-LightItalic';
|
|
40
52
|
src: url('./fonts/ModernGothic-LightItalic.otf') format('truetype');
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
font-style: italic;
|
|
41
55
|
}
|
|
42
56
|
|
|
43
57
|
@font-face {
|
|
44
58
|
font-display: swap;
|
|
45
59
|
font-family: 'ModernGothic-MediumItalic';
|
|
46
60
|
src: url('./fonts/ModernGothic-MediumItalic.otf') format('truetype');
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
font-style: italic;
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
@font-face {
|
|
50
66
|
font-display: swap;
|
|
51
67
|
font-family: 'ModernGothic-Regular';
|
|
52
68
|
src: url('./fonts/ModernGothic-Regular.otf') format('truetype');
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
font-style: normal;
|
|
53
71
|
}
|
|
54
72
|
|
|
55
73
|
@font-face {
|
|
56
74
|
font-display: swap;
|
|
57
75
|
font-family: 'ModernGothic-Thin';
|
|
58
76
|
src: url('./fonts/ModernGothic-Thin.otf') format('truetype');
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-style: normal;
|
|
59
79
|
}
|
|
60
80
|
|
|
61
81
|
@font-face {
|
|
62
82
|
font-display: swap;
|
|
63
83
|
font-family: 'ModernGothic-ThinItalic';
|
|
64
84
|
src: url('./fonts/ModernGothic-ThinItalic.otf') format('truetype');
|
|
85
|
+
font-weight: 400;
|
|
86
|
+
font-style: italic;
|
|
65
87
|
}
|