@maltjoy/core-vue 4.1.0 → 4.2.0

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 (28) hide show
  1. package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +8 -27
  2. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +16 -67
  3. package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +15 -63
  4. package/dist/components/JoyButton/VJoyButton.vue.d.ts +1 -1
  5. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +1 -1
  6. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +13 -3
  7. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +30 -10
  8. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +11 -1
  9. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +28 -8
  10. package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +2 -2
  11. package/dist/components/JoyInput/VJoyInput.vue.d.ts +9 -3
  12. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +14 -60
  13. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +0 -9
  14. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +7 -37
  15. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +13 -37
  16. package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
  17. package/dist/components.cjs +1 -1
  18. package/dist/components.js +2 -2
  19. package/dist/joy-core-vue-manifest.json +79 -1
  20. package/dist/main.cjs +1 -1
  21. package/dist/main.js +2 -2
  22. package/dist/style-C-vTPQ74.cjs +12 -0
  23. package/dist/style-DDAU_L91.js +7622 -0
  24. package/dist/style.css +1 -1
  25. package/package.json +18 -17
  26. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +0 -281
  27. package/dist/style-BLnk5g0D.js +0 -8353
  28. package/dist/style-Dy-ra_YN.cjs +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maltjoy/core-vue",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -27,12 +27,11 @@
27
27
  "dependencies": {
28
28
  "@floating-ui/dom": "1.5.3",
29
29
  "@floating-ui/vue": "^1.0.2",
30
- "@maltjoy/css": "4.1.0",
31
- "@maltjoy/icons": "4.1.0",
32
- "@maltjoy/themes": "4.1.0",
30
+ "@maltjoy/css": "4.2.0",
31
+ "@maltjoy/icons": "4.2.0",
32
+ "@maltjoy/themes": "4.2.0",
33
33
  "@vueuse/components": "10.8.0",
34
34
  "@vueuse/core": "10.8.0",
35
- "@vueuse/integrations": "10.5.0",
36
35
  "focus-trap": "^7.5.4",
37
36
  "mitt": "3.0.1",
38
37
  "vue": "3.5.13",
@@ -43,16 +42,18 @@
43
42
  "@babel/core": "7.20.12",
44
43
  "@chromatic-com/storybook": "^1",
45
44
  "@rushstack/eslint-patch": "^1.2.0",
46
- "@storybook/addon-a11y": "8.3.0",
47
- "@storybook/addon-docs": "8.3.0",
48
- "@storybook/addon-essentials": "8.3.0",
49
- "@storybook/addon-interactions": "8.3.0",
50
- "@storybook/addon-links": "8.3.0",
51
- "@storybook/addon-viewport": "8.3.0",
52
- "@storybook/theming": "8.3.0",
53
- "@storybook/vue3": "8.3.0",
54
- "@storybook/vue3-vite": "8.3.0",
45
+ "@storybook/addon-a11y": "8.6.0-alpha.1",
46
+ "@storybook/addon-docs": "8.6.0-alpha.1",
47
+ "@storybook/addon-essentials": "8.6.0-alpha.1",
48
+ "@storybook/addon-interactions": "8.6.0-alpha.1",
49
+ "@storybook/addon-links": "8.6.0-alpha.1",
50
+ "@storybook/addon-viewport": "8.6.0-alpha.1",
51
+ "@storybook/blocks": "8.6.0-alpha.1",
52
+ "@storybook/theming": "8.6.0-alpha.1",
53
+ "@storybook/vue3": "^8.6.0-alpha.1",
54
+ "@storybook/vue3-vite": "^8.6.0-alpha.1",
55
55
  "@typescript-eslint/parser": "5.59.11",
56
+ "@vitejs/plugin-react": "^4.3.4",
56
57
  "@vitejs/plugin-vue": "^4.0.0",
57
58
  "@vitest/coverage-istanbul": "^0.28.4",
58
59
  "@vue/runtime-core": "3.5.13",
@@ -66,12 +67,12 @@
66
67
  "prettier": "2.8.8",
67
68
  "pretty": "^2.0.0",
68
69
  "sass": "1.77.8",
69
- "storybook": "8.3.0",
70
+ "storybook": "8.6.0-alpha.1",
70
71
  "typescript": "5.3.3",
71
72
  "vite": "5.4.11",
72
73
  "vitest": "^0.28.4",
73
- "vue-tsc": "2.1.6",
74
- "vue-component-type-helpers": "2.2.0"
74
+ "vue-component-type-helpers": "2.2.0",
75
+ "vue-tsc": "2.1.6"
75
76
  },
