@cobre-npm/ds-v3 0.58.1 → 0.59.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.
- package/dist/cobre-ds-v3-lib.es.js +2732 -2680
- package/dist/style.css +1 -1
- package/dist/tokens/_components.scss +9 -0
- package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +18 -0
- package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +13 -0
- package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +46 -0
- package/package.json +1 -1
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
|
|
124
124
|
--cobre-avatar-hover-outline: var(--cobre-border-stroke-XL) solid var(--cobre-secondary-30);
|
|
125
125
|
|
|
126
|
+
--cobre-avatar-xs: 20px;
|
|
126
127
|
--cobre-avatar-small: 24px;
|
|
127
128
|
--cobre-avatar-medium: 32px;
|
|
128
129
|
--cobre-avatar-large: 40px;
|
|
@@ -354,6 +355,14 @@
|
|
|
354
355
|
|
|
355
356
|
// V3
|
|
356
357
|
|
|
358
|
+
/**
|
|
359
|
+
* Avatar Group
|
|
360
|
+
*/
|
|
361
|
+
|
|
362
|
+
:root {
|
|
363
|
+
--cobre-avatar-empty-bg: var(--cobre-primary-20);
|
|
364
|
+
}
|
|
365
|
+
|
|
357
366
|
/**
|
|
358
367
|
* BUTTONS V3
|
|
359
368
|
*/
|
|
@@ -46,6 +46,8 @@ export { default as CobreSelect } from './molecules/CobreSelect/CobreSelect.vue'
|
|
|
46
46
|
export { default as CobreSnackBar } from './molecules/CobreSnackBar/CobreSnackBar.vue';
|
|
47
47
|
export { default as CobreTableCellCopy } from './molecules/CobreTableCellCopy/CobreTableCellCopy.vue';
|
|
48
48
|
export { default as CobreTextArea } from './molecules/CobreTextArea/CobreTextArea.vue';
|
|
49
|
+
export { default as CobreAvatarsGroup } from './molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue';
|
|
49
50
|
export { default as CobreHeader } from './organisms/CobreHeader/CobreHeader.vue';
|
|
50
51
|
export { default as CobreSideMenu } from './organisms/CobreSideMenu/CobreSideMenu.vue';
|
|
51
52
|
export { default as CobreDateFilter } from './organisms/CobreDateFilter/CobreDateFilter.vue';
|
|
53
|
+
export { default as CobreTimeLine } from './organisms/CobreTimeline/CobreTimeline.vue';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type sizeAvatarType = 'small' | 'medium' | 'large';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
emailsList: string[];
|
|
4
|
+
size: sizeAvatarType;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
+
emailsList: string[];
|
|
7
|
+
size: sizeAvatarType;
|
|
8
|
+
}>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
copyText?: string;
|
|
5
5
|
tooltipText?: string;
|
|
6
6
|
copied?: string;
|
|
7
|
+
minLengthToShowTooltip?: number;
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
content?(_: {}): any;
|
|
@@ -12,17 +13,29 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
12
13
|
text: string;
|
|
13
14
|
allowCopy: boolean;
|
|
14
15
|
size: string;
|
|
16
|
+
minLengthToShowTooltip: number;
|
|
17
|
+
tooltipText: string;
|
|
18
|
+
copyText: string;
|
|
19
|
+
copied: string;
|
|
15
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
21
|
copy: (...args: any[]) => void;
|
|
17
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
23
|
text: string;
|
|
19
24
|
allowCopy: boolean;
|
|
20
25
|
size: string;
|
|
26
|
+
minLengthToShowTooltip: number;
|
|
27
|
+
tooltipText: string;
|
|
28
|
+
copyText: string;
|
|
29
|
+
copied: string;
|
|
21
30
|
}>>> & {
|
|
22
31
|
onCopy?: ((...args: any[]) => any) | undefined;
|
|
23
32
|
}, {
|
|
24
33
|
text: string;
|
|
34
|
+
tooltipText: string;
|
|
35
|
+
copied: string;
|
|
25
36
|
allowCopy: boolean;
|
|
37
|
+
copyText: string;
|
|
38
|
+
minLengthToShowTooltip: number;
|
|
26
39
|
}, {}>;
|
|
27
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
41
|
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
interface Item {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
iconClass?: string;
|
|
4
|
+
iconUrl?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
items: Item[];
|
|
9
|
+
itemKey?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
item?(_: {
|
|
13
|
+
item: Item;
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
|
+
itemKey: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
|
+
itemKey: string;
|
|
20
|
+
}>>>, {
|
|
21
|
+
itemKey: string;
|
|
22
|
+
}, {}>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|