valtech-components 4.0.39 → 4.0.41

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.
@@ -0,0 +1,19 @@
1
+ import { FontSizeOption } from '../../../services/font-size/font-size.service';
2
+ import { FontSizeSelectorMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FontSizeSelectorComponent {
5
+ props: FontSizeSelectorMetadata;
6
+ private fontSizeService;
7
+ private i18n;
8
+ readonly popoverId: string;
9
+ readonly currentSize: import("@angular/core").Signal<FontSizeOption>;
10
+ constructor();
11
+ get options(): {
12
+ value: FontSizeOption;
13
+ label: string;
14
+ }[];
15
+ setSize(size: FontSizeOption): void;
16
+ t(key: string): string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FontSizeSelectorComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<FontSizeSelectorComponent, "val-font-size-selector", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,10 @@
1
+ export interface FontSizeSelectorMetadata {
2
+ /** Icon color (Ionic color token or CSS). Default: 'medium' */
3
+ color?: string;
4
+ /** Fill style for the trigger button. Default: 'clear' */
5
+ fill?: 'clear' | 'outline' | 'solid';
6
+ /** Button size. Default: 'default' */
7
+ size?: 'small' | 'default' | 'large';
8
+ /** Disable the selector */
9
+ disabled?: boolean;
10
+ }
@@ -44,12 +44,14 @@ export declare class AccountViewComponent {
44
44
  readonly orgsErrorState: import("@angular/core").Signal<EmptyStateMetadata>;
45
45
  readonly createOrgOpen: import("@angular/core").WritableSignal<boolean>;
46
46
  readonly deleteAccountOpen: import("@angular/core").WritableSignal<boolean>;
47
+ readonly activeOrgLogoFailed: import("@angular/core").WritableSignal<boolean>;
47
48
  readonly pendingInvites: import("@angular/core").WritableSignal<PendingInvitation[]>;
48
49
  readonly pendingInvitesLoading: import("@angular/core").WritableSignal<boolean>;
49
50
  readonly inviteAccepting: import("@angular/core").WritableSignal<string>;
50
51
  readonly pageTitle: import("@angular/core").Signal<string>;
51
52
  readonly pageDescription: import("@angular/core").Signal<string>;
52
53
  readonly orgsTitle: import("@angular/core").Signal<string>;
54
+ readonly orgsActiveTitle: import("@angular/core").Signal<string>;
53
55
  readonly orgsEmpty: import("@angular/core").Signal<string>;
54
56
  readonly orgsMoreInfo: import("@angular/core").Signal<string>;
55
57
  readonly orgsNewQuestion: import("@angular/core").Signal<string>;
@@ -5,6 +5,7 @@
5
5
  import { Color } from '@ionic/core';
6
6
  import { ToolbarAction } from '../../types';
7
7
  import { LanguageSelectorMetadata } from '../../molecules/language-selector/types';
8
+ import { FontSizeSelectorMetadata } from '../../molecules/font-size-selector/types';
8
9
  /**
9
10
  * Metadatos para la barra de herramientas.
10
11
  * @property withBack Si muestra botón de retroceso.
@@ -28,4 +29,6 @@ export type ToolbarMetadata = {
28
29
  actions: ToolbarAction[];
29
30
  /** Language selector configuration. Displays to the left of menu button when provided. */
30
31
  languageSelector?: LanguageSelectorMetadata;
32
+ /** Font size selector configuration. Displays to the left of the language selector when provided. */
33
+ fontSizeSelector?: FontSizeSelectorMetadata;
31
34
  };
@@ -1,5 +1,6 @@
1
1
  import { HeaderMetadata } from '../../organisms/header/types';
2
2
  import { LanguageSelectorMetadata } from '../../molecules/language-selector/types';
3
+ import { FontSizeSelectorMetadata } from '../../molecules/font-size-selector/types';
3
4
  /**
4
5
  * Configuration for the page content component.
5
6
  */
@@ -18,6 +19,11 @@ export interface PageContentMetadata {
18
19
  * Uses 'icon' mode by default for compact display.
19
20
  */
20
21
  languageSelector?: LanguageSelectorMetadata;
22
+ /**
23
+ * Font size selector configuration.
24
+ * When provided, displays a font size selector icon in the header (left of language selector).
25
+ */
26
+ fontSizeSelector?: FontSizeSelectorMetadata;
21
27
  /**
22
28
  * Whether to show the update banner when a new version is available.
23
29
  * Requires AppConfigService to be configured with provideValtechAppConfig().
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 = "4.0.39";
5
+ export declare const VERSION = "4.0.41";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.39",
3
+ "version": "4.0.41",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -72,6 +72,8 @@ export * from './lib/components/molecules/file-input/types';
72
72
  export * from './lib/components/molecules/hint/hint.component';
73
73
  export * from './lib/components/molecules/language-selector/language-selector.component';
74
74
  export * from './lib/components/molecules/language-selector/types';
75
+ export * from './lib/components/molecules/font-size-selector/font-size-selector.component';
76
+ export * from './lib/components/molecules/font-size-selector/types';
75
77
  export * from './lib/components/molecules/layered-card/layered-card.component';
76
78
  export * from './lib/components/molecules/layered-card/types';
77
79
  export * from './lib/components/molecules/link/link.component';