@gfazioli/mantine-reflection 2.3.9 → 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.
@@ -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
- ionut.florescu@gmail.com.
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
  [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-reflection?style=for-the-badge&label=%20&color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-reflection)
10
10
  [![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-reflection?style=for-the-badge)](https://github.com/gfazioli/mantine-flip/blob/master/LICENSE)
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,19 +19,14 @@
16
19
 
17
20
  This component is created on top of the [Mantine](https://mantine.dev/) library.
18
21
 
19
- [![Mantine UI Library](https://img.shields.io/badge/-MANTINE_UI_LIBRARY-blue?style=for-the-badge&labelColor=black&logo=mantine
20
- )](https://mantine.dev/)
22
+ [Mantine Reflection](https://gfazioli.github.io/mantine-mask/) provides a simple wrapper—Reflection—that adds a mirrored version of its children, enabling polished visual effects for images and components within Mantine‑based interfaces. Developers can tune reflection characteristics including distance from the source, opacity, blur level, stretch, and gradient start/end to achieve subtle or pronounced looks. It also includes comprehensive shadow controls (offset, opacity, blur, size, scale X/Y, and color) to complement the reflection for more realistic depth.
21
23
 
22
- Adds a reflection effect to a component. It simply wraps the content to be reflected.
24
+ The package ships global styles via styles.css and a layer‑scoped variant via styles.layer.css for integration with CSS @layer mantine-reflection. When reflecting images, setting display: block on img prevents baseline padding artifacts. A dedicated reflectionBlur prop adds pixel‑based blur to the reflection, with guidance to use small values or padding to avoid edge clipping. Overall, the component is designed to be drop‑in, flexible, and precise for creating refined mirror and shadow effects around arbitrary React children.
23
25
 
24
- [![Mantine Extensions](https://img.shields.io/badge/-Watch_the_Video-blue?style=for-the-badge&labelColor=black&logo=youtube
25
- )](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4)
26
- [![Demo and Documentation](https://img.shields.io/badge/-Demo_%26_Documentation-blue?style=for-the-badge&labelColor=black&logo=typescript
27
- )](https://gfazioli.github.io/mantine-reflection/)
28
- [![Mantine Extensions HUB](https://img.shields.io/badge/-Mantine_Extensions_Hub-blue?style=for-the-badge&labelColor=blue
29
- )](https://mantine-extensions.vercel.app/)
26
+ > [!note]
27
+ >
28
+ > → [Demo and Documentation](https://gfazioli.github.io/mantine-mask/) → [Youtube Video](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) → [More Mantine Components](https://mantine-extensions.vercel.app/)
30
29
 
31
- 👉 You can find more components on the [Mantine Extensions Hub](https://mantine-extensions.vercel.app/) library.
32
30
 
33
31
  ## Installation
34
32
 
@@ -65,9 +63,28 @@ function Demo() {
65
63
  );
66
64
  }
67
65
  ```
66
+ ## Sponsor
68
67
 
69
68
  <div align="center">
70
-
71
- [![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-reflection&type=Timeline)](https://www.star-history.com/#gfazioli/mantine-reflection&Timeline)
69
+
70
+ [<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)
72
71
 
73
72
  </div>
73
+
74
+ Your support helps me:
75
+
76
+ - Keep the project actively maintained with timely bug fixes and security updates

77
+ - Add new features, improve performance, and refine the developer experience

78
+ - Expand test coverage and documentation for smoother adoption

79
+ - Ensure long‑term sustainability without relying on ad hoc free time

80
+ - Prioritize community requests and roadmap items that matter most
81
+
82
+ 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.
83
+
84
+ Your help truly matters.
85
+
86
+ 💚 [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.
87
+
88
+ ---
89
+
90
+ [![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-reflection&type=Timeline)](https://www.star-history.com/#gfazioli/mantine-reflection&Timeline)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfazioli/mantine-reflection",
3
- "version": "2.3.9",
3
+ "version": "2.3.10",
4
4
  "description": "Mantine Reflection is a React component that allows you to create a reflection effect on an image or any other component.",
5
5
  "homepage": "https://gfazioli.github.io/mantine-reflection/",
6
6
  "packageManager": "yarn@4.0.1",