Commit 0c2db83
Add resizable support to the
* add resizable support to the PageLayout component
* Add changeset file
* update snapshot
* take client left position into account when pane is not left aligned
* fix resize behavior when pane is not at start position
* fix resize when there are column gaps
* use story debug values
* decouple the resize handle from the vertical divider
* update snap file
* update snap file
* rename canResizePane to resizable
* update snap files
* update resizable PageLayout story
* rename paneWidthStorageKey to widthStorageKey
* refactor(PageLayout): set pane with in CSS Custom Property
* docs: add documentation for resizable nad widthStorageKey
* Resizable pane refactor (#2481)
* Update stories
* Refactor resizable pane implementation
* Clamp pane width resizing
* Delay drag hover effect
* Reset pane width on double click
* Handle styles while dragging
* Add resizable example to SplitPageLayout docs
* Remove comment
* Add comment about touch events
* Update docs
* Update resizable pane story
* Update snapshots
* Wrap localStorage in try/catch
* Store pane width in px
* Update snapshot
* Update pagelayout snapshots
Co-authored-by: Josh Black <[email protected]>
Co-authored-by: Josh Black <[email protected]>
Co-authored-by: Cole Bemis <[email protected]><PageLayout> component (#2352)1 parent 6199b10 commit 0c2db83
File tree
8 files changed
+328
-8
lines changed- .changeset
- docs/content
- src
- PageLayout
- __snapshots__
- SplitPageLayout
- __snapshots__
8 files changed
+328
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
282 | 301 | | |
283 | 302 | | |
284 | 303 | | |
| |||
365 | 384 | | |
366 | 385 | | |
367 | 386 | | |
| 387 | + | |
368 | 388 | | |
369 | 389 | | |
370 | 390 | | |
| |||
512 | 532 | | |
513 | 533 | | |
514 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
515 | 547 | | |
516 | 548 | | |
517 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
115 | 136 | | |
116 | 137 | | |
117 | 138 | | |
| |||
378 | 399 | | |
379 | 400 | | |
380 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
381 | 414 | | |
382 | 415 | | |
383 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| |||
380 | 385 | | |
381 | 386 | | |
382 | 387 | | |
| 388 | + | |
383 | 389 | | |
384 | 390 | | |
385 | 391 | | |
| |||
509 | 515 | | |
510 | 516 | | |
511 | 517 | | |
512 | | - | |
| 518 | + | |
513 | 519 | | |
514 | 520 | | |
515 | 521 | | |
| |||
694 | 700 | | |
695 | 701 | | |
696 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
697 | 720 | | |
0 commit comments