@uzum-tech/ui 1.10.1 → 1.11.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 +1248 -263
- package/dist/index.prod.js +3 -3
- package/es/_internal/index.d.ts +2 -0
- package/es/_internal/index.js +1 -0
- package/es/_internal/safe-top-scrollbar/index.d.ts +2 -0
- package/es/_internal/safe-top-scrollbar/index.js +1 -0
- package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +356 -0
- package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.js +708 -0
- package/es/_internal/safe-top-scrollbar/src/styles/index.cssr.d.ts +2 -0
- package/es/_internal/safe-top-scrollbar/src/styles/index.cssr.js +80 -0
- package/es/_internal/safe-top-scrollbar/src/styles/rtl.cssr.d.ts +2 -0
- package/es/_internal/safe-top-scrollbar/src/styles/rtl.cssr.js +10 -0
- package/es/_internal/safe-top-scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/safe-top-scrollbar/styles/common.js +7 -0
- package/es/_internal/safe-top-scrollbar/styles/dark.d.ts +3 -0
- package/es/_internal/safe-top-scrollbar/styles/dark.js +8 -0
- package/es/_internal/safe-top-scrollbar/styles/index.d.ts +4 -0
- package/es/_internal/safe-top-scrollbar/styles/index.js +3 -0
- package/es/_internal/safe-top-scrollbar/styles/light.d.ts +18 -0
- package/es/_internal/safe-top-scrollbar/styles/light.js +12 -0
- package/es/_internal/safe-top-scrollbar/styles/rtl.d.ts +3 -0
- package/es/_internal/safe-top-scrollbar/styles/rtl.js +6 -0
- package/es/chat/src/Chat.d.ts +14 -1
- package/es/chat/src/Chat.js +5 -0
- package/es/chat/src/ChatParts/ChatAttachment.js +31 -3
- package/es/chat/src/ChatParts/MainArea.js +37 -41
- package/es/chat/src/interface.d.ts +6 -2
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/drawer/src/Drawer.d.ts +18 -0
- package/es/drawer/src/Drawer.js +28 -26
- package/es/drawer/src/DrawerBodyWrapper.d.ts +8 -0
- package/es/drawer/src/DrawerBodyWrapper.js +36 -8
- package/es/modal-fullscreen/src/ModalFull.d.ts +2 -2
- package/es/modal-fullscreen/src/ModalFull.js +31 -24
- package/es/modal-fullscreen/src/styles/index.cssr.js +11 -11
- package/es/safe-top-scrollbar/index.d.ts +2 -0
- package/es/safe-top-scrollbar/index.js +1 -0
- package/es/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +177 -0
- package/es/safe-top-scrollbar/src/SafeTopScrollbar.js +38 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/index.js +4 -1
- package/lib/_internal/safe-top-scrollbar/index.d.ts +2 -0
- package/lib/_internal/safe-top-scrollbar/index.js +9 -0
- package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +356 -0
- package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.js +714 -0
- package/lib/_internal/safe-top-scrollbar/src/styles/index.cssr.d.ts +2 -0
- package/lib/_internal/safe-top-scrollbar/src/styles/index.cssr.js +85 -0
- package/lib/_internal/safe-top-scrollbar/src/styles/rtl.cssr.d.ts +2 -0
- package/lib/_internal/safe-top-scrollbar/src/styles/rtl.cssr.js +15 -0
- package/lib/_internal/safe-top-scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/safe-top-scrollbar/styles/common.js +10 -0
- package/lib/_internal/safe-top-scrollbar/styles/dark.d.ts +3 -0
- package/lib/_internal/safe-top-scrollbar/styles/dark.js +10 -0
- package/lib/_internal/safe-top-scrollbar/styles/index.d.ts +4 -0
- package/lib/_internal/safe-top-scrollbar/styles/index.js +12 -0
- package/lib/_internal/safe-top-scrollbar/styles/light.d.ts +18 -0
- package/lib/_internal/safe-top-scrollbar/styles/light.js +16 -0
- package/lib/_internal/safe-top-scrollbar/styles/rtl.d.ts +3 -0
- package/lib/_internal/safe-top-scrollbar/styles/rtl.js +12 -0
- package/lib/chat/src/Chat.d.ts +14 -1
- package/lib/chat/src/Chat.js +5 -0
- package/lib/chat/src/ChatParts/ChatAttachment.js +30 -2
- package/lib/chat/src/ChatParts/MainArea.js +37 -41
- package/lib/chat/src/interface.d.ts +6 -2
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/drawer/src/Drawer.d.ts +18 -0
- package/lib/drawer/src/Drawer.js +28 -26
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +8 -0
- package/lib/drawer/src/DrawerBodyWrapper.js +36 -8
- package/lib/modal-fullscreen/src/ModalFull.d.ts +2 -2
- package/lib/modal-fullscreen/src/ModalFull.js +30 -23
- package/lib/modal-fullscreen/src/styles/index.cssr.js +11 -11
- package/lib/safe-top-scrollbar/index.d.ts +2 -0
- package/lib/safe-top-scrollbar/index.js +9 -0
- package/lib/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +177 -0
- package/lib/safe-top-scrollbar/src/SafeTopScrollbar.js +41 -0
- package/lib/themes/dark.js +5 -0
- package/lib/themes/light.js +5 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +58 -2
package/es/drawer/src/Drawer.js
CHANGED
|
@@ -51,7 +51,11 @@ export const drawerProps = Object.assign(Object.assign({}, useTheme.props), { sh
|
|
|
51
51
|
}, blockScroll: {
|
|
52
52
|
type: Boolean,
|
|
53
53
|
default: true
|
|
54
|
-
}, maxWidth: Number, maxHeight: Number, minWidth: Number, minHeight: Number, resizable: Boolean, fullscreen: Boolean,
|
|
54
|
+
}, maxWidth: Number, maxHeight: Number, minWidth: Number, minHeight: Number, resizable: Boolean, fullscreen: Boolean, defaultWidth: {
|
|
55
|
+
type: [Number, String]
|
|
56
|
+
}, defaultHeight: {
|
|
57
|
+
type: [Number, String]
|
|
58
|
+
}, onUpdateWidth: [Function, Array], onUpdateHeight: [Function, Array], 'onUpdate:width': [Function, Array], 'onUpdate:height': [Function, Array], 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], onAfterEnter: Function, onAfterLeave: Function,
|
|
55
59
|
/** @deprecated */
|
|
56
60
|
drawerStyle: [String, Object],
|
|
57
61
|
/** @deprecated */
|
|
@@ -89,8 +93,8 @@ export default defineComponent({
|
|
|
89
93
|
const { mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = useConfig(props);
|
|
90
94
|
const isMountedRef = useIsMounted();
|
|
91
95
|
const themeRef = useTheme('Drawer', '-drawer', style, drawerLight, props, mergedClsPrefixRef);
|
|
92
|
-
const uncontrolledWidthRef = ref(sizesWidth[props.size]);
|
|
93
|
-
const uncontrolledHeightRef = ref(sizesHeight[props.size]);
|
|
96
|
+
const uncontrolledWidthRef = ref(props.defaultWidth || sizesWidth[props.size]);
|
|
97
|
+
const uncontrolledHeightRef = ref(props.defaultHeight || sizesHeight[props.size]);
|
|
94
98
|
const mergedWidthRef = useMergedState(toRef(props, 'width'), uncontrolledWidthRef);
|
|
95
99
|
const mergedHeightRef = useMergedState(toRef(props, 'height'), uncontrolledHeightRef);
|
|
96
100
|
const styleWidthRef = computed(() => {
|
|
@@ -109,31 +113,29 @@ export default defineComponent({
|
|
|
109
113
|
return '';
|
|
110
114
|
return formatLength(mergedHeightRef.value);
|
|
111
115
|
});
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
onUpdate = props.onUpdateHeight;
|
|
117
|
-
_onUpdate = props['onUpdate:height'];
|
|
118
|
-
max = props.maxHeight;
|
|
119
|
-
min = props.minHeight;
|
|
120
|
-
_ref = uncontrolledHeightRef;
|
|
116
|
+
const doUpdateWidth = (value) => {
|
|
117
|
+
const { onUpdateWidth, 'onUpdate:width': _onUpdateWidth } = props;
|
|
118
|
+
if (onUpdateWidth) {
|
|
119
|
+
call(onUpdateWidth, value);
|
|
121
120
|
}
|
|
122
|
-
if (
|
|
123
|
-
value
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
121
|
+
if (_onUpdateWidth) {
|
|
122
|
+
call(_onUpdateWidth, value);
|
|
123
|
+
}
|
|
124
|
+
uncontrolledWidthRef.value = value;
|
|
125
|
+
};
|
|
126
|
+
const doUpdateHeight = (value) => {
|
|
127
|
+
const { onUpdateHeight, 'onUpdate:width': _onUpdateHeight } = props;
|
|
128
|
+
if (onUpdateHeight) {
|
|
129
|
+
call(onUpdateHeight, value);
|
|
130
|
+
}
|
|
131
|
+
if (_onUpdateHeight) {
|
|
132
|
+
call(_onUpdateHeight, value);
|
|
133
|
+
}
|
|
134
|
+
uncontrolledHeightRef.value = value;
|
|
131
135
|
};
|
|
132
|
-
const doUpdateWidth = doUpdate.bind(null, false);
|
|
133
|
-
const doUpdateHeight = doUpdate.bind(null, true);
|
|
134
136
|
watchEffect(() => {
|
|
135
|
-
doUpdateWidth(sizesWidth[props.size]);
|
|
136
|
-
doUpdateHeight(sizesHeight[props.size]);
|
|
137
|
+
doUpdateWidth(Number(props.defaultWidth || sizesWidth[props.size]));
|
|
138
|
+
doUpdateHeight(Number(props.defaultHeight || sizesHeight[props.size]));
|
|
137
139
|
});
|
|
138
140
|
const mergedBodyStyleRef = computed(() => {
|
|
139
141
|
return [
|
|
@@ -262,7 +264,7 @@ export default defineComponent({
|
|
|
262
264
|
`${mergedClsPrefix}-drawer-mask--invisible`
|
|
263
265
|
], onClick: this.handleMaskClick })) : null
|
|
264
266
|
})) : null,
|
|
265
|
-
h(UDrawerBodyWrapper, Object.assign({}, this.$attrs, { class: [this.drawerClass, this.$attrs.class], style: [this.mergedBodyStyle, this.$attrs.style], blockScroll: this.blockScroll, contentStyle: this.contentStyle, placement: this.placement, rounded: this.rounded, scrollbarProps: this.scrollbarProps, show: this.show, displayDirective: this.displayDirective, nativeScrollbar: this.nativeScrollbar, onAfterEnter: this.onAfterEnter, onAfterLeave: this.onAfterLeave, trapFocus: this.trapFocus, autoFocus: this.autoFocus, resizable: this.resizable, showMask: this.showMask, onEsc: this.handleEsc, onClickoutside: this.handleMaskClick }), this.$slots)), [[zindexable, { zIndex: this.zIndex, enabled: this.show }]]);
|
|
267
|
+
h(UDrawerBodyWrapper, Object.assign({}, this.$attrs, { class: [this.drawerClass, this.$attrs.class], style: [this.mergedBodyStyle, this.$attrs.style], blockScroll: this.blockScroll, contentStyle: this.contentStyle, placement: this.placement, rounded: this.rounded, scrollbarProps: this.scrollbarProps, show: this.show, displayDirective: this.displayDirective, nativeScrollbar: this.nativeScrollbar, onAfterEnter: this.onAfterEnter, onAfterLeave: this.onAfterLeave, trapFocus: this.trapFocus, autoFocus: this.autoFocus, resizable: this.resizable, maxHeight: this.maxHeight, minHeight: this.minHeight, maxWidth: this.maxWidth, minWidth: this.minWidth, showMask: this.showMask, onEsc: this.handleEsc, onClickoutside: this.handleMaskClick }), this.$slots)), [[zindexable, { zIndex: this.zIndex, enabled: this.show }]]);
|
|
266
268
|
}
|
|
267
269
|
}));
|
|
268
270
|
}
|
|
@@ -37,6 +37,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
type: PropType<boolean | "transparent">;
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
|
+
maxWidth: NumberConstructor;
|
|
41
|
+
maxHeight: NumberConstructor;
|
|
42
|
+
minWidth: NumberConstructor;
|
|
43
|
+
minHeight: NumberConstructor;
|
|
40
44
|
resizable: BooleanConstructor;
|
|
41
45
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
42
46
|
onAfterLeave: PropType<() => void>;
|
|
@@ -148,6 +152,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
152
|
type: PropType<boolean | "transparent">;
|
|
149
153
|
required: true;
|
|
150
154
|
};
|
|
155
|
+
maxWidth: NumberConstructor;
|
|
156
|
+
maxHeight: NumberConstructor;
|
|
157
|
+
minWidth: NumberConstructor;
|
|
158
|
+
minHeight: NumberConstructor;
|
|
151
159
|
resizable: BooleanConstructor;
|
|
152
160
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
153
161
|
onAfterLeave: PropType<() => void>;
|
|
@@ -46,6 +46,10 @@ export default defineComponent({
|
|
|
46
46
|
type: [Boolean, String],
|
|
47
47
|
required: true
|
|
48
48
|
},
|
|
49
|
+
maxWidth: Number,
|
|
50
|
+
maxHeight: Number,
|
|
51
|
+
minWidth: Number,
|
|
52
|
+
minHeight: Number,
|
|
49
53
|
resizable: Boolean,
|
|
50
54
|
onClickoutside: Function,
|
|
51
55
|
onAfterLeave: Function,
|
|
@@ -72,9 +76,9 @@ export default defineComponent({
|
|
|
72
76
|
startPosition = isVertical.value ? e.clientY : e.clientX;
|
|
73
77
|
memoizedBodyStyleCursor = document.body.style.cursor;
|
|
74
78
|
document.body.style.cursor = isVertical.value ? 'ns-resize' : 'ew-resize';
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
document.body.addEventListener('mousemove', handleBodyMousemove);
|
|
80
|
+
document.body.addEventListener('mouseleave', handleBodyMouseleave);
|
|
81
|
+
document.body.addEventListener('mouseup', handleBodyMouseup);
|
|
78
82
|
};
|
|
79
83
|
const handleMouseenterResizeTrigger = () => {
|
|
80
84
|
if (hoverTimerId !== null) {
|
|
@@ -98,13 +102,36 @@ export default defineComponent({
|
|
|
98
102
|
isHoverOnResizeTriggerRef.value = false;
|
|
99
103
|
};
|
|
100
104
|
const { doUpdateHeight, doUpdateWidth } = UDrawer;
|
|
101
|
-
const
|
|
105
|
+
const regulateWidth = (size) => {
|
|
106
|
+
const { maxWidth } = props;
|
|
107
|
+
if (maxWidth && size > maxWidth) {
|
|
108
|
+
return maxWidth;
|
|
109
|
+
}
|
|
110
|
+
const { minWidth } = props;
|
|
111
|
+
if (minWidth && size < minWidth) {
|
|
112
|
+
return minWidth;
|
|
113
|
+
}
|
|
114
|
+
return size;
|
|
115
|
+
};
|
|
116
|
+
const regulateHeight = (size) => {
|
|
117
|
+
const { maxHeight } = props;
|
|
118
|
+
if (maxHeight && size > maxHeight) {
|
|
119
|
+
return maxHeight;
|
|
120
|
+
}
|
|
121
|
+
const { minHeight } = props;
|
|
122
|
+
if (minHeight && size < minHeight) {
|
|
123
|
+
return minHeight;
|
|
124
|
+
}
|
|
125
|
+
return size;
|
|
126
|
+
};
|
|
127
|
+
function handleBodyMousemove(e) {
|
|
102
128
|
var _a, _b;
|
|
103
129
|
if (isDraggingRef.value) {
|
|
104
130
|
if (isVertical.value) {
|
|
105
131
|
let height = ((_a = bodyRef.value) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
106
132
|
const increment = startPosition - e.clientY;
|
|
107
133
|
height += props.placement === 'bottom' ? increment : -increment;
|
|
134
|
+
height = regulateHeight(height);
|
|
108
135
|
doUpdateHeight(height);
|
|
109
136
|
startPosition = e.clientY;
|
|
110
137
|
}
|
|
@@ -112,19 +139,20 @@ export default defineComponent({
|
|
|
112
139
|
let width = ((_b = bodyRef.value) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 0;
|
|
113
140
|
const increment = startPosition - e.clientX;
|
|
114
141
|
width += props.placement === 'right' ? increment : -increment;
|
|
142
|
+
width = regulateWidth(width);
|
|
115
143
|
doUpdateWidth(width);
|
|
116
144
|
startPosition = e.clientX;
|
|
117
145
|
}
|
|
118
146
|
}
|
|
119
|
-
}
|
|
147
|
+
}
|
|
120
148
|
const handleBodyMouseup = () => {
|
|
121
149
|
if (isDraggingRef.value) {
|
|
122
150
|
startPosition = 0;
|
|
123
151
|
isDraggingRef.value = false;
|
|
124
152
|
document.body.style.cursor = memoizedBodyStyleCursor;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
153
|
+
document.body.removeEventListener('mousemove', handleBodyMousemove);
|
|
154
|
+
document.body.removeEventListener('mouseup', handleBodyMouseup);
|
|
155
|
+
document.body.removeEventListener('mouseleave', handleBodyMouseleave);
|
|
128
156
|
}
|
|
129
157
|
};
|
|
130
158
|
const handleBodyMouseleave = handleBodyMouseup;
|
|
@@ -269,7 +269,7 @@ export declare const modalFullscreenProps: {
|
|
|
269
269
|
}>>>;
|
|
270
270
|
};
|
|
271
271
|
export type ModalFullscreenProps = ExtractPublicPropTypes<typeof modalFullscreenProps>;
|
|
272
|
-
declare const
|
|
272
|
+
declare const ModalFullscreen: import("vue").DefineComponent<{
|
|
273
273
|
to: PropType<string | HTMLElement>;
|
|
274
274
|
show: BooleanConstructor;
|
|
275
275
|
zIndex: NumberConstructor;
|
|
@@ -950,4 +950,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
950
950
|
blockScroll: boolean;
|
|
951
951
|
closeOnEsc: boolean;
|
|
952
952
|
}, {}>;
|
|
953
|
-
export default
|
|
953
|
+
export default ModalFullscreen;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { zindexable } from 'vdirs';
|
|
2
|
-
import { h, ref, vShow, toRef, watch, computed, nextTick, Transition, withDirectives, defineComponent } from 'vue';
|
|
2
|
+
import { h, ref, vShow, toRef, watch, computed, nextTick, Transition, withDirectives, defineComponent, Fragment } from 'vue';
|
|
3
3
|
import { VFocusTrap, VLazyTeleport } from 'vueuc';
|
|
4
4
|
import { useClicked, useClickPosition, useIsMounted } from 'vooks';
|
|
5
5
|
import { call, eventEffectNotPerformed, resolveWrappedSlot, useIsComposing } from '../../_utils';
|
|
@@ -33,7 +33,7 @@ export const modalFullscreenProps = Object.assign(Object.assign({}, useTheme.pro
|
|
|
33
33
|
},
|
|
34
34
|
// events
|
|
35
35
|
onEsc: Function, onClose: Function, onAfterEnter: Function, onBeforeLeave: Function, onAfterLeave: Function, onUpdateShow: [Function, Array], 'onUpdate:show': [Function, Array] });
|
|
36
|
-
|
|
36
|
+
const ModalFullscreen = defineComponent({
|
|
37
37
|
name: 'ModalFullscreen',
|
|
38
38
|
inheritAttrs: false,
|
|
39
39
|
props: modalFullscreenProps,
|
|
@@ -188,42 +188,25 @@ export default defineComponent({
|
|
|
188
188
|
};
|
|
189
189
|
},
|
|
190
190
|
render() {
|
|
191
|
-
const { mergedClsPrefix, isDisplayed, handleEnter, handleBeforeLeave, handleAfterLeave, handleEsc
|
|
192
|
-
const headerLeftSlot = resolveWrappedSlot(this.$slots.headerLeft, (children) => children);
|
|
193
|
-
const bodySlot = resolveWrappedSlot(this.$slots.body || this.$slots.default, (children) => children);
|
|
194
|
-
const footerSlot = resolveWrappedSlot(this.$slots.footer, (children) => children);
|
|
191
|
+
const { mergedClsPrefix, isDisplayed, handleEnter, handleBeforeLeave, handleAfterLeave, handleEsc } = this;
|
|
195
192
|
return (h(VLazyTeleport, { to: this.to, show: this.show }, {
|
|
196
193
|
default: () => {
|
|
197
194
|
var _a;
|
|
198
195
|
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
199
196
|
return withDirectives(h("div", { role: "none", ref: "containerRef", class: [
|
|
200
|
-
`${mergedClsPrefix}-modal-container`,
|
|
197
|
+
`${mergedClsPrefix}-modal-fullscreen-container`,
|
|
201
198
|
this.themeClass,
|
|
202
199
|
this.namespace
|
|
203
200
|
], style: this.cssVars }, this.displayDirective === 'show' || isDisplayed || this.show
|
|
204
|
-
? withDirectives(h("div", { role: "none", class: `${mergedClsPrefix}-modal-body-wrapper` },
|
|
205
|
-
h(UScrollbar, { ref: "scrollbarRef", theme: this.themeRef.peers.Scrollbar, themeOverrides: this.themeRef.peerOverrides.Scrollbar, contentClass: `${mergedClsPrefix}-modal-scroll-content` }, {
|
|
201
|
+
? withDirectives(h("div", { role: "none", class: `${mergedClsPrefix}-modal-fullscreen-body-wrapper` },
|
|
202
|
+
h(UScrollbar, { ref: "scrollbarRef", theme: this.themeRef.peers.Scrollbar, themeOverrides: this.themeRef.peerOverrides.Scrollbar, contentClass: `${mergedClsPrefix}-modal-fullscreen-scroll-content` }, {
|
|
206
203
|
default: () => (h(VFocusTrap, { disabled: !this.trapFocus, active: this.show, onEsc: handleEsc, autoFocus: this.autoFocus }, {
|
|
207
204
|
default: () => (h(Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted, onEnter: handleEnter, onAfterEnter: this.onAfterEnter, onAfterLeave: handleAfterLeave, onBeforeLeave: handleBeforeLeave }, {
|
|
208
205
|
default: () => {
|
|
209
206
|
const dirs = [
|
|
210
207
|
[vShow, this.show]
|
|
211
208
|
];
|
|
212
|
-
return withDirectives(
|
|
213
|
-
h(UFlex, { vertical: true, size: [0, 0], class: [
|
|
214
|
-
`${mergedClsPrefix}-modal-content`,
|
|
215
|
-
this.fixed &&
|
|
216
|
-
`${mergedClsPrefix}-modal-content--fixed`
|
|
217
|
-
] },
|
|
218
|
-
h(UFlex, { align: "center", size: [0, 0], wrap: false, class: `${mergedClsPrefix}-modal-header` },
|
|
219
|
-
h("div", { class: `${mergedClsPrefix}-modal-header__left` }, headerLeftSlot),
|
|
220
|
-
h("div", { class: `${mergedClsPrefix}-modal-header__center` },
|
|
221
|
-
this.title ? (h(UText, { variant: "body-l-semi-bold", class: `${mergedClsPrefix}-modal-header__title` }, this.title)) : null,
|
|
222
|
-
this.subtitle ? (h(UText, { variant: "body-m-medium", class: `${mergedClsPrefix}-modal-header__subtitle` }, this.subtitle)) : null),
|
|
223
|
-
h("div", { class: `${mergedClsPrefix}-modal-header__right` },
|
|
224
|
-
h(UBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-modal__close`, onClick: handleCloseClick }))),
|
|
225
|
-
h("div", { class: `${mergedClsPrefix}-modal-body` }, bodySlot),
|
|
226
|
-
h("div", { class: `${mergedClsPrefix}-modal-footer` }, footerSlot))), dirs);
|
|
209
|
+
return withDirectives(modalFullscreenContent(this), dirs);
|
|
227
210
|
}
|
|
228
211
|
}))
|
|
229
212
|
}))
|
|
@@ -248,3 +231,27 @@ export default defineComponent({
|
|
|
248
231
|
}));
|
|
249
232
|
}
|
|
250
233
|
});
|
|
234
|
+
export default ModalFullscreen;
|
|
235
|
+
const modalFullscreenContent = (_) => {
|
|
236
|
+
const headerLeftSlot = resolveWrappedSlot(_.$slots.headerLeft, (children) => children);
|
|
237
|
+
const bodySlot = resolveWrappedSlot(_.$slots.body || _.$slots.default, (children) => children);
|
|
238
|
+
const footerSlot = resolveWrappedSlot(_.$slots.footer, (children) => children);
|
|
239
|
+
return (h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen` },
|
|
240
|
+
h(UFlex, { vertical: true, size: [0, 0], class: [
|
|
241
|
+
`${_.mergedClsPrefix}-modal-fullscreen-content`,
|
|
242
|
+
_.fixed && `${_.mergedClsPrefix}-modal-fullscreen-content--fixed`
|
|
243
|
+
] }, {
|
|
244
|
+
default: () => (h(Fragment, null,
|
|
245
|
+
h(UFlex, { align: "center", size: [0, 0], wrap: false, class: `${_.mergedClsPrefix}-modal-fullscreen-header` }, {
|
|
246
|
+
defaul: () => (h(Fragment, null,
|
|
247
|
+
h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen-header__left` }, headerLeftSlot),
|
|
248
|
+
h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen-header__center` },
|
|
249
|
+
_.title ? (h(UText, { variant: "body-l-semi-bold", class: `${_.mergedClsPrefix}-modal-fullscreen-header__title` }, _.title)) : null,
|
|
250
|
+
_.subtitle ? (h(UText, { variant: "body-m-medium", class: `${_.mergedClsPrefix}-modal-fullscreen-header__subtitle` }, _.subtitle)) : null),
|
|
251
|
+
h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen-header__right` },
|
|
252
|
+
h(UBaseClose, { clsPrefix: _.mergedClsPrefix, class: `${_.mergedClsPrefix}-modal-fullscreen__close`, onClick: _.handleCloseClick }))))
|
|
253
|
+
}),
|
|
254
|
+
h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen-body` }, bodySlot),
|
|
255
|
+
h("div", { class: `${_.mergedClsPrefix}-modal-fullscreen-footer` }, footerSlot)))
|
|
256
|
+
})));
|
|
257
|
+
};
|
|
@@ -19,24 +19,24 @@ import { fadeInScaleUpTransition } from '../../../_styles/transitions/fade-in-sc
|
|
|
19
19
|
// --u-header-bg
|
|
20
20
|
// --u-body-bg
|
|
21
21
|
// --u-footer-bg
|
|
22
|
-
export default c([cB('modal-container', `
|
|
22
|
+
export default c([cB('modal-fullscreen-container', `
|
|
23
23
|
position: fixed;
|
|
24
24
|
left: 0;
|
|
25
25
|
top: 0;
|
|
26
26
|
height: 0;
|
|
27
27
|
width: 0;
|
|
28
28
|
display: flex;
|
|
29
|
-
`), cB('modal-body-wrapper', `
|
|
29
|
+
`), cB('modal-fullscreen-body-wrapper', `
|
|
30
30
|
position: fixed;
|
|
31
31
|
left: 0;
|
|
32
32
|
right: 0;
|
|
33
33
|
top: 0;
|
|
34
34
|
bottom: 0;
|
|
35
35
|
overflow: visible;
|
|
36
|
-
|
|
36
|
+
`), cB('modal-fullscreen-scroll-content', `
|
|
37
37
|
min-height: 100%;
|
|
38
38
|
position: relative;
|
|
39
|
-
`)
|
|
39
|
+
`), cB('modal-fullscreen', `
|
|
40
40
|
position: relative;
|
|
41
41
|
color: var(--u-text-color);
|
|
42
42
|
margin: auto;
|
|
@@ -54,22 +54,22 @@ export default c([cB('modal-container', `
|
|
|
54
54
|
background-color .3s var(--u-bezier),
|
|
55
55
|
color .3s var(--u-bezier);
|
|
56
56
|
z-index: 1;
|
|
57
|
-
`)]), cB('modal-content', `
|
|
57
|
+
`)]), cB('modal-fullscreen-content', `
|
|
58
58
|
height: 100%;
|
|
59
|
-
`, [cM('fixed', '', [cB('modal-header', `
|
|
59
|
+
`, [cM('fixed', '', [cB('modal-fullscreen-header', `
|
|
60
60
|
flex: 0 0 auto;
|
|
61
|
-
`), cB('modal-body', `
|
|
61
|
+
`), cB('modal-fullscreen-body', `
|
|
62
62
|
flex: 1 1 100%;
|
|
63
|
-
`), cB('modal-footer', `
|
|
63
|
+
`), cB('modal-fullscreen-footer', `
|
|
64
64
|
flex: 0 0 auto;
|
|
65
|
-
`)])]), cB('modal-body', `
|
|
65
|
+
`)])]), cB('modal-fullscreen-body', `
|
|
66
66
|
padding: var(--u-body-padding);
|
|
67
67
|
background: var(--u-body-bg);
|
|
68
68
|
overflow-y: auto;
|
|
69
|
-
`), cB('modal-footer', `
|
|
69
|
+
`), cB('modal-fullscreen-footer', `
|
|
70
70
|
padding: var(--u-footer-padding);
|
|
71
71
|
background: var(--u-footer-bg);
|
|
72
|
-
`), cB('modal-header', `
|
|
72
|
+
`), cB('modal-fullscreen-header', `
|
|
73
73
|
padding: var(--u-header-padding);
|
|
74
74
|
background: var(--u-header-bg);
|
|
75
75
|
`, [cE('left', `
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as USafeTopScrollbar, safeTopScrollbarProps } from './src/SafeTopScrollbar';
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
+
export interface ScrollTo {
|
|
4
|
+
(x: number, y: number): void;
|
|
5
|
+
(options: {
|
|
6
|
+
left?: number;
|
|
7
|
+
top?: number;
|
|
8
|
+
behavior?: ScrollBehavior;
|
|
9
|
+
}): void;
|
|
10
|
+
}
|
|
11
|
+
export type ScrollBy = ScrollTo;
|
|
12
|
+
export interface SafeTopScrollbarInst {
|
|
13
|
+
scrollTo: ScrollTo;
|
|
14
|
+
scrollBy: ScrollBy;
|
|
15
|
+
getScrollState: () => {
|
|
16
|
+
scrollHeight: number;
|
|
17
|
+
scrollTop: number;
|
|
18
|
+
clientHeight: number;
|
|
19
|
+
};
|
|
20
|
+
adjustScrollTop: (heightDiff: number) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const safeTopScrollbarProps: {
|
|
23
|
+
readonly trigger: PropType<"none" | "hover">;
|
|
24
|
+
readonly xScrollable: BooleanConstructor;
|
|
25
|
+
readonly onScroll: PropType<(e: Event) => void>;
|
|
26
|
+
readonly size: NumberConstructor;
|
|
27
|
+
readonly theme: PropType<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
28
|
+
height: string;
|
|
29
|
+
width: string;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
color: string;
|
|
32
|
+
colorHover: string;
|
|
33
|
+
railInsetHorizontalBottom: string;
|
|
34
|
+
railInsetHorizontalTop: string;
|
|
35
|
+
railInsetVerticalRight: string;
|
|
36
|
+
railInsetVerticalLeft: string;
|
|
37
|
+
railColor: string;
|
|
38
|
+
}, any>>;
|
|
39
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
40
|
+
height: string;
|
|
41
|
+
width: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
color: string;
|
|
44
|
+
colorHover: string;
|
|
45
|
+
railInsetHorizontalBottom: string;
|
|
46
|
+
railInsetHorizontalTop: string;
|
|
47
|
+
railInsetVerticalRight: string;
|
|
48
|
+
railInsetVerticalLeft: string;
|
|
49
|
+
railColor: string;
|
|
50
|
+
}, any>>>;
|
|
51
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
52
|
+
height: string;
|
|
53
|
+
width: string;
|
|
54
|
+
borderRadius: string;
|
|
55
|
+
color: string;
|
|
56
|
+
colorHover: string;
|
|
57
|
+
railInsetHorizontalBottom: string;
|
|
58
|
+
railInsetHorizontalTop: string;
|
|
59
|
+
railInsetVerticalRight: string;
|
|
60
|
+
railInsetVerticalLeft: string;
|
|
61
|
+
railColor: string;
|
|
62
|
+
}, any>>>;
|
|
63
|
+
};
|
|
64
|
+
export type SafeTopScrollbarProps = ExtractPublicPropTypes<typeof safeTopScrollbarProps>;
|
|
65
|
+
declare const SafeTopScrollbar: import("vue").DefineComponent<{
|
|
66
|
+
readonly trigger: PropType<"none" | "hover">;
|
|
67
|
+
readonly xScrollable: BooleanConstructor;
|
|
68
|
+
readonly onScroll: PropType<(e: Event) => void>;
|
|
69
|
+
readonly size: NumberConstructor;
|
|
70
|
+
readonly theme: PropType<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
71
|
+
height: string;
|
|
72
|
+
width: string;
|
|
73
|
+
borderRadius: string;
|
|
74
|
+
color: string;
|
|
75
|
+
colorHover: string;
|
|
76
|
+
railInsetHorizontalBottom: string;
|
|
77
|
+
railInsetHorizontalTop: string;
|
|
78
|
+
railInsetVerticalRight: string;
|
|
79
|
+
railInsetVerticalLeft: string;
|
|
80
|
+
railColor: string;
|
|
81
|
+
}, any>>;
|
|
82
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
83
|
+
height: string;
|
|
84
|
+
width: string;
|
|
85
|
+
borderRadius: string;
|
|
86
|
+
color: string;
|
|
87
|
+
colorHover: string;
|
|
88
|
+
railInsetHorizontalBottom: string;
|
|
89
|
+
railInsetHorizontalTop: string;
|
|
90
|
+
railInsetVerticalRight: string;
|
|
91
|
+
railInsetVerticalLeft: string;
|
|
92
|
+
railColor: string;
|
|
93
|
+
}, any>>>;
|
|
94
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
95
|
+
height: string;
|
|
96
|
+
width: string;
|
|
97
|
+
borderRadius: string;
|
|
98
|
+
color: string;
|
|
99
|
+
colorHover: string;
|
|
100
|
+
railInsetHorizontalBottom: string;
|
|
101
|
+
railInsetHorizontalTop: string;
|
|
102
|
+
railInsetVerticalRight: string;
|
|
103
|
+
railInsetVerticalLeft: string;
|
|
104
|
+
railColor: string;
|
|
105
|
+
}, any>>>;
|
|
106
|
+
}, {
|
|
107
|
+
scrollbarInstRef: import("vue").Ref<{
|
|
108
|
+
$el: HTMLElement;
|
|
109
|
+
containerRef: HTMLElement | null;
|
|
110
|
+
contentRef: HTMLElement | null;
|
|
111
|
+
containerScrollTop: number;
|
|
112
|
+
syncUnifiedContainer: () => void;
|
|
113
|
+
scrollTo: import("../../_internal/safe-top-scrollbar/src/SafeTopScrollbar").ScrollTo;
|
|
114
|
+
scrollBy: import("../../_internal/safe-top-scrollbar/src/SafeTopScrollbar").ScrollBy;
|
|
115
|
+
sync: () => void;
|
|
116
|
+
handleMouseEnterWrapper: () => void;
|
|
117
|
+
handleMouseLeaveWrapper: () => void;
|
|
118
|
+
getScrollState: () => {
|
|
119
|
+
scrollHeight: number;
|
|
120
|
+
scrollTop: number;
|
|
121
|
+
clientHeight: number;
|
|
122
|
+
};
|
|
123
|
+
adjustScrollTop: (heightDiff: number) => void;
|
|
124
|
+
} | null>;
|
|
125
|
+
scrollTo: ScrollTo;
|
|
126
|
+
scrollBy: ScrollBy;
|
|
127
|
+
getScrollState: () => {
|
|
128
|
+
scrollHeight: number;
|
|
129
|
+
scrollTop: number;
|
|
130
|
+
clientHeight: number;
|
|
131
|
+
};
|
|
132
|
+
adjustScrollTop: (heightDiff: number) => void;
|
|
133
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
readonly trigger: PropType<"none" | "hover">;
|
|
135
|
+
readonly xScrollable: BooleanConstructor;
|
|
136
|
+
readonly onScroll: PropType<(e: Event) => void>;
|
|
137
|
+
readonly size: NumberConstructor;
|
|
138
|
+
readonly theme: PropType<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
139
|
+
height: string;
|
|
140
|
+
width: string;
|
|
141
|
+
borderRadius: string;
|
|
142
|
+
color: string;
|
|
143
|
+
colorHover: string;
|
|
144
|
+
railInsetHorizontalBottom: string;
|
|
145
|
+
railInsetHorizontalTop: string;
|
|
146
|
+
railInsetVerticalRight: string;
|
|
147
|
+
railInsetVerticalLeft: string;
|
|
148
|
+
railColor: string;
|
|
149
|
+
}, any>>;
|
|
150
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
151
|
+
height: string;
|
|
152
|
+
width: string;
|
|
153
|
+
borderRadius: string;
|
|
154
|
+
color: string;
|
|
155
|
+
colorHover: string;
|
|
156
|
+
railInsetHorizontalBottom: string;
|
|
157
|
+
railInsetHorizontalTop: string;
|
|
158
|
+
railInsetVerticalRight: string;
|
|
159
|
+
railInsetVerticalLeft: string;
|
|
160
|
+
railColor: string;
|
|
161
|
+
}, any>>>;
|
|
162
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"SafeTopScrollbar", {
|
|
163
|
+
height: string;
|
|
164
|
+
width: string;
|
|
165
|
+
borderRadius: string;
|
|
166
|
+
color: string;
|
|
167
|
+
colorHover: string;
|
|
168
|
+
railInsetHorizontalBottom: string;
|
|
169
|
+
railInsetHorizontalTop: string;
|
|
170
|
+
railInsetVerticalRight: string;
|
|
171
|
+
railInsetVerticalLeft: string;
|
|
172
|
+
railColor: string;
|
|
173
|
+
}, any>>>;
|
|
174
|
+
}>>, {
|
|
175
|
+
readonly xScrollable: boolean;
|
|
176
|
+
}, {}>;
|
|
177
|
+
export default SafeTopScrollbar;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { h, defineComponent, ref } from 'vue';
|
|
2
|
+
import { USafeTopScrollbar } from '../../_internal';
|
|
3
|
+
import { useTheme } from '../../_mixins';
|
|
4
|
+
export const safeTopScrollbarProps = Object.assign(Object.assign({}, useTheme.props), { trigger: String, xScrollable: Boolean, onScroll: Function, size: Number });
|
|
5
|
+
const SafeTopScrollbar = defineComponent({
|
|
6
|
+
name: 'SafeTopScrollbar',
|
|
7
|
+
props: safeTopScrollbarProps,
|
|
8
|
+
setup() {
|
|
9
|
+
const scrollbarInstRef = ref(null);
|
|
10
|
+
const exposedMethods = {
|
|
11
|
+
scrollTo: (...args) => {
|
|
12
|
+
var _a;
|
|
13
|
+
(_a = scrollbarInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(args[0], args[1]);
|
|
14
|
+
},
|
|
15
|
+
scrollBy: (...args) => {
|
|
16
|
+
var _a;
|
|
17
|
+
(_a = scrollbarInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollBy(args[0], args[1]);
|
|
18
|
+
},
|
|
19
|
+
getScrollState: () => {
|
|
20
|
+
var _a;
|
|
21
|
+
return (((_a = scrollbarInstRef.value) === null || _a === void 0 ? void 0 : _a.getScrollState()) || {
|
|
22
|
+
scrollHeight: 0,
|
|
23
|
+
scrollTop: 0,
|
|
24
|
+
clientHeight: 0
|
|
25
|
+
});
|
|
26
|
+
},
|
|
27
|
+
adjustScrollTop: (heightDiff) => {
|
|
28
|
+
var _a;
|
|
29
|
+
(_a = scrollbarInstRef.value) === null || _a === void 0 ? void 0 : _a.adjustScrollTop(heightDiff);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
return Object.assign(Object.assign({}, exposedMethods), { scrollbarInstRef });
|
|
33
|
+
},
|
|
34
|
+
render() {
|
|
35
|
+
return (h(USafeTopScrollbar, Object.assign({ ref: "scrollbarInstRef" }, this.$props), this.$slots));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export default SafeTopScrollbar;
|
package/es/themes/dark.js
CHANGED
|
@@ -90,6 +90,7 @@ import { inputOtpDark } from '../styles';
|
|
|
90
90
|
import { chatDark } from '../chat/styles';
|
|
91
91
|
import { modalFullscreenDark } from '../modal-fullscreen/styles';
|
|
92
92
|
import { cropDark } from '../crop/styles';
|
|
93
|
+
import safeTopScrollbarDark from '../_internal/safe-top-scrollbar/styles/dark';
|
|
93
94
|
export const darkTheme = {
|
|
94
95
|
name: 'dark',
|
|
95
96
|
common: commonDark,
|
|
@@ -157,6 +158,7 @@ export const darkTheme = {
|
|
|
157
158
|
Result: resultDark,
|
|
158
159
|
Row: rowDark,
|
|
159
160
|
Scrollbar: scrollbarDark,
|
|
161
|
+
SafeTopScrollbar: safeTopScrollbarDark,
|
|
160
162
|
Select: selectDark,
|
|
161
163
|
Skeleton: skeletonDark,
|
|
162
164
|
Slider: sliderDark,
|
package/es/themes/light.js
CHANGED
|
@@ -92,6 +92,7 @@ import { inputOtpLight } from '../input-otp/styles';
|
|
|
92
92
|
import { chatLight } from '../chat/styles';
|
|
93
93
|
import { modalFullscreenLight } from '../modal-fullscreen/styles';
|
|
94
94
|
import { cropLight } from '../crop/styles';
|
|
95
|
+
import safeTopScrollbarLight from '../_internal/safe-top-scrollbar/styles/light';
|
|
95
96
|
export const lightTheme = {
|
|
96
97
|
name: 'light',
|
|
97
98
|
common: commonLight,
|
|
@@ -159,6 +160,7 @@ export const lightTheme = {
|
|
|
159
160
|
Row: rowLight,
|
|
160
161
|
Result: resultLight,
|
|
161
162
|
Scrollbar: scrollbarLight,
|
|
163
|
+
SafeTopScrollbar: safeTopScrollbarLight,
|
|
162
164
|
Skeleton: skeletonLight,
|
|
163
165
|
Select: selectLight,
|
|
164
166
|
Slider: sliderLight,
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.11.1";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.
|
|
1
|
+
export default '1.11.1';
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export { default as UBaseClear } from './clear';
|
|
|
18
18
|
export { default as UBaseSuffix } from './suffix';
|
|
19
19
|
export { UScrollbar, UxScrollbar } from './scrollbar';
|
|
20
20
|
export type { ScrollbarInst, ScrollbarProps } from './scrollbar';
|
|
21
|
+
export { USafeTopScrollbar, UxSafeTopScrollbar } from './safe-top-scrollbar';
|
|
22
|
+
export type { SafeTopScrollbarInst, SafeTopScrollbarProps } from './safe-top-scrollbar';
|
|
21
23
|
export { checkboxGroupInjectionKey, checkboxBaseProps, useCheckbox } from './checkbox';
|
|
22
24
|
export type { CheckboxBaseProps, UseCheckbox, OnUpdateChecked, OnUpdateCheckedImpl, CheckboxInst } from './checkbox';
|
|
23
25
|
export { radioBaseProps, radioGroupInjectionKey, useRadio } from './radio';
|