@uzum-tech/ui 2.0.9 → 2.1.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/index.js +1791 -466
- package/dist/index.mjs +1786 -467
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/button/src/Button.d.ts +13 -0
- package/es/button/src/Button.mjs +5 -0
- package/es/carousel/src/Carousel.d.ts +1 -1
- package/es/components.d.ts +665 -5
- package/es/components.mjs +5 -0
- package/es/config-provider/src/internal-interface.d.ts +3 -1
- package/es/data-table/src/DataTable.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/es/kanban/index.d.ts +7 -0
- package/es/kanban/index.mjs +5 -0
- package/es/kanban/src/Kanban.d.ts +570 -0
- package/es/kanban/src/Kanban.mjs +349 -0
- package/es/kanban/src/KanbanCard.d.ts +39 -0
- package/es/kanban/src/KanbanCard.mjs +86 -0
- package/es/kanban/src/KanbanColumn.d.ts +45 -0
- package/es/kanban/src/KanbanColumn.mjs +176 -0
- package/es/kanban/src/injection.d.ts +28 -0
- package/es/kanban/src/injection.mjs +2 -0
- package/es/kanban/src/interface.d.ts +215 -0
- package/es/kanban/src/interface.mjs +84 -0
- package/es/kanban/src/styles/index.cssr.d.ts +2 -0
- package/es/kanban/src/styles/index.cssr.mjs +165 -0
- package/es/kanban/src/use-kanban-data.d.ts +4 -0
- package/es/kanban/src/use-kanban-data.mjs +69 -0
- package/es/kanban/src/use-kanban-drag.d.ts +2 -0
- package/es/kanban/src/use-kanban-drag.mjs +238 -0
- package/es/kanban/styles/dark.d.ts +73 -0
- package/es/kanban/styles/dark.mjs +15 -0
- package/es/kanban/styles/index.d.ts +3 -0
- package/es/kanban/styles/index.mjs +2 -0
- package/es/kanban/styles/light.d.ts +109 -0
- package/es/kanban/styles/light.mjs +64 -0
- package/es/modal/src/BodyWrapper.d.ts +1 -1
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/tree/src/Tree.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/button/src/Button.d.ts +13 -0
- package/lib/button/src/Button.js +5 -0
- package/lib/carousel/src/Carousel.d.ts +1 -1
- package/lib/components.d.ts +665 -5
- package/lib/components.js +13 -5
- package/lib/config-provider/src/internal-interface.d.ts +3 -1
- package/lib/data-table/src/DataTable.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/lib/kanban/index.d.ts +7 -0
- package/lib/kanban/index.js +17 -0
- package/lib/kanban/src/Kanban.d.ts +570 -0
- package/lib/kanban/src/Kanban.js +291 -0
- package/lib/kanban/src/KanbanCard.d.ts +39 -0
- package/lib/kanban/src/KanbanCard.js +63 -0
- package/lib/kanban/src/KanbanColumn.d.ts +45 -0
- package/lib/kanban/src/KanbanColumn.js +141 -0
- package/lib/kanban/src/injection.d.ts +28 -0
- package/lib/kanban/src/injection.js +5 -0
- package/lib/kanban/src/interface.d.ts +215 -0
- package/lib/kanban/src/interface.js +87 -0
- package/lib/kanban/src/styles/index.cssr.d.ts +2 -0
- package/lib/kanban/src/styles/index.cssr.js +170 -0
- package/lib/kanban/src/use-kanban-data.d.ts +4 -0
- package/lib/kanban/src/use-kanban-data.js +70 -0
- package/lib/kanban/src/use-kanban-drag.d.ts +2 -0
- package/lib/kanban/src/use-kanban-drag.js +220 -0
- package/lib/kanban/styles/dark.d.ts +73 -0
- package/lib/kanban/styles/dark.js +17 -0
- package/lib/kanban/styles/index.d.ts +3 -0
- package/lib/kanban/styles/index.js +10 -0
- package/lib/kanban/styles/light.d.ts +109 -0
- package/lib/kanban/styles/light.js +54 -0
- package/lib/modal/src/BodyWrapper.d.ts +1 -1
- package/lib/themes/dark.js +98 -96
- package/lib/themes/light.js +96 -94
- package/lib/tree/src/Tree.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +6 -2
- package/volar.d.ts +3 -0
- package/web-types.json +181 -1
|
@@ -53,6 +53,10 @@ export declare const buttonProps: {
|
|
|
53
53
|
readonly type: BooleanConstructor;
|
|
54
54
|
readonly default: boolean;
|
|
55
55
|
};
|
|
56
|
+
readonly visible: {
|
|
57
|
+
readonly type: BooleanConstructor;
|
|
58
|
+
readonly default: true;
|
|
59
|
+
};
|
|
56
60
|
readonly theme: PropType<import("../../_mixins").Theme<"Button", {
|
|
57
61
|
heightTiny: string;
|
|
58
62
|
heightSmall: string;
|
|
@@ -767,6 +771,10 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
767
771
|
readonly type: BooleanConstructor;
|
|
768
772
|
readonly default: boolean;
|
|
769
773
|
};
|
|
774
|
+
readonly visible: {
|
|
775
|
+
readonly type: BooleanConstructor;
|
|
776
|
+
readonly default: true;
|
|
777
|
+
};
|
|
770
778
|
readonly theme: PropType<import("../../_mixins").Theme<"Button", {
|
|
771
779
|
heightTiny: string;
|
|
772
780
|
heightSmall: string;
|
|
@@ -1537,6 +1545,10 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
1537
1545
|
readonly type: BooleanConstructor;
|
|
1538
1546
|
readonly default: boolean;
|
|
1539
1547
|
};
|
|
1548
|
+
readonly visible: {
|
|
1549
|
+
readonly type: BooleanConstructor;
|
|
1550
|
+
readonly default: true;
|
|
1551
|
+
};
|
|
1540
1552
|
readonly theme: PropType<import("../../_mixins").Theme<"Button", {
|
|
1541
1553
|
heightTiny: string;
|
|
1542
1554
|
heightSmall: string;
|
|
@@ -2216,6 +2228,7 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2216
2228
|
readonly iconPlacement: "left" | "right";
|
|
2217
2229
|
readonly attrType: "submit" | "button" | "reset";
|
|
2218
2230
|
readonly nativeFocusBehavior: boolean;
|
|
2231
|
+
readonly visible: boolean;
|
|
2219
2232
|
}, SlotsType<ButtonSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2220
2233
|
type InternalButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
2221
2234
|
type NativeButtonProps = Omit<ButtonHTMLAttributes, keyof InternalButtonProps>;
|
package/es/button/src/Button.mjs
CHANGED
|
@@ -60,6 +60,10 @@ export const buttonProps = Object.assign(Object.assign({}, useTheme.props), {
|
|
|
60
60
|
nativeFocusBehavior: {
|
|
61
61
|
type: Boolean,
|
|
62
62
|
default: !isSafari
|
|
63
|
+
},
|
|
64
|
+
visible: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: true
|
|
63
67
|
}
|
|
64
68
|
});
|
|
65
69
|
const Button = defineComponent({
|
|
@@ -487,6 +491,7 @@ const Button = defineComponent({
|
|
|
487
491
|
};
|
|
488
492
|
},
|
|
489
493
|
render() {
|
|
494
|
+
if (this.visible === false) return null;
|
|
490
495
|
const {
|
|
491
496
|
mergedClsPrefix,
|
|
492
497
|
tag: Component,
|
|
@@ -332,6 +332,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
332
332
|
}>> & Readonly<{}>, {
|
|
333
333
|
trigger: "click" | "hover";
|
|
334
334
|
keyboard: boolean;
|
|
335
|
+
draggable: boolean;
|
|
335
336
|
defaultIndex: number;
|
|
336
337
|
showArrow: boolean;
|
|
337
338
|
dotType: "line" | "dot";
|
|
@@ -346,7 +347,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
346
347
|
effect: "card" | "slide" | "fade" | "custom";
|
|
347
348
|
showDots: boolean;
|
|
348
349
|
transitionStyle: Partial<Pick<CSSProperties, "transitionDuration" | "transitionTimingFunction">>;
|
|
349
|
-
draggable: boolean;
|
|
350
350
|
touchable: boolean;
|
|
351
351
|
mousewheel: boolean;
|
|
352
352
|
}, SlotsType<CarouselSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|