cleek 2.11.0 → 2.11.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.
- package/dist/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +1165 -1088
- package/dist/types/cleek-options/cleek-options.types.d.ts +1 -1
- package/dist/types/components/ck-dropdown-button.vue.d.ts +76 -0
- package/dist/types/components/ck-input.vue.d.ts +6 -0
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export type IconPack = 'font-awesome' | 'feather' | 'cleek';
|
|
|
6
6
|
export type Lang = 'es' | 'en';
|
|
7
7
|
export type Layout = 'base' | 'rounded' | 'squared';
|
|
8
8
|
export type ButtonType = 'filled' | 'outlined' | 'flat';
|
|
9
|
-
export type ChipType = 'filled' | '
|
|
9
|
+
export type ChipType = 'outlined' | 'filled' | 'shadow';
|
|
10
10
|
export type WidthBreaks = [number, string][];
|
|
11
11
|
export type InputType = 'text' | 'number' | 'date' | 'time' | 'password';
|
|
12
12
|
export type Size = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Align, AlignVertical, Color, Icon, IconPack, Layout, ButtonType, WidthBreaks } from '../cleek-options/cleek-options.types';
|
|
2
|
+
|
|
3
|
+
export interface ExtraAction {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
title?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
tabindex?: number;
|
|
15
|
+
extraActions: ExtraAction[];
|
|
16
|
+
type?: ButtonType;
|
|
17
|
+
color?: Color;
|
|
18
|
+
textColor?: Color;
|
|
19
|
+
backgroundColor?: Color;
|
|
20
|
+
align?: Align;
|
|
21
|
+
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
22
|
+
width?: string;
|
|
23
|
+
layout?: Layout;
|
|
24
|
+
icon?: Icon;
|
|
25
|
+
iconRight?: Icon;
|
|
26
|
+
iconPack?: IconPack;
|
|
27
|
+
label?: string;
|
|
28
|
+
labelAlign?: Align;
|
|
29
|
+
widthBreaks?: WidthBreaks;
|
|
30
|
+
group?: Align;
|
|
31
|
+
groupVertical?: AlignVertical;
|
|
32
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
click: (event: Event) => void;
|
|
34
|
+
extraAction: (actionId: number) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
36
|
+
title?: string;
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
isLoading?: boolean;
|
|
39
|
+
tabindex?: number;
|
|
40
|
+
extraActions: ExtraAction[];
|
|
41
|
+
type?: ButtonType;
|
|
42
|
+
color?: Color;
|
|
43
|
+
textColor?: Color;
|
|
44
|
+
backgroundColor?: Color;
|
|
45
|
+
align?: Align;
|
|
46
|
+
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
47
|
+
width?: string;
|
|
48
|
+
layout?: Layout;
|
|
49
|
+
icon?: Icon;
|
|
50
|
+
iconRight?: Icon;
|
|
51
|
+
iconPack?: IconPack;
|
|
52
|
+
label?: string;
|
|
53
|
+
labelAlign?: Align;
|
|
54
|
+
widthBreaks?: WidthBreaks;
|
|
55
|
+
group?: Align;
|
|
56
|
+
groupVertical?: AlignVertical;
|
|
57
|
+
}>>> & Readonly<{
|
|
58
|
+
onClick?: (event: Event) => any;
|
|
59
|
+
onExtraAction?: (actionId: number) => any;
|
|
60
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -58,6 +58,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
58
58
|
max: {
|
|
59
59
|
type: import('vue').PropType<number>;
|
|
60
60
|
};
|
|
61
|
+
tabindex: {
|
|
62
|
+
type: import('vue').PropType<string | number>;
|
|
63
|
+
};
|
|
61
64
|
align: {
|
|
62
65
|
type: import('vue').PropType<Align>;
|
|
63
66
|
};
|
|
@@ -173,6 +176,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
176
|
max: {
|
|
174
177
|
type: import('vue').PropType<number>;
|
|
175
178
|
};
|
|
179
|
+
tabindex: {
|
|
180
|
+
type: import('vue').PropType<string | number>;
|
|
181
|
+
};
|
|
176
182
|
align: {
|
|
177
183
|
type: import('vue').PropType<Align>;
|
|
178
184
|
};
|
|
@@ -14,6 +14,7 @@ export { default as CkTabs } from './ck-tabs/ck-tabs.vue';
|
|
|
14
14
|
export { default as CkToggle } from './ck-toggle/ck-toggle.vue';
|
|
15
15
|
export { default as CkToggleGroup } from './ck-toggle-group/ck-toggle-group.vue';
|
|
16
16
|
export { default as CkButton } from './ck-button.vue';
|
|
17
|
+
export { default as CkDropdownButton } from './ck-dropdown-button.vue';
|
|
17
18
|
export { default as CkCard } from './ck-card.vue';
|
|
18
19
|
export { default as CkCheckbox } from './ck-checkbox.vue';
|
|
19
20
|
export { default as CkChip } from './ck-chip.vue';
|