@helpwave/hightide 0.1.48 → 0.3.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,25 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, MutableRefObject, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
4
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
5
4
  import { Column, RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState, SortDirection } from '@tanstack/react-table';
6
- import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/react-checkbox';
7
5
  import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
8
6
 
9
- declare const shadingColorValues: readonly [0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950, 1000];
10
- type ColorShadingValue = typeof shadingColorValues[number];
11
- type ShadedColors = Record<ColorShadingValue, string>;
12
- type ColoringStyle = 'background' | 'tonal' | 'tonal-opaque' | 'text' | 'text-border';
13
- type ColorMode = 'light' | 'dark';
14
- type Coloring = {
15
- color: '';
16
- style?: ColoringStyle;
17
- mode?: ColorMode;
18
- hover?: boolean;
19
- };
20
-
21
- declare const generateShadingColors: (partialShading: Omit<Partial<ShadedColors>, "0" | "1000">) => ShadedColors;
22
-
23
7
  type Size = 'sm' | 'md' | 'lg';
24
8
  type HelpwaveBadgeProps = HTMLAttributes<HTMLSpanElement> & {
25
9
  size?: Size;
@@ -83,7 +67,7 @@ type YearMonthPickerProps = {
83
67
  maxHeight?: number;
84
68
  showValueOpen?: boolean;
85
69
  };
86
- declare const YearMonthPicker: ({ displayedYearMonth, start, end, onChange, className, maxHeight, showValueOpen }: YearMonthPickerProps) => react_jsx_runtime.JSX.Element;
70
+ declare const YearMonthPicker: ({ displayedYearMonth, start, end, onChange, className, showValueOpen }: YearMonthPickerProps) => react_jsx_runtime.JSX.Element;
87
71
  declare const YearMonthPickerUncontrolled: ({ displayedYearMonth, onChange, ...props }: YearMonthPickerProps) => react_jsx_runtime.JSX.Element;
88
72
 
89
73
  type DisplayMode = 'yearMonth' | 'day';
@@ -128,35 +112,29 @@ type TimePickerProps = {
128
112
  declare const TimePicker: ({ time, onChange, is24HourFormat, minuteIncrement, maxHeight, className }: TimePickerProps) => react_jsx_runtime.JSX.Element;
129
113
  declare const TimePickerUncontrolled: ({ time, onChange, ...props }: TimePickerProps) => react_jsx_runtime.JSX.Element;
130
114
 
131
- declare const ButtonColorUtil: {
132
- solid: readonly ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"];
133
- text: readonly ["primary", "negative", "neutral"];
134
- outline: readonly ["primary"];
135
- };
136
- declare const IconButtonUtil: {
137
- icon: readonly ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral", "transparent"];
138
- };
139
- /**
140
- * The allowed colors for the SolidButton and IconButton
141
- */
142
- type SolidButtonColor = typeof ButtonColorUtil.solid[number];
143
115
  /**
144
- * The allowed colors for the OutlineButton
145
- */
146
- type OutlineButtonColor = typeof ButtonColorUtil.outline[number];
147
- /**
148
- * The allowed colors for the TextButton
116
+ * The different sizes for a button
149
117
  */
150
- type TextButtonColor = typeof ButtonColorUtil.text[number];
118
+ type ButtonSize = 'tiny' | 'small' | 'medium' | 'large' | 'none';
119
+ type ButtonColoringStyle = 'outline' | 'solid' | 'text' | 'tonal' | 'none';
120
+ type ButtonLayout = 'icon' | 'default' | 'none';
121
+ declare const buttonColorsList: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral", "none"];
151
122
  /**
152
- * The allowed colors for the IconButton
123
+ * The allowed colors for the Button
153
124
  */
154
- type IconButtonColor = typeof IconButtonUtil.icon[number];
155
- /**
156
- * The different sizes for a button
157
- */
158
- type ButtonSizes = 'small' | 'medium' | 'large' | 'none';
159
- type IconButtonSize = 'tiny' | 'small' | 'medium' | 'large' | 'none';
125
+ type ButtonColor = typeof buttonColorsList[number];
126
+ declare const ButtonUtil: {
127
+ colors: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral", "none"];
128
+ colorClasses: {
129
+ primary: string;
130
+ secondary: string;
131
+ positive: string;
132
+ warning: string;
133
+ negative: string;
134
+ neutral: string;
135
+ none: string;
136
+ };
137
+ };
160
138
  /**
161
139
  * The shard properties between all button types
162
140
  */
@@ -164,67 +142,32 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
164
142
  /**
165
143
  * @default 'medium'
166
144
  */
167
- size?: ButtonSizes;
168
- };
169
- declare const ButtonUtil: {
170
- paddingMapping: Record<ButtonSizes, string>;
171
- iconPaddingMapping: Record<IconButtonSize, string>;
172
- };
173
- type ButtonWithIconsProps = ButtonProps & {
145
+ size?: ButtonSize;
146
+ layout?: ButtonLayout;
147
+ color?: ButtonColor;
148
+ /**
149
+ * @default 'solid'
150
+ */
151
+ coloringStyle?: ButtonColoringStyle;
174
152
  startIcon?: ReactNode;
175
153
  endIcon?: ReactNode;
176
154
  };
177
- type SolidButtonProps = ButtonWithIconsProps & {
178
- color?: SolidButtonColor;
179
- };
180
- type OutlineButtonProps = ButtonWithIconsProps & {
181
- color?: OutlineButtonColor;
182
- };
183
- type TextButtonProps = ButtonWithIconsProps & {
184
- color?: TextButtonColor;
185
- coloredHoverBackground?: boolean;
186
- };
187
155
  /**
188
- * The shard properties between all button types
156
+ * A button with a solid background and different sizes
189
157
  */
190
- type IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
158
+ declare const Button: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
191
159
  /**
192
160
  * @default 'medium'
193
161
  */
194
- size?: IconButtonSize;
195
- color?: IconButtonColor;
196
- };
197
- /**
198
- * A button with a solid background and different sizes
199
- */
200
- declare const SolidButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
162
+ size?: ButtonSize;
163
+ layout?: ButtonLayout;
164
+ color?: ButtonColor;
201
165
  /**
202
- * @default 'medium'
166
+ * @default 'solid'
203
167
  */
