Skip to content

Commit 2ca8f51

Browse files
Fix
1 parent 346a550 commit 2ca8f51

File tree

57 files changed

+342
-0
lines changed

Some content is hidden

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

57 files changed

+342
-0
lines changed

docs/pages/x/api/date-pickers/date-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"type": { "name": "string" },
2020
"default": "'@media (pointer: fine)'"
2121
},
22+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2223
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2324
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2425
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -96,6 +97,7 @@
9697
"orientation": {
9798
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
9899
},
100+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
99101
"reduceAnimations": {
100102
"type": { "name": "bool" },
101103
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/date-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"default": "'@media (pointer: fine)'"
3333
},
3434
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
35+
"disabled": { "type": { "name": "bool" }, "default": "false" },
3536
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
3637
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
3738
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -97,6 +98,7 @@
9798
},
9899
"open": { "type": { "name": "bool" }, "default": "false" },
99100
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
101+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
100102
"reduceAnimations": {
101103
"type": { "name": "bool" },
102104
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/date-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"type": { "name": "string" },
2222
"default": "'@media (pointer: fine)'"
2323
},
24+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2425
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2526
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2627
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
@@ -104,6 +105,7 @@
104105
"orientation": {
105106
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
106107
},
108+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
107109
"reduceAnimations": {
108110
"type": { "name": "bool" },
109111
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/date-time-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"default": "'@media (pointer: fine)'"
3434
},
3535
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
36+
"disabled": { "type": { "name": "bool" }, "default": "false" },
3637
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
3738
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
3839
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -114,6 +115,7 @@
114115
}
115116
},
116117
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
118+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
117119
"reduceAnimations": {
118120
"type": { "name": "bool" },
119121
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/desktop-date-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
},
1717
"defaultValue": { "type": { "name": "object" } },
18+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1819
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1920
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2021
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -92,6 +93,7 @@
9293
"orientation": {
9394
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
9495
},
96+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
9597
"reduceAnimations": {
9698
"type": { "name": "bool" },
9799
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/desktop-date-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
},
2929
"defaultValue": { "type": { "name": "arrayOf", "description": "Array&lt;object&gt;" } },
3030
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
31+
"disabled": { "type": { "name": "bool" }, "default": "false" },
3132
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
3233
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
3334
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -93,6 +94,7 @@
9394
},
9495
"open": { "type": { "name": "bool" }, "default": "false" },
9596
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
97+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
9698
"reduceAnimations": {
9799
"type": { "name": "bool" },
98100
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/desktop-date-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
}
1818
},
1919
"defaultValue": { "type": { "name": "object" } },
20+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2021
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2122
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2223
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
@@ -100,6 +101,7 @@
100101
"orientation": {
101102
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
102103
},
104+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
103105
"reduceAnimations": {
104106
"type": { "name": "bool" },
105107
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/desktop-date-time-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"defaultValue": { "type": { "name": "arrayOf", "description": "Array&lt;object&gt;" } },
3131
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
32+
"disabled": { "type": { "name": "bool" }, "default": "false" },
3233
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
3334
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
3435
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -110,6 +111,7 @@
110111
}
111112
},
112113
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
114+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
113115
"reduceAnimations": {
114116
"type": { "name": "bool" },
115117
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/desktop-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"default": "`true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop)."
99
},
1010
"defaultValue": { "type": { "name": "object" } },
11+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1112
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1213
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
1314
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -68,6 +69,7 @@
6869
"orientation": {
6970
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
7071
},
72+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
7173
"reduceAnimations": {
7274
"type": { "name": "bool" },
7375
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/mobile-date-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
},
1717
"defaultValue": { "type": { "name": "object" } },
18+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1819
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1920
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2021
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -92,6 +93,7 @@
9293
"orientation": {
9394
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
9495
},
96+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
9597
"reduceAnimations": {
9698
"type": { "name": "bool" },
9799
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/mobile-date-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"defaultValue": { "type": { "name": "arrayOf", "description": "Array&lt;object&gt;" } },
2626
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
27+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2728
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
2829
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2930
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -89,6 +90,7 @@
8990
},
9091
"open": { "type": { "name": "bool" }, "default": "false" },
9192
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
93+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
9294
"reduceAnimations": {
9395
"type": { "name": "bool" },
9496
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/mobile-date-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
}
1818
},
1919
"defaultValue": { "type": { "name": "object" } },
20+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2021
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2122
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
2223
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
@@ -100,6 +101,7 @@
100101
"orientation": {
101102
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
102103
},
104+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
103105
"reduceAnimations": {
104106
"type": { "name": "bool" },
105107
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/mobile-date-time-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626
"defaultValue": { "type": { "name": "arrayOf", "description": "Array&lt;object&gt;" } },
2727
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
28+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2829
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
2930
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
3031
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -106,6 +107,7 @@
106107
}
107108
},
108109
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
110+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
109111
"reduceAnimations": {
110112
"type": { "name": "bool" },
111113
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/mobile-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"default": "`true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop)."
99
},
1010
"defaultValue": { "type": { "name": "object" } },
11+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1112
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1213
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
1314
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -68,6 +69,7 @@
6869
"orientation": {
6970
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
7071
},
72+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
7173
"reduceAnimations": {
7274
"type": { "name": "bool" },
7375
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/static-date-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
}
1212
},
1313
"defaultValue": { "type": { "name": "object" } },
14+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1415
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1516
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
1617
"disablePast": { "type": { "name": "bool" }, "default": "false" },
@@ -78,6 +79,7 @@
7879
"orientation": {
7980
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
8081
},
82+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
8183
"reduceAnimations": {
8284
"type": { "name": "bool" },
8385
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/static-date-range-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"defaultValue": { "type": { "name": "arrayOf", "description": "Array&lt;object&gt;" } },
2626
"disableAutoMonthSwitching": { "type": { "name": "bool" }, "default": "false" },
27+
"disabled": { "type": { "name": "bool" }, "default": "false" },
2728
"disableDragEditing": { "type": { "name": "bool" }, "default": "false" },
2829
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
2930
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
@@ -79,6 +80,7 @@
7980
}
8081
},
8182
"rangePosition": { "type": { "name": "enum", "description": "'end'<br>&#124;&nbsp;'start'" } },
83+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
8284
"reduceAnimations": {
8385
"type": { "name": "bool" },
8486
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/static-date-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
}
1414
},
1515
"defaultValue": { "type": { "name": "object" } },
16+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1617
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1718
"disableHighlightToday": { "type": { "name": "bool" }, "default": "false" },
1819
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
@@ -86,6 +87,7 @@
8687
"orientation": {
8788
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
8889
},
90+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
8991
"reduceAnimations": {
9092
"type": { "name": "bool" },
9193
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/static-time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"ampmInClock": { "type": { "name": "bool" }, "default": "true on desktop, false on mobile" },
55
"autoFocus": { "type": { "name": "bool" } },
66
"defaultValue": { "type": { "name": "object" } },
7+
"disabled": { "type": { "name": "bool" }, "default": "false" },
78
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
89
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
910
"disablePast": { "type": { "name": "bool" }, "default": "false" },
@@ -54,6 +55,7 @@
5455
"orientation": {
5556
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
5657
},
58+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
5759
"reduceAnimations": {
5860
"type": { "name": "bool" },
5961
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/pages/x/api/date-pickers/time-picker.json

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"type": { "name": "string" },
1313
"default": "'@media (pointer: fine)'"
1414
},
15+
"disabled": { "type": { "name": "bool" }, "default": "false" },
1516
"disableFuture": { "type": { "name": "bool" }, "default": "false" },
1617
"disableIgnoringDatePartForTimeValidation": { "type": { "name": "bool" }, "default": "false" },
1718
"disableOpenPicker": { "type": { "name": "bool" }, "default": "false" },
@@ -72,6 +73,7 @@
7273
"orientation": {
7374
"type": { "name": "enum", "description": "'landscape'<br>&#124;&nbsp;'portrait'" }
7475
},
76+
"readOnly": { "type": { "name": "bool" }, "default": "false" },
7577
"reduceAnimations": {
7678
"type": { "name": "bool" },
7779
"default": "`@media(prefers-reduced-motion: reduce)` || `navigator.userAgent` matches Android <10 or iOS <13"

docs/translations/api-docs/date-pickers/date-picker/date-picker.json

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"desktopModeMediaQuery": {
2121
"description": "CSS media query when <code>Mobile</code> mode will be changed to <code>Desktop</code>."
2222
},
23+
"disabled": {
24+
"description": "If <code>true</code>, the component is disabled. When disabled, the value cannot be changed and no interaction is possible."
25+
},
2326
"disableFuture": {
2427
"description": "If <code>true</code>, disable values after the current date for date components, time for time components and both for date time components."
2528
},
@@ -106,6 +109,9 @@
106109
"description": "The default visible view. Used when the component view is not controlled. Must be a valid option from <code>views</code> list."
107110
},
108111
"orientation": { "description": "Force rendering in particular orientation." },
112+
"readOnly": {
113+
"description": "If <code>true</code>, the component is read-only. When read-only, the value cannot be changed but the user can interact with the interface."
114+
},
109115
"reduceAnimations": { "description": "If <code>true</code>, disable heavy animations." },
110116
"referenceDate": {
111117
"description": "The date used to generate the new value when both <code>value</code> and <code>defaultValue</code> are empty."

docs/translations/api-docs/date-pickers/date-range-picker/date-range-picker.json

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
"disableAutoMonthSwitching": {
3131
"description": "If <code>true</code>, after selecting <code>start</code> date calendar will not automatically switch to the month of <code>end</code> date."
3232
},
33+
"disabled": {
34+
"description": "If <code>true</code>, the component is disabled. When disabled, the value cannot be changed and no interaction is possible."
35+
},
3336
"disableDragEditing": {
3437
"description": "If <code>true</code>, editing dates by dragging is disabled."
3538
},
@@ -115,6 +118,9 @@
115118
"rangePosition": {
116119
"description": "The position in the currently edited date range. Used when the component position is controlled."
117120
},
121+
"readOnly": {
122+
"description": "If <code>true</code>, the component is read-only. When read-only, the value cannot be changed but the user can interact with the interface."
123+
},
118124
"reduceAnimations": { "description": "If <code>true</code>, disable heavy animations." },
119125
"referenceDate": {
120126
"description": "The date used to generate the new value when both <code>value</code> and <code>defaultValue</code> are empty."

docs/translations/api-docs/date-pickers/date-time-picker/date-time-picker.json

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"desktopModeMediaQuery": {
2525
"description": "CSS media query when <code>Mobile</code> mode will be changed to <code>Desktop</code>."
2626
},
27+
"disabled": {
28+
"description": "If <code>true</code>, the component is disabled. When disabled, the value cannot be changed and no interaction is possible."
29+
},
2730
"disableFuture": {
2831
"description": "If <code>true</code>, disable values after the current date for date components, time for time components and both for date time components."
2932
},
@@ -126,6 +129,9 @@
126129
"description": "The default visible view. Used when the component view is not controlled. Must be a valid option from <code>views</code> list."
127130
},
128131
"orientation": { "description": "Force rendering in particular orientation." },
132+
"readOnly": {
133+
"description": "If <code>true</code>, the component is read-only. When read-only, the value cannot be changed but the user can interact with the interface."
134+
},
129135
"reduceAnimations": { "description": "If <code>true</code>, disable heavy animations." },
130136
"referenceDate": {
131137
"description": "The date used to generate the new value when both <code>value</code> and <code>defaultValue</code> are empty."

0 commit comments

Comments
 (0)