Skip to content

Commit

Permalink
[core] Fix Vale errors
Browse files Browse the repository at this point in the history
Those errors can be seen by running

vale sync && git ls-files | grep -h ".md$" | xargs vale --filter='.Level=="error"'

It's not in the CI yet because we share the config with the monorepo HEAD, which
could mean breaking the CI in Base UI as soon as a PR is merged in the monorepo.
  • Loading branch information
oliviertassinari committed Jul 29, 2024
1 parent 25eb16b commit 1bba089
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://master--material-ui.netlify.app/static/base-ui/base-ui-logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://master--material-ui.netlify.app/static/base-ui/base-ui-logo-light.svg">
<img alt="Base UI" src="https://master--material-ui.netlify.app/static/base-ui/base-ui-logo-light.svg" width="257" height="70">
<img alt="Base UI" src="https://master--material-ui.netlify.app/static/base-ui/base-ui-logo-light.svg" width="257" height="70">
</picture>
</a>
</p>

<p align="center">
Base UI is an unstyled UI component library for building accessible user interfaces while maintaining complete control over styling.
Base UI is an unstyled UI component library for building accessible user interfaces while maintaining complete control over styling.
</p>

<div align="center">
Expand Down
4 changes: 2 additions & 2 deletions docs/data/base/components/alert-dialog/alert-dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/

## Installation

Base UI components are all available as a single package.
Base UI components are all available as a single package.

<codeblock storageKey="package-manager">

Expand Down Expand Up @@ -131,7 +131,7 @@ If a component has a transition or animation applied to it when it closes, it wi
As this detection of exit animations requires an extra render, you may opt out of it by setting the `animated` prop on Popup and Backdrop to `false`.
We also recommend doing so in automated tests, to avoid asynchronous behavior and make testing easier.

Alternatively, you can use JS-based animations with a library like framer-motion, React Spring, or similar.
Alternatively, you can use JavaScript-based animations with a library like framer-motion, React Spring, or similar.
With this approach set the `keepMounted` to `true` and let the animation library control mounting and unmounting.

### CSS transitions
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/checkbox/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packageName: '@base_ui/react'

## Installation

Base UI components are all available as a single package.
Base UI components are all available as a single package.

<codeblock storageKey="package-manager">

Expand Down
4 changes: 2 additions & 2 deletions docs/data/base/components/dialog/dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/

## Installation

Base UI components are all available as a single package.
Base UI components are all available as a single package.

<codeblock storageKey="package-manager">

Expand Down Expand Up @@ -153,7 +153,7 @@ If a component has a transition or animation applied to it when it closes, it wi
As this detection of exit animations requires an extra render, you may opt out of it by setting the `animated` prop on Root to `false`.
We also recommend doing so in automated tests, to avoid asynchronous behavior and make testing easier.

Alternatively, you can use JS-based animations with a library like framer-motion, React Spring, or similar.
Alternatively, you can use JavaScript-based animations with a library like framer-motion, React Spring, or similar.
With this approach set the `keepMounted` to `true` and let the animation library control mounting and unmounting.

### CSS transitions
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/number-field/number-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packageName: '@base_ui/react'

## Installation

Base UI components are all available as a single package.
Base UI components are all available as a single package.

<codeblock storageKey="package-manager">

Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/switch/switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packageName: '@base_ui/react'

## Installation

Base UI components are all available as a single package.
Base UI components are all available as a single package.

<codeblock storageKey="package-manager">

Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/src/legacy/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Legacy Base UI components
# Legacy Base UI components

The components and hooks in this directory expose an older version of the customization API.
They are kept in the repository to maintain history, but they are not published in the npm package.
Expand Down

0 comments on commit 1bba089

Please sign in to comment.