@teammodlr/ui-kit 3.0.0-beta.30 → 3.0.0-beta.33
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/lib/components/dialog/style/Dialog.css.d.ts +2 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/paneldialog/PanelDialog.vue.d.ts +167 -0
- package/lib/components/paneldialog/style/PanelDialog.css.d.ts +8 -0
- package/lib/components/paneldialog/style/index.d.ts +1 -0
- package/lib/index.cjs.js +3 -3
- package/lib/index.es.js +5186 -5520
- package/lib/style.css +1 -1
- package/lib/tsconfig.app.tsbuildinfo +1 -0
- package/package.json +2 -2
- package/src/components/dialog/Dialog.vue +2 -1
- package/src/components/dialog/style/Dialog.css.ts +30 -0
- package/src/components/index.ts +2 -1
- package/src/components/paneldialog/PanelDialog.vue +500 -0
- package/src/components/paneldialog/examples/basic.vue +36 -0
- package/src/components/paneldialog/examples/index.stories.ts +22 -0
- package/src/components/paneldialog/examples/index.ts +2 -0
- package/src/components/paneldialog/examples/modal.vue +31 -0
- package/src/components/paneldialog/style/PanelDialog.css.ts +90 -0
- package/src/components/paneldialog/style/index.ts +1 -0
- package/lib/components/hovercard/HoverCard.vue.d.ts +0 -122
- package/lib/components/hovercard/style/HoverCard.css.d.ts +0 -3
- package/lib/components/hovercard/style/index.d.ts +0 -1
- package/src/components/hovercard/HoverCard.vue +0 -163
- package/src/components/hovercard/style/HoverCard.css.ts +0 -175
- package/src/components/hovercard/style/index.ts +0 -1
|
@@ -6,6 +6,8 @@ export declare const wrapper: string;
|
|
|
6
6
|
export declare const notModal: string;
|
|
7
7
|
export declare const dialog: string;
|
|
8
8
|
export declare const content: string;
|
|
9
|
+
export declare const dialogContent: string;
|
|
10
|
+
export declare const focusScope: string;
|
|
9
11
|
export declare const header: string;
|
|
10
12
|
export declare const draggable: string;
|
|
11
13
|
export declare const dragging: string;
|
|
@@ -51,8 +51,8 @@ export { default as MVirtualScroll } from './virtualscroll/VirtualScroll.vue';
|
|
|
51
51
|
export { default as MConfirm } from './confirm/Confirm.vue';
|
|
52
52
|
export { default as MConfirmProvider } from './confirm/ConfirmProvider.vue';
|
|
53
53
|
export { default as MDialog } from './dialog/Dialog.vue';
|
|
54
|
+
export { default as MPanelDialog } from './paneldialog/PanelDialog.vue';
|
|
54
55
|
export { default as MDialogProvider } from './dialogprovider/DialogProvider.vue';
|
|
55
56
|
export { default as MDrawer } from './drawer/Drawer.vue';
|
|
56
57
|
export { default as MTree } from './tree/Tree.vue';
|
|
57
58
|
export { default as MPopover } from './popover/Popover.vue';
|
|
58
|
-
export { default as MHoverCard } from './hovercard/HoverCard.vue';
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { type ComponentPublicInstance, type CSSProperties, type PropType } from 'vue';
|
|
2
|
+
import type { ComputedRef } from 'vue';
|
|
3
|
+
import * as style from './style';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
open: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
modal: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
width: {
|
|
14
|
+
type: PropType<number | string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
height: {
|
|
18
|
+
type: PropType<number | string>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
maxHeight: {
|
|
22
|
+
type: PropType<number | string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
draggable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
handleSelector: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
backdrop: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
backdropClass: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
panelClass: {
|
|
42
|
+
type: PropType<string | unknown[] | Record<string, unknown>>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
panelStyle: {
|
|
46
|
+
type: PropType<CSSProperties>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
zIndex: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
};
|
|
52
|
+
focusTrap: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
onClose: {
|
|
57
|
+
type: PropType<() => void>;
|
|
58
|
+
default: () => void;
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
dialogContent: import("vue").ShallowRef<HTMLElement | ComponentPublicInstance | null>;
|
|
62
|
+
panel: import("vue").Ref<HTMLElement | null>;
|
|
63
|
+
zIndex: import("vue").Ref<number>;
|
|
64
|
+
fade: {
|
|
65
|
+
enterActive: string;
|
|
66
|
+
leaveActive: string;
|
|
67
|
+
enterFrom: string;
|
|
68
|
+
leaveTo: string;
|
|
69
|
+
};
|
|
70
|
+
modalScale: {
|
|
71
|
+
enterActive: string;
|
|
72
|
+
leaveActive: string;
|
|
73
|
+
enterFrom: string;
|
|
74
|
+
leaveTo: string;
|
|
75
|
+
};
|
|
76
|
+
style: typeof style;
|
|
77
|
+
isOpen: ComputedRef<boolean>;
|
|
78
|
+
contentClasses: ComputedRef<string[]>;
|
|
79
|
+
contentStyle: ComputedRef<CSSProperties>;
|
|
80
|
+
focusScopeClasses: ComputedRef<string[]>;
|
|
81
|
+
panelComputedStyle: ComputedRef<CSSProperties>;
|
|
82
|
+
isDragging: import("vue").Ref<boolean>;
|
|
83
|
+
close: () => void;
|
|
84
|
+
handleAfterLeave: () => void;
|
|
85
|
+
handleEscapeKeyDown: (event: KeyboardEvent) => void;
|
|
86
|
+
handleOpenChange: (value: boolean) => void;
|
|
87
|
+
handleOpenAutoFocus: (event: Event) => void;
|
|
88
|
+
handleFocusOutside: (event: Event) => void;
|
|
89
|
+
onPanelPointerDown: (event: PointerEvent) => void;
|
|
90
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "update:open" | "close" | "onClose" | "onOpen")[], "open" | "update:open" | "close" | "onClose" | "onOpen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
open: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
modal: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
width: {
|
|
100
|
+
type: PropType<number | string>;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
height: {
|
|
104
|
+
type: PropType<number | string>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
maxHeight: {
|
|
108
|
+
type: PropType<number | string>;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
draggable: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
handleSelector: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
backdrop: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
backdropClass: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
panelClass: {
|
|
128
|
+
type: PropType<string | unknown[] | Record<string, unknown>>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
panelStyle: {
|
|
132
|
+
type: PropType<CSSProperties>;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
zIndex: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
};
|
|
138
|
+
focusTrap: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
onClose: {
|
|
143
|
+
type: PropType<() => void>;
|
|
144
|
+
default: () => void;
|
|
145
|
+
};
|
|
146
|
+
}>> & {
|
|
147
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
onOnOpen?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
height: string | number;
|
|
154
|
+
maxHeight: string | number;
|
|
155
|
+
width: string | number;
|
|
156
|
+
open: boolean;
|
|
157
|
+
modal: boolean;
|
|
158
|
+
onClose: () => void;
|
|
159
|
+
focusTrap: boolean;
|
|
160
|
+
draggable: boolean;
|
|
161
|
+
handleSelector: string;
|
|
162
|
+
backdrop: boolean;
|
|
163
|
+
backdropClass: string;
|
|
164
|
+
panelClass: string | unknown[] | Record<string, unknown>;
|
|
165
|
+
panelStyle: CSSProperties;
|
|
166
|
+
}, {}>;
|
|
167
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const backdrop: string;
|
|
2
|
+
export declare const dialogContent: string;
|
|
3
|
+
export declare const dialogContentModal: string;
|
|
4
|
+
export declare const dialogContentNonModal: string;
|
|
5
|
+
export declare const focusScope: string;
|
|
6
|
+
export declare const focusScopeNonModal: string;
|
|
7
|
+
export declare const focusScopeModal: string;
|
|
8
|
+
export declare const panel: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PanelDialog.css';
|