@marigold/components 6.7.0 → 6.9.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 +71 -91
- package/dist/index.d.ts +71 -91
- package/dist/index.js +921 -1088
- package/dist/index.mjs +822 -995
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -6,27 +6,22 @@ import { AriaAccordionProps } from '@react-aria/accordion';
|
|
|
6
6
|
import * as _react_types_shared from '@react-types/shared';
|
|
7
7
|
import { ItemElement, ItemProps, Node, CollectionElement, StyleProps, LabelableProps } from '@react-types/shared';
|
|
8
8
|
import { TreeState } from '@react-stately/tree';
|
|
9
|
-
import { GapSpaceProp, AspectProp, WidthProp, AlignmentProp, alignment, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PlaceItemsProp, GridColumn, GridColsAlignProp,
|
|
9
|
+
import { GapSpaceProp, AspectProp, WidthProp, AlignmentProp, alignment, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PlaceItemsProp, GridColumn, GridColsAlignProp, TextAlignProp, StateAttrProps, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, SVGProps } from '@marigold/system';
|
|
10
10
|
export { ThemeProvider, useTheme } from '@marigold/system';
|
|
11
11
|
import { NonZeroPercentage, HtmlProps } from '@marigold/types';
|
|
12
12
|
import { SearchAutocompleteProps } from '@react-types/autocomplete';
|
|
13
13
|
import { ComboBoxProps as ComboBoxProps$1 } from '@react-types/combobox';
|
|
14
14
|
import RAC, { ValidationResult } from 'react-aria-components';
|
|
15
|
-
import { AriaDialogProps } from '@react-types/dialog';
|
|
16
15
|
import { DateValue, CalendarDate } from '@internationalized/date';
|
|
17
16
|
import { AriaDateFieldProps, AriaDatePickerProps } from '@react-aria/datepicker';
|
|
18
17
|
import { AriaCalendarProps, DateValue as DateValue$1, AriaCalendarCellProps, AriaCalendarGridProps } from '@react-aria/calendar';
|
|
19
18
|
import { CalendarState } from '@react-stately/calendar';
|
|
20
|
-
import { AriaNumberFieldProps } from '@react-types/numberfield';
|
|
21
19
|
import { OverlayProps as OverlayProps$1, AriaPopoverProps, AriaModalOverlayProps } from '@react-aria/overlays';
|
|
22
20
|
import { OverlayTriggerState } from '@react-stately/overlays';
|
|
23
21
|
import { Item, Section } from '@react-stately/collections';
|
|
24
22
|
import { AriaSelectProps } from '@react-types/select';
|
|
25
23
|
import { AriaTableProps } from '@react-aria/table';
|
|
26
24
|
import { TableStateProps, RowProps as RowProps$1, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1 } from '@react-stately/table';
|
|
27
|
-
import { AriaTextFieldProps } from '@react-types/textfield';
|
|
28
|
-
import { PositionProps } from '@react-types/overlays';
|
|
29
|
-
import { TooltipTriggerProps as TooltipTriggerProps$1 } from '@react-types/tooltip';
|
|
30
25
|
import { AriaTagGroupProps } from '@react-aria/tag';
|
|
31
26
|
export { VisuallyHidden } from '@react-aria/visually-hidden';
|
|
32
27
|
import { AriaTabListProps } from '@react-types/tabs';
|
|
@@ -138,8 +133,8 @@ interface BodyProps extends Omit<HtmlProps<'section'>, 'className'> {
|
|
|
138
133
|
}
|
|
139
134
|
declare const Body: ({ children, variant, size, ...props }: BodyProps) => react_jsx_runtime.JSX.Element;
|
|
140
135
|
|
|
141
|
-
type RemovedProps$
|
|
142
|
-
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$
|
|
136
|
+
type RemovedProps$c = 'isDisabled';
|
|
137
|
+
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$c> {
|
|
143
138
|
variant?: string;
|
|
144
139
|
size?: string;
|
|
145
140
|
fullWidth?: boolean;
|
|
@@ -179,6 +174,7 @@ interface HelpTextProps {
|
|
|
179
174
|
size?: string;
|
|
180
175
|
description?: ReactNode;
|
|
181
176
|
error?: boolean;
|
|
177
|
+
isInvalid?: ValidationResult['isInvalid'];
|
|
182
178
|
errorMessage?: ReactNode | ((v: ValidationResult) => ReactNode);
|
|
183
179
|
}
|
|
184
180
|
|
|
@@ -190,8 +186,8 @@ interface FieldBaseProps$1<T extends ElementType> extends WidthProp, Pick<HelpTe
|
|
|
190
186
|
children?: ReactNode;
|
|
191
187
|
}
|
|
192
188
|
|
|
193
|
-
type RemovedProps$
|
|
194
|
-
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$
|
|
189
|
+
type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
|
|
190
|
+
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$b>, Pick<FieldBaseProps$1<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
195
191
|
children?: ReactNode;
|
|
196
192
|
variant?: string;
|
|
197
193
|
size?: string;
|
|
@@ -230,39 +226,33 @@ declare const header: {
|
|
|
230
226
|
};
|
|
231
227
|
declare const Container: ({ contentType, size, align, alignItems, children, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
232
228
|
|
|
233
|
-
interface
|
|
234
|
-
children: ReactNode;
|
|
235
|
-
dismissable?: boolean;
|
|
236
|
-
keyboardDismissable?: boolean;
|
|
229
|
+
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
|
|
237
230
|
open?: boolean;
|
|
238
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
interface DialogTriggerProps {
|
|
242
|
-
children: [trigger: ReactNode, menu: ReactNode];
|
|
243
231
|
dismissable?: boolean;
|
|
244
232
|
keyboardDismissable?: boolean;
|
|
245
233
|
}
|
|
246
234
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
235
|
+
type RemovedProps$a = 'className' | 'level';
|
|
236
|
+
interface HeadlineProps extends Omit<RAC.HeadingProps, RemovedProps$a>, TextAlignProp {
|
|
237
|
+
color?: string;
|
|
238
|
+
variant?: string;
|
|
239
|
+
size?: string;
|
|
240
|
+
level?: '1' | '2' | '3' | '4' | '5' | '6' | RAC.HeadingProps['level'];
|
|
250
241
|
}
|
|
242
|
+
declare const _Headline: ({ variant, size, children, align, color, level, ...props }: HeadlineProps) => react_jsx_runtime.JSX.Element;
|
|
251
243
|
|
|
252
|
-
interface
|
|
253
|
-
close: DialogContextProps['close'];
|
|
254
|
-
titleProps: HTMLAttributes<HTMLElement>;
|
|
244
|
+
interface DialogHeadlineProps extends Omit<HeadlineProps, 'slot'> {
|
|
255
245
|
}
|
|
256
|
-
interface DialogProps extends
|
|
257
|
-
children?: ReactNode | ((props: DialogChildProps) => ReactNode);
|
|
246
|
+
interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
|
|
258
247
|
variant?: string;
|
|
259
248
|
size?: string;
|
|
260
249
|
closeButton?: boolean;
|
|
250
|
+
isNonModal?: boolean;
|
|
261
251
|
}
|
|
262
|
-
declare const
|
|
263
|
-
({
|
|
264
|
-
Trigger: ({
|
|
265
|
-
|
|
252
|
+
declare const _Dialog: {
|
|
253
|
+
({ variant, size, closeButton, isNonModal, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
254
|
+
Trigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
Headline: ({ children }: DialogHeadlineProps) => react_jsx_runtime.JSX.Element;
|
|
266
256
|
};
|
|
267
257
|
|
|
268
258
|
interface DividerProps extends RAC.SeparatorProps {
|
|
@@ -270,8 +260,8 @@ interface DividerProps extends RAC.SeparatorProps {
|
|
|
270
260
|
}
|
|
271
261
|
declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
|
|
272
262
|
|
|
273
|
-
type RemovedProps$
|
|
274
|
-
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$
|
|
263
|
+
type RemovedProps$9 = 'className';
|
|
264
|
+
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$9> {
|
|
275
265
|
size?: string;
|
|
276
266
|
variant?: string;
|
|
277
267
|
}
|
|
@@ -311,22 +301,13 @@ interface FooterProps extends Omit<HtmlProps<'footer'>, 'className'> {
|
|
|
311
301
|
}
|
|
312
302
|
declare const Footer: ({ children, variant, size, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
313
303
|
|
|
314
|
-
interface HeaderProps extends Omit<RAC.HeadingProps, 'children'
|
|
304
|
+
interface HeaderProps extends Omit<RAC.HeadingProps, 'children'> {
|
|
315
305
|
children?: ReactNode;
|
|
316
306
|
variant?: string;
|
|
317
307
|
size?: string;
|
|
318
308
|
}
|
|
319
309
|
declare const _Header: ({ variant, size, ...props }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
320
310
|
|
|
321
|
-
type RemovedProps$4 = 'className' | 'level';
|
|
322
|
-
interface HeadlineProps extends Omit<RAC.HeadingProps, RemovedProps$4>, TextAlignProp {
|
|
323
|
-
color?: string;
|
|
324
|
-
variant?: string;
|
|
325
|
-
size?: string;
|
|
326
|
-
level?: '1' | '2' | '3' | '4' | '5' | '6' | RAC.HeadingProps['level'];
|
|
327
|
-
}
|
|
328
|
-
declare const _Headline: ({ variant, size, children, align, color, level, ...props }: HeadlineProps) => react_jsx_runtime.JSX.Element;
|
|
329
|
-
|
|
330
311
|
interface ImageProps extends Omit<HtmlProps<'img'>, 'className'>, ObjectFitProp, ObjectPositionProp {
|
|
331
312
|
variant?: string;
|
|
332
313
|
size?: string;
|
|
@@ -415,8 +396,8 @@ type InsetProps = {
|
|
|
415
396
|
};
|
|
416
397
|
declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
|
|
417
398
|
|
|
418
|
-
type RemovedProps$
|
|
419
|
-
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
399
|
+
type RemovedProps$8 = 'className' | 'isDisabled';
|
|
400
|
+
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$8> {
|
|
420
401
|
variant?: string;
|
|
421
402
|
size?: string;
|
|
422
403
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
@@ -463,6 +444,7 @@ interface ActionMenuProps extends MenuProps {
|
|
|
463
444
|
declare const ActionMenu: (props: ActionMenuProps) => react_jsx_runtime.JSX.Element;
|
|
464
445
|
|
|
465
446
|
declare const icons: {
|
|
447
|
+
success: () => react_jsx_runtime.JSX.Element;
|
|
466
448
|
info: () => react_jsx_runtime.JSX.Element;
|
|
467
449
|
warning: () => react_jsx_runtime.JSX.Element;
|
|
468
450
|
error: () => react_jsx_runtime.JSX.Element;
|
|
@@ -474,27 +456,25 @@ interface MessageProps extends Omit<HtmlProps<'div'>, 'className'> {
|
|
|
474
456
|
}
|
|
475
457
|
declare const Message: ({ messageTitle, variant, size, children, ...props }: MessageProps) => react_jsx_runtime.JSX.Element;
|
|
476
458
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
* Thus, we adjust our regular props to match them.
|
|
480
|
-
*/
|
|
481
|
-
type CustomProps = 'size' | 'width' | 'type' | 'value' | 'defaultValue' | 'step' | 'onChange' | 'onFocus' | 'onBlur' | 'onKeyDown' | 'onKeyUp' | 'min' | 'max';
|
|
482
|
-
interface NumberFieldProps extends Omit<HtmlProps<'input'>, CustomProps | 'className'>, Omit<AriaNumberFieldProps, 'isDisabled' | 'label' | 'description' | 'errorMessage' | 'isRequired' | 'isReadOnly'>, Pick<FieldBaseProps, 'label' | 'description' | 'error' | 'errorMessage'> {
|
|
459
|
+
type RemovedProps$7 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
460
|
+
interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$7>, Pick<FieldBaseProps$1<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
483
461
|
variant?: string;
|
|
484
462
|
size?: string;
|
|
485
463
|
width?: WidthProp['width'];
|
|
464
|
+
disabled?: RAC.NumberFieldProps['isDisabled'];
|
|
465
|
+
required?: RAC.NumberFieldProps['isRequired'];
|
|
466
|
+
error?: RAC.NumberFieldProps['isInvalid'];
|
|
467
|
+
readOnly?: RAC.NumberFieldProps['isReadOnly'];
|
|
486
468
|
hideStepper?: boolean;
|
|
487
469
|
}
|
|
488
|
-
declare const
|
|
470
|
+
declare const _NumberField: react.ForwardRefExoticComponent<NumberFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
489
471
|
|
|
490
|
-
interface ModalProps extends
|
|
491
|
-
children?: ReactNode;
|
|
472
|
+
interface ModalProps extends RAC.ModalOverlayProps {
|
|
492
473
|
open?: boolean;
|
|
493
|
-
onClose?: () => void;
|
|
494
474
|
dismissable?: boolean;
|
|
495
475
|
keyboardDismissable?: boolean;
|
|
496
476
|
}
|
|
497
|
-
declare const
|
|
477
|
+
declare const _Modal: react.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react.RefAttributes<HTMLDivElement>>;
|
|
498
478
|
|
|
499
479
|
interface OverlayProps {
|
|
500
480
|
open: boolean;
|
|
@@ -519,18 +499,21 @@ interface TrayWrapperProps extends TrayProps {
|
|
|
519
499
|
declare const Tray: react.ForwardRefExoticComponent<TrayProps & react.RefAttributes<HTMLDivElement>>;
|
|
520
500
|
declare const TrayWrapper: react.ForwardRefExoticComponent<TrayWrapperProps & react.RefAttributes<HTMLDivElement>>;
|
|
521
501
|
|
|
522
|
-
interface UnderlayProps extends
|
|
502
|
+
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
|
|
523
503
|
variant?: string;
|
|
524
504
|
size?: string;
|
|
505
|
+
open?: boolean;
|
|
506
|
+
dismissable?: boolean;
|
|
507
|
+
keyboardDismissable?: boolean;
|
|
525
508
|
}
|
|
526
|
-
declare const Underlay: ({ size, variant, ...
|
|
509
|
+
declare const Underlay: ({ size, variant, open, dismissable, keyboardDismissable, ...rest }: UnderlayProps) => react_jsx_runtime.JSX.Element;
|
|
527
510
|
|
|
528
511
|
interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
|
|
529
512
|
}
|
|
530
513
|
declare function MarigoldProvider<T extends Theme>({ children, theme, }: MarigoldProviderProps<T>): react_jsx_runtime.JSX.Element;
|
|
531
514
|
|
|
532
|
-
type RemovedProps$
|
|
533
|
-
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$
|
|
515
|
+
type RemovedProps$6 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
516
|
+
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$6> {
|
|
534
517
|
variant?: string;
|
|
535
518
|
size?: string;
|
|
536
519
|
label?: string;
|
|
@@ -546,8 +529,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$2> {
|
|
|
546
529
|
}
|
|
547
530
|
declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
548
531
|
|
|
549
|
-
type RemovedProps$
|
|
550
|
-
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$
|
|
532
|
+
type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
533
|
+
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$5> {
|
|
551
534
|
variant?: string;
|
|
552
535
|
size?: string;
|
|
553
536
|
width?: string;
|
|
@@ -605,8 +588,8 @@ interface StackProps extends AlignmentProp, GapSpaceProp {
|
|
|
605
588
|
}
|
|
606
589
|
declare const Stack: ({ children, space, stretch, orientation, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
|
|
607
590
|
|
|
608
|
-
type RemovedProps = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children';
|
|
609
|
-
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps> {
|
|
591
|
+
type RemovedProps$4 = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children';
|
|
592
|
+
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$4> {
|
|
610
593
|
variant?: string;
|
|
611
594
|
size?: string;
|
|
612
595
|
children?: ReactNode;
|
|
@@ -650,38 +633,33 @@ interface TextProps extends Omit<HtmlProps<'p'>, 'className'>, TextAlignProp, Fo
|
|
|
650
633
|
}
|
|
651
634
|
declare const Text: ({ variant, size, color, align, cursor, weight, fontSize, fontStyle, children, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
|
|
652
635
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
* Thus, we adjust our regular props to match them.
|
|
656
|
-
*/
|
|
657
|
-
type CustomTextAreaEvents = 'onChange' | 'onFocus' | 'onBlur' | 'onCopy' | 'onSelect' | 'onPaste' | 'onCut' | 'onCompositionStart' | 'onCompositionUpdate' | 'onCompositionEnd' | 'onBeforeInput' | 'onInput' | 'onKeyDown' | 'onKeyUp';
|
|
658
|
-
interface TextAreaProps extends Omit<HtmlProps<'textarea'>, 'value' | 'defaultValue' | 'size' | CustomTextAreaEvents | 'className'>, Pick<AriaTextFieldProps, CustomTextAreaEvents>, Pick<FieldBaseProps, 'label' | 'description' | 'error' | 'errorMessage'> {
|
|
636
|
+
type RemovedProps$3 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
637
|
+
interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$3>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps$1<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
659
638
|
variant?: string;
|
|
660
639
|
size?: string;
|
|
661
640
|
width?: WidthProp['width'];
|
|
641
|
+
disabled?: RAC.TextFieldProps['isDisabled'];
|
|
642
|
+
required?: RAC.TextFieldProps['isRequired'];
|
|
643
|
+
error?: RAC.TextFieldProps['isInvalid'];
|
|
644
|
+
readOnly?: RAC.TextFieldProps['isReadOnly'];
|
|
662
645
|
value?: string;
|
|
663
646
|
defaultValue?: string;
|
|
664
647
|
}
|
|
665
|
-
declare const
|
|
648
|
+
declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
666
649
|
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
* Thus, we adjust our regular props to match them.
|
|
670
|
-
*/
|
|
671
|
-
type CustomTextFieldEvents = 'onChange' | 'onFocus' | 'onBlur' | 'onKeyDown' | 'onKeyUp';
|
|
672
|
-
interface TextFieldProps extends Omit<HtmlProps<'input'>, 'value' | 'defaultValue' | 'size' | 'width' | CustomTextFieldEvents | 'className'>,
|
|
673
|
-
/**
|
|
674
|
-
* `react-aria` has a slightly different API for `onChange`, `onFocus`
|
|
675
|
-
* and `onBlur` events. Thus, we adjust our regular props to match them.
|
|
676
|
-
*/
|
|
677
|
-
Pick<AriaTextFieldProps, CustomTextFieldEvents>, Pick<FieldBaseProps, 'label' | 'description' | 'error' | 'errorMessage'> {
|
|
650
|
+
type RemovedProps$2 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
651
|
+
interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$2>, Pick<FieldBaseProps$1<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
678
652
|
variant?: string;
|
|
679
653
|
size?: string;
|
|
680
654
|
width?: WidthProp['width'];
|
|
655
|
+
disabled?: RAC.TextFieldProps['isDisabled'];
|
|
656
|
+
required?: RAC.TextFieldProps['isRequired'];
|
|
657
|
+
error?: RAC.TextFieldProps['isInvalid'];
|
|
658
|
+
readOnly?: RAC.TextFieldProps['isReadOnly'];
|
|
681
659
|
value?: string;
|
|
682
660
|
defaultValue?: string;
|
|
683
661
|
}
|
|
684
|
-
declare const
|
|
662
|
+
declare const _TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
685
663
|
|
|
686
664
|
interface TilesProps extends GapSpaceProp {
|
|
687
665
|
children: ReactNode;
|
|
@@ -691,20 +669,22 @@ interface TilesProps extends GapSpaceProp {
|
|
|
691
669
|
}
|
|
692
670
|
declare const Tiles: ({ space, stretch, equalHeight, tilesWidth, children, ...props }: TilesProps) => react_jsx_runtime.JSX.Element;
|
|
693
671
|
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
disabled?:
|
|
672
|
+
type RemovedProps$1 = 'isDisabled' | 'isOpen';
|
|
673
|
+
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$1> {
|
|
674
|
+
disabled?: RAC.TooltipTriggerComponentProps['isDisabled'];
|
|
697
675
|
open?: boolean;
|
|
698
676
|
}
|
|
699
677
|
|
|
700
|
-
|
|
678
|
+
type RemovedProps = 'className' | 'isOpen' | 'style';
|
|
679
|
+
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps> {
|
|
701
680
|
children?: ReactNode;
|
|
702
681
|
variant?: string;
|
|
703
682
|
size?: string;
|
|
683
|
+
open?: RAC.TooltipProps['isOpen'];
|
|
704
684
|
}
|
|
705
|
-
declare const
|
|
706
|
-
({ children, variant, size }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
707
|
-
Trigger: ({
|
|
685
|
+
declare const _Tooltip: {
|
|
686
|
+
({ children, variant, size, open, ...rest }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
687
|
+
Trigger: ({ delay, children, disabled, open, ...rest }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
708
688
|
};
|
|
709
689
|
|
|
710
690
|
interface TagGroupProps extends Omit<AriaTagGroupProps<object>, 'isRequired' | 'validationState'>, LabelableProps {
|
|
@@ -737,4 +717,4 @@ declare const Tabs: {
|
|
|
737
717
|
Item: <T>(props: _react_types_shared.ItemProps<T>) => react.JSX.Element;
|
|
738
718
|
};
|
|
739
719
|
|
|
740
|
-
export { Accordion, AccordionItem, AccordionItemProps, AccordionOwnItemProps, AccordionProps, ActionMenu, Aside, AsideProps, Aspect, AspectProps, Autocomplete, AutocompleteProps, Badge, BadgeProps, Body, BodyProps, Breakout, BreakoutProps, _Button as Button, ButtonProps, Calendar, CalendarCell, CalendarCellProps, CalendarGrid, CalendarGridProps, CalendarProps, Card, CardProps, Center, CenterProps, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CheckboxGroupProps, CheckboxProps, Columns, ColumnsProps, ComboBox, ComboBoxProps, Container, ContainerProps, CustomCheckboxProps,
|
|
720
|
+
export { Accordion, AccordionItem, AccordionItemProps, AccordionOwnItemProps, AccordionProps, ActionMenu, Aside, AsideProps, Aspect, AspectProps, Autocomplete, AutocompleteProps, Badge, BadgeProps, Body, BodyProps, Breakout, BreakoutProps, _Button as Button, ButtonProps, Calendar, CalendarCell, CalendarCellProps, CalendarGrid, CalendarGridProps, CalendarProps, Card, CardProps, Center, CenterProps, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CheckboxGroupProps, CheckboxProps, Columns, ColumnsProps, ComboBox, ComboBoxProps, Container, ContainerProps, CustomCheckboxProps, DateField, DateFieldProps, DatePicker, DatePickerProps, _Dialog as Dialog, DialogProps, _Divider as Divider, DividerProps, FieldBase, FieldBaseProps, FieldGroup, FieldGroupContext, FieldGroupContextProps, FieldGroupProps, Footer, FooterProps, _Header as Header, HeaderProps, _Headline as Headline, HeadlineProps, Image, ImageProps, Inline, InlineProps, Input, InputOwnProps, InputProps, Inset, InsetProps, _Label as Label, LabelProps, _Link as Link, LinkProps, List, ListProps, MarigoldProvider, MarigoldProviderProps, Menu, MenuProps, Message, MessageProps, _Modal as Modal, ModalProps, _NumberField as NumberField, NumberFieldProps, Overlay, OverlayProps, Popover, PopoverProps, _Radio as Radio, RadioComponent, _RadioGroup as RadioGroup, RadioGroupProps, RadioProps, RowProps, Select, SelectComponent, SelectProps, _Slider as Slider, SliderProps, Split, SplitProps, Stack, StackProps, _Switch as Switch, SwitchProps, Table, TableProps, Tabs, Tag, TagComponent, Text, _TextArea as TextArea, TextAreaProps, _TextField as TextField, TextFieldProps, TextProps, Tiles, TilesProps, _Tooltip as Tooltip, TooltipProps, Tray, TrayProps, TrayWrapper, Underlay, UnderlayProps, XLoader, _Slider, _TextArea, useFieldGroupContext };
|