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

Commit f78f784

Browse files
committed
Merge branch 'develop' into docs/discord-strip
2 parents ea3f9f5 + aa0a7d1 commit f78f784

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+767
-107
lines changed

.changeset/khaki-hounds-hunt.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
'@chakra-ui/c-accordion': patch
3+
'@chakra-ui/c-alert': patch
4+
'@chakra-ui/c-badge': patch
5+
'@chakra-ui/c-button': patch
6+
'@chakra-ui/c-close-button': patch
7+
'@chakra-ui/c-code': patch
8+
'@chakra-ui/c-color-mode': patch
9+
'@chakra-ui/c-flex': patch
10+
'@chakra-ui/c-icon': patch
11+
'@chakra-ui/c-modal': patch
12+
'@chakra-ui/c-popper': patch
13+
'@chakra-ui/c-portal': patch
14+
'@chakra-ui/c-reset': patch
15+
'@chakra-ui/c-spinner': patch
16+
'@chakra-ui/c-theme-provider': patch
17+
'@chakra-ui/c-visually-hidden': patch
18+
'@chakra-ui/vue-next': patch
19+
'@chakra-ui/nuxt-next': patch
20+
'@chakra-ui/vue-system': patch
21+
'@chakra-ui/vue-test-utils': patch
22+
'@chakra-ui/vue-theme': patch
23+
'@chakra-ui/vue-theme-tools': patch
24+
'@chakra-ui/vue-utils': patch
25+
'@chakra-ui/vue-auto-import': patch
26+
'@chakra-ui/vue-docs': patch
27+
---
28+
29+
Created code component

.changeset/pre.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,17 @@
2323
"@chakra-ui/vue-theme-tools": "0.0.0",
2424
"@chakra-ui/vue-utils": "0.0.0",
2525
"@chakra-ui/vue-docs": "0.0.0",
26-
"@chakra-ui/vue-auto-import": "0.0.1-alpha.0"
26+
"@chakra-ui/vue-auto-import": "0.0.1-alpha.0",
27+
"@chakra-ui/c-close-button": "0.0.1-alpha.0",
28+
"@chakra-ui/c-modal": "1.0.0"
2729
},
2830
"changesets": [
2931
"chilly-tables-care",
3032
"empty-dragons-wait",
31-
"slimy-bugs-give"
33+
"neat-rules-cry",
34+
"slimy-bugs-give",
35+
"sweet-lamps-brake",
36+
"ten-pandas-run",
37+
"wild-chairs-applaud"
3238
]
3339
}

