valtech-components 4.0.1016 → 4.0.1018

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.
Files changed (71) hide show
  1. package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +3 -3
  2. package/esm2022/lib/components/atoms/box/box.component.mjs +3 -3
  3. package/esm2022/lib/components/atoms/button/button.component.mjs +3 -3
  4. package/esm2022/lib/components/atoms/display/display.component.mjs +3 -3
  5. package/esm2022/lib/components/atoms/divider/divider.component.mjs +3 -3
  6. package/esm2022/lib/components/atoms/href/href.component.mjs +3 -3
  7. package/esm2022/lib/components/atoms/icon/icon.component.mjs +3 -3
  8. package/esm2022/lib/components/atoms/image/image.component.mjs +3 -3
  9. package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +3 -3
  10. package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +3 -3
  11. package/esm2022/lib/components/atoms/text/text.component.mjs +3 -3
  12. package/esm2022/lib/components/atoms/title/title.component.mjs +3 -3
  13. package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +3 -3
  14. package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +3 -3
  15. package/esm2022/lib/components/molecules/card/card.component.mjs +3 -3
  16. package/esm2022/lib/components/molecules/chip-group/chip-group.component.mjs +3 -3
  17. package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +3 -3
  18. package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +3 -3
  19. package/esm2022/lib/components/molecules/comment/comment.component.mjs +3 -3
  20. package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +3 -3
  21. package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +3 -3
  22. package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +3 -3
  23. package/esm2022/lib/components/molecules/glow-card/glow-card.component.mjs +3 -3
  24. package/esm2022/lib/components/molecules/hint/hint.component.mjs +3 -3
  25. package/esm2022/lib/components/molecules/layered-card/layered-card.component.mjs +3 -3
  26. package/esm2022/lib/components/molecules/link/link.component.mjs +3 -3
  27. package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +3 -3
  28. package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +3 -3
  29. package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +3 -3
  30. package/esm2022/lib/components/molecules/pill/pill.component.mjs +3 -3
  31. package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +3 -3
  32. package/esm2022/lib/components/molecules/popover-selector/popover-selector.component.mjs +3 -3
  33. package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +3 -3
  34. package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +3 -3
  35. package/esm2022/lib/components/molecules/rating/rating.component.mjs +3 -3
  36. package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +3 -3
  37. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +31 -7
  38. package/esm2022/lib/components/molecules/stepper/stepper.component.mjs +3 -3
  39. package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +3 -3
  40. package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +3 -3
  41. package/esm2022/lib/components/organisms/article/article.component.mjs +3 -3
  42. package/esm2022/lib/components/organisms/banner/banner.component.mjs +3 -3
  43. package/esm2022/lib/components/organisms/comment-section/comment-section.component.mjs +3 -3
  44. package/esm2022/lib/components/organisms/data-table/data-table.component.mjs +3 -3
  45. package/esm2022/lib/components/organisms/form/form.component.mjs +3 -3
  46. package/esm2022/lib/components/organisms/header/header.component.mjs +3 -3
  47. package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +3 -3
  48. package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +3 -3
  49. package/esm2022/lib/components/organisms/settings-hub/settings-sections.mjs +2 -11
  50. package/esm2022/lib/components/organisms/survey-builder/survey-builder.component.mjs +14 -1
  51. package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +3 -3
  52. package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +3 -3
  53. package/esm2022/lib/components/templates/simple/simple.component.mjs +3 -3
  54. package/esm2022/lib/components/types.mjs +1 -1
  55. package/esm2022/lib/version.mjs +2 -2
  56. package/fesm2022/valtech-components.mjs +144 -116
  57. package/fesm2022/valtech-components.mjs.map +1 -1
  58. package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
  59. package/lib/components/atoms/text/text.component.d.ts +1 -1
  60. package/lib/components/atoms/user-avatar/user-avatar.component.d.ts +1 -1
  61. package/lib/components/molecules/features-list/features-list.component.d.ts +2 -2
  62. package/lib/components/molecules/load-more/load-more.component.d.ts +1 -1
  63. package/lib/components/molecules/operation-reference/operation-reference.component.d.ts +1 -1
  64. package/lib/components/molecules/phone-display/phone-display.component.d.ts +1 -1
  65. package/lib/components/organisms/article/article.component.d.ts +6 -6
  66. package/lib/components/organisms/settings-hub/settings-sections.d.ts +1 -1
  67. package/lib/components/organisms/survey-builder/survey-builder.component.d.ts +1 -1
  68. package/lib/components/types.d.ts +5 -0
  69. package/lib/version.d.ts +1 -1
  70. package/package.json +1 -1
  71. package/src/lib/components/styles/variables.scss +6 -6
