@schandlergarcia/sf-web-components 1.4.0 → 1.6.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/README.md +2 -0
- package/dist/components/library/heroui/Alert.d.ts +6 -5
- package/dist/components/library/heroui/Alert.js +7 -8
- package/dist/components/library/heroui/Alert.js.map +1 -1
- package/dist/components/library/heroui/Badge.d.ts +8 -5
- package/dist/components/library/heroui/Badge.js +2 -3
- package/dist/components/library/heroui/Badge.js.map +1 -1
- package/dist/components/library/heroui/Button.d.ts +16 -26
- package/dist/components/library/heroui/Button.js +21 -22
- package/dist/components/library/heroui/Button.js.map +1 -1
- package/dist/components/library/heroui/Card.d.ts +8 -5
- package/dist/components/library/heroui/Card.js +6 -7
- package/dist/components/library/heroui/Card.js.map +1 -1
- 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/Modal.d.ts +6 -2
- package/dist/components/library/heroui/Modal.js +2 -3
- package/dist/components/library/heroui/Modal.js.map +1 -1
- package/dist/components/library/heroui/Pagination.d.ts +6 -2
- package/dist/components/library/heroui/Pagination.js +4 -5
- package/dist/components/library/heroui/Pagination.js.map +1 -1
- package/dist/components/library/heroui/ProgressBar.d.ts +8 -5
- package/dist/components/library/heroui/ProgressBar.js +0 -1
- package/dist/components/library/heroui/ProgressBar.js.map +1 -1
- package/dist/components/library/heroui/ProgressCircle.d.ts +8 -5
- package/dist/components/library/heroui/ProgressCircle.js +0 -1
- package/dist/components/library/heroui/ProgressCircle.js.map +1 -1
- package/dist/components/library/heroui/ScrollShadow.d.ts +8 -5
- package/dist/components/library/heroui/ScrollShadow.js +3 -4
- package/dist/components/library/heroui/ScrollShadow.js.map +1 -1
- package/dist/components/library/heroui/Separator.d.ts +6 -2
- package/dist/components/library/heroui/Separator.js +4 -5
- package/dist/components/library/heroui/Separator.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/Tabs.d.ts +6 -5
- package/dist/components/library/heroui/Tabs.js +7 -8
- package/dist/components/library/heroui/Tabs.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/heroui/Toggle.d.ts +5 -4
- package/dist/components/library/heroui/Toggle.js +5 -6
- package/dist/components/library/heroui/Toggle.js.map +1 -1
- package/dist/components/library/heroui/Tooltip.d.ts +6 -2
- package/dist/components/library/heroui/Tooltip.js +2 -3
- package/dist/components/library/heroui/Tooltip.js.map +1 -1
- 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/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/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/package.json +1 -1
- package/src/components/library/heroui/Alert.tsx +13 -0
- package/src/components/library/heroui/Badge.tsx +14 -0
- package/src/components/library/heroui/{Button.jsx → Button.tsx} +26 -8
- package/src/components/library/heroui/Card.tsx +14 -0
- package/src/components/library/heroui/Input.tsx +10 -0
- package/src/components/library/heroui/Kbd.tsx +11 -0
- package/src/components/library/heroui/{Modal.jsx → Modal.tsx} +5 -2
- package/src/components/library/heroui/Pagination.tsx +11 -0
- package/src/components/library/heroui/ProgressBar.tsx +14 -0
- package/src/components/library/heroui/ProgressCircle.tsx +14 -0
- package/src/components/library/heroui/ScrollShadow.tsx +14 -0
- package/src/components/library/heroui/Separator.tsx +11 -0
- package/src/components/library/heroui/Skeleton.tsx +14 -0
- package/src/components/library/heroui/{Tabs.jsx → Tabs.tsx} +8 -3
- package/src/components/library/heroui/{Toast.jsx → Toast.tsx} +5 -2
- package/src/components/library/heroui/{Toggle.jsx → Toggle.tsx} +6 -2
- package/src/components/library/heroui/{Tooltip.jsx → Tooltip.tsx} +5 -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/{FieldGroup.jsx → FieldGroup.tsx} +4 -2
- package/src/components/library/ui/{Text.jsx → Text.tsx} +19 -12
- package/src/components/library/heroui/Alert.jsx +0 -8
- package/src/components/library/heroui/Badge.jsx +0 -8
- package/src/components/library/heroui/Card.jsx +0 -8
- package/src/components/library/heroui/Input.jsx +0 -6
- package/src/components/library/heroui/Kbd.jsx +0 -8
- package/src/components/library/heroui/Pagination.jsx +0 -8
- package/src/components/library/heroui/ProgressBar.jsx +0 -8
- package/src/components/library/heroui/ProgressCircle.jsx +0 -8
- package/src/components/library/heroui/ScrollShadow.jsx +0 -8
- package/src/components/library/heroui/Separator.jsx +0 -8
- package/src/components/library/heroui/Skeleton.jsx +0 -8
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui components.
|
|
4
4
|
|
|
5
|
+
**🎯 TypeScript Migration in Progress** (v1.4.0): Core UI components now have full TypeScript support with exported prop interfaces. See `docs/TYPESCRIPT_MIGRATION.md` for status and contribution guide.
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export default function HeroUIAlert({ variant, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
variant?: string | undefined;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Alert };
|
|
6
1
|
import { Alert } from "@heroui/react";
|
|
2
|
+
export interface HeroUIAlertProps {
|
|
3
|
+
variant?: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export default function HeroUIAlert({ variant, ...props }: HeroUIAlertProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Alert };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "react";
|
|
3
|
-
import { Alert as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return /* @__PURE__ */ o(e, { variant: r, ...t });
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Alert as o } from "@heroui/react";
|
|
3
|
+
import { Alert as u } from "@heroui/react";
|
|
4
|
+
function n({ variant: r = "default", ...t }) {
|
|
5
|
+
return /* @__PURE__ */ e(o, { variant: r, ...t });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
u as Alert,
|
|
9
|
+
n as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../../../src/components/library/heroui/Alert.
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../../../src/components/library/heroui/Alert.tsx"],"sourcesContent":["import { Alert } from \"@heroui/react\";\n\nexport interface HeroUIAlertProps {\n variant?: string;\n [key: string]: any;\n}\n\nexport default function HeroUIAlert({ variant = \"default\", ...props }: HeroUIAlertProps) {\n const AlertAny = Alert as any;\n return <AlertAny variant={variant} {...props} />;\n}\n\nexport { Alert };\n"],"names":["HeroUIAlert","variant","props","jsx","Alert"],"mappings":";;;AAOA,SAAwBA,EAAY,EAAE,SAAAC,IAAU,WAAW,GAAGC,KAA2B;AAEvF,SAAO,gBAAAC,EADUC,GACT,EAAS,SAAAH,GAAmB,GAAGC,EAAA,CAAO;AAChD;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Badge };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { Badge } from "@heroui/react";
|
|
3
|
+
import type { BadgeProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUIBadgeProps extends BadgeProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUIBadge({ children, ...props }: HeroUIBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { Badge };
|
|
9
|
+
export type { BadgeProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { Badge as t } from "@heroui/react";
|
|
4
3
|
import { Badge as g } from "@heroui/react";
|
|
5
|
-
function
|
|
4
|
+
function m({ children: r, ...o }) {
|
|
6
5
|
return /* @__PURE__ */ e(t, { ...o, children: r });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
8
|
g as Badge,
|
|
10
|
-
|
|
9
|
+
m as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.js","sources":["../../../../src/components/library/heroui/Badge.
|
|
1
|
+
{"version":3,"file":"Badge.js","sources":["../../../../src/components/library/heroui/Badge.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Badge } from \"@heroui/react\";\nimport type { BadgeProps } from \"@heroui/react\";\n\nexport interface HeroUIBadgeProps extends BadgeProps {\n children?: ReactNode;\n}\n\nexport default function HeroUIBadge({ children, ...props }: HeroUIBadgeProps) {\n return <Badge {...props}>{children}</Badge>;\n}\n\nexport { Badge };\nexport type { BadgeProps };\n"],"names":["HeroUIBadge","children","props","jsx","Badge"],"mappings":";;;AAQA,SAAwBA,EAAY,EAAE,UAAAC,GAAU,GAAGC,KAA2B;AAC5E,SAAO,gBAAAC,EAACC,GAAA,EAAO,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AACrC;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
1
2
|
/**
|
|
2
3
|
* HeroUI v3 Button wrapper with shadcn compatibility.
|
|
3
4
|
*
|
|
@@ -6,29 +7,18 @@
|
|
|
6
7
|
* - outline -> bordered
|
|
7
8
|
* - ghost -> light
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
variant?:
|
|
12
|
-
size?:
|
|
13
|
-
fullWidth
|
|
14
|
-
onClick
|
|
15
|
-
children
|
|
16
|
-
className?: string
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* - ghost -> light
|
|
25
|
-
*/
|
|
26
|
-
export function Button({ variant, size, fullWidth, onClick, children, className, ...props }: {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
variant?: string | undefined;
|
|
29
|
-
size?: string | undefined;
|
|
30
|
-
fullWidth: any;
|
|
31
|
-
onClick: any;
|
|
32
|
-
children: any;
|
|
33
|
-
className?: string | undefined;
|
|
34
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
type ShadcnVariant = "primary" | "secondary" | "destructive" | "outline" | "ghost";
|
|
11
|
+
export interface HeroUIButtonProps {
|
|
12
|
+
variant?: ShadcnVariant;
|
|
13
|
+
size?: "sm" | "md" | "lg";
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
type?: "button" | "submit" | "reset";
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
export default function HeroUIButton({ variant, size, fullWidth, onClick, children, className, ...props }: HeroUIButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const Button: typeof HeroUIButton;
|
|
24
|
+
export {};
|
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "react";
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
3
2
|
import { Button as m } from "@heroui/react";
|
|
4
3
|
function p({
|
|
5
4
|
variant: o = "primary",
|
|
6
|
-
size:
|
|
7
|
-
fullWidth:
|
|
8
|
-
onClick:
|
|
9
|
-
children:
|
|
10
|
-
className:
|
|
11
|
-
...
|
|
5
|
+
size: t = "md",
|
|
6
|
+
fullWidth: r,
|
|
7
|
+
onClick: n,
|
|
8
|
+
children: e,
|
|
9
|
+
className: s = "",
|
|
10
|
+
...a
|
|
12
11
|
}) {
|
|
13
|
-
const
|
|
12
|
+
const i = {
|
|
14
13
|
primary: "solid",
|
|
15
14
|
secondary: "solid",
|
|
16
15
|
destructive: "solid",
|
|
17
16
|
outline: "bordered",
|
|
18
17
|
ghost: "light"
|
|
19
|
-
},
|
|
18
|
+
}, u = {
|
|
20
19
|
primary: "primary",
|
|
21
20
|
secondary: "default",
|
|
22
21
|
destructive: "danger",
|
|
23
22
|
outline: "default",
|
|
24
23
|
ghost: "default"
|
|
25
|
-
},
|
|
26
|
-
return /* @__PURE__ */
|
|
24
|
+
}, d = i[o], c = u[o];
|
|
25
|
+
return /* @__PURE__ */ l(
|
|
27
26
|
m,
|
|
28
27
|
{
|
|
29
|
-
variant:
|
|
30
|
-
color:
|
|
31
|
-
size:
|
|
32
|
-
fullWidth:
|
|
33
|
-
onPress:
|
|
34
|
-
className:
|
|
35
|
-
...
|
|
36
|
-
children:
|
|
28
|
+
variant: d,
|
|
29
|
+
color: c,
|
|
30
|
+
size: t,
|
|
31
|
+
fullWidth: r,
|
|
32
|
+
onPress: n,
|
|
33
|
+
className: s,
|
|
34
|
+
...a,
|
|
35
|
+
children: e
|
|
37
36
|
}
|
|
38
37
|
);
|
|
39
38
|
}
|
|
40
|
-
const
|
|
39
|
+
const h = p;
|
|
41
40
|
export {
|
|
42
|
-
|
|
41
|
+
h as Button,
|
|
43
42
|
p as default
|
|
44
43
|
};
|
|
45
44
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../src/components/library/heroui/Button.
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../src/components/library/heroui/Button.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Button as HeroButton } from \"@heroui/react\";\n\n/**\n * HeroUI v3 Button wrapper with shadcn compatibility.\n *\n * Maps shadcn variants to HeroUI:\n * - primary/secondary/destructive -> solid\n * - outline -> bordered\n * - ghost -> light\n */\n\ntype ShadcnVariant = \"primary\" | \"secondary\" | \"destructive\" | \"outline\" | \"ghost\";\n\nexport interface HeroUIButtonProps {\n variant?: ShadcnVariant;\n size?: \"sm\" | \"md\" | \"lg\";\n fullWidth?: boolean;\n onClick?: () => void;\n children?: ReactNode;\n className?: string;\n disabled?: boolean;\n type?: \"button\" | \"submit\" | \"reset\";\n [key: string]: any;\n}\n\nexport default function HeroUIButton({\n variant = \"primary\",\n size = \"md\",\n fullWidth,\n onClick,\n children,\n className = \"\",\n ...props\n}: HeroUIButtonProps) {\n // Map shadcn variants to HeroUI variants\n const variantMap: Record<ShadcnVariant, string> = {\n primary: \"solid\",\n secondary: \"solid\",\n destructive: \"solid\",\n outline: \"bordered\",\n ghost: \"light\"\n };\n\n // Map shadcn variants to HeroUI colors\n const colorMap: Record<ShadcnVariant, string> = {\n primary: \"primary\",\n secondary: \"default\",\n destructive: \"danger\",\n outline: \"default\",\n ghost: \"default\"\n };\n\n const heroVariant = variantMap[variant];\n const heroColor = colorMap[variant];\n\n const HeroButtonAny = HeroButton as any;\n\n return (\n <HeroButtonAny\n variant={heroVariant}\n color={heroColor}\n size={size}\n fullWidth={fullWidth}\n onPress={onClick}\n className={className}\n {...props}\n >\n {children}\n </HeroButtonAny>\n );\n}\n\n// Also export as Button for shadcn compatibility\nexport const Button = HeroUIButton;\n\n"],"names":["HeroUIButton","variant","size","fullWidth","onClick","children","className","props","variantMap","colorMap","heroVariant","heroColor","jsx","HeroButton","Button"],"mappings":";;AA0BA,SAAwBA,EAAa;AAAA,EACnC,SAAAC,IAAU;AAAA,EACV,MAAAC,IAAO;AAAA,EACP,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAsB;AAEpB,QAAMC,IAA4C;AAAA,IAChD,SAAS;AAAA,IACT,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,GAIHC,IAA0C;AAAA,IAC9C,SAAS;AAAA,IACT,WAAW;AAAA,IACX,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,GAGHC,IAAcF,EAAWP,CAAO,GAChCU,IAAYF,EAASR,CAAO;AAIlC,SACE,gBAAAW;AAAA,IAHoBC;AAAAA,IAGnB;AAAA,MACC,SAASH;AAAA,MACT,OAAOC;AAAA,MACP,MAAAT;AAAA,MACA,WAAAC;AAAA,MACA,SAASC;AAAA,MACT,WAAAE;AAAA,MACC,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP;AAGO,MAAMS,IAASd;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Card };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { Card } from "@heroui/react";
|
|
3
|
+
import type { CardProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUICardProps extends CardProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUICard({ children, ...props }: HeroUICardProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { Card };
|
|
9
|
+
export type { CardProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Card as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return /* @__PURE__ */ t(m, { ...o, children: r });
|
|
2
|
+
import { Card as a } from "@heroui/react";
|
|
3
|
+
import { Card as i } from "@heroui/react";
|
|
4
|
+
function m({ children: r, ...o }) {
|
|
5
|
+
return /* @__PURE__ */ t(a, { ...o, children: r });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
i as Card,
|
|
9
|
+
m as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../../src/components/library/heroui/Card.
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../../src/components/library/heroui/Card.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Card } from \"@heroui/react\";\nimport type { CardProps } from \"@heroui/react\";\n\nexport interface HeroUICardProps extends CardProps {\n children?: ReactNode;\n}\n\nexport default function HeroUICard({ children, ...props }: HeroUICardProps) {\n return <Card {...props}>{children}</Card>;\n}\n\nexport { Card };\nexport type { CardProps };\n"],"names":["HeroUICard","children","props","jsx","Card"],"mappings":";;;AAQA,SAAwBA,EAAW,EAAE,UAAAC,GAAU,GAAGC,KAA0B;AAC1E,SAAO,gBAAAC,EAACC,GAAA,EAAM,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AACpC;"}
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import type { InputProps } from "@heroui/react";
|
|
2
|
+
export interface HeroUIInputProps extends InputProps {
|
|
3
|
+
}
|
|
4
|
+
export default function HeroUIInput(props: HeroUIInputProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type { InputProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sources":["../../../../src/components/library/heroui/Input.
|
|
1
|
+
{"version":3,"file":"Input.js","sources":["../../../../src/components/library/heroui/Input.tsx"],"sourcesContent":["import { Input } from \"@heroui/react\";\nimport type { InputProps } from \"@heroui/react\";\n\nexport interface HeroUIInputProps extends InputProps {}\n\nexport default function HeroUIInput(props: HeroUIInputProps) {\n return <Input {...props} />;\n}\n\nexport type { InputProps };\n"],"names":["HeroUIInput","props","jsx","Input"],"mappings":";;AAKA,SAAwBA,EAAYC,GAAyB;AAC3D,SAAO,gBAAAC,EAACC,GAAA,EAAO,GAAGF,EAAA,CAAO;AAC3B;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export default function HeroUIKbd({ children, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Kbd };
|
|
6
1
|
import { Kbd } from "@heroui/react";
|
|
2
|
+
import type { KbdProps } from "@heroui/react";
|
|
3
|
+
export interface HeroUIKbdProps extends KbdProps {
|
|
4
|
+
}
|
|
5
|
+
export default function HeroUIKbd({ children, ...props }: HeroUIKbdProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Kbd };
|
|
7
|
+
export type { KbdProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Kbd as
|
|
4
|
-
import { Kbd as n } from "@heroui/react";
|
|
2
|
+
import { Kbd as e } from "@heroui/react";
|
|
3
|
+
import { Kbd as i } from "@heroui/react";
|
|
5
4
|
function d({ children: r, ...o }) {
|
|
6
|
-
return /* @__PURE__ */ t(
|
|
5
|
+
return /* @__PURE__ */ t(e, { ...o, children: r });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
i as Kbd,
|
|
10
9
|
d as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Kbd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.js","sources":["../../../../src/components/library/heroui/Kbd.
|
|
1
|
+
{"version":3,"file":"Kbd.js","sources":["../../../../src/components/library/heroui/Kbd.tsx"],"sourcesContent":["import { Kbd } from \"@heroui/react\";\nimport type { KbdProps } from \"@heroui/react\";\n\nexport interface HeroUIKbdProps extends KbdProps {}\n\nexport default function HeroUIKbd({ children, ...props }: HeroUIKbdProps) {\n return <Kbd {...props}>{children}</Kbd>;\n}\n\nexport { Kbd };\nexport type { KbdProps };\n"],"names":["HeroUIKbd","children","props","jsx","Kbd"],"mappings":";;;AAKA,SAAwBA,EAAU,EAAE,UAAAC,GAAU,GAAGC,KAAyB;AACxE,SAAO,gBAAAC,EAACC,GAAA,EAAK,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AACnC;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Modal } from "@heroui/react";
|
|
2
|
+
import type { ModalProps } from "@heroui/react";
|
|
1
3
|
/**
|
|
2
4
|
* HeroUI v3 Modal — compound component.
|
|
3
5
|
*
|
|
@@ -22,6 +24,8 @@
|
|
|
22
24
|
* </Modal.Backdrop>
|
|
23
25
|
* </Modal>
|
|
24
26
|
*/
|
|
25
|
-
export
|
|
27
|
+
export interface HeroUIModalProps extends ModalProps {
|
|
28
|
+
}
|
|
29
|
+
export default function HeroUIModal(props: HeroUIModalProps): import("react/jsx-runtime").JSX.Element;
|
|
26
30
|
export { Modal };
|
|
27
|
-
|
|
31
|
+
export type { ModalProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { Modal as t } from "@heroui/react";
|
|
4
|
-
import { Modal as
|
|
3
|
+
import { Modal as l } from "@heroui/react";
|
|
5
4
|
function f(o) {
|
|
6
5
|
return /* @__PURE__ */ r(t, { ...o });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
l as Modal,
|
|
10
9
|
f as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sources":["../../../../src/components/library/heroui/Modal.
|
|
1
|
+
{"version":3,"file":"Modal.js","sources":["../../../../src/components/library/heroui/Modal.tsx"],"sourcesContent":["import { Modal } from \"@heroui/react\";\nimport type { ModalProps } from \"@heroui/react\";\n\n/**\n * HeroUI v3 Modal — compound component.\n *\n * Sub-components via dot notation on the named `Modal` export:\n * Modal.Backdrop, Modal.Container, Modal.Dialog,\n * Modal.CloseTrigger, Modal.Header, Modal.Icon,\n * Modal.Heading, Modal.Body, Modal.Footer\n *\n * @example\n * import { Modal } from \"@/components/library\";\n * <Modal>\n * <Button>Open</Button>\n * <Modal.Backdrop>\n * <Modal.Container>\n * <Modal.Dialog>\n * <Modal.CloseTrigger />\n * <Modal.Header><Modal.Heading>Title</Modal.Heading></Modal.Header>\n * <Modal.Body>…</Modal.Body>\n * <Modal.Footer>…</Modal.Footer>\n * </Modal.Dialog>\n * </Modal.Container>\n * </Modal.Backdrop>\n * </Modal>\n */\nexport interface HeroUIModalProps extends ModalProps {}\n\nexport default function HeroUIModal(props: HeroUIModalProps) {\n return <Modal {...props} />;\n}\n\nexport { Modal };\nexport type { ModalProps };\n"],"names":["HeroUIModal","props","jsx","Modal"],"mappings":";;;AA6BA,SAAwBA,EAAYC,GAAyB;AAC3D,SAAO,gBAAAC,EAACC,GAAA,EAAO,GAAGF,EAAA,CAAO;AAC3B;"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export default function HeroUIPagination(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export { Pagination };
|
|
3
1
|
import { Pagination } from "@heroui/react";
|
|
2
|
+
import type { PaginationProps } from "@heroui/react";
|
|
3
|
+
export interface HeroUIPaginationProps extends PaginationProps {
|
|
4
|
+
}
|
|
5
|
+
export default function HeroUIPagination(props: HeroUIPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Pagination };
|
|
7
|
+
export type { PaginationProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { Pagination as t } from "@heroui/react";
|
|
4
|
-
import { Pagination as
|
|
5
|
-
function
|
|
3
|
+
import { Pagination as m } from "@heroui/react";
|
|
4
|
+
function a(o) {
|
|
6
5
|
return /* @__PURE__ */ r(t, { ...o });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
m as Pagination,
|
|
9
|
+
a as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Pagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","sources":["../../../../src/components/library/heroui/Pagination.
|
|
1
|
+
{"version":3,"file":"Pagination.js","sources":["../../../../src/components/library/heroui/Pagination.tsx"],"sourcesContent":["import { Pagination } from \"@heroui/react\";\nimport type { PaginationProps } from \"@heroui/react\";\n\nexport interface HeroUIPaginationProps extends PaginationProps {}\n\nexport default function HeroUIPagination(props: HeroUIPaginationProps) {\n return <Pagination {...props} />;\n}\n\nexport { Pagination };\nexport type { PaginationProps };\n"],"names":["HeroUIPagination","props","jsx","Pagination"],"mappings":";;;AAKA,SAAwBA,EAAiBC,GAA8B;AACrE,SAAO,gBAAAC,EAACC,GAAA,EAAY,GAAGF,EAAA,CAAO;AAChC;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { ProgressBar };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { ProgressBar } from "@heroui/react";
|
|
3
|
+
import type { ProgressBarProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUIProgressBarProps extends ProgressBarProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUIProgressBar({ children, ...props }: HeroUIProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ProgressBar };
|
|
9
|
+
export type { ProgressBarProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.js","sources":["../../../../src/components/library/heroui/ProgressBar.
|
|
1
|
+
{"version":3,"file":"ProgressBar.js","sources":["../../../../src/components/library/heroui/ProgressBar.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ProgressBar } from \"@heroui/react\";\nimport type { ProgressBarProps } from \"@heroui/react\";\n\nexport interface HeroUIProgressBarProps extends ProgressBarProps {\n children?: ReactNode;\n}\n\nexport default function HeroUIProgressBar({ children, ...props }: HeroUIProgressBarProps) {\n return <ProgressBar {...props}>{children}</ProgressBar>;\n}\n\nexport { ProgressBar };\nexport type { ProgressBarProps };\n"],"names":["HeroUIProgressBar","children","props","jsx","ProgressBar"],"mappings":";;;AAQA,SAAwBA,EAAkB,EAAE,UAAAC,GAAU,GAAGC,KAAiC;AACxF,SAAO,gBAAAC,EAACC,GAAA,EAAa,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AAC3C;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { ProgressCircle };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { ProgressCircle } from "@heroui/react";
|
|
3
|
+
import type { ProgressCircleProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUIProgressCircleProps extends ProgressCircleProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUIProgressCircle({ children, ...props }: HeroUIProgressCircleProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ProgressCircle };
|
|
9
|
+
export type { ProgressCircleProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle.js","sources":["../../../../src/components/library/heroui/ProgressCircle.
|
|
1
|
+
{"version":3,"file":"ProgressCircle.js","sources":["../../../../src/components/library/heroui/ProgressCircle.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ProgressCircle } from \"@heroui/react\";\nimport type { ProgressCircleProps } from \"@heroui/react\";\n\nexport interface HeroUIProgressCircleProps extends ProgressCircleProps {\n children?: ReactNode;\n}\n\nexport default function HeroUIProgressCircle({ children, ...props }: HeroUIProgressCircleProps) {\n return <ProgressCircle {...props}>{children}</ProgressCircle>;\n}\n\nexport { ProgressCircle };\nexport type { ProgressCircleProps };\n"],"names":["HeroUIProgressCircle","children","props","jsx","ProgressCircle"],"mappings":";;;AAQA,SAAwBA,EAAqB,EAAE,UAAAC,GAAU,GAAGC,KAAoC;AAC9F,SAAO,gBAAAC,EAACC,GAAA,EAAgB,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AAC9C;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { ScrollShadow };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { ScrollShadow } from "@heroui/react";
|
|
3
|
+
import type { ScrollShadowProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUIScrollShadowProps extends ScrollShadowProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUIScrollShadow({ children, ...props }: HeroUIScrollShadowProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ScrollShadow };
|
|
9
|
+
export type { ScrollShadowProps };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "react";
|
|
3
|
-
import { ScrollShadow as l } from "@heroui/react";
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { ScrollShadow as t } from "@heroui/react";
|
|
4
3
|
import { ScrollShadow as c } from "@heroui/react";
|
|
5
4
|
function e({ children: o, ...r }) {
|
|
6
|
-
return /* @__PURE__ */ t
|
|
5
|
+
return /* @__PURE__ */ l(t, { ...r, children: o });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
8
|
c as ScrollShadow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollShadow.js","sources":["../../../../src/components/library/heroui/ScrollShadow.
|
|
1
|
+
{"version":3,"file":"ScrollShadow.js","sources":["../../../../src/components/library/heroui/ScrollShadow.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ScrollShadow } from \"@heroui/react\";\nimport type { ScrollShadowProps } from \"@heroui/react\";\n\nexport interface HeroUIScrollShadowProps extends ScrollShadowProps {\n children?: ReactNode;\n}\n\nexport default function HeroUIScrollShadow({ children, ...props }: HeroUIScrollShadowProps) {\n return <ScrollShadow {...props}>{children}</ScrollShadow>;\n}\n\nexport { ScrollShadow };\nexport type { ScrollShadowProps };\n"],"names":["HeroUIScrollShadow","children","props","jsx","ScrollShadow"],"mappings":";;;AAQA,SAAwBA,EAAmB,EAAE,UAAAC,GAAU,GAAGC,KAAkC;AAC1F,SAAO,gBAAAC,EAACC,GAAA,EAAc,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AAC5C;"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export default function HeroUISeparator(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export { Separator };
|
|
3
1
|
import { Separator } from "@heroui/react";
|
|
2
|
+
import type { SeparatorProps } from "@heroui/react";
|
|
3
|
+
export interface HeroUISeparatorProps extends SeparatorProps {
|
|
4
|
+
}
|
|
5
|
+
export default function HeroUISeparator(props: HeroUISeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Separator };
|
|
7
|
+
export type { SeparatorProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { Separator as t } from "@heroui/react";
|
|
4
|
-
import { Separator as
|
|
5
|
-
function
|
|
3
|
+
import { Separator as i } from "@heroui/react";
|
|
4
|
+
function p(r) {
|
|
6
5
|
return /* @__PURE__ */ o(t, { ...r });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
i as Separator,
|
|
9
|
+
p as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Separator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.js","sources":["../../../../src/components/library/heroui/Separator.
|
|
1
|
+
{"version":3,"file":"Separator.js","sources":["../../../../src/components/library/heroui/Separator.tsx"],"sourcesContent":["import { Separator } from \"@heroui/react\";\nimport type { SeparatorProps } from \"@heroui/react\";\n\nexport interface HeroUISeparatorProps extends SeparatorProps {}\n\nexport default function HeroUISeparator(props: HeroUISeparatorProps) {\n return <Separator {...props} />;\n}\n\nexport { Separator };\nexport type { SeparatorProps };\n"],"names":["HeroUISeparator","props","jsx","Separator"],"mappings":";;;AAKA,SAAwBA,EAAgBC,GAA6B;AACnE,SAAO,gBAAAC,EAACC,GAAA,EAAW,GAAGF,EAAA,CAAO;AAC/B;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Skeleton };
|
|
1
|
+
import type { ReactNode } from "react";
|
|
6
2
|
import { Skeleton } from "@heroui/react";
|
|
3
|
+
import type { SkeletonProps } from "@heroui/react";
|
|
4
|
+
export interface HeroUISkeletonProps extends SkeletonProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export default function HeroUISkeleton({ children, ...props }: HeroUISkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { Skeleton };
|
|
9
|
+
export type { SkeletonProps };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { Skeleton as t } from "@heroui/react";
|
|
4
|
-
import { Skeleton as
|
|
5
|
-
function
|
|
3
|
+
import { Skeleton as i } from "@heroui/react";
|
|
4
|
+
function m({ children: o, ...e }) {
|
|
6
5
|
return /* @__PURE__ */ r(t, { ...e, children: o });
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
i as Skeleton,
|
|
9
|
+
m as default
|
|
11
10
|
};
|
|
12
11
|
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.js","sources":["../../../../src/components/library/heroui/Skeleton.
|
|
1
|
+
{"version":3,"file":"Skeleton.js","sources":["../../../../src/components/library/heroui/Skeleton.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Skeleton } from \"@heroui/react\";\nimport type { SkeletonProps } from \"@heroui/react\";\n\nexport interface HeroUISkeletonProps extends SkeletonProps {\n children?: ReactNode;\n}\n\nexport default function HeroUISkeleton({ children, ...props }: HeroUISkeletonProps) {\n return <Skeleton {...props}>{children}</Skeleton>;\n}\n\nexport { Skeleton };\nexport type { SkeletonProps };\n"],"names":["HeroUISkeleton","children","props","jsx","Skeleton"],"mappings":";;;AAQA,SAAwBA,EAAe,EAAE,UAAAC,GAAU,GAAGC,KAA8B;AAClF,SAAO,gBAAAC,EAACC,GAAA,EAAU,GAAGF,GAAQ,UAAAD,EAAA,CAAS;AACxC;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Tabs } from "@heroui/react";
|
|
1
2
|
/**
|
|
2
3
|
* HeroUI v3 Tabs — compound component.
|
|
3
4
|
*
|
|
@@ -16,9 +17,9 @@
|
|
|
16
17
|
* <Tabs.Panel id="analytics">…</Tabs.Panel>
|
|
17
18
|
* </Tabs>
|
|
18
19
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
20
|
+
export interface HeroUITabsProps {
|
|
21
|
+
variant?: string;
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
export default function HeroUITabs({ variant, ...props }: HeroUITabsProps): import("react/jsx-runtime").JSX.Element;
|
|
23
25
|
export { Tabs };
|
|
24
|
-
import { Tabs } from "@heroui/react";
|