kmcom-nuxt-layers 1.6.7 → 1.6.9
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/layers/content/app.config.ts +1 -10
- package/layers/core/app.config.ts +1 -112
- package/layers/forms/app.config.ts +1 -10
- package/layers/layout/app.config.ts +1 -13
- package/layers/motion/app.config.ts +2 -11
- package/layers/routing/app/app.config.ts +2 -10
- package/layers/routing/app/types/app-config.d.ts +5 -0
- package/layers/shader/app.config.ts +3 -12
- package/layers/theme/app.config.ts +1 -12
- package/layers/ui/app/app.config.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default {
|
|
2
2
|
coreLayer: {
|
|
3
3
|
// 404 Page defaults (all optional)
|
|
4
4
|
notFound: {
|
|
@@ -70,115 +70,4 @@ export default defineAppConfig({
|
|
|
70
70
|
debug: false,
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
|
-
})
|
|
74
|
-
|
|
75
|
-
declare module '@nuxt/schema' {
|
|
76
|
-
interface AppConfigInput {
|
|
77
|
-
coreLayer?: {
|
|
78
|
-
/** Project name */
|
|
79
|
-
name?: string
|
|
80
|
-
|
|
81
|
-
/** 404 Not Found page configuration */
|
|
82
|
-
notFound?: {
|
|
83
|
-
// Visual
|
|
84
|
-
/** Icon to display (Nuxt UI icon name) */
|
|
85
|
-
icon?: string
|
|
86
|
-
/** Page title */
|
|
87
|
-
title?: string
|
|
88
|
-
/** Description text */
|
|
89
|
-
description?: string
|
|
90
|
-
/** Whether to show the attempted path */
|
|
91
|
-
showPath?: boolean
|
|
92
|
-
|
|
93
|
-
// Actions
|
|
94
|
-
/** Whether to show the "Go Home" button */
|
|
95
|
-
showHomeButton?: boolean
|
|
96
|
-
/** Label for the "Go Home" button */
|
|
97
|
-
homeButtonLabel?: string
|
|
98
|
-
/** Destination for the "Go Home" button */
|
|
99
|
-
homeButtonTo?: string
|
|
100
|
-
/** Whether to show the "Go Back" button */
|
|
101
|
-
showBackButton?: boolean
|
|
102
|
-
/** Label for the "Go Back" button */
|
|
103
|
-
backButtonLabel?: string
|
|
104
|
-
/** Custom action buttons */
|
|
105
|
-
actions?: Array<{
|
|
106
|
-
/** Button label */
|
|
107
|
-
label: string
|
|
108
|
-
/** Navigation destination (route path) */
|
|
109
|
-
to?: string
|
|
110
|
-
/** Button icon (Nuxt UI icon name) */
|
|
111
|
-
icon?: string
|
|
112
|
-
/** Button color */
|
|
113
|
-
color?: 'primary' | 'neutral' | 'error' | 'success'
|
|
114
|
-
/** Button variant */
|
|
115
|
-
variant?: 'solid' | 'outline' | 'ghost' | 'soft'
|
|
116
|
-
/** Click handler (alternative to 'to') */
|
|
117
|
-
click?: () => void
|
|
118
|
-
}>
|
|
119
|
-
|
|
120
|
-
// Suggestions
|
|
121
|
-
/** Suggestions section configuration */
|
|
122
|
-
suggestions?: {
|
|
123
|
-
/** Whether to show the suggestions section */
|
|
124
|
-
enabled?: boolean
|
|
125
|
-
/** Section title */
|
|
126
|
-
title?: string
|
|
127
|
-
/** Suggested links */
|
|
128
|
-
links?: Array<{
|
|
129
|
-
/** Link label */
|
|
130
|
-
label: string
|
|
131
|
-
/** Link destination */
|
|
132
|
-
to: string
|
|
133
|
-
/** Link icon (Nuxt UI icon name) */
|
|
134
|
-
icon?: string
|
|
135
|
-
}>
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/** Loading screen configuration (initial app load only) */
|
|
140
|
-
loading?: {
|
|
141
|
-
/** Master toggle - set to false to disable completely */
|
|
142
|
-
enabled?: boolean
|
|
143
|
-
/** Minimum time to display loading screen (prevents flash) */
|
|
144
|
-
minDuration?: number
|
|
145
|
-
/** Maximum time for simulated progress */
|
|
146
|
-
maxDuration?: number
|
|
147
|
-
/** Background color */
|
|
148
|
-
background?: string
|
|
149
|
-
/** Progress text color */
|
|
150
|
-
textColor?: string
|
|
151
|
-
/** Stack order */
|
|
152
|
-
zIndex?: number
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/** Error handling configuration */
|
|
156
|
-
errors?: {
|
|
157
|
-
/** Enable console logging in development */
|
|
158
|
-
logToConsole?: boolean
|
|
159
|
-
/** Enable external error service logging */
|
|
160
|
-
logToExternal?: boolean
|
|
161
|
-
/** External error service URL (e.g., Sentry, LogRocket) */
|
|
162
|
-
externalUrl?: string
|
|
163
|
-
/** External error service token/key */
|
|
164
|
-
externalToken?: string
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/** Horizontal scroll guard configuration */
|
|
168
|
-
scrollGuard?: {
|
|
169
|
-
/** Master toggle — set to false to disable completely */
|
|
170
|
-
enabled?: boolean
|
|
171
|
-
/** CSS selectors for elements allowed to overflow intentionally */
|
|
172
|
-
excludeSelectors?: string[]
|
|
173
|
-
/** Enable automatic clamping of overflowing elements */
|
|
174
|
-
strict?: boolean
|
|
175
|
-
/** Duration (ms) for element width clamp animations */
|
|
176
|
-
transitionDuration?: number
|
|
177
|
-
/** Debounce delay (ms) for resize re-scans */
|
|
178
|
-
resizeDebounce?: number
|
|
179
|
-
/** Temporarily highlight overflowing elements with a red outline */
|
|
180
|
-
debug?: boolean
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
73
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default {
|
|
2
2
|
/**
|
|
3
3
|
* Nuxt UI component theming — aligned to the Swiss Grid System.
|
|
4
4
|
*
|
|
@@ -176,16 +176,4 @@ export default defineAppConfig({
|
|
|
176
176
|
},
|
|
177
177
|
},
|
|
178
178
|
},
|
|
179
|
-
})
|
|
180
|
-
|
|
181
|
-
declare module '@nuxt/schema' {
|
|
182
|
-
interface AppConfigInput {
|
|
183
|
-
layoutLayer?: {
|
|
184
|
-
/** Project name */
|
|
185
|
-
name?: string
|
|
186
|
-
ui?: {
|
|
187
|
-
grid?: import('./app/types/layouts').GridConfig
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
179
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default {
|
|
2
2
|
motion: {
|
|
3
3
|
/**
|
|
4
4
|
* Enable smooth scroll globally (true), on specific routes (string[]), or disable (false).
|
|
5
5
|
* @default true
|
|
6
6
|
*/
|
|
7
|
-
smoothScroll: true
|
|
7
|
+
smoothScroll: true,
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Enable GSAP ScrollTrigger integration with Lenis
|
|
@@ -24,13 +24,4 @@ export default defineAppConfig({
|
|
|
24
24
|
touchMultiplier: 2,
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
declare module '@nuxt/schema' {
|
|
30
|
-
interface AppConfigInput {
|
|
31
|
-
motionLayer?: {
|
|
32
|
-
/** Project name */
|
|
33
|
-
name?: string
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
27
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default defineAppConfig({
|
|
1
|
+
export default {
|
|
4
2
|
routingLayer: {
|
|
5
3
|
preset: 'simple',
|
|
6
4
|
strictDefaultDeny: false,
|
|
@@ -10,11 +8,5 @@ export default defineAppConfig({
|
|
|
10
8
|
maintenance: { enabled: false, allowRoutes: ['/maintenance'] },
|
|
11
9
|
scrollRouting: { enabled: false, mode: 'replace' },
|
|
12
10
|
features: {},
|
|
13
|
-
}
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
declare module '@nuxt/schema' {
|
|
17
|
-
interface AppConfigInput {
|
|
18
|
-
routingLayer?: Partial<import('./types/routing').RoutingLayerConfig>
|
|
19
|
-
}
|
|
11
|
+
},
|
|
20
12
|
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default {
|
|
2
2
|
shader: {
|
|
3
3
|
preferWebGPU: true,
|
|
4
4
|
maxPixelRatio: 2,
|
|
5
|
-
defaultQuality: 'high'
|
|
5
|
+
defaultQuality: 'high',
|
|
6
6
|
debugPanel: true,
|
|
7
|
-
toneMapping: 'aces'
|
|
7
|
+
toneMapping: 'aces',
|
|
8
8
|
},
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
declare module '@nuxt/schema' {
|
|
12
|
-
interface AppConfigInput {
|
|
13
|
-
shaderLayer?: {
|
|
14
|
-
/** Project name */
|
|
15
|
-
name?: string
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
9
|
}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default {
|
|
2
2
|
themeLayer: {},
|
|
3
|
-
})
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface AppConfigInput {
|
|
7
|
-
themeLayer?: {
|
|
8
|
-
/** Available accent color names (Tailwind palette names) */
|
|
9
|
-
accents?: string[]
|
|
10
|
-
/** Default accent color */
|
|
11
|
-
defaultAccent?: string
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
3
|
}
|