@testgorilla/tgo-ui 2.24.3 → 2.24.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/media-card/media-card.component.d.ts +32 -0
- package/components/tooltip/tooltip-template.directive.d.ts +7 -2
- package/components/tooltip/tooltip.component.d.ts +21 -2
- package/components/tooltip/tooltip.component.module.d.ts +4 -1
- package/components/tooltip/tooltip.model.d.ts +2 -0
- package/esm2022/assets/i18n/en.json +3 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/components/media-card/media-card.component.mjs +47 -0
- package/esm2022/components/tooltip/tooltip-template.directive.mjs +23 -7
- package/esm2022/components/tooltip/tooltip.component.mjs +31 -3
- package/esm2022/components/tooltip/tooltip.component.module.mjs +12 -4
- package/esm2022/components/tooltip/tooltip.model.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +207 -120
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/projects/tgo-canopy-ui/assets/i18n/en.json +3 -0
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +75 -5
- package/projects/tgo-canopy-ui/theme/line-clamp.scss +8 -0
- package/projects/tgo-canopy-ui/theme/theme.scss +1 -0
- package/public-api.d.ts +1 -0
package/package.json
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
z-index: 10;
|
|
25
25
|
border-top-right-radius: 4px;
|
|
26
26
|
transform: rotate(-135deg);
|
|
27
|
-
transition: all 1s;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
|
|
@@ -184,6 +183,7 @@ body {
|
|
|
184
183
|
@include rebranded-tooltip-right();
|
|
185
184
|
|
|
186
185
|
&:after {
|
|
186
|
+
transition: none!important;
|
|
187
187
|
left: -3px;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -206,6 +206,17 @@ body {
|
|
|
206
206
|
color: $tgo-white;
|
|
207
207
|
border-radius: 6px;
|
|
208
208
|
border: 1px solid $tgo-white;
|
|
209
|
+
|
|
210
|
+
@keyframes fadeIn {
|
|
211
|
+
from {
|
|
212
|
+
opacity: 0;
|
|
213
|
+
}
|
|
214
|
+
to {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
animation: fadeIn 0.3s ease-in-out;
|
|
209
220
|
}
|
|
210
221
|
|
|
211
222
|
.top {
|
|
@@ -213,7 +224,7 @@ body {
|
|
|
213
224
|
@include rebranded-tooltip-above();
|
|
214
225
|
|
|
215
226
|
&:after {
|
|
216
|
-
bottom: -
|
|
227
|
+
bottom: -7px;
|
|
217
228
|
}
|
|
218
229
|
}
|
|
219
230
|
}
|
|
@@ -223,7 +234,7 @@ body {
|
|
|
223
234
|
@include rebranded-tooltip-below();
|
|
224
235
|
|
|
225
236
|
&:after {
|
|
226
|
-
top: -
|
|
237
|
+
top: -7px;
|
|
227
238
|
}
|
|
228
239
|
}
|
|
229
240
|
}
|
|
@@ -234,7 +245,7 @@ body {
|
|
|
234
245
|
@include rebranded-tooltip-right();
|
|
235
246
|
|
|
236
247
|
&:after {
|
|
237
|
-
left: -
|
|
248
|
+
left: -2px;
|
|
238
249
|
}
|
|
239
250
|
}
|
|
240
251
|
}
|
|
@@ -245,7 +256,66 @@ body {
|
|
|
245
256
|
@include rebranded-tooltip-left();
|
|
246
257
|
|
|
247
258
|
&:after {
|
|
248
|
-
right: -
|
|
259
|
+
right: -2px;
|
|
249
260
|
}
|
|
250
261
|
}
|
|
251
262
|
}
|
|
263
|
+
|
|
264
|
+
.definition-tooltip {
|
|
265
|
+
text-decoration: underline;
|
|
266
|
+
text-decoration-style: dashed;
|
|
267
|
+
text-underline-offset: 3px;
|
|
268
|
+
border-radius: 4px;
|
|
269
|
+
outline-offset: 2px;
|
|
270
|
+
outline-width: 2px;
|
|
271
|
+
width: 100% !important;
|
|
272
|
+
max-width: fit-content !important;
|
|
273
|
+
display: inline-flex;
|
|
274
|
+
|
|
275
|
+
&:focus-visible {
|
|
276
|
+
outline-color: $tgo-black !important;
|
|
277
|
+
outline-offset: 4px;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.label-definition {
|
|
282
|
+
&-inner {
|
|
283
|
+
display: flex;
|
|
284
|
+
font-weight: bold!important;
|
|
285
|
+
font-size: 12px;
|
|
286
|
+
line-height: 16px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&-outside {
|
|
290
|
+
display: block;
|
|
291
|
+
overflow: hidden;
|
|
292
|
+
white-space: nowrap;
|
|
293
|
+
text-overflow: ellipsis;
|
|
294
|
+
|
|
295
|
+
&.tooltip-size-small {
|
|
296
|
+
font-size: 12px;
|
|
297
|
+
line-height: 14.4px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.tooltip-size-medium {
|
|
301
|
+
font-size: 14px;
|
|
302
|
+
line-height: 16.8px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&.tooltip-size-large {
|
|
306
|
+
font-size: 16px;
|
|
307
|
+
line-height: 19.2px;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.text-definition {
|
|
313
|
+
font-weight: normal!important;
|
|
314
|
+
font-size: 12px;
|
|
315
|
+
line-height: 16px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
ui-tooltip {
|
|
319
|
+
width: 100%;
|
|
320
|
+
max-width: fit-content !important;
|
|
321
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -143,3 +143,4 @@ export * from './components/side-panel/side-panel.model';
|
|
|
143
143
|
export * from './components/side-panel/side-panel.service';
|
|
144
144
|
export * from './components/checklist/checklist.component';
|
|
145
145
|
export * from './components/checklist/checklist.model';
|
|
146
|
+
export * from './components/media-card/media-card.component';
|