@schandlergarcia/sf-web-components 1.3.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.a4drules/features/command-center-dashboard-rule.md +1 -1
- package/.a4drules/skills/command-center-project/SKILL.md +4 -4
- package/.a4drules/skills/component-library/SKILL.md +4 -1
- package/README.md +2 -0
- package/dist/components/library/heroui/Input.d.ts +5 -1
- package/dist/components/library/heroui/Input.js +0 -1
- package/dist/components/library/heroui/Input.js.map +1 -1
- package/dist/components/library/heroui/Kbd.d.ts +6 -5
- package/dist/components/library/heroui/Kbd.js +4 -5
- package/dist/components/library/heroui/Kbd.js.map +1 -1
- package/dist/components/library/heroui/Skeleton.d.ts +8 -5
- package/dist/components/library/heroui/Skeleton.js +4 -5
- package/dist/components/library/heroui/Skeleton.js.map +1 -1
- package/dist/components/library/heroui/Toast.d.ts +6 -3
- package/dist/components/library/heroui/Toast.js +3 -4
- package/dist/components/library/heroui/Toast.js.map +1 -1
- package/dist/components/library/ui/Avatar.d.ts +22 -10
- package/dist/components/library/ui/Avatar.js +40 -17
- package/dist/components/library/ui/Avatar.js.map +1 -1
- package/dist/components/library/ui/Card.d.ts +23 -37
- package/dist/components/library/ui/Chip.d.ts +18 -7
- package/dist/components/library/ui/Chip.js +11 -12
- package/dist/components/library/ui/Chip.js.map +1 -1
- package/dist/components/library/ui/Container.d.ts +12 -13
- package/dist/components/library/ui/Container.js +16 -17
- package/dist/components/library/ui/Container.js.map +1 -1
- package/dist/components/library/ui/EmptyState.d.ts +34 -7
- package/dist/components/library/ui/EmptyState.js +5 -6
- package/dist/components/library/ui/EmptyState.js.map +1 -1
- package/dist/components/library/ui/FieldGroup.d.ts +4 -5
- package/dist/components/library/ui/FieldGroup.js +4 -5
- package/dist/components/library/ui/FieldGroup.js.map +1 -1
- package/dist/components/library/ui/Spinner.d.ts +21 -5
- package/dist/components/library/ui/Text.d.ts +24 -10
- package/dist/components/library/ui/Text.js +20 -23
- package/dist/components/library/ui/Text.js.map +1 -1
- package/dist/components/library/ui/UIInput.d.ts +4 -5
- package/dist/components/library/ui/UIInput.js +5 -6
- package/dist/components/library/ui/UIInput.js.map +1 -1
- package/dist/components/library/ui/alert.d.ts +23 -21
- package/dist/components/library/ui/alert.js +13 -14
- package/dist/components/library/ui/alert.js.map +1 -1
- package/dist/components/library/ui/card.js +24 -26
- package/dist/components/library/ui/card.js.map +1 -1
- package/dist/components/library/ui/checkbox.d.ts +4 -4
- package/dist/components/library/ui/checkbox.js +4 -5
- package/dist/components/library/ui/checkbox.js.map +1 -1
- package/dist/components/library/ui/label.d.ts +5 -7
- package/dist/components/library/ui/label.js +9 -10
- package/dist/components/library/ui/label.js.map +1 -1
- package/dist/components/library/ui/spinner.js +16 -17
- package/dist/components/library/ui/spinner.js.map +1 -1
- package/package.json +1 -1
- package/scripts/convert-to-typescript.sh +52 -0
- package/src/components/library/heroui/Input.tsx +10 -0
- package/src/components/library/heroui/Kbd.tsx +11 -0
- package/src/components/library/heroui/Skeleton.tsx +14 -0
- package/src/components/library/heroui/{Toast.jsx → Toast.tsx} +5 -2
- package/src/components/library/ui/{Alert.jsx → Alert.tsx} +17 -7
- package/src/components/library/ui/Avatar.tsx +68 -0
- package/src/components/library/ui/{Card.jsx → Card.tsx} +24 -10
- package/src/components/library/ui/{Checkbox.jsx → Checkbox.tsx} +4 -2
- package/src/components/library/ui/{Chip.jsx → Chip.tsx} +11 -7
- package/src/components/library/ui/{Container.jsx → Container.tsx} +13 -4
- package/src/components/library/ui/{EmptyState.jsx → EmptyState.tsx} +13 -10
- package/src/components/library/ui/{FieldGroup.jsx → FieldGroup.tsx} +4 -2
- package/src/components/library/ui/{Label.jsx → Label.tsx} +9 -8
- package/src/components/library/ui/{Spinner.jsx → Spinner.tsx} +12 -10
- package/src/components/library/ui/{Text.jsx → Text.tsx} +19 -12
- package/src/components/library/ui/{UIInput.jsx → UIInput.tsx} +5 -5
- package/src/components/library/heroui/Input.jsx +0 -6
- package/src/components/library/heroui/Kbd.jsx +0 -8
- package/src/components/library/heroui/Skeleton.jsx +0 -8
- package/src/components/library/ui/Avatar.jsx +0 -44
|
@@ -1,10 +1,37 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const SIZES: {
|
|
3
|
+
readonly sm: {
|
|
4
|
+
readonly icon: "h-8 w-8";
|
|
5
|
+
readonly heading: "text-sm";
|
|
6
|
+
readonly body: "text-xs";
|
|
7
|
+
readonly gap: "gap-2";
|
|
8
|
+
readonly pad: "py-6";
|
|
9
|
+
};
|
|
10
|
+
readonly md: {
|
|
11
|
+
readonly icon: "h-10 w-10";
|
|
12
|
+
readonly heading: "text-base";
|
|
13
|
+
readonly body: "text-sm";
|
|
14
|
+
readonly gap: "gap-3";
|
|
15
|
+
readonly pad: "py-10";
|
|
16
|
+
};
|
|
17
|
+
readonly lg: {
|
|
18
|
+
readonly icon: "h-14 w-14";
|
|
19
|
+
readonly heading: "text-lg";
|
|
20
|
+
readonly body: "text-sm";
|
|
21
|
+
readonly gap: "gap-4";
|
|
22
|
+
readonly pad: "py-16";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export interface EmptyStateProps {
|
|
26
|
+
icon?: React.ReactNode;
|
|
27
|
+
heading?: string;
|
|
28
|
+
body?: string;
|
|
29
|
+
action?: React.ReactNode;
|
|
30
|
+
size?: keyof typeof SIZES;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
1
33
|
/**
|
|
2
34
|
* Empty state placeholder — shows when a list, table, or section has no content.
|
|
3
|
-
*
|
|
4
|
-
* @param {ReactNode} icon Optional icon element
|
|
5
|
-
* @param {string} heading Primary message
|
|
6
|
-
* @param {string} body Secondary description
|
|
7
|
-
* @param {ReactNode} action Optional CTA (button, link, etc.)
|
|
8
|
-
* @param {"sm"|"md"|"lg"} size Visual density
|
|
9
35
|
*/
|
|
10
|
-
export default function EmptyState({ icon, heading, body, action, size, className, }:
|
|
36
|
+
export default function EmptyState({ icon, heading, body, action, size, className, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export {};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsxs as x, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
const i = {
|
|
2
|
+
const c = {
|
|
4
3
|
sm: { icon: "h-8 w-8", heading: "text-sm", body: "text-xs", gap: "gap-2", pad: "py-6" },
|
|
5
4
|
md: { icon: "h-10 w-10", heading: "text-base", body: "text-sm", gap: "gap-3", pad: "py-10" },
|
|
6
5
|
lg: { icon: "h-14 w-14", heading: "text-lg", body: "text-sm", gap: "gap-4", pad: "py-16" }
|
|
7
6
|
};
|
|
8
|
-
function
|
|
7
|
+
function p({
|
|
9
8
|
icon: a,
|
|
10
9
|
heading: l = "Nothing here yet",
|
|
11
10
|
body: s,
|
|
12
11
|
action: d,
|
|
13
|
-
size:
|
|
12
|
+
size: i = "md",
|
|
14
13
|
className: n = ""
|
|
15
14
|
}) {
|
|
16
|
-
const e = i
|
|
15
|
+
const e = c[i];
|
|
17
16
|
return /* @__PURE__ */ x("div", { className: `flex flex-col items-center justify-center text-center ${e.pad} ${e.gap} ${n}`, children: [
|
|
18
17
|
a && /* @__PURE__ */ t("div", { className: `${e.icon} text-slate-300 dark:text-slate-600`, children: a }),
|
|
19
18
|
/* @__PURE__ */ t("div", { className: `${e.heading} font-semibold text-slate-700 dark:text-slate-200`, children: l }),
|
|
@@ -22,6 +21,6 @@ function r({
|
|
|
22
21
|
] });
|
|
23
22
|
}
|
|
24
23
|
export {
|
|
25
|
-
|
|
24
|
+
p as default
|
|
26
25
|
};
|
|
27
26
|
//# sourceMappingURL=EmptyState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.js","sources":["../../../../src/components/library/ui/EmptyState.
|
|
1
|
+
{"version":3,"file":"EmptyState.js","sources":["../../../../src/components/library/ui/EmptyState.tsx"],"sourcesContent":["import * as React from \"react\";\n\nconst SIZES = {\n sm: { icon: \"h-8 w-8\", heading: \"text-sm\", body: \"text-xs\", gap: \"gap-2\", pad: \"py-6\" },\n md: { icon: \"h-10 w-10\", heading: \"text-base\", body: \"text-sm\", gap: \"gap-3\", pad: \"py-10\" },\n lg: { icon: \"h-14 w-14\", heading: \"text-lg\", body: \"text-sm\", gap: \"gap-4\", pad: \"py-16\" },\n} as const;\n\nexport interface EmptyStateProps {\n icon?: React.ReactNode;\n heading?: string;\n body?: string;\n action?: React.ReactNode;\n size?: keyof typeof SIZES;\n className?: string;\n}\n\n/**\n * Empty state placeholder — shows when a list, table, or section has no content.\n */\nexport default function EmptyState({\n icon,\n heading = \"Nothing here yet\",\n body,\n action,\n size = \"md\",\n className = \"\",\n}: EmptyStateProps) {\n const s = SIZES[size];\n\n return (\n <div className={`flex flex-col items-center justify-center text-center ${s.pad} ${s.gap} ${className}`}>\n {icon && (\n <div className={`${s.icon} text-slate-300 dark:text-slate-600`}>\n {icon}\n </div>\n )}\n <div className={`${s.heading} font-semibold text-slate-700 dark:text-slate-200`}>\n {heading}\n </div>\n {body && (\n <div className={`${s.body} max-w-sm text-slate-500 dark:text-slate-400`}>\n {body}\n </div>\n )}\n {action && <div className=\"mt-1\">{action}</div>}\n </div>\n );\n}\n"],"names":["SIZES","EmptyState","icon","heading","body","action","size","className","s","jsxs","jsx"],"mappings":";AAEA,MAAMA,IAAQ;AAAA,EACZ,IAAI,EAAE,MAAM,WAAW,SAAS,WAAW,MAAM,WAAW,KAAK,SAAS,KAAK,OAAA;AAAA,EAC/E,IAAI,EAAE,MAAM,aAAa,SAAS,aAAa,MAAM,WAAW,KAAK,SAAS,KAAK,QAAA;AAAA,EACnF,IAAI,EAAE,MAAM,aAAa,SAAS,WAAW,MAAM,WAAW,KAAK,SAAS,KAAK,QAAA;AACnF;AAcA,SAAwBC,EAAW;AAAA,EACjC,MAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,WAAAC,IAAY;AACd,GAAoB;AAClB,QAAMC,IAAIR,EAAMM,CAAI;AAEpB,SACE,gBAAAG,EAAC,OAAA,EAAI,WAAW,yDAAyDD,EAAE,GAAG,IAAIA,EAAE,GAAG,IAAID,CAAS,IACjG,UAAA;AAAA,IAAAL,uBACE,OAAA,EAAI,WAAW,GAAGM,EAAE,IAAI,uCACtB,UAAAN,EAAA,CACH;AAAA,sBAED,OAAA,EAAI,WAAW,GAAGM,EAAE,OAAO,qDACzB,UAAAL,GACH;AAAA,IACCC,uBACE,OAAA,EAAI,WAAW,GAAGI,EAAE,IAAI,gDACtB,UAAAJ,EAAA,CACH;AAAA,IAEDC,KAAU,gBAAAK,EAAC,OAAA,EAAI,WAAU,QAAQ,UAAAL,EAAA,CAAO;AAAA,EAAA,GAC3C;AAEJ;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface FieldGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
}
|
|
4
|
+
export default function FieldGroup({ className, children, ...rest }: FieldGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
function a({ className: o = "", children: e, ...l }) {
|
|
2
|
+
function f({ className: e = "", children: o, ...l }) {
|
|
4
3
|
return /* @__PURE__ */ r(
|
|
5
4
|
"div",
|
|
6
5
|
{
|
|
7
6
|
className: [
|
|
8
7
|
"flex flex-col gap-1.5",
|
|
9
|
-
|
|
8
|
+
e
|
|
10
9
|
].filter(Boolean).join(" "),
|
|
11
10
|
...l,
|
|
12
|
-
children:
|
|
11
|
+
children: o
|
|
13
12
|
}
|
|
14
13
|
);
|
|
15
14
|
}
|
|
16
15
|
export {
|
|
17
|
-
|
|
16
|
+
f as default
|
|
18
17
|
};
|
|
19
18
|
//# sourceMappingURL=FieldGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldGroup.js","sources":["../../../../src/components/library/ui/FieldGroup.
|
|
1
|
+
{"version":3,"file":"FieldGroup.js","sources":["../../../../src/components/library/ui/FieldGroup.tsx"],"sourcesContent":["import * as React from \"react\";\n\nexport interface FieldGroupProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport default function FieldGroup({ className = \"\", children, ...rest }: FieldGroupProps) {\n return (\n <div\n className={[\n \"flex flex-col gap-1.5\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n"],"names":["FieldGroup","className","children","rest","jsx"],"mappings":";AAIA,SAAwBA,EAAW,EAAE,WAAAC,IAAY,IAAI,UAAAC,GAAU,GAAGC,KAAyB;AACzF,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAH;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const SIZE_CLASSES: {
|
|
3
|
+
readonly xs: "h-3 w-3";
|
|
4
|
+
readonly sm: "h-4 w-4";
|
|
5
|
+
readonly md: "h-5 w-5";
|
|
6
|
+
readonly lg: "h-6 w-6";
|
|
7
|
+
readonly xl: "h-8 w-8";
|
|
8
|
+
};
|
|
9
|
+
declare const TONE_CLASSES: {
|
|
10
|
+
readonly brand: "text-brand-500";
|
|
11
|
+
readonly white: "text-white";
|
|
12
|
+
readonly muted: "text-slate-400 dark:text-slate-500";
|
|
13
|
+
readonly current: "text-current";
|
|
14
|
+
};
|
|
15
|
+
export interface SpinnerProps extends React.SVGAttributes<SVGSVGElement> {
|
|
16
|
+
size?: keyof typeof SIZE_CLASSES;
|
|
17
|
+
tone?: keyof typeof TONE_CLASSES;
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
1
20
|
/**
|
|
2
21
|
* Animated spinner.
|
|
3
|
-
*
|
|
4
|
-
* @param {"xs"|"sm"|"md"|"lg"|"xl"} size
|
|
5
|
-
* @param {"brand"|"white"|"muted"|"current"} tone
|
|
6
|
-
* @param {string} label — screen-reader label
|
|
7
22
|
*/
|
|
8
|
-
export default function Spinner({ size, tone, label, className, ...rest }:
|
|
23
|
+
export default function Spinner({ size, tone, label, className, ...rest }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const SIZE_CLASSES: {
|
|
3
|
+
readonly xs: "text-xs";
|
|
4
|
+
readonly sm: "text-sm";
|
|
5
|
+
readonly md: "text-base";
|
|
6
|
+
readonly lg: "text-lg";
|
|
7
|
+
readonly xl: "text-xl";
|
|
8
|
+
readonly xxl: "text-2xl";
|
|
9
|
+
};
|
|
10
|
+
declare const WEIGHT_CLASSES: {
|
|
11
|
+
readonly regular: "font-normal";
|
|
12
|
+
readonly medium: "font-medium";
|
|
13
|
+
readonly bold: "font-semibold";
|
|
14
|
+
};
|
|
15
|
+
export interface UITextProps<T extends React.ElementType = "span"> {
|
|
16
|
+
as?: T;
|
|
17
|
+
size?: keyof typeof SIZE_CLASSES;
|
|
18
|
+
weight?: keyof typeof WEIGHT_CLASSES;
|
|
19
|
+
muted?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
}
|
|
23
|
+
export default function UIText<T extends React.ElementType = "span">({ as, size, weight, muted, className, children, ...rest }: UITextProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof UITextProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -1,43 +1,40 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
3
|
-
const t = {
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
const n = {
|
|
4
3
|
xs: "text-xs",
|
|
5
4
|
sm: "text-sm",
|
|
6
5
|
md: "text-base",
|
|
7
6
|
lg: "text-lg",
|
|
8
7
|
xl: "text-xl",
|
|
9
8
|
xxl: "text-2xl"
|
|
10
|
-
},
|
|
9
|
+
}, r = {
|
|
11
10
|
regular: "font-normal",
|
|
12
11
|
medium: "font-medium",
|
|
13
12
|
bold: "font-semibold"
|
|
14
13
|
};
|
|
15
|
-
function
|
|
16
|
-
as:
|
|
17
|
-
size:
|
|
18
|
-
weight:
|
|
19
|
-
muted:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
...n
|
|
14
|
+
function i({
|
|
15
|
+
as: t,
|
|
16
|
+
size: e = "md",
|
|
17
|
+
weight: l = "regular",
|
|
18
|
+
muted: x = !1,
|
|
19
|
+
className: s = "",
|
|
20
|
+
children: o,
|
|
21
|
+
...a
|
|
24
22
|
}) {
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
23
|
+
return /* @__PURE__ */ m(
|
|
24
|
+
t || "span",
|
|
27
25
|
{
|
|
28
|
-
style: o,
|
|
29
26
|
className: [
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
n[e],
|
|
28
|
+
r[l],
|
|
29
|
+
x ? "text-slate-600 dark:text-slate-300" : "text-slate-900 dark:text-slate-50",
|
|
30
|
+
s
|
|
34
31
|
].filter(Boolean).join(" "),
|
|
35
|
-
...
|
|
36
|
-
children:
|
|
32
|
+
...a,
|
|
33
|
+
children: o
|
|
37
34
|
}
|
|
38
35
|
);
|
|
39
36
|
}
|
|
40
37
|
export {
|
|
41
|
-
|
|
38
|
+
i as default
|
|
42
39
|
};
|
|
43
40
|
//# sourceMappingURL=Text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sources":["../../../../src/components/library/ui/Text.
|
|
1
|
+
{"version":3,"file":"Text.js","sources":["../../../../src/components/library/ui/Text.tsx"],"sourcesContent":["import * as React from \"react\";\n\nconst SIZE_CLASSES = {\n xs: \"text-xs\",\n sm: \"text-sm\",\n md: \"text-base\",\n lg: \"text-lg\",\n xl: \"text-xl\",\n xxl: \"text-2xl\"\n} as const;\n\nconst WEIGHT_CLASSES = {\n regular: \"font-normal\",\n medium: \"font-medium\",\n bold: \"font-semibold\"\n} as const;\n\nexport interface UITextProps<T extends React.ElementType = \"span\"> {\n as?: T;\n size?: keyof typeof SIZE_CLASSES;\n weight?: keyof typeof WEIGHT_CLASSES;\n muted?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\nexport default function UIText<T extends React.ElementType = \"span\">({\n as,\n size = \"md\",\n weight = \"regular\",\n muted = false,\n className = \"\",\n children,\n ...rest\n}: UITextProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof UITextProps<T>>) {\n const Comp = as || \"span\";\n\n return (\n <Comp\n className={[\n SIZE_CLASSES[size],\n WEIGHT_CLASSES[weight],\n muted ? \"text-slate-600 dark:text-slate-300\" : \"text-slate-900 dark:text-slate-50\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </Comp>\n );\n}\n"],"names":["SIZE_CLASSES","WEIGHT_CLASSES","UIText","as","size","weight","muted","className","children","rest","jsx"],"mappings":";AAEA,MAAMA,IAAe;AAAA,EACnB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,KAAK;AACP,GAEMC,IAAiB;AAAA,EACrB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AACR;AAWA,SAAwBC,EAA6C;AAAA,EACnE,IAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,QAAAC,IAAS;AAAA,EACT,OAAAC,IAAQ;AAAA,EACR,WAAAC,IAAY;AAAA,EACZ,UAAAC;AAAA,EACA,GAAGC;AACL,GAAmF;AAGjF,SACE,gBAAAC;AAAA,IAHWP,KAAM;AAAA,IAGhB;AAAA,MACC,WAAW;AAAA,QACTH,EAAaI,CAAI;AAAA,QACjBH,EAAeI,CAAM;AAAA,QACrBC,IAAQ,uCAAuC;AAAA,QAC/CC;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface UIInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
}
|
|
4
|
+
export default function UIInput({ className, ...rest }: UIInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
function l({ style: e = void 0, className: t = "", ...r }) {
|
|
2
|
+
function a({ className: e = "", ...t }) {
|
|
4
3
|
return /* @__PURE__ */ o(
|
|
5
4
|
"input",
|
|
6
5
|
{
|
|
7
|
-
style: e,
|
|
8
6
|
className: [
|
|
9
7
|
"h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-900 shadow-sm",
|
|
10
8
|
"placeholder:text-slate-400",
|
|
11
9
|
"focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 dark:focus:ring-offset-slate-950",
|
|
12
10
|
"dark:border-slate-800 dark:bg-slate-900 dark:text-slate-50 dark:placeholder:text-slate-500",
|
|
13
|
-
|
|
11
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
12
|
+
e
|
|
14
13
|
].filter(Boolean).join(" "),
|
|
15
|
-
...
|
|
14
|
+
...t
|
|
16
15
|
}
|
|
17
16
|
);
|
|
18
17
|
}
|
|
19
18
|
export {
|
|
20
|
-
|
|
19
|
+
a as default
|
|
21
20
|
};
|
|
22
21
|
//# sourceMappingURL=UIInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIInput.js","sources":["../../../../src/components/library/ui/UIInput.
|
|
1
|
+
{"version":3,"file":"UIInput.js","sources":["../../../../src/components/library/ui/UIInput.tsx"],"sourcesContent":["import * as React from \"react\";\n\nexport interface UIInputProps extends React.InputHTMLAttributes<HTMLInputElement> {}\n\nexport default function UIInput({ className = \"\", ...rest }: UIInputProps) {\n return (\n <input\n className={[\n \"h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-900 shadow-sm\",\n \"placeholder:text-slate-400\",\n \"focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 dark:focus:ring-offset-slate-950\",\n \"dark:border-slate-800 dark:bg-slate-900 dark:text-slate-50 dark:placeholder:text-slate-500\",\n \"disabled:cursor-not-allowed disabled:opacity-50\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n />\n );\n}\n"],"names":["UIInput","className","rest","jsx"],"mappings":";AAIA,SAAwBA,EAAQ,EAAE,WAAAC,IAAY,IAAI,GAAGC,KAAsB;AACzE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const VARIANT_CLASSES: {
|
|
3
|
+
readonly default: "bg-slate-50 border-slate-200 text-slate-900 dark:bg-slate-900 dark:border-slate-800 dark:text-slate-50";
|
|
4
|
+
readonly info: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950 dark:border-blue-800 dark:text-blue-50";
|
|
5
|
+
readonly success: "bg-green-50 border-green-200 text-green-900 dark:bg-green-950 dark:border-green-800 dark:text-green-50";
|
|
6
|
+
readonly warning: "bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-950 dark:border-yellow-800 dark:text-yellow-50";
|
|
7
|
+
readonly error: "bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50";
|
|
8
|
+
readonly destructive: "bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50";
|
|
9
|
+
};
|
|
10
|
+
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
variant?: keyof typeof VARIANT_CLASSES;
|
|
12
|
+
}
|
|
13
|
+
export default function Alert({ variant, className, children, ...rest }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export interface AlertTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
15
|
+
}
|
|
16
|
+
export declare function AlertTitle({ className, children, ...rest }: AlertTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
}
|
|
19
|
+
export declare function AlertDescription({ className, children, ...rest }: AlertDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface AlertActionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
}
|
|
22
|
+
export declare function AlertAction({ className, children, ...rest }: AlertActionProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export { Alert };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
const l = {
|
|
2
|
+
const a = {
|
|
4
3
|
default: "bg-slate-50 border-slate-200 text-slate-900 dark:bg-slate-900 dark:border-slate-800 dark:text-slate-50",
|
|
5
4
|
info: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950 dark:border-blue-800 dark:text-blue-50",
|
|
6
5
|
success: "bg-green-50 border-green-200 text-green-900 dark:bg-green-950 dark:border-green-800 dark:text-green-50",
|
|
@@ -8,23 +7,23 @@ const l = {
|
|
|
8
7
|
error: "bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50",
|
|
9
8
|
destructive: "bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50"
|
|
10
9
|
};
|
|
11
|
-
function
|
|
12
|
-
const
|
|
10
|
+
function b({ variant: e = "default", className: r = "", children: t, ...l }) {
|
|
11
|
+
const o = a[e];
|
|
13
12
|
return /* @__PURE__ */ d(
|
|
14
13
|
"div",
|
|
15
14
|
{
|
|
16
15
|
role: "alert",
|
|
17
16
|
className: [
|
|
18
17
|
"rounded-lg border p-4",
|
|
19
|
-
|
|
18
|
+
o,
|
|
20
19
|
r
|
|
21
20
|
].filter(Boolean).join(" "),
|
|
22
|
-
...
|
|
21
|
+
...l,
|
|
23
22
|
children: t
|
|
24
23
|
}
|
|
25
24
|
);
|
|
26
25
|
}
|
|
27
|
-
function
|
|
26
|
+
function i({ className: e = "", children: r, ...t }) {
|
|
28
27
|
return /* @__PURE__ */ d(
|
|
29
28
|
"h5",
|
|
30
29
|
{
|
|
@@ -37,7 +36,7 @@ function s({ className: e = "", children: r, ...t }) {
|
|
|
37
36
|
}
|
|
38
37
|
);
|
|
39
38
|
}
|
|
40
|
-
function
|
|
39
|
+
function s({ className: e = "", children: r, ...t }) {
|
|
41
40
|
return /* @__PURE__ */ d(
|
|
42
41
|
"div",
|
|
43
42
|
{
|
|
@@ -50,7 +49,7 @@ function g({ className: e = "", children: r, ...t }) {
|
|
|
50
49
|
}
|
|
51
50
|
);
|
|
52
51
|
}
|
|
53
|
-
function
|
|
52
|
+
function g({ className: e = "", children: r, ...t }) {
|
|
54
53
|
return /* @__PURE__ */ d(
|
|
55
54
|
"div",
|
|
56
55
|
{
|
|
@@ -64,10 +63,10 @@ function u({ className: e = "", children: r, ...t }) {
|
|
|
64
63
|
);
|
|
65
64
|
}
|
|
66
65
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
b as Alert,
|
|
67
|
+
g as AlertAction,
|
|
68
|
+
s as AlertDescription,
|
|
69
|
+
i as AlertTitle,
|
|
70
|
+
b as default
|
|
72
71
|
};
|
|
73
72
|
//# sourceMappingURL=Alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../../../src/components/library/ui/Alert.
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../../../src/components/library/ui/Alert.tsx"],"sourcesContent":["import * as React from \"react\";\n\nconst VARIANT_CLASSES = {\n default: \"bg-slate-50 border-slate-200 text-slate-900 dark:bg-slate-900 dark:border-slate-800 dark:text-slate-50\",\n info: \"bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-950 dark:border-blue-800 dark:text-blue-50\",\n success: \"bg-green-50 border-green-200 text-green-900 dark:bg-green-950 dark:border-green-800 dark:text-green-50\",\n warning: \"bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-950 dark:border-yellow-800 dark:text-yellow-50\",\n error: \"bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50\",\n destructive: \"bg-red-50 border-red-200 text-red-900 dark:bg-red-950 dark:border-red-800 dark:text-red-50\"\n} as const;\n\nexport interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {\n variant?: keyof typeof VARIANT_CLASSES;\n}\n\nexport default function Alert({ variant = \"default\", className = \"\", children, ...rest }: AlertProps) {\n const variantClasses = VARIANT_CLASSES[variant];\n\n return (\n <div\n role=\"alert\"\n className={[\n \"rounded-lg border p-4\",\n variantClasses,\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport interface AlertTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}\n\nexport function AlertTitle({ className = \"\", children, ...rest }: AlertTitleProps) {\n return (\n <h5\n className={[\n \"mb-1 font-medium leading-none tracking-tight\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </h5>\n );\n}\n\nexport interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function AlertDescription({ className = \"\", children, ...rest }: AlertDescriptionProps) {\n return (\n <div\n className={[\n \"text-sm opacity-90\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport interface AlertActionProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function AlertAction({ className = \"\", children, ...rest }: AlertActionProps) {\n return (\n <div\n className={[\n \"mt-3\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport { Alert };\n"],"names":["VARIANT_CLASSES","Alert","variant","className","children","rest","variantClasses","jsx","AlertTitle","AlertDescription","AlertAction"],"mappings":";AAEA,MAAMA,IAAkB;AAAA,EACtB,SAAS;AAAA,EACT,MAAM;AAAA,EACN,SAAS;AAAA,EACT,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AACf;AAMA,SAAwBC,EAAM,EAAE,SAAAC,IAAU,WAAW,WAAAC,IAAY,IAAI,UAAAC,GAAU,GAAGC,KAAoB;AACpG,QAAMC,IAAiBN,EAAgBE,CAAO;AAE9C,SACE,gBAAAK;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW;AAAA,QACT;AAAA,QACAD;AAAA,QACAH;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASI,EAAW,EAAE,WAAAL,IAAY,IAAI,UAAAC,GAAU,GAAGC,KAAyB;AACjF,SACE,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASK,EAAiB,EAAE,WAAAN,IAAY,IAAI,UAAAC,GAAU,GAAGC,KAA+B;AAC7F,SACE,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASM,EAAY,EAAE,WAAAP,IAAY,IAAI,UAAAC,GAAU,GAAGC,KAA0B;AACnF,SACE,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return /* @__PURE__ */ o(
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
function l({ children: e, padding: r = "p-5", className: t = "", ...o }) {
|
|
3
|
+
return /* @__PURE__ */ a(
|
|
5
4
|
"div",
|
|
6
5
|
{
|
|
7
|
-
style: t,
|
|
8
6
|
className: [
|
|
9
7
|
"rounded-2xl border border-slate-200 bg-white shadow-sm dark:border-slate-800 dark:bg-slate-900",
|
|
10
8
|
r,
|
|
11
|
-
|
|
9
|
+
t
|
|
12
10
|
].filter(Boolean).join(" "),
|
|
13
|
-
...
|
|
11
|
+
...o,
|
|
14
12
|
children: e
|
|
15
13
|
}
|
|
16
14
|
);
|
|
17
15
|
}
|
|
18
|
-
function
|
|
19
|
-
return /* @__PURE__ */
|
|
16
|
+
function i({ className: e = "", children: r, ...t }) {
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
20
18
|
"div",
|
|
21
19
|
{
|
|
22
20
|
className: [
|
|
@@ -28,8 +26,8 @@ function s({ className: e = "", children: r, ...t }) {
|
|
|
28
26
|
}
|
|
29
27
|
);
|
|
30
28
|
}
|
|
31
|
-
function
|
|
32
|
-
return /* @__PURE__ */
|
|
29
|
+
function d({ className: e = "", children: r, ...t }) {
|
|
30
|
+
return /* @__PURE__ */ a(
|
|
33
31
|
"div",
|
|
34
32
|
{
|
|
35
33
|
className: [
|
|
@@ -41,8 +39,8 @@ function f({ className: e = "", children: r, ...t }) {
|
|
|
41
39
|
}
|
|
42
40
|
);
|
|
43
41
|
}
|
|
44
|
-
function
|
|
45
|
-
return /* @__PURE__ */
|
|
42
|
+
function s({ className: e = "", children: r, ...t }) {
|
|
43
|
+
return /* @__PURE__ */ a(
|
|
46
44
|
"h3",
|
|
47
45
|
{
|
|
48
46
|
className: [
|
|
@@ -54,8 +52,8 @@ function c({ className: e = "", children: r, ...t }) {
|
|
|
54
52
|
}
|
|
55
53
|
);
|
|
56
54
|
}
|
|
57
|
-
function
|
|
58
|
-
return /* @__PURE__ */
|
|
55
|
+
function f({ className: e = "", children: r, ...t }) {
|
|
56
|
+
return /* @__PURE__ */ a(
|
|
59
57
|
"p",
|
|
60
58
|
{
|
|
61
59
|
className: [
|
|
@@ -67,8 +65,8 @@ function u({ className: e = "", children: r, ...t }) {
|
|
|
67
65
|
}
|
|
68
66
|
);
|
|
69
67
|
}
|
|
70
|
-
function
|
|
71
|
-
return /* @__PURE__ */
|
|
68
|
+
function c({ className: e = "", children: r, ...t }) {
|
|
69
|
+
return /* @__PURE__ */ a(
|
|
72
70
|
"div",
|
|
73
71
|
{
|
|
74
72
|
className: [
|
|
@@ -80,8 +78,8 @@ function m({ className: e = "", children: r, ...t }) {
|
|
|
80
78
|
}
|
|
81
79
|
);
|
|
82
80
|
}
|
|
83
|
-
function
|
|
84
|
-
return /* @__PURE__ */
|
|
81
|
+
function u({ className: e = "", children: r, ...t }) {
|
|
82
|
+
return /* @__PURE__ */ a(
|
|
85
83
|
"div",
|
|
86
84
|
{
|
|
87
85
|
className: [
|
|
@@ -94,12 +92,12 @@ function p({ className: e = "", children: r, ...t }) {
|
|
|
94
92
|
);
|
|
95
93
|
}
|
|
96
94
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
95
|
+
i as Card,
|
|
96
|
+
c as CardContent,
|
|
97
|
+
f as CardDescription,
|
|
98
|
+
u as CardFooter,
|
|
99
|
+
d as CardHeader,
|
|
100
|
+
s as CardTitle,
|
|
101
|
+
l as default
|
|
104
102
|
};
|
|
105
103
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../../src/components/library/ui/Card.
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../../src/components/library/ui/Card.tsx"],"sourcesContent":["import * as React from \"react\";\n\nexport interface UICardProps extends React.HTMLAttributes<HTMLDivElement> {\n padding?: string;\n}\n\nexport default function UICard({ children, padding = \"p-5\", className = \"\", ...rest }: UICardProps) {\n return (\n <div\n className={[\n \"rounded-2xl border border-slate-200 bg-white shadow-sm dark:border-slate-800 dark:bg-slate-900\",\n padding,\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\n// shadcn-compatible Card components\nexport interface CardProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function Card({ className = \"\", children, ...rest }: CardProps) {\n return (\n <div\n className={[\n \"rounded-2xl border border-slate-200 bg-white shadow-sm dark:border-slate-800 dark:bg-slate-900\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function CardHeader({ className = \"\", children, ...rest }: CardHeaderProps) {\n return (\n <div\n className={[\n \"flex flex-col space-y-1.5 p-6\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}\n\nexport function CardTitle({ className = \"\", children, ...rest }: CardTitleProps) {\n return (\n <h3\n className={[\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </h3>\n );\n}\n\nexport interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}\n\nexport function CardDescription({ className = \"\", children, ...rest }: CardDescriptionProps) {\n return (\n <p\n className={[\n \"text-sm text-slate-500 dark:text-slate-400\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </p>\n );\n}\n\nexport interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function CardContent({ className = \"\", children, ...rest }: CardContentProps) {\n return (\n <div\n className={[\n \"p-6 pt-0\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nexport interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {}\n\nexport function CardFooter({ className = \"\", children, ...rest }: CardFooterProps) {\n return (\n <div\n className={[\n \"flex items-center p-6 pt-0\",\n className\n ]\n .filter(Boolean)\n .join(\" \")}\n {...rest}\n >\n {children}\n </div>\n );\n}\n"],"names":["UICard","children","padding","className","rest","jsx","Card","CardHeader","CardTitle","CardDescription","CardContent","CardFooter"],"mappings":";AAMA,SAAwBA,EAAO,EAAE,UAAAC,GAAU,SAAAC,IAAU,OAAO,WAAAC,IAAY,IAAI,GAAGC,KAAqB;AAClG,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAH;AAAA,QACAC;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAKO,SAASK,EAAK,EAAE,WAAAH,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAAmB;AACrE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASM,EAAW,EAAE,WAAAJ,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAAyB;AACjF,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASO,EAAU,EAAE,WAAAL,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAAwB;AAC/E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASQ,EAAgB,EAAE,WAAAN,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAA8B;AAC3F,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASS,EAAY,EAAE,WAAAP,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAA0B;AACnF,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;AAIO,SAASU,EAAW,EAAE,WAAAR,IAAY,IAAI,UAAAF,GAAU,GAAGG,KAAyB;AACjF,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACAF;AAAA,MAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,MACV,GAAGC;AAAA,MAEH,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
}
|
|
4
|
+
export default function Checkbox({ className, ...rest }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|