From 1bba089be1c223bccba2cf7b877b7db559b45429 Mon Sep 17 00:00:00 2001
From: Olivier Tassinari
Date: Mon, 29 Jul 2024 15:17:41 +0200
Subject: [PATCH] [core] Fix Vale errors
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.
---
README.md | 4 ++--
docs/data/base/components/alert-dialog/alert-dialog.md | 4 ++--
docs/data/base/components/checkbox/checkbox.md | 2 +-
docs/data/base/components/dialog/dialog.md | 4 ++--
docs/data/base/components/number-field/number-field.md | 2 +-
docs/data/base/components/switch/switch.md | 2 +-
packages/mui-base/src/legacy/README.md | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 801cbc2fc9..717b477d51 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,13 @@
-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.
diff --git a/docs/data/base/components/alert-dialog/alert-dialog.md b/docs/data/base/components/alert-dialog/alert-dialog.md
index ad67481d4b..0c7225a2e1 100644
--- a/docs/data/base/components/alert-dialog/alert-dialog.md
+++ b/docs/data/base/components/alert-dialog/alert-dialog.md
@@ -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.
@@ -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
diff --git a/docs/data/base/components/checkbox/checkbox.md b/docs/data/base/components/checkbox/checkbox.md
index 26ff66e2fd..859573f5a0 100644
--- a/docs/data/base/components/checkbox/checkbox.md
+++ b/docs/data/base/components/checkbox/checkbox.md
@@ -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.
diff --git a/docs/data/base/components/dialog/dialog.md b/docs/data/base/components/dialog/dialog.md
index ac4f7c7e66..4f53472391 100644
--- a/docs/data/base/components/dialog/dialog.md
+++ b/docs/data/base/components/dialog/dialog.md
@@ -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.
@@ -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
diff --git a/docs/data/base/components/number-field/number-field.md b/docs/data/base/components/number-field/number-field.md
index f116e5d900..3b78fcd7b6 100644
--- a/docs/data/base/components/number-field/number-field.md
+++ b/docs/data/base/components/number-field/number-field.md
@@ -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.
diff --git a/docs/data/base/components/switch/switch.md b/docs/data/base/components/switch/switch.md
index dc5b3e8b7a..43c45567a8 100644
--- a/docs/data/base/components/switch/switch.md
+++ b/docs/data/base/components/switch/switch.md
@@ -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.
diff --git a/packages/mui-base/src/legacy/README.md b/packages/mui-base/src/legacy/README.md
index b75c3e2847..c107528834 100644
--- a/packages/mui-base/src/legacy/README.md
+++ b/packages/mui-base/src/legacy/README.md
@@ -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.