Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
97965b7
test: adds ShadowDOM / UNSAFE_PortalProvider tests
johnpangalos Aug 7, 2025
c291e40
Add patch and fixing some tests.
johnpangalos Aug 15, 2025
41b4aff
Reverting formatting changes
johnpangalos Aug 15, 2025
d17c414
Deleting AI gen tests that weren't working
johnpangalos Sep 2, 2025
34ce18c
Update packages/@react-aria/interactions/test/useInteractOutside.test.js
johnpangalos Sep 3, 2025
09605f0
Update packages/@react-aria/interactions/test/useInteractOutside.test.js
johnpangalos Sep 3, 2025
bcae45c
docs: october release notes (#8957)
yihuiliao Oct 2, 2025
92c4683
fix version
devongovett Oct 2, 2025
0ece023
fix: Avoid duplicate capture events (#8917)
chirokas Oct 3, 2025
0fb3ecf
docs: fix S2 docs mobile search bugs (#8964)
reidbarber Oct 3, 2025
7c2ac11
docs: Improve styling API docs (#8968)
devongovett Oct 4, 2025
4a476b2
docs: s2 docs quick fixes (#8967)
yihuiliao Oct 6, 2025
5df5e61
feat: table "inline" editing (#8754)
snowystinger Oct 6, 2025
aa0ca3a
fix: Combobox VoiceOver announcement not respecting `aria-label` of `…
SimonSelg Oct 6, 2025
d0b48e4
docs: Make component card heights match (#8979)
devongovett Oct 6, 2025
3534bdb
export useUNSAFE_PortalContext from react-aria (#8978)
reidbarber Oct 6, 2025
ac51553
fix(scrollIntoViewport): add root to scrollParents (#8981)
ValeraS Oct 6, 2025
d052e68
docs: S2 docs fixes from testing (broken links and more) (#8982)
reidbarber Oct 8, 2025
4c26a19
fix: RAC Numberfield scrolling with stepper buttons (#8474)
snowystinger Oct 8, 2025
68e10c7
enhance error handling for absolute date and datetime strings (#8987)
komkanit Oct 8, 2025
88fe3f6
fix: Assorted new docs fixes from testing (#8875)
LFDanLu Oct 8, 2025
354a892
Add GridListSectionProps to exports in index.ts (#8993)
iagodahlem Oct 8, 2025
52e6924
fix: Inline editing tables (#8983)
snowystinger Oct 8, 2025
1932b3b
docs: improve markdown docs script (#8970)
reidbarber Oct 8, 2025
3d11406
chore: Lockfiles for all apps (#8940)
snowystinger Oct 8, 2025
7155cd5
fix(RAC): ensure Input autoFocus works when opening Modal from MenuIt…
chirokas Oct 8, 2025
051e830
Reverting bad tests
johnpangalos Oct 9, 2025
21634b9
WIP test only popover
johnpangalos Oct 10, 2025
740d6a9
Add shadow-dom-testing-library
johnpangalos Oct 10, 2025
f404b2b
cleanup
johnpangalos Oct 10, 2025
a9a9cea
docs: fix og images and descriptions (#8990)
reidbarber Oct 9, 2025
978887d
chore: fix starters build typescript error (#9006)
reidbarber Oct 9, 2025
28471d9
fix(S2): fix Modal position and S2 docs modal style (#9007)
reidbarber Oct 9, 2025
604b1c5
docs: Prepare S2 docs deploy (#8969)
devongovett Oct 9, 2025
0223ea9
fix: S2 docs Skeleton page (#9008)
snowystinger Oct 10, 2025
be1d219
docs: Improve root page (#9009)
devongovett Oct 10, 2025
65e2932
docs: Change beta badge to indigo
devongovett Oct 10, 2025
61d2678
docs: Fix docs issues (#9021)
devongovett Oct 10, 2025
d846f3e
docs: update styling.mdx to reference Motion instead of Framer Motion…
jan10 Oct 10, 2025
849a363
chore: Remove dead dependencies (#8941)
snowystinger Oct 13, 2025
5cdfc25
chore: fix code rendering for Dialog Container example story (#9028)
LFDanLu Oct 13, 2025
4269542
fix(Toast): fix long words overflowing toast container (#8962)
reidbarber Oct 14, 2025
bdc4a78
docs: add MCP server docs (#9020)
reidbarber Oct 14, 2025
6f6a302
fix: mcp improvements (#9034)
reidbarber Oct 15, 2025
f4033a5
chore: Remove more dead dependencies (#9010)
snowystinger Oct 16, 2025
c6d6c40
fix(Autocomplete): links not opening in new tab on meta key modifier …
reidbarber Oct 16, 2025
f75e49f
fix(Disclosure): Prevent incorrectly showing content when isDisabled …
stdavis Oct 16, 2025
b2ed408
fix(S2): forward focus to textarea in FieldGroup (#9037)
tmvnkr Oct 16, 2025
43ab924
update comment for staticColor prop (#9052)
dannify Oct 17, 2025
d8a9676
docs: random docs improvements (#9048)
reidbarber Oct 17, 2025
315ecd2
feat: Support setState callback in useControlledState (#9041)
devongovett Oct 18, 2025
6fc2df0
fix: Clear button context provider on TagGroup items so they don't th…
LFDanLu Oct 19, 2025
6cd982a
fix: remove obsolete textarea validation workaround (#9019)
chirokas Oct 20, 2025
b228dfb
chore: add cursor rule for release notes (#9033)
yihuiliao Oct 20, 2025
c1140cd
docs: Update React Aria example styling (#9049)
devongovett Oct 20, 2025
82c6f48
chore: get commits for testing (#9050)
yihuiliao Oct 20, 2025
0e74e25
docs: new component illustrations (#9060)
reidbarber Oct 20, 2025
72a283c
feat(RAC): SearchField: add readonly/required render props (#9025)
lixiaoyan Oct 20, 2025
6e1ba60
feat: Allow Tooltip to remain visible when trigger is clicked (#9027)
komkanit Oct 20, 2025
bcbcf35
chore: fix overlay positioning (#8848)
snowystinger Oct 20, 2025
70b05fd
docs: Add examples for Autocomplete and Select with TagGroup (#9068)
devongovett Oct 20, 2025
eab62fd
fix: add placeholder to starter app Textfield types (#9069)
LFDanLu Oct 20, 2025
dd55758
fix: update default disabledBehavior on RAC TableProps (#9042)
abeljohn Oct 20, 2025
ae51450
fix: update RAC Autocomplete starter stories to fix verdaccio build (…
reidbarber Oct 20, 2025
71362a5
fix (#8984)
vovsemenv Oct 20, 2025
9c3eb3d
Revert "fix: scrollIntoView should respect scroll-margin (#8715)" (#9…
LFDanLu Oct 22, 2025
c1a026c
fix: properly focus text area when tapping on invalid icon on mobile …
LFDanLu Oct 22, 2025
4c879db
fix: Styles on Group example to be more consistent (#9071)
snowystinger Oct 22, 2025
cf47044
fix: Fix crash in RAC Table DnD keyboard navigation (#8645)
chirokas Oct 22, 2025
5b515a8
feat: Table inline editing polish (#9002)
snowystinger Oct 23, 2025
b003d72
feat: Add CheckBoxGroup/Dialog/RadioGroup test utils (#9039)
LFDanLu Oct 23, 2025
24b6b50
chore: Update eslint plugin react hooks (#9012)
snowystinger Oct 23, 2025
ab4f376
fix: properly handle 0 as row ID (#9087)
chirokas Oct 23, 2025
414cd4a
docs: Import React Aria homepage into new website (#9074)
devongovett Oct 23, 2025
daeaded
fix(Toast): remove type from view transitions (#9088)
reidbarber Oct 24, 2025
aace9fc
feat: Animated transitions between tab panels (#9077)
devongovett Oct 24, 2025
74a8991
chore: fix verdaccio docs build (#9092)
reidbarber Oct 24, 2025
988cd5b
docs: Add examples section (#9094)
devongovett Oct 27, 2025
caa5326
docs: S2 Guides (#9083)
reidbarber Oct 27, 2025
fa56e70
docs: UI improvements (#9098)
devongovett Oct 27, 2025
1c101c0
fix: S2 API sweep (#9101)
snowystinger Oct 28, 2025
193e0fb
fix: Docs bugs from testing (#9109)
devongovett Oct 29, 2025
98a8a2f
fix: Mobile TagGroup and TreeView example (#9100)
snowystinger Oct 29, 2025
e9e7adf
fix: RAC LinkProps type (#9113)
reidbarber Oct 29, 2025
c9ff4a5
move @parcel/macros from devDependencies to dependencies (#9121)
jluyau Nov 1, 2025
a0dad5c
feat: Release notes for new docs (#9091)
snowystinger Nov 3, 2025
cc5e08a
docs: Add getting started and framework setup guides (#9126)
devongovett Nov 3, 2025
b7543d8
docs: add s2 non-component hook docs (#9106)
yihuiliao Nov 3, 2025
7fa5720
docs: add icons search to search menu (#9114)
reidbarber Nov 3, 2025
d305ee2
docs: s2 non-component hook docs followup (#9136)
yihuiliao Nov 4, 2025
26f4c4d
fix: new docs section sorting (#9137)
snowystinger Nov 4, 2025
3857bab
fix: release docs (#9139)
snowystinger Nov 4, 2025
52a2439
docs: add S2 provider docs (#9140)
yihuiliao Nov 4, 2025
d4572e7
fix: spacing in new docs (#9134)
snowystinger Nov 4, 2025
cd8bf74
docs: Add Forms and Customization guides (#9141)
devongovett Nov 5, 2025
9609ecc
docs: S2 docs fixes from testing (#9144)
reidbarber Nov 5, 2025
21cd759
chore: Upgrade parcel to v2.16.1 (#9147)
devongovett Nov 5, 2025
b1ac87a
fix: XL avatar size in ActionButton (#9149)
reidbarber Nov 5, 2025
5dd9d3b
fix(RAC): ListBox DnD with actions (#9150)
reidbarber Nov 5, 2025
24e1166
fix: createLeafComponent type (#9133)
chirokas Nov 5, 2025
f380662
docs: migrate blog posts (#9125)
reidbarber Nov 5, 2025
27c95f3
fix: use client in s2 icons (#9153)
snowystinger Nov 6, 2025
6aae283
fix: some browsers throw "signal is aborted without reason" (#9156)
bhovhannes Nov 6, 2025
52217fc
chore: Update eslint plugin react hooks followup (#9054)
snowystinger Nov 6, 2025
c94113a
fix: verdaccio builds (#9162)
snowystinger Nov 10, 2025
d34fb43
docs: Fix sandboxes, localStorage, and search cards (#9135)
devongovett Nov 11, 2025
d443ed8
docs: Style macro docs (#9090)
LFDanLu Nov 11, 2025
3a13400
docs: copy updates for style macro docs (#9170)
LFDanLu Nov 11, 2025
23acac2
fix: EditableTable Cells from testing feedback (#9108)
snowystinger Nov 12, 2025
ddd48e4
docs: hook followup from testing (#9166)
yihuiliao Nov 12, 2025
f3dec26
docs: docs testing followups (#9175)
LFDanLu Nov 12, 2025
1ad5555
docs: Add Quality page (#9099)
devongovett Nov 12, 2025
213bb16
docs: S2 docs layout + general improvements (#9159)
reidbarber Nov 13, 2025
20f5f8f
stash
bsmiley1 Nov 19, 2025
75a6a27
docs: add supported locales to provider docs (#9182)
yihuiliao Nov 13, 2025
e2c95c4
docs: more S2 docs fixes (#9183)
reidbarber Nov 14, 2025
29980bd
fix: refactor mcp servers into separate packages (#9061)
reidbarber Nov 14, 2025
0f6d9f9
docs: S2 docs skeleton loading improvements (#9186)
reidbarber Nov 14, 2025
28f2bdd
chore: Update Spectrum fonts for Arabic and Hebrew (#9187)
devongovett Nov 14, 2025
5c9dfe5
docs: update side nav (#9178)
yihuiliao Nov 17, 2025
6cd9d80
fix: preserve trailing content after code comments in code output (#9…
reidbarber Nov 17, 2025
c534c23
docs: Fix copying markdown in Safari (#9198)
devongovett Nov 17, 2025
e923201
docs: side nav follow up (#9195)
yihuiliao Nov 18, 2025
12b81c5
fix: DragPreview is not visible in safari (#9200)
devongovett Nov 18, 2025
1d3f711
chore: remove editable cell (#9179)
snowystinger Nov 18, 2025
9e331c8
fix(docs): S2 docs search menu view transitions (#9194)
reidbarber Nov 18, 2025
aa9c820
fix: open in v0 link (#9202)
devongovett Nov 18, 2025
ef0ec71
docs: Fix plant images (#9208)
devongovett Nov 18, 2025
88736e9
fix: ensure required icon has label when field is required (#9177)
LFDanLu Nov 18, 2025
4a09539
docs: S2 docs bug fixes from testing (#9207)
reidbarber Nov 18, 2025
593e19c
chore: change peer dep for S2 to be React 19 only (#9211)
LFDanLu Nov 19, 2025
84fb527
on blur dismiss combobox dropdown + key events in combobox text input
bsmiley1 Nov 24, 2025
bc568f3
fix: ts-fork-point github ssh error (#9226)
devongovett Nov 21, 2025
463e657
fix: Docs examples (#9190)
snowystinger Nov 21, 2025
bb0dda2
chore: add links to old docs for hooks we haven't migrated yet (#9203)
snowystinger Nov 22, 2025
6d1621e
Revert "chore: remove editable cell (#9179)" (#9210)
snowystinger Nov 22, 2025
629e145
docs: Link to imported files in code examples (#9197)
devongovett Nov 22, 2025
09df3b4
docs: RAC Toast docs for new docs site (#9219)
LFDanLu Nov 24, 2025
e1ee757
yarn lock update
bsmiley1 Nov 24, 2025
28cadd7
fix: render portals in PortalProvider's new container bounds prop
bsmiley1 Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 45 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@ parameters:
executors:
rsp:
docker:
- image: cimg/node:22.13.1
- image: cimg/node:22.21.1
environment:
CACHE_VERSION: v1
working_directory: ~/react-spectrum

rsp-large:
docker:
- image: cimg/node:22.13.1
- image: cimg/node:22.21.1
resource_class: large
environment:
CACHE_VERSION: v1
working_directory: ~/react-spectrum

rsp-xlarge:
docker:
- image: cimg/node:22.13.1
- image: cimg/node:22.21.1
resource_class: xlarge
environment:
CACHE_VERSION: v1
working_directory: ~/react-spectrum

rsp-2xlarge:
docker:
- image: cimg/node:22.13.1
- image: cimg/node:22.21.1
resource_class: 2xlarge
environment:
CACHE_VERSION: v1
Expand Down Expand Up @@ -380,6 +380,8 @@ jobs:
- run:
name: build fork-point apis
command: |
mkdir -p ~/.ssh
curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
yarn build:api-branch --githash="origin/main" --output="base-api" && yarn build:api-branch && yarn compare:apis

- persist_to_workspace:
Expand Down Expand Up @@ -478,6 +480,21 @@ jobs:
paths:
- '*/docs/'

docs-beta:
executor: rsp-xlarge
steps:
- restore_cache:
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}

- run:
name: build docs
command: make s2-docs-production

- persist_to_workspace:
root: dist
paths:
- '*/docs/'

s2-docs:
executor: rsp-xlarge
steps:
Expand Down Expand Up @@ -801,9 +818,10 @@ jobs:
- run:
name: deploy
command: |
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --exclude-pattern "*.md;*.txt"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.md" --content-type "text/markdown; charset=utf-8"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.txt" --content-type "text/plain; charset=utf-8"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --exclude-pattern "*.md;*.txt;*.html;*.rsc"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.md" --content-type "text/markdown; charset=utf-8" --cache-control "max-age=300"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.txt" --content-type "text/plain; charset=utf-8" --cache-control "max-age=300"
azcopy copy "/tmp/dist/production/docs/*" "https://reactspectrum.blob.core.windows.net/\$web${AZURE_STORAGE_SAS_TOKEN}" --recursive --include-pattern "*.html;*.rsc" --cache-control "max-age=300"

comment:
executor: rsp
Expand Down Expand Up @@ -1018,6 +1036,26 @@ workflows:
requires:
- docs-production


beta-docs:
when:
and:
- equal: [ "beta-docs", << pipeline.parameters.GHA_Action >> ]
jobs:
- install
- docs-beta:
filters:
branches:
only: beta-docs
requires:
- install
- deploy-production:
filters:
branches:
only: beta-docs
requires:
- docs-beta

nightly:
triggers:
- schedule:
Expand Down
22 changes: 22 additions & 0 deletions .cursor/rules/add-subheadings.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
alwaysApply: false
---

# Step 3: Add sub-headings

Within the Enhancements, Fixes, and Under Construction categories, group commits by UI component under sub-headings.

### Sub-heading rules:
- Use sub-headings ONLY for:
- Enhancements
- Fixes
- Under Construction
- Do NOT create sub-headings for:
- Documentation
- To Be Categorized
- S2
- Sub-headings should be in alphabetical order
- Use "Miscellaneous" as a sub-heading for commits that do not belong to a specific component
- Each category can have its own Miscellaneous sub-heading
- Write sub-headings and commits as unordered lists using a hyphen (-)
- Do NOT bold the sub-heading text
36 changes: 36 additions & 0 deletions .cursor/rules/categorize-commits.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
alwaysApply: false
---

# Step 1: Categorize commits

Sort ALL commit messages into one of six main categories. The main categories are the following:
- Enhancements
- Fixes
- Documentation
- Under Construction
- To Be Categorized
- S2

Before categorizing commits into other groups, check whether each commit should be classified as “Under Construction.”
- Follow the steps below in order:
1. Identify pre-release packages
- Use a command such as grep to scan the repository for package versions that include prerelease identifiers (e.g., alpha, beta, rc)
2. Extract component keywords from commit messages
- Parse each commit message to identify possible component names
- Normalize these keywords (e.g., lowercase, remove punctuation) for easier comparison.
3. Compare extracted keywords with pre-release packages
- If any keyword matches a package in the list, mark the commit as Under Construction.
4. Check for explicit prerelease keywords in commit text
- If the commit message directly includes alpha, beta, or rc, classify it as Under Construction, regardless of package matches.

Next, categorize the remaining commits not categorized as "Under Construction". Use the following keywords to determine the category:
| Keyword | Category |
|----------------------------|----------|
| feat | Enhancements|
| fix | Fixes |
| docs | Documentation |
| chore, revert, bump, build | To Be Categorized |
| S2 | S2 |

Do not duplicate commits. In terms of priority, it should be Under Construction > S2 > To Be Categorized > Enhancements > Fixes > Documentation
27 changes: 27 additions & 0 deletions .cursor/rules/rewrite-commit-message.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
alwaysApply: false
---

You are a expert technical writer for front-end development.

# Step 2: Rewrite commit messages

Original format: Type (Scope): Summary of changes - [@username](link to username) - [PR](link to PR)
New Format: Summary of changes - [@username](link to username) - [PR](link to PR)

### General Guidelines:
- Keep the summary as a single, grammatically correct sentence
- Verbs should be first person present tense but do NOT include the subject (e.g. I)
- The message should be concise and easy to read
- Wrap any camelCase or code-like terms (e.g. onClick, onAction, isDisabled) in backticks (``)
- Do NOT use backticks for component names
- Replace specific terms:
- RAC -> React Aria
- V3 -> React Spectrum
- ALWAYS capitalize UI component names
- Example:
- toast -> Toast
- inline alert -> InlineAlert

### Component Names to Capitalize:
Accordion, Autocomplete, Badge, Breadcrumbs, Buttons, Calendar, Checkbox, CheckboxGroup, Collections, ColorArea, ColorField, ColorPicker, ColorSlider, ColorSwatch, ColorSwatchPicker, ColorWheel, ComboBox, Date and Time, DateField, DatePicker, DateRangePicker, Dialog, Disclosure, DisclosureGroup, Drag and Drop, DropZone, FileTrigger, Form, InlineAlert, Link, Listbox, ListView, Menu, Meter, Modal, NotificationBadge, NumberField, Picker, ProgressBar, ProgressCircle, RadioGroup, RangeCalendar, SearchField, Select, Slider, StatusLight, Switch, Table, Tabs, TagGroup, TextArea, TextField, TimeField, Toast, ToggleButton, ToggleButtonGroup, Tooltip, Tree, Virtualizer.
15 changes: 15 additions & 0 deletions .github/workflows/beta-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Beta docs deploy
on:
release:
types: [published]
workflow_dispatch:

jobs:
trigger-circleci:
runs-on: ubuntu-latest
steps:
- name: Run CircleCI
id: beta-docs
uses: CircleCI-Public/[email protected]
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.DS_Store
.cache
.idea
.nyc_output
.package-lock.json
.parcel-cache
build-storybook.log
Expand Down
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.DS_Store
.storybook
.editorconfig
.nycrc
.nyc_output
coverage
Makefile
yarn.lock
Expand Down
8 changes: 0 additions & 8 deletions .nycrc

This file was deleted.

1 change: 1 addition & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"*.{md,mdx}": ["parcel-transformer-mdx-docs"],
"*.svg": ["@parcel/transformer-svg-react"],
"packages/@react-aria/example-theme/**/*.css": ["@parcel/transformer-css"],
"starters/docs/src/*.css": ["@parcel/transformer-css"],
"*.css": ["...", "parcel-transformer-css-env"],
"*.{js,mjs,jsm,jsx,es6,cjs,ts,tsx}": [
"@parcel/transformer-js",
Expand Down
22 changes: 22 additions & 0 deletions .storybook-s2/docs/Release Notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ export default MDXLayout;

# Release Notes

## v0.12.0

### Updates
* [ActionButton](?path=/docs/actionbutton--docs): Add pending state
* [ColorSlider](?path=/docs/colorslider--docs): Fix `ColorLoupe` position in RTL locales
* [ComboBox](?path=/docs/combobox--docs): Support avatars and onAction
* [CustomDialog](?path=/docs/customdialog--docs): Support custom widths
* [Dialog](?path=/docs/dialog--docs): Add XL size
* [Disclosure](?path=/docs/disclosure--docs): Add animation to disclosure
* [InlineAlert](?path=/docs/inlinealert--docs): Support heading-less Inline Alerts
* [Picker](?path=/docs/picker--docs): Support multiple selection and avatars
* [Tags](?path=/docs/taggroup--docs): Fix Tag collapse calculation for removeable tags
* [Tooltip](?path=/docs/tooltip--docs): Prevent text overflow by default
* Allow placeholders in supported S2 components (e.g. ColorArea, ComboBox, NumberField, SearchField, TextArea, TextField)
* Apply `page.css` styles to the Shadow DOM

### Popover Styling Updates

The Popover component has been updated to better support custom styling. To
remove the preset padding, use the new `padding` prop and wrap your Popover content
in a custom div with your desired styling.

## v0.11.0

### New Components
Expand Down
28 changes: 1 addition & 27 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,32 +77,6 @@ Or run the documentation and browse to [http://localhost:1234/](http://localhost
yarn start:docs
```

### Component/Hook scaffolding
If you are looking to contribute a brand new component or Hook in a package that does not exist yet, please run the following command.
```bash
yarn plop
```
This will start a series of cli prompts to determine what template files and folders should be generated to help quick start your contribution.
The prompts are as follows:

1. What type of project are you setting up?
- Select "React Spectrum v3"

2. Scope name(s)
- Select the package scopes that make sense for your contribution (e.g. react-spectrum if you are contributing a component, react-aria for an aria Hook, etc)

3. Package name, all lowercase (e.g. textfield)

4. Component name, please use appropriate uppercase (e.g. TextField)
- If you are contributing a non-component Hook, just enter the name of your Hook.

5. Component css module name, blank if N/A. If unsure, check @adobe/spectrum-css-temp/components for a module containing the desired css (e.g. textfield)
- If you cannot find the component CSS module name in @adobe/spectrum-css-temp/components, feel free to reach out to a team member via GitHub Issues or Discussions.

Upon answering all the prompts, the appropriate package(s) should be generated and ready for modification.

**Note:** With regards to the generated docs files, please feel free to remove them if you won't be contributing docs. If you are contributing docs for a new component or Hook, please submit them in a separate pull request so that we can decide when to deploy them to our docs site.

### Tests
We use [jest](https://jestjs.io/) for unit tests and [react-testing-library](https://testing-library.com/docs/react-testing-library/intro) for rendering and writing assertions. Please make sure you include tests with your pull requests. Our CI will run the tests on PRs as well as the linter and type checker. You can see on each PR whether you have passed all our checks. We split the tests into 2 groups.

Expand Down Expand Up @@ -154,7 +128,7 @@ yarn start:docs
Then, open [http://localhost:1234](http://localhost:1234) in your browser.

### Verdaccio
We use [Verdaccio](https://verdaccio.org/) to set up a private registry for our packages to test our components in our example apps.
We use [Verdaccio](https://verdaccio.org/) to set up a private registry for our packages to test our components in our example apps.

To run verdaccio, first ensure that your `git status` is clean. If your computer has an Intel chip, add the line `shopt -s globstar extglob` in the `verdaccio.sh` file after line 21. Save and commit these changes under a clear message like "Do not push". If you have an Apple silicon chip, you may skip this step.

Expand Down
27 changes: 18 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ website:
website-production:
node scripts/buildWebsite.js $$PUBLIC_URL
cp packages/dev/docs/pages/robots.txt dist/production/docs/robots.txt
# Uncomment this when we are ready to release.
# $(MAKE) s2-docs-production
$(MAKE) starter-zip
$(MAKE) tailwind-starter
$(MAKE) s2-storybook-docs
Expand All @@ -118,7 +120,7 @@ check-examples:
yarn tsc --project dist/docs-examples/tsconfig.json

starter:
cd starters/docs && yarn --no-immutable && yarn tsc
cd starters/docs && yarn --no-immutable && yarn up react-aria-components && yarn tsc

starter-zip: starter
cp LICENSE starters/docs/.
Expand All @@ -129,7 +131,8 @@ starter-zip: starter

tailwind-starter:
cp LICENSE starters/tailwind/.
cd starters/tailwind && yarn --no-immutable && yarn tsc
cd starters/tailwind && yarn --no-immutable && yarn up react-aria-components && yarn up tailwindcss-react-aria-components && yarn tsc

cd starters/tailwind && zip -r react-aria-tailwind-starter.zip . -x .gitignore .DS_Store "node_modules/*" "storybook-static/*"
mv starters/tailwind/react-aria-tailwind-starter.zip dist/production/docs/react-aria-tailwind-starter.$$(git rev-parse --short HEAD).zip
cd starters/tailwind && yarn build-storybook
Expand All @@ -143,12 +146,18 @@ s2-api-diff:
node scripts/api-diff.js --skip-same --skip-style-props

s2-docs:
PUBLIC_URL=https://reactspectrum.blob.core.windows.net/reactspectrum/$$(git rev-parse HEAD)/s2-docs DIST_DIR=dist/$$(git rev-parse HEAD)/s2-docs $(MAKE) build-s2-docs

s2-docs-production:
PUBLIC_URL=https://react-spectrum.adobe.com/beta DIST_DIR=dist/production/docs/beta $(MAKE) build-s2-docs

build-s2-docs:
yarn workspace @react-spectrum/s2-docs generate:md
yarn workspace @react-spectrum/s2-docs generate:og
REGISTRY_URL=https://reactspectrum.blob.core.windows.net/reactspectrum/$$(git rev-parse HEAD)/s2-docs/registry node scripts/buildRegistry.mjs
REGISTRY_URL=https://reactspectrum.blob.core.windows.net/reactspectrum/$$(git rev-parse HEAD)/s2-docs/registry yarn build:s2-docs --public-url /reactspectrum/$$(git rev-parse HEAD)/s2-docs/
mkdir -p dist/$$(git rev-parse HEAD)
mv packages/dev/s2-docs/dist dist/$$(git rev-parse HEAD)/s2-docs
mkdir -p dist/$$(git rev-parse HEAD)/s2-docs/registry
mv starters/docs/registry dist/$$(git rev-parse HEAD)/s2-docs/registry/vanilla
mv starters/tailwind/registry dist/$$(git rev-parse HEAD)/s2-docs/registry/tailwind
REGISTRY_URL=$(PUBLIC_URL)/registry node scripts/buildRegistry.mjs
REGISTRY_URL=$(PUBLIC_URL)/registry yarn build:s2-docs --public-url $(PUBLIC_URL)
mkdir -p $(DIST_DIR)
mv packages/dev/s2-docs/dist/* $(DIST_DIR)
mkdir -p $(DIST_DIR)/registry
mv starters/docs/registry $(DIST_DIR)/registry/vanilla
mv starters/tailwind/registry $(DIST_DIR)/registry/tailwind
5 changes: 0 additions & 5 deletions babel-esm.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
]
]
},
"cover": {
"plugins": [
"istanbul"
]
},
"production": {
"plugins": [
[
Expand Down
5 changes: 0 additions & 5 deletions babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
]
]
},
"cover": {
"plugins": [
"istanbul"
]
},
"production": {
"plugins": [
[
Expand Down
Loading