@@ -57,7 +57,7 @@ export declare class RightsFooterComponent {
57
57
  /**
58
58
  * Computed helper for color prop in template.
59
59
  */
60
- propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
60
+ propsColor: import("@angular/core").Signal<"success" | "dark" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "medium">;
61
61
  /**
62
62
  * Computed helper for withMargin prop in template.
63
63
  */
@@ -11,7 +11,7 @@ export declare class TextComponent {
11
11
  */
12
12
  displayContent: import("@angular/core").Signal<string>;
13
13
  propsColor: import("@angular/core").Signal<import("@ionic/core").Color>;
14
- propsSize: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge">;
14
+ propsSize: import("@angular/core").Signal<"medium" | "small" | "large" | "xlarge">;
15
15
  propsBold: import("@angular/core").Signal<boolean>;
16
16
  propsProcessLinks: import("@angular/core").Signal<boolean>;
17
17
  propsAllowPartialBold: import("@angular/core").Signal<boolean>;
@@ -38,7 +38,7 @@ export declare class UserAvatarComponent {
38
38
  readonly imageUrl: import("@angular/core").Signal<string>;
39
39
  /** Iniciales — 1-2 chars derivados de name (preferred) o email prefix. */
40
40
  readonly initials: import("@angular/core").Signal<string>;
41
- readonly sizeClass: import("@angular/core").Signal<"small" | "medium" | "large" | "xlarge" | "xsmall">;
41
+ readonly sizeClass: import("@angular/core").Signal<"medium" | "small" | "large" | "xlarge" | "xsmall">;
42
42
  readonly shapeClass: import("@angular/core").Signal<"circle" | "square">;
43
43
  /** Background — explicito o derivado deterministicamente del user. */
44
44
  readonly bgColor: import("@angular/core").Signal<string>;
@@ -41,8 +41,8 @@ export declare class FeaturesListComponent {
41
41
  iconColor: string;
42
42
  iconSize: number;
43
43
  mode: "horizontal" | "vertical";
44
- gap: "small" | "medium" | "large";
45
- alignment: "center" | "start";
44
+ gap: "medium" | "small" | "large";
45
+ alignment: "start" | "center";
46
46
  imageShape: "circle" | "square";
47
47
  maxVisible: number;
48
48
  showMoreLabel?: string;
@@ -26,7 +26,7 @@ export declare class LoadMoreComponent {
26
26
  readonly color: import("@angular/core").Signal<string>;
27
27
  readonly fill: import("@angular/core").Signal<string>;
28
28
  readonly shape: import("@angular/core").Signal<string>;
29
- readonly size: import("@angular/core").Signal<"small" | "default" | "large">;
29
+ readonly size: import("@angular/core").Signal<"default" | "small" | "large">;
30
30
  readonly threshold: import("@angular/core").Signal<string>;
31
31
  readonly label: import("@angular/core").Signal<string>;
32
32
  private readonly _pendingComplete;
@@ -6,7 +6,7 @@ export declare class OperationReferenceComponent {
6
6
  protected label: import("@angular/core").Signal<string>;
7
7
  protected copiedLabel: import("@angular/core").Signal<string>;
8
8
  protected copyAriaLabel: import("@angular/core").Signal<string>;
9
- protected align: import("@angular/core").Signal<"center" | "start" | "end">;
9
+ protected align: import("@angular/core").Signal<"start" | "end" | "center">;
10
10
  protected copyValue(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<OperationReferenceComponent, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<OperationReferenceComponent, "val-operation-reference", never, { "props": { "alias": "props"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -6,7 +6,7 @@ export declare class PhoneDisplayComponent {
6
6
  props: PhoneDisplayMetadata;
7
7
  onClick: EventEmitter<string>;
8
8
  protected rawPhone: import("@angular/core").Signal<string>;
9
- protected mode: import("@angular/core").Signal<"link" | "text" | "button">;
9
+ protected mode: import("@angular/core").Signal<"button" | "link" | "text">;
10
10
  protected formatted: import("@angular/core").Signal<string>;
11
11
  protected href: import("@angular/core").Signal<string>;
12
12
  protected ariaLabel: import("@angular/core").Signal<string>;
@@ -57,7 +57,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
57
57
  getVideoElement(element: ArticleElement): ArticleVideoElement;
58
58
  getCustomElement(element: ArticleElement): ArticleCustomElement;
59
59
  getQuoteTextProps(element: ArticleElement): {
60
- size: "small" | "medium" | "large" | "xlarge";
60
+ size: "medium" | "small" | "large" | "xlarge";
61
61
  color: import("@ionic/core").Color;
62
62
  content?: string;
63
63
  bold: boolean;
@@ -73,7 +73,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
73
73
  showQuoteMark?: boolean;
74
74
  };
75
75
  getHighlightTextProps(element: ArticleElement): {
76
- size: "small" | "medium" | "large" | "xlarge";
76
+ size: "medium" | "small" | "large" | "xlarge";
77
77
  color: import("@ionic/core").Color;
78
78
  content?: string;
79
79
  bold: boolean;
@@ -88,7 +88,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
88
88
  getHighlightColor(element: ArticleElement): string;
89
89
  getButtonProps(element: ArticleElement): {
90
90
  actionType?: import("valtech-components").ActionType;
91
- expand?: "full" | "block";
91
+ expand?: "block" | "full";
92
92
  link?: string;
93
93
  href?: string;
94
94
  routerLink?: string | any[];
@@ -103,9 +103,9 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
103
103
  contentInterpolation?: Record<string, string | number>;
104
104
  icon?: import("valtech-components").IconMetada;
105
105
  shape?: "round";
106
- size?: "small" | "default" | "large";
107
- fill?: "default" | "clear" | "outline" | "solid" | "tint";
108
- type: "reset" | "submit" | "button";
106
+ size?: "default" | "small" | "large";
107
+ fill?: "outline" | "clear" | "solid" | "default" | "tint";
108
+ type: "submit" | "button" | "reset";
109
109
  token?: string;
110
110
  ariaLabel?: string;
111
111
  ref?: any;
@@ -26,7 +26,7 @@ export interface SettingsSection {
26
26
  shadowed?: boolean;
27
27
  }
28
28
  /**
29
- * Catálogo default de secciones del HUB de settings (8 entradas). `logout` va
29
+ * Catálogo default de secciones del HUB de settings (7 entradas). `logout` va
30
30
  * incluida pero sin `routerLink` (la maneja un callback). Mismo set, mismos
31
31
  * tokens/iconos/rutas que el builder original de showcase
32
32
  * (`shared/settings-action-cards.ts`) que esta promoción reemplaza.
@@ -59,7 +59,7 @@ export declare class SurveyBuilderComponent implements OnInit {
59
59
  readonly wizardStep: import("@angular/core").WritableSignal<number>;
60
60
  readonly validationError: import("@angular/core").WritableSignal<string>;
61
61
  readonly saving: import("@angular/core").WritableSignal<boolean>;
62
- readonly uploadingImage: import("@angular/core").WritableSignal<"" | "success" | "header">;
62
+ readonly uploadingImage: import("@angular/core").WritableSignal<"" | "header" | "success">;
63
63
  readonly sectionIds: import("@angular/core").WritableSignal<string[]>;
64
64
  readonly sectionNames: import("@angular/core").WritableSignal<Record<string, string>>;
65
65
  readonly sectionSubtitles: import("@angular/core").WritableSignal<Record<string, string>>;
@@ -84,6 +84,11 @@ export type InputOption = {
84
84
  id: string;
85
85
  /** Display name */
86
86
  name: string;
87
+ /** Optional icon shown next to the option label */
88
+ icon?: {
89
+ name: string;
90
+ color?: string;
91
+ };
87
92
  /** Whether the option is selected by default */
88
93
  selected?: boolean;
89
94
  /** Display order */
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.1016";
5
+ export declare const VERSION = "4.0.1018";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1016",
3
+ "version": "4.0.1018",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
@@ -147,12 +147,12 @@ $color-default-placeholder: #afbacc;
147
147
  --ion-color-darki-shade: #080d18;
148
148
  --ion-color-darki-tint: #222732;
149
149
 
150
- --ion-color-medium: #9e9e9e;
151
- --ion-color-medium-rgb: 158, 158, 158;
152
- --ion-color-medium-contrast: #000000;
153
- --ion-color-medium-contrast-rgb: 0, 0, 0;
154
- --ion-color-medium-shade: #8b8b8b;
155
- --ion-color-medium-tint: #a8a8a8;
150
+ --ion-color-medium: #737478;
151
+ --ion-color-medium-rgb: 115,116,120;
152
+ --ion-color-medium-contrast: #ffffff;
153
+ --ion-color-medium-contrast-rgb: 255,255,255;
154
+ --ion-color-medium-shade: #65666a;
155
+ --ion-color-medium-tint: #818286;
156
156
 
157
157
  /* warning — default de la lib, no el naranja de Ionic sin marcar. Amarillo
158
158
  con contraste negro: se lee como aviso sin leer como error (ese rol es de