@window-splitter/state 0.8.2 → 0.8.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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @window-splitter/state@0.8.1 build /Users/andrew/Documents/react-window-splitter/packages/state
3
+ > @window-splitter/state@0.8.2 build /Users/andrew/Documents/react-window-splitter/packages/state
4
4
  > tshy
5
5
 
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
 
@@ -59,7 +71,7 @@ The API for registering panel handles changed a little bit. If you're using the
59
71
 
60
72
  #### 🐛 Bug Fix
61
73
 
62
- - bake in invariant [#50](https://github.com/hipstersmoothie/react-splitter/pull/50) ([@hipstersmoothie](https://github.com/hipstersmoothie))
74
+ - bake in invariant [#50](https://github.com/hipstersmoothie/window-splitter/pull/50) ([@hipstersmoothie](https://github.com/hipstersmoothie))
63
75
  - bake in invariant ([@hipstersmoothie](https://github.com/hipstersmoothie))
64
76
 
65
77
  #### Authors: 1
@@ -72,7 +84,7 @@ The API for registering panel handles changed a little bit. If you're using the
72
84
 
73
85
  #### 🐛 Bug Fix
74
86
 
75
- - remove tiny-cookie as runtime dep [#49](https://github.com/hipstersmoothie/react-splitter/pull/49) ([@hipstersmoothie](https://github.com/hipstersmoothie))
87
+ - remove tiny-cookie as runtime dep [#49](https://github.com/hipstersmoothie/window-splitter/pull/49) ([@hipstersmoothie](https://github.com/hipstersmoothie))
76
88
  - remove tiny-cookie as runtime dep ([@hipstersmoothie](https://github.com/hipstersmoothie))
77
89
 
78
90
  #### ⚠️ Pushed to `main`
@@ -89,7 +101,7 @@ The API for registering panel handles changed a little bit. If you're using the
89
101
 
90
102
  ### Release Notes
91
103
 
92
- #### No xstate ([#47](https://github.com/hipstersmoothie/react-splitter/pull/47))
104
+ #### No xstate ([#47](https://github.com/hipstersmoothie/window-splitter/pull/47))
93
105
 
94
106
  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.
95
107
 
@@ -101,7 +113,7 @@ That change is breaking. The version has only received a minor bump because we a
101
113
 
102
114
  #### 🚀 Enhancement
103
115
 
104
- - No xstate [#47](https://github.com/hipstersmoothie/react-splitter/pull/47) ([@hipstersmoothie](https://github.com/hipstersmoothie))
116
+ - No xstate [#47](https://github.com/hipstersmoothie/window-splitter/pull/47) ([@hipstersmoothie](https://github.com/hipstersmoothie))
105
117
 
106
118
  #### 🐛 Bug Fix
107
119
 
@@ -159,7 +171,7 @@ That change is breaking. The version has only received a minor bump because we a
159
171
 
160
172
  #### 🚀 Enhancement
161
173
 
162
- - Add `data-state=inactive` for drag handles that aren't the active one [#46](https://github.com/hipstersmoothie/react-splitter/pull/46) ([@sfc-gh-alisowski](https://github.com/sfc-gh-alisowski))
174
+ - 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))
163
175
 
164
176
  #### 🐛 Bug Fix
165
177
 
@@ -176,7 +188,7 @@ That change is breaking. The version has only received a minor bump because we a
176
188
 
177
189
  #### 🐛 Bug Fix
178
190
 
179
- - update panel settings when props update [#45](https://github.com/hipstersmoothie/react-splitter/pull/45) ([@hipstersmoothie](https://github.com/hipstersmoothie))
191
+ - update panel settings when props update [#45](https://github.com/hipstersmoothie/window-splitter/pull/45) ([@hipstersmoothie](https://github.com/hipstersmoothie))
180
192
  - update panel settings when props update ([@hipstersmoothie](https://github.com/hipstersmoothie))
181
193
 
182
194
  #### Authors: 1
@@ -189,7 +201,7 @@ That change is breaking. The version has only received a minor bump because we a
189
201
 
190
202
  #### 🐛 Bug Fix
191
203
 
192
- - rebind onResize and onCollapseChange to fix restoring from snapshot [#44](https://github.com/hipstersmoothie/react-splitter/pull/44) ([@hipstersmoothie](https://github.com/hipstersmoothie))
204
+ - rebind onResize and onCollapseChange to fix restoring from snapshot [#44](https://github.com/hipstersmoothie/window-splitter/pull/44) ([@hipstersmoothie](https://github.com/hipstersmoothie))
193
205
  - rebind onResize and onCollapseChange to fix restoring from snapshot (closes #41) ([@hipstersmoothie](https://github.com/hipstersmoothie))
194
206
 
195
207
  #### Authors: 1
@@ -202,7 +214,7 @@ That change is breaking. The version has only received a minor bump because we a
202
214
 
203
215
  #### 🐛 Bug Fix
204
216
 
205
- - Responsive Bugs [#38](https://github.com/hipstersmoothie/react-splitter/pull/38) ([@hipstersmoothie](https://github.com/hipstersmoothie))
217
+ - Responsive Bugs [#38](https://github.com/hipstersmoothie/window-splitter/pull/38) ([@hipstersmoothie](https://github.com/hipstersmoothie))
206
218
  - fix tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
207
219
  - move handle overflow logic to recordActualItemSize ([@hipstersmoothie](https://github.com/hipstersmoothie))
208
220
  - more ([@hipstersmoothie](https://github.com/hipstersmoothie))
@@ -210,7 +222,7 @@ That change is breaking. The version has only received a minor bump because we a
210
222
  - updating tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
211
223
  - measure more ([@hipstersmoothie](https://github.com/hipstersmoothie))
212
224
  - add fill panel. improves resizing a lot ([@hipstersmoothie](https://github.com/hipstersmoothie))
213
- - move autosave to state package [#36](https://github.com/hipstersmoothie/react-splitter/pull/36) ([@hipstersmoothie](https://github.com/hipstersmoothie))
225
+ - move autosave to state package [#36](https://github.com/hipstersmoothie/window-splitter/pull/36) ([@hipstersmoothie](https://github.com/hipstersmoothie))
214
226
  - improve lint ([@hipstersmoothie](https://github.com/hipstersmoothie))
215
227
  - move autosave to state ([@hipstersmoothie](https://github.com/hipstersmoothie))
216
228
 
@@ -224,8 +236,8 @@ That change is breaking. The version has only received a minor bump because we a
224
236
 
225
237
  #### 🚀 Enhancement
226
238
 
227
- - Add "isStaticAtRest" prop [#34](https://github.com/hipstersmoothie/react-splitter/pull/34) ([@hipstersmoothie](https://github.com/hipstersmoothie))
228
- - Collapse Validation [#33](https://github.com/hipstersmoothie/react-splitter/pull/33) ([@hipstersmoothie](https://github.com/hipstersmoothie))
239
+ - Add "isStaticAtRest" prop [#34](https://github.com/hipstersmoothie/window-splitter/pull/34) ([@hipstersmoothie](https://github.com/hipstersmoothie))
240
+ - Collapse Validation [#33](https://github.com/hipstersmoothie/window-splitter/pull/33) ([@hipstersmoothie](https://github.com/hipstersmoothie))
229
241
 
230
242
  #### 🐛 Bug Fix
231
243
 
@@ -251,9 +263,9 @@ That change is breaking. The version has only received a minor bump because we a
251
263
 
252
264
  #### 🐛 Bug Fix
253
265
 
254
- - Fix panel not expanding to take up width with a default collapsed panel [#29](https://github.com/hipstersmoothie/react-splitter/pull/29) ([@hipstersmoothie](https://github.com/hipstersmoothie))
266
+ - 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))
255
267
  - Fix panel not expanding to take up width with a default collapsed panel ([@hipstersmoothie](https://github.com/hipstersmoothie))
256
- - Fix bug in onResize callbacks [#30](https://github.com/hipstersmoothie/react-splitter/pull/30) ([@hipstersmoothie](https://github.com/hipstersmoothie))
268
+ - Fix bug in onResize callbacks [#30](https://github.com/hipstersmoothie/window-splitter/pull/30) ([@hipstersmoothie](https://github.com/hipstersmoothie))
257
269
  - call onResize once the item sizes are known too ([@hipstersmoothie](https://github.com/hipstersmoothie))
258
270
  - fix pixel calculation on onResize ([@hipstersmoothie](https://github.com/hipstersmoothie))
259
271
  - Fix inconsistent percent value structure ([@hipstersmoothie](https://github.com/hipstersmoothie))
@@ -280,17 +292,17 @@ That change is breaking. The version has only received a minor bump because we a
280
292
 
281
293
  #### 🚀 Enhancement
282
294
 
283
- - Add `onResize` prop to Panel [#28](https://github.com/hipstersmoothie/react-splitter/pull/28) ([@hipstersmoothie](https://github.com/hipstersmoothie))
295
+ - Add `onResize` prop to Panel [#28](https://github.com/hipstersmoothie/window-splitter/pull/28) ([@hipstersmoothie](https://github.com/hipstersmoothie))
284
296
 
285
297
  #### 🐛 Bug Fix
286
298
 
287
299
  - Add `onResize` prop to `Panel` ([@hipstersmoothie](https://github.com/hipstersmoothie))
288
- - 100 [#26](https://github.com/hipstersmoothie/react-splitter/pull/26) ([@hipstersmoothie](https://github.com/hipstersmoothie))
300
+ - 100 [#26](https://github.com/hipstersmoothie/window-splitter/pull/26) ([@hipstersmoothie](https://github.com/hipstersmoothie))
289
301
  - 100 ([@hipstersmoothie](https://github.com/hipstersmoothie))
290
- - add coverage for PRs [#25](https://github.com/hipstersmoothie/react-splitter/pull/25) ([@hipstersmoothie](https://github.com/hipstersmoothie))
302
+ - add coverage for PRs [#25](https://github.com/hipstersmoothie/window-splitter/pull/25) ([@hipstersmoothie](https://github.com/hipstersmoothie))
291
303
  - testing ([@hipstersmoothie](https://github.com/hipstersmoothie))
292
304
  - add coverage for PRs ([@hipstersmoothie](https://github.com/hipstersmoothie))
293
- - Add react tests [#24](https://github.com/hipstersmoothie/react-splitter/pull/24) ([@hipstersmoothie](https://github.com/hipstersmoothie))
305
+ - Add react tests [#24](https://github.com/hipstersmoothie/window-splitter/pull/24) ([@hipstersmoothie](https://github.com/hipstersmoothie))
294
306
  - add docs for state machine usage ([@hipstersmoothie](https://github.com/hipstersmoothie))
295
307
 
296
308
  #### ⚠️ Pushed to `main`
@@ -321,9 +333,9 @@ That change is breaking. The version has only received a minor bump because we a
321
333
 
322
334
  #### 🐛 Bug Fix
323
335
 
324
- - Fix conditional panel rendering [#22](https://github.com/hipstersmoothie/react-splitter/pull/22) ([@hipstersmoothie](https://github.com/hipstersmoothie))
336
+ - Fix conditional panel rendering [#22](https://github.com/hipstersmoothie/window-splitter/pull/22) ([@hipstersmoothie](https://github.com/hipstersmoothie))
325
337
  - Fix conditional panel rendering ([@hipstersmoothie](https://github.com/hipstersmoothie))
326
- - Fix default size throwing of responsive sizing [#21](https://github.com/hipstersmoothie/react-splitter/pull/21) ([@hipstersmoothie](https://github.com/hipstersmoothie))
338
+ - Fix default size throwing of responsive sizing [#21](https://github.com/hipstersmoothie/window-splitter/pull/21) ([@hipstersmoothie](https://github.com/hipstersmoothie))
327
339
  - Fix default size throwing of responsive sizing ([@hipstersmoothie](https://github.com/hipstersmoothie))
328
340
 
329
341
  #### Authors: 1
@@ -336,7 +348,7 @@ That change is breaking. The version has only received a minor bump because we a
336
348
 
337
349
  #### 🐛 Bug Fix
338
350
 
339
- - More Tests and Bug Fixes [#18](https://github.com/hipstersmoothie/react-splitter/pull/18) ([@hipstersmoothie](https://github.com/hipstersmoothie))
351
+ - More Tests and Bug Fixes [#18](https://github.com/hipstersmoothie/window-splitter/pull/18) ([@hipstersmoothie](https://github.com/hipstersmoothie))
340
352
  - fix overshoot math for non-collapsible panels ([@hipstersmoothie](https://github.com/hipstersmoothie))
341
353
  - remove unused deps ([@hipstersmoothie](https://github.com/hipstersmoothie))
342
354
  - move prepareSnapshot ([@hipstersmoothie](https://github.com/hipstersmoothie))
@@ -357,7 +369,7 @@ That change is breaking. The version has only received a minor bump because we a
357
369
 
358
370
  #### 🐛 Bug Fix
359
371
 
360
- - Split out @window-splitter/state [#16](https://github.com/hipstersmoothie/react-splitter/pull/16) ([@hipstersmoothie](https://github.com/hipstersmoothie))
372
+ - Split out @window-splitter/state [#16](https://github.com/hipstersmoothie/window-splitter/pull/16) ([@hipstersmoothie](https://github.com/hipstersmoothie))
361
373
  - make state public ([@hipstersmoothie](https://github.com/hipstersmoothie))
362
374
  - split into packages ([@hipstersmoothie](https://github.com/hipstersmoothie))
363
375
 
@@ -371,7 +383,7 @@ That change is breaking. The version has only received a minor bump because we a
371
383
 
372
384
  #### 🐛 Bug Fix
373
385
 
374
- - Add tests, fix a bunch of bugs [#12](https://github.com/hipstersmoothie/react-splitter/pull/12) ([@hipstersmoothie](https://github.com/hipstersmoothie))
386
+ - Add tests, fix a bunch of bugs [#12](https://github.com/hipstersmoothie/window-splitter/pull/12) ([@hipstersmoothie](https://github.com/hipstersmoothie))
375
387
  - fix lint ([@hipstersmoothie](https://github.com/hipstersmoothie))
376
388
  - more tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
377
389
  - fix imperative api bugs ([@hipstersmoothie](https://github.com/hipstersmoothie))
@@ -385,7 +397,7 @@ That change is breaking. The version has only received a minor bump because we a
385
397
  - fix conditional panel rendering ([@hipstersmoothie](https://github.com/hipstersmoothie))
386
398
  - fix commited layout ([@hipstersmoothie](https://github.com/hipstersmoothie))
387
399
  - Merge remote-tracking branch 'origin/main' into tests ([@hipstersmoothie](https://github.com/hipstersmoothie))
388
- - fix react preset in config-eslint package [#11](https://github.com/hipstersmoothie/react-splitter/pull/11) ([@Rel1cx](https://github.com/Rel1cx))
400
+ - fix react preset in config-eslint package [#11](https://github.com/hipstersmoothie/window-splitter/pull/11) ([@Rel1cx](https://github.com/Rel1cx))
389
401
  - switch to 1fr and fix measurement in tests (closes #3) ([@hipstersmoothie](https://github.com/hipstersmoothie))
390
402
  - set initial children sizes ([@hipstersmoothie](https://github.com/hipstersmoothie))
391
403
  - fix react preset in config-eslint package ([@Rel1cx](https://github.com/Rel1cx))
@@ -412,7 +424,7 @@ That change is breaking. The version has only received a minor bump because we a
412
424
 
413
425
  #### 🚀 Enhancement
414
426
 
415
- - Collapse Animation [#10](https://github.com/hipstersmoothie/react-splitter/pull/10) ([@hipstersmoothie](https://github.com/hipstersmoothie))
427
+ - Collapse Animation [#10](https://github.com/hipstersmoothie/window-splitter/pull/10) ([@hipstersmoothie](https://github.com/hipstersmoothie))
416
428
 
417
429
  #### 🐛 Bug Fix
418
430
 
@@ -522,7 +534,7 @@ That change is breaking. The version has only received a minor bump because we a
522
534
 
523
535
  #### 🐛 Bug Fix
524
536
 
525
- - pr workflow [#1](https://github.com/hipstersmoothie/react-splitter/pull/1) ([@hipstersmoothie](https://github.com/hipstersmoothie))
537
+ - pr workflow [#1](https://github.com/hipstersmoothie/window-splitter/pull/1) ([@hipstersmoothie](https://github.com/hipstersmoothie))
526
538
  - pr workflow ([@hipstersmoothie](https://github.com/hipstersmoothie))
527
539
 
528
540
  #### ⚠️ Pushed to `main`
package/README.md CHANGED
@@ -95,7 +95,7 @@ The context of the state machine is an object with the following shape:
95
95
 
96
96
  #### Events
97
97
 
98
- For a full list of events and their payloads see the [source code](https://github.com/hipstersmoothie/react-splitter/blob/main/packages/state/src/index.ts).
98
+ For a full list of events and their payloads see the [source code](https://github.com/hipstersmoothie/window-splitter/blob/main/packages/state/src/index.ts).
99
99
 
100
100
  - `registerPanel`: Register a new panel with the state machine
101
101
  - `registerDynamicPanel`: Register a new panel after the initial render
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@window-splitter/state",
4
4
  "sideEffects": false,
5
- "version": "0.8.2",
5
+ "version": "0.8.3",
6
6
  "description": "A state machine for a WAI-ARIA compliant window splitter",
7
7
  "homepage": "https://react-window-splitter-six.vercel.app",
8
8
  "repository": {
9
- "url": "https://github.com/hipstersmoothie/react-splitter",
9
+ "url": "https://github.com/hipstersmoothie/window-splitter",
10
10
  "directory": "packages/state"
11
11
  },
12
12
  "publishConfig": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
- "@internal/eslint-config": "0.8.2",
32
+ "@internal/eslint-config": "0.8.3",
33
33
  "@testing-library/react": "^16.0.0",
34
34
  "@types/big.js": "^6.2.2",
35
35
  "@vitest/browser": "^3.1.2",
@@ -77,5 +77,5 @@
77
77
  "window"
78
78
  ],
79
79
  "types": "./dist/commonjs/index.d.ts",
80
- "gitHead": "f7aea038f91edcf65324e468863c19e2770f5ffa"
80
+ "gitHead": "1077098bdb58130b37010620ffd58e1b3a5a3db9"
81
81
  }