docs/.vitepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function getSetupSidebar() {
5555
{ text: 'Alert', link: '/components/alert' },
5656
{ text: 'Badge', link: '/components/badge' },
5757
{ text: 'Button', link: '/components/button' },
58+
{ text: 'Code', link: '/components/code' },
5859
{ text: 'Icon', link: '/components/icon' },
5960
{ text: 'Spinner', link: '/components/spinner' },
6061
{ text: 'CSS reset', link: '/components/css-reset' },

docs/components/code.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Code
2+
3+
Code is a component used to display inline code. It is composed from the Box component with a font family of `mono` for displaying code.
4+
5+
## Import
6+
7+
```js
8+
import { CCode } from "@chakra-ui/vue-next"
9+
```
10+
11+
## Usage
12+
```vue
13+
<c-code>hello world</c-code>
14+
```
15+
16+
### Code Color
17+
18+
Pass the `colorScheme` prop to customize the color of the Badge. `colorScheme` can be any **color key** that exists in `theme.colors`.
19+
20+
TODO: Link to theming page
21+
22+
```vue
23+
<c-code>hello world, default</c-code>
24+
<c-code color-scheme="green">hello world, green</c-code>
25+
<c-code color-scheme="red">hello world, red</c-code>
26+
<c-code color-scheme="purple">hello world, purple</c-code>
27+
```
28+
29+
## Props
30+
31+
| Name | Type | Description | Default |
32+
| :---: | :---: | :---: | :---: |
33+
|`colorScheme`|`string`|Color Scheme to be applied|"cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow" | "whiteAlpha" | "blackAlpha" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"`|`"gray"`|

packages/c-accordion/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
# @chakra-ui/c-accordion
22

3-
## 0.0.1-alpha.0
3+
## 0.1.0-alpha.1
4+
5+
### Minor Changes
6+
7+
- [#49](https://github.com/chakra-ui/chakra-ui-vue-next/pull/49) [`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd) Thanks [@carwack](https://github.com/carwack)! - Add Iframe to Dom Element list
8+
49
### Patch Changes
510

11+
- [#42](https://github.com/chakra-ui/chakra-ui-vue-next/pull/42) [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67) Thanks [@codebender828](https://github.com/codebender828)! - Extract Vue dependant utilities to "@chakra-ui/vue-utils" and consumes base utils from "@chakra-ui/utils@1.5.0"
12+
13+
* [#50](https://github.com/chakra-ui/chakra-ui-vue-next/pull/50) [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4) Thanks [@carwack](https://github.com/carwack)! - Add option to extend icons with custom icons
614

15+
* Updated dependencies [[`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd), [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67), [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4)]:
16+
- @chakra-ui/vue-system@0.1.0-alpha.1
17+
18+
## 0.0.1-alpha.0
19+
20+
### Patch Changes
721

822
- [#36](https://github.com/chakra-ui/chakra-ui-vue-next/pull/36) [`8243ac6`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/8243ac6cdc1ef47e56b3ec2f4635f44396273ee8) Thanks [@codebender828](https://github.com/codebender828)! - Initial release for core system packages
923

packages/c-accordion/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/c-accordion",
3-
"version": "0.0.1-alpha.0",
3+
"version": "0.1.0-alpha.1",
44
"main": "dist/cjs/index.js",
55
"module": "dist/esm/index.js",
66
"types": "dist/types/index.d.ts",
@@ -25,6 +25,6 @@
2525
"build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types"
2626
},
2727
"dependencies": {
28-
"@chakra-ui/vue-system": "0.0.1-alpha.0"
28+
"@chakra-ui/vue-system": "0.1.0-alpha.1"
2929
}
3030
}

packages/c-alert/CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
# @chakra-ui/c-alert
22

3-
## 0.0.1-alpha.0
3+
## 1.0.0-alpha.1
4+
5+
### Minor Changes
6+
7+
- [#49](https://github.com/chakra-ui/chakra-ui-vue-next/pull/49) [`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd) Thanks [@carwack](https://github.com/carwack)! - Add Iframe to Dom Element list
8+
49
### Patch Changes
510

11+
- [#42](https://github.com/chakra-ui/chakra-ui-vue-next/pull/42) [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67) Thanks [@codebender828](https://github.com/codebender828)! - Extract Vue dependant utilities to "@chakra-ui/vue-utils" and consumes base utils from "@chakra-ui/utils@1.5.0"
12+
13+
* [#50](https://github.com/chakra-ui/chakra-ui-vue-next/pull/50) [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4) Thanks [@carwack](https://github.com/carwack)! - Add option to extend icons with custom icons
614

15+
* Updated dependencies [[`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd), [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67), [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4), [`8ee0069`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/8ee00692960c171f93df2396b7efb123cd566f08)]:
16+
- @chakra-ui/c-icon@1.0.0-alpha.1
17+
- @chakra-ui/vue-system@0.1.0-alpha.1
18+
- @chakra-ui/vue-utils@0.1.0-alpha.1
19+
20+
## 0.0.1-alpha.0
21+
22+
### Patch Changes
723

824
- [#36](https://github.com/chakra-ui/chakra-ui-vue-next/pull/36) [`8243ac6`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/8243ac6cdc1ef47e56b3ec2f4635f44396273ee8) Thanks [@codebender828](https://github.com/codebender828)! - Initial release for core system packages
925

packages/c-alert/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chakra-ui/c-alert",
3-
"version": "0.0.1-alpha.0",
3+
"version": "1.0.0-alpha.1",
44
"main": "dist/cjs/index.js",
55
"module": "dist/esm/index.js",
66
"types": "dist/types/index.d.ts",
@@ -29,15 +29,15 @@
2929
"watch:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types --watch --incremental"
3030
},
3131
"dependencies": {
32-
"@chakra-ui/c-icon": "0.0.1-alpha.0",
33-
"@chakra-ui/vue-system": "0.0.1-alpha.0",
34-
"@chakra-ui/vue-utils": "0.0.1-alpha.0"
32+
"@chakra-ui/c-icon": "1.0.0-alpha.1",
33+
"@chakra-ui/vue-system": "0.1.0-alpha.1",
34+
"@chakra-ui/vue-utils": "0.1.0-alpha.1"
3535
},
3636
"devDependencies": {
3737
"vue": ">=3.0.5"
3838
},
3939
"peerDependencies": {
40-
"@chakra-ui/vue-system": "0.0.1-alpha.0",
40+
"@chakra-ui/vue-system": "0.1.0-alpha.1",
4141
"vue": "^3.0.5"
4242
}
4343
}

packages/c-badge/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
# @chakra-ui/c-badge
22

3-
## 0.0.1-alpha.0
3+
## 1.0.0-alpha.1
4+
5+
### Minor Changes
6+
7+
- [#49](https://github.com/chakra-ui/chakra-ui-vue-next/pull/49) [`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd) Thanks [@carwack](https://github.com/carwack)! - Add Iframe to Dom Element list
8+
49
### Patch Changes
510

11+
- [#42](https://github.com/chakra-ui/chakra-ui-vue-next/pull/42) [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67) Thanks [@codebender828](https://github.com/codebender828)! - Extract Vue dependant utilities to "@chakra-ui/vue-utils" and consumes base utils from "@chakra-ui/utils@1.5.0"
12+
13+
* [#50](https://github.com/chakra-ui/chakra-ui-vue-next/pull/50) [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4) Thanks [@carwack](https://github.com/carwack)! - Add option to extend icons with custom icons
614

15+
* Updated dependencies [[`cd4893b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/cd4893b6a27df39b59066c6e1d714b3830cf41bd), [`ccae794`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/ccae794937096c98b50dd5b72ac21856bd0e0e67), [`082c70b`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/082c70b03bd0e07704e1285592f515b3a43073b4)]:
16+
- @chakra-ui/vue-system@0.1.0-alpha.1
17+
18+
## 0.0.1-alpha.0
19+
20+
### Patch Changes
721

822
- [#36](https://github.com/chakra-ui/chakra-ui-vue-next/pull/36) [`8243ac6`](https://github.com/chakra-ui/chakra-ui-vue-next/commit/8243ac6cdc1ef47e56b3ec2f4635f44396273ee8) Thanks [@codebender828](https://github.com/codebender828)! - Initial release for core system packages
923

packages/c-badge/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@chakra-ui/c-badge",
33
"description": "Chakra UI Vue | Badges are used to highlight an item s status for quick recognition component",
4-
"version": "0.0.1-alpha.0",
4+
"version": "1.0.0-alpha.1",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
77
"types": "dist/types/index.d.ts",
@@ -38,13 +38,13 @@
3838
},
3939
"dependencies": {
4040
"@chakra-ui/utils": "^1.5.0",
41-
"@chakra-ui/vue-system": "0.0.1-alpha.0"
41+
"@chakra-ui/vue-system": "0.1.0-alpha.1"
4242
},
4343
"devDependencies": {
4444
"vue": ">=3.0.5"
4545
},
4646
"peerDependencies": {
47-
"@chakra-ui/vue-system": "0.0.1-alpha.0",
47+
"@chakra-ui/vue-system": "0.1.0-alpha.1",
4848
"vue": "^3.0.5"
4949
}
5050
}

0 commit comments

Comments
 (0)