@gyyxds/zy-ui 0.0.1 → 0.0.2

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +23 -19
  2. package/CONTRIBUTING.md +102 -99
  3. package/README.md +371 -162
  4. package/dist/zy-ui/badge/ZyBadge.vue.d.ts +4 -4
  5. package/dist/zy-ui/badge/index.d.ts +6 -6
  6. package/dist/zy-ui/button/ZyButton.vue.d.ts +3 -3
  7. package/dist/zy-ui/button/index.d.ts +9 -9
  8. package/dist/zy-ui/card/ZyCard.vue.d.ts +1 -1
  9. package/dist/zy-ui/card/index.d.ts +3 -3
  10. package/dist/zy-ui/checkbox/ZyCheckboxGroup.vue.d.ts +1 -1
  11. package/dist/zy-ui/checkbox/index.d.ts +3 -3
  12. package/dist/zy-ui/code-input/ZyCodeInput.vue.d.ts +2 -2
  13. package/dist/zy-ui/code-input/index.d.ts +2 -2
  14. package/dist/zy-ui/divider/ZyDivider.vue.d.ts +1 -1
  15. package/dist/zy-ui/divider/index.d.ts +3 -3
  16. package/dist/zy-ui/icon/ZyIcon.vue.d.ts +1 -1
  17. package/dist/zy-ui/icon/index.d.ts +1 -1
  18. package/dist/zy-ui/index.d.ts +46 -46
  19. package/dist/zy-ui/input/ZyInput.vue.d.ts +3 -3
  20. package/dist/zy-ui/input/index.d.ts +3 -3
  21. package/dist/zy-ui/loading/ZyLoading.vue.d.ts +1 -1
  22. package/dist/zy-ui/loading/index.d.ts +1 -1
  23. package/dist/zy-ui/mega-menu/ZyMegaMenu.vue.d.ts +4 -4
  24. package/dist/zy-ui/progress/ZyProgress.vue.d.ts +1 -1
  25. package/dist/zy-ui/progress/index.d.ts +3 -3
  26. package/dist/zy-ui/radio/ZyRadioGroup.vue.d.ts +3 -3
  27. package/dist/zy-ui/select/ZySelect.vue.d.ts +1 -1
  28. package/dist/zy-ui/select/index.d.ts +3 -3
  29. package/dist/zy-ui/space/ZySpace.vue.d.ts +1 -1
  30. package/dist/zy-ui/space/index.d.ts +3 -3
  31. package/dist/zy-ui/table/ZyTable.vue.d.ts +3 -3
  32. package/dist/zy-ui/tag/ZyTag.vue.d.ts +2 -2
  33. package/dist/zy-ui/tag/index.d.ts +6 -6
  34. package/dist/zy-ui/themes/basic.css +832 -832
  35. package/dist/zy-ui/themes/material.css +37 -37
  36. package/dist/zy-ui/tree/ZyTree.vue.d.ts +2 -2
  37. package/dist/zy-ui/zy-ui.css +1 -1
  38. package/dist/zy-ui/zy-ui.js +66 -41
  39. package/package.json +83 -82
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
9
9
  [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
- type: "circle" | "line" | "dashboard";
12
+ type: "line" | "circle" | "dashboard";
13
13
  percentage: number;
14
14
  strokeWidth: number;
15
15
  showText: boolean;
@@ -5,7 +5,7 @@ export declare const ZyProgress: import("../utils/withInstall").SFCWithInstall<{
5
5
  strokeWidth?: number;
6
6
  showText?: boolean;
7
7
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
8
- type: "circle" | "line" | "dashboard";
8
+ type: "line" | "circle" | "dashboard";
9
9
  percentage: number;
10
10
  strokeWidth: number;
11
11
  showText: boolean;
@@ -22,7 +22,7 @@ export declare const ZyProgress: import("../utils/withInstall").SFCWithInstall<{
22
22
  strokeWidth?: number;
23
23
  showText?: boolean;
24
24
  }> & Readonly<{}>, {}, {}, {}, {}, {
25
- type: "circle" | "line" | "dashboard";
25
+ type: "line" | "circle" | "dashboard";
26
26
  percentage: number;
27
27
  strokeWidth: number;
28
28
  showText: boolean;
@@ -36,7 +36,7 @@ export declare const ZyProgress: import("../utils/withInstall").SFCWithInstall<{
36
36
  strokeWidth?: number;
37
37
  showText?: boolean;
38
38
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
39
- type: "circle" | "line" | "dashboard";
39
+ type: "line" | "circle" | "dashboard";
40
40
  percentage: number;
41
41
  strokeWidth: number;
42
42
  showText: boolean;
@@ -9,11 +9,11 @@ type __VLS_ModelProps = {
9
9
  modelValue?: string | number | undefined;
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
12
+ declare var __VLS_11: string, __VLS_12: any, __VLS_14: {};
13
13
  type __VLS_Slots = {} & {
14
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
14
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
15
15
  } & {
16
- default?: (props: typeof __VLS_13) => any;
16
+ default?: (props: typeof __VLS_14) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: string | number | undefined) => any;
@@ -23,7 +23,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
23
23
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
24
  "onUpdate:modelValue"?: ((value: string | number | (string | number)[] | undefined) => any) | undefined;
25
25
  }>, {
26
- size: "default" | "small" | "large";
26
+ size: "large" | "default" | "small";
27
27
  effect: "focus" | "underline" | "gradient";
28
28
  disabled: boolean;
29
29
  placeholder: string;
@@ -13,7 +13,7 @@ export declare const ZySelect: import("../utils/withInstall").SFCWithInstall<{
13
13
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string | number | (string | number)[] | undefined) => any;
15
15
  }, import("vue").PublicProps, {
16
- size: "default" | "small" | "large";
16
+ size: "large" | "default" | "small";
17
17
  effect: "focus" | "underline" | "gradient";
18
18
  disabled: boolean;
19
19
  placeholder: string;
@@ -38,7 +38,7 @@ export declare const ZySelect: import("../utils/withInstall").SFCWithInstall<{
38
38
  }> & Readonly<{
39
39
  "onUpdate:modelValue"?: ((value: string | number | (string | number)[] | undefined) => any) | undefined;
40
40
  }>, {}, {}, {}, {}, {
41
- size: "default" | "small" | "large";
41
+ size: "large" | "default" | "small";
42
42
  effect: "focus" | "underline" | "gradient";
43
43
  disabled: boolean;
44
44
  placeholder: string;
@@ -62,7 +62,7 @@ export declare const ZySelect: import("../utils/withInstall").SFCWithInstall<{
62
62
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
63
  "update:modelValue": (value: string | number | (string | number)[] | undefined) => any;
64
64
  }, string, {
65
- size: "default" | "small" | "large";
65
+ size: "large" | "default" | "small";
66
66
  effect: "focus" | "underline" | "gradient";
67
67
  disabled: boolean;
68
68
  placeholder: string;
@@ -11,7 +11,7 @@ type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_13) => any;
12
12
  };
13
13
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
- size: number | "" | "default" | "small" | "large";
14
+ size: "" | "small" | "default" | "large" | number;
15
15
  direction: "horizontal" | "vertical";
16
16
  wrap: boolean;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,7 @@ export declare const ZySpace: import("../utils/withInstall").SFCWithInstall<{
4
4
  direction?: "horizontal" | "vertical";
5
5
  wrap?: boolean;
6
6
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
7
- size: number | "" | "default" | "small" | "large";
7
+ size: "" | "small" | "default" | "large" | number;
8
8
  direction: "horizontal" | "vertical";
9
9
  wrap: boolean;
10
10
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -19,7 +19,7 @@ export declare const ZySpace: import("../utils/withInstall").SFCWithInstall<{
19
19
  direction?: "horizontal" | "vertical";
20
20
  wrap?: boolean;
21
21
  }> & Readonly<{}>, {}, {}, {}, {}, {
22
- size: number | "" | "default" | "small" | "large";
22
+ size: "" | "small" | "default" | "large" | number;
23
23
  direction: "horizontal" | "vertical";
24
24
  wrap: boolean;
25
25
  }>;
@@ -31,7 +31,7 @@ export declare const ZySpace: import("../utils/withInstall").SFCWithInstall<{
31
31
  direction?: "horizontal" | "vertical";
32
32
  wrap?: boolean;
33
33
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
34
- size: number | "" | "default" | "small" | "large";
34
+ size: "" | "small" | "default" | "large" | number;
35
35
  direction: "horizontal" | "vertical";
36
36
  wrap: boolean;
37
37
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -2,11 +2,11 @@ type __VLS_Props = {
2
2
  /** 边框形态:all(默认)台账式全网格,列之间有分隔线 / row 只有行线,去列分隔线与左右外沿 */
3
3
  lines?: 'all' | 'row';
4
4
  };
5
- declare var __VLS_10: string, __VLS_11: any, __VLS_13: {};
5
+ declare var __VLS_9: string, __VLS_10: any, __VLS_12: {};
6
6
  type __VLS_Slots = {} & {
7
- [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
7
+ [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
8
8
  } & {
9
- default?: (props: typeof __VLS_13) => any;
9
+ default?: (props: typeof __VLS_12) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
12
  lines: "all" | "row";
@@ -14,8 +14,8 @@ type __VLS_Slots = {} & {
14
14
  default?: (props: typeof __VLS_15) => any;
15
15
  };
16
16
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
- type: "success" | "warning" | "info" | "primary" | "danger";
18
- effect: "fill" | "light" | "dark" | "plain";
17
+ type: "primary" | "success" | "warning" | "danger" | "info";
18
+ effect: "dark" | "light" | "plain" | "fill";
19
19
  round: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -4,8 +4,8 @@ export declare const ZyTag: import("../utils/withInstall").SFCWithInstall<{
4
4
  effect?: "dark" | "light" | "plain" | "fill";
5
5
  round?: boolean;
6
6
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
7
- type: "success" | "warning" | "info" | "primary" | "danger";
8
- effect: "fill" | "light" | "dark" | "plain";
7
+ type: "primary" | "success" | "warning" | "danger" | "info";
8
+ effect: "dark" | "light" | "plain" | "fill";
9
9
  round: boolean;
10
10
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
11
11
  P: {};
@@ -19,8 +19,8 @@ export declare const ZyTag: import("../utils/withInstall").SFCWithInstall<{
19
19
  effect?: "dark" | "light" | "plain" | "fill";
20
20
  round?: boolean;
21
21
  }> & Readonly<{}>, {}, {}, {}, {}, {
22
- type: "success" | "warning" | "info" | "primary" | "danger";
23
- effect: "fill" | "light" | "dark" | "plain";
22
+ type: "primary" | "success" | "warning" | "danger" | "info";
23
+ effect: "dark" | "light" | "plain" | "fill";
24
24
  round: boolean;
25
25
  }>;
26
26
  __isFragment?: never;
@@ -31,8 +31,8 @@ export declare const ZyTag: import("../utils/withInstall").SFCWithInstall<{
31
31
  effect?: "dark" | "light" | "plain" | "fill";
32
32
  round?: boolean;
33
33
  }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
34
- type: "success" | "warning" | "info" | "primary" | "danger";
35
- effect: "fill" | "light" | "dark" | "plain";
34
+ type: "primary" | "success" | "warning" | "danger" | "info";
35
+ effect: "dark" | "light" | "plain" | "fill";
36
36
  round: boolean;
37
37
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
38
38
  $slots: {