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

Commit bbda51d

Browse files
Merge branch 'develop' into all-contributors/add-HoukasaurusRex
2 parents e1422c4 + d058d61 commit bbda51d

File tree

8 files changed

+51
-12
lines changed

8 files changed

+51
-12
lines changed

packages/chakra-ui-core/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Change Log
22

3+
## 0.8.0
4+
5+
### Minor Changes
6+
7+
- [`8af1c07`](https://github.com/chakra-ui/chakra-ui-vue/commit/8af1c07404d2cfa94bb338e4268c5e0869a50776) Thanks [@codebender828](https://github.com/codebender828)! - Adds type definitions, aspect-ratio-box fixes, switch fixes and collapse fixes
8+
- feat: add type definition of component #380 by @odanado
9+
- feat: CCollapse now renders with collapsed height if initially closed by @codebender828 . closes #269
10+
- fix: Set ccollapse height to auto on enter complete, unless finalHeight wa... #384 by @IHIutch
11+
- fix: Add position: relative to switch label #396 by @IHIutch
12+
- fix: Deeply nested aspect-ratio by @IHIutch
13+
314
## 0.7.4
415

516
### Patch Changes

packages/chakra-ui-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chakra-ui/vue",
3-
"version": "0.7.4",
3+
"version": "0.8.0",
44
"description": "Build Accessible and Responsive Vue.js websites and applications with speed ⚡️",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

packages/chakra-ui-nuxt/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [`8af1c07`](https://github.com/chakra-ui/chakra-ui-vue/commit/8af1c07404d2cfa94bb338e4268c5e0869a50776) Thanks [@codebender828](https://github.com/codebender828)! - Adds type definitions, aspect-ratio-box fixes, switch fixes and collapse fixes
8+
- feat: add type definition of component #380 by @odanado
9+
- feat: CCollapse now renders with collapsed height if initially closed by @codebender828 . closes #269
10+
- fix: Set ccollapse height to auto on enter complete, unless finalHeight wa... #384 by @IHIutch
11+
- fix: Add position: relative to switch label #396 by @IHIutch
12+
- fix: Deeply nested aspect-ratio by @IHIutch
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [[`8af1c07`](https://github.com/chakra-ui/chakra-ui-vue/commit/8af1c07404d2cfa94bb338e4268c5e0869a50776)]:
17+
- @chakra-ui/vue@0.8.0
18+
319
## 0.2.4
420

521
### Patch Changes

packages/chakra-ui-nuxt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chakra-ui/nuxt",
3-
"version": "0.2.4",
3+
"version": "0.3.0",
44
"description": "Chakra UI Module for Nuxt.js",
55
"repository": "https://github.com/chakra-ui/chakra-ui-vue",
66
"license": "MIT",
@@ -18,7 +18,7 @@
1818
"test": "jest"
1919
},
2020
"dependencies": {
21-
"@chakra-ui/vue": "^0.7.4",
21+
"@chakra-ui/vue": "^0.8.0",
2222
"chakra-loader": "latest",
2323
"@emotion/css": "^11.0.0"
2424
},

website/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 0.5.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`8af1c07`](https://github.com/chakra-ui/chakra-ui-vue/commit/8af1c07404d2cfa94bb338e4268c5e0869a50776)]:
8+
- @chakra-ui/vue@0.8.0
9+
310
## 0.5.5
411

512
### Patch Changes

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chakra-ui-docs",
3-
"version": "0.5.5",
3+
"version": "0.5.6",
44
"description": "Chakra UI Vue documentation site",
55
"private": true,
66
"scripts": {
@@ -27,7 +27,7 @@
2727
},
2828
"dependencies": {
2929
"@chakra-ui/theme-vue": "^0.2.10",
30-
"@chakra-ui/vue": "^0.7.4",
30+
"@chakra-ui/vue": "^0.8.0",
3131
"@emotion/css": "^11.0.0",
3232
"@mdx-js/vue-loader": "^1.6.1",
3333
"@nuxtjs/dotenv": "^1.4.0",

website/pages/with-vuepress.mdx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default ({
7474
}
7575
}
7676
})
77-
})
77+
}
7878
```
7979

8080
Now you can wrap your main application inside the Chakra `CThemeProvider` component by creating a layout wrapper in `theme/layouts/Layout.vue`.
@@ -105,7 +105,11 @@ export default {
105105

106106
## Using Chakra components
107107

108-
_In your `App.vue` file._
108+
You can now use Chakra in your custom components for your theme in either your `theme/components` folder (available to other theme components),
109+
or your `theme/global-components` folder (available to your markdown pages as well as other components).
110+
Learn more about theme inheritance in the [Vuepress documentation](https://vuepress.vuejs.org/theme/inheritance.html#inheritance-strategy)
111+
112+
_In your `my-component.vue` file._
109113

110114
```vue
111115
<template>
@@ -120,7 +124,7 @@ _In your `App.vue` file._
120124
import { CBox, CButton } from '@chakra-ui/vue'
121125
122126
export default {
123-
name: 'App',
127+
name: 'MyComponent',
124128
components: {
125129
CBox,
126130
CButton
@@ -129,11 +133,11 @@ export default {
129133
</script>
130134
```
131135

132-
### Codesandbox starters
136+
### Vuepress Codesandbox Starters
137+
138+
Here's a link to sample component starter with Nuxt.js
133139

134-
- [Vue Starter](https://codesandbox.io/s/chakra-ui-vue-starter-2sy0g)
135-
- [Nuxt Starter](https://codesandbox.io/s/chakra-ui-nuxt-demo-f8tq4)
136-
- [Gridsome Starter](https://codesandbox.io/s/chakra-ui-gridsome-demo-038c9)
140+
- [Vuepress Starter](https://codesandbox.io/s/chakra-ui-vuepress-starter-qx4up)
137141

138142
### Storybook Components
139143

website/utils/all-routes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export const components = [
6060
export const topNavLinks = [
6161
'Getting Started',
6262
'With Nuxt',
63+
'With Vuepress',
6364
'Plugin Options',
6465
'Principles',
6566
'Style Props',

0 commit comments

Comments
 (0)