@alexandretav/aleui 1.1.2 → 1.1.3
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/package.json
CHANGED
|
@@ -39,10 +39,8 @@ export const AeroBubble: React.FC<AeroBubbleProps> = ({
|
|
|
39
39
|
${className}
|
|
40
40
|
`}
|
|
41
41
|
>
|
|
42
|
-
{/* Shine effect */}
|
|
43
42
|
<div className="absolute inset-0 bg-gradient-to-br from-white/40 via-transparent to-transparent rounded-full"></div>
|
|
44
43
|
|
|
45
|
-
{/* Inner glow */}
|
|
46
44
|
<div className="absolute bottom-2 right-2 w-1/3 h-1/3 bg-white/30 rounded-full blur-md"></div>
|
|
47
45
|
</div>
|
|
48
46
|
);
|
|
@@ -17,7 +17,7 @@ const sizeClasses = {
|
|
|
17
17
|
lg: 'px-8 py-4 text-lg',
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
interface ShinyButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
20
|
+
export interface ShinyButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
21
21
|
size?: 'sm' | 'md' | 'lg';
|
|
22
22
|
fullWidth?: boolean;
|
|
23
23
|
children: React.ReactNode;
|
|
@@ -54,7 +54,6 @@ export const ShinyButton: React.FC<ShinyButtonProps> = ({
|
|
|
54
54
|
className,
|
|
55
55
|
)}
|
|
56
56
|
>
|
|
57
|
-
{/* Shine effect */}
|
|
58
57
|
<motion.span
|
|
59
58
|
className="absolute inset-0 z-0"
|
|
60
59
|
animate={{
|
|
@@ -71,10 +70,8 @@ export const ShinyButton: React.FC<ShinyButtonProps> = ({
|
|
|
71
70
|
}}
|
|
72
71
|
/>
|
|
73
72
|
|
|
74
|
-
{/* Inner glow */}
|
|
75
73
|
<span className="absolute inset-0 bg-gradient-to-t from-transparent via-white/5 to-white/10 z-0" />
|
|
76
74
|
|
|
77
|
-
{/* Text */}
|
|
78
75
|
<span className="relative z-10 text-white font-semibold drop-shadow-[0_2px_8px_rgba(0,0,0,0.5)]">
|
|
79
76
|
{children}
|
|
80
77
|
</span>
|
package/src/components/index.ts
CHANGED
|
@@ -18,6 +18,15 @@ export type { ModalProps } from './modal';
|
|
|
18
18
|
export { AeroBubble } from './aero-bubble';
|
|
19
19
|
export type { AeroBubbleProps } from './aero-bubble';
|
|
20
20
|
|
|
21
|
+
export { AeroButton, ShinyButton } from './aero-button';
|
|
22
|
+
export type { AeroButtonProps, ShinyButtonProps } from './aero-button';
|
|
23
|
+
|
|
24
|
+
export { AeroCard } from './aero-card';
|
|
25
|
+
export type { AeroCardProps } from './aero-card';
|
|
26
|
+
|
|
27
|
+
export { AeroInput } from './aero-input';
|
|
28
|
+
export type { AeroInputProps } from './aero-input';
|
|
29
|
+
|
|
21
30
|
export { Accordion } from './accordion';
|
|
22
31
|
export type { AccordionProps, AccordionItemProps } from './accordion';
|
|
23
32
|
|
|
@@ -35,10 +35,8 @@ export const Modal: React.FC<ModalProps> = ({
|
|
|
35
35
|
className="fixed inset-0 z-50 flex items-center justify-center p-4 animate-fadeIn"
|
|
36
36
|
onClick={onClose}
|
|
37
37
|
>
|
|
38
|
-
{/* Backdrop */}
|
|
39
38
|
<div className="absolute inset-0 bg-black/50 backdrop-blur-sm" />
|
|
40
39
|
|
|
41
|
-
{/* Modal */}
|
|
42
40
|
<div
|
|
43
41
|
className={`
|
|
44
42
|
${glassClasses}
|
|
@@ -48,7 +46,6 @@ export const Modal: React.FC<ModalProps> = ({
|
|
|
48
46
|
`}
|
|
49
47
|
onClick={(e) => e.stopPropagation()}
|
|
50
48
|
>
|
|
51
|
-
{/* Header */}
|
|
52
49
|
{title && (
|
|
53
50
|
<div className="flex items-center justify-between mb-4">
|
|
54
51
|
<h2 className="text-2xl font-bold text-white">{title}</h2>
|
|
@@ -72,7 +69,6 @@ export const Modal: React.FC<ModalProps> = ({
|
|
|
72
69
|
</div>
|
|
73
70
|
)}
|
|
74
71
|
|
|
75
|
-
{/* Content */}
|
|
76
72
|
<div className="text-white">{children}</div>
|
|
77
73
|
</div>
|
|
78
74
|
</div>
|