This repository was archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
feat: docs, mdx, layout package #61
Merged
Merged
Changes from 14 commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
18470a9
docs: add vite-plugin-mdx-vue and vite-plugin-components
koca 6165f33
chore: update yarn.lock
koca 579e0a0
feat(color-mode): add useColorModeValue
koca 441f9f2
docs: add mdx layout component and init layouts
koca 742b116
feat(layout): add layout package and link component
koca 5a16f7c
refactor(badge): move badge component to layout
koca 110d0d6
fix(theme-tools): change warn
koca f679297
chore(playground): add padding bottom to sidebar
koca 26f59e4
chore: change deps
koca d41091f
chore: add ts-ignore to icon button
koca f7b25d3
chore: update yarn.lock
koca 60cba50
feat(chakra): resolve global components like router-link
koca de30073
chore(link): update jsdoc and example
koca 4f40fb9
test(chakra): add anchor check
koca 51e019d
feat(core): export layout components
koca ca8b1d7
chore: remove manual imports
koca c816e59
build: ignore dist folders
koca 44b4295
fix(color-mode): reactive useColorModeValue
koca 596f622
fix(test): fix a11y tests warning ( [Vue warn]: Component is missing …
koca 64a3acf
test: add typing for tests
koca 6210c1f
fix(close-button): fix aria-hidden and refactor tests
koca 59dc24a
fix(playground): fix warnings and refactor sidebar
koca 6f07f65
fix(close-button): fix slot warning
koca 3f881a6
fix(spinner): fix slot warning
koca 47c4801
feat(playground): add padding to sidebar again :D
koca 59492fe
chore: remove vue-layout dep
koca 1f466f4
feat(vue-utils): add reusable themingProps
koca cbc55a0
test(layout): refactor tests
koca 31a83aa
chore(layout): rename stuff
koca 56ac6dc
chore(layout): add labels
koca f651213
chore: update snapshots
koca 5b5bc35
feat(system): export styled system from vue-system package
koca 5eca8fd
feat(utils): add getValidChildren helper
koca fb44384
feat(layout): add stack component, tests, examples
koca e13d388
feat(layout): add AspectRatio component, tests, example
koca bd51723
chore(layout): add jsdoc
koca 99e37c1
feat(layout): add Box, Square, Circle component, tests, examples
koca 7a6a2e2
feat(layout): add Center component, test, example
koca 51d59eb
chore: remove unnessary export
koca ee085d9
feat(types): add HTMLChakraProps typings
koca 1177234
types(box): fix typing
koca e27efac
refactor(stack): change types
koca 2715911
chore: ups autoimport
koca 360b787
refactor(types): update ThemingProps
koca 4554515
refactor: fix type errors
koca fcbc71f
fix(theme): add missing imports exports
koca 13df44d
feat(layout): add Container component, test, example
koca 3c5e4f0
feat(layout): add divider component, test, examples
koca 15f7e41
chore: update container jsdoc
koca 506c584
chore: remove unused stuff, eslint hello?
koca 2ccd903
feat(layout): add Grid component, test, examples
koca 7aeb7b3
fix(stack): remove default direction
koca 507b65e
feat(layout): add Heading component, test, examples
koca 7d2c954
feat(layout): add Kbd component, test, example
koca 4aa2d9a
fix(layout): add missing theme props
koca 5966d90
feat(link): add types
koca 61a82eb
feat(layout): add LinkBox and LinkOverlay component, test, example
koca 42fb4af
feat(layout): add Badge types
koca 680c805
chore(divider): remove unnecessary stuff
koca 8ed8f57
feat(layout): add AspectRatio types
koca 89c045d
fix(layout): remove label from BoxProps
koca bec11ff
refactor(layout): refactor box, square, circle label
koca d6713c9
feat(icon): add types
koca bee8a00
feat(layout): add List, ListItem, ListIcon, OrderedList, UnorderedLis…
koca acc7e3a
chore(layout): update list example
koca 1194dbf
chore: various fixes
koca 8fd3546
chore: change class to label
koca efc2a80
feat(system): add short version of prop types
koca f4d7b0a
refactor(layout): refactor Grid component
koca 474ea57
feat(layout): add SimpleGrid component, test, examples
koca 2438b3f
chore: remove console.log
koca 9152bd8
feat(layout): add Spacer component, test, example
koca 13dd4bf
chore: rename props
koca ffb10cc
chore: update types
koca df6d7aa
fix(system): remove userStyleConfig and add optional chaining
koca ab083d4
feat(layout): add Text component, test, examples
koca 2449f4d
chore: remove unnecessary file
koca 53f551d
fix(system): fix chakraProps typings
koca 8195e4f
chore(types): update types
koca e72d94b
chore(layout): move code block
koca 5161d28
fix(layout): fix box issues and cleanup
koca 619e65a
fix(layout): refactor divider and fix orientation
koca 3b11d0b
fix(layout): fix kebab case prop
koca d9eb505
chore: fix eslint stuff
koca ff2bc6b
chore(layout): update examples
koca 9b35c96
test(button): update snapshots
koca 4997293
Merge branch 'develop' of https://github.com/chakra-ui/chakra-ui-vue-…
codebender828 520550f
ci: create changeset
codebender828 0d36308
fix: update import path
codebender828 ecbbc1b
ci: include component resolver changeset
codebender828 4c5aaec
chore: fix dependencies for tooling auto-import
codebender828 47c0cbd
fix(c-popper): build depenency management for vite
codebender828 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# @chakra-ui/layout | ||
|
||
Chakra ui layout components that give you massive speed | ||
|
||
## Installation | ||
|
||
```sh | ||
yarn add @chakra-ui/layout | ||
# or | ||
npm i @chakra-ui/layout | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<template> | ||
<chakra.div py="4"> | ||
<chakra.h3>Default Badge</chakra.h3> | ||
<c-badge> New ! </c-badge> | ||
</chakra.div> | ||
<chakra.div py="4"> | ||
<chakra.h3>Outline Badges</chakra.h3> | ||
<c-badge | ||
v-for="(color, i) in colorSchemes" | ||
:key="i" | ||
:color-scheme="color" | ||
variant="outline" | ||
mr="2" | ||
> | ||
{{ color }} | ||
</c-badge> | ||
</chakra.div> | ||
<chakra.div py="4"> | ||
<chakra.h3>Solid Badges</chakra.h3> | ||
<c-badge | ||
v-for="(color, i) in colorSchemes" | ||
:key="i" | ||
:color-scheme="color" | ||
variant="solid" | ||
mr="2" | ||
> | ||
{{ color }} | ||
</c-badge> | ||
</chakra.div> | ||
<chakra.div py="4"> | ||
<chakra.h3>Subtle Badges</chakra.h3> | ||
<c-badge | ||
v-for="(color, i) in colorSchemes" | ||
:key="i" | ||
:color-scheme="color" | ||
variant="subtle" | ||
mr="2" | ||
> | ||
{{ color }} | ||
</c-badge> | ||
</chakra.div> | ||
</template> | ||
<script setup> | ||
import { CBadge } from '@chakra-ui/vue-layout' | ||
import { ref } from 'vue' | ||
|
||
const colorSchemes = ref(['gray', 'green', 'red', 'orange', 'purple', 'teal']) | ||
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<template> | ||
<chakra.div py="4"> | ||
<chakra.h3>Link</chakra.h3> | ||
<chakra.div py="4"> | ||
<!-- prettier-ignore --> | ||
<c-link as="router-link" to="/" pr="4" color="blue.400" color-scheme="red">CLink with as="router-link"</c-link> | ||
<c-link is-external href="/" color-scheme="red">CLink</c-link> | ||
</chakra.div> | ||
</chakra.div> | ||
</template> | ||
<script setup> | ||
import { CLink } from '@chakra-ui/vue-layout' | ||
</script> |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './link' | ||
export * from './badge' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.