Skip to content

Commit 45a39c1

Browse files
committed
Merge branch 'main' of github.com:adobe/react-spectrum into baseCollection_filter
2 parents 3a8301e + 6a35a9a commit 45a39c1

File tree

269 files changed

+3832
-3238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+3832
-3238
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
needs translations:
2+
- changed-files:
3+
- any-glob-to-any-file: ['**/intl/*.json']

.github/workflows/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5
13+
with:
14+
sync-labels: true

.storybook-s2/docs/Release Notes.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ export default MDXLayout;
44

55
# Release Notes
66

7+
## v0.10.0
8+
9+
### Font update
10+
11+
This release introduces a new font for Spectrum 2: Adobe Clean Spectrum VF. This is an evolution of the previous Adobe Clean, with slightly updated metrics allowing for better vertical centering. Along with this update, the S2 Provider component now automatically handles loading the fonts needed for the user's language. The new font does not affect previous versions of React Spectrum.
12+
13+
If you previously used `page.css` without a `Provider`, you'll need to add a `Provider` around your app to load the fonts. See the [updated docs](?path=/docs/intro--docs#setting-up-your-app) for details.
14+
15+
### New Components
16+
17+
* [Calendar](?path=/docs/calendar--docs)
18+
* [RangeCalendar](?path=/docs/rangecalendar--docs)
19+
* [DateField](?path=/docs/datefield--docs)
20+
* [DatePicker](?path=/docs/datepicker--docs)
21+
* [DateRangePicker](?path=/docs/daterangepicker--docs)
22+
* [TimeField](?path=/docs/timefield--docs)
23+
24+
### Updates
25+
26+
* [CardView](?path=/docs/cardview--docs): Fix ActionBar from not scrolling
27+
* [ActionButton](?path=/docs/actionbutton--docs): Fix avatar-only ActionButtons to have square dimensions
28+
* [Tabs](?path=/docs/tabs--docs): Improve selection indicator animation, fix collasped tabs
29+
* [ProgressCircle](?path=/docs/progresscircle--docs): Add track outline in High Contrast Mode
30+
* [Switch](?path=/docs/switch--docs): Fix the toggle in RTL locales
31+
* [TreeView](?path=/docs/treeview--docs): Support async loading
32+
733
## v0.9.1
834

935
### Updates

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ build:
100100
done
101101
node scripts/buildI18n.js
102102
node scripts/generateIconDts.js
103+
node scripts/fixUseClient.js
103104

