@testgorilla/tgo-ui 3.12.2 → 3.12.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/README.md CHANGED
@@ -68,7 +68,7 @@ npm run visual-test:update-snapshots
68
68
  ### How It Works
69
69
 
70
70
  1. **Build Phase**: Storybook is built (`npm run build-storybook`) creating static files
71
- 2. **Docker Execution**: Tests run in a Linux container using `mcr.microsoft.com/playwright:v1.46.1` for consistency
71
+ 2. **Docker Execution**: Tests run in a Linux container using `mcr.microsoft.com/playwright:v1.55.1` for consistency
72
72
  3. **Server Setup**: HTTP server serves Storybook static files on port 4200
73
73
  4. **Test Execution**: Automatically discovers and tests all stories from Storybook's `index.json`
74
74
  5. **Screenshot Comparison**: Compares current screenshots against stored snapshots
@@ -81,7 +81,7 @@ The system uses Docker Compose with two services:
81
81
  - **update-snapshots**: Updates snapshots when visual changes are expected
82
82
 
83
83
  Both services:
84
- - Use official Microsoft Playwright image (`mcr.microsoft.com/playwright:v1.46.1`)
84
+ - Use official Microsoft Playwright image (`mcr.microsoft.com/playwright:v1.55.1`)
85
85
  - Mount project directory and install dependencies
86
86
  - Start HTTP server and wait for Storybook availability
87
87
  - Execute tests with Desktop Chrome viewport (1920x1200, 2x device scale)
@@ -21,13 +21,13 @@ export declare class DonutChartComponent {
21
21
  id: string;
22
22
  afterDatasetDraw: (chart: any) => void;
23
23
  };
24
- donutChartPlugins: ({
24
+ donutChartPlugins: (import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("chart.js/dist/types/basic").AnyObject> | {
25
25
  id: string;
26
26
  beforeDraw: (chart: any) => void;
27
27
  } | {
28
28
  id: string;
29
29
  afterDatasetDraw: (chart: any) => void;
30
- } | import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("chart.js/dist/types/basic").AnyObject>)[];
30
+ })[];
31
31
  donutChartOptions: ChartOptions<'doughnut'>;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ui-donut-chart", never, { "donutChartData": { "alias": "donutChartData"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Auto-generated file containing SVG icon content
3
+ * Generated on: 2025-10-27T15:17:24.716Z
4
+ *
5
+ * DO NOT EDIT THIS FILE MANUALLY
6
+ * Run 'npm run generate:icons' to regenerate
7
+ */
8
+ export declare const classicIconSvgContent: Record<string, string>;
9
+ export declare const rebrandIconSvgContent: Record<string, string>;
10
+ /**
11
+ * Get SVG content for an icon
12
+ * @param iconName - The name of the icon
13
+ * @param isRebrand - Whether to use rebrand icons (default: false)
14
+ * @returns The SVG content as a string, or undefined if not found
15
+ */
16
+ export declare function getIconSvgContent(iconName: string, isRebrand?: boolean): string | undefined;
@@ -1,9 +1,9 @@
1
1
  import { OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MatIconRegistry } from '@angular/material/icon';
3
3
  import { DomSanitizer } from '@angular/platform-browser';
4
- import { IconColor, IconName, IconSize } from './icon.model';
5
4
  import { ApplicationTheme } from '../../models/application-theme.model';
6
5
  import { IconsService } from '../../services/icons.service';
6
+ import { IconColor, IconName, IconSize } from './icon.model';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class IconComponent implements OnInit {
9
9
  private readonly defaultAppTheme;
@@ -58,6 +58,7 @@ export declare class SegmentedBarComponent {
58
58
  segmentList: SegmentedBarWithPercentage[];
59
59
  constructor(defaultAppTheme: ApplicationTheme);
60
60
  calculatePercentages(segments: SegmentedBar[]): SegmentedBarWithPercentage[];
61
+ get accessibleValueText(): string;
61
62
  static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponent, [{ optional: true; }]>;
62
63
  static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedBarComponent, "ui-segmented-bar", never, { "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "segments": { "alias": "segments"; "required": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "tooltipStats": { "alias": "tooltipStats"; "required": false; }; }, {}, never, never, false, never>;
63
64
  }
@@ -122,6 +122,7 @@ export declare class SnackbarComponent implements OnInit {
122
122
  onMouseLeave(): void;
123
123
  dismissClick(): void;
124
124
  onLinkClick(event: Event): void;
125
+ private dismissSnackbar;
125
126
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null]>;
126
127
  static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "ui-snackbar", never, { "snackbarType": { "alias": "snackbarType"; "required": false; }; "message": { "alias": "message"; "required": false; }; "html": { "alias": "html"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, {}, never, never, false, never>;
127
128
  }