valtech-components 2.0.924 → 2.0.926

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.
@@ -16,4 +16,5 @@ export type HrefMetadata = {
16
16
  color: Color;
17
17
  download: boolean;
18
18
  hoverable: boolean;
19
+ target?: string;
19
20
  };
@@ -43,7 +43,7 @@ export declare class RightsFooterComponent {
43
43
  /**
44
44
  * Computed helper for color prop in template.
45
45
  */
46
- propsColor: import("@angular/core").Signal<"light" | "dark" | "success" | "danger" | "primary" | "secondary" | "tertiary" | "warning" | "medium">;
46
+ propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
47
47
  /**
48
48
  * Computed helper for withMargin prop in template.
49
49
  */
@@ -35,8 +35,8 @@ export declare class ContentReactionComponent implements OnInit, OnChanges {
35
35
  commentOnValues: ReactionValue[];
36
36
  commentPlaceholder: string;
37
37
  maxCommentLength: number;
38
- emojis: [string, string, string] | [string, string];
39
- emojiLabels: [string, string, string] | [string, string];
38
+ emojis: [string, string] | [string, string, string];
39
+ emojiLabels: [string, string] | [string, string, string];
40
40
  showThankYou: boolean;
41
41
  thankYouMessage: string;
42
42
  disabled: boolean;
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { NavController } from '@ionic/angular';
3
2
  import { IconService } from '../../../services/icons.service';
4
3
  import { ToolbarAction, ToolbarActionType } from '../../types';
5
4
  import { ToolbarMetadata } from './types';
@@ -17,7 +16,6 @@ import * as i0 from "@angular/core";
17
16
  * @output onClick - Emite el token de la acción clicada.
18
17
  */
19
18
  export declare class ToolbarComponent implements OnInit {
20
- private navCtrl;
21
19
  /**
22
20
  * Metadatos de la barra de herramientas.
23
21
  */
@@ -27,16 +25,14 @@ export declare class ToolbarComponent implements OnInit {
27
25
  */
28
26
  onClick: EventEmitter<string>;
29
27
  actionTypes: typeof ToolbarActionType;
30
- constructor(navCtrl: NavController, icon: IconService);
28
+ private nav;
29
+ constructor(icon: IconService);
31
30
  ngOnInit(): void;
32
31
  /**
33
32
  * Emite el token de la acción clicada.
34
33
  * @param token Token de la acción
35
34
  */
36
35
  clickHandler(token?: string): void;
37
- /**
38
- * Navega hacia atrás usando NavController.
39
- */
40
36
  goBack(): void;
41
37
  /**
42
38
  * Determina si hay acciones a la derecha.
@@ -56,23 +56,15 @@ export declare class PageContentComponent {
56
56
  * Injects languageSelector into toolbar when provided at page level.
57
57
  */
58
58
  get headerProps(): import("valtech-components").HeaderMetadata | {
59
+ bordered: boolean;
60
+ translucent: boolean;
59
61
  toolbar: {
60
- languageSelector: import("valtech-components").LanguageSelectorMetadata;
61
- withBack: boolean;
62
- withMenu?: boolean;
63
- backText?: string;
64
- withActions: boolean;
65
- color?: import("@ionic/core").Color;
66
- textColor?: import("@ionic/core").Color;
67
- title: string;
68
- actions: import("valtech-components").ToolbarAction[];
69
- } | {
70
- languageSelector: import("valtech-components").LanguageSelectorMetadata;
71
62
  withBack: boolean;
72
63
  withActions: boolean;
73
64
  textColor: "dark";
74
65
  withMenu: boolean;
75
66
  title: string;
67
+ languageSelector: undefined;
76
68
  actions: {
77
69
  token: string;
78
70
  description: string;
@@ -91,8 +83,6 @@ export declare class PageContentComponent {
91
83
  };
92
84
  }[];
93
85
  };
94
- translucent?: boolean;
95
- bordered?: boolean;
96
86
  };
97
87
  /**
98
88
  * Gets the background color based on theme.
@@ -24,4 +24,6 @@ export interface PageContentMetadata {
24
24
  * @default true
25
25
  */
26
26
  showUpdateBanner?: boolean;
27
+ /** Show back button in the header toolbar */
28
+ showBackButton?: boolean;
27
29
  }
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.924";
5
+ export declare const VERSION = "2.0.926";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.924",
3
+ "version": "2.0.926",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"