carbon-react 147.11.0 → 148.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__internal__/checkable-input/checkable-input.component.js +9 -4
- package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +9 -4
- package/esm/__internal__/input/input.component.js +9 -4
- package/esm/__internal__/radio-button-mapper/radio-button-mapper.component.js +1 -1
- package/esm/__internal__/utils/helpers/events/composedPath.d.ts +1 -1
- package/esm/__internal__/utils/helpers/events/events.d.ts +1 -1
- package/esm/components/accordion/accordion.component.js +1 -1
- package/esm/components/action-popover/action-popover-menu/action-popover-menu.component.js +1 -6
- package/esm/components/action-popover/action-popover.component.js +7 -2
- package/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +2 -2
- package/esm/components/advanced-color-picker/advanced-color-picker.component.js +1 -1
- package/esm/components/anchor-navigation/anchor-navigation.component.js +1 -1
- package/esm/components/box/box.component.js +1 -1
- package/esm/components/breadcrumbs/crumb/crumb.component.d.ts +1 -1
- package/esm/components/breadcrumbs/crumb/crumb.component.js +5 -1
- package/esm/components/breadcrumbs/crumb/crumb.style.d.ts +2 -2
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.component.js +1 -3
- package/esm/components/checkbox/checkbox.component.js +9 -4
- package/esm/components/date/date.component.js +40 -60
- package/esm/components/decimal/decimal.component.js +10 -5
- package/esm/components/dialog/dialog.component.d.ts +1 -1
- package/esm/components/dialog-full-screen/dialog-full-screen.component.d.ts +1 -1
- package/esm/components/draggable/draggable-container.component.js +4 -1
- package/esm/components/drawer/drawer.component.js +1 -1
- package/esm/components/duelling-picklist/picklist-group/picklist-group.component.js +3 -0
- package/esm/components/grouped-character/grouped-character.component.js +9 -4
- package/esm/components/heading/heading.style.d.ts +1 -1
- package/esm/components/help/help.component.js +1 -1
- package/esm/components/hr/hr.component.d.ts +0 -1
- package/esm/components/image/image.style.d.ts +1 -1
- package/esm/components/link/link.component.d.ts +1 -3
- package/esm/components/link/link.component.js +5 -5
- package/esm/components/link/link.style.js +7 -4
- package/esm/components/loader-star/internal/star.component.d.ts +0 -1
- package/esm/components/loader-star/loader-star.component.d.ts +0 -1
- package/esm/components/menu/__internal__/menu.context.d.ts +1 -0
- package/esm/components/menu/__internal__/submenu/submenu.component.d.ts +1 -1
- package/esm/components/menu/__internal__/submenu/submenu.component.js +14 -37
- package/esm/components/menu/__internal__/submenu/submenu.context.d.ts +1 -2
- package/esm/components/menu/__internal__/submenu/submenu.style.js +0 -11
- package/esm/components/menu/menu-item/menu-item.component.js +39 -46
- package/esm/components/menu/menu-item/menu-item.style.d.ts +2 -2
- package/esm/components/menu/menu-item/menu-item.style.js +65 -83
- package/esm/components/menu/menu.component.js +1 -0
- package/esm/components/modal/modal.component.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +8 -4
- package/esm/components/number/number.component.js +9 -4
- package/esm/components/pager/pager.component.js +1 -1
- package/esm/components/pager/pager.style.d.ts +1 -1
- package/esm/components/pages/pages.component.js +1 -1
- package/esm/components/popover-container/popover-container.component.d.ts +1 -1
- package/esm/components/portrait/portrait.component.d.ts +2 -1
- package/esm/components/profile/profile.style.d.ts +1 -1
- package/esm/components/radio-button/radio-button.component.js +9 -4
- package/esm/components/radio-button/radio-button.style.d.ts +1 -1
- package/esm/components/search/search.component.js +0 -1
- package/esm/components/select/__internal__/select-list/select-list.component.d.ts +9 -8
- package/esm/components/select/__internal__/select-list/select-list.component.js +34 -66
- package/esm/components/select/__internal__/select-list/select-list.style.js +9 -3
- package/esm/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
- package/esm/components/select/__internal__/select-textbox/select-textbox.component.js +10 -5
- package/esm/components/select/filterable-select/filterable-select.component.js +16 -13
- package/esm/components/select/multi-select/multi-select.component.js +12 -7
- package/esm/components/select/option/option.component.d.ts +6 -5
- package/esm/components/select/option/option.component.js +10 -5
- package/esm/components/select/option-row/option-row.component.d.ts +2 -2
- package/esm/components/select/simple-select/simple-select.component.d.ts +0 -7
- package/esm/components/select/simple-select/simple-select.component.js +12 -7
- package/esm/components/sidebar/sidebar.component.d.ts +1 -1
- package/esm/components/simple-color-picker/simple-color-picker.component.js +3 -6
- package/esm/components/split-button/split-button.component.js +8 -4
- package/esm/components/step-flow/step-flow.component.js +0 -1
- package/esm/components/switch/switch.component.js +9 -4
- package/esm/components/tabs/__internal__/tab-title/tab-title.component.js +2 -11
- package/esm/components/tabs/tab/tab.component.d.ts +3 -3
- package/esm/components/tabs/tabs.component.js +15 -25
- package/esm/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +1 -1
- package/esm/components/textarea/textarea.component.js +9 -4
- package/esm/components/textbox/textbox.component.js +9 -4
- package/esm/components/tile/flex-tile-cell/flex-tile-cell.component.js +1 -1
- package/esm/components/tile/flex-tile-divider/flex-tile-divider.component.d.ts +0 -1
- package/esm/components/time/time.component.js +0 -1
- package/esm/components/toast/toast.style.d.ts +3 -3
- package/esm/components/typography/typography.style.d.ts +2 -2
- package/esm/components/vertical-divider/vertical-divider.component.d.ts +0 -1
- package/esm/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.d.ts +1 -1
- package/esm/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +1 -2
- package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
- package/esm/hooks/__internal__/useCharacterCount/useCharacterCount.d.ts +0 -1
- package/esm/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
- package/esm/hooks/__internal__/useMenuKeyboardNavigation/useMenuKeyboardNavigation.d.ts +1 -1
- package/esm/hooks/__internal__/useMenuKeyboardNavigation/useMenuKeyboardNavigation.js +2 -2
- package/esm/hooks/__internal__/useStableCallback/useStableCallback.d.ts +1 -1
- package/lib/__internal__/checkable-input/checkable-input.component.js +9 -4
- package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +9 -4
- package/lib/__internal__/input/input.component.js +9 -4
- package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +1 -1
- package/lib/__internal__/utils/helpers/events/composedPath.d.ts +1 -1
- package/lib/__internal__/utils/helpers/events/events.d.ts +1 -1
- package/lib/components/accordion/accordion.component.js +1 -1
- package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +1 -6
- package/lib/components/action-popover/action-popover.component.js +7 -2
- package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +2 -2
- package/lib/components/advanced-color-picker/advanced-color-picker.component.js +1 -1
- package/lib/components/anchor-navigation/anchor-navigation.component.js +1 -1
- package/lib/components/box/box.component.js +1 -1
- package/lib/components/breadcrumbs/crumb/crumb.component.d.ts +1 -1
- package/lib/components/breadcrumbs/crumb/crumb.component.js +5 -1
- package/lib/components/breadcrumbs/crumb/crumb.style.d.ts +2 -2
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +1 -3
- package/lib/components/checkbox/checkbox.component.js +9 -4
- package/lib/components/date/date.component.js +40 -60
- package/lib/components/decimal/decimal.component.js +10 -5
- package/lib/components/dialog/dialog.component.d.ts +1 -1
- package/lib/components/dialog-full-screen/dialog-full-screen.component.d.ts +1 -1
- package/lib/components/draggable/draggable-container.component.js +4 -1
- package/lib/components/drawer/drawer.component.js +1 -1
- package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +3 -0
- package/lib/components/grouped-character/grouped-character.component.js +9 -4
- package/lib/components/heading/heading.style.d.ts +1 -1
- package/lib/components/help/help.component.js +1 -1
- package/lib/components/hr/hr.component.d.ts +0 -1
- package/lib/components/image/image.style.d.ts +1 -1
- package/lib/components/link/link.component.d.ts +1 -3
- package/lib/components/link/link.component.js +5 -5
- package/lib/components/link/link.style.js +7 -4
- package/lib/components/loader-star/internal/star.component.d.ts +0 -1
- package/lib/components/loader-star/loader-star.component.d.ts +0 -1
- package/lib/components/menu/__internal__/menu.context.d.ts +1 -0
- package/lib/components/menu/__internal__/submenu/submenu.component.d.ts +1 -1
- package/lib/components/menu/__internal__/submenu/submenu.component.js +14 -37
- package/lib/components/menu/__internal__/submenu/submenu.context.d.ts +1 -2
- package/lib/components/menu/__internal__/submenu/submenu.style.js +0 -11
- package/lib/components/menu/menu-item/menu-item.component.js +38 -45
- package/lib/components/menu/menu-item/menu-item.style.d.ts +2 -2
- package/lib/components/menu/menu-item/menu-item.style.js +65 -83
- package/lib/components/menu/menu.component.js +1 -0
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +8 -4
- package/lib/components/number/number.component.js +9 -4
- package/lib/components/pager/pager.component.js +1 -1
- package/lib/components/pager/pager.style.d.ts +1 -1
- package/lib/components/pages/pages.component.js +1 -1
- package/lib/components/popover-container/popover-container.component.d.ts +1 -1
- package/lib/components/portrait/portrait.component.d.ts +2 -1
- package/lib/components/profile/profile.style.d.ts +1 -1
- package/lib/components/radio-button/radio-button.component.js +9 -4
- package/lib/components/radio-button/radio-button.style.d.ts +1 -1
- package/lib/components/search/search.component.js +0 -1
- package/lib/components/select/__internal__/select-list/select-list.component.d.ts +9 -8
- package/lib/components/select/__internal__/select-list/select-list.component.js +34 -66
- package/lib/components/select/__internal__/select-list/select-list.style.js +9 -3
- package/lib/components/select/__internal__/select-textbox/select-textbox.component.d.ts +1 -1
- package/lib/components/select/__internal__/select-textbox/select-textbox.component.js +10 -5
- package/lib/components/select/filterable-select/filterable-select.component.js +16 -13
- package/lib/components/select/multi-select/multi-select.component.js +12 -7
- package/lib/components/select/option/option.component.d.ts +6 -5
- package/lib/components/select/option/option.component.js +10 -5
- package/lib/components/select/option-row/option-row.component.d.ts +2 -2
- package/lib/components/select/simple-select/simple-select.component.d.ts +0 -7
- package/lib/components/select/simple-select/simple-select.component.js +12 -7
- package/lib/components/sidebar/sidebar.component.d.ts +1 -1
- package/lib/components/simple-color-picker/simple-color-picker.component.js +3 -6
- package/lib/components/split-button/split-button.component.js +8 -4
- package/lib/components/step-flow/step-flow.component.js +0 -1
- package/lib/components/switch/switch.component.js +9 -4
- package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +2 -11
- package/lib/components/tabs/tab/tab.component.d.ts +3 -3
- package/lib/components/tabs/tabs.component.js +15 -25
- package/lib/components/text-editor/__internal__/editor-link/editor-link.style.d.ts +1 -1
- package/lib/components/textarea/textarea.component.js +9 -4
- package/lib/components/textbox/textbox.component.js +9 -4
- package/lib/components/tile/flex-tile-cell/flex-tile-cell.component.js +1 -1
- package/lib/components/tile/flex-tile-divider/flex-tile-divider.component.d.ts +0 -1
- package/lib/components/time/time.component.js +0 -1
- package/lib/components/toast/toast.style.d.ts +3 -3
- package/lib/components/typography/typography.style.d.ts +2 -2
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +0 -1
- package/lib/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.d.ts +1 -1
- package/lib/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +1 -2
- package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
- package/lib/hooks/__internal__/useCharacterCount/useCharacterCount.d.ts +0 -1
- package/lib/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
- package/lib/hooks/__internal__/useMenuKeyboardNavigation/useMenuKeyboardNavigation.d.ts +1 -1
- package/lib/hooks/__internal__/useMenuKeyboardNavigation/useMenuKeyboardNavigation.js +2 -2
- package/lib/hooks/__internal__/useStableCallback/useStableCallback.d.ts +1 -1
- package/package.json +31 -36
|
@@ -119,14 +119,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
119
119
|
"aria-activedescendant": PropTypes.string,
|
|
120
120
|
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
121
121
|
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
122
|
+
"aria-braillelabel": PropTypes.string,
|
|
123
|
+
"aria-brailleroledescription": PropTypes.string,
|
|
122
124
|
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
123
125
|
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
124
126
|
"aria-colcount": PropTypes.number,
|
|
125
127
|
"aria-colindex": PropTypes.number,
|
|
128
|
+
"aria-colindextext": PropTypes.string,
|
|
126
129
|
"aria-colspan": PropTypes.number,
|
|
127
130
|
"aria-controls": PropTypes.string,
|
|
128
131
|
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
129
132
|
"aria-describedby": PropTypes.string,
|
|
133
|
+
"aria-description": PropTypes.string,
|
|
130
134
|
"aria-details": PropTypes.string,
|
|
131
135
|
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
132
136
|
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
@@ -156,6 +160,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
156
160
|
"aria-roledescription": PropTypes.string,
|
|
157
161
|
"aria-rowcount": PropTypes.number,
|
|
158
162
|
"aria-rowindex": PropTypes.number,
|
|
163
|
+
"aria-rowindextext": PropTypes.string,
|
|
159
164
|
"aria-rowspan": PropTypes.number,
|
|
160
165
|
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
161
166
|
"aria-setsize": PropTypes.number,
|
|
@@ -217,7 +222,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
217
222
|
"trimStart": PropTypes.func.isRequired,
|
|
218
223
|
"valueOf": PropTypes.func.isRequired
|
|
219
224
|
})]),
|
|
220
|
-
"autoComplete": PropTypes.
|
|
225
|
+
"autoComplete": PropTypes.any,
|
|
221
226
|
"autoCorrect": PropTypes.string,
|
|
222
227
|
"autoFocus": PropTypes.bool,
|
|
223
228
|
"autoSave": PropTypes.string,
|
|
@@ -227,7 +232,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
227
232
|
"className": PropTypes.string,
|
|
228
233
|
"color": PropTypes.string,
|
|
229
234
|
"content": PropTypes.string,
|
|
230
|
-
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
235
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "plaintext-only", "true"]), PropTypes.bool]),
|
|
231
236
|
"contextMenu": PropTypes.string,
|
|
232
237
|
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
233
238
|
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
@@ -388,9 +393,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
388
393
|
"onPointerDown": PropTypes.func,
|
|
389
394
|
"onPointerDownCapture": PropTypes.func,
|
|
390
395
|
"onPointerEnter": PropTypes.func,
|
|
391
|
-
"onPointerEnterCapture": PropTypes.func,
|
|
392
396
|
"onPointerLeave": PropTypes.func,
|
|
393
|
-
"onPointerLeaveCapture": PropTypes.func,
|
|
394
397
|
"onPointerMove": PropTypes.func,
|
|
395
398
|
"onPointerMoveCapture": PropTypes.func,
|
|
396
399
|
"onPointerOut": PropTypes.func,
|
|
@@ -405,6 +408,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
405
408
|
"onRateChangeCapture": PropTypes.func,
|
|
406
409
|
"onReset": PropTypes.func,
|
|
407
410
|
"onResetCapture": PropTypes.func,
|
|
411
|
+
"onResize": PropTypes.func,
|
|
412
|
+
"onResizeCapture": PropTypes.func,
|
|
408
413
|
"onScroll": PropTypes.func,
|
|
409
414
|
"onScrollCapture": PropTypes.func,
|
|
410
415
|
"onSeeked": PropTypes.func,
|
|
@@ -86,14 +86,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
86
86
|
"aria-activedescendant": PropTypes.string,
|
|
87
87
|
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
88
88
|
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
89
|
+
"aria-braillelabel": PropTypes.string,
|
|
90
|
+
"aria-brailleroledescription": PropTypes.string,
|
|
89
91
|
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
90
92
|
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
91
93
|
"aria-colcount": PropTypes.number,
|
|
92
94
|
"aria-colindex": PropTypes.number,
|
|
95
|
+
"aria-colindextext": PropTypes.string,
|
|
93
96
|
"aria-colspan": PropTypes.number,
|
|
94
97
|
"aria-controls": PropTypes.string,
|
|
95
98
|
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
96
99
|
"aria-describedby": PropTypes.string,
|
|
100
|
+
"aria-description": PropTypes.string,
|
|
97
101
|
"aria-details": PropTypes.string,
|
|
98
102
|
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
99
103
|
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
@@ -123,6 +127,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
123
127
|
"aria-roledescription": PropTypes.string,
|
|
124
128
|
"aria-rowcount": PropTypes.number,
|
|
125
129
|
"aria-rowindex": PropTypes.number,
|
|
130
|
+
"aria-rowindextext": PropTypes.string,
|
|
126
131
|
"aria-rowspan": PropTypes.number,
|
|
127
132
|
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
128
133
|
"aria-setsize": PropTypes.number,
|
|
@@ -184,7 +189,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
184
189
|
"trimStart": PropTypes.func.isRequired,
|
|
185
190
|
"valueOf": PropTypes.func.isRequired
|
|
186
191
|
})]),
|
|
187
|
-
"autoComplete": PropTypes.
|
|
192
|
+
"autoComplete": PropTypes.any,
|
|
188
193
|
"autoCorrect": PropTypes.string,
|
|
189
194
|
"autoFocus": PropTypes.bool,
|
|
190
195
|
"autoSave": PropTypes.string,
|
|
@@ -194,7 +199,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
194
199
|
"className": PropTypes.string,
|
|
195
200
|
"color": PropTypes.string,
|
|
196
201
|
"content": PropTypes.string,
|
|
197
|
-
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
202
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "plaintext-only", "true"]), PropTypes.bool]),
|
|
198
203
|
"contextMenu": PropTypes.string,
|
|
199
204
|
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
200
205
|
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
@@ -343,9 +348,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
343
348
|
"onPointerDown": PropTypes.func,
|
|
344
349
|
"onPointerDownCapture": PropTypes.func,
|
|
345
350
|
"onPointerEnter": PropTypes.func,
|
|
346
|
-
"onPointerEnterCapture": PropTypes.func,
|
|
347
351
|
"onPointerLeave": PropTypes.func,
|
|
348
|
-
"onPointerLeaveCapture": PropTypes.func,
|
|
349
352
|
"onPointerMove": PropTypes.func,
|
|
350
353
|
"onPointerMoveCapture": PropTypes.func,
|
|
351
354
|
"onPointerOut": PropTypes.func,
|
|
@@ -360,6 +363,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
360
363
|
"onRateChangeCapture": PropTypes.func,
|
|
361
364
|
"onReset": PropTypes.func,
|
|
362
365
|
"onResetCapture": PropTypes.func,
|
|
366
|
+
"onResize": PropTypes.func,
|
|
367
|
+
"onResizeCapture": PropTypes.func,
|
|
363
368
|
"onScroll": PropTypes.func,
|
|
364
369
|
"onScrollCapture": PropTypes.func,
|
|
365
370
|
"onSeeked": PropTypes.func,
|
|
@@ -163,14 +163,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
163
163
|
"aria-activedescendant": PropTypes.string,
|
|
164
164
|
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
165
165
|
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
166
|
+
"aria-braillelabel": PropTypes.string,
|
|
167
|
+
"aria-brailleroledescription": PropTypes.string,
|
|
166
168
|
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
167
169
|
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
168
170
|
"aria-colcount": PropTypes.number,
|
|
169
171
|
"aria-colindex": PropTypes.number,
|
|
172
|
+
"aria-colindextext": PropTypes.string,
|
|
170
173
|
"aria-colspan": PropTypes.number,
|
|
171
174
|
"aria-controls": PropTypes.string,
|
|
172
175
|
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
173
176
|
"aria-describedby": PropTypes.string,
|
|
177
|
+
"aria-description": PropTypes.string,
|
|
174
178
|
"aria-details": PropTypes.string,
|
|
175
179
|
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
176
180
|
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
@@ -200,6 +204,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
200
204
|
"aria-roledescription": PropTypes.string,
|
|
201
205
|
"aria-rowcount": PropTypes.number,
|
|
202
206
|
"aria-rowindex": PropTypes.number,
|
|
207
|
+
"aria-rowindextext": PropTypes.string,
|
|
203
208
|
"aria-rowspan": PropTypes.number,
|
|
204
209
|
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
205
210
|
"aria-setsize": PropTypes.number,
|
|
@@ -261,7 +266,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
261
266
|
"trimStart": PropTypes.func.isRequired,
|
|
262
267
|
"valueOf": PropTypes.func.isRequired
|
|
263
268
|
})]),
|
|
264
|
-
"autoComplete": PropTypes.
|
|
269
|
+
"autoComplete": PropTypes.any,
|
|
265
270
|
"autoCorrect": PropTypes.string,
|
|
266
271
|
"autoFocus": PropTypes.bool,
|
|
267
272
|
"autoSave": PropTypes.string,
|
|
@@ -272,7 +277,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
272
277
|
"color": PropTypes.string,
|
|
273
278
|
"cols": PropTypes.number,
|
|
274
279
|
"content": PropTypes.string,
|
|
275
|
-
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
280
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "plaintext-only", "true"]), PropTypes.bool]),
|
|
276
281
|
"contextMenu": PropTypes.string,
|
|
277
282
|
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
278
283
|
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
@@ -424,9 +429,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
424
429
|
"onPointerDown": PropTypes.func,
|
|
425
430
|
"onPointerDownCapture": PropTypes.func,
|
|
426
431
|
"onPointerEnter": PropTypes.func,
|
|
427
|
-
"onPointerEnterCapture": PropTypes.func,
|
|
428
432
|
"onPointerLeave": PropTypes.func,
|
|
429
|
-
"onPointerLeaveCapture": PropTypes.func,
|
|
430
433
|
"onPointerMove": PropTypes.func,
|
|
431
434
|
"onPointerMoveCapture": PropTypes.func,
|
|
432
435
|
"onPointerOut": PropTypes.func,
|
|
@@ -441,6 +444,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
441
444
|
"onRateChangeCapture": PropTypes.func,
|
|
442
445
|
"onReset": PropTypes.func,
|
|
443
446
|
"onResetCapture": PropTypes.func,
|
|
447
|
+
"onResize": PropTypes.func,
|
|
448
|
+
"onResizeCapture": PropTypes.func,
|
|
444
449
|
"onScroll": PropTypes.func,
|
|
445
450
|
"onScrollCapture": PropTypes.func,
|
|
446
451
|
"onSeeked": PropTypes.func,
|
|
@@ -20,7 +20,7 @@ const RadioButtonMapper = ({
|
|
|
20
20
|
return result;
|
|
21
21
|
}, [filteredChildren]);
|
|
22
22
|
const isControlled = value !== undefined;
|
|
23
|
-
const [checkedValue, setCheckedValue] = useState(
|
|
23
|
+
const [checkedValue, setCheckedValue] = useState("");
|
|
24
24
|
const onChangeProp = useCallback(event => {
|
|
25
25
|
onChange?.(event);
|
|
26
26
|
if (!isControlled) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (ev:
|
|
1
|
+
declare const _default: (ev: Event) => EventTarget[];
|
|
2
2
|
export default _default;
|
|
@@ -75,6 +75,6 @@ declare const Events: {
|
|
|
75
75
|
* Gets the event's path which is an array of the objects on which listeners will be invoked.
|
|
76
76
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
|
|
77
77
|
*/
|
|
78
|
-
composedPath: (ev:
|
|
78
|
+
composedPath: (ev: Event) => EventTarget[];
|
|
79
79
|
};
|
|
80
80
|
export default Events;
|
|
@@ -45,7 +45,7 @@ const Accordion = /*#__PURE__*/React.forwardRef(({
|
|
|
45
45
|
if (!isControlled) {
|
|
46
46
|
setIsExpandedInternal(!isExpanded);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
onChange?.(ev, !isExpanded);
|
|
49
49
|
}, [isControlled, isExpanded, onChange]);
|
|
50
50
|
const handleKeyDown = useCallback(ev => {
|
|
51
51
|
if (handleKeyboardAccessibility) {
|
|
@@ -29,12 +29,7 @@ const ActionPopoverMenu = /*#__PURE__*/React.forwardRef(({
|
|
|
29
29
|
} = context;
|
|
30
30
|
!(setOpen && setFocusIndex && typeof focusIndex !== "undefined") ? process.env.NODE_ENV !== "production" ? invariant(false, "ActionPopoverMenu must be used within an ActionPopover or ActionPopoverItem component") : invariant(false) : void 0;
|
|
31
31
|
const hasProperChildren = useMemo(() => {
|
|
32
|
-
const incorrectChild = React.Children.toArray(children).find(child =>
|
|
33
|
-
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
return child.type.displayName !== ActionPopoverItem.displayName && child.type.displayName !== ActionPopoverDivider.displayName;
|
|
37
|
-
});
|
|
32
|
+
const incorrectChild = React.Children.toArray(children).find(child => ! /*#__PURE__*/React.isValidElement(child) || child.type.displayName !== "ActionPopoverItem" && child.type.displayName !== "ActionPopoverDivider");
|
|
38
33
|
return !incorrectChild;
|
|
39
34
|
}, [children]);
|
|
40
35
|
!hasProperChildren ? process.env.NODE_ENV !== "production" ? invariant(false, `ActionPopoverMenu only accepts children of type \`${ActionPopoverItem.displayName}\`` + ` and \`${ActionPopoverDivider.displayName}\`.`) : invariant(false) : void 0;
|
|
@@ -94,10 +94,15 @@ const ActionPopover = /*#__PURE__*/forwardRef(({
|
|
|
94
94
|
// https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-actions.html
|
|
95
95
|
|
|
96
96
|
const onButtonKeyDown = useCallback(e => {
|
|
97
|
-
if (Events.isSpaceKey(e) || Events.isDownKey(e) || Events.isEnterKey(e)
|
|
97
|
+
if (Events.isSpaceKey(e) || Events.isDownKey(e) || Events.isEnterKey(e)) {
|
|
98
98
|
e.preventDefault();
|
|
99
99
|
e.stopPropagation();
|
|
100
|
-
setFocusIndex(
|
|
100
|
+
setFocusIndex(firstFocusableItem);
|
|
101
|
+
setOpen(true);
|
|
102
|
+
} else if (Events.isUpKey(e)) {
|
|
103
|
+
e.preventDefault();
|
|
104
|
+
e.stopPropagation();
|
|
105
|
+
setFocusIndex(lastFocusableItem);
|
|
101
106
|
setOpen(true);
|
|
102
107
|
}
|
|
103
108
|
}, [firstFocusableItem, lastFocusableItem, setOpen]);
|
|
@@ -30,9 +30,9 @@ export interface AdvancedColorPickerProps extends MarginProps, Pick<ModalProps,
|
|
|
30
30
|
/** Prop for `onChange` event */
|
|
31
31
|
onChange?: (ev: React.ChangeEvent<HTMLInputElement>) => void;
|
|
32
32
|
/** Prop for `onClose` event */
|
|
33
|
-
onClose?: (ev: React.MouseEvent<HTMLElement>) => void;
|
|
33
|
+
onClose?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement> | KeyboardEvent) => void;
|
|
34
34
|
/** Prop for `onOpen` event */
|
|
35
|
-
onOpen?: (ev: React.MouseEvent<HTMLElement>) => void;
|
|
35
|
+
onOpen?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
36
36
|
/** Prop for `open` status */
|
|
37
37
|
open?: boolean;
|
|
38
38
|
/** The ARIA role to be applied to the component container */
|
|
@@ -18,7 +18,7 @@ const AnchorNavigation = ({
|
|
|
18
18
|
!isFragment(stickyNavigation) ? process.env.NODE_ENV !== "production" ? invariant(false, "`stickyNavigation` prop in `AnchorNavigation` should be a React Fragment.") : invariant(false) : void 0;
|
|
19
19
|
const hasCorrectItemStructure = useMemo(() => {
|
|
20
20
|
const incorrectChild = React.Children.toArray(stickyNavigation.props.children).find(child => {
|
|
21
|
-
return ! /*#__PURE__*/React.isValidElement(child) || child.type.displayName !== AnchorNavigationItem
|
|
21
|
+
return ! /*#__PURE__*/React.isValidElement(child) || child.type.displayName !== "AnchorNavigationItem";
|
|
22
22
|
});
|
|
23
23
|
return !incorrectChild;
|
|
24
24
|
}, [stickyNavigation]);
|
|
@@ -373,7 +373,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
373
373
|
"valueOf": PropTypes.func.isRequired
|
|
374
374
|
})]),
|
|
375
375
|
"aria-hidden": PropTypes.oneOf(["false", "true"]),
|
|
376
|
-
"as": PropTypes.oneOfType([PropTypes.oneOf(["a", "abbr", "address", "animate", "animateMotion", "animateTransform", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "circle", "cite", "clipPath", "code", "col", "colgroup", "data", "datalist", "dd", "defs", "del", "desc", "details", "dfn", "dialog", "div", "dl", "dt", "ellipse", "em", "embed", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "fieldset", "figcaption", "figure", "filter", "footer", "foreignObject", "form", "g", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "line", "linearGradient", "link", "main", "map", "mark", "marker", "mask", "menu", "menuitem", "meta", "metadata", "meter", "mpath", "nav", "noindex", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "path", "pattern", "picture", "polygon", "polyline", "pre", "progress", "q", "radialGradient", "rect", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "stop", "strong", "style", "sub", "summary", "sup", "svg", "switch", "symbol", "table", "tbody", "td", "template", "text", "textarea", "textPath", "tfoot", "th", "thead", "time", "title", "tr", "track", "tspan", "u", "ul", "use", "var", "video", "view", "wbr", "webview"]), PropTypes.func, PropTypes.shape({
|
|
376
|
+
"as": PropTypes.oneOfType([PropTypes.oneOf(["a", "abbr", "address", "animate", "animateMotion", "animateTransform", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "center", "circle", "cite", "clipPath", "code", "col", "colgroup", "data", "datalist", "dd", "defs", "del", "desc", "details", "dfn", "dialog", "div", "dl", "dt", "ellipse", "em", "embed", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "fieldset", "figcaption", "figure", "filter", "footer", "foreignObject", "form", "g", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "line", "linearGradient", "link", "main", "map", "mark", "marker", "mask", "menu", "menuitem", "meta", "metadata", "meter", "mpath", "nav", "noindex", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "path", "pattern", "picture", "polygon", "polyline", "pre", "progress", "q", "radialGradient", "rect", "rp", "rt", "ruby", "s", "samp", "script", "search", "section", "select", "set", "slot", "small", "source", "span", "stop", "strong", "style", "sub", "summary", "sup", "svg", "switch", "symbol", "table", "tbody", "td", "template", "text", "textarea", "textPath", "tfoot", "th", "thead", "time", "title", "tr", "track", "tspan", "u", "ul", "use", "var", "video", "view", "wbr", "webview"]), PropTypes.func, PropTypes.shape({
|
|
377
377
|
"childContextTypes": PropTypes.object,
|
|
378
378
|
"contextType": PropTypes.shape({
|
|
379
379
|
"Consumer": PropTypes.func.isRequired,
|
|
@@ -5,5 +5,5 @@ export interface CrumbProps extends Omit<LinkProps, "tooltipMessage" | "tooltipP
|
|
|
5
5
|
/** This sets the Crumb to current, does not render Link */
|
|
6
6
|
isCurrent?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const Crumb: React.ForwardRefExoticComponent<CrumbProps & React.RefAttributes<
|
|
8
|
+
declare const Crumb: React.ForwardRefExoticComponent<CrumbProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
9
9
|
export default Crumb;
|
|
@@ -33,14 +33,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
33
33
|
"aria-activedescendant": PropTypes.string,
|
|
34
34
|
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
35
35
|
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
36
|
+
"aria-braillelabel": PropTypes.string,
|
|
37
|
+
"aria-brailleroledescription": PropTypes.string,
|
|
36
38
|
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
37
39
|
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
38
40
|
"aria-colcount": PropTypes.number,
|
|
39
41
|
"aria-colindex": PropTypes.number,
|
|
42
|
+
"aria-colindextext": PropTypes.string,
|
|
40
43
|
"aria-colspan": PropTypes.number,
|
|
41
44
|
"aria-controls": PropTypes.string,
|
|
42
45
|
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
43
46
|
"aria-describedby": PropTypes.string,
|
|
47
|
+
"aria-description": PropTypes.string,
|
|
44
48
|
"aria-details": PropTypes.string,
|
|
45
49
|
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
46
50
|
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
@@ -70,6 +74,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
70
74
|
"aria-roledescription": PropTypes.string,
|
|
71
75
|
"aria-rowcount": PropTypes.number,
|
|
72
76
|
"aria-rowindex": PropTypes.number,
|
|
77
|
+
"aria-rowindextext": PropTypes.string,
|
|
73
78
|
"aria-rowspan": PropTypes.number,
|
|
74
79
|
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
75
80
|
"aria-setsize": PropTypes.number,
|
|
@@ -88,7 +93,6 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
88
93
|
"onClick": PropTypes.func,
|
|
89
94
|
"onKeyDown": PropTypes.func,
|
|
90
95
|
"onMouseDown": PropTypes.func,
|
|
91
|
-
"placeholderTabIndex": PropTypes.bool,
|
|
92
96
|
"removeAriaLabelOnIcon": PropTypes.bool
|
|
93
97
|
};
|
|
94
98
|
}
|
|
@@ -4,13 +4,13 @@ interface StyleCrumbProps extends LinkProps {
|
|
|
4
4
|
isCurrent?: boolean;
|
|
5
5
|
isDarkBackground: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const StyledCrumb: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<
|
|
7
|
+
export declare const StyledCrumb: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, StyleCrumbProps, never>;
|
|
8
8
|
interface DividerProps {
|
|
9
9
|
isDarkBackground: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const Divider: import("styled-components").StyledComponent<"span", any, DividerProps, never>;
|
|
12
12
|
declare const _default: {
|
|
13
|
-
StyledCrumb: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<
|
|
13
|
+
StyledCrumb: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, StyleCrumbProps, never>;
|
|
14
14
|
Divider: import("styled-components").StyledComponent<"span", any, DividerProps, never>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -38,9 +38,7 @@ const ButtonToggleGroup = ({
|
|
|
38
38
|
...props
|
|
39
39
|
}) => {
|
|
40
40
|
const hasCorrectItemStructure = useMemo(() => {
|
|
41
|
-
const incorrectChild = React.Children.toArray(children).find(child =>
|
|
42
|
-
return ! /*#__PURE__*/React.isValidElement(child) || child.type.displayName !== ButtonToggle.displayName;
|
|
43
|
-
});
|
|
41
|
+
const incorrectChild = React.Children.toArray(children).find(child => ! /*#__PURE__*/React.isValidElement(child) || child.type.displayName !== "ButtonToggle");
|
|
44
42
|
return !incorrectChild;
|
|
45
43
|
}, [children]);
|
|
46
44
|
!hasCorrectItemStructure ? process.env.NODE_ENV !== "production" ? invariant(false, `\`ButtonToggleGroup\` only accepts children of type \`${ButtonToggle.displayName}\``) : invariant(false) : void 0;
|
|
@@ -127,14 +127,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
127
127
|
"aria-activedescendant": PropTypes.string,
|
|
128
128
|
"aria-atomic": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
129
129
|
"aria-autocomplete": PropTypes.oneOf(["both", "inline", "list", "none"]),
|
|
130
|
+
"aria-braillelabel": PropTypes.string,
|
|
131
|
+
"aria-brailleroledescription": PropTypes.string,
|
|
130
132
|
"aria-busy": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
131
133
|
"aria-checked": PropTypes.oneOfType([PropTypes.oneOf(["false", "mixed", "true"]), PropTypes.bool]),
|
|
132
134
|
"aria-colcount": PropTypes.number,
|
|
133
135
|
"aria-colindex": PropTypes.number,
|
|
136
|
+
"aria-colindextext": PropTypes.string,
|
|
134
137
|
"aria-colspan": PropTypes.number,
|
|
135
138
|
"aria-controls": PropTypes.string,
|
|
136
139
|
"aria-current": PropTypes.oneOfType([PropTypes.oneOf(["date", "false", "location", "page", "step", "time", "true"]), PropTypes.bool]),
|
|
137
140
|
"aria-describedby": PropTypes.string,
|
|
141
|
+
"aria-description": PropTypes.string,
|
|
138
142
|
"aria-details": PropTypes.string,
|
|
139
143
|
"aria-disabled": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
140
144
|
"aria-dropeffect": PropTypes.oneOf(["copy", "execute", "link", "move", "none", "popup"]),
|
|
@@ -164,6 +168,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
164
168
|
"aria-roledescription": PropTypes.string,
|
|
165
169
|
"aria-rowcount": PropTypes.number,
|
|
166
170
|
"aria-rowindex": PropTypes.number,
|
|
171
|
+
"aria-rowindextext": PropTypes.string,
|
|
167
172
|
"aria-rowspan": PropTypes.number,
|
|
168
173
|
"aria-selected": PropTypes.oneOfType([PropTypes.oneOf(["false", "true"]), PropTypes.bool]),
|
|
169
174
|
"aria-setsize": PropTypes.number,
|
|
@@ -225,7 +230,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
225
230
|
"trimStart": PropTypes.func.isRequired,
|
|
226
231
|
"valueOf": PropTypes.func.isRequired
|
|
227
232
|
})]),
|
|
228
|
-
"autoComplete": PropTypes.
|
|
233
|
+
"autoComplete": PropTypes.any,
|
|
229
234
|
"autoCorrect": PropTypes.string,
|
|
230
235
|
"autoFocus": PropTypes.bool,
|
|
231
236
|
"autoSave": PropTypes.string,
|
|
@@ -235,7 +240,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
235
240
|
"className": PropTypes.string,
|
|
236
241
|
"color": PropTypes.string,
|
|
237
242
|
"content": PropTypes.string,
|
|
238
|
-
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "true"]), PropTypes.bool]),
|
|
243
|
+
"contentEditable": PropTypes.oneOfType([PropTypes.oneOf(["false", "inherit", "plaintext-only", "true"]), PropTypes.bool]),
|
|
239
244
|
"contextMenu": PropTypes.string,
|
|
240
245
|
"dangerouslySetInnerHTML": PropTypes.shape({
|
|
241
246
|
"__html": PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired
|
|
@@ -554,9 +559,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
554
559
|
"onPointerDown": PropTypes.func,
|
|
555
560
|
"onPointerDownCapture": PropTypes.func,
|
|
556
561
|
"onPointerEnter": PropTypes.func,
|
|
557
|
-
"onPointerEnterCapture": PropTypes.func,
|
|
558
562
|
"onPointerLeave": PropTypes.func,
|
|
559
|
-
"onPointerLeaveCapture": PropTypes.func,
|
|
560
563
|
"onPointerMove": PropTypes.func,
|
|
561
564
|
"onPointerMoveCapture": PropTypes.func,
|
|
562
565
|
"onPointerOut": PropTypes.func,
|
|
@@ -571,6 +574,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
571
574
|
"onRateChangeCapture": PropTypes.func,
|
|
572
575
|
"onReset": PropTypes.func,
|
|
573
576
|
"onResetCapture": PropTypes.func,
|
|
577
|
+
"onResize": PropTypes.func,
|
|
578
|
+
"onResizeCapture": PropTypes.func,
|
|
574
579
|
"onScroll": PropTypes.func,
|
|
575
580
|
"onScrollCapture": PropTypes.func,
|
|
576
581
|
"onSeeked": PropTypes.func,
|