@gfazioli/mantine-reflection 0.1.5 → 0.1.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/README.md +4 -0
- package/dist/styles.layer.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
+
<p align="center">
|
|
25
|
+
<a href="https://www.buymeacoffee.com/johnfazioli"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=johnfazioli&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
24
28
|
## Overview
|
|
25
29
|
|
|
26
30
|
This component is created on top of the [Mantine](https://mantine.dev/) library.
|
package/dist/styles.layer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mantine {.me-5b265124{display:inline-block}.me-5b265124,.me-5b265124>:first-child{position:relative}.me-5b265124[data-shadow]>:first-child:after{background:radial-gradient(ellipse at center,var(--shadow-color,"black") 0,transparent 70%);bottom:var(--shadow-offset,0);content:"";filter:blur(var(--shadow-blur));height:var(--shadow-size,10);left:0;opacity:var(--shadow-opacity);position:absolute;transform:scaleX(var(--shadow-scale-x,1.1)) scaleY(var(--shadow-scale-y,1));width:100%;z-index:-1}.me-c90002ed{--reflection-distance-xs:calc(1.125rem*var(--mantine-scale));--reflection-distance-sm:calc(1.375rem*var(--mantine-scale));--reflection-distance-md:calc(1.75rem*var(--mantine-scale));--reflection-distance-lg:calc(2.125rem*var(--mantine-scale));--reflection-distance-xl:calc(2.75rem*var(--mantine-scale));filter:blur(var(--reflection-blur));-webkit-mask-image:linear-gradient(to bottom,transparent var(--reflection-start),#000 var(--reflection-end));mask-image:linear-gradient(to bottom,transparent var(--reflection-start),#000 var(--reflection-end));opacity:var(--reflection-opacity);pointer-events:none;position:absolute;top:calc(100% + var(--reflection-distance, 0));transform:scaleY(-1) scaleY(var(--reflection-stretch,1));z-index:-2}}
|
|
1
|
+
@layer mantine-reflection {.me-5b265124{display:inline-block}.me-5b265124,.me-5b265124>:first-child{position:relative}.me-5b265124[data-shadow]>:first-child:after{background:radial-gradient(ellipse at center,var(--shadow-color,"black") 0,transparent 70%);bottom:var(--shadow-offset,0);content:"";filter:blur(var(--shadow-blur));height:var(--shadow-size,10);left:0;opacity:var(--shadow-opacity);position:absolute;transform:scaleX(var(--shadow-scale-x,1.1)) scaleY(var(--shadow-scale-y,1));width:100%;z-index:-1}.me-c90002ed{--reflection-distance-xs:calc(1.125rem*var(--mantine-scale));--reflection-distance-sm:calc(1.375rem*var(--mantine-scale));--reflection-distance-md:calc(1.75rem*var(--mantine-scale));--reflection-distance-lg:calc(2.125rem*var(--mantine-scale));--reflection-distance-xl:calc(2.75rem*var(--mantine-scale));filter:blur(var(--reflection-blur));-webkit-mask-image:linear-gradient(to bottom,transparent var(--reflection-start),#000 var(--reflection-end));mask-image:linear-gradient(to bottom,transparent var(--reflection-start),#000 var(--reflection-end));opacity:var(--reflection-opacity);pointer-events:none;position:absolute;top:calc(100% + var(--reflection-distance, 0));transform:scaleY(-1) scaleY(var(--reflection-stretch,1));z-index:-2}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfazioli/mantine-reflection",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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",
|