kmcom-nuxt-layers 1.1.6 → 1.1.7

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.
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import { useColor } from '#layers/ui/app/composables/color'
3
- import type { UiColors } from '#layers/ui/app/types/colors'
2
+ import { useColor } from '../../composables/color'
3
+ import type { UiColors } from '../../types/colors'
4
4
 
5
5
  const props = withDefaults(
6
6
  defineProps<{
@@ -1,7 +1,7 @@
1
1
  <!-- eslint-disable vue/define-macros-order -->
2
2
  <script lang="ts" setup>
3
- import { usePicture } from '#layers/ui/app/composables/picture'
4
- import type { PictureProps } from '#layers/ui/app/types/media'
3
+ import { usePicture } from '../../composables/picture'
4
+ import type { PictureProps } from '../../types/media'
5
5
 
6
6
  const props = withDefaults(defineProps<PictureProps>(), {
7
7
  loading: 'lazy',
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { splitSpaces } from '#layers/ui/app/utils/regex'
2
+ import { splitSpaces } from '../../utils/regex'
3
3
 
4
4
  defineProps<{
5
5
  siteTitle: string
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  defineOptions({ inheritAttrs: false })
3
- import { useColor } from '#layers/ui/app/composables/color'
4
- import type { UiColors } from '#layers/ui/app/types/colors'
5
- import type { FontSize } from '#layers/ui/app/types/typography'
3
+ import { useColor } from '../../composables/color'
4
+ import type { UiColors } from '../../types/colors'
5
+ import type { FontSize } from '../../types/typography'
6
6
 
7
7
  const props = withDefaults(
8
8
  defineProps<{
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  defineOptions({ inheritAttrs: false })
3
- import { useColor } from '#layers/ui/app/composables/color'
4
- import { useTypography } from '#layers/ui/app/composables/typography'
5
- import type { UiColors } from '#layers/ui/app/types/colors'
3
+ import { useColor } from '../../composables/color'
4
+ import { useTypography } from '../../composables/typography'
5
+ import type { UiColors } from '../../types/colors'
6
6
  import type {
7
7
  FontLeading,
8
8
  FontSize,
@@ -12,7 +12,7 @@ import type {
12
12
  FontWidth,
13
13
  TextAlign,
14
14
  TextTransform,
15
- } from '#layers/ui/app/types/typography'
15
+ } from '../../types/typography'
16
16
 
17
17
  const props = withDefaults(
18
18
  defineProps<{
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  defineOptions({ inheritAttrs: false })
3
- import { useColor } from '#layers/ui/app/composables/color'
4
- import type { UiColors } from '#layers/ui/app/types/colors'
5
- import type { FontSize } from '#layers/ui/app/types/typography'
3
+ import { useColor } from '../../composables/color'
4
+ import type { UiColors } from '../../types/colors'
5
+ import type { FontSize } from '../../types/typography'
6
6
 
7
7
  const props = defineProps<{ color?: UiColors; size?: FontSize }>()
8
8
  const colorClass = useColor(props.color, 'text')
@@ -1,9 +1,9 @@
1
1
  <!-- eslint-disable vue/require-default-prop -->
2
2
  <!-- eslint-disable vue/no-unused-properties -->
3
3
  <script lang="ts" setup>
4
- import { useColor } from '#layers/ui/app/composables/color'
5
- import { useTypography } from '#layers/ui/app/composables/typography'
6
- import type { UiColors } from '#layers/ui/app/types/colors'
4
+ import { useColor } from '../../composables/color'
5
+ import { useTypography } from '../../composables/typography'
6
+ import type { UiColors } from '../../types/colors'
7
7
  import type {
8
8
  FontLeading,
9
9
  FontSize,
@@ -14,7 +14,7 @@ import type {
14
14
  TextAlign,
15
15
  TextTransform,
16
16
  TypographyTag,
17
- } from '#layers/ui/app/types/typography'
17
+ } from '../../types/typography'
18
18
 
19
19
  const props = withDefaults(
20
20
  defineProps<{
@@ -1,4 +1,4 @@
1
- import type { ColorUsage, UiColors } from '#layers/ui/app/types/colors'
1
+ import type { ColorUsage, UiColors } from '../types/colors'
2
2
 
3
3
  const colorMap: Record<UiColors, string> = {
4
4
  // Semantic
@@ -3,8 +3,8 @@ import {
3
3
  DEVICE_BREAKPOINT_VALUES,
4
4
  PHONE_BREAKPOINT_VALUES,
5
5
  TABLET_BREAKPOINT_VALUES,
6
- } from '#layers/ui/app/types/breakpoints'
7
- import type { PictureProps, ResponsiveSizes, UsePictureReturn } from '#layers/ui/app/types/media'
6
+ } from '../types/breakpoints'
7
+ import type { PictureProps, ResponsiveSizes, UsePictureReturn } from '../types/media'
8
8
 
9
9
  /**
10
10
  * Convert ResponsiveSizes object to CSS sizes attribute string
@@ -7,7 +7,7 @@ import type {
7
7
  FontWidth,
8
8
  TextAlign,
9
9
  TextTransform,
10
- } from '#layers/ui/app/types/typography'
10
+ } from '../types/typography'
11
11
 
12
12
  type AxisValue = string | number | undefined
13
13
 
@@ -29,7 +29,7 @@ export type {
29
29
  PhoneBreakpoint,
30
30
  TabletBreakpoint,
31
31
  DeviceOrientation,
32
- } from '#layers/ui/app/types/breakpoints'
32
+ } from './breakpoints'
33
33
 
34
34
  /**
35
35
  * Responsive sizes configuration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kmcom-nuxt-layers",
3
3
  "private": false,
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "description": "Composable Nuxt 4 layers for building scalable Vue applications",
6
6
  "files": [
7
7
  "layers/*/nuxt.config.ts",