singularity-components 0.1.101 → 0.1.103
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/dist/main.cjs +4831 -4760
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +24 -64
- package/dist/main.css.map +1 -1
- package/dist/main.d.cts +23 -22
- package/dist/main.d.ts +23 -22
- package/dist/main.js +4828 -4759
- package/dist/main.js.map +1 -1
- package/package.json +13 -10
package/dist/main.d.cts
CHANGED
|
@@ -28,7 +28,7 @@ declare function Badge({ className, variant, asChild, ...props }: React$1.Compon
|
|
|
28
28
|
|
|
29
29
|
interface BadgesProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
30
30
|
}
|
|
31
|
-
declare const Badges:
|
|
31
|
+
declare const Badges: ({ children, className, ...props }: BadgesProps) => react_jsx_runtime.JSX.Element;
|
|
32
32
|
|
|
33
33
|
declare const buttonVariants: (props?: ({
|
|
34
34
|
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
@@ -57,7 +57,7 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
57
57
|
|
|
58
58
|
interface CardsProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
59
59
|
}
|
|
60
|
-
declare const Cards:
|
|
60
|
+
declare const Cards: ({ children, className, ...props }: CardsProps) => react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
62
|
declare const iconVariants: (props?: ({
|
|
63
63
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
@@ -90,7 +90,7 @@ type colProp = {
|
|
|
90
90
|
children?: React$1.ReactNode;
|
|
91
91
|
hideDiv?: boolean;
|
|
92
92
|
className?: string;
|
|
93
|
-
as?: "div" | "section";
|
|
93
|
+
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
94
94
|
};
|
|
95
95
|
declare function Col({ children, hideDiv, className, as: Component }: colProp): react_jsx_runtime.JSX.Element;
|
|
96
96
|
|
|
@@ -122,31 +122,32 @@ declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">
|
|
|
122
122
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
123
123
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
124
124
|
|
|
125
|
-
declare const
|
|
126
|
-
size?: "base" | "sm" | "lg" | "xs" | "xl" | null | undefined;
|
|
127
|
-
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "muted" | null | undefined;
|
|
128
|
-
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
129
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
130
|
-
interface TextBodyProps extends React__default.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textBodyVariants> {
|
|
131
|
-
}
|
|
132
|
-
declare const TextBody: React__default.FC<TextBodyProps>;
|
|
133
|
-
|
|
134
|
-
declare const textDisplayVariants: (props?: ({
|
|
135
|
-
size?: "sm" | "lg" | "md" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
136
|
-
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
125
|
+
declare const textElementVariants: (props?: ({
|
|
126
|
+
size?: "base" | "sm" | "lg" | "md" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
137
127
|
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "gradient" | "muted" | null | undefined;
|
|
128
|
+
fontweight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
138
129
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
139
|
-
interface
|
|
130
|
+
interface TextElementProps extends React__default.HTMLAttributes<HTMLElement>, VariantProps<typeof textElementVariants> {
|
|
131
|
+
as?: "p" | "div" | "span" | "time";
|
|
140
132
|
}
|
|
141
|
-
|
|
133
|
+
|
|
134
|
+
type OmitClassProperty<T1, T2 extends string> = Omit<T1, T2>;
|
|
135
|
+
|
|
136
|
+
declare const TextDiv: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
142
137
|
|
|
143
138
|
declare const textHeadingVariants: (props?: ({
|
|
144
|
-
variant?: "h1" | "h2" | "h3" | "h4" | null | undefined;
|
|
145
|
-
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "gradient" | "muted" | null | undefined;
|
|
139
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
|
146
140
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
147
141
|
interface TextHeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof textHeadingVariants> {
|
|
148
|
-
as?: "h1" | "h2" | "h3" | "h4";
|
|
142
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
143
|
+
foreground?: VariantProps<typeof textElementVariants>["foreground"];
|
|
149
144
|
}
|
|
150
|
-
declare const TextHeading:
|
|
145
|
+
declare const TextHeading: ({ children, as, variant, foreground, className, ...props }: TextHeadingProps) => react_jsx_runtime.JSX.Element;
|
|
146
|
+
|
|
147
|
+
declare const TextParagraph: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare const TextSpan: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
151
|
+
declare const TextTime: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
151
152
|
|
|
152
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, Input, Layout, type LayoutProps, Separator, Skeleton, Spinner, type SpinnerProps, Stack, type StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow,
|
|
153
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, Input, Layout, type LayoutProps, Separator, Skeleton, Spinner, type SpinnerProps, Stack, type StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TextDiv, TextHeading, type TextHeadingProps, TextParagraph, TextSpan, TextTime, badgeVariants, buttonVariants, iconVariants, layoutVariants, stackVariants };
|
package/dist/main.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare function Badge({ className, variant, asChild, ...props }: React$1.Compon
|
|
|
28
28
|
|
|
29
29
|
interface BadgesProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
30
30
|
}
|
|
31
|
-
declare const Badges:
|
|
31
|
+
declare const Badges: ({ children, className, ...props }: BadgesProps) => react_jsx_runtime.JSX.Element;
|
|
32
32
|
|
|
33
33
|
declare const buttonVariants: (props?: ({
|
|
34
34
|
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
@@ -57,7 +57,7 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
57
57
|
|
|
58
58
|
interface CardsProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
59
59
|
}
|
|
60
|
-
declare const Cards:
|
|
60
|
+
declare const Cards: ({ children, className, ...props }: CardsProps) => react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
62
|
declare const iconVariants: (props?: ({
|
|
63
63
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
@@ -90,7 +90,7 @@ type colProp = {
|
|
|
90
90
|
children?: React$1.ReactNode;
|
|
91
91
|
hideDiv?: boolean;
|
|
92
92
|
className?: string;
|
|
93
|
-
as?: "div" | "section";
|
|
93
|
+
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
94
94
|
};
|
|
95
95
|
declare function Col({ children, hideDiv, className, as: Component }: colProp): react_jsx_runtime.JSX.Element;
|
|
96
96
|
|
|
@@ -122,31 +122,32 @@ declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">
|
|
|
122
122
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
123
123
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
124
124
|
|
|
125
|
-
declare const
|
|
126
|
-
size?: "base" | "sm" | "lg" | "xs" | "xl" | null | undefined;
|
|
127
|
-
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "muted" | null | undefined;
|
|
128
|
-
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
129
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
130
|
-
interface TextBodyProps extends React__default.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textBodyVariants> {
|
|
131
|
-
}
|
|
132
|
-
declare const TextBody: React__default.FC<TextBodyProps>;
|
|
133
|
-
|
|
134
|
-
declare const textDisplayVariants: (props?: ({
|
|
135
|
-
size?: "sm" | "lg" | "md" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
136
|
-
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
125
|
+
declare const textElementVariants: (props?: ({
|
|
126
|
+
size?: "base" | "sm" | "lg" | "md" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
137
127
|
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "gradient" | "muted" | null | undefined;
|
|
128
|
+
fontweight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
138
129
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
139
|
-
interface
|
|
130
|
+
interface TextElementProps extends React__default.HTMLAttributes<HTMLElement>, VariantProps<typeof textElementVariants> {
|
|
131
|
+
as?: "p" | "div" | "span" | "time";
|
|
140
132
|
}
|
|
141
|
-
|
|
133
|
+
|
|
134
|
+
type OmitClassProperty<T1, T2 extends string> = Omit<T1, T2>;
|
|
135
|
+
|
|
136
|
+
declare const TextDiv: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
142
137
|
|
|
143
138
|
declare const textHeadingVariants: (props?: ({
|
|
144
|
-
variant?: "h1" | "h2" | "h3" | "h4" | null | undefined;
|
|
145
|
-
foreground?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | "gradient" | "muted" | null | undefined;
|
|
139
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
|
146
140
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
147
141
|
interface TextHeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof textHeadingVariants> {
|
|
148
|
-
as?: "h1" | "h2" | "h3" | "h4";
|
|
142
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
143
|
+
foreground?: VariantProps<typeof textElementVariants>["foreground"];
|
|
149
144
|
}
|
|
150
|
-
declare const TextHeading:
|
|
145
|
+
declare const TextHeading: ({ children, as, variant, foreground, className, ...props }: TextHeadingProps) => react_jsx_runtime.JSX.Element;
|
|
146
|
+
|
|
147
|
+
declare const TextParagraph: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare const TextSpan: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
151
|
+
declare const TextTime: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
151
152
|
|
|
152
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, Input, Layout, type LayoutProps, Separator, Skeleton, Spinner, type SpinnerProps, Stack, type StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow,
|
|
153
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, Input, Layout, type LayoutProps, Separator, Skeleton, Spinner, type SpinnerProps, Stack, type StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TextDiv, TextHeading, type TextHeadingProps, TextParagraph, TextSpan, TextTime, badgeVariants, buttonVariants, iconVariants, layoutVariants, stackVariants };
|