@testgorilla/tgo-ui 1.13.25 → 1.13.28
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/checkbox/checkbox.component.d.ts +1 -1
- package/components/confirm-dialog/confirm-dialog.component.d.ts +10 -1
- package/components/dialog/dialog.component.d.ts +5 -2
- package/components/dialog/dialog.service.d.ts +2 -1
- package/components/paginator/paginator.component.d.ts +3 -2
- package/components/radio-button/radio-button.component.d.ts +1 -1
- package/components/snackbar/snackbar.component.d.ts +10 -3
- package/components/snackbar/snackbar.model.d.ts +1 -0
- package/components/snackbar/snackbar.service.d.ts +3 -2
- package/components/tag/tag.component.d.ts +11 -4
- package/esm2022/components/alert-banner/alert-banner.component.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +15 -5
- package/esm2022/components/dialog/dialog.component.mjs +19 -7
- package/esm2022/components/dialog/dialog.service.mjs +6 -3
- package/esm2022/components/field/field.component.mjs +2 -2
- package/esm2022/components/page-header/page-header.component.mjs +7 -4
- package/esm2022/components/paginator/paginator.component.mjs +4 -3
- package/esm2022/components/radio-button/radio-button.component.mjs +3 -3
- package/esm2022/components/snackbar/snackbar.component.mjs +12 -3
- package/esm2022/components/snackbar/snackbar.model.mjs +1 -1
- package/esm2022/components/snackbar/snackbar.service.mjs +13 -5
- package/esm2022/components/tag/tag.component.mjs +24 -3
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +98 -32
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/assets/icons/rebrand/Round-check-in-line.svg +5 -0
- package/src/theme/_alert-bars.scss +17 -0
- package/src/theme/_input.scss +1 -1
- package/src/theme/_typography.scss +18 -6
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -119,3 +119,4 @@ export * from './components/tabs/tab.directive';
|
|
|
119
119
|
export * from './utils/localization/language.model';
|
|
120
120
|
export * from './components/overflow-menu/overflow-menu.component.module';
|
|
121
121
|
export * from './components/overflow-menu/overflow-menu.component';
|
|
122
|
+
export * from './models/application-theme.model';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<path
|
|
3
|
+
d="M10.6 16.6L17.65 9.55L16.25 8.15L10.6 13.8L7.75 10.95L6.35 12.35L10.6 16.6ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z"
|
|
4
|
+
fill="#242424" />
|
|
5
|
+
</svg>
|
|
@@ -76,6 +76,23 @@
|
|
|
76
76
|
&.error {
|
|
77
77
|
background-color: $tgo-error-60w;
|
|
78
78
|
}
|
|
79
|
+
&[theme="dark"], &[theme="light"] {
|
|
80
|
+
&.success {
|
|
81
|
+
background-color: $success-20;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.info {
|
|
85
|
+
background-color: $informative-10;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.warning {
|
|
89
|
+
background-color: $warning-20;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.error {
|
|
93
|
+
background-color: $error-20;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
79
96
|
}
|
|
80
97
|
}
|
|
81
98
|
|
package/src/theme/_input.scss
CHANGED
|
@@ -110,7 +110,10 @@ body {
|
|
|
110
110
|
color: $black;
|
|
111
111
|
font-size: 40px;
|
|
112
112
|
line-height: 52px;
|
|
113
|
-
|
|
113
|
+
|
|
114
|
+
&.bold {
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
}
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
h2,
|
|
@@ -118,17 +121,16 @@ body {
|
|
|
118
121
|
color: $black;
|
|
119
122
|
font-size: 24px;
|
|
120
123
|
line-height: 30px;
|
|
121
|
-
|
|
122
|
-
&.bold {
|
|
123
|
-
font-weight: 700;
|
|
124
|
-
}
|
|
124
|
+
font-weight: 700;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
h3,
|
|
128
128
|
.h3 {
|
|
129
129
|
font-size: 20px;
|
|
130
130
|
line-height: 26px;
|
|
131
|
-
|
|
131
|
+
&.bold {
|
|
132
|
+
font-weight: 700;
|
|
133
|
+
}
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
h4,
|
|
@@ -188,5 +190,15 @@ body {
|
|
|
188
190
|
font-weight: 400;
|
|
189
191
|
font-size: 14px;
|
|
190
192
|
font-feature-settings: "capb";
|
|
193
|
+
} @else if ($type == 'large-hover-state') {
|
|
194
|
+
font-weight: bold;
|
|
195
|
+
text-decoration: underline;
|
|
196
|
+
font-size: 16px;
|
|
197
|
+
line-height: 24px;
|
|
198
|
+
} @else if ($type == 'hover-state') {
|
|
199
|
+
font-weight: bold;
|
|
200
|
+
text-decoration: underline;
|
|
201
|
+
font-size: 14px;
|
|
202
|
+
line-height: 22px;
|
|
191
203
|
}
|
|
192
204
|
}
|