@cobre-npm/ds-v3 0.118.0 → 0.118.3

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,4 +1,9 @@
1
- export interface AccountOptionItem {
1
+ /**
2
+ * Generic item shape for CobreAccountOptionSelect.
3
+ * Intentionally not tied to accounts or counterparties —
4
+ * any entity with these fields can be rendered by this component.
5
+ */
6
+ export interface CobreSelectableItem {
2
7
  id: string;
3
8
  logo: string;
4
9
  title: string;
@@ -10,7 +15,7 @@ export interface AccountOptionItem {
10
15
  tooltipText?: string;
11
16
  }
12
17
  interface Props {
13
- account: AccountOptionItem;
18
+ account: CobreSelectableItem;
14
19
  }
15
20
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
21
  export default _default;
@@ -1,9 +1,9 @@
1
- import { type AccountOptionItem } from '../../molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
1
+ import { type CobreSelectableItem } from '../../molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
2
2
  interface Props {
3
3
  label: string;
4
4
  placeholderText: string;
5
5
  placeholderIcon?: string;
6
- selectedAccount?: AccountOptionItem | null;
6
+ selectedAccount?: CobreSelectableItem | null;
7
7
  chevronIcon?: string;
8
8
  }
9
9
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
12
12
  onClick?: (() => any) | undefined;
13
13
  }>, {
14
14
  placeholderIcon: string;
15
- selectedAccount: AccountOptionItem | null;
15
+ selectedAccount: CobreSelectableItem | null;
16
16
  chevronIcon: string;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
18
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.118.0",
3
+ "version": "0.118.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"