valtech-components 2.0.348 → 2.0.350

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,8 +1,8 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { DisplayContentConfig, DisplayMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
- export declare class DisplayComponent implements OnInit, OnDestroy {
5
+ export declare class DisplayComponent implements OnInit, OnChanges, OnDestroy {
6
6
  displayContent$: Observable<string>;
7
7
  private subscriptions;
8
8
  /**
@@ -15,8 +15,10 @@ export declare class DisplayComponent implements OnInit, OnDestroy {
15
15
  */
16
16
  props: DisplayMetadata;
17
17
  private langService;
18
+ private cdr;
18
19
  constructor();
19
20
  ngOnInit(): void;
21
+ ngOnChanges(changes: SimpleChanges): void;
20
22
  ngOnDestroy(): void;
21
23
  private initializeDisplayContent;
22
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DisplayComponent, never>;
@@ -1,8 +1,8 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { TitleMetadata } from './types';
4
4
  import * as i0 from "@angular/core";
5
- export declare class TitleComponent implements OnInit {
5
+ export declare class TitleComponent implements OnInit, OnChanges {
6
6
  /**
7
7
  * Title configuration object.
8
8
  * @type {TitleMetadata}
@@ -15,9 +15,12 @@ export declare class TitleComponent implements OnInit {
15
15
  */
16
16
  props: TitleMetadata;
17
17
  private langService;
18
+ private cdr;
18
19
  displayContent$: Observable<string>;
19
20
  constructor();
20
21
  ngOnInit(): void;
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ private updateContent;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<TitleComponent, never>;
22
25
  static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "val-title", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
23
26
  }
@@ -31,7 +31,7 @@ export declare class ArticleComponent implements OnInit {
31
31
  getVideoElement(element: ArticleElement): ArticleVideoElement;
32
32
  getCustomElement(element: ArticleElement): ArticleCustomElement;
33
33
  getQuoteTextProps(element: ArticleElement): {
34
- size: "medium" | "small" | "large" | "xlarge";
34
+ size: "small" | "medium" | "large" | "xlarge";
35
35
  color: import("@ionic/core").Color;
36
36
  content?: string;
37
37
  bold: boolean;
@@ -44,7 +44,7 @@ export declare class ArticleComponent implements OnInit {
44
44
  allowPartialBold?: boolean;
45
45
  };
46
46
  getHighlightTextProps(element: ArticleElement): {
47
- size: "medium" | "small" | "large" | "xlarge";
47
+ size: "small" | "medium" | "large" | "xlarge";
48
48
  color: import("@ionic/core").Color;
49
49
  content?: string;
50
50
  bold: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.348",
3
+ "version": "2.0.350",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
@@ -1,7 +1,7 @@
1
1
  code[class*='language-'],
2
2
  pre[class*='language-'] {
3
3
  width: 100%;
4
- padding: 16px;
4
+ padding: 16px 0px;
5
5
  background: hsl(0, 0%, 100%);
6
6
  color: hsl(230, 8%, 24%);
7
7
  font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono', monospace;