@gfazioli/mantine-split-pane 2.5.6 → 2.5.7
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/CODE_OF_CONDUCT.md +1 -1
- package/README.md +31 -13
- package/package.json +1 -1
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -60,7 +60,7 @@ representative at an online or offline event.
|
|
|
60
60
|
|
|
61
61
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
62
|
reported to the community leaders responsible for enforcement at
|
|
63
|
-
|
|
63
|
+
giovambattista.fazioli@gmail.com.
|
|
64
64
|
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
65
|
|
|
66
66
|
All community leaders are obligated to respect the privacy and security of the
|
package/README.md
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
[](https://www.npmjs.com/package/@gfazioli/mantine-split-pane)
|
|
10
10
|

|
|
11
11
|
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
[<kbd> <br/> ❤️ If this component has been useful to you or your team, please consider becoming a sponsor <br/> </kbd>](https://github.com/sponsors/gfazioli?o=esc)
|
|
12
15
|
|
|
13
16
|
</div>
|
|
14
17
|
|
|
@@ -16,20 +19,16 @@
|
|
|
16
19
|
|
|
17
20
|
This component is created on top of the [Mantine](https://mantine.dev/) library.
|
|
18
21
|
|
|
19
|
-
[](https://mantine.dev/)
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
[Mantine Split](https://gfazioli.github.io/mantine-split-pane/) extension for building flexible, resizable layouts composed of multiple panes. In v2, the architecture separates pane content (Split.Pane) from the resizing control (Split.Resizer), making the resizer a first-class, customizable element placed between panes.
|
|
24
|
+
|
|
25
|
+
Developers can define initial sizes in pixels or percentages, enforce min/max constraints, and use the grow property to let specific panes expand to fill available space. Orientation supports horizontal and vertical layouts, including responsive breakpoints, while the resizer can inherit global props from Split or be configured per instance, including a gradient variant with hover styles.
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
)](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4)
|
|
27
|
-
[](https://gfazioli.github.io/mantine-split-pane/)
|
|
29
|
-
[](https://mantine-extensions.vercel.app/)
|
|
27
|
+
The component exposes resize lifecycle events on both the pane and resizer—delivering current width/height for one or both adjacent panes—enabling persistence of layouts via localStorage and real‑time UI feedback. Accessibility is built in: the resizer is focusable and supports keyboard resizing with configurable step and shiftStep values. Overall, it offers a clear JSX structure and a robust API for multi‑pane, highly controllable split views in Mantine applications.
|
|
31
28
|
|
|
32
|
-
|
|
29
|
+
> [!note]
|
|
30
|
+
>
|
|
31
|
+
> → [Demo and Documentation](https://gfazioli.github.io/mantine-split-pane/) → [Youtube Video](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) → [More Mantine Components](https://mantine-extensions.vercel.app/)
|
|
33
32
|
|
|
34
33
|
## Installation
|
|
35
34
|
|
|
@@ -74,11 +73,30 @@ function Demo() {
|
|
|
74
73
|
);
|
|
75
74
|
}
|
|
76
75
|
```
|
|
76
|
+
## Sponsor
|
|
77
77
|
|
|
78
78
|
<div align="center">
|
|
79
|
-
|
|
80
|
-
[
|
|
79
|
+
|
|
80
|
+
[<kbd> <br/> ❤️ If this component has been useful to you or your team, please consider becoming a sponsor <br/> </kbd>](https://github.com/sponsors/gfazioli?o=esc)
|
|
81
81
|
|
|
82
82
|
</div>
|
|
83
83
|
|
|
84
|
+
Your support helps me:
|
|
85
|
+
|
|
86
|
+
- Keep the project actively maintained with timely bug fixes and security updates
|
|
87
|
+
- Add new features, improve performance, and refine the developer experience
|
|
88
|
+
- Expand test coverage and documentation for smoother adoption
|
|
89
|
+
- Ensure long‑term sustainability without relying on ad hoc free time
|
|
90
|
+
- Prioritize community requests and roadmap items that matter most
|
|
91
|
+
|
|
92
|
+
Open source thrives when those who benefit can give back—even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.
|
|
93
|
+
|
|
94
|
+
Your help truly matters.
|
|
95
|
+
|
|
96
|
+
💚 [Become a sponsor](https://github.com/sponsors/gfazioli?o=esc) today and help me keep this project reliable, up‑to‑date, and growing for everyone.
|
|
97
|
+
|
|
98
|
+
---
|
|
84
99
|
https://github.com/user-attachments/assets/2e45af2b-60c7-4cb3-9b9a-6cf0e710af1c
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
[](https://www.star-history.com/#gfazioli/mantine-split-pane&Timeline)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfazioli/mantine-split-pane",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.7",
|
|
4
4
|
"description": "A React component that manages split panes allows users to divide and resize content areas within a layout efficiently.",
|
|
5
5
|
"homepage": "https://gfazioli.github.io/mantine-split-pane/",
|
|
6
6
|
"packageManager": "yarn@4.0.1",
|