@gfazioli/mantine-border-animate 0.2.0

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.
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ - Demonstrating empathy and kindness toward other people
21
+ - Being respectful of differing opinions, viewpoints, and experiences
22
+ - Giving and gracefully accepting constructive feedback
23
+ - Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ - Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ - The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ - Trolling, insulting or derogatory comments, and personal or political attacks
33
+ - Public or private harassment
34
+ - Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ - Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ ionut.florescu@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,18 @@
1
+ # Contributing
2
+
3
+ 👏 Thank you for considering contributing to this project.
4
+
5
+ ## Bug Reports
6
+
7
+ When encountering issues with software or applications, submitting a detailed bug report can significantly help developers in understanding and resolving the problem efficiently. A well-written bug report should include clear steps to reproduce the issue, the expected behavior, and the actual outcome.
8
+
9
+ Furthermore, providing information such as system specifications, error messages, and screenshots can aid in pinpointing the root cause of the bug. By utilizing platforms like GitHub, users can create issue tickets with relevant details, facilitating effective communication between users and developers. Remember, a comprehensive bug report not only assists in bug resolution but also improves the overall quality of the software.
10
+
11
+ 🐛 [GitHub issue](https://github.com/gfazioli/mantine-border-animate/issues)
12
+
13
+
14
+ ## Code contributors
15
+
16
+ Here's a list of all the people who have contributed to the codebase of this project so far:
17
+
18
+ [![Contributors list](https://contrib.rocks/image?repo=gfazioli/mantine-border-animate)](https://github.com/gfazioli/mantine-border-animate/graphs/contributors)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Giovambattista Fazioli
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # Mantine Border Animate Component
2
+
3
+ <img width="2752" height="1536" alt="Mantine Border Animate Component" src="https://github.com/user-attachments/assets/26ae6752-03f3-4f5b-b3b6-70565996109a" />
4
+
5
+ <div align="center">
6
+
7
+ [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-border-animate?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-border-animate)
8
+ [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-border-animate?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-border-animate)
9
+ [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-border-animate?style=for-the-badge&label=%20&color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-border-animate)
10
+ ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-border-animate?style=for-the-badge)
11
+
12
+ </div>
13
+
14
+ ## Overview
15
+
16
+ This component is created on top of the [Mantine](https://mantine.dev/) library.
17
+
18
+ [![Mantine UI Library](https://img.shields.io/badge/-MANTINE_UI_LIBRARY-blue?style=for-the-badge&labelColor=black&logo=mantine
19
+ )](https://mantine.dev/)
20
+
21
+ BorderAnimate is a React component for Mantine that wraps any element with stunning animated border effects. Choose from four distinct animation variants: a traveling beam of light, a rotating gradient, a pulsating glow, or a subtle breathing pulse effect.
22
+
23
+ Fully customizable with props for colors, duration, blur, size, and border radius. Control animations programmatically—toggle them on/off, show/hide borders, or set a static angle when paused. Built with CSS animations for optimal 60fps performance.
24
+
25
+ Ideal for highlighting interactive elements, creating loading states, premium UI accents, or attention-grabbing notifications in modern React applications.
26
+
27
+ [![Mantine Extensions](https://img.shields.io/badge/-Watch_the_Video-blue?style=for-the-badge&labelColor=black&logo=youtube
28
+ )](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4)
29
+ [![Demo and Documentation](https://img.shields.io/badge/-Demo_%26_Documentation-blue?style=for-the-badge&labelColor=black&logo=typescript
30
+ )](https://gfazioli.github.io/mantine-border-animate/)
31
+ [![Mantine Extensions HUB](https://img.shields.io/badge/-Mantine_Extensions_Hub-blue?style=for-the-badge&labelColor=blue
32
+ )](https://mantine-extensions.vercel.app/)
33
+
34
+
35
+ 👉 You can find more components on the [Mantine Extensions Hub](https://mantine-extensions.vercel.app/) library.
36
+
37
+ ## Installation
38
+
39
+ ```sh
40
+ npm install @gfazioli/mantine-border-animate
41
+ ```
42
+ or
43
+
44
+ ```sh
45
+ yarn add @gfazioli/mantine-border-animate
46
+ ```
47
+
48
+ After installation import package styles at the root of your application:
49
+
50
+ ```tsx
51
+ import '@gfazioli/mantine-border-animate/styles.css';
52
+ ```
53
+
54
+ ## Usage
55
+
56
+ ```tsx
57
+ import { Stack, Title } from '@mantine/core';
58
+ import { BorderAnimate } from '@gfazioli/mantine-border-animate';
59
+
60
+ function Demo() {
61
+ return (
62
+ <BorderAnimate w={300} p={32}>
63
+ <Stack>
64
+ <Title>This is a title</Title>
65
+ <p>This is a paragraph inside the BorderAnimate component.</p>
66
+ </Stack>
67
+ </BorderAnimate>
68
+ );
69
+ }
70
+ ```
71
+
72
+ <div align="center">
73
+
74
+ [![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-border-animate&type=Timeline)](https://www.star-history.com/#gfazioli/mantine-border-animate&Timeline)
75
+
76
+ </div>
@@ -0,0 +1,119 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var core = require('@mantine/core');
6
+ var BorderAnimate_module = require('./BorderAnimate.module.css.cjs');
7
+
8
+ const defaultProps = {
9
+ variant: "beam",
10
+ duration: 5,
11
+ borderWidth: "xs",
12
+ radius: "md",
13
+ size: "sm",
14
+ blur: "xs",
15
+ colorFrom: "yellow.6",
16
+ colorTo: "violet.6",
17
+ reverse: false,
18
+ delay: 0,
19
+ withMask: true,
20
+ zIndex: 1,
21
+ anchor: 0,
22
+ show: true,
23
+ animate: true,
24
+ angle: 0
25
+ };
26
+ const varsResolver = core.createVarsResolver(
27
+ (theme, {
28
+ duration,
29
+ reverse,
30
+ borderWidth,
31
+ colorFrom,
32
+ colorTo,
33
+ size,
34
+ delay,
35
+ blur,
36
+ opacity,
37
+ zIndex,
38
+ radius,
39
+ anchor,
40
+ angle
41
+ }) => {
42
+ return {
43
+ root: {
44
+ "--border-animate-radius": radius === void 0 ? void 0 : core.getRadius(radius)
45
+ },
46
+ border: {
47
+ "--border-animate-z-index": `${zIndex}`,
48
+ "--border-animate-duration": `${duration}s`,
49
+ "--border-animate-direction": reverse ? "reverse" : "normal",
50
+ "--border-animate-width": core.getSize(borderWidth, "border-animate-width"),
51
+ "--border-animate-size": core.getSize(size, "border-animate-size"),
52
+ "--border-animate-color-from": core.getThemeColor(colorFrom, theme),
53
+ "--border-animate-color-to": core.getThemeColor(colorTo, theme),
54
+ "--border-animate-delay": `-${delay}s`,
55
+ "--border-animate-blur": core.getSize(blur, "border-animate-blur"),
56
+ "--border-animate-opacity": `${opacity ?? 1}`,
57
+ "--border-animate-anchor": `${anchor ?? 0}`,
58
+ "--border-animate-static-angle": `${angle ?? 0}`
59
+ }
60
+ };
61
+ }
62
+ );
63
+ const BorderAnimate = core.factory((_props, ref) => {
64
+ const props = core.useProps("BorderAnimate", defaultProps, _props);
65
+ const {
66
+ children,
67
+ variant,
68
+ duration,
69
+ borderWidth,
70
+ colorFrom,
71
+ colorTo,
72
+ size,
73
+ radius,
74
+ reverse,
75
+ blur,
76
+ delay,
77
+ withMask,
78
+ opacity,
79
+ zIndex,
80
+ anchor,
81
+ show,
82
+ animate,
83
+ angle,
84
+ classNames,
85
+ style,
86
+ styles,
87
+ unstyled,
88
+ vars,
89
+ className,
90
+ ...others
91
+ } = props;
92
+ const getStyles = core.useStyles({
93
+ name: "BorderAnimate",
94
+ props,
95
+ classes: BorderAnimate_module,
96
+ className,
97
+ style,
98
+ classNames,
99
+ styles,
100
+ unstyled,
101
+ vars,
102
+ varsResolver
103
+ });
104
+ return /* @__PURE__ */ React.createElement(core.Box, { ref, ...getStyles("root"), ...others }, show && /* @__PURE__ */ React.createElement(
105
+ core.Box,
106
+ {
107
+ ...getStyles("border", { variant }),
108
+ variant,
109
+ "data-with-mask": withMask,
110
+ "data-animate": animate
111
+ }
112
+ ), children);
113
+ });
114
+ BorderAnimate.classes = BorderAnimate_module;
115
+ BorderAnimate.displayName = "BorderAnimate";
116
+
117
+ exports.BorderAnimate = BorderAnimate;
118
+ exports.defaultProps = defaultProps;
119
+ //# sourceMappingURL=BorderAnimate.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderAnimate.cjs","sources":["../../src/BorderAnimate.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Box,\n createVarsResolver,\n Factory,\n factory,\n getRadius,\n getSize,\n getThemeColor,\n StylesApiProps,\n useProps,\n useStyles,\n type BoxProps,\n type MantineColor,\n type MantineRadius,\n type MantineSize,\n} from '@mantine/core';\nimport classes from './BorderAnimate.module.css';\n\n/** Available border animation variants */\nexport type BorderAnimateVariant = 'beam' | 'glow' | 'gradient' | 'pulse';\n\nexport type BorderAnimateStylesNames = 'root' | 'border';\n\nexport type BorderAnimateCssVariables = {\n root: '--border-animate-radius';\n border:\n | '--border-animate-z-index'\n | '--border-animate-duration'\n | '--border-animate-direction'\n | '--border-animate-width'\n | '--border-animate-size'\n | '--border-animate-color-from'\n | '--border-animate-color-to'\n | '--border-animate-delay'\n | '--border-animate-blur'\n | '--border-animate-opacity'\n | '--border-animate-anchor'\n | '--border-animate-static-angle';\n};\n\nexport interface BorderAnimateBaseProps {\n children?: React.ReactNode;\n\n /** Animation variant type\n * @default 'beam'\n */\n variant?: BorderAnimateVariant;\n\n /** Animation duration in seconds\n * @default 5\n */\n duration?: number;\n\n /** Border width\n * @default 'xs'\n */\n borderWidth?: MantineSize | (string & {}) | number;\n\n /** Starting color of the gradient\n * @default 'yellow.6'\n */\n colorFrom?: MantineColor;\n\n /** Ending color of the gradient\n * @default 'violet.6'\n */\n colorTo?: MantineColor;\n\n /** Size of the beam/glow (only for beam effect)\n * @default 'sm'\n */\n size?: MantineSize | (string & {}) | number;\n\n /** Border radius\n * @default 'md'\n */\n radius?: MantineRadius | (string & {}) | number;\n\n /** Reverse the animation direction\n * @default false\n */\n reverse?: boolean;\n\n /** Blur amount for the effect\n * @default 'xs'\n */\n blur?: MantineSize | (string & {}) | number;\n\n /** Animation delay in seconds\n * @default 0\n */\n delay?: number;\n\n /** Show/hide the mask that clips the effect to the border\n * @default true\n */\n withMask?: boolean;\n\n /** z-index of the border element\n * @default 1\n */\n zIndex?: number;\n\n /** Controls how far inward the beam follows the border path (in pixels).\n * 0 = follows the outer edge, positive values move the path inward.\n * @default 0\n */\n anchor?: number;\n\n /** Show/hide the animated border\n * @default true\n */\n show?: boolean;\n\n /** Enable/disable the animation\n * @default true\n */\n animate?: boolean;\n\n /** Initial angle/position when animate is false (0-360 degrees).\n * For beam variant: controls the position along the border path.\n * For gradient/glow/pulse variants: controls the gradient angle.\n * @default 0\n */\n angle?: number;\n}\n\nexport interface BorderAnimateProps\n extends BoxProps, BorderAnimateBaseProps, Omit<StylesApiProps<BorderAnimateFactory>, 'variant'> {}\n\nexport type BorderAnimateFactory = Factory<{\n props: BorderAnimateProps;\n ref: HTMLDivElement;\n stylesNames: BorderAnimateStylesNames;\n variant: BorderAnimateVariant;\n vars: BorderAnimateCssVariables;\n}>;\n\nexport const defaultProps: Partial<BorderAnimateProps> = {\n variant: 'beam',\n duration: 5,\n borderWidth: 'xs',\n radius: 'md',\n size: 'sm',\n blur: 'xs',\n colorFrom: 'yellow.6',\n colorTo: 'violet.6',\n reverse: false,\n delay: 0,\n withMask: true,\n zIndex: 1,\n anchor: 0,\n show: true,\n animate: true,\n angle: 0,\n};\n\nconst varsResolver = createVarsResolver<BorderAnimateFactory>(\n (\n theme,\n {\n duration,\n reverse,\n borderWidth,\n colorFrom,\n colorTo,\n size,\n delay,\n blur,\n opacity,\n zIndex,\n radius,\n anchor,\n angle,\n }\n ) => {\n return {\n root: {\n '--border-animate-radius': radius === undefined ? undefined : getRadius(radius),\n },\n border: {\n '--border-animate-z-index': `${zIndex}`,\n '--border-animate-duration': `${duration}s`,\n '--border-animate-direction': reverse ? 'reverse' : 'normal',\n '--border-animate-width': getSize(borderWidth, 'border-animate-width'),\n '--border-animate-size': getSize(size, 'border-animate-size'),\n '--border-animate-color-from': getThemeColor(colorFrom, theme),\n '--border-animate-color-to': getThemeColor(colorTo, theme),\n '--border-animate-delay': `-${delay}s`,\n '--border-animate-blur': getSize(blur, 'border-animate-blur'),\n '--border-animate-opacity': `${opacity ?? 1}`,\n '--border-animate-anchor': `${anchor ?? 0}`,\n '--border-animate-static-angle': `${angle ?? 0}`,\n },\n };\n }\n);\n\nexport const BorderAnimate = factory<BorderAnimateFactory>((_props, ref) => {\n const props = useProps('BorderAnimate', defaultProps, _props);\n\n const {\n children,\n variant,\n duration,\n borderWidth,\n colorFrom,\n colorTo,\n size,\n radius,\n reverse,\n blur,\n delay,\n withMask,\n opacity,\n zIndex,\n anchor,\n show,\n animate,\n angle,\n\n classNames,\n style,\n styles,\n unstyled,\n vars,\n className,\n\n ...others\n } = props;\n\n const getStyles = useStyles<BorderAnimateFactory>({\n name: 'BorderAnimate',\n props,\n classes,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n });\n\n return (\n <Box ref={ref} {...getStyles('root')} {...others}>\n {show && (\n <Box\n {...getStyles('border', { variant })}\n variant={variant}\n data-with-mask={withMask}\n data-animate={animate}\n />\n )}\n {children}\n </Box>\n );\n});\n\nBorderAnimate.classes = classes;\nBorderAnimate.displayName = 'BorderAnimate';\n"],"names":["createVarsResolver","getRadius","getSize","getThemeColor","factory","useProps","useStyles","classes","Box"],"mappings":";;;;;;;AAYY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,YAAY,CAAA,CAAA,CAAG,CAAA;AAC5B,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA;AACjB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAE,CAAC,CAAA;AACb,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACnB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACd,CAAA,CAAE,CAAA,CAAA,CAAA,CAAI,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACZ,CAAA,CAAE,CAAA,CAAA,CAAA,CAAI,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACZ,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA;AACvB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA;AACrB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAA,CAAA,CAAA,C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,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA;AAChC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,cAAc,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACtB,CAAA,CAAA,CAAA,CAAA,CAAA;AACA,CAAA,CAAA,CAAG,CAAA,CAAE,QAAQ,CAAC,CAAA;AACd,CAAC,CAAA,CAAA;AACD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,CAAGD,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAO,CAAA;AAC/B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAa,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAe,CAAA;;;"}
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var classes = {"root":"me_4c17b6ba","border":"me_89b89404","border-animate-beam":"me_e9d4de44","border-animate-gradient":"me_d2bd6f45","border-animate-glow":"me_e9d74022","border-animate-pulse":"me_5193a3a4"};
5
+
6
+ module.exports = classes;
7
+ //# sourceMappingURL=BorderAnimate.module.css.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderAnimate.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var BorderAnimate = require('./BorderAnimate.cjs');
5
+
6
+
7
+
8
+ exports.BorderAnimate = BorderAnimate.BorderAnimate;
9
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,116 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { createVarsResolver, getSize, getThemeColor, getRadius, factory, useProps, useStyles, Box } from '@mantine/core';
4
+ import classes from './BorderAnimate.module.css.mjs';
5
+
6
+ const defaultProps = {
7
+ variant: "beam",
8
+ duration: 5,
9
+ borderWidth: "xs",
10
+ radius: "md",
11
+ size: "sm",
12
+ blur: "xs",
13
+ colorFrom: "yellow.6",
14
+ colorTo: "violet.6",
15
+ reverse: false,
16
+ delay: 0,
17
+ withMask: true,
18
+ zIndex: 1,
19
+ anchor: 0,
20
+ show: true,
21
+ animate: true,
22
+ angle: 0
23
+ };
24
+ const varsResolver = createVarsResolver(
25
+ (theme, {
26
+ duration,
27
+ reverse,
28
+ borderWidth,
29
+ colorFrom,
30
+ colorTo,
31
+ size,
32
+ delay,
33
+ blur,
34
+ opacity,
35
+ zIndex,
36
+ radius,
37
+ anchor,
38
+ angle
39
+ }) => {
40
+ return {
41
+ root: {
42
+ "--border-animate-radius": radius === void 0 ? void 0 : getRadius(radius)
43
+ },
44
+ border: {
45
+ "--border-animate-z-index": `${zIndex}`,
46
+ "--border-animate-duration": `${duration}s`,
47
+ "--border-animate-direction": reverse ? "reverse" : "normal",
48
+ "--border-animate-width": getSize(borderWidth, "border-animate-width"),
49
+ "--border-animate-size": getSize(size, "border-animate-size"),
50
+ "--border-animate-color-from": getThemeColor(colorFrom, theme),
51
+ "--border-animate-color-to": getThemeColor(colorTo, theme),
52
+ "--border-animate-delay": `-${delay}s`,
53
+ "--border-animate-blur": getSize(blur, "border-animate-blur"),
54
+ "--border-animate-opacity": `${opacity ?? 1}`,
55
+ "--border-animate-anchor": `${anchor ?? 0}`,
56
+ "--border-animate-static-angle": `${angle ?? 0}`
57
+ }
58
+ };
59
+ }
60
+ );
61
+ const BorderAnimate = factory((_props, ref) => {
62
+ const props = useProps("BorderAnimate", defaultProps, _props);
63
+ const {
64
+ children,
65
+ variant,
66
+ duration,
67
+ borderWidth,
68
+ colorFrom,
69
+ colorTo,
70
+ size,
71
+ radius,
72
+ reverse,
73
+ blur,
74
+ delay,
75
+ withMask,
76
+ opacity,
77
+ zIndex,
78
+ anchor,
79
+ show,
80
+ animate,
81
+ angle,
82
+ classNames,
83
+ style,
84
+ styles,
85
+ unstyled,
86
+ vars,
87
+ className,
88
+ ...others
89
+ } = props;
90
+ const getStyles = useStyles({
91
+ name: "BorderAnimate",
92
+ props,
93
+ classes,
94
+ className,
95
+ style,
96
+ classNames,
97
+ styles,
98
+ unstyled,
99
+ vars,
100
+ varsResolver
101
+ });
102
+ return /* @__PURE__ */ React.createElement(Box, { ref, ...getStyles("root"), ...others }, show && /* @__PURE__ */ React.createElement(
103
+ Box,
104
+ {
105
+ ...getStyles("border", { variant }),
106
+ variant,
107
+ "data-with-mask": withMask,
108
+ "data-animate": animate
109
+ }
110
+ ), children);
111
+ });
112
+ BorderAnimate.classes = classes;
113
+ BorderAnimate.displayName = "BorderAnimate";
114
+
115
+ export { BorderAnimate, defaultProps };
116
+ //# sourceMappingURL=BorderAnimate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderAnimate.mjs","sources":["../../src/BorderAnimate.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Box,\n createVarsResolver,\n Factory,\n factory,\n getRadius,\n getSize,\n getThemeColor,\n StylesApiProps,\n useProps,\n useStyles,\n type BoxProps,\n type MantineColor,\n type MantineRadius,\n type MantineSize,\n} from '@mantine/core';\nimport classes from './BorderAnimate.module.css';\n\n/** Available border animation variants */\nexport type BorderAnimateVariant = 'beam' | 'glow' | 'gradient' | 'pulse';\n\nexport type BorderAnimateStylesNames = 'root' | 'border';\n\nexport type BorderAnimateCssVariables = {\n root: '--border-animate-radius';\n border:\n | '--border-animate-z-index'\n | '--border-animate-duration'\n | '--border-animate-direction'\n | '--border-animate-width'\n | '--border-animate-size'\n | '--border-animate-color-from'\n | '--border-animate-color-to'\n | '--border-animate-delay'\n | '--border-animate-blur'\n | '--border-animate-opacity'\n | '--border-animate-anchor'\n | '--border-animate-static-angle';\n};\n\nexport interface BorderAnimateBaseProps {\n children?: React.ReactNode;\n\n /** Animation variant type\n * @default 'beam'\n */\n variant?: BorderAnimateVariant;\n\n /** Animation duration in seconds\n * @default 5\n */\n duration?: number;\n\n /** Border width\n * @default 'xs'\n */\n borderWidth?: MantineSize | (string & {}) | number;\n\n /** Starting color of the gradient\n * @default 'yellow.6'\n */\n colorFrom?: MantineColor;\n\n /** Ending color of the gradient\n * @default 'violet.6'\n */\n colorTo?: MantineColor;\n\n /** Size of the beam/glow (only for beam effect)\n * @default 'sm'\n */\n size?: MantineSize | (string & {}) | number;\n\n /** Border radius\n * @default 'md'\n */\n radius?: MantineRadius | (string & {}) | number;\n\n /** Reverse the animation direction\n * @default false\n */\n reverse?: boolean;\n\n /** Blur amount for the effect\n * @default 'xs'\n */\n blur?: MantineSize | (string & {}) | number;\n\n /** Animation delay in seconds\n * @default 0\n */\n delay?: number;\n\n /** Show/hide the mask that clips the effect to the border\n * @default true\n */\n withMask?: boolean;\n\n /** z-index of the border element\n * @default 1\n */\n zIndex?: number;\n\n /** Controls how far inward the beam follows the border path (in pixels).\n * 0 = follows the outer edge, positive values move the path inward.\n * @default 0\n */\n anchor?: number;\n\n /** Show/hide the animated border\n * @default true\n */\n show?: boolean;\n\n /** Enable/disable the animation\n * @default true\n */\n animate?: boolean;\n\n /** Initial angle/position when animate is false (0-360 degrees).\n * For beam variant: controls the position along the border path.\n * For gradient/glow/pulse variants: controls the gradient angle.\n * @default 0\n */\n angle?: number;\n}\n\nexport interface BorderAnimateProps\n extends BoxProps, BorderAnimateBaseProps, Omit<StylesApiProps<BorderAnimateFactory>, 'variant'> {}\n\nexport type BorderAnimateFactory = Factory<{\n props: BorderAnimateProps;\n ref: HTMLDivElement;\n stylesNames: BorderAnimateStylesNames;\n variant: BorderAnimateVariant;\n vars: BorderAnimateCssVariables;\n}>;\n\nexport const defaultProps: Partial<BorderAnimateProps> = {\n variant: 'beam',\n duration: 5,\n borderWidth: 'xs',\n radius: 'md',\n size: 'sm',\n blur: 'xs',\n colorFrom: 'yellow.6',\n colorTo: 'violet.6',\n reverse: false,\n delay: 0,\n withMask: true,\n zIndex: 1,\n anchor: 0,\n show: true,\n animate: true,\n angle: 0,\n};\n\nconst varsResolver = createVarsResolver<BorderAnimateFactory>(\n (\n theme,\n {\n duration,\n reverse,\n borderWidth,\n colorFrom,\n colorTo,\n size,\n delay,\n blur,\n opacity,\n zIndex,\n radius,\n anchor,\n angle,\n }\n ) => {\n return {\n root: {\n '--border-animate-radius': radius === undefined ? undefined : getRadius(radius),\n },\n border: {\n '--border-animate-z-index': `${zIndex}`,\n '--border-animate-duration': `${duration}s`,\n '--border-animate-direction': reverse ? 'reverse' : 'normal',\n '--border-animate-width': getSize(borderWidth, 'border-animate-width'),\n '--border-animate-size': getSize(size, 'border-animate-size'),\n '--border-animate-color-from': getThemeColor(colorFrom, theme),\n '--border-animate-color-to': getThemeColor(colorTo, theme),\n '--border-animate-delay': `-${delay}s`,\n '--border-animate-blur': getSize(blur, 'border-animate-blur'),\n '--border-animate-opacity': `${opacity ?? 1}`,\n '--border-animate-anchor': `${anchor ?? 0}`,\n '--border-animate-static-angle': `${angle ?? 0}`,\n },\n };\n }\n);\n\nexport const BorderAnimate = factory<BorderAnimateFactory>((_props, ref) => {\n const props = useProps('BorderAnimate', defaultProps, _props);\n\n const {\n children,\n variant,\n duration,\n borderWidth,\n colorFrom,\n colorTo,\n size,\n radius,\n reverse,\n blur,\n delay,\n withMask,\n opacity,\n zIndex,\n anchor,\n show,\n animate,\n angle,\n\n classNames,\n style,\n styles,\n unstyled,\n vars,\n className,\n\n ...others\n } = props;\n\n const getStyles = useStyles<BorderAnimateFactory>({\n name: 'BorderAnimate',\n props,\n classes,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n varsResolver,\n });\n\n return (\n <Box ref={ref} {...getStyles('root')} {...others}>\n {show && (\n <Box\n {...getStyles('border', { variant })}\n variant={variant}\n data-with-mask={withMask}\n data-animate={animate}\n />\n )}\n {children}\n </Box>\n );\n});\n\nBorderAnimate.classes = classes;\nBorderAnimate.displayName = 'BorderAnimate';\n"],"names":[],"mappings":";;;;;AAYY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,YAAY,CAAA,CAAA,CAAG,CAAA;AAC5B,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA;AACjB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,EAAE,CAAC,CAAA;AACb,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACnB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACd,CAAA,CAAE,CAAA,CAAA,CAAA,CAAI,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACZ,CAAA,CAAE,CAAA,CAAA,CAAA,CAAI,EAAE,CAAA,CAAA,CAAA,CAAI,CAAA;AACZ,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA;AACvB,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA;AACrB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AA,CAAA,CAAA,CAAW,CAAA,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAe,CAAA;;"}
@@ -0,0 +1,5 @@
1
+ 'use client';
2
+ var classes = {"root":"me_4c17b6ba","border":"me_89b89404","border-animate-beam":"me_e9d4de44","border-animate-gradient":"me_d2bd6f45","border-animate-glow":"me_e9d74022","border-animate-pulse":"me_5193a3a4"};
3
+
4
+ export { classes as default };
5
+ //# sourceMappingURL=BorderAnimate.module.css.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderAnimate.module.css.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,2 @@
1
+ export { BorderAnimate } from './BorderAnimate.mjs';
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ @keyframes me_e9d4de44{0%{offset-distance:0}to{offset-distance:100%}}@keyframes me_e9d74022{0%,to{filter:blur(var(--border-animate-blur));opacity:0}50%{filter:blur(calc(var(--border-animate-blur)*5));opacity:var(--border-animate-opacity)}}@keyframes me_5193a3a4{0%,to{opacity:var(--border-animate-opacity,1);transform:scale(1)}50%{opacity:0;transform:scale(1.02)}}@keyframes me_d2bd6f45{0%{--border-animate-angle:0deg}to{--border-animate-angle:360deg}}.me_4c17b6ba{border-radius:calc(var(--border-animate-radius));display:flex;position:relative}.me_89b89404{--border-animate-size-xs:64px;--border-animate-size-sm:128px;--border-animate-size-md:256px;--border-animate-size-lg:320px;--border-animate-size-xl:480px;--border-animate-width-xs:1px;--border-animate-width-sm:2px;--border-animate-width-md:4px;--border-animate-width-lg:6px;--border-animate-width-xl:8px;--border-animate-blur-xs:2px;--border-animate-blur-sm:4px;--border-animate-blur-md:8px;--border-animate-blur-lg:16px;--border-animate-blur-xl:32px;--border-animate-size:var(--border-animate-size-md);--border-animate-width:var(--border-animate-width-xs);border:calc(var(--border-animate-width)) solid transparent;border-radius:inherit;inset:0;opacity:var(--border-animate-opacity,1);pointer-events:none;position:absolute;z-index:var(--border-animate-z-index,1)}.me_89b89404[data-variant=glow]{z-index:-1}.me_89b89404[data-with-mask=true]:not([data-variant=glow]){mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor}.me_89b89404[data-animate=false][data-variant=beam]:after{offset-distance:calc(var(--border-animate-static-angle)/360*100%)}.me_89b89404[data-animate=false][data-variant=gradient]:after{--border-animate-angle:calc(var(--border-animate-static-angle)*1deg)}.me_89b89404[data-animate=false],.me_89b89404[data-animate=false]:after{animation:none!important}.me_89b89404[data-variant=beam]:after{animation:me_e9d4de44 var(--border-animate-duration,5s) linear infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);aspect-ratio:1;background:radial-gradient(ellipse at center,var(--border-animate-color-from) 0,var(--border-animate-color-to) 40%,transparent 70%);content:"";filter:blur(var(--border-animate-blur));offset-anchor:50% 50%;offset-path:rect(calc(var(--border-animate-anchor, 0)*1px) calc(100% - var(--border-animate-anchor, 0)*1px) calc(100% - var(--border-animate-anchor, 0)*1px) calc(var(--border-animate-anchor, 0)*1px) round calc(var(--border-animate-radius)));position:absolute;width:calc(var(--border-animate-size))}@property --border-animate-angle{syntax:"<angle>";initial-value:0deg;inherits:false}.me_89b89404[data-variant=gradient]:after{animation:me_d2bd6f45 var(--border-animate-duration,3s) linear infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:conic-gradient(from var(--border-animate-angle,0deg),var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from))}.me_89b89404[data-variant=glow]:after,.me_89b89404[data-variant=gradient]:after{border-radius:inherit;content:"";filter:blur(var(--border-animate-blur));inset:-1px;position:absolute}.me_89b89404[data-variant=glow]:after{animation:me_e9d74022 var(--border-animate-duration,2s) ease-in-out infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:linear-gradient(90deg,var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from))}.me_89b89404[data-variant=pulse]:after{animation:me_5193a3a4 var(--border-animate-duration,2s) ease-in-out infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:linear-gradient(90deg,var(--border-animate-color-from),var(--border-animate-color-to));border-radius:inherit;content:"";filter:blur(var(--border-animate-blur));inset:-1px;position:absolute;transform-origin:center}.me_89b89404[data-animate=false][data-variant=glow]:after{background:linear-gradient(calc(var(--border-animate-static-angle)*1deg),var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from));opacity:var(--border-animate-opacity)}.me_89b89404[data-animate=false][data-variant=pulse]:after{background:linear-gradient(calc(var(--border-animate-static-angle)*1deg),var(--border-animate-color-from),var(--border-animate-color-to))}
@@ -0,0 +1 @@
1
+ @layer mantine-border-animate {@keyframes me_e9d4de44{0%{offset-distance:0}to{offset-distance:100%}}@keyframes me_e9d74022{0%,to{filter:blur(var(--border-animate-blur));opacity:0}50%{filter:blur(calc(var(--border-animate-blur)*5));opacity:var(--border-animate-opacity)}}@keyframes me_5193a3a4{0%,to{opacity:var(--border-animate-opacity,1);transform:scale(1)}50%{opacity:0;transform:scale(1.02)}}@keyframes me_d2bd6f45{0%{--border-animate-angle:0deg}to{--border-animate-angle:360deg}}.me_4c17b6ba{border-radius:calc(var(--border-animate-radius));display:flex;position:relative}.me_89b89404{--border-animate-size-xs:64px;--border-animate-size-sm:128px;--border-animate-size-md:256px;--border-animate-size-lg:320px;--border-animate-size-xl:480px;--border-animate-width-xs:1px;--border-animate-width-sm:2px;--border-animate-width-md:4px;--border-animate-width-lg:6px;--border-animate-width-xl:8px;--border-animate-blur-xs:2px;--border-animate-blur-sm:4px;--border-animate-blur-md:8px;--border-animate-blur-lg:16px;--border-animate-blur-xl:32px;--border-animate-size:var(--border-animate-size-md);--border-animate-width:var(--border-animate-width-xs);border:calc(var(--border-animate-width)) solid transparent;border-radius:inherit;inset:0;opacity:var(--border-animate-opacity,1);pointer-events:none;position:absolute;z-index:var(--border-animate-z-index,1)}.me_89b89404[data-variant=glow]{z-index:-1}.me_89b89404[data-with-mask=true]:not([data-variant=glow]){mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor}.me_89b89404[data-animate=false][data-variant=beam]:after{offset-distance:calc(var(--border-animate-static-angle)/360*100%)}.me_89b89404[data-animate=false][data-variant=gradient]:after{--border-animate-angle:calc(var(--border-animate-static-angle)*1deg)}.me_89b89404[data-animate=false],.me_89b89404[data-animate=false]:after{animation:none!important}.me_89b89404[data-variant=beam]:after{animation:me_e9d4de44 var(--border-animate-duration,5s) linear infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);aspect-ratio:1;background:radial-gradient(ellipse at center,var(--border-animate-color-from) 0,var(--border-animate-color-to) 40%,transparent 70%);content:"";filter:blur(var(--border-animate-blur));offset-anchor:50% 50%;offset-path:rect(calc(var(--border-animate-anchor, 0)*1px) calc(100% - var(--border-animate-anchor, 0)*1px) calc(100% - var(--border-animate-anchor, 0)*1px) calc(var(--border-animate-anchor, 0)*1px) round calc(var(--border-animate-radius)));position:absolute;width:calc(var(--border-animate-size))}@property --border-animate-angle{syntax:"<angle>";initial-value:0deg;inherits:false}.me_89b89404[data-variant=gradient]:after{animation:me_d2bd6f45 var(--border-animate-duration,3s) linear infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:conic-gradient(from var(--border-animate-angle,0deg),var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from))}.me_89b89404[data-variant=glow]:after,.me_89b89404[data-variant=gradient]:after{border-radius:inherit;content:"";filter:blur(var(--border-animate-blur));inset:-1px;position:absolute}.me_89b89404[data-variant=glow]:after{animation:me_e9d74022 var(--border-animate-duration,2s) ease-in-out infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:linear-gradient(90deg,var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from))}.me_89b89404[data-variant=pulse]:after{animation:me_5193a3a4 var(--border-animate-duration,2s) ease-in-out infinite var(--border-animate-direction,normal);animation-delay:var(--border-animate-delay,0s);background:linear-gradient(90deg,var(--border-animate-color-from),var(--border-animate-color-to));border-radius:inherit;content:"";filter:blur(var(--border-animate-blur));inset:-1px;position:absolute;transform-origin:center}.me_89b89404[data-animate=false][data-variant=glow]:after{background:linear-gradient(calc(var(--border-animate-static-angle)*1deg),var(--border-animate-color-from),var(--border-animate-color-to),var(--border-animate-color-from));opacity:var(--border-animate-opacity)}.me_89b89404[data-animate=false][data-variant=pulse]:after{background:linear-gradient(calc(var(--border-animate-static-angle)*1deg),var(--border-animate-color-from),var(--border-animate-color-to))}}
@@ -0,0 +1,96 @@
1
+ import React from 'react';
2
+ import { Factory, StylesApiProps, type BoxProps, type MantineColor, type MantineRadius, type MantineSize } from '@mantine/core';
3
+ /** Available border animation variants */
4
+ export type BorderAnimateVariant = 'beam' | 'glow' | 'gradient' | 'pulse';
5
+ export type BorderAnimateStylesNames = 'root' | 'border';
6
+ export type BorderAnimateCssVariables = {
7
+ root: '--border-animate-radius';
8
+ border: '--border-animate-z-index' | '--border-animate-duration' | '--border-animate-direction' | '--border-animate-width' | '--border-animate-size' | '--border-animate-color-from' | '--border-animate-color-to' | '--border-animate-delay' | '--border-animate-blur' | '--border-animate-opacity' | '--border-animate-anchor' | '--border-animate-static-angle';
9
+ };
10
+ export interface BorderAnimateBaseProps {
11
+ children?: React.ReactNode;
12
+ /** Animation variant type
13
+ * @default 'beam'
14
+ */
15
+ variant?: BorderAnimateVariant;
16
+ /** Animation duration in seconds
17
+ * @default 5
18
+ */
19
+ duration?: number;
20
+ /** Border width
21
+ * @default 'xs'
22
+ */
23
+ borderWidth?: MantineSize | (string & {}) | number;
24
+ /** Starting color of the gradient
25
+ * @default 'yellow.6'
26
+ */
27
+ colorFrom?: MantineColor;
28
+ /** Ending color of the gradient
29
+ * @default 'violet.6'
30
+ */
31
+ colorTo?: MantineColor;
32
+ /** Size of the beam/glow (only for beam effect)
33
+ * @default 'sm'
34
+ */
35
+ size?: MantineSize | (string & {}) | number;
36
+ /** Border radius
37
+ * @default 'md'
38
+ */
39
+ radius?: MantineRadius | (string & {}) | number;
40
+ /** Reverse the animation direction
41
+ * @default false
42
+ */
43
+ reverse?: boolean;
44
+ /** Blur amount for the effect
45
+ * @default 'xs'
46
+ */
47
+ blur?: MantineSize | (string & {}) | number;
48
+ /** Animation delay in seconds
49
+ * @default 0
50
+ */
51
+ delay?: number;
52
+ /** Show/hide the mask that clips the effect to the border
53
+ * @default true
54
+ */
55
+ withMask?: boolean;
56
+ /** z-index of the border element
57
+ * @default 1
58
+ */
59
+ zIndex?: number;
60
+ /** Controls how far inward the beam follows the border path (in pixels).
61
+ * 0 = follows the outer edge, positive values move the path inward.
62
+ * @default 0
63
+ */
64
+ anchor?: number;
65
+ /** Show/hide the animated border
66
+ * @default true
67
+ */
68
+ show?: boolean;
69
+ /** Enable/disable the animation
70
+ * @default true
71
+ */
72
+ animate?: boolean;
73
+ /** Initial angle/position when animate is false (0-360 degrees).
74
+ * For beam variant: controls the position along the border path.
75
+ * For gradient/glow/pulse variants: controls the gradient angle.
76
+ * @default 0
77
+ */
78
+ angle?: number;
79
+ }
80
+ export interface BorderAnimateProps extends BoxProps, BorderAnimateBaseProps, Omit<StylesApiProps<BorderAnimateFactory>, 'variant'> {
81
+ }
82
+ export type BorderAnimateFactory = Factory<{
83
+ props: BorderAnimateProps;
84
+ ref: HTMLDivElement;
85
+ stylesNames: BorderAnimateStylesNames;
86
+ variant: BorderAnimateVariant;
87
+ vars: BorderAnimateCssVariables;
88
+ }>;
89
+ export declare const defaultProps: Partial<BorderAnimateProps>;
90
+ export declare const BorderAnimate: import("@mantine/core").MantineComponent<{
91
+ props: BorderAnimateProps;
92
+ ref: HTMLDivElement;
93
+ stylesNames: BorderAnimateStylesNames;
94
+ variant: BorderAnimateVariant;
95
+ vars: BorderAnimateCssVariables;
96
+ }>;
@@ -0,0 +1,2 @@
1
+ export { BorderAnimate } from './BorderAnimate';
2
+ export type { BorderAnimateBaseProps, BorderAnimateCssVariables, BorderAnimateFactory, BorderAnimateProps, BorderAnimateStylesNames, } from './BorderAnimate';
@@ -0,0 +1,2 @@
1
+ export { BorderAnimate } from './BorderAnimate';
2
+ export type { BorderAnimateBaseProps, BorderAnimateCssVariables, BorderAnimateFactory, BorderAnimateProps, BorderAnimateStylesNames, } from './BorderAnimate';
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@gfazioli/mantine-border-animate",
3
+ "version": "0.2.0",
4
+ "description": "Mantine component offering four border animation variants (beam, glow, gradient, pulse) with customizable colors and full animation control, perfect for creating dynamic, visually engaging UI elements.",
5
+ "homepage": "https://gfazioli.github.io/mantine-border-animate/",
6
+ "packageManager": "yarn@4.0.1",
7
+ "license": "MIT",
8
+ "author": "Giovambattista Fazioli <giovambattista.fazioli@gmail.com>",
9
+ "keywords": [
10
+ "extension",
11
+ "border-animate",
12
+ "json-view",
13
+ "mantine",
14
+ "react",
15
+ "react-component",
16
+ "typescript"
17
+ ],
18
+ "main": "./dist/cjs/index.cjs",
19
+ "module": "./dist/esm/index.mjs",
20
+ "types": "./dist/types/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "import": {
24
+ "types": "./dist/types/index.d.mts",
25
+ "default": "./dist/esm/index.mjs"
26
+ },
27
+ "require": {
28
+ "types": "./dist/types/index.d.ts",
29
+ "default": "./dist/cjs/index.cjs"
30
+ }
31
+ },
32
+ "./styles.css": "./dist/styles.css",
33
+ "./styles.layer.css": "./dist/styles.layer.css"
34
+ },
35
+ "repository": "https://github.com/gfazioli/mantine-border-animate.git",
36
+ "peerDependencies": {
37
+ "@mantine/core": ">=7.0.0",
38
+ "@mantine/hooks": ">=7.0.0",
39
+ "@tabler/icons-react": "^3.34.0",
40
+ "react": "^18.x || ^19.x",
41
+ "react-dom": "^18.x || ^19.x"
42
+ },
43
+ "bugs": "https://github.com/gfazioli/mantine-border-animate/issues"
44
+ }