@hdb-c360/c360-shared-ui 0.1.0 → 0.1.2
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/components/badge.d.ts +8 -7
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +11 -19
- package/dist/components/badge.js.map +1 -1
- package/dist/components/brand-card.d.ts +8 -0
- package/dist/components/brand-card.d.ts.map +1 -0
- package/dist/components/brand-card.js +6 -0
- package/dist/components/brand-card.js.map +1 -0
- package/dist/components/button.d.ts +6 -9
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +14 -30
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.d.ts +7 -7
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +8 -8
- package/dist/components/card.js.map +1 -1
- package/dist/components/content-container.d.ts +3 -0
- package/dist/components/content-container.d.ts.map +1 -0
- package/dist/components/content-container.js +6 -0
- package/dist/components/content-container.js.map +1 -0
- package/dist/components/data-table-shell.d.ts +20 -0
- package/dist/components/data-table-shell.d.ts.map +1 -0
- package/dist/components/data-table-shell.js +9 -0
- package/dist/components/data-table-shell.js.map +1 -0
- package/dist/components/empty-state.d.ts +6 -5
- package/dist/components/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state.js +3 -3
- package/dist/components/empty-state.js.map +1 -1
- package/dist/components/error-state.d.ts +14 -0
- package/dist/components/error-state.d.ts.map +1 -0
- package/dist/components/error-state.js +8 -0
- package/dist/components/error-state.js.map +1 -0
- package/dist/components/form-field-wrapper.d.ts +12 -0
- package/dist/components/form-field-wrapper.d.ts.map +1 -0
- package/dist/components/form-field-wrapper.js +6 -0
- package/dist/components/form-field-wrapper.js.map +1 -0
- package/dist/components/gradient-button.d.ts +3 -0
- package/dist/components/gradient-button.d.ts.map +1 -0
- package/dist/components/gradient-button.js +6 -0
- package/dist/components/gradient-button.js.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +10 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input.d.ts +4 -4
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +4 -4
- package/dist/components/input.js.map +1 -1
- package/dist/components/loading-state.d.ts +8 -0
- package/dist/components/loading-state.d.ts.map +1 -0
- package/dist/components/loading-state.js +6 -0
- package/dist/components/loading-state.js.map +1 -0
- package/dist/components/page-header.d.ts +5 -4
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +3 -3
- package/dist/components/page-header.js.map +1 -1
- package/dist/components/section-card.d.ts +12 -0
- package/dist/components/section-card.d.ts.map +1 -0
- package/dist/components/section-card.js +7 -0
- package/dist/components/section-card.js.map +1 -0
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +3 -3
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/status-badge.d.ts +9 -0
- package/dist/components/status-badge.d.ts.map +1 -0
- package/dist/components/status-badge.js +37 -0
- package/dist/components/status-badge.js.map +1 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +9 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +7 -7
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +8 -8
- package/dist/components/table.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +26 -116
- package/dist/theme/c360-theme.d.ts +10 -0
- package/dist/theme/c360-theme.d.ts.map +1 -0
- package/dist/theme/c360-theme.js +90 -0
- package/dist/theme/c360-theme.js.map +1 -0
- package/dist/theme/colorData.d.ts +111 -0
- package/dist/theme/colorData.d.ts.map +1 -0
- package/dist/theme/colorData.js +151 -0
- package/dist/theme/colorData.js.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +3 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme-augmentation.d.ts +34 -0
- package/dist/theme-augmentation.d.ts.map +1 -0
- package/dist/theme-augmentation.js +2 -0
- package/dist/theme-augmentation.js.map +1 -0
- package/package.json +13 -9
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { type ChipProps } from "@mui/material";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export type BadgeVariant = "default" | "secondary" | "success" | "warning" | "destructive" | "info";
|
|
4
|
+
export interface BadgeProps extends Omit<ChipProps, "children" | "color" | "label" | "variant"> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
variant?: BadgeVariant;
|
|
7
|
+
shape?: "default" | "pill";
|
|
7
8
|
}
|
|
8
|
-
export declare function Badge({
|
|
9
|
+
export declare function Badge({ children, variant, shape, sx, ...props }: BadgeProps): import("react").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,CAAC;AAEpG,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;IAC7F,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC5B;AAWD,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,OAAmB,EAAE,KAAiB,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAWnG"}
|
package/dist/components/badge.js
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
variant: "default"
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export function Badge({ className, variant, ...props }) {
|
|
20
|
-
return _jsx("span", { className: cn(badgeVariants({ variant, className })), ...props });
|
|
2
|
+
import { Chip } from "@mui/material";
|
|
3
|
+
const colors = {
|
|
4
|
+
default: "default",
|
|
5
|
+
secondary: "secondary",
|
|
6
|
+
success: "success",
|
|
7
|
+
warning: "warning",
|
|
8
|
+
destructive: "error",
|
|
9
|
+
info: "info",
|
|
10
|
+
};
|
|
11
|
+
export function Badge({ children, variant = "default", shape = "default", sx, ...props }) {
|
|
12
|
+
return (_jsx(Chip, { size: "small", color: colors[variant], label: children, variant: variant === "default" ? "filled" : "outlined", sx: { borderRadius: shape === "pill" ? 999 : 1.5, fontWeight: 650, "& .MuiChip-label": { px: 1.5 }, ...sx }, ...props }));
|
|
21
13
|
}
|
|
22
14
|
//# sourceMappingURL=badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,eAAe,CAAC;AAWrD,MAAM,MAAM,GAA6C;IACvD,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,MAAM,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAc;IAClG,OAAO,CACL,KAAC,IAAI,IACH,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,EACtB,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EACtD,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,kBAAkB,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,EAAE,KACvG,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type CardProps } from "@mui/material";
|
|
2
|
+
interface BrandCardProps extends CardProps {
|
|
3
|
+
accent?: "top" | "left" | "none";
|
|
4
|
+
padded?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function BrandCard({ accent, padded, children, sx, ...props }: BrandCardProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=brand-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-card.d.ts","sourceRoot":"","sources":["../../src/components/brand-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1D,UAAU,cAAe,SAAQ,SAAS;IACxC,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,SAAS,CAAC,EAAE,MAAc,EAAE,MAAa,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAOlG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, Card } from "@mui/material";
|
|
3
|
+
export function BrandCard({ accent = "top", padded = true, children, sx, ...props }) {
|
|
4
|
+
return (_jsxs(Card, { variant: "outlined", sx: { position: "relative", overflow: "hidden", borderRadius: 3, ...sx }, ...props, children: [accent !== "none" ? _jsx(Box, { sx: { position: "absolute", top: 0, left: 0, right: accent === "top" ? 0 : "auto", bottom: accent === "left" ? 0 : "auto", width: accent === "left" ? 4 : "auto", height: accent === "top" ? 4 : "auto", background: (theme) => theme.palette.brand.gradient } }) : null, _jsx(Box, { sx: padded ? { p: 4, pt: accent === "top" ? 5 : 4, pl: accent === "left" ? 5 : 4 } : undefined, children: children })] }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=brand-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-card.js","sourceRoot":"","sources":["../../src/components/brand-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAkB,MAAM,eAAe,CAAC;AAO1D,MAAM,UAAU,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,KAAK,EAAkB;IACjG,OAAO,CACL,MAAC,IAAI,IAAC,OAAO,EAAC,UAAU,EAAC,EAAE,EAAE,EAAE,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LButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
1
|
+
import { type ButtonProps as MuiButtonProps } from "@mui/material";
|
|
2
|
+
export interface ButtonProps extends Omit<MuiButtonProps, "color" | "size" | "variant"> {
|
|
3
|
+
variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | "link";
|
|
4
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
5
|
+
shape?: "default" | "pill";
|
|
9
6
|
}
|
|
10
|
-
export declare const Button:
|
|
7
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
8
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAGxF,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACrF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,CAAC;IACjF,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,MAAM,wHAyBjB,CAAC"}
|
|
@@ -1,33 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
default: "h-control px-md",
|
|
18
|
-
sm: "h-9 px-sm text-[14px]",
|
|
19
|
-
lg: "h-input px-lg",
|
|
20
|
-
icon: "h-control w-control px-0"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
variant: "default",
|
|
25
|
-
size: "default"
|
|
26
|
-
}
|
|
2
|
+
import { Button as MuiButton } from "@mui/material";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
export const Button = forwardRef(function Button({ variant = "default", size = "default", shape = "default", sx, ...props }, ref) {
|
|
5
|
+
const muiVariant = variant === "outline" ? "outlined" : variant === "ghost" || variant === "link" ? "text" : "contained";
|
|
6
|
+
const color = variant === "secondary" ? "secondary" : variant === "destructive" ? "error" : "primary";
|
|
7
|
+
const muiSize = size === "sm" ? "small" : size === "lg" ? "large" : "medium";
|
|
8
|
+
return (_jsx(MuiButton, { ref: ref, color: color, variant: muiVariant, size: muiSize, sx: {
|
|
9
|
+
minWidth: size === "icon" ? 40 : undefined,
|
|
10
|
+
width: size === "icon" ? 40 : undefined,
|
|
11
|
+
px: size === "icon" ? 0 : undefined,
|
|
12
|
+
borderRadius: shape === "pill" ? 999 : undefined,
|
|
13
|
+
textDecoration: variant === "link" ? "underline" : undefined,
|
|
14
|
+
...sx,
|
|
15
|
+
}, ...props }));
|
|
27
16
|
});
|
|
28
|
-
export const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
29
|
-
const Comp = asChild ? Slot : "button";
|
|
30
|
-
return (_jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref: ref, ...props }));
|
|
31
|
-
});
|
|
32
|
-
Button.displayName = "Button";
|
|
33
17
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,SAAS,EAAsC,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAQnC,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAAiC,SAAS,MAAM,CAC9E,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,EAAE,KAAK,GAAG,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAC1E,GAAG;IAEH,MAAM,UAAU,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,KAAK,OAAO,IAAI,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC;IACzH,MAAM,KAAK,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,KAAK,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IACtG,MAAM,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAE7E,OAAO,CACL,KAAC,SAAS,IACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,UAAU,EACnB,IAAI,EAAE,OAAO,EACb,EAAE,EAAE;YACF,QAAQ,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1C,KAAK,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;YACvC,EAAE,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YACnC,YAAY,EAAE,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;YAChD,cAAc,EAAE,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;YAC5D,GAAG,EAAE;SACN,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Card:
|
|
3
|
-
export declare const CardHeader:
|
|
4
|
-
export declare const CardTitle:
|
|
5
|
-
export declare const CardDescription:
|
|
6
|
-
export declare const CardContent:
|
|
7
|
-
export declare const CardFooter:
|
|
1
|
+
import { type BoxProps, type CardProps as MuiCardProps, type TypographyProps } from "@mui/material";
|
|
2
|
+
export declare const Card: import("react").ForwardRefExoticComponent<Omit<MuiCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const CardHeader: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare const CardTitle: import("react").ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
5
|
+
export declare const CardDescription: import("react").ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
export declare const CardContent: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const CardFooter: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,QAAQ,EAAE,KAAK,SAAS,IAAI,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAGtI,eAAO,MAAM,IAAI,sHAEf,CAAC;AAGH,eAAO,MAAM,UAAU,kHAErB,CAAC;AAGH,eAAO,MAAM,SAAS,6HAEpB,CAAC;AAGH,eAAO,MAAM,eAAe,+HAE1B,CAAC;AAGH,eAAO,MAAM,WAAW,kHAEtB,CAAC;AAGH,eAAO,MAAM,UAAU,kHAErB,CAAC"}
|
package/dist/components/card.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
export const Card =
|
|
2
|
+
import { Box, Card as MuiCard, Typography } from "@mui/material";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
export const Card = forwardRef(({ sx, ...props }, ref) => (_jsx(MuiCard, { ref: ref, variant: "outlined", sx: { borderRadius: 3, ...sx }, ...props })));
|
|
5
5
|
Card.displayName = "Card";
|
|
6
|
-
export const CardHeader =
|
|
6
|
+
export const CardHeader = forwardRef(({ sx, ...props }, ref) => (_jsx(Box, { ref: ref, sx: { p: 4, pb: 2, ...sx }, ...props })));
|
|
7
7
|
CardHeader.displayName = "CardHeader";
|
|
8
|
-
export const CardTitle =
|
|
8
|
+
export const CardTitle = forwardRef(({ sx, ...props }, ref) => (_jsx(Typography, { ref: ref, component: "h3", variant: "h6", sx: { fontWeight: 650, ...sx }, ...props })));
|
|
9
9
|
CardTitle.displayName = "CardTitle";
|
|
10
|
-
export const CardDescription =
|
|
10
|
+
export const CardDescription = forwardRef(({ sx, ...props }, ref) => (_jsx(Typography, { ref: ref, component: "p", variant: "body2", color: "text.secondary", sx: sx, ...props })));
|
|
11
11
|
CardDescription.displayName = "CardDescription";
|
|
12
|
-
export const CardContent =
|
|
12
|
+
export const CardContent = forwardRef(({ sx, ...props }, ref) => (_jsx(Box, { ref: ref, sx: { p: 4, pt: 2, ...sx }, ...props })));
|
|
13
13
|
CardContent.displayName = "CardContent";
|
|
14
|
-
export const CardFooter =
|
|
14
|
+
export const CardFooter = forwardRef(({ sx, ...props }, ref) => (_jsx(Box, { ref: ref, sx: { display: "flex", alignItems: "center", justifyContent: "flex-end", gap: 2, p: 4, pt: 0, ...sx }, ...props })));
|
|
15
15
|
CardFooter.displayName = "CardFooter";
|
|
16
16
|
//# sourceMappingURL=card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,IAAI,OAAO,EAAE,UAAU,EAAuE,MAAM,eAAe,CAAC;AACtI,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAA+B,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACtF,KAAC,OAAO,IAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAC,UAAU,EAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,KAAM,KAAK,GAAI,CACpF,CAAC,CAAC;AACH,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAA2B,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACxF,KAAC,GAAG,IAAC,GAA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MAAM,UAAU,GAAG,UAAU,CAA2B,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACxF,KAAC,GAAG,IAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,KAAM,KAAK,GAAI,CACpI,CAAC,CAAC;AACH,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-container.d.ts","sourceRoot":"","sources":["../../src/components/content-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEvD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAE5D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Stack } from "@mui/material";
|
|
3
|
+
export function ContentContainer({ sx, ...props }) {
|
|
4
|
+
return _jsx(Stack, { spacing: 4, sx: { width: "100%", minWidth: 0, maxWidth: 1600, mx: "auto", ...sx }, ...props });
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=content-container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-container.js","sourceRoot":"","sources":["../../src/components/content-container.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAmB,MAAM,eAAe,CAAC;AAEvD,MAAM,UAAU,gBAAgB,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAc;IAC3D,OAAO,KAAC,KAAK,IAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,KAAM,KAAK,GAAI,CAAC;AACjH,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type StackProps } from "@mui/material";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
interface DataTableShellProps<T> extends Omit<StackProps, "children"> {
|
|
4
|
+
data: T[];
|
|
5
|
+
columns: {
|
|
6
|
+
key: string;
|
|
7
|
+
header: ReactNode;
|
|
8
|
+
cell: (row: T) => ReactNode;
|
|
9
|
+
sx?: object;
|
|
10
|
+
}[];
|
|
11
|
+
searchPlaceholder?: string;
|
|
12
|
+
searchValue?: string;
|
|
13
|
+
onSearchChange?: (value: string) => void;
|
|
14
|
+
emptyTitle?: string;
|
|
15
|
+
emptyDescription?: string;
|
|
16
|
+
keyExtractor: (row: T) => string;
|
|
17
|
+
}
|
|
18
|
+
export declare function DataTableShell<T>({ data, columns, searchPlaceholder, searchValue, onSearchChange, emptyTitle, emptyDescription, keyExtractor, ...props }: DataTableShellProps<T>): import("react").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=data-table-shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-shell.d.ts","sourceRoot":"","sources":["../../src/components/data-table-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,UAAU,mBAAmB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC;IACnE,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,CAAC;QAAC,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;CAClC;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,iBAA+B,EAAE,WAAW,EAAE,cAAc,EAAE,UAAsB,EAAE,gBAAqD,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,+BAY/O"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Stack } from "@mui/material";
|
|
3
|
+
import { EmptyState } from "./empty-state";
|
|
4
|
+
import { Input } from "./input";
|
|
5
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table";
|
|
6
|
+
export function DataTableShell({ data, columns, searchPlaceholder = "Search...", searchValue, onSearchChange, emptyTitle = "No data", emptyDescription = "There are no records to display.", keyExtractor, ...props }) {
|
|
7
|
+
return (_jsxs(Stack, { spacing: 4, ...props, children: [onSearchChange ? _jsx(Input, { placeholder: searchPlaceholder, value: searchValue, onChange: (event) => onSearchChange(event.target.value), slotProps: { htmlInput: { "aria-label": searchPlaceholder } }, sx: { maxWidth: 360 } }) : null, data.length ? (_jsxs(Table, { children: [_jsx(TableHeader, { children: _jsx(TableRow, { children: columns.map((column) => _jsx(TableHead, { sx: column.sx, children: column.header }, column.key)) }) }), _jsx(TableBody, { children: data.map((row) => _jsx(TableRow, { children: columns.map((column) => _jsx(TableCell, { sx: column.sx, children: column.cell(row) }, column.key)) }, keyExtractor(row))) })] })) : _jsx(EmptyState, { title: emptyTitle, description: emptyDescription })] }));
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=data-table-shell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-shell.js","sourceRoot":"","sources":["../../src/components/data-table-shell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAmB,MAAM,eAAe,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAaxF,MAAM,UAAU,cAAc,CAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,GAAG,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,GAAG,SAAS,EAAE,gBAAgB,GAAG,kCAAkC,EAAE,YAAY,EAAE,GAAG,KAAK,EAA0B;IAC9O,OAAO,CACL,MAAC,KAAK,IAAC,OAAO,EAAE,CAAC,KAAM,KAAK,aACzB,cAAc,CAAC,CAAC,CAAC,KAAC,KAAK,IAAC,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,iBAAiB,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,EACpO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CACb,MAAC,KAAK,eACJ,KAAC,WAAW,cAAC,KAAC,QAAQ,cAAE,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,KAAC,SAAS,IAAkB,EAAE,EAAE,MAAM,CAAC,EAAE,YAAG,MAAM,CAAC,MAAM,IAAzC,MAAM,CAAC,GAAG,CAA4C,CAAC,GAAY,GAAc,EACjJ,KAAC,SAAS,cAAE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAC,QAAQ,cAA0B,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,KAAC,SAAS,IAAkB,EAAE,EAAE,MAAM,CAAC,EAAE,YAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAA5C,MAAM,CAAC,GAAG,CAA+C,CAAC,IAAtH,YAAY,CAAC,GAAG,CAAC,CAAiH,CAAC,GAAa,IACvL,CACT,CAAC,CAAC,CAAC,KAAC,UAAU,IAAC,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,GAAI,IAC9D,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { type PaperProps } from "@mui/material";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
interface EmptyStateProps extends PaperProps {
|
|
3
4
|
title: string;
|
|
4
5
|
description?: string;
|
|
5
|
-
action?:
|
|
6
|
-
icon?:
|
|
6
|
+
action?: ReactNode;
|
|
7
|
+
icon?: ReactNode;
|
|
7
8
|
}
|
|
8
|
-
export declare function EmptyState({ title, description, action, icon,
|
|
9
|
+
export declare function EmptyState({ title, description, action, icon, sx, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/components/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/components/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,eAAgB,SAAQ,UAAU;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAW7F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
export function EmptyState({ title, description, action, icon,
|
|
4
|
-
return (
|
|
2
|
+
import { Box, Paper, Stack, Typography } from "@mui/material";
|
|
3
|
+
export function EmptyState({ title, description, action, icon, sx, ...props }) {
|
|
4
|
+
return (_jsx(Paper, { variant: "outlined", sx: { minHeight: 256, display: "grid", placeItems: "center", p: 6, textAlign: "center", borderStyle: "dashed", ...sx }, ...props, children: _jsxs(Stack, { spacing: 2, sx: { alignItems: "center" }, children: [icon ? _jsx(Box, { sx: { display: "grid", placeItems: "center", width: 52, height: 52, borderRadius: "50%", bgcolor: "action.hover", color: "text.secondary" }, children: icon }) : null, _jsx(Typography, { component: "h2", variant: "h6", children: title }), description ? _jsx(Typography, { variant: "body2", color: "text.secondary", sx: { maxWidth: 560 }, children: description }) : null, action] }) }));
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=empty-state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.js","sourceRoot":"","sources":["../../src/components/empty-state.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AAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type CardProps } from "@mui/material";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
interface ErrorStateProps extends CardProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
error?: Error | string | null;
|
|
7
|
+
onRetry?: () => void;
|
|
8
|
+
retryLabel?: string;
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
retryIcon?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function ErrorState({ title, description, error, onRetry, retryLabel, icon, retryIcon, ...props }: ErrorStateProps): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=error-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-state.d.ts","sourceRoot":"","sources":["../../src/components/error-state.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACnH,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,UAAU,eAAgB,SAAQ,SAAS;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAgC,EAAE,WAA2H,EAAE,KAAK,EAAE,OAAO,EAAE,UAAwB,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAQjR"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Alert, Box, Button, Card, CardContent, Collapse, Stack, Typography } from "@mui/material";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
export function ErrorState({ title = "Unable to load content", description = "Something went wrong while loading this section. Please try again or contact support if the issue persists.", error, onRetry, retryLabel = "Try again", icon, retryIcon, ...props }) {
|
|
5
|
+
const [showDetails, setShowDetails] = useState(false);
|
|
6
|
+
return (_jsxs(Card, { variant: "outlined", ...props, children: [_jsx(Box, { sx: { height: 4, background: (theme) => theme.palette.brand.gradient } }), _jsx(CardContent, { children: _jsxs(Stack, { spacing: 3, sx: { alignItems: "center", textAlign: "center" }, children: [icon, _jsx(Typography, { variant: "h6", children: title }), _jsx(Typography, { color: "text.secondary", children: description }), error ? _jsxs(_Fragment, { children: [_jsx(Button, { size: "small", onClick: () => setShowDetails((value) => !value), children: "Technical details" }), _jsx(Collapse, { in: showDetails, sx: { width: "100%" }, children: _jsx(Alert, { severity: "error", sx: { textAlign: "left" }, children: typeof error === "string" ? error : error.message }) })] }) : null, onRetry ? _jsx(Button, { variant: "contained", startIcon: retryIcon, onClick: onRetry, children: retryLabel }) : null] }) })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=error-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-state.js","sourceRoot":"","sources":["../../src/components/error-state.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAYjD,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,GAAG,wBAAwB,EAAE,WAAW,GAAG,6GAA6G,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,GAAG,WAAW,EAAE,IAAI,EAAE,SAAS,EAA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,CAAC,CAAC,IAAI,IAAS,GAAc,IAClmB,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FormControlProps } from "@mui/material";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
interface FormFieldWrapperProps extends FormControlProps {
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
htmlFor?: string;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
errorText?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function FormFieldWrapper({ label, htmlFor, helperText, errorText, required, children, ...props }: FormFieldWrapperProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=form-field-wrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-wrapper.d.ts","sourceRoot":"","sources":["../../src/components/form-field-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,qBAAsB,SAAQ,gBAAgB;IACtD,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAE9H"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FormControl, FormHelperText, FormLabel } from "@mui/material";
|
|
3
|
+
export function FormFieldWrapper({ label, htmlFor, helperText, errorText, required, children, ...props }) {
|
|
4
|
+
return _jsxs(FormControl, { error: Boolean(errorText), required: required, ...props, children: [_jsx(FormLabel, { htmlFor: htmlFor, children: label }), children, errorText || helperText ? _jsx(FormHelperText, { children: errorText || helperText }) : null] });
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=form-field-wrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-wrapper.js","sourceRoot":"","sources":["../../src/components/form-field-wrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAyB,MAAM,eAAe,CAAC;AAW9F,MAAM,UAAU,gBAAgB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAyB;IAC7H,OAAO,MAAC,WAAW,IAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,QAAQ,KAAM,KAAK,aAAE,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,YAAG,KAAK,GAAa,EAAC,QAAQ,EAAE,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,KAAC,cAAc,cAAE,SAAS,IAAI,UAAU,GAAkB,CAAC,CAAC,CAAC,IAAI,IAAe,CAAC;AACtP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradient-button.d.ts","sourceRoot":"","sources":["../../src/components/gradient-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAGzD,eAAO,MAAM,cAAc,wHAEzB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "@mui/material";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
export const GradientButton = forwardRef(({ sx, ...props }, ref) => (_jsx(Button, { ref: ref, color: "primary", variant: "contained", sx: sx, ...props })));
|
|
5
|
+
GradientButton.displayName = "GradientButton";
|
|
6
|
+
//# sourceMappingURL=gradient-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gradient-button.js","sourceRoot":"","sources":["../../src/components/gradient-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAiC,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClG,KAAC,MAAM,IAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,WAAW,EAAC,EAAE,EAAE,EAAE,KAAM,KAAK,GAAI,CAC5E,CAAC,CAAC;AACH,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
export * from "./badge";
|
|
2
|
+
export * from "./brand-card";
|
|
2
3
|
export * from "./button";
|
|
3
4
|
export * from "./card";
|
|
5
|
+
export * from "./content-container";
|
|
6
|
+
export * from "./data-table-shell";
|
|
4
7
|
export * from "./empty-state";
|
|
8
|
+
export * from "./error-state";
|
|
9
|
+
export * from "./form-field-wrapper";
|
|
10
|
+
export * from "./gradient-button";
|
|
5
11
|
export * from "./input";
|
|
12
|
+
export * from "./loading-state";
|
|
6
13
|
export * from "./page-header";
|
|
14
|
+
export * from "./section-card";
|
|
7
15
|
export * from "./skeleton";
|
|
16
|
+
export * from "./status-badge";
|
|
17
|
+
export * from "./switch";
|
|
8
18
|
export * from "./table";
|
|
9
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
export * from "./badge";
|
|
2
|
+
export * from "./brand-card";
|
|
2
3
|
export * from "./button";
|
|
3
4
|
export * from "./card";
|
|
5
|
+
export * from "./content-container";
|
|
6
|
+
export * from "./data-table-shell";
|
|
4
7
|
export * from "./empty-state";
|
|
8
|
+
export * from "./error-state";
|
|
9
|
+
export * from "./form-field-wrapper";
|
|
10
|
+
export * from "./gradient-button";
|
|
5
11
|
export * from "./input";
|
|
12
|
+
export * from "./loading-state";
|
|
6
13
|
export * from "./page-header";
|
|
14
|
+
export * from "./section-card";
|
|
7
15
|
export * from "./skeleton";
|
|
16
|
+
export * from "./status-badge";
|
|
17
|
+
export * from "./switch";
|
|
8
18
|
export * from "./table";
|
|
9
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { type TextFieldProps } from "@mui/material";
|
|
2
|
+
export type InputProps = Omit<TextFieldProps, "error" | "variant"> & {
|
|
3
3
|
invalid?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare
|
|
4
|
+
};
|
|
5
|
+
export declare function Input({ invalid, fullWidth, size, ...props }: InputProps): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3F,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,SAAgB,EAAE,IAAc,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAExF"}
|
package/dist/components/input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { TextField } from "@mui/material";
|
|
3
|
+
export function Input({ invalid, fullWidth = true, size = "small", ...props }) {
|
|
4
|
+
return _jsx(TextField, { error: invalid, fullWidth: fullWidth, size: size, variant: "outlined", ...props });
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AAI/D,MAAM,UAAU,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,EAAE,IAAI,GAAG,OAAO,EAAE,GAAG,KAAK,EAAc;IACvF,OAAO,KAAC,SAAS,IAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,UAAU,KAAK,KAAK,GAAI,CAAC;AACvG,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type StackProps } from "@mui/material";
|
|
2
|
+
interface LoadingStateProps extends StackProps {
|
|
3
|
+
rows?: number;
|
|
4
|
+
showHeader?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function LoadingState({ rows, showHeader, ...props }: LoadingStateProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=loading-state.d.ts.map
|