@umami/react-zen 0.222.0 → 0.225.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 +17 -10
- package/dist/index.d.ts +17 -10
- package/dist/index.js +4038 -39551
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3876 -39544
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -4
- package/styles.css +8 -0
- package/styles.full.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, 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,
|
|
1
|
+
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, 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, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, 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
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
@@ -9,14 +9,14 @@ import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, Controller
|
|
|
9
9
|
import * as zustand from 'zustand';
|
|
10
10
|
|
|
11
11
|
interface AccordionProps extends DisclosureGroupProps {
|
|
12
|
-
type
|
|
12
|
+
type?: 'single' | 'multiple';
|
|
13
13
|
className?: string;
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
interface AccordionItemProps extends DisclosureProps {
|
|
17
17
|
}
|
|
18
18
|
declare function Accordion({ className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
19
|
-
declare function AccordionItem({
|
|
19
|
+
declare function AccordionItem({ className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
20
20
|
|
|
21
21
|
interface AlertBannerProps {
|
|
22
22
|
title?: ReactNode;
|
|
@@ -55,7 +55,7 @@ type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
|
|
|
55
55
|
type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
|
|
56
56
|
type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
|
|
57
57
|
type TailwindColor = `${ColorName}-${ColorShade}`;
|
|
58
|
-
type SemanticColor = 'primary' | 'muted' | 'disabled' | 'transparent';
|
|
58
|
+
type SemanticColor = 'primary' | 'secondary' | 'muted' | 'strong' | 'inverted' | 'disabled' | 'transparent';
|
|
59
59
|
type SurfaceColor = 'surface-base' | 'surface-raised' | 'surface-sunken' | 'surface-overlay' | 'surface-inverted' | 'surface-disabled';
|
|
60
60
|
type FontColor = SemanticColor | ColorName | TailwindColor | true;
|
|
61
61
|
type BackgroundColor = SemanticColor | SurfaceColor | ColorName | TailwindColor | true;
|
|
@@ -165,6 +165,7 @@ interface TextRenderProps {
|
|
|
165
165
|
declare function Text({ color, size, weight, align, spacing, lineHeight, wrap, whitespace, wordBreak, transform, indent, verticalAlign, truncate, italic, underline, strikethrough, decorationStyle, decorationColor, as, render, className, children, ...props }: TextProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
166
166
|
|
|
167
167
|
interface BlockquoteProps extends Omit<TextProps, 'as'> {
|
|
168
|
+
children?: ReactNode;
|
|
168
169
|
}
|
|
169
170
|
declare function Blockquote({ className, children, ...props }: BlockquoteProps): react_jsx_runtime.JSX.Element;
|
|
170
171
|
|
|
@@ -314,6 +315,7 @@ interface CheckboxProps extends CheckboxProps$1 {
|
|
|
314
315
|
declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
315
316
|
|
|
316
317
|
interface CodeProps extends Omit<TextProps, 'as'> {
|
|
318
|
+
children?: ReactNode;
|
|
317
319
|
}
|
|
318
320
|
declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
319
321
|
|
|
@@ -332,6 +334,7 @@ interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
|
|
|
332
334
|
declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
|
|
333
335
|
|
|
334
336
|
interface ColumnProps extends FlexboxProps {
|
|
337
|
+
children?: ReactNode;
|
|
335
338
|
reverse?: boolean;
|
|
336
339
|
}
|
|
337
340
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
@@ -434,6 +437,7 @@ interface DotsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
434
437
|
declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
|
|
435
438
|
|
|
436
439
|
interface TooltipProps extends TooltipProps$1 {
|
|
440
|
+
children?: ReactNode;
|
|
437
441
|
showArrow?: boolean;
|
|
438
442
|
}
|
|
439
443
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
@@ -456,6 +460,7 @@ interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>,
|
|
|
456
460
|
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;
|
|
457
461
|
|
|
458
462
|
interface RowProps extends FlexboxProps {
|
|
463
|
+
children?: ReactNode;
|
|
459
464
|
reverse?: boolean;
|
|
460
465
|
}
|
|
461
466
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
@@ -510,6 +515,7 @@ declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ..
|
|
|
510
515
|
|
|
511
516
|
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
512
517
|
interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
|
|
518
|
+
children?: ReactNode;
|
|
513
519
|
size?: Responsive<HeadingSize>;
|
|
514
520
|
as?: HeadingElement;
|
|
515
521
|
}
|
|
@@ -566,12 +572,13 @@ declare function useToast(): {
|
|
|
566
572
|
toasts: ToastState[];
|
|
567
573
|
};
|
|
568
574
|
|
|
575
|
+
type StrokeWidth = '0.5' | '1' | '1.5' | '2' | '3' | '4';
|
|
569
576
|
interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'> {
|
|
570
577
|
color?: FontColor;
|
|
571
578
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
572
579
|
variant?: 'input';
|
|
573
580
|
rotate?: number;
|
|
574
|
-
strokeWidth?:
|
|
581
|
+
strokeWidth?: StrokeWidth;
|
|
575
582
|
strokeColor?: StrokeColor;
|
|
576
583
|
fillColor?: FillColor;
|
|
577
584
|
}
|
|
@@ -596,10 +603,10 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
|
|
|
596
603
|
}
|
|
597
604
|
declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
598
605
|
|
|
599
|
-
interface LabelProps extends
|
|
600
|
-
|
|
606
|
+
interface LabelProps extends Omit<TextProps, 'as' | 'render'> {
|
|
607
|
+
htmlFor?: string;
|
|
601
608
|
}
|
|
602
|
-
declare function Label({
|
|
609
|
+
declare function Label({ size, weight, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
603
610
|
|
|
604
611
|
interface LoadingProps extends BoxProps {
|
|
605
612
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -769,7 +776,7 @@ declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
|
769
776
|
|
|
770
777
|
interface StatusLightProps {
|
|
771
778
|
color?: string;
|
|
772
|
-
variant?: 'success' | 'warning' | 'error' | 'active' | 'inactive' | 'none';
|
|
779
|
+
variant?: 'info' | 'success' | 'warning' | 'error' | 'active' | 'inactive' | 'none';
|
|
773
780
|
className?: string;
|
|
774
781
|
children?: ReactNode;
|
|
775
782
|
}
|
|
@@ -867,4 +874,4 @@ interface ZenProviderProps {
|
|
|
867
874
|
}
|
|
868
875
|
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
869
876
|
|
|
870
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, 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, 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, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, 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 TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, 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, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
|
|
877
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, 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, 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, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, 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 TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, 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, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, 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,
|
|
1
|
+
import { DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbProps, BreadcrumbsProps, ButtonProps as ButtonProps$1, 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, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, SubmenuTriggerProps as SubmenuTriggerProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, 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
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
@@ -9,14 +9,14 @@ import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, Controller
|
|
|
9
9
|
import * as zustand from 'zustand';
|
|
10
10
|
|
|
11
11
|
interface AccordionProps extends DisclosureGroupProps {
|
|
12
|
-
type
|
|
12
|
+
type?: 'single' | 'multiple';
|
|
13
13
|
className?: string;
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
interface AccordionItemProps extends DisclosureProps {
|
|
17
17
|
}
|
|
18
18
|
declare function Accordion({ className, children, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
19
|
-
declare function AccordionItem({
|
|
19
|
+
declare function AccordionItem({ className, children, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
20
20
|
|
|
21
21
|
interface AlertBannerProps {
|
|
22
22
|
title?: ReactNode;
|
|
@@ -55,7 +55,7 @@ type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
|
|
|
55
55
|
type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
|
|
56
56
|
type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
|
|
57
57
|
type TailwindColor = `${ColorName}-${ColorShade}`;
|
|
58
|
-
type SemanticColor = 'primary' | 'muted' | 'disabled' | 'transparent';
|
|
58
|
+
type SemanticColor = 'primary' | 'secondary' | 'muted' | 'strong' | 'inverted' | 'disabled' | 'transparent';
|
|
59
59
|
type SurfaceColor = 'surface-base' | 'surface-raised' | 'surface-sunken' | 'surface-overlay' | 'surface-inverted' | 'surface-disabled';
|
|
60
60
|
type FontColor = SemanticColor | ColorName | TailwindColor | true;
|
|
61
61
|
type BackgroundColor = SemanticColor | SurfaceColor | ColorName | TailwindColor | true;
|
|
@@ -165,6 +165,7 @@ interface TextRenderProps {
|
|
|
165
165
|
declare function Text({ color, size, weight, align, spacing, lineHeight, wrap, whitespace, wordBreak, transform, indent, verticalAlign, truncate, italic, underline, strikethrough, decorationStyle, decorationColor, as, render, className, children, ...props }: TextProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
166
166
|
|
|
167
167
|
interface BlockquoteProps extends Omit<TextProps, 'as'> {
|
|
168
|
+
children?: ReactNode;
|
|
168
169
|
}
|
|
169
170
|
declare function Blockquote({ className, children, ...props }: BlockquoteProps): react_jsx_runtime.JSX.Element;
|
|
170
171
|
|
|
@@ -314,6 +315,7 @@ interface CheckboxProps extends CheckboxProps$1 {
|
|
|
314
315
|
declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
315
316
|
|
|
316
317
|
interface CodeProps extends Omit<TextProps, 'as'> {
|
|
318
|
+
children?: ReactNode;
|
|
317
319
|
}
|
|
318
320
|
declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
|
|
319
321
|
|
|
@@ -332,6 +334,7 @@ interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
|
|
|
332
334
|
declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
|
|
333
335
|
|
|
334
336
|
interface ColumnProps extends FlexboxProps {
|
|
337
|
+
children?: ReactNode;
|
|
335
338
|
reverse?: boolean;
|
|
336
339
|
}
|
|
337
340
|
declare function Column({ reverse, children, ...props }: ColumnProps): react_jsx_runtime.JSX.Element;
|
|
@@ -434,6 +437,7 @@ interface DotsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
434
437
|
declare function Dots({ size, className, color: _color, ...props }: DotsProps): react_jsx_runtime.JSX.Element;
|
|
435
438
|
|
|
436
439
|
interface TooltipProps extends TooltipProps$1 {
|
|
440
|
+
children?: ReactNode;
|
|
437
441
|
showArrow?: boolean;
|
|
438
442
|
}
|
|
439
443
|
declare function Tooltip({ children, className, showArrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
@@ -456,6 +460,7 @@ interface FormProps extends UseFormProps, Omit<HTMLAttributes<HTMLFormElement>,
|
|
|
456
460
|
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;
|
|
457
461
|
|
|
458
462
|
interface RowProps extends FlexboxProps {
|
|
463
|
+
children?: ReactNode;
|
|
459
464
|
reverse?: boolean;
|
|
460
465
|
}
|
|
461
466
|
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
@@ -510,6 +515,7 @@ declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ..
|
|
|
510
515
|
|
|
511
516
|
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
512
517
|
interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
|
|
518
|
+
children?: ReactNode;
|
|
513
519
|
size?: Responsive<HeadingSize>;
|
|
514
520
|
as?: HeadingElement;
|
|
515
521
|
}
|
|
@@ -566,12 +572,13 @@ declare function useToast(): {
|
|
|
566
572
|
toasts: ToastState[];
|
|
567
573
|
};
|
|
568
574
|
|
|
575
|
+
type StrokeWidth = '0.5' | '1' | '1.5' | '2' | '3' | '4';
|
|
569
576
|
interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'size'> {
|
|
570
577
|
color?: FontColor;
|
|
571
578
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
572
579
|
variant?: 'input';
|
|
573
580
|
rotate?: number;
|
|
574
|
-
strokeWidth?:
|
|
581
|
+
strokeWidth?: StrokeWidth;
|
|
575
582
|
strokeColor?: StrokeColor;
|
|
576
583
|
fillColor?: FillColor;
|
|
577
584
|
}
|
|
@@ -596,10 +603,10 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
|
|
|
596
603
|
}
|
|
597
604
|
declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
|
|
598
605
|
|
|
599
|
-
interface LabelProps extends
|
|
600
|
-
|
|
606
|
+
interface LabelProps extends Omit<TextProps, 'as' | 'render'> {
|
|
607
|
+
htmlFor?: string;
|
|
601
608
|
}
|
|
602
|
-
declare function Label({
|
|
609
|
+
declare function Label({ size, weight, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
603
610
|
|
|
604
611
|
interface LoadingProps extends BoxProps {
|
|
605
612
|
size?: 'sm' | 'md' | 'lg';
|
|
@@ -769,7 +776,7 @@ declare function Spinner(props: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
|
769
776
|
|
|
770
777
|
interface StatusLightProps {
|
|
771
778
|
color?: string;
|
|
772
|
-
variant?: 'success' | 'warning' | 'error' | 'active' | 'inactive' | 'none';
|
|
779
|
+
variant?: 'info' | 'success' | 'warning' | 'error' | 'active' | 'inactive' | 'none';
|
|
773
780
|
className?: string;
|
|
774
781
|
children?: ReactNode;
|
|
775
782
|
}
|
|
@@ -867,4 +874,4 @@ interface ZenProviderProps {
|
|
|
867
874
|
}
|
|
868
875
|
declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
869
876
|
|
|
870
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, 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, 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, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, 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 TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, 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, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
|
|
877
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, 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, 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, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, 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 TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, 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, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
|