kui-vue 4.0.2 → 4.0.3
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/components/anchor/demo/basic.md +29 -16
- package/components/anchor/demo/nestedAnchors.md +8 -8
- package/components/anchor/demo/withinContainer.md +7 -7
- package/components/menu/styles/index.less +4 -0
- package/components/select/select.jsx +3 -3
- package/components/treeselect/treeselect.jsx +3 -3
- package/components/utils/theme.js +31 -33
- package/dist/k-ui.cjs.js +2 -2
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.d.ts +44 -44
- package/dist/k-ui.esm.js +2 -2
- package/dist/k-ui.umd.js +2 -2
- package/dist/locale/de.js +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/zh-CN.js +1 -1
- package/dist/locale/zh-TW.js +1 -1
- package/package.json +8 -8
- package/types/index.d.ts +6 -6
package/dist/k-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v4.0.
|
|
2
|
+
* kui-vue v4.0.3
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://k-ui.cn
|
|
@@ -20,6 +20,22 @@ interface AffixProps {
|
|
|
20
20
|
/** Affix Vue 3 component */
|
|
21
21
|
declare const Affix: DefineComponent<AffixProps, {}, any>;
|
|
22
22
|
|
|
23
|
+
/** Alert component props */
|
|
24
|
+
interface AlertProps {
|
|
25
|
+
/** default: warning */
|
|
26
|
+
type?: string;
|
|
27
|
+
closable?: boolean;
|
|
28
|
+
/** default: true */
|
|
29
|
+
showIcon?: boolean;
|
|
30
|
+
icon?: string | Record<string, any> | any[];
|
|
31
|
+
message?: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
bordered?: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Alert Vue 3 component */
|
|
37
|
+
declare const Alert: DefineComponent<AlertProps, {}, any>;
|
|
38
|
+
|
|
23
39
|
/** BackTop component props */
|
|
24
40
|
interface BackTopProps {
|
|
25
41
|
/** default: 100 */
|
|
@@ -56,6 +72,21 @@ interface AnchorLinkProps {
|
|
|
56
72
|
/** AnchorLink Vue 3 component */
|
|
57
73
|
declare const AnchorLink: DefineComponent<AnchorLinkProps, {}, any>;
|
|
58
74
|
|
|
75
|
+
/** Badge component props */
|
|
76
|
+
interface BadgeProps {
|
|
77
|
+
count?: string | number;
|
|
78
|
+
dot?: boolean;
|
|
79
|
+
color?: string;
|
|
80
|
+
/** default: default */
|
|
81
|
+
status?: string;
|
|
82
|
+
text?: string;
|
|
83
|
+
/** default: 99 */
|
|
84
|
+
maxCount?: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Badge Vue 3 component */
|
|
88
|
+
declare const Badge: DefineComponent<BadgeProps, {}, any>;
|
|
89
|
+
|
|
59
90
|
/** Avatar component props */
|
|
60
91
|
interface AvatarProps {
|
|
61
92
|
icon?: string | any[];
|
|
@@ -78,37 +109,6 @@ interface AvatarGroupProps {
|
|
|
78
109
|
/** AvatarGroup Vue 3 component */
|
|
79
110
|
declare const AvatarGroup: DefineComponent<AvatarGroupProps, {}, any>;
|
|
80
111
|
|
|
81
|
-
/** Badge component props */
|
|
82
|
-
interface BadgeProps {
|
|
83
|
-
count?: string | number;
|
|
84
|
-
dot?: boolean;
|
|
85
|
-
color?: string;
|
|
86
|
-
/** default: default */
|
|
87
|
-
status?: string;
|
|
88
|
-
text?: string;
|
|
89
|
-
/** default: 99 */
|
|
90
|
-
maxCount?: number;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/** Badge Vue 3 component */
|
|
94
|
-
declare const Badge: DefineComponent<BadgeProps, {}, any>;
|
|
95
|
-
|
|
96
|
-
/** Alert component props */
|
|
97
|
-
interface AlertProps {
|
|
98
|
-
/** default: warning */
|
|
99
|
-
type?: string;
|
|
100
|
-
closable?: boolean;
|
|
101
|
-
/** default: true */
|
|
102
|
-
showIcon?: boolean;
|
|
103
|
-
icon?: string | Record<string, any> | any[];
|
|
104
|
-
message?: string;
|
|
105
|
-
description?: string;
|
|
106
|
-
bordered?: boolean;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/** Alert Vue 3 component */
|
|
110
|
-
declare const Alert: DefineComponent<AlertProps, {}, any>;
|
|
111
|
-
|
|
112
112
|
/** Breadcrumb component props */
|
|
113
113
|
interface BreadcrumbProps {
|
|
114
114
|
/** default: / */
|
|
@@ -476,6 +476,18 @@ interface formitemProps {
|
|
|
476
476
|
/** formitem Vue 3 component */
|
|
477
477
|
declare const formitem: DefineComponent<formitemProps, {}, any>;
|
|
478
478
|
|
|
479
|
+
/** Icon component props */
|
|
480
|
+
interface IconProps {
|
|
481
|
+
type?: string | any[];
|
|
482
|
+
size?: string | number;
|
|
483
|
+
color?: string;
|
|
484
|
+
spin?: boolean;
|
|
485
|
+
strokeWidth?: string | number;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/** Icon Vue 3 component */
|
|
489
|
+
declare const Icon: DefineComponent<IconProps, {}, any>;
|
|
490
|
+
|
|
479
491
|
/** Grid component props */
|
|
480
492
|
interface GridProps {
|
|
481
493
|
/** default: 24 */
|
|
@@ -512,18 +524,6 @@ interface GridItemProps {
|
|
|
512
524
|
/** GridItem Vue 3 component */
|
|
513
525
|
declare const GridItem: DefineComponent<GridItemProps, {}, any>;
|
|
514
526
|
|
|
515
|
-
/** Icon component props */
|
|
516
|
-
interface IconProps {
|
|
517
|
-
type?: string | any[];
|
|
518
|
-
size?: string | number;
|
|
519
|
-
color?: string;
|
|
520
|
-
spin?: boolean;
|
|
521
|
-
strokeWidth?: string | number;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/** Icon Vue 3 component */
|
|
525
|
-
declare const Icon: DefineComponent<IconProps, {}, any>;
|
|
526
|
-
|
|
527
527
|
/** KImage component props */
|
|
528
528
|
interface KImageProps {
|
|
529
529
|
alt?: string;
|