@testgorilla/tgo-ui 2.20.0 → 2.20.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/accordion/accordion.component.d.ts +26 -2
- package/components/accordion/accordion.model.d.ts +1 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +12 -3
- package/components/segmented-bar/segmented-bar.component.module.d.ts +3 -1
- package/components/segmented-bar/segmented-bar.model.d.ts +3 -0
- package/components/tabs/tab.directive.d.ts +9 -3
- package/components/tabs/tabs.component.d.ts +4 -1
- package/components/tabs/tabs.model.d.ts +4 -0
- package/components/tooltip/tooltip-template.directive.d.ts +22 -0
- package/components/tooltip/tooltip.component.d.ts +1 -0
- package/components/tooltip/tooltip.component.module.d.ts +2 -1
- package/esm2022/components/accordion/accordion.component.mjs +33 -3
- package/esm2022/components/accordion/accordion.model.mjs +1 -1
- package/esm2022/components/alert-banner/alert-banner.component.mjs +3 -3
- package/esm2022/components/button/button.component.mjs +2 -2
- package/esm2022/components/field/field.component.mjs +2 -2
- package/esm2022/components/rating/rating.component.mjs +3 -3
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +40 -10
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +6 -4
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +1 -1
- package/esm2022/components/tabs/tab.directive.mjs +8 -2
- package/esm2022/components/tabs/tabs.component.mjs +31 -8
- package/esm2022/components/tabs/tabs.model.mjs +1 -1
- package/esm2022/components/tooltip/tooltip-template.directive.mjs +115 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +4 -3
- package/esm2022/components/tooltip/tooltip.component.module.mjs +5 -4
- package/fesm2022/testgorilla-tgo-ui.mjs +234 -35
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/projects/tgo-canopy-ui/theme/_input.scss +13 -4
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +130 -28
package/package.json
CHANGED
|
@@ -199,6 +199,10 @@
|
|
|
199
199
|
.mat-mdc-form-field, .autocomplete-wrapper .mat-mdc-form-field {
|
|
200
200
|
&.mat-form-field-appearance-outline, &.mat-text-field-outlined {
|
|
201
201
|
|
|
202
|
+
.mdc-text-field__input::placeholder {
|
|
203
|
+
color: $grayscale-50;
|
|
204
|
+
}
|
|
205
|
+
|
|
202
206
|
.mat-mdc-form-field-hint.error,
|
|
203
207
|
.mat-mdc-form-field-hint.error svg {
|
|
204
208
|
color: $error-50;
|
|
@@ -263,7 +267,7 @@
|
|
|
263
267
|
|
|
264
268
|
.mdc-notched-outline__notch {
|
|
265
269
|
label {
|
|
266
|
-
color: $
|
|
270
|
+
color: $black !important;
|
|
267
271
|
}
|
|
268
272
|
}
|
|
269
273
|
|
|
@@ -282,7 +286,7 @@
|
|
|
282
286
|
}
|
|
283
287
|
|
|
284
288
|
.mat-mdc-form-field-flex .mat-mdc-floating-label.mdc-floating-label--float-above {
|
|
285
|
-
color: $
|
|
289
|
+
color: $black !important;
|
|
286
290
|
}
|
|
287
291
|
|
|
288
292
|
.mdc-notched-outline__leading {
|
|
@@ -394,11 +398,11 @@
|
|
|
394
398
|
}
|
|
395
399
|
}
|
|
396
400
|
|
|
397
|
-
.mat-mdc-select-placeholder
|
|
401
|
+
.mat-mdc-select-placeholder {
|
|
398
402
|
color: $grayscale-40;
|
|
399
403
|
}
|
|
400
404
|
|
|
401
|
-
.ui-dropdown .mat-mdc-select
|
|
405
|
+
.ui-dropdown .mat-mdc-select {
|
|
402
406
|
color: $tgo-white;
|
|
403
407
|
}
|
|
404
408
|
}
|
|
@@ -444,6 +448,11 @@
|
|
|
444
448
|
}
|
|
445
449
|
}
|
|
446
450
|
|
|
451
|
+
.ui-field[theme=light] .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mdc-notched-outline__notch label,
|
|
452
|
+
.ui-field[theme=dark] .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mdc-notched-outline__notch label {
|
|
453
|
+
color: $black!important;
|
|
454
|
+
}
|
|
455
|
+
|
|
447
456
|
.mat-mdc-form-field {
|
|
448
457
|
.mat-mdc-form-field-hint-wrapper {
|
|
449
458
|
padding: 0;
|
|
@@ -30,38 +30,38 @@
|
|
|
30
30
|
|
|
31
31
|
@mixin rebranded-tooltip-left {
|
|
32
32
|
margin-right: 5px;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
33
|
+
&:after {
|
|
34
|
+
content: "";
|
|
35
|
+
position: absolute;
|
|
36
|
+
right: -8px;
|
|
37
|
+
top: calc(50% - 7px);
|
|
38
|
+
height: 15px;
|
|
39
|
+
width: 15px;
|
|
40
|
+
border-top: 1px solid $tgo-white;
|
|
41
|
+
border-right: 1px solid $tgo-white;
|
|
42
|
+
background: $black;
|
|
43
|
+
z-index: 10;
|
|
44
|
+
border-top-right-radius: 4px;
|
|
45
|
+
transform: rotate(45deg);
|
|
46
|
+
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
@mixin rebranded-tooltip-below {
|
|
50
50
|
margin-top: 5px;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
51
|
+
&:after {
|
|
52
|
+
content: "";
|
|
53
|
+
position: absolute;
|
|
54
|
+
right: calc(50% - 7px);
|
|
55
|
+
top: -8px;
|
|
56
|
+
height: 15px;
|
|
57
|
+
width: 15px;
|
|
58
|
+
border-top: 1px solid $tgo-white;
|
|
59
|
+
border-right: 1px solid $tgo-white;
|
|
60
|
+
background: $black;
|
|
61
|
+
z-index: 10;
|
|
62
|
+
border-top-right-radius: 4px;
|
|
63
|
+
transform: rotate(-45deg);
|
|
64
|
+
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@mixin rebranded-tooltip-above {
|
|
@@ -100,9 +100,11 @@ body {
|
|
|
100
100
|
.mat-mdc-tooltip {
|
|
101
101
|
@include rebranded-tooltip()
|
|
102
102
|
}
|
|
103
|
+
|
|
103
104
|
.mat-mdc-tooltip-panel-right .mdc-tooltip--shown {
|
|
104
105
|
@include rebranded-tooltip-right()
|
|
105
106
|
}
|
|
107
|
+
|
|
106
108
|
.mat-mdc-tooltip-panel-left .mdc-tooltip--shown {
|
|
107
109
|
@include rebranded-tooltip-left()
|
|
108
110
|
}
|
|
@@ -147,3 +149,103 @@ body {
|
|
|
147
149
|
@include rebranded-tooltip-above()
|
|
148
150
|
}
|
|
149
151
|
}
|
|
152
|
+
|
|
153
|
+
.template-tooltip {
|
|
154
|
+
padding: 8px;
|
|
155
|
+
background: $black;
|
|
156
|
+
color: $tgo-white;
|
|
157
|
+
border-radius: 6px;
|
|
158
|
+
border: 1px solid $tgo-white;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.top {
|
|
162
|
+
.template-tooltip {
|
|
163
|
+
@include rebranded-tooltip-above();
|
|
164
|
+
|
|
165
|
+
&:after {
|
|
166
|
+
bottom: -3px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.bottom {
|
|
172
|
+
.template-tooltip {
|
|
173
|
+
@include rebranded-tooltip-below();
|
|
174
|
+
|
|
175
|
+
&:after {
|
|
176
|
+
top: -3px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
.right {
|
|
183
|
+
.template-tooltip {
|
|
184
|
+
@include rebranded-tooltip-right();
|
|
185
|
+
|
|
186
|
+
&:after {
|
|
187
|
+
left: -3px;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
.left {
|
|
194
|
+
.template-tooltip {
|
|
195
|
+
@include rebranded-tooltip-left();
|
|
196
|
+
|
|
197
|
+
&:after {
|
|
198
|
+
right: -3px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.template-tooltip {
|
|
204
|
+
padding: 8px;
|
|
205
|
+
background: $black;
|
|
206
|
+
color: $tgo-white;
|
|
207
|
+
border-radius: 6px;
|
|
208
|
+
border: 1px solid $tgo-white;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.top {
|
|
212
|
+
.template-tooltip {
|
|
213
|
+
@include rebranded-tooltip-above();
|
|
214
|
+
|
|
215
|
+
&:after {
|
|
216
|
+
bottom: -3px;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.bottom {
|
|
222
|
+
.template-tooltip {
|
|
223
|
+
@include rebranded-tooltip-below();
|
|
224
|
+
|
|
225
|
+
&:after {
|
|
226
|
+
top: -3px;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
.right {
|
|
233
|
+
.template-tooltip {
|
|
234
|
+
@include rebranded-tooltip-right();
|
|
235
|
+
|
|
236
|
+
&:after {
|
|
237
|
+
left: -3px;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
.left {
|
|
244
|
+
.template-tooltip {
|
|
245
|
+
@include rebranded-tooltip-left();
|
|
246
|
+
|
|
247
|
+
&:after {
|
|
248
|
+
right: -3px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|