pxengine 0.1.18 → 0.1.21
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/index.cjs +39971 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +722 -658
- package/dist/index.d.ts +722 -658
- package/dist/index.mjs +31967 -84911
- package/dist/index.mjs.map +1 -0
- package/dist/registry.json +15387 -0
- package/package.json +4 -4
- package/dist/index.js +0 -92907
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
1
|
import * as React$1 from 'react';
|
|
3
2
|
import React__default, { CSSProperties } from 'react';
|
|
3
|
+
import * as Icons from 'lucide-react';
|
|
4
|
+
import { LucideIcon } from 'lucide-react';
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
6
|
import { VariantProps } from 'class-variance-authority';
|
|
5
7
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
6
8
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
@@ -36,616 +38,185 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
|
36
38
|
import { DayPicker } from 'react-day-picker';
|
|
37
39
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
38
40
|
import { ClassValue } from 'clsx';
|
|
39
|
-
import * as Icons from 'lucide-react';
|
|
40
|
-
import { LucideIcon } from 'lucide-react';
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
interface FormInputAtomType {
|
|
43
|
+
type: "FormInput";
|
|
44
|
+
name: string;
|
|
45
|
+
label?: string;
|
|
46
|
+
placeholder?: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
defaultValue?: string;
|
|
49
|
+
required?: boolean;
|
|
50
|
+
inputType?: "text" | "email" | "password" | "number" | "tel" | "url" | "date" | "time";
|
|
51
|
+
className?: string;
|
|
52
|
+
id?: string;
|
|
48
53
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
67
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
68
|
-
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
69
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
70
|
-
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
71
|
-
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
72
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
73
|
-
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
74
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
75
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
76
|
-
|
|
77
|
-
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
78
|
-
value?: string;
|
|
79
|
-
onChange?: (newValue: string) => unknown;
|
|
80
|
-
maxLength: number;
|
|
81
|
-
textAlign?: "left" | "center" | "right";
|
|
82
|
-
onComplete?: (...args: any[]) => unknown;
|
|
83
|
-
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
84
|
-
pasteTransformer?: (pasted: string) => string;
|
|
85
|
-
containerClassName?: string;
|
|
86
|
-
noScriptCSSFallback?: string | null;
|
|
87
|
-
} & {
|
|
88
|
-
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
89
|
-
children?: never;
|
|
90
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
91
|
-
value?: string;
|
|
92
|
-
onChange?: (newValue: string) => unknown;
|
|
93
|
-
maxLength: number;
|
|
94
|
-
textAlign?: "left" | "center" | "right";
|
|
95
|
-
onComplete?: (...args: any[]) => unknown;
|
|
96
|
-
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
97
|
-
pasteTransformer?: (pasted: string) => string;
|
|
98
|
-
containerClassName?: string;
|
|
99
|
-
noScriptCSSFallback?: string | null;
|
|
100
|
-
} & {
|
|
101
|
-
render?: never;
|
|
102
|
-
children: React$1.ReactNode;
|
|
103
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
104
|
-
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
105
|
-
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
106
|
-
index: number;
|
|
107
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
108
|
-
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
109
|
-
|
|
110
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
111
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
112
|
-
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
113
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
114
|
-
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
115
|
-
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
116
|
-
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
117
|
-
|
|
118
|
-
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
119
|
-
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
120
|
-
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
121
|
-
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
122
|
-
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
123
|
-
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
124
|
-
|
|
125
|
-
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
126
|
-
|
|
127
|
-
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
128
|
-
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
129
|
-
|
|
130
|
-
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
131
|
-
|
|
132
|
-
declare const ResizablePanelGroup: (props: React.ComponentProps<typeof ResizablePrimitive.Group>) => react_jsx_runtime.JSX.Element;
|
|
133
|
-
declare const ResizablePanel: typeof ResizablePrimitive.Panel;
|
|
134
|
-
|
|
135
|
-
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
136
|
-
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
137
|
-
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
138
|
-
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
139
|
-
|
|
140
|
-
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
141
|
-
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
142
|
-
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
143
|
-
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
144
|
-
|
|
145
|
-
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
146
|
-
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
147
|
-
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
148
|
-
|
|
149
|
-
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
150
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
151
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
152
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
153
|
-
declare const DialogHeader: {
|
|
154
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
155
|
-
displayName: string;
|
|
156
|
-
};
|
|
157
|
-
declare const DialogFooter: {
|
|
158
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
159
|
-
displayName: string;
|
|
160
|
-
};
|
|
161
|
-
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
162
|
-
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
54
|
+
interface FormInputAtomProps extends Omit<FormInputAtomType, "type"> {
|
|
55
|
+
renderComponent?: any;
|
|
56
|
+
children?: any;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* FormInputAtom
|
|
60
|
+
*
|
|
61
|
+
* Self-contained form input component that properly wraps FormField, FormItem, FormLabel, and FormControl.
|
|
62
|
+
* This component provides the necessary React Context for form components to work correctly.
|
|
63
|
+
*
|
|
64
|
+
* Features:
|
|
65
|
+
* - Handles all form context requirements internally
|
|
66
|
+
* - Supports various input types (text, email, password, etc.)
|
|
67
|
+
* - Includes validation support through react-hook-form
|
|
68
|
+
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
69
|
+
*/
|
|
70
|
+
declare const FormInputAtom: React__default.FC<FormInputAtomProps>;
|
|
163
71
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
declare const sheetVariants: (props?: ({
|
|
168
|
-
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
169
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
170
|
-
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
72
|
+
interface SelectOption {
|
|
73
|
+
value: string;
|
|
74
|
+
label: string;
|
|
171
75
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
76
|
+
interface FormSelectAtomType {
|
|
77
|
+
type: "FormSelect";
|
|
78
|
+
name: string;
|
|
79
|
+
label?: string;
|
|
80
|
+
placeholder?: string;
|
|
81
|
+
description?: string;
|
|
82
|
+
defaultValue?: string;
|
|
83
|
+
required?: boolean;
|
|
84
|
+
options: SelectOption[];
|
|
85
|
+
className?: string;
|
|
86
|
+
id?: string;
|
|
87
|
+
}
|
|
88
|
+
interface FormSelectAtomProps extends Omit<FormSelectAtomType, "type"> {
|
|
89
|
+
renderComponent?: any;
|
|
90
|
+
children?: any;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* FormSelectAtom
|
|
94
|
+
*
|
|
95
|
+
* Self-contained form select component that properly wraps FormField, FormItem, FormLabel, FormControl, and Select.
|
|
96
|
+
* This component provides the necessary React Context for both form and select components to work correctly.
|
|
97
|
+
*
|
|
98
|
+
* Features:
|
|
99
|
+
* - Handles all form and select context requirements internally
|
|
100
|
+
* - Supports dynamic options list
|
|
101
|
+
* - Includes validation support through react-hook-form
|
|
102
|
+
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
103
|
+
*/
|
|
104
|
+
declare const FormSelectAtom: React__default.FC<FormSelectAtomProps>;
|
|
183
105
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
106
|
+
interface FormTextareaAtomType {
|
|
107
|
+
type: "FormTextarea";
|
|
108
|
+
name: string;
|
|
109
|
+
label?: string;
|
|
110
|
+
placeholder?: string;
|
|
111
|
+
description?: string;
|
|
112
|
+
defaultValue?: string;
|
|
113
|
+
required?: boolean;
|
|
114
|
+
rows?: number;
|
|
115
|
+
className?: string;
|
|
116
|
+
id?: string;
|
|
117
|
+
}
|
|
118
|
+
interface FormTextareaAtomProps extends Omit<FormTextareaAtomType, "type"> {
|
|
119
|
+
renderComponent?: any;
|
|
120
|
+
children?: any;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* FormTextareaAtom
|
|
124
|
+
*
|
|
125
|
+
* Self-contained form textarea component that properly wraps FormField, FormItem, FormLabel, and FormControl.
|
|
126
|
+
* This component provides the necessary React Context for form components to work correctly.
|
|
127
|
+
*
|
|
128
|
+
* Features:
|
|
129
|
+
* - Handles all form context requirements internally
|
|
130
|
+
* - Supports configurable rows
|
|
131
|
+
* - Includes validation support through react-hook-form
|
|
132
|
+
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
133
|
+
*/
|
|
134
|
+
declare const FormTextareaAtom: React__default.FC<FormTextareaAtomProps>;
|
|
201
135
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
229
|
-
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
230
|
-
|
|
231
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
232
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
233
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
234
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
235
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
236
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
237
|
-
inset?: boolean;
|
|
238
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
239
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
240
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
241
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
242
|
-
inset?: boolean;
|
|
243
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
244
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
245
|
-
declare const DropdownMenuShortcut: {
|
|
246
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
247
|
-
displayName: string;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
251
|
-
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
252
|
-
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
253
|
-
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
254
|
-
inset?: boolean;
|
|
255
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
256
|
-
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
257
|
-
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
258
|
-
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
259
|
-
inset?: boolean;
|
|
260
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
261
|
-
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
262
|
-
declare const ContextMenuShortcut: {
|
|
263
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
264
|
-
displayName: string;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
|
-
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
269
|
-
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
270
|
-
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
271
|
-
inset?: boolean;
|
|
272
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
273
|
-
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
274
|
-
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
275
|
-
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
276
|
-
inset?: boolean;
|
|
277
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
-
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
279
|
-
declare const MenubarShortcut: {
|
|
280
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
281
|
-
displayname: string;
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
285
|
-
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
286
|
-
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
287
|
-
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
288
|
-
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
289
|
-
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
290
|
-
|
|
291
|
-
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
292
|
-
separator?: React$1.ReactNode;
|
|
293
|
-
} & React$1.RefAttributes<HTMLElement>>;
|
|
294
|
-
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
295
|
-
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
296
|
-
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
297
|
-
asChild?: boolean;
|
|
298
|
-
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
299
|
-
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
300
|
-
declare const BreadcrumbSeparator: {
|
|
301
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
302
|
-
displayName: string;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
declare const Pagination: {
|
|
306
|
-
({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
307
|
-
displayName: string;
|
|
308
|
-
};
|
|
309
|
-
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
310
|
-
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
311
|
-
type PaginationLinkProps = {
|
|
312
|
-
isActive?: boolean;
|
|
313
|
-
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
314
|
-
declare const PaginationLink: {
|
|
315
|
-
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
316
|
-
displayName: string;
|
|
317
|
-
};
|
|
318
|
-
declare const PaginationPrevious: {
|
|
319
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
320
|
-
displayName: string;
|
|
321
|
-
};
|
|
322
|
-
declare const PaginationNext: {
|
|
323
|
-
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
324
|
-
displayName: string;
|
|
325
|
-
};
|
|
326
|
-
declare const PaginationEllipsis: {
|
|
327
|
-
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
328
|
-
displayName: string;
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
332
|
-
children?: React$1.ReactNode;
|
|
333
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
334
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
335
|
-
} & {
|
|
336
|
-
asChild?: boolean;
|
|
337
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
136
|
+
type LayoutDirection = "vertical" | "horizontal" | "grid";
|
|
137
|
+
type GapSize = "none" | "sm" | "md" | "lg" | "xl";
|
|
138
|
+
type TextVariant = "h1" | "h2" | "h3" | "h4" | "p" | "small" | "muted" | "label";
|
|
139
|
+
type ButtonVariant$1 = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "purple" | "gradient";
|
|
140
|
+
type ButtonSize$1 = "default" | "sm" | "lg" | "icon" | "xl";
|
|
141
|
+
type InputType = "text" | "email" | "password" | "number" | "search" | "tel" | "url" | "textarea" | "select" | "slider" | "checkbox" | "switch" | "radio" | "otp" | "date" | "dropdown";
|
|
142
|
+
interface BaseAtom {
|
|
143
|
+
id: string;
|
|
144
|
+
type: string;
|
|
145
|
+
className?: string;
|
|
146
|
+
style?: React.CSSProperties;
|
|
147
|
+
}
|
|
148
|
+
interface ButtonAtomType extends BaseAtom {
|
|
149
|
+
type: "button";
|
|
150
|
+
label: string;
|
|
151
|
+
variant?: ButtonVariant$1;
|
|
152
|
+
size?: ButtonSize$1;
|
|
153
|
+
action?: string;
|
|
154
|
+
disabled?: boolean;
|
|
155
|
+
isLoading?: boolean;
|
|
156
|
+
icon?: IconName;
|
|
157
|
+
iconPosition?: "left" | "right";
|
|
158
|
+
}
|
|
159
|
+
interface InputAtomType extends BaseAtom {
|
|
160
|
+
type: "input";
|
|
161
|
+
inputType: InputType;
|
|
338
162
|
label?: string;
|
|
339
|
-
|
|
340
|
-
|
|
163
|
+
placeholder?: string;
|
|
164
|
+
defaultValue?: any;
|
|
165
|
+
required?: boolean;
|
|
166
|
+
disabled?: boolean;
|
|
167
|
+
options?: Array<{
|
|
168
|
+
label: string;
|
|
169
|
+
value: string;
|
|
170
|
+
}>;
|
|
171
|
+
config?: Record<string, any>;
|
|
172
|
+
}
|
|
173
|
+
interface ToggleAtomType extends BaseAtom {
|
|
174
|
+
type: "toggle";
|
|
175
|
+
label: string;
|
|
176
|
+
pressed?: boolean;
|
|
177
|
+
disabled?: boolean;
|
|
178
|
+
size?: "sm" | "md" | "lg";
|
|
179
|
+
variant?: "default" | "outline";
|
|
180
|
+
}
|
|
181
|
+
interface CheckboxAtomType extends BaseAtom {
|
|
182
|
+
type: "checkbox";
|
|
183
|
+
label?: string;
|
|
184
|
+
checked?: boolean;
|
|
185
|
+
disabled?: boolean;
|
|
186
|
+
}
|
|
187
|
+
interface SwitchAtomType extends BaseAtom {
|
|
188
|
+
type: "switch";
|
|
189
|
+
label?: string;
|
|
190
|
+
checked?: boolean;
|
|
191
|
+
disabled?: boolean;
|
|
192
|
+
}
|
|
193
|
+
interface LabelAtomType extends BaseAtom {
|
|
194
|
+
type: "label";
|
|
195
|
+
content: string;
|
|
196
|
+
htmlFor?: string;
|
|
197
|
+
}
|
|
198
|
+
interface SliderAtomType extends BaseAtom {
|
|
199
|
+
type: "slider";
|
|
200
|
+
defaultValue?: number[];
|
|
201
|
+
max?: number;
|
|
202
|
+
min?: number;
|
|
203
|
+
step?: number;
|
|
204
|
+
disabled?: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface RadioGroupAtomType extends BaseAtom {
|
|
207
|
+
type: "radio-group";
|
|
208
|
+
options: Array<{
|
|
209
|
+
label: string;
|
|
210
|
+
value: string;
|
|
211
|
+
}>;
|
|
341
212
|
defaultValue?: string;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
vimBindings?: boolean;
|
|
347
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
348
|
-
declare const CommandDialog: ({ children, ...props }: DialogProps) => react_jsx_runtime.JSX.Element;
|
|
349
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
350
|
-
ref?: React$1.Ref<HTMLInputElement>;
|
|
351
|
-
} & {
|
|
352
|
-
asChild?: boolean;
|
|
353
|
-
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
354
|
-
value?: string;
|
|
355
|
-
onValueChange?: (search: string) => void;
|
|
356
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
357
|
-
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
358
|
-
children?: React$1.ReactNode;
|
|
359
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
360
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
361
|
-
} & {
|
|
362
|
-
asChild?: boolean;
|
|
363
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
213
|
+
disabled?: boolean;
|
|
214
|
+
}
|
|
215
|
+
interface RadioAtomType extends BaseAtom {
|
|
216
|
+
type: "radio";
|
|
364
217
|
label?: string;
|
|
365
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
366
|
-
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
367
|
-
children?: React$1.ReactNode;
|
|
368
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
369
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
370
|
-
} & {
|
|
371
|
-
asChild?: boolean;
|
|
372
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
373
|
-
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
374
|
-
children?: React$1.ReactNode;
|
|
375
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
376
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
377
|
-
} & {
|
|
378
|
-
asChild?: boolean;
|
|
379
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
380
|
-
heading?: React$1.ReactNode;
|
|
381
218
|
value?: string;
|
|
382
|
-
|
|
383
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
384
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
385
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
386
|
-
} & {
|
|
387
|
-
asChild?: boolean;
|
|
388
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
389
|
-
alwaysRender?: boolean;
|
|
390
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
|
-
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
392
|
-
children?: React$1.ReactNode;
|
|
393
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
394
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
395
|
-
} & {
|
|
396
|
-
asChild?: boolean;
|
|
397
|
-
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
398
|
-
disabled?: boolean;
|
|
399
|
-
onSelect?: (value: string) => void;
|
|
400
|
-
value?: string;
|
|
401
|
-
keywords?: string[];
|
|
402
|
-
forceMount?: boolean;
|
|
403
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
404
|
-
declare const CommandShortcut: {
|
|
405
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
406
|
-
displayName: string;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
410
|
-
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
411
|
-
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
412
|
-
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
413
|
-
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
414
|
-
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
415
|
-
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
416
|
-
|
|
417
|
-
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
418
|
-
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
419
|
-
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
420
|
-
|
|
421
|
-
declare const badgeVariants: (props?: ({
|
|
422
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
423
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
424
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
425
|
-
}
|
|
426
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
427
|
-
|
|
428
|
-
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
429
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
430
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
431
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
432
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
433
|
-
|
|
434
|
-
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
435
|
-
|
|
436
|
-
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
437
|
-
|
|
438
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
439
|
-
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
440
|
-
}): react_jsx_runtime.JSX.Element;
|
|
441
|
-
|
|
442
|
-
type CarouselApi = UseEmblaCarouselType[1];
|
|
443
|
-
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
444
|
-
type CarouselOptions = UseCarouselParameters[0];
|
|
445
|
-
type CarouselPlugin = UseCarouselParameters[1];
|
|
446
|
-
type CarouselProps = {
|
|
447
|
-
opts?: CarouselOptions;
|
|
448
|
-
plugins?: CarouselPlugin;
|
|
449
|
-
orientation?: "horizontal" | "vertical";
|
|
450
|
-
setApi?: (api: CarouselApi) => void;
|
|
451
|
-
};
|
|
452
|
-
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
453
|
-
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
454
|
-
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
455
|
-
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
456
|
-
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
457
|
-
|
|
458
|
-
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Utility function to merge Tailwind CSS classes
|
|
462
|
-
* Combines clsx for conditional classes and tailwind-merge for deduplication
|
|
463
|
-
*
|
|
464
|
-
* @example
|
|
465
|
-
* ```tsx
|
|
466
|
-
* cn("px-4 py-2", isActive && "bg-purple500", className)
|
|
467
|
-
* ```
|
|
468
|
-
*/
|
|
469
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
470
|
-
|
|
471
|
-
interface FormInputAtomType {
|
|
472
|
-
type: "FormInput";
|
|
473
|
-
name: string;
|
|
474
|
-
label?: string;
|
|
475
|
-
placeholder?: string;
|
|
476
|
-
description?: string;
|
|
477
|
-
defaultValue?: string;
|
|
478
|
-
required?: boolean;
|
|
479
|
-
inputType?: "text" | "email" | "password" | "number" | "tel" | "url" | "date" | "time";
|
|
480
|
-
className?: string;
|
|
481
|
-
id?: string;
|
|
482
|
-
}
|
|
483
|
-
interface FormInputAtomProps extends Omit<FormInputAtomType, "type"> {
|
|
484
|
-
renderComponent?: any;
|
|
485
|
-
children?: any;
|
|
486
|
-
}
|
|
487
|
-
/**
|
|
488
|
-
* FormInputAtom
|
|
489
|
-
*
|
|
490
|
-
* Self-contained form input component that properly wraps FormField, FormItem, FormLabel, and FormControl.
|
|
491
|
-
* This component provides the necessary React Context for form components to work correctly.
|
|
492
|
-
*
|
|
493
|
-
* Features:
|
|
494
|
-
* - Handles all form context requirements internally
|
|
495
|
-
* - Supports various input types (text, email, password, etc.)
|
|
496
|
-
* - Includes validation support through react-hook-form
|
|
497
|
-
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
498
|
-
*/
|
|
499
|
-
declare const FormInputAtom: React__default.FC<FormInputAtomProps>;
|
|
500
|
-
|
|
501
|
-
interface SelectOption {
|
|
502
|
-
value: string;
|
|
503
|
-
label: string;
|
|
504
|
-
}
|
|
505
|
-
interface FormSelectAtomType {
|
|
506
|
-
type: "FormSelect";
|
|
507
|
-
name: string;
|
|
508
|
-
label?: string;
|
|
509
|
-
placeholder?: string;
|
|
510
|
-
description?: string;
|
|
511
|
-
defaultValue?: string;
|
|
512
|
-
required?: boolean;
|
|
513
|
-
options: SelectOption[];
|
|
514
|
-
className?: string;
|
|
515
|
-
id?: string;
|
|
516
|
-
}
|
|
517
|
-
interface FormSelectAtomProps extends Omit<FormSelectAtomType, "type"> {
|
|
518
|
-
renderComponent?: any;
|
|
519
|
-
children?: any;
|
|
520
|
-
}
|
|
521
|
-
/**
|
|
522
|
-
* FormSelectAtom
|
|
523
|
-
*
|
|
524
|
-
* Self-contained form select component that properly wraps FormField, FormItem, FormLabel, FormControl, and Select.
|
|
525
|
-
* This component provides the necessary React Context for both form and select components to work correctly.
|
|
526
|
-
*
|
|
527
|
-
* Features:
|
|
528
|
-
* - Handles all form and select context requirements internally
|
|
529
|
-
* - Supports dynamic options list
|
|
530
|
-
* - Includes validation support through react-hook-form
|
|
531
|
-
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
532
|
-
*/
|
|
533
|
-
declare const FormSelectAtom: React__default.FC<FormSelectAtomProps>;
|
|
534
|
-
|
|
535
|
-
interface FormTextareaAtomType {
|
|
536
|
-
type: "FormTextarea";
|
|
537
|
-
name: string;
|
|
538
|
-
label?: string;
|
|
539
|
-
placeholder?: string;
|
|
540
|
-
description?: string;
|
|
541
|
-
defaultValue?: string;
|
|
542
|
-
required?: boolean;
|
|
543
|
-
rows?: number;
|
|
544
|
-
className?: string;
|
|
545
|
-
id?: string;
|
|
546
|
-
}
|
|
547
|
-
interface FormTextareaAtomProps extends Omit<FormTextareaAtomType, "type"> {
|
|
548
|
-
renderComponent?: any;
|
|
549
|
-
children?: any;
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
* FormTextareaAtom
|
|
553
|
-
*
|
|
554
|
-
* Self-contained form textarea component that properly wraps FormField, FormItem, FormLabel, and FormControl.
|
|
555
|
-
* This component provides the necessary React Context for form components to work correctly.
|
|
556
|
-
*
|
|
557
|
-
* Features:
|
|
558
|
-
* - Handles all form context requirements internally
|
|
559
|
-
* - Supports configurable rows
|
|
560
|
-
* - Includes validation support through react-hook-form
|
|
561
|
-
* - Schema-safe for dynamic rendering via PXEngineRenderer
|
|
562
|
-
*/
|
|
563
|
-
declare const FormTextareaAtom: React__default.FC<FormTextareaAtomProps>;
|
|
564
|
-
|
|
565
|
-
type LayoutDirection = "vertical" | "horizontal" | "grid";
|
|
566
|
-
type GapSize = "none" | "sm" | "md" | "lg" | "xl";
|
|
567
|
-
type TextVariant = "h1" | "h2" | "h3" | "h4" | "p" | "small" | "muted" | "label";
|
|
568
|
-
type ButtonVariant$1 = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "purple" | "gradient";
|
|
569
|
-
type ButtonSize$1 = "default" | "sm" | "lg" | "icon" | "xl";
|
|
570
|
-
type InputType = "text" | "email" | "password" | "number" | "search" | "tel" | "url" | "textarea" | "select" | "slider" | "checkbox" | "switch" | "radio" | "otp" | "date" | "dropdown";
|
|
571
|
-
interface BaseAtom {
|
|
572
|
-
id: string;
|
|
573
|
-
type: string;
|
|
574
|
-
className?: string;
|
|
575
|
-
style?: React.CSSProperties;
|
|
576
|
-
}
|
|
577
|
-
interface ButtonAtomType extends BaseAtom {
|
|
578
|
-
type: "button";
|
|
579
|
-
label: string;
|
|
580
|
-
variant?: ButtonVariant$1;
|
|
581
|
-
size?: ButtonSize$1;
|
|
582
|
-
action?: string;
|
|
583
|
-
disabled?: boolean;
|
|
584
|
-
isLoading?: boolean;
|
|
585
|
-
icon?: IconName;
|
|
586
|
-
iconPosition?: "left" | "right";
|
|
587
|
-
}
|
|
588
|
-
interface InputAtomType extends BaseAtom {
|
|
589
|
-
type: "input";
|
|
590
|
-
inputType: InputType;
|
|
591
|
-
label?: string;
|
|
592
|
-
placeholder?: string;
|
|
593
|
-
defaultValue?: any;
|
|
594
|
-
required?: boolean;
|
|
595
|
-
disabled?: boolean;
|
|
596
|
-
options?: Array<{
|
|
597
|
-
label: string;
|
|
598
|
-
value: string;
|
|
599
|
-
}>;
|
|
600
|
-
config?: Record<string, any>;
|
|
601
|
-
}
|
|
602
|
-
interface ToggleAtomType extends BaseAtom {
|
|
603
|
-
type: "toggle";
|
|
604
|
-
label: string;
|
|
605
|
-
pressed?: boolean;
|
|
606
|
-
disabled?: boolean;
|
|
607
|
-
size?: "sm" | "md" | "lg";
|
|
608
|
-
variant?: "default" | "outline";
|
|
609
|
-
}
|
|
610
|
-
interface CheckboxAtomType extends BaseAtom {
|
|
611
|
-
type: "checkbox";
|
|
612
|
-
label?: string;
|
|
613
|
-
checked?: boolean;
|
|
614
|
-
disabled?: boolean;
|
|
615
|
-
}
|
|
616
|
-
interface SwitchAtomType extends BaseAtom {
|
|
617
|
-
type: "switch";
|
|
618
|
-
label?: string;
|
|
619
|
-
checked?: boolean;
|
|
620
|
-
disabled?: boolean;
|
|
621
|
-
}
|
|
622
|
-
interface LabelAtomType extends BaseAtom {
|
|
623
|
-
type: "label";
|
|
624
|
-
content: string;
|
|
625
|
-
htmlFor?: string;
|
|
626
|
-
}
|
|
627
|
-
interface SliderAtomType extends BaseAtom {
|
|
628
|
-
type: "slider";
|
|
629
|
-
defaultValue?: number[];
|
|
630
|
-
max?: number;
|
|
631
|
-
min?: number;
|
|
632
|
-
step?: number;
|
|
633
|
-
disabled?: boolean;
|
|
634
|
-
}
|
|
635
|
-
interface RadioGroupAtomType extends BaseAtom {
|
|
636
|
-
type: "radio-group";
|
|
637
|
-
options: Array<{
|
|
638
|
-
label: string;
|
|
639
|
-
value: string;
|
|
640
|
-
}>;
|
|
641
|
-
defaultValue?: string;
|
|
642
|
-
disabled?: boolean;
|
|
643
|
-
}
|
|
644
|
-
interface RadioAtomType extends BaseAtom {
|
|
645
|
-
type: "radio";
|
|
646
|
-
label?: string;
|
|
647
|
-
value?: string;
|
|
648
|
-
checked?: boolean;
|
|
219
|
+
checked?: boolean;
|
|
649
220
|
disabled?: boolean;
|
|
650
221
|
}
|
|
651
222
|
interface DropdownMenuAtomType extends BaseAtom {
|
|
@@ -1135,24 +706,454 @@ interface CreatorActionHeaderMolecule extends BaseMolecule {
|
|
|
1135
706
|
}
|
|
1136
707
|
type UIMolecule = CampaignSeedCardAtom | SearchSpecCardAtom | MCQCardAtom | ActionButtonAtom | StatsGridMolecule | EmptyStateMolecule | LoadingOverlayMolecule | PlatformIconGroupMolecule | CreatorProfileSummaryMolecule | AudienceMetricCardMolecule | FilterBarMolecule | FileUploadMolecule | TagCloudMolecule | CreatorGridCardMolecule | BrandAffinityGroupMolecule | ContentPreviewGalleryMolecule | DataGridMolecule | StepWizardMolecule | NotificationListMolecule | AudienceDemographicsCardMolecule | GrowthChartCardMolecule | TopPostsGridMolecule | CreatorActionHeaderMolecule;
|
|
1137
708
|
|
|
1138
|
-
type UIComponent = UIAtom | UIMolecule;
|
|
1139
|
-
interface UISchema {
|
|
1140
|
-
version: string;
|
|
1141
|
-
root: UIComponent;
|
|
709
|
+
type UIComponent = UIAtom | UIMolecule;
|
|
710
|
+
interface UISchema {
|
|
711
|
+
version: string;
|
|
712
|
+
root: UIComponent;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* PXEngineRenderer
|
|
717
|
+
*
|
|
718
|
+
* Handles both the full schema { version, root } and individual components.
|
|
719
|
+
* Dynamically resolves components from Atoms/Molecules/UI Components registry.
|
|
720
|
+
* Prevents rendering of context-dependent components to avoid React errors.
|
|
721
|
+
*/
|
|
722
|
+
interface PXEngineRendererProps {
|
|
723
|
+
schema: UISchema | UIComponent;
|
|
724
|
+
onAction?: (action: any, payload?: any) => void;
|
|
725
|
+
disabled?: boolean;
|
|
726
|
+
}
|
|
727
|
+
declare const PXEngineRenderer: React__default.FC<PXEngineRendererProps>;
|
|
728
|
+
|
|
729
|
+
declare const buttonVariants: (props?: ({
|
|
730
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "purple" | null | undefined;
|
|
731
|
+
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
732
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
733
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
734
|
+
asChild?: boolean;
|
|
735
|
+
}
|
|
736
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
737
|
+
|
|
738
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
739
|
+
|
|
740
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
741
|
+
|
|
742
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
743
|
+
|
|
744
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
745
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
746
|
+
|
|
747
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
748
|
+
|
|
749
|
+
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
750
|
+
|
|
751
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
752
|
+
|
|
753
|
+
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
754
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
755
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
756
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
757
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
758
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
759
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
760
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
761
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
762
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
763
|
+
|
|
764
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
765
|
+
value?: string;
|
|
766
|
+
onChange?: (newValue: string) => unknown;
|
|
767
|
+
maxLength: number;
|
|
768
|
+
textAlign?: "left" | "center" | "right";
|
|
769
|
+
onComplete?: (...args: any[]) => unknown;
|
|
770
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
771
|
+
pasteTransformer?: (pasted: string) => string;
|
|
772
|
+
containerClassName?: string;
|
|
773
|
+
noScriptCSSFallback?: string | null;
|
|
774
|
+
} & {
|
|
775
|
+
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
|
776
|
+
children?: never;
|
|
777
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
778
|
+
value?: string;
|
|
779
|
+
onChange?: (newValue: string) => unknown;
|
|
780
|
+
maxLength: number;
|
|
781
|
+
textAlign?: "left" | "center" | "right";
|
|
782
|
+
onComplete?: (...args: any[]) => unknown;
|
|
783
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
784
|
+
pasteTransformer?: (pasted: string) => string;
|
|
785
|
+
containerClassName?: string;
|
|
786
|
+
noScriptCSSFallback?: string | null;
|
|
787
|
+
} & {
|
|
788
|
+
render?: never;
|
|
789
|
+
children: React$1.ReactNode;
|
|
790
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
791
|
+
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
792
|
+
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
793
|
+
index: number;
|
|
794
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
795
|
+
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
796
|
+
|
|
797
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
798
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
799
|
+
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
800
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
801
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
802
|
+
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
803
|
+
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
804
|
+
|
|
805
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
806
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
807
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
808
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
809
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
810
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
811
|
+
|
|
812
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
813
|
+
|
|
814
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
815
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
816
|
+
|
|
817
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
818
|
+
|
|
819
|
+
declare const ResizablePanelGroup: (props: React.ComponentProps<typeof ResizablePrimitive.Group>) => react_jsx_runtime.JSX.Element;
|
|
820
|
+
declare const ResizablePanel: typeof ResizablePrimitive.Panel;
|
|
821
|
+
|
|
822
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
823
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
824
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
825
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
|
+
|
|
827
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
828
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
829
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
830
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
831
|
+
|
|
832
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
833
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
834
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
835
|
+
|
|
836
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
837
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
838
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
839
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
840
|
+
declare const DialogHeader: {
|
|
841
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
842
|
+
displayName: string;
|
|
843
|
+
};
|
|
844
|
+
declare const DialogFooter: {
|
|
845
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
846
|
+
displayName: string;
|
|
847
|
+
};
|
|
848
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
849
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
850
|
+
|
|
851
|
+
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
852
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
853
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
854
|
+
declare const sheetVariants: (props?: ({
|
|
855
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
856
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
857
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
858
|
+
}
|
|
859
|
+
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
860
|
+
declare const SheetHeader: {
|
|
861
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
862
|
+
displayName: string;
|
|
863
|
+
};
|
|
864
|
+
declare const SheetFooter: {
|
|
865
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
866
|
+
displayName: string;
|
|
867
|
+
};
|
|
868
|
+
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
869
|
+
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
870
|
+
|
|
871
|
+
declare const Drawer: {
|
|
872
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
873
|
+
displayName: string;
|
|
874
|
+
};
|
|
875
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
876
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
877
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
878
|
+
declare const DrawerHeader: {
|
|
879
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
880
|
+
displayName: string;
|
|
881
|
+
};
|
|
882
|
+
declare const DrawerFooter: {
|
|
883
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
884
|
+
displayName: string;
|
|
885
|
+
};
|
|
886
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
887
|
+
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
888
|
+
|
|
889
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
890
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
891
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
892
|
+
declare const AlertDialogHeader: {
|
|
893
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
894
|
+
displayName: string;
|
|
895
|
+
};
|
|
896
|
+
declare const AlertDialogFooter: {
|
|
897
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
898
|
+
displayName: string;
|
|
899
|
+
};
|
|
900
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
901
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
902
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
903
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
904
|
+
|
|
905
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
906
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
907
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
908
|
+
|
|
909
|
+
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
910
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
911
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
912
|
+
|
|
913
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
914
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
915
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
916
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
917
|
+
|
|
918
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
919
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
920
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
921
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
922
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
923
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
924
|
+
inset?: boolean;
|
|
925
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
926
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
927
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
928
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
929
|
+
inset?: boolean;
|
|
930
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
931
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
932
|
+
declare const DropdownMenuShortcut: {
|
|
933
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
934
|
+
displayName: string;
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
938
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
939
|
+
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
940
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
941
|
+
inset?: boolean;
|
|
942
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
943
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
944
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
945
|
+
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
946
|
+
inset?: boolean;
|
|
947
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
948
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
949
|
+
declare const ContextMenuShortcut: {
|
|
950
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
951
|
+
displayName: string;
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
955
|
+
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
956
|
+
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
957
|
+
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
958
|
+
inset?: boolean;
|
|
959
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
960
|
+
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
961
|
+
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
962
|
+
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
963
|
+
inset?: boolean;
|
|
964
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
965
|
+
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
966
|
+
declare const MenubarShortcut: {
|
|
967
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
968
|
+
displayname: string;
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
972
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
973
|
+
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
974
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
975
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
976
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
977
|
+
|
|
978
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
979
|
+
separator?: React$1.ReactNode;
|
|
980
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
981
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
982
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
983
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
984
|
+
asChild?: boolean;
|
|
985
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
986
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
987
|
+
declare const BreadcrumbSeparator: {
|
|
988
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
989
|
+
displayName: string;
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
declare const Pagination: {
|
|
993
|
+
({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
994
|
+
displayName: string;
|
|
995
|
+
};
|
|
996
|
+
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
997
|
+
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
998
|
+
type PaginationLinkProps = {
|
|
999
|
+
isActive?: boolean;
|
|
1000
|
+
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
1001
|
+
declare const PaginationLink: {
|
|
1002
|
+
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
1003
|
+
displayName: string;
|
|
1004
|
+
};
|
|
1005
|
+
declare const PaginationPrevious: {
|
|
1006
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1007
|
+
displayName: string;
|
|
1008
|
+
};
|
|
1009
|
+
declare const PaginationNext: {
|
|
1010
|
+
({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
1011
|
+
displayName: string;
|
|
1012
|
+
};
|
|
1013
|
+
declare const PaginationEllipsis: {
|
|
1014
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1015
|
+
displayName: string;
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
1019
|
+
children?: React$1.ReactNode;
|
|
1020
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1021
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1022
|
+
} & {
|
|
1023
|
+
asChild?: boolean;
|
|
1024
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1025
|
+
label?: string;
|
|
1026
|
+
shouldFilter?: boolean;
|
|
1027
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
1028
|
+
defaultValue?: string;
|
|
1029
|
+
value?: string;
|
|
1030
|
+
onValueChange?: (value: string) => void;
|
|
1031
|
+
loop?: boolean;
|
|
1032
|
+
disablePointerSelection?: boolean;
|
|
1033
|
+
vimBindings?: boolean;
|
|
1034
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1035
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
1037
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
1038
|
+
} & {
|
|
1039
|
+
asChild?: boolean;
|
|
1040
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
1041
|
+
value?: string;
|
|
1042
|
+
onValueChange?: (search: string) => void;
|
|
1043
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1044
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
1045
|
+
children?: React$1.ReactNode;
|
|
1046
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1047
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1048
|
+
} & {
|
|
1049
|
+
asChild?: boolean;
|
|
1050
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1051
|
+
label?: string;
|
|
1052
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1053
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
1054
|
+
children?: React$1.ReactNode;
|
|
1055
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1056
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1057
|
+
} & {
|
|
1058
|
+
asChild?: boolean;
|
|
1059
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1060
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1061
|
+
children?: React$1.ReactNode;
|
|
1062
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1063
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1064
|
+
} & {
|
|
1065
|
+
asChild?: boolean;
|
|
1066
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
1067
|
+
heading?: React$1.ReactNode;
|
|
1068
|
+
value?: string;
|
|
1069
|
+
forceMount?: boolean;
|
|
1070
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1071
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1072
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1073
|
+
} & {
|
|
1074
|
+
asChild?: boolean;
|
|
1075
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1076
|
+
alwaysRender?: boolean;
|
|
1077
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1078
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
1079
|
+
children?: React$1.ReactNode;
|
|
1080
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
1081
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1082
|
+
} & {
|
|
1083
|
+
asChild?: boolean;
|
|
1084
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
1085
|
+
disabled?: boolean;
|
|
1086
|
+
onSelect?: (value: string) => void;
|
|
1087
|
+
value?: string;
|
|
1088
|
+
keywords?: string[];
|
|
1089
|
+
forceMount?: boolean;
|
|
1090
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1091
|
+
declare const CommandShortcut: {
|
|
1092
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1093
|
+
displayName: string;
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
1097
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1098
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1099
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
1100
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1101
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1102
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
1103
|
+
|
|
1104
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1105
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
1106
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1107
|
+
|
|
1108
|
+
declare const badgeVariants: (props?: ({
|
|
1109
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "purple" | null | undefined;
|
|
1110
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1111
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
1142
1112
|
}
|
|
1113
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
1114
|
+
|
|
1115
|
+
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
1116
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
1117
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1118
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1119
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1120
|
+
|
|
1121
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
+
|
|
1123
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1124
|
+
|
|
1125
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
1126
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
1127
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1128
|
+
|
|
1129
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
1130
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
1131
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
1132
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
1133
|
+
type CarouselProps = {
|
|
1134
|
+
opts?: CarouselOptions;
|
|
1135
|
+
plugins?: CarouselPlugin;
|
|
1136
|
+
orientation?: "horizontal" | "vertical";
|
|
1137
|
+
setApi?: (api: CarouselApi) => void;
|
|
1138
|
+
};
|
|
1139
|
+
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1140
|
+
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1141
|
+
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1142
|
+
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1143
|
+
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1144
|
+
|
|
1145
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
1143
1146
|
|
|
1144
1147
|
/**
|
|
1145
|
-
*
|
|
1148
|
+
* Utility function to merge Tailwind CSS classes
|
|
1149
|
+
* Combines clsx for conditional classes and tailwind-merge for deduplication
|
|
1146
1150
|
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1149
|
-
*
|
|
1151
|
+
* @example
|
|
1152
|
+
* ```tsx
|
|
1153
|
+
* cn("px-4 py-2", isActive && "bg-purple500", className)
|
|
1154
|
+
* ```
|
|
1150
1155
|
*/
|
|
1151
|
-
|
|
1152
|
-
schema: UISchema | UIComponent;
|
|
1153
|
-
onAction?: (action: any, payload?: any) => void;
|
|
1154
|
-
}
|
|
1155
|
-
declare const PXEngineRenderer: React__default.FC<PXEngineRendererProps>;
|
|
1156
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
1156
1157
|
|
|
1157
1158
|
/**
|
|
1158
1159
|
* TextAtom
|
|
@@ -1420,7 +1421,7 @@ declare const IconAtom: React__default.FC<IconAtomType>;
|
|
|
1420
1421
|
*/
|
|
1421
1422
|
declare const ArrowToggleAtom: React__default.FC<ArrowToggleAtomType>;
|
|
1422
1423
|
|
|
1423
|
-
type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
1424
|
+
type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "purple";
|
|
1424
1425
|
type ButtonSize = "default" | "sm" | "lg" | "icon";
|
|
1425
1426
|
/**
|
|
1426
1427
|
* Field types for EditableField molecule
|
|
@@ -1522,13 +1523,29 @@ interface EditableFieldProps {
|
|
|
1522
1523
|
* Custom renderer for the edit state
|
|
1523
1524
|
*/
|
|
1524
1525
|
renderEdit?: (value: any, onChange: (v: any) => void) => React.ReactNode;
|
|
1526
|
+
/**
|
|
1527
|
+
* Whether this is the latest message
|
|
1528
|
+
*/
|
|
1529
|
+
isLatestMessage?: boolean;
|
|
1530
|
+
/**
|
|
1531
|
+
* Whether to show the index number
|
|
1532
|
+
*/
|
|
1533
|
+
showIndex?: boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
* Index of this field in the form
|
|
1536
|
+
*/
|
|
1537
|
+
index?: number;
|
|
1538
|
+
/**
|
|
1539
|
+
* Total number of fields in the form
|
|
1540
|
+
*/
|
|
1541
|
+
totalFields?: number;
|
|
1525
1542
|
}
|
|
1526
1543
|
|
|
1527
1544
|
/**
|
|
1528
1545
|
* EditableField
|
|
1529
1546
|
*
|
|
1530
1547
|
* A generic field that toggles between display and edit modes.
|
|
1531
|
-
*
|
|
1548
|
+
* Styled with purple labels and green "Suggested by an Agent" badge.
|
|
1532
1549
|
*/
|
|
1533
1550
|
declare const EditableField: React__default.NamedExoticComponent<EditableFieldProps>;
|
|
1534
1551
|
|
|
@@ -1647,18 +1664,6 @@ interface FormCardProps {
|
|
|
1647
1664
|
* Label for the "Proceed" button
|
|
1648
1665
|
*/
|
|
1649
1666
|
proceedLabel?: string;
|
|
1650
|
-
/**
|
|
1651
|
-
* Countdown for auto-proceed
|
|
1652
|
-
*/
|
|
1653
|
-
countdown?: number;
|
|
1654
|
-
/**
|
|
1655
|
-
* Whether the timer is paused
|
|
1656
|
-
*/
|
|
1657
|
-
isPaused?: boolean;
|
|
1658
|
-
/**
|
|
1659
|
-
* Pause/Resume handler
|
|
1660
|
-
*/
|
|
1661
|
-
onPause?: () => void;
|
|
1662
1667
|
/**
|
|
1663
1668
|
* Proceed handler
|
|
1664
1669
|
*/
|
|
@@ -1671,17 +1676,18 @@ interface FormCardProps {
|
|
|
1671
1676
|
* Footer content (optional)
|
|
1672
1677
|
*/
|
|
1673
1678
|
footer?: React.ReactNode;
|
|
1679
|
+
/**
|
|
1680
|
+
* Whether this is the latest message
|
|
1681
|
+
*/
|
|
1682
|
+
isLatestMessage?: boolean;
|
|
1674
1683
|
}
|
|
1675
1684
|
|
|
1676
1685
|
/**
|
|
1677
1686
|
* FormCard
|
|
1678
1687
|
*
|
|
1679
|
-
*
|
|
1680
|
-
*
|
|
1681
|
-
*
|
|
1682
|
-
* - Copy to clipboard functionality
|
|
1683
|
-
* - Integrated ActionButton with countdown
|
|
1684
|
-
* - Responsive layout
|
|
1688
|
+
* High-level molecule that assembles multiple EditableFields
|
|
1689
|
+
* into a cohesive card unit.
|
|
1690
|
+
* Styled with purple labels and green badges.
|
|
1685
1691
|
*/
|
|
1686
1692
|
declare const FormCard: React__default.NamedExoticComponent<FormCardProps>;
|
|
1687
1693
|
|
|
@@ -1843,49 +1849,40 @@ interface MCQCardProps {
|
|
|
1843
1849
|
*/
|
|
1844
1850
|
onSelect?: (key: string) => void;
|
|
1845
1851
|
/**
|
|
1846
|
-
* Triggered when the user clicks
|
|
1852
|
+
* Triggered when the user clicks Continue
|
|
1847
1853
|
*/
|
|
1848
|
-
|
|
1854
|
+
onProceed?: (key: string) => void;
|
|
1849
1855
|
/**
|
|
1850
|
-
*
|
|
1856
|
+
* Whether this message is the latest (controls interactivity)
|
|
1851
1857
|
*/
|
|
1852
1858
|
isLatestMessage?: boolean;
|
|
1853
|
-
/**
|
|
1854
|
-
* Countdown in seconds
|
|
1855
|
-
*/
|
|
1856
|
-
countdown?: number;
|
|
1857
|
-
/**
|
|
1858
|
-
* Whether the countdown is paused
|
|
1859
|
-
*/
|
|
1860
|
-
isPaused?: boolean;
|
|
1861
|
-
/**
|
|
1862
|
-
* Pause/Resume handler
|
|
1863
|
-
*/
|
|
1864
|
-
onPause?: () => void;
|
|
1865
1859
|
/**
|
|
1866
1860
|
* Loading state during submission
|
|
1867
1861
|
*/
|
|
1868
1862
|
isLoading?: boolean;
|
|
1869
1863
|
/**
|
|
1870
|
-
* Custom
|
|
1864
|
+
* Custom wrapper class name
|
|
1871
1865
|
*/
|
|
1872
1866
|
className?: string;
|
|
1873
1867
|
/**
|
|
1874
|
-
* Who made the final selection (for historical view)
|
|
1868
|
+
* Who made the final selection (used for historical view)
|
|
1875
1869
|
*/
|
|
1876
1870
|
selectionStatus?: "user" | "agent";
|
|
1871
|
+
/**
|
|
1872
|
+
* Optional action callback for external state management (e.g. PXEngine)
|
|
1873
|
+
*/
|
|
1874
|
+
onAction?: (action: any) => void;
|
|
1875
|
+
/**
|
|
1876
|
+
* Whether the interaction is disabled externally
|
|
1877
|
+
*/
|
|
1878
|
+
disabled?: boolean;
|
|
1877
1879
|
}
|
|
1878
1880
|
|
|
1879
1881
|
/**
|
|
1880
1882
|
* MCQCard
|
|
1881
1883
|
*
|
|
1882
1884
|
* A molecule for Multiple Choice Questions.
|
|
1883
|
-
*
|
|
1884
|
-
* - Recommended options with styling
|
|
1885
|
-
* - Radio-style selection
|
|
1886
|
-
* - Integrated ActionButton with countdown
|
|
1887
|
-
* - Peer/Agent approval labels
|
|
1888
|
-
* - Premium aesthetics
|
|
1885
|
+
* Styled to match OptionsRenderer from creator-engine
|
|
1889
1886
|
*/
|
|
1890
1887
|
declare const MCQCard: React__default.NamedExoticComponent<MCQCardProps>;
|
|
1891
1888
|
|
|
@@ -1949,4 +1946,71 @@ declare const TopPostsGrid: React__default.FC<TopPostsGridMolecule>;
|
|
|
1949
1946
|
*/
|
|
1950
1947
|
declare const CreatorActionHeader: React__default.FC<CreatorActionHeaderMolecule>;
|
|
1951
1948
|
|
|
1952
|
-
|
|
1949
|
+
interface CreatorSearchProps extends Omit<FormCardProps, "fields"> {
|
|
1950
|
+
/**
|
|
1951
|
+
* Status of the selection
|
|
1952
|
+
*/
|
|
1953
|
+
selectionStatus?: "user" | "agent";
|
|
1954
|
+
/**
|
|
1955
|
+
* Whether the message is the latest
|
|
1956
|
+
*/
|
|
1957
|
+
isLatestMessage?: boolean;
|
|
1958
|
+
/**
|
|
1959
|
+
* Optional field configuration to override dynamic generation
|
|
1960
|
+
*/
|
|
1961
|
+
fields?: FieldConfig[];
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* CreatorSearch
|
|
1966
|
+
*
|
|
1967
|
+
* A domain-specific molecule for the Creator Discovery workflow.
|
|
1968
|
+
* Encapsulates creator search settings like platforms, range, geography, keywords, etc.
|
|
1969
|
+
* Designed to match the MCQCard theme with premium dark aesthetics.
|
|
1970
|
+
*/
|
|
1971
|
+
declare const CreatorSearch: React__default.NamedExoticComponent<CreatorSearchProps>;
|
|
1972
|
+
|
|
1973
|
+
interface CampaignConceptCardProps extends Omit<FormCardProps, "fields" | "title"> {
|
|
1974
|
+
/**
|
|
1975
|
+
* Title of the concept
|
|
1976
|
+
*/
|
|
1977
|
+
title?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* Whether this concept is recommended
|
|
1980
|
+
*/
|
|
1981
|
+
isRecommended?: boolean;
|
|
1982
|
+
/**
|
|
1983
|
+
* Whether the card is expanded
|
|
1984
|
+
*/
|
|
1985
|
+
isOpen?: boolean;
|
|
1986
|
+
/**
|
|
1987
|
+
* Callback for toggling the card
|
|
1988
|
+
*/
|
|
1989
|
+
onToggle?: () => void;
|
|
1990
|
+
/**
|
|
1991
|
+
* Dynamic field data
|
|
1992
|
+
*/
|
|
1993
|
+
data: Record<string, any>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Optional field configuration to override dynamic generation
|
|
1996
|
+
*/
|
|
1997
|
+
fields?: FieldConfig[];
|
|
1998
|
+
/**
|
|
1999
|
+
* Selection status for the footer
|
|
2000
|
+
*/
|
|
2001
|
+
selectionStatus?: "user" | "agent";
|
|
2002
|
+
/**
|
|
2003
|
+
* Whether this is the latest message
|
|
2004
|
+
*/
|
|
2005
|
+
isLatestMessage?: boolean;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* CampaignConceptCard
|
|
2010
|
+
*
|
|
2011
|
+
* A domain-specific molecule for displaying a campaign concept.
|
|
2012
|
+
* Features an accordion-style collapsible header and custom data rendering.
|
|
2013
|
+
*/
|
|
2014
|
+
declare const CampaignConceptCard: React__default.NamedExoticComponent<CampaignConceptCardProps>;
|
|
2015
|
+
|
|
2016
|
+
export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorGridCard, type CreatorGridCardMolecule, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorSearch, type CreatorSearchProps, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StatsGrid, type StatsGridMolecule, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, cn };
|