@unifiedsoftware/react-ui 2.0.0-alpha.7 → 2.0.0-alpha.9
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.ts +337 -232
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,21 +3,39 @@ import react__default, { Dispatch, SetStateAction } from 'react';
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { VirtualizerOptions as VirtualizerOptions$1, Virtualizer as Virtualizer$1, ListItemProps as ListItemProps$1, ResultProps as ResultProps$1 } from '@unifiedsoftware/react-ui';
|
|
5
5
|
|
|
6
|
-
interface Props$
|
|
6
|
+
interface Props$J {
|
|
7
7
|
}
|
|
8
|
-
type NativeAttrs$
|
|
9
|
-
type DividerProps = Props$
|
|
10
|
-
declare const Divider: react.ForwardRefExoticComponent<Props$
|
|
8
|
+
type NativeAttrs$L = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$J>;
|
|
9
|
+
type DividerProps = Props$J & NativeAttrs$L;
|
|
10
|
+
declare const Divider: react.ForwardRefExoticComponent<Props$J & NativeAttrs$L & react.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
|
|
12
|
+
type BoxShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
13
|
+
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
type TransitionDuration = 0 | 100 | 200 | 300;
|
|
15
|
+
type TransitionProperty = 'none' | 'all' | 'shadow';
|
|
16
|
+
type BoxState = 'base' | 'hover' | 'active';
|
|
17
|
+
type BoxProperties = {
|
|
18
|
+
shadow?: BoxShadow;
|
|
19
|
+
rounded?: BorderRadius;
|
|
20
|
+
transitionProperty?: TransitionProperty;
|
|
21
|
+
transitionDuration?: TransitionDuration;
|
|
22
|
+
};
|
|
23
|
+
type BoxApplyState<T> = T | {
|
|
24
|
+
[K in BoxState]?: T;
|
|
25
|
+
};
|
|
26
|
+
type BoxCSS = {
|
|
27
|
+
[K in keyof BoxProperties]: BoxApplyState<BoxProperties[K]>;
|
|
28
|
+
};
|
|
11
29
|
|
|
12
30
|
type AccordionSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
13
31
|
type AccordionVariant = 'plain' | 'flat' | 'tonal' | 'filled';
|
|
14
|
-
type AccordionColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger'
|
|
32
|
+
type AccordionColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
15
33
|
interface AccordionArrow {
|
|
16
34
|
isVisible?: boolean;
|
|
17
35
|
position?: 'start' | 'end';
|
|
18
36
|
}
|
|
19
37
|
|
|
20
|
-
interface Props$
|
|
38
|
+
interface Props$I {
|
|
21
39
|
value?: any[];
|
|
22
40
|
defaultValue?: any[];
|
|
23
41
|
expandMode?: 'single' | 'multiple';
|
|
@@ -27,15 +45,16 @@ interface Props$C {
|
|
|
27
45
|
color?: AccordionColor;
|
|
28
46
|
splitted?: boolean;
|
|
29
47
|
bordered?: boolean;
|
|
30
|
-
|
|
48
|
+
centered?: boolean;
|
|
49
|
+
css?: BoxCSS;
|
|
31
50
|
indicator?: ({ isOpen }: {
|
|
32
51
|
isOpen: boolean;
|
|
33
52
|
}) => React.ReactNode;
|
|
34
53
|
onChange?: (value: any[]) => void;
|
|
35
54
|
}
|
|
36
|
-
type NativeAttrs$
|
|
37
|
-
type AccordionProps = Props$
|
|
38
|
-
declare const Accordion: react.ForwardRefExoticComponent<Props$
|
|
55
|
+
type NativeAttrs$K = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$I>;
|
|
56
|
+
type AccordionProps = Props$I & NativeAttrs$K;
|
|
57
|
+
declare const Accordion: react.ForwardRefExoticComponent<Props$I & NativeAttrs$K & react.RefAttributes<HTMLDivElement>>;
|
|
39
58
|
|
|
40
59
|
interface AccordionItemContextValue {
|
|
41
60
|
value: string;
|
|
@@ -44,7 +63,7 @@ interface AccordionItemContextValue {
|
|
|
44
63
|
}) => React.ReactNode;
|
|
45
64
|
}
|
|
46
65
|
declare const useAccordionItem: () => AccordionItemContextValue;
|
|
47
|
-
interface Props$
|
|
66
|
+
interface Props$H {
|
|
48
67
|
value?: any;
|
|
49
68
|
variant?: AccordionVariant;
|
|
50
69
|
color?: AccordionColor;
|
|
@@ -52,17 +71,18 @@ interface Props$B {
|
|
|
52
71
|
isOpen: boolean;
|
|
53
72
|
}) => React.ReactNode;
|
|
54
73
|
}
|
|
55
|
-
type NativeAttrs$
|
|
56
|
-
type AccordionItemProps = Props$
|
|
57
|
-
declare const AccordionItem: react.ForwardRefExoticComponent<Props$
|
|
74
|
+
type NativeAttrs$J = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$H>;
|
|
75
|
+
type AccordionItemProps = Props$H & NativeAttrs$J;
|
|
76
|
+
declare const AccordionItem: react.ForwardRefExoticComponent<Props$H & NativeAttrs$J & react.RefAttributes<HTMLDivElement>>;
|
|
58
77
|
|
|
59
|
-
interface Props$
|
|
78
|
+
interface Props$G {
|
|
60
79
|
as?: React.ElementType;
|
|
61
80
|
title?: React.ReactNode;
|
|
62
81
|
subtitle?: React.ReactNode;
|
|
63
82
|
startContent?: React.ReactNode;
|
|
64
83
|
endContent?: React.ReactNode;
|
|
65
84
|
bordered?: boolean;
|
|
85
|
+
centered?: boolean;
|
|
66
86
|
collapsible?: boolean;
|
|
67
87
|
arrow?: AccordionArrow;
|
|
68
88
|
slotProps?: {
|
|
@@ -73,9 +93,9 @@ interface Props$A {
|
|
|
73
93
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
74
94
|
};
|
|
75
95
|
}
|
|
76
|
-
type NativeAttrs$
|
|
77
|
-
type AccordionHeaderProps = Props$
|
|
78
|
-
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$
|
|
96
|
+
type NativeAttrs$I = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$G>;
|
|
97
|
+
type AccordionHeaderProps = Props$G & NativeAttrs$I;
|
|
98
|
+
declare const AccordionHeader: react.ForwardRefExoticComponent<Props$G & NativeAttrs$I & react.RefAttributes<HTMLDivElement>>;
|
|
79
99
|
|
|
80
100
|
type AccordionBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
81
101
|
declare const AccordionBody: react.ForwardRefExoticComponent<AccordionBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -94,6 +114,9 @@ interface AccordionContextValue {
|
|
|
94
114
|
arrow: AccordionArrow;
|
|
95
115
|
variant: AccordionVariant;
|
|
96
116
|
color: AccordionColor;
|
|
117
|
+
splitted?: boolean;
|
|
118
|
+
centered?: boolean;
|
|
119
|
+
css?: BoxCSS;
|
|
97
120
|
indicator?: ({ isOpen }: {
|
|
98
121
|
isOpen: boolean;
|
|
99
122
|
}) => React.ReactNode;
|
|
@@ -377,10 +400,57 @@ interface UseContainerMediaQueryOptions<TElement extends HTMLElement = HTMLEleme
|
|
|
377
400
|
}
|
|
378
401
|
declare function useContainerMediaQuery<TElement extends HTMLElement = HTMLElement>(options: UseContainerMediaQueryOptions<TElement>): ContainerMediaQuery | undefined;
|
|
379
402
|
|
|
403
|
+
interface FormatStringOptions {
|
|
404
|
+
type?: 'string';
|
|
405
|
+
value?: string | null;
|
|
406
|
+
}
|
|
407
|
+
interface FormatNumberOptions {
|
|
408
|
+
type: 'number';
|
|
409
|
+
value?: number | string | null;
|
|
410
|
+
}
|
|
411
|
+
interface FormatDateOptions {
|
|
412
|
+
type: 'date';
|
|
413
|
+
value?: Date | string | number | null;
|
|
414
|
+
format?: 'datetime' | 'short datetime' | 'date' | 'time';
|
|
415
|
+
locales?: Intl.LocalesArgument;
|
|
416
|
+
options?: Intl.DateTimeFormatOptions;
|
|
417
|
+
}
|
|
418
|
+
interface FormatBooleanOptions {
|
|
419
|
+
type: 'boolean';
|
|
420
|
+
value?: boolean | null;
|
|
421
|
+
labels?: {
|
|
422
|
+
true?: string;
|
|
423
|
+
false?: string;
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
interface FormatCurrencyOptions {
|
|
427
|
+
type: 'currency';
|
|
428
|
+
value?: number | bigint | Intl.StringNumericLiteral | null;
|
|
429
|
+
currency?: string;
|
|
430
|
+
locales?: Intl.LocalesArgument;
|
|
431
|
+
options?: Intl.NumberFormatOptions;
|
|
432
|
+
}
|
|
433
|
+
interface FormatPercentOptions {
|
|
434
|
+
type: 'percent';
|
|
435
|
+
value?: number | string | null;
|
|
436
|
+
decimals?: number;
|
|
437
|
+
locales?: Intl.LocalesArgument;
|
|
438
|
+
options?: Intl.NumberFormatOptions;
|
|
439
|
+
}
|
|
440
|
+
type FormatOptions = FormatStringOptions | FormatNumberOptions | FormatDateOptions | FormatBooleanOptions | FormatCurrencyOptions | FormatPercentOptions;
|
|
441
|
+
|
|
442
|
+
declare function useFormat(options: FormatOptions): string | undefined;
|
|
443
|
+
|
|
380
444
|
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
381
445
|
type InputColor = 'light' | 'dark' | 'inherit';
|
|
382
446
|
type InputVariant = 'filled' | 'outlined' | 'flat' | 'text';
|
|
383
447
|
|
|
448
|
+
interface Props$F {
|
|
449
|
+
}
|
|
450
|
+
type NativeAttrs$H = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$F>;
|
|
451
|
+
type InputGroupProps = Props$F & NativeAttrs$H;
|
|
452
|
+
declare const InputGroup: react.ForwardRefExoticComponent<Props$F & NativeAttrs$H & react.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
|
|
384
454
|
type ListSize = 'sm' | 'md' | 'lg';
|
|
385
455
|
|
|
386
456
|
interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -389,7 +459,7 @@ interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
389
459
|
}
|
|
390
460
|
declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLDivElement>>;
|
|
391
461
|
|
|
392
|
-
interface Props$
|
|
462
|
+
interface Props$E {
|
|
393
463
|
as?: react__default.ElementType;
|
|
394
464
|
title?: react__default.ReactNode;
|
|
395
465
|
subtitle?: react__default.ReactNode;
|
|
@@ -407,11 +477,11 @@ interface Props$z {
|
|
|
407
477
|
subtitle?: react__default.HTMLAttributes<HTMLDivElement>;
|
|
408
478
|
};
|
|
409
479
|
}
|
|
410
|
-
type NativeAttrs$
|
|
411
|
-
type ListItemProps = Props$
|
|
412
|
-
declare const ListItem: react__default.ForwardRefExoticComponent<Props$
|
|
480
|
+
type NativeAttrs$G = Omit<react__default.HTMLAttributes<HTMLDivElement>, keyof Props$E>;
|
|
481
|
+
type ListItemProps = Props$E & NativeAttrs$G;
|
|
482
|
+
declare const ListItem: react__default.ForwardRefExoticComponent<Props$E & NativeAttrs$G & react__default.RefAttributes<HTMLDivElement>>;
|
|
413
483
|
|
|
414
|
-
interface Props$
|
|
484
|
+
interface Props$D {
|
|
415
485
|
expandVisible?: boolean;
|
|
416
486
|
expandPosition?: 'start' | 'end';
|
|
417
487
|
isOpen?: boolean;
|
|
@@ -419,9 +489,9 @@ interface Props$y {
|
|
|
419
489
|
onClose?: () => void;
|
|
420
490
|
onToggle?: () => void;
|
|
421
491
|
}
|
|
422
|
-
type NativeAttrs$
|
|
423
|
-
type ListGroupProps = Props$
|
|
424
|
-
declare const ListGroup: react.ForwardRefExoticComponent<Props$
|
|
492
|
+
type NativeAttrs$F = Omit<ListItemProps, keyof Props$D>;
|
|
493
|
+
type ListGroupProps = Props$D & NativeAttrs$F;
|
|
494
|
+
declare const ListGroup: react.ForwardRefExoticComponent<Props$D & NativeAttrs$F & react.RefAttributes<HTMLDivElement>>;
|
|
425
495
|
|
|
426
496
|
interface ListSubheaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
427
497
|
as?: React.ElementType;
|
|
@@ -463,8 +533,8 @@ interface AutocompleteMultipleProps<TAutocompleteItem extends AutocompleteItem,
|
|
|
463
533
|
onChange?: (value: TAutocompleteItem[]) => void;
|
|
464
534
|
onValueChange?: (value: TAutocompleteItem[TAutocompleteKeyField][]) => void;
|
|
465
535
|
}
|
|
466
|
-
type NativeAttrs$
|
|
467
|
-
type Props$
|
|
536
|
+
type NativeAttrs$E<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$C<TAutocompleteItem, TAutocompleteKeyField>>;
|
|
537
|
+
type Props$C<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = 'key'> = {
|
|
468
538
|
data: TAutocompleteItem[];
|
|
469
539
|
keyField?: TAutocompleteKeyField;
|
|
470
540
|
textField?: keyof TAutocompleteItem;
|
|
@@ -485,14 +555,14 @@ type Props$x<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField e
|
|
|
485
555
|
renderItem?: (item: TAutocompleteItem, props: ListItemProps) => React.ReactNode;
|
|
486
556
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
487
557
|
} & (AutocompleteSingleProps<TAutocompleteItem, TAutocompleteKeyField> | AutocompleteMultipleProps<TAutocompleteItem, TAutocompleteKeyField>);
|
|
488
|
-
type AutocompleteProps<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = 'key'> = Props$
|
|
558
|
+
type AutocompleteProps<TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = 'key'> = Props$C<TAutocompleteItem, TAutocompleteKeyField> & NativeAttrs$E<TAutocompleteItem, TAutocompleteKeyField>;
|
|
489
559
|
|
|
490
560
|
declare const Autocomplete: <TAutocompleteItem extends AutocompleteItem, TAutocompleteKeyField extends AutocompleteKeyField<TAutocompleteItem> = "key">(props: AutocompleteProps<TAutocompleteItem, TAutocompleteKeyField>) => react_jsx_runtime.JSX.Element;
|
|
491
561
|
|
|
492
562
|
type BackdropPlacement = 'top' | 'left' | 'center' | 'right' | 'bottom';
|
|
493
563
|
type BackdropVariant = 'opaque' | 'blur' | 'transparent';
|
|
494
564
|
|
|
495
|
-
interface Props$
|
|
565
|
+
interface Props$B {
|
|
496
566
|
isOpen: boolean;
|
|
497
567
|
closable?: boolean;
|
|
498
568
|
placement?: BackdropPlacement;
|
|
@@ -501,14 +571,14 @@ interface Props$w {
|
|
|
501
571
|
scrollArea?: boolean;
|
|
502
572
|
onClose(): void;
|
|
503
573
|
}
|
|
504
|
-
type NativeAttrs$
|
|
505
|
-
type BackdropProps = Props$
|
|
506
|
-
declare const Backdrop: react.ForwardRefExoticComponent<Props$
|
|
574
|
+
type NativeAttrs$D = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$B>;
|
|
575
|
+
type BackdropProps = Props$B & NativeAttrs$D;
|
|
576
|
+
declare const Backdrop: react.ForwardRefExoticComponent<Props$B & NativeAttrs$D & react.RefAttributes<HTMLDivElement>>;
|
|
507
577
|
|
|
508
578
|
type BadgeColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
509
579
|
type BadgePlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
510
580
|
|
|
511
|
-
interface Props$
|
|
581
|
+
interface Props$A {
|
|
512
582
|
/**
|
|
513
583
|
* The placement of the badge relative to its content.
|
|
514
584
|
*/
|
|
@@ -526,8 +596,8 @@ interface Props$v {
|
|
|
526
596
|
wrapper?: React.HTMLAttributes<HTMLDivElement>;
|
|
527
597
|
};
|
|
528
598
|
}
|
|
529
|
-
type NativeAttrs$
|
|
530
|
-
type BadgeProps = Props$
|
|
599
|
+
type NativeAttrs$C = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$A>;
|
|
600
|
+
type BadgeProps = Props$A & NativeAttrs$C;
|
|
531
601
|
declare const Badge: React.FC<BadgeProps>;
|
|
532
602
|
|
|
533
603
|
type DataListItem = Record<string, any>;
|
|
@@ -544,7 +614,7 @@ interface DataListMultipleProps<TDataListItem extends DataListItem, TDataListKey
|
|
|
544
614
|
onChange?: (value: TDataListItem[]) => void;
|
|
545
615
|
onValueChange?: (value: TDataListItem[TDataListKeyField][]) => void;
|
|
546
616
|
}
|
|
547
|
-
type Props$
|
|
617
|
+
type Props$z<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = {
|
|
548
618
|
data: TDataListItem[];
|
|
549
619
|
keyField?: TDataListKeyField;
|
|
550
620
|
textField?: keyof DataListItem;
|
|
@@ -559,8 +629,8 @@ type Props$u<TDataListItem extends DataListItem, TDataListKeyField extends DataL
|
|
|
559
629
|
renderItem?: (item: TDataListItem, props: ListItemProps$1) => React.ReactNode;
|
|
560
630
|
renderNoData?: (props: ResultProps$1) => React.ReactNode;
|
|
561
631
|
} & (DataListSingleProps<TDataListItem, TDataListKeyField> | DataListMultipleProps<TDataListItem, TDataListKeyField>);
|
|
562
|
-
type NativeAttrs$
|
|
563
|
-
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$
|
|
632
|
+
type NativeAttrs$B<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$z<TDataListItem, TDataListKeyField>>;
|
|
633
|
+
type DataListProps<TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = 'key'> = Props$z<TDataListItem, TDataListKeyField> & NativeAttrs$B<TDataListItem, TDataListKeyField>;
|
|
564
634
|
|
|
565
635
|
declare const DataList: <TDataListItem extends DataListItem, TDataListKeyField extends DataListKeyField<TDataListItem> = "key">(props: DataListProps<TDataListItem, TDataListKeyField>) => react_jsx_runtime.JSX.Element;
|
|
566
636
|
|
|
@@ -569,7 +639,7 @@ type ButtonColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'd
|
|
|
569
639
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
570
640
|
type ButtonGroupDirection = 'row' | 'col';
|
|
571
641
|
|
|
572
|
-
interface Props$
|
|
642
|
+
interface Props$y {
|
|
573
643
|
/**
|
|
574
644
|
* The HTML element type or React component to render as the button.
|
|
575
645
|
*/
|
|
@@ -614,20 +684,20 @@ interface Props$t {
|
|
|
614
684
|
fontStyle?: React.CSSProperties['fontStyle'];
|
|
615
685
|
};
|
|
616
686
|
}
|
|
617
|
-
type NativeAttrs$
|
|
618
|
-
type ButtonProps = Props$
|
|
619
|
-
declare const Button: react.ForwardRefExoticComponent<Props$
|
|
687
|
+
type NativeAttrs$A = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof Props$y>;
|
|
688
|
+
type ButtonProps = Props$y & NativeAttrs$A;
|
|
689
|
+
declare const Button: react.ForwardRefExoticComponent<Props$y & NativeAttrs$A & react.RefAttributes<HTMLButtonElement>>;
|
|
620
690
|
|
|
621
|
-
interface Props$
|
|
691
|
+
interface Props$x {
|
|
622
692
|
direction?: ButtonGroupDirection;
|
|
623
693
|
variant?: ButtonVariant;
|
|
624
694
|
color?: ButtonColor;
|
|
625
695
|
size?: ButtonSize;
|
|
626
696
|
disabled?: boolean;
|
|
627
697
|
}
|
|
628
|
-
type NativeAttrs$
|
|
629
|
-
type ButtonGroupProps = Props$
|
|
630
|
-
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$
|
|
698
|
+
type NativeAttrs$z = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$x>;
|
|
699
|
+
type ButtonGroupProps = Props$x & NativeAttrs$z;
|
|
700
|
+
declare const ButtonGroup: react.ForwardRefExoticComponent<Props$x & NativeAttrs$z & react.RefAttributes<HTMLDivElement>>;
|
|
631
701
|
|
|
632
702
|
interface ButtonGroupContextValue {
|
|
633
703
|
direction: ButtonGroupDirection;
|
|
@@ -639,44 +709,26 @@ interface ButtonGroupContextValue {
|
|
|
639
709
|
declare const ButtonGroupContext: react.Context<ButtonGroupContextValue | null>;
|
|
640
710
|
declare const useButtonGroup: () => ButtonGroupContextValue | null;
|
|
641
711
|
|
|
642
|
-
type BoxShadow = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
643
|
-
type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
644
|
-
type TransitionDuration = 0 | 100 | 200 | 300;
|
|
645
|
-
type TransitionProperty = 'none' | 'all' | 'shadow';
|
|
646
|
-
type BoxState = 'base' | 'hover' | 'active';
|
|
647
|
-
type BoxProperties = {
|
|
648
|
-
shadow?: BoxShadow;
|
|
649
|
-
rounded?: BorderRadius;
|
|
650
|
-
transitionProperty?: TransitionProperty;
|
|
651
|
-
transitionDuration?: TransitionDuration;
|
|
652
|
-
};
|
|
653
|
-
type BoxApplyState<T> = T | {
|
|
654
|
-
[K in BoxState]?: T;
|
|
655
|
-
};
|
|
656
|
-
type BoxCSS = {
|
|
657
|
-
[K in keyof BoxProperties]: BoxApplyState<BoxProperties[K]>;
|
|
658
|
-
};
|
|
659
|
-
|
|
660
712
|
type CardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
661
713
|
|
|
662
|
-
interface Props$
|
|
714
|
+
interface Props$w {
|
|
663
715
|
as?: React.ElementType;
|
|
664
716
|
size?: CardSize;
|
|
665
717
|
hoverable?: boolean;
|
|
666
718
|
selected?: boolean;
|
|
667
719
|
disabled?: boolean;
|
|
668
720
|
bordered?: boolean;
|
|
669
|
-
|
|
721
|
+
divider?: boolean;
|
|
670
722
|
css?: BoxCSS;
|
|
671
723
|
}
|
|
672
|
-
type NativeAttrs$
|
|
673
|
-
type CardProps = Props$
|
|
674
|
-
declare const Card: react.ForwardRefExoticComponent<Props$
|
|
724
|
+
type NativeAttrs$y = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$w>;
|
|
725
|
+
type CardProps = Props$w & NativeAttrs$y;
|
|
726
|
+
declare const Card: react.ForwardRefExoticComponent<Props$w & NativeAttrs$y & react.RefAttributes<HTMLDivElement>>;
|
|
675
727
|
|
|
676
728
|
type CardBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
677
729
|
declare const CardBody: react.ForwardRefExoticComponent<CardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
678
730
|
|
|
679
|
-
interface Props$
|
|
731
|
+
interface Props$v {
|
|
680
732
|
as?: React.ElementType;
|
|
681
733
|
title?: React.ReactNode;
|
|
682
734
|
subtitle?: React.ReactNode;
|
|
@@ -699,11 +751,11 @@ interface Props$q {
|
|
|
699
751
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
700
752
|
};
|
|
701
753
|
}
|
|
702
|
-
type NativeAttrs$
|
|
703
|
-
type CardHeaderProps = Props$
|
|
704
|
-
declare const CardHeader: react.ForwardRefExoticComponent<Props$
|
|
754
|
+
type NativeAttrs$x = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$v>;
|
|
755
|
+
type CardHeaderProps = Props$v & NativeAttrs$x;
|
|
756
|
+
declare const CardHeader: react.ForwardRefExoticComponent<Props$v & NativeAttrs$x & react.RefAttributes<HTMLDivElement>>;
|
|
705
757
|
|
|
706
|
-
interface Props$
|
|
758
|
+
interface Props$u {
|
|
707
759
|
as?: React.ElementType;
|
|
708
760
|
/**
|
|
709
761
|
* @deprecated Use `underlined` instead
|
|
@@ -711,9 +763,9 @@ interface Props$p {
|
|
|
711
763
|
bordered?: boolean;
|
|
712
764
|
underlined?: boolean;
|
|
713
765
|
}
|
|
714
|
-
type NativeAttrs$
|
|
715
|
-
type CardFooterProps = Props$
|
|
716
|
-
declare const CardFooter: react.ForwardRefExoticComponent<Props$
|
|
766
|
+
type NativeAttrs$w = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$u>;
|
|
767
|
+
type CardFooterProps = Props$u & NativeAttrs$w;
|
|
768
|
+
declare const CardFooter: react.ForwardRefExoticComponent<Props$u & NativeAttrs$w & react.RefAttributes<HTMLDivElement>>;
|
|
717
769
|
|
|
718
770
|
type CardMediaProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
719
771
|
topLeftContent?: React.ReactNode;
|
|
@@ -724,28 +776,28 @@ declare const CardMedia: react.ForwardRefExoticComponent<react.HTMLAttributes<HT
|
|
|
724
776
|
topRightContent?: React.ReactNode;
|
|
725
777
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
726
778
|
|
|
727
|
-
interface Props$
|
|
779
|
+
interface Props$t {
|
|
728
780
|
as?: React.ElementType;
|
|
729
781
|
centered?: boolean;
|
|
730
782
|
css?: BoxCSS;
|
|
731
783
|
}
|
|
732
|
-
type NativeAttrs$
|
|
733
|
-
type CardTitleProps = Props$
|
|
734
|
-
declare const CardTitle: react.ForwardRefExoticComponent<Props$
|
|
784
|
+
type NativeAttrs$v = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$t>;
|
|
785
|
+
type CardTitleProps = Props$t & NativeAttrs$v;
|
|
786
|
+
declare const CardTitle: react.ForwardRefExoticComponent<Props$t & NativeAttrs$v & react.RefAttributes<HTMLDivElement>>;
|
|
735
787
|
|
|
736
|
-
interface Props$
|
|
788
|
+
interface Props$s {
|
|
737
789
|
as?: React.ElementType;
|
|
738
790
|
css?: BoxCSS;
|
|
739
791
|
}
|
|
740
|
-
type NativeAttrs$
|
|
741
|
-
type CardSubtitleProps = Props$
|
|
742
|
-
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$
|
|
792
|
+
type NativeAttrs$u = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$s>;
|
|
793
|
+
type CardSubtitleProps = Props$s & NativeAttrs$u;
|
|
794
|
+
declare const CardSubtitle: react.ForwardRefExoticComponent<Props$s & NativeAttrs$u & react.RefAttributes<HTMLDivElement>>;
|
|
743
795
|
|
|
744
796
|
type ChipVariant = 'filled' | 'outlined' | 'flat' | 'text' | 'plain';
|
|
745
797
|
type ChipColor = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
746
798
|
type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
747
799
|
|
|
748
|
-
interface Props$
|
|
800
|
+
interface Props$r {
|
|
749
801
|
/**
|
|
750
802
|
* The HTML element type or React component to render as the chip.
|
|
751
803
|
*/
|
|
@@ -783,9 +835,9 @@ interface Props$m {
|
|
|
783
835
|
};
|
|
784
836
|
onClose?: () => void;
|
|
785
837
|
}
|
|
786
|
-
type NativeAttrs$
|
|
787
|
-
type ChipProps = Props$
|
|
788
|
-
declare const Chip: react.ForwardRefExoticComponent<Props$
|
|
838
|
+
type NativeAttrs$t = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$r>;
|
|
839
|
+
type ChipProps = Props$r & NativeAttrs$t;
|
|
840
|
+
declare const Chip: react.ForwardRefExoticComponent<Props$r & NativeAttrs$t & react.RefAttributes<HTMLDivElement>>;
|
|
789
841
|
|
|
790
842
|
interface CollapseProps {
|
|
791
843
|
children: React.ReactNode;
|
|
@@ -829,7 +881,7 @@ interface DrawerClose {
|
|
|
829
881
|
}
|
|
830
882
|
type DrawerBackdrop = BackdropVariant;
|
|
831
883
|
|
|
832
|
-
interface Props$
|
|
884
|
+
interface Props$q {
|
|
833
885
|
isOpen: boolean;
|
|
834
886
|
size?: DrawerSize;
|
|
835
887
|
backdrop?: DrawerBackdrop;
|
|
@@ -846,11 +898,11 @@ interface Props$l {
|
|
|
846
898
|
onClose: () => void;
|
|
847
899
|
onAfterClose?: () => void;
|
|
848
900
|
}
|
|
849
|
-
type NativeAttrs$
|
|
850
|
-
type DrawerProps = Props$
|
|
851
|
-
declare const Drawer: react.ForwardRefExoticComponent<Props$
|
|
901
|
+
type NativeAttrs$s = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$q>;
|
|
902
|
+
type DrawerProps = Props$q & NativeAttrs$s;
|
|
903
|
+
declare const Drawer: react.ForwardRefExoticComponent<Props$q & NativeAttrs$s & react.RefAttributes<HTMLDivElement>>;
|
|
852
904
|
|
|
853
|
-
interface Props$
|
|
905
|
+
interface Props$p {
|
|
854
906
|
as?: React.ElementType;
|
|
855
907
|
title?: React.ReactNode;
|
|
856
908
|
subtitle?: React.ReactNode;
|
|
@@ -866,20 +918,20 @@ interface Props$k {
|
|
|
866
918
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
867
919
|
};
|
|
868
920
|
}
|
|
869
|
-
type NativeAttrs$
|
|
870
|
-
type DrawerHeaderProps = Props$
|
|
871
|
-
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$
|
|
921
|
+
type NativeAttrs$r = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$p>;
|
|
922
|
+
type DrawerHeaderProps = Props$p & NativeAttrs$r;
|
|
923
|
+
declare const DrawerHeader: react.ForwardRefExoticComponent<Props$p & NativeAttrs$r & react.RefAttributes<HTMLDivElement>>;
|
|
872
924
|
|
|
873
925
|
type DrawerBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
874
926
|
declare const DrawerBody: react.ForwardRefExoticComponent<DrawerBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
875
927
|
|
|
876
|
-
interface Props$
|
|
928
|
+
interface Props$o {
|
|
877
929
|
as?: React.ElementType;
|
|
878
930
|
bordered?: boolean;
|
|
879
931
|
}
|
|
880
|
-
type NativeAttrs$
|
|
881
|
-
type DrawerFooterProps = Props$
|
|
882
|
-
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$
|
|
932
|
+
type NativeAttrs$q = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$o>;
|
|
933
|
+
type DrawerFooterProps = Props$o & NativeAttrs$q;
|
|
934
|
+
declare const DrawerFooter: react.ForwardRefExoticComponent<Props$o & NativeAttrs$q & react.RefAttributes<HTMLDivElement>>;
|
|
883
935
|
|
|
884
936
|
interface DrawerContextValue {
|
|
885
937
|
isOpen: boolean;
|
|
@@ -903,7 +955,7 @@ interface IconProps {
|
|
|
903
955
|
}
|
|
904
956
|
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<unknown>>;
|
|
905
957
|
|
|
906
|
-
interface Props$
|
|
958
|
+
interface Props$n {
|
|
907
959
|
/**
|
|
908
960
|
* The HTML element type or React component to render as the menu item.
|
|
909
961
|
*/
|
|
@@ -929,9 +981,9 @@ interface Props$i {
|
|
|
929
981
|
*/
|
|
930
982
|
disabled?: boolean;
|
|
931
983
|
}
|
|
932
|
-
type NativeAttrs$
|
|
933
|
-
type MenuItemProps = Props$
|
|
934
|
-
declare const MenuItem: react.ForwardRefExoticComponent<Props$
|
|
984
|
+
type NativeAttrs$p = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$n | 'items'>;
|
|
985
|
+
type MenuItemProps = Props$n & NativeAttrs$p;
|
|
986
|
+
declare const MenuItem: react.ForwardRefExoticComponent<Props$n & NativeAttrs$p & react.RefAttributes<HTMLDivElement>>;
|
|
935
987
|
|
|
936
988
|
type MenuSubmenuProps = Omit<MenuItemProps, 'items'> & {
|
|
937
989
|
items?: MenuItemType[];
|
|
@@ -955,7 +1007,7 @@ type MenuItemType = (MenuGroupProps & {
|
|
|
955
1007
|
}) | (MenuItemProps & {
|
|
956
1008
|
type?: 'item';
|
|
957
1009
|
});
|
|
958
|
-
interface Props$
|
|
1010
|
+
interface Props$m {
|
|
959
1011
|
/**
|
|
960
1012
|
* The currently selected value of the menu.
|
|
961
1013
|
*/
|
|
@@ -991,8 +1043,8 @@ interface Props$h {
|
|
|
991
1043
|
*/
|
|
992
1044
|
onItemSelect?: (props: MenuItemProps) => void;
|
|
993
1045
|
}
|
|
994
|
-
type NativeAttrs$
|
|
995
|
-
type MenuProps = Props$
|
|
1046
|
+
type NativeAttrs$o = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$m | 'items'>;
|
|
1047
|
+
type MenuProps = Props$m & NativeAttrs$o & {
|
|
996
1048
|
items?: MenuItemType[];
|
|
997
1049
|
};
|
|
998
1050
|
declare const Menu: React.FC<MenuProps>;
|
|
@@ -1079,8 +1131,8 @@ interface SelectMultipleProps<TSelectItem extends SelectItem, TSelectKeyField ex
|
|
|
1079
1131
|
onChange?: (value: TSelectItem[]) => void;
|
|
1080
1132
|
onValueChange?: (value: TSelectItem[TSelectKeyField][]) => void;
|
|
1081
1133
|
}
|
|
1082
|
-
type NativeAttrs$
|
|
1083
|
-
type Props$
|
|
1134
|
+
type NativeAttrs$n<TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyField<TSelectItem> = 'key'> = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$l<TSelectItem, TSelectKeyField>>;
|
|
1135
|
+
type Props$l<TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyField<TSelectItem> = 'key'> = {
|
|
1084
1136
|
data: TSelectItem[];
|
|
1085
1137
|
keyField?: TSelectKeyField;
|
|
1086
1138
|
textField?: keyof TSelectItem;
|
|
@@ -1099,7 +1151,7 @@ type Props$g<TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyFi
|
|
|
1099
1151
|
renderItem?: (item: TSelectItem, props: ListItemProps) => React.ReactNode;
|
|
1100
1152
|
renderNoData?: (props: ResultProps) => React.ReactNode;
|
|
1101
1153
|
} & (SelectSingleProps<TSelectItem, TSelectKeyField> | SelectMultipleProps<TSelectItem, TSelectKeyField>);
|
|
1102
|
-
type SelectProps<TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyField<TSelectItem> = 'key'> = Props$
|
|
1154
|
+
type SelectProps<TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyField<TSelectItem> = 'key'> = Props$l<TSelectItem, TSelectKeyField> & NativeAttrs$n<TSelectItem, TSelectKeyField>;
|
|
1103
1155
|
|
|
1104
1156
|
declare const Select: <TSelectItem extends SelectItem, TSelectKeyField extends SelectKeyField<TSelectItem> = "key">(props: SelectProps<TSelectItem, TSelectKeyField>) => react_jsx_runtime.JSX.Element;
|
|
1105
1157
|
|
|
@@ -1136,20 +1188,20 @@ type Responsive<T> = T | {
|
|
|
1136
1188
|
type SwitchSize = 'sm' | 'md' | 'lg';
|
|
1137
1189
|
type SwitchLabelPlacement = 'before' | 'after';
|
|
1138
1190
|
|
|
1139
|
-
interface Props$
|
|
1191
|
+
interface Props$k {
|
|
1140
1192
|
size?: SwitchSize;
|
|
1141
1193
|
labelPlacement?: SwitchLabelPlacement;
|
|
1142
1194
|
colorScheme?: ColorScheme;
|
|
1143
1195
|
}
|
|
1144
|
-
type NativeAttrs$
|
|
1145
|
-
type SwitchProps = Props$
|
|
1146
|
-
declare const Switch: react.ForwardRefExoticComponent<Props$
|
|
1196
|
+
type NativeAttrs$m = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$k | 'value' | 'defaultValue'>;
|
|
1197
|
+
type SwitchProps = Props$k & NativeAttrs$m;
|
|
1198
|
+
declare const Switch: react.ForwardRefExoticComponent<Props$k & NativeAttrs$m & react.RefAttributes<HTMLInputElement>>;
|
|
1147
1199
|
|
|
1148
1200
|
type TabsVariant = 'underlined' | 'outlined' | 'pills';
|
|
1149
1201
|
type TabValue = string | number | symbol;
|
|
1150
1202
|
type TabsAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1151
1203
|
|
|
1152
|
-
interface Props$
|
|
1204
|
+
interface Props$j<TTabValue extends TabValue = TabValue> {
|
|
1153
1205
|
/**
|
|
1154
1206
|
* The HTML element type or React component to render as the tab.
|
|
1155
1207
|
*/
|
|
@@ -1175,11 +1227,11 @@ interface Props$e<TTabValue extends TabValue = TabValue> {
|
|
|
1175
1227
|
*/
|
|
1176
1228
|
endContent?: React.ReactNode;
|
|
1177
1229
|
}
|
|
1178
|
-
type NativeAttrs$
|
|
1179
|
-
type TabProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1180
|
-
declare const Tab: react.ForwardRefExoticComponent<Props$
|
|
1230
|
+
type NativeAttrs$l = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$j>;
|
|
1231
|
+
type TabProps<TTabValue extends TabValue = TabValue> = Props$j<TTabValue> & NativeAttrs$l;
|
|
1232
|
+
declare const Tab: react.ForwardRefExoticComponent<Props$j<TabValue> & NativeAttrs$l & react.RefAttributes<HTMLDivElement>>;
|
|
1181
1233
|
|
|
1182
|
-
interface Props$
|
|
1234
|
+
interface Props$i<TTabValue extends TabValue = TabValue> {
|
|
1183
1235
|
/**
|
|
1184
1236
|
* The currently selected value of the tabs.
|
|
1185
1237
|
*/
|
|
@@ -1202,11 +1254,11 @@ interface Props$d<TTabValue extends TabValue = TabValue> {
|
|
|
1202
1254
|
*/
|
|
1203
1255
|
onClose?: (value: TTabValue) => void;
|
|
1204
1256
|
}
|
|
1205
|
-
type NativeAttrs$
|
|
1206
|
-
type TabsProps<TTabValue extends TabValue = TabValue> = Props$
|
|
1207
|
-
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$
|
|
1257
|
+
type NativeAttrs$k = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$i>;
|
|
1258
|
+
type TabsProps<TTabValue extends TabValue = TabValue> = Props$i<TTabValue> & NativeAttrs$k;
|
|
1259
|
+
declare const Tabs: <TTabValue extends TabValue = TabValue>(props: Props$i<TTabValue> & NativeAttrs$k & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1208
1260
|
|
|
1209
|
-
interface Props$
|
|
1261
|
+
interface Props$h {
|
|
1210
1262
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
1211
1263
|
variant?: InputVariant;
|
|
1212
1264
|
color?: InputColor;
|
|
@@ -1215,13 +1267,13 @@ interface Props$c {
|
|
|
1215
1267
|
endContent?: React.ReactNode;
|
|
1216
1268
|
css?: BoxCSS;
|
|
1217
1269
|
}
|
|
1218
|
-
type NativeAttrs$
|
|
1219
|
-
type TextInputProps = Props$
|
|
1220
|
-
declare const TextInput: react.ForwardRefExoticComponent<Props$
|
|
1270
|
+
type NativeAttrs$j = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$h>;
|
|
1271
|
+
type TextInputProps = Props$h & NativeAttrs$j;
|
|
1272
|
+
declare const TextInput: react.ForwardRefExoticComponent<Props$h & NativeAttrs$j & react.RefAttributes<HTMLInputElement>>;
|
|
1221
1273
|
|
|
1222
1274
|
type ToolbarSize = 'auto' | 'sm' | 'md' | 'lg';
|
|
1223
1275
|
|
|
1224
|
-
interface Props$
|
|
1276
|
+
interface Props$g {
|
|
1225
1277
|
size?: ToolbarSize;
|
|
1226
1278
|
title?: React.ReactNode;
|
|
1227
1279
|
subtitle?: React.ReactNode;
|
|
@@ -1243,8 +1295,8 @@ interface Props$b {
|
|
|
1243
1295
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1244
1296
|
};
|
|
1245
1297
|
}
|
|
1246
|
-
type NativeAttrs$
|
|
1247
|
-
type ToolbarProps = Props$
|
|
1298
|
+
type NativeAttrs$i = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$g>;
|
|
1299
|
+
type ToolbarProps = Props$g & NativeAttrs$i;
|
|
1248
1300
|
declare const Toolbar: React.FC<ToolbarProps>;
|
|
1249
1301
|
|
|
1250
1302
|
interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1259,22 +1311,22 @@ interface TransitionProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
1259
1311
|
}
|
|
1260
1312
|
declare const Transition: react.ForwardRefExoticComponent<TransitionProps & react.RefAttributes<HTMLElement>>;
|
|
1261
1313
|
|
|
1262
|
-
interface Props$
|
|
1314
|
+
interface Props$f {
|
|
1263
1315
|
/**
|
|
1264
1316
|
* The HTML element type or React component to render as the tab.
|
|
1265
1317
|
*/
|
|
1266
1318
|
as?: React.ElementType;
|
|
1267
1319
|
width?: number;
|
|
1268
1320
|
}
|
|
1269
|
-
type NativeAttrs$
|
|
1270
|
-
type SwipeItemProps = Props$
|
|
1271
|
-
declare const SwipeItem: react.ForwardRefExoticComponent<Props$
|
|
1321
|
+
type NativeAttrs$h = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$f>;
|
|
1322
|
+
type SwipeItemProps = Props$f & NativeAttrs$h;
|
|
1323
|
+
declare const SwipeItem: react.ForwardRefExoticComponent<Props$f & NativeAttrs$h & {
|
|
1272
1324
|
children?: react.ReactNode | undefined;
|
|
1273
1325
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1274
1326
|
|
|
1275
1327
|
type SwiperAlignmet = 'start' | 'center' | 'end';
|
|
1276
1328
|
|
|
1277
|
-
interface Props$
|
|
1329
|
+
interface Props$e {
|
|
1278
1330
|
gap?: number;
|
|
1279
1331
|
alignment?: SwiperAlignmet;
|
|
1280
1332
|
autoHide?: boolean;
|
|
@@ -1284,8 +1336,8 @@ interface Props$9 {
|
|
|
1284
1336
|
arrowRightButton?: ButtonProps;
|
|
1285
1337
|
};
|
|
1286
1338
|
}
|
|
1287
|
-
type NativeAttrs$
|
|
1288
|
-
type SwipeProps = Props$
|
|
1339
|
+
type NativeAttrs$g = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$e>;
|
|
1340
|
+
type SwipeProps = Props$e & NativeAttrs$g;
|
|
1289
1341
|
declare const Swipe: React.FC<SwipeProps>;
|
|
1290
1342
|
|
|
1291
1343
|
type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
@@ -1297,7 +1349,7 @@ interface ModalClose {
|
|
|
1297
1349
|
type ModalScrollBehavior = 'inside' | 'outside';
|
|
1298
1350
|
type ModalBackdrop = BackdropVariant;
|
|
1299
1351
|
|
|
1300
|
-
interface Props$
|
|
1352
|
+
interface Props$d {
|
|
1301
1353
|
isOpen: boolean;
|
|
1302
1354
|
size?: ModalSize;
|
|
1303
1355
|
backdrop?: ModalBackdrop;
|
|
@@ -1312,9 +1364,9 @@ interface Props$8 {
|
|
|
1312
1364
|
onClose: () => void;
|
|
1313
1365
|
onAfterClose?: () => void;
|
|
1314
1366
|
}
|
|
1315
|
-
type NativeAttrs$
|
|
1316
|
-
type ModalProps = Props$
|
|
1317
|
-
declare const Modal: react.ForwardRefExoticComponent<Props$
|
|
1367
|
+
type NativeAttrs$f = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$d>;
|
|
1368
|
+
type ModalProps = Props$d & NativeAttrs$f;
|
|
1369
|
+
declare const Modal: react.ForwardRefExoticComponent<Props$d & NativeAttrs$f & react.RefAttributes<HTMLDivElement>>;
|
|
1318
1370
|
|
|
1319
1371
|
type ModalBodyProps = React.HTMLAttributes<HTMLDivElement>;
|
|
1320
1372
|
declare const ModalBody: React.FC<ModalBodyProps>;
|
|
@@ -1328,15 +1380,15 @@ interface ModalContextValue {
|
|
|
1328
1380
|
}
|
|
1329
1381
|
declare function useModal(): ModalContextValue;
|
|
1330
1382
|
|
|
1331
|
-
interface Props$
|
|
1383
|
+
interface Props$c {
|
|
1332
1384
|
as?: React.ElementType;
|
|
1333
1385
|
bordered?: boolean;
|
|
1334
1386
|
}
|
|
1335
|
-
type NativeAttrs$
|
|
1336
|
-
type ModalFooterProps = Props$
|
|
1337
|
-
declare const ModalFooter: react.ForwardRefExoticComponent<Props$
|
|
1387
|
+
type NativeAttrs$e = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$c>;
|
|
1388
|
+
type ModalFooterProps = Props$c & NativeAttrs$e;
|
|
1389
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<Props$c & NativeAttrs$e & react.RefAttributes<HTMLDivElement>>;
|
|
1338
1390
|
|
|
1339
|
-
interface Props$
|
|
1391
|
+
interface Props$b {
|
|
1340
1392
|
as?: React.ElementType;
|
|
1341
1393
|
title?: React.ReactNode;
|
|
1342
1394
|
subtitle?: React.ReactNode;
|
|
@@ -1352,9 +1404,9 @@ interface Props$6 {
|
|
|
1352
1404
|
subtitle?: React.HTMLAttributes<HTMLDivElement>;
|
|
1353
1405
|
};
|
|
1354
1406
|
}
|
|
1355
|
-
type NativeAttrs$
|
|
1356
|
-
type ModalHeaderProps = Props$
|
|
1357
|
-
declare const ModalHeader: react.ForwardRefExoticComponent<Props$
|
|
1407
|
+
type NativeAttrs$d = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$b>;
|
|
1408
|
+
type ModalHeaderProps = Props$b & NativeAttrs$d;
|
|
1409
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<Props$b & NativeAttrs$d & react.RefAttributes<HTMLDivElement>>;
|
|
1358
1410
|
|
|
1359
1411
|
type CheckboxValue = string | number | symbol;
|
|
1360
1412
|
type CheckboxSize = 'sm' | 'md' | 'lg';
|
|
@@ -1362,17 +1414,17 @@ type CheckboxLabelPlacement = 'before' | 'after';
|
|
|
1362
1414
|
type CheckboxGroupDirection = 'row' | 'col';
|
|
1363
1415
|
type CheckboxGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1364
1416
|
|
|
1365
|
-
interface Props$
|
|
1417
|
+
interface Props$a<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1366
1418
|
value?: TCheckboxValue;
|
|
1367
1419
|
size?: CheckboxSize;
|
|
1368
1420
|
labelPlacement?: CheckboxLabelPlacement;
|
|
1369
1421
|
colorScheme?: ColorScheme;
|
|
1370
1422
|
}
|
|
1371
|
-
type NativeAttrs$
|
|
1372
|
-
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1373
|
-
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1423
|
+
type NativeAttrs$c = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$a | 'defaultValue'>;
|
|
1424
|
+
type CheckboxProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$a<TCheckboxValue> & NativeAttrs$c;
|
|
1425
|
+
declare const Checkbox: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$a<TCheckboxValue> & NativeAttrs$c & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1374
1426
|
|
|
1375
|
-
interface Props$
|
|
1427
|
+
interface Props$9<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1376
1428
|
value?: TCheckboxValue[];
|
|
1377
1429
|
defaultValue?: TCheckboxValue[];
|
|
1378
1430
|
disabled?: boolean;
|
|
@@ -1384,9 +1436,9 @@ interface Props$4<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
|
1384
1436
|
colorScheme?: ColorScheme;
|
|
1385
1437
|
onChange?: (value: TCheckboxValue[]) => void;
|
|
1386
1438
|
}
|
|
1387
|
-
type NativeAttrs$
|
|
1388
|
-
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$
|
|
1389
|
-
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$
|
|
1439
|
+
type NativeAttrs$b = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$9>;
|
|
1440
|
+
type CheckboxGroupProps<TCheckboxValue extends CheckboxValue = CheckboxValue> = Props$9<TCheckboxValue> & NativeAttrs$b;
|
|
1441
|
+
declare const CheckboxGroup: <TCheckboxValue extends CheckboxValue = CheckboxValue>(props: Props$9<TCheckboxValue> & NativeAttrs$b & react.RefAttributes<HTMLTableElement>) => ReturnType<React.FunctionComponent>;
|
|
1390
1442
|
|
|
1391
1443
|
interface CheckboxGroupContextValue<TCheckboxValue extends CheckboxValue = CheckboxValue> {
|
|
1392
1444
|
value: TCheckboxValue[];
|
|
@@ -1406,7 +1458,7 @@ type RadioLabelPlacement = 'before' | 'after';
|
|
|
1406
1458
|
type RadioGroupDirection = 'row' | 'col';
|
|
1407
1459
|
type RadioGroupAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
1408
1460
|
|
|
1409
|
-
interface Props$
|
|
1461
|
+
interface Props$8<TRadioValue extends RadioValue = RadioValue> {
|
|
1410
1462
|
value?: TRadioValue;
|
|
1411
1463
|
disabled?: boolean;
|
|
1412
1464
|
readOnly?: boolean;
|
|
@@ -1414,11 +1466,11 @@ interface Props$3<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1414
1466
|
labelPlacement?: RadioLabelPlacement;
|
|
1415
1467
|
colorScheme?: ColorScheme;
|
|
1416
1468
|
}
|
|
1417
|
-
type NativeAttrs$
|
|
1418
|
-
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1419
|
-
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1469
|
+
type NativeAttrs$a = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof Props$8 | 'defaultValue' | 'checked' | 'defaultChecked' | 'onChange'>;
|
|
1470
|
+
type RadioProps<TRadioValue extends RadioValue = RadioValue> = Props$8<TRadioValue> & NativeAttrs$a;
|
|
1471
|
+
declare const Radio: <TRadioValue extends RadioValue = RadioValue>(props: Props$8<TRadioValue> & NativeAttrs$a & react.RefAttributes<HTMLInputElement>) => ReturnType<React.FunctionComponent>;
|
|
1420
1472
|
|
|
1421
|
-
interface Props$
|
|
1473
|
+
interface Props$7<TRadioValue extends RadioValue = RadioValue> {
|
|
1422
1474
|
name?: string;
|
|
1423
1475
|
value?: TRadioValue;
|
|
1424
1476
|
defaultValue?: TRadioValue;
|
|
@@ -1431,9 +1483,9 @@ interface Props$2<TRadioValue extends RadioValue = RadioValue> {
|
|
|
1431
1483
|
colorScheme?: ColorScheme;
|
|
1432
1484
|
onChange?: (value: TRadioValue) => void;
|
|
1433
1485
|
}
|
|
1434
|
-
type NativeAttrs$
|
|
1435
|
-
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$
|
|
1436
|
-
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$
|
|
1486
|
+
type NativeAttrs$9 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$7>;
|
|
1487
|
+
type RadioGroupProps<TRadioValue extends RadioValue = RadioValue> = Props$7<TRadioValue> & NativeAttrs$9;
|
|
1488
|
+
declare const RadioGroup: <TRadioValue extends RadioValue = RadioValue>(props: Props$7<TRadioValue> & NativeAttrs$9 & react.RefAttributes<HTMLDivElement>) => ReturnType<React.FunctionComponent>;
|
|
1437
1489
|
|
|
1438
1490
|
interface RadioGroupContextValue {
|
|
1439
1491
|
name: string;
|
|
@@ -1450,79 +1502,57 @@ declare const useRadioGroup: () => RadioGroupContextValue;
|
|
|
1450
1502
|
|
|
1451
1503
|
type NavRailPlacement = 'left' | 'right';
|
|
1452
1504
|
|
|
1453
|
-
interface Props$
|
|
1505
|
+
interface Props$6 {
|
|
1454
1506
|
startContent?: React.ReactNode;
|
|
1455
1507
|
endContent?: React.ReactNode;
|
|
1456
1508
|
placement?: NavRailPlacement;
|
|
1457
1509
|
}
|
|
1458
|
-
type NativeAttrs$
|
|
1459
|
-
type NavRailProps = Props$
|
|
1510
|
+
type NativeAttrs$8 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$6>;
|
|
1511
|
+
type NavRailProps = Props$6 & NativeAttrs$8;
|
|
1460
1512
|
declare const NavRail: React.FC<NavRailProps>;
|
|
1461
1513
|
|
|
1462
|
-
interface Props {
|
|
1514
|
+
interface Props$5 {
|
|
1463
1515
|
as?: React.ElementType;
|
|
1464
1516
|
icon?: React.ReactNode;
|
|
1465
1517
|
media?: React.ReactNode;
|
|
1466
1518
|
label?: React.ReactNode;
|
|
1467
1519
|
selected?: boolean;
|
|
1468
1520
|
}
|
|
1469
|
-
type NativeAttrs$
|
|
1470
|
-
type NavRailItemProps = Props & NativeAttrs$
|
|
1471
|
-
declare const NavRailItem: react.ForwardRefExoticComponent<Props & NativeAttrs$
|
|
1521
|
+
type NativeAttrs$7 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$5>;
|
|
1522
|
+
type NavRailItemProps = Props$5 & NativeAttrs$7;
|
|
1523
|
+
declare const NavRailItem: react.ForwardRefExoticComponent<Props$5 & NativeAttrs$7 & react.RefAttributes<HTMLDivElement>>;
|
|
1472
1524
|
|
|
1473
|
-
type
|
|
1474
|
-
|
|
1475
|
-
type DescriptionsAlign = React.CSSProperties['textAlign'];
|
|
1476
|
-
interface DescriptionItemString {
|
|
1477
|
-
type?: 'string';
|
|
1478
|
-
value?: string | null;
|
|
1479
|
-
}
|
|
1480
|
-
interface DescriptionItemNumber {
|
|
1481
|
-
type: 'number';
|
|
1482
|
-
value?: number | string | null;
|
|
1483
|
-
}
|
|
1484
|
-
interface DescriptionItemDate {
|
|
1485
|
-
type: 'date';
|
|
1486
|
-
value?: Date | string | number | null;
|
|
1487
|
-
format?: 'datetime' | 'short datetime' | 'date' | 'time';
|
|
1488
|
-
locales?: Intl.LocalesArgument;
|
|
1489
|
-
options?: Intl.DateTimeFormatOptions;
|
|
1490
|
-
}
|
|
1491
|
-
interface DescriptionItemBoolean {
|
|
1492
|
-
type: 'boolean';
|
|
1493
|
-
value?: boolean | null;
|
|
1494
|
-
labels?: {
|
|
1495
|
-
true?: string;
|
|
1496
|
-
false?: string;
|
|
1497
|
-
};
|
|
1498
|
-
}
|
|
1499
|
-
interface DescriptionItemCurrency {
|
|
1500
|
-
type: 'currency';
|
|
1501
|
-
value?: number | bigint | Intl.StringNumericLiteral | null;
|
|
1502
|
-
currency?: string;
|
|
1503
|
-
locales?: Intl.LocalesArgument;
|
|
1504
|
-
options?: Intl.NumberFormatOptions;
|
|
1505
|
-
}
|
|
1506
|
-
interface DescriptionItemPercent {
|
|
1507
|
-
type: 'percent';
|
|
1508
|
-
value?: number | string | null;
|
|
1509
|
-
decimals?: number;
|
|
1510
|
-
locales?: Intl.LocalesArgument;
|
|
1511
|
-
options?: Intl.NumberFormatOptions;
|
|
1512
|
-
}
|
|
1513
|
-
type DescriptionItem = {
|
|
1525
|
+
type Props$4 = {
|
|
1526
|
+
as?: React.ElementType;
|
|
1514
1527
|
label: React.ReactNode;
|
|
1515
1528
|
span?: Responsive<number>;
|
|
1516
1529
|
order?: Responsive<number>;
|
|
1530
|
+
labelStartContent?: React.ReactNode;
|
|
1531
|
+
labelEndContent?: React.ReactNode;
|
|
1532
|
+
valueStartContent?: React.ReactNode;
|
|
1533
|
+
valueEndContent?: React.ReactNode;
|
|
1534
|
+
hoverable?: boolean;
|
|
1517
1535
|
render?: (options: {
|
|
1518
1536
|
content: React.ReactNode;
|
|
1519
1537
|
isEmpty: boolean;
|
|
1520
1538
|
mq: ContainerMediaQuery;
|
|
1521
1539
|
}) => React.ReactNode;
|
|
1522
|
-
} &
|
|
1540
|
+
} & FormatOptions;
|
|
1541
|
+
type NativeAttrs$6 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$4 | 'children'>;
|
|
1542
|
+
type DescriptionProps = Props$4 & NativeAttrs$6;
|
|
1543
|
+
declare const Description: react.ForwardRefExoticComponent<DescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
|
1544
|
+
|
|
1545
|
+
type NativeAttrs$5 = React.HTMLAttributes<HTMLDivElement>;
|
|
1546
|
+
type DescriptionEmptyProps = NativeAttrs$5;
|
|
1547
|
+
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$5 & react.RefAttributes<HTMLDivElement>>;
|
|
1523
1548
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1549
|
+
type DescriptionsLayout = 'row' | 'col';
|
|
1550
|
+
type DescriptionsSize = 'sm' | 'md' | 'lg';
|
|
1551
|
+
type DescriptionsAlign = React.CSSProperties['textAlign'];
|
|
1552
|
+
|
|
1553
|
+
interface Props$3 {
|
|
1554
|
+
as?: React.ElementType;
|
|
1555
|
+
items?: DescriptionProps[];
|
|
1526
1556
|
layout?: Responsive<DescriptionsLayout>;
|
|
1527
1557
|
size?: Responsive<DescriptionsSize>;
|
|
1528
1558
|
cols?: Responsive<number>;
|
|
@@ -1530,20 +1560,9 @@ interface DescriptionsProps {
|
|
|
1530
1560
|
labelAlign?: Responsive<DescriptionsAlign>;
|
|
1531
1561
|
contentAlign?: Responsive<DescriptionsAlign>;
|
|
1532
1562
|
}
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
item: DescriptionItem;
|
|
1537
|
-
}
|
|
1538
|
-
declare const Description: React.FC<DescriptionProps>;
|
|
1539
|
-
|
|
1540
|
-
type NativeAttrs$1 = React.HTMLAttributes<HTMLDivElement>;
|
|
1541
|
-
type DescriptionEmptyProps = NativeAttrs$1;
|
|
1542
|
-
declare const DescriptionEmpty: react.ForwardRefExoticComponent<NativeAttrs$1 & react.RefAttributes<HTMLDivElement>>;
|
|
1543
|
-
|
|
1544
|
-
type NativeAttrs = React.HTMLAttributes<HTMLDivElement>;
|
|
1545
|
-
type DescriptionTextProps = NativeAttrs;
|
|
1546
|
-
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs & react.RefAttributes<HTMLDivElement>>;
|
|
1563
|
+
type NativeAttrs$4 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$3 | 'children'>;
|
|
1564
|
+
type DescriptionsProps = Props$3 & NativeAttrs$4;
|
|
1565
|
+
declare const Descriptions: react.ForwardRefExoticComponent<Props$3 & NativeAttrs$4 & react.RefAttributes<HTMLDivElement>>;
|
|
1547
1566
|
|
|
1548
1567
|
interface DescriptionsContextValue {
|
|
1549
1568
|
mq: ContainerMediaQuery;
|
|
@@ -1556,6 +1575,92 @@ interface DescriptionsContextValue {
|
|
|
1556
1575
|
declare const DescriptionsContext: react.Context<DescriptionsContextValue | null>;
|
|
1557
1576
|
declare const useDescriptionsContext: () => DescriptionsContextValue;
|
|
1558
1577
|
|
|
1578
|
+
type NativeAttrs$3 = React.HTMLAttributes<HTMLDivElement>;
|
|
1579
|
+
type DescriptionTextProps = NativeAttrs$3;
|
|
1580
|
+
declare const DescriptionText: react.ForwardRefExoticComponent<NativeAttrs$3 & react.RefAttributes<HTMLDivElement>>;
|
|
1581
|
+
|
|
1582
|
+
declare function reactNodeToText(node: React.ReactNode): string;
|
|
1583
|
+
|
|
1584
|
+
interface ResponsiveProps$2 {
|
|
1585
|
+
span?: Responsive<number>;
|
|
1586
|
+
order?: Responsive<number>;
|
|
1587
|
+
p?: Responsive<React.CSSProperties['padding']>;
|
|
1588
|
+
py?: Responsive<React.CSSProperties['paddingBlock']>;
|
|
1589
|
+
px?: Responsive<React.CSSProperties['paddingInline']>;
|
|
1590
|
+
pt?: Responsive<React.CSSProperties['paddingTop']>;
|
|
1591
|
+
pb?: Responsive<React.CSSProperties['paddingBottom']>;
|
|
1592
|
+
pr?: Responsive<React.CSSProperties['paddingRight']>;
|
|
1593
|
+
pl?: Responsive<React.CSSProperties['paddingLeft']>;
|
|
1594
|
+
g?: Responsive<React.CSSProperties['gap']>;
|
|
1595
|
+
gy?: Responsive<React.CSSProperties['rowGap']>;
|
|
1596
|
+
gx?: Responsive<React.CSSProperties['columnGap']>;
|
|
1597
|
+
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1598
|
+
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1599
|
+
}
|
|
1600
|
+
type Props$2 = {
|
|
1601
|
+
as?: React.ElementType;
|
|
1602
|
+
} & ResponsiveProps$2;
|
|
1603
|
+
type NativeAttrs$2 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$2>;
|
|
1604
|
+
type GridItemProps = Props$2 & NativeAttrs$2;
|
|
1605
|
+
declare const GridItem: react.ForwardRefExoticComponent<{
|
|
1606
|
+
as?: React.ElementType;
|
|
1607
|
+
} & ResponsiveProps$2 & NativeAttrs$2 & react.RefAttributes<HTMLDivElement>>;
|
|
1608
|
+
|
|
1609
|
+
interface ResponsiveProps$1 {
|
|
1610
|
+
cols?: Responsive<number>;
|
|
1611
|
+
span?: Responsive<number>;
|
|
1612
|
+
p?: Responsive<React.CSSProperties['padding']>;
|
|
1613
|
+
py?: Responsive<React.CSSProperties['paddingBlock']>;
|
|
1614
|
+
px?: Responsive<React.CSSProperties['paddingInline']>;
|
|
1615
|
+
pt?: Responsive<React.CSSProperties['paddingTop']>;
|
|
1616
|
+
pb?: Responsive<React.CSSProperties['paddingBottom']>;
|
|
1617
|
+
pr?: Responsive<React.CSSProperties['paddingRight']>;
|
|
1618
|
+
pl?: Responsive<React.CSSProperties['paddingLeft']>;
|
|
1619
|
+
g?: Responsive<React.CSSProperties['gap']>;
|
|
1620
|
+
gy?: Responsive<React.CSSProperties['rowGap']>;
|
|
1621
|
+
gx?: Responsive<React.CSSProperties['columnGap']>;
|
|
1622
|
+
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1623
|
+
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1624
|
+
}
|
|
1625
|
+
type Props$1 = {
|
|
1626
|
+
items?: GridItemProps[];
|
|
1627
|
+
} & ResponsiveProps$1;
|
|
1628
|
+
type NativeAttrs$1 = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props$1>;
|
|
1629
|
+
type GridSubProps = Props$1 & NativeAttrs$1;
|
|
1630
|
+
declare const GridSub: react.ForwardRefExoticComponent<{
|
|
1631
|
+
items?: GridItemProps[];
|
|
1632
|
+
} & ResponsiveProps$1 & NativeAttrs$1 & react.RefAttributes<HTMLDivElement>>;
|
|
1633
|
+
|
|
1634
|
+
interface ResponsiveProps {
|
|
1635
|
+
cols?: Responsive<number>;
|
|
1636
|
+
p?: Responsive<React.CSSProperties['padding']>;
|
|
1637
|
+
py?: Responsive<React.CSSProperties['paddingBlock']>;
|
|
1638
|
+
px?: Responsive<React.CSSProperties['paddingInline']>;
|
|
1639
|
+
pt?: Responsive<React.CSSProperties['paddingTop']>;
|
|
1640
|
+
pb?: Responsive<React.CSSProperties['paddingBottom']>;
|
|
1641
|
+
pr?: Responsive<React.CSSProperties['paddingRight']>;
|
|
1642
|
+
pl?: Responsive<React.CSSProperties['paddingLeft']>;
|
|
1643
|
+
g?: Responsive<React.CSSProperties['gap']>;
|
|
1644
|
+
gy?: Responsive<React.CSSProperties['rowGap']>;
|
|
1645
|
+
gx?: Responsive<React.CSSProperties['columnGap']>;
|
|
1646
|
+
justifyContent?: Responsive<React.CSSProperties['justifyContent']>;
|
|
1647
|
+
alignItems?: Responsive<React.CSSProperties['alignItems']>;
|
|
1648
|
+
}
|
|
1649
|
+
type Props = {
|
|
1650
|
+
items?: (GridItemProps | GridSubProps)[];
|
|
1651
|
+
} & ResponsiveProps;
|
|
1652
|
+
type NativeAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, keyof Props>;
|
|
1653
|
+
type GridProps = Props & NativeAttrs;
|
|
1654
|
+
declare const Grid: react.ForwardRefExoticComponent<{
|
|
1655
|
+
items?: (GridItemProps | GridSubProps)[];
|
|
1656
|
+
} & ResponsiveProps & NativeAttrs & react.RefAttributes<HTMLDivElement>>;
|
|
1657
|
+
|
|
1658
|
+
interface GridContextValue {
|
|
1659
|
+
mq: ContainerMediaQuery;
|
|
1660
|
+
}
|
|
1661
|
+
declare const GridContext: react.Context<GridContextValue | null>;
|
|
1662
|
+
declare const useGridContext: () => GridContextValue;
|
|
1663
|
+
|
|
1559
1664
|
declare const scrollToItem: (parentElement: Element, currentElement: Element) => void;
|
|
1560
1665
|
|
|
1561
1666
|
type ClassDictionary = Record<string, any>;
|
|
@@ -1575,4 +1680,4 @@ declare function formatTime(value: Date | string | number, locales?: Intl.Locale
|
|
|
1575
1680
|
declare function formatCurrency(value: number | bigint | Intl.StringNumericLiteral, currency?: string, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
|
1576
1681
|
declare function formatPercent(value: any, decimals?: number, locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
|
1577
1682
|
|
|
1578
|
-
export { Accordion, type AccordionArrow, AccordionBody, type AccordionBodyProps, type AccordionColor, AccordionContent, type AccordionContentProps, AccordionContext, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Autocomplete, type AutocompleteItem, type AutocompleteKeyField, type AutocompleteMultipleProps, type AutocompleteProps, type AutocompleteSingleProps, Backdrop, type BackdropPlacement, type BackdropProps, type BackdropVariant, Badge, type BadgeProps, Button, type ButtonColor, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupDirection, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardTitle, type CardTitleProps, Checkbox, CheckboxGroup, type CheckboxGroupAlignment, type CheckboxGroupContextValue, type CheckboxGroupDirection, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValue, Chip, type ChipProps, Collapse, CollapseContent, type CollapseContentProps, CollapseContext, type CollapseContextValue, type CollapseProps, CollapseTrigger, type CollapseTriggerProps, type ColorScheme, type ContainerBreakpoints, ContainerMediaQuery, DataList, type DataListItem, type DataListKeyField, type DataListMultipleProps, type DataListProps, type DataListSingleProps, Description, DescriptionEmpty, type DescriptionEmptyProps, type
|
|
1683
|
+
export { Accordion, type AccordionArrow, AccordionBody, type AccordionBodyProps, type AccordionColor, AccordionContent, type AccordionContentProps, AccordionContext, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionVariant, Autocomplete, type AutocompleteItem, type AutocompleteKeyField, type AutocompleteMultipleProps, type AutocompleteProps, type AutocompleteSingleProps, Backdrop, type BackdropPlacement, type BackdropProps, type BackdropVariant, Badge, type BadgeProps, Button, type ButtonColor, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupDirection, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, CardSubtitle, type CardSubtitleProps, CardTitle, type CardTitleProps, Checkbox, CheckboxGroup, type CheckboxGroupAlignment, type CheckboxGroupContextValue, type CheckboxGroupDirection, type CheckboxGroupProps, type CheckboxLabelPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValue, Chip, type ChipProps, Collapse, CollapseContent, type CollapseContentProps, CollapseContext, type CollapseContextValue, type CollapseProps, CollapseTrigger, type CollapseTriggerProps, type ColorScheme, type ContainerBreakpoints, ContainerMediaQuery, DataList, type DataListItem, type DataListKeyField, type DataListMultipleProps, type DataListProps, type DataListSingleProps, Description, DescriptionEmpty, type DescriptionEmptyProps, type DescriptionProps, DescriptionText, type DescriptionTextProps, Descriptions, type DescriptionsAlign, DescriptionsContext, type DescriptionsContextValue, type DescriptionsLayout, type DescriptionsProps, type DescriptionsSize, type Disclosure, Divider, type DividerProps, Drawer, type DrawerBackdrop, DrawerBody, type DrawerBodyProps, type DrawerClose, DrawerContext, type DrawerContextValue, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerPosition, type DrawerProps, type DrawerSize, Field, type FieldProps, type FormatBooleanOptions, type FormatCurrencyOptions, type FormatDateOptions, type FormatNumberOptions, type FormatOptions, type FormatPercentOptions, type FormatStringOptions, Grid, GridContext, type GridContextValue, GridItem, type GridItemProps, type GridProps, GridSub, type GridSubProps, Icon, type IconColor, type IconProps, type IconSize, type InfiniteData, type InfiniteQueryFunction, type InfiniteQueryOptions, type InfiniteQueryRefetchOptions, type InputColor, InputGroup, type InputGroupProps, type InputSize, type InputVariant, List, ListGroup, type ListGroupProps, ListItem, type ListItemProps, type ListProps, type ListSize, ListSubheader, type ListSubheaderProps, type MediaQuery, Menu, MenuContext, type MenuContextValue, MenuGroup, type MenuGroupItemType, type MenuGroupProps, MenuItem, type MenuItemProps, type MenuItemType, type MenuProps, MenuSubmenu, type MenuSubmenuProps, MenuValueContext, Modal, type ModalBackdrop, ModalBody, type ModalBodyProps, type ModalClose, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalPlacement, type ModalProps, type ModalScrollBehavior, type ModalSize, type MutationError, type MutationFunction, type MutationOK, type MutationResult, MutationStatus, NavRail, NavRailItem, type NavRailItemProps, type NavRailPlacement, type NavRailProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, type PortalProps, type QueryFunction, QueryStatus, Radio, RadioGroup, type RadioGroupAlignment, type RadioGroupContextValue, type RadioGroupDirection, type RadioGroupProps, type RadioProps, type RadioSize, type RadioValue, type ReactRef, type Resize, type Responsive, Result, type ResultProps, type ResultStatus, type ScrollAlignment, ScrollArea, type ScrollAreaProps, type ScrollBehavior, type ScrollToOptions, Select, type SelectItem, type SelectKeyField, type SelectMultipleProps, type SelectProps, type SelectSingleProps, Swipe, SwipeItem, type SwipeItemProps, type SwipeProps, Switch, type SwitchProps, type SwitchSize, Tab, type TabProps, Tabs, type TabsAlignment, type TabsProps, type TabsVariant, TextInput, type TextInputProps, Toolbar, type ToolbarProps, type ToolbarSize, Transition, type TransitionProps, type UseContainerMediaQueryOptions, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, type UseResizeObserverOptions, type VirtualItem, type Virtualizer, type VirtualizerOptions, assignRef, breakpointsMap, clsx, dateFormat, defaultBreakpoints, formatCurrency, formatDate, formatDateTime, formatPercent, formatShortDateTime, formatTime, getOpenValuesByPathname, hasResizeObserver, mergeRefs, reactNodeToText, scrollToItem, useAccordion, useAccordionItem, useButtonGroup, useCheckboxGroup, useCollapse, useContainerMediaQuery, useDebounce, useDescriptionsContext, useDisclosure, useDrawer, useEffectEvent, useElementSize, useFormat, useGridContext, useInfiniteQuery, useLocalStorage, useMediaQuery, useMenu, useMenuItemValue, useModal, useMutation, useOnClickOutside, usePopover, usePrevious, useQuery, useRadioGroup, useResizeObserver, useStep, useValueEffect, useVirtualizer };
|