Skip to content

Commit 98390f3

Browse files
committed
add blurb about the css changes in rac docs
1 parent b3cdf12 commit 98390f3

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

packages/react-aria-components/docs/DateField.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ If the date field does not have a visible label, an `aria-label` or `aria-labell
155155

156156
Note that most of this anatomy is shared with [TimeField](TimeField.html), so you can reuse many components between them if you have both.
157157

158+
### Internationalization
159+
160+
To ensure the proper date and time format in RTL locales, `DateInput` must have `display` set to either `inline`, `inline-block`, or `block`.
161+
158162
### Concepts
159163

160164
`DateField` makes use of the following concepts:

packages/react-aria-components/docs/DatePicker.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ If the date picker does not have a visible label, an `aria-label` or `aria-label
195195

196196
Note that most of this anatomy is shared with [DateRangePicker](DateRangePicker.html), so you can reuse many components between them if you have both.
197197

198+
### Internationalization
199+
200+
To ensure the proper date and time format in RTL locales, `DateInput` must have `display` set to either `inline`, `inline-block`, or `block`.
201+
198202
### Concepts
199203

200204
`DatePicker` makes use of the following concepts:

packages/react-aria-components/docs/DateRangePicker.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ If the date range picker does not have a visible label, an `aria-label` or `aria
232232

233233
Note that most of this anatomy is shared with [DatePicker](DatePicker.html), so you can reuse many components between them if you have both.
234234

235+
### Internationalization
236+
237+
To ensure the proper date and time format in RTL locales, `DateInput` must have `display` set to either `inline`, `inline-block`, or `block`.
238+
235239
### Concepts
236240

237241
`DateRangePicker` makes use of the following concepts:

0 commit comments

Comments
 (0)