Skip to content

Commit 673361b

Browse files
Merge branch 'main' into constrain-date
2 parents 984ae81 + e717ee9 commit 673361b

File tree

282 files changed

+5130
-4211
lines changed

Some content is hidden

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

282 files changed

+5130
-4211
lines changed

.storybook-s2/docs/Release Notes.mdx

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

55
# Release Notes
66

7+
## v0.11.0
8+
9+
### New Components
10+
* [SelectBoxGroup](?path=/docs/selectboxgroup-alpha--docs)
11+
12+
### Updates
13+
* [ComboBox](?path=/docs/combobox--docs): Fix empty state rendering when no items match the current query
14+
* [Picker](?path=/docs/picker--docs): Fix erroneous dropdown outline when opening the Picker via click
15+
* [Tabs](?path=/docs/tabs--docs): Support collapse behavior on Tabs when customizing the layout
16+
717
## v0.10.0
818

919
### Font update

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

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/react-spectrum",
3-
"version": "3.43.0",
3+
"version": "3.44.1",
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.4",
45-
"@react-aria/i18n": "^3.12.11",
44+
"@react-aria/collections": "3.0.0-rc.6",
45+
"@react-aria/i18n": "^3.12.12",
4646
"@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",
47+
"@react-aria/utils": "^3.30.1",
48+
"@react-aria/visually-hidden": "^3.8.27",
49+
"@react-spectrum/accordion": "^3.0.11",
50+
"@react-spectrum/actionbar": "^3.6.12",
51+
"@react-spectrum/actiongroup": "^3.11.2",
52+
"@react-spectrum/avatar": "^3.0.25",
53+
"@react-spectrum/badge": "^3.1.28",
54+
"@react-spectrum/breadcrumbs": "^3.9.22",
55+
"@react-spectrum/button": "^3.17.2",
56+
"@react-spectrum/buttongroup": "^3.6.25",
57+
"@react-spectrum/calendar": "^3.7.6",
58+
"@react-spectrum/checkbox": "^3.10.2",
59+
"@react-spectrum/color": "^3.1.2",
60+
"@react-spectrum/combobox": "^3.16.2",
61+
"@react-spectrum/contextualhelp": "^3.6.26",
62+
"@react-spectrum/datepicker": "^3.14.6",
63+
"@react-spectrum/dialog": "^3.9.2",
64+
"@react-spectrum/divider": "^3.5.26",
65+
"@react-spectrum/dnd": "^3.6.1",
66+
"@react-spectrum/dropzone": "^3.0.16",
67+
"@react-spectrum/filetrigger": "^3.0.16",
68+
"@react-spectrum/form": "^3.7.18",
69+
"@react-spectrum/icon": "^3.8.8",
70+
"@react-spectrum/illustratedmessage": "^3.5.13",
71+
"@react-spectrum/image": "^3.6.1",
72+
"@react-spectrum/inlinealert": "^3.2.19",
73+
"@react-spectrum/labeledvalue": "^3.2.6",
74+
"@react-spectrum/layout": "^3.6.18",
75+
"@react-spectrum/link": "^3.6.21",
76+
"@react-spectrum/list": "^3.10.6",
77+
"@react-spectrum/listbox": "^3.15.6",
78+
"@react-spectrum/menu": "^3.22.6",
79+
"@react-spectrum/meter": "^3.5.13",
80+
"@react-spectrum/numberfield": "^3.10.1",
81+
"@react-spectrum/overlays": "^5.8.2",
82+
"@react-spectrum/picker": "^3.16.2",
83+
"@react-spectrum/progress": "^3.7.19",
84+
"@react-spectrum/provider": "^3.10.10",
85+
"@react-spectrum/radio": "^3.7.20",
86+
"@react-spectrum/searchfield": "^3.8.21",
87+
"@react-spectrum/slider": "^3.8.1",
88+
"@react-spectrum/statuslight": "^3.5.25",
89+
"@react-spectrum/switch": "^3.6.5",
90+
"@react-spectrum/table": "^3.17.6",
91+
"@react-spectrum/tabs": "^3.8.25",
92+
"@react-spectrum/tag": "^3.3.5",
93+
"@react-spectrum/text": "^3.5.20",
94+
"@react-spectrum/textfield": "^3.14.1",
95+
"@react-spectrum/theme-dark": "^3.5.21",
96+
"@react-spectrum/theme-default": "^3.5.21",
97+
"@react-spectrum/theme-light": "^3.4.21",
98+
"@react-spectrum/toast": "^3.1.2",
99+
"@react-spectrum/tooltip": "^3.7.10",
100+
"@react-spectrum/tree": "^3.1.6",
101+
"@react-spectrum/view": "^3.6.22",
102+
"@react-spectrum/well": "^3.4.26",
103+
"@react-stately/collections": "^3.12.7",
104+
"@react-stately/data": "^3.14.0",
105+
"@react-types/shared": "^3.32.0",
106106
"client-only": "^0.0.1"
107107
},
108108
"publishConfig": {

packages/@internationalized/date/docs/CalendarDate.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ let date = parseDate('2022-02-03');
5050

5151
Today's date can be retrieved using the <TypeLink links={docs.links} type={docs.exports.today} /> function. This requires a time zone identifier to be provided, which is used to determine the local date. The <TypeLink links={docs.links} type={docs.exports.getLocalTimeZone} /> function can be used to retrieve the user's current time zone.
5252

53+
**Note:** the local time zone is cached after the first call. You can reset it by calling <TypeLink links={docs.links} type={docs.exports.resetLocalTimeZone} />, or mock it in unit tests by calling <TypeLink links={docs.links} type={docs.exports.setLocalTimeZone} />.
54+
5355
```tsx
5456
import {today, getLocalTimeZone} from '@internationalized/date';
5557

@@ -206,6 +208,8 @@ A `CalendarDate` can be converted to a native JavaScript `Date` object using the
206208

207209
Because a `Date` represents an exact time, a time zone identifier is required to be passed to the `toDate` method. The time of the returned date will be set to midnight in that time zone. The <TypeLink links={docs.links} type={docs.exports.getLocalTimeZone} /> function can be used to retrieve the user's current time zone.
208210

211+
**Note:** the local time zone is cached after the first call. You can reset it by calling <TypeLink links={docs.links} type={docs.exports.resetLocalTimeZone} />, or mock it in unit tests by calling <TypeLink links={docs.links} type={docs.exports.setLocalTimeZone} />.
212+
209213
```tsx
210214
import {getLocalTimeZone} from '@internationalized/date';
211215

packages/@internationalized/date/docs/CalendarDateTime.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ A `CalendarDateTime` can be converted to a native JavaScript `Date` object using
280280

281281
Because a `Date` represents an exact time, a time zone identifier is required to be passed to the `toDate` method. The <TypeLink links={docs.links} type={docs.exports.getLocalTimeZone} /> function can be used to retrieve the user's current time zone.
282282

283+
**Note:** the local time zone is cached after the first call. You can reset it by calling <TypeLink links={docs.links} type={docs.exports.resetLocalTimeZone} />, or mock it in unit tests by calling <TypeLink links={docs.links} type={docs.exports.setLocalTimeZone} />.
284+
283285
```tsx
284286
import {getLocalTimeZone} from '@internationalized/date';
285287

packages/@internationalized/date/docs/ZonedDateTime.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ let date = fromAbsolute(1688023843144, 'America/Los_Angeles');
7676

7777
The current time can be retrieved using the <TypeLink links={docs.links} type={docs.exports.now} /> function. This requires a time zone identifier to be provided, which is used to determine the local time. The <TypeLink links={docs.links} type={docs.exports.getLocalTimeZone} /> function can be used to retrieve the user's current time zone.
7878

79+
**Note:** the local time zone is cached after the first call. You can reset it by calling <TypeLink links={docs.links} type={docs.exports.resetLocalTimeZone} />, or mock it in unit tests by calling <TypeLink links={docs.links} type={docs.exports.setLocalTimeZone} />.
80+
7981
```tsx
8082
import {now, getLocalTimeZone} from '@internationalized/date';
8183

packages/@internationalized/date/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@internationalized/date",
3-
"version": "3.8.2",
3+
"version": "3.9.0",
44
"description": "Internationalized calendar, date, and time manipulation utilities",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",

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.4",
3+
"version": "3.6.5",
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.19",
3+
"version": "3.7.20",
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.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",
29+
"@react-aria/focus": "^3.21.1",
30+
"@react-aria/i18n": "^3.12.12",
31+
"@react-aria/interactions": "^3.25.5",
32+
"@react-aria/utils": "^3.30.1",
33+
"@react-stately/list": "^3.13.0",
34+
"@react-types/actiongroup": "^3.4.20",
35+
"@react-types/shared": "^3.32.0",
3636
"@swc/helpers": "^0.5.0"
3737
},
3838
"peerDependencies": {

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-aria/autocomplete",
3-
"version": "3.0.0-beta.6",
3+
"version": "3.0.0-rc.1",
44
"description": "Spectrum UI components in React",
55
"license": "Apache-2.0",
66
"main": "dist/main.js",
@@ -26,19 +26,19 @@
2626
"url": "https://github.com/adobe/react-spectrum"
2727
},
2828
"dependencies": {
29-
"@react-aria/combobox": "^3.13.0",
30-
"@react-aria/focus": "^3.21.0",
31-
"@react-aria/i18n": "^3.12.11",
32-
"@react-aria/interactions": "^3.25.4",
33-
"@react-aria/listbox": "^3.14.7",
34-
"@react-aria/searchfield": "^3.8.7",
35-
"@react-aria/textfield": "^3.18.0",
36-
"@react-aria/utils": "^3.30.0",
29+
"@react-aria/combobox": "^3.13.2",
30+
"@react-aria/focus": "^3.21.1",
31+
"@react-aria/i18n": "^3.12.12",
32+
"@react-aria/interactions": "^3.25.5",
33+
"@react-aria/listbox": "^3.14.8",
34+
"@react-aria/searchfield": "^3.8.8",
35+
"@react-aria/textfield": "^3.18.1",
36+
"@react-aria/utils": "^3.30.1",
3737
"@react-stately/autocomplete": "3.0.0-beta.3",
38-
"@react-stately/combobox": "^3.11.0",
39-
"@react-types/autocomplete": "3.0.0-alpha.33",
40-
"@react-types/button": "^3.13.0",
41-
"@react-types/shared": "^3.31.0",
38+
"@react-stately/combobox": "^3.11.1",
39+
"@react-types/autocomplete": "3.0.0-alpha.34",
40+
"@react-types/button": "^3.14.0",
41+
"@react-types/shared": "^3.32.0",
4242
"@swc/helpers": "^0.5.0"
4343
},
4444
"peerDependencies": {

packages/@react-aria/autocomplete/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ export {useAutocomplete} from './useAutocomplete';
1414

1515
export type {AriaSearchAutocompleteOptions, SearchAutocompleteAria} from './useSearchAutocomplete';
1616
export type {AriaSearchAutocompleteProps} from '@react-types/autocomplete';
17-
export type {AriaAutocompleteProps, AriaAutocompleteOptions, AutocompleteAria, CollectionOptions} from './useAutocomplete';
17+
export type {AriaAutocompleteProps, AriaAutocompleteOptions, AutocompleteAria, CollectionOptions, InputProps} from './useAutocomplete';

0 commit comments

Comments
 (0)