@zentauri-ui/zentauri-components 0.0.84 → 0.0.92
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 +47 -29
- package/dist/chunk-BZSIXBA7.js +70 -0
- package/dist/chunk-BZSIXBA7.js.map +1 -0
- package/dist/chunk-E5UX537J.js +11 -0
- package/dist/chunk-E5UX537J.js.map +1 -0
- package/dist/chunk-MEWYFWBX.mjs +14 -0
- package/dist/chunk-MEWYFWBX.mjs.map +1 -0
- package/dist/chunk-VJHD7QZH.mjs +73 -0
- package/dist/chunk-VJHD7QZH.mjs.map +1 -0
- package/dist/ui/accordion.d.mts +70 -0
- package/dist/ui/accordion.d.ts +70 -0
- package/dist/ui/accordion.js +280 -0
- package/dist/ui/accordion.js.map +1 -0
- package/dist/ui/accordion.mjs +282 -0
- package/dist/ui/accordion.mjs.map +1 -0
- package/dist/ui/alert.d.mts +66 -0
- package/dist/ui/alert.d.ts +66 -0
- package/dist/ui/alert.js +218 -0
- package/dist/ui/alert.js.map +1 -0
- package/dist/ui/alert.mjs +220 -0
- package/dist/ui/alert.mjs.map +1 -0
- package/dist/ui/badge.d.mts +37 -0
- package/dist/ui/badge.d.ts +37 -0
- package/dist/ui/badge.js +159 -0
- package/dist/ui/badge.js.map +1 -0
- package/dist/ui/badge.mjs +161 -0
- package/dist/ui/badge.mjs.map +1 -0
- package/dist/ui/buttons.d.mts +27 -0
- package/dist/ui/buttons.d.ts +27 -0
- package/dist/ui/buttons.js +107 -0
- package/dist/ui/buttons.js.map +1 -0
- package/dist/ui/buttons.mjs +109 -0
- package/dist/ui/buttons.mjs.map +1 -0
- package/dist/ui/card.d.mts +77 -0
- package/dist/ui/card.d.ts +77 -0
- package/dist/ui/card.js +252 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/card.mjs +254 -0
- package/dist/ui/card.mjs.map +1 -0
- package/dist/ui/divider.d.mts +39 -0
- package/dist/ui/divider.d.ts +39 -0
- package/dist/ui/divider.js +194 -0
- package/dist/ui/divider.js.map +1 -0
- package/dist/ui/divider.mjs +196 -0
- package/dist/ui/divider.mjs.map +1 -0
- package/dist/ui/drawer.d.mts +81 -0
- package/dist/ui/drawer.d.ts +81 -0
- package/dist/ui/drawer.js +377 -0
- package/dist/ui/drawer.js.map +1 -0
- package/dist/ui/drawer.mjs +379 -0
- package/dist/ui/drawer.mjs.map +1 -0
- package/dist/ui/dropdown.d.mts +50 -0
- package/dist/ui/dropdown.d.ts +50 -0
- package/dist/ui/dropdown.js +272 -0
- package/dist/ui/dropdown.js.map +1 -0
- package/dist/ui/dropdown.mjs +274 -0
- package/dist/ui/dropdown.mjs.map +1 -0
- package/dist/ui/empty-state.d.mts +55 -0
- package/dist/ui/empty-state.d.ts +55 -0
- package/dist/ui/empty-state.js +148 -0
- package/dist/ui/empty-state.js.map +1 -0
- package/dist/ui/empty-state.mjs +150 -0
- package/dist/ui/empty-state.mjs.map +1 -0
- package/dist/ui/inputs.d.mts +35 -0
- package/dist/ui/inputs.d.ts +35 -0
- package/dist/ui/inputs.js +426 -0
- package/dist/ui/inputs.js.map +1 -0
- package/dist/ui/inputs.mjs +428 -0
- package/dist/ui/inputs.mjs.map +1 -0
- package/dist/ui/modal.d.mts +84 -0
- package/dist/ui/modal.d.ts +84 -0
- package/dist/ui/modal.js +378 -0
- package/dist/ui/modal.js.map +1 -0
- package/dist/ui/modal.mjs +380 -0
- package/dist/ui/modal.mjs.map +1 -0
- package/dist/ui/pagination.d.mts +114 -0
- package/dist/ui/pagination.d.ts +114 -0
- package/dist/ui/pagination.js +425 -0
- package/dist/ui/pagination.js.map +1 -0
- package/dist/ui/pagination.mjs +427 -0
- package/dist/ui/pagination.mjs.map +1 -0
- package/dist/ui/progress.d.mts +61 -0
- package/dist/ui/progress.d.ts +61 -0
- package/dist/ui/progress.js +231 -0
- package/dist/ui/progress.js.map +1 -0
- package/dist/ui/progress.mjs +233 -0
- package/dist/ui/progress.mjs.map +1 -0
- package/dist/ui/select.d.mts +73 -0
- package/dist/ui/select.d.ts +73 -0
- package/dist/ui/select.js +321 -0
- package/dist/ui/select.js.map +1 -0
- package/dist/ui/select.mjs +323 -0
- package/dist/ui/select.mjs.map +1 -0
- package/dist/ui/skeleton.d.mts +90 -0
- package/dist/ui/skeleton.d.ts +90 -0
- package/dist/ui/skeleton.js +538 -0
- package/dist/ui/skeleton.js.map +1 -0
- package/dist/ui/skeleton.mjs +540 -0
- package/dist/ui/skeleton.mjs.map +1 -0
- package/dist/ui/spinner.d.mts +27 -0
- package/dist/ui/spinner.d.ts +27 -0
- package/dist/ui/spinner.js +187 -0
- package/dist/ui/spinner.js.map +1 -0
- package/dist/ui/spinner.mjs +189 -0
- package/dist/ui/spinner.mjs.map +1 -0
- package/dist/ui/table.d.mts +81 -0
- package/dist/ui/table.d.ts +81 -0
- package/dist/ui/table.js +287 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/table.mjs +289 -0
- package/dist/ui/table.mjs.map +1 -0
- package/dist/ui/tabs.d.mts +58 -0
- package/dist/ui/tabs.d.ts +58 -0
- package/dist/ui/tabs.js +268 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/tabs.mjs +270 -0
- package/dist/ui/tabs.mjs.map +1 -0
- package/dist/ui/toast.d.mts +86 -0
- package/dist/ui/toast.d.ts +86 -0
- package/dist/ui/toast.js +252 -0
- package/dist/ui/toast.js.map +1 -0
- package/dist/ui/toast.mjs +254 -0
- package/dist/ui/toast.mjs.map +1 -0
- package/dist/ui/toggle.d.mts +37 -0
- package/dist/ui/toggle.d.ts +37 -0
- package/dist/ui/toggle.js +152 -0
- package/dist/ui/toggle.js.map +1 -0
- package/dist/ui/toggle.mjs +154 -0
- package/dist/ui/toggle.mjs.map +1 -0
- package/dist/ui/tooltip.d.mts +46 -0
- package/dist/ui/tooltip.d.ts +46 -0
- package/dist/ui/tooltip.js +208 -0
- package/dist/ui/tooltip.js.map +1 -0
- package/dist/ui/tooltip.mjs +210 -0
- package/dist/ui/tooltip.mjs.map +1 -0
- package/dist/variants-Dd9pe-ov.d.mts +8 -0
- package/dist/variants-Dd9pe-ov.d.ts +8 -0
- package/package.json +15 -14
- package/dist/ui/index.cjs +0 -5764
- package/dist/ui/index.cjs.map +0 -1
- package/dist/ui/index.d.cts +0 -1164
- package/dist/ui/index.d.ts +0 -1164
- package/dist/ui/index.js +0 -5626
- package/dist/ui/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/ui/buttons/button.tsx","../../src/ui/buttons/animations.ts"],"sourcesContent":["\"use client\";\n\nimport { motion } from \"framer-motion\";\n\nimport { cn } from \"../../lib/utils\";\nimport type { ButtonProps } from \"./types\";\nimport { buttonAnimationPresets } from \"./animations\";\nimport { buttonVariants } from \"./variants\";\n\nexport const Button = (props: ButtonProps) => {\n if (props.as === \"link\") {\n const {\n className,\n appearance,\n size,\n children,\n ref,\n href,\n target,\n animation = \"none\",\n ...rest\n } = props;\n const motionProps = buttonAnimationPresets[animation];\n\n return (\n <motion.a\n ref={ref}\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noopener noreferrer\" : undefined}\n data-slot=\"button\"\n className={cn(buttonVariants({ appearance, size }), className)}\n initial={false}\n {...motionProps}\n {...rest}\n >\n {children}\n </motion.a>\n );\n }\n\n const {\n className,\n appearance,\n size,\n type = \"button\",\n children,\n ref,\n animation = \"none\",\n ...rest\n } = props;\n const motionProps = buttonAnimationPresets[animation];\n\n return (\n <motion.button\n ref={ref}\n type={type}\n data-slot=\"button\"\n className={cn(buttonVariants({ appearance, size }), className)}\n initial={false}\n {...motionProps}\n {...rest}\n >\n {children}\n </motion.button>\n );\n};\n\nButton.displayName = \"Button\";\n","import type { AnimationPresets } from \"./types\";\n\nexport const buttonAnimationPresets: AnimationPresets = {\n none: {},\n lift: {\n whileHover: { y: -2, scale: 1.02 },\n whileTap: { y: 0, scale: 0.98 },\n transition: { type: \"spring\", stiffness: 420, damping: 28 },\n },\n press: {\n whileTap: { scale: 0.96 },\n transition: { type: \"spring\", stiffness: 520, damping: 30 },\n },\n glow: {\n whileHover: {\n boxShadow:\n \"0 0 0 1px rgba(255,255,255,0.25), 0 18px 42px rgba(15,23,42,0.35)\",\n scale: 1.01,\n },\n whileTap: { scale: 0.98 },\n transition: { duration: 0.2, ease: \"easeOut\" },\n },\n tilt: {\n whileHover: { rotateX: 6, rotateY: -6, scale: 1.01 },\n whileTap: { scale: 0.98, rotateX: 0, rotateY: 0 },\n transition: { type: \"spring\", stiffness: 300, damping: 20 },\n style: { transformStyle: \"preserve-3d\" },\n },\n bounce: {\n whileHover: { y: -4, scale: 1.03 },\n whileTap: { y: 0, scale: 0.97 },\n transition: { type: \"spring\", bounce: 0.45, duration: 0.45 },\n },\n};\n"],"mappings":";;;;;;;;;;AAEA,SAAS,cAAc;;;ACAhB,IAAM,yBAA2C;AAAA,EACtD,MAAM,CAAC;AAAA,EACP,MAAM;AAAA,IACJ,YAAY,EAAE,GAAG,IAAI,OAAO,KAAK;AAAA,IACjC,UAAU,EAAE,GAAG,GAAG,OAAO,KAAK;AAAA,IAC9B,YAAY,EAAE,MAAM,UAAU,WAAW,KAAK,SAAS,GAAG;AAAA,EAC5D;AAAA,EACA,OAAO;AAAA,IACL,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,YAAY,EAAE,MAAM,UAAU,WAAW,KAAK,SAAS,GAAG;AAAA,EAC5D;AAAA,EACA,MAAM;AAAA,IACJ,YAAY;AAAA,MACV,WACE;AAAA,MACF,OAAO;AAAA,IACT;AAAA,IACA,UAAU,EAAE,OAAO,KAAK;AAAA,IACxB,YAAY,EAAE,UAAU,KAAK,MAAM,UAAU;AAAA,EAC/C;AAAA,EACA,MAAM;AAAA,IACJ,YAAY,EAAE,SAAS,GAAG,SAAS,IAAI,OAAO,KAAK;AAAA,IACnD,UAAU,EAAE,OAAO,MAAM,SAAS,GAAG,SAAS,EAAE;AAAA,IAChD,YAAY,EAAE,MAAM,UAAU,W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G;AAAA,MACH,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEA,OAAO,cAAc;","names":["className","appearance","size","children","ref","animation","rest","motionProps"]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
4
|
+
import { ReactNode, Ref, HTMLAttributes } from 'react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
declare const cardVariants: (props?: ({
|
|
8
|
+
appearance?: "default" | "glass" | "outline" | "ghost" | "elevated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
rounded?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
declare const cardHeaderVariants: (props?: ({
|
|
13
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
+
declare const cardFooterVariants: (props?: ({
|
|
16
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
+
declare const cardTitleVariants: (props?: ({
|
|
19
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
+
declare const cardDescriptionVariants: (props?: ({
|
|
22
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
23
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
|
+
|
|
25
|
+
type CardAnimation = "none" | "lift" | "glow" | "tilt";
|
|
26
|
+
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
27
|
+
type CardProps = CardVariantProps & Omit<HTMLMotionProps<"article">, "children"> & {
|
|
28
|
+
animation?: CardAnimation;
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
};
|
|
31
|
+
type CardSectionProps = {
|
|
32
|
+
className?: string;
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
};
|
|
35
|
+
type CardTitleProps = {
|
|
36
|
+
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
37
|
+
className?: string;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
ref?: Ref<HTMLHeadingElement>;
|
|
40
|
+
} & Omit<HTMLAttributes<HTMLHeadingElement>, "className" | "children">;
|
|
41
|
+
type CardDescriptionProps = {
|
|
42
|
+
as?: "p" | "span" | "div";
|
|
43
|
+
className?: string;
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
ref?: Ref<HTMLElement>;
|
|
46
|
+
} & Omit<HTMLAttributes<HTMLElement>, "className" | "children">;
|
|
47
|
+
|
|
48
|
+
declare function Card(props: CardProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare namespace Card {
|
|
50
|
+
var displayName: string;
|
|
51
|
+
}
|
|
52
|
+
declare function CardHeader({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace CardHeader {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
declare function CardBody({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare namespace CardBody {
|
|
58
|
+
var displayName: string;
|
|
59
|
+
}
|
|
60
|
+
declare function CardFooter({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare namespace CardFooter {
|
|
62
|
+
var displayName: string;
|
|
63
|
+
}
|
|
64
|
+
declare function CardTitle({ className, children, as, ref, ...rest }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace CardTitle {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
declare function CardDescription({ className, children, as, ref, ...rest }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare namespace CardDescription {
|
|
70
|
+
var displayName: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type CardPresetMotionProps = Pick<HTMLMotionProps<"article">, "style" | "transition" | "whileHover" | "whileTap">;
|
|
74
|
+
type CardAnimationPresets = Record<CardAnimation, CardPresetMotionProps>;
|
|
75
|
+
declare const cardAnimationPresets: CardAnimationPresets;
|
|
76
|
+
|
|
77
|
+
export { Card, type CardAnimation, CardBody, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, cardAnimationPresets, cardDescriptionVariants, cardFooterVariants, cardHeaderVariants, cardTitleVariants, cardVariants };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
4
|
+
import { ReactNode, Ref, HTMLAttributes } from 'react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
+
|
|
7
|
+
declare const cardVariants: (props?: ({
|
|
8
|
+
appearance?: "default" | "glass" | "outline" | "ghost" | "elevated" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
|
|
9
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
+
rounded?: "sm" | "md" | "lg" | "full" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
+
declare const cardHeaderVariants: (props?: ({
|
|
13
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
+
declare const cardFooterVariants: (props?: ({
|
|
16
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
+
declare const cardTitleVariants: (props?: ({
|
|
19
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
+
declare const cardDescriptionVariants: (props?: ({
|
|
22
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
23
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
|
+
|
|
25
|
+
type CardAnimation = "none" | "lift" | "glow" | "tilt";
|
|
26
|
+
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
27
|
+
type CardProps = CardVariantProps & Omit<HTMLMotionProps<"article">, "children"> & {
|
|
28
|
+
animation?: CardAnimation;
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
};
|
|
31
|
+
type CardSectionProps = {
|
|
32
|
+
className?: string;
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
};
|
|
35
|
+
type CardTitleProps = {
|
|
36
|
+
as?: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
37
|
+
className?: string;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
ref?: Ref<HTMLHeadingElement>;
|
|
40
|
+
} & Omit<HTMLAttributes<HTMLHeadingElement>, "className" | "children">;
|
|
41
|
+
type CardDescriptionProps = {
|
|
42
|
+
as?: "p" | "span" | "div";
|
|
43
|
+
className?: string;
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
ref?: Ref<HTMLElement>;
|
|
46
|
+
} & Omit<HTMLAttributes<HTMLElement>, "className" | "children">;
|
|
47
|
+
|
|
48
|
+
declare function Card(props: CardProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare namespace Card {
|
|
50
|
+
var displayName: string;
|
|
51
|
+
}
|
|
52
|
+
declare function CardHeader({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace CardHeader {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
56
|
+
declare function CardBody({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare namespace CardBody {
|
|
58
|
+
var displayName: string;
|
|
59
|
+
}
|
|
60
|
+
declare function CardFooter({ className, children }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare namespace CardFooter {
|
|
62
|
+
var displayName: string;
|
|
63
|
+
}
|
|
64
|
+
declare function CardTitle({ className, children, as, ref, ...rest }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace CardTitle {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
declare function CardDescription({ className, children, as, ref, ...rest }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare namespace CardDescription {
|
|
70
|
+
var displayName: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type CardPresetMotionProps = Pick<HTMLMotionProps<"article">, "style" | "transition" | "whileHover" | "whileTap">;
|
|
74
|
+
type CardAnimationPresets = Record<CardAnimation, CardPresetMotionProps>;
|
|
75
|
+
declare const cardAnimationPresets: CardAnimationPresets;
|
|
76
|
+
|
|
77
|
+
export { Card, type CardAnimation, CardBody, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, cardAnimationPresets, cardDescriptionVariants, cardFooterVariants, cardHeaderVariants, cardTitleVariants, cardVariants };
|
package/dist/ui/card.js
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkE5UX537Jjs = require('../chunk-E5UX537J.js');
|
|
4
|
+
|
|
5
|
+
// src/ui/card/card.tsx
|
|
6
|
+
var _react = require('react');
|
|
7
|
+
var _framermotion = require('framer-motion');
|
|
8
|
+
|
|
9
|
+
// src/ui/card/animations.ts
|
|
10
|
+
var cardAnimationPresets = {
|
|
11
|
+
none: {},
|
|
12
|
+
lift: {
|
|
13
|
+
whileHover: { y: -4, scale: 1.01 },
|
|
14
|
+
whileTap: { y: 0, scale: 0.995 },
|
|
15
|
+
transition: { type: "spring", stiffness: 380, damping: 26 }
|
|
16
|
+
},
|
|
17
|
+
glow: {
|
|
18
|
+
whileHover: {
|
|
19
|
+
boxShadow: "0 0 0 1px rgba(255,255,255,0.18), 0 22px 48px rgba(15,23,42,0.45)"
|
|
20
|
+
},
|
|
21
|
+
transition: { duration: 0.22, ease: "easeOut" }
|
|
22
|
+
},
|
|
23
|
+
tilt: {
|
|
24
|
+
whileHover: { rotateX: 4, rotateY: -4, scale: 1.01 },
|
|
25
|
+
whileTap: { rotateX: 0, rotateY: 0, scale: 0.99 },
|
|
26
|
+
transition: { type: "spring", stiffness: 280, damping: 22 },
|
|
27
|
+
style: { transformStyle: "preserve-3d" }
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
// src/ui/card/variants.ts
|
|
32
|
+
var _classvarianceauthority = require('class-variance-authority');
|
|
33
|
+
var cardVariants = _classvarianceauthority.cva.call(void 0,
|
|
34
|
+
[
|
|
35
|
+
"relative flex w-full flex-col overflow-hidden text-slate-50",
|
|
36
|
+
"ring-offset-slate-950 transition-colors",
|
|
37
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-300 focus-visible:ring-offset-2"
|
|
38
|
+
],
|
|
39
|
+
{
|
|
40
|
+
variants: {
|
|
41
|
+
appearance: {
|
|
42
|
+
default: "border border-white/10 bg-white/5 shadow-[0_1px_2px_rgba(15,23,42,0.12)]",
|
|
43
|
+
glass: "border border-white/15 bg-white/10 backdrop-blur-md shadow-[0_18px_48px_rgba(15,23,42,0.35)]",
|
|
44
|
+
outline: "border border-white/15 bg-transparent",
|
|
45
|
+
ghost: "border border-transparent bg-transparent",
|
|
46
|
+
elevated: "border border-white/10 bg-slate-900/80 shadow-[0_24px_64px_rgba(15,23,42,0.45)]",
|
|
47
|
+
sky: "border border-sky-600 bg-sky-950/70 backdrop-blur-xl",
|
|
48
|
+
rose: "border border-rose-600 bg-rose-950/70 backdrop-blur-xl",
|
|
49
|
+
purple: "border border-purple-600 bg-purple-950/70 backdrop-blur-xl",
|
|
50
|
+
pink: "border border-pink-600 bg-pink-950/70 backdrop-blur-xl",
|
|
51
|
+
orange: "border border-orange-600 bg-orange-950/70 backdrop-blur-xl",
|
|
52
|
+
yellow: "border border-yellow-600 bg-yellow-950/70 backdrop-blur-xl",
|
|
53
|
+
teal: "border border-teal-600 bg-teal-950/70 backdrop-blur-xl",
|
|
54
|
+
indigo: "border border-indigo-600 bg-indigo-950/70 backdrop-blur-xl",
|
|
55
|
+
emerald: "border border-emerald-600 bg-emerald-950/70 backdrop-blur-xl",
|
|
56
|
+
gray: "border border-gray-600 bg-gray-950/70 backdrop-blur-xl",
|
|
57
|
+
amber: "border border-amber-600 bg-amber-950/70 backdrop-blur-xl",
|
|
58
|
+
violet: "border border-violet-600 bg-violet-950/70 backdrop-blur-xl",
|
|
59
|
+
"gradient-blue": "border border-gradient-to-r from-blue-600 to-purple-600 bg-gradient-to-r from-blue-950/70 to-purple-950/70 backdrop-blur-xl",
|
|
60
|
+
"gradient-green": "border border-gradient-to-r from-green-600 to-lime-600 bg-gradient-to-r from-green-950/70 to-lime-950/70 backdrop-blur-xl",
|
|
61
|
+
"gradient-red": "border border-gradient-to-r from-red-600 to-pink-600 bg-gradient-to-r from-red-950/70 to-pink-950/70 backdrop-blur-xl",
|
|
62
|
+
"gradient-yellow": "border border-gradient-to-r from-yellow-600 to-orange-600 bg-gradient-to-r from-yellow-950/70 to-orange-950/70 backdrop-blur-xl",
|
|
63
|
+
"gradient-purple": "border border-gradient-to-r from-purple-600 to-pink-600 bg-gradient-to-r from-purple-950/70 to-pink-950/70 backdrop-blur-xl",
|
|
64
|
+
"gradient-teal": "border border-gradient-to-r from-teal-600 to-cyan-600 bg-gradient-to-r from-teal-950/70 to-cyan-950/70 backdrop-blur-xl",
|
|
65
|
+
"gradient-indigo": "border border-gradient-to-r from-indigo-600 to-purple-600 bg-gradient-to-r from-indigo-950/70 to-purple-950/70 backdrop-blur-xl",
|
|
66
|
+
"gradient-pink": "border border-gradient-to-r from-pink-600 to-rose-600 bg-gradient-to-r from-pink-950/70 to-rose-950/70 backdrop-blur-xl",
|
|
67
|
+
"gradient-orange": "border border-gradient-to-r from-orange-600 to-red-600 bg-gradient-to-r from-orange-950/70 to-red-950/70 backdrop-blur-xl"
|
|
68
|
+
},
|
|
69
|
+
size: {
|
|
70
|
+
sm: "gap-2 p-3 text-sm",
|
|
71
|
+
md: "gap-3 p-4 text-sm",
|
|
72
|
+
lg: "gap-4 p-6 text-base"
|
|
73
|
+
},
|
|
74
|
+
rounded: {
|
|
75
|
+
sm: "rounded-lg",
|
|
76
|
+
md: "rounded-xl",
|
|
77
|
+
lg: "rounded-2xl",
|
|
78
|
+
full: "rounded-3xl"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
defaultVariants: {
|
|
82
|
+
appearance: "default",
|
|
83
|
+
size: "md",
|
|
84
|
+
rounded: "md"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
var cardHeaderVariants = _classvarianceauthority.cva.call(void 0,
|
|
89
|
+
"flex flex-col gap-1 border-b border-white/10 pb-3",
|
|
90
|
+
{
|
|
91
|
+
variants: {
|
|
92
|
+
size: {
|
|
93
|
+
sm: "pb-2",
|
|
94
|
+
md: "pb-3",
|
|
95
|
+
lg: "pb-4"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
defaultVariants: { size: "md" }
|
|
99
|
+
}
|
|
100
|
+
);
|
|
101
|
+
var cardFooterVariants = _classvarianceauthority.cva.call(void 0,
|
|
102
|
+
"flex flex-col gap-2 border-t border-white/10 pt-3",
|
|
103
|
+
{
|
|
104
|
+
variants: {
|
|
105
|
+
size: {
|
|
106
|
+
sm: "pt-2",
|
|
107
|
+
md: "pt-3",
|
|
108
|
+
lg: "pt-4"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
defaultVariants: { size: "md" }
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
var cardTitleVariants = _classvarianceauthority.cva.call(void 0, "font-semibold tracking-tight text-slate-50", {
|
|
115
|
+
variants: {
|
|
116
|
+
size: {
|
|
117
|
+
sm: "text-sm",
|
|
118
|
+
md: "text-base",
|
|
119
|
+
lg: "text-lg"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
defaultVariants: { size: "md" }
|
|
123
|
+
});
|
|
124
|
+
var cardDescriptionVariants = _classvarianceauthority.cva.call(void 0, "text-slate-400", {
|
|
125
|
+
variants: {
|
|
126
|
+
size: {
|
|
127
|
+
sm: "text-xs",
|
|
128
|
+
md: "text-sm",
|
|
129
|
+
lg: "text-base"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
defaultVariants: { size: "md" }
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
// src/ui/card/card.tsx
|
|
136
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
137
|
+
var CardSizeContext = _react.createContext.call(void 0, "md");
|
|
138
|
+
function useCardSize() {
|
|
139
|
+
return _react.useContext.call(void 0, CardSizeContext);
|
|
140
|
+
}
|
|
141
|
+
function Card(props) {
|
|
142
|
+
const {
|
|
143
|
+
className,
|
|
144
|
+
appearance,
|
|
145
|
+
size = "md",
|
|
146
|
+
rounded,
|
|
147
|
+
animation = "none",
|
|
148
|
+
children,
|
|
149
|
+
ref,
|
|
150
|
+
...rest
|
|
151
|
+
} = props;
|
|
152
|
+
const motionProps = cardAnimationPresets[animation];
|
|
153
|
+
const ctx = _react.useMemo.call(void 0, () => _nullishCoalesce(size, () => ( "md")), [size]);
|
|
154
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardSizeContext.Provider, { value: ctx, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
155
|
+
_framermotion.motion.article,
|
|
156
|
+
{
|
|
157
|
+
ref,
|
|
158
|
+
"data-slot": "card",
|
|
159
|
+
className: _chunkE5UX537Jjs.cn.call(void 0, cardVariants({ appearance, size, rounded }), className),
|
|
160
|
+
initial: false,
|
|
161
|
+
...motionProps,
|
|
162
|
+
...rest,
|
|
163
|
+
children
|
|
164
|
+
}
|
|
165
|
+
) });
|
|
166
|
+
}
|
|
167
|
+
Card.displayName = "Card";
|
|
168
|
+
function CardHeader({ className, children }) {
|
|
169
|
+
const size = useCardSize();
|
|
170
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
171
|
+
"header",
|
|
172
|
+
{
|
|
173
|
+
"data-slot": "card-header",
|
|
174
|
+
className: _chunkE5UX537Jjs.cn.call(void 0, cardHeaderVariants({ size }), className),
|
|
175
|
+
children
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
CardHeader.displayName = "CardHeader";
|
|
180
|
+
function CardBody({ className, children }) {
|
|
181
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "card-body", className: _chunkE5UX537Jjs.cn.call(void 0, "flex flex-1 flex-col gap-2", className), children });
|
|
182
|
+
}
|
|
183
|
+
CardBody.displayName = "CardBody";
|
|
184
|
+
function CardFooter({ className, children }) {
|
|
185
|
+
const size = useCardSize();
|
|
186
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
"footer",
|
|
188
|
+
{
|
|
189
|
+
"data-slot": "card-footer",
|
|
190
|
+
className: _chunkE5UX537Jjs.cn.call(void 0, cardFooterVariants({ size }), className),
|
|
191
|
+
children
|
|
192
|
+
}
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
CardFooter.displayName = "CardFooter";
|
|
196
|
+
function CardTitle({
|
|
197
|
+
className,
|
|
198
|
+
children,
|
|
199
|
+
as = "h3",
|
|
200
|
+
ref,
|
|
201
|
+
...rest
|
|
202
|
+
}) {
|
|
203
|
+
const size = useCardSize();
|
|
204
|
+
const Tag = as;
|
|
205
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
Tag,
|
|
207
|
+
{
|
|
208
|
+
ref,
|
|
209
|
+
"data-slot": "card-title",
|
|
210
|
+
className: _chunkE5UX537Jjs.cn.call(void 0, cardTitleVariants({ size }), className),
|
|
211
|
+
...rest,
|
|
212
|
+
children
|
|
213
|
+
}
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
CardTitle.displayName = "CardTitle";
|
|
217
|
+
function CardDescription({
|
|
218
|
+
className,
|
|
219
|
+
children,
|
|
220
|
+
as = "p",
|
|
221
|
+
ref,
|
|
222
|
+
...rest
|
|
223
|
+
}) {
|
|
224
|
+
const size = useCardSize();
|
|
225
|
+
const Tag = as;
|
|
226
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
Tag,
|
|
228
|
+
{
|
|
229
|
+
ref,
|
|
230
|
+
"data-slot": "card-description",
|
|
231
|
+
className: _chunkE5UX537Jjs.cn.call(void 0, cardDescriptionVariants({ size }), className),
|
|
232
|
+
...rest,
|
|
233
|
+
children
|
|
234
|
+
}
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
CardDescription.displayName = "CardDescription";
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
exports.Card = Card; exports.CardBody = CardBody; exports.CardDescription = CardDescription; exports.CardFooter = CardFooter; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.cardAnimationPresets = cardAnimationPresets; exports.cardDescriptionVariants = cardDescriptionVariants; exports.cardFooterVariants = cardFooterVariants; exports.cardHeaderVariants = cardHeaderVariants; exports.cardTitleVariants = cardTitleVariants; exports.cardVariants = cardVariants;
|
|
252
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/Users/shubham/Desktop/Repos/NEXT%20JS/zentauri-ui/packages/components/dist/ui/card.js"],"names":[],"mappings":"AAAA;AACE;AACF,uDAA6B;AAC7B;AACA;AACA,8BAA0D;AAC1D,6CAAsC;AACtC;AACA;AACA,IAAI,qBAAqB,EAAE;AAC3B,EAAE,IAAI,EAAE,CAAC,CAAC;AACV,EAAE,IAAI,EAAE;AACR,IAAI,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC;AACtC,IAAI,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC;AACpC,IAAI,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG;AAC9D,EAAE,CAAC;AACH,EAAE,IAAI,EAAE;AACR,IAAI,UAAU,EAAE;AAChB,MAAM,SAAS,EAAE;AACjB,IAAI,CAAC;AACL,IAAI,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU;AAClD,EAAE,CAAC;AACH,EAAE,IAAI,EAAE;AACR,IAAI,UAAU,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC;AACxD,IAAI,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,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ACnB,EAAE,SAAS;AACX,EAAE,QAAQ;AACV,EAAE,GAAG,EAAE,IAAI;AACX,EAAE,GAAG;AACL,EAAE,GAAG;AACL,CAAC,EAAE;AACH,EAAE,MAAM,KAAK,EAAE,WAAW,CAAC,CAAC;AAC5B,EAAE,MAAM,IAAI,EAAE,EAAE;AAChB,EAAE,uBAAuB,6BAAG;AAC5B,IAAI,GAAG;AACP,IAAI;AACJ,MAAM,GAAG;AACT,MAAM,WAAW,EAAE,YAAY;AAC/B,MAAM,SAAS,EAAE,iCAAE,iBAAkB,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC;AAC3D,MAAM,GAAG,IAAI;AACb,MAAM;AACN,IAAI;AACJ,EAAE,CAAC;AACH;AACA,SAAS,CAAC,YAAY,EAAE,WAAW;AACnC,SAAS,eAAe,CAAC;AACzB,EAAE,SAAS;AACX,EAAE,QAAQ;AACV,EAAE,GAAG,EAAE,GAAG;AACV,EAAE,GAAG;AACL,EAAE,GAAG;AACL,CAAC,EAAE;AACH,EAAE,MAAM,KAAK,EAAE,WAAW,CAAC,CAAC;AAC5B,EAAE,MAAM,IAAI,EAAE,EAAE;AAChB,EAAE,uBAAuB,6BAAG;AAC5B,IAAI,GAAG;AACP,IAAI;AACJ,MAAM,GAAG;AACT,MAAM,WAAW,EAAE,kBAAkB;AACrC,MAAM,SAAS,EAAE,iCAAE,uBAAwB,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC;AACjE,MAAM,GAAG,IAAI;AACb,MAAM;AACN,IAAI;AACJ,EAAE,CAAC;AACH;AACA,eAAe,CAAC,YAAY,EAAE,iBAAiB;AAC/C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,meAAC","file":"/Users/shubham/Desktop/Repos/NEXT JS/zentauri-ui/packages/components/dist/ui/card.js","sourcesContent":[null]}
|