@cobre-npm/ds-v3 0.118.4 → 0.118.5
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.
- package/dist/cobre-ds-v3-lib.es.js +5047 -4969
- package/dist/style.css +1 -1
- package/dist/tokens/_primitives.scss +3 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue.d.ts +21 -0
- package/dist/types/components/organisms/CobreAccountPicker/CobreAccountPicker.vue.d.ts +18 -0
- package/package.json +1 -1
|
@@ -101,6 +101,7 @@ $cobre-primary-20: $cobre-gray-20;
|
|
|
101
101
|
$cobre-primary-10: $cobre-gray-10;
|
|
102
102
|
$cobre-primary-7: $cobre-gray-7;
|
|
103
103
|
$cobre-primary-5: $cobre-gray-5;
|
|
104
|
+
$cobre-primary-2: $cobre-gray-2;
|
|
104
105
|
|
|
105
106
|
$cobre-secondary-95: $cobre-teal-95;
|
|
106
107
|
$cobre-secondary-90: $cobre-teal-90;
|
|
@@ -136,6 +137,7 @@ $cobre-primitives: (
|
|
|
136
137
|
gray-10: $cobre-gray-10,
|
|
137
138
|
gray-7: $cobre-gray-7,
|
|
138
139
|
gray-5: $cobre-gray-5,
|
|
140
|
+
gray-2: $cobre-gray-2,
|
|
139
141
|
white: $cobre-white,
|
|
140
142
|
|
|
141
143
|
blue-95: $cobre-blue-95,
|
|
@@ -212,6 +214,7 @@ $cobre-primitives: (
|
|
|
212
214
|
primary-10: $cobre-primary-10,
|
|
213
215
|
primary-7: $cobre-primary-7,
|
|
214
216
|
primary-5: $cobre-primary-5,
|
|
217
|
+
primary-2: $cobre-primary-2,
|
|
215
218
|
|
|
216
219
|
secondary-95: $cobre-secondary-95,
|
|
217
220
|
secondary-90: $cobre-secondary-90,
|
|
@@ -60,6 +60,7 @@ export { default as CobreBalanceCard } from './molecules/CobreBalanceCard/CobreB
|
|
|
60
60
|
export { default as CobreCardIcon } from './molecules/CobreCardIcon/CobreCardIcon.vue';
|
|
61
61
|
export { default as CobreInputDatePicker } from './molecules/CobreInputDatePicker/CobreInputDatePicker.vue';
|
|
62
62
|
export { default as CobreEntityIdCopyButton } from './molecules/CobreEntityIdCopyButton/CobreEntityIdCopyButton.vue';
|
|
63
|
+
export { default as CobreAccountOptionSelect } from './molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
|
|
63
64
|
export { default as CobreHeader } from './organisms/CobreHeader/CobreHeader.vue';
|
|
64
65
|
export { default as CobreSideMenu } from './organisms/CobreSideMenu/CobreSideMenu.vue';
|
|
65
66
|
export { default as CobreDateFilter } from './organisms/CobreDateFilter/CobreDateFilter.vue';
|
|
@@ -67,3 +68,4 @@ export { default as CobreTimeLine } from './organisms/CobreTimeline/CobreTimelin
|
|
|
67
68
|
export { default as CobreDynamicForm } from './organisms/CobreDynamicForm/CobreDynamicForm.vue';
|
|
68
69
|
export { default as CobreFilterPanel } from './organisms/CobreFilterPanel/CobreFilterPanel.vue';
|
|
69
70
|
export type * from './organisms/CobreFilterPanel/interfaces/filter.interface';
|
|
71
|
+
export { default as CobreAccountPicker } from './organisms/CobreAccountPicker/CobreAccountPicker.vue';
|
package/dist/types/components/molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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 {
|
|
7
|
+
id: string;
|
|
8
|
+
logo: string;
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
badgeText: string;
|
|
12
|
+
currency?: string;
|
|
13
|
+
currencyLabel?: string;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
tooltipText?: string;
|
|
16
|
+
}
|
|
17
|
+
interface Props {
|
|
18
|
+
account: CobreSelectableItem;
|
|
19
|
+
}
|
|
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>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type CobreSelectableItem } from '../../molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
placeholderText: string;
|
|
5
|
+
placeholderIcon?: string;
|
|
6
|
+
selectedAccount?: CobreSelectableItem | null;
|
|
7
|
+
chevronIcon?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
click: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onClick?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
placeholderIcon: string;
|
|
15
|
+
selectedAccount: CobreSelectableItem | null;
|
|
16
|
+
chevronIcon: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|