File tree Expand file tree Collapse file tree 3 files changed +0
-21
lines changed Expand file tree Collapse file tree 3 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,6 @@ export interface AriaSelectableListOptions {
57
57
* @default false
58
58
*/
59
59
disallowEmptySelection ?: boolean ,
60
- /**
61
- * Whether the collection allows the user to select all items via keyboard shortcut.
62
- * @default false
63
- */
64
- disallowSelectAll ?: boolean ,
65
60
/**
66
61
* Whether selection should occur automatically on focus.
67
62
* @default false
@@ -103,7 +98,6 @@ export function useSelectableList(props: AriaSelectableListOptions): SelectableL
103
98
shouldFocusWrap,
104
99
isVirtualized,
105
100
disallowEmptySelection,
106
- disallowSelectAll,
107
101
selectOnFocus = selectionManager . selectionBehavior === 'replace' ,
108
102
disallowTypeAhead,
109
103
shouldUseVirtualFocus,
@@ -125,7 +119,6 @@ export function useSelectableList(props: AriaSelectableListOptions): SelectableL
125
119
autoFocus,
126
120
shouldFocusWrap,
127
121
disallowEmptySelection,
128
- disallowSelectAll,
129
122
selectOnFocus,
130
123
disallowTypeAhead,
131
124
shouldUseVirtualFocus,
Original file line number Diff line number Diff line change @@ -228,15 +228,3 @@ export const MultiSelectDisallowEmptySelectOnFocus = () => (
228
228
MultiSelectDisallowEmptySelectOnFocus . story = {
229
229
name : 'multi select, disallow empty, select on focus'
230
230
} ;
231
-
232
- export const MultiSelectDisallowSelectAll = ( ) => (
233
- < List selectionMode = "multiple" disallowSelectAll >
234
- < Item > Paco de Lucia</ Item >
235
- < Item > Vicente Amigo</ Item >
236
- < Item > Gerardo Nunez</ Item >
237
- </ List >
238
- ) ;
239
-
240
- MultiSelectDisallowSelectAll . story = {
241
- name : 'multi select, disallow select all'
242
- } ;
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export interface MultipleSelection {
31
31
selectionMode ?: SelectionMode ,
32
32
/** Whether the collection allows empty selection. */
33
33
disallowEmptySelection ?: boolean ,
34
- /** Whether the collection allows the user to select all items via keyboard shortcut. */
35
- disallowSelectAll ?: boolean ,
36
34
/** The currently selected keys in the collection (controlled). */
37
35
selectedKeys ?: 'all' | Iterable < Key > ,
38
36
/** The initial selected keys in the collection (uncontrolled). */
You can’t perform that action at this time.
0 commit comments