singularity-components 0.1.105 → 0.1.107
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/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/_virtual/rolldown_runtime.js +30 -0
- package/dist/common.cjs +11 -0
- package/dist/common.cjs.map +1 -0
- package/dist/common.css +280 -0
- package/dist/common.css.map +1 -0
- package/dist/common.d.cts +5 -0
- package/dist/common.d.ts +5 -0
- package/dist/common.js +10 -0
- package/dist/common.js.map +1 -0
- package/dist/components/client/index.cjs +7 -0
- package/dist/components/client/index.js +9 -0
- package/dist/components/client/primitives/accordion/accordion.cjs +57 -0
- package/dist/components/client/primitives/accordion/accordion.cjs.map +1 -0
- package/dist/components/client/primitives/accordion/accordion.d.cts +25 -0
- package/dist/components/client/primitives/accordion/accordion.d.ts +25 -0
- package/dist/components/client/primitives/accordion/accordion.js +51 -0
- package/dist/components/client/primitives/accordion/accordion.js.map +1 -0
- package/dist/components/client/primitives/index.cjs +4 -0
- package/dist/components/client/primitives/index.js +6 -0
- package/dist/components/client/primitives/separator/separator.cjs +26 -0
- package/dist/components/client/primitives/separator/separator.cjs.map +1 -0
- package/dist/components/client/primitives/separator/separator.d.cts +14 -0
- package/dist/components/client/primitives/separator/separator.d.ts +14 -0
- package/dist/components/client/primitives/separator/separator.js +22 -0
- package/dist/components/client/primitives/separator/separator.js.map +1 -0
- package/dist/components/client/primitives/table/table.cjs +82 -0
- package/dist/components/client/primitives/table/table.cjs.map +1 -0
- package/dist/components/client/primitives/table/table.d.cts +39 -0
- package/dist/components/client/primitives/table/table.d.ts +39 -0
- package/dist/components/client/primitives/table/table.js +72 -0
- package/dist/components/client/primitives/table/table.js.map +1 -0
- package/dist/components/client/primitives/ui-image.cjs +24 -0
- package/dist/components/client/primitives/ui-image.cjs.map +1 -0
- package/dist/components/client/primitives/ui-image.d.cts +8 -0
- package/dist/components/client/primitives/ui-image.d.ts +8 -0
- package/dist/components/client/primitives/ui-image.js +21 -0
- package/dist/components/client/primitives/ui-image.js.map +1 -0
- package/dist/components/client/providers/ImageContext.cjs +30 -0
- package/dist/components/client/providers/ImageContext.cjs.map +1 -0
- package/dist/components/client/providers/ImageContext.d.cts +18 -0
- package/dist/components/client/providers/ImageContext.d.ts +18 -0
- package/dist/components/client/providers/ImageContext.js +26 -0
- package/dist/components/client/providers/ImageContext.js.map +1 -0
- package/dist/components/client/providers/index.cjs +1 -0
- package/dist/components/client/providers/index.js +3 -0
- package/dist/components/index.cjs +24 -0
- package/dist/components/index.js +26 -0
- package/dist/components/server/index.cjs +18 -0
- package/dist/components/server/index.js +20 -0
- package/dist/components/server/primitives/alert/alert.cjs +47 -0
- package/dist/components/server/primitives/alert/alert.cjs.map +1 -0
- package/dist/components/server/primitives/alert/alert.d.cts +31 -0
- package/dist/components/server/primitives/alert/alert.d.ts +31 -0
- package/dist/components/server/primitives/alert/alert.js +40 -0
- package/dist/components/server/primitives/alert/alert.js.map +1 -0
- package/dist/components/server/primitives/badge/badge.cjs +33 -0
- package/dist/components/server/primitives/badge/badge.cjs.map +1 -0
- package/dist/components/server/primitives/badge/badge.d.cts +20 -0
- package/dist/components/server/primitives/badge/badge.d.ts +20 -0
- package/dist/components/server/primitives/badge/badge.js +27 -0
- package/dist/components/server/primitives/badge/badge.js.map +1 -0
- package/dist/components/server/primitives/badge/badges.cjs +19 -0
- package/dist/components/server/primitives/badge/badges.cjs.map +1 -0
- package/dist/components/server/primitives/badge/badges.d.cts +13 -0
- package/dist/components/server/primitives/badge/badges.d.ts +13 -0
- package/dist/components/server/primitives/badge/badges.js +16 -0
- package/dist/components/server/primitives/badge/badges.js.map +1 -0
- package/dist/components/server/primitives/button/button.cjs +65 -0
- package/dist/components/server/primitives/button/button.cjs.map +1 -0
- package/dist/components/server/primitives/button/button.d.cts +49 -0
- package/dist/components/server/primitives/button/button.d.ts +49 -0
- package/dist/components/server/primitives/button/button.js +58 -0
- package/dist/components/server/primitives/button/button.js.map +1 -0
- package/dist/components/server/primitives/cards/blog-card.cjs +10 -0
- package/dist/components/server/primitives/cards/blog-card.d.cts +14 -0
- package/dist/components/server/primitives/cards/blog-card.d.ts +16 -0
- package/dist/components/server/primitives/cards/blog-card.js +10 -0
- package/dist/components/server/primitives/cards/card.cjs +66 -0
- package/dist/components/server/primitives/cards/card.cjs.map +1 -0
- package/dist/components/server/primitives/cards/card.d.cts +17 -0
- package/dist/components/server/primitives/cards/card.d.ts +17 -0
- package/dist/components/server/primitives/cards/card.js +57 -0
- package/dist/components/server/primitives/cards/card.js.map +1 -0
- package/dist/components/server/primitives/cards/cards.cjs +36 -0
- package/dist/components/server/primitives/cards/cards.cjs.map +1 -0
- package/dist/components/server/primitives/cards/cards.d.cts +24 -0
- package/dist/components/server/primitives/cards/cards.d.ts +24 -0
- package/dist/components/server/primitives/cards/cards.js +32 -0
- package/dist/components/server/primitives/cards/cards.js.map +1 -0
- package/dist/components/server/primitives/icon/icon.cjs +54 -0
- package/dist/components/server/primitives/icon/icon.cjs.map +1 -0
- package/dist/components/server/primitives/icon/icon.d.cts +41 -0
- package/dist/components/server/primitives/icon/icon.d.ts +41 -0
- package/dist/components/server/primitives/icon/icon.js +49 -0
- package/dist/components/server/primitives/icon/icon.js.map +1 -0
- package/dist/components/server/primitives/index.cjs +18 -0
- package/dist/components/server/primitives/index.js +20 -0
- package/dist/components/server/primitives/input/input.cjs +20 -0
- package/dist/components/server/primitives/input/input.cjs.map +1 -0
- package/dist/components/server/primitives/input/input.d.cts +12 -0
- package/dist/components/server/primitives/input/input.d.ts +12 -0
- package/dist/components/server/primitives/input/input.js +17 -0
- package/dist/components/server/primitives/input/input.js.map +1 -0
- package/dist/components/server/primitives/layout/layout.cjs +83 -0
- package/dist/components/server/primitives/layout/layout.cjs.map +1 -0
- package/dist/components/server/primitives/layout/layout.d.cts +69 -0
- package/dist/components/server/primitives/layout/layout.d.ts +69 -0
- package/dist/components/server/primitives/layout/layout.js +77 -0
- package/dist/components/server/primitives/layout/layout.js.map +1 -0
- package/dist/components/server/primitives/skeleton/skeleton.cjs +17 -0
- package/dist/components/server/primitives/skeleton/skeleton.cjs.map +1 -0
- package/dist/components/server/primitives/skeleton/skeleton.d.cts +10 -0
- package/dist/components/server/primitives/skeleton/skeleton.d.ts +10 -0
- package/dist/components/server/primitives/skeleton/skeleton.js +15 -0
- package/dist/components/server/primitives/skeleton/skeleton.js.map +1 -0
- package/dist/components/server/primitives/spinner/spinner.cjs +33 -0
- package/dist/components/server/primitives/spinner/spinner.cjs.map +1 -0
- package/dist/components/server/primitives/spinner/spinner.d.cts +16 -0
- package/dist/components/server/primitives/spinner/spinner.d.ts +16 -0
- package/dist/components/server/primitives/spinner/spinner.js +31 -0
- package/dist/components/server/primitives/spinner/spinner.js.map +1 -0
- package/dist/components/server/primitives/stack/stack.cjs +41 -0
- package/dist/components/server/primitives/stack/stack.cjs.map +1 -0
- package/dist/components/server/primitives/stack/stack.d.cts +15 -0
- package/dist/components/server/primitives/stack/stack.d.ts +15 -0
- package/dist/components/server/primitives/stack/stack.js +35 -0
- package/dist/components/server/primitives/stack/stack.js.map +1 -0
- package/dist/components/server/primitives/text/internal/text-element.cjs +67 -0
- package/dist/components/server/primitives/text/internal/text-element.cjs.map +1 -0
- package/dist/components/server/primitives/text/internal/text-element.d.cts +17 -0
- package/dist/components/server/primitives/text/internal/text-element.d.ts +18 -0
- package/dist/components/server/primitives/text/internal/text-element.js +62 -0
- package/dist/components/server/primitives/text/internal/text-element.js.map +1 -0
- package/dist/components/server/primitives/text/text-div.cjs +23 -0
- package/dist/components/server/primitives/text/text-div.cjs.map +1 -0
- package/dist/components/server/primitives/text/text-div.d.cts +16 -0
- package/dist/components/server/primitives/text/text-div.d.ts +16 -0
- package/dist/components/server/primitives/text/text-div.js +21 -0
- package/dist/components/server/primitives/text/text-div.js.map +1 -0
- package/dist/components/server/primitives/text/text-heading.cjs +36 -0
- package/dist/components/server/primitives/text/text-heading.cjs.map +1 -0
- package/dist/components/server/primitives/text/text-heading.d.cts +34 -0
- package/dist/components/server/primitives/text/text-heading.d.ts +34 -0
- package/dist/components/server/primitives/text/text-heading.js +31 -0
- package/dist/components/server/primitives/text/text-heading.js.map +1 -0
- package/dist/components/server/primitives/text/text-paragraph.cjs +23 -0
- package/dist/components/server/primitives/text/text-paragraph.cjs.map +1 -0
- package/dist/components/server/primitives/text/text-paragraph.d.cts +16 -0
- package/dist/components/server/primitives/text/text-paragraph.d.ts +16 -0
- package/dist/components/server/primitives/text/text-paragraph.js +21 -0
- package/dist/components/server/primitives/text/text-paragraph.js.map +1 -0
- package/dist/components/server/primitives/text/text-span.cjs +23 -0
- package/dist/components/server/primitives/text/text-span.cjs.map +1 -0
- package/dist/components/server/primitives/text/text-span.d.cts +16 -0
- package/dist/components/server/primitives/text/text-span.d.ts +16 -0
- package/dist/components/server/primitives/text/text-span.js +21 -0
- package/dist/components/server/primitives/text/text-span.js.map +1 -0
- package/dist/components/server/primitives/text/text-time.cjs +23 -0
- package/dist/components/server/primitives/text/text-time.cjs.map +1 -0
- package/dist/components/server/primitives/text/text-time.d.cts +16 -0
- package/dist/components/server/primitives/text/text-time.d.ts +16 -0
- package/dist/components/server/primitives/text/text-time.js +21 -0
- package/dist/components/server/primitives/text/text-time.js.map +1 -0
- package/dist/lib/types.d.cts +6 -0
- package/dist/lib/types.d.ts +6 -0
- package/dist/main.cjs +77 -35020
- package/dist/main.d.cts +24 -261
- package/dist/main.d.ts +24 -261
- package/dist/main.js +25 -34941
- package/dist/node_modules/lucide-react/dist/cjs/lucide-react.cjs +33010 -0
- package/dist/node_modules/lucide-react/dist/cjs/lucide-react.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/cjs/lucide-react.js +33007 -0
- package/dist/node_modules/lucide-react/dist/cjs/lucide-react.js.map +1 -0
- package/dist/utils.cjs +20 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.js +17 -0
- package/dist/utils.js.map +1 -0
- package/package.json +67 -67
- package/dist/client/client.css +0 -1876
- package/dist/client/client.css.map +0 -1
- package/dist/client/client.d.ts +0 -40
- package/dist/client/client.js +0 -381
- package/dist/client/client.js.map +0 -1
- package/dist/main.cjs.map +0 -1
- package/dist/main.css +0 -1876
- package/dist/main.css.map +0 -1
- package/dist/main.js.map +0 -1
- package/dist/server/ssr.cjs +0 -834
- package/dist/server/ssr.cjs.map +0 -1
- package/dist/server/ssr.css +0 -1876
- package/dist/server/ssr.css.map +0 -1
- package/dist/server/ssr.d.cts +0 -228
package/dist/main.d.cts
CHANGED
|
@@ -1,261 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
26
|
-
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
|
-
declare const badgeVariants: (props?: ({
|
|
29
|
-
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
30
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
31
|
-
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
32
|
-
asChild?: boolean;
|
|
33
|
-
}): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
interface BadgesProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
36
|
-
}
|
|
37
|
-
declare const Badges: ({ children, className, ...props }: BadgesProps) => react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
declare const buttonVariants: {
|
|
40
|
-
variant: {
|
|
41
|
-
default: string;
|
|
42
|
-
destructive: string;
|
|
43
|
-
outline: string;
|
|
44
|
-
secondary: string;
|
|
45
|
-
ghost: string;
|
|
46
|
-
link: string;
|
|
47
|
-
};
|
|
48
|
-
size: {
|
|
49
|
-
default: string;
|
|
50
|
-
sm: string;
|
|
51
|
-
lg: string;
|
|
52
|
-
icon: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
declare const buttonVariantsProps: (props?: ({
|
|
56
|
-
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
57
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
58
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
59
|
-
type Props$1 = React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariantsProps> & {
|
|
60
|
-
asChild?: boolean;
|
|
61
|
-
iconStart?: keyof typeof icons;
|
|
62
|
-
iconStartAnimate?: boolean;
|
|
63
|
-
iconEnd?: keyof typeof icons;
|
|
64
|
-
iconEndAnimate?: boolean;
|
|
65
|
-
};
|
|
66
|
-
declare function Button({ className, variant, size, asChild, iconStart, iconStartAnimate, iconEnd, iconEndAnimate, children, ...props }: Props$1): react_jsx_runtime.JSX.Element;
|
|
67
|
-
|
|
68
|
-
interface BlogPost {
|
|
69
|
-
id: number;
|
|
70
|
-
title: string;
|
|
71
|
-
excerpt: string;
|
|
72
|
-
author: string;
|
|
73
|
-
date: Date;
|
|
74
|
-
readTime: string;
|
|
75
|
-
category: string;
|
|
76
|
-
image: string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
80
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
81
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
|
-
interface CardImageProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
84
|
-
src: string;
|
|
85
|
-
alt?: string;
|
|
86
|
-
}
|
|
87
|
-
declare const CardImage: React$1.ForwardRefExoticComponent<CardImageProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
88
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
89
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
|
|
91
|
-
interface CardsProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
92
|
-
cols?: {
|
|
93
|
-
default?: number;
|
|
94
|
-
sm?: number;
|
|
95
|
-
md?: number;
|
|
96
|
-
lg?: number;
|
|
97
|
-
xl?: number;
|
|
98
|
-
"2xl"?: number;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
declare const getGridColsClass: (cols?: CardsProps["cols"]) => string;
|
|
102
|
-
declare const Cards: ({ children, className, cols, ...props }: CardsProps) => react_jsx_runtime.JSX.Element;
|
|
103
|
-
|
|
104
|
-
declare const iconVariants: {
|
|
105
|
-
size: {
|
|
106
|
-
sm: string;
|
|
107
|
-
md: string;
|
|
108
|
-
lg: string;
|
|
109
|
-
};
|
|
110
|
-
color: {
|
|
111
|
-
default: string;
|
|
112
|
-
black: string;
|
|
113
|
-
white: string;
|
|
114
|
-
gray: string;
|
|
115
|
-
primary: string;
|
|
116
|
-
secondary: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
declare const iconVariantsProps: (props?: ({
|
|
120
|
-
size?: "sm" | "lg" | "md" | null | undefined;
|
|
121
|
-
color?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | null | undefined;
|
|
122
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
123
|
-
type Props = Omit<React$1.ComponentProps<LucideIcon>, "size"> & VariantProps<typeof iconVariantsProps> & {
|
|
124
|
-
icon: keyof typeof icons;
|
|
125
|
-
spin?: boolean;
|
|
126
|
-
};
|
|
127
|
-
declare function Icon({ className, size, color, icon, spin, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
128
|
-
|
|
129
|
-
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
130
|
-
|
|
131
|
-
declare const layoutVariants: {
|
|
132
|
-
type: {
|
|
133
|
-
full: string;
|
|
134
|
-
wide: string;
|
|
135
|
-
col: string;
|
|
136
|
-
};
|
|
137
|
-
cols: {
|
|
138
|
-
"100": string;
|
|
139
|
-
"66-33": string;
|
|
140
|
-
"50-50": string;
|
|
141
|
-
"33-33-33": string;
|
|
142
|
-
"25-25-25-25": string;
|
|
143
|
-
};
|
|
144
|
-
bgColor: {
|
|
145
|
-
transparent: string;
|
|
146
|
-
white: string;
|
|
147
|
-
black: string;
|
|
148
|
-
orange: string;
|
|
149
|
-
pink: string;
|
|
150
|
-
gradient1: string;
|
|
151
|
-
gradient2: string;
|
|
152
|
-
"primarylight-pink-orange": string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
declare const layoutVariantsProps: (props?: ({
|
|
156
|
-
type?: "col" | "full" | "wide" | null | undefined;
|
|
157
|
-
cols?: "100" | "66-33" | "50-50" | "33-33-33" | "25-25-25-25" | null | undefined;
|
|
158
|
-
bgColor?: "black" | "white" | "pink" | "orange" | "transparent" | "gradient1" | "gradient2" | "primarylight-pink-orange" | null | undefined;
|
|
159
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
160
|
-
interface LayoutProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof layoutVariantsProps> {
|
|
161
|
-
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
162
|
-
}
|
|
163
|
-
declare function Layout({ children, className, type, cols, bgColor, as: Component, ...props }: PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
|
|
164
|
-
declare namespace Layout {
|
|
165
|
-
var Col1: typeof Col;
|
|
166
|
-
var Col2: typeof Col;
|
|
167
|
-
var Col3: typeof Col;
|
|
168
|
-
var Col4: typeof Col;
|
|
169
|
-
}
|
|
170
|
-
type colProp = {
|
|
171
|
-
children?: React$1.ReactNode;
|
|
172
|
-
hideDiv?: boolean;
|
|
173
|
-
className?: string;
|
|
174
|
-
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
175
|
-
};
|
|
176
|
-
declare function Col({ children, hideDiv, className, as: Component }: colProp): react_jsx_runtime.JSX.Element;
|
|
177
|
-
|
|
178
|
-
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
179
|
-
|
|
180
|
-
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
181
|
-
|
|
182
|
-
type SpinnerProps = {
|
|
183
|
-
variant?: "ring" | "dots";
|
|
184
|
-
size?: "xs" | "sm" | "md" | "lg";
|
|
185
|
-
className?: string;
|
|
186
|
-
};
|
|
187
|
-
declare function Spinner({ variant, size, className, }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
188
|
-
|
|
189
|
-
declare const stackVariants: (props?: ({
|
|
190
|
-
gap?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null | undefined;
|
|
191
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
192
|
-
interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
|
|
193
|
-
asChild?: boolean;
|
|
194
|
-
}
|
|
195
|
-
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
-
|
|
197
|
-
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
198
|
-
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
199
|
-
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
200
|
-
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
201
|
-
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
202
|
-
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
203
|
-
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
204
|
-
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
205
|
-
|
|
206
|
-
type OmitClassProperty<T1, T2 extends string> = Omit<T1, T2>;
|
|
207
|
-
|
|
208
|
-
declare const textElementVariantsProps: (props?: ({
|
|
209
|
-
size?: "base" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
210
|
-
foreground?: "default" | "secondary" | "muted" | "black" | "white" | "gray" | "primary" | "pink" | "orange" | "primary-to-pink" | "pink-to-orange" | "multi-color" | null | undefined;
|
|
211
|
-
fontweight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
212
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
213
|
-
interface TextElementProps extends React__default.HTMLAttributes<HTMLElement>, VariantProps<typeof textElementVariantsProps> {
|
|
214
|
-
as?: "p" | "div" | "span" | "time";
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
declare const TextDiv: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
218
|
-
|
|
219
|
-
declare const textHeadingVariants: {
|
|
220
|
-
variant: {
|
|
221
|
-
h1: string;
|
|
222
|
-
h2: string;
|
|
223
|
-
h3: string;
|
|
224
|
-
h4: string;
|
|
225
|
-
h5: string;
|
|
226
|
-
h6: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
declare const textHeadingVariantsProps: (props?: ({
|
|
230
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
|
231
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
232
|
-
interface TextHeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof textHeadingVariantsProps> {
|
|
233
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
234
|
-
foreground?: VariantProps<typeof textElementVariantsProps>["foreground"];
|
|
235
|
-
}
|
|
236
|
-
declare const TextHeading: ({ children, as, variant, foreground, className, ...props }: TextHeadingProps) => react_jsx_runtime.JSX.Element;
|
|
237
|
-
|
|
238
|
-
declare const TextParagraph: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
239
|
-
|
|
240
|
-
declare const TextSpan: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
241
|
-
|
|
242
|
-
declare const TextTime: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
243
|
-
|
|
244
|
-
interface BaseImageProps {
|
|
245
|
-
src: string;
|
|
246
|
-
alt?: string;
|
|
247
|
-
[key: string]: any;
|
|
248
|
-
}
|
|
249
|
-
type ImageComponentType<P extends BaseImageProps = BaseImageProps> = React__default.ComponentType<P>;
|
|
250
|
-
interface ImageProviderProps {
|
|
251
|
-
ImageComponent: ImageComponentType;
|
|
252
|
-
children: ReactNode;
|
|
253
|
-
}
|
|
254
|
-
declare const ImageProvider: React__default.FC<ImageProviderProps>;
|
|
255
|
-
declare const useImage: <P extends BaseImageProps = BaseImageProps>() => ImageComponentType<P>;
|
|
256
|
-
|
|
257
|
-
declare const UiImage: React__default.FC<BaseImageProps>;
|
|
258
|
-
|
|
259
|
-
declare function formatDate(dateInput: string | Date | null | undefined): string;
|
|
260
|
-
|
|
261
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, type BaseImageProps, type BlogPost, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, type ImageComponentType, ImageProvider, 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, UiImage, alertVariants, badgeVariants, buttonVariants, buttonVariantsProps, formatDate, getGridColsClass, iconVariants, iconVariantsProps, layoutVariants, layoutVariantsProps, stackVariants, textHeadingVariants, textHeadingVariantsProps, useImage };
|
|
1
|
+
import { BaseImageProps, ImageComponentType, ImageProvider, useImage } from "./components/client/providers/ImageContext.cjs";
|
|
2
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/client/primitives/accordion/accordion.cjs";
|
|
3
|
+
import { Separator } from "./components/client/primitives/separator/separator.cjs";
|
|
4
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/client/primitives/table/table.cjs";
|
|
5
|
+
import { UiImage } from "./components/client/primitives/ui-image.cjs";
|
|
6
|
+
import { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/server/primitives/alert/alert.cjs";
|
|
7
|
+
import { Badge, badgeVariants } from "./components/server/primitives/badge/badge.cjs";
|
|
8
|
+
import { Badges, BadgesProps } from "./components/server/primitives/badge/badges.cjs";
|
|
9
|
+
import { Button, buttonVariants, buttonVariantsProps } from "./components/server/primitives/button/button.cjs";
|
|
10
|
+
import { BlogPost } from "./components/server/primitives/cards/blog-card.cjs";
|
|
11
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle } from "./components/server/primitives/cards/card.cjs";
|
|
12
|
+
import { Cards, CardsProps, getGridColsClass } from "./components/server/primitives/cards/cards.cjs";
|
|
13
|
+
import { Icon, iconVariants, iconVariantsProps } from "./components/server/primitives/icon/icon.cjs";
|
|
14
|
+
import { Input } from "./components/server/primitives/input/input.cjs";
|
|
15
|
+
import { Layout, LayoutProps, layoutVariants, layoutVariantsProps } from "./components/server/primitives/layout/layout.cjs";
|
|
16
|
+
import { Skeleton } from "./components/server/primitives/skeleton/skeleton.cjs";
|
|
17
|
+
import { Spinner, SpinnerProps } from "./components/server/primitives/spinner/spinner.cjs";
|
|
18
|
+
import { Stack, StackProps, stackVariants } from "./components/server/primitives/stack/stack.cjs";
|
|
19
|
+
import { TextDiv } from "./components/server/primitives/text/text-div.cjs";
|
|
20
|
+
import { TextHeading, TextHeadingProps, textHeadingVariants, textHeadingVariantsProps } from "./components/server/primitives/text/text-heading.cjs";
|
|
21
|
+
import { TextParagraph } from "./components/server/primitives/text/text-paragraph.cjs";
|
|
22
|
+
import { TextSpan } from "./components/server/primitives/text/text-span.cjs";
|
|
23
|
+
import { TextTime } from "./components/server/primitives/text/text-time.cjs";
|
|
24
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, BadgesProps, BaseImageProps, BlogPost, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, CardsProps, Icon, ImageComponentType, ImageProvider, Input, Layout, LayoutProps, Separator, Skeleton, Spinner, SpinnerProps, Stack, StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TextDiv, TextHeading, TextHeadingProps, TextParagraph, TextSpan, TextTime, UiImage, alertVariants, badgeVariants, buttonVariants, buttonVariantsProps, getGridColsClass, iconVariants, iconVariantsProps, layoutVariants, layoutVariantsProps, stackVariants, textHeadingVariants, textHeadingVariantsProps, useImage };
|
package/dist/main.d.ts
CHANGED
|
@@ -1,261 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
26
|
-
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
27
|
-
|
|
28
|
-
declare const badgeVariants: (props?: ({
|
|
29
|
-
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
30
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
31
|
-
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
32
|
-
asChild?: boolean;
|
|
33
|
-
}): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
interface BadgesProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
36
|
-
}
|
|
37
|
-
declare const Badges: ({ children, className, ...props }: BadgesProps) => react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
declare const buttonVariants: {
|
|
40
|
-
variant: {
|
|
41
|
-
default: string;
|
|
42
|
-
destructive: string;
|
|
43
|
-
outline: string;
|
|
44
|
-
secondary: string;
|
|
45
|
-
ghost: string;
|
|
46
|
-
link: string;
|
|
47
|
-
};
|
|
48
|
-
size: {
|
|
49
|
-
default: string;
|
|
50
|
-
sm: string;
|
|
51
|
-
lg: string;
|
|
52
|
-
icon: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
declare const buttonVariantsProps: (props?: ({
|
|
56
|
-
variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
57
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
58
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
59
|
-
type Props$1 = React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariantsProps> & {
|
|
60
|
-
asChild?: boolean;
|
|
61
|
-
iconStart?: keyof typeof icons;
|
|
62
|
-
iconStartAnimate?: boolean;
|
|
63
|
-
iconEnd?: keyof typeof icons;
|
|
64
|
-
iconEndAnimate?: boolean;
|
|
65
|
-
};
|
|
66
|
-
declare function Button({ className, variant, size, asChild, iconStart, iconStartAnimate, iconEnd, iconEndAnimate, children, ...props }: Props$1): react_jsx_runtime.JSX.Element;
|
|
67
|
-
|
|
68
|
-
interface BlogPost {
|
|
69
|
-
id: number;
|
|
70
|
-
title: string;
|
|
71
|
-
excerpt: string;
|
|
72
|
-
author: string;
|
|
73
|
-
date: Date;
|
|
74
|
-
readTime: string;
|
|
75
|
-
category: string;
|
|
76
|
-
image: string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
80
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
81
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
|
-
interface CardImageProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
84
|
-
src: string;
|
|
85
|
-
alt?: string;
|
|
86
|
-
}
|
|
87
|
-
declare const CardImage: React$1.ForwardRefExoticComponent<CardImageProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
88
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
89
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
|
|
91
|
-
interface CardsProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
92
|
-
cols?: {
|
|
93
|
-
default?: number;
|
|
94
|
-
sm?: number;
|
|
95
|
-
md?: number;
|
|
96
|
-
lg?: number;
|
|
97
|
-
xl?: number;
|
|
98
|
-
"2xl"?: number;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
declare const getGridColsClass: (cols?: CardsProps["cols"]) => string;
|
|
102
|
-
declare const Cards: ({ children, className, cols, ...props }: CardsProps) => react_jsx_runtime.JSX.Element;
|
|
103
|
-
|
|
104
|
-
declare const iconVariants: {
|
|
105
|
-
size: {
|
|
106
|
-
sm: string;
|
|
107
|
-
md: string;
|
|
108
|
-
lg: string;
|
|
109
|
-
};
|
|
110
|
-
color: {
|
|
111
|
-
default: string;
|
|
112
|
-
black: string;
|
|
113
|
-
white: string;
|
|
114
|
-
gray: string;
|
|
115
|
-
primary: string;
|
|
116
|
-
secondary: string;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
declare const iconVariantsProps: (props?: ({
|
|
120
|
-
size?: "sm" | "lg" | "md" | null | undefined;
|
|
121
|
-
color?: "default" | "secondary" | "black" | "white" | "gray" | "primary" | null | undefined;
|
|
122
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
123
|
-
type Props = Omit<React$1.ComponentProps<LucideIcon>, "size"> & VariantProps<typeof iconVariantsProps> & {
|
|
124
|
-
icon: keyof typeof icons;
|
|
125
|
-
spin?: boolean;
|
|
126
|
-
};
|
|
127
|
-
declare function Icon({ className, size, color, icon, spin, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
128
|
-
|
|
129
|
-
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
130
|
-
|
|
131
|
-
declare const layoutVariants: {
|
|
132
|
-
type: {
|
|
133
|
-
full: string;
|
|
134
|
-
wide: string;
|
|
135
|
-
col: string;
|
|
136
|
-
};
|
|
137
|
-
cols: {
|
|
138
|
-
"100": string;
|
|
139
|
-
"66-33": string;
|
|
140
|
-
"50-50": string;
|
|
141
|
-
"33-33-33": string;
|
|
142
|
-
"25-25-25-25": string;
|
|
143
|
-
};
|
|
144
|
-
bgColor: {
|
|
145
|
-
transparent: string;
|
|
146
|
-
white: string;
|
|
147
|
-
black: string;
|
|
148
|
-
orange: string;
|
|
149
|
-
pink: string;
|
|
150
|
-
gradient1: string;
|
|
151
|
-
gradient2: string;
|
|
152
|
-
"primarylight-pink-orange": string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
declare const layoutVariantsProps: (props?: ({
|
|
156
|
-
type?: "col" | "full" | "wide" | null | undefined;
|
|
157
|
-
cols?: "100" | "66-33" | "50-50" | "33-33-33" | "25-25-25-25" | null | undefined;
|
|
158
|
-
bgColor?: "black" | "white" | "pink" | "orange" | "transparent" | "gradient1" | "gradient2" | "primarylight-pink-orange" | null | undefined;
|
|
159
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
160
|
-
interface LayoutProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof layoutVariantsProps> {
|
|
161
|
-
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
162
|
-
}
|
|
163
|
-
declare function Layout({ children, className, type, cols, bgColor, as: Component, ...props }: PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
|
|
164
|
-
declare namespace Layout {
|
|
165
|
-
var Col1: typeof Col;
|
|
166
|
-
var Col2: typeof Col;
|
|
167
|
-
var Col3: typeof Col;
|
|
168
|
-
var Col4: typeof Col;
|
|
169
|
-
}
|
|
170
|
-
type colProp = {
|
|
171
|
-
children?: React$1.ReactNode;
|
|
172
|
-
hideDiv?: boolean;
|
|
173
|
-
className?: string;
|
|
174
|
-
as?: "div" | "section" | "article" | "main" | "header" | "footer";
|
|
175
|
-
};
|
|
176
|
-
declare function Col({ children, hideDiv, className, as: Component }: colProp): react_jsx_runtime.JSX.Element;
|
|
177
|
-
|
|
178
|
-
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
179
|
-
|
|
180
|
-
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
181
|
-
|
|
182
|
-
type SpinnerProps = {
|
|
183
|
-
variant?: "ring" | "dots";
|
|
184
|
-
size?: "xs" | "sm" | "md" | "lg";
|
|
185
|
-
className?: string;
|
|
186
|
-
};
|
|
187
|
-
declare function Spinner({ variant, size, className, }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
188
|
-
|
|
189
|
-
declare const stackVariants: (props?: ({
|
|
190
|
-
gap?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | null | undefined;
|
|
191
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
192
|
-
interface StackProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
|
|
193
|
-
asChild?: boolean;
|
|
194
|
-
}
|
|
195
|
-
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
-
|
|
197
|
-
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
198
|
-
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
199
|
-
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
200
|
-
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
201
|
-
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
202
|
-
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
203
|
-
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
204
|
-
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
205
|
-
|
|
206
|
-
type OmitClassProperty<T1, T2 extends string> = Omit<T1, T2>;
|
|
207
|
-
|
|
208
|
-
declare const textElementVariantsProps: (props?: ({
|
|
209
|
-
size?: "base" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
210
|
-
foreground?: "default" | "secondary" | "muted" | "black" | "white" | "gray" | "primary" | "pink" | "orange" | "primary-to-pink" | "pink-to-orange" | "multi-color" | null | undefined;
|
|
211
|
-
fontweight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
212
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
213
|
-
interface TextElementProps extends React__default.HTMLAttributes<HTMLElement>, VariantProps<typeof textElementVariantsProps> {
|
|
214
|
-
as?: "p" | "div" | "span" | "time";
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
declare const TextDiv: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
218
|
-
|
|
219
|
-
declare const textHeadingVariants: {
|
|
220
|
-
variant: {
|
|
221
|
-
h1: string;
|
|
222
|
-
h2: string;
|
|
223
|
-
h3: string;
|
|
224
|
-
h4: string;
|
|
225
|
-
h5: string;
|
|
226
|
-
h6: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
declare const textHeadingVariantsProps: (props?: ({
|
|
230
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
|
231
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
232
|
-
interface TextHeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof textHeadingVariantsProps> {
|
|
233
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
234
|
-
foreground?: VariantProps<typeof textElementVariantsProps>["foreground"];
|
|
235
|
-
}
|
|
236
|
-
declare const TextHeading: ({ children, as, variant, foreground, className, ...props }: TextHeadingProps) => react_jsx_runtime.JSX.Element;
|
|
237
|
-
|
|
238
|
-
declare const TextParagraph: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
239
|
-
|
|
240
|
-
declare const TextSpan: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
241
|
-
|
|
242
|
-
declare const TextTime: ({ children, size, foreground, fontweight, className, ...props }: OmitClassProperty<TextElementProps, "as">) => react_jsx_runtime.JSX.Element;
|
|
243
|
-
|
|
244
|
-
interface BaseImageProps {
|
|
245
|
-
src: string;
|
|
246
|
-
alt?: string;
|
|
247
|
-
[key: string]: any;
|
|
248
|
-
}
|
|
249
|
-
type ImageComponentType<P extends BaseImageProps = BaseImageProps> = React__default.ComponentType<P>;
|
|
250
|
-
interface ImageProviderProps {
|
|
251
|
-
ImageComponent: ImageComponentType;
|
|
252
|
-
children: ReactNode;
|
|
253
|
-
}
|
|
254
|
-
declare const ImageProvider: React__default.FC<ImageProviderProps>;
|
|
255
|
-
declare const useImage: <P extends BaseImageProps = BaseImageProps>() => ImageComponentType<P>;
|
|
256
|
-
|
|
257
|
-
declare const UiImage: React__default.FC<BaseImageProps>;
|
|
258
|
-
|
|
259
|
-
declare function formatDate(dateInput: string | Date | null | undefined): string;
|
|
260
|
-
|
|
261
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, type BadgesProps, type BaseImageProps, type BlogPost, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, type CardsProps, Icon, type ImageComponentType, ImageProvider, 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, UiImage, alertVariants, badgeVariants, buttonVariants, buttonVariantsProps, formatDate, getGridColsClass, iconVariants, iconVariantsProps, layoutVariants, layoutVariantsProps, stackVariants, textHeadingVariants, textHeadingVariantsProps, useImage };
|
|
1
|
+
import { BaseImageProps, ImageComponentType, ImageProvider, useImage } from "./components/client/providers/ImageContext.js";
|
|
2
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/client/primitives/accordion/accordion.js";
|
|
3
|
+
import { Separator } from "./components/client/primitives/separator/separator.js";
|
|
4
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/client/primitives/table/table.js";
|
|
5
|
+
import { UiImage } from "./components/client/primitives/ui-image.js";
|
|
6
|
+
import { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/server/primitives/alert/alert.js";
|
|
7
|
+
import { Badge, badgeVariants } from "./components/server/primitives/badge/badge.js";
|
|
8
|
+
import { Badges, BadgesProps } from "./components/server/primitives/badge/badges.js";
|
|
9
|
+
import { Button, buttonVariants, buttonVariantsProps } from "./components/server/primitives/button/button.js";
|
|
10
|
+
import { BlogPost } from "./components/server/primitives/cards/blog-card.js";
|
|
11
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle } from "./components/server/primitives/cards/card.js";
|
|
12
|
+
import { Cards, CardsProps, getGridColsClass } from "./components/server/primitives/cards/cards.js";
|
|
13
|
+
import { Icon, iconVariants, iconVariantsProps } from "./components/server/primitives/icon/icon.js";
|
|
14
|
+
import { Input } from "./components/server/primitives/input/input.js";
|
|
15
|
+
import { Layout, LayoutProps, layoutVariants, layoutVariantsProps } from "./components/server/primitives/layout/layout.js";
|
|
16
|
+
import { Skeleton } from "./components/server/primitives/skeleton/skeleton.js";
|
|
17
|
+
import { Spinner, SpinnerProps } from "./components/server/primitives/spinner/spinner.js";
|
|
18
|
+
import { Stack, StackProps, stackVariants } from "./components/server/primitives/stack/stack.js";
|
|
19
|
+
import { TextDiv } from "./components/server/primitives/text/text-div.js";
|
|
20
|
+
import { TextHeading, TextHeadingProps, textHeadingVariants, textHeadingVariantsProps } from "./components/server/primitives/text/text-heading.js";
|
|
21
|
+
import { TextParagraph } from "./components/server/primitives/text/text-paragraph.js";
|
|
22
|
+
import { TextSpan } from "./components/server/primitives/text/text-span.js";
|
|
23
|
+
import { TextTime } from "./components/server/primitives/text/text-time.js";
|
|
24
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, Badge, Badges, BadgesProps, BaseImageProps, BlogPost, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImage, CardTitle, Cards, CardsProps, Icon, ImageComponentType, ImageProvider, Input, Layout, LayoutProps, Separator, Skeleton, Spinner, SpinnerProps, Stack, StackProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TextDiv, TextHeading, TextHeadingProps, TextParagraph, TextSpan, TextTime, UiImage, alertVariants, badgeVariants, buttonVariants, buttonVariantsProps, getGridColsClass, iconVariants, iconVariantsProps, layoutVariants, layoutVariantsProps, stackVariants, textHeadingVariants, textHeadingVariantsProps, useImage };
|