Skip to content

Commit

Permalink
fix(docs): typos (#2373)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored Feb 18, 2024
1 parent 6e5ba69 commit 60e453d
Show file tree
Hide file tree
Showing 48 changed files with 55 additions and 55 deletions.
6 changes: 3 additions & 3 deletions apps/docs/config/search-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -776,14 +776,14 @@
}
},
{
"content": "Custom intials logic",
"content": "Custom initials logic",
"objectID": "2e3b1cd3-ec57-4653-8ca5-7d668f50bccd",
"type": "lvl3",
"url": "/docs/components/avatar#custom-intials-logic",
"url": "/docs/components/avatar#custom-initials-logic",
"hierarchy": {
"lvl1": "Avatar",
"lvl2": "Custom Implementation",
"lvl3": "Custom intials logic"
"lvl3": "Custom initials logic"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/blog/v2.2.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ collapse them into a dropdown menu.

<CodeDemo title="Customizing the Ellipsis Item" files={breadcrumbsContent.customizingEllipsis} />

### Apllying custom styles
### Applying custom styles

You can customize the `Breadcrumbs` component by passing custom Tailwind CSS classes to the component slots.

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/avatar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ In case you need to customize the avatar even further, you can use the `useAvata

<CodeDemo showPreview={false} title="Custom implementation" files={avatarContent.customImpl} />

### Custom intials logic
### Custom initials logic

It is possible to customize the logic used to generate the initials by passing a function to the `getInitials` prop.
By default we merge the first characters of each word in the `name` prop.
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/docs/components/navbar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ When the `NavbarItem` is active, it will have a `data-active` attribute. You can
| isMenuOpen | `boolean` | Indicates if the navbar menu is open. (controlled) | `false` |
| isMenuDefaultOpen | `boolean` | Indicates if the navbar menu is open by default. (uncontrolled) | `false` |
| shouldHideOnScroll | `boolean` | Indicates if the navbar should hide on scroll. | `false` |
| motionProps | [MotionProps](#motion-props) | The motion props to controle the `visible` / `hidden` animation. This motion is only available if the `shouldHideOnScroll` prop is set to `true`. | - |
| motionProps | [MotionProps](#motion-props) | The motion props to control the `visible` / `hidden` animation. This motion is only available if the `shouldHideOnScroll` prop is set to `true`. | - |
| disableScrollHandler | `boolean` | Whether the navbar parent scroll event should be listened to or not. | `false` |
| disableAnimation | `boolean` | Whether the navbar menu animation should be disabled or not. | `false` |
| classNames | `Record<"base"| "wrapper"| "brand"| "content"| "item"| "toggle"| "toggleIcon"| "menu"| "menuItem", string>` | Allows to set custom class names for the navbar slots. | - |
Expand Down Expand Up @@ -308,7 +308,7 @@ When the `NavbarItem` is active, it will have a `data-active` attribute. You can
| --------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | --------------- |
| children\* | `ReactNode[]` | The children to render as the navbar menu. Usually a list of `NavbarMenuItem` components. | - |
| portalContainer | `HTMLElement` | The container element in which the navbar menu overlay portal will be placed. | `document.body` |
| motionProps | [MotionProps](#motion-props) | The motion props to controle the `open` / `close` animation. This motion is only available if the `disableAnimation` prop is set to `false`. | - |
| motionProps | [MotionProps](#motion-props) | The motion props to control the `open` / `close` animation. This motion is only available if the `disableAnimation` prop is set to `false`. | - |

### NavbarMenuItem Props

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ your own implementation.

| Attribute | Type | Description |
| --------- | ------------------------ | --------------------------------------------------------------- |
| onChange | `(page: number) => void` | Handler that is called when the pagination acitve page changes. |
| onChange | `(page: number) => void` | Handler that is called when the pagination active page changes. |

---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/components/popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ You can customize the `Popover` component by passing custom Tailwind CSS classes

| Attribute | Type | Description | Default |
| ---------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| children\* | `ReactNode` | The popover trigger component, ensure the children passed is focusable. Users can tab to it using their keyboard, and it can take a ref. It is critical for accessiblity. | - |
| children\* | `ReactNode` | The popover trigger component, ensure the children passed is focusable. Users can tab to it using their keyboard, and it can take a ref. It is critical for accessibility. | - |

<Spacer y={2} />

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/vite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down Expand Up @@ -206,7 +206,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down
6 changes: 3 additions & 3 deletions apps/docs/content/docs/guide/upgrade-to-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down Expand Up @@ -230,7 +230,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down Expand Up @@ -330,7 +330,7 @@ If you are using pnpm, you need to add the following code to your `.npmrc` file:
public-hoist-pattern[]=*@nextui-org/*
```

After modfiying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.
After modifying the `.npmrc` file, you need to run `pnpm install` again to ensure that the dependencies are installed correctly.

</Steps>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/card/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/checkbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/chip/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/divider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/dropdown/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/image/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
4 changes: 2 additions & 2 deletions packages/components/input/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

- [#1543](https://github.com/nextui-org/nextui/pull/1543) [`043b8420c`](https://github.com/nextui-org/nextui/commit/043b8420cfb659cbb6bb36404807ec3cc8ac8592) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - Fix #1492 \n

- Select adn Input spaces fixed on helper wrapper
- Select and Input spaces fixed on helper wrapper
- New select wrapper added `mainWrapper` which contains the helperWrapper and the trigger slots
- Outside input with start content fixed

Expand Down Expand Up @@ -205,7 +205,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/kbd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/link/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/modal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/navbar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/pagination/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/popover/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/progress/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/radio/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/ripple/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/select/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@

- [#1543](https://github.com/nextui-org/nextui/pull/1543) [`043b8420c`](https://github.com/nextui-org/nextui/commit/043b8420cfb659cbb6bb36404807ec3cc8ac8592) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - Fix #1492 \n

- Select adn Input spaces fixed on helper wrapper
- Select and Input spaces fixed on helper wrapper
- New select wrapper added `mainWrapper` which contains the helperWrapper and the trigger slots
- Outside input with start content fixed

Expand Down
2 changes: 1 addition & 1 deletion packages/components/snippet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/switch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
2 changes: 1 addition & 1 deletion packages/components/tabs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@

- [#1359](https://github.com/nextui-org/nextui/pull/1359) [`a30cec48`](https://github.com/nextui-org/nextui/commit/a30cec4810988fb1962f3a61e0fc0362de08b171) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - \n

- react-aria packages updgraded to the latest version
- react-aria packages upgraded to the latest version
- image storybooks fixed
- other bug fixes..

Expand Down
Loading

0 comments on commit 60e453d

Please sign in to comment.