@gfazioli/mantine-picker 2.3.8 → 2.3.10
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 +32 -12
- 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,25 +9,25 @@
|
|
|
9
9
|
[](https://www.npmjs.com/package/@gfazioli/mantine-picker)
|
|
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)
|
|
15
|
+
|
|
12
16
|
</div>
|
|
13
17
|
|
|
14
18
|
## Overview
|
|
15
19
|
|
|
16
20
|
This component is created on top of the [Mantine](https://mantine.dev/) library.
|
|
17
21
|
|
|
18
|
-
[
|
|
19
|
-
)](https://mantine.dev/)
|
|
22
|
+
[Mantine Picker](https://gfazioli.github.io/mantine-picker/) is a versatile UI component for building iOS-like wheel pickers in React with Mantine, enabling selection through dragging, mouse wheel, clicking, and keyboard navigation. Developers can fully control state via value and onChange, or render bespoke item content with renderItem (e.g., color swatches, badges).
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
The component’s appearance and behavior are highly tunable: itemHeight, visibleItems, cylinderRadius, rotation (rotateY), blur/opacity/scale gradients, mask and highlight, dividers, loop, and animationDuration. Decorative sections (leftSection/rightSection) let you embed icons or labels that remain fixed while the list scrolls, and readOnly mode permits programmatic updates while preventing user changes—handy for counters and clocks.
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
)](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4)
|
|
25
|
-
[](https://gfazioli.github.io/mantine-picker/)
|
|
27
|
-
[](https://mantine-extensions.vercel.app/)
|
|
26
|
+
Beyond simple lists like cities or months, the Picker supports composite inputs such as time and date pickers by composing multiple instances (hours, minutes, AM/PM; day, month, year) and synchronizing their values. Styling can be adapted with variants, size presets, uppercase transforms, gradients, and custom shadows, and global styles are imported once via the package’s CSS. Altogether, Mantine Picker offers a polished, customizable selection experience that integrates cleanly with Mantine layouts and components for production-ready pickers.
|
|
29
27
|
|
|
30
|
-
|
|
28
|
+
> [!note]
|
|
29
|
+
>
|
|
30
|
+
> → [Demo and Documentation](https://gfazioli.github.io/mantine-picker/) → [Youtube Video](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) → [More Mantine Components](https://mantine-extensions.vercel.app/)
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
## Installation
|
|
@@ -59,11 +59,31 @@ function Demo() {
|
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
|
+
## Sponsor
|
|
62
63
|
|
|
63
64
|
<div align="center">
|
|
64
|
-
|
|
65
|
-
[
|
|
65
|
+
|
|
66
|
+
[<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)
|
|
66
67
|
|
|
67
68
|
</div>
|
|
68
69
|
|
|
70
|
+
Your support helps me:
|
|
71
|
+
|
|
72
|
+
- Keep the project actively maintained with timely bug fixes and security updates
|
|
73
|
+
- Add new features, improve performance, and refine the developer experience
|
|
74
|
+
- Expand test coverage and documentation for smoother adoption
|
|
75
|
+
- Ensure long‑term sustainability without relying on ad hoc free time
|
|
76
|
+
- Prioritize community requests and roadmap items that matter most
|
|
77
|
+
|
|
78
|
+
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.
|
|
79
|
+
|
|
80
|
+
Your help truly matters.
|
|
81
|
+
|
|
82
|
+
💚 [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.
|
|
83
|
+
|
|
84
|
+
---
|
|
69
85
|
https://github.com/user-attachments/assets/520e4838-9f2f-4714-9de2-8067c7630d1d
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
[](https://www.star-history.com/#gfazioli/mantine-picker&Timeline)
|
|
89
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfazioli/mantine-picker",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
4
4
|
"description": "Picker component is a wrapper for any component that can be flipped. It is used to create cards, flip boxes and more.",
|
|
5
5
|
"homepage": "https://gfazioli.github.io/mantine-picker/",
|
|
6
6
|
"packageManager": "yarn@4.0.1",
|