@cobre-npm/ds-v3 0.122.0 → 0.124.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 +3907 -3809
- package/dist/style.css +1 -1
- package/dist/tokens/_components.scss +9 -0
- package/dist/types/components/atoms/CobreButton/CobreButton.vue.d.ts +11 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/molecules/CobreTourTooltip/CobreTourTooltip.vue.d.ts +27 -0
- package/dist/types/types/button.types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -481,6 +481,15 @@
|
|
|
481
481
|
--cobre-btn-v3-ghost-warning-disabled-color: var(--cobre-red-40);
|
|
482
482
|
--cobre-btn-v3-ghost-warning-disabled-border: none;
|
|
483
483
|
|
|
484
|
+
// Ghost Light
|
|
485
|
+
--cobre-btn-v3-ghost-light-color: var(--cobre-white);
|
|
486
|
+
--cobre-btn-v3-ghost-light-hover-color: var(--cobre-primary-20);
|
|
487
|
+
--cobre-btn-v3-ghost-light-active-color: var(--cobre-primary-40);
|
|
488
|
+
--cobre-btn-v3-ghost-light-focus-color: var(--cobre-primary-5);
|
|
489
|
+
--cobre-btn-v3-ghost-light-focus-border: var(--cobre-border-stroke-L) solid var(--cobre-secondary-50);
|
|
490
|
+
--cobre-btn-v3-ghost-light-focus-box-shadow: 0 0 0 0.25rem var(--cobre-primary-50);
|
|
491
|
+
--cobre-btn-v3-ghost-light-disabled-color: var(--cobre-primary-60);
|
|
492
|
+
|
|
484
493
|
// Link
|
|
485
494
|
--cobre-btn-v3-link-bg: transparent;
|
|
486
495
|
--cobre-btn-v3-link-color: var(--cobre-secondary-50);
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { ButtonThemes } from '../../../types/button.types';
|
|
1
|
+
import { ButtonThemes, ButtonColors } from '../../../types/button.types';
|
|
2
2
|
type Sizes = 'big' | 'medium' | 'small' | 'auto';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
theme: {
|
|
5
5
|
type: () => ButtonThemes;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
color: {
|
|
9
|
+
type: () => ButtonColors;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
size: {
|
|
9
13
|
type: () => Sizes;
|
|
10
14
|
default: string;
|
|
@@ -34,6 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
38
|
size: import("vue").Ref<Sizes, Sizes>;
|
|
35
39
|
label: import("vue").Ref<string, string>;
|
|
36
40
|
theme: import("vue").Ref<ButtonThemes, ButtonThemes>;
|
|
41
|
+
color: import("vue").Ref<ButtonColors, ButtonColors>;
|
|
37
42
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
38
43
|
isInline: import("vue").Ref<boolean, boolean>;
|
|
39
44
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -41,6 +46,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
46
|
type: () => ButtonThemes;
|
|
42
47
|
default: string;
|
|
43
48
|
};
|
|
49
|
+
color: {
|
|
50
|
+
type: () => ButtonColors;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
44
53
|
size: {
|
|
45
54
|
type: () => Sizes;
|
|
46
55
|
default: string;
|
|
@@ -66,6 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
75
|
size: Sizes;
|
|
67
76
|
label: string;
|
|
68
77
|
theme: ButtonThemes;
|
|
78
|
+
color: ButtonColors;
|
|
69
79
|
isLoading: boolean;
|
|
70
80
|
isInline: boolean;
|
|
71
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -60,6 +60,8 @@ 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 CobreTourTooltip } from './molecules/CobreTourTooltip/CobreTourTooltip.vue';
|
|
64
|
+
export type { TourStep } from './molecules/CobreTourTooltip/CobreTourTooltip.vue';
|
|
63
65
|
export { default as CobreAccountOptionSelect } from './molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
|
|
64
66
|
export type { CobreSelectableItem } from './molecules/CobreAccountOptionSelect/CobreAccountOptionSelect.vue';
|
|
65
67
|
export { default as CobreMultiOptionsFilter } from './molecules/CobreMultiOptionsFilter/CobreMultiOptionsFilter.vue';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface TourStep {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
targetId?: string;
|
|
5
|
+
arrowSide?: 'right' | 'left' | 'top' | 'bottom';
|
|
6
|
+
offsetY?: number;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
steps: TourStep[];
|
|
10
|
+
prevLabel?: string;
|
|
11
|
+
nextLabel?: string;
|
|
12
|
+
finishLabel?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
navigate: (from: number, to: number) => any;
|
|
16
|
+
dismiss: (stepIndex: number) => any;
|
|
17
|
+
finish: () => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onNavigate?: ((from: number, to: number) => any) | undefined;
|
|
20
|
+
onDismiss?: ((stepIndex: number) => any) | undefined;
|
|
21
|
+
onFinish?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
prevLabel: string;
|
|
24
|
+
nextLabel: string;
|
|
25
|
+
finishLabel: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export type ButtonThemes = 'primary' | 'secondary' | 'ghost' | 'ghost-small' | 'ghost-teal' | 'ghost-warning' | 'link' | 'single' | 'filter' | 'secondary-cloudy' | 'secondary-cloudy-warning' | 'icon' | 'icon-cloudy' | 'toolbar' | 'primary-warning' | 'chip';
|
|
2
|
+
export type ButtonColors = 'default' | 'light';
|