@nuxt/ui 2.9.0 → 2.11.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.
- package/README.md +11 -0
- package/dist/module.d.mts +449 -72
- package/dist/module.d.ts +449 -72
- package/dist/module.json +1 -1
- package/dist/module.mjs +32 -6
- package/dist/runtime/components/data/Table.vue +8 -6
- package/dist/runtime/components/data/Table.vue.d.ts +2 -1
- package/dist/runtime/components/elements/Accordion.vue +15 -13
- package/dist/runtime/components/elements/Accordion.vue.d.ts +5 -2
- package/dist/runtime/components/elements/Alert.vue +7 -6
- package/dist/runtime/components/elements/Alert.vue.d.ts +6 -5
- package/dist/runtime/components/elements/Avatar.vue.d.ts +5 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +4 -3
- package/dist/runtime/components/elements/Badge.vue +4 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Button.vue +8 -6
- package/dist/runtime/components/elements/Button.vue.d.ts +7 -7
- package/dist/runtime/components/elements/ButtonGroup.d.ts +5 -4
- package/dist/runtime/components/elements/ButtonGroup.mjs +19 -32
- package/dist/runtime/components/elements/Chip.vue +85 -0
- package/dist/runtime/components/elements/Chip.vue.d.ts +90 -0
- package/dist/runtime/components/elements/Dropdown.vue +45 -25
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +8 -0
- package/dist/runtime/components/elements/Icon.vue +16 -2
- package/dist/runtime/components/elements/Icon.vue.d.ts +14 -2
- package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -4
- package/dist/runtime/components/elements/Link.vue +2 -5
- package/dist/runtime/components/elements/Meter.vue +166 -0
- package/dist/runtime/components/elements/Meter.vue.d.ts +123 -0
- package/dist/runtime/components/elements/MeterGroup.d.ts +78 -0
- package/dist/runtime/components/elements/MeterGroup.mjs +172 -0
- package/dist/runtime/components/elements/Progress.vue +284 -0
- package/dist/runtime/components/elements/Progress.vue.d.ts +2 -0
- package/dist/runtime/components/forms/Checkbox.vue +2 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Form.vue +32 -7
- package/dist/runtime/components/forms/Form.vue.d.ts +2 -1
- package/dist/runtime/components/forms/FormGroup.vue +7 -3
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +15 -5
- package/dist/runtime/components/forms/Input.vue +41 -6
- package/dist/runtime/components/forms/Input.vue.d.ts +42 -10
- package/dist/runtime/components/forms/Radio.vue +16 -9
- package/dist/runtime/components/forms/Radio.vue.d.ts +8 -7
- package/dist/runtime/components/forms/RadioGroup.vue +136 -0
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +118 -0
- package/dist/runtime/components/forms/Range.vue.d.ts +8 -7
- package/dist/runtime/components/forms/Select.vue +5 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +10 -9
- package/dist/runtime/components/forms/SelectMenu.vue +80 -58
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +23 -13
- package/dist/runtime/components/forms/Textarea.vue +38 -4
- package/dist/runtime/components/forms/Textarea.vue.d.ts +41 -9
- package/dist/runtime/components/forms/Toggle.vue +19 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +16 -3
- package/dist/runtime/components/layout/Divider.vue +107 -0
- package/dist/runtime/components/layout/Divider.vue.d.ts +82 -0
- package/dist/runtime/components/navigation/Breadcrumb.vue +78 -0
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +50 -0
- package/dist/runtime/components/navigation/CommandPalette.vue +18 -7
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/Pagination.vue +65 -9
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +45 -7
- package/dist/runtime/components/navigation/Tabs.vue +1 -1
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue +7 -2
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +2 -1
- package/dist/runtime/components/overlays/Modal.vue +1 -1
- package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notification.vue +32 -27
- package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
- package/dist/runtime/components/overlays/Notifications.vue +16 -14
- package/dist/runtime/components/overlays/Popover.vue +31 -7
- package/dist/runtime/components/overlays/Popover.vue.d.ts +27 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Tooltip.vue +16 -10
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.mjs +8 -4
- package/dist/runtime/composables/useButtonGroup.d.ts +20 -0
- package/dist/runtime/composables/useButtonGroup.mjs +52 -0
- package/dist/runtime/composables/useFormGroup.d.ts +6 -4
- package/dist/runtime/composables/useFormGroup.mjs +19 -7
- package/dist/runtime/composables/usePopper.d.ts +3 -3
- package/dist/runtime/composables/usePopper.mjs +7 -1
- package/dist/runtime/composables/useShortcuts.d.ts +2 -2
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.mjs +2 -2
- package/dist/runtime/types/alert.d.ts +7 -0
- package/dist/runtime/types/avatar.d.ts +3 -1
- package/dist/runtime/types/badge.d.ts +5 -4
- package/dist/runtime/types/breadcrumb.d.ts +7 -0
- package/dist/runtime/types/button.d.ts +5 -4
- package/dist/runtime/types/chip.d.ts +11 -0
- package/dist/runtime/types/command-palette.d.ts +1 -0
- package/dist/runtime/types/dropdown.d.ts +2 -2
- package/dist/runtime/types/form-group.d.ts +5 -0
- package/dist/runtime/types/form.d.ts +14 -6
- package/dist/runtime/types/index.d.ts +12 -0
- package/dist/runtime/types/input.d.ts +8 -0
- package/dist/runtime/types/kbd.d.ts +5 -0
- package/dist/runtime/types/meter.d.ts +5 -0
- package/dist/runtime/types/popper.d.ts +1 -0
- package/dist/runtime/types/progress.d.ts +4 -0
- package/dist/runtime/types/range.d.ts +5 -0
- package/dist/runtime/types/select.d.ts +8 -0
- package/dist/runtime/types/textarea.d.ts +8 -0
- package/dist/runtime/types/toggle.d.ts +5 -0
- package/dist/runtime/types/utils.d.ts +22 -5
- package/dist/runtime/ui.config/_popperArrow.d.ts +9 -0
- package/dist/runtime/ui.config/_popperArrow.mjs +8 -0
- package/dist/runtime/ui.config/data/table.d.ts +60 -0
- package/dist/runtime/ui.config/data/table.mjs +59 -0
- package/dist/runtime/ui.config/elements/accordion.d.ts +21 -0
- package/dist/runtime/ui.config/elements/accordion.mjs +20 -0
- package/dist/runtime/ui.config/elements/alert.d.ts +40 -0
- package/dist/runtime/ui.config/elements/alert.mjs +39 -0
- package/dist/runtime/ui.config/elements/avatar.d.ts +60 -0
- package/dist/runtime/ui.config/elements/avatar.mjs +59 -0
- package/dist/runtime/ui.config/elements/avatarGroup.d.ts +6 -0
- package/dist/runtime/ui.config/elements/avatarGroup.mjs +5 -0
- package/dist/runtime/ui.config/elements/badge.d.ts +34 -0
- package/dist/runtime/ui.config/elements/badge.mjs +33 -0
- package/dist/runtime/ui.config/elements/button.d.ts +77 -0
- package/dist/runtime/ui.config/elements/button.mjs +76 -0
- package/dist/runtime/ui.config/elements/buttonGroup.d.ts +9 -0
- package/dist/runtime/ui.config/elements/buttonGroup.mjs +8 -0
- package/dist/runtime/ui.config/elements/chip.d.ts +35 -0
- package/dist/runtime/ui.config/elements/chip.mjs +34 -0
- package/dist/runtime/ui.config/elements/dropdown.d.ts +53 -0
- package/dist/runtime/ui.config/elements/dropdown.mjs +51 -0
- package/dist/runtime/ui.config/elements/kbd.d.ts +17 -0
- package/dist/runtime/ui.config/elements/kbd.mjs +16 -0
- package/dist/runtime/ui.config/elements/meter.d.ts +77 -0
- package/dist/runtime/ui.config/elements/meter.mjs +76 -0
- package/dist/runtime/ui.config/elements/meterGroup.d.ts +12 -0
- package/dist/runtime/ui.config/elements/meterGroup.mjs +11 -0
- package/dist/runtime/ui.config/elements/progress.d.ts +75 -0
- package/dist/runtime/ui.config/elements/progress.mjs +74 -0
- package/dist/runtime/ui.config/forms/checkbox.d.ts +16 -0
- package/dist/runtime/ui.config/forms/checkbox.mjs +15 -0
- package/dist/runtime/ui.config/forms/formGroup.d.ts +25 -0
- package/dist/runtime/ui.config/forms/formGroup.mjs +25 -0
- package/dist/runtime/ui.config/forms/input.d.ts +105 -0
- package/dist/runtime/ui.config/forms/input.mjs +104 -0
- package/dist/runtime/ui.config/forms/radio.d.ts +15 -0
- package/dist/runtime/ui.config/forms/radio.mjs +14 -0
- package/dist/runtime/ui.config/forms/radioGroup.d.ts +8 -0
- package/dist/runtime/ui.config/forms/radioGroup.mjs +7 -0
- package/dist/runtime/ui.config/forms/range.d.ts +64 -0
- package/dist/runtime/ui.config/forms/range.mjs +63 -0
- package/dist/runtime/ui.config/forms/select.d.ts +106 -0
- package/dist/runtime/ui.config/forms/select.mjs +12 -0
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +63 -0
- package/dist/runtime/ui.config/forms/selectMenu.mjs +61 -0
- package/dist/runtime/ui.config/forms/textarea.d.ts +104 -0
- package/dist/runtime/ui.config/forms/textarea.mjs +9 -0
- package/dist/runtime/ui.config/forms/toggle.d.ts +61 -0
- package/dist/runtime/ui.config/forms/toggle.mjs +60 -0
- package/dist/runtime/ui.config/index.d.ts +40 -0
- package/dist/runtime/ui.config/index.mjs +40 -0
- package/dist/runtime/ui.config/layout/card.d.ts +24 -0
- package/dist/runtime/ui.config/layout/card.mjs +23 -0
- package/dist/runtime/ui.config/layout/container.d.ts +6 -0
- package/dist/runtime/ui.config/layout/container.mjs +5 -0
- package/dist/runtime/ui.config/layout/divider.d.ts +30 -0
- package/dist/runtime/ui.config/layout/divider.mjs +29 -0
- package/dist/runtime/ui.config/layout/skeleton.d.ts +6 -0
- package/dist/runtime/ui.config/layout/skeleton.mjs +5 -0
- package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +20 -0
- package/dist/runtime/ui.config/navigation/breadcrumb.mjs +19 -0
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +68 -0
- package/dist/runtime/ui.config/navigation/commandPalette.mjs +67 -0
- package/dist/runtime/ui.config/navigation/pagination.d.ts +35 -0
- package/dist/runtime/ui.config/navigation/pagination.mjs +34 -0
- package/dist/runtime/ui.config/navigation/tabs.d.ts +34 -0
- package/dist/runtime/ui.config/navigation/tabs.mjs +33 -0
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +28 -0
- package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +27 -0
- package/dist/runtime/ui.config/overlays/contextMenu.d.ts +31 -0
- package/dist/runtime/ui.config/overlays/contextMenu.mjs +25 -0
- package/dist/runtime/ui.config/overlays/modal.d.ts +35 -0
- package/dist/runtime/ui.config/overlays/modal.mjs +36 -0
- package/dist/runtime/ui.config/overlays/notification.d.ts +49 -0
- package/dist/runtime/ui.config/overlays/notification.mjs +49 -0
- package/dist/runtime/ui.config/overlays/notifications.d.ts +7 -0
- package/dist/runtime/ui.config/overlays/notifications.mjs +6 -0
- package/dist/runtime/ui.config/overlays/popover.d.ts +42 -0
- package/dist/runtime/ui.config/overlays/popover.mjs +36 -0
- package/dist/runtime/ui.config/overlays/slideover.d.ts +27 -0
- package/dist/runtime/ui.config/overlays/slideover.mjs +28 -0
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +32 -0
- package/dist/runtime/ui.config/overlays/tooltip.mjs +26 -0
- package/dist/runtime/utils/index.d.ts +5 -0
- package/dist/runtime/utils/index.mjs +6 -2
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +41 -28
- package/dist/runtime/ui.config.d.ts +0 -1207
- package/dist/runtime/ui.config.mjs +0 -1029
- package/dist/runtime/utils/StateEmitter.d.ts +0 -17
- package/dist/runtime/utils/StateEmitter.mjs +0 -21
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "fixed inset-0 flex z-50",
|
|
3
|
+
overlay: {
|
|
4
|
+
base: "fixed inset-0 transition-opacity",
|
|
5
|
+
background: "bg-gray-200/75 dark:bg-gray-800/75",
|
|
6
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
7
|
+
transition: {
|
|
8
|
+
enter: "ease-in-out duration-500",
|
|
9
|
+
enterFrom: "opacity-0",
|
|
10
|
+
enterTo: "opacity-100",
|
|
11
|
+
leave: "ease-in-out duration-500",
|
|
12
|
+
leaveFrom: "opacity-100",
|
|
13
|
+
leaveTo: "opacity-0"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
base: "relative flex-1 flex flex-col w-full focus:outline-none",
|
|
17
|
+
background: "bg-white dark:bg-gray-900",
|
|
18
|
+
ring: "",
|
|
19
|
+
rounded: "",
|
|
20
|
+
padding: "",
|
|
21
|
+
shadow: "shadow-xl",
|
|
22
|
+
width: "w-screen max-w-md",
|
|
23
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
24
|
+
transition: {
|
|
25
|
+
enter: "transform transition ease-in-out duration-300",
|
|
26
|
+
leave: "transform transition ease-in-out duration-200"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
container: string;
|
|
4
|
+
width: string;
|
|
5
|
+
background: string;
|
|
6
|
+
color: string;
|
|
7
|
+
shadow: string;
|
|
8
|
+
rounded: string;
|
|
9
|
+
ring: string;
|
|
10
|
+
base: string;
|
|
11
|
+
shortcuts: string;
|
|
12
|
+
transition: {
|
|
13
|
+
enterActiveClass: string;
|
|
14
|
+
enterFromClass: string;
|
|
15
|
+
enterToClass: string;
|
|
16
|
+
leaveActiveClass: string;
|
|
17
|
+
leaveFromClass: string;
|
|
18
|
+
leaveToClass: string;
|
|
19
|
+
};
|
|
20
|
+
popper: {
|
|
21
|
+
strategy: string;
|
|
22
|
+
};
|
|
23
|
+
arrow: {
|
|
24
|
+
base: string;
|
|
25
|
+
ring: string;
|
|
26
|
+
rounded: string;
|
|
27
|
+
background: string;
|
|
28
|
+
shadow: string;
|
|
29
|
+
placement: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import arrow from "../_popperArrow.mjs";
|
|
2
|
+
export default {
|
|
3
|
+
wrapper: "relative inline-flex",
|
|
4
|
+
container: "z-20 group",
|
|
5
|
+
width: "max-w-xs",
|
|
6
|
+
background: "bg-white dark:bg-gray-900",
|
|
7
|
+
color: "text-gray-900 dark:text-white",
|
|
8
|
+
shadow: "shadow",
|
|
9
|
+
rounded: "rounded",
|
|
10
|
+
ring: "ring-1 ring-gray-200 dark:ring-gray-800",
|
|
11
|
+
base: "[@media(pointer:coarse)]:hidden h-6 px-2 py-1 text-xs font-normal truncate relative",
|
|
12
|
+
shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5",
|
|
13
|
+
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
|
14
|
+
transition: {
|
|
15
|
+
enterActiveClass: "transition ease-out duration-200",
|
|
16
|
+
enterFromClass: "opacity-0 translate-y-1",
|
|
17
|
+
enterToClass: "opacity-100 translate-y-0",
|
|
18
|
+
leaveActiveClass: "transition ease-in duration-150",
|
|
19
|
+
leaveFromClass: "opacity-100 translate-y-0",
|
|
20
|
+
leaveToClass: "opacity-0 translate-y-1"
|
|
21
|
+
},
|
|
22
|
+
popper: {
|
|
23
|
+
strategy: "fixed"
|
|
24
|
+
},
|
|
25
|
+
arrow
|
|
26
|
+
};
|
|
@@ -2,4 +2,9 @@ import type { Strategy } from '../types';
|
|
|
2
2
|
export declare function mergeConfig<T>(strategy: Strategy, ...configs: any[]): T;
|
|
3
3
|
export declare function hexToRgb(hex: string): string | null;
|
|
4
4
|
export declare function getSlotsChildren(slots: any): any;
|
|
5
|
+
/**
|
|
6
|
+
* "123-foo" will be parsed to 123
|
|
7
|
+
* This is used for the .number modifier in v-model
|
|
8
|
+
*/
|
|
9
|
+
export declare function looseToNumber(val: any): any;
|
|
5
10
|
export * from './lodash';
|
|
@@ -27,7 +27,7 @@ export function hexToRgb(hex) {
|
|
|
27
27
|
}
|
|
28
28
|
export function getSlotsChildren(slots) {
|
|
29
29
|
let children = slots.default?.();
|
|
30
|
-
if (children
|
|
30
|
+
if (children?.length) {
|
|
31
31
|
children = children.flatMap((c) => {
|
|
32
32
|
if (typeof c.type === "symbol") {
|
|
33
33
|
if (typeof c.children === "string") {
|
|
@@ -40,6 +40,10 @@ export function getSlotsChildren(slots) {
|
|
|
40
40
|
return c;
|
|
41
41
|
}).filter(Boolean);
|
|
42
42
|
}
|
|
43
|
-
return children;
|
|
43
|
+
return children || [];
|
|
44
|
+
}
|
|
45
|
+
export function looseToNumber(val) {
|
|
46
|
+
const n = parseFloat(val);
|
|
47
|
+
return isNaN(n) ? val : n;
|
|
44
48
|
}
|
|
45
49
|
export * from "./lodash.mjs";
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModuleOptions } from './module'
|
|
2
|
+
import type { ModuleOptions } from './module'
|
|
3
|
+
|
|
3
4
|
|
|
4
5
|
declare module '@nuxt/schema' {
|
|
5
6
|
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
export { accordion, alert, avatar, avatarGroup, badge, button, buttonGroup, card, checkbox, commandPalette, container, contextMenu, dropdown, formGroup, input, kbd, modal, notification, notifications, pagination, popover, radio, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
|
16
|
+
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, input, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModuleOptions } from './module'
|
|
2
|
+
import type { ModuleOptions } from './module'
|
|
3
|
+
|
|
3
4
|
|
|
4
5
|
declare module '@nuxt/schema' {
|
|
5
6
|
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
export { accordion, alert, avatar, avatarGroup, badge, button, buttonGroup, card, checkbox, commandPalette, container, contextMenu, dropdown, formGroup, input, kbd, modal, notification, notifications, pagination, popover, radio, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
|
16
|
+
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, input, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"repository": "
|
|
3
|
+
"version": "2.11.0",
|
|
4
|
+
"repository": "nuxt/ui",
|
|
5
|
+
"homepage": "https://ui.nuxt.com",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"exports": {
|
|
7
8
|
".": {
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"node": ">=v16.20.2"
|
|
19
20
|
},
|
|
20
21
|
"scripts": {
|
|
21
|
-
"build": "nuxt-module-build",
|
|
22
|
+
"build": "nuxt-module-build build",
|
|
22
23
|
"prepack": "pnpm build",
|
|
23
24
|
"dev": "nuxi dev docs",
|
|
24
25
|
"play": "nuxi dev playground",
|
|
@@ -26,46 +27,58 @@
|
|
|
26
27
|
"lint": "eslint .",
|
|
27
28
|
"lint:fix": "eslint . --fix",
|
|
28
29
|
"typecheck": "vue-tsc --noEmit && nuxi typecheck docs",
|
|
29
|
-
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare docs",
|
|
30
|
-
"release": "release-it"
|
|
30
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
|
|
31
|
+
"release": "release-it",
|
|
32
|
+
"test": "vitest"
|
|
31
33
|
},
|
|
32
34
|
"dependencies": {
|
|
33
|
-
"@egoist/tailwindcss-icons": "^1.
|
|
35
|
+
"@egoist/tailwindcss-icons": "^1.4.0",
|
|
34
36
|
"@headlessui/tailwindcss": "^0.2.0",
|
|
35
37
|
"@headlessui/vue": "^1.7.16",
|
|
36
|
-
"@iconify-json/heroicons": "^1.1.
|
|
37
|
-
"@nuxt/kit": "^3.
|
|
38
|
-
"@nuxtjs/color-mode": "^3.3.
|
|
39
|
-
"@nuxtjs/tailwindcss": "^6.
|
|
38
|
+
"@iconify-json/heroicons": "^1.1.13",
|
|
39
|
+
"@nuxt/kit": "^3.8.2",
|
|
40
|
+
"@nuxtjs/color-mode": "^3.3.2",
|
|
41
|
+
"@nuxtjs/tailwindcss": "^6.10.0",
|
|
40
42
|
"@popperjs/core": "^2.11.8",
|
|
41
43
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
42
44
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
43
|
-
"@tailwindcss/forms": "^0.5.
|
|
45
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
44
46
|
"@tailwindcss/typography": "^0.5.10",
|
|
45
|
-
"@vueuse/core": "^10.
|
|
46
|
-
"@vueuse/integrations": "^10.
|
|
47
|
-
"@vueuse/math": "^10.
|
|
48
|
-
"defu": "^6.1.
|
|
47
|
+
"@vueuse/core": "^10.6.1",
|
|
48
|
+
"@vueuse/integrations": "^10.6.1",
|
|
49
|
+
"@vueuse/math": "^10.6.1",
|
|
50
|
+
"defu": "^6.1.3",
|
|
49
51
|
"fuse.js": "^6.6.2",
|
|
52
|
+
"nuxt-icon": "^0.6.6",
|
|
50
53
|
"ohash": "^1.1.3",
|
|
51
54
|
"pathe": "^1.1.1",
|
|
52
|
-
"scule": "^1.
|
|
55
|
+
"scule": "^1.1.0",
|
|
53
56
|
"tailwind-merge": "^1.14.0",
|
|
54
|
-
"tailwindcss": "^3.3.
|
|
57
|
+
"tailwindcss": "^3.3.5"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
60
|
"@nuxt/eslint-config": "^0.2.0",
|
|
58
|
-
"@nuxt/module-builder": "^0.5.
|
|
59
|
-
"@release-it/conventional-changelog": "^
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
61
|
+
"@nuxt/module-builder": "^0.5.4",
|
|
62
|
+
"@release-it/conventional-changelog": "^8.0.1",
|
|
63
|
+
"@testing-library/vue": "^8.0.1",
|
|
64
|
+
"@vitejs/plugin-vue": "^4.5.0",
|
|
65
|
+
"eslint": "^8.54.0",
|
|
66
|
+
"happy-dom": "^12.10.3",
|
|
67
|
+
"joi": "^17.11.0",
|
|
68
|
+
"nuxt": "^3.8.2",
|
|
69
|
+
"nuxt-vitest": "^0.11.5",
|
|
70
|
+
"release-it": "^17.0.0",
|
|
71
|
+
"typescript": "^5.3.2",
|
|
65
72
|
"unbuild": "^2.0.0",
|
|
66
|
-
"valibot": "^0.
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
73
|
+
"valibot": "^0.21.0",
|
|
74
|
+
"vitest": "^0.33.0",
|
|
75
|
+
"vue-tsc": "^1.8.22",
|
|
76
|
+
"yup": "^1.3.2",
|
|
77
|
+
"zod": "^3.22.4"
|
|
78
|
+
},
|
|
79
|
+
"resolutions": {
|
|
80
|
+
"@nuxt/kit": "3.8.2",
|
|
81
|
+
"@nuxt/schema": "3.8.2",
|
|
82
|
+
"vue": "3.3.8"
|
|
70
83
|
}
|
|
71
84
|
}
|