76
77
  "scripts": {
77
78
  "dev": "pnpm prepare && vite",
@@ -1,281 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- /** VJoyBottomSheet ref. */
3
- bottomSheet: ({
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- closeLabel: string;
8
- open: boolean;
9
- preventBodyScroll: boolean;
10
- teleport: string | import("vue").RendererElement | null | undefined;
11
- frozen: boolean;
12
- }> & Omit<{
13
- readonly closeLabel: string;
14
- readonly open: boolean;
15
- readonly preventBodyScroll: boolean;
16
- readonly teleport: string | import("vue").RendererElement | null | undefined;
17
- readonly frozen: boolean;
18
- readonly "onBottom-sheet:close"?: (() => any) | undefined;
19
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
20
- $attrs: {
21
- [x: string]: unknown;
22
- };
23
- $refs: {
24
- [x: string]: unknown;
25
- };
26
- $slots: Readonly<{
27
- [name: string]: import("vue").Slot<any> | undefined;
28
- }>;
29
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
30
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
31
- $host: Element | null;
32
- $emit: (event: "bottom-sheet:close") => void;
33
- $el: any;
34
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
35
- closeLabel: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- open: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- preventBodyScroll: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- teleport: {
48
- type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
49
- default: string;
50
- };
51
- frozen: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- }>> & Readonly<{
56
- "onBottom-sheet:close"?: (() => any) | undefined;
57
- }>, {
58
- hide: () => void;
59
- show: () => void;
60
- isOpen: import("vue").Ref<boolean, boolean>;
61
- moveContainer: (translationY: number) => void;
62
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
63
- "bottom-sheet:close": () => any;
64
- }, string, {
65
- closeLabel: string;
66
- open: boolean;
67
- preventBodyScroll: boolean;
68
- teleport: string | import("vue").RendererElement | null | undefined;
69
- frozen: boolean;
70
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
71
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
72
- created?: ((() => void) | (() => void)[]) | undefined;
73
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
74
- mounted?: ((() => void) | (() => void)[]) | undefined;
75
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
76
- updated?: ((() => void) | (() => void)[]) | undefined;
77
- activated?: ((() => void) | (() => void)[]) | undefined;
78
- deactivated?: ((() => void) | (() => void)[]) | undefined;
79
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
80
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
81
- destroyed?: ((() => void) | (() => void)[]) | undefined;
82
- unmounted?: ((() => void) | (() => void)[]) | undefined;
83
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
84
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
85
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
86
- };
87
- $forceUpdate: () => void;
88
- $nextTick: typeof import("vue").nextTick;
89
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
90
- } & Readonly<{
91
- closeLabel: string;
92
- open: boolean;
93
- preventBodyScroll: boolean;
94
- teleport: string | import("vue").RendererElement | null | undefined;
95
- frozen: boolean;
96
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
97
- closeLabel: {
98
- type: StringConstructor;
99
- default: string;
100
- };
101
- open: {
102
- type: BooleanConstructor;
103
- default: boolean;
104
- };
105
- preventBodyScroll: {
106
- type: BooleanConstructor;
107
- default: boolean;
108
- };
109
- teleport: {
110
- type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
111
- default: string;
112
- };
113
- frozen: {
114
- type: BooleanConstructor;
115
- default: boolean;
116
- };
117
- }>> & Readonly<{
118
- "onBottom-sheet:close"?: (() => any) | undefined;
119
- }>, "hide" | "show" | "isOpen" | "moveContainer" | ("closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen")> & import("vue").ShallowUnwrapRef<{
120
- hide: () => void;
121
- show: () => void;
122
- isOpen: import("vue").Ref<boolean, boolean>;
123
- moveContainer: (translationY: number) => void;
124
- }> & {} & import("vue").ComponentCustomProperties & {} & {
125
- $slots: Readonly<{
126
- 'bottom-sheet-content': () => any;
127
- 'bottom-sheet-cta': () => any;
128
- }> & {
129
- 'bottom-sheet-content': () => any;
130
- 'bottom-sheet-cta': () => any;
131
- };
132
- }) | null | undefined;
133
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
134
- click: () => any;
135
- }, string, import("vue").PublicProps, Readonly<{
136
- /** VJoyBottomSheet ref. */
137
- bottomSheet: ({
138
- $: import("vue").ComponentInternalInstance;
139
- $data: {};
140
- $props: Partial<{
141
- closeLabel: string;
142
- open: boolean;
143
- preventBodyScroll: boolean;
144
- teleport: string | import("vue").RendererElement | null | undefined;
145
- frozen: boolean;
146
- }> & Omit<{
147
- readonly closeLabel: string;
148
- readonly open: boolean;
149
- readonly preventBodyScroll: boolean;
150
- readonly teleport: string | import("vue").RendererElement | null | undefined;
151
- readonly frozen: boolean;
152
- readonly "onBottom-sheet:close"?: (() => any) | undefined;
153
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
154
- $attrs: {
155
- [x: string]: unknown;
156
- };
157
- $refs: {
158
- [x: string]: unknown;
159
- };
160
- $slots: Readonly<{
161
- [name: string]: import("vue").Slot<any> | undefined;
162
- }>;
163
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
164
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
165
- $host: Element | null;
166
- $emit: (event: "bottom-sheet:close") => void;
167
- $el: any;
168
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
169
- closeLabel: {
170
- type: StringConstructor;
171
- default: string;
172
- };
173
- open: {
174
- type: BooleanConstructor;
175
- default: boolean;
176
- };
177
- preventBodyScroll: {
178
- type: BooleanConstructor;
179
- default: boolean;
180
- };
181
- teleport: {
182
- type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
183
- default: string;
184
- };
185
- frozen: {
186
- type: BooleanConstructor;
187
- default: boolean;
188
- };
189
- }>> & Readonly<{
190
- "onBottom-sheet:close"?: (() => any) | undefined;
191
- }>, {
192
- hide: () => void;
193
- show: () => void;
194
- isOpen: import("vue").Ref<boolean, boolean>;
195
- moveContainer: (translationY: number) => void;
196
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
197
- "bottom-sheet:close": () => any;
198
- }, string, {
199
- closeLabel: string;
200
- open: boolean;
201
- preventBodyScroll: boolean;
202
- teleport: string | import("vue").RendererElement | null | undefined;
203
- frozen: boolean;
204
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
205
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
206
- created?: ((() => void) | (() => void)[]) | undefined;
207
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
208
- mounted?: ((() => void) | (() => void)[]) | undefined;
209
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
210
- updated?: ((() => void) | (() => void)[]) | undefined;
211
- activated?: ((() => void) | (() => void)[]) | undefined;
212
- deactivated?: ((() => void) | (() => void)[]) | undefined;
213
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
214
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
215
- destroyed?: ((() => void) | (() => void)[]) | undefined;
216
- unmounted?: ((() => void) | (() => void)[]) | undefined;
217
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
218
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
219
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
220
- };
221
- $forceUpdate: () => void;
222
- $nextTick: typeof import("vue").nextTick;
223
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
224
- } & Readonly<{
225
- closeLabel: string;
226
- open: boolean;
227
- preventBodyScroll: boolean;
228
- teleport: string | import("vue").RendererElement | null | undefined;
229
- frozen: boolean;
230
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
231
- closeLabel: {
232
- type: StringConstructor;
233
- default: string;
234
- };
235
- open: {
236
- type: BooleanConstructor;
237
- default: boolean;
238
- };
239
- preventBodyScroll: {
240
- type: BooleanConstructor;
241
- default: boolean;
242
- };
243
- teleport: {
244
- type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
245
- default: string;
246
- };
247
- frozen: {
248
- type: BooleanConstructor;
249
- default: boolean;
250
- };
251
- }>> & Readonly<{
252
- "onBottom-sheet:close"?: (() => any) | undefined;
253
- }>, "hide" | "show" | "isOpen" | "moveContainer" | ("closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen")> & import("vue").ShallowUnwrapRef<{
254
- hide: () => void;
255
- show: () => void;
256
- isOpen: import("vue").Ref<boolean, boolean>;
257
- moveContainer: (translationY: number) => void;
258
- }> & {} & import("vue").ComponentCustomProperties & {} & {
259
- $slots: Readonly<{
260
- 'bottom-sheet-content': () => any;
261
- 'bottom-sheet-cta': () => any;
262
- }> & {
263
- 'bottom-sheet-content': () => any;
264
- 'bottom-sheet-cta': () => any;
265
- };
266
- }) | null | undefined;
267
- }> & Readonly<{
268
- onClick?: (() => any) | undefined;
269
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
270
- /** @slot Default slot where you can render anything you need. */
271
- default: () => any;
272
- }> & {
273
- /** @slot Default slot where you can render anything you need. */
274
- default: () => any;
275
- }>;
276
- export default _default;
277
- type __VLS_WithTemplateSlots<T, S> = T & {
278
- new (): {
279
- $slots: S;
280
- };
281
- };