Skip to content

Commit

Permalink
docs(chakra-ui): fix broken links from chakra-ui docs (#6427)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir authored Oct 24, 2024
1 parent 61865ac commit c143f60
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerProps

Expand Down Expand Up @@ -530,7 +530,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### contentProps

Expand Down Expand Up @@ -581,7 +581,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerButtons

Expand Down Expand Up @@ -687,7 +687,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### footerButtons

Expand Down Expand Up @@ -846,7 +846,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
## API Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerProps

Expand Down Expand Up @@ -858,7 +858,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### contentProps

Expand Down Expand Up @@ -913,7 +913,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerButtons

Expand Down Expand Up @@ -1091,7 +1091,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### footerButtons

Expand Down Expand Up @@ -1268,7 +1268,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### autoSaveProps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerProps

Expand Down Expand Up @@ -528,7 +528,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### contentProps

Expand Down Expand Up @@ -580,7 +580,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerButtons

Expand Down Expand Up @@ -752,7 +752,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
## API Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI #8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI #8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerProps

Expand Down Expand Up @@ -710,7 +710,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### contentProps

Expand Down Expand Up @@ -764,7 +764,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### headerButtons

Expand Down Expand Up @@ -960,7 +960,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
### footerButtons

Expand Down Expand Up @@ -1074,7 +1074,7 @@ render(
);
```

> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://chakra-ui.com/docs/components/box/usage)
> For more information, refer to the [`Box` documentation from Chakra UI &#8594](https://www.chakra-ui.com/docs/components/box#usage)
## API Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ export const PostList: React.FC = () => {

<PropsTable module="@refinedev/chakra-ui/Breadcrumb" />

[chakra-ui-breadcrumb]: https://chakra-ui.com/docs/components/breadcrumb/usage
[chakra-ui-breadcrumb]: https://www.chakra-ui.com/docs/components/breadcrumb#usage
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ClonePage = () => {
};
```

`<CloneButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses the `clone` method from [useNavigation](/docs/routing/hooks/use-navigation) under the hood.
`<CloneButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses the `clone` method from [useNavigation](/docs/routing/hooks/use-navigation) under the hood.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const CreatePage = () => {
};
```

`<CreateButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses the `create` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful to redirect the app to the create page route of resource.
`<CreateButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses the `create` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful to redirect the app to the create page route of resource.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Wrapper = ({ children }) => {
};
```

`<DeleteButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) and [`<Popover>`](https://chakra-ui.com/docs/components/popover/usage) components.
`<DeleteButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) and [`<Popover>`](https://www.chakra-ui.com/docs/components/popover#usage) components.
When you try to delete something, a pop-up shows up and asks for confirmation. When confirmed it executes the [`useDelete`](/docs/data/hooks/use-delete) method provided by your [`dataProvider`](/docs/data/data-provider).

:::simple Good to know
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const EditPage = () => {
};
```

`<EditButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses the `edit` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the edit page with the record id route of resource.
`<EditButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses the `edit` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the edit page with the record id route of resource.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Wrapper = ({ children }) => {
};
```

`<ExportButton>` is an Chakra UI [`<Button>`](https://chakra-ui.com/docs/components/button/usage) with a default export icon and a default text with "Export". It only has presentational value.
`<ExportButton>` is an Chakra UI [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) with a default export icon and a default text with "Export". It only has presentational value.

```tsx live url=http://localhost:3000 previewHeight=420px hideCode
setInitialRoutes(["/posts"]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,5 @@ render(
<PropsTable module="@refinedev/chakra-ui/ImportButton" />

[useimport]: /docs/core/hooks/utilities/use-import
[button]: https://chakra-ui.com/docs/components/button/usage
[button]: https://www.chakra-ui.com/docs/components/button#usage
[input]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Wrapper = ({ children }) => {
};
```

`<ListButton>` is using Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses the `list` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the list page route of resource.
`<ListButton>` is using Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses the `list` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the list page route of resource.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Wrapper = ({ children }) => {
};
```

`<RefreshButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component to update the data shown on the page via the [`useInvalidate`][use-invalidate] hook.
`<RefreshButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component to update the data shown on the page via the [`useInvalidate`][use-invalidate] hook.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Wrapper = ({ children }) => {
};
```

`<SaveButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses it for presantation purposes only. Some of the hooks that Refine has adds features to this button.
`<SaveButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses it for presantation purposes only. Some of the hooks that Refine has adds features to this button.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ShowPage = () => {
};
```

`<ShowButton>` uses Chakra UI's [`<Button>`](https://chakra-ui.com/docs/components/button/usage) component. It uses the `show` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the show page with the record id route of resource.
`<ShowButton>` uses Chakra UI's [`<Button>`](https://www.chakra-ui.com/docs/components/button#usage) component. It uses the `show` method from [`useNavigation`](/docs/routing/hooks/use-navigation) under the hood. It can be useful when redirecting the app to the show page with the record id route of resource.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field is used to display boolean values. It uses the [`<Tooltip>`](https://chakra-ui.com/docs/components/tooltip/usage) values from Chakra UI.
This field is used to display boolean values. It uses the [`<Tooltip>`](https://www.chakra-ui.com/docs/components/tooltip#usage) values from Chakra UI.

:::simple Good to know

Expand Down Expand Up @@ -173,6 +173,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI [Tooltip](https://chakra-ui.com/docs/components/tooltip/usage).
It also accepts all props of Chakra UI [Tooltip](https://www.chakra-ui.com/docs/components/tooltip#usage).

:::
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI's [Text](https://chakra-ui.com/docs/components/text/usage) component.
It also accepts all props of Chakra UI's [Text](https://www.chakra-ui.com/docs/components/text#usage) component.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field is used to display email values. It uses the [`<Link>`](https://chakra-ui.com/docs/components/link/usage) component of Chakra UI.
This field is used to display email values. It uses the [`<Link>`](https://www.chakra-ui.com/docs/components/link#usage) component of Chakra UI.

:::simple Good to know

Expand Down Expand Up @@ -164,7 +164,7 @@ render(

:::tip

`<EmailField>` uses "mailto:" in the href prop of the [`<Link>`](https://chakra-ui.com/docs/components/link/usage) component. For this reason, clicking `<EmailField>` opens your device's default mail application.
`<EmailField>` uses "mailto:" in the href prop of the [`<Link>`](https://www.chakra-ui.com/docs/components/link#usage) component. For this reason, clicking `<EmailField>` opens your device's default mail application.

:::

Expand All @@ -174,4 +174,4 @@ render(

<PropsTable module="@refinedev/chakra-ui/EmailField" />

> For the rest of Anchor properties, refer to the [Chakra UI documentation &#8594](https://chakra-ui.com/docs/components/link/usage)
> For the rest of Anchor properties, refer to the [Chakra UI documentation &#8594](https://www.chakra-ui.com/docs/components/link#usage)
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field is used to display files and it uses the [`<Link>`](https://chakra-ui.com/docs/components/link/usage) component of Chakra UI.
This field is used to display files and it uses the [`<Link>`](https://www.chakra-ui.com/docs/components/link#usage) component of Chakra UI.

:::simple Good to know

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI's [Text](https://chakra-ui.com/docs/components/text/usage) component.
It also accepts all props of Chakra UI's [Text](https://www.chakra-ui.com/docs/components/text#usage) component.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field lets you display a value in a tag. It uses Chakra UI's [`<Tag>`](https://chakra-ui.com/docs/components/tag/usage) component.
This field lets you display a value in a tag. It uses Chakra UI's [`<Tag>`](https://www.chakra-ui.com/docs/components/tag#usage) component.

:::simple Good to know

Expand Down Expand Up @@ -164,6 +164,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI's [Tag](https://chakra-ui.com/docs/components/tag/usage) component.
It also accepts all props of Chakra UI's [Tag](https://www.chakra-ui.com/docs/components/tag#usage) component.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field lets you show basic text. It uses Chakra UI's [`<Text>`](https://chakra-ui.com/docs/components/text/usage) component.
This field lets you show basic text. It uses Chakra UI's [`<Text>`](https://www.chakra-ui.com/docs/components/text#usage) component.

:::simple Good to know

Expand Down Expand Up @@ -111,6 +111,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI's [Text](https://chakra-ui.com/docs/components/text/usage) component.
It also accepts all props of Chakra UI's [Text](https://www.chakra-ui.com/docs/components/text#usage) component.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Wrapper = ({ children }) => {
};
```

This field lets you embed a link. It uses Chakra UI's [`<Link>`](https://chakra-ui.com/docs/components/link/usage) component. You can pass a URL in its `value` prop and you can show a text in its place by passing any `children`.
This field lets you embed a link. It uses Chakra UI's [`<Link>`](https://www.chakra-ui.com/docs/components/link#usage) component. You can pass a URL in its `value` prop and you can show a text in its place by passing any `children`.

:::simple Good to know

Expand Down Expand Up @@ -164,6 +164,6 @@ render(

:::simple External Props

It also accepts all props of Chakra UI's [Link](https://chakra-ui.com/docs/components/link/usage) component.
It also accepts all props of Chakra UI's [Link](https://www.chakra-ui.com/docs/components/link#usage) component.

:::

0 comments on commit c143f60

Please sign in to comment.