@nuxtify/pages 0.1.0 → 0.2.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.
Files changed (37) hide show
  1. package/README.md +200 -203
  2. package/dist/module.json +4 -4
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/components/EmailSubscribeForm.vue +133 -156
  5. package/dist/runtime/components/EmailSubscribeForm.vue.d.ts +94 -0
  6. package/dist/runtime/components/FooterCallToAction.vue +32 -34
  7. package/dist/runtime/components/FooterCallToAction.vue.d.ts +2 -0
  8. package/dist/runtime/components/app/AppAnnouncementBar.vue +31 -35
  9. package/dist/runtime/components/app/AppAnnouncementBar.vue.d.ts +2 -0
  10. package/dist/runtime/components/app/AppBar.vue +116 -120
  11. package/dist/runtime/components/app/AppBar.vue.d.ts +2 -0
  12. package/dist/runtime/components/app/AppDialog.vue +34 -36
  13. package/dist/runtime/components/app/AppDialog.vue.d.ts +2 -0
  14. package/dist/runtime/components/app/AppFooter.vue +136 -142
  15. package/dist/runtime/components/app/AppFooter.vue.d.ts +2 -0
  16. package/dist/runtime/components/app/AppLoading.vue +10 -10
  17. package/dist/runtime/components/app/AppLoading.vue.d.ts +2 -0
  18. package/dist/runtime/components/app/AppLogo.vue +26 -40
  19. package/dist/runtime/components/app/AppLogo.vue.d.ts +23 -0
  20. package/dist/runtime/components/app/AppNavigationDrawer.vue +93 -97
  21. package/dist/runtime/components/app/AppNavigationDrawer.vue.d.ts +2 -0
  22. package/dist/runtime/components/app/AppToast.vue +12 -14
  23. package/dist/runtime/components/app/AppToast.vue.d.ts +2 -0
  24. package/dist/runtime/layouts/DefaultLayout.vue +27 -29
  25. package/dist/runtime/layouts/DefaultLayout.vue.d.ts +12 -0
  26. package/dist/runtime/pages/DynamicSlug.vue +17 -19
  27. package/dist/runtime/pages/DynamicSlug.vue.d.ts +2 -0
  28. package/dist/runtime/pages/IndexPage.vue +14 -18
  29. package/dist/runtime/pages/IndexPage.vue.d.ts +2 -0
  30. package/dist/runtime/server/tsconfig.json +3 -3
  31. package/dist/runtime/utils/formRules.d.ts +1 -0
  32. package/dist/runtime/utils/formRules.js +1 -0
  33. package/dist/types.d.mts +2 -2
  34. package/package.json +65 -60
  35. package/dist/module.cjs +0 -5
  36. package/dist/module.d.ts +0 -139
  37. package/dist/types.d.ts +0 -7
