nuxt-hs-ui 4.0.0-beta.2 → 4.0.0-beta.3

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/module.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "compatibility": {
8
8
  "nuxt": ">=4.0.0"
9
9
  },
10
- "version": "4.0.0-beta.2",
10
+ "version": "4.0.0-beta.3",
11
11
  "builder": {
12
12
  "@nuxt/module-builder": "1.0.2",
13
13
  "unbuild": "3.6.0"
@@ -0,0 +1,69 @@
1
+ import { type ClassType } from '../../utils/class-style.js';
2
+ import { type ThemeColor } from '../../utils/theme.js';
3
+ export interface Props {
4
+ class?: ClassType;
5
+ classInner?: ClassType;
6
+ classOverlay?: ClassType;
7
+ disabled?: boolean;
8
+ to?: string;
9
+ theme?: ThemeColor;
10
+ variant?: 'outlined' | 'flat' | 'text';
11
+ textWrap?: boolean;
12
+ textAlign?: 'left' | 'center' | 'right';
13
+ loading?: boolean;
14
+ noneFocusLine?: boolean;
15
+ wrap?: boolean;
16
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
17
+ }
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
21
+ el: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ blur: (e: {
24
+ elm: HTMLElement;
25
+ id: string;
26
+ }) => any;
27
+ click: (e: Event) => any;
28
+ focus: (e: {
29
+ elm: HTMLElement;
30
+ id: string;
31
+ }) => any;
32
+ id: (id: string) => any;
33
+ ref: (element: HTMLElement) => any;
34
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
35
+ onBlur?: ((e: {
36
+ elm: HTMLElement;
37
+ id: string;
38
+ }) => any) | undefined;
39
+ onClick?: ((e: Event) => any) | undefined;
40
+ onFocus?: ((e: {
41
+ elm: HTMLElement;
42
+ id: string;
43
+ }) => any) | undefined;
44
+ onId?: ((id: string) => any) | undefined;
45
+ onRef?: ((element: HTMLElement) => any) | undefined;
46
+ }>, {
47
+ theme: ThemeColor;
48
+ size: "xs" | "s" | "m" | "l" | "xl";
49
+ variant: "outlined" | "flat" | "text";
50
+ to: string;
51
+ disabled: boolean;
52
+ loading: boolean;
53
+ class: ClassType;
54
+ classInner: ClassType;
55
+ textAlign: "left" | "center" | "right";
56
+ wrap: boolean;
57
+ classOverlay: ClassType;
58
+ textWrap: boolean;
59
+ noneFocusLine: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
61
+ default?: (props: {}) => any;
62
+ } & {
63
+ default?: (props: {}) => any;
64
+ }>;
65
+ type __VLS_WithSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,41 @@
1
+ import { type ClassType } from '../../utils/class-style.js';
2
+ import { type ThemeColor } from '../../utils/theme.js';
3
+ export interface Props {
4
+ class?: ClassType;
5
+ variant?: 'header' | 'body' | 'footer';
6
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
7
+ accordion?: boolean | undefined;
8
+ theme?: ThemeColor | undefined;
9
+ scroll?: boolean;
10
+ open?: boolean | undefined;
11
+ cross?: boolean;
12
+ }
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ toggle: () => any;
17
+ ref: (e: HTMLElement) => any;
18
+ "update:open": (value: boolean) => any;
19
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
+ onToggle?: (() => any) | undefined;
21
+ onRef?: ((e: HTMLElement) => any) | undefined;
22
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
23
+ }>, {
24
+ scroll: boolean;
25
+ theme: ThemeColor;
26
+ size: "xs" | "s" | "m" | "l" | "xl";
27
+ variant: "header" | "body" | "footer";
28
+ class: ClassType;
29
+ open: boolean;
30
+ accordion: boolean;
31
+ cross: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
33
+ default?: (props: {}) => any;
34
+ } & {
35
+ default?: (props: {}) => any;
36
+ }>;
37
+ type __VLS_WithSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
package/package.json CHANGED
@@ -1,99 +1,99 @@
1
- {
2
- "name": "nuxt-hs-ui",
3
- "version": "4.0.0-beta.2",
4
- "description": "This repository is dedicated to the ongoing migration of **nuxt-hs-ui** to **Nuxt 4**",
5
- "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui-next",
6
- "license": "MIT",
7
- "author": {
8
- "name": "Ryo@Hare-Systems",
9
- "email": "admin@hare-systems.net"
10
- },
11
- "type": "module",
12
- "exports": {
13
- ".": {
14
- "types": "./dist/types.d.mts",
15
- "import": "./dist/module.mjs"
16
- },
17
- "./utils/tailwindcss": {
18
- "types": "./dist/runtime/assets/tailwind.config.d.ts",
19
- "import": "./dist/runtime/assets/tailwind.config.js",
20
- "require": "./dist/runtime/assets/tailwind.config.js"
21
- },
22
- "./utils/*": {
23
- "types": "./dist/runtime/utils/*.d.ts",
24
- "import": "./dist/runtime/utils/*.js",
25
- "default": "./dist/runtime/utils/*.js"
26
- }
27
- },
28
- "main": "./dist/module.mjs",
29
- "typesVersions": {
30
- "*": {
31
- ".": [
32
- "./dist/types.d.mts"
33
- ]
34
- }
35
- },
36
- "files": [
37
- "dist"
38
- ],
39
- "volta": {
40
- "node": "22.22.2",
41
- "npm": "10.9.7"
42
- },
43
- "scripts": {
44
- "prepack": "nuxt-module-build build --failOnWarn=false",
45
- "dev": "npm run dev:prepare && nuxi dev playground",
46
- "dev:build": "nuxi build playground",
47
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
48
- "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
49
- "release-beta": "npm run lint && npm run test && npm run prepack && npm publish --tag beta && git push --follow-tags",
50
- "lint": "eslint .",
51
- "test": "vitest run",
52
- "test:watch": "vitest watch",
53
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
54
- },
55
- "peerDependencies": {
56
- "@vueuse/nuxt": "^14.3.0",
57
- "sass-embedded": "^1.89.2"
58
- },
59
- "dependencies": {
60
- "@nuxt/kit": "^4.4.8",
61
- "@pinia/nuxt": "^0.11.3",
62
- "@vueuse/core": "^14.3.0",
63
- "@vueuse/integrations": "^14.3.0",
64
- "bignumber.js": "^9.3.1",
65
- "body-scroll-lock": "^4.0.0-beta.0",
66
- "dayjs": "^1.11.21",
67
- "flatpickr": "^4.6.13",
68
- "focus-trap": "^7.6.6",
69
- "pinia": "^3.0.4",
70
- "pinia-plugin-persistedstate": "^4.7.1",
71
- "tabulator-tables": "^6.4.0",
72
- "tailwind-merge": "^3.4.0",
73
- "tailwind-variants": "^3.2.2",
74
- "tailwindcss": "^4.1.18",
75
- "vue-select": "^4.0.0-beta.6"
76
- },
77
- "devDependencies": {
78
- "@nuxt/devtools": "^3.2.4",
79
- "@nuxt/eslint": "^1.16.0",
80
- "@nuxt/eslint-config": "^1.16.0",
81
- "@nuxt/image": "^2.0.0",
82
- "@nuxt/module-builder": "^1.0.2",
83
- "@nuxt/schema": "^4.4.8",
84
- "@nuxt/test-utils": "^3.21.0",
85
- "@nuxt/ui": "^4.8.2",
86
- "@types/body-scroll-lock": "^3.1.2",
87
- "@types/node": "latest",
88
- "@types/tabulator-tables": "^6.3.4",
89
- "@types/vue-select": "^3.16.8",
90
- "changelogen": "^0.6.2",
91
- "eslint": "^10.5.0",
92
- "npm": "^11.17.0",
93
- "nuxt": "^4.4.8",
94
- "sass": "^1.97.0",
95
- "typescript": "~5.9.3",
96
- "vitest": "^3.2.4",
97
- "vue-tsc": "^3.1.8"
98
- }
99
- }
1
+ {
2
+ "name": "nuxt-hs-ui",
3
+ "version": "4.0.0-beta.3",
4
+ "description": "This repository is dedicated to the ongoing migration of **nuxt-hs-ui** to **Nuxt 4**",
5
+ "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui-next",
6
+ "license": "MIT",
7
+ "author": {
8
+ "name": "Ryo@Hare-Systems",
9
+ "email": "admin@hare-systems.net"
10
+ },
11
+ "type": "module",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/types.d.mts",
15
+ "import": "./dist/module.mjs"
16
+ },
17
+ "./utils/tailwindcss": {
18
+ "types": "./dist/runtime/assets/tailwind.config.d.ts",
19
+ "import": "./dist/runtime/assets/tailwind.config.js",
20
+ "require": "./dist/runtime/assets/tailwind.config.js"
21
+ },
22
+ "./utils/*": {
23
+ "types": "./dist/runtime/utils/*.d.ts",
24
+ "import": "./dist/runtime/utils/*.js",
25
+ "default": "./dist/runtime/utils/*.js"
26
+ }
27
+ },
28
+ "main": "./dist/module.mjs",
29
+ "typesVersions": {
30
+ "*": {
31
+ ".": [
32
+ "./dist/types.d.mts"
33
+ ]
34
+ }
35
+ },
36
+ "files": [
37
+ "dist"
38
+ ],
39
+ "volta": {
40
+ "node": "22.22.2",
41
+ "npm": "10.9.7"
42
+ },
43
+ "scripts": {
44
+ "prepack": "nuxt-module-build build --failOnWarn=false",
45
+ "dev": "npm run dev:prepare && nuxi dev playground",
46
+ "dev:build": "nuxi build playground",
47
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
48
+ "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
49
+ "release-beta": "npm run lint && npm run test && npm run prepack && npm publish --tag beta && git push --follow-tags",
50
+ "lint": "eslint .",
51
+ "test": "vitest run",
52
+ "test:watch": "vitest watch",
53
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
54
+ },
55
+ "peerDependencies": {
56
+ "@vueuse/nuxt": "^14.3.0",
57
+ "sass-embedded": "^1.89.2"
58
+ },
59
+ "dependencies": {
60
+ "@nuxt/kit": "^4.4.8",
61
+ "@pinia/nuxt": "^0.11.3",
62
+ "@vueuse/core": "^14.3.0",
63
+ "@vueuse/integrations": "^14.3.0",
64
+ "bignumber.js": "^9.3.1",
65
+ "body-scroll-lock": "^4.0.0-beta.0",
66
+ "dayjs": "^1.11.21",
67
+ "flatpickr": "^4.6.13",
68
+ "focus-trap": "^7.6.6",
69
+ "pinia": "^3.0.4",
70
+ "pinia-plugin-persistedstate": "^4.7.1",
71
+ "tabulator-tables": "^6.4.0",
72
+ "tailwind-merge": "^3.4.0",
73
+ "tailwind-variants": "^3.2.2",
74
+ "tailwindcss": "^4.1.18",
75
+ "vue-select": "^4.0.0-beta.6"
76
+ },
77
+ "devDependencies": {
78
+ "@nuxt/devtools": "^3.2.4",
79
+ "@nuxt/eslint": "^1.16.0",
80
+ "@nuxt/eslint-config": "^1.16.0",
81
+ "@nuxt/image": "^2.0.0",
82
+ "@nuxt/module-builder": "^1.0.2",
83
+ "@nuxt/schema": "^4.4.8",
84
+ "@nuxt/test-utils": "^3.21.0",
85
+ "@nuxt/ui": "^4.8.2",
86
+ "@types/body-scroll-lock": "^3.1.2",
87
+ "@types/node": "latest",
88
+ "@types/tabulator-tables": "^6.3.4",
89
+ "@types/vue-select": "^3.16.8",
90
+ "changelogen": "^0.6.2",
91
+ "eslint": "^10.5.0",
92
+ "npm": "^11.17.0",
93
+ "nuxt": "^4.4.8",
94
+ "sass": "^1.97.0",
95
+ "typescript": "~5.9.3",
96
+ "vitest": "^3.2.4",
97
+ "vue-tsc": "^3.1.8"
98
+ }
99
+ }