Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos in docs #2140

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/anatomy-icons/scripts/generate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const svgCode = html`
`

/* -----------------------------------------------------------------------------
* Implmentation
* Implementation
* -----------------------------------------------------------------------------*/

function toDashCase(str) {
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/context-menu.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Context Menu
description: Using the menu machine fo nested menus in your project.
description: Using the menu machine for nested menus in your project.
package: "@zag-js/menu"
slugAlias: "menu"
---
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/nested-menu.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Nested Menu
description: Using the menu machine fo nested menus in your project.
description: Using the menu machine for nested menus in your project.
package: "@zag-js/menu"
slugAlias: "menu"
---
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/number-input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The number input machine supports the scrubber interaction pattern. The use this
pattern, spread the `scrubberProps` from the `api` on to the scrubbing element.

It uses the Pointer lock API and tracks the pointer movement. It also renders a
virtual cursor which mimicks the real cursor's pointer.
virtual cursor which mimics the real cursor's pointer.

<CodeSnippet id="number-input/scrubber.mdx" />

Expand Down
2 changes: 1 addition & 1 deletion website/data/components/tags-input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const [state, send] = useMachine(

## Paste behavior

To add a tag when a arbritary value is pasted in the input element, pass the
To add a tag when a arbitrary value is pasted in the input element, pass the
`addOnPaste` option.

When a value is pasted, the machine will:
Expand Down
2 changes: 1 addition & 1 deletion website/data/overview/programmatic-control.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ we allow users pass it directly into the `machine` function.
> can't be updated later on. Keep reading to see how to update it.

For example, if you want an accordion to start with a specific selected value.
Here's how to acheive that:
Here's how to achieve that:

```jsx
const [state, send] = useMachine(
Expand Down
Loading