@dev-tcloud/tcloud-ui 5.3.1 → 5.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/fesm2022/dev-tcloud-tcloud-ui.mjs +103 -8
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_directives/tooltip/tooltip.directive.d.ts +1 -0
- package/lib/revitalizacao/components/tc-rev-multi-input/tc-rev-multi-input.component.d.ts +1 -0
- package/lib/revitalizacao/util/ellipsed-text.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/scss/components/custom/tooltip.scss +3 -2
|
@@ -16,6 +16,7 @@ export declare class TCloudUiTooltipDirective {
|
|
|
16
16
|
onMouseOver(event: MouseEvent): void;
|
|
17
17
|
onMouseOut(event: MouseEvent): void;
|
|
18
18
|
onClick(event: MouseEvent): void;
|
|
19
|
+
private isValidTooltipText;
|
|
19
20
|
private createTooltip;
|
|
20
21
|
private removeTooltip;
|
|
21
22
|
private repositionTooltip;
|
|
@@ -16,6 +16,7 @@ export declare class TcRevMultiInputComponent {
|
|
|
16
16
|
constructor();
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngAfterViewInit(): void;
|
|
19
|
+
isEllipsed(text: string): boolean;
|
|
19
20
|
addItem(): void;
|
|
20
21
|
removeItem(index: number): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevMultiInputComponent, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verifica se um texto específico estaria elipsado baseado no texto fornecido
|
|
3
|
+
* @param text - O texto a ser verificado
|
|
4
|
+
* @param containerWidth - Largura do container (opcional, usa o padrão se não informado)
|
|
5
|
+
* @returns true se o texto seria elipsado
|
|
6
|
+
*/
|
|
7
|
+
export declare function isTextEllipsed(text: string, containerWidth?: number): boolean;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -115,5 +115,6 @@ export * from './lib/revitalizacao/components/tc-rev-tag/tc-rev-tag.component';
|
|
|
115
115
|
export * from './lib/revitalizacao/components/tc-rev-toast/tc-rev-toast.component';
|
|
116
116
|
export * from './lib/revitalizacao/components/tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component';
|
|
117
117
|
export * from './lib/revitalizacao/components/tc-sub-navbar/tc-sub-navbar.component';
|
|
118
|
+
export * from './lib/revitalizacao/util/ellipsed-text';
|
|
118
119
|
export * from './lib/revitalizacao/components/tc-rev-wizard-steps/tc-rev-wizard-steps.component';
|
|
119
120
|
export * from './lib/revitalizacao/components/tc-rev-components.module';
|
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
text-align: center;
|
|
10
10
|
padding: 8px 13px;
|
|
11
11
|
border-radius: 8px;
|
|
12
|
-
display: inline;
|
|
12
|
+
display: inline;
|
|
13
13
|
background-color: var(--bk-tootltip) !important;
|
|
14
14
|
color: var(--color-text-tooltip) !important;
|
|
15
15
|
z-index: 9999;
|
|
16
|
-
position: absolute;
|
|
16
|
+
position: absolute;
|
|
17
|
+
overflow-wrap: break-word;
|
|
17
18
|
|
|
18
19
|
a{
|
|
19
20
|
color: var(--color-text-tooltip) !important;
|