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

Commit 4f53d35

Browse files
committed
fix(style-props): removed old code
1 parent bd9861e commit 4f53d35

File tree

15 files changed

+206
-233
lines changed

15 files changed

+206
-233
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"@testing-library/user-event": "^10.0.0",
142142
"@testing-library/vue": "^4.1.0",
143143
"@vue/devtools": "^5.3.3",
144-
"babel-eslint": "^10.0.1",
144+
"babel-eslint": "^10.1.0",
145145
"bundlesize": "^0.18.0",
146146
"cross-env": "^7.0.2",
147147
"eslint-config-prettier": "^6.10.0",

packages/chakra-ui-docs/components/Hero.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
flex-dir="row"
2828
>
2929
<CButton
30-
as="nuxt-link"
3130
text-decoration="none"
3231
to="/getting-started"
3332
left-icon="bolt"
3433
variant-color="vue"
3534
size="lg"
35+
@click="$router.push('/getting-started')"
3636
>
3737
Get started
3838
</CButton>

packages/chakra-ui-docs/layouts/default.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</keep-alive>
2929
<Footer v-if="$route.path === '/'" />
3030
<FileContributors />
31-
<!-- <BottomLink v-if="$route.path !== '/'" /> -->
31+
<BottomLink v-if="$route.path !== '/'" />
3232
</CBox>
3333
</CFlex>
3434
</CBox>
@@ -54,7 +54,7 @@ import Navbar from '../components/Navbar'
5454
import Sidebar from '../components/Sidebar'
5555
import Footer from '../components/Footer'
5656
import FileContributors from '../components/FileContributors'
57-
// import BottomLink from '../components/BottomLink'
57+
import BottomLink from '../components/BottomLink'
5858
5959
// import { stringToUrl } from '../utils'
6060
@@ -70,8 +70,8 @@ export default {
7070
Sidebar,
7171
Footer,
7272
CReset,
73-
CFlex
74-
// BottomLink
73+
CFlex,
74+
BottomLink
7575
},
7676
data () {
7777
return {

packages/chakra-ui-docs/pages/alert.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The status of the alerts can be changed by passing the `status` prop. This affec
7373
```
7474

7575
### Custom Alert icons
76-
You can also use custom Alert icons by passing the name of the icon in the `name` prop of the `CAlertIcon`. <nuxt-link to="/icons">Click here</nuxt-link> to see how to add icons to your Chakra app.
76+
You can also use custom Alert icons by passing the name of the icon in the `name` prop of the `CAlertIcon`. [Click here](/icon) to see how to add icons to your Chakra app.
7777

7878
```vue live=true
7979
<c-alert>

packages/chakra-ui-docs/pages/breadcrumb.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,4 @@ The `CBreadcrumbLink` composes the <nuxt-link to="/link">CLink</nuxt-link> compo
182182

183183
### BreadcrumbSeparator Props
184184

185-
The BreadcrumbSeparator composes the <nuxt-link to="/boc">CBox</nuxt-link> component so it accepts all CBox props.
185+
The BreadcrumbSeparator composes the <nuxt-link to="/box">CBox</nuxt-link> component so it accepts all CBox props.

packages/chakra-ui-docs/pages/button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Use the `variant` prop to change the visual style of the `CButton`. You can set
7070

7171
### Button with Icon
7272

73-
You can add left and right icons to the Button component. See how to [add icons](#/icons) to your project.
73+
You can add left and right icons to the Button component. See how to [add icons](#/icon) to your project.
7474

7575
```vue live=true
7676
<c-button-group :spacing="4">

packages/chakra-ui-docs/pages/grid.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ time.
5151

5252
## Props
5353

54-
> `CGrid` composes the `CBox` component. So it accepts all Box props along with the related CSS grid props. See <nuxt-link to="/box#props">Box</nuxt-link> component for list of props
54+
> `CGrid` composes the `CBox` component. So it accepts all Box props along with the related CSS grid props. See [Box](/box#props) component for list of props

packages/chakra-ui-docs/pages/iconbutton.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ the button.
6565
### With custom icon
6666

6767
The `CIconButton` component accepts all icons accessible under `this.$chakra.icons`. You can
68-
see <nuxt-link to="/icons#using-an-icon-library">Icon</nuxt-link> to see how to add fontawesome icons
68+
see <nuxt-link to="/icon#using-an-icon-library">Icon</nuxt-link> to see how to add fontawesome icons
6969
to Chakra UI.
7070

7171
```vue live=true

packages/chakra-ui-docs/pages/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
title="Chakra UI Vue | Simple, Modular and Accessible UI Components for your Vue Applications."
55
description="Simple, Modular and Accessible UI Components for your Vue Applications."
66
/>
7-
<!-- <Hero /> -->
7+
<Hero />
88
<CFlex
99
as="section"
1010
py="10"
@@ -84,15 +84,15 @@
8484

8585
<script>
8686
import { CBox, CFlex, CIcon, CHeading, CGrid } from '@chakra-ui/vue'
87-
// import Hero from '~/components/Hero.vue'
87+
import Hero from '~/components/Hero.vue'
8888
import Footer from '~/components/Footer.vue'
8989
import SEO from '~/components/SEO'
9090
import Example from '~/components/Example.vue'
9191
9292
export default {
9393
layout: 'home',
9494
components: {
95-
// Hero,
95+
Hero,
9696
Footer,
9797
Example,
9898
CBox,

0 commit comments

Comments
 (0)