@marigold/components 14.0.0 → 14.1.1
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 +154 -77
- package/dist/index.d.ts +154 -77
- package/dist/index.js +1432 -1238
- package/dist/index.mjs +1010 -812
- package/package.json +30 -29
package/dist/index.d.mts
CHANGED
|
@@ -4,10 +4,10 @@ export { useAsyncList, useListData } from '@react-stately/data';
|
|
|
4
4
|
import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, alignment, TextAlignProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
|
|
5
5
|
export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps, TimeValue } from 'react-aria-components';
|
|
7
|
+
import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, UNSTABLE_ToastQueue, TagListProps, ProgressBarProps, TimeValue, BreadcrumbsProps as BreadcrumbsProps$1 } from 'react-aria-components';
|
|
8
8
|
export { RouterProvider } from 'react-aria-components';
|
|
9
9
|
import * as react from 'react';
|
|
10
|
-
import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, Dispatch, SetStateAction, JSX } from 'react';
|
|
10
|
+
import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, PropsWithChildren, Dispatch, SetStateAction, JSX } from 'react';
|
|
11
11
|
import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
|
|
12
12
|
import { AriaLandmarkRole } from '@react-aria/landmark';
|
|
13
13
|
import { Props } from 'react-select';
|
|
@@ -17,8 +17,8 @@ import { AriaTableProps } from '@react-aria/table';
|
|
|
17
17
|
import { TableStateProps, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1, RowProps as RowProps$1 } from '@react-stately/table';
|
|
18
18
|
export { VisuallyHidden } from '@react-aria/visually-hidden';
|
|
19
19
|
|
|
20
|
-
type RemovedProps$
|
|
21
|
-
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$
|
|
20
|
+
type RemovedProps$y = 'isDisabled' | 'isExpanded';
|
|
21
|
+
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$y> {
|
|
22
22
|
/** Whether the item is disabled. */
|
|
23
23
|
disabled?: RAC.DisclosureProps['isDisabled'];
|
|
24
24
|
/** Whether the item is expanded (controlled). */
|
|
@@ -34,8 +34,8 @@ interface AccordionHeaderProps {
|
|
|
34
34
|
children?: ReactNode;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
type RemovedProps$
|
|
38
|
-
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$
|
|
37
|
+
type RemovedProps$x = 'isDisabled';
|
|
38
|
+
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$x> {
|
|
39
39
|
/** Whether all items are disabled. */
|
|
40
40
|
disabled?: RAC.DisclosureGroupProps['isDisabled'];
|
|
41
41
|
variant?: string;
|
|
@@ -143,8 +143,8 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
|
|
|
143
143
|
}
|
|
144
144
|
declare const _ListBox: ListBoxComponent;
|
|
145
145
|
|
|
146
|
-
type RemovedProps$
|
|
147
|
-
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$
|
|
146
|
+
type RemovedProps$w = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
|
|
147
|
+
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$w>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
|
|
148
148
|
/**
|
|
149
149
|
* The value of the input (uncontrolled).
|
|
150
150
|
*/
|
|
@@ -211,8 +211,8 @@ interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompletePr
|
|
|
211
211
|
}
|
|
212
212
|
declare const _Autocomplete: AutocompleteComponent;
|
|
213
213
|
|
|
214
|
-
type RemovedProps$
|
|
215
|
-
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$
|
|
214
|
+
type RemovedProps$v = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
|
|
215
|
+
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$v>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
|
|
216
216
|
variant?: string;
|
|
217
217
|
size?: string;
|
|
218
218
|
/**
|
|
@@ -293,8 +293,8 @@ interface BodyProps extends Omit<HtmlProps<'section'>, 'className'> {
|
|
|
293
293
|
}
|
|
294
294
|
declare const Body: ({ children, variant, size, ...props }: BodyProps) => react_jsx_runtime.JSX.Element;
|
|
295
295
|
|
|
296
|
-
type RemovedProps$
|
|
297
|
-
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$
|
|
296
|
+
type RemovedProps$u = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
297
|
+
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$u> {
|
|
298
298
|
variant?: string;
|
|
299
299
|
size?: string;
|
|
300
300
|
/**
|
|
@@ -348,8 +348,8 @@ interface CenterProps extends GapSpaceProp, AriaRegionProps {
|
|
|
348
348
|
}
|
|
349
349
|
declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
|
|
350
350
|
|
|
351
|
-
type RemovedProps$
|
|
352
|
-
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$
|
|
351
|
+
type RemovedProps$t = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
|
|
352
|
+
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$t>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
353
353
|
/**
|
|
354
354
|
* The children of the component
|
|
355
355
|
*/
|
|
@@ -389,8 +389,8 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$q
|
|
|
389
389
|
}
|
|
390
390
|
declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
|
|
391
391
|
|
|
392
|
-
type RemovedProps$
|
|
393
|
-
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$
|
|
392
|
+
type RemovedProps$s = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
|
|
393
|
+
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$s> {
|
|
394
394
|
variant?: string;
|
|
395
395
|
size?: string;
|
|
396
396
|
/**
|
|
@@ -578,14 +578,14 @@ interface DialogTitleProps {
|
|
|
578
578
|
}
|
|
579
579
|
declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
|
|
580
580
|
|
|
581
|
-
type RemovedProps$
|
|
581
|
+
type RemovedProps$r = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
|
|
582
582
|
interface ModalProps$1 extends RAC.ModalOverlayProps {
|
|
583
583
|
open?: boolean;
|
|
584
584
|
dismissable?: boolean;
|
|
585
585
|
keyboardDismissable?: boolean;
|
|
586
586
|
size?: string;
|
|
587
587
|
}
|
|
588
|
-
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$
|
|
588
|
+
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$r> {
|
|
589
589
|
}
|
|
590
590
|
declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
|
|
591
591
|
|
|
@@ -621,8 +621,8 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
|
|
|
621
621
|
}
|
|
622
622
|
declare const _Dialog: DialogComponent;
|
|
623
623
|
|
|
624
|
-
type RemovedProps$
|
|
625
|
-
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$
|
|
624
|
+
type RemovedProps$q = 'className' | 'style';
|
|
625
|
+
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$q> {
|
|
626
626
|
variant?: string;
|
|
627
627
|
}
|
|
628
628
|
declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -823,8 +823,8 @@ interface InlineProps extends GapSpaceProp, AriaRegionProps {
|
|
|
823
823
|
}
|
|
824
824
|
declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
|
|
825
825
|
|
|
826
|
-
type RemovedProps$
|
|
827
|
-
interface InputProps extends Omit<RAC.InputProps, RemovedProps$
|
|
826
|
+
type RemovedProps$p = 'className' | 'style' | 'size';
|
|
827
|
+
interface InputProps extends Omit<RAC.InputProps, RemovedProps$p> {
|
|
828
828
|
icon?: ReactElement<any>;
|
|
829
829
|
action?: ReactElement<any>;
|
|
830
830
|
variant?: string;
|
|
@@ -833,8 +833,8 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$m> {
|
|
|
833
833
|
}
|
|
834
834
|
declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
835
835
|
|
|
836
|
-
type RemovedProps$
|
|
837
|
-
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$
|
|
836
|
+
type RemovedProps$o = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
|
|
837
|
+
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$o>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
838
838
|
variant?: string;
|
|
839
839
|
size?: string;
|
|
840
840
|
/**
|
|
@@ -869,8 +869,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
|
|
|
869
869
|
}
|
|
870
870
|
declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
871
871
|
|
|
872
|
-
type RemovedProps$
|
|
873
|
-
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
|
|
872
|
+
type RemovedProps$n = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
|
|
873
|
+
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$n> {
|
|
874
874
|
/**
|
|
875
875
|
* Disables the Calendar.
|
|
876
876
|
* @default false
|
|
@@ -895,8 +895,8 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
|
|
|
895
895
|
}
|
|
896
896
|
declare const _Calendar: ({ disabled, readOnly, size, variant, width, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
|
|
897
897
|
|
|
898
|
-
type RemovedProps$
|
|
899
|
-
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$
|
|
898
|
+
type RemovedProps$m = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
|
|
899
|
+
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$m>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
900
900
|
/**
|
|
901
901
|
* Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
|
902
902
|
*/
|
|
@@ -960,15 +960,15 @@ type InsetProps = (AriaRegionProps & {
|
|
|
960
960
|
});
|
|
961
961
|
declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
|
|
962
962
|
|
|
963
|
-
type RemovedProps$
|
|
964
|
-
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$
|
|
963
|
+
type RemovedProps$l = 'className';
|
|
964
|
+
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$l> {
|
|
965
965
|
size?: string;
|
|
966
966
|
variant?: string;
|
|
967
967
|
}
|
|
968
968
|
declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
|
|
969
969
|
|
|
970
|
-
type RemovedProps$
|
|
971
|
-
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
970
|
+
type RemovedProps$k = 'className' | 'isDisabled' | 'slot';
|
|
971
|
+
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$k> {
|
|
972
972
|
variant?: string;
|
|
973
973
|
size?: string;
|
|
974
974
|
/**
|
|
@@ -1004,25 +1004,24 @@ declare const List: {
|
|
|
1004
1004
|
Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
1005
1005
|
};
|
|
1006
1006
|
|
|
1007
|
-
type RemovedProps$
|
|
1008
|
-
interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$
|
|
1007
|
+
type RemovedProps$j = 'className' | 'style' | 'children';
|
|
1008
|
+
interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$j> {
|
|
1009
1009
|
title?: string;
|
|
1010
1010
|
children: ReactNode;
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
|
-
type RemovedProps$
|
|
1014
|
-
type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$
|
|
1013
|
+
type RemovedProps$i = 'style' | 'className';
|
|
1014
|
+
type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$i>;
|
|
1015
1015
|
|
|
1016
1016
|
interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
|
|
1017
1017
|
keyboardDismissDisabled?: boolean;
|
|
1018
1018
|
open?: boolean;
|
|
1019
|
-
container?: Element;
|
|
1020
1019
|
children: ReactNode;
|
|
1021
1020
|
}
|
|
1022
1021
|
declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
|
|
1023
1022
|
|
|
1024
|
-
type RemovedProps$
|
|
1025
|
-
interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$
|
|
1023
|
+
type RemovedProps$h = 'isOpen' | 'className' | 'style' | 'children';
|
|
1024
|
+
interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$h>, Omit<RAC.MenuProps<object>, RemovedProps$h> {
|
|
1026
1025
|
/**
|
|
1027
1026
|
* Whether the menu is open.
|
|
1028
1027
|
* @default false
|
|
@@ -1058,12 +1057,12 @@ declare const _Menu: {
|
|
|
1058
1057
|
Section: ({ children, title, ...props }: MenuSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1059
1058
|
};
|
|
1060
1059
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1060
|
+
type ActionMenuProps = Omit<MenuProps, 'label'>;
|
|
1061
|
+
declare const ActionMenu: {
|
|
1062
|
+
({ children, ...props }: ActionMenuProps): react_jsx_runtime.JSX.Element;
|
|
1063
|
+
Item: ({ children, ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
|
|
1064
|
+
Section: ({ children, title, ...props }: MenuSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1065
|
+
};
|
|
1067
1066
|
|
|
1068
1067
|
interface SectionMessageContentProps {
|
|
1069
1068
|
/**
|
|
@@ -1213,8 +1212,8 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
|
|
|
1213
1212
|
}
|
|
1214
1213
|
declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, onChange, onSelectionChange, width, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
|
|
1215
1214
|
|
|
1216
|
-
type RemovedProps$
|
|
1217
|
-
interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$
|
|
1215
|
+
type RemovedProps$g = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
1216
|
+
interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$g>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
1218
1217
|
variant?: string;
|
|
1219
1218
|
size?: string;
|
|
1220
1219
|
/**
|
|
@@ -1382,11 +1381,19 @@ declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props
|
|
|
1382
1381
|
type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
|
|
1383
1382
|
declare function MarigoldProvider<T extends Theme>({ children, className, theme, }: MarigoldProviderProps<T>): react_jsx_runtime.JSX.Element;
|
|
1384
1383
|
|
|
1385
|
-
|
|
1386
|
-
|
|
1384
|
+
interface OverlayContainerProps extends PropsWithChildren {
|
|
1385
|
+
/**
|
|
1386
|
+
* The id of the container element where the overlay should be rendered.
|
|
1387
|
+
* If not provided, the overlay will be rendered in the body.
|
|
1388
|
+
*
|
|
1389
|
+
* Note that the container must be present in the DOM before the overlay is rendered.
|
|
1390
|
+
*/
|
|
1391
|
+
container?: string;
|
|
1392
|
+
}
|
|
1393
|
+
declare const OverlayContainerProvider: ({ container, children, }: OverlayContainerProps) => react_jsx_runtime.JSX.Element;
|
|
1387
1394
|
|
|
1388
|
-
type RemovedProps$
|
|
1389
|
-
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$
|
|
1395
|
+
type RemovedProps$f = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
1396
|
+
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$f> {
|
|
1390
1397
|
variant?: string;
|
|
1391
1398
|
size?: string;
|
|
1392
1399
|
/**
|
|
@@ -1445,8 +1452,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$c> {
|
|
|
1445
1452
|
}
|
|
1446
1453
|
declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1447
1454
|
|
|
1448
|
-
type RemovedProps$
|
|
1449
|
-
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$
|
|
1455
|
+
type RemovedProps$e = 'className' | 'style' | 'children' | 'isDisabled';
|
|
1456
|
+
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$e> {
|
|
1450
1457
|
variant?: string;
|
|
1451
1458
|
size?: string;
|
|
1452
1459
|
/**
|
|
@@ -1471,8 +1478,8 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
|
|
|
1471
1478
|
Group: typeof _RadioGroup;
|
|
1472
1479
|
}
|
|
1473
1480
|
|
|
1474
|
-
type RemovedProps$
|
|
1475
|
-
interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$
|
|
1481
|
+
type RemovedProps$d = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
1482
|
+
interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$d>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
1476
1483
|
/**
|
|
1477
1484
|
* Action element to display in the search field.
|
|
1478
1485
|
*/
|
|
@@ -1602,8 +1609,8 @@ interface SelectListAction {
|
|
|
1602
1609
|
}
|
|
1603
1610
|
declare const SelectListAction: ({ children }: SelectListAction) => react_jsx_runtime.JSX.Element;
|
|
1604
1611
|
|
|
1605
|
-
type RemovedProps$
|
|
1606
|
-
interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$
|
|
1612
|
+
type RemovedProps$c = 'className' | 'style' | 'isDisabled';
|
|
1613
|
+
interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$c> {
|
|
1607
1614
|
children?: ReactNode;
|
|
1608
1615
|
/**
|
|
1609
1616
|
* Whether the item is disabled.
|
|
@@ -1694,8 +1701,8 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
|
|
|
1694
1701
|
}
|
|
1695
1702
|
declare const Stack: ({ children, space, stretch, alignX, alignY, asList, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
|
|
1696
1703
|
|
|
1697
|
-
type RemovedProps$
|
|
1698
|
-
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$
|
|
1704
|
+
type RemovedProps$b = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
|
|
1705
|
+
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$b> {
|
|
1699
1706
|
variant?: string;
|
|
1700
1707
|
size?: string;
|
|
1701
1708
|
/**
|
|
@@ -1778,8 +1785,8 @@ interface Table {
|
|
|
1778
1785
|
Row: (props: RowProps) => JSX.Element;
|
|
1779
1786
|
}
|
|
1780
1787
|
|
|
1781
|
-
type RemovedProps$
|
|
1782
|
-
interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$
|
|
1788
|
+
type RemovedProps$a = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
|
|
1789
|
+
interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$a>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
|
|
1783
1790
|
/**
|
|
1784
1791
|
* The children of the component
|
|
1785
1792
|
*/
|
|
@@ -1803,8 +1810,8 @@ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$
|
|
|
1803
1810
|
}
|
|
1804
1811
|
declare const _Text: ({ variant, size, color, align, cursor, weight, fontSize, fontStyle, children, as, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
|
|
1805
1812
|
|
|
1806
|
-
type RemovedProps$
|
|
1807
|
-
interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$
|
|
1813
|
+
type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
1814
|
+
interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$9>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
1808
1815
|
variant?: string;
|
|
1809
1816
|
size?: string;
|
|
1810
1817
|
/**
|
|
@@ -1855,8 +1862,8 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$6>, Pick<R
|
|
|
1855
1862
|
}
|
|
1856
1863
|
declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
1857
1864
|
|
|
1858
|
-
type RemovedProps$
|
|
1859
|
-
interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$
|
|
1865
|
+
type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
|
|
1866
|
+
interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$8>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
1860
1867
|
variant?: string;
|
|
1861
1868
|
size?: string;
|
|
1862
1869
|
/**
|
|
@@ -1935,8 +1942,8 @@ interface TilesProps extends GapSpaceProp, AriaRegionProps {
|
|
|
1935
1942
|
}
|
|
1936
1943
|
declare const Tiles: ({ space, stretch, equalHeight, tilesWidth, children, ...props }: TilesProps) => react_jsx_runtime.JSX.Element;
|
|
1937
1944
|
|
|
1938
|
-
type RemovedProps$
|
|
1939
|
-
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$
|
|
1945
|
+
type RemovedProps$7 = 'isDisabled' | 'isOpen' | 'children';
|
|
1946
|
+
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$7> {
|
|
1940
1947
|
/**
|
|
1941
1948
|
* The children of the component.
|
|
1942
1949
|
*/
|
|
@@ -1951,8 +1958,8 @@ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, Rem
|
|
|
1951
1958
|
open?: boolean;
|
|
1952
1959
|
}
|
|
1953
1960
|
|
|
1954
|
-
type RemovedProps$
|
|
1955
|
-
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$
|
|
1961
|
+
type RemovedProps$6 = 'className' | 'isOpen' | 'style';
|
|
1962
|
+
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$6> {
|
|
1956
1963
|
/**
|
|
1957
1964
|
* The children of the component.
|
|
1958
1965
|
*/
|
|
@@ -1969,8 +1976,40 @@ declare const _Tooltip: {
|
|
|
1969
1976
|
Trigger: ({ delay, children, disabled, open, ...rest }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
1970
1977
|
};
|
|
1971
1978
|
|
|
1972
|
-
type
|
|
1973
|
-
|
|
1979
|
+
type ToastContentProps = {
|
|
1980
|
+
title: string;
|
|
1981
|
+
description?: string;
|
|
1982
|
+
variant?: 'success' | 'info' | 'warning' | 'error';
|
|
1983
|
+
};
|
|
1984
|
+
interface ToastProps {
|
|
1985
|
+
toast: {
|
|
1986
|
+
content: ToastContentProps;
|
|
1987
|
+
key: string;
|
|
1988
|
+
};
|
|
1989
|
+
}
|
|
1990
|
+
declare const Toast: ({ toast }: ToastProps) => react_jsx_runtime.JSX.Element;
|
|
1991
|
+
|
|
1992
|
+
declare const queue: UNSTABLE_ToastQueue<ToastContentProps>;
|
|
1993
|
+
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$5> {
|
|
1994
|
+
position?: ToastPosition;
|
|
1995
|
+
}
|
|
1996
|
+
type RemovedProps$5 = 'children' | 'className' | 'style' | 'queue';
|
|
1997
|
+
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
1998
|
+
declare const ToastProvider: ({ position }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1999
|
+
|
|
2000
|
+
declare function useToast(): {
|
|
2001
|
+
addToast: (options: {
|
|
2002
|
+
title: string;
|
|
2003
|
+
description?: string;
|
|
2004
|
+
variant?: "info" | "success" | "error" | "warning";
|
|
2005
|
+
timeout?: number;
|
|
2006
|
+
}) => string;
|
|
2007
|
+
clearToasts: () => void;
|
|
2008
|
+
removeToast: (key: string) => void;
|
|
2009
|
+
};
|
|
2010
|
+
|
|
2011
|
+
type RemovedProps$4 = 'className' | 'style' | 'children' | 'isRequired';
|
|
2012
|
+
interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$4>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
|
|
1974
2013
|
variant?: string;
|
|
1975
2014
|
size?: string;
|
|
1976
2015
|
/**
|
|
@@ -1988,8 +2027,8 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$2>, Pick<Ta
|
|
|
1988
2027
|
emptyState?: TagListProps<object>['renderEmptyState'];
|
|
1989
2028
|
}
|
|
1990
2029
|
|
|
1991
|
-
type RemovedProps$
|
|
1992
|
-
interface TagProps extends Omit<RAC.TagProps, RemovedProps$
|
|
2030
|
+
type RemovedProps$3 = 'className' | 'style' | 'isDisabled';
|
|
2031
|
+
interface TagProps extends Omit<RAC.TagProps, RemovedProps$3> {
|
|
1993
2032
|
variant?: string;
|
|
1994
2033
|
size?: string;
|
|
1995
2034
|
children?: ReactNode;
|
|
@@ -1997,7 +2036,7 @@ interface TagProps extends Omit<RAC.TagProps, RemovedProps$1> {
|
|
|
1997
2036
|
}
|
|
1998
2037
|
declare const _Tag: {
|
|
1999
2038
|
({ variant, size, children, disabled, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
|
|
2000
|
-
Group: ({
|
|
2039
|
+
Group: ({ items, children, emptyState, variant, size, name, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2001
2040
|
};
|
|
2002
2041
|
|
|
2003
2042
|
interface LoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'> {
|
|
@@ -2041,8 +2080,8 @@ declare const _Tabs: {
|
|
|
2041
2080
|
Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
|
|
2042
2081
|
};
|
|
2043
2082
|
|
|
2044
|
-
type RemovedProps = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
2045
|
-
interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProps>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2083
|
+
type RemovedProps$2 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
2084
|
+
interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProps$2>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2046
2085
|
variant?: string;
|
|
2047
2086
|
size?: string;
|
|
2048
2087
|
/**
|
|
@@ -2088,4 +2127,42 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProp
|
|
|
2088
2127
|
}
|
|
2089
2128
|
declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
2090
2129
|
|
|
2091
|
-
|
|
2130
|
+
type RemovedProps$1 = 'className' | 'style';
|
|
2131
|
+
interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$1> {
|
|
2132
|
+
variant?: string;
|
|
2133
|
+
size?: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* The content inside the breadcrumb.
|
|
2136
|
+
*/
|
|
2137
|
+
children: ReactNode;
|
|
2138
|
+
/**
|
|
2139
|
+
* Link for the breadcrumb item.
|
|
2140
|
+
*/
|
|
2141
|
+
href: string;
|
|
2142
|
+
}
|
|
2143
|
+
declare const BreadcrumbsItem: (_: BreadcrumbsItemProps) => null;
|
|
2144
|
+
|
|
2145
|
+
type RemovedProps = 'className' | 'style' | 'children' | 'isDisabled';
|
|
2146
|
+
interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps> {
|
|
2147
|
+
variant?: string;
|
|
2148
|
+
size?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* Disables the breadcrumbs.
|
|
2151
|
+
* @default false
|
|
2152
|
+
*/
|
|
2153
|
+
disabled?: BreadcrumbsProps$1<object>['isDisabled'];
|
|
2154
|
+
/**
|
|
2155
|
+
* Maximum number of visible items before the breadcrumbs collapse.
|
|
2156
|
+
*/
|
|
2157
|
+
maxVisibleItems?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* The breadcrumb items to be displayed.
|
|
2160
|
+
*/
|
|
2161
|
+
children: react__default.ReactNode | react__default.ReactNode[];
|
|
2162
|
+
}
|
|
2163
|
+
interface BreadcrumbsComponent extends ForwardRefExoticComponent<BreadcrumbsProps & RefAttributes<HTMLOListElement>> {
|
|
2164
|
+
Item: typeof BreadcrumbsItem;
|
|
2165
|
+
}
|
|
2166
|
+
declare const _Breadcrumbs: BreadcrumbsComponent;
|
|
2167
|
+
|
|
2168
|
+
export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type ActionMenuProps, type GridAreaProps as AreaProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, Body, type BodyProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsComponent, type BreadcrumbsProps, Breakout, type BreakoutProps, _Button as Button, type ButtonProps, _Calendar as Calendar, type CalendarProps, Card, type CardProps, Center, type CenterProps, _Checkbox as Checkbox, type CheckboxComponent, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ColumnProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, FieldBase, type FieldBaseProps, Footer, type FooterProps, _Form as Form, type FormProps, Grid, type GridProps, _Header as Header, type HeaderProps, _Headline as Headline, type HeadlineProps, Image, type ImageProps, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, type LinkProps, List, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, type NonModalRenderProps, _NumberField as NumberField, type NumberFieldProps, type OverlayContainerProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$s as RemovedProps, type RowProps, Scrollable, type ScrollableProps, _SearchField as SearchField, type SearchFieldProps, SectionMessage, type SectionMessageProps, _Select as Select, type SelectComponent, _SelectList as SelectList, type SelectListProps, type SelectProps, _Slider as Slider, type SliderProps, Split, Stack, type StackProps, _Switch as Switch, type SwitchProps, Table, type TableProps, _Tabs as Tabs, type TabsProps, _Tag as Tag, type TagProps, type TemplateValue, _Text as Text, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps, type TextProps, Tiles, type TilesProps, _TimeField as TimeField, type TimeFieldProps, Toast, ToastProvider, type ToastProviderProps, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _ContextualHelp, gridColsAlign, gridColumn, queue, useToast };
|