@codeandfunction/callaloo 1.0.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/README.md +15 -0
- package/dist/components/A11yButton.vue.d.ts +38 -0
- package/dist/components/Badge.vue.d.ts +32 -0
- package/dist/components/Banner.vue.d.ts +42 -0
- package/dist/components/Button.vue.d.ts +74 -0
- package/dist/components/Card.vue.d.ts +69 -0
- package/dist/components/Carousel.vue.d.ts +45 -0
- package/dist/components/Checkbox.vue.d.ts +33 -0
- package/dist/components/Disclosure.vue.d.ts +65 -0
- package/dist/components/Heading.vue.d.ts +47 -0
- package/dist/components/Icon.vue.d.ts +31 -0
- package/dist/components/Input.vue.d.ts +42 -0
- package/dist/components/InputMessages.vue.d.ts +18 -0
- package/dist/components/Link.vue.d.ts +45 -0
- package/dist/components/NavLink.vue.d.ts +42 -0
- package/dist/components/NavSection.vue.d.ts +16 -0
- package/dist/components/Pill.vue.d.ts +33 -0
- package/dist/components/RadioButton.vue.d.ts +33 -0
- package/dist/components/Select.vue.d.ts +39 -0
- package/dist/components/Skeleton.vue.d.ts +36 -0
- package/dist/components/Spinner.vue.d.ts +42 -0
- package/dist/components/Table.vue.d.ts +55 -0
- package/dist/components/TableBody.vue.d.ts +11 -0
- package/dist/components/TableCell.vue.d.ts +54 -0
- package/dist/components/TableFooter.vue.d.ts +11 -0
- package/dist/components/TableHeader.vue.d.ts +11 -0
- package/dist/components/TableNestedCell.vue.d.ts +23 -0
- package/dist/components/TableRow.vue.d.ts +23 -0
- package/dist/components/Text.vue.d.ts +47 -0
- package/dist/components/TextArea.vue.d.ts +42 -0
- package/dist/components/Toast.vue.d.ts +36 -0
- package/dist/favicon.ico +0 -0
- package/dist/helper.d.ts +8 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +3203 -0
- package/dist/index.umd.cjs +2 -0
- package/dist/types.d.ts +240 -0
- package/package.json +67 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IconNames, PillThemes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
label: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
icon?: IconNames;
|
|
7
|
+
theme?: PillThemes;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
theme: Themes;
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
+
theme: Themes;
|
|
13
|
+
}>>>, {
|
|
14
|
+
theme: PillThemes;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { InputProps, Sizes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "pattern" | "prefix" | "width" | "autoComplete" | "floatingLabel" | "fluid" | "grouped" | "labelSize" | "maxLength" | "minLength" | "options" | "placeholder" | "readonly" | "resizable" | "rows" | "spellcheck" | "suffix">>, {
|
|
4
|
+
rounded: boolean;
|
|
5
|
+
size: Sizes;
|
|
6
|
+
theme: Themes;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "pattern" | "prefix" | "width" | "autoComplete" | "floatingLabel" | "fluid" | "grouped" | "labelSize" | "maxLength" | "minLength" | "options" | "placeholder" | "readonly" | "resizable" | "rows" | "spellcheck" | "suffix">>, {
|
|
8
|
+
rounded: boolean;
|
|
9
|
+
size: Sizes;
|
|
10
|
+
theme: Themes;
|
|
11
|
+
}>>>, {
|
|
12
|
+
rounded: boolean;
|
|
13
|
+
theme: Themes;
|
|
14
|
+
size: Sizes;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { InputProps, Sizes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "pattern" | "prefix" | "autoComplete" | "grouped" | "maxLength" | "minLength" | "placeholder" | "readonly" | "resizable" | "rows" | "spellcheck" | "suffix">>, {
|
|
4
|
+
rounded: boolean;
|
|
5
|
+
size: Sizes;
|
|
6
|
+
theme: Themes;
|
|
7
|
+
fluid: boolean;
|
|
8
|
+
width: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "pattern" | "prefix" | "autoComplete" | "grouped" | "maxLength" | "minLength" | "placeholder" | "readonly" | "resizable" | "rows" | "spellcheck" | "suffix">>, {
|
|
10
|
+
rounded: boolean;
|
|
11
|
+
size: Sizes;
|
|
12
|
+
theme: Themes;
|
|
13
|
+
fluid: boolean;
|
|
14
|
+
width: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
rounded: boolean;
|
|
17
|
+
theme: Themes;
|
|
18
|
+
size: Sizes;
|
|
19
|
+
width: string;
|
|
20
|
+
fluid: boolean;
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
width?: string;
|
|
3
|
+
height?: string;
|
|
4
|
+
rounded?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
width: string;
|
|
8
|
+
height: string;
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
rounded: boolean;
|
|
14
|
+
}>>>, {
|
|
15
|
+
rounded: boolean;
|
|
16
|
+
width: string;
|
|
17
|
+
height: string;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Align, Position, SpinnerThemes, Sizes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
theme?: SpinnerThemes;
|
|
5
|
+
size?: Sizes;
|
|
6
|
+
align?: Align;
|
|
7
|
+
position?: Position;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
theme: Themes;
|
|
11
|
+
size: Sizes;
|
|
12
|
+
align: Align;
|
|
13
|
+
position: Position;
|
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
theme: Themes;
|
|
16
|
+
size: Sizes;
|
|
17
|
+
align: Align;
|
|
18
|
+
position: Position;
|
|
19
|
+
}>>>, {
|
|
20
|
+
theme: SpinnerThemes;
|
|
21
|
+
size: Sizes;
|
|
22
|
+
align: Align;
|
|
23
|
+
position: Position;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { TableTypes } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
id?: string;
|
|
5
|
+
type?: TableTypes;
|
|
6
|
+
striped?: boolean;
|
|
7
|
+
withVerticalLines?: boolean;
|
|
8
|
+
bordered?: boolean;
|
|
9
|
+
colWidths?: string[];
|
|
10
|
+
rowHeight?: string;
|
|
11
|
+
rounded?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
17
|
+
id: string;
|
|
18
|
+
type: TableTypes;
|
|
19
|
+
rounded: boolean;
|
|
20
|
+
rowHeight: string;
|
|
21
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
|
+
id: string;
|
|
23
|
+
type: TableTypes;
|
|
24
|
+
rounded: boolean;
|
|
25
|
+
rowHeight: string;
|
|
26
|
+
}>>>, {
|
|
27
|
+
rounded: boolean;
|
|
28
|
+
type: TableTypes;
|
|
29
|
+
id: string;
|
|
30
|
+
rowHeight: string;
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
isHeader?: boolean;
|
|
3
|
+
isNumber?: boolean;
|
|
4
|
+
isAction?: boolean;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
colSpan?: number;
|
|
7
|
+
onClick?: (event?: Event) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
13
|
+
isHeader: boolean;
|
|
14
|
+
isNumber: boolean;
|
|
15
|
+
isAction: boolean;
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
colSpan: number;
|
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
+
isHeader: boolean;
|
|
20
|
+
isNumber: boolean;
|
|
21
|
+
isAction: boolean;
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
colSpan: number;
|
|
24
|
+
}>>>, {
|
|
25
|
+
isHeader: boolean;
|
|
26
|
+
isNumber: boolean;
|
|
27
|
+
isAction: boolean;
|
|
28
|
+
isActive: boolean;
|
|
29
|
+
colSpan: number;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
truncate?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
onClick?: (event?: Event) => void;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { TextThemes, TextTypes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
type?: TextTypes;
|
|
5
|
+
theme?: TextThemes;
|
|
6
|
+
truncate?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
+
type: TextTypes;
|
|
13
|
+
theme: Themes;
|
|
14
|
+
truncate: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
type: TextTypes;
|
|
17
|
+
theme: Themes;
|
|
18
|
+
truncate: boolean;
|
|
19
|
+
}>>>, {
|
|
20
|
+
type: TextTypes;
|
|
21
|
+
theme: TextThemes;
|
|
22
|
+
truncate: boolean;
|
|
23
|
+
}, {}>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { InputProps, Sizes, Themes } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "type" | "prefix" | "grouped" | "options" | "suffix" | "checked" | "pill">>, {
|
|
4
|
+
rounded: boolean;
|
|
5
|
+
size: Sizes;
|
|
6
|
+
theme: Themes;
|
|
7
|
+
resizable: boolean;
|
|
8
|
+
fluid: boolean;
|
|
9
|
+
width: string;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<InputProps, "type" | "prefix" | "grouped" | "options" | "suffix" | "checked" | "pill">>, {
|
|
11
|
+
rounded: boolean;
|
|
12
|
+
size: Sizes;
|
|
13
|
+
theme: Themes;
|
|
14
|
+
resizable: boolean;
|
|
15
|
+
fluid: boolean;
|
|
16
|
+
width: string;
|
|
17
|
+
}>>>, {
|
|
18
|
+
rounded: boolean;
|
|
19
|
+
theme: Themes;
|
|
20
|
+
size: Sizes;
|
|
21
|
+
width: string;
|
|
22
|
+
fluid: boolean;
|
|
23
|
+
resizable: boolean;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Sizes, ToastProps } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastProps>, {
|
|
4
|
+
dismissTimer: number;
|
|
5
|
+
width: string;
|
|
6
|
+
rounded: boolean;
|
|
7
|
+
iconSize: Sizes;
|
|
8
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastProps>, {
|
|
9
|
+
dismissTimer: number;
|
|
10
|
+
width: string;
|
|
11
|
+
rounded: boolean;
|
|
12
|
+
iconSize: Sizes;
|
|
13
|
+
}>>>, {
|
|
14
|
+
rounded: boolean;
|
|
15
|
+
width: string;
|
|
16
|
+
iconSize: Sizes;
|
|
17
|
+
dismissTimer: number;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/helper.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface IAnimate {
|
|
2
|
+
start: (duration: number, callbackFn: (elapsedTime: number) => void) => void;
|
|
3
|
+
stop: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const animate: () => IAnimate;
|
|
6
|
+
export declare const getMaxZIndex: () => number;
|
|
7
|
+
export declare const hasSlotContent: (slots: any, slotName: string, component: string) => boolean;
|
|
8
|
+
export declare const debounce: (fn: () => void, ms?: number) => (this: any, ...args: any | any[]) => void;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { Align as CLAlign, ButtonTypes as CLButtonTypes, CardTypes as CLCardTypes, DarkMode as CLDarkMode, HeadingTypes as CLHeadingTypes, IconNames as CLIconNames, InputTypes as CLInputTypes, LinkTarget as CLLinkTarget, Position as CLPosition, Sizes as CLSizes, TableTypes as CLTableTypes, TextTypes as CLTextTypes, Themes as CLThemes, } from './types';
|
|
2
|
+
export type { BannerProps as CLBannerProps, CardProps as CLCardProps, InputProps as CLInputProps, NavItem as CLNavItem, Option as CLOption, ToastProps as CLToastProps, } from './types';
|
|
3
|
+
export { default as CLA11yButton } from './components/A11yButton.vue';
|
|
4
|
+
export { default as CLBadge } from './components/Badge.vue';
|
|
5
|
+
export { default as CLBanner } from './components/Banner.vue';
|
|
6
|
+
export { default as CLButton } from './components/Button.vue';
|
|
7
|
+
export { default as CLCard } from './components/Card.vue';
|
|
8
|
+
export { default as CLCarousel } from './components/Carousel.vue';
|
|
9
|
+
export { default as CLCheckbox } from './components/Checkbox.vue';
|
|
10
|
+
export { default as CLDisclosure } from './components/Disclosure.vue';
|
|
11
|
+
export { default as CLHeading } from './components/Heading.vue';
|
|
12
|
+
export { default as CLIcon } from './components/Icon.vue';
|
|
13
|
+
export { default as CLInput } from './components/Input.vue';
|
|
14
|
+
export { default as CLLink } from './components/Link.vue';
|
|
15
|
+
export { default as CLNavLink } from './components/NavLink.vue';
|
|
16
|
+
export { default as CLNavSection } from './components/NavSection.vue';
|
|
17
|
+
export { default as CLPill } from './components/Pill.vue';
|
|
18
|
+
export { default as CLRadioButton } from './components/RadioButton.vue';
|
|
19
|
+
export { default as CLSelect } from './components/Select.vue';
|
|
20
|
+
export { default as CLSkeleton } from './components/Skeleton.vue';
|
|
21
|
+
export { default as CLSpinner } from './components/Spinner.vue';
|
|
22
|
+
export { default as CLTable } from './components/Table.vue';
|
|
23
|
+
export { default as CLTableBody } from './components/TableBody.vue';
|
|
24
|
+
export { default as CLTableCell } from './components/TableCell.vue';
|
|
25
|
+
export { default as CLTableFooter } from './components/TableFooter.vue';
|
|
26
|
+
export { default as CLTableHeader } from './components/TableHeader.vue';
|
|
27
|
+
export { default as CLTableNestedCell } from './components/TableNestedCell.vue';
|
|
28
|
+
export { default as CLTableRow } from './components/TableRow.vue';
|
|
29
|
+
export { default as CLText } from './components/Text.vue';
|
|
30
|
+
export { default as CLTextArea } from './components/TextArea.vue';
|
|
31
|
+
export { default as CLToast } from './components/Toast.vue';
|