package/package.json CHANGED
@@ -1,60 +1,65 @@
1
- {
2
- "name": "@nuxtify/pages",
3
- "version": "0.1.0",
4
- "description": "Nuxtify pages module powered by Nuxt and Vuetify.",
5
- "license": "MIT",
6
- "homepage": "https://nuxtify.dev/",
7
- "author": "Nuxtify.dev <hello@nuxtify.dev>",
8
- "funding": "https://github.com/sponsors/davidstackio",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/nuxtify-dev/pages"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/nuxtify-dev/pages/issues"
15
- },
16
- "type": "module",
17
- "exports": {
18
- ".": {
19
- "types": "./dist/types.d.ts",
20
- "import": "./dist/module.mjs",
21
- "require": "./dist/module.cjs"
22
- }
23
- },
24
- "main": "./dist/module.cjs",
25
- "types": "./dist/types.d.ts",
26
- "files": [
27
- "dist"
28
- ],
29
- "scripts": {
30
- "prepack": "nuxt-module-build build",
31
- "dev": "nuxi dev playground",
32
- "dev:build": "nuxi build playground",
33
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
34
- "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
35
- "lint": "eslint .",
36
- "test": "vitest run",
37
- "test:watch": "vitest watch",
38
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
39
- },
40
- "dependencies": {
41
- "@mdi/js": "^7.4.47",
42
- "defu": "^6.1.4",
43
- "vuetify-nuxt-module": "^0.18.5"
44
- },
45
- "devDependencies": {
46
- "@nuxt/devtools": "^2.3.2",
47
- "@nuxt/eslint-config": "^1.3.0",
48
- "@nuxt/kit": "^3.16.2",
49
- "@nuxt/module-builder": "^0.8.4",
50
- "@nuxt/schema": "^3.16.2",
51
- "@nuxt/test-utils": "^3.17.2",
52
- "@types/node": "^20.17.30",
53
- "changelogen": "^0.6.1",
54
- "eslint": "^9.23.0",
55
- "nuxt": "^3.16.2",
56
- "typescript": "~5.8.2",
57
- "vitest": "^3.1.1",
58
- "vue-tsc": "^2.2.8"
59
- }
60
- }
1
+ {
2
+ "name": "@nuxtify/pages",
3
+ "version": "0.2.1",
4
+ "description": "Nuxtify pages module powered by Nuxt and Vuetify.",
5
+ "license": "MIT",
6
+ "homepage": "https://nuxtify.dev/",
7
+ "author": "Nuxtify.dev <hello@nuxtify.dev>",
8
+ "funding": "https://github.com/sponsors/davidstackio",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/nuxtify-dev/pages"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/nuxtify-dev/pages/issues"
15
+ },
16
+ "type": "module",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/types.d.mts",
20
+ "import": "./dist/module.mjs"
21
+ }
22
+ },
23
+ "main": "./dist/module.mjs",
24
+ "typesVersions": {
25
+ "*": {
26
+ ".": [
27
+ "./dist/types.d.mts"
28
+ ]
29
+ }
30
+ },
31
+ "files": [
32
+ "dist"
33
+ ],
34
+ "scripts": {
35
+ "prepack": "nuxt-module-build build",
36
+ "dev": "nuxi dev playground",
37
+ "dev:build": "nuxi build playground",
38
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
39
+ "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
40
+ "lint": "eslint .",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest watch",
43
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
44
+ },
45
+ "dependencies": {
46
+ "@mdi/js": "^7.4.47",
47
+ "defu": "^6.1.4",
48
+ "vuetify-nuxt-module": "^0.18.6"
49
+ },
50
+ "devDependencies": {
51
+ "@nuxt/devtools": "^2.4.0",
52
+ "@nuxt/eslint-config": "^1.3.0",
53
+ "@nuxt/kit": "^3.17.2",
54
+ "@nuxt/module-builder": "^1.0.1",
55
+ "@nuxt/schema": "^3.17.2",
56
+ "@nuxt/test-utils": "^3.18.0",
57
+ "@types/node": "^20.17.46",
58
+ "changelogen": "^0.6.1",
59
+ "eslint": "^9.26.0",
60
+ "nuxt": "^3.17.2",
61
+ "typescript": "~5.8.2",
62
+ "vitest": "^3.1.3",
63
+ "vue-tsc": "^2.2.10"
64
+ }
65
+ }
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
package/dist/module.d.ts DELETED
@@ -1,139 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
-
3
- interface Link {
4
- text: string;
5
- to?: string;
6
- href?: string;
7
- icon?: string;
8
- openInNew?: boolean;
9
- }
10
- interface FooterLinks {
11
- title: string;
12
- links: Link[];
13
- }
14
- interface BrandOptions {
15
- /**
16
- * The name of the brand.
17
- *
18
- * @default "nuxtify-pages"
19
- */
20
- name?: string;
21
- /**
22
- * The domain of the brand.
23
- *
24
- * @default ""
25
- */
26
- domain?: string;
27
- /**
28
- * The tagline of the brand.
29
- *
30
- * @default ""
31
- */
32
- tagline?: string;
33
- /**
34
- * The logo of the brand.
35
- */
36
- logo?: {
37
- /**
38
- * The URL of the light logo. Recommended 5:1 aspect ratio (e.g. 400 x 80 px).
39
- *
40
- * @default ""
41
- */
42
- lightUrl?: string;
43
- /**
44
- * The URL of the dark logo. Recommended 5:1 aspect ratio (e.g. 400 x 80 px).
45
- *
46
- * @default ""
47
- */
48
- darkUrl?: string;
49
- /**
50
- * The width of the logo.
51
- *
52
- * @default 200
53
- */
54
- width?: number;
55
- /**
56
- * The width of the logo on mobile.
57
- *
58
- * @default 150
59
- */
60
- mobileWidth?: number;
61
- };
62
- }
63
- interface PagesOptions {
64
- policies: {
65
- privacyUrl: string;
66
- termsUrl: string;
67
- };
68
- }
69
- interface ModuleOptions {
70
- /**
71
- * Brand options
72
- */
73
- brand?: BrandOptions;
74
- /**
75
- * Pages options
76
- */
77
- pages?: PagesOptions;
78
- /**
79
- * Announcement banner options
80
- */
81
- announcement?: {
82
- show?: boolean;
83
- message?: string;
84
- buttonText?: string;
85
- buttonUrl?: string;
86
- };
87
- /**
88
- * Navigation options
89
- */
90
- navigation?: {
91
- primary?: Link[];
92
- secondary?: Link[];
93
- footerPrimary?: FooterLinks[];
94
- footerSecondary?: Link[];
95
- };
96
- /**
97
- * Footer options
98
- */
99
- footer?: {
100
- copyright?: string;
101
- credits?: {
102
- creator?: {
103
- name?: string;
104
- domain?: string;
105
- };
106
- prependText?: string;
107
- appendText?: string;
108
- showPoweredBy?: boolean;
109
- };
110
- cta?: {
111
- show?: boolean;
112
- title?: string;
113
- subtitle?: string;
114
- color?: string;
115
- };
116
- };
117
- /**
118
- * Email options
119
- */
120
- email?: {
121
- general?: string;
122
- support?: string;
123
- provider?: {
124
- defaultSubmitUrl?: string;
125
- };
126
- };
127
- /**
128
- * Style options
129
- */
130
- style?: {
131
- btn?: {
132
- rounded?: boolean;
133
- };
134
- };
135
- }
136
-
137
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
138
-
139
- export { _default as default };
package/dist/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
- export { default } from './module'