@mui/x-internals 8.8.0 → 8.10.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/CHANGELOG.md +346 -30
- package/esm/math/index.d.ts +1 -0
- package/esm/math/index.js +3 -0
- package/esm/platform/index.d.ts +7 -0
- package/esm/platform/index.js +7 -0
- package/esm/store/Store.d.ts +4 -2
- package/esm/store/Store.js +32 -9
- package/esm/store/createSelector.js +5 -4
- package/esm/store/index.d.ts +2 -0
- package/esm/store/index.js +2 -0
- package/esm/store/useStore.d.ts +5 -0
- package/esm/store/useStore.js +7 -0
- package/esm/store/useStoreEffect.d.ts +6 -0
- package/esm/store/useStoreEffect.js +48 -0
- package/esm/types/base.d.ts +2 -0
- package/esm/types/base.js +1 -0
- package/esm/types/index.d.ts +1 -0
- package/esm/types/index.js +1 -0
- package/esm/useFirstRender/index.d.ts +1 -0
- package/esm/useFirstRender/index.js +1 -0
- package/esm/useFirstRender/useFirstRender.d.ts +1 -0
- package/esm/useFirstRender/useFirstRender.js +8 -0
- package/esm/useRunOnce/index.d.ts +1 -0
- package/esm/useRunOnce/index.js +1 -0
- package/esm/useRunOnce/useRunOnce.d.ts +5 -0
- package/esm/useRunOnce/useRunOnce.js +18 -0
- package/math/index.d.ts +1 -0
- package/math/index.js +9 -0
- package/package.json +5 -6
- package/platform/index.d.ts +7 -0
- package/platform/index.js +13 -0
- package/store/Store.d.ts +4 -2
- package/store/Store.js +32 -9
- package/store/createSelector.js +5 -4
- package/store/index.d.ts +2 -0
- package/store/index.js +22 -0
- package/store/useStore.d.ts +5 -0
- package/store/useStore.js +14 -0
- package/store/useStoreEffect.d.ts +6 -0
- package/store/useStoreEffect.js +55 -0
- package/types/base.d.ts +2 -0
- package/types/base.js +5 -0
- package/types/index.d.ts +1 -0
- package/types/index.js +11 -0
- package/useFirstRender/index.d.ts +1 -0
- package/useFirstRender/index.js +16 -0
- package/useFirstRender/useFirstRender.d.ts +1 -0
- package/useFirstRender/useFirstRender.js +15 -0
- package/useRunOnce/index.d.ts +1 -0
- package/useRunOnce/index.js +16 -0
- package/useRunOnce/useRunOnce.d.ts +5 -0
- package/useRunOnce/useRunOnce.js +27 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,340 @@
|
|
|
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.10.0
|
|
9
|
+
|
|
10
|
+
_Aug 8, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📊 [`FunnelChart`](https://mui.com/x/react-charts/funnel/) marked as stable
|
|
15
|
+
- 📈 [Zoom slider](https://mui.com/x/react-charts/zoom-and-pan/#zoom-slider) and [Preview](https://mui.com/x/react-charts/zoom-and-pan/#preview) marked as stable
|
|
16
|
+
- 📈 Supporting [label groups](https://mui.com/x/react-charts/axis/#grouped-axes) in band and point axis
|
|
17
|
+
- 🌎 Improve Norwegian Nynorsk (nn-NO) locale on the Data Grid
|
|
18
|
+
- 🐞 Bugfixes
|
|
19
|
+
- 📚 Documentation improvements
|
|
20
|
+
|
|
21
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
22
|
+
@AnderzL7, @aqeelat, @dwrth, @noobyogi0010, @nusr, @sai6855
|
|
23
|
+
|
|
24
|
+
The following are all team members who have contributed to this release:
|
|
25
|
+
@arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @oliviertassinari, @rita-codes, @romgrk
|
|
26
|
+
|
|
27
|
+
### Data Grid
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid@8.10.0`
|
|
30
|
+
|
|
31
|
+
- [DataGrid] Move spread operator in `BaseSelect` to allow `variant` change (#19026) @dwrth
|
|
32
|
+
- [DataGrid] Use `use-sync-external-store` shim (#19063) @romgrk
|
|
33
|
+
- [DataGrid] Allow skipping cache in `dataSource.fetchRows()` API method (#18904) @MBilalShafi
|
|
34
|
+
- [DataGrid] Do not call `preProcessEditCellProps()` if cell is not editable based on `isCellEditable()` (#18405) @nusr
|
|
35
|
+
- [DataGrid] Fix `renderCountry` throwing an error when used in tree data (#19068) @cherniavskii
|
|
36
|
+
- [DataGrid] Fix performance issue for root level "select all" (#19015) @MBilalShafi
|
|
37
|
+
- [DataGrid] Fix pagination `slotProps` being ignored by the grid (#19095) @romgrk
|
|
38
|
+
- [l10n] Improve Norwegian Nynorsk (nn-NO) locale (#19076) @AnderzL7
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid@8.10.0`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPro] Fix row reorder not working with column reorder disabled (#19016) @MBilalShafi
|
|
45
|
+
- [DataGridPro] Fix header filters cache sharing issue (#19090) @MBilalShafi
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-data-grid-premium@8.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-data-grid-pro@8.10.0`, plus:
|
|
50
|
+
|
|
51
|
+
- [DataGridPremium] Allow additional derived columns customization via `valueFormatter` (#18982) @arminmeh
|
|
52
|
+
- [DataGridPremium] Fix complex `singleSelect` columns not working in pivot model (#18971) @cherniavskii
|
|
53
|
+
|
|
54
|
+
### Date and Time Pickers
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-date-pickers@8.10.0`
|
|
57
|
+
|
|
58
|
+
- [pickers] `MuiPickersLayout-toolbar` is overlapping the Calendar in RTL `MobileDatePicker` variant (#18981) @rita-codes
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-date-pickers-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
61
|
+
|
|
62
|
+
Same changes as in `@mui/x-date-pickers@8.10.0`.
|
|
63
|
+
|
|
64
|
+
### Charts
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-charts@8.10.0`
|
|
67
|
+
|
|
68
|
+
- [charts] Add `groups` to `band` and `point` axis config (#18766) @JCQuintas
|
|
69
|
+
- [charts] Animation example using `motion` library (#18993) @JCQuintas
|
|
70
|
+
- [charts] Deprecate `Unstable_` radar exports (#19079) @JCQuintas
|
|
71
|
+
- [charts] Improve grouped axis logic (#19069) @JCQuintas
|
|
72
|
+
- [charts] Fix type assertion in axis highlight components (#19060) @sai6855
|
|
73
|
+
- [charts] Remove unnecessary type assertion in tooltip `valueFormatter` in heatmap (#19047) @sai6855
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-charts-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-charts@8.10.0`, plus:
|
|
78
|
+
|
|
79
|
+
- [charts-pro] Fix `slotProps.tooltip.trigger` not respected in `ScatterChartPro` and `FunnelChart` (#18902) @bernardobelchior
|
|
80
|
+
- [charts-pro] Fix zoom filtering adjusting axis too soon (#18992) @bernardobelchior
|
|
81
|
+
- [charts-pro] Mark `FunnelChart` as stable (#19048) @JCQuintas
|
|
82
|
+
- [charts-pro] Mark zoom slider and preview as stable (#19049) @JCQuintas
|
|
83
|
+
- [charts-pro] Refactor `createAxisFilterMapper` (#18998) @bernardobelchior
|
|
84
|
+
|
|
85
|
+
### Tree View
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-tree-view@8.10.0`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-tree-view-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
92
|
+
|
|
93
|
+
Same changes as in `@mui/x-tree-view@8.10.0`.
|
|
94
|
+
|
|
95
|
+
### Codemod
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-codemod@8.10.0`
|
|
98
|
+
|
|
99
|
+
Internal changes.
|
|
100
|
+
|
|
101
|
+
### Docs
|
|
102
|
+
|
|
103
|
+
- [docs] Add CSS bundler breaking change to migration guide (#17436) @romgrk
|
|
104
|
+
- [docs] `RichTreeViewPro` demo for dragging via custom drag-handle is not working properly (#19008) @rita-codes
|
|
105
|
+
- [docs] Fix broken link to D3 in Charts (#19020) @oliviertassinari
|
|
106
|
+
- [docs] Revise the Charts Animation doc (#18990) @mapache-salvaje
|
|
107
|
+
- [docs] Fix incorrect code in line chart preview (#19023) @noobyogi0010
|
|
108
|
+
- [docs] Improve bundling instructions for the Data Grid (#19065) @romgrk
|
|
109
|
+
- [docs] Reduce image size in the inventory grid demo (#19004) @arminmeh
|
|
110
|
+
|
|
111
|
+
### Core
|
|
112
|
+
|
|
113
|
+
- [core] Fix ESLint reference name @oliviertassinari
|
|
114
|
+
|
|
115
|
+
### Miscellaneous
|
|
116
|
+
|
|
117
|
+
- [infra] Remove bundle size tracking for subpaths (#19072) @Janpot
|
|
118
|
+
- [infra] Accept `PORT` env on `docs:dev` script (#19014) @JCQuintas
|
|
119
|
+
- [infra] Skip codesandbox iframe demos in regressions tests (#18970) @cherniavskii
|
|
120
|
+
- [infra] Remove package.json `module` field (#18961) @Janpot
|
|
121
|
+
- [internal] Remove peer dependency on `@mui/system` (#19062) @aqeelat
|
|
122
|
+
|
|
123
|
+
## 8.9.2
|
|
124
|
+
|
|
125
|
+
_Jul 31, 2025_
|
|
126
|
+
|
|
127
|
+
We'd like to extend a big thank you to the 23 contributors who made this release possible. Here are some highlights ✨:
|
|
128
|
+
|
|
129
|
+
- 🌎 Improve French (fr-FR), Hebrew (he-IL) and Polish (pl-PL) locales on the Data Grid
|
|
130
|
+
- 🌎 Improve Korean (ko-KR) locale on the Date and Time Pickers
|
|
131
|
+
- 📈 Add symlog scale to charts
|
|
132
|
+
- 📊 Fix bar border radius on Firefox
|
|
133
|
+
- 🐞 Bugfixes
|
|
134
|
+
- 📚 Documentation improvements
|
|
135
|
+
|
|
136
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
137
|
+
@AmrElnaggar99, @atlanteh, @ddolcimascolo, @Jiseoup, @leonaha5, @noherczeg, @sai6855
|
|
138
|
+
|
|
139
|
+
The following are all team members who have contributed to this release:
|
|
140
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @bharatkashyap, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @mapache-salvaje, @MBilalShafi, @rita-codes, @romgrk, @siriwatknp
|
|
141
|
+
|
|
142
|
+
### Data Grid
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-data-grid@8.9.2`
|
|
145
|
+
|
|
146
|
+
- [DataGrid] Add debounce for columns panel search (#18719) @noherczeg
|
|
147
|
+
- [DataGrid] Extract virtualization engine (#18275) @romgrk
|
|
148
|
+
- [DataGrid] Improve types in `<GridEditSingleSelect />` (#18184) @sai6855
|
|
149
|
+
- [l10n] Improve French (fr-FR) locale (#18905) @ddolcimascolo
|
|
150
|
+
- [l10n] Improve Hebrew (he-IL) locale (#18665) @atlanteh
|
|
151
|
+
- [l10n] Improve Polish (pl-PL) locale (#18068) @leonaha5
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-data-grid-pro@8.9.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
154
|
+
|
|
155
|
+
Same changes as in `@mui/x-data-grid@8.9.2`, plus:
|
|
156
|
+
|
|
157
|
+
- [DataGridPro] Fix duplicate nested rows for dynamically updated row IDs (#18526) @MBilalShafi
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-data-grid-premium@8.9.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
160
|
+
|
|
161
|
+
Same changes as in `@mui/x-data-grid-pro@8.9.2`, plus:
|
|
162
|
+
|
|
163
|
+
- [DataGridPremium] Add `privateMode` to AI assistant prompt resolver (#18759) @bharatkashyap
|
|
164
|
+
- [DataGridPremium] Fix empty nested group values caused by main criterial `valueFormatter()` (#18916) @cherniavskii
|
|
165
|
+
- [DataGridPremium] Sidebar content and state is managed the same way as for preference panel (#18741) @arminmeh
|
|
166
|
+
- [DataGridPremium] Make `api` param for the aggregation function optional (#18984) @arminmeh
|
|
167
|
+
|
|
168
|
+
### Date and Time Pickers
|
|
169
|
+
|
|
170
|
+
#### `@mui/x-date-pickers@8.9.2`
|
|
171
|
+
|
|
172
|
+
- [l10n] Improve Korean (ko-KR) locale (#18664) @Jiseoup
|
|
173
|
+
- [pickers] Fix popper click-away behavior (#18804) @LukasTy
|
|
174
|
+
- [pickers] Fix usage not in main document (#18944) @LukasTy
|
|
175
|
+
|
|
176
|
+
#### `@mui/x-date-pickers-pro@8.9.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
177
|
+
|
|
178
|
+
Same changes as in `@mui/x-date-pickers@8.9.2`.
|
|
179
|
+
|
|
180
|
+
### Charts
|
|
181
|
+
|
|
182
|
+
#### `@mui/x-charts@8.9.2`
|
|
183
|
+
|
|
184
|
+
- [charts] Add symlog scale to charts (#18729) @bernardobelchior
|
|
185
|
+
- [charts] Fix bar border radius on Firefox (#18824) @bernardobelchior
|
|
186
|
+
- [charts] Fix crash when rendering large scatter dataset (#18845) @bernardobelchior
|
|
187
|
+
- [charts] Remove unnecessary type assertion in tooltip `valueFormatter()` (#18877) @sai6855
|
|
188
|
+
- [charts] Export `ChartsWrapper` from `'./ChartsWrapper'` rather than `'./internals'` (#18966) @JCQuintas
|
|
189
|
+
|
|
190
|
+
#### `@mui/x-charts-pro@8.9.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
191
|
+
|
|
192
|
+
Same changes as in `@mui/x-charts@8.9.2`, plus:
|
|
193
|
+
|
|
194
|
+
- [charts-pro] Fix voronoi interaction with zoom (#18950) @alexfauquette
|
|
195
|
+
- [charts-pro] Hide toolbar by default when exporting (#18764) @bernardobelchior
|
|
196
|
+
|
|
197
|
+
### Codemod
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-codemod@8.9.2`
|
|
200
|
+
|
|
201
|
+
Internal changes.
|
|
202
|
+
|
|
203
|
+
### Docs
|
|
204
|
+
|
|
205
|
+
- [docs] Add Data Grid demo pages (#18180) @KenanYusuf
|
|
206
|
+
- [docs] Copyedit the Charts Overview page (#18840) @mapache-salvaje
|
|
207
|
+
- [docs] Fix incorrect parameter name in pickers "Custom components" page from `variant` to `pickerVariant` (#18919) @AmrElnaggar99
|
|
208
|
+
|
|
209
|
+
### Miscellaneous
|
|
210
|
+
|
|
211
|
+
- [code-infra] Auto-generate deep exports to prevent asymmetric exports (#18917) @JCQuintas
|
|
212
|
+
- [docs-infra] Turn on "Edit in Chat" for X docs (#18869) @siriwatknp
|
|
213
|
+
- [infra] Add specific bundle size tracking (#18884) @Janpot
|
|
214
|
+
- [infra] Fix markdown formatting in llms generation (#18914) @Janpot
|
|
215
|
+
- [infra] Use CI action from mui-public (#18709) @brijeshb42
|
|
216
|
+
|
|
217
|
+
## 8.9.1
|
|
218
|
+
|
|
219
|
+
_Jul 21, 2025_
|
|
220
|
+
|
|
221
|
+
We'd like to extend a big thank you to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
222
|
+
|
|
223
|
+
🐞 Fix package publish issue
|
|
224
|
+
|
|
225
|
+
The following are all team members who have contributed to this release:
|
|
226
|
+
@KenanYusuf, @MBilalShafi
|
|
227
|
+
|
|
228
|
+
### Data Grid
|
|
229
|
+
|
|
230
|
+
#### `@mui/x-data-grid@8.9.1`
|
|
231
|
+
|
|
232
|
+
- [DataGrid] Move conditional list view column logic into `gridVisibleColumnDefinitionsSelector` (#18724) @KenanYusuf
|
|
233
|
+
- [DataGrid] Fix row selection "exclude" model inconsistency (#18844) @MBilalShafi
|
|
234
|
+
|
|
235
|
+
#### `@mui/x-data-grid-pro@8.9.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
236
|
+
|
|
237
|
+
Same changes as in `@mui/x-data-grid@8.9.1`.
|
|
238
|
+
|
|
239
|
+
#### `@mui/x-data-grid-premium@8.9.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
240
|
+
|
|
241
|
+
Same changes as in `@mui/x-data-grid-pro@8.9.1`.
|
|
242
|
+
|
|
243
|
+
### Core
|
|
244
|
+
|
|
245
|
+
- [core] Follow yml syntax convention @oliviertassinari
|
|
246
|
+
|
|
247
|
+
## 8.9.0
|
|
248
|
+
|
|
249
|
+
_Jul 17, 2025_
|
|
250
|
+
|
|
251
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
252
|
+
|
|
253
|
+
- ✨ Improve the drag and drop interaction for Data Grid [row reordering](https://mui.com/x/react-data-grid/row-ordering/) feature. It uses a drop indicator to point to the position the row would be moving to.
|
|
254
|
+
|
|
255
|
+
https://github.com/user-attachments/assets/37284c4f-e8d4-4fc6-a6af-a780592905ef
|
|
256
|
+
|
|
257
|
+
- 🚀 Improve Data Grid Pivoting and Aggregation performance
|
|
258
|
+
|
|
259
|
+
- 📊 Add `minBarSize` to set a minimum height for bars
|
|
260
|
+
|
|
261
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
262
|
+
@lauri865
|
|
263
|
+
|
|
264
|
+
The following are all team members who have contributed to this release:
|
|
265
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @noraleonte, @MBilalShafi
|
|
266
|
+
|
|
267
|
+
### Data Grid
|
|
268
|
+
|
|
269
|
+
#### `@mui/x-data-grid@8.9.0`
|
|
270
|
+
|
|
271
|
+
Internal changes.
|
|
272
|
+
|
|
273
|
+
#### `@mui/x-data-grid-pro@8.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
274
|
+
|
|
275
|
+
Same changes as in `@mui/x-data-grid@8.9.0`, plus:
|
|
276
|
+
|
|
277
|
+
- [DataGridPro] Row reorder using drop indicator (#18627) @MBilalShafi
|
|
278
|
+
|
|
279
|
+
#### `@mui/x-data-grid-premium@8.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
280
|
+
|
|
281
|
+
Same changes as in `@mui/x-data-grid-pro@8.9.0`, plus:
|
|
282
|
+
|
|
283
|
+
- [DataGridPremium] Allow group column overrides with pivoting (#18765) @arminmeh
|
|
284
|
+
- [DataGridPremium] Support sort-dependent aggregation and improve performance (#18348) @lauri865
|
|
285
|
+
|
|
286
|
+
### Date and Time Pickers
|
|
287
|
+
|
|
288
|
+
#### `@mui/x-date-pickers@8.9.0`
|
|
289
|
+
|
|
290
|
+
- [pickers] Avoid useless date creation in `AdapterDayjs` (#18429) @flaviendelangle
|
|
291
|
+
- [pickers] Fix `timeSteps` JSDoc (#18807) @LukasTy
|
|
292
|
+
|
|
293
|
+
#### `@mui/x-date-pickers-pro@8.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
294
|
+
|
|
295
|
+
Same changes as in `@mui/x-date-pickers@8.9.0`.
|
|
296
|
+
|
|
297
|
+
### Charts
|
|
298
|
+
|
|
299
|
+
#### `@mui/x-charts@8.9.0`
|
|
300
|
+
|
|
301
|
+
- [charts] Add `minBarSize` to prevent bars from having 0 height (#18798) @JCQuintas
|
|
302
|
+
- [charts] Add click listener to radar charts (#18773) @alexfauquette
|
|
303
|
+
- [charts] Improve scatter chart pointer move performance (#18775) @bernardobelchior
|
|
304
|
+
- [charts] Simplify radar internal hooks (#18760) @alexfauquette
|
|
305
|
+
- [charts] `minBarSize` now ignores `0` and `null` values (#18816) @JCQuintas
|
|
306
|
+
- [charts] Fix y-axis tick label overlap when using log scale (#18744) @bernardobelchior
|
|
307
|
+
- [charts] Expose <ChartType>Series type for all chart types (#18805) @bernardobelchior
|
|
308
|
+
|
|
309
|
+
#### `@mui/x-charts-pro@8.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
310
|
+
|
|
311
|
+
Same changes as in `@mui/x-charts@8.9.0` plus:
|
|
312
|
+
|
|
313
|
+
[charts-pro] Fix issue where charts gestures weren't properly working when inside the shadow-dom (#18837) @JCQuintas
|
|
314
|
+
|
|
315
|
+
### Tree View
|
|
316
|
+
|
|
317
|
+
#### `@mui/x-tree-view@8.9.0`
|
|
318
|
+
|
|
319
|
+
Internal changes.
|
|
320
|
+
|
|
321
|
+
#### `@mui/x-tree-view-pro@8.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
322
|
+
|
|
323
|
+
Same changes as in `@mui/x-tree-view@8.9.0`.
|
|
324
|
+
|
|
325
|
+
### Codemod
|
|
326
|
+
|
|
327
|
+
#### `@mui/x-codemod@8.9.0`
|
|
328
|
+
|
|
329
|
+
Internal changes.
|
|
330
|
+
|
|
331
|
+
### Docs
|
|
332
|
+
|
|
333
|
+
- [data grid][docs] Revise the Pro filter docs (#17929) @mapache-salvaje
|
|
334
|
+
- [charts][docs] Move mark outside clip-path (#18806) @alexfauquette
|
|
335
|
+
|
|
336
|
+
### Miscellaneous
|
|
337
|
+
|
|
338
|
+
- [code-infra] Fix ESLint `import` restriction rule for test files (#18669) @LukasTy
|
|
339
|
+
- [code-infra] Remove charts benchmarks dependency on `@testing-library/jest-dom` (#18800) @bernardobelchior
|
|
340
|
+
- [code-infra] Remove duplicate dependency from `eslint-plugin-mui-x` (#18797) @bernardobelchior
|
|
341
|
+
|
|
8
342
|
## 8.8.0
|
|
9
343
|
|
|
10
344
|
_Jul 11, 2025_
|
|
@@ -199,8 +533,8 @@ Same changes as in `@mui/x-tree-view@8.7.0`, plus:
|
|
|
199
533
|
|
|
200
534
|
- [code-infra] Bump code-infra version and fix breaking changes (#18653) @brijeshb42
|
|
201
535
|
- [code-infra] Ensure `material-ui/disallow-react-api-in-server-components` ESLint rule is applied (#18570) @LukasTy
|
|
202
|
-
- [code-infra] Migrate to flat
|
|
203
|
-
- [code-infra] Refactor
|
|
536
|
+
- [code-infra] Migrate to flat ESLint config (#18562) @brijeshb42
|
|
537
|
+
- [code-infra] Refactor ESLint config (#18643) @LukasTy
|
|
204
538
|
- [infra] Add renovatebot rule for latest infra packages (#18609) @Janpot
|
|
205
539
|
- [infra] Move pushArgos script to code-infra (#18667) @Janpot
|
|
206
540
|
- [infra] Updates release script to fetch latest major version from upstream (#18552) @michelengelen
|
|
@@ -216,6 +550,7 @@ We'd like to extend a big thank you to the 12 contributors who made this release
|
|
|
216
550
|
- 📅 Add `usePickerAdapter` hook to access the date adapter.
|
|
217
551
|
|
|
218
552
|
You can use the adapter in your custom components if you need them to work with multiple date libraries — [Learn more](https://mui.com/x/react-date-pickers/custom-components/#access-date-adapter).
|
|
553
|
+
|
|
219
554
|
- 🌎 Improve Danish (da-DK) locale
|
|
220
555
|
- 🌎 Improve German (de-DE) locale
|
|
221
556
|
|
|
@@ -234,13 +569,13 @@ The following are all team members who have contributed to this release:
|
|
|
234
569
|
- [l10n] Improve Danish (da-DK) locale (#18428) @ShahrazH
|
|
235
570
|
- [l10n] Improve German (de-DE) locale (#18388) @omalyutin
|
|
236
571
|
|
|
237
|
-
#### `@mui/x-data-grid-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link
|
|
572
|
+
#### `@mui/x-data-grid-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
238
573
|
|
|
239
574
|
Same changes as in `@mui/x-data-grid@8.6.0`, plus:
|
|
240
575
|
|
|
241
576
|
- [DataGridPro] Fix lazy loading params calculated from rendering context (#18460) @arminmeh
|
|
242
577
|
|
|
243
|
-
#### `@mui/x-data-grid-premium@8.6.0` [](https://mui.com/r/x-premium-svg-link
|
|
578
|
+
#### `@mui/x-data-grid-premium@8.6.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
244
579
|
|
|
245
580
|
Same changes as in `@mui/x-data-grid-pro@8.6.0`.
|
|
246
581
|
|
|
@@ -252,7 +587,7 @@ Same changes as in `@mui/x-data-grid-pro@8.6.0`.
|
|
|
252
587
|
- [pickers] Fix to use latest `value` when updating `lastCommittedValue` in internal state (#18518) @LukasTy
|
|
253
588
|
- [pickers] Use `usePickerAdapter` hook internally instead of `useUtils` (#18465) @LukasTy
|
|
254
589
|
|
|
255
|
-
#### `@mui/x-date-pickers-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link
|
|
590
|
+
#### `@mui/x-date-pickers-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
256
591
|
|
|
257
592
|
Same changes as in `@mui/x-date-pickers@8.6.0`.
|
|
258
593
|
|
|
@@ -269,7 +604,7 @@ Same changes as in `@mui/x-date-pickers@8.6.0`.
|
|
|
269
604
|
- [charts] Improve touch behavior for polar axis (#18531) @JCQuintas
|
|
270
605
|
- [charts] Add `isElementInside` helper (#18530) @JCQuintas
|
|
271
606
|
|
|
272
|
-
#### `@mui/x-charts-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link
|
|
607
|
+
#### `@mui/x-charts-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
273
608
|
|
|
274
609
|
Same changes as in `@mui/x-charts@8.6.0`, plus:
|
|
275
610
|
|
|
@@ -283,7 +618,7 @@ Same changes as in `@mui/x-charts@8.6.0`, plus:
|
|
|
283
618
|
|
|
284
619
|
Internal changes.
|
|
285
620
|
|
|
286
|
-
#### `@mui/x-tree-view-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link
|
|
621
|
+
#### `@mui/x-tree-view-pro@8.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
287
622
|
|
|
288
623
|
Same changes as in `@mui/x-tree-view@8.6.0`, plus:
|
|
289
624
|
|
|
@@ -1113,7 +1448,7 @@ Same changes as in `@mui/x-tree-view@8.2.0`.
|
|
|
1113
1448
|
- [core] Fix all Vale errors @oliviertassinari
|
|
1114
1449
|
- [core] Move `loadStyleSheets` to internals and use it in data grid and charts (#17548) @bernardobelchior
|
|
1115
1450
|
- [core] Remove empty version (#17582) @oliviertassinari
|
|
1116
|
-
- [core] Remove
|
|
1451
|
+
- [core] Remove ESLint from codemod spec files (#17443) @alexfauquette
|
|
1117
1452
|
- [core] Remove unnecessary versions (#17597) @oliviertassinari
|
|
1118
1453
|
- [code-infra] Allow postinstall scripts for packages requesting it (#17635) @LukasTy
|
|
1119
1454
|
- [code-infra] Data Grid `vitest` changes (#17619) @JCQuintas
|
|
@@ -1498,7 +1833,6 @@ Same changes as in `@mui/x-date-pickers@8.0.0-beta.3`.
|
|
|
1498
1833
|
|
|
1499
1834
|
- Removed `react-spring` as a dependency of `@mui/x-charts`.
|
|
1500
1835
|
A consequence of this change is that the props of some slots have been changed because the `SpringValue` wrapper has been removed. The affected slots and props are:
|
|
1501
|
-
|
|
1502
1836
|
- the type of the `x`, `y`, `width` and `height` props of the `bar` slot are now `number`;
|
|
1503
1837
|
- the type of `startAngle`, `endAngle`, `innerRadius`, `outerRadius`, `arcLabelRadius`, `cornerRadius` and `paddingAngle` props of `pieArc` and `pieArcLabel` slot are now `number`.
|
|
1504
1838
|
|
|
@@ -2066,7 +2400,6 @@ Following are all team members who have contributed to this release:
|
|
|
2066
2400
|
- The `slots.baseFormControl` component was removed.
|
|
2067
2401
|
|
|
2068
2402
|
- The "Reset" button in the column visibility panel now resets to the initial column visibility model. Previously it was reset to the model that was active at the time the panel was opened. The reset behavior follows these rules:
|
|
2069
|
-
|
|
2070
2403
|
1. If an initial `columnVisibilityModel` is provided, it resets to that model.
|
|
2071
2404
|
2. If a controlled `columnVisibilityModel` is provided, it resets to the first model value.
|
|
2072
2405
|
3. When the columns are updated (via the `columns` prop or `updateColumns()` API method), the reset reference point updates to the current `columnVisibilityModel`.
|
|
@@ -2089,7 +2422,6 @@ Following are all team members who have contributed to this release:
|
|
|
2089
2422
|
The `exclude` selection type allows to select all rows except the ones in the `ids` set.
|
|
2090
2423
|
|
|
2091
2424
|
This change impacts the following props:
|
|
2092
|
-
|
|
2093
2425
|
- `rowSelectionModel`
|
|
2094
2426
|
- `onRowSelectionModelChange`
|
|
2095
2427
|
- `initialState.rowSelectionModel`
|
|
@@ -2413,7 +2745,6 @@ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.12`, plus:
|
|
|
2413
2745
|
- The `aria-label` on the `<Clock />` component and Time Picker opening button has been fixed to rely on the set `ampm` property instead of defaulting to the user's locale.
|
|
2414
2746
|
|
|
2415
2747
|
- The following unused formats have been removed from the adapters and can no longer be overridden via the `dateFormats` prop on the `<LocalizationProvider />` component:
|
|
2416
|
-
|
|
2417
2748
|
- `fullTime` - please use `fullTime12h` and `fullTime24h` instead:
|
|
2418
2749
|
```diff
|
|
2419
2750
|
<LocalizationProvider
|
|
@@ -2628,7 +2959,6 @@ Following are all team members who have contributed to this release:
|
|
|
2628
2959
|
|
|
2629
2960
|
- `viewportInnerSize.width` now includes pinned columns' widths (fixes recursive loops in updating dimensions <-> columns)
|
|
2630
2961
|
- The Data Grid now has a default background color, and its customization has moved from `theme.mixins.MuiDataGrid` to `theme.palette.DataGrid` with the following properties:
|
|
2631
|
-
|
|
2632
2962
|
- `bg`: Sets the background color of the entire grid (new property)
|
|
2633
2963
|
- `headerBg`: Sets the background color of the header (previously named `containerBackground`)
|
|
2634
2964
|
- `pinnedBg`: Sets the background color of pinned rows and columns (previously named `pinnedBackground`)
|
|
@@ -2657,7 +2987,6 @@ Following are all team members who have contributed to this release:
|
|
|
2657
2987
|
Only the initial value and the type are updated. Logic that initializes the API and its availability remained the same, which means that if you could access API in a particular line of your code before, you are able to access it as well after this change.
|
|
2658
2988
|
|
|
2659
2989
|
Depending on the context in which the API is being used, you can decide what is the best way to deal with `null` value. Some options are:
|
|
2660
|
-
|
|
2661
2990
|
- Use optional chaining
|
|
2662
2991
|
- Use non-null assertion operator if you are sure your code is always executed when the `apiRef` is not `null`
|
|
2663
2992
|
- Return early if `apiRef` is `null`
|
|
@@ -3181,7 +3510,6 @@ Following are all team members who have contributed to this release:
|
|
|
3181
3510
|
#### Breaking changes
|
|
3182
3511
|
|
|
3183
3512
|
- Passing additional props (like `data-*`, `aria-*`) directly on the Data Grid component is no longer supported. To pass the props, use `slotProps`:
|
|
3184
|
-
|
|
3185
3513
|
- For `.root` element, use `slotProps.root`.
|
|
3186
3514
|
- For `.main` element (the one with `role="grid"`), use `slotProps.main`.
|
|
3187
3515
|
|
|
@@ -3698,14 +4026,12 @@ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.1`, plus:
|
|
|
3698
4026
|
#### Breaking change
|
|
3699
4027
|
|
|
3700
4028
|
- The DX of the Tooltip customization has been refactored
|
|
3701
|
-
|
|
3702
4029
|
- The `tooltip` prop has been removed in favor of `slotProps.tooltip` for consistency.
|
|
3703
4030
|
- The `popper`, `axisContent`, and `itemContent` slots have been removed in favor of the `tooltip` slot which overrides the entire tooltip.
|
|
3704
4031
|
- To override the tooltip content, use the `useItemTooltip` or `useAxisTooltip` hook to get the data, and wrap your component in `ChartsTooltipContainer` to follow the pointer position.
|
|
3705
4032
|
- To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip.
|
|
3706
4033
|
|
|
3707
4034
|
- The library now uses the SVG `filter` attribute instead of `d3-color` for color manipulation.
|
|
3708
|
-
|
|
3709
4035
|
- This modification impacts the `LinePlot`, `AreaPlot`, and `BarPlot` components.
|
|
3710
4036
|
If you've customized the `fill` of those elements, you might need to override it by using the CSS `filter`.
|
|
3711
4037
|
- The `theme.styleOverride` is removed for `MuiLineElement`, `MuiAreaElement`, and `MuiBarElement` to improve performance.
|
|
@@ -3815,14 +4141,12 @@ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.0`, plus:
|
|
|
3815
4141
|
#### Breaking changes
|
|
3816
4142
|
|
|
3817
4143
|
- The default DOM structure of the field has changed [Learn more](https://mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
3818
|
-
|
|
3819
4144
|
- Before version `v8.x`, the fields' DOM structure consisted of an `<input />`, which held the whole value for the component, but unfortunately presents a few limitations in terms of accessibility when managing multiple section values.
|
|
3820
4145
|
- Starting with version `v8.x`, all the field and picker components come with a new DOM structure that allows the field component to set aria attributes on individual sections, providing a far better experience with screen readers.
|
|
3821
4146
|
|
|
3822
4147
|
- Some translation keys no longer require `utils` and the date object as parameters, but only the formatted value as a string. The keys affected by this changes are: `clockLabelText`, `openDatePickerDialogue` and `openTimePickerDialogue` — [Learn more](https://mui.com/x/migration/migration-pickers-v7/#stop-passing-utils-and-the-date-object-to-some-translation-keys).
|
|
3823
4148
|
|
|
3824
4149
|
- The following types are no longer exported by `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` — [Learn more](https://mui.com/x/migration/migration-pickers-v7/#removed-types).
|
|
3825
|
-
|
|
3826
4150
|
- `UseDateFieldComponentProps`
|
|
3827
4151
|
- `UseTimeFieldComponentProps`
|
|
3828
4152
|
- `UseDateTimeFieldComponentProps`
|
|
@@ -3870,7 +4194,6 @@ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.0`.
|
|
|
3870
4194
|
- The `slots.legend` does not receive the `drawingArea` prop. You can still access your custom legend with the `useDrawingArea()` hook if your custom legend needs it.
|
|
3871
4195
|
|
|
3872
4196
|
- Removed or renamed multiple props from Series — [Learn more](https://mui.com/x/migration/migration-charts-v7/#series-properties-renaming).
|
|
3873
|
-
|
|
3874
4197
|
- The `highlighted` and `faded` properties of highlightScope have been deprecated in favor of `highlight` and `fade`.
|
|
3875
4198
|
The deprecated ones are now removed.
|
|
3876
4199
|
- The `xAxisKey`, `yAxisKey`, and `zAxisKey` properties have been deprecated in favor of `xAxisId`, `yAxisId`, and `zAxisId`.
|
|
@@ -6134,7 +6457,6 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
6134
6457
|
<img width="287" src="https://github.com/user-attachments/assets/78bd83c5-7ce4-4ed7-acf9-be70b2dbce54" alt="Item reordering using drag and drop" />
|
|
6135
6458
|
|
|
6136
6459
|
- 📦 Support CommonJS bundle out of the box on `@mui/x-charts` by adding vendored D3 dependencies.
|
|
6137
|
-
|
|
6138
6460
|
- This modifies how the package imports D3.js. It will impact you if you use `d3` packages installed by `@mui/x-charts` and don't have them in your `package.json`. You shouldn't be affected otherwise.
|
|
6139
6461
|
- For more context, the initial issue is caused by D3 only exporting ESM.
|
|
6140
6462
|
|
|
@@ -6620,7 +6942,7 @@ Same changes as in `@mui/x-date-pickers@7.8.0`.
|
|
|
6620
6942
|
|
|
6621
6943
|
### Core
|
|
6622
6944
|
|
|
6623
|
-
- [core] Add
|
|
6945
|
+
- [core] Add ESLint rule to restrict import from `../internals` root (#13633) @JCQuintas
|
|
6624
6946
|
- [docs-infra] Sync `\_app` folder with monorepo (#13582) @Janpot
|
|
6625
6947
|
- [license] Allow usage of Charts and Tree View Pro package for old premium licenses (#13619) @flaviendelangle
|
|
6626
6948
|
|
|
@@ -6758,7 +7080,7 @@ Same changes as in `@mui/x-date-pickers@7.7.0`.
|
|
|
6758
7080
|
|
|
6759
7081
|
- [charts] Add watermark on the pro `ResponsiveChartContainer` (#13398) @alexfauquette
|
|
6760
7082
|
- [charts] Allow to specify y-axis configuration (#13438) @alexfauquette
|
|
6761
|
-
- [charts] Fix
|
|
7083
|
+
- [charts] Fix ESLint for react compiler (#13444) @alexfauquette
|
|
6762
7084
|
- [charts] Improve themeAugmentation typing (#13433) @noraleonte
|
|
6763
7085
|
- [charts] Move the `ZAxisContextProvider` by default in the `ChartContainer` (#13465) @alexfauquette
|
|
6764
7086
|
- [charts] Use plugins to define series extremum and colors (#13397) @alexfauquette
|
|
@@ -7305,7 +7627,7 @@ Same changes as in `@mui/x-date-pickers@7.3.1`.
|
|
|
7305
7627
|
- [core] Use `describeTreeView` for focus tests (#12698) @flaviendelangle
|
|
7306
7628
|
- [core] Use `describeTreeView` for type-ahead tests (#12811) @flaviendelangle
|
|
7307
7629
|
- [code-infra] Change package manager to `pnpm` (#11875) @LukasTy
|
|
7308
|
-
- [code-infra] Closer sync with
|
|
7630
|
+
- [code-infra] Closer sync with ESLint config of codebase (#12864) @oliviertassinari
|
|
7309
7631
|
- [support-infra] Add release announcement to GitHub workflows (#11867) (#12843) @michelengelen
|
|
7310
7632
|
|
|
7311
7633
|
## 7.3.0
|
|
@@ -7669,7 +7991,6 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
7669
7991
|
#### Breaking changes
|
|
7670
7992
|
|
|
7671
7993
|
- The `density` is a [controlled prop](https://mui.com/x/react-data-grid/accessibility/#set-the-density-programmatically) now, if you were previously passing the `density` prop to the Data Grid, you will need to do one of the following:
|
|
7672
|
-
|
|
7673
7994
|
1. Move it to the `initialState.density` to initialize it.
|
|
7674
7995
|
|
|
7675
7996
|
```diff
|
|
@@ -8175,7 +8496,6 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
8175
8496
|
```
|
|
8176
8497
|
|
|
8177
8498
|
- The following internal types were exported by mistake and have been removed from the public API:
|
|
8178
|
-
|
|
8179
8499
|
- `UseDateFieldDefaultizedProps`
|
|
8180
8500
|
- `UseTimeFieldDefaultizedProps`
|
|
8181
8501
|
- `UseDateTimeFieldDefaultizedProps`
|
|
@@ -8416,7 +8736,6 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
8416
8736
|
- 🎁 The Line Chart component now has animation by default (#11620) @alexfauquette
|
|
8417
8737
|
- 🚀 All charts have click handlers (#11411) @alexfauquette
|
|
8418
8738
|
Test their respective documentation demonstrations to know more about the data format:
|
|
8419
|
-
|
|
8420
8739
|
- [Scatter Chart](https://v7.mui.com/x/react-charts/scatter/#click-event)
|
|
8421
8740
|
- [Line Chart](https://v7.mui.com/x/react-charts/lines/#click-event)
|
|
8422
8741
|
- [Bar Chart](https://v7.mui.com/x/react-charts/bars/#click-event)
|
|
@@ -8696,7 +9015,6 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
8696
9015
|
```
|
|
8697
9016
|
|
|
8698
9017
|
The most notable changes that might affect your application or tests are:
|
|
8699
|
-
|
|
8700
9018
|
- The `role="grid"` attribute along with related ARIA attributes are now applied to the inner `div` element instead of the root `div` element:
|
|
8701
9019
|
|
|
8702
9020
|
```diff
|
|
@@ -9247,7 +9565,6 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
|
|
|
9247
9565
|
|
|
9248
9566
|
- The filter panel no longer uses the native version of the [`Select`](https://mui.com/material-ui/react-select/) component for all components.
|
|
9249
9567
|
- The `getOptionValue` and `getOptionLabel` props were removed from the following components:
|
|
9250
|
-
|
|
9251
9568
|
- `GridEditSingleSelectCell`
|
|
9252
9569
|
- `GridFilterInputSingleSelect`
|
|
9253
9570
|
- `GridFilterInputMultipleSingleSelect`
|
|
@@ -9661,7 +9978,6 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.3`, plus:
|
|
|
9661
9978
|
- Add new parameters to the `shortcuts` slot `onChange` callback
|
|
9662
9979
|
|
|
9663
9980
|
The `onChange` callback fired when selecting a shortcut now requires two new parameters (previously they were optional):
|
|
9664
|
-
|
|
9665
9981
|
- The [`changeImportance`](/x/react-date-pickers/shortcuts/#behavior-when-selecting-a-shortcut) of the shortcut.
|
|
9666
9982
|
- The `item` containing the entire shortcut object.
|
|
9667
9983
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function roundToDecimalPlaces(value: number, decimals: number): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const userAgent = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase() : 'empty';
|
|
2
|
+
export const isFirefox = userAgent.includes('firefox');
|
|
3
|
+
export const isJSDOM = typeof window !== 'undefined' && /jsdom|HappyDOM/.test(window.navigator.userAgent);
|
|
4
|
+
export default {
|
|
5
|
+
isFirefox,
|
|
6
|
+
isJSDOM
|
|
7
|
+
};
|
package/esm/store/Store.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ type Listener<T> = (value: T) => void;
|
|
|
2
2
|
export declare class Store<State> {
|
|
3
3
|
state: State;
|
|
4
4
|
private listeners;
|
|
5
|
+
private isUpdating;
|
|
6
|
+
private needsReset;
|
|
5
7
|
static create<T>(state: T): Store<T>;
|
|
6
8
|
constructor(state: State);
|
|
7
9
|
subscribe: (fn: Listener<State>) => () => void;
|
|
8
10
|
getSnapshot: () => State;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
setState(newState: State): void;
|
|
12
|
+
update(changes: Partial<State>): void;
|
|
11
13
|
set<T>(key: keyof State, value: T): void;
|
|
12
14
|
}
|
|
13
15
|
export {};
|