204
- size?: ButtonSizes;
205
- } & {
168
+ coloringStyle?: ButtonColoringStyle;
206
169
  startIcon?: ReactNode;
207
170
  endIcon?: ReactNode;
208
- } & {
209
- color?: SolidButtonColor;
210
- } & React.RefAttributes<HTMLButtonElement>>;
211
- /**
212
- * A button with an outline border and different sizes
213
- */
214
- declare const OutlineButton: ({ children, color, size, startIcon, endIcon, onClick, className, ...restProps }: OutlineButtonProps) => react_jsx_runtime.JSX.Element;
215
- /**
216
- * A text that is a button that can have different sizes
217
- */
218
- declare const TextButton: ({ children, color, size, startIcon, endIcon, onClick, coloredHoverBackground, className, ...restProps }: TextButtonProps) => react_jsx_runtime.JSX.Element;
219
- /**
220
- * A button for icons with a solid background and different sizes
221
- */
222
- declare const IconButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
223
- /**
224
- * @default 'medium'
225
- */
226
- size?: IconButtonSize;
227
- color?: IconButtonColor;
228
171
  } & React.RefAttributes<HTMLButtonElement>>;
229
172
 
230
173
  type DialogPosition = 'top' | 'center' | 'none';
@@ -253,7 +196,7 @@ declare const Dialog: ({ children, isOpen, titleElement, description, isModal, o
253
196
  type ConfirmDialogType = 'positive' | 'negative' | 'neutral' | 'primary';
254
197
  type ButtonOverwriteType = {
255
198
  text?: string;
256
- color?: SolidButtonColor;
199
+ color?: ButtonColor;
257
200
  disabled?: boolean;
258
201
  };
259
202
  type ConfirmDialogProps = Omit<DialogProps, 'onClose'> & {
@@ -528,12 +471,12 @@ type CarouselProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
528
471
  };
529
472
  declare const Carousel: ({ children, animationTime, isLooping, isAutoPlaying, autoLoopingTimeOut, autoLoopAnimationTime, hintNext, arrows, dots, blurColor, heightClassName, slideClassName, slideContainerProps, onSlideChanged, ...props }: CarouselProps) => react_jsx_runtime.JSX.Element;
530
473
 
531
- declare const chipColors: readonly ["default", "dark", "red", "yellow", "green", "blue", "pink", "orange"];
474
+ declare const chipColors: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral", "none"];
532
475
  type ChipColor = typeof chipColors[number];
533
- type ChipVariant = 'normal' | 'fullyRounded';
534
- type ChipSize = 'sm' | 'md' | 'lg';
476
+ type ChipVariant = 'normal' | 'fullyRounded' | 'none';
477
+ type ChipSize = 'small' | 'medium' | 'large' | 'none';
535
478
  declare const ChipUtil: {
536
- colors: readonly ["default", "dark", "red", "yellow", "green", "blue", "pink", "orange"];
479
+ colors: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral", "none"];
537
480
  };
538
481
  type ChipProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren<{
539
482
  color?: ChipColor;
@@ -545,7 +488,7 @@ type ChipProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren<{
545
488
  /**
546
489
  * A component for displaying a single chip
547
490
  */
548
- declare const Chip: ({ children, trailingIcon, color, size, icon, variant, className, ...restProps }: ChipProps) => react_jsx_runtime.JSX.Element;
491
+ declare const Chip: ({ children, trailingIcon, color, size, variant, className, ...restProps }: ChipProps) => react_jsx_runtime.JSX.Element;
549
492
  type ChipListProps = {
550
493
  list: ChipProps[];
551
494
  className?: string;
@@ -766,16 +709,6 @@ type MarkdownInterpreterProps = {
766
709
  };
767
710
  declare const MarkdownInterpreter: ({ text, className }: MarkdownInterpreterProps) => react_jsx_runtime.JSX.Element;
768
711
 
769
- type ScrollBarSize = 'sm' | 'md';
770
- type ScrollBarType = 'auto' | 'always' | 'scroll' | 'hover';
771
- type ScrollBarAxis = 'horizontal' | 'vertical' | 'both' | 'none';
772
- type ScrollAreaProps = Omit<ScrollAreaPrimitive.ScrollAreaProps, 'type'> & PropsWithChildren & {
773
- scrollbarSize?: ScrollBarSize;
774
- scrollbarType?: ScrollBarType;
775
- scrollbarAxis?: ScrollBarAxis;
776
- };
777
- declare const ScrollArea: ({ children, scrollbarSize, scrollbarType, scrollbarAxis, className, ...props }: ScrollAreaProps) => react_jsx_runtime.JSX.Element;
778
-
779
712
  interface TabInfo {
780
713
  label: string;
781
714
  }
@@ -864,7 +797,7 @@ declare const LoadingAnimation: ({ loadingText, classname }: LoadingAnimationPro
864
797
 
865
798
  type LoadingButtonProps = {
866
799
  isLoading?: boolean;
867
- } & SolidButtonProps;
800
+ } & ButtonProps;
868
801
  declare const LoadingButton: ({ isLoading, size, onClick, ...rest }: LoadingButtonProps) => react_jsx_runtime.JSX.Element;
869
802
 
870
803
  type LoadingComponentProps = {
@@ -1072,6 +1005,7 @@ type TableProps<T> = {
1072
1005
  fillerRow?: (columnId: string, table: Table$1<T>) => ReactNode;
1073
1006
  initialState?: Omit<InitialTableState, 'columnSizing' | 'columnSizingInfo'>;
1074
1007
  className?: string;
1008
+ tableContainerClassName?: string;
1075
1009
  onRowClick?: (row: Row<T>, table: Table$1<T>) => void;
1076
1010
  state?: Omit<TableState, 'columnSizing' | 'columnSizingInfo'>;
1077
1011
  tableClassName?: string;
@@ -1079,7 +1013,7 @@ type TableProps<T> = {
1079
1013
  /**
1080
1014
  * The standard table
1081
1015
  */
1082
- declare const Table: <T>({ data, fillerRow, initialState, onRowClick, className, tableClassName, defaultColumn, state, columns, ...tableOptions }: TableProps<T>) => react_jsx_runtime.JSX.Element;
1016
+ declare const Table: <T>({ data, fillerRow, initialState, onRowClick, className, tableClassName, tableContainerClassName, defaultColumn, state, columns, ...tableOptions }: TableProps<T>) => react_jsx_runtime.JSX.Element;
1083
1017
  type TableUncontrolledProps<T> = TableProps<T>;
1084
1018
  declare const TableUncontrolled: <T>({ data, ...props }: TableUncontrolledProps<T>) => react_jsx_runtime.JSX.Element;
1085
1019
  type TableWithSelectionProps<T> = TableProps<T> & {
@@ -1094,20 +1028,21 @@ type TableCellProps = PropsWithChildren<{
1094
1028
  }>;
1095
1029
  declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
1096
1030
 
1097
- type TableSortButtonProps = IconButtonProps & {
1031
+ type TableSortButtonProps = ButtonProps & {
1098
1032
  sortDirection: SortDirection | false;
1099
1033
  invert?: boolean;
1100
1034
  };
1101
1035
  /**
1102
1036
  * An Extension of the normal button that displays the sorting state right of the content
1103
1037
  */
1104
- declare const TableSortButton: ({ sortDirection, invert, color, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1038
+ declare const TableSortButton: ({ sortDirection, invert, color, size, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
1105
1039
 
1106
1040
  type CheckBoxSize = 'sm' | 'md' | 'lg';
1107
- type CheckboxProps = Omit<CheckboxProps$1, 'checked' | 'onCheckedChange' | 'onChange'> & {
1041
+ type CheckboxProps = HTMLAttributes<HTMLDivElement> & {
1108
1042
  checked?: boolean;
1043
+ disabled?: boolean;
1109
1044
  indeterminate?: boolean;
1110
- onChange?: (checked: boolean) => void;
1045
+ onCheckedChange?: (checked: boolean) => void;
1111
1046
  size?: CheckBoxSize;
1112
1047
  };
1113
1048
  /**
@@ -1115,14 +1050,14 @@ type CheckboxProps = Omit<CheckboxProps$1, 'checked' | 'onCheckedChange' | 'onCh
1115
1050
  *
1116
1051
  * The state is managed by the parent
1117
1052
  */
1118
- declare const Checkbox: ({ disabled, checked, indeterminate, onChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
1053
+ declare const Checkbox: ({ disabled, checked, indeterminate, onCheckedChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
1119
1054
  type CheckboxUncontrolledProps = CheckboxProps;
1120
1055
  /**
1121
1056
  * A Tristate checkbox
1122
1057
  *
1123
1058
  * The state is managed by this component
1124
1059
  */
1125
- declare const CheckboxUncontrolled: ({ checked: initialChecked, onChange, ...props }: CheckboxUncontrolledProps) => react_jsx_runtime.JSX.Element;
1060
+ declare const CheckboxUncontrolled: ({ checked: initialChecked, onCheckedChange, ...props }: CheckboxUncontrolledProps) => react_jsx_runtime.JSX.Element;
1126
1061
 
1127
1062
  type Position$1 = 'top' | 'bottom' | 'left' | 'right';
1128
1063
  type CopyToClipboardWrapperProps = PropsWithChildren<{
@@ -1227,102 +1162,6 @@ type SearchBarProps = InputProps & {
1227
1162
  };
1228
1163
  declare const SearchBar: ({ placeholder, onSearch, disableOnSearch, containerClassName, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
1229
1164
 
1230
- type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value'> & {
1231
- /** Inside the area */
1232
- value?: string;
1233
- invalid?: boolean;
1234
- onChangeText?: (text: string) => void;
1235
- onEditCompleted?: (text: string) => void;
1236
- saveDelayOptions?: UseDelayOptions;
1237
- defaultStyle?: boolean;
1238
- };
1239
- /**
1240
- * A Textarea component for inputting longer texts
1241
- *
1242
- * The State is managed by the parent
1243
- */
1244
- declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value"> & {
1245
- /** Inside the area */
1246
- value?: string;
1247
- invalid?: boolean;
1248
- onChangeText?: (text: string) => void;
1249
- onEditCompleted?: (text: string) => void;
1250
- saveDelayOptions?: UseDelayOptions;
1251
- defaultStyle?: boolean;
1252
- } & React.RefAttributes<HTMLTextAreaElement>>;
1253
- /**
1254
- * A Textarea component that is not controlled by its parent
1255
- */
1256
- declare const TextareaUncontrolled: ({ value, onChangeText, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
1257
- type TextareaWithHeadlineProps = Omit<TextareaProps, 'defaultStyle'> & {
1258
- headline: ReactNode;
1259
- headlineProps: Omit<LabelProps, 'children'>;
1260
- containerClassName?: string;
1261
- };
1262
- declare const TextareaWithHeadline: ({ id, headline, headlineProps, disabled, className, containerClassName, ...props }: TextareaWithHeadlineProps) => react_jsx_runtime.JSX.Element;
1263
-
1264
- type Position = 'top' | 'bottom' | 'left' | 'right';
1265
- type TooltipProps = PropsWithChildren<{
1266
- tooltip: ReactNode;
1267
- /**
1268
- * Number of milliseconds until the tooltip appears
1269
- *
1270
- * defaults to 1000ms
1271
- */
1272
- animationDelay?: number;
1273
- /**
1274
- * Class names of additional styling properties for the tooltip
1275
- */
1276
- tooltipClassName?: string;
1277
- /**
1278
- * Class names of additional styling properties for the container from which the tooltip will be created
1279
- */
1280
- containerClassName?: string;
1281
- position?: Position;
1282
- zIndex?: number;
1283
- }>;
1284
- /**
1285
- * A Component for showing a tooltip when hovering over Content
1286
- * @param tooltip The tooltip to show can be a text or any ReactNode
1287
- * @param children The Content for which the tooltip should be created
1288
- * @param animationDelay The delay before the tooltip appears
1289
- * @param tooltipClassName Additional ClassNames for the Container of the tooltip
1290
- * @param containerClassName Additional ClassNames for the Container holding the content
1291
- * @param position The direction of the tooltip relative to the Container
1292
- * @param zIndex The z Index of the tooltip (you may require this when stacking modal)
1293
- * @constructor
1294
- */
1295
- declare const Tooltip: ({ tooltip, children, animationDelay, tooltipClassName, containerClassName, position, zIndex, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1296
-
1297
- type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
1298
- label: ReactNode;
1299
- };
1300
- /**
1301
- * Text input component with a label inside the input that moves up when editing
1302
- *
1303
- * The State is managed by the parent
1304
- */
1305
- declare const InsideLabelInput: React.ForwardRefExoticComponent<Omit<InputProps, "aria-label" | "aria-labelledby" | "placeholder"> & {
1306
- label: ReactNode;
1307
- } & React.RefAttributes<HTMLInputElement>>;
1308
- declare const InsideLabelInputUncontrolled: ({ value: initialValue, ...props }: InsideLabelInputProps) => react_jsx_runtime.JSX.Element;
1309
-
1310
- type ToggleableInputProps = Omit<InputProps, 'defaultStyle'> & {
1311
- initialState?: 'editing' | 'display';
1312
- editCompleteOptions?: Omit<EditCompleteOptions, 'allowEnterComplete'>;
1313
- };
1314
- /**
1315
- * A Text input component for inputting text. It changes appearance upon entering the edit mode and switches
1316
- * back to display mode on loss of focus or on enter
1317
- *
1318
- * The State is managed by the parent
1319
- */
1320
- declare const ToggleableInput: React.ForwardRefExoticComponent<Omit<InputProps, "defaultStyle"> & {
1321
- initialState?: "editing" | "display";
1322
- editCompleteOptions?: Omit<EditCompleteOptions, "allowEnterComplete">;
1323
- } & React.RefAttributes<HTMLInputElement>>;
1324
- declare const ToggleableInputUncontrolled: ({ value: initialValue, onChangeText, ...restProps }: ToggleableInputProps) => react_jsx_runtime.JSX.Element;
1325
-
1326
1165
  type SelectIconAppearance = 'left' | 'right' | 'none';
1327
1166
  type SelectRootProps = PropsWithChildren<{
1328
1167
  id?: string;
@@ -1422,6 +1261,100 @@ declare const MultiSelectChipDisplayUncontrolled: React__default.ForwardRefExoti
1422
1261
  chipDisplayProps?: SelectChipDisplayProps;
1423
1262
  } & React__default.RefAttributes<HTMLDivElement>>;
1424
1263
 
1264
+ type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value'> & {
1265
+ /** Inside the area */
1266
+ value?: string;
1267
+ invalid?: boolean;
1268
+ onChangeText?: (text: string) => void;
1269
+ onEditCompleted?: (text: string) => void;
1270
+ saveDelayOptions?: UseDelayOptions;
1271
+ defaultStyle?: boolean;
1272
+ };
1273
+ /**
1274
+ * A Textarea component for inputting longer texts
1275
+ *
1276
+ * The State is managed by the parent
1277
+ */
1278
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value"> & {
1279
+ /** Inside the area */
1280
+ value?: string;
1281
+ invalid?: boolean;
1282
+ onChangeText?: (text: string) => void;
1283
+ onEditCompleted?: (text: string) => void;
1284
+ saveDelayOptions?: UseDelayOptions;
1285
+ defaultStyle?: boolean;
1286
+ } & React.RefAttributes<HTMLTextAreaElement>>;
1287
+ /**
1288
+ * A Textarea component that is not controlled by its parent
1289
+ */
1290
+ declare const TextareaUncontrolled: ({ value, onChangeText, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
1291
+ type TextareaWithHeadlineProps = Omit<TextareaProps, 'defaultStyle'> & {
1292
+ headline: ReactNode;
1293
+ headlineProps: Omit<LabelProps, 'children'>;
1294
+ containerClassName?: string;
1295
+ };
1296
+ declare const TextareaWithHeadline: ({ id, headline, headlineProps, disabled, className, containerClassName, ...props }: TextareaWithHeadlineProps) => react_jsx_runtime.JSX.Element;
1297
+
1298
+ type Position = 'top' | 'bottom' | 'left' | 'right';
1299
+ type TooltipProps = PropsWithChildren<{
1300
+ tooltip: ReactNode;
1301
+ /**
1302
+ * Number of milliseconds until the tooltip appears
1303
+ *
1304
+ * defaults to 1000ms
1305
+ */
1306
+ animationDelay?: number;
1307
+ /**
1308
+ * Class names of additional styling properties for the tooltip
1309
+ */
1310
+ tooltipClassName?: string;
1311
+ /**
1312
+ * Class names of additional styling properties for the container from which the tooltip will be created
1313
+ */
1314
+ containerClassName?: string;
1315
+ position?: Position;
1316
+ }>;
1317
+ /**
1318
+ * A Component for showing a tooltip when hovering over Content
1319
+ * @param tooltip The tooltip to show can be a text or any ReactNode
1320
+ * @param children The Content for which the tooltip should be created
1321
+ * @param animationDelay The delay before the tooltip appears
1322
+ * @param tooltipClassName Additional ClassNames for the Container of the tooltip
1323
+ * @param containerClassName Additional ClassNames for the Container holding the content
1324
+ * @param position The direction of the tooltip relative to the Container
1325
+ * @constructor
1326
+ */
1327
+ declare const Tooltip: ({ tooltip, children, animationDelay, tooltipClassName, containerClassName, position, }: TooltipProps) => react_jsx_runtime.JSX.Element;
1328
+
1329
+ type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
1330
+ label: ReactNode;
1331
+ };
1332
+ /**
1333
+ * Text input component with a label inside the input that moves up when editing
1334
+ *
1335
+ * The State is managed by the parent
1336
+ */
1337
+ declare const InsideLabelInput: React.ForwardRefExoticComponent<Omit<InputProps, "aria-label" | "aria-labelledby" | "placeholder"> & {
1338
+ label: ReactNode;
1339
+ } & React.RefAttributes<HTMLInputElement>>;
1340
+ declare const InsideLabelInputUncontrolled: ({ value: initialValue, ...props }: InsideLabelInputProps) => react_jsx_runtime.JSX.Element;
1341
+
1342
+ type ToggleableInputProps = Omit<InputProps, 'defaultStyle'> & {
1343
+ initialState?: 'editing' | 'display';
1344
+ editCompleteOptions?: Omit<EditCompleteOptions, 'allowEnterComplete'>;
1345
+ };
1346
+ /**
1347
+ * A Text input component for inputting text. It changes appearance upon entering the edit mode and switches
1348
+ * back to display mode on loss of focus or on enter
1349
+ *
1350
+ * The State is managed by the parent
1351
+ */
1352
+ declare const ToggleableInput: React.ForwardRefExoticComponent<Omit<InputProps, "defaultStyle"> & {
1353
+ initialState?: "editing" | "display";
1354
+ editCompleteOptions?: Omit<EditCompleteOptions, "allowEnterComplete">;
1355
+ } & React.RefAttributes<HTMLInputElement>>;
1356
+ declare const ToggleableInputUncontrolled: ({ value: initialValue, onChangeText, ...restProps }: ToggleableInputProps) => react_jsx_runtime.JSX.Element;
1357
+
1425
1358
  type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
1426
1359
  active?: boolean;
1427
1360
  initialFocus?: MutableRefObject<HTMLElement>;
@@ -1604,6 +1537,8 @@ declare const useTranslatedValidators: () => {
1604
1537
  selection: (value: unknown[] | undefined, length: [number | undefined, number | undefined]) => string;
1605
1538
  };
1606
1539
 
1540
+ declare function useZIndexRegister(isActive: boolean): number;
1541
+
1607
1542
  declare const hightideTranslationLocales: readonly ["de-DE", "en-US"];
1608
1543
  type HightideTranslationLocales = typeof hightideTranslationLocales[number];
1609
1544
  type HightideTranslationEntries = {
@@ -1943,6 +1878,13 @@ declare const clamp: (value: number, range?: [number, number]) => number;
1943
1878
 
1944
1879
  declare const noop: () => any;
1945
1880
 
1881
+ declare function sleep(ms: number): Promise<void>;
1882
+ declare function delayed<T>(value: T, ms: number): Promise<T>;
1883
+ declare const PromiseUtils: {
1884
+ sleep: typeof sleep;
1885
+ delayed: typeof delayed;
1886
+ };
1887
+
1946
1888
  declare function resolveSetState<T>(action: SetStateAction<T>, prev: T): T;
1947
1889
 
1948
1890
  /**
@@ -2011,4 +1953,4 @@ declare class SessionStorageService extends StorageService {
2011
1953
 
2012
1954
  declare const writeToClipboard: (text: string) => Promise<void>;
2013
1955
 
2014
- export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, ButtonColorUtil, 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 ColorMode, type ColorShadingValue, type Coloring, type ColoringStyle, 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, IconButton, type IconButtonColor, type IconButtonProps, IconButtonUtil, 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, OutlineButton, type OutlineButtonColor, type OutlineButtonProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollArea, type ScrollAreaProps, type ScrollBarAxis, type ScrollBarSize, type ScrollBarType, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, type ShadedColors, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, SolidButton, type SolidButtonColor, type SolidButtonProps, 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, TextButton, type TextButtonColor, type TextButtonProps, 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, generateShadingColors, getBetweenDuration, getDaysInMonth, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, monthsList, noop, range, resolveSetState, shadingColorValues, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTabContext, useTheme, useTranslatedValidators, validateEmail, weekDayList, writeToClipboard };
1956
+ 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 };