Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fields] Enable the new field DOM structure by default #14651

Merged
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
dcfddcc
[fields] Enable the new field DOM structure by default
flaviendelangle Sep 17, 2024
28cd5ea
Regen API
flaviendelangle Sep 17, 2024
7b1784d
Fix links
flaviendelangle Sep 17, 2024
931a1a1
Remove enableAccessibleFieldDOMStructure prop when not needed
flaviendelangle Sep 17, 2024
25a258d
Fix
flaviendelangle Sep 17, 2024
fab5833
Fix
flaviendelangle Sep 17, 2024
65e3462
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Sep 20, 2024
edfddd3
Merge
flaviendelangle Sep 20, 2024
9c1c822
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Sep 24, 2024
28dbc40
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Sep 30, 2024
5a8a5ec
Fix
flaviendelangle Sep 30, 2024
e634bab
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 8, 2024
a029653
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 8, 2024
448f209
Work
flaviendelangle Oct 8, 2024
af1436e
Work
flaviendelangle Oct 8, 2024
eed2459
Work
flaviendelangle Oct 8, 2024
2b5dfeb
Work
flaviendelangle Oct 8, 2024
2faf846
Work
flaviendelangle Oct 8, 2024
832baaf
Work
flaviendelangle Oct 8, 2024
f6963d7
Work
flaviendelangle Oct 8, 2024
3d6bc8d
Work
flaviendelangle Oct 8, 2024
dec8394
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 8, 2024
626ed02
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 10, 2024
8b7a8f6
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 11, 2024
80eac3b
Fix
flaviendelangle Oct 11, 2024
1f3d73c
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 16, 2024
7bedcd5
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 16, 2024
5f76be6
Review: Arthur
flaviendelangle Oct 16, 2024
24334a1
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 16, 2024
c0ef9ab
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 17, 2024
bf76526
Merge
flaviendelangle Oct 18, 2024
749643a
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 21, 2024
67c6821
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 22, 2024
37906a4
Merge branch 'master' into enabledAccessibleFieldDOMStructure
flaviendelangle Oct 22, 2024
530a60e
Empty
flaviendelangle Oct 22, 2024
3238c69
Empty
flaviendelangle Oct 22, 2024
0204496
Empty
flaviendelangle Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,7 @@ Same changes as in `@mui/[email protected]`.
```

- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. Learn more about this new [accessible DOM structure](/x/react-date-pickers/fields/#accessible-dom-structure).
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
flaviendelangle marked this conversation as resolved.
Show resolved Hide resolved

When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:

Expand Down
1 change: 1 addition & 0 deletions docs/.link-check-errors.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Broken links found by `docs:link-check` that exist:

- https://mui.com/x/react-date-pickers/fields/#accessible-dom-structure
90 changes: 0 additions & 90 deletions docs/data/date-pickers/custom-field/BrowserV6Field.js

This file was deleted.

135 changes: 0 additions & 135 deletions docs/data/date-pickers/custom-field/BrowserV6Field.tsx

This file was deleted.

This file was deleted.

140 changes: 0 additions & 140 deletions docs/data/date-pickers/custom-field/BrowserV6MultiInputRangeField.js

This file was deleted.

Loading
Loading