@mui/x-tree-view 8.5.1 → 8.5.3
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/CHANGELOG.md +187 -10
- package/TreeItem/TreeItem.d.ts +1 -1
- package/esm/TreeItem/TreeItem.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +1 -1
- package/esm/internals/hooks/useSelector.js +3 -1
- package/esm/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +10 -10
- package/esm/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +18 -18
- package/esm/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +23 -23
- package/esm/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +3 -3
- package/esm/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +6 -6
- package/esm/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +15 -15
- package/esm/internals/utils/selectors.d.ts +5 -0
- package/esm/internals/utils/selectors.js +5 -0
- package/index.js +1 -1
- package/internals/corePlugins/useTreeViewId/useTreeViewId.selectors.d.ts +1 -1
- package/internals/hooks/useSelector.js +4 -1
- package/internals/plugins/useTreeViewExpansion/useTreeViewExpansion.selectors.d.ts +10 -10
- package/internals/plugins/useTreeViewFocus/useTreeViewFocus.selectors.d.ts +18 -18
- package/internals/plugins/useTreeViewItems/useTreeViewItems.selectors.d.ts +23 -23
- package/internals/plugins/useTreeViewLabel/useTreeViewLabel.selectors.d.ts +3 -3
- package/internals/plugins/useTreeViewLazyLoading/useTreeViewLazyLoading.selectors.d.ts +6 -6
- package/internals/plugins/useTreeViewSelection/useTreeViewSelection.selectors.d.ts +15 -15
- package/internals/utils/selectors.d.ts +5 -0
- package/internals/utils/selectors.js +5 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,193 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.5.3
|
|
9
|
+
|
|
10
|
+
_Jun 19, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
18
|
+
@alisasanib, @arminmeh, @sai6855
|
|
19
|
+
|
|
20
|
+
The following are all team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @oliviertassinari
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@8.5.3`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Fix export menu button tooltip being interactive when menu is open (#18327) @bernardobelchior
|
|
28
|
+
- [DataGrid] Fix column menu scroll close (#18065) @alisasanib
|
|
29
|
+
- [DataGrid] Fix page size issue with data source (#18419) @MBilalShafi
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid@8.5.3`, plus:
|
|
34
|
+
|
|
35
|
+
- [DataGridPro] Ignore missing `rowCount` response when new children are fetched with the data source (#17711) @arminmeh
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.5.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.3`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.5.3`
|
|
44
|
+
|
|
45
|
+
- [pickers] Add `inputSizeSmall` to classes interface (#18242) @sai6855
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@8.5.3`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@8.5.3`
|
|
54
|
+
|
|
55
|
+
- [charts] Add item class to list item around each series in legend (#18411) @bernardobelchior
|
|
56
|
+
- [charts] Allow `tabIndex` in surface and legend (#18344) @JCQuintas
|
|
57
|
+
- [charts] Explore selector typing (#18362) @alexfauquette
|
|
58
|
+
- [charts] Fix highlight with number ids (#18423) @alexfauquette
|
|
59
|
+
- [charts] Make scatter chart use data attributes (#18048) @alexfauquette
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts@8.5.3`, plus:
|
|
64
|
+
|
|
65
|
+
- [charts-pro] Add data-series to elements of funnel chart (#18067) @JCQuintas
|
|
66
|
+
- [charts-pro] Hide values outside minStart and maxEnd in zoom slider (#18336) @bernardobelchior
|
|
67
|
+
- [charts-pro] Fix `FunnelChart` label positioning with different curves (#18354) @JCQuintas
|
|
68
|
+
|
|
69
|
+
### Tree View
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view@8.5.3`
|
|
72
|
+
|
|
73
|
+
Internal changes.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-tree-view-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-tree-view@8.5.3`.
|
|
78
|
+
|
|
79
|
+
### Codemod
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-codemod@8.5.3`
|
|
82
|
+
|
|
83
|
+
Internal changes.
|
|
84
|
+
|
|
85
|
+
### Docs
|
|
86
|
+
|
|
87
|
+
- [docs] Fix 404 in charts docs (#18440) @alexfauquette
|
|
88
|
+
- [docs][pickers] Fix adapter version resolving when opening demo to edit (#18363) @LukasTy
|
|
89
|
+
|
|
90
|
+
### Core
|
|
91
|
+
|
|
92
|
+
- [core] Fix pnpm valelint error (#18420) @oliviertassinari
|
|
93
|
+
|
|
94
|
+
### Miscellaneous
|
|
95
|
+
|
|
96
|
+
- [code-infra] Add back a `Playwright` renovate group (#18397) @LukasTy
|
|
97
|
+
- [code-infra] Setup `CODEOWNERS` for charts repositories (#18418) @JCQuintas
|
|
98
|
+
- [code-infra] Strengthen `URL` usage for test config (#18444) @LukasTy
|
|
99
|
+
- [code-infra] Use `vitest` bundled types (#17758) @JCQuintas
|
|
100
|
+
- [infra] Stabilise tests by removing babel and plugins from vitest (#18341) @JCQuintas
|
|
101
|
+
- [infra] Add automated release PR creation script (#18345) @michelengelen
|
|
102
|
+
|
|
103
|
+
## 8.5.2
|
|
104
|
+
|
|
105
|
+
_Jun 12, 2025_
|
|
106
|
+
|
|
107
|
+
We'd like to extend a big thank you to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
108
|
+
|
|
109
|
+
- 📊 Improve Data Grid selectors performance
|
|
110
|
+
- 🐞 Fix `useSyncExternalStore` import error in React 17
|
|
111
|
+
|
|
112
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
113
|
+
@alisasanib, @noobyogi0010.
|
|
114
|
+
|
|
115
|
+
The following are all team members who have contributed to this release:
|
|
116
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @JCQuintas, @KenanYusuf, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @oliviertassinari, @prakhargupta1, @romgrk.
|
|
117
|
+
|
|
118
|
+
### Data Grid
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-data-grid@8.5.2`
|
|
121
|
+
|
|
122
|
+
- [DataGrid] Improve selectors performance (#18234) @romgrk
|
|
123
|
+
- [DataGrid] Fix data grid palette when using CSS vars (#18310) @KenanYusuf
|
|
124
|
+
- [DataGrid] Ignore data source request if the grid got unmounted (#18268) @arminmeh
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-data-grid-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
127
|
+
|
|
128
|
+
Same changes as in `@mui/x-data-grid@8.5.2`, plus:
|
|
129
|
+
|
|
130
|
+
- [DataGridPro] Fix flex column width if it is a pinned column (#18293) @alisasanib
|
|
131
|
+
- [DataGridPro] Fix inconsistent filtering results with aggregation (#17954) @cherniavskii
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-data-grid-premium@8.5.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
134
|
+
|
|
135
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.2`.
|
|
136
|
+
|
|
137
|
+
### Date and Time Pickers
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-date-pickers@8.5.2`
|
|
140
|
+
|
|
141
|
+
- [pickers] Add `PickerDay2` and `DateRangePickerDay2` components (#15921) @noraleonte
|
|
142
|
+
- [pickers] Fix `hiddenLabel` prop propagation (#18195) @noobyogi0010
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-date-pickers-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
145
|
+
|
|
146
|
+
Same changes as in `@mui/x-date-pickers@8.5.2`.
|
|
147
|
+
|
|
148
|
+
### Charts
|
|
149
|
+
|
|
150
|
+
#### `@mui/x-charts@8.5.2`
|
|
151
|
+
|
|
152
|
+
- [charts] Add a default value formatter for continuous scales (#18178) @bernardobelchior
|
|
153
|
+
- [charts] Add margin-bottom to charts toolbar (#18326) @bernardobelchior
|
|
154
|
+
- [charts] Fix grid with band scale (#18295) @alexfauquette
|
|
155
|
+
- [charts] Remove unnecessary style changes in tests (#18317) @JCQuintas
|
|
156
|
+
- [charts] Remove `sx` prop merging from `useComponentRenderer` (#18235) @bernardobelchior
|
|
157
|
+
- [charts] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-charts-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
160
|
+
|
|
161
|
+
Same changes as in `@mui/x-charts@8.5.2`, plus:
|
|
162
|
+
|
|
163
|
+
- [charts-pro] Document zoom slider tooltip value formatting (#18261) @bernardobelchior
|
|
164
|
+
- [charts-pro] Funnel `gap` prop does not impact the drawing area (#18233) @JCQuintas
|
|
165
|
+
- [charts-pro] Use `ChartsToolbarPro` types in pro charts (#18243) @bernardobelchior
|
|
166
|
+
|
|
167
|
+
### Tree View
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-tree-view@8.5.2`
|
|
170
|
+
|
|
171
|
+
- [tree-view] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
172
|
+
|
|
173
|
+
#### `@mui/x-tree-view-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
174
|
+
|
|
175
|
+
Same changes as in `@mui/x-tree-view@8.5.2`.
|
|
176
|
+
|
|
177
|
+
### Docs
|
|
178
|
+
|
|
179
|
+
- [docs] Add toolbar custom trigger and panel recipe (#18297) @KenanYusuf
|
|
180
|
+
- [docs] Copyedit the Priority support page (#18311) @mapache-salvaje
|
|
181
|
+
- [docs] Remove confusing opt-out mention in telemetry docs (#18257) @prakhargupta1
|
|
182
|
+
- [docs] Revise the Master Detail doc (#17927) @mapache-salvaje
|
|
183
|
+
- [docs] Revise the list view doc (#17928) @mapache-salvaje
|
|
184
|
+
- [docs] Audit and revise the Pro column docs (#17844) @mapache-salvaje
|
|
185
|
+
- [docs] Add some more context on Heatmap (#18256) @oliviertassinari
|
|
186
|
+
- [x-telemetry] Reduce Telemetry overhead (#18292) @oliviertassinari
|
|
187
|
+
- [code-infra] Align Node version used in CI to v22 (#18319) @LukasTy
|
|
188
|
+
- [code-infra] Fix pkg.pr.new publishing (#18316) @bernardobelchior
|
|
189
|
+
- [code-infra] Revert `React` to `19.0.0` (#18265) @LukasTy
|
|
190
|
+
- [code-infra] Use `catalog` for reused dependencies (#18302) @LukasTy
|
|
191
|
+
- [infra] Remove unused karma/mocha deps and files (#18340) @JCQuintas
|
|
192
|
+
- [infra] Update GitHub label references to use 'scope' instead of 'component' (#18260) @michelengelen
|
|
193
|
+
- [infra] Use a single browser server in CI (#18230) @JCQuintas
|
|
194
|
+
|
|
8
195
|
## 8.5.1
|
|
9
196
|
|
|
10
197
|
<!-- generated comparing v8.5.0..master -->
|
|
@@ -97,15 +284,6 @@ Same changes as in `@mui/x-tree-view@8.5.1`.
|
|
|
97
284
|
|
|
98
285
|
### Core
|
|
99
286
|
|
|
100
|
-
- chore(deps): bump @next/eslint-plugin-next to 15.3.3 (#18155) @renovate[bot]
|
|
101
|
-
- chore(deps): bump @types/lodash to ^4.17.17 (#17990) @renovate[bot]
|
|
102
|
-
- chore(deps): bump babel (#18157) @renovate[bot]
|
|
103
|
-
- chore(deps): bump eslint to ^9.28.0 (#17352) @renovate[bot]
|
|
104
|
-
- chore(deps): bump material ui (#17802) @renovate[bot]
|
|
105
|
-
- chore(deps): bump next to ^15.3.3 (#18159) @renovate[bot]
|
|
106
|
-
- chore(deps): bump ossf/scorecard-action action to v2.4.2 (#18160) @renovate[bot]
|
|
107
|
-
- chore(deps): bump react-router to ^7.6.1 (#18162) @renovate[bot]
|
|
108
|
-
- chore(deps): bump yargs to ^18.0.0 (#18169) @renovate[bot]
|
|
109
287
|
- [code-infra] Different approach to console testing for `processRowUpdate` (#18213) @JCQuintas
|
|
110
288
|
- [code-infra] Fix act warnings in DataGrid/toolbar (#18207) @JCQuintas
|
|
111
289
|
- [code-infra] Remove `istanbul` references (#18194) @JCQuintas
|
|
@@ -4549,7 +4727,6 @@ No changes since `@mui/x-charts@7.22.2`.
|
|
|
4549
4727
|
- [docs] Add `next` version links (#15423) @LukasTy
|
|
4550
4728
|
- [docs] Use the `loading` state in the demos (#15538) @cherniavskii
|
|
4551
4729
|
- [docs] Add data caching to lazy loaded detail panel demo (#15506) @cherniavskii
|
|
4552
|
-
|
|
4553
4730
|
- [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
|
|
4554
4731
|
- [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
|
|
4555
4732
|
- [core] Clarify release version bump strategy (#15536) @cherniavskii
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const TreeItemErrorContainer: import("@emotion/styled").StyledCom
|
|
|
15
15
|
export declare const TreeItemLoadingContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/CircularProgress").CircularProgressProps, keyof import("@mui/material/CircularProgress").CircularProgressProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
16
16
|
export declare const TreeItemCheckbox: import("@emotion/styled").StyledComponent<Pick<Omit<CheckboxProps & {
|
|
17
17
|
visible?: boolean;
|
|
18
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "
|
|
18
|
+
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "id" | "value" | "name" | "checked" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "size" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "action" | "visible" | "icon" | "slots" | "slotProps" | "classes" | "sx" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminate" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
19
19
|
type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLLIElement>) => React.JSX.Element) & {
|
|
20
20
|
propTypes?: any;
|
|
21
21
|
};
|
|
@@ -15,7 +15,7 @@ export declare const TreeItemErrorContainer: import("@emotion/styled").StyledCom
|
|
|
15
15
|
export declare const TreeItemLoadingContainer: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/CircularProgress").CircularProgressProps, keyof import("@mui/material/CircularProgress").CircularProgressProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
16
16
|
export declare const TreeItemCheckbox: import("@emotion/styled").StyledComponent<Pick<Omit<CheckboxProps & {
|
|
17
17
|
visible?: boolean;
|
|
18
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "
|
|
18
|
+
}, "ref"> & React.RefAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "id" | "value" | "name" | "checked" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "readOnly" | "required" | "size" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "action" | "visible" | "icon" | "slots" | "slotProps" | "classes" | "sx" | "component" | "checkedIcon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "inputProps" | "inputRef" | "indeterminate" | "indeterminateIcon" | keyof React.RefAttributes<HTMLButtonElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
19
19
|
type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLLIElement>) => React.JSX.Element) & {
|
|
20
20
|
propTypes?: any;
|
|
21
21
|
};
|
package/esm/index.js
CHANGED
|
@@ -31,6 +31,6 @@ export declare const selectorTreeViewId: ((state: import("./useTreeViewId.types.
|
|
|
31
31
|
dependencyRecomputations: () => number;
|
|
32
32
|
resetDependencyRecomputations: () => void;
|
|
33
33
|
} & {
|
|
34
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
34
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
35
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
36
36
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
/* We need to import the shim because React 17 does not support the `useSyncExternalStore` API.
|
|
2
|
+
* More info: https://github.com/mui/mui-x/issues/18303#issuecomment-2958392341 */
|
|
3
|
+
import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector';
|
|
2
4
|
const defaultCompare = Object.is;
|
|
3
5
|
export const useSelector = (store, selector, args = undefined, equals = defaultCompare) => {
|
|
4
6
|
const selectorWithArgs = state => selector(state, args);
|
|
@@ -31,8 +31,8 @@ export declare const selectorExpandedItems: ((state: import("../../corePlugins/u
|
|
|
31
31
|
dependencyRecomputations: () => number;
|
|
32
32
|
resetDependencyRecomputations: () => void;
|
|
33
33
|
} & {
|
|
34
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
35
34
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
35
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* Get the expanded items as a Map.
|
|
@@ -79,16 +79,16 @@ export declare const selectorExpandedItemsMap: ((state: import("../../corePlugin
|
|
|
79
79
|
dependencyRecomputations: () => number;
|
|
80
80
|
resetDependencyRecomputations: () => void;
|
|
81
81
|
} & {
|
|
82
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
83
82
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
83
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
84
84
|
}];
|
|
85
85
|
recomputations: () => number;
|
|
86
86
|
resetRecomputations: () => void;
|
|
87
87
|
dependencyRecomputations: () => number;
|
|
88
88
|
resetDependencyRecomputations: () => void;
|
|
89
89
|
} & {
|
|
90
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
91
90
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
91
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
94
|
* Check if an item is expanded.
|
|
@@ -147,24 +147,24 @@ export declare const selectorIsItemExpanded: ((state: any, itemId: string) => bo
|
|
|
147
147
|
dependencyRecomputations: () => number;
|
|
148
148
|
resetDependencyRecomputations: () => void;
|
|
149
149
|
} & {
|
|
150
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
151
150
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
151
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
152
152
|
}];
|
|
153
153
|
recomputations: () => number;
|
|
154
154
|
resetRecomputations: () => void;
|
|
155
155
|
dependencyRecomputations: () => number;
|
|
156
156
|
resetDependencyRecomputations: () => void;
|
|
157
157
|
} & {
|
|
158
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
159
158
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
159
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
160
160
|
}, (_: any, itemId: string) => string];
|
|
161
161
|
recomputations: () => number;
|
|
162
162
|
resetRecomputations: () => void;
|
|
163
163
|
dependencyRecomputations: () => number;
|
|
164
164
|
resetDependencyRecomputations: () => void;
|
|
165
165
|
} & {
|
|
166
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
167
166
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
167
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* Check if an item is expandable.
|
|
@@ -263,24 +263,24 @@ export declare const selectorIsItemExpandable: ((state: any, itemId: string | nu
|
|
|
263
263
|
dependencyRecomputations: () => number;
|
|
264
264
|
resetDependencyRecomputations: () => void;
|
|
265
265
|
} & {
|
|
266
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
267
266
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
267
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
268
268
|
}, (_: any, itemId: string | null) => string | null];
|
|
269
269
|
recomputations: () => number;
|
|
270
270
|
resetRecomputations: () => void;
|
|
271
271
|
dependencyRecomputations: () => number;
|
|
272
272
|
resetDependencyRecomputations: () => void;
|
|
273
273
|
} & {
|
|
274
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
275
274
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
275
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
276
276
|
}];
|
|
277
277
|
recomputations: () => number;
|
|
278
278
|
resetRecomputations: () => void;
|
|
279
279
|
dependencyRecomputations: () => number;
|
|
280
280
|
resetDependencyRecomputations: () => void;
|
|
281
281
|
} & {
|
|
282
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
283
282
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
283
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
284
284
|
};
|
|
285
285
|
/**
|
|
286
286
|
* Get the slot that triggers the item's expansion when clicked.
|
|
@@ -313,6 +313,6 @@ export declare const selectorItemExpansionTrigger: ((state: import("../../corePl
|
|
|
313
313
|
dependencyRecomputations: () => number;
|
|
314
314
|
resetDependencyRecomputations: () => void;
|
|
315
315
|
} & {
|
|
316
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
317
316
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
317
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
318
318
|
};
|
|
@@ -69,16 +69,16 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
69
69
|
dependencyRecomputations: () => number;
|
|
70
70
|
resetDependencyRecomputations: () => void;
|
|
71
71
|
} & {
|
|
72
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
73
72
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
73
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
74
74
|
}];
|
|
75
75
|
recomputations: () => number;
|
|
76
76
|
resetRecomputations: () => void;
|
|
77
77
|
dependencyRecomputations: () => number;
|
|
78
78
|
resetDependencyRecomputations: () => void;
|
|
79
79
|
} & {
|
|
80
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
81
80
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
81
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
82
82
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
83
83
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
84
84
|
}) => Map<string, true>) & {
|
|
@@ -119,16 +119,16 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
119
119
|
dependencyRecomputations: () => number;
|
|
120
120
|
resetDependencyRecomputations: () => void;
|
|
121
121
|
} & {
|
|
122
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
123
122
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
123
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
124
124
|
}];
|
|
125
125
|
recomputations: () => number;
|
|
126
126
|
resetRecomputations: () => void;
|
|
127
127
|
dependencyRecomputations: () => number;
|
|
128
128
|
resetDependencyRecomputations: () => void;
|
|
129
129
|
} & {
|
|
130
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
131
130
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
131
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
132
132
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
133
133
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
134
134
|
}) => {
|
|
@@ -193,8 +193,8 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
193
193
|
dependencyRecomputations: () => number;
|
|
194
194
|
resetDependencyRecomputations: () => void;
|
|
195
195
|
} & {
|
|
196
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
197
196
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
197
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
198
198
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
199
199
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
200
200
|
}) => boolean) & {
|
|
@@ -251,16 +251,16 @@ export declare const selectorDefaultFocusableItemId: ((state: any) => string | n
|
|
|
251
251
|
dependencyRecomputations: () => number;
|
|
252
252
|
resetDependencyRecomputations: () => void;
|
|
253
253
|
} & {
|
|
254
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
255
254
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
255
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
256
256
|
}, (state: any) => string[]];
|
|
257
257
|
recomputations: () => number;
|
|
258
258
|
resetRecomputations: () => void;
|
|
259
259
|
dependencyRecomputations: () => number;
|
|
260
260
|
resetDependencyRecomputations: () => void;
|
|
261
261
|
} & {
|
|
262
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
263
262
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
263
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
264
264
|
};
|
|
265
265
|
/**
|
|
266
266
|
* Check if an item is the default focusable item.
|
|
@@ -342,16 +342,16 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
342
342
|
dependencyRecomputations: () => number;
|
|
343
343
|
resetDependencyRecomputations: () => void;
|
|
344
344
|
} & {
|
|
345
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
346
345
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
346
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
347
347
|
}];
|
|
348
348
|
recomputations: () => number;
|
|
349
349
|
resetRecomputations: () => void;
|
|
350
350
|
dependencyRecomputations: () => number;
|
|
351
351
|
resetDependencyRecomputations: () => void;
|
|
352
352
|
} & {
|
|
353
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
354
353
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
354
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
355
355
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewExpansion/useTreeViewExpansion.types.js").UseTreeViewExpansionState & Partial<{}> & {
|
|
356
356
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
357
357
|
}) => Map<string, true>) & {
|
|
@@ -392,16 +392,16 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
392
392
|
dependencyRecomputations: () => number;
|
|
393
393
|
resetDependencyRecomputations: () => void;
|
|
394
394
|
} & {
|
|
395
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
396
395
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
396
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
397
397
|
}];
|
|
398
398
|
recomputations: () => number;
|
|
399
399
|
resetRecomputations: () => void;
|
|
400
400
|
dependencyRecomputations: () => number;
|
|
401
401
|
resetDependencyRecomputations: () => void;
|
|
402
402
|
} & {
|
|
403
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
404
403
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
404
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
405
405
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
406
406
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
407
407
|
}) => {
|
|
@@ -466,8 +466,8 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
466
466
|
dependencyRecomputations: () => number;
|
|
467
467
|
resetDependencyRecomputations: () => void;
|
|
468
468
|
} & {
|
|
469
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
470
469
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
470
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
471
471
|
}, ((state: import("../../corePlugins/useTreeViewId/useTreeViewId.types.js").UseTreeViewIdState & import("../useTreeViewItems/index.js").UseTreeViewItemsState<import("../../../index.js").TreeViewDefaultItemModelProperties> & Partial<{}> & {
|
|
472
472
|
cacheKey: import("../../models/index.js").TreeViewStateCacheKey;
|
|
473
473
|
}) => boolean) & {
|
|
@@ -524,24 +524,24 @@ export declare const selectorIsItemTheDefaultFocusableItem: ((state: any, itemId
|
|
|
524
524
|
dependencyRecomputations: () => number;
|
|
525
525
|
resetDependencyRecomputations: () => void;
|
|
526
526
|
} & {
|
|
527
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
528
527
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
528
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
529
529
|
}, (state: any) => string[]];
|
|
530
530
|
recomputations: () => number;
|
|
531
531
|
resetRecomputations: () => void;
|
|
532
532
|
dependencyRecomputations: () => number;
|
|
533
533
|
resetDependencyRecomputations: () => void;
|
|
534
534
|
} & {
|
|
535
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
536
535
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
536
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
537
537
|
}, (_: any, itemId: string) => string];
|
|
538
538
|
recomputations: () => number;
|
|
539
539
|
resetRecomputations: () => void;
|
|
540
540
|
dependencyRecomputations: () => number;
|
|
541
541
|
resetDependencyRecomputations: () => void;
|
|
542
542
|
} & {
|
|
543
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
544
543
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
544
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
545
545
|
};
|
|
546
546
|
/**
|
|
547
547
|
* Get the id of the item that is currently focused.
|
|
@@ -572,8 +572,8 @@ export declare const selectorFocusedItemId: ((state: import("../../corePlugins/u
|
|
|
572
572
|
dependencyRecomputations: () => number;
|
|
573
573
|
resetDependencyRecomputations: () => void;
|
|
574
574
|
} & {
|
|
575
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
576
575
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
576
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
577
577
|
};
|
|
578
578
|
/**
|
|
579
579
|
* Check if an item is focused.
|
|
@@ -617,14 +617,14 @@ export declare const selectorIsItemFocused: ((state: any, itemId: string) => boo
|
|
|
617
617
|
dependencyRecomputations: () => number;
|
|
618
618
|
resetDependencyRecomputations: () => void;
|
|
619
619
|
} & {
|
|
620
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
621
620
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
621
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
622
622
|
}, (_: any, itemId: string) => string];
|
|
623
623
|
recomputations: () => number;
|
|
624
624
|
resetRecomputations: () => void;
|
|
625
625
|
dependencyRecomputations: () => number;
|
|
626
626
|
resetDependencyRecomputations: () => void;
|
|
627
627
|
} & {
|
|
628
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
629
628
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
629
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
630
630
|
};
|