@helpwave/hightide 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, MutableRefObject, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
3
+ import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
4
4
  import { Column, RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState, SortDirection } from '@tanstack/react-table';
5
5
  import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
6
6
 
@@ -13,34 +13,62 @@ type HelpwaveBadgeProps = HTMLAttributes<HTMLSpanElement> & {
13
13
  */
14
14
  declare const HelpwaveBadge: ({ size, ...props }: HelpwaveBadgeProps) => react_jsx_runtime.JSX.Element;
15
15
 
16
+ type DurationJSON = {
17
+ years: number;
18
+ months: number;
19
+ days: number;
20
+ hours: number;
21
+ minutes: number;
22
+ seconds: number;
23
+ milliseconds: number;
24
+ };
25
+ declare class Duration {
26
+ readonly years: number;
27
+ readonly months: number;
28
+ readonly days: number;
29
+ readonly hours: number;
30
+ readonly minutes: number;
31
+ readonly seconds: number;
32
+ readonly milliseconds: number;
33
+ constructor({ years, months, days, hours, minutes, seconds, milliseconds, }?: Partial<DurationJSON>);
34
+ /** Date arithmetic */
35
+ addTo(date: Date): Date;
36
+ subtractFrom(date: Date): Date;
37
+ /** Duration arithmetic */
38
+ add(other: Duration): Duration;
39
+ subtract(other: Duration): Duration;
40
+ equals(other: Duration): boolean;
41
+ toJSON(): DurationJSON;
42
+ /** Static difference */
43
+ static difference(start: Date, end: Date): Duration;
44
+ private applyTo;
45
+ private assertRanges;
46
+ valueOf(): number;
47
+ }
48
+
16
49
  declare const monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
17
50
  type Month = typeof monthsList[number];
18
51
  declare const weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
19
52
  type WeekDay = typeof weekDayList[number];
20
53
  declare const formatDate: (date: Date) => string;
21
54
  declare const formatDateTime: (date: Date) => string;
22
- declare const getDaysInMonth: (year: number, month: number) => number;
23
- type Duration = {
24
- years?: number;
25
- months?: number;
26
- days?: number;
27
- hours?: number;
28
- minutes?: number;
29
- seconds?: number;
30
- milliseconds?: number;
31
- };
32
- declare const changeDuration: (date: Date, duration: Duration, isAdding?: boolean) => Date;
33
- declare const addDuration: (date: Date, duration: Duration) => Date;
34
- declare const subtractDuration: (date: Date, duration: Duration) => Date;
35
- declare const getBetweenDuration: (startDate: Date, endDate: Date) => Duration;
55
+ declare const changeDuration: (date: Date, duration: Partial<DurationJSON>, isAdding?: boolean) => Date;
56
+ declare const addDuration: (date: Date, duration: Partial<DurationJSON>) => Date;
57
+ declare const subtractDuration: (date: Date, duration: Partial<DurationJSON>) => Date;
58
+ declare const getBetweenDuration: (startDate: Date, endDate: Date) => Partial<DurationJSON>;
36
59
  /** Checks if a given date is in the range of two dates
37
60
  *
38
61
  * An undefined value for startDate or endDate means no bound for the start or end respectively
39
62
  */
40
63
  declare const isInTimeSpan: (value: Date, startDate?: Date, endDate?: Date) => boolean;
41
- /** Compare two dates on the year, month, day */
42
- declare const equalDate: (date1: Date, date2: Date) => boolean;
43
64
  declare const getWeeksForCalenderMonth: (date: Date, weekStart: WeekDay, weeks?: number) => Date[][];
65
+ declare const DateUtils: {
66
+ monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
67
+ weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
68
+ equalDate: (date1: Date, date2: Date) => boolean;
69
+ formatAbsolute: (date: Date, locale: string, showTime: boolean) => string;
70
+ formatRelative: (date: Date, locale: string, showTime: boolean) => string;
71
+ };
44
72
 
45
73
  type DayPickerProps = {
46
74
  displayedMonth: Date;
@@ -151,6 +179,7 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
151
179
  coloringStyle?: ButtonColoringStyle;
152
180
  startIcon?: ReactNode;
153
181
  endIcon?: ReactNode;
182
+ allowClickEventPropagation?: boolean;
154
183
  };
155
184
  /**
156
185
  * A button with a solid background and different sizes
@@ -168,6 +197,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLB
168
197
  coloringStyle?: ButtonColoringStyle;
169
198
  startIcon?: ReactNode;
170
199
  endIcon?: ReactNode;
200
+ allowClickEventPropagation?: boolean;
171
201
  } & React.RefAttributes<HTMLButtonElement>>;
172
202
 
173
203
  type DialogPosition = 'top' | 'center' | 'none';
@@ -602,15 +632,15 @@ type UseFloatingElementOptions = CalculatePositionOptions & {
602
632
  pollingInterval?: number;
603
633
  };
604
634
  type UseFloatingElementProps = UseFloatingElementOptions & {
605
- containerRef: MutableRefObject<HTMLElement>;
606
- anchorRef: MutableRefObject<HTMLElement>;
607
- windowRef?: MutableRefObject<HTMLElement>;
635
+ containerRef: RefObject<HTMLElement>;
636
+ anchorRef: RefObject<HTMLElement>;
637
+ windowRef?: RefObject<HTMLElement>;
608
638
  active?: boolean;
609
639
  };
610
640
  declare function useFloatingElement({ active, windowRef, anchorRef, containerRef, isPolling, pollingInterval, verticalAlignment, horizontalAlignment, screenPadding, gap, }: UseFloatingElementProps): CSSProperties;
611
641
 
612
642
  type FloatingContainerProps = HTMLAttributes<HTMLDivElement> & UseFloatingElementOptions & {
613
- anchor?: MutableRefObject<HTMLElement>;
643
+ anchor?: RefObject<HTMLElement>;
614
644
  /**
615
645
  * Polls the position of the anchor every 100ms
616
646
  *
@@ -633,7 +663,7 @@ declare const FloatingContainer: React.ForwardRefExoticComponent<HTMLAttributes<
633
663
  isPolling?: boolean;
634
664
  pollingInterval?: number;
635
665
  } & {
636
- anchor?: MutableRefObject<HTMLElement>;
666
+ anchor?: RefObject<HTMLElement>;
637
667
  /**
638
668
  * Polls the position of the anchor every 100ms
639
669
  *
@@ -759,6 +789,11 @@ type VerticalDividerProps = {
759
789
  */
760
790
  declare const VerticalDivider: ({ width, height, strokeWidth, dashGap, dashLength, }: VerticalDividerProps) => react_jsx_runtime.JSX.Element;
761
791
 
792
+ type VisibilityProps = PropsWithChildren & {
793
+ isVisible?: boolean;
794
+ };
795
+ declare function Visibility({ children, isVisible }: VisibilityProps): React.ReactNode;
796
+
762
797
  type ErrorComponentProps = {
763
798
  errorText?: string;
764
799
  classname?: string;
@@ -782,7 +817,7 @@ type LoadingAndErrorComponentProps = PropsWithChildren<{
782
817
  /**
783
818
  * A Component that shows the Error and Loading animation, when appropriate and the children otherwise
784
819
  */
785
- declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode>;
820
+ declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode>>;
786
821
 
787
822
  type LoadingAnimationProps = {
788
823
  loadingText?: string;
@@ -1026,14 +1061,19 @@ type TableCellProps = PropsWithChildren<{
1026
1061
  }>;
1027
1062
  declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
1028
1063
 
1064
+ type SortingIndexDisplay = {
1065
+ index: number;
1066
+ sortingsCount: number;
1067
+ };
1029
1068
  type TableSortButtonProps = ButtonProps & {
1030
1069
  sortDirection: SortDirection | false;
1070
+ sortingIndexDisplay?: SortingIndexDisplay;
1031
1071
  invert?: boolean;
1032
1072
  };
1033
1073
  /**
1034
1074
  * An Extension of the normal button that displays the sorting state right of the content
1035
1075
  */
1036
- declare const TableSortButton: ({ sortDirection, invert, color, size, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1076
+ declare const TableSortButton: ({ sortDirection, invert, color, size, className, sortingIndexDisplay, ...props }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1037
1077
 
1038
1078
  type CheckBoxSize = 'small' | 'medium' | 'large';
1039
1079
  type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
@@ -1091,15 +1131,13 @@ type DateTimePickerProps = {
1091
1131
  start?: Date;
1092
1132
  end?: Date;
1093
1133
  onChange?: (date: Date) => void;
1094
- onFinish?: (date: Date) => void;
1095
- onRemove?: () => void;
1096
1134
  datePickerProps?: Omit<DatePickerProps, 'onChange' | 'value' | 'start' | 'end'>;
1097
1135
  timePickerProps?: Omit<TimePickerProps, 'onChange' | 'time' | 'maxHeight'>;
1098
1136
  };
1099
1137
  /**
1100
1138
  * A Component for picking a Date and Time
1101
1139
  */
1102
- declare const DateTimePicker: ({ value, start, end, mode, onFinish, onChange, onRemove, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
1140
+ declare const DateTimePicker: ({ value, start, end, mode, onChange, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
1103
1141
 
1104
1142
  type PopoverHorizontalAlignment = 'leftOutside' | 'leftInside' | 'rightOutside' | 'rightInside' | 'center';
1105
1143
  type PopoverVerticalAlignment = 'topOutside' | 'topInside' | 'bottomOutside' | 'bottomInside' | 'center';
@@ -1291,9 +1329,15 @@ type TooltipProps = PropsWithChildren<{
1291
1329
  /**
1292
1330
  * Number of milliseconds until the tooltip appears
1293
1331
  *
1294
- * defaults to 1000ms
1332
+ * defaults to 400ms
1295
1333
  */
1296
- animationDelay?: number;
1334
+ appearDelay?: number;
1335
+ /**
1336
+ * Number of milliseconds until the tooltip disappears
1337
+ *
1338
+ * defaults to 50ms
1339
+ */
1340
+ disappearDelay?: number;
1297
1341
  /**
1298
1342
  * Class names of additional styling properties for the tooltip
1299
1343
  */
@@ -1303,6 +1347,7 @@ type TooltipProps = PropsWithChildren<{
1303
1347
  */
1304
1348
  containerClassName?: string;
1305
1349
  position?: Position;
1350
+ disabled?: boolean;
1306
1351
  }>;
1307
1352
  /**
1308
1353
  * A Component for showing a tooltip when hovering over Content
@@ -1314,7 +1359,19 @@ type TooltipProps = PropsWithChildren<{
1314
1359
  * @param position The direction of the tooltip relative to the Container
1315
1360
  * @constructor
1316
1361
  */
1317
- declare const Tooltip: ({ tooltip, children, animationDelay, tooltipClassName, containerClassName, position, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1362
+ declare const Tooltip: ({ tooltip, children, appearDelay, disappearDelay, tooltipClassName, containerClassName, position, disabled, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1363
+
1364
+ type DateTimeInputProps = Omit<InputProps, 'onEditCompleted'> & {
1365
+ date?: Date;
1366
+ onValueChange?: (date: Date) => void;
1367
+ onEditCompleted?: (date: Date) => void;
1368
+ onRemove?: () => void;
1369
+ mode?: 'date' | 'dateTime';
1370
+ containerProps?: HTMLAttributes<HTMLDivElement>;
1371
+ pickerProps?: Omit<DateTimePickerProps, 'mode' | 'value' | 'onChange'>;
1372
+ };
1373
+ declare const DateTimeInput: ({ date, onValueChange, onEditCompleted, onRemove, containerProps, mode, pickerProps, ...props }: DateTimeInputProps) => react_jsx_runtime.JSX.Element;
1374
+ declare const DateTimeInputUncontrolled: ({ date: initialDate, ...props }: DateTimeInputProps) => react_jsx_runtime.JSX.Element;
1318
1375
 
1319
1376
  type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
1320
1377
  label: ReactNode;
@@ -1354,7 +1411,7 @@ declare const ToggleableInputUncontrolled: ({ value: initialValue, onChangeText,
1354
1411
 
1355
1412
  type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
1356
1413
  active?: boolean;
1357
- initialFocus?: MutableRefObject<HTMLElement>;
1414
+ initialFocus?: RefObject<HTMLElement>;
1358
1415
  /**
1359
1416
  * Whether to focus the first element when the initialFocus isn't provided
1360
1417
  *
@@ -1367,7 +1424,7 @@ type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
1367
1424
  */
1368
1425
  declare const FocusTrap: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
1369
1426
  active?: boolean;
1370
- initialFocus?: MutableRefObject<HTMLElement>;
1427
+ initialFocus?: RefObject<HTMLElement>;
1371
1428
  /**
1372
1429
  * Whether to focus the first element when the initialFocus isn't provided
1373
1430
  *
@@ -1408,12 +1465,12 @@ declare function useFocusManagement(): {
1408
1465
  focusPrevious: () => void;
1409
1466
  };
1410
1467
 
1411
- declare const useFocusOnceVisible: (ref: MutableRefObject<HTMLElement>, disable?: boolean) => void;
1468
+ declare const useFocusOnceVisible: (ref: RefObject<HTMLElement>, disable?: boolean) => void;
1412
1469
 
1413
1470
  type UseFocusTrapProps = {
1414
- container: MutableRefObject<HTMLElement>;
1471
+ container: RefObject<HTMLElement>;
1415
1472
  active?: boolean;
1416
- initialFocus?: MutableRefObject<HTMLElement>;
1473
+ initialFocus?: RefObject<HTMLElement>;
1417
1474
  /**
1418
1475
  * Whether to focus the first element when the initialFocus isn't provided
1419
1476
  *
@@ -1488,7 +1545,7 @@ declare const useOutsideClick: <Ts extends RefObject<HTMLElement>[]>(refs: Ts, h
1488
1545
 
1489
1546
  declare const useOverwritableState: <T>(initialValue?: T, onChange?: (value: T) => void) => [T, React__default.Dispatch<React__default.SetStateAction<T>>];
1490
1547
 
1491
- declare const useRerender: () => React.DispatchWithoutAction;
1548
+ declare const useRerender: () => React.ActionDispatch<[]>;
1492
1549
 
1493
1550
  /**
1494
1551
  * A hook that wraps the event listener attachment
@@ -1614,6 +1671,9 @@ type HightideTranslationEntries = {
1614
1671
  'remove': string;
1615
1672
  'required': string;
1616
1673
  'reset': string;
1674
+ 'rSortingOrderAfter': (values: {
1675
+ otherSortings: number;
1676
+ }) => string;
1617
1677
  'save': string;
1618
1678
  'saved': string;
1619
1679
  'search': string;
@@ -1950,4 +2010,4 @@ declare class SessionStorageService extends StorageService {
1950
2010
 
1951
2011
  declare const writeToClipboard: (text: string) => Promise<void>;
1952
2012
 
1953
- export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, 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, DateTimePicker, type DateTimePickerMode, type DateTimePickerProps, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, type DialogPosition, type DialogProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, type Duration, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, type ExpandableProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerRowElement, type FillerRowElementProps, FloatingContainer, type FloatingContainerProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, type FormElementStateProperties, FormElementWrapper, type FormElementWrapperProps, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideTranslationEntries, type HightideTranslationLocales, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, Label, type LabelProps, type LabelType, 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, LoadingButton, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectChipDisplay, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectUncontrolled, type MultiSelectUncontrolledProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberProperty, type NumberPropertyProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, Tab, type TabContextType, type TabInfo, TabView, Table, TableCell, type TableCellProps, TableFilterButton, type TableFilterButtonProps, type TableFilterType, TableFilters, type TableProps, TableSortButton, type TableSortButtonProps, TableUncontrolled, type TableUncontrolledProps, TableWithSelection, type TableWithSelectionProps, TagIcon, type TagProps, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, ThemeContext, ThemeDialog, ThemeProvider, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipProps, Transition, type TransitionWrapperProps, type UseDelayOptions, type UseDelayOptionsResolved, type UseFloatingElementOptions, type UseFloatingElementProps, type UseFocusTrapProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, clamp, closestMatch, createLoopingList, createLoopingListWithIndex, equalDate, equalSizeGroups, formatDate, formatDateTime, getBetweenDuration, getDaysInMonth, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, monthsList, noop, range, resolveSetState, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTabContext, useTheme, useTranslatedValidators, useZIndexRegister, validateEmail, weekDayList, writeToClipboard };
2013
+ export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, 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 DateTimeInputProps, DateTimeInputUncontrolled, DateTimePicker, type DateTimePickerMode, type DateTimePickerProps, DateUtils, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, type DialogPosition, type DialogProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, Duration, type DurationJSON, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, type ExpandableProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerRowElement, type FillerRowElementProps, FloatingContainer, type FloatingContainerProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, type FormElementStateProperties, FormElementWrapper, type FormElementWrapperProps, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideTranslationEntries, type HightideTranslationLocales, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, Label, type LabelProps, type LabelType, 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, LoadingButton, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectChipDisplay, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectUncontrolled, type MultiSelectUncontrolledProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberProperty, type NumberPropertyProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, Tab, type TabContextType, type TabInfo, TabView, Table, TableCell, type TableCellProps, TableFilterButton, type TableFilterButtonProps, type TableFilterType, TableFilters, type TableProps, TableSortButton, type TableSortButtonProps, TableUncontrolled, type TableUncontrolledProps, TableWithSelection, type TableWithSelectionProps, TagIcon, type TagProps, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, ThemeContext, ThemeDialog, ThemeProvider, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipProps, Transition, type TransitionWrapperProps, type UseDelayOptions, type UseDelayOptionsResolved, type UseFloatingElementOptions, type UseFloatingElementProps, type UseFocusTrapProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, Visibility, type VisibilityProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, clamp, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, formatDate, formatDateTime, getBetweenDuration, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, noop, range, resolveSetState, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTabContext, useTheme, useTranslatedValidators, useZIndexRegister, validateEmail, writeToClipboard };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, MutableRefObject, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
3
+ import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
4
4
  import { Column, RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState, SortDirection } from '@tanstack/react-table';
5
5
  import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
6
6
 
@@ -13,34 +13,62 @@ type HelpwaveBadgeProps = HTMLAttributes<HTMLSpanElement> & {
13
13
  */
14
14
  declare const HelpwaveBadge: ({ size, ...props }: HelpwaveBadgeProps) => react_jsx_runtime.JSX.Element;
15
15
 
16
+ type DurationJSON = {
17
+ years: number;
18
+ months: number;
19
+ days: number;
20
+ hours: number;
21
+ minutes: number;
22
+ seconds: number;
23
+ milliseconds: number;
24
+ };
25
+ declare class Duration {
26
+ readonly years: number;
27
+ readonly months: number;
28
+ readonly days: number;
29
+ readonly hours: number;
30
+ readonly minutes: number;
31
+ readonly seconds: number;
32
+ readonly milliseconds: number;
33
+ constructor({ years, months, days, hours, minutes, seconds, milliseconds, }?: Partial<DurationJSON>);
34
+ /** Date arithmetic */
35
+ addTo(date: Date): Date;
36
+ subtractFrom(date: Date): Date;
37
+ /** Duration arithmetic */
38
+ add(other: Duration): Duration;
39
+ subtract(other: Duration): Duration;
40
+ equals(other: Duration): boolean;
41
+ toJSON(): DurationJSON;
42
+ /** Static difference */
43
+ static difference(start: Date, end: Date): Duration;
44
+ private applyTo;
45
+ private assertRanges;
46
+ valueOf(): number;
47
+ }
48
+
16
49
  declare const monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
17
50
  type Month = typeof monthsList[number];
18
51
  declare const weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
19
52
  type WeekDay = typeof weekDayList[number];
20
53
  declare const formatDate: (date: Date) => string;
21
54
  declare const formatDateTime: (date: Date) => string;
22
- declare const getDaysInMonth: (year: number, month: number) => number;
23
- type Duration = {
24
- years?: number;
25
- months?: number;
26
- days?: number;
27
- hours?: number;
28
- minutes?: number;
29
- seconds?: number;
30
- milliseconds?: number;
31
- };
32
- declare const changeDuration: (date: Date, duration: Duration, isAdding?: boolean) => Date;
33
- declare const addDuration: (date: Date, duration: Duration) => Date;
34
- declare const subtractDuration: (date: Date, duration: Duration) => Date;
35
- declare const getBetweenDuration: (startDate: Date, endDate: Date) => Duration;
55
+ declare const changeDuration: (date: Date, duration: Partial<DurationJSON>, isAdding?: boolean) => Date;
56
+ declare const addDuration: (date: Date, duration: Partial<DurationJSON>) => Date;
57
+ declare const subtractDuration: (date: Date, duration: Partial<DurationJSON>) => Date;
58
+ declare const getBetweenDuration: (startDate: Date, endDate: Date) => Partial<DurationJSON>;
36
59
  /** Checks if a given date is in the range of two dates
37
60
  *
38
61
  * An undefined value for startDate or endDate means no bound for the start or end respectively
39
62
  */
40
63
  declare const isInTimeSpan: (value: Date, startDate?: Date, endDate?: Date) => boolean;
41
- /** Compare two dates on the year, month, day */
42
- declare const equalDate: (date1: Date, date2: Date) => boolean;
43
64
  declare const getWeeksForCalenderMonth: (date: Date, weekStart: WeekDay, weeks?: number) => Date[][];
65
+ declare const DateUtils: {
66
+ monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
67
+ weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
68
+ equalDate: (date1: Date, date2: Date) => boolean;
69
+ formatAbsolute: (date: Date, locale: string, showTime: boolean) => string;
70
+ formatRelative: (date: Date, locale: string, showTime: boolean) => string;
71
+ };
44
72
 
45
73
  type DayPickerProps = {
46
74
  displayedMonth: Date;
@@ -151,6 +179,7 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
151
179
  coloringStyle?: ButtonColoringStyle;
152
180
  startIcon?: ReactNode;
153
181
  endIcon?: ReactNode;
182
+ allowClickEventPropagation?: boolean;
154
183
  };
155
184
  /**
156
185
  * A button with a solid background and different sizes
@@ -168,6 +197,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLB
168
197
  coloringStyle?: ButtonColoringStyle;
169
198
  startIcon?: ReactNode;
170
199
  endIcon?: ReactNode;
200
+ allowClickEventPropagation?: boolean;
171
201
  } & React.RefAttributes<HTMLButtonElement>>;
172
202
 
173
203
  type DialogPosition = 'top' | 'center' | 'none';
@@ -602,15 +632,15 @@ type UseFloatingElementOptions = CalculatePositionOptions & {
602
632
  pollingInterval?: number;
603
633
  };
604
634
  type UseFloatingElementProps = UseFloatingElementOptions & {
605
- containerRef: MutableRefObject<HTMLElement>;
606
- anchorRef: MutableRefObject<HTMLElement>;
607
- windowRef?: MutableRefObject<HTMLElement>;
635
+ containerRef: RefObject<HTMLElement>;
636
+ anchorRef: RefObject<HTMLElement>;
637
+ windowRef?: RefObject<HTMLElement>;
608
638
  active?: boolean;
609
639
  };
610
640
  declare function useFloatingElement({ active, windowRef, anchorRef, containerRef, isPolling, pollingInterval, verticalAlignment, horizontalAlignment, screenPadding, gap, }: UseFloatingElementProps): CSSProperties;
611
641
 
612
642
  type FloatingContainerProps = HTMLAttributes<HTMLDivElement> & UseFloatingElementOptions & {
613
- anchor?: MutableRefObject<HTMLElement>;
643
+ anchor?: RefObject<HTMLElement>;
614
644
  /**
615
645
  * Polls the position of the anchor every 100ms
616
646
  *
@@ -633,7 +663,7 @@ declare const FloatingContainer: React.ForwardRefExoticComponent<HTMLAttributes<
633
663
  isPolling?: boolean;
634
664
  pollingInterval?: number;
635
665
  } & {
636
- anchor?: MutableRefObject<HTMLElement>;
666
+ anchor?: RefObject<HTMLElement>;
637
667
  /**
638
668
  * Polls the position of the anchor every 100ms
639
669
  *
@@ -759,6 +789,11 @@ type VerticalDividerProps = {
759
789
  */
760
790
  declare const VerticalDivider: ({ width, height, strokeWidth, dashGap, dashLength, }: VerticalDividerProps) => react_jsx_runtime.JSX.Element;
761
791
 
792
+ type VisibilityProps = PropsWithChildren & {
793
+ isVisible?: boolean;
794
+ };
795
+ declare function Visibility({ children, isVisible }: VisibilityProps): React.ReactNode;
796
+
762
797
  type ErrorComponentProps = {
763
798
  errorText?: string;
764
799
  classname?: string;
@@ -782,7 +817,7 @@ type LoadingAndErrorComponentProps = PropsWithChildren<{
782
817
  /**
783
818
  * A Component that shows the Error and Loading animation, when appropriate and the children otherwise
784
819
  */
785
- declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode>;
820
+ declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode>>;
786
821
 
787
822
  type LoadingAnimationProps = {
788
823
  loadingText?: string;
@@ -1026,14 +1061,19 @@ type TableCellProps = PropsWithChildren<{
1026
1061
  }>;
1027
1062
  declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
1028
1063
 
1064
+ type SortingIndexDisplay = {
1065
+ index: number;
1066
+ sortingsCount: number;
1067
+ };
1029
1068
  type TableSortButtonProps = ButtonProps & {
1030
1069
  sortDirection: SortDirection | false;
1070
+ sortingIndexDisplay?: SortingIndexDisplay;
1031
1071
  invert?: boolean;
1032
1072
  };
1033
1073
  /**
1034
1074
  * An Extension of the normal button that displays the sorting state right of the content
1035
1075
  */
1036
- declare const TableSortButton: ({ sortDirection, invert, color, size, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1076
+ declare const TableSortButton: ({ sortDirection, invert, color, size, className, sortingIndexDisplay, ...props }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1037
1077
 
1038
1078
  type CheckBoxSize = 'small' | 'medium' | 'large';
1039
1079
  type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
@@ -1091,15 +1131,13 @@ type DateTimePickerProps = {
1091
1131
  start?: Date;
1092
1132
  end?: Date;
1093
1133
  onChange?: (date: Date) => void;
1094
- onFinish?: (date: Date) => void;
1095
- onRemove?: () => void;
1096
1134
  datePickerProps?: Omit<DatePickerProps, 'onChange' | 'value' | 'start' | 'end'>;
1097
1135
  timePickerProps?: Omit<TimePickerProps, 'onChange' | 'time' | 'maxHeight'>;
1098
1136
  };
1099
1137
  /**
1100
1138
  * A Component for picking a Date and Time
1101
1139
  */
1102
- declare const DateTimePicker: ({ value, start, end, mode, onFinish, onChange, onRemove, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
1140
+ declare const DateTimePicker: ({ value, start, end, mode, onChange, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
1103
1141
 
1104
1142
  type PopoverHorizontalAlignment = 'leftOutside' | 'leftInside' | 'rightOutside' | 'rightInside' | 'center';
1105
1143
  type PopoverVerticalAlignment = 'topOutside' | 'topInside' | 'bottomOutside' | 'bottomInside' | 'center';
@@ -1291,9 +1329,15 @@ type TooltipProps = PropsWithChildren<{
1291
1329
  /**
1292
1330
  * Number of milliseconds until the tooltip appears
1293
1331
  *
1294
- * defaults to 1000ms
1332
+ * defaults to 400ms
1295
1333
  */
1296
- animationDelay?: number;
1334
+ appearDelay?: number;
1335
+ /**
1336
+ * Number of milliseconds until the tooltip disappears
1337
+ *
1338
+ * defaults to 50ms
1339
+ */
1340
+ disappearDelay?: number;
1297
1341
  /**
1298
1342
  * Class names of additional styling properties for the tooltip
1299
1343
  */
@@ -1303,6 +1347,7 @@ type TooltipProps = PropsWithChildren<{
1303
1347
  */
1304
1348
  containerClassName?: string;
1305
1349
  position?: Position;
1350
+ disabled?: boolean;
1306
1351
  }>;
1307
1352
  /**
1308
1353
  * A Component for showing a tooltip when hovering over Content
@@ -1314,7 +1359,19 @@ type TooltipProps = PropsWithChildren<{
1314
1359
  * @param position The direction of the tooltip relative to the Container
1315
1360
  * @constructor
1316
1361
  */
1317
- declare const Tooltip: ({ tooltip, children, animationDelay, tooltipClassName, containerClassName, position, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1362
+ declare const Tooltip: ({ tooltip, children, appearDelay, disappearDelay, tooltipClassName, containerClassName, position, disabled, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1363
+
1364
+ type DateTimeInputProps = Omit<InputProps, 'onEditCompleted'> & {
1365
+ date?: Date;
1366
+ onValueChange?: (date: Date) => void;
1367
+ onEditCompleted?: (date: Date) => void;
1368
+ onRemove?: () => void;
1369
+ mode?: 'date' | 'dateTime';
1370
+ containerProps?: HTMLAttributes<HTMLDivElement>;
1371
+ pickerProps?: Omit<DateTimePickerProps, 'mode' | 'value' | 'onChange'>;
1372
+ };
1373
+ declare const DateTimeInput: ({ date, onValueChange, onEditCompleted, onRemove, containerProps, mode, pickerProps, ...props }: DateTimeInputProps) => react_jsx_runtime.JSX.Element;
1374
+ declare const DateTimeInputUncontrolled: ({ date: initialDate, ...props }: DateTimeInputProps) => react_jsx_runtime.JSX.Element;
1318
1375
 
1319
1376
  type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
1320
1377
  label: ReactNode;
@@ -1354,7 +1411,7 @@ declare const ToggleableInputUncontrolled: ({ value: initialValue, onChangeText,
1354
1411
 
1355
1412
  type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
1356
1413
  active?: boolean;
1357
- initialFocus?: MutableRefObject<HTMLElement>;
1414
+ initialFocus?: RefObject<HTMLElement>;
1358
1415
  /**
1359
1416
  * Whether to focus the first element when the initialFocus isn't provided
1360
1417
  *
@@ -1367,7 +1424,7 @@ type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
1367
1424
  */
1368
1425
  declare const FocusTrap: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
1369
1426
  active?: boolean;
1370
- initialFocus?: MutableRefObject<HTMLElement>;
1427
+ initialFocus?: RefObject<HTMLElement>;
1371
1428
  /**
1372
1429
  * Whether to focus the first element when the initialFocus isn't provided
1373
1430
  *
@@ -1408,12 +1465,12 @@ declare function useFocusManagement(): {
1408
1465
  focusPrevious: () => void;
1409
1466
  };
1410
1467
 
1411
- declare const useFocusOnceVisible: (ref: MutableRefObject<HTMLElement>, disable?: boolean) => void;
1468
+ declare const useFocusOnceVisible: (ref: RefObject<HTMLElement>, disable?: boolean) => void;
1412
1469
 
1413
1470
  type UseFocusTrapProps = {
1414
- container: MutableRefObject<HTMLElement>;
1471
+ container: RefObject<HTMLElement>;
1415
1472
  active?: boolean;
1416
- initialFocus?: MutableRefObject<HTMLElement>;
1473
+ initialFocus?: RefObject<HTMLElement>;
1417
1474
  /**
1418
1475
  * Whether to focus the first element when the initialFocus isn't provided
1419
1476
  *
@@ -1488,7 +1545,7 @@ declare const useOutsideClick: <Ts extends RefObject<HTMLElement>[]>(refs: Ts, h
1488
1545
 
1489
1546
  declare const useOverwritableState: <T>(initialValue?: T, onChange?: (value: T) => void) => [T, React__default.Dispatch<React__default.SetStateAction<T>>];
1490
1547
 
1491
- declare const useRerender: () => React.DispatchWithoutAction;
1548
+ declare const useRerender: () => React.ActionDispatch<[]>;
1492
1549
 
1493
1550
  /**
1494
1551
  * A hook that wraps the event listener attachment
@@ -1614,6 +1671,9 @@ type HightideTranslationEntries = {
1614
1671
  'remove': string;
1615
1672
  'required': string;
1616
1673
  'reset': string;
1674
+ 'rSortingOrderAfter': (values: {
1675
+ otherSortings: number;
1676
+ }) => string;
1617
1677
  'save': string;
1618
1678
  'saved': string;
1619
1679
  'search': string;
@@ -1950,4 +2010,4 @@ declare class SessionStorageService extends StorageService {
1950
2010
 
1951
2011
  declare const writeToClipboard: (text: string) => Promise<void>;
1952
2012
 
1953
- export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, 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, DateTimePicker, type DateTimePickerMode, type DateTimePickerProps, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, type DialogPosition, type DialogProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, type Duration, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, type ExpandableProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerRowElement, type FillerRowElementProps, FloatingContainer, type FloatingContainerProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, type FormElementStateProperties, FormElementWrapper, type FormElementWrapperProps, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideTranslationEntries, type HightideTranslationLocales, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, Label, type LabelProps, type LabelType, 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, LoadingButton, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectChipDisplay, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectUncontrolled, type MultiSelectUncontrolledProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberProperty, type NumberPropertyProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, Tab, type TabContextType, type TabInfo, TabView, Table, TableCell, type TableCellProps, TableFilterButton, type TableFilterButtonProps, type TableFilterType, TableFilters, type TableProps, TableSortButton, type TableSortButtonProps, TableUncontrolled, type TableUncontrolledProps, TableWithSelection, type TableWithSelectionProps, TagIcon, type TagProps, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, ThemeContext, ThemeDialog, ThemeProvider, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipProps, Transition, type TransitionWrapperProps, type UseDelayOptions, type UseDelayOptionsResolved, type UseFloatingElementOptions, type UseFloatingElementProps, type UseFocusTrapProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, clamp, closestMatch, createLoopingList, createLoopingListWithIndex, equalDate, equalSizeGroups, formatDate, formatDateTime, getBetweenDuration, getDaysInMonth, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, monthsList, noop, range, resolveSetState, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTabContext, useTheme, useTranslatedValidators, useZIndexRegister, validateEmail, weekDayList, writeToClipboard };
2013
+ export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, 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 DateTimeInputProps, DateTimeInputUncontrolled, DateTimePicker, type DateTimePickerMode, type DateTimePickerProps, DateUtils, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, type DialogPosition, type DialogProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, Duration, type DurationJSON, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, type ExpandableProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerRowElement, type FillerRowElementProps, FloatingContainer, type FloatingContainerProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, type FormElementStateProperties, FormElementWrapper, type FormElementWrapperProps, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideTranslationEntries, type HightideTranslationLocales, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, Label, type LabelProps, type LabelType, 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, LoadingButton, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectChipDisplay, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectUncontrolled, type MultiSelectUncontrolledProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberProperty, type NumberPropertyProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, Tab, type TabContextType, type TabInfo, TabView, Table, TableCell, type TableCellProps, TableFilterButton, type TableFilterButtonProps, type TableFilterType, TableFilters, type TableProps, TableSortButton, type TableSortButtonProps, TableUncontrolled, type TableUncontrolledProps, TableWithSelection, type TableWithSelectionProps, TagIcon, type TagProps, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, ThemeContext, ThemeDialog, ThemeProvider, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipProps, Transition, type TransitionWrapperProps, type UseDelayOptions, type UseDelayOptionsResolved, type UseFloatingElementOptions, type UseFloatingElementProps, type UseFocusTrapProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, Visibility, type VisibilityProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, clamp, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, formatDate, formatDateTime, getBetweenDuration, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, noop, range, resolveSetState, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTabContext, useTheme, useTranslatedValidators, useZIndexRegister, validateEmail, writeToClipboard };