valtech-components 2.0.414 → 2.0.415

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.
@@ -1,22 +1,9 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
1
+ import { EventEmitter } from '@angular/core';
3
2
  import { PrompterMetadata } from './types';
4
3
  import * as i0 from "@angular/core";
5
- export declare class PrompterComponent implements OnInit {
6
- private langService;
7
- /** Observable for reactive content - follows val-text/val-button pattern */
8
- displayContent$: Observable<string>;
9
- /**
10
- * Prompter configuration object.
11
- */
4
+ export declare class PrompterComponent {
12
5
  props: PrompterMetadata;
13
6
  onClick: EventEmitter<string>;
14
- ngOnInit(): void;
15
- /**
16
- * Set up content Observable.
17
- * Follows the same pattern as val-text and val-button for consistency.
18
- */
19
- private setupContent;
20
7
  clickHandler(token?: string): void;
21
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PrompterComponent, never>;
22
9
  static ɵcmp: i0.ɵɵComponentDeclaration<PrompterComponent, "val-prompter", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
@@ -7,13 +7,11 @@ import { ButtonMetadata } from '../../types';
7
7
  * @property teleprompter - Whether to use teleprompter style.
8
8
  * @property bordered - Whether the box has a border.
9
9
  * @property color - The background color of the box (optional).
10
- * @property content - The main text content (used as fallback if i18n keys provided).
10
+ * @property content - The main text content.
11
11
  * @property size - The size of the text and box ('small' | 'medium' | 'large' | 'xlarge').
12
12
  * @property buttons - Array of button configurations (optional).
13
13
  * @property hrefs - Array of link configurations (optional).
14
14
  * @property padding - Custom padding for the box (optional).
15
- * @property contentClass - i18n content class name (optional, for reactive translations).
16
- * @property contentKey - i18n content key (optional, for reactive translations).
17
15
  */
18
16
  export type PrompterMetadata = {
19
17
  teleprompter: boolean;
@@ -24,8 +22,4 @@ export type PrompterMetadata = {
24
22
  buttons?: ButtonMetadata[];
25
23
  hrefs?: HrefMetadata[];
26
24
  padding?: string;
27
- /** i18n content class name for reactive translations */
28
- contentClass?: string;
29
- /** i18n content key for reactive translations */
30
- contentKey?: string;
31
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.414",
3
+ "version": "2.0.415",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",