104105
website:
105106
yarn build:docs --public-url /reactspectrum/$$(git rev-parse HEAD)/docs --dist-dir dist/$$(git rev-parse HEAD)/docs

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,6 @@ module.exports = {
227227

228228
// Whether to use watchman for file crawling
229229
// watchman: true,
230+
231+
prettierPath: null
230232
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
"eslint-plugin-rulesdir": "^0.2.2",
161161
"fast-check": "^2.19.0",
162162
"fast-glob": "^3.1.0",
163-
"framer-motion": "^11.3.0-alpha.0",
164163
"fs-extra": "^11.0.0",
165164
"glob": "^8.0.3",
166165
"glob-promise": "^6.0.5",
@@ -176,6 +175,7 @@
176175
"lfcdn": "^0.4.2",
177176
"lucide-react": "^0.294.0",
178177
"md5": "^2.2.1",
178+
"motion": "^12.23.6",
179179
"npm-cli-login": "^1.0.0",
180180
"nyc": "^10.2.0",
181181
"p-queue": "^6.2.1",
@@ -187,7 +187,7 @@
187187
"postcss": "^8.4.24",
188188
"postcss-custom-properties": "^13.2.0",
189189
"postcss-import": "^15.1.0",
190-
"prettier": "^3.3.3",
190+
"prettier": "^3.6.2",
191191
"prop-types": "^15.6.0",
192192
"raf": "^3.4.0",
193193
"react": "^19.1.0",

packages/@adobe/react-spectrum/package.json

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/react-spectrum",
3-
"version": "3.42.2",
3+
"version": "3.43.0",
44
"description": "Spectrum UI components in React",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",
@@ -41,68 +41,68 @@
4141
},
4242
"dependencies": {
4343
"@internationalized/string": "^3.2.7",
44-
"@react-aria/collections": "3.0.0-rc.3",
45-
"@react-aria/i18n": "^3.12.10",
46-
"@react-aria/ssr": "^3.9.9",
47-
"@react-aria/utils": "^3.29.1",
48-
"@react-aria/visually-hidden": "^3.8.25",
49-
"@react-spectrum/accordion": "^3.0.8",
50-
"@react-spectrum/actionbar": "^3.6.9",
51-
"@react-spectrum/actiongroup": "^3.10.17",
52-
"@react-spectrum/avatar": "^3.0.23",
53-
"@react-spectrum/badge": "^3.1.25",
54-
"@react-spectrum/breadcrumbs": "^3.9.19",
55-
"@react-spectrum/button": "^3.16.16",
56-
"@react-spectrum/buttongroup": "^3.6.23",
57-
"@react-spectrum/calendar": "^3.7.3",
58-
"@react-spectrum/checkbox": "^3.9.18",
59-
"@react-spectrum/color": "^3.0.9",
60-
"@react-spectrum/combobox": "^3.15.5",
61-
"@react-spectrum/contextualhelp": "^3.6.23",
62-
"@react-spectrum/datepicker": "^3.14.3",
63-
"@react-spectrum/dialog": "^3.8.23",
64-
"@react-spectrum/divider": "^3.5.24",
65-
"@react-spectrum/dnd": "^3.5.7",
66-
"@react-spectrum/dropzone": "^3.0.13",
67-
"@react-spectrum/filetrigger": "^3.0.13",
68-
"@react-spectrum/form": "^3.7.16",
69-
"@react-spectrum/icon": "^3.8.6",
70-
"@react-spectrum/illustratedmessage": "^3.5.11",
71-
"@react-spectrum/image": "^3.5.12",
72-
"@react-spectrum/inlinealert": "^3.2.17",
73-
"@react-spectrum/labeledvalue": "^3.2.4",
74-
"@react-spectrum/layout": "^3.6.16",
75-
"@react-spectrum/link": "^3.6.19",
76-
"@react-spectrum/list": "^3.10.3",
77-
"@react-spectrum/listbox": "^3.15.3",
78-
"@react-spectrum/menu": "^3.22.3",
79-
"@react-spectrum/meter": "^3.5.11",
80-
"@react-spectrum/numberfield": "^3.9.15",
81-
"@react-spectrum/overlays": "^5.7.7",
82-
"@react-spectrum/picker": "^3.15.11",
83-
"@react-spectrum/progress": "^3.7.17",
84-
"@react-spectrum/provider": "^3.10.7",
85-
"@react-spectrum/radio": "^3.7.18",
86-
"@react-spectrum/searchfield": "^3.8.18",
87-
"@react-spectrum/slider": "^3.7.7",
88-
"@react-spectrum/statuslight": "^3.5.23",
89-
"@react-spectrum/switch": "^3.6.3",
90-
"@react-spectrum/table": "^3.17.3",
91-
"@react-spectrum/tabs": "^3.8.22",
92-
"@react-spectrum/tag": "^3.3.2",
93-
"@react-spectrum/text": "^3.5.17",
94-
"@react-spectrum/textfield": "^3.13.5",
95-
"@react-spectrum/theme-dark": "^3.5.19",
96-
"@react-spectrum/theme-default": "^3.5.19",
97-
"@react-spectrum/theme-light": "^3.4.19",
98-
"@react-spectrum/toast": "^3.0.5",
99-
"@react-spectrum/tooltip": "^3.7.7",
100-
"@react-spectrum/tree": "^3.1.3",
101-
"@react-spectrum/view": "^3.6.20",
102-
"@react-spectrum/well": "^3.4.24",
103-
"@react-stately/collections": "^3.12.5",
104-
"@react-stately/data": "^3.13.1",
105-
"@react-types/shared": "^3.30.0",
44+
"@react-aria/collections": "3.0.0-rc.4",
45+
"@react-aria/i18n": "^3.12.11",
46+
"@react-aria/ssr": "^3.9.10",
47+
"@react-aria/utils": "^3.30.0",
48+
"@react-aria/visually-hidden": "^3.8.26",
49+
"@react-spectrum/accordion": "^3.0.9",
50+
"@react-spectrum/actionbar": "^3.6.10",
51+
"@react-spectrum/actiongroup": "^3.11.0",
52+
"@react-spectrum/avatar": "^3.0.24",
53+
"@react-spectrum/badge": "^3.1.26",
54+
"@react-spectrum/breadcrumbs": "^3.9.20",
55+
"@react-spectrum/button": "^3.17.0",
56+
"@react-spectrum/buttongroup": "^3.6.24",
57+
"@react-spectrum/calendar": "^3.7.4",
58+
"@react-spectrum/checkbox": "^3.10.0",
59+
"@react-spectrum/color": "^3.1.0",
60+
"@react-spectrum/combobox": "^3.16.0",
61+
"@react-spectrum/contextualhelp": "^3.6.24",
62+
"@react-spectrum/datepicker": "^3.14.4",
63+
"@react-spectrum/dialog": "^3.9.0",
64+
"@react-spectrum/divider": "^3.5.25",
65+
"@react-spectrum/dnd": "^3.5.8",
66+
"@react-spectrum/dropzone": "^3.0.14",
67+
"@react-spectrum/filetrigger": "^3.0.14",
68+
"@react-spectrum/form": "^3.7.17",
69+
"@react-spectrum/icon": "^3.8.7",
70+
"@react-spectrum/illustratedmessage": "^3.5.12",
71+
"@react-spectrum/image": "^3.6.0",
72+
"@react-spectrum/inlinealert": "^3.2.18",
73+
"@react-spectrum/labeledvalue": "^3.2.5",
74+
"@react-spectrum/layout": "^3.6.17",
75+
"@react-spectrum/link": "^3.6.20",
76+
"@react-spectrum/list": "^3.10.4",
77+
"@react-spectrum/listbox": "^3.15.4",
78+
"@react-spectrum/menu": "^3.22.4",
79+
"@react-spectrum/meter": "^3.5.12",
80+
"@react-spectrum/numberfield": "^3.10.0",
81+
"@react-spectrum/overlays": "^5.8.0",
82+
"@react-spectrum/picker": "^3.16.0",
83+
"@react-spectrum/progress": "^3.7.18",
84+
"@react-spectrum/provider": "^3.10.8",
85+
"@react-spectrum/radio": "^3.7.19",
86+
"@react-spectrum/searchfield": "^3.8.19",
87+
"@react-spectrum/slider": "^3.8.0",
88+
"@react-spectrum/statuslight": "^3.5.24",
89+
"@react-spectrum/switch": "^3.6.4",
90+
"@react-spectrum/table": "^3.17.4",
91+
"@react-spectrum/tabs": "^3.8.23",
92+
"@react-spectrum/tag": "^3.3.3",
93+
"@react-spectrum/text": "^3.5.18",
94+
"@react-spectrum/textfield": "^3.14.0",
95+
"@react-spectrum/theme-dark": "^3.5.20",
96+
"@react-spectrum/theme-default": "^3.5.20",
97+
"@react-spectrum/theme-light": "^3.4.20",
98+
"@react-spectrum/toast": "^3.1.0",
99+
"@react-spectrum/tooltip": "^3.7.8",
100+
"@react-spectrum/tree": "^3.1.4",
101+
"@react-spectrum/view": "^3.6.21",
102+
"@react-spectrum/well": "^3.4.25",
103+
"@react-stately/collections": "^3.12.6",
104+
"@react-stately/data": "^3.13.2",
105+
"@react-types/shared": "^3.31.0",
106106
"client-only": "^0.0.1"
107107
},
108108
"publishConfig": {

packages/@internationalized/number/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@internationalized/number",
3-
"version": "3.6.3",
3+
"version": "3.6.4",
44
"description": "Internationalized number formatting and parsing utilities",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",

packages/@react-aria/actiongroup/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-aria/actiongroup",
3-
"version": "3.7.18",
3+
"version": "3.7.19",
44
"description": "Spectrum UI components in React",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",
@@ -26,13 +26,13 @@
2626
"url": "https://github.com/adobe/react-spectrum"
2727
},
2828
"dependencies": {
29-
"@react-aria/focus": "^3.20.5",
30-
"@react-aria/i18n": "^3.12.10",
31-
"@react-aria/interactions": "^3.25.3",
32-
"@react-aria/utils": "^3.29.1",
33-
"@react-stately/list": "^3.12.3",
34-
"@react-types/actiongroup": "^3.4.18",
35-
"@react-types/shared": "^3.30.0",
29+
"@react-aria/focus": "^3.21.0",
30+
"@react-aria/i18n": "^3.12.11",
31+
"@react-aria/interactions": "^3.25.4",
32+
"@react-aria/utils": "^3.30.0",
33+
"@react-stately/list": "^3.12.4",
34+
"@react-types/actiongroup": "^3.4.19",
35+
"@react-types/shared": "^3.31.0",
3636
"@swc/helpers": "^0.5.0"
3737
},
3838
"peerDependencies": {

packages/@react-aria/aria-modal-polyfill/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-aria/aria-modal-polyfill",
3-
"version": "3.7.14",
3+
"version": "3.7.15",
44
"description": "Spectrum UI components in React",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",

0 commit comments

Comments
 (0)