diff --git a/.changeset/lemon-toes-end.md b/.changeset/lemon-toes-end.md
new file mode 100644
index 00000000..6c0ecb35
--- /dev/null
+++ b/.changeset/lemon-toes-end.md
@@ -0,0 +1,5 @@
+---
+"@chakra-ui/vue-layout": patch
+---
+
+fix(components): Add missing `as` prop on some layout components
diff --git a/@types/components.d.ts b/@types/components.d.ts
index 86c53590..31bed42b 100755
--- a/@types/components.d.ts
+++ b/@types/components.d.ts
@@ -6,7 +6,7 @@
*
* This is a generated file. Do not edit it's contents.
*
- * This file was generated on 2023-05-20T11:19:16.919Z
+ * This file was generated on 2023-09-11T16:17:50.573Z
*/
import { ChakraProps, chakra } from "@chakra-ui/vue-system"
diff --git a/components.d.ts b/components.d.ts
index 86c53590..31bed42b 100755
--- a/components.d.ts
+++ b/components.d.ts
@@ -6,7 +6,7 @@
*
* This is a generated file. Do not edit it's contents.
*
- * This file was generated on 2023-05-20T11:19:16.919Z
+ * This file was generated on 2023-09-11T16:17:50.573Z
*/
import { ChakraProps, chakra } from "@chakra-ui/vue-system"
diff --git a/packages/layout/examples/base-container.vue b/packages/layout/examples/base-container.vue
index e15e7fb4..2692c0e8 100644
--- a/packages/layout/examples/base-container.vue
+++ b/packages/layout/examples/base-container.vue
@@ -1,17 +1,16 @@
-
+
There are many benefits to a joint design and development system. Not only
does it bring benefits to the design team, but it also brings benefits to
engineering teams. It makes sure that our experiences have a consistent look
and feel, not just in our design specs, but in production
-
-
- Extra-Large Container
- Large Container
- Medium Container
- Small Container
-
+
+
+ Extra-Large Container
+ Large Container
+ Medium Container
+ Small Container
+
+
+ As prop span
-
diff --git a/packages/layout/examples/base-stack.vue b/packages/layout/examples/base-stack.vue
index 65811349..158cefb4 100644
--- a/packages/layout/examples/base-stack.vue
+++ b/packages/layout/examples/base-stack.vue
@@ -2,34 +2,43 @@
Stack Default
-
+
1
2
3
-
+
Horizontal
-
+
1
2
3
-
+
Vertical
-
+
1
2
3
-
+
+
+
+
+ As prop UL
+
+ 1
+ 2
+ 3
+
-
diff --git a/packages/layout/examples/base-text.vue b/packages/layout/examples/base-text.vue
index 744e5309..74a1509d 100644
--- a/packages/layout/examples/base-text.vue
+++ b/packages/layout/examples/base-text.vue
@@ -1,27 +1,30 @@
-
- (6xl) In love with React & Next
- (5xl) In love with React & Next
- (4xl) In love with React & Next
- (3xl) In love with React & Next
- (2xl) In love with React & Next
- (xl) In love with React & Next
- (lg) In love with React & Next
- (md) In love with React & Next
- (sm) In love with React & Next
- (xs) In love with React & Next
-
-
- truncated:
-
+
+ (6xl) In love with React & Next
+ (5xl) In love with React & Next
+ (4xl) In love with React & Next
+ (3xl) In love with React & Next
+ (2xl) In love with React & Next
+ (xl) In love with React & Next
+ (lg) In love with React & Next
+ (md) In love with React & Next
+ (sm) In love with React & Next
+ (xs) In love with React & Next
+
+
+ truncated:
+
Lorem ipsum is placeholder text commonly used in the graphic, print, and
publishing industries for previewing layouts and visual mockups.
-
-
- line clamp:
-
+
+
+ line clamp:
+
"The quick brown fox jumps over the lazy dog" is an English-language
pangram—a sentence that contains all of the letters of the English alphabet.
Owing to its existence, Chakra was created.
-
+
+
+ As prop:
+ As prop H1
diff --git a/packages/layout/src/container.tsx b/packages/layout/src/container.tsx
index 0d4157ab..68333fa1 100644
--- a/packages/layout/src/container.tsx
+++ b/packages/layout/src/container.tsx
@@ -12,7 +12,7 @@ import type * as CSS from "csstype"
export interface ContainerProps
extends HTMLChakraProps<"div">,
- ThemingProps<"Container"> {
+ ThemingProps<"Container"> {
/**
* If `true`, container will center its children
* regardless of their width.
@@ -54,6 +54,7 @@ export const CContainer = defineComponent({
return () => (
,
- default: "h2",
+ default: "kbd",
},
...vueThemingProps,
},
@@ -47,6 +47,7 @@ export const CKbd = defineComponent({
return () => (
diff --git a/packages/layout/src/link.tsx b/packages/layout/src/link.tsx
index aabca8ec..72004f9a 100644
--- a/packages/layout/src/link.tsx
+++ b/packages/layout/src/link.tsx
@@ -1,11 +1,7 @@
import { vueThemingProps } from "@chakra-ui/vue-utils"
import { HTMLChakraProps } from "@chakra-ui/vue-system"
import { h, defineComponent, PropType, computed } from "vue"
-import {
- chakra,
- DOMElements,
- useStyleConfig,
-} from "@chakra-ui/vue-system"
+import { chakra, DOMElements, useStyleConfig } from "@chakra-ui/vue-system"
import { ThemingProps } from "@chakra-ui/styled-system"
import { filterUndefined } from "@chakra-ui/utils"
import type * as CSS from "csstype"
diff --git a/packages/layout/src/stack.tsx b/packages/layout/src/stack.tsx
index fe2b68f1..1afcd8aa 100644
--- a/packages/layout/src/stack.tsx
+++ b/packages/layout/src/stack.tsx
@@ -180,6 +180,7 @@ export const CStack = defineComponent({
return (
{
return (