@cobre-npm/ds-v3 0.164.1 → 0.166.0

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.
@@ -616,6 +616,7 @@
616
616
 
617
617
  /* Mobile menu: same look as the desktop side menu. */
618
618
  --cobre-header-menu-bg: var(--cobre-side-menu-bg);
619
+ --cobre-header-menu-divider-color: var(--cobre-primary-80);
619
620
  --cobre-header-item-font-family: var(--cobre-font-family);
620
621
  --cobre-header-item-font-size: var(--cobre-body-medium-fs);
621
622
  --cobre-header-item-color: var(--cobre-side-menu-color);
@@ -8,6 +8,7 @@ interface Props {
8
8
  idLogo: string;
9
9
  size: 'xs' | 'sm' | 'md' | 'lg' | 'auto';
10
10
  type?: 'bank' | 'blockchain';
11
+ bankName?: string;
11
12
  }
12
13
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
14
  size: "xs" | "sm" | "md" | "lg" | "auto";
@@ -9,6 +9,7 @@ interface Props {
9
9
  alias: string;
10
10
  fontSize?: 'sm' | 'md';
11
11
  providerId?: string;
12
+ providerName?: string;
12
13
  accountNumber?: string;
13
14
  maxWidth?: number;
14
15
  }
@@ -7,6 +7,7 @@
7
7
  interface Props {
8
8
  logo: string;
9
9
  size?: 'xs' | 'sm' | 'md' | 'lg';
10
+ bankName?: string;
10
11
  }
11
12
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
12
13
  size: "xs" | "sm" | "md" | "lg";
@@ -6,6 +6,7 @@
6
6
  interface Props {
7
7
  label: string;
8
8
  idLogo: string;
9
+ bankName?: string;
9
10
  }
10
11
  declare var __VLS_4: {};
11
12
  type __VLS_Slots = {} & {
@@ -7,6 +7,7 @@ interface Props {
7
7
  label: string;
8
8
  idLogo: string;
9
9
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'auto';
10
+ bankName?: string;
10
11
  }
11
12
  declare var __VLS_4: {};
12
13
  type __VLS_Slots = {} & {
@@ -2,6 +2,7 @@ interface SubItems {
2
2
  icon?: string;
3
3
  text: string;
4
4
  path: string;
5
+ hasDivider?: boolean;
5
6
  }
6
7
  interface Menu {
7
8
  id?: string;
@@ -26,6 +27,7 @@ interface Props {
26
27
  icon?: string;
27
28
  text: string;
28
29
  path: string;
30
+ hasDivider?: boolean;
29
31
  }, menuItem?: SubItems) => void;
30
32
  }
31
33
  declare var __VLS_1: {};
@@ -1,4 +1,9 @@
1
- /** Lookup map of Colombian bank/PSE participant codes (e.g. `PR_COL_1001`) to display names. */
1
+ /**
2
+ * Lookup map of Colombian bank/PSE participant codes (e.g. `PR_COL_1001`) to display names.
3
+ * @deprecated Financial institution names come from `@cobre-npm/library-portal-core/financialInstitutions`,
4
+ * resolved by the host app. Pass the resolved name through the `bankName` prop of `CobreBankLogo`
5
+ * instead of relying on this list. Kept only as a fallback for consumers that have not migrated.
6
+ */
2
7
  export declare const banks: {
3
8
  PR_COL_COBRE: string;
4
9
  PR_COL_1558: string;
@@ -1,4 +1,8 @@
1
- /** Map of bank identifier codes to human-readable bank names (re-exported from banksList). */
1
+ /**
2
+ * Map of bank identifier codes to human-readable bank names (re-exported from banksList).
3
+ * @deprecated Resolve names with `@cobre-npm/library-portal-core/financialInstitutions` in the host app
4
+ * and pass them through the `bankName` prop of `CobreBankLogo`.
5
+ */
2
6
  export { banks } from './banksList';
3
7
  /** Base URL of the S3 bucket hosting Cobre portal static assets (images, icons, etc.). */
4
8
  export declare const STATIC_ASSETS_BASE_URL = "https://cobre-portal-static-assets-prod.s3.us-east-1.amazonaws.com";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.164.1",
3
+ "version": "0.166.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.0.4",
6
6
  "engines": {