From 9748f4abf3d02892703b98580f9e9300e90cc057 Mon Sep 17 00:00:00 2001 From: olitreadwell Date: Thu, 3 Sep 2026 21:02:52 +0000 Subject: [PATCH] docs: fix typos in documentation --- CONTRIBUTING.md | 2 +- packages/dev/docs/pages/releases/2021-12-16.mdx | 2 +- packages/dev/docs/pages/releases/2024-07-22.mdx | 2 +- packages/dev/docs/pages/releases/2025-01-15.mdx | 2 +- packages/dev/docs/pages/releases/2025-05-19.mdx | 2 +- packages/dev/docs/pages/releases/2025-10-02.mdx | 2 +- packages/dev/s2-docs/pages/react-aria/Autocomplete.mdx | 2 +- .../blog/how-we-internationalized-our-numberfield.mdx | 2 +- .../dev/s2-docs/pages/react-aria/blog/rtl-date-time.mdx | 2 +- rfcs/2022-v3-resizable-columns.md | 8 ++++---- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d6542dc5420..c1b9ad91aa7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -96,7 +96,7 @@ All third-party contributions to this project must be accompanied by a signed co ## Where to start There are many places to dive into react-spectrum to help out. Before you take on a feature or issue, make sure you become familiar with [our architecture](https://github.com/adobe/react-spectrum/blob/main/rfcs/2019-v3-architecture.md). -If you are looking for place to start, consider the following options: +If you are looking for a place to start, consider the following options: - Look for issues tagged with help wanted and/or good first issue. - Help triage existing issues by investigating problems and following up on missing information. - Update missing or fix existing documentation diff --git a/packages/dev/docs/pages/releases/2021-12-16.mdx b/packages/dev/docs/pages/releases/2021-12-16.mdx index a8567121848..7c3e47f19f0 100644 --- a/packages/dev/docs/pages/releases/2021-12-16.mdx +++ b/packages/dev/docs/pages/releases/2021-12-16.mdx @@ -26,7 +26,7 @@ For our end of year release we worked on improving our accessibility, types and - Fix incorrect color rending for `Checkbox` - [@paulchan14](https://github.com/paulchan14) - [PR](https://github.com/adobe/react-spectrum/pull/2662) - Pass filtered DOM props to Tabs - [@khoad](https://github.com/khoad) - [PR](https://github.com/adobe/react-spectrum/pull/2655) - Fix incorrect active state on disabled `Checkbox` in Firefox - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/2582) -- Update types for ComboBox to seperate stately props - [@frdclav](https://github.com/frdclav) - [PR](https://github.com/adobe/react-spectrum/pull/2651) +- Update types for ComboBox to separate stately props - [@frdclav](https://github.com/frdclav) - [PR](https://github.com/adobe/react-spectrum/pull/2651) - Remove unused type `disallowEmptySelection` from `ComboBox`, `Select` and `useSingleSelectListState` - [@qilto](https://github.com/qilto) - [PR](https://github.com/adobe/react-spectrum/pull/2652/) - Improve VO support for selection and long press - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/2521) - Add additional translations for long press support in React Aria `grid` - [andmail101](https://github.com/angmail101) - [PR](https://github.com/adobe/react-spectrum/pull/2690) diff --git a/packages/dev/docs/pages/releases/2024-07-22.mdx b/packages/dev/docs/pages/releases/2024-07-22.mdx index c98e3afb83f..f9860fa8446 100644 --- a/packages/dev/docs/pages/releases/2024-07-22.mdx +++ b/packages/dev/docs/pages/releases/2024-07-22.mdx @@ -127,7 +127,7 @@ Because of various breaking changes, several packages are being bumped a major v - Add Breadcrumb render props to docs - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/6489) - Add Ripple button example to docs - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/6579), [PR](https://github.com/adobe/react-spectrum/pull/6709) - Add example customizing `selectvalue` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/6425) -- Fix various doc examples for accessiblity - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/6607) +- Fix various doc examples for accessibility - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/6607) - Fix typo in interactions docs - [@jvliwanag](https://github.com/jvliwanag) - [PR](https://github.com/adobe/react-spectrum/pull/6698) - Fix typo in DropZone docs - [@wojtekmaj](https://github.com/wojtekmaj) - [PR](https://github.com/adobe/react-spectrum/pull/6334) - Fix RAC Slider label example - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/6710) diff --git a/packages/dev/docs/pages/releases/2025-01-15.mdx b/packages/dev/docs/pages/releases/2025-01-15.mdx index c26d6a04abe..941e084df0c 100644 --- a/packages/dev/docs/pages/releases/2025-01-15.mdx +++ b/packages/dev/docs/pages/releases/2025-01-15.mdx @@ -63,7 +63,7 @@ We are also excited to announce the alpha release of the [@react-aria/test-utils - Overlays - Prevent `Popover` from closing on scroll - [@jabrks](https://github.com/jabrks) - [PR](https://github.com/adobe/react-spectrum/pull/7541) - Fix dismissing iOS keyboard when input in dialog has focus - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7479) - - Include scroll padding in `scrollIntoView` caclulations inside overlays - [@jeffijoe](https://github.com/jeffijoe) - [PR](https://github.com/adobe/react-spectrum/pull/7484) + - Include scroll padding in `scrollIntoView` calculations inside overlays - [@jeffijoe](https://github.com/jeffijoe) - [PR](https://github.com/adobe/react-spectrum/pull/7484) - Misc - Skip elements with `contenteditable=false` in FocusScope - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/7340) - Fix `@react-aria/optimize-locales-plugin` path resolution on Windows - [@ohansFavour](https://github.com/ohansFavour) - [PR](https://github.com/adobe/react-spectrum/pull/7568) diff --git a/packages/dev/docs/pages/releases/2025-05-19.mdx b/packages/dev/docs/pages/releases/2025-05-19.mdx index 64bec956f82..7140d66f40c 100644 --- a/packages/dev/docs/pages/releases/2025-05-19.mdx +++ b/packages/dev/docs/pages/releases/2025-05-19.mdx @@ -40,7 +40,7 @@ As always, thank you to our community for their support and contributions! * Collections * Fix updating dynamic `Table` columns - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8211) * Improve performance of collection updates in React transitions - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8204) - * Prevent disabled items in collections from recieving focus when clicked - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/8246) + * Prevent disabled items in collections from receiving focus when clicked - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/8246) * Date and Time * Apply `aria-details` on `Calendar` - [@Persists](https://github.com/Persists) - [PR](https://github.com/adobe/react-spectrum/pull/8042) * Fix circular dependency in @internationalized/date - [@luixo](https://github.com/luixo) - [PR](https://github.com/adobe/react-spectrum/pull/8001) diff --git a/packages/dev/docs/pages/releases/2025-10-02.mdx b/packages/dev/docs/pages/releases/2025-10-02.mdx index 4dd09861f18..841a84ab438 100644 --- a/packages/dev/docs/pages/releases/2025-10-02.mdx +++ b/packages/dev/docs/pages/releases/2025-10-02.mdx @@ -46,7 +46,7 @@ To support multi-selection in React Aria Select, we are updating the API from `s * Prevent crash in React Aria collections when used with Suspense and `useTransition` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8835) * Fix collection dirty node tracking with Suspense - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8892) * Date and Time - * Fix the day the week starts with when specifiying `ISO 8601` in the locale - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8815), [PR](https://github.com/adobe/react-spectrum/pull/8877) + * Fix the day the week starts with when specifying `ISO 8601` in the locale - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8815), [PR](https://github.com/adobe/react-spectrum/pull/8877) * Fix date parsing when there are seconds in the offset - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8900) * Ensure `isReadonly` applies to all non-literal date segments - [@Persists](https://github.com/Persists) - [PR](https://github.com/adobe/react-spectrum/pull/7969) * Add `isReadOnly` to the render props in React Aria DateField/DatePicker - [@Mr-Heidari](https://github.com/Mr-Heidari) - [PR](https://github.com/adobe/react-spectrum/pull/8818) diff --git a/packages/dev/s2-docs/pages/react-aria/Autocomplete.mdx b/packages/dev/s2-docs/pages/react-aria/Autocomplete.mdx index d955f28f353..278c6cde93a 100644 --- a/packages/dev/s2-docs/pages/react-aria/Autocomplete.mdx +++ b/packages/dev/s2-docs/pages/react-aria/Autocomplete.mdx @@ -684,7 +684,7 @@ const stocks = [ { id: 10, symbol: 'THQ', - name: 'Tekla Healthcare Opportunies Fund', + name: 'Tekla Healthcare Opportunities Fund', sector: 'n/a', marketCap: '$772.41M', industry: 'n/a', diff --git a/packages/dev/s2-docs/pages/react-aria/blog/how-we-internationalized-our-numberfield.mdx b/packages/dev/s2-docs/pages/react-aria/blog/how-we-internationalized-our-numberfield.mdx index 44c83341302..8086ef62d59 100644 --- a/packages/dev/s2-docs/pages/react-aria/blog/how-we-internationalized-our-numberfield.mdx +++ b/packages/dev/s2-docs/pages/react-aria/blog/how-we-internationalized-our-numberfield.mdx @@ -109,7 +109,7 @@ The `inputMode` DOM attribute can be used to control the on screen keyboard show
Iphone screenshot of example NumberField inputMode=decimal - Wth inputMode="decimal", iOS does include a decimal point, but no minus key. + With inputMode="decimal", iOS does include a decimal point, but no minus key.
Iphone screenshot of example NumberField inputMode=text diff --git a/packages/dev/s2-docs/pages/react-aria/blog/rtl-date-time.mdx b/packages/dev/s2-docs/pages/react-aria/blog/rtl-date-time.mdx index 2b1deeec93b..d2365a39dff 100644 --- a/packages/dev/s2-docs/pages/react-aria/blog/rtl-date-time.mdx +++ b/packages/dev/s2-docs/pages/react-aria/blog/rtl-date-time.mdx @@ -114,7 +114,7 @@ However, this assumption proved too broad. In some locales, such as Arabic (`ar- ``` -Through much trial and error, we discovered that applying the [left-to-right embedding (LRE) Unicode](https://unicode.org/reports/tr9/#Explicit_Directional_Embeddings) on each date segment displayed date fields in Hebrew as left-to-right but also preserved the right-to-left marks on the separaters in Arabic, ensuring that dates in both languages were formatted correctly. While we could have added Unicode to the segments like we did with the time fields, we opted for the [equivalent CSS](https://unicode.org/reports/tr9/#Markup_And_Formatting) approach instead to avoid modifying the DOM. This CSS is applied on date segments with placeholder or actual values to avoid the behavior discussed earlier with shifting segments. Through additional testing, we found that we should only apply left-to-right embedding on numeric values. If the value was displayed as text (e.g. "November" instead of "11"), we did not apply this CSS. +Through much trial and error, we discovered that applying the [left-to-right embedding (LRE) Unicode](https://unicode.org/reports/tr9/#Explicit_Directional_Embeddings) on each date segment displayed date fields in Hebrew as left-to-right but also preserved the right-to-left marks on the separators in Arabic, ensuring that dates in both languages were formatted correctly. While we could have added Unicode to the segments like we did with the time fields, we opted for the [equivalent CSS](https://unicode.org/reports/tr9/#Markup_And_Formatting) approach instead to avoid modifying the DOM. This CSS is applied on date segments with placeholder or actual values to avoid the behavior discussed earlier with shifting segments. Through additional testing, we found that we should only apply left-to-right embedding on numeric values. If the value was displayed as text (e.g. "November" instead of "11"), we did not apply this CSS. ## Keyboard Navigation diff --git a/rfcs/2022-v3-resizable-columns.md b/rfcs/2022-v3-resizable-columns.md index 6126a7dedb6..9afb8c2aaec 100644 --- a/rfcs/2022-v3-resizable-columns.md +++ b/rfcs/2022-v3-resizable-columns.md @@ -37,7 +37,7 @@ The `defaultWidth` prop is used on the `` component to set the width for The `minWidth` and `maxWidth` props are used on the `` component to define the minimum and maximum allowed column widths respectively. These props support pixel values and percentages. -The `onColumnResize`and `onColumnResizeEnd` props can be added to the `` component. `onColumnResize` will call the onResize callback whenever columns are resized by the user, passing in an array of all the columns that were affected by the resize. `onColumnResizeEnd` is the same as `onColumnResize` but only get's called when done resizing. +The `onColumnResize`and `onColumnResizeEnd` props can be added to the `` component. `onColumnResize` will call the onResize callback whenever columns are resized by the user, passing in an array of all the columns that were affected by the resize. `onColumnResizeEnd` is the same as `onColumnResize` but only gets called when done resizing. ``` @@ -52,9 +52,9 @@ The `onColumnResize`and `onColumnResizeEnd` props can be added to the `