Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ad7d2f2

Browse files
committed
ci: changeset bug fix
1 parent eff3659 commit ad7d2f2

File tree

5 files changed

+27
-17
lines changed

5 files changed

+27
-17
lines changed

.changeset/tricky-olives-live.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@chakra-ui/vue-docs': patch
3+
'@chakra-ui/c-code': patch
4+
'@chakra-ui/vue-layout': patch
5+
---
6+
7+
fixed props resolution and `as` polymorphic prop referencing.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<chakra.div>
3+
<c-heading>What's coming to v1?</c-heading>
4+
</chakra.div>
5+
<chakra.section> </chakra.section>
6+
</template>
7+
8+
<script setup lang="ts"></script>

website/src/components/home/Hero.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
}"
1313
:px="[4, 10, 12]"
1414
:py="{ base: 10, sm: 20 }"
15-
shadow="lg"
1615
gap="5"
1716
>
1817
<c-flex align="center" h="full">

website/src/components/home/PilersHero.vue

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
as="section"
44
:flex-dir="['column', 'column', 'row']"
55
font-family="body"
6-
:mx="[0, 10, 12]"
76
:py="[4, 10, 10]"
87
>
9-
<chakra.div
10-
d="grid"
11-
:grid-template-columns="['auto', 'auto', 'repeat(3, 1fr)']"
12-
:style="{ gap: '1.5rem' }"
8+
<c-grid
9+
:template-columns="['auto', 'auto', 'repeat(3, 1fr)']"
10+
gap="1.5rem"
1311
shadow="lg"
1412
bg="white"
1513
py="10"
@@ -28,7 +26,7 @@
2826
>
2927
<IconAccessibilityAlt />
3028
</CFlex>
31-
<chakra.h2 font-size="md"> Accessible </chakra.h2>
29+
<chakra.h2 font-size="xl"> Accessible </chakra.h2>
3230
</CFlex>
3331
Chakra UI strictly follows WAI-ARIA standards. All components come with
3432
proper attributes and keyboard interactions out of the box.
@@ -46,7 +44,7 @@
4644
>
4745
<ColorPalette />
4846
</CFlex>
49-
<chakra.h2 font-size="md"> Themeable </chakra.h2>
47+
<chakra.h2 font-size="xl"> Themeable </chakra.h2>
5048
</CFlex>
5149
Quickly and easily reference values from your theme throughout your
5250
entire application, on any component.
@@ -64,12 +62,12 @@
6462
>
6563
<Cube />
6664
</CFlex>
67-
<chakra.h2 font-size="md"> Composable </chakra.h2>
65+
<chakra.h2 font-size="xl"> Composable </chakra.h2>
6866
</CFlex>
6967
Components were built with composition in mind. You can leverage any
7068
component to create new things.
7169
</CBox>
72-
</chakra.div>
70+
</c-grid>
7371
</CFlex>
7472
</template>
7573

website/src/pages/index.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
<template>
22
<Navbar />
3-
<chakra.main
4-
:min-h="['auto', 'auto', '100vh']"
5-
w="100%"
6-
pt="60px"
7-
bg="vue.50"
8-
>
3+
<chakra.main :min-h="['auto', 'auto', '100vh']" w="100%" pt="60px" bg="white">
94
<Hero />
10-
<SandboxExample />
115
<PilersHero />
6+
<!-- <Features /> -->
7+
<SandboxExample />
128
<DiscordHero />
139
<Footer />
1410
</chakra.main>
@@ -22,6 +18,7 @@ import Navbar from '../components/Navbar.vue'
2218
import Footer from '../components/home/Footer.vue'
2319
import SandboxExample from '../components/SandboxExample.vue'
2420
import DiscordHero from '../components/home/DiscordHero.vue'
21+
// import Features from '../components/home/Features.vue'
2522
2623
export default defineComponent({
2724
name: 'Index',
@@ -32,6 +29,7 @@ export default defineComponent({
3229
Footer,
3330
SandboxExample,
3431
DiscordHero,
32+
// Features,
3533
},
3634
})
3735
</script>

0 commit comments

Comments
 (0)