@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.
@@ -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;
@@ -13,6 +13,8 @@ export interface SelectSubInterface {
13
13
  iconPosition: string;
14
14
  placeholder: string;
15
15
  tooltip: string;
16
+ showTooltips?: boolean;
17
+ showCheckboxes?: boolean;
16
18
  }
17
19
  export interface SelectInterface extends FormlyFieldProps {
18
20
  options: any;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarasanalytics-com/design-system",
3
- "version": "0.0.146",
3
+ "version": "0.0.148",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0"
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 */