@umami/react-zen 0.212.0 → 0.214.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.css +19 -10
- package/dist/index.d.mts +107 -105
- package/dist/index.d.ts +107 -105
- package/dist/index.js +735 -701
- package/dist/index.mjs +735 -701
- package/package.json +1 -1
- package/styles.css +19 -10
package/dist/index.d.mts
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,20 @@ 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
|
+
variant?: 'quiet' | 'none';
|
|
525
|
+
onChange?: (e: any) => void;
|
|
526
|
+
}
|
|
527
|
+
declare function TextField({ value, defaultValue, label, placeholder, allowCopy, asTextArea, resize, variant, onChange, isReadOnly, isDisabled, className, children, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
528
|
+
|
|
529
|
+
interface InlineEditFieldProps extends TextFieldProps {
|
|
518
530
|
name?: string;
|
|
519
531
|
value: string;
|
|
520
532
|
defaultEdit?: boolean;
|
|
@@ -522,12 +534,12 @@ interface InlineEditFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
522
534
|
onCommit?: (value: any) => void;
|
|
523
535
|
onCancel?: () => void;
|
|
524
536
|
}
|
|
525
|
-
declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps):
|
|
537
|
+
declare function InlineEditField({ name, value: defaultValue, defaultEdit, className, children, onChange, onCommit, onCancel, ...props }: InlineEditFieldProps): react_jsx_runtime.JSX.Element;
|
|
526
538
|
|
|
527
539
|
interface LabelProps extends LabelProps$1 {
|
|
528
540
|
className?: string;
|
|
529
541
|
}
|
|
530
|
-
declare function Label({ className, ...props }: LabelProps):
|
|
542
|
+
declare function Label({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
531
543
|
|
|
532
544
|
interface LoadingProps extends BoxProps {
|
|
533
545
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -535,29 +547,29 @@ interface LoadingProps extends BoxProps {
|
|
|
535
547
|
placement?: 'absolute' | 'center' | 'inline';
|
|
536
548
|
className?: string;
|
|
537
549
|
}
|
|
538
|
-
declare function Loading({ size, placement, icon, className, ...props }: LoadingProps):
|
|
550
|
+
declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
|
|
539
551
|
|
|
540
552
|
interface MenuProps extends MenuProps$1<any> {
|
|
541
553
|
className?: string;
|
|
542
554
|
children?: ReactNode;
|
|
543
555
|
}
|
|
544
|
-
declare function Menu({ className, children, ...props }: MenuProps):
|
|
556
|
+
declare function Menu({ className, children, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
545
557
|
interface MenuItemProps extends MenuItemProps$1 {
|
|
546
558
|
icon?: ReactNode;
|
|
547
559
|
label?: string;
|
|
548
560
|
showChecked?: boolean;
|
|
549
561
|
showSubMenuIcon?: boolean;
|
|
550
562
|
}
|
|
551
|
-
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps):
|
|
552
|
-
declare function MenuSeparator({ className, ...props }: SeparatorProps):
|
|
563
|
+
declare function MenuItem({ icon, label, showChecked, showSubMenuIcon, children, className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
564
|
+
declare function MenuSeparator({ className, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
|
|
553
565
|
interface MenuSectionProps extends MenuSectionProps$1<any> {
|
|
554
566
|
title?: string;
|
|
555
567
|
maxHeight?: number;
|
|
556
568
|
}
|
|
557
|
-
declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps):
|
|
569
|
+
declare function MenuSection({ title, maxHeight, className, style, children, ...props }: MenuSectionProps): react_jsx_runtime.JSX.Element;
|
|
558
570
|
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
559
571
|
}
|
|
560
|
-
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps):
|
|
572
|
+
declare function SubMenuTrigger({ children, ...props }: SubmenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
561
573
|
|
|
562
574
|
interface ModalProps extends ModalOverlayProps {
|
|
563
575
|
placement?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'fullscreen';
|
|
@@ -566,7 +578,7 @@ interface ModalProps extends ModalOverlayProps {
|
|
|
566
578
|
defaultChildren: ReactNode;
|
|
567
579
|
}) => ReactNode);
|
|
568
580
|
}
|
|
569
|
-
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps):
|
|
581
|
+
declare function Modal({ placement, offset, children, className, style, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
570
582
|
|
|
571
583
|
type NavigationContext = {
|
|
572
584
|
activeMenu: string;
|
|
@@ -577,57 +589,57 @@ interface NavbarProps extends HTMLAttributes<HTMLElement> {
|
|
|
577
589
|
showArrow?: boolean;
|
|
578
590
|
}
|
|
579
591
|
declare const useNavigationContext: () => NavigationContext;
|
|
580
|
-
declare function Navbar({ showArrow, className, children, ...props }: NavbarProps):
|
|
592
|
+
declare function Navbar({ showArrow, className, children, ...props }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
581
593
|
interface NavbarItemProps extends HTMLAttributes<HTMLElement> {
|
|
582
594
|
label?: string;
|
|
583
595
|
children?: ReactNode;
|
|
584
596
|
}
|
|
585
|
-
declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps):
|
|
597
|
+
declare function NavbarItem({ label, children, className, ...props }: NavbarItemProps): react_jsx_runtime.JSX.Element;
|
|
586
598
|
|
|
587
599
|
interface NavMenuProps extends ColumnProps {
|
|
588
600
|
itemBackgroundColor?: string;
|
|
589
601
|
muteItems?: boolean;
|
|
590
602
|
onItemClick?: () => void;
|
|
591
603
|
}
|
|
592
|
-
declare function NavMenu({ itemBackgroundColor, muteItems, onItemClick, className, children, ...props }: NavMenuProps):
|
|
604
|
+
declare function NavMenu({ itemBackgroundColor, muteItems, onItemClick, className, children, ...props }: NavMenuProps): react_jsx_runtime.JSX.Element;
|
|
593
605
|
interface NavMenuGroupProps extends ColumnProps {
|
|
594
606
|
title?: string;
|
|
595
607
|
allowMinimize?: boolean;
|
|
596
608
|
isMinimized?: boolean;
|
|
597
609
|
}
|
|
598
|
-
declare function NavMenuGroup({ title, allowMinimize, isMinimized, className, children, ...props }: NavMenuGroupProps):
|
|
610
|
+
declare function NavMenuGroup({ title, allowMinimize, isMinimized, className, children, ...props }: NavMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
599
611
|
interface NavMenuItemProps extends RowProps {
|
|
600
612
|
isSelected?: boolean;
|
|
601
613
|
}
|
|
602
|
-
declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps):
|
|
614
|
+
declare function NavMenuItem({ isSelected, className, children, ...props }: NavMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
603
615
|
|
|
604
616
|
interface PasswordFieldProps extends TextFieldProps$1 {
|
|
605
617
|
label?: string;
|
|
606
618
|
}
|
|
607
|
-
declare function PasswordField({ label, className, ...props }: PasswordFieldProps):
|
|
619
|
+
declare function PasswordField({ label, className, ...props }: PasswordFieldProps): react_jsx_runtime.JSX.Element;
|
|
608
620
|
|
|
609
621
|
interface PopoverProps extends PopoverProps$1 {
|
|
610
622
|
isFullscreen?: boolean;
|
|
611
623
|
}
|
|
612
|
-
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps):
|
|
624
|
+
declare function Popover({ children, isFullscreen, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
613
625
|
|
|
614
626
|
interface ProgressBarProps extends ProgressBarProps$1 {
|
|
615
627
|
showPercentage?: boolean;
|
|
616
628
|
}
|
|
617
|
-
declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps):
|
|
629
|
+
declare function ProgressBar({ className, showPercentage, ...props }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
618
630
|
|
|
619
631
|
interface ProgressCircleProps extends ProgressBarProps$1 {
|
|
620
632
|
showPercentage?: boolean;
|
|
621
633
|
}
|
|
622
|
-
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps):
|
|
634
|
+
declare function ProgressCircle({ className, showPercentage, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
623
635
|
|
|
624
636
|
interface RadioGroupProps extends RadioGroupProps$1 {
|
|
625
637
|
label?: string;
|
|
626
638
|
variant?: 'circle' | 'box';
|
|
627
639
|
}
|
|
628
|
-
declare function RadioGroup({ variant, label, children, className, ...props }: RadioGroupProps):
|
|
640
|
+
declare function RadioGroup({ variant, label, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
629
641
|
|
|
630
|
-
declare function Radio({ children, className, ...props }: RadioProps):
|
|
642
|
+
declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
631
643
|
|
|
632
644
|
interface SearchFieldProps extends SearchFieldProps$1 {
|
|
633
645
|
label?: string;
|
|
@@ -638,7 +650,7 @@ interface SearchFieldProps extends SearchFieldProps$1 {
|
|
|
638
650
|
onChange?: (value: string) => void;
|
|
639
651
|
onSearch?: (value: string) => void;
|
|
640
652
|
}
|
|
641
|
-
declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps):
|
|
653
|
+
declare function SearchField({ label, placeholder, value, defaultValue, delay, onChange, onSearch, className, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
|
|
642
654
|
|
|
643
655
|
interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
644
656
|
items?: any[];
|
|
@@ -659,7 +671,7 @@ interface SelectProps extends SelectProps$1<HTMLSelectElement> {
|
|
|
659
671
|
defaultChildren: ReactNode;
|
|
660
672
|
}) => ReactNode);
|
|
661
673
|
}
|
|
662
|
-
declare function Select({ items, value, defaultValue, label, isLoading, allowSearch, searchValue, searchDelay, isFullscreen, onSearch, onChange, buttonProps, listProps, popoverProps, renderValue, className, children, ...props }: SelectProps):
|
|
674
|
+
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
675
|
|
|
664
676
|
interface SidebarProps extends ColumnProps {
|
|
665
677
|
itemBackgroundColor?: string;
|
|
@@ -667,29 +679,29 @@ interface SidebarProps extends ColumnProps {
|
|
|
667
679
|
muteItems?: boolean;
|
|
668
680
|
children?: ReactNode;
|
|
669
681
|
}
|
|
670
|
-
declare function Sidebar({ itemBackgroundColor, isCollapsed, muteItems, className, children, ...props }: SidebarProps):
|
|
682
|
+
declare function Sidebar({ itemBackgroundColor, isCollapsed, muteItems, className, children, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
671
683
|
declare function SidebarSection({ title, className, children, ...props }: {
|
|
672
684
|
title?: string;
|
|
673
685
|
children: ReactNode;
|
|
674
|
-
} & ColumnProps):
|
|
686
|
+
} & ColumnProps): react_jsx_runtime.JSX.Element;
|
|
675
687
|
declare function SidebarHeader({ label, icon, className, children, ...props }: {
|
|
676
688
|
label: string;
|
|
677
689
|
icon?: ReactNode;
|
|
678
690
|
children?: ReactNode;
|
|
679
|
-
} & RowProps):
|
|
691
|
+
} & RowProps): react_jsx_runtime.JSX.Element;
|
|
680
692
|
interface SidebarItemProps extends RowProps {
|
|
681
693
|
isSelected?: boolean;
|
|
682
694
|
}
|
|
683
695
|
declare function SidebarItem({ label, icon, isSelected, className, children, ...props }: {
|
|
684
696
|
label?: string;
|
|
685
697
|
icon?: ReactNode;
|
|
686
|
-
} & SidebarItemProps):
|
|
698
|
+
} & SidebarItemProps): react_jsx_runtime.JSX.Element;
|
|
687
699
|
|
|
688
700
|
interface SliderProps extends SliderProps$1 {
|
|
689
701
|
label?: ReactNode;
|
|
690
702
|
showValue?: boolean;
|
|
691
703
|
}
|
|
692
|
-
declare function Slider({ className, showValue, label, ...props }: SliderProps):
|
|
704
|
+
declare function Slider({ className, showValue, label, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
693
705
|
|
|
694
706
|
declare function Slot({ children, ...props }: {
|
|
695
707
|
children: ReactElement | ReactNode;
|
|
@@ -701,7 +713,7 @@ interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
701
713
|
quiet?: boolean;
|
|
702
714
|
isDisabled?: boolean;
|
|
703
715
|
}
|
|
704
|
-
declare function Spinner(props: SpinnerProps):
|
|
716
|
+
declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
705
717
|
|
|
706
718
|
interface StatusLightProps {
|
|
707
719
|
color?: string;
|
|
@@ -709,12 +721,12 @@ interface StatusLightProps {
|
|
|
709
721
|
className?: string;
|
|
710
722
|
children?: ReactNode;
|
|
711
723
|
}
|
|
712
|
-
declare function StatusLight(props: StatusLightProps):
|
|
724
|
+
declare function StatusLight(props: StatusLightProps): react_jsx_runtime.JSX.Element;
|
|
713
725
|
|
|
714
726
|
interface SwitchProps extends SwitchProps$1 {
|
|
715
727
|
label?: string;
|
|
716
728
|
}
|
|
717
|
-
declare function Switch({ label, children, className, ...props }: SwitchProps):
|
|
729
|
+
declare function Switch({ label, children, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
718
730
|
|
|
719
731
|
interface TableColumnProps extends ColumnProps$1 {
|
|
720
732
|
align?: 'start' | 'center' | 'end';
|
|
@@ -722,35 +734,25 @@ interface TableColumnProps extends ColumnProps$1 {
|
|
|
722
734
|
interface TableCellProps extends CellProps {
|
|
723
735
|
align?: 'start' | 'center' | 'end';
|
|
724
736
|
}
|
|
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):
|
|
737
|
+
declare function Table({ children, className, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
738
|
+
declare function TableHeader({ children, className, style, ...props }: TableHeaderProps<any>): react_jsx_runtime.JSX.Element;
|
|
739
|
+
declare function TableBody({ children, className, ...props }: TableBodyProps<any>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function TableRow({ children, className, style, ...props }: RowProps$1<any>): react_jsx_runtime.JSX.Element;
|
|
741
|
+
declare function TableColumn({ children, className, align, ...props }: TableColumnProps): react_jsx_runtime.JSX.Element;
|
|
742
|
+
declare function TableCell({ children, className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
|
|
731
743
|
|
|
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;
|
|
744
|
+
declare function Tabs({ children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function TabList({ children, ...props }: TabListProps<any>): react_jsx_runtime.JSX.Element;
|
|
746
|
+
declare function Tab({ children, ...props }: TabProps): react_jsx_runtime.JSX.Element;
|
|
747
|
+
declare function TabPanel({ children, ...props }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
746
748
|
|
|
747
|
-
declare function ThemeButton({ className, variant, onPress, ...props }: ButtonProps):
|
|
749
|
+
declare function ThemeButton({ className, variant, onPress, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
748
750
|
|
|
749
751
|
interface ToggleProps extends ToggleButtonProps {
|
|
750
752
|
label?: string;
|
|
751
753
|
value?: string;
|
|
752
754
|
}
|
|
753
|
-
declare function Toggle({ label, children, className, ...props }: ToggleProps):
|
|
755
|
+
declare function Toggle({ label, children, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
754
756
|
|
|
755
757
|
interface ToggleGroupProps extends TagGroupProps {
|
|
756
758
|
label?: string;
|
|
@@ -759,10 +761,10 @@ interface ToggleGroupProps extends TagGroupProps {
|
|
|
759
761
|
variant?: 'primary';
|
|
760
762
|
onChange?: (value: string[]) => void;
|
|
761
763
|
}
|
|
762
|
-
declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps):
|
|
764
|
+
declare function ToggleGroup({ label, value, defaultValue, variant, onChange, className, children, selectionMode, selectedKeys, defaultSelectedKeys, onSelectionChange, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
763
765
|
interface ToggleGroupItemProps extends TagProps {
|
|
764
766
|
}
|
|
765
|
-
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps):
|
|
767
|
+
declare function ToggleGroupItem({ className, children, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
766
768
|
|
|
767
769
|
interface ZenProviderProps {
|
|
768
770
|
theme?: Theme;
|
|
@@ -770,6 +772,6 @@ interface ZenProviderProps {
|
|
|
770
772
|
toast?: ToasterProps;
|
|
771
773
|
children: ReactNode;
|
|
772
774
|
}
|
|
773
|
-
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps):
|
|
775
|
+
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
774
776
|
|
|
775
777
|
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 };
|