@umami/react-zen 0.211.0 → 0.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +106 -105
- package/dist/index.d.ts +106 -105
- package/dist/index.js +728 -695
- package/dist/index.mjs +728 -695
- package/package.json +4 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps as PopoverProps$1, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps,
|
|
1
|
+
import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps as ComboBoxProps$1, ListBoxRenderProps, PopoverProps as PopoverProps$1, TableProps, TooltipProps as TooltipProps$1, TextFieldProps as TextFieldProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, ProgressBarProps as ProgressBarProps$1, RadioGroupProps as RadioGroupProps$1, RadioProps, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import * as react from 'react';
|
|
4
5
|
import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
|
|
5
6
|
import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
|
|
@@ -12,7 +13,7 @@ interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>,
|
|
|
12
13
|
preventSubmit?: boolean;
|
|
13
14
|
children?: ReactNode | ((e: UseFormReturn) => ReactNode);
|
|
14
15
|
}
|
|
15
|
-
declare function Form({ autoComplete, onSubmit, error, preventSubmit, mode, disabled, reValidateMode, defaultValues, values, errors, resetOptions, resolver, context, shouldFocusError, shouldUnregister, shouldUseNativeValidation, progressive, criteriaMode, delayError, className, children, ...props }: FormProps):
|
|
16
|
+
declare function Form({ autoComplete, onSubmit, error, preventSubmit, mode, disabled, reValidateMode, defaultValues, values, errors, resetOptions, resolver, context, shouldFocusError, shouldUnregister, shouldUseNativeValidation, progressive, criteriaMode, delayError, className, children, ...props }: FormProps): react_jsx_runtime.JSX.Element;
|
|
16
17
|
|
|
17
18
|
declare const Breakpoints: readonly ["", "xs", "sm", "md", "lg", "xl"];
|
|
18
19
|
type Breakpoint = (typeof Breakpoints)[number];
|
|
@@ -121,7 +122,7 @@ interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
|
121
122
|
as?: string;
|
|
122
123
|
asChild?: boolean;
|
|
123
124
|
}
|
|
124
|
-
declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderWidth, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, zIndex, theme, as, asChild, className, style, children, ...props }: BoxProps):
|
|
125
|
+
declare function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderWidth, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, zIndex, theme, as, asChild, className, style, children, ...props }: BoxProps): react_jsx_runtime.JSX.Element;
|
|
125
126
|
|
|
126
127
|
interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
|
|
127
128
|
display?: Responsive<FlexDisplay>;
|
|
@@ -135,17 +136,17 @@ interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
|
|
|
135
136
|
gapX?: Responsive<Gap>;
|
|
136
137
|
gapY?: Responsive<Gap>;
|
|
137
138
|
}
|
|
138
|
-
declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, style, children, ...props }: FlexboxProps):
|
|
139
|
+
declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, style, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
|
|
139
140
|
|
|
140
141
|
interface RowProps extends FlexboxProps {
|
|
141
142
|
reverse?: boolean;
|
|
142
143
|
}
|
|
143
|
-
declare function Row({ reverse, children, ...props }: RowProps):
|
|
144
|
+
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
144
145
|
|
|
145
146
|
interface FormButtonsProps extends RowProps {
|
|
146
147
|
fill?: boolean;
|
|
147
148
|
}
|
|
148
|
-
declare function FormButtons({ fill, children, ...props }: FormButtonsProps):
|
|
149
|
+
declare function FormButtons({ fill, children, ...props }: FormButtonsProps): react_jsx_runtime.JSX.Element;
|
|
149
150
|
|
|
150
151
|
interface FormControllerProps extends Omit<ControllerProps, 'render'> {
|
|
151
152
|
children: ({ field, fieldState, formState, }: {
|
|
@@ -154,7 +155,7 @@ interface FormControllerProps extends Omit<ControllerProps, 'render'> {
|
|
|
154
155
|
formState: UseFormStateReturn<FieldValues>;
|
|
155
156
|
}) => ReactElement;
|
|
156
157
|
}
|
|
157
|
-
declare function FormController({ children, ...props }: FormControllerProps):
|
|
158
|
+
declare function FormController({ children, ...props }: FormControllerProps): react_jsx_runtime.JSX.Element;
|
|
158
159
|
|
|
159
160
|
interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseFormReturn> {
|
|
160
161
|
name: string;
|
|
@@ -163,7 +164,7 @@ interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseForm
|
|
|
163
164
|
rules?: RegisterOptions<FieldValues, string>;
|
|
164
165
|
children: any;
|
|
165
166
|
}
|
|
166
|
-
declare function FormField({ id, name, description, label, rules, className, children, ...props }: FormFieldProps):
|
|
167
|
+
declare function FormField({ id, name, description, label, rules, className, children, ...props }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
167
168
|
|
|
168
169
|
interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
169
170
|
name: string;
|
|
@@ -172,7 +173,7 @@ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
172
173
|
rules?: RegisterOptions<FieldValues, string>;
|
|
173
174
|
children: (props: any) => ReactNode;
|
|
174
175
|
}
|
|
175
|
-
declare function FormFieldArray({ id, name, description, label, rules, className, children, ...props }: FormFieldArrayProps):
|
|
176
|
+
declare function FormFieldArray({ id, name, description, label, rules, className, children, ...props }: FormFieldArrayProps): react_jsx_runtime.JSX.Element;
|
|
176
177
|
|
|
177
178
|
interface ButtonProps extends ButtonProps$1 {
|
|
178
179
|
variant?: 'primary' | 'outline' | 'quiet' | 'danger' | 'zero';
|
|
@@ -180,23 +181,23 @@ interface ButtonProps extends ButtonProps$1 {
|
|
|
180
181
|
asChild?: boolean;
|
|
181
182
|
children?: ReactNode;
|
|
182
183
|
}
|
|
183
|
-
declare function Button({ variant, size, asChild, preventFocusOnPress, className, children, ...props }: ButtonProps):
|
|
184
|
+
declare function Button({ variant, size, asChild, preventFocusOnPress, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
184
185
|
|
|
185
186
|
interface FormResetButtonProps extends ButtonProps {
|
|
186
187
|
values?: FieldValues | {
|
|
187
188
|
[p: string]: any;
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
|
-
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps):
|
|
191
|
+
declare function FormResetButton({ values, children, onPress, ...props }: FormResetButtonProps): react_jsx_runtime.JSX.Element;
|
|
191
192
|
|
|
192
193
|
interface LoadingButtonProps extends ButtonProps {
|
|
193
194
|
isDisabled?: boolean;
|
|
194
195
|
isLoading?: boolean;
|
|
195
196
|
showText?: boolean;
|
|
196
197
|
}
|
|
197
|
-
declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps):
|
|
198
|
+
declare function LoadingButton({ isLoading, isDisabled, showText, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
|
|
198
199
|
|
|
199
|
-
declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ...props }: LoadingButtonProps):
|
|
200
|
+
declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ...props }: LoadingButtonProps): react_jsx_runtime.JSX.Element;
|
|
200
201
|
|
|
201
202
|
interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
202
203
|
id: string;
|
|
@@ -207,20 +208,20 @@ interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
207
208
|
variant?: 'success' | 'error';
|
|
208
209
|
onClose?: (action?: string) => void;
|
|
209
210
|
}
|
|
210
|
-
declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, ...props }: ToastProps):
|
|
211
|
+
declare function Toast({ id, message, title, actions, allowClose, variant, className, children, onClose, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
|
|
211
212
|
|
|
212
213
|
type ToastPosition = 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'left' | 'right';
|
|
213
214
|
interface ToasterProps {
|
|
214
215
|
duration?: number;
|
|
215
216
|
position?: ToastPosition;
|
|
216
217
|
}
|
|
217
|
-
declare function Toaster({ duration, position }: ToasterProps):
|
|
218
|
+
declare function Toaster({ duration, position }: ToasterProps): react_jsx_runtime.JSX.Element;
|
|
218
219
|
|
|
219
220
|
interface ToastProviderProps extends ToasterProps {
|
|
220
221
|
children: ReactNode;
|
|
221
222
|
}
|
|
222
223
|
declare const ToastContext: react.Context<{}>;
|
|
223
|
-
declare function ToastProvider({ children, ...props }: ToastProviderProps):
|
|
224
|
+
declare function ToastProvider({ children, ...props }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
224
225
|
|
|
225
226
|
declare function useDebounce(value: string, delay: number): string;
|
|
226
227
|
|
|
@@ -270,8 +271,8 @@ interface AccordionProps extends DisclosureGroupProps {
|
|
|
270
271
|
}
|
|
271
272
|
interface AccordionItemProps extends DisclosureProps {
|
|
272
273
|
}
|
|
273
|
-
declare function Accordion({ className, children, ...props }: AccordionProps):
|
|
274
|
-
declare function AccordionItem({ defaultExpanded, className, children, ...props }: AccordionItemProps):
|
|
274
|
+
declare function Accordion({ className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
275
|
+
declare function AccordionItem({ defaultExpanded, className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
275
276
|
|
|
276
277
|
interface AlertBannerProps {
|
|
277
278
|
title?: ReactNode;
|
|
@@ -284,13 +285,13 @@ interface AlertBannerProps {
|
|
|
284
285
|
className?: string;
|
|
285
286
|
children?: ReactNode;
|
|
286
287
|
}
|
|
287
|
-
declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps):
|
|
288
|
+
declare function AlertBanner({ title, description, icon, variant, align, allowClose, onClose, children, className, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
|
|
288
289
|
|
|
289
290
|
interface DialogProps extends DialogProps$1 {
|
|
290
291
|
title?: ReactNode;
|
|
291
292
|
variant?: 'sheet';
|
|
292
293
|
}
|
|
293
|
-
declare function Dialog({ title, variant, children, className, ...props }: DialogProps):
|
|
294
|
+
declare function Dialog({ title, variant, children, className, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
294
295
|
|
|
295
296
|
interface AlertDialogProps extends DialogProps {
|
|
296
297
|
title?: ReactNode;
|
|
@@ -302,17 +303,17 @@ interface AlertDialogProps extends DialogProps {
|
|
|
302
303
|
onConfirm?: () => void;
|
|
303
304
|
onCancel?: () => void;
|
|
304
305
|
}
|
|
305
|
-
declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps):
|
|
306
|
+
declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
306
307
|
|
|
307
308
|
interface BlockquoteProps extends HTMLAttributes<HTMLElement> {
|
|
308
309
|
asChild?: boolean;
|
|
309
310
|
weight?: Responsive<FontWeight>;
|
|
310
311
|
wrap?: Responsive<TextWrap>;
|
|
311
312
|
}
|
|
312
|
-
declare function Blockquote({ asChild, children }: BlockquoteProps):
|
|
313
|
+
declare function Blockquote({ asChild, children }: BlockquoteProps): react_jsx_runtime.JSX.Element;
|
|
313
314
|
|
|
314
|
-
declare function Breadcrumbs({ children, className, ...props }: BreadcrumbsProps<any>):
|
|
315
|
-
declare function Breadcrumb({ children, className, ...props }: BreadcrumbProps):
|
|
315
|
+
declare function Breadcrumbs({ children, className, ...props }: BreadcrumbsProps<any>): react_jsx_runtime.JSX.Element;
|
|
316
|
+
declare function Breadcrumb({ children, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
316
317
|
|
|
317
318
|
interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue' | 'maxValue' | 'defaultValue' | 'onChange'> {
|
|
318
319
|
value: Date;
|
|
@@ -321,12 +322,12 @@ interface CalendarProps extends Omit<CalendarProps$1<any>, 'value' | 'minValue'
|
|
|
321
322
|
defaultValue?: Date;
|
|
322
323
|
onChange?: (date: Date) => void;
|
|
323
324
|
}
|
|
324
|
-
declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps):
|
|
325
|
+
declare function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
325
326
|
|
|
326
327
|
interface CheckboxProps extends CheckboxProps$1 {
|
|
327
328
|
label?: string;
|
|
328
329
|
}
|
|
329
|
-
declare function Checkbox({ label, className, children, ...props }: CheckboxProps):
|
|
330
|
+
declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
330
331
|
|
|
331
332
|
interface ListProps extends ListBoxProps<any> {
|
|
332
333
|
items?: any[];
|
|
@@ -340,16 +341,16 @@ interface ListProps extends ListBoxProps<any> {
|
|
|
340
341
|
value?: string[];
|
|
341
342
|
onChange?: (value: string[]) => void;
|
|
342
343
|
}
|
|
343
|
-
declare function List({ id, items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps):
|
|
344
|
+
declare function List({ id, items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, isFullscreen, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react_jsx_runtime.JSX.Element;
|
|
344
345
|
interface ListItemProps extends ListBoxItemProps<any> {
|
|
345
346
|
showCheckmark?: boolean;
|
|
346
347
|
}
|
|
347
|
-
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps):
|
|
348
|
-
declare function ListSeparator({ className, ...props }: SeparatorProps):
|
|
348
|
+
declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
349
|
+
declare function ListSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
349
350
|
interface ListSectionProps extends ListBoxSectionProps<any> {
|
|
350
351
|
title?: string;
|
|
351
352
|
}
|
|
352
|
-
declare function ListSection({ title, className, children, ...props }: ListSectionProps):
|
|
353
|
+
declare function ListSection({ title, className, children, ...props }: ListSectionProps): react_jsx_runtime.JSX.Element;
|
|
353
354
|
|
|
354
355
|
interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
355
356
|
items?: any[];
|
|
@@ -357,31 +358,31 @@ interface ComboBoxProps extends ComboBoxProps$1<any> {
|
|
|
357
358
|
listProps?: ListProps;
|
|
358
359
|
popoverProps?: PopoverProps$1;
|
|
359
360
|
}
|
|
360
|
-
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboBoxProps):
|
|
361
|
+
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboBoxProps): react_jsx_runtime.JSX.Element;
|
|
361
362
|
|
|
362
363
|
interface CodeProps extends HTMLAttributes<HTMLElement> {
|
|
363
364
|
asChild?: boolean;
|
|
364
365
|
weight?: Responsive<FontWeight>;
|
|
365
366
|
wrap?: Responsive<TextWrap>;
|
|
366
367
|
}
|
|
367
|
-
declare function Code({ asChild, children }: CodeProps):
|
|
368
|
+
declare function Code({ asChild, children }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
368
369
|
|
|
369
370
|
interface ColumnProps extends FlexboxProps {
|
|
370
371
|
reverse?: boolean;
|
|
371
372
|
}
|
|
372
|
-
declare function Column({ reverse, children, ...props }: ColumnProps):
|
|
373
|
+
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
373
374
|
|
|
374
375
|
interface ConfirmationDialogProps extends AlertDialogProps {
|
|
375
376
|
value: string;
|
|
376
377
|
confirmMessage?: ReactNode;
|
|
377
378
|
}
|
|
378
|
-
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps):
|
|
379
|
+
declare function ConfirmationDialog({ value, confirmMessage, className, children, ...props }: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
|
|
379
380
|
|
|
380
381
|
interface ContainerProps extends BoxProps {
|
|
381
382
|
isFluid?: boolean;
|
|
382
383
|
isCentered?: boolean;
|
|
383
384
|
}
|
|
384
|
-
declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps):
|
|
385
|
+
declare function Container({ isCentered, isFluid, className, children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
385
386
|
|
|
386
387
|
interface CopyButtonProps {
|
|
387
388
|
value?: string;
|
|
@@ -389,7 +390,7 @@ interface CopyButtonProps {
|
|
|
389
390
|
className?: string;
|
|
390
391
|
children?: ReactNode;
|
|
391
392
|
}
|
|
392
|
-
declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps):
|
|
393
|
+
declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
393
394
|
|
|
394
395
|
interface GridProps extends Omit<BoxProps, 'display'> {
|
|
395
396
|
display?: Responsive<GridDisplay>;
|
|
@@ -405,7 +406,7 @@ interface GridProps extends Omit<BoxProps, 'display'> {
|
|
|
405
406
|
columns?: Responsive<GridTemplateColumns>;
|
|
406
407
|
areas?: Responsive<GridTemplateAreas>;
|
|
407
408
|
}
|
|
408
|
-
declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps):
|
|
409
|
+
declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
409
410
|
|
|
410
411
|
interface DataCardProps extends GridProps {
|
|
411
412
|
data?: {
|
|
@@ -414,13 +415,13 @@ interface DataCardProps extends GridProps {
|
|
|
414
415
|
}[];
|
|
415
416
|
labelWidth?: string;
|
|
416
417
|
}
|
|
417
|
-
declare function DataCard({ data, labelWidth, ...props }: DataCardProps):
|
|
418
|
+
declare function DataCard({ data, labelWidth, ...props }: DataCardProps): react_jsx_runtime.JSX.Element;
|
|
418
419
|
|
|
419
420
|
interface DataTableProps extends TableProps {
|
|
420
421
|
data?: any[];
|
|
421
422
|
displayMode?: 'table' | 'cards';
|
|
422
423
|
}
|
|
423
|
-
declare function DataTable({ data, displayMode, className, children, ...props }: DataTableProps):
|
|
424
|
+
declare function DataTable({ data, displayMode, className, children, ...props }: DataTableProps): react_jsx_runtime.JSX.Element;
|
|
424
425
|
interface DataColumnProps extends Omit<HTMLAttributes<any>, 'children'> {
|
|
425
426
|
id: string;
|
|
426
427
|
label?: ReactNode;
|
|
@@ -435,20 +436,20 @@ declare function DataColumn(props: DataColumnProps): null;
|
|
|
435
436
|
interface DotsProps extends HTMLAttributes<HTMLDivElement> {
|
|
436
437
|
size?: 'sm' | 'md' | 'lg';
|
|
437
438
|
}
|
|
438
|
-
declare function Dots({ size, className, ...props }: DotsProps):
|
|
439
|
+
declare function Dots({ size, className, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
|
|
439
440
|
|
|
440
441
|
interface TooltipProps extends TooltipProps$1 {
|
|
441
442
|
showArrow?: boolean;
|
|
442
443
|
}
|
|
443
|
-
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps):
|
|
444
|
+
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
444
445
|
interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
|
|
445
446
|
showArrow?: boolean;
|
|
446
447
|
}
|
|
447
|
-
declare function TooltipBubble({ showArrow, children, ...props }: TooltipBubbleProps):
|
|
448
|
+
declare function TooltipBubble({ showArrow, children, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
|
|
448
449
|
|
|
449
450
|
interface FloatingTooltipProps extends TooltipBubbleProps {
|
|
450
451
|
}
|
|
451
|
-
declare function FloatingTooltip({ className, style, children, ...props }: FloatingTooltipProps):
|
|
452
|
+
declare function FloatingTooltip({ className, style, children, ...props }: FloatingTooltipProps): react_jsx_runtime.JSX.Element;
|
|
452
453
|
|
|
453
454
|
interface HeadingProps extends BoxProps {
|
|
454
455
|
size?: Responsive<FontSize>;
|
|
@@ -456,7 +457,7 @@ interface HeadingProps extends BoxProps {
|
|
|
456
457
|
spacing?: Responsive<LetterSpacing>;
|
|
457
458
|
align?: Responsive<TextAlign>;
|
|
458
459
|
}
|
|
459
|
-
declare function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps):
|
|
460
|
+
declare function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
460
461
|
|
|
461
462
|
interface HoverButtonProps {
|
|
462
463
|
isOpen?: boolean;
|
|
@@ -465,7 +466,7 @@ interface HoverButtonProps {
|
|
|
465
466
|
closeDelay?: number;
|
|
466
467
|
children: ReactElement[];
|
|
467
468
|
}
|
|
468
|
-
declare function HoverTrigger({ isOpen, onHoverStart, onHoverEnd, closeDelay, children, }: HoverButtonProps):
|
|
469
|
+
declare function HoverTrigger({ isOpen, onHoverStart, onHoverEnd, closeDelay, children, }: HoverButtonProps): react_jsx_runtime.JSX.Element;
|
|
469
470
|
|
|
470
471
|
interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'> {
|
|
471
472
|
color?: FontColor;
|
|
@@ -476,7 +477,7 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'>
|
|
|
476
477
|
strokeColor?: StrokeColor;
|
|
477
478
|
fillColor?: FillColor;
|
|
478
479
|
}
|
|
479
|
-
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps):
|
|
480
|
+
declare function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps): react_jsx_runtime.JSX.Element;
|
|
480
481
|
|
|
481
482
|
interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
482
483
|
color?: FontColor;
|
|
@@ -493,7 +494,7 @@ interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
|
493
494
|
as?: 'span' | 'div' | 'label' | 'p';
|
|
494
495
|
asChild?: boolean;
|
|
495
496
|
}
|
|
496
|
-
declare function Text({ color, size, spacing, weight, align, wrap, transform, truncate, italic, underline, strikethrough, as, asChild, className, style, children, ...props }: TextProps):
|
|
497
|
+
declare function Text({ color, size, spacing, weight, align, wrap, transform, truncate, italic, underline, strikethrough, as, asChild, className, style, children, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
497
498
|
|
|
498
499
|
interface IconLabelProps extends RowProps {
|
|
499
500
|
icon: ReactNode;
|
|
@@ -502,7 +503,7 @@ interface IconLabelProps extends RowProps {
|
|
|
502
503
|
labelProps?: TextProps;
|
|
503
504
|
showLabel?: boolean;
|
|
504
505
|
}
|
|
505
|
-
declare function IconLabel({ icon, label, iconProps, labelProps, showLabel, children, ...props }: IconLabelProps):
|
|
506
|
+
declare function IconLabel({ icon, label, iconProps, labelProps, showLabel, children, ...props }: IconLabelProps): react_jsx_runtime.JSX.Element;
|
|
506
507
|
|
|
507
508
|
interface ImageProps extends HTMLAttributes<HTMLImageElement> {
|
|
508
509
|
src: string;
|
|
@@ -512,9 +513,19 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
|
|
|
512
513
|
borderRadius?: Responsive<BorderRadius>;
|
|
513
514
|
shadow?: Responsive<BoxShadow>;
|
|
514
515
|
}
|
|
515
|
-
declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, style, ...props }: ImageProps):
|
|
516
|
+
declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, style, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
516
517
|
|
|
517
|
-
interface
|
|
518
|
+
interface TextFieldProps extends TextFieldProps$1 {
|
|
519
|
+
label?: string;
|
|
520
|
+
placeholder?: string;
|
|
521
|
+
allowCopy?: boolean;
|
|
522
|
+
asTextArea?: boolean;
|
|
523
|
+
resize?: 'vertical' | 'horizontal' | 'both' | 'none';
|
|
524
|
+
onChange?: (e: any) => void;
|
|
525
|
+
}
|
|
526
|
+
declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, onChange, isReadOnly, isDisabled, className, children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
527
|
+
|
|
528
|
+
interface InlineEditFieldProps extends TextFieldProps {
|
|
518
529
|
name?: string;
|
|
519
530
|
value: string;
|
|
520
531
|
defaultEdit?: boolean;
|
|
@@ -522,12 +533,12 @@ interface InlineEditFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
522
533
|
onCommit?: (value: any) => void;
|
|
523
534
|
onCancel?: () => void;
|
|
524
535
|
}
|
|
525
|
-
declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps):
|
|
536
|
+
declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps): react_jsx_runtime.JSX.Element;
|
|
526
537
|
|
|
527
538
|
interface LabelProps extends LabelProps$1 {
|
|
528
539
|
className?: string;
|
|
529
540
|
}
|
|
530
|
-
declare function Label({ className, ...props }: LabelProps):
|
|
541
|
+
declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
531
542
|
|
|
532
543
|
interface LoadingProps extends BoxProps {
|
|
533
544
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -535,29 +546,29 @@ interface LoadingProps extends BoxProps {
|
|
|
535
546
|
placement?: 'absolute' | 'center' | 'inline';
|
|
536
547
|
className?: string;
|
|
537
548
|
}
|
|
538
|
-
declare function Loading({ size, placement, icon, className, ...props }: LoadingProps):
|
|
549
|
+
declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
|
|
539
550
|
|
|
540
551
|
interface MenuProps extends MenuProps$1<any> {
|
|
541
552
|
className?: string;
|
|
542
553
|
children?: ReactNode;
|
|
543
554
|
}
|
|
544
|
-
declare function Menu({ className, children, ...props }: MenuProps):
|
|
555
|
+
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
545
556
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
546
557
|
icon?: ReactNode;
|
|
547
558
|
label?: string;
|
|
548
559
|
showChecked?: boolean;
|
|
549
560
|
showSubMenuIcon?: boolean;
|
|
550
561
|
}
|
|
551
|
-
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps):
|
|
552
|
-
declare function MenuSeparator({ className, ...props }: SeparatorProps):
|
|
562
|
+
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
553
564
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
554
565
|
title?: string;
|
|
555
566
|
maxHeight?: number;
|
|
556
567
|
}
|
|
557
|
-
declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps):
|
|
568
|
+
declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
|
|
558
569
|
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
559
570
|
}
|
|
560
|
-
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps):
|
|
571
|
+
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
561
572
|
|
|
562
573
|
interface ModalProps extends ModalOverlayProps {
|
|
563
574
|
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
@@ -566,7 +577,7 @@ interface ModalProps extends ModalOverlayProps {
|
|
|
566
577
|
defaultChildren: ReactNode;
|
|
567
578
|
}) => ReactNode);
|
|
568
579
|
}
|
|
569
|
-
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps):
|
|
580
|
+
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
570
581
|
|
|
571
582
|
type NavigationContext = {
|
|
572
583
|
activeMenu: string;
|
|
@@ -577,57 +588,57 @@ interface NavbarProps extends HTMLAttributes<HTMLElement> {
|
|
|
577
588
|
showArrow?: boolean;
|
|
578
589
|
}
|
|
579
590
|
declare const useNavigationContext: () => NavigationContext;
|
|
580
|
-
declare function Navbar({ showArrow, className, children, ...props }: NavbarProps):
|
|
591
|
+
declare function Navbar({ showArrow, className, children, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
581
592
|
interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
|
|
582
593
|
label?: string;
|
|
583
594
|
children?: ReactNode;
|
|
584
595
|
}
|
|
585
|
-
declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps):
|
|
596
|
+
declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
|
|
586
597
|
|
|
587
598
|
interface NavMenuProps extends ColumnProps {
|
|
588
599
|
itemBackgroundColor?: string;
|
|
589
600
|
muteItems?: boolean;
|
|
590
601
|
onItemClick?: () => void;
|
|
591
602
|
}
|
|
592
|
-
declare function NavMenu({ itemBackgroundColor, muteItems, onItemClick, className, children, ...props }: NavMenuProps):
|
|
603
|
+
declare function NavMenu({ itemBackgroundColor, muteItems, onItemClick, className, children, ...props }: NavMenuProps): react_jsx_runtime.JSX.Element;
|
|
593
604
|
interface NavMenuGroupProps extends ColumnProps {
|
|
594
605
|
title?: string;
|
|
595
606
|
allowMinimize?: boolean;
|
|
596
607
|
isMinimized?: boolean;
|
|
597
608
|
}
|
|
598
|
-
declare function NavMenuGroup({ title, allowMinimize, isMinimized, className, children, ...props }: NavMenuGroupProps):
|
|
609
|
+
declare function NavMenuGroup({ title, allowMinimize, isMinimized, className, children, ...props }: NavMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
599
610
|
interface NavMenuItemProps extends RowProps {
|
|
600
611
|
isSelected?: boolean;
|
|
601
612
|
}
|
|
602
|
-
declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps):
|
|
613
|
+
declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
603
614
|
|
|
604
615
|
interface PasswordFieldProps extends TextFieldProps$1 {
|
|
605
616
|
label?: string;
|
|
606
617
|
}
|
|
607
|
-
declare function PasswordField({ label, className, ...props }: PasswordFieldProps):
|
|
618
|
+
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
608
619
|
|
|
609
620
|
interface PopoverProps extends PopoverProps$1 {
|
|
610
621
|
isFullscreen?: boolean;
|
|
611
622
|
}
|
|
612
|
-
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps):
|
|
623
|
+
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
613
624
|
|
|
614
625
|
interface ProgressBarProps extends ProgressBarProps$1 {
|
|
615
626
|
showPercentage?: boolean;
|
|
616
627
|
}
|
|
617
|
-
declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps):
|
|
628
|
+
declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
618
629
|
|
|
619
630
|
interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
620
631
|
showPercentage?: boolean;
|
|
621
632
|
}
|
|
622
|
-
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps):
|
|
633
|
+
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
623
634
|
|
|
624
635
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
625
636
|
label?: string;
|
|
626
637
|
variant?: 'circle' | 'box';
|
|
627
638
|
}
|
|
628
|
-
declare function RadioGroup({ variant, label, children, className, ...props }: RadioGroupProps):
|
|
639
|
+
declare function RadioGroup({ variant, label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
629
640
|
|
|
630
|
-
declare function Radio({ children, className, ...props }: RadioProps):
|
|
641
|
+
declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
631
642
|
|
|
632
643
|
interface SearchFieldProps extends SearchFieldProps$1 {
|
|
633
644
|
label?: string;
|
|
@@ -638,7 +649,7 @@ interface SearchFieldProps extends SearchFieldProps$1 {
|
|
|
638
649
|
onChange?: (value: string) => void;
|
|
639
650
|
onSearch?: (value: string) => void;
|
|
640
651
|
}
|
|
641
|
-
declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps):
|
|
652
|
+
declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
|
|
642
653
|
|
|
643
654
|
interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
644
655
|
items?: any[];
|
|
@@ -659,7 +670,7 @@ interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
|
659
670
|
defaultChildren: ReactNode;
|
|
660
671
|
}) => ReactNode);
|
|
661
672
|
}
|
|
662
|
-
declare function Select({ items, value, defaultValue, label, isLoading, allowSearch, searchValue, searchDelay, isFullscreen, onSearch, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, ...props }: SelectProps):
|
|
673
|
+
declare function Select({ items, value, defaultValue, label, isLoading, allowSearch, searchValue, searchDelay, isFullscreen, onSearch, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
663
674
|
|
|
664
675
|
interface SidebarProps extends ColumnProps {
|
|
665
676
|
itemBackgroundColor?: string;
|
|
@@ -667,29 +678,29 @@ interface SidebarProps extends ColumnProps {
|
|
|
667
678
|
muteItems?: boolean;
|
|
668
679
|
children?: ReactNode;
|
|
669
680
|
}
|
|
670
|
-
declare function Sidebar({ itemBackgroundColor, isCollapsed, muteItems, className, children, ...props }: SidebarProps):
|
|
681
|
+
declare function Sidebar({ itemBackgroundColor, isCollapsed, muteItems, className, children, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
671
682
|
declare function SidebarSection({ title, className, children, ...props }: {
|
|
672
683
|
title?: string;
|
|
673
684
|
children: ReactNode;
|
|
674
|
-
} & ColumnProps):
|
|
685
|
+
} & ColumnProps): react_jsx_runtime.JSX.Element;
|
|
675
686
|
declare function SidebarHeader({ label, icon, className, children, ...props }: {
|
|
676
687
|
label: string;
|
|
677
688
|
icon?: ReactNode;
|
|
678
689
|
children?: ReactNode;
|
|
679
|
-
} & RowProps):
|
|
690
|
+
} & RowProps): react_jsx_runtime.JSX.Element;
|
|
680
691
|
interface SidebarItemProps extends RowProps {
|
|
681
692
|
isSelected?: boolean;
|
|
682
693
|
}
|
|
683
694
|
declare function SidebarItem({ label, icon, isSelected, className, children, ...props }: {
|
|
684
695
|
label?: string;
|
|
685
696
|
icon?: ReactNode;
|
|
686
|
-
} & SidebarItemProps):
|
|
697
|
+
} & SidebarItemProps): react_jsx_runtime.JSX.Element;
|
|
687
698
|
|
|
688
699
|
interface SliderProps extends SliderProps$1 {
|
|
689
700
|
label?: ReactNode;
|
|
690
701
|
showValue?: boolean;
|
|
691
702
|
}
|
|
692
|
-
declare function Slider({ className, showValue, label, ...props }: SliderProps):
|
|
703
|
+
declare function Slider({ className, showValue, label, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
693
704
|
|
|
694
705
|
declare function Slot({ children, ...props }: {
|
|
695
706
|
children: ReactElement | ReactNode;
|
|
@@ -701,7 +712,7 @@ interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
701
712
|
quiet?: boolean;
|
|
702
713
|
isDisabled?: boolean;
|
|
703
714
|
}
|
|
704
|
-
declare function Spinner(props: SpinnerProps):
|
|
715
|
+
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
705
716
|
|
|
706
717
|
interface StatusLightProps {
|
|
707
718
|
color?: string;
|
|
@@ -709,12 +720,12 @@ interface StatusLightProps {
|
|
|
709
720
|
className?: string;
|
|
710
721
|
children?: ReactNode;
|
|
711
722
|
}
|
|
712
|
-
declare function StatusLight(props: StatusLightProps):
|
|
723
|
+
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
713
724
|
|
|
714
725
|
interface SwitchProps extends SwitchProps$1 {
|
|
715
726
|
label?: string;
|
|
716
727
|
}
|
|
717
|
-
declare function Switch({ label, children, className, ...props }: SwitchProps):
|
|
728
|
+
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
718
729
|
|
|
719
730
|
interface TableColumnProps extends ColumnProps$1 {
|
|
720
731
|
align?: 'start' | 'center' | 'end';
|
|
@@ -722,35 +733,25 @@ interface TableColumnProps extends ColumnProps$1 {
|
|
|
722
733
|
interface TableCellProps extends CellProps {
|
|
723
734
|
align?: 'start' | 'center' | 'end';
|
|
724
735
|
}
|
|
725
|
-
declare function Table({ children, className, ...props }: TableProps):
|
|
726
|
-
declare function TableHeader({ children, className, style, ...props }: TableHeaderProps<any>):
|
|
727
|
-
declare function TableBody({ children, className, ...props }: TableBodyProps<any>):
|
|
728
|
-
declare function TableRow({ children, className, style, ...props }: RowProps$1<any>):
|
|
729
|
-
declare function TableColumn({ children, className, align, ...props }: TableColumnProps):
|
|
730
|
-
declare function TableCell({ children, className, align, ...props }: TableCellProps):
|
|
736
|
+
declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
737
|
+
declare function TableHeader({ children, className, style, ...props }: TableHeaderProps<any>): react_jsx_runtime.JSX.Element;
|
|
738
|
+
declare function TableBody({ children, className, ...props }: TableBodyProps<any>): react_jsx_runtime.JSX.Element;
|
|
739
|
+
declare function TableRow({ children, className, style, ...props }: RowProps$1<any>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function TableColumn({ children, className, align, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
|
|
741
|
+
declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
|
|
731
742
|
|
|
732
|
-
declare function Tabs({ children, ...props }: TabsProps):
|
|
733
|
-
declare function TabList({ children, ...props }: TabListProps<any>):
|
|
734
|
-
declare function Tab({ children, ...props }: TabProps):
|
|
735
|
-
declare function TabPanel({ children, ...props }: TabPanelProps):
|
|
736
|
-
|
|
737
|
-
interface TextFieldProps extends TextFieldProps$1 {
|
|
738
|
-
label?: string;
|
|
739
|
-
placeholder?: string;
|
|
740
|
-
allowCopy?: boolean;
|
|
741
|
-
asTextArea?: boolean;
|
|
742
|
-
resize?: 'vertical' | 'horizontal' | 'both' | 'none';
|
|
743
|
-
onChange?: (e: any) => void;
|
|
744
|
-
}
|
|
745
|
-
declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, onChange, isReadOnly, isDisabled, className, children, ...props }: TextFieldProps): react.JSX.Element;
|
|
743
|
+
declare function Tabs({ children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
744
|
+
declare function TabList({ children, ...props }: TabListProps<any>): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function Tab({ children, ...props }: TabProps): react_jsx_runtime.JSX.Element;
|
|
746
|
+
declare function TabPanel({ children, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
746
747
|
|
|
747
|
-
declare function ThemeButton({ className, variant, onPress, ...props }: ButtonProps):
|
|
748
|
+
declare function ThemeButton({ className, variant, onPress, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
748
749
|
|
|
749
750
|
interface ToggleProps extends ToggleButtonProps {
|
|
750
751
|
label?: string;
|
|
751
752
|
value?: string;
|
|
752
753
|
}
|
|
753
|
-
declare function Toggle({ label, children, className, ...props }: ToggleProps):
|
|
754
|
+
declare function Toggle({ label, children, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
754
755
|
|
|
755
756
|
interface ToggleGroupProps extends TagGroupProps {
|
|
756
757
|
label?: string;
|
|
@@ -759,10 +760,10 @@ interface ToggleGroupProps extends TagGroupProps {
|
|
|
759
760
|
variant?: 'primary';
|
|
760
761
|
onChange?: (value: string[]) => void;
|
|
761
762
|
}
|
|
762
|
-
declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps):
|
|
763
|
+
declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
763
764
|
interface ToggleGroupItemProps extends TagProps {
|
|
764
765
|
}
|
|
765
|
-
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps):
|
|
766
|
+
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
766
767
|
|
|
767
768
|
interface ZenProviderProps {
|
|
768
769
|
theme?: Theme;
|
|
@@ -770,6 +771,6 @@ interface ZenProviderProps {
|
|
|
770
771
|
toast?: ToasterProps;
|
|
771
772
|
children: ReactNode;
|
|
772
773
|
}
|
|
773
|
-
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps):
|
|
774
|
+
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
774
775
|
|
|
775
776
|
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, IconLabel, type IconLabelProps, type IconProps, Image, type ImageProps, InlineEditField, type InlineEditFieldProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, type Theme, ThemeButton, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, removeToast, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
|