@sarasanalytics-com/design-system 0.0.146 → 0.0.148
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/esm2022/interfaces/header-interface.mjs +1 -1
- package/esm2022/interfaces/select-interface.mjs +1 -1
- package/esm2022/lib/data-grid/data-grid.component.mjs +1 -1
- package/esm2022/lib/filter/filter.component.mjs +5 -3
- package/esm2022/lib/form-input/form-input.component.mjs +3 -3
- package/esm2022/lib/form-select/form-select.component.mjs +4 -3
- package/esm2022/lib/header/header.component.mjs +5 -3
- package/fesm2022/sarasanalytics-com-design-system.mjs +8 -8
- package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -1
- package/interfaces/header-interface.d.ts +2 -0
- package/interfaces/select-interface.d.ts +2 -0
- package/lib/data-grid/data-grid.component.d.ts +1 -1
- package/lib/filter/filter.component.d.ts +3 -0
- package/package.json +1 -1
- package/styles/styles.css +32 -0
|
@@ -4,6 +4,8 @@ import { IconInterface } from "./icon-interface";
|
|
|
4
4
|
export interface HeaderChipConfig extends ChipInterface {
|
|
5
5
|
}
|
|
6
6
|
export interface HeaderIcon extends IconInterface {
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
tooltipPosition?: 'above' | 'below' | 'left' | 'right';
|
|
7
9
|
}
|
|
8
10
|
export interface HeaderInfoItem {
|
|
9
11
|
text: string;
|
|
@@ -16,7 +16,7 @@ export declare class DataGridComponent {
|
|
|
16
16
|
localeText: any;
|
|
17
17
|
private gridApi;
|
|
18
18
|
getEffectiveRowData(): any[] | undefined;
|
|
19
|
-
onGridReady(params: GridReadyEvent): void;
|
|
19
|
+
onGridReady(params: GridReadyEvent<any>): void;
|
|
20
20
|
static updateCellContent(gridApi: GridApi, rowIndex: number, field: string, newParams: Partial<GridInterface>): void;
|
|
21
21
|
static createChipsCell(chips: any[], config?: Partial<GridInterface>): GridInterface;
|
|
22
22
|
static createTextCell(text: string, config?: Partial<GridInterface>): GridInterface;
|
|
@@ -45,10 +45,12 @@ export interface FilterCategory {
|
|
|
45
45
|
id: string;
|
|
46
46
|
text: string;
|
|
47
47
|
subMenu?: FilterOption[];
|
|
48
|
+
tooltip?: string;
|
|
48
49
|
}
|
|
49
50
|
export interface FilterOption {
|
|
50
51
|
value: string;
|
|
51
52
|
label: string;
|
|
53
|
+
description?: string;
|
|
52
54
|
tooltip?: string;
|
|
53
55
|
icon?: {
|
|
54
56
|
icon: string;
|
|
@@ -56,6 +58,7 @@ export interface FilterOption {
|
|
|
56
58
|
iconPath?: string;
|
|
57
59
|
iconUrl?: string;
|
|
58
60
|
customClass?: string;
|
|
61
|
+
tooltip?: string;
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
export interface FilterSelection {
|
package/package.json
CHANGED
package/styles/styles.css
CHANGED
|
@@ -426,4 +426,36 @@ body {
|
|
|
426
426
|
--border: 1px solid var(--semantic-error-500, #BD271E);
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
+
/* ::ng-deep .mat-tooltip-panel.custom-tooltip {
|
|
430
|
+
background-color: var(--grey-800, #101828);
|
|
431
|
+
color: var(--text-white, #FFFFFF);
|
|
432
|
+
font-family: var(--font, Roboto);
|
|
433
|
+
font-size: 12px;
|
|
434
|
+
font-weight: 400;
|
|
435
|
+
line-height: 16px;
|
|
436
|
+
letter-spacing: 0.4px;
|
|
437
|
+
border-radius: 6px;
|
|
438
|
+
padding: 8px 12px;
|
|
439
|
+
max-width: 300px;
|
|
440
|
+
z-index: 9999;
|
|
441
|
+
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
442
|
+
} */
|
|
443
|
+
|
|
444
|
+
/* Ensure tooltips appear above dropdowns and other overlays */
|
|
445
|
+
/* ::ng-deep .cdk-overlay-container .cdk-overlay-pane .mat-tooltip-panel.custom-tooltip {
|
|
446
|
+
z-index: 9999;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
::ng-deep .cdk-overlay-container .cdk-overlay-pane .mat-tooltip-panel {
|
|
450
|
+
z-index: 9999;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
::ng-deep .cdk-overlay-container .cdk-overlay-pane[data-mat-tooltip] {
|
|
454
|
+
z-index: 9999;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
::ng-deep .cdk-global-overlay-wrapper .cdk-overlay-pane .mat-tooltip-panel {
|
|
458
|
+
z-index: 9999;
|
|
459
|
+
} */
|
|
460
|
+
|
|
429
461
|
/* end */
|