@cobre-npm/ds-v3 0.58.2 → 0.59.1

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.
@@ -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
  */
@@ -1,4 +1,4 @@
1
- type sizeAvatarType = 'small' | 'medium' | 'large';
1
+ type sizeAvatarType = 'small' | 'medium' | 'large' | 'xs';
2
2
  type avatarType = 'empty' | 'disabled';
3
3
  interface Props {
4
4
  text?: string;
@@ -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
+ };
@@ -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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.58.2",
3
+ "version": "0.59.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"