@helpwave/hightide 0.6.5 → 0.6.6
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 +690 -354
- package/dist/index.d.ts +690 -354
- package/dist/index.js +4767 -3125
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4747 -3140
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +93 -85
- package/dist/style/uncompiled/theme/components/dialog.css +5 -4
- package/dist/style/uncompiled/theme/components/index.css +1 -0
- package/dist/style/uncompiled/theme/components/pop-up.css +11 -0
- package/dist/style/uncompiled/theme/components/table.css +3 -7
- package/dist/style/uncompiled/theme/components/tooltip.css +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { HTMLAttributes, SVGProps, CSSProperties, ReactNode, PropsWithChildren, RefObject, Dispatch, SetStateAction, ButtonHTMLAttributes, InputHTMLAttributes, ComponentProps, TextareaHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
3
|
+
import react__default, { HTMLAttributes, SVGProps, CSSProperties, ReactNode, PropsWithChildren, RefObject, Dispatch, SetStateAction, ButtonHTMLAttributes, InputHTMLAttributes, ComponentProps, TableHTMLAttributes, TextareaHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
4
4
|
import Link from 'next/link';
|
|
5
|
-
import {
|
|
5
|
+
import { FilterFn, ColumnDef, Table, PaginationState, Row, RowData, Column, InitialTableState, TableState, TableOptions, SortDirection, RowSelectionState, ColumnSizingState } from '@tanstack/react-table';
|
|
6
6
|
import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
|
|
7
7
|
|
|
8
8
|
type Size = 'sm' | 'md' | 'lg';
|
|
@@ -361,6 +361,32 @@ type FormFieldResult<T> = {
|
|
|
361
361
|
};
|
|
362
362
|
declare function useFormField<T extends FormValue, K extends keyof T>(key: K, { triggerUpdate }: UseFormFieldOptions): FormFieldResult<T[K]> | null;
|
|
363
363
|
|
|
364
|
+
type FloatingElementAlignment = 'beforeStart' | 'afterStart' | 'center' | 'beforeEnd' | 'afterEnd';
|
|
365
|
+
type CalculatePositionOptions = {
|
|
366
|
+
verticalAlignment?: FloatingElementAlignment;
|
|
367
|
+
horizontalAlignment?: FloatingElementAlignment;
|
|
368
|
+
screenPadding?: number;
|
|
369
|
+
gap?: number;
|
|
370
|
+
};
|
|
371
|
+
type UseAnchoredPositionOptions = CalculatePositionOptions & {
|
|
372
|
+
isPolling?: boolean;
|
|
373
|
+
pollingInterval?: number;
|
|
374
|
+
};
|
|
375
|
+
type UseAnchoredPostitionProps = UseAnchoredPositionOptions & {
|
|
376
|
+
container: RefObject<HTMLElement>;
|
|
377
|
+
anchor: RefObject<HTMLElement>;
|
|
378
|
+
window?: RefObject<HTMLElement>;
|
|
379
|
+
active?: boolean;
|
|
380
|
+
};
|
|
381
|
+
declare function useAnchoredPosition({ active, window: windowRef, anchor: anchorRef, container: containerRef, isPolling, pollingInterval, verticalAlignment, horizontalAlignment, screenPadding, gap, }: UseAnchoredPostitionProps): CSSProperties;
|
|
382
|
+
|
|
383
|
+
type BackgroundOverlayProps = HTMLAttributes<HTMLDivElement>;
|
|
384
|
+
interface AnchoredFloatingContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
385
|
+
anchor?: RefObject<HTMLElement>;
|
|
386
|
+
options?: UseAnchoredPositionOptions;
|
|
387
|
+
}
|
|
388
|
+
declare const AnchoredFloatingContainer: react.ForwardRefExoticComponent<AnchoredFloatingContainerProps & react.RefAttributes<HTMLDivElement>>;
|
|
389
|
+
|
|
364
390
|
interface CarouselSlideProps extends HTMLAttributes<HTMLDivElement> {
|
|
365
391
|
isSelected: boolean;
|
|
366
392
|
index: number;
|
|
@@ -410,7 +436,16 @@ type DrawerProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
410
436
|
backgroundClassName?: string;
|
|
411
437
|
onClose: () => void;
|
|
412
438
|
};
|
|
413
|
-
declare const Drawer:
|
|
439
|
+
declare const Drawer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
440
|
+
isOpen: boolean;
|
|
441
|
+
alignment: DrawerAligment;
|
|
442
|
+
titleElement: ReactNode;
|
|
443
|
+
description: ReactNode;
|
|
444
|
+
isAnimated?: boolean;
|
|
445
|
+
containerClassName?: string;
|
|
446
|
+
backgroundClassName?: string;
|
|
447
|
+
onClose: () => void;
|
|
448
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
414
449
|
|
|
415
450
|
type ExpandableRootProps = HTMLAttributes<HTMLDivElement> & {
|
|
416
451
|
isExpanded?: boolean;
|
|
@@ -486,58 +521,6 @@ type FAQSectionProps = {
|
|
|
486
521
|
};
|
|
487
522
|
declare const FAQSection: ({ entries, }: FAQSectionProps) => react_jsx_runtime.JSX.Element;
|
|
488
523
|
|
|
489
|
-
type FloatingElementAlignment = 'beforeStart' | 'afterStart' | 'center' | 'beforeEnd' | 'afterEnd';
|
|
490
|
-
type CalculatePositionOptions = {
|
|
491
|
-
verticalAlignment?: FloatingElementAlignment;
|
|
492
|
-
horizontalAlignment?: FloatingElementAlignment;
|
|
493
|
-
screenPadding?: number;
|
|
494
|
-
gap?: number;
|
|
495
|
-
};
|
|
496
|
-
type UseFloatingElementOptions = CalculatePositionOptions & {
|
|
497
|
-
isPolling?: boolean;
|
|
498
|
-
pollingInterval?: number;
|
|
499
|
-
};
|
|
500
|
-
type UseFloatingElementProps = UseFloatingElementOptions & {
|
|
501
|
-
containerRef: RefObject<HTMLElement>;
|
|
502
|
-
anchorRef: RefObject<HTMLElement>;
|
|
503
|
-
windowRef?: RefObject<HTMLElement>;
|
|
504
|
-
active?: boolean;
|
|
505
|
-
};
|
|
506
|
-
declare function useFloatingElement({ active, windowRef, anchorRef, containerRef, isPolling, pollingInterval, verticalAlignment, horizontalAlignment, screenPadding, gap, }: UseFloatingElementProps): CSSProperties;
|
|
507
|
-
|
|
508
|
-
type FloatingContainerProps = HTMLAttributes<HTMLDivElement> & UseFloatingElementOptions & {
|
|
509
|
-
anchor?: RefObject<HTMLElement>;
|
|
510
|
-
/**
|
|
511
|
-
* Polls the position of the anchor every 100ms
|
|
512
|
-
*
|
|
513
|
-
* Use sparingly
|
|
514
|
-
*/
|
|
515
|
-
backgroundOverlay?: ReactNode;
|
|
516
|
-
};
|
|
517
|
-
/**
|
|
518
|
-
* A floating container that aligns to its anchor
|
|
519
|
-
*
|
|
520
|
-
* Notes:
|
|
521
|
-
* - to hide it use the hidden attribute as other means break the functionality
|
|
522
|
-
*/
|
|
523
|
-
declare const FloatingContainer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
524
|
-
verticalAlignment?: FloatingElementAlignment;
|
|
525
|
-
horizontalAlignment?: FloatingElementAlignment;
|
|
526
|
-
screenPadding?: number;
|
|
527
|
-
gap?: number;
|
|
528
|
-
} & {
|
|
529
|
-
isPolling?: boolean;
|
|
530
|
-
pollingInterval?: number;
|
|
531
|
-
} & {
|
|
532
|
-
anchor?: RefObject<HTMLElement>;
|
|
533
|
-
/**
|
|
534
|
-
* Polls the position of the anchor every 100ms
|
|
535
|
-
*
|
|
536
|
-
* Use sparingly
|
|
537
|
-
*/
|
|
538
|
-
backgroundOverlay?: ReactNode;
|
|
539
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
540
|
-
|
|
541
524
|
interface InfiniteScrollProps {
|
|
542
525
|
itemCount: number;
|
|
543
526
|
/** How many items to keep in the DOM at once (default: 30) */
|
|
@@ -690,6 +673,81 @@ type VisibilityProps = PropsWithChildren & {
|
|
|
690
673
|
};
|
|
691
674
|
declare function Visibility({ children, isVisible }: VisibilityProps): react_jsx_runtime.JSX.Element;
|
|
692
675
|
|
|
676
|
+
type DialogPosition = 'top' | 'center' | 'none';
|
|
677
|
+
type DialogProps = HTMLAttributes<HTMLDivElement> & {
|
|
678
|
+
/** Whether the dialog is currently open */
|
|
679
|
+
isOpen?: boolean;
|
|
680
|
+
/** Title of the Dialog used for accessibility */
|
|
681
|
+
titleElement: ReactNode;
|
|
682
|
+
/** Description of the Dialog used for accessibility */
|
|
683
|
+
description: ReactNode;
|
|
684
|
+
/** Callback when the dialog tries to close */
|
|
685
|
+
onClose?: () => void;
|
|
686
|
+
/** Styling for the background */
|
|
687
|
+
backgroundClassName?: string;
|
|
688
|
+
/** If true shows a close button and sends onClose on background clicks */
|
|
689
|
+
isModal?: boolean;
|
|
690
|
+
position?: DialogPosition;
|
|
691
|
+
isAnimated?: boolean;
|
|
692
|
+
containerClassName?: string;
|
|
693
|
+
};
|
|
694
|
+
/**
|
|
695
|
+
* A generic dialog window which is managed by its parent
|
|
696
|
+
*/
|
|
697
|
+
declare const Dialog: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
698
|
+
/** Whether the dialog is currently open */
|
|
699
|
+
isOpen?: boolean;
|
|
700
|
+
/** Title of the Dialog used for accessibility */
|
|
701
|
+
titleElement: ReactNode;
|
|
702
|
+
/** Description of the Dialog used for accessibility */
|
|
703
|
+
description: ReactNode;
|
|
704
|
+
/** Callback when the dialog tries to close */
|
|
705
|
+
onClose?: () => void;
|
|
706
|
+
/** Styling for the background */
|
|
707
|
+
backgroundClassName?: string;
|
|
708
|
+
/** If true shows a close button and sends onClose on background clicks */
|
|
709
|
+
isModal?: boolean;
|
|
710
|
+
position?: DialogPosition;
|
|
711
|
+
isAnimated?: boolean;
|
|
712
|
+
containerClassName?: string;
|
|
713
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
714
|
+
|
|
715
|
+
type DialogContextType = {
|
|
716
|
+
isOpen: boolean;
|
|
717
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
718
|
+
isModal: boolean;
|
|
719
|
+
};
|
|
720
|
+
declare const DialogContext: react.Context<DialogContextType>;
|
|
721
|
+
declare function useDialogContext(): DialogContextType;
|
|
722
|
+
|
|
723
|
+
interface DialogOpenerWrapperBag {
|
|
724
|
+
open: () => void;
|
|
725
|
+
close: () => void;
|
|
726
|
+
isOpen: boolean;
|
|
727
|
+
toggleOpen: () => void;
|
|
728
|
+
props: {
|
|
729
|
+
'onClick': () => void;
|
|
730
|
+
'aria-haspopup': 'dialog';
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
interface DialogOpenerWrapperProps {
|
|
734
|
+
children: (props: DialogOpenerWrapperBag) => ReactNode;
|
|
735
|
+
}
|
|
736
|
+
declare function DialogOpenerWrapper({ children }: DialogOpenerWrapperProps): ReactNode;
|
|
737
|
+
interface DialogOpenerPassingProps {
|
|
738
|
+
'children'?: React.ReactNode;
|
|
739
|
+
'onClick'?: React.MouseEventHandler<HTMLButtonElement>;
|
|
740
|
+
'aria-haspopup'?: 'dialog';
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
interface DialogRootProps extends PropsWithChildren {
|
|
744
|
+
isOpen?: boolean;
|
|
745
|
+
onIsOpenChange?: (isOpen: boolean) => void;
|
|
746
|
+
initialIsOpen?: boolean;
|
|
747
|
+
isModal?: boolean;
|
|
748
|
+
}
|
|
749
|
+
declare function DialogRoot({ children, isOpen: controlledIsOpen, onIsOpenChange, initialIsOpen, isModal, }: DialogRootProps): react_jsx_runtime.JSX.Element;
|
|
750
|
+
|
|
693
751
|
/**
|
|
694
752
|
* The different sizes for a button
|
|
695
753
|
*/
|
|
@@ -737,29 +795,6 @@ declare const Button: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLB
|
|
|
737
795
|
allowClickEventPropagation?: boolean;
|
|
738
796
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
739
797
|
|
|
740
|
-
type DialogPosition = 'top' | 'center' | 'none';
|
|
741
|
-
type DialogProps = HTMLAttributes<HTMLDivElement> & {
|
|
742
|
-
/** Whether the dialog is currently open */
|
|
743
|
-
isOpen: boolean;
|
|
744
|
-
/** Title of the Dialog used for accessibility */
|
|
745
|
-
titleElement: ReactNode;
|
|
746
|
-
/** Description of the Dialog used for accessibility */
|
|
747
|
-
description: ReactNode;
|
|
748
|
-
/** Callback when the dialog tries to close */
|
|
749
|
-
onClose?: () => void;
|
|
750
|
-
/** Styling for the background */
|
|
751
|
-
backgroundClassName?: string;
|
|
752
|
-
/** If true shows a close button and sends onClose on background clicks */
|
|
753
|
-
isModal?: boolean;
|
|
754
|
-
position?: DialogPosition;
|
|
755
|
-
isAnimated?: boolean;
|
|
756
|
-
containerClassName?: string;
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* A generic dialog window which is managed by its parent
|
|
760
|
-
*/
|
|
761
|
-
declare const Dialog: ({ children, isOpen, titleElement, description, isModal, onClose, backgroundClassName, position, containerClassName, ...props }: PropsWithChildren<DialogProps>) => react.ReactPortal;
|
|
762
|
-
|
|
763
798
|
type ConfirmDialogType = 'positive' | 'negative' | 'neutral' | 'primary';
|
|
764
799
|
type ButtonOverwriteType = {
|
|
765
800
|
text?: string;
|
|
@@ -937,17 +972,17 @@ declare const NavigationItemList: ({ items, ...restProps }: NavigationItemListPr
|
|
|
937
972
|
type NavigationProps = NavigationItemListProps;
|
|
938
973
|
declare const Navigation: ({ ...props }: NavigationProps) => react_jsx_runtime.JSX.Element;
|
|
939
974
|
|
|
940
|
-
|
|
975
|
+
interface PaginationProps {
|
|
941
976
|
pageIndex: number;
|
|
942
977
|
pageCount: number;
|
|
943
|
-
|
|
978
|
+
onPageIndexChanged?: (pageIndex: number) => void;
|
|
944
979
|
className?: string;
|
|
945
980
|
style?: CSSProperties;
|
|
946
|
-
}
|
|
981
|
+
}
|
|
947
982
|
/**
|
|
948
983
|
* A Component showing the pagination allowing first, before, next and last page navigation
|
|
949
984
|
*/
|
|
950
|
-
declare const Pagination: ({ pageIndex, pageCount,
|
|
985
|
+
declare const Pagination: ({ pageIndex, pageCount, onPageIndexChanged, className, style, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
951
986
|
|
|
952
987
|
type StepperState = {
|
|
953
988
|
currentStep: number;
|
|
@@ -969,74 +1004,415 @@ type StepperBarProps = {
|
|
|
969
1004
|
declare const StepperBar: ({ state, numberOfSteps, disabledSteps, onChange, onFinish, finishText, showDots, className, }: StepperBarProps) => react_jsx_runtime.JSX.Element;
|
|
970
1005
|
declare const StepperBarUncontrolled: ({ state, onChange, ...props }: StepperBarProps) => react_jsx_runtime.JSX.Element;
|
|
971
1006
|
|
|
1007
|
+
type UseFocusTrapProps = {
|
|
1008
|
+
container: RefObject<HTMLElement>;
|
|
1009
|
+
active: boolean;
|
|
1010
|
+
initialFocus?: RefObject<HTMLElement>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Whether to focus the first element when the initialFocus isn't provided
|
|
1013
|
+
*
|
|
1014
|
+
* Focuses the container instead
|
|
1015
|
+
*/
|
|
1016
|
+
focusFirst?: boolean;
|
|
1017
|
+
};
|
|
1018
|
+
declare const useFocusTrap: ({ container, active, initialFocus, focusFirst, }: UseFocusTrapProps) => void;
|
|
1019
|
+
|
|
1020
|
+
interface UseOutsideClickOptions {
|
|
1021
|
+
refs: RefObject<HTMLElement>[];
|
|
1022
|
+
active?: boolean;
|
|
1023
|
+
}
|
|
1024
|
+
interface UseOutsideClickHandlers {
|
|
1025
|
+
onOutsideClick: (event: MouseEvent | TouchEvent) => void;
|
|
1026
|
+
}
|
|
1027
|
+
interface UseOutsideClickProps extends UseOutsideClickOptions, UseOutsideClickHandlers {
|
|
1028
|
+
}
|
|
1029
|
+
declare const useOutsideClick: ({ refs, onOutsideClick, active }: UseOutsideClickProps) => void;
|
|
1030
|
+
|
|
1031
|
+
interface PopUpProps extends AnchoredFloatingContainerProps, Partial<UseOutsideClickHandlers> {
|
|
1032
|
+
isOpen?: boolean;
|
|
1033
|
+
focusTrapOptions?: Omit<UseFocusTrapProps, 'container'>;
|
|
1034
|
+
outsideClickOptions?: UseOutsideClickOptions;
|
|
1035
|
+
onClose?: () => void;
|
|
1036
|
+
forceMount?: boolean;
|
|
1037
|
+
anchorExcludedFromOutsideClick?: boolean;
|
|
1038
|
+
}
|
|
1039
|
+
declare const PopUp: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
1040
|
+
|
|
1041
|
+
type PopUpContextType = {
|
|
1042
|
+
isOpen: boolean;
|
|
1043
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
1044
|
+
popUpId: string;
|
|
1045
|
+
triggerId: string;
|
|
1046
|
+
triggerRef: RefObject<HTMLElement> | null;
|
|
1047
|
+
setTriggerRef: (ref: RefObject<HTMLElement> | null) => void;
|
|
1048
|
+
};
|
|
1049
|
+
declare const PopUpContext: react.Context<PopUpContextType>;
|
|
1050
|
+
declare function usePopUpContext(): PopUpContextType;
|
|
1051
|
+
|
|
1052
|
+
interface PopUpOpenerBag<T extends HTMLElement> {
|
|
1053
|
+
open: () => void;
|
|
1054
|
+
close: () => void;
|
|
1055
|
+
isOpen: boolean;
|
|
1056
|
+
toggleOpen: () => void;
|
|
1057
|
+
props: {
|
|
1058
|
+
'id': string;
|
|
1059
|
+
'onClick': () => void;
|
|
1060
|
+
'aria-haspopup': 'dialog';
|
|
1061
|
+
'aria-controls': string;
|
|
1062
|
+
'aria-expanded': boolean;
|
|
1063
|
+
'ref': RefObject<T>;
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
interface PopUpOpenerProps<T extends HTMLElement> {
|
|
1067
|
+
children: (props: PopUpOpenerBag<T>) => ReactNode;
|
|
1068
|
+
}
|
|
1069
|
+
declare function PopUpOpener<T extends HTMLElement = HTMLButtonElement>({ children }: PopUpOpenerProps<T>): ReactNode;
|
|
1070
|
+
|
|
1071
|
+
interface PopUpRootProps extends PropsWithChildren {
|
|
1072
|
+
isOpen?: boolean;
|
|
1073
|
+
onIsOpenChange?: (isOpen: boolean) => void;
|
|
1074
|
+
initialIsOpen?: boolean;
|
|
1075
|
+
popUpId?: string;
|
|
1076
|
+
triggerId?: string;
|
|
1077
|
+
}
|
|
1078
|
+
declare function PopUpRoot({ children, isOpen: controlledIsOpen, onIsOpenChange, initialIsOpen, popUpId: popUpIdOverwrite, triggerId: triggerIdOverwrite, }: PopUpRootProps): react_jsx_runtime.JSX.Element;
|
|
1079
|
+
|
|
972
1080
|
type FillerCellProps = HTMLAttributes<HTMLDivElement>;
|
|
973
1081
|
declare const FillerCell: ({ ...props }: FillerCellProps) => react_jsx_runtime.JSX.Element;
|
|
974
1082
|
|
|
975
|
-
declare const
|
|
976
|
-
|
|
977
|
-
|
|
1083
|
+
declare const TableBody: react__default.NamedExoticComponent<object>;
|
|
1084
|
+
|
|
1085
|
+
type TableCellProps = PropsWithChildren<{
|
|
1086
|
+
className?: string;
|
|
1087
|
+
}>;
|
|
1088
|
+
declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
|
|
1089
|
+
|
|
1090
|
+
declare const TableFilterOperator: {
|
|
1091
|
+
readonly text: readonly ["textEquals", "textNotEquals", "textNotWhitespace", "textContains", "textNotContains", "textStartsWith", "textEndsWith"];
|
|
1092
|
+
readonly number: readonly ["numberEquals", "numberNotEquals", "numberGreaterThan", "numberGreaterThanOrEqual", "numberLessThan", "numberLessThanOrEqual", "numberBetween", "numberNotBetween"];
|
|
1093
|
+
readonly date: readonly ["dateEquals", "dateNotEquals", "dateGreaterThan", "dateGreaterThanOrEqual", "dateLessThan", "dateLessThanOrEqual", "dateBetween", "dateNotBetween"];
|
|
1094
|
+
readonly boolean: readonly ["booleanIsTrue", "booleanIsFalse"];
|
|
1095
|
+
readonly tags: readonly ["tagsEquals", "tagsNotEquals", "tagsContains", "tagsNotContains"];
|
|
1096
|
+
readonly generic: readonly ["undefined", "notUndefined"];
|
|
1097
|
+
};
|
|
1098
|
+
type TableGenericFilter = (typeof TableFilterOperator.generic)[number];
|
|
1099
|
+
type TableTextFilter = (typeof TableFilterOperator.text)[number] | TableGenericFilter;
|
|
1100
|
+
type TableNumberFilter = (typeof TableFilterOperator.number)[number] | TableGenericFilter;
|
|
1101
|
+
type TableDateFilter = (typeof TableFilterOperator.date)[number] | TableGenericFilter;
|
|
1102
|
+
type TableBooleanFilter = (typeof TableFilterOperator.boolean)[number] | TableGenericFilter;
|
|
1103
|
+
type TableTagsFilter = (typeof TableFilterOperator.tags)[number] | TableGenericFilter;
|
|
1104
|
+
type TableFilterType = TableTextFilter | TableNumberFilter | TableDateFilter | TableBooleanFilter | TableTagsFilter | TableGenericFilter;
|
|
1105
|
+
type TableFilterCategory = keyof typeof TableFilterOperator;
|
|
1106
|
+
declare function isTableFilterCategory(value: unknown): value is TableFilterCategory;
|
|
1107
|
+
type TextFilterParameter = {
|
|
1108
|
+
searchText?: string;
|
|
1109
|
+
};
|
|
1110
|
+
type NumberFilterParameter = {
|
|
1111
|
+
compareValue?: number;
|
|
1112
|
+
min?: number;
|
|
1113
|
+
max?: number;
|
|
1114
|
+
};
|
|
1115
|
+
type DateFilterParameter = {
|
|
1116
|
+
compareDate?: Date;
|
|
1117
|
+
min?: Date;
|
|
1118
|
+
max?: Date;
|
|
1119
|
+
};
|
|
1120
|
+
type BooleanFilterParameter = Record<string, never>;
|
|
1121
|
+
type TagsFilterParameter = {
|
|
1122
|
+
searchTags?: unknown[];
|
|
1123
|
+
};
|
|
1124
|
+
type GenericFilterParameter = Record<string, never>;
|
|
1125
|
+
type TextFilterValue = {
|
|
1126
|
+
operator: TableTextFilter;
|
|
1127
|
+
parameter: TextFilterParameter;
|
|
1128
|
+
};
|
|
1129
|
+
type NumberFilterValue = {
|
|
1130
|
+
operator: TableNumberFilter;
|
|
1131
|
+
parameter: NumberFilterParameter;
|
|
1132
|
+
};
|
|
1133
|
+
type DateFilterValue = {
|
|
1134
|
+
operator: TableDateFilter;
|
|
1135
|
+
parameter: DateFilterParameter;
|
|
1136
|
+
};
|
|
1137
|
+
type BooleanFilterValue = {
|
|
1138
|
+
operator: TableBooleanFilter;
|
|
1139
|
+
parameter: BooleanFilterParameter;
|
|
1140
|
+
};
|
|
1141
|
+
type TagsFilterValue = {
|
|
1142
|
+
operator: TableTagsFilter;
|
|
1143
|
+
parameter: TagsFilterParameter;
|
|
1144
|
+
};
|
|
1145
|
+
type GenericFilterValue = {
|
|
1146
|
+
operator: TableGenericFilter;
|
|
1147
|
+
parameter: GenericFilterParameter;
|
|
1148
|
+
};
|
|
1149
|
+
type TableFilterValue = TextFilterValue | NumberFilterValue | DateFilterValue | BooleanFilterValue | TagsFilterValue | GenericFilterValue;
|
|
1150
|
+
declare const TableFilter: {
|
|
1151
|
+
text: FilterFn<unknown>;
|
|
1152
|
+
number: FilterFn<unknown>;
|
|
1153
|
+
date: FilterFn<unknown>;
|
|
1154
|
+
boolean: FilterFn<unknown>;
|
|
1155
|
+
tags: FilterFn<unknown>;
|
|
1156
|
+
generic: FilterFn<unknown>;
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
type TableColumnProps<T> = ColumnDef<T> & {
|
|
1160
|
+
filterType?: TableFilterCategory;
|
|
1161
|
+
};
|
|
1162
|
+
declare const TableColumn: <T>(props: TableColumnProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1163
|
+
|
|
1164
|
+
interface TableColumnPickerProps extends PopUpProps {
|
|
1165
|
+
}
|
|
1166
|
+
declare const TableColumnPicker: ({ ...props }: TableColumnPickerProps) => react_jsx_runtime.JSX.Element;
|
|
1167
|
+
|
|
1168
|
+
type TableBodyContextType<T> = {
|
|
1169
|
+
table: Table<T>;
|
|
1170
|
+
columns: ColumnDef<T>[];
|
|
1171
|
+
data: T[];
|
|
1172
|
+
pagination: PaginationState;
|
|
1173
|
+
isUsingFillerRows: boolean;
|
|
1174
|
+
fillerRow: (columnId: string, table: Table<T>) => ReactNode;
|
|
1175
|
+
onRowClick: (row: Row<T>, table: Table<T>) => void;
|
|
1176
|
+
};
|
|
1177
|
+
declare const TableBodyContext: react.Context<TableBodyContextType<any>>;
|
|
1178
|
+
declare const useTableBodyContext: <T>() => TableBodyContextType<T>;
|
|
1179
|
+
type TableColumnDefinitionContextType<T> = {
|
|
1180
|
+
table: Table<T>;
|
|
1181
|
+
registerColumn: (column: ColumnDef<T>) => () => void;
|
|
1182
|
+
};
|
|
1183
|
+
declare const TableColumnDefinitionContext: react.Context<TableColumnDefinitionContextType<any>>;
|
|
1184
|
+
declare const useTableColumnDefinitionContext: <T>() => TableColumnDefinitionContextType<T>;
|
|
1185
|
+
type TableHeaderContextType<T> = {
|
|
1186
|
+
table: Table<T>;
|
|
1187
|
+
sizeVars: Record<string, number>;
|
|
1188
|
+
};
|
|
1189
|
+
declare const TableHeaderContext: react.Context<TableHeaderContextType<any>>;
|
|
1190
|
+
declare const useTableHeaderContext: <T>() => TableHeaderContextType<T>;
|
|
1191
|
+
type TableContainerContextType<T> = {
|
|
1192
|
+
table: Table<T>;
|
|
1193
|
+
containerRef: RefObject<HTMLDivElement>;
|
|
1194
|
+
};
|
|
1195
|
+
declare const TableContainerContext: react.Context<TableContainerContextType<any>>;
|
|
1196
|
+
declare const useTableContainerContext: <T>() => TableContainerContextType<T>;
|
|
1197
|
+
|
|
1198
|
+
declare module '@tanstack/react-table' {
|
|
1199
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1200
|
+
className?: string;
|
|
1201
|
+
filterData?: {
|
|
1202
|
+
tags?: {
|
|
1203
|
+
tag: string;
|
|
1204
|
+
label: ReactNode;
|
|
1205
|
+
}[];
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
interface TableMeta<TData> {
|
|
1209
|
+
headerRowClassName?: string;
|
|
1210
|
+
bodyRowClassName?: ((value: TData) => string) | string;
|
|
1211
|
+
}
|
|
1212
|
+
interface FilterFns {
|
|
1213
|
+
text: FilterFn<unknown>;
|
|
1214
|
+
number: FilterFn<unknown>;
|
|
1215
|
+
date: FilterFn<unknown>;
|
|
1216
|
+
boolean: FilterFn<unknown>;
|
|
1217
|
+
tags: FilterFn<unknown>;
|
|
1218
|
+
generic: FilterFn<unknown>;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
interface TableDisplayProps<T> extends TableHTMLAttributes<HTMLTableElement> {
|
|
1223
|
+
table?: Table<T>;
|
|
1224
|
+
containerProps?: Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
1225
|
+
}
|
|
1226
|
+
/**
|
|
1227
|
+
* The standard table
|
|
1228
|
+
*/
|
|
1229
|
+
declare const TableDisplay: <T>({ children, containerProps, ...props }: TableDisplayProps<T>) => react_jsx_runtime.JSX.Element;
|
|
978
1230
|
|
|
979
|
-
type TableFilterType = 'text' | 'range' | 'dateRange';
|
|
980
1231
|
type TableFilterButtonProps<T = unknown> = {
|
|
981
|
-
filterType:
|
|
1232
|
+
filterType: TableFilterCategory;
|
|
982
1233
|
column: Column<T>;
|
|
983
1234
|
};
|
|
984
1235
|
declare const TableFilterButton: <T>({ filterType, column, }: TableFilterButtonProps<T>) => react_jsx_runtime.JSX.Element;
|
|
985
1236
|
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1237
|
+
interface TableFilterBaseProps<T extends TableFilterValue> {
|
|
1238
|
+
columnId: string;
|
|
1239
|
+
filterValue?: T | undefined;
|
|
1240
|
+
onFilterValueChange: (value: T | undefined) => void;
|
|
1241
|
+
}
|
|
1242
|
+
type OperatorLabelProps = {
|
|
1243
|
+
operator: TableFilterType;
|
|
1244
|
+
};
|
|
1245
|
+
declare const OperatorLabel: ({ operator }: OperatorLabelProps) => react_jsx_runtime.JSX.Element;
|
|
1246
|
+
type TextFilterProps = TableFilterBaseProps<TextFilterValue>;
|
|
1247
|
+
declare const TextFilter: ({ filterValue, onFilterValueChange }: TextFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1248
|
+
type NumberFilterProps = TableFilterBaseProps<NumberFilterValue>;
|
|
1249
|
+
declare const NumberFilter: ({ filterValue, onFilterValueChange }: NumberFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1250
|
+
type DateFilterProps = TableFilterBaseProps<DateFilterValue>;
|
|
1251
|
+
declare const DateFilter: ({ filterValue, onFilterValueChange }: DateFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1252
|
+
type BooleanFilterProps = TableFilterBaseProps<BooleanFilterValue>;
|
|
1253
|
+
declare const BooleanFilter: ({ filterValue, onFilterValueChange }: BooleanFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1254
|
+
type TagsFilterProps = TableFilterBaseProps<TagsFilterValue>;
|
|
1255
|
+
declare const TagsFilter: ({ columnId, filterValue, onFilterValueChange }: TagsFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1256
|
+
type GenericFilterProps = TableFilterBaseProps<GenericFilterValue>;
|
|
1257
|
+
declare const GenericFilter: ({ filterValue, onFilterValueChange }: GenericFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1258
|
+
interface TableFilterContentProps extends TableFilterBaseProps<TableFilterValue> {
|
|
1259
|
+
filterType: TableFilterCategory;
|
|
1260
|
+
}
|
|
1261
|
+
declare const TableFilterContent: ({ filterType, ...props }: TableFilterContentProps) => react_jsx_runtime.JSX.Element;
|
|
1262
|
+
|
|
1263
|
+
type TableHeaderProps<T> = {
|
|
1264
|
+
table?: Table<T>;
|
|
991
1265
|
};
|
|
992
|
-
|
|
993
|
-
|
|
1266
|
+
declare const TableHeader: <T>({ table: tableOverride }: TableHeaderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1267
|
+
|
|
1268
|
+
type RegisteredOption = {
|
|
1269
|
+
value: string;
|
|
1270
|
+
label: ReactNode;
|
|
1271
|
+
disabled: boolean;
|
|
1272
|
+
ref: React.RefObject<HTMLLIElement>;
|
|
994
1273
|
};
|
|
995
|
-
|
|
996
|
-
|
|
1274
|
+
type HighlightStartPositionBehavior = 'first' | 'last';
|
|
1275
|
+
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
1276
|
+
type InternalSelectContextState = {
|
|
1277
|
+
isOpen: boolean;
|
|
1278
|
+
options: RegisteredOption[];
|
|
1279
|
+
highlightedValue?: string;
|
|
997
1280
|
};
|
|
1281
|
+
type SelectContextIds = {
|
|
1282
|
+
trigger: string;
|
|
1283
|
+
content: string;
|
|
1284
|
+
};
|
|
1285
|
+
type SelectContextState = InternalSelectContextState & FormFieldInteractionStates & {
|
|
1286
|
+
value: string[];
|
|
1287
|
+
selectedOptions: RegisteredOption[];
|
|
1288
|
+
};
|
|
1289
|
+
type SelectConfiguration = {
|
|
1290
|
+
isMultiSelect: boolean;
|
|
1291
|
+
iconAppearance: SelectIconAppearance;
|
|
1292
|
+
};
|
|
1293
|
+
type ToggleOpenOptions = {
|
|
1294
|
+
highlightStartPositionBehavior?: HighlightStartPositionBehavior;
|
|
1295
|
+
};
|
|
1296
|
+
type SelectContextType = {
|
|
1297
|
+
ids: SelectContextIds;
|
|
1298
|
+
setIds: Dispatch<SetStateAction<SelectContextIds>>;
|
|
1299
|
+
state: SelectContextState;
|
|
1300
|
+
config: SelectConfiguration;
|
|
1301
|
+
item: {
|
|
1302
|
+
register: (item: RegisteredOption) => void;
|
|
1303
|
+
unregister: (value: string) => void;
|
|
1304
|
+
toggleSelection: (value: string, isSelected?: boolean) => void;
|
|
1305
|
+
highlightItem: (value: string) => void;
|
|
1306
|
+
moveHighlightedIndex: (delta: number) => void;
|
|
1307
|
+
};
|
|
1308
|
+
trigger: {
|
|
1309
|
+
ref: React.RefObject<HTMLElement>;
|
|
1310
|
+
register: (element: React.RefObject<HTMLElement>) => void;
|
|
1311
|
+
unregister: () => void;
|
|
1312
|
+
toggleOpen: (isOpen?: boolean, options?: ToggleOpenOptions) => void;
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
declare const SelectContext: react.Context<SelectContextType>;
|
|
1316
|
+
declare function useSelectContext(): SelectContextType;
|
|
1317
|
+
type SharedSelectRootProps = Partial<FormFieldInteractionStates> & PropsWithChildren & {
|
|
1318
|
+
id?: string;
|
|
1319
|
+
initialIsOpen?: boolean;
|
|
1320
|
+
iconAppearance?: SelectIconAppearance;
|
|
1321
|
+
onClose?: () => void;
|
|
1322
|
+
};
|
|
1323
|
+
type SelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string>>;
|
|
1324
|
+
declare const SelectRoot: ({ value, onValueChange, onEditComplete, ...props }: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1325
|
+
type MultiSelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string[]>>;
|
|
1326
|
+
declare const MultiSelectRoot: ({ value, onValueChange, onEditComplete, ...props }: MultiSelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1327
|
+
|
|
1328
|
+
type SelectOptionProps = Omit<HTMLAttributes<HTMLLIElement>, 'children'> & {
|
|
1329
|
+
value: string;
|
|
1330
|
+
disabled?: boolean;
|
|
1331
|
+
iconAppearance?: SelectIconAppearance;
|
|
1332
|
+
children?: ReactNode;
|
|
1333
|
+
};
|
|
1334
|
+
declare const SelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
1335
|
+
value: string;
|
|
1336
|
+
disabled?: boolean;
|
|
1337
|
+
iconAppearance?: SelectIconAppearance;
|
|
1338
|
+
children?: ReactNode;
|
|
1339
|
+
} & react.RefAttributes<HTMLLIElement>>;
|
|
1340
|
+
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1341
|
+
placeholder?: ReactNode;
|
|
1342
|
+
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1343
|
+
};
|
|
1344
|
+
declare const SelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1345
|
+
placeholder?: ReactNode;
|
|
1346
|
+
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1347
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1348
|
+
type SelectContentProps = PopUpProps;
|
|
1349
|
+
declare const SelectContent: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLUListElement>>;
|
|
1350
|
+
type MultiSelectOptionProps = SelectOptionProps;
|
|
1351
|
+
declare const MultiSelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
1352
|
+
value: string;
|
|
1353
|
+
disabled?: boolean;
|
|
1354
|
+
iconAppearance?: SelectIconAppearance;
|
|
1355
|
+
children?: ReactNode;
|
|
1356
|
+
} & react.RefAttributes<HTMLLIElement>>;
|
|
1357
|
+
type MultiSelectContentProps = SelectContentProps;
|
|
1358
|
+
declare const MultiSelectContent: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLUListElement>>;
|
|
1359
|
+
type MultiSelectButtonProps = SelectButtonProps;
|
|
1360
|
+
declare const MultiSelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1361
|
+
placeholder?: ReactNode;
|
|
1362
|
+
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1363
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1364
|
+
|
|
1365
|
+
type SelectProps = SelectRootProps & {
|
|
1366
|
+
contentPanelProps?: SelectContentProps;
|
|
1367
|
+
buttonProps?: Omit<SelectButtonProps, 'selectedDisplay'> & {
|
|
1368
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
declare const Select: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
1372
|
+
children?: ReactNode | undefined;
|
|
1373
|
+
} & {
|
|
1374
|
+
id?: string;
|
|
1375
|
+
initialIsOpen?: boolean;
|
|
1376
|
+
iconAppearance?: SelectIconAppearance;
|
|
1377
|
+
onClose?: () => void;
|
|
1378
|
+
} & Partial<FormFieldDataHandling<string>> & {
|
|
1379
|
+
contentPanelProps?: SelectContentProps;
|
|
1380
|
+
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1381
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1382
|
+
};
|
|
1383
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1384
|
+
type SelectUncontrolledProps = SelectProps;
|
|
1385
|
+
declare const SelectUncontrolled: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
1386
|
+
children?: ReactNode | undefined;
|
|
1387
|
+
} & {
|
|
1388
|
+
id?: string;
|
|
1389
|
+
initialIsOpen?: boolean;
|
|
1390
|
+
iconAppearance?: SelectIconAppearance;
|
|
1391
|
+
onClose?: () => void;
|
|
1392
|
+
} & Partial<FormFieldDataHandling<string>> & {
|
|
1393
|
+
contentPanelProps?: SelectContentProps;
|
|
1394
|
+
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1395
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1396
|
+
};
|
|
1397
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
998
1398
|
|
|
999
|
-
declare
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
filterType?: TableFilterType;
|
|
1003
|
-
}
|
|
1004
|
-
interface TableMeta<TData> {
|
|
1005
|
-
headerRowClassName?: string;
|
|
1006
|
-
bodyRowClassName?: BagFunctionOrValue<TData, string>;
|
|
1007
|
-
}
|
|
1008
|
-
interface FilterFns {
|
|
1009
|
-
dateRange: FilterFn<unknown>;
|
|
1010
|
-
}
|
|
1399
|
+
declare const TablePagination: () => react_jsx_runtime.JSX.Element;
|
|
1400
|
+
interface TablePageSizeControllerProps extends SelectProps {
|
|
1401
|
+
pageSizeOptions?: number[];
|
|
1011
1402
|
}
|
|
1012
|
-
|
|
1403
|
+
declare const TablePageSizeController: ({ pageSizeOptions, ...props }: TablePageSizeControllerProps) => react_jsx_runtime.JSX.Element;
|
|
1404
|
+
|
|
1405
|
+
type TableProviderProps<T> = {
|
|
1013
1406
|
data: T[];
|
|
1014
|
-
columns
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
onRowClick?: (row: Row<T>, table: Table
|
|
1020
|
-
state?: Omit<TableState, 'columnSizing'
|
|
1021
|
-
tableClassName?: string;
|
|
1407
|
+
columns?: ColumnDef<T>[];
|
|
1408
|
+
children?: ReactNode;
|
|
1409
|
+
isUsingFillerRows?: boolean;
|
|
1410
|
+
fillerRow?: (columnId: string, table: Table<T>) => ReactNode;
|
|
1411
|
+
initialState?: Omit<InitialTableState, 'columnSizing'>;
|
|
1412
|
+
onRowClick?: (row: Row<T>, table: Table<T>) => void;
|
|
1413
|
+
state?: Omit<TableState, 'columnSizing'>;
|
|
1022
1414
|
} & Partial<TableOptions<T>>;
|
|
1023
|
-
|
|
1024
|
-
* The standard table
|
|
1025
|
-
*/
|
|
1026
|
-
declare const Table: <T>({ data, fillerRow, initialState, onRowClick, className, tableClassName, tableContainerClassName, defaultColumn, state, columns, ...tableOptions }: TableProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1027
|
-
type TableUncontrolledProps<T> = TableProps<T>;
|
|
1028
|
-
declare const TableUncontrolled: <T>({ data, ...props }: TableUncontrolledProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1029
|
-
type TableWithSelectionProps<T> = TableProps<T> & {
|
|
1030
|
-
rowSelection: RowSelectionState;
|
|
1031
|
-
disableClickRowClickSelection?: boolean;
|
|
1032
|
-
selectionRowId?: string;
|
|
1033
|
-
};
|
|
1034
|
-
declare const TableWithSelection: <T>({ columns, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick, meta, ...props }: TableWithSelectionProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1035
|
-
|
|
1036
|
-
type TableCellProps = PropsWithChildren<{
|
|
1037
|
-
className?: string;
|
|
1038
|
-
}>;
|
|
1039
|
-
declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
|
|
1415
|
+
declare const TableProvider: <T>({ data, isUsingFillerRows, fillerRow, initialState, onRowClick, defaultColumn: defaultColumnOverwrite, state, columns: columnsProp, children, ...tableOptions }: TableProviderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1040
1416
|
|
|
1041
1417
|
type SortingIndexDisplay = {
|
|
1042
1418
|
index: number;
|
|
@@ -1052,6 +1428,34 @@ type TableSortButtonProps = ButtonProps & {
|
|
|
1052
1428
|
*/
|
|
1053
1429
|
declare const TableSortButton: ({ sortDirection, invert, color, size, className, sortingIndexDisplay, ...props }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1054
1430
|
|
|
1431
|
+
interface TableWithSelectionProviderProps<T> extends TableProviderProps<T> {
|
|
1432
|
+
rowSelection: RowSelectionState;
|
|
1433
|
+
disableClickRowClickSelection?: boolean;
|
|
1434
|
+
selectionRowId?: string;
|
|
1435
|
+
}
|
|
1436
|
+
declare const TableWithSelectionProvider: <T>({ children, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick, meta, ...props }: TableWithSelectionProviderProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1437
|
+
|
|
1438
|
+
type ColumnSizeCalculateTargetBehavoir = 'equalOrHigher';
|
|
1439
|
+
type ColumnSizeCalculateTarget = {
|
|
1440
|
+
width: number;
|
|
1441
|
+
behaviour: ColumnSizeCalculateTargetBehavoir;
|
|
1442
|
+
};
|
|
1443
|
+
type ColumnSizeCalculatoProps = {
|
|
1444
|
+
previousSizing: Record<string, number>;
|
|
1445
|
+
newSizing: Record<string, number>;
|
|
1446
|
+
columnIds: string[];
|
|
1447
|
+
target?: ColumnSizeCalculateTarget;
|
|
1448
|
+
minWidthsPerColumn: Record<string, number>;
|
|
1449
|
+
maxWidthsPerColumn?: Record<string, number>;
|
|
1450
|
+
};
|
|
1451
|
+
declare const toSizeVars: (sizing: ColumnSizingState) => {};
|
|
1452
|
+
declare const ColumnSizeUtil: {
|
|
1453
|
+
calculate: ({ previousSizing, newSizing, columnIds, target, minWidthsPerColumn, maxWidthsPerColumn }: ColumnSizeCalculatoProps) => {
|
|
1454
|
+
[x: string]: number;
|
|
1455
|
+
};
|
|
1456
|
+
toSizeVars: (sizing: ColumnSizingState) => {};
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1055
1459
|
type CheckBoxSize = 'sm' | 'md' | 'lg' | null;
|
|
1056
1460
|
type CheckboxProps = HTMLAttributes<HTMLDivElement> & Partial<FormFieldInteractionStates> & Partial<FormFieldDataHandling<boolean>> & {
|
|
1057
1461
|
indeterminate?: boolean;
|
|
@@ -1098,47 +1502,28 @@ type CopyToClipboardWrapperProps = PropsWithChildren<{
|
|
|
1098
1502
|
*/
|
|
1099
1503
|
declare const CopyToClipboardWrapper: ({ children, textToCopy, tooltipClassName, containerClassName, position, zIndex, }: CopyToClipboardWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
1100
1504
|
|
|
1101
|
-
type PopoverHorizontalAlignment = 'leftOutside' | 'leftInside' | 'rightOutside' | 'rightInside' | 'center';
|
|
1102
|
-
type PopoverVerticalAlignment = 'topOutside' | 'topInside' | 'bottomOutside' | 'bottomInside' | 'center';
|
|
1103
|
-
type PopoverPositionOptionsResolved = {
|
|
1104
|
-
edgePadding: number;
|
|
1105
|
-
outerGap: number;
|
|
1106
|
-
verticalAlignment: PopoverVerticalAlignment;
|
|
1107
|
-
horizontalAlignment: PopoverHorizontalAlignment;
|
|
1108
|
-
disabled: boolean;
|
|
1109
|
-
};
|
|
1110
|
-
type PopoverPositionOptions = Partial<PopoverPositionOptionsResolved>;
|
|
1111
|
-
declare const usePopoverPosition: (trigger?: DOMRect, options?: PopoverPositionOptions) => CSSProperties;
|
|
1112
|
-
|
|
1113
1505
|
type MenuItemProps = {
|
|
1114
1506
|
onClick?: () => void;
|
|
1115
|
-
alignment?: 'left' | 'right';
|
|
1116
1507
|
isDisabled?: boolean;
|
|
1117
1508
|
className?: string;
|
|
1118
1509
|
};
|
|
1119
|
-
declare const MenuItem: ({ children, onClick,
|
|
1510
|
+
declare const MenuItem: ({ children, onClick, isDisabled, className }: PropsWithChildren<MenuItemProps>) => react_jsx_runtime.JSX.Element;
|
|
1120
1511
|
type MenuBag = {
|
|
1121
1512
|
isOpen: boolean;
|
|
1122
1513
|
disabled: boolean;
|
|
1123
1514
|
toggleOpen: () => void;
|
|
1124
1515
|
close: () => void;
|
|
1125
1516
|
};
|
|
1126
|
-
|
|
1517
|
+
interface MenuProps extends Omit<PopUpProps, 'children' | 'anchor'> {
|
|
1127
1518
|
children: (bag: MenuBag) => ReactNode | ReactNode;
|
|
1128
1519
|
trigger: (bag: MenuBag, ref: (el: HTMLElement | null) => void) => ReactNode;
|
|
1129
|
-
/**
|
|
1130
|
-
* @default 'l'
|
|
1131
|
-
*/
|
|
1132
|
-
alignmentHorizontal?: PopoverHorizontalAlignment;
|
|
1133
|
-
alignmentVertical?: PopoverVerticalAlignment;
|
|
1134
1520
|
showOnHover?: boolean;
|
|
1135
|
-
menuClassName?: string;
|
|
1136
1521
|
disabled?: boolean;
|
|
1137
|
-
}
|
|
1522
|
+
}
|
|
1138
1523
|
/**
|
|
1139
1524
|
* A Menu Component to allow the user to see different functions
|
|
1140
1525
|
*/
|
|
1141
|
-
declare const Menu: ({ trigger, children,
|
|
1526
|
+
declare const Menu: ({ trigger, children, showOnHover, disabled, ...props }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
1142
1527
|
|
|
1143
1528
|
type ScrollPickerProps<T> = {
|
|
1144
1529
|
options: T[];
|
|
@@ -1199,10 +1584,13 @@ declare const hightideTranslationLocales: readonly ["de-DE", "en-US"];
|
|
|
1199
1584
|
type HightideTranslationLocales = typeof hightideTranslationLocales[number];
|
|
1200
1585
|
type HightideTranslationEntries = {
|
|
1201
1586
|
'add': string;
|
|
1587
|
+
'after': string;
|
|
1202
1588
|
'age': string;
|
|
1203
1589
|
'all': string;
|
|
1204
1590
|
'apply': string;
|
|
1205
1591
|
'back': string;
|
|
1592
|
+
'before': string;
|
|
1593
|
+
'between': string;
|
|
1206
1594
|
'cancel': string;
|
|
1207
1595
|
'carousel': string;
|
|
1208
1596
|
'change': string;
|
|
@@ -1215,10 +1603,16 @@ type HightideTranslationEntries = {
|
|
|
1215
1603
|
'clickToCopy': string;
|
|
1216
1604
|
'clickToSelect': string;
|
|
1217
1605
|
'close': string;
|
|
1606
|
+
'closeDialog': string;
|
|
1607
|
+
'columnPicker': string;
|
|
1608
|
+
'columnPickerDescription': string;
|
|
1609
|
+
'columns': string;
|
|
1218
1610
|
'confirm': string;
|
|
1611
|
+
'contains': string;
|
|
1219
1612
|
'copied': string;
|
|
1220
1613
|
'copy': string;
|
|
1221
1614
|
'create': string;
|
|
1615
|
+
'date': string;
|
|
1222
1616
|
'decline': string;
|
|
1223
1617
|
'delete': string;
|
|
1224
1618
|
'discard': string;
|
|
@@ -1226,19 +1620,32 @@ type HightideTranslationEntries = {
|
|
|
1226
1620
|
'done': string;
|
|
1227
1621
|
'edit': string;
|
|
1228
1622
|
'endDate': string;
|
|
1623
|
+
'endsWith': string;
|
|
1229
1624
|
'enterText': string;
|
|
1625
|
+
'entriesPerPage': string;
|
|
1230
1626
|
'entryDate': string;
|
|
1627
|
+
'equals': string;
|
|
1231
1628
|
'error': string;
|
|
1232
1629
|
'errorOccurred': string;
|
|
1233
1630
|
'exit': string;
|
|
1234
1631
|
'fieldRequiredError': string;
|
|
1235
1632
|
'filter': string;
|
|
1633
|
+
'filterNonWhitespace': string;
|
|
1634
|
+
'filterNotUndefined': string;
|
|
1635
|
+
'filterUndefined': string;
|
|
1236
1636
|
'goodToSeeYou': string;
|
|
1637
|
+
'greaterThan': string;
|
|
1638
|
+
'greaterThanOrEqual': string;
|
|
1639
|
+
'hideColumn': string;
|
|
1237
1640
|
'identifier': string;
|
|
1238
1641
|
'invalidEmail': string;
|
|
1239
1642
|
'invalidEmailError': string;
|
|
1643
|
+
'isFalse': string;
|
|
1644
|
+
'isTrue': string;
|
|
1240
1645
|
'language': string;
|
|
1241
1646
|
'less': string;
|
|
1647
|
+
'lessThan': string;
|
|
1648
|
+
'lessThanOrEqual': string;
|
|
1242
1649
|
'loading': string;
|
|
1243
1650
|
'locale': string;
|
|
1244
1651
|
'max': string;
|
|
@@ -1246,13 +1653,21 @@ type HightideTranslationEntries = {
|
|
|
1246
1653
|
'min': string;
|
|
1247
1654
|
'minLengthError': string;
|
|
1248
1655
|
'more': string;
|
|
1656
|
+
'moveDown': string;
|
|
1657
|
+
'moveUp': string;
|
|
1249
1658
|
'name': string;
|
|
1250
1659
|
'next': string;
|
|
1251
1660
|
'no': string;
|
|
1252
1661
|
'none': string;
|
|
1662
|
+
'noParameterRequired': string;
|
|
1663
|
+
'notBetween': string;
|
|
1664
|
+
'notContains': string;
|
|
1253
1665
|
'notEmpty': string;
|
|
1666
|
+
'notEquals': string;
|
|
1254
1667
|
'nothingFound': string;
|
|
1255
1668
|
'of': string;
|
|
1669
|
+
'onOrAfter': string;
|
|
1670
|
+
'onOrBefore': string;
|
|
1256
1671
|
'optional': string;
|
|
1257
1672
|
'outOfRangeNumber': (values: {
|
|
1258
1673
|
min: number;
|
|
@@ -1266,6 +1681,10 @@ type HightideTranslationEntries = {
|
|
|
1266
1681
|
min: number;
|
|
1267
1682
|
max: number;
|
|
1268
1683
|
}) => string;
|
|
1684
|
+
'parameter': string;
|
|
1685
|
+
'pinLeft': string;
|
|
1686
|
+
'pinned': string;
|
|
1687
|
+
'pinRight': string;
|
|
1269
1688
|
'pleaseWait': string;
|
|
1270
1689
|
'previous': string;
|
|
1271
1690
|
'pThemes': (values: {
|
|
@@ -1280,13 +1699,18 @@ type HightideTranslationEntries = {
|
|
|
1280
1699
|
}) => string;
|
|
1281
1700
|
'save': string;
|
|
1282
1701
|
'saved': string;
|
|
1702
|
+
'sDateTimeSelect': (values: {
|
|
1703
|
+
datetimeMode: string;
|
|
1704
|
+
}) => string;
|
|
1283
1705
|
'search': string;
|
|
1284
1706
|
'select': string;
|
|
1707
|
+
'selection': string;
|
|
1285
1708
|
'selectOption': string;
|
|
1286
1709
|
'sGender': (values: {
|
|
1287
1710
|
gender: string;
|
|
1288
1711
|
}) => string;
|
|
1289
1712
|
'show': string;
|
|
1713
|
+
'showColumn': string;
|
|
1290
1714
|
'showLess': string;
|
|
1291
1715
|
'showMore': string;
|
|
1292
1716
|
'showSlide': (values: {
|
|
@@ -1299,12 +1723,15 @@ type HightideTranslationEntries = {
|
|
|
1299
1723
|
length: number;
|
|
1300
1724
|
}) => string;
|
|
1301
1725
|
'startDate': string;
|
|
1726
|
+
'startsWith': string;
|
|
1302
1727
|
'sThemeMode': (values: {
|
|
1303
1728
|
theme: string;
|
|
1304
1729
|
}) => string;
|
|
1305
1730
|
'street': string;
|
|
1306
1731
|
'submit': string;
|
|
1307
1732
|
'success': string;
|
|
1733
|
+
'tag': string;
|
|
1734
|
+
'tags': string;
|
|
1308
1735
|
'text': string;
|
|
1309
1736
|
'time.ago': string;
|
|
1310
1737
|
'time.agoDays': (values: {
|
|
@@ -1377,6 +1804,7 @@ type HightideTranslationEntries = {
|
|
|
1377
1804
|
'tooShort': (values: {
|
|
1378
1805
|
min: number;
|
|
1379
1806
|
}) => string;
|
|
1807
|
+
'unpin': string;
|
|
1380
1808
|
'unsavedChanges': string;
|
|
1381
1809
|
'unsavedChangesSaveQuestion': string;
|
|
1382
1810
|
'update': string;
|
|
@@ -1430,7 +1858,7 @@ declare const HightideConfigProvider: ({ children, ...initialOverwrite }: Highti
|
|
|
1430
1858
|
declare const useHightideConfig: () => ConfigType;
|
|
1431
1859
|
|
|
1432
1860
|
type Position = 'top' | 'bottom' | 'left' | 'right';
|
|
1433
|
-
|
|
1861
|
+
interface TooltipProps extends PropsWithChildren, Partial<TooltipConfig> {
|
|
1434
1862
|
tooltip: ReactNode;
|
|
1435
1863
|
/**
|
|
1436
1864
|
* Class names of additional styling properties for the tooltip
|
|
@@ -1442,7 +1870,7 @@ type TooltipProps = PropsWithChildren & Partial<TooltipConfig> & {
|
|
|
1442
1870
|
containerClassName?: string;
|
|
1443
1871
|
position?: Position;
|
|
1444
1872
|
disabled?: boolean;
|
|
1445
|
-
}
|
|
1873
|
+
}
|
|
1446
1874
|
/**
|
|
1447
1875
|
* A Component for showing a tooltip when hovering over Content
|
|
1448
1876
|
* @param tooltip The tooltip to show can be a text or any ReactNode
|
|
@@ -1579,6 +2007,24 @@ type DateTimePickerProps = Partial<FormFieldDataHandling<Date>> & {
|
|
|
1579
2007
|
declare const DateTimePicker: ({ value, start, end, mode, is24HourFormat, minuteIncrement, weekStart, onValueChange, onEditComplete, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1580
2008
|
declare const DateTimePickerUncontrolled: ({ value: initialValue, onValueChange, ...props }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1581
2009
|
|
|
2010
|
+
interface ControlledStateProps<T> {
|
|
2011
|
+
value?: T;
|
|
2012
|
+
onValueChange?: (value: T) => void;
|
|
2013
|
+
defaultValue?: T;
|
|
2014
|
+
isControlled?: boolean;
|
|
2015
|
+
}
|
|
2016
|
+
declare const useControlledState: <T>({ value, onValueChange, defaultValue, isControlled: isEnforcingControlled }: ControlledStateProps<T>) => [T, react__default.Dispatch<react__default.SetStateAction<T>>];
|
|
2017
|
+
|
|
2018
|
+
interface DateTimePickerDialogProps extends ControlledStateProps<Date | null> {
|
|
2019
|
+
allowRemove?: boolean;
|
|
2020
|
+
onEditComplete?: (value: Date | null) => void;
|
|
2021
|
+
pickerProps: Omit<DateTimePickerProps, 'value' | 'onValueChange' | 'onEditComplete'>;
|
|
2022
|
+
mode?: 'date' | 'dateTime';
|
|
2023
|
+
label?: ReactNode;
|
|
2024
|
+
labelId?: string;
|
|
2025
|
+
}
|
|
2026
|
+
declare const DateTimePickerDialog: ({ defaultValue, value, allowRemove, onValueChange, onEditComplete, isControlled, mode, pickerProps, labelId, label, }: DateTimePickerDialogProps) => react_jsx_runtime.JSX.Element;
|
|
2027
|
+
|
|
1582
2028
|
type TimeDisplayMode = 'daysFromToday' | 'date';
|
|
1583
2029
|
type TimeDisplayProps = {
|
|
1584
2030
|
date: Date;
|
|
@@ -1589,14 +2035,20 @@ type TimeDisplayProps = {
|
|
|
1589
2035
|
*/
|
|
1590
2036
|
declare const TimeDisplay: ({ date, mode }: TimeDisplayProps) => react_jsx_runtime.JSX.Element;
|
|
1591
2037
|
|
|
1592
|
-
type
|
|
1593
|
-
|
|
2038
|
+
type DateTimeInputHandle = {
|
|
2039
|
+
input: HTMLDivElement | null;
|
|
2040
|
+
popup: HTMLDivElement | null;
|
|
2041
|
+
};
|
|
2042
|
+
interface DateTimeInputProps extends Partial<FormFieldInteractionStates>, ControlledStateProps<Date | null>, Omit<ButtonHTMLAttributes<HTMLDivElement>, 'defaultValue' | 'value'>, Partial<FormFieldDataHandling<Date | null>> {
|
|
2043
|
+
placeholder?: ReactNode;
|
|
2044
|
+
allowRemove?: boolean;
|
|
1594
2045
|
mode?: 'date' | 'dateTime';
|
|
1595
2046
|
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
1596
2047
|
pickerProps?: Omit<DateTimePickerProps, keyof FormFieldDataHandling<Date> | 'mode'>;
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
2048
|
+
outsideClickCloses?: boolean;
|
|
2049
|
+
onDialogOpeningChange?: (isOpen: boolean) => void;
|
|
2050
|
+
}
|
|
2051
|
+
declare const DateTimeInput: react.ForwardRefExoticComponent<DateTimeInputProps & react.RefAttributes<DateTimeInputHandle>>;
|
|
1600
2052
|
|
|
1601
2053
|
type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
|
|
1602
2054
|
label: ReactNode;
|
|
@@ -1710,116 +2162,6 @@ type TextPropertyProps = PropertyField<string>;
|
|
|
1710
2162
|
*/
|
|
1711
2163
|
declare const TextProperty: ({ value, readOnly, onRemove, onValueChange, onEditComplete, ...baseProps }: TextPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1712
2164
|
|
|
1713
|
-
type RegisteredOption = {
|
|
1714
|
-
value: string;
|
|
1715
|
-
label: ReactNode;
|
|
1716
|
-
disabled: boolean;
|
|
1717
|
-
ref: React.RefObject<HTMLLIElement>;
|
|
1718
|
-
};
|
|
1719
|
-
type HighlightStartPositionBehavior = 'first' | 'last';
|
|
1720
|
-
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
1721
|
-
type InternalSelectContextState = {
|
|
1722
|
-
isOpen: boolean;
|
|
1723
|
-
options: RegisteredOption[];
|
|
1724
|
-
highlightedValue?: string;
|
|
1725
|
-
};
|
|
1726
|
-
type SelectContextIds = {
|
|
1727
|
-
trigger: string;
|
|
1728
|
-
content: string;
|
|
1729
|
-
};
|
|
1730
|
-
type SelectContextState = InternalSelectContextState & FormFieldInteractionStates & {
|
|
1731
|
-
value: string[];
|
|
1732
|
-
selectedOptions: RegisteredOption[];
|
|
1733
|
-
};
|
|
1734
|
-
type SelectConfiguration = {
|
|
1735
|
-
isMultiSelect: boolean;
|
|
1736
|
-
iconAppearance: SelectIconAppearance;
|
|
1737
|
-
};
|
|
1738
|
-
type ToggleOpenOptions = {
|
|
1739
|
-
highlightStartPositionBehavior?: HighlightStartPositionBehavior;
|
|
1740
|
-
};
|
|
1741
|
-
type SelectContextType = {
|
|
1742
|
-
ids: SelectContextIds;
|
|
1743
|
-
setIds: Dispatch<SetStateAction<SelectContextIds>>;
|
|
1744
|
-
state: SelectContextState;
|
|
1745
|
-
config: SelectConfiguration;
|
|
1746
|
-
item: {
|
|
1747
|
-
register: (item: RegisteredOption) => void;
|
|
1748
|
-
unregister: (value: string) => void;
|
|
1749
|
-
toggleSelection: (value: string, isSelected?: boolean) => void;
|
|
1750
|
-
highlightItem: (value: string) => void;
|
|
1751
|
-
moveHighlightedIndex: (delta: number) => void;
|
|
1752
|
-
};
|
|
1753
|
-
trigger: {
|
|
1754
|
-
ref: React.RefObject<HTMLElement>;
|
|
1755
|
-
register: (element: React.RefObject<HTMLElement>) => void;
|
|
1756
|
-
unregister: () => void;
|
|
1757
|
-
toggleOpen: (isOpen?: boolean, options?: ToggleOpenOptions) => void;
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
|
-
declare const SelectContext: react.Context<SelectContextType>;
|
|
1761
|
-
declare function useSelectContext(): SelectContextType;
|
|
1762
|
-
type SharedSelectRootProps = Partial<FormFieldInteractionStates> & PropsWithChildren & {
|
|
1763
|
-
id?: string;
|
|
1764
|
-
initialIsOpen?: boolean;
|
|
1765
|
-
iconAppearance?: SelectIconAppearance;
|
|
1766
|
-
onClose?: () => void;
|
|
1767
|
-
};
|
|
1768
|
-
type SelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string>>;
|
|
1769
|
-
declare const SelectRoot: ({ value, onValueChange, onEditComplete, ...props }: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1770
|
-
type MultiSelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string[]>>;
|
|
1771
|
-
declare const MultiSelectRoot: ({ value, onValueChange, onEditComplete, ...props }: MultiSelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1772
|
-
|
|
1773
|
-
type SelectOptionProps = Omit<HTMLAttributes<HTMLLIElement>, 'children'> & {
|
|
1774
|
-
value: string;
|
|
1775
|
-
disabled?: boolean;
|
|
1776
|
-
iconAppearance?: SelectIconAppearance;
|
|
1777
|
-
children?: ReactNode;
|
|
1778
|
-
};
|
|
1779
|
-
declare const SelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
1780
|
-
value: string;
|
|
1781
|
-
disabled?: boolean;
|
|
1782
|
-
iconAppearance?: SelectIconAppearance;
|
|
1783
|
-
children?: ReactNode;
|
|
1784
|
-
} & react.RefAttributes<HTMLLIElement>>;
|
|
1785
|
-
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1786
|
-
placeholder?: ReactNode;
|
|
1787
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1788
|
-
};
|
|
1789
|
-
declare const SelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1790
|
-
placeholder?: ReactNode;
|
|
1791
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1792
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1793
|
-
type Orientation = 'vertical' | 'horizontal';
|
|
1794
|
-
type SelectContentProps = HTMLAttributes<HTMLUListElement> & {
|
|
1795
|
-
alignment?: Pick<UseFloatingElementOptions, 'gap' | 'horizontalAlignment' | 'verticalAlignment'>;
|
|
1796
|
-
orientation?: Orientation;
|
|
1797
|
-
containerClassName?: string;
|
|
1798
|
-
};
|
|
1799
|
-
declare const SelectContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
1800
|
-
alignment?: Pick<UseFloatingElementOptions, "gap" | "horizontalAlignment" | "verticalAlignment">;
|
|
1801
|
-
orientation?: Orientation;
|
|
1802
|
-
containerClassName?: string;
|
|
1803
|
-
} & react.RefAttributes<HTMLUListElement>>;
|
|
1804
|
-
type MultiSelectOptionProps = SelectOptionProps;
|
|
1805
|
-
declare const MultiSelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
1806
|
-
value: string;
|
|
1807
|
-
disabled?: boolean;
|
|
1808
|
-
iconAppearance?: SelectIconAppearance;
|
|
1809
|
-
children?: ReactNode;
|
|
1810
|
-
} & react.RefAttributes<HTMLLIElement>>;
|
|
1811
|
-
type MultiSelectContentProps = SelectContentProps;
|
|
1812
|
-
declare const MultiSelectContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
1813
|
-
alignment?: Pick<UseFloatingElementOptions, "gap" | "horizontalAlignment" | "verticalAlignment">;
|
|
1814
|
-
orientation?: Orientation;
|
|
1815
|
-
containerClassName?: string;
|
|
1816
|
-
} & react.RefAttributes<HTMLUListElement>>;
|
|
1817
|
-
type MultiSelectButtonProps = SelectButtonProps;
|
|
1818
|
-
declare const MultiSelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1819
|
-
placeholder?: ReactNode;
|
|
1820
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1821
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1822
|
-
|
|
1823
2165
|
type MultiSelectProps = MultiSelectRootProps & {
|
|
1824
2166
|
contentPanelProps?: MultiSelectContentProps;
|
|
1825
2167
|
buttonProps?: MultiSelectButtonProps;
|
|
@@ -1883,63 +2225,33 @@ declare const MultiSelectChipDisplayUncontrolled: react.ForwardRefExoticComponen
|
|
|
1883
2225
|
chipDisplayProps?: MultiSelectChipDisplayButtonProps;
|
|
1884
2226
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1885
2227
|
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
};
|
|
1892
|
-
declare const Select: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
1893
|
-
children?: ReactNode | undefined;
|
|
1894
|
-
} & {
|
|
1895
|
-
id?: string;
|
|
1896
|
-
initialIsOpen?: boolean;
|
|
1897
|
-
iconAppearance?: SelectIconAppearance;
|
|
1898
|
-
onClose?: () => void;
|
|
1899
|
-
} & Partial<FormFieldDataHandling<string>> & {
|
|
1900
|
-
contentPanelProps?: SelectContentProps;
|
|
1901
|
-
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1902
|
-
selectedDisplay?: (value: string) => ReactNode;
|
|
1903
|
-
};
|
|
1904
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1905
|
-
type SelectUncontrolledProps = SelectProps;
|
|
1906
|
-
declare const SelectUncontrolled: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
1907
|
-
children?: ReactNode | undefined;
|
|
1908
|
-
} & {
|
|
1909
|
-
id?: string;
|
|
1910
|
-
initialIsOpen?: boolean;
|
|
1911
|
-
iconAppearance?: SelectIconAppearance;
|
|
1912
|
-
onClose?: () => void;
|
|
1913
|
-
} & Partial<FormFieldDataHandling<string>> & {
|
|
1914
|
-
contentPanelProps?: SelectContentProps;
|
|
1915
|
-
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1916
|
-
selectedDisplay?: (value: string) => ReactNode;
|
|
1917
|
-
};
|
|
1918
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1919
|
-
|
|
1920
|
-
type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
|
|
1921
|
-
active?: boolean;
|
|
1922
|
-
initialFocus?: RefObject<HTMLElement | null>;
|
|
1923
|
-
/**
|
|
1924
|
-
* Whether to focus the first element when the initialFocus isn't provided
|
|
1925
|
-
*
|
|
1926
|
-
* Focuses the container instead
|
|
1927
|
-
*/
|
|
1928
|
-
focusFirst?: boolean;
|
|
1929
|
-
};
|
|
2228
|
+
interface FocusTrapProps extends PropsWithChildren, UseFocusTrapProps {
|
|
2229
|
+
}
|
|
2230
|
+
declare const FocusTrap: ({ children, ...props }: FocusTrapProps) => react.ReactNode;
|
|
2231
|
+
interface FocusTrapWrapperProps extends HTMLAttributes<HTMLDivElement>, Omit<FocusTrapProps, 'container'> {
|
|
2232
|
+
}
|
|
1930
2233
|
/**
|
|
1931
2234
|
* A wrapper for the useFocusTrap hook that directly renders it to a div
|
|
1932
2235
|
*/
|
|
1933
|
-
declare const
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
2236
|
+
declare const FocusTrapWrapper: react.ForwardRefExoticComponent<FocusTrapWrapperProps & react.RefAttributes<HTMLDivElement>>;
|
|
2237
|
+
|
|
2238
|
+
interface PortalProps extends PropsWithChildren {
|
|
2239
|
+
container?: HTMLElement;
|
|
2240
|
+
}
|
|
2241
|
+
declare const Portal: ({ children, container }: PortalProps) => react.ReactPortal;
|
|
2242
|
+
|
|
2243
|
+
type BagFunction<B, V = ReactNode> = (bag: B) => V;
|
|
2244
|
+
type BagFunctionOrValue<B, V> = BagFunction<B, V> | V;
|
|
2245
|
+
type BagFunctionOrNode<B> = BagFunction<B> | ReactNode;
|
|
2246
|
+
type PropsWithBagFunction<B, P = unknown> = P & {
|
|
2247
|
+
children?: BagFunction<B>;
|
|
2248
|
+
};
|
|
2249
|
+
type PropsWithBagFunctionOrChildren<B, P = unknown> = P & {
|
|
2250
|
+
children?: BagFunctionOrNode<B>;
|
|
2251
|
+
};
|
|
2252
|
+
declare const BagFunctionUtil: {
|
|
2253
|
+
resolve: <B, V = ReactNode>(bagFunctionOrValue: BagFunctionOrValue<B, V>, bag: B) => V;
|
|
2254
|
+
};
|
|
1943
2255
|
|
|
1944
2256
|
type TransitionBag = {
|
|
1945
2257
|
isOpen: boolean;
|
|
@@ -1998,21 +2310,11 @@ declare function useFocusManagement(): {
|
|
|
1998
2310
|
|
|
1999
2311
|
declare const useFocusOnceVisible: (ref: RefObject<HTMLElement>, disable?: boolean) => void;
|
|
2000
2312
|
|
|
2001
|
-
type UseFocusTrapProps = {
|
|
2002
|
-
container: RefObject<HTMLElement>;
|
|
2003
|
-
active?: boolean;
|
|
2004
|
-
initialFocus?: RefObject<HTMLElement>;
|
|
2005
|
-
/**
|
|
2006
|
-
* Whether to focus the first element when the initialFocus isn't provided
|
|
2007
|
-
*
|
|
2008
|
-
* Focuses the container instead
|
|
2009
|
-
*/
|
|
2010
|
-
focusFirst?: boolean;
|
|
2011
|
-
};
|
|
2012
|
-
declare const useFocusTrap: ({ container, active, initialFocus, focusFirst, }: UseFocusTrapProps) => void;
|
|
2013
|
-
|
|
2014
2313
|
declare const useIsMounted: () => boolean;
|
|
2015
2314
|
|
|
2315
|
+
type ElementHandle = Record<string, HTMLElement | null>;
|
|
2316
|
+
declare function useHandleRefs<T extends ElementHandle>(handleRef: RefObject<T>): RefObject<HTMLElement | null>[];
|
|
2317
|
+
|
|
2016
2318
|
type UseHoverStateProps = {
|
|
2017
2319
|
/**
|
|
2018
2320
|
* The delay after which the menu is closed in milliseconds
|
|
@@ -2072,12 +2374,34 @@ type OptionsResolved = {
|
|
|
2072
2374
|
type Options = Partial<OptionsResolved>;
|
|
2073
2375
|
declare const useLogOnce: (message: string, condition: boolean, options?: Options) => void;
|
|
2074
2376
|
|
|
2075
|
-
declare
|
|
2377
|
+
declare function useLogUnstableDependencies<T extends Record<string, unknown>>(name: string, value: T): void;
|
|
2076
2378
|
|
|
2077
2379
|
type OverlayItem = {
|
|
2078
2380
|
id: string;
|
|
2079
2381
|
tags?: string[];
|
|
2080
2382
|
};
|
|
2383
|
+
type OverlayItemInformation = OverlayItem & {
|
|
2384
|
+
zIndex: number;
|
|
2385
|
+
position: number;
|
|
2386
|
+
tagPositions: Record<string, number>;
|
|
2387
|
+
};
|
|
2388
|
+
type OverlayRegistryValue = {
|
|
2389
|
+
itemInformation: Record<string, OverlayItemInformation>;
|
|
2390
|
+
tagItemCounts: Record<string, number>;
|
|
2391
|
+
activeId: string | null;
|
|
2392
|
+
};
|
|
2393
|
+
type OverlayRegistryListenerCallback = (value: OverlayRegistryValue) => void;
|
|
2394
|
+
declare class OverlayRegistry {
|
|
2395
|
+
private static instance;
|
|
2396
|
+
static getInstance(): OverlayRegistry;
|
|
2397
|
+
private overlayIds;
|
|
2398
|
+
private overlayItems;
|
|
2399
|
+
private listeners;
|
|
2400
|
+
register(item: OverlayItem): () => void;
|
|
2401
|
+
update(item: OverlayItem): void;
|
|
2402
|
+
addListener(callback: OverlayRegistryListenerCallback): () => void;
|
|
2403
|
+
private notify;
|
|
2404
|
+
}
|
|
2081
2405
|
type UseOverlayRegistryProps = Partial<OverlayItem> & {
|
|
2082
2406
|
isActive?: boolean;
|
|
2083
2407
|
/** Tags cannot change on every render, thus make sure they are wrapped in a useMemo or similar */
|
|
@@ -2088,13 +2412,21 @@ type UseOverlayRegistryResult = {
|
|
|
2088
2412
|
zIndex?: number;
|
|
2089
2413
|
position?: number;
|
|
2090
2414
|
tagPositions?: Record<string, number>;
|
|
2091
|
-
hasAppeared: boolean;
|
|
2092
2415
|
tagItemCounts: Record<string, number>;
|
|
2093
2416
|
};
|
|
2094
2417
|
declare const useOverlayRegistry: (props?: UseOverlayRegistryProps) => UseOverlayRegistryResult;
|
|
2095
2418
|
|
|
2096
2419
|
declare const useOverwritableState: <T>(overwriteValue?: T, onChange?: (value: T) => void) => [T, react__default.Dispatch<react__default.SetStateAction<T>>];
|
|
2097
2420
|
|
|
2421
|
+
interface UsePresenceRefProps {
|
|
2422
|
+
isOpen?: boolean;
|
|
2423
|
+
}
|
|
2424
|
+
declare const usePresenceRef: <T extends HTMLElement>({ isOpen, }: UsePresenceRefProps) => {
|
|
2425
|
+
isPresent: boolean;
|
|
2426
|
+
ref: react.RefObject<T>;
|
|
2427
|
+
refAssignment: (node: T | null) => void;
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2098
2430
|
declare const useRerender: () => react.ActionDispatch<[]>;
|
|
2099
2431
|
|
|
2100
2432
|
/**
|
|
@@ -2130,18 +2462,14 @@ type TransitionState = 'opened' | 'closed' | 'opening' | 'closing';
|
|
|
2130
2462
|
type UseTransitionStateResult = {
|
|
2131
2463
|
transitionState: TransitionState;
|
|
2132
2464
|
isVisible: boolean;
|
|
2133
|
-
callbacks: {
|
|
2134
|
-
onAnimationStart: () => void;
|
|
2135
|
-
onAnimationEnd: () => void;
|
|
2136
|
-
onTransitionStart: () => void;
|
|
2137
|
-
onTransitionEnd: () => void;
|
|
2138
|
-
onTransitionCancel: () => void;
|
|
2139
|
-
};
|
|
2140
2465
|
};
|
|
2141
2466
|
type UseTransitionStateProps = {
|
|
2142
2467
|
isOpen: boolean;
|
|
2468
|
+
initialState?: TransitionState;
|
|
2469
|
+
ref?: RefObject<HTMLElement>;
|
|
2470
|
+
timeout?: number;
|
|
2143
2471
|
};
|
|
2144
|
-
declare const useTransitionState: ({ isOpen }: UseTransitionStateProps) => UseTransitionStateResult;
|
|
2472
|
+
declare const useTransitionState: ({ isOpen, initialState, ref, timeout: initialTimeout, }: UseTransitionStateProps) => UseTransitionStateResult;
|
|
2145
2473
|
|
|
2146
2474
|
type ValidatorError = 'notEmpty' | 'invalidEmail' | 'tooLong' | 'tooShort' | 'outOfRangeString' | 'outOfRangeNumber' | 'outOfRangeSelectionItems' | 'tooFewSelectionItems' | 'tooManySelectionItems';
|
|
2147
2475
|
type ValidatorResult = ValidatorError | undefined;
|
|
@@ -2262,7 +2590,13 @@ declare class LoopingArrayCalculator {
|
|
|
2262
2590
|
|
|
2263
2591
|
declare const match: <K extends string | number | symbol, V>(key: K, values: Record<K, V>) => Record<K, V>[K];
|
|
2264
2592
|
|
|
2265
|
-
|
|
2593
|
+
type Range = [number, number];
|
|
2594
|
+
type UnBoundedRange = [undefined | number, undefined | number];
|
|
2595
|
+
declare function clamp(value: number, min: number, max: number): number;
|
|
2596
|
+
declare function clamp(value: number, range?: [number, number]): number;
|
|
2597
|
+
declare const MathUtil: {
|
|
2598
|
+
clamp: typeof clamp;
|
|
2599
|
+
};
|
|
2266
2600
|
|
|
2267
2601
|
declare const noop: () => any;
|
|
2268
2602
|
|
|
@@ -2296,7 +2630,7 @@ declare function click<T>(onClick: () => void): {
|
|
|
2296
2630
|
onClick: () => void;
|
|
2297
2631
|
onKeyDown: react__default.KeyboardEventHandler<T>;
|
|
2298
2632
|
};
|
|
2299
|
-
declare function close<T>(onClose
|
|
2633
|
+
declare function close<T>(onClose?: () => void): react__default.KeyboardEventHandler<T>;
|
|
2300
2634
|
type NavigateType<T> = {
|
|
2301
2635
|
left?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2302
2636
|
right?: (event: react__default.KeyboardEvent<T>) => void;
|
|
@@ -2304,6 +2638,7 @@ type NavigateType<T> = {
|
|
|
2304
2638
|
down?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2305
2639
|
};
|
|
2306
2640
|
declare function navigate<T>({ left, right, up, down, }: NavigateType<T>): react__default.KeyboardEventHandler<T>;
|
|
2641
|
+
declare function mergeProps<T extends object, U extends Partial<T>>(slotProps: T, childProps: U): T & U;
|
|
2307
2642
|
type InteractionStateARIAAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-disabled' | 'aria-invalid' | 'aria-readonly' | 'aria-required'>;
|
|
2308
2643
|
declare function interactionStatesAria(interactionStates: Partial<FormFieldInteractionStates>, props?: Partial<InteractionStateARIAAttributes>): Partial<InteractionStateARIAAttributes>;
|
|
2309
2644
|
declare const PropsUtil: {
|
|
@@ -2322,6 +2657,7 @@ declare const PropsUtil: {
|
|
|
2322
2657
|
navigate: typeof navigate;
|
|
2323
2658
|
interactionStates: typeof interactionStatesAria;
|
|
2324
2659
|
};
|
|
2660
|
+
mergeProps: typeof mergeProps;
|
|
2325
2661
|
};
|
|
2326
2662
|
|
|
2327
2663
|
declare function resolveSetState<T>(action: SetStateAction<T>, prev: T): T;
|
|
@@ -2392,4 +2728,4 @@ declare class SessionStorageService extends StorageService {
|
|
|
2392
2728
|
|
|
2393
2729
|
declare const writeToClipboard: (text: string) => Promise<void>;
|
|
2394
2730
|
|
|
2395
|
-
export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BagFunction, type BagFunctionOrNode, type BagFunctionOrValue, BagFunctionUtil, BreadCrumbGroup, BreadCrumbLink, type BreadCrumbLinkProps, type BreadCrumbProps, BreadCrumbs, Button, type ButtonColor, type ButtonProps, ButtonUtil, Carousel, type CarouselProps, CarouselSlide, type CarouselSlideProps, Checkbox, CheckboxProperty, type CheckboxPropertyProps, type CheckboxProps, CheckboxUncontrolled, type CheckboxUncontrolledProps, Chip, type ChipColor, ChipList, type ChipListProps, type ChipProps, ChipUtil, Circle, type CircleProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogType, CopyToClipboardWrapper, type CopyToClipboardWrapperProps, type Crumb, DatePicker, type DatePickerProps, DatePickerUncontrolled, DateProperty, type DatePropertyProps, DateTimeInput, type
|
|
2731
|
+
export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnchoredFloatingContainer, type AnchoredFloatingContainerProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BackgroundOverlayProps, type BagFunction, type BagFunctionOrNode, type BagFunctionOrValue, BagFunctionUtil, BooleanFilter, type BooleanFilterParameter, type BooleanFilterProps, type BooleanFilterValue, BreadCrumbGroup, BreadCrumbLink, type BreadCrumbLinkProps, type BreadCrumbProps, BreadCrumbs, Button, type ButtonColor, type ButtonProps, ButtonUtil, Carousel, type CarouselProps, CarouselSlide, type CarouselSlideProps, Checkbox, CheckboxProperty, type CheckboxPropertyProps, type CheckboxProps, CheckboxUncontrolled, type CheckboxUncontrolledProps, Chip, type ChipColor, ChipList, type ChipListProps, type ChipProps, ChipUtil, Circle, type CircleProps, type ColumnSizeCalculatoProps, ColumnSizeUtil, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogType, type ControlledStateProps, CopyToClipboardWrapper, type CopyToClipboardWrapperProps, type Crumb, DateFilter, type DateFilterParameter, type DateFilterProps, type DateFilterValue, DatePicker, type DatePickerProps, DatePickerUncontrolled, DateProperty, type DatePropertyProps, DateTimeInput, type DateTimeInputHandle, type DateTimeInputProps, DateTimePicker, DateTimePickerDialog, type DateTimePickerDialogProps, type DateTimePickerMode, type DateTimePickerProps, DateTimePickerUncontrolled, DateUtils, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, DialogContext, type DialogContextType, type DialogOpenerPassingProps, DialogOpenerWrapper, type DialogOpenerWrapperBag, type DialogOpenerWrapperProps, type DialogPosition, type DialogProps, DialogRoot, type DialogRootProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, Drawer, type DrawerAligment, type DrawerProps, Duration, type DurationJSON, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, type ElementHandle, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, ExpandableContent, type ExpandableContentProps, ExpandableHeader, type ExpandableHeaderProps, type ExpandableProps, ExpandableRoot, type ExpandableRootProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerCell, type FillerCellProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, FocusTrapWrapper, type FocusTrapWrapperProps, FormContext, type FormContextType, type FormEvent, type FormEventListener, FormField, type FormFieldAriaAttributes, type FormFieldBag, type FormFieldDataHandling, type FormFieldFocusableElementProps, type FormFieldInteractionStates, FormFieldLayout, type FormFieldLayoutBag, type FormFieldLayoutIds, type FormFieldLayoutProps, type FormFieldProps, type FormFieldResult, FormProvider, type FormProviderProps, FormStore, type FormStoreProps, type FormValidationBehaviour, type FormValidator, type FormValue, GenericFilter, type GenericFilterParameter, type GenericFilterProps, type GenericFilterValue, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HighlightStartPositionBehavior, type HightideConfig, HightideConfigContext, HightideConfigProvider, type HightideConfigProviderProps, HightideProvider, type HightideTranslationEntries, type HightideTranslationLocales, InfiniteScroll, type InfiniteScrollProps, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, LanguageDialog, ListBox, ListBoxItem, type ListBoxItemProps, ListBoxMultiple, type ListBoxMultipleProps, ListBoxMultipleUncontrolled, type ListBoxMultipleUncontrolledProps, ListBoxPrimitive, type ListBoxPrimitiveProps, type ListBoxProps, ListBoxUncontrolled, type ListBoxUncontrolledProps, LoadingAndErrorComponent, type LoadingAndErrorComponentProps, LoadingAnimation, type LoadingAnimationProps, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, type LocaleProviderProps, type LocalizationConfig, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, MathUtil, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectButton, type MultiSelectButtonProps, MultiSelectChipDisplay, MultiSelectChipDisplayButton, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectContent, type MultiSelectContentProps, MultiSelectOption, type MultiSelectOptionProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectRoot, type MultiSelectRootProps, MultiSelectUncontrolled, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberFilter, type NumberFilterParameter, type NumberFilterProps, type NumberFilterValue, NumberProperty, type NumberPropertyProps, OperatorLabel, type OperatorLabelProps, type OverlayItem, OverlayRegistry, Pagination, type PaginationProps, PopUp, PopUpContext, type PopUpContextType, PopUpOpener, type PopUpOpenerBag, type PopUpOpenerProps, type PopUpProps, PopUpRoot, type PopUpRootProps, Portal, type PortalProps, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropertyField, PropsUtil, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type Range, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, type SelectButtonProps, SelectContent, type SelectContentProps, SelectContext, type SelectIconAppearance, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, type SharedSelectRootProps, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, type TabContextType, type TabInfo, TabList, TabPanel, TabSwitcher, type TabSwitcherProps, TabView, TableBody, TableBodyContext, type TableBodyContextType, type TableBooleanFilter, TableCell, type TableCellProps, TableColumn, TableColumnDefinitionContext, type TableColumnDefinitionContextType, TableColumnPicker, type TableColumnPickerProps, type TableColumnProps, TableContainerContext, type TableContainerContextType, type TableDateFilter, TableDisplay, type TableDisplayProps, TableFilter, type TableFilterBaseProps, TableFilterButton, type TableFilterButtonProps, type TableFilterCategory, TableFilterContent, type TableFilterContentProps, TableFilterOperator, type TableFilterType, type TableFilterValue, type TableGenericFilter, TableHeader, TableHeaderContext, type TableHeaderContextType, type TableHeaderProps, type TableNumberFilter, TablePageSizeController, type TablePageSizeControllerProps, TablePagination, TableProvider, type TableProviderProps, TableSortButton, type TableSortButtonProps, type TableTagsFilter, type TableTextFilter, TableWithSelectionProvider, type TableWithSelectionProviderProps, TagIcon, type TagProps, TagsFilter, type TagsFilterParameter, type TagsFilterProps, type TagsFilterValue, TextFilter, type TextFilterParameter, type TextFilterProps, type TextFilterValue, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, type ThemeConfig, ThemeContext, ThemeDialog, ThemeProvider, type ThemeProviderProps, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerMinuteIncrement, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipConfig, type TooltipProps, Transition, type TransitionState, type TransitionWrapperProps, type UnBoundedRange, type UseAnchoredPositionOptions, type UseAnchoredPostitionProps, type UseCreateFormProps, type UseCreateFormResult, type UseDelayOptions, type UseDelayOptionsResolved, type UseFocusTrapProps, type UseFormFieldOptions, type UseOutsideClickHandlers, type UseOutsideClickOptions, type UseOutsideClickProps, type UseOverlayRegistryProps, type UseOverlayRegistryResult, type UsePresenceRefProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, Visibility, type VisibilityProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, formatDate, formatDateTime, getBetweenDuration, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, isTableFilterCategory, match, mergeProps, noop, range, resolveSetState, subtractDuration, toSizeVars, useAnchoredPosition, useControlledState, useCreateForm, useDelay, useDialogContext, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useForm, useFormField, useHandleRefs, useHightideConfig, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useLogUnstableDependencies, useOutsideClick, useOverlayRegistry, useOverwritableState, usePopUpContext, usePresenceRef, useRerender, useResizeCallbackWrapper, useSearch, useSelectContext, useTabContext, useTableBodyContext, useTableColumnDefinitionContext, useTableContainerContext, useTableHeaderContext, useTheme, useTransitionState, useTranslatedValidators, validateEmail, writeToClipboard };
|