@cobre-npm/ds-v3 0.5.0 → 0.6.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 +3081 -3090
- package/dist/style.css +1 -1
- package/dist/tokens/_components.scss +697 -1087
- package/dist/tokens/_primitives.scss +71 -72
- package/dist/tokens/_semantics.scss +132 -0
- package/dist/types/components/{CobreAvatar → atoms/CobreAvatar}/CobreAvatar.vue.d.ts +1 -0
- package/dist/types/components/{CobreButton → atoms/CobreButton}/CobreButton.vue.d.ts +5 -5
- package/dist/types/components/index.d.ts +40 -40
- package/dist/types/components/{CobreAccountInfoFiled → molecules/CobreAccountInfoFiled}/CobreAccountInfoField.vue.d.ts +1 -1
- package/dist/types/components/{CobreActionList → molecules/CobreActionList}/CobreActionList.vue.d.ts +3 -4
- package/dist/types/components/{CobreFlowResult → molecules/CobreFlowResult}/CobreFlowResult.vue.d.ts +2 -2
- package/dist/types/components/{CobreModalAction → molecules/CobreModalAction}/CobreModalAction.vue.d.ts +3 -3
- package/dist/types/components/{CobreRowTable → molecules/CobreRowTable}/CobreRowTable.vue.d.ts +4 -4
- package/dist/types/components/{CobreSnackBar → molecules/CobreSnackBar}/CobreSnackBar.vue.d.ts +1 -1
- package/dist/types/components/{CobreSideMenu → organisms/CobreSideMenu}/components/SubItems.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/{CobreBankLogo → atoms/CobreBankLogo}/CobreBankLogo.vue.d.ts +0 -0
- package/dist/types/components/{CobreButtonMenu → atoms/CobreButtonMenu}/CobreButtonMenu.vue.d.ts +2 -2
- package/dist/types/components/{CobreCheckbox → atoms/CobreCheckbox}/CobreCheckbox.vue.d.ts +0 -0
- package/dist/types/components/{CobreColumnTable → atoms/CobreColumnTable}/CobreColumnTable.vue.d.ts +0 -0
- package/dist/types/components/{CobreCountryFlag → atoms/CobreCountryFlag}/CobreCountryFlag.vue.d.ts +0 -0
- package/dist/types/components/{CobreEmptyResults → atoms/CobreEmptyResults}/CobreEmptyResults.vue.d.ts +1 -1
- package/dist/types/components/{CobreEmptyState → atoms/CobreEmptyState}/CobreEmptyState.vue.d.ts +0 -0
- package/dist/types/components/{CobreInfoDetail → atoms/CobreInfoDetail}/CobreInfoDetail.vue.d.ts +1 -1
- package/dist/types/components/{CobreInputLabel → atoms/CobreInputLabel}/CobreInputLabel.vue.d.ts +0 -0
- package/dist/types/components/{CobrePager → atoms/CobrePager}/CobrePager.vue.d.ts +0 -0
- package/dist/types/components/{CobreRadio → atoms/CobreRadio}/CobreRadio.vue.d.ts +0 -0
- package/dist/types/components/{CobreTabMenu → atoms/CobreTabMenu}/CobreTabMenu.vue.d.ts +0 -0
- package/dist/types/components/{CobreToastAlert → atoms/CobreToastAlert}/CobreToastAlert.vue.d.ts +0 -0
- package/dist/types/components/{CobreTruncateTooltipText → atoms/CobreTruncateTooltipText}/CobreTruncateTooltipText.vue.d.ts +0 -0
- package/dist/types/components/{CobreUploader → atoms/CobreUploader}/CobreUploader.vue.d.ts +0 -0
- package/dist/types/components/{CobreBadge → molecules/CobreBadge}/CobreBadge.vue.d.ts +1 -1
- package/dist/types/components/{CobreChips → molecules/CobreChips}/CobreChips.vue.d.ts +1 -1
- package/dist/types/components/{CobreCopyTextBox → molecules/CobreCopyTextBox}/CobreCopyTextBox.vue.d.ts +1 -1
- package/dist/types/components/{CobreDrawer → molecules/CobreDrawer}/CobreDrawer.vue.d.ts +0 -0
- package/dist/types/components/{CobreDropdownButton → molecules/CobreDropdownButton}/CobreDropdownButton.vue.d.ts +0 -0
- package/dist/types/components/{CobreFieldLogo → molecules/CobreFieldLogo}/CobreFieldLogo.vue.d.ts +0 -0
- package/dist/types/components/{CobreFormOtp → molecules/CobreFormOtp}/CobreFormOtp.vue.d.ts +2 -2
- package/dist/types/components/{CobreInput → molecules/CobreInput}/CobreInput.vue.d.ts +2 -2
- package/dist/types/components/{CobreInputUrl → molecules/CobreInputUrl}/CobreInputUrl.vue.d.ts +1 -1
- package/dist/types/components/{CobreLogoField → molecules/CobreLogoField}/CobreLogoField.vue.d.ts +0 -0
- package/dist/types/components/{CobreModal → molecules/CobreModal}/CobreModal.vue.d.ts +1 -1
- package/dist/types/components/{CobreSelect → molecules/CobreSelect}/CobreSelect.vue.d.ts +1 -1
- package/dist/types/components/{CobreTableCellCopy → molecules/CobreTableCellCopy}/CobreTableCellCopy.vue.d.ts +0 -0
- package/dist/types/components/{CobreTextArea → molecules/CobreTextArea}/CobreTextArea.vue.d.ts +2 -2
- package/dist/types/components/{Toolbar → molecules/Toolbar}/CobreInputSearch/CobreInputSearch.vue.d.ts +0 -0
- package/dist/types/components/{CobreHeader → organisms/CobreHeader}/CobreHeader.vue.d.ts +0 -0
- package/dist/types/components/{CobreHeader → organisms/CobreHeader}/components/Navbar.vue.d.ts +0 -0
- package/dist/types/components/{CobreSideMenu → organisms/CobreSideMenu}/CobreSideMenu.vue.d.ts +0 -0
- package/dist/types/components/{CobreSideMenu → organisms/CobreSideMenu}/components/SideMenuItem.vue.d.ts +2 -2
- /package/dist/types/components/{CobreSideMenu → organisms/CobreSideMenu}/interfaces/menu.interface.d.ts +0 -0
package/dist/types/components/{CobreRowTable → molecules/CobreRowTable}/CobreRowTable.vue.d.ts
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ref } from
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
2
|
export interface Column {
|
|
3
3
|
key: string;
|
|
4
4
|
width: number;
|
|
5
5
|
columnInfo?: string;
|
|
6
|
-
alignment?:
|
|
6
|
+
alignment?: 'start' | 'center' | 'end';
|
|
7
7
|
label?: string;
|
|
8
8
|
class?: string;
|
|
9
9
|
style?: string;
|
|
@@ -22,7 +22,7 @@ interface Props {
|
|
|
22
22
|
allowNavigation?: boolean;
|
|
23
23
|
emptyResultTitle?: string;
|
|
24
24
|
emptyResultMsg?: string;
|
|
25
|
-
emptyResultIcon?:
|
|
25
|
+
emptyResultIcon?: 'cards' | 'box' | 'error';
|
|
26
26
|
activeRowIndex?: number[];
|
|
27
27
|
height?: string;
|
|
28
28
|
hideHeaders?: boolean;
|
|
@@ -36,7 +36,7 @@ interface Props {
|
|
|
36
36
|
declare let __VLS_typeProps: Props;
|
|
37
37
|
declare const selectedRows: Ref<Item[]>;
|
|
38
38
|
type __VLS_PublicProps = {
|
|
39
|
-
|
|
39
|
+
'selectedRows'?: NonNullable<typeof selectedRows['value']>;
|
|
40
40
|
} & typeof __VLS_typeProps;
|
|
41
41
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
42
42
|
data: Item;
|
package/package.json
CHANGED
|
File without changes
|
package/dist/types/components/{CobreButtonMenu → atoms/CobreButtonMenu}/CobreButtonMenu.vue.d.ts
RENAMED
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
isEmptySlot: (items: any[]) => boolean;
|
|
19
|
-
theme: import("vue").Ref<"option" | "item" | "subitem">;
|
|
20
19
|
disabled: import("vue").Ref<boolean>;
|
|
20
|
+
theme: import("vue").Ref<"option" | "item" | "subitem">;
|
|
21
21
|
isSelectedItem: import("vue").Ref<boolean>;
|
|
22
22
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
theme: {
|
|
@@ -33,8 +33,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
35
|
}>>, {
|
|
36
|
-
theme: "option" | "item" | "subitem";
|
|
37
36
|
disabled: boolean;
|
|
37
|
+
theme: "option" | "item" | "subitem";
|
|
38
38
|
isSelectedItem: boolean;
|
|
39
39
|
}, {}>;
|
|
40
40
|
export default _default;
|
|
File without changes
|
package/dist/types/components/{CobreColumnTable → atoms/CobreColumnTable}/CobreColumnTable.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/components/{CobreCountryFlag → atoms/CobreCountryFlag}/CobreCountryFlag.vue.d.ts
RENAMED
|
File without changes
|
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
12
|
description: string;
|
|
13
13
|
icon: string;
|
|
14
14
|
}>>>, {
|
|
15
|
-
icon: "cards" | "box" | "error";
|
|
16
15
|
title: string;
|
|
17
16
|
description: string;
|
|
17
|
+
icon: "cards" | "box" | "error";
|
|
18
18
|
}, {}>;
|
|
19
19
|
export default _default;
|
|
20
20
|
type __VLS_WithDefaults<P, D> = {
|
package/dist/types/components/{CobreEmptyState → atoms/CobreEmptyState}/CobreEmptyState.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/components/{CobreInputLabel → atoms/CobreInputLabel}/CobreInputLabel.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/components/{CobreToastAlert → atoms/CobreToastAlert}/CobreToastAlert.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,8 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
22
22
|
}>>> & {
|
|
23
23
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
}, {
|
|
25
|
-
type: string;
|
|
26
25
|
text: string;
|
|
26
|
+
type: string;
|
|
27
27
|
hasCloseButton: boolean;
|
|
28
28
|
}, {}>;
|
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
16
|
}>>> & {
|
|
17
17
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
hasCloseButton: boolean;
|
|
20
19
|
isDisabled: boolean;
|
|
20
|
+
hasCloseButton: boolean;
|
|
21
21
|
}, {}>;
|
|
22
22
|
export default _default;
|
|
23
23
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -19,8 +19,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
}>>> & {
|
|
20
20
|
onCopy?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}, {
|
|
22
|
-
isLoading: boolean;
|
|
23
22
|
text: string;
|
|
23
|
+
isLoading: boolean;
|
|
24
24
|
copied: string;
|
|
25
25
|
hoverBehavior: boolean;
|
|
26
26
|
}, {}>;
|
|
File without changes
|
|
File without changes
|
package/dist/types/components/{CobreFieldLogo → molecules/CobreFieldLogo}/CobreFieldLogo.vue.d.ts
RENAMED
|
File without changes
|
|
@@ -41,14 +41,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
41
41
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
onOnComplete?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
isLoading: boolean;
|
|
45
44
|
title: string;
|
|
46
45
|
description: string;
|
|
46
|
+
isLoading: boolean;
|
|
47
|
+
errorMsg: string;
|
|
47
48
|
textCancelButton: string;
|
|
48
49
|
textSubmitButton: string;
|
|
49
50
|
hideIcon: boolean;
|
|
50
51
|
isInvalidOtp: boolean;
|
|
51
|
-
errorMsg: string;
|
|
52
52
|
}, {}>;
|
|
53
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
54
|
export default _default;
|
|
@@ -53,13 +53,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
53
53
|
}>>> & {
|
|
54
54
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
theme: "white" | "cloudy";
|
|
57
56
|
type: "alphanumeric" | "numeric" | "letters" | "anyCharacter" | "password" | "email";
|
|
57
|
+
theme: "white" | "cloudy";
|
|
58
58
|
isDisabled: boolean;
|
|
59
|
-
errorMsg: string;
|
|
60
59
|
isRequired: boolean;
|
|
61
60
|
minlength: string;
|
|
62
61
|
maxlength: string;
|
|
62
|
+
errorMsg: string;
|
|
63
63
|
labelOptional: string;
|
|
64
64
|
infoLabel: string | null;
|
|
65
65
|
iconInfoLabel: boolean;
|
package/dist/types/components/{CobreInputUrl → molecules/CobreInputUrl}/CobreInputUrl.vue.d.ts
RENAMED
|
@@ -47,10 +47,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
47
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
theme: "white" | "cloudy";
|
|
50
|
-
errorMsg: string;
|
|
51
50
|
isRequired: boolean;
|
|
52
51
|
minlength: string;
|
|
53
52
|
maxlength: string;
|
|
53
|
+
errorMsg: string;
|
|
54
54
|
labelOptional: string;
|
|
55
55
|
infoLabel: string | null;
|
|
56
56
|
iconInfoLabel: boolean;
|
package/dist/types/components/{CobreLogoField → molecules/CobreLogoField}/CobreLogoField.vue.d.ts
RENAMED
|
File without changes
|
|
@@ -22,8 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
22
22
|
}>>> & {
|
|
23
23
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
}, {
|
|
25
|
-
theme: "dark" | "light";
|
|
26
25
|
size: "xs" | "md" | "lg";
|
|
26
|
+
theme: "dark" | "light";
|
|
27
27
|
hasCloseButton: boolean;
|
|
28
28
|
}, {}>;
|
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
51
51
|
labelOptional: string;
|
|
52
52
|
options: never[];
|
|
53
53
|
}>>>, {
|
|
54
|
-
errorMsg: string;
|
|
55
54
|
isRequired: boolean;
|
|
55
|
+
errorMsg: string;
|
|
56
56
|
labelTooltip: string;
|
|
57
57
|
labelOptional: string;
|
|
58
58
|
}, {}>;
|
|
File without changes
|
package/dist/types/components/{CobreTextArea → molecules/CobreTextArea}/CobreTextArea.vue.d.ts
RENAMED
|
@@ -54,12 +54,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
54
54
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
theme: "white" | "cloudy";
|
|
57
|
-
isDisabled: boolean;
|
|
58
57
|
height: string;
|
|
59
|
-
|
|
58
|
+
isDisabled: boolean;
|
|
60
59
|
isRequired: boolean;
|
|
61
60
|
minlength: string;
|
|
62
61
|
maxlength: string;
|
|
62
|
+
errorMsg: string;
|
|
63
63
|
labelOptional: string;
|
|
64
64
|
infoLabel: string | null;
|
|
65
65
|
iconInfoLabel: boolean;
|
|
File without changes
|
|
File without changes
|
package/dist/types/components/{CobreHeader → organisms/CobreHeader}/components/Navbar.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/components/{CobreSideMenu → organisms/CobreSideMenu}/CobreSideMenu.vue.d.ts
RENAMED
|
File without changes
|
|
@@ -6,11 +6,11 @@ interface Props {
|
|
|
6
6
|
contextText?: string;
|
|
7
7
|
}
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
selectSubItem: (...args: any[]) => void;
|
|
10
9
|
selectItem: (...args: any[]) => void;
|
|
10
|
+
selectSubItem: (...args: any[]) => void;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
12
|
-
onSelectSubItem?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
onSelectItem?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onSelectSubItem?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
File without changes
|