kmcom-nuxt-layers 1.6.15 → 1.6.16

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.
@@ -44,7 +44,14 @@ const props = withDefaults(
44
44
  )
45
45
 
46
46
  const tag = computed(() => `h${props.level}` as const)
47
- const sizeClass = computed(() => `text-${props.size}`)
47
+
48
+ const sizeMap: Record<string, string> = {
49
+ screen: 'text-screen',
50
+ 'screen-xl': 'text-screen-xl',
51
+ 'screen-xxl': 'text-screen-xxl',
52
+ 'screen-xxxl': 'text-screen-xxxl',
53
+ }
54
+ const sizeClass = computed(() => sizeMap[props.size] ?? 'text-screen-xxl')
48
55
 
49
56
  const { classes } = useTypography({
50
57
  weight: props.weight,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kmcom-nuxt-layers",
3
3
  "private": false,
4
- "version": "1.6.15",
4
+ "version": "1.6.16",
5
5
  "description": "Composable Nuxt 4 layers for building scalable Vue applications",
6
6
  "files": [
7
7
  "layers/*/nuxt.config.ts",