@window-splitter/react 0.8.2 → 0.8.4
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +41 -29
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.8.3 (Tue Apr 29 2025)
|
|
2
|
+
|
|
3
|
+
#### ⚠️ Pushed to `main`
|
|
4
|
+
|
|
5
|
+
- fix repo links ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.7.0 (Mon Apr 28 2025)
|
|
2
14
|
|
|
3
15
|
### Release Notes
|
|
@@ -12,7 +24,7 @@ Things of note:
|
|
|
12
24
|
- `@window-splitter/solid` is feature complete and passes the test full test suite
|
|
13
25
|
- `@window-splitter/interface` was created to house the shared component types and some help functions
|
|
14
26
|
|
|
15
|
-
In creating the solid adapter we had to make vanilla JS versions of some functions we previously got from a dependency. This resulted in a 7.4% bundle size reduction for the react package 🎉
|
|
27
|
+
In creating the solid adapter we had to make vanilla JS versions of some functions we previously got from a dependency. This resulted in a 7.4% bundle size reduction for the react package 🎉
|
|
16
28
|
|
|
17
29
|
### Breaking Change
|
|
18
30
|
|
|
@@ -55,7 +67,7 @@ The API for registering panel handles changed a little bit. If you're using the
|
|
|
55
67
|
|
|
56
68
|
#### 🐛 Bug Fix
|
|
57
69
|
|
|
58
|
-
- Fix conditional panel flicker [#52](https://github.com/hipstersmoothie/
|
|
70
|
+
- Fix conditional panel flicker [#52](https://github.com/hipstersmoothie/window-splitter/pull/52) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
59
71
|
- Fix conditional panel flicker ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
60
72
|
|
|
61
73
|
#### Authors: 1
|
|
@@ -68,7 +80,7 @@ The API for registering panel handles changed a little bit. If you're using the
|
|
|
68
80
|
|
|
69
81
|
#### 🐛 Bug Fix
|
|
70
82
|
|
|
71
|
-
- remove reforrest [#51](https://github.com/hipstersmoothie/
|
|
83
|
+
- remove reforrest [#51](https://github.com/hipstersmoothie/window-splitter/pull/51) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
72
84
|
- remove reforrest ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
73
85
|
|
|
74
86
|
#### Authors: 1
|
|
@@ -81,7 +93,7 @@ The API for registering panel handles changed a little bit. If you're using the
|
|
|
81
93
|
|
|
82
94
|
#### 🐛 Bug Fix
|
|
83
95
|
|
|
84
|
-
- bake in invariant [#50](https://github.com/hipstersmoothie/
|
|
96
|
+
- bake in invariant [#50](https://github.com/hipstersmoothie/window-splitter/pull/50) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
85
97
|
- bake in invariant ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
86
98
|
|
|
87
99
|
#### Authors: 1
|
|
@@ -94,7 +106,7 @@ The API for registering panel handles changed a little bit. If you're using the
|
|
|
94
106
|
|
|
95
107
|
#### 🐛 Bug Fix
|
|
96
108
|
|
|
97
|
-
- remove tiny-cookie as runtime dep [#49](https://github.com/hipstersmoothie/
|
|
109
|
+
- remove tiny-cookie as runtime dep [#49](https://github.com/hipstersmoothie/window-splitter/pull/49) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
98
110
|
- remove html file from bundle check ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
99
111
|
- remove tiny-cookie as runtime dep ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
100
112
|
|
|
@@ -112,7 +124,7 @@ The API for registering panel handles changed a little bit. If you're using the
|
|
|
112
124
|
|
|
113
125
|
### Release Notes
|
|
114
126
|
|
|
115
|
-
#### No xstate ([#47](https://github.com/hipstersmoothie/
|
|
127
|
+
#### No xstate ([#47](https://github.com/hipstersmoothie/window-splitter/pull/47))
|
|
116
128
|
|
|
117
129
|
This release is a dramatic reduction to the bundle size. This was done by pruning some unnecessary deps and some that were to large to justify in the headless component.
|
|
118
130
|
|
|
@@ -124,12 +136,12 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
124
136
|
|
|
125
137
|
#### 🚀 Enhancement
|
|
126
138
|
|
|
127
|
-
- No xstate [#47](https://github.com/hipstersmoothie/
|
|
139
|
+
- No xstate [#47](https://github.com/hipstersmoothie/window-splitter/pull/47) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
128
140
|
|
|
129
141
|
#### 🐛 Bug Fix
|
|
130
142
|
|
|
131
143
|
- test ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
132
|
-
- bundle size [#48](https://github.com/hipstersmoothie/
|
|
144
|
+
- bundle size [#48](https://github.com/hipstersmoothie/window-splitter/pull/48) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
133
145
|
- fix it? ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
134
146
|
- more test fixes ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
135
147
|
- lint ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -221,7 +233,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
221
233
|
|
|
222
234
|
#### 🚀 Enhancement
|
|
223
235
|
|
|
224
|
-
- Add `data-state=inactive` for drag handles that aren't the active one [#46](https://github.com/hipstersmoothie/
|
|
236
|
+
- Add `data-state=inactive` for drag handles that aren't the active one [#46](https://github.com/hipstersmoothie/window-splitter/pull/46) ([@sfc-gh-alisowski](https://github.com/sfc-gh-alisowski))
|
|
225
237
|
|
|
226
238
|
#### 🐛 Bug Fix
|
|
227
239
|
|
|
@@ -237,7 +249,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
237
249
|
|
|
238
250
|
#### 🐛 Bug Fix
|
|
239
251
|
|
|
240
|
-
- update panel settings when props update [#45](https://github.com/hipstersmoothie/
|
|
252
|
+
- update panel settings when props update [#45](https://github.com/hipstersmoothie/window-splitter/pull/45) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
241
253
|
- update panel settings when props update ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
242
254
|
|
|
243
255
|
#### Authors: 1
|
|
@@ -250,7 +262,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
250
262
|
|
|
251
263
|
#### 🐛 Bug Fix
|
|
252
264
|
|
|
253
|
-
- rebind onResize and onCollapseChange to fix restoring from snapshot [#44](https://github.com/hipstersmoothie/
|
|
265
|
+
- rebind onResize and onCollapseChange to fix restoring from snapshot [#44](https://github.com/hipstersmoothie/window-splitter/pull/44) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
254
266
|
- remove only ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
255
267
|
- rebind onResize and onCollapseChange to fix restoring from snapshot (closes #41) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
256
268
|
|
|
@@ -264,7 +276,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
264
276
|
|
|
265
277
|
#### 🐛 Bug Fix
|
|
266
278
|
|
|
267
|
-
- Responsive Bugs [#38](https://github.com/hipstersmoothie/
|
|
279
|
+
- Responsive Bugs [#38](https://github.com/hipstersmoothie/window-splitter/pull/38) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
268
280
|
- move handle overflow logic to recordActualItemSize ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
269
281
|
- fix? ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
270
282
|
- more ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -275,7 +287,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
275
287
|
- measure more ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
276
288
|
- Fix resize/overflow bug where if a panel hits 0 it stays at 0 ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
277
289
|
- make story use view height ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
278
|
-
- move autosave to state package [#36](https://github.com/hipstersmoothie/
|
|
290
|
+
- move autosave to state package [#36](https://github.com/hipstersmoothie/window-splitter/pull/36) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
279
291
|
- fix tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
280
292
|
- improve lint ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
281
293
|
- move autosave to state ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -290,8 +302,8 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
290
302
|
|
|
291
303
|
#### 🚀 Enhancement
|
|
292
304
|
|
|
293
|
-
- Add "isStaticAtRest" prop [#34](https://github.com/hipstersmoothie/
|
|
294
|
-
- Collapse Validation [#33](https://github.com/hipstersmoothie/
|
|
305
|
+
- Add "isStaticAtRest" prop [#34](https://github.com/hipstersmoothie/window-splitter/pull/34) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
306
|
+
- Collapse Validation [#33](https://github.com/hipstersmoothie/window-splitter/pull/33) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
295
307
|
|
|
296
308
|
#### 🐛 Bug Fix
|
|
297
309
|
|
|
@@ -315,9 +327,9 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
315
327
|
|
|
316
328
|
#### 🐛 Bug Fix
|
|
317
329
|
|
|
318
|
-
- Fix panel not expanding to take up width with a default collapsed panel [#29](https://github.com/hipstersmoothie/
|
|
330
|
+
- Fix panel not expanding to take up width with a default collapsed panel [#29](https://github.com/hipstersmoothie/window-splitter/pull/29) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
319
331
|
- Fix panel not expanding to take up width with a default collapsed panel ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
320
|
-
- Fix bug in onResize callbacks [#30](https://github.com/hipstersmoothie/
|
|
332
|
+
- Fix bug in onResize callbacks [#30](https://github.com/hipstersmoothie/window-splitter/pull/30) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
321
333
|
- call onResize once the item sizes are known too ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
322
334
|
|
|
323
335
|
#### Authors: 1
|
|
@@ -342,17 +354,17 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
342
354
|
|
|
343
355
|
#### 🚀 Enhancement
|
|
344
356
|
|
|
345
|
-
- Add `onResize` prop to Panel [#28](https://github.com/hipstersmoothie/
|
|
346
|
-
- feat: add callbacks for drag interaction [#27](https://github.com/hipstersmoothie/
|
|
357
|
+
- Add `onResize` prop to Panel [#28](https://github.com/hipstersmoothie/window-splitter/pull/28) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
358
|
+
- feat: add callbacks for drag interaction [#27](https://github.com/hipstersmoothie/window-splitter/pull/27) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
347
359
|
|
|
348
360
|
#### 🐛 Bug Fix
|
|
349
361
|
|
|
350
362
|
- Add `onResize` prop to `Panel` ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
351
363
|
- add callbacks for drag interaction ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
352
|
-
- add coverage for PRs [#25](https://github.com/hipstersmoothie/
|
|
364
|
+
- add coverage for PRs [#25](https://github.com/hipstersmoothie/window-splitter/pull/25) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
353
365
|
- testing ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
354
366
|
- add coverage for PRs ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
355
|
-
- Add react tests [#24](https://github.com/hipstersmoothie/
|
|
367
|
+
- Add react tests [#24](https://github.com/hipstersmoothie/window-splitter/pull/24) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
356
368
|
- make vertical test pass in CI better ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
357
369
|
- fix 1 test ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
358
370
|
- add docs for state machine usage ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -385,9 +397,9 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
385
397
|
|
|
386
398
|
#### 🐛 Bug Fix
|
|
387
399
|
|
|
388
|
-
- Fix conditional panel rendering [#22](https://github.com/hipstersmoothie/
|
|
400
|
+
- Fix conditional panel rendering [#22](https://github.com/hipstersmoothie/window-splitter/pull/22) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
389
401
|
- Fix conditional panel rendering ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
390
|
-
- Fix default size throwing of responsive sizing [#21](https://github.com/hipstersmoothie/
|
|
402
|
+
- Fix default size throwing of responsive sizing [#21](https://github.com/hipstersmoothie/window-splitter/pull/21) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
391
403
|
- Fix default size throwing of responsive sizing ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
392
404
|
|
|
393
405
|
#### Authors: 1
|
|
@@ -400,7 +412,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
400
412
|
|
|
401
413
|
#### 🐛 Bug Fix
|
|
402
414
|
|
|
403
|
-
- More Tests and Bug Fixes [#18](https://github.com/hipstersmoothie/
|
|
415
|
+
- More Tests and Bug Fixes [#18](https://github.com/hipstersmoothie/window-splitter/pull/18) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
404
416
|
- move prepareSnapshot ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
405
417
|
- fix spring animations not quite working (for real) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
406
418
|
- fix snapshots ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -416,7 +428,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
416
428
|
|
|
417
429
|
#### 🐛 Bug Fix
|
|
418
430
|
|
|
419
|
-
- Split out @window-splitter/state [#16](https://github.com/hipstersmoothie/
|
|
431
|
+
- Split out @window-splitter/state [#16](https://github.com/hipstersmoothie/window-splitter/pull/16) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
420
432
|
- fix path ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
421
433
|
- fix lock ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
422
434
|
- split into packages ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -431,7 +443,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
431
443
|
|
|
432
444
|
#### 🐛 Bug Fix
|
|
433
445
|
|
|
434
|
-
- Add tests, fix a bunch of bugs [#12](https://github.com/hipstersmoothie/
|
|
446
|
+
- Add tests, fix a bunch of bugs [#12](https://github.com/hipstersmoothie/window-splitter/pull/12) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
435
447
|
- fix lint ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
436
448
|
- more tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
437
449
|
- fix imperative api bugs ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
@@ -445,7 +457,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
445
457
|
- fix conditional panel rendering ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
446
458
|
- fix commited layout ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
447
459
|
- Merge remote-tracking branch 'origin/main' into tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
448
|
-
- fix react preset in config-eslint package [#11](https://github.com/hipstersmoothie/
|
|
460
|
+
- fix react preset in config-eslint package [#11](https://github.com/hipstersmoothie/window-splitter/pull/11) ([@Rel1cx](https://github.com/Rel1cx))
|
|
449
461
|
- switch to 1fr and fix measurement in tests (closes #3) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
450
462
|
- set initial children sizes ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
451
463
|
- fix react preset in config-eslint package ([@Rel1cx](https://github.com/Rel1cx))
|
|
@@ -472,7 +484,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
472
484
|
|
|
473
485
|
#### 🚀 Enhancement
|
|
474
486
|
|
|
475
|
-
- Collapse Animation [#10](https://github.com/hipstersmoothie/
|
|
487
|
+
- Collapse Animation [#10](https://github.com/hipstersmoothie/window-splitter/pull/10) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
476
488
|
|
|
477
489
|
#### 🐛 Bug Fix
|
|
478
490
|
|
|
@@ -582,7 +594,7 @@ That change is breaking. The version has only received a minor bump because we a
|
|
|
582
594
|
|
|
583
595
|
#### 🐛 Bug Fix
|
|
584
596
|
|
|
585
|
-
- pr workflow [#1](https://github.com/hipstersmoothie/
|
|
597
|
+
- pr workflow [#1](https://github.com/hipstersmoothie/window-splitter/pull/1) ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
586
598
|
- pr workflow ([@hipstersmoothie](https://github.com/hipstersmoothie))
|
|
587
599
|
|
|
588
600
|
#### ⚠️ Pushed to `main`
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@window-splitter/react",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.4",
|
|
6
6
|
"description": "A WAI-ARIA compliant window splitter for React.",
|
|
7
7
|
"homepage": "https://react-window-splitter-six.vercel.app",
|
|
8
8
|
"repository": {
|
|
9
|
-
"url": "https://github.com/hipstersmoothie/
|
|
9
|
+
"url": "https://github.com/hipstersmoothie/window-splitter",
|
|
10
10
|
"directory": "packages/react"
|
|
11
11
|
},
|
|
12
12
|
"publishConfig": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@chromatic-com/storybook": "^1.6.1",
|
|
39
|
-
"@internal/eslint-config": "0.8.
|
|
39
|
+
"@internal/eslint-config": "0.8.4",
|
|
40
40
|
"@rsbuild/core": "^1.3.12",
|
|
41
41
|
"@rsdoctor/rspack-plugin": "^1.0.2",
|
|
42
42
|
"@storybook/addon-essentials": "^8.2.9",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@react-aria/utils": "^3.28.2",
|
|
71
|
-
"@window-splitter/interface": "0.8.
|
|
72
|
-
"@window-splitter/state": "0.8.
|
|
71
|
+
"@window-splitter/interface": "0.8.4",
|
|
72
|
+
"@window-splitter/state": "0.8.4"
|
|
73
73
|
},
|
|
74
74
|
"tshy": {
|
|
75
75
|
"exclude": [
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"resizable",
|
|
105
105
|
"window"
|
|
106
106
|
],
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "b71dcbded56d12a3e78294802e56d97d179b0bf6"
|
|
108
108
|
}
|