mta-design-system 0.1.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 +198 -0
- package/dist/cli/src/index.cjs +1234 -0
- package/dist/cli/src/index.cjs.map +1 -0
- package/dist/index.cjs +2269 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +350 -0
- package/dist/index.d.ts +350 -0
- package/dist/index.js +2151 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/src/index.cjs +1351 -0
- package/dist/mcp/src/index.cjs.map +1 -0
- package/dist/styles.css +171 -0
- package/package.json +120 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
7
|
+
import { Command as Command$1 } from 'cmdk';
|
|
8
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
9
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
10
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
11
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
12
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
13
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
14
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
15
|
+
import * as LucideIcons from 'lucide-react';
|
|
16
|
+
|
|
17
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
18
|
+
|
|
19
|
+
declare const alertVariants: (props?: ({
|
|
20
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
21
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
+
declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
24
|
+
declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare const buttonVariants: (props?: ({
|
|
27
|
+
variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
28
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
30
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
}): react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
34
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
35
|
+
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
36
|
+
}): react_jsx_runtime.JSX.Element;
|
|
37
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
38
|
+
|
|
39
|
+
declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
40
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
41
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
47
|
+
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
48
|
+
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
51
|
+
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
53
|
+
showCloseButton?: boolean;
|
|
54
|
+
}): react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
56
|
+
declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
60
|
+
declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
|
|
62
|
+
title?: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
className?: string;
|
|
65
|
+
showCloseButton?: boolean;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function CommandEmpty({ ...props }: React.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function CommandItem({ className, ...props }: React.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
74
|
+
|
|
75
|
+
declare function Input({ className, type, ...props }: React.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
79
|
+
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
82
|
+
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
84
|
+
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
85
|
+
|
|
86
|
+
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
90
|
+
size?: "sm" | "default";
|
|
91
|
+
}): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare function SelectContent({ className, children, position, align, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
95
|
+
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
96
|
+
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
97
|
+
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
98
|
+
|
|
99
|
+
interface SpinnerProps extends React.ComponentProps<"svg"> {
|
|
100
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
101
|
+
}
|
|
102
|
+
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
103
|
+
|
|
104
|
+
declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
105
|
+
|
|
106
|
+
declare function Table({ className, ...props }: React.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
107
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
108
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
|
|
109
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
|
|
111
|
+
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
|
|
112
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
113
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
114
|
+
|
|
115
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
116
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
119
|
+
|
|
120
|
+
declare const themeStyles: {
|
|
121
|
+
readonly Default: {
|
|
122
|
+
readonly primary: "var(--claimmind-primary)";
|
|
123
|
+
readonly secondary: "var(--claimmind-secondary)";
|
|
124
|
+
readonly tertiary: "var(--claimmind-tertiary)";
|
|
125
|
+
readonly success: "var(--claimmind-success)";
|
|
126
|
+
readonly danger: "var(--claimmind-danger)";
|
|
127
|
+
readonly background: "var(--claimmind-background)";
|
|
128
|
+
};
|
|
129
|
+
readonly Owlexa: {
|
|
130
|
+
readonly primary: "var(--owlexa-primary)";
|
|
131
|
+
readonly secondary: "var(--owlexa-secondary)";
|
|
132
|
+
readonly tertiary: "var(--owlexa-tertiary)";
|
|
133
|
+
readonly success: "var(--owlexa-success)";
|
|
134
|
+
readonly danger: "var(--owlexa-danger)";
|
|
135
|
+
readonly background: "var(--owlexa-background)";
|
|
136
|
+
};
|
|
137
|
+
readonly BPJS: {
|
|
138
|
+
readonly primary: "var(--bpjs-primary)";
|
|
139
|
+
readonly secondary: "var(--bpjs-secondary)";
|
|
140
|
+
readonly tertiary: "var(--bpjs-tertiary)";
|
|
141
|
+
readonly success: "var(--bpjs-success)";
|
|
142
|
+
readonly danger: "var(--bpjs-danger)";
|
|
143
|
+
readonly background: "var(--bpjs-background)";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
type ClaimMindTheme = keyof typeof themeStyles;
|
|
147
|
+
|
|
148
|
+
interface Props$a extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
149
|
+
label?: string;
|
|
150
|
+
size?: 'default' | 'sm' | 'lg' | 'icon';
|
|
151
|
+
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
152
|
+
theme?: ClaimMindTheme;
|
|
153
|
+
className?: string;
|
|
154
|
+
loading?: boolean;
|
|
155
|
+
disabled?: boolean;
|
|
156
|
+
onClick?: () => void;
|
|
157
|
+
/** Nama ikon di sisi kiri */
|
|
158
|
+
leftIconName?: keyof typeof LucideIcons;
|
|
159
|
+
/** Nama ikon di sisi kanan */
|
|
160
|
+
rightIconName?: keyof typeof LucideIcons;
|
|
161
|
+
}
|
|
162
|
+
declare const ClaimMindButton: React.ForwardRefExoticComponent<Props$a & React.RefAttributes<HTMLButtonElement>>;
|
|
163
|
+
|
|
164
|
+
interface Props$9 extends React.ComponentProps<"input"> {
|
|
165
|
+
theme?: ClaimMindTheme;
|
|
166
|
+
}
|
|
167
|
+
declare const ClaimMindInput: React.ForwardRefExoticComponent<Omit<Props$9, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
168
|
+
|
|
169
|
+
interface Props$8 {
|
|
170
|
+
theme?: ClaimMindTheme;
|
|
171
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
172
|
+
className?: string;
|
|
173
|
+
}
|
|
174
|
+
declare function ClaimMindSpinner({ theme, size, className }: Props$8): react_jsx_runtime.JSX.Element;
|
|
175
|
+
|
|
176
|
+
interface Props$7 extends React.ComponentProps<typeof Alert> {
|
|
177
|
+
theme?: ClaimMindTheme;
|
|
178
|
+
title?: string;
|
|
179
|
+
description?: string;
|
|
180
|
+
icon?: React.ReactNode;
|
|
181
|
+
}
|
|
182
|
+
declare function ClaimMindAlert({ theme, title, description, icon, className, children, ...props }: Props$7): react_jsx_runtime.JSX.Element;
|
|
183
|
+
|
|
184
|
+
interface Props$6 extends React.ComponentPropsWithoutRef<typeof Switch> {
|
|
185
|
+
theme?: ClaimMindTheme;
|
|
186
|
+
}
|
|
187
|
+
declare const ClaimMindSwitch: React.ForwardRefExoticComponent<Props$6 & React.RefAttributes<HTMLButtonElement>>;
|
|
188
|
+
|
|
189
|
+
interface Props$5 {
|
|
190
|
+
content: React.ReactNode;
|
|
191
|
+
children: React.ReactNode;
|
|
192
|
+
theme?: ClaimMindTheme;
|
|
193
|
+
variant?: 'theme' | 'general';
|
|
194
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
195
|
+
}
|
|
196
|
+
declare function ClaimMindTooltip({ content, children, theme, variant, side }: Props$5): react_jsx_runtime.JSX.Element;
|
|
197
|
+
|
|
198
|
+
interface Props$4 extends React.ComponentProps<typeof Card> {
|
|
199
|
+
theme?: ClaimMindTheme;
|
|
200
|
+
showTopBorder?: boolean;
|
|
201
|
+
}
|
|
202
|
+
declare function ClaimMindCard({ theme, showTopBorder, className, children, ...props }: Props$4): react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
204
|
+
interface SelectOption {
|
|
205
|
+
value: string;
|
|
206
|
+
label: string;
|
|
207
|
+
}
|
|
208
|
+
interface Props$3 {
|
|
209
|
+
placeholder?: string;
|
|
210
|
+
options: SelectOption[];
|
|
211
|
+
theme?: ClaimMindTheme;
|
|
212
|
+
className?: string;
|
|
213
|
+
label?: string;
|
|
214
|
+
value?: string;
|
|
215
|
+
onValueChange?: (value: string) => void;
|
|
216
|
+
disabled?: boolean;
|
|
217
|
+
}
|
|
218
|
+
declare const ClaimMindSelect: ({ placeholder, options, theme, className, label, value, onValueChange, disabled }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
219
|
+
|
|
220
|
+
interface ComboboxOption {
|
|
221
|
+
value: string;
|
|
222
|
+
label: string;
|
|
223
|
+
}
|
|
224
|
+
interface Props$2 {
|
|
225
|
+
options: ComboboxOption[];
|
|
226
|
+
placeholder?: string;
|
|
227
|
+
searchPlaceholder?: string;
|
|
228
|
+
emptyText?: string;
|
|
229
|
+
theme?: ClaimMindTheme;
|
|
230
|
+
className?: string;
|
|
231
|
+
label?: string;
|
|
232
|
+
value?: string;
|
|
233
|
+
onValueChange?: (value: string) => void;
|
|
234
|
+
disabled?: boolean;
|
|
235
|
+
}
|
|
236
|
+
declare function ClaimMindCombobox({ options, placeholder, searchPlaceholder, emptyText, theme, className, label, value, onValueChange, disabled }: Props$2): react_jsx_runtime.JSX.Element;
|
|
237
|
+
|
|
238
|
+
interface ClaimMindDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
239
|
+
theme?: ClaimMindTheme;
|
|
240
|
+
}
|
|
241
|
+
declare const ClaimMindDialog: ({ theme, ...props }: ClaimMindDialogProps) => react_jsx_runtime.JSX.Element;
|
|
242
|
+
interface ClaimMindDialogContentProps extends React.ComponentProps<typeof DialogContent> {
|
|
243
|
+
theme?: ClaimMindTheme;
|
|
244
|
+
}
|
|
245
|
+
declare const ClaimMindDialogContent: React.ForwardRefExoticComponent<Omit<ClaimMindDialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
246
|
+
declare const ClaimMindDialogHeader: ({ className, ...props }: React.ComponentProps<typeof DialogHeader>) => react_jsx_runtime.JSX.Element;
|
|
247
|
+
declare const ClaimMindDialogFooter: ({ className, ...props }: React.ComponentProps<typeof DialogFooter>) => react_jsx_runtime.JSX.Element;
|
|
248
|
+
declare const ClaimMindDialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
249
|
+
theme?: ClaimMindTheme;
|
|
250
|
+
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
251
|
+
declare const ClaimMindDialogDescription: ({ className, ...props }: React.ComponentProps<typeof DialogDescription>) => react_jsx_runtime.JSX.Element;
|
|
252
|
+
|
|
253
|
+
declare const ClaimMindDialogTrigger: typeof DialogTrigger;
|
|
254
|
+
declare const ClaimMindDialogClose: typeof DialogClose;
|
|
255
|
+
|
|
256
|
+
interface Props$1 extends React.ComponentProps<typeof Table> {
|
|
257
|
+
theme?: ClaimMindTheme;
|
|
258
|
+
variant?: 'default' | 'striped';
|
|
259
|
+
}
|
|
260
|
+
declare const ClaimMindTable: React.ForwardRefExoticComponent<Omit<Props$1, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
261
|
+
|
|
262
|
+
interface Props {
|
|
263
|
+
date?: Date;
|
|
264
|
+
setDate?: (date: Date | undefined) => void;
|
|
265
|
+
placeholder?: string;
|
|
266
|
+
theme?: ClaimMindTheme;
|
|
267
|
+
className?: string;
|
|
268
|
+
}
|
|
269
|
+
declare function ClaimMindDatePicker({ date, setDate, placeholder, theme, className }: Props): react_jsx_runtime.JSX.Element;
|
|
270
|
+
|
|
271
|
+
interface ChatMessage {
|
|
272
|
+
id: string;
|
|
273
|
+
text: string;
|
|
274
|
+
sender: 'user' | 'bot';
|
|
275
|
+
timestamp: Date;
|
|
276
|
+
}
|
|
277
|
+
interface ChatProps {
|
|
278
|
+
theme?: ClaimMindTheme;
|
|
279
|
+
variant?: 'float' | 'bottom-side';
|
|
280
|
+
title?: string;
|
|
281
|
+
messages?: ChatMessage[];
|
|
282
|
+
onSendMessage?: (message: string) => void;
|
|
283
|
+
isOpen?: boolean;
|
|
284
|
+
onToggle?: () => void;
|
|
285
|
+
placeholder?: string;
|
|
286
|
+
className?: string;
|
|
287
|
+
}
|
|
288
|
+
declare const Chat: ({ theme, variant, title, messages, onSendMessage, isOpen, onToggle, placeholder, className, }: ChatProps) => react_jsx_runtime.JSX.Element;
|
|
289
|
+
|
|
290
|
+
interface TitleProps {
|
|
291
|
+
/** Teks judul yang ditampilkan */
|
|
292
|
+
children: React.ReactNode;
|
|
293
|
+
/** Ukuran font judul */
|
|
294
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
295
|
+
/** Nama ikon dari lucide-react (opsional) */
|
|
296
|
+
iconName?: keyof typeof LucideIcons;
|
|
297
|
+
/** Tema warna untuk ikon */
|
|
298
|
+
theme?: ClaimMindTheme;
|
|
299
|
+
/** Warna spesifik dari tema (opsional) */
|
|
300
|
+
colorVariant?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'danger';
|
|
301
|
+
/** Berat font */
|
|
302
|
+
fontWeight?: 'normal' | 'medium' | 'semibold' | 'bold';
|
|
303
|
+
/** Class tambahan */
|
|
304
|
+
className?: string;
|
|
305
|
+
}
|
|
306
|
+
declare function Title({ children, size, iconName, theme, colorVariant, fontWeight, className }: TitleProps): react_jsx_runtime.JSX.Element;
|
|
307
|
+
|
|
308
|
+
interface DashboardCardProps {
|
|
309
|
+
/** Judul atau label dari card (misal: "Total Klaim") */
|
|
310
|
+
label: string;
|
|
311
|
+
/** Nilai yang ditampilkan (misal: "5" atau "Rp 1.000.000") */
|
|
312
|
+
value: string | number;
|
|
313
|
+
/** Nama ikon dari lucide-react (opsional) */
|
|
314
|
+
iconName?: keyof typeof LucideIcons;
|
|
315
|
+
/** Elemen ikon kustom (opsional) */
|
|
316
|
+
icon?: React.ReactNode;
|
|
317
|
+
/** Tema warna */
|
|
318
|
+
theme?: ClaimMindTheme;
|
|
319
|
+
/** Varian warna untuk ikon (opsional) */
|
|
320
|
+
colorVariant?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'danger';
|
|
321
|
+
/** Class tambahan */
|
|
322
|
+
className?: string;
|
|
323
|
+
}
|
|
324
|
+
declare function DashboardCard({ label, value, iconName, icon, theme, colorVariant, className }: DashboardCardProps): react_jsx_runtime.JSX.Element;
|
|
325
|
+
|
|
326
|
+
interface SyncProgressProps {
|
|
327
|
+
theme?: ClaimMindTheme;
|
|
328
|
+
title?: string;
|
|
329
|
+
icon?: React.ReactNode;
|
|
330
|
+
iconName?: string;
|
|
331
|
+
status?: 'idle' | 'running' | 'completed' | 'error';
|
|
332
|
+
progress?: number;
|
|
333
|
+
totalItems?: number;
|
|
334
|
+
completedItems?: number;
|
|
335
|
+
description?: string;
|
|
336
|
+
className?: string;
|
|
337
|
+
variant?: 'Summary' | 'Validasi' | 'Healthcare Type';
|
|
338
|
+
inpatientCount?: number;
|
|
339
|
+
outpatientCount?: number;
|
|
340
|
+
}
|
|
341
|
+
declare function SyncProgress({ theme, title, icon, iconName, status, progress: manualProgress, totalItems, completedItems, description, className, variant, inpatientCount, outpatientCount }: SyncProgressProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
interface LoginPageProps {
|
|
344
|
+
theme?: ClaimMindTheme;
|
|
345
|
+
title?: string;
|
|
346
|
+
description?: string;
|
|
347
|
+
}
|
|
348
|
+
declare const LoginPage: ({ theme, title, description }: LoginPageProps) => react_jsx_runtime.JSX.Element;
|
|
349
|
+
|
|
350
|
+
export { Alert, AlertDescription, AlertTitle, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chat, type ChatMessage, ClaimMindAlert, ClaimMindButton, ClaimMindCard, ClaimMindCombobox, ClaimMindDatePicker, ClaimMindDialog, ClaimMindDialogClose, ClaimMindDialogContent, ClaimMindDialogDescription, ClaimMindDialogFooter, ClaimMindDialogHeader, ClaimMindDialogTitle, ClaimMindDialogTrigger, ClaimMindInput, ClaimMindSelect, ClaimMindSpinner, ClaimMindSwitch, ClaimMindTable, type ClaimMindTheme, ClaimMindTooltip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DashboardCard, type DashboardCardProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, Label, LoginPage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, Switch, SyncProgress, type SyncProgressProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Title, type TitleProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn, themeStyles };
|