@cregis/ui 0.0.4 → 0.1.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.
@@ -1,28 +0,0 @@
1
- import { Props } from './button';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLButtonElement;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- click: (...args: any[]) => void;
13
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
14
- onClick?: ((...args: any[]) => any) | undefined;
15
- }>, {
16
- size: "minimum" | "small" | "middle" | "large";
17
- type: "primary" | "cancel" | "failure" | "success" | "text" | "hollow" | "tint";
18
- loading: boolean;
19
- disabled: boolean;
20
- fit: boolean;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
- export default _default;
24
- type __VLS_WithTemplateSlots<T, S> = T & {
25
- new (): {
26
- $slots: S;
27
- };
28
- };
@@ -1,8 +0,0 @@
1
- export interface Props {
2
- loading?: boolean;
3
- disabled?: boolean;
4
- width?: string;
5
- size?: "minimum" | "small" | "middle" | "large";
6
- type?: "primary" | "cancel" | "failure" | "success" | "text" | "hollow" | "tint";
7
- fit?: boolean;
8
- }
@@ -1,7 +0,0 @@
1
- import { SFCWithInstall } from '../utils/install';
2
- import { default as Button } from './Button.vue';
3
- type ButtonInstance = InstanceType<typeof Button> & unknown;
4
- export * from './button';
5
- export declare const CgButton: SFCWithInstall<typeof Button>;
6
- export default CgButton;
7
- export type { ButtonInstance };
@@ -1,2 +0,0 @@
1
- export * from './button';
2
- export * from './icon';
@@ -1 +0,0 @@
1
- export * from './static';
@@ -1,2 +0,0 @@
1
- import { default as ButtonLoading } from './ButtonLoading.vue';
2
- export { ButtonLoading };
@@ -1,7 +0,0 @@
1
- interface Props {
2
- size?: string;
3
- }
4
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
5
- size: string;
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
7
- export default _default;
@@ -1 +0,0 @@
1
- export * from './ButtonLoading.vue';
@@ -1,10 +0,0 @@
1
- import { AppContext, Directive, Plugin } from 'vue';
2
- export type SFCWithInstall<T> = T & Plugin;
3
- export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
4
- _context: AppContext | null;
5
- };
6
- export declare const NOOP: () => void;
7
- export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
8
- export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
9
- export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
10
- export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;