kmcom-nuxt-layers 1.6.22 → 1.6.25

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 (50) hide show
  1. package/layers/content/app/components/Blog/List.vue +1 -0
  2. package/layers/content/app/components/Gallery/Detail.vue +1 -0
  3. package/layers/content/app/components/Gallery/Grid.vue +1 -0
  4. package/layers/content/app/components/Gallery/ImageDetail.vue +1 -0
  5. package/layers/content/app/components/NuxtContent/Detail.vue +1 -0
  6. package/layers/content/app/components/Portfolio/Detail.vue +1 -0
  7. package/layers/content/app/components/Portfolio/List.vue +1 -0
  8. package/layers/content/app/composables/useContentPage.ts +1 -0
  9. package/layers/content/app/composables/useGalleryItems.ts +1 -0
  10. package/layers/content/app/composables/usePortfolioItems.ts +1 -0
  11. package/layers/core/app/components/ErrorBoundary.vue +1 -0
  12. package/layers/core/app/composables/useCache.ts +1 -0
  13. package/layers/core/app/composables/useErrorLog.ts +1 -0
  14. package/layers/core/app/composables/useFeatures.ts +1 -0
  15. package/layers/core/app/composables/useNetworkInfo.ts +1 -0
  16. package/layers/core/app/composables/useRendering.ts +1 -0
  17. package/layers/core/app/composables/useScreen.ts +1 -0
  18. package/layers/core/app/plugins/feature-detection.client.ts +1 -0
  19. package/layers/core/app/plugins/init.ts +1 -0
  20. package/layers/forms/app/components/Form/Contact.vue +1 -0
  21. package/layers/forms/app/composables/useFormSchema.ts +1 -0
  22. package/layers/forms/app/config/fields.ts +1 -0
  23. package/layers/forms/app/types/fields.ts +1 -0
  24. package/layers/layout/app/components/Layout/Grid/Item.vue +1 -0
  25. package/layers/layout/app/components/Layout/Section/Hero.vue +1 -0
  26. package/layers/layout/app/components/Layout/Section/Stack.vue +1 -0
  27. package/layers/motion/app/components/Motion/Staggered.vue +1 -0
  28. package/layers/shader/app/components/Effect/PostProcessing.vue +1 -0
  29. package/layers/shader/app/components/Material/Fresnel.client.vue +1 -0
  30. package/layers/shader/app/components/Material/Gradient.client.vue +1 -0
  31. package/layers/shader/app/components/Material/Image.client.vue +1 -0
  32. package/layers/shader/app/components/Material/Noise.client.vue +1 -0
  33. package/layers/shader/app/composables/useUniforms.ts +1 -0
  34. package/layers/shader/app/utils/tsl/animation.ts +1 -0
  35. package/layers/shader/app/utils/tsl/color.ts +1 -0
  36. package/layers/shader/app/utils/tsl/noise.ts +1 -0
  37. package/layers/shader/app/utils/tsl/patterns.ts +1 -0
  38. package/layers/shader/app/utils/tsl/uv.ts +1 -0
  39. package/layers/theme/app/composables/useAccentColor.ts +1 -0
  40. package/layers/theme/app/composables/useThemeContrast.ts +1 -0
  41. package/layers/theme/app/composables/useThemeMotion.ts +1 -0
  42. package/layers/theme/app/composables/useThemeTransparency.ts +1 -0
  43. package/layers/ui/app/app.config.ts +1 -11
  44. package/layers/ui/app/components/Accent/Scene.vue +1 -0
  45. package/layers/ui/app/components/Base/Modal.vue +1 -0
  46. package/layers/ui/app/components/Links/Group.vue +1 -0
  47. package/layers/ui/app/components/Links/Named.vue +1 -0
  48. package/layers/ui/app/components/Mast/NavModal.vue +4 -3
  49. package/layers/ui/app/types/nav.ts +5 -0
  50. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { BlogQueryOptions } from '../../types/content'
3
4
 
4
5
  const { options = {} } = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { GalleryCollectionItem } from '@nuxt/content'
3
4
 
4
5
  const { slug } = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { GalleryQueryOptions } from '../../types/content'
3
4
 
4
5
  const { options = {} } = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { GalleryCollectionItem } from '@nuxt/content'
3
4
 
4
5
  const { slug, index } = defineProps<{
@@ -1,5 +1,6 @@
1
1
  <!-- eslint-disable vue/require-default-prop -->
2
2
  <script setup lang="ts">
3
+ // @ts-nocheck
3
4
  const {
4
5
  collection,
5
6
  slug,
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { PortfolioCollectionItem } from '@nuxt/content'
3
4
 
4
5
  const { slug } = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { PortfolioQueryOptions } from '../../types/content'
3
4
 
4
5
  const { options = {} } = defineProps<{
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  export function useContentPage(path: string) {
2
3
  return useContentData(`content-page-${path}`, () => queryCollection('content').path(path).first())
3
4
  }
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import type { GalleryQueryOptions } from '../types/content'
2
3
 
3
4
  export function useGalleryItems(options: GalleryQueryOptions = {}) {
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import type { PortfolioQueryOptions } from '../types/content'
2
3
 
3
4
  export function usePortfolioItems(options: PortfolioQueryOptions = {}) {
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  /**
3
4
  * ErrorBoundary component - Catches errors in child components
4
5
  *
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  /* eslint-disable no-console */
2
3
  // composables/useCache.ts
3
4
  import { useOnline } from '@vueuse/core'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  /**
2
3
  * Error logging composable for tracking and reporting errors
3
4
  *
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  // composables/useFeatures.ts
2
3
  import {
3
4
  usePreferredContrast,
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  // composables/useNetworkInfo.ts
2
3
  import { useNetwork } from '@vueuse/core'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  // composables/useRendering.ts
2
3
 
3
4
  type RenderMode = 'ssr' | 'ssg' | 'csr' | 'hybrid'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  // composables/useScreen.ts
2
3
  import { breakpointsTailwind, useBreakpoints, useScreenOrientation } from '@vueuse/core'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  // plugins/feature-detection.client.ts
2
3
 
3
4
  /**
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  /**
2
3
  * Core Layer Initialization Plugin
3
4
  *
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { FormSubmitEvent } from '@nuxt/ui'
3
4
  import { z } from 'zod'
4
5
  import { fieldConfigs } from '../../config/fields'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { z, type ZodObject, type ZodRawShape, type ZodTypeAny } from 'zod'
2
3
  import { fieldConfigs } from '../config/fields'
3
4
  import type { FieldType } from '../types/fields'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { z } from 'zod'
2
3
  import type { FieldConfig, FieldType } from '../types/fields'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import type { ZodSchema } from 'zod'
2
3
 
3
4
  /**
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  /**
3
4
  * BaseGridItem - Positions content on the Swiss Grid
4
5
  *
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  /**
3
4
  * SectionHero - Full-viewport hero section
4
5
  *
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  /**
3
4
  * LayoutSectionStack — Pancake Stack layout
4
5
  *
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  // Props
3
4
  const props = withDefaults(
4
5
  defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import { EffectComposer } from '@tresjs/post-processing'
3
4
 
4
5
  const props = withDefaults(
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import { Color, DoubleSide } from 'three'
3
4
  import {
4
5
  dot,
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import { Color, DoubleSide } from 'three'
3
4
  import { mix, sin, time as tslTime, uniform, uv, vec3 } from 'three/tsl'
4
5
  import { MeshBasicNodeMaterial } from 'three/webgpu'
@@ -1,5 +1,6 @@
1
1
  <!-- eslint-disable no-console -->
2
2
  <script setup lang="ts">
3
+ // @ts-nocheck
3
4
  import { DoubleSide, type Texture } from 'three'
4
5
  import {
5
6
  float,
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import { Color, DoubleSide } from 'three'
3
4
  import { mix, time as tslTime, uniform, uv, vec3 } from 'three/tsl'
4
5
  import { MeshBasicNodeMaterial } from 'three/webgpu'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  /* eslint-disable no-restricted-imports */
2
3
  import { Color, Vector2, Vector3 } from 'three'
3
4
  import { uniform } from 'three/tsl'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { abs, cos, float, Fn, mod, pow, sin } from 'three/tsl'
2
3
  import type { TSLNode } from '../../types'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { abs, clamp, float, Fn, max, min, mix, mod, vec3 } from 'three/tsl'
2
3
  import type { GradientStop, TSLNode } from '../../types'
3
4
  import { circularDistance } from './math'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { abs, dot, float, floor, Fn, fract, max, mix, mod, vec2, vec3, vec4 } from 'three/tsl'
2
3
  import type { FBMOptions, TSLNode } from '../../types'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { abs, float, floor, Fn, fract, length, min, mod, sin, vec2 } from 'three/tsl'
2
3
  import type { TSLNode } from '../../types'
3
4
  import { rotateUV } from './uv'
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { atan, cos, float, Fn, fract, length, sin, vec2 } from 'three/tsl'
2
3
  import type { TSLNode } from '../../types'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { createSharedComposable, useLocalStorage } from '@vueuse/core'
2
3
  import type { AccentColor } from '#layers/theme/app/types/theme'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { createSharedComposable, useLocalStorage, usePreferredContrast } from '@vueuse/core'
2
3
  import type { PreferenceOverride } from '#layers/theme/app/types/theme'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import { createSharedComposable, useLocalStorage, usePreferredReducedMotion } from '@vueuse/core'
2
3
  import type { PreferenceOverride } from '#layers/theme/app/types/theme'
3
4
 
@@ -1,3 +1,4 @@
1
+ // @ts-nocheck
1
2
  import {
2
3
  createSharedComposable,
3
4
  useLocalStorage,
@@ -1,14 +1,4 @@
1
- type MastNavLink = {
2
- id: string
3
- label: string
4
- to:
5
- | string
6
- | {
7
- name: string
8
- params?: Record<string, string | number>
9
- query?: Record<string, string | number>
10
- }
11
- }
1
+ import type { MastNavLink } from './types/nav'
12
2
 
13
3
  export default defineAppConfig({
14
4
  site: {
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import type { AccentSceneConfig, BlobConfig } from '../../types/accent'
3
4
 
4
5
  const props = withDefaults(
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  /**
3
4
  * BaseModal — overlay-compatible modal shell.
4
5
  *
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ // @ts-nocheck
2
3
  // eslint-disable-next-line no-restricted-imports
3
4
  import { cloneVNode, defineComponent, Fragment, h, ref, type VNode } from 'vue'
4
5
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ // @ts-nocheck
2
3
  import { useColor } from '../../composables/color'
3
4
  import type { UiColors } from '../../types/colors'
4
5
 
@@ -1,12 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { MastNavLink } from '../../types/nav'
3
+
2
4
  const { open } = defineProps<{ open?: boolean }>()
3
5
  const emit = defineEmits<{
4
6
  'update:open': [value: boolean]
5
7
  'close': []
6
8
  }>()
7
9
 
8
- type NavLink = { id: string; label: string; to: string | { name: string; params?: Record<string, string | number>; query?: Record<string, string | number> } }
9
- const { links, scrollBehaviour } = useAppConfig().mastNav as { links: NavLink[]; scrollBehaviour: string }
10
+ const { links, scrollBehaviour } = useAppConfig().mastNav as { links: MastNavLink[]; scrollBehaviour: string }
10
11
  const activeSection = useState<string>('activeSection', () => '')
11
12
  const route = useRoute()
12
13
  const { close: closeNav } = useMastNav()
@@ -17,7 +18,7 @@ function dismiss() {
17
18
  closeNav()
18
19
  }
19
20
 
20
- function handleNav(link: NavLink) {
21
+ function handleNav(link: MastNavLink) {
21
22
  if (scrollBehaviour === 'smooth-scroll' && route.name === 'index') {
22
23
  try { useSmoothScroll().scrollTo(`#${link.id}`) }
23
24
  catch {}
@@ -0,0 +1,5 @@
1
+ export interface MastNavLink {
2
+ id: string
3
+ label: string
4
+ to: string | { name: string; params?: Record<string, string | number>; query?: Record<string, string | number> }
5
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kmcom-nuxt-layers",
3
3
  "private": false,
4
- "version": "1.6.22",
4
+ "version": "1.6.25",
5
5
  "description": "Composable Nuxt 4 layers for building scalable Vue applications",
6
6
  "files": [
7
7
  "layers/*/nuxt.config.ts",