@wavy/react-ui 0.0.1 → 0.0.2

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/main.d.ts CHANGED
@@ -1,20 +1,29 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import React__default, { PropsWithChildren, JSX as JSX$1 } from 'react';
4
- import { AvatarRootProps, FloatProps, CloseButtonProps, Dialog, InputProps, InputAddonProps, InputElementProps, FileUpload, MenuRootProps, SegmentGroupRootProps, SeparatorProps, Steps, Tooltip } from '@chakra-ui/react';
5
- export { UseStepsProps, useSteps } from '@chakra-ui/react';
6
- import { IconType } from 'react-icons';
7
- import { NoUndefinedField, SafeOmit, Prettify, AddPrefix, TaskResult, LocalFile, SanitizeFile, TaskResultStatus, Email, KnownFileTypeAlias, SuccessMessage, AuthProvider, TaskLog, UnsubscribeFunction, ErrorMessage, NonFunction } from '@wavy/types';
3
+ import React__default, { PropsWithChildren, JSX } from 'react';
4
+ import { NoUndefinedField, SafeOmit, LocalFile, Prettify, AddPrefix, TaskResult, SanitizeFile, TaskResultStatus, Email, KnownFileTypeAlias, SuccessMessage, AuthProvider, TaskLog, UnsubscribeFunction, ErrorMessage, NonFunction } from '@wavy/types';
8
5
  export { KnownFileTypeAlias } from '@wavy/types';
6
+ import { IconType } from 'react-icons';
9
7
  import * as CSS from 'csstype';
10
8
  import CSS__default from 'csstype';
11
- import { JSX } from '@emotion/react/jsx-runtime';
9
+ import { FileUpload, InputProps, InputAddonProps, InputElementProps, AvatarRootProps, FloatProps, CloseButtonProps, Dialog as Dialog$1, MenuRootProps, SegmentGroupRootProps, Steps, Tooltip as Tooltip$1, SeparatorProps as SeparatorProps$1 } from '@chakra-ui/react';
10
+ export { MenuRootProps, UseStepsProps, useSteps } from '@chakra-ui/react';
11
+ import { JSX as JSX$1 } from '@emotion/react/jsx-runtime';
12
12
  import { StepsVariant } from 'node_modules/@chakra-ui/react/dist/types/styled-system/generated/recipes.gen';
13
13
 
14
14
  declare function UiProvider(props: {
15
15
  children: React__default.ReactNode;
16
16
  }): react_jsx_runtime.JSX.Element;
17
17
 
18
+ interface BasicHtmlElementCoreProps<El extends HTMLElement> extends Partial<Pick<HTMLElement, "className" | "id" | "popover">> {
19
+ ref?: React__default.Ref<El>;
20
+ onClick?: React__default.MouseEventHandler<El>;
21
+ onDoubleClick?: React__default.MouseEventHandler<El>;
22
+ onBlur?: React__default.FocusEventHandler<El>;
23
+ onFocus?: React__default.FocusEventHandler<El>;
24
+ popoverTarget?: string;
25
+ }
26
+
18
27
  declare enum ColorResources {
19
28
  white = "#FFF",
20
29
  black = "#000",
@@ -1136,42 +1145,10 @@ interface BasicHtmlElementStyleProps extends Partial<Record<"spill", "visible" |
1136
1145
  }
1137
1146
  declare const applyBasicStyle: (props: NoUndefinedField<BasicHtmlElementStyleProps>, debug?: boolean) => NoUndefinedField<CSS.Properties>;
1138
1147
 
1139
- interface BasicAvatarProps {
1140
- size?: AvatarRootProps["size"];
1141
- fallback?: string | IconType | JSX.Element;
1142
- disableFallback?: boolean;
1143
- src?: string | undefined;
1144
- backgroundColor?: BasicColor$1;
1145
- color?: BasicColor$1;
1146
- }
1147
- declare function BasicAvatar(props: BasicAvatarProps): react_jsx_runtime.JSX.Element;
1148
-
1149
- interface BasicBadgeProps {
1150
- children: JSX.Element;
1151
- badge: React__default.ReactNode;
1152
- /**
1153
- * @default "top-end"
1154
- */
1155
- placement?: FloatProps["placement"];
1156
- circleChild?: boolean;
1157
- asChild?: boolean;
1158
- offset?: HtmlElementDim;
1159
- }
1160
- declare function BasicBadge(props: BasicBadgeProps): react_jsx_runtime.JSX.Element;
1161
-
1162
1148
  type CssProperties = SafeOmit<CSS.Properties, "backgroundColor" | "color"> & Partial<Record<"backgroundColor" | "color", BasicColor$1>>;
1163
1149
  type CssPseudos = Partial<Record<CSS.Pseudos | `@media${" only " | " "}screen` | `${CSS.Pseudos | "@media"} ${string}`, CssProperties>>;
1164
1150
  type InlineCss = CssPseudos & CssProperties;
1165
1151
 
1166
- interface BasicHtmlElementCoreProps<El extends HTMLElement> extends Partial<Pick<HTMLElement, "className" | "id" | "popover">> {
1167
- ref?: React__default.Ref<El>;
1168
- onClick?: React__default.MouseEventHandler<El>;
1169
- onDoubleClick?: React__default.MouseEventHandler<El>;
1170
- onBlur?: React__default.FocusEventHandler<El>;
1171
- onFocus?: React__default.FocusEventHandler<El>;
1172
- popoverTarget?: string;
1173
- }
1174
-
1175
1152
  interface BasicDivProps extends BasicHtmlElementStyleProps, BasicHtmlElementCoreProps<HTMLDivElement> {
1176
1153
  flexWrap?: boolean | undefined;
1177
1154
  grid?: boolean | undefined;
@@ -1189,6 +1166,76 @@ interface BasicDivProps extends BasicHtmlElementStyleProps, BasicHtmlElementCore
1189
1166
  }
1190
1167
  declare function BasicDiv(props: PropsWithChildren<BasicDivProps>): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode>> | react_jsx_runtime.JSX.Element;
1191
1168
 
1169
+ declare const ICON_PRESET_SIZES: readonly ["inherit", "sm", "md", "lg", "xl", "2xl", "xs"];
1170
+ declare const BUTTON_PRESET_SIZES: readonly ["sm", "md", "lg", "xl", "2xl", "xs", "2xs"];
1171
+ type Addon = JSX.Element | IconType;
1172
+ interface BaseProps$2 extends SafeOmit<BasicDivProps, "css" | "row" | "size" | "onScroll" | "clickable" | "enableYFaders" | "overflowPadding" | "updateScrollPosDeps" | "decreaseYFaderPadding" | keyof BasicHtmlElementCoreProps<HTMLDivElement>>, BasicHtmlElementCoreProps<HTMLButtonElement> {
1173
+ async?: boolean;
1174
+ disabled?: boolean;
1175
+ disabledOpacity?: number;
1176
+ spinnerColor?: BasicColor$1;
1177
+ pendingDelay?: number;
1178
+ /**
1179
+ * @default "md"
1180
+ */
1181
+ size?: (typeof BUTTON_PRESET_SIZES)[number] | HtmlElementDim;
1182
+ variant?: "outline" | "standard";
1183
+ borderColor?: BasicColor$1;
1184
+ iconSize?: (typeof ICON_PRESET_SIZES)[number] | HtmlElementDim;
1185
+ onMouseDown?: React__default.MouseEventHandler<HTMLButtonElement>;
1186
+ }
1187
+ type OptionalProps$2 = {
1188
+ leadingEl?: Addon;
1189
+ children?: never;
1190
+ text?: string;
1191
+ trailingEl?: Addon;
1192
+ } | {
1193
+ leadingEl?: never;
1194
+ children?: React__default.ReactNode;
1195
+ text?: never;
1196
+ trailingEl?: never;
1197
+ };
1198
+ type BasicButtonProps = BaseProps$2 & OptionalProps$2 & {};
1199
+ declare function BasicButton(props: BasicButtonProps): react_jsx_runtime.JSX.Element;
1200
+
1201
+ interface BasicImgProps extends BasicHtmlElementStyleProps, BasicHtmlElementCoreProps<HTMLImageElement> {
1202
+ src: string;
1203
+ alt?: string;
1204
+ fill?: boolean;
1205
+ cover?: boolean;
1206
+ noFit?: boolean;
1207
+ scaleDown?: boolean;
1208
+ tint?: BasicColor$1;
1209
+ sx?: InlineCss;
1210
+ }
1211
+ /**
1212
+ *
1213
+ *
1214
+ * @returns A modded version of the <img/> html tag.
1215
+ */
1216
+ declare function BasicImg(props: BasicImgProps): react_jsx_runtime.JSX.Element;
1217
+
1218
+ interface BasicOlProps<Item extends string> extends ListItemStyleProps {
1219
+ height?: BasicDivProps["height"];
1220
+ width?: BasicDivProps["width"];
1221
+ /**
1222
+ * @default "md"
1223
+ */
1224
+ gap?: BasicDivProps["gap"];
1225
+ bold?: boolean;
1226
+ items: (Item | {
1227
+ label: string;
1228
+ nestedItems: Item[];
1229
+ })[];
1230
+ isItemActive: (item: Item) => boolean;
1231
+ isItemCompleted: (item: Item) => boolean;
1232
+ onItemClick?: (item: Item) => void;
1233
+ }
1234
+ declare function BasicOl<Item extends string>(props: BasicOlProps<Item>): react_jsx_runtime.JSX.Element;
1235
+ interface ListItemStyleProps {
1236
+ fontSize?: BasicDivProps["fontSize"];
1237
+ }
1238
+
1192
1239
  type TextAlign = "left" | "right" | "center" | "justify" | "match-parent";
1193
1240
 
1194
1241
  interface BasicSpanProps extends BasicHtmlElementStyleProps, BasicHtmlElementCoreProps<HTMLSpanElement> {
@@ -1209,329 +1256,217 @@ interface BasicSpanProps extends BasicHtmlElementStyleProps, BasicHtmlElementCor
1209
1256
  }
1210
1257
  declare function BasicSpan(props: BasicSpanProps): react_jsx_runtime.JSX.Element;
1211
1258
 
1212
- interface RootProps$2 extends Partial<Record<"width" | `${"max" | "min"}Width`, BasicDivProps["width"]>> {
1213
- backgroundColor?: BasicColor$1;
1214
- color?: BasicColor$1;
1215
- /**
1216
- * @default "lg"
1217
- */
1259
+ type TableColumnConfig<T extends string = string> = {
1260
+ name: T;
1261
+ weight?: "auto" | `${number}${"rem" | "fr" | "px"}`;
1262
+ backgroundColor?: BasicColor;
1263
+ color?: BasicColor;
1264
+ /**The value that should be used if a cell doesn't have any data. */
1265
+ placeholder?: string;
1266
+ };
1267
+
1268
+ type RootStyles = {
1269
+ gap?: BasicHtmlElementStyleProps["gap"];
1270
+ rowGap?: BasicHtmlElementStyleProps["gap"];
1271
+ /**@default "onSurface[0.25]" */
1272
+ separatorColor?: BasicColor$1;
1273
+ /**@default "lg" */
1274
+ columnGap?: BasicHtmlElementStyleProps["gap"];
1275
+ textAlign?: "left" | "center" | "right";
1276
+ /**@default "sm" */
1277
+ padding?: BasicHtmlElementStyleProps["padding"];
1218
1278
  corners?: BasicDivProps["corners"];
1219
- /**
1220
- * @default "md"
1221
- */
1222
- padding?: BasicDivProps["padding"];
1223
- /**
1224
- * @default "md"
1225
- */
1226
- gap?: BasicDivProps["gap"];
1227
- height?: BasicDivProps["height"];
1228
- clickable?: boolean;
1229
- style?: BasicDivProps["style"];
1230
- sx?: BasicDivProps["css"];
1231
1279
  spill?: BasicDivProps["spill"];
1232
- children: JSX.Element | [JSX.Element, JSX.Element] | [JSX.Element, JSX.Element, JSX.Element];
1233
- }
1234
- declare function Root$5(props: RootProps$2): react_jsx_runtime.JSX.Element;
1235
- declare const BasicCard: {
1236
- Root: typeof Root$5;
1237
- LeadingAddOn: (props: BasicDivProps & {
1238
- children: JSX.Element;
1239
- }) => react_jsx_runtime.JSX.Element;
1240
- TrailingAddOn: (props: BasicDivProps & {
1241
- children: JSX.Element | JSX.Element[];
1242
- }) => react_jsx_runtime.JSX.Element;
1243
- Content: (props: SafeOmit<BasicDivProps, "asChildren"> & {
1244
- children: JSX.Element | [JSX.Element, JSX.Element];
1245
- }) => react_jsx_runtime.JSX.Element;
1246
- Label: (props: Prettify<{
1247
- value: string;
1248
- fontSize?: BasicSpanProps["fontSize"];
1249
- fontWeight?: BasicSpanProps["fontWeight"];
1250
- fade?: BasicSpanProps["fade"];
1280
+ fontSize?: BasicDivProps["fontSize"];
1281
+ fontWeight?: BasicDivProps["fontWeight"];
1282
+ defaultSelectedRows?: number[];
1283
+ selectedRows?: number[];
1284
+ onSelectedRowsChange?: (selectedRows: number[]) => void;
1285
+ slotProps?: Partial<{
1286
+ selectColumn?: Partial<{
1287
+ separatorColor: BasicColor$1;
1288
+ disableSeparator: boolean;
1289
+ }>;
1290
+ }>;
1291
+ };
1292
+ declare function Root$7<T extends string>(props: BasicTableProps.RootProps<T>): react_jsx_runtime.JSX.Element;
1293
+ declare function Header(props: BasicTableProps.HeaderProps): react_jsx_runtime.JSX.Element;
1294
+ declare function Body(props: BasicTableProps.BodyProps): react_jsx_runtime.JSX.Element;
1295
+ declare const BasicTable: {
1296
+ Root: typeof Root$7;
1297
+ Header: typeof Header;
1298
+ Body: typeof Body;
1299
+ };
1300
+ declare namespace BasicTableProps {
1301
+ interface RootProps<T extends string> extends RootStyles, Partial<Record<"width" | "height" | `${"min" | "max"}${"Height" | "Width"}`, BasicHtmlElementStyleProps["width"]>> {
1302
+ selectable?: boolean;
1303
+ columns: (T | TableColumnConfig<T>)[];
1304
+ backgroundColor?: BasicColor$1;
1251
1305
  color?: BasicColor$1;
1252
- truncateStyle?: "ellipsis" | {
1253
- lineCount: number;
1254
- } | "none";
1255
- }>) => react_jsx_runtime.JSX.Element;
1256
- Item: (props: Prettify<{
1257
- value: string;
1258
- fontSize?: BasicSpanProps["fontSize"];
1259
- fontWeight?: BasicSpanProps["fontWeight"];
1260
- fade?: BasicSpanProps["fade"];
1306
+ entries: {
1307
+ [Key in T]?: React__default.ReactElement | string;
1308
+ }[];
1309
+ /**Applies a columnWeight to columns where: <"column">.weight === undefined
1310
+ * @default "1fr"
1311
+ */
1312
+ columnWeight?: TableColumnConfig["weight"];
1313
+ children: [JSX.Element, JSX.Element];
1314
+ }
1315
+ interface HeaderProps {
1316
+ /**@default "left" */
1317
+ textAlign?: "left" | "center" | "right";
1318
+ /**@default "onSurface[0.1]" */
1319
+ separatorColor?: BasicColor$1 | 0 | "none";
1320
+ /**@default "camelToLetter" */
1321
+ formatColumnName?: "camelToLetter" | ((name: string) => string);
1261
1322
  color?: BasicColor$1;
1262
- truncateStyle?: "ellipsis" | {
1263
- lineCount: number;
1264
- } | "none";
1265
- }>) => react_jsx_runtime.JSX.Element;
1266
- };
1323
+ backgroundColor?: BasicColor$1;
1324
+ borderColor?: BasicDivProps["borderColor"];
1325
+ fontSize?: BasicDivProps["fontSize"];
1326
+ fontWeight?: BasicDivProps["fontWeight"];
1327
+ padding?: BasicDivProps["padding"];
1328
+ corners?: BasicDivProps["corners"];
1329
+ }
1330
+ interface BodyProps {
1331
+ /**@default [RootProps.rowGap, "top"] */
1332
+ padding?: BasicDivProps["padding"];
1333
+ color?: BasicColor$1;
1334
+ fontSize?: BasicDivProps["fontSize"];
1335
+ }
1336
+ }
1267
1337
 
1268
- interface BasicMediaCardProps {
1269
- className?: string;
1270
- title: string;
1271
- height?: BasicDivProps["height"];
1272
- /**
1273
- * @default "14rem"
1338
+ type VerticalPlacement = "top" | "center" | "bottom";
1339
+ type HorizontalPlacement = "left" | "center" | "right";
1340
+ type FloaterWidth = BasicDivProps["width"] | "match-anchor";
1341
+ interface PopoverProps extends Partial<Record<`${"min" | "max"}Width`, FloaterWidth> & Record<`${"min" | "max"}Height` | "height", BasicDivProps["height"]>> {
1342
+ asChild?: boolean;
1343
+ children: JSX.Element;
1344
+ /** @description Wraps the child with a div. This is useful if the child can't hold a ref.
1345
+ * @remarks You can access the div's props in `slotProps.divWrapper`.
1346
+ * @default false
1274
1347
  */
1275
- width?: BasicDivProps["width"];
1276
- /**
1277
- * @default "7rem"
1348
+ wrap?: boolean;
1349
+ defaultOpen?: boolean;
1350
+ /**The delay between opening and closing the popover in milliseconds
1351
+ * @default 200 */
1352
+ delay?: number | Record<"open" | "close", number>;
1353
+ /**@default "click" */
1354
+ displayAction?: "click" | "hover";
1355
+ visibleOnScroll?: boolean;
1356
+ rerenderOnClose?: boolean;
1357
+ /**@description This stops the popover from closing while attempting to interact with it
1358
+ * (e.g: hovering over or clicking the popover).
1359
+ * @default false
1278
1360
  */
1279
- mediaHeight?: BasicDivProps["height"];
1280
- /**
1281
- * @default true
1361
+ allowInteractions?: boolean;
1362
+ /**@description The point used to calculate the placement of the popover.
1363
+ * @notes
1364
+ * - If the placement is set
1365
+ * to <"top" | "right" | "bottom" | "left"> the anchorPoint is useless.
1366
+ * - While positioning, think along the lines of: "I'm placing the <"anchor-point"> of the popover
1367
+ * at the <"placement"> of the target (the child element)".
1368
+ * @default "top-left"
1282
1369
  */
1283
- coverImg?: boolean;
1284
- /**
1285
- * @default "full"
1286
- */
1287
- imgSize?: BasicDivProps["size"];
1288
- description?: string;
1289
- children?: JSX$1.Element;
1290
- src?: string;
1291
- /**
1292
- * @default "md"
1293
- */
1294
- titleFontSize?: BasicSpanProps["fontSize"];
1295
- /**
1296
- * @default "xs"
1370
+ anchorPoint?: `${Exclude<VerticalPlacement, "center">}-${Exclude<HorizontalPlacement, "center">}`;
1371
+ /**The placement of the popover's anchor point relative to the target (the child element)
1372
+ * @default "bottom-left"
1297
1373
  */
1298
- descriptionFontSize?: BasicSpanProps["fontSize"];
1299
- /**
1300
- * @default "md"
1374
+ placement?: VerticalPlacement | HorizontalPlacement | Exclude<`${VerticalPlacement}-${HorizontalPlacement}`, "center-center">;
1375
+ insetArea?: VerticalPlacement | HorizontalPlacement;
1376
+ positionFallbacks?: string;
1377
+ /**The popover content */
1378
+ content: React__default.ReactNode;
1379
+ /**The distance between the popover and the target (child element).
1380
+ * @note Using a `number` is the same as `<"number">px`
1381
+ * @default ".25rem"
1301
1382
  */
1302
- imgCorners?: BasicDivProps["corners"];
1303
- fallback?: IconType | JSX$1.Element | string;
1304
- fade?: BasicDivProps["fade"];
1305
- style?: BasicDivProps["style"];
1306
- }
1307
- declare function BasicMediaCard(props: BasicMediaCardProps): react_jsx_runtime.JSX.Element;
1308
- declare namespace BasicMediaCard {
1309
- var Content: (props: SafeOmit<BasicDivProps, "decreaseYFaderPadding" | "updateScrollPosDeps" | "rememberScrollPos"> & {
1310
- children: React__default.ReactNode;
1311
- }) => react_jsx_runtime.JSX.Element;
1312
- }
1313
-
1314
- interface BasicProfileCardProps extends Partial<AddPrefix<{
1315
- fontSize: BasicSpanProps["fontSize"];
1316
- fade: BasicDivProps["fade"];
1317
- fontWeight: BasicSpanProps["fontWeight"];
1318
- }, "title" | "description">>, Partial<AddPrefix<{
1319
- size: BasicAvatarProps["size"];
1320
- src: BasicAvatarProps["src"];
1321
- fallback: BasicAvatarProps["fallback"];
1322
- backgroundColor?: BasicColor$1;
1383
+ offset?: `${number}${"rem" | "px" | "em"}` | number;
1384
+ backdropBlur?: string;
1385
+ /**@default "onSurface" */
1323
1386
  color?: BasicColor$1;
1324
- }, "avatar">> {
1325
- className?: string;
1326
- title: string;
1327
- description: string;
1328
- children?: JSX$1.Element;
1387
+ /**@default "onSurface[0.1]" */
1388
+ borderColor?: BasicColor$1;
1389
+ /**@default "surfaceContainer" */
1329
1390
  backgroundColor?: BasicColor$1;
1330
- color?: BasicColor$1;
1331
- width?: BasicDivProps["width"];
1332
- height?: BasicDivProps["height"];
1391
+ /**@default "max-content" */
1392
+ width?: FloaterWidth;
1393
+ /**@default "md" */
1333
1394
  padding?: BasicDivProps["padding"];
1395
+ gap?: BasicDivProps["gap"];
1396
+ /**@default "md" */
1334
1397
  corners?: BasicDivProps["corners"];
1335
- disableBoxShadow?: boolean;
1336
- style?: BasicDivProps["style"];
1337
- }
1338
- declare function BasicProfileCard(props: BasicProfileCardProps): react_jsx_runtime.JSX.Element;
1339
- declare namespace BasicProfileCard {
1340
- var Content: typeof BasicDiv;
1398
+ /**@default "auto" */
1399
+ spill?: BasicDivProps["spill"];
1400
+ fontSize?: BasicDivProps["fontSize"];
1401
+ fontWeight?: BasicDivProps["fontWeight"];
1402
+ onOpenChange?: (open: boolean) => void;
1403
+ onOpen?: () => void;
1404
+ onClose?: () => void;
1405
+ slotProps?: Partial<{
1406
+ divWrapper?: React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1407
+ }>;
1341
1408
  }
1409
+ declare function Popover(props: PopoverProps): react_jsx_runtime.JSX.Element;
1342
1410
 
1343
- interface CheckboxProps {
1344
- checked?: boolean;
1345
- size?: BasicDivProps["size"];
1346
- /**@default "sm" */
1411
+ interface BasicSelectProps<T> extends SafeOmit<PopoverProps, "displayAction" | "content" | "placement" | "allowInteractions"> {
1412
+ isSelected?: (option: BasicSelectProps<T>["options"][number]) => boolean;
1413
+ options: {
1414
+ value: T;
1415
+ disabled?: boolean;
1416
+ onClick?: () => void;
1417
+ }[];
1418
+ /**@default "md" */
1347
1419
  corners?: BasicDivProps["corners"];
1348
- /**@default "sm" */
1420
+ /**@default "md" */
1349
1421
  padding?: BasicDivProps["padding"];
1350
- /**The background color of the checkbox when it is checked
1351
- * @default "primaryContainer" */
1352
- accentColor?: BasicColor$1;
1353
- /**@default "onSurface[0.1]" */
1354
- borderColor?: BasicColor$1;
1355
- /**@default "onPrimaryContainer" */
1356
- iconColor?: BasicColor$1;
1357
- disableShadow?: boolean;
1358
- iconSize?: `${number}${"rem" | "em" | "px"}`;
1359
- onChange?: (checked: boolean) => void;
1360
- onClick?: () => void;
1361
- }
1362
- declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
1363
-
1364
- interface BasicConfirmationDialogProps extends Partial<Record<"width" | "height" | `${"min" | "max"}${"Width" | "Height"}`, BasicDivProps["width"]>> {
1365
- title: string;
1366
- message: string;
1367
- hideDisclaimerLabel?: boolean;
1368
- disclaimer?: string;
1369
- controller?: UseDialogControllerReturn;
1370
- triggerElement?: JSX.Element;
1371
- /**
1372
- * @default "error"
1373
- */
1374
- severity?: "error" | "info" | "warning";
1375
- /**
1376
- * @default "Cancel"
1377
- */
1378
- cancelLabel?: "Dismiss" | "Cancel" | (string & {});
1379
- onCancelClick?: () => void;
1380
- action: {
1381
- label: string;
1382
- onClick: () => void | Promise<TaskResult> | TaskResult;
1383
- };
1384
- }
1385
- declare function BasicConfirmationDialog(props: BasicConfirmationDialogProps): react_jsx_runtime.JSX.Element;
1386
-
1387
- declare function useDialogController<Value>(defaultValue?: Value): {
1388
- value: Value;
1389
- isOpen: boolean;
1390
- show: (...args: Value extends boolean ? [] : [value: Value]) => void;
1391
- hide: () => void;
1392
- };
1393
- type UseDialogControllerReturn<T = {}> = ReturnType<typeof useDialogController<T>>;
1394
-
1395
- interface RootProps$1<T = {}> extends SafeOmit<BasicDivProps, "clickable" | "ref" | "onClick" | "onBlur" | "onFocus" | "onScroll" | "decreaseYFaderPadding" | "enableYFaders" | "rememberScrollPos" | "updateScrollPosDeps"> {
1396
- /**
1397
- * @default center
1398
- */
1399
- placement?: "center" | "top" | "bottom";
1400
- children: JSX.Element | JSX.Element[];
1401
- triggerElement?: JSX.Element;
1402
- hideCloseButton?: boolean;
1403
1422
  /**@default "sm" */
1404
- closeButtonSize?: CloseButtonProps["size"];
1405
- /**
1406
- * @default false
1407
- */
1408
- unmountOnExit?: boolean;
1409
- /**
1410
- * @default "slide-in-bottom"
1411
- */
1412
- enterAnimation?: Dialog.RootProps["motionPreset"];
1413
- /**
1414
- * @default "outside"
1415
- */
1416
- scrollBehavior?: Dialog.RootProps["scrollBehavior"];
1417
- controller?: UseDialogControllerReturn<T>;
1418
- /**
1419
- * Whether to close the dialog when the escape key is pressed
1420
- * @default true
1421
- */
1422
- closeOnEscape?: boolean;
1423
- /**
1424
- * Whether to close the dialog when the outside is clicked
1425
- * @default true
1426
- */
1427
- closeOnInteractOutside?: boolean;
1428
- rerenderOnClose?: boolean;
1429
- onOpenChange?: (isOpen: boolean) => void;
1430
- onClose?: () => void;
1431
- }
1432
- declare function Root$4<T>(props: RootProps$1<T>): react_jsx_runtime.JSX.Element;
1433
- interface ElementProps extends SafeOmit<BasicDivProps, "ref" | "onClick" | "onBlur" | "onFocus" | "onScroll" | "clickable"> {
1434
- children: React__default.ReactNode;
1435
- }
1436
- declare const BasicDialog: {
1437
- Root: typeof Root$4;
1438
- Header: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1439
- Body: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1440
- Footer: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1441
- CloseTrigger: (props: {
1442
- children: JSX.Element;
1443
- wrap?: boolean;
1444
- slotProps?: Partial<{
1445
- divWrapper: React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1446
- }>;
1447
- }) => react_jsx_runtime.JSX.Element;
1448
- ActionTrigger: (props: {
1449
- children: JSX.Element;
1450
- }) => react_jsx_runtime.JSX.Element;
1451
- };
1452
- interface BasicDialogProps {
1453
- Root: RootProps$1;
1423
+ gap?: BasicDivProps["gap"];
1424
+ onOptionClick?: (option: BasicSelectProps<T>["options"][number], index: number, options: BasicSelectProps<T>["options"]) => void;
1454
1425
  }
1426
+ declare function BasicSelect<T extends string | number>(props: BasicSelectProps<T>): react_jsx_runtime.JSX.Element;
1455
1427
 
1456
- interface BasicOlProps<Item extends string> extends ListItemStyleProps {
1457
- height?: BasicDivProps["height"];
1428
+ interface BasicOptionProps {
1429
+ value: string | number;
1430
+ selected?: boolean;
1431
+ /**@default "full" */
1458
1432
  width?: BasicDivProps["width"];
1459
- /**
1460
- * @default "md"
1461
- */
1462
- gap?: BasicDivProps["gap"];
1463
- bold?: boolean;
1464
- items: (Item | {
1465
- label: string;
1466
- nestedItems: Item[];
1467
- })[];
1468
- isItemActive: (item: Item) => boolean;
1469
- isItemCompleted: (item: Item) => boolean;
1470
- onItemClick?: (item: Item) => void;
1471
- }
1472
- declare function BasicOl<Item extends string>(props: BasicOlProps<Item>): react_jsx_runtime.JSX.Element;
1473
- interface ListItemStyleProps {
1474
- fontSize?: BasicDivProps["fontSize"];
1433
+ /**@default "sm" */
1434
+ padding?: BasicDivProps["padding"];
1435
+ /**@default "md" */
1436
+ corners?: BasicDivProps["corners"];
1437
+ /**@default "sm" */
1438
+ fontSize?: BasicSpanProps["fontSize"];
1439
+ color?: BasicColor$1;
1440
+ disabled?: boolean;
1441
+ backgroundColor?: BasicColor$1;
1442
+ sx?: InlineCss;
1443
+ scrollIntoView?: boolean;
1444
+ onClick?: () => void;
1475
1445
  }
1446
+ declare function BasicOption(props: BasicOptionProps): react_jsx_runtime.JSX.Element;
1476
1447
 
1477
- interface BasicFormDialogProps<Section extends string> {
1478
- triggerElement?: JSX.Element;
1479
- controller?: UseDialogControllerReturn;
1480
- title?: React.ReactNode;
1481
- defaultSection?: Section;
1482
- sections: BasicOlProps<Section>["items"];
1483
- sectionMapper: Record<Section, {
1484
- title: string;
1485
- description: string;
1486
- element: JSX.Element | (() => JSX.Element) | ((props: {
1487
- incompleteSections: Section[];
1488
- }) => JSX.Element);
1448
+ interface FileUploadRootProps {
1449
+ maxFiles?: number;
1450
+ multiple?: boolean;
1451
+ showList?: boolean;
1452
+ maxWidth?: FileUpload.RootProps["maxW"];
1453
+ height?: FileUpload.RootProps["height"];
1454
+ width?: FileUpload.RootProps["width"];
1455
+ accepts: LocalFile["typeAlias"][];
1456
+ children: JSX$1.Element;
1457
+ slotProps?: Partial<{
1458
+ fileList: FileUpload.ListProps;
1489
1459
  }>;
1490
- checkCompletionOnMount?: boolean;
1491
- /**
1492
- * @default false
1493
- */
1494
- unmountOnExit?: boolean;
1495
- rerenderOnClose?: boolean;
1496
- isSectionComplete: (section: Section) => boolean;
1497
- onSectionsStatusChange?: (incompleteSections: Section[], completedSections: Section[]) => void;
1498
- ignoredSections?: Section[];
1499
- hideSubmitButton?: boolean;
1500
- onSubmit?: () => Promise<void>;
1460
+ onChange?: (files: FileList) => void;
1501
1461
  }
1502
- declare function BasicFormDialog<Sections extends string>(props: BasicFormDialogProps<Sections>): react_jsx_runtime.JSX.Element;
1503
1462
 
1504
- declare const ICON_PRESET_SIZES: readonly ["inherit", "sm", "md", "lg", "xl", "2xl", "xs"];
1505
- declare const BUTTON_PRESET_SIZES: readonly ["sm", "md", "lg", "xl", "2xl", "xs", "2xs"];
1506
- type Addon = JSX$1.Element | IconType;
1507
- interface BaseProps$2 extends SafeOmit<BasicDivProps, "css" | "row" | "size" | "onScroll" | "clickable" | "enableYFaders" | "overflowPadding" | "updateScrollPosDeps" | "decreaseYFaderPadding" | keyof BasicHtmlElementCoreProps<HTMLDivElement>>, BasicHtmlElementCoreProps<HTMLButtonElement> {
1508
- async?: boolean;
1509
- disabled?: boolean;
1510
- disabledOpacity?: number;
1511
- spinnerColor?: BasicColor$1;
1512
- pendingDelay?: number;
1513
- /**
1514
- * @default "md"
1515
- */
1516
- size?: (typeof BUTTON_PRESET_SIZES)[number] | HtmlElementDim;
1517
- variant?: "outline" | "standard";
1463
+ interface FileDropzoneProps extends SafeOmit<FileUploadRootProps, "children"> {
1464
+ backgroundColor?: BasicColor$1;
1518
1465
  borderColor?: BasicColor$1;
1519
- iconSize?: (typeof ICON_PRESET_SIZES)[number] | HtmlElementDim;
1520
- onMouseDown?: React__default.MouseEventHandler<HTMLButtonElement>;
1466
+ color?: BasicColor$1;
1467
+ content?: JSX$1.Element;
1521
1468
  }
1522
- type OptionalProps$2 = {
1523
- leadingEl?: Addon;
1524
- children?: never;
1525
- text?: string;
1526
- trailingEl?: Addon;
1527
- } | {
1528
- leadingEl?: never;
1529
- children?: React__default.ReactNode;
1530
- text?: never;
1531
- trailingEl?: never;
1532
- };
1533
- type BasicButtonProps = BaseProps$2 & OptionalProps$2 & {};
1534
- declare function BasicButton(props: BasicButtonProps): react_jsx_runtime.JSX.Element;
1469
+ declare function FileDropzone(props: FileDropzoneProps): react_jsx_runtime.JSX.Element;
1535
1470
 
1536
1471
  type AllowedCharacters =
1537
1472
  | "number"
@@ -1617,7 +1552,7 @@ declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element
1617
1552
  interface ClipboardHelperWrapperProps {
1618
1553
  useCopy?: boolean;
1619
1554
  usePaste?: boolean;
1620
- children: JSX.Element;
1555
+ children: JSX$1.Element;
1621
1556
  elementRef: React.RefObject<HTMLInputElement | null>;
1622
1557
  slotProps?: Partial<{
1623
1558
  pasteButton: Partial<{
@@ -1630,176 +1565,6 @@ interface ClipboardHelperWrapperProps {
1630
1565
  onPaste?: (text: string) => void;
1631
1566
  }
1632
1567
 
1633
- interface SimpleFormDialogProps<T extends string> {
1634
- controller?: UseDialogControllerReturn;
1635
- title?: string;
1636
- triggerElement?: JSX.Element;
1637
- /**@default "md" */
1638
- closeButtonSize?: BasicDialogProps["Root"]["closeButtonSize"];
1639
- /**@default "2rem"*/
1640
- titleFontSize?: BasicDivProps["fontSize"];
1641
- /**@default "md" */
1642
- textfieldSize?: TextFieldProps["size"];
1643
- /**@default "lg" */
1644
- actionButtionSize?: BasicButtonProps["size"];
1645
- width?: BasicDivProps["width"];
1646
- /**A shortcut for defining the default value for fields where: `<"field">.defaultValue === undefined`.*/
1647
- defaultValue?: Partial<Record<T, string>>;
1648
- fields: Record<T, {
1649
- /**
1650
- * @default "prop-name" */
1651
- label?: (string & {}) | "prop-name" | ((propName: string) => string);
1652
- placeholder: string;
1653
- disabled?: boolean;
1654
- defaultValue?: string;
1655
- allowedChars?: RegExp;
1656
- options?: string[];
1657
- }>;
1658
- /**A shortcut to format the property name for all fields where: `typeof <"field">.label !== "function" && [undefined, "prop-name"].includes(<"field">.label)`
1659
- * - Useful for field's that use `prop-name` as the label.
1660
- */
1661
- formatFieldPropName?: (propName: string) => string;
1662
- /**A shortcut to set the allowed characters for all fields where: `<"field">.allowedChars === undefined`
1663
- */
1664
- allowedChars?: RegExp;
1665
- onSave?: (form: Record<T, string>) => void;
1666
- onCancel?: () => void;
1667
- }
1668
- declare function SimpleFormDialog<T extends string>(props: SimpleFormDialogProps<T>): react_jsx_runtime.JSX.Element;
1669
-
1670
- interface BasicDisclaimerProps extends Partial<Record<"top" | "left" | "bottom" | "right", HtmlElementDim | 0>> {
1671
- severity: "warning" | "error" | "info";
1672
- message: string;
1673
- pos?: BasicDivProps["pos"];
1674
- /**
1675
- * @default false
1676
- */
1677
- disableShadow?: boolean;
1678
- facade?: (severity: BasicDisclaimerProps["severity"]) => BasicDisclaimerProps["severity"];
1679
- width?: BasicDivProps["width"];
1680
- /**
1681
- * @default "1rem"
1682
- */
1683
- iconSize?: HtmlElementDim;
1684
- /**
1685
- * @default "md"
1686
- */
1687
- gap?: BasicSpanProps["gap"];
1688
- /**
1689
- * @default "md"
1690
- */
1691
- padding?: BasicDivProps["padding"];
1692
- /**
1693
- * @default "md"
1694
- */
1695
- corners?: BasicDivProps["corners"];
1696
- /**
1697
- * @default "sm"
1698
- */
1699
- fontSize?: BasicSpanProps["fontSize"];
1700
- /**
1701
- * @default false
1702
- */
1703
- hideLabel?: boolean;
1704
- }
1705
- declare function BasicDisclaimer(props: BasicDisclaimerProps): react_jsx_runtime.JSX.Element;
1706
-
1707
- interface BasicFileUploadRootProps {
1708
- maxFiles?: number;
1709
- multiple?: boolean;
1710
- showList?: boolean;
1711
- maxWidth?: FileUpload.RootProps["maxW"];
1712
- height?: FileUpload.RootProps["height"];
1713
- width?: FileUpload.RootProps["width"];
1714
- accepts: LocalFile["typeAlias"][];
1715
- children: JSX.Element;
1716
- slotProps?: Partial<{
1717
- fileList: FileUpload.ListProps;
1718
- }>;
1719
- onChange?: (files: FileList) => void;
1720
- }
1721
-
1722
- interface BasicDropzoneProps extends SafeOmit<BasicFileUploadRootProps, "children"> {
1723
- backgroundColor?: BasicColor$1;
1724
- borderColor?: BasicColor$1;
1725
- color?: BasicColor$1;
1726
- content?: JSX.Element;
1727
- }
1728
- declare function BasicDropzone(props: BasicDropzoneProps): react_jsx_runtime.JSX.Element;
1729
-
1730
- type VerticalPlacement = "top" | "center" | "bottom";
1731
- type HorizontalPlacement = "left" | "center" | "right";
1732
- type FloaterWidth = BasicDivProps["width"] | "match-anchor";
1733
- interface BasicPopoverProps extends Partial<Record<`${"min" | "max"}Width`, FloaterWidth> & Record<`${"min" | "max"}Height` | "height", BasicDivProps["height"]>> {
1734
- asChild?: boolean;
1735
- children: JSX$1.Element;
1736
- /** @description Wraps the child with a div. This is useful if the child can't hold a ref.
1737
- * @remarks You can access the div's props in `slotProps.divWrapper`.
1738
- * @default false
1739
- */
1740
- wrap?: boolean;
1741
- defaultOpen?: boolean;
1742
- /**The delay between opening and closing the popover in milliseconds
1743
- * @default 200 */
1744
- delay?: number | Record<"open" | "close", number>;
1745
- /**@default "click" */
1746
- displayAction?: "click" | "hover";
1747
- visibleOnScroll?: boolean;
1748
- rerenderOnClose?: boolean;
1749
- /**@description This stops the popover from closing while attempting to interact with it
1750
- * (e.g: hovering over or clicking the popover).
1751
- * @default false
1752
- */
1753
- allowInteractions?: boolean;
1754
- /**@description The point used to calculate the placement of the popover.
1755
- * @notes
1756
- * - If the placement is set
1757
- * to <"top" | "right" | "bottom" | "left"> the anchorPoint is useless.
1758
- * - While positioning, think along the lines of: "I'm placing the <"anchor-point"> of the popover
1759
- * at the <"placement"> of the target (the child element)".
1760
- * @default "top-left"
1761
- */
1762
- anchorPoint?: `${Exclude<VerticalPlacement, "center">}-${Exclude<HorizontalPlacement, "center">}`;
1763
- /**The placement of the popover's anchor point relative to the target (the child element)
1764
- * @default "bottom-left"
1765
- */
1766
- placement?: VerticalPlacement | HorizontalPlacement | Exclude<`${VerticalPlacement}-${HorizontalPlacement}`, "center-center">;
1767
- insetArea?: VerticalPlacement | HorizontalPlacement;
1768
- positionFallbacks?: string;
1769
- /**The popover content */
1770
- content: React__default.ReactNode;
1771
- /**The distance between the popover and the target (child element).
1772
- * @note Using a `number` is the same as `<"number">px`
1773
- * @default ".25rem"
1774
- */
1775
- offset?: `${number}${"rem" | "px" | "em"}` | number;
1776
- backdropBlur?: string;
1777
- /**@default "onSurface" */
1778
- color?: BasicColor$1;
1779
- /**@default "onSurface[0.1]" */
1780
- borderColor?: BasicColor$1;
1781
- /**@default "surfaceContainer" */
1782
- backgroundColor?: BasicColor$1;
1783
- /**@default "max-content" */
1784
- width?: FloaterWidth;
1785
- /**@default "md" */
1786
- padding?: BasicDivProps["padding"];
1787
- gap?: BasicDivProps["gap"];
1788
- /**@default "md" */
1789
- corners?: BasicDivProps["corners"];
1790
- /**@default "auto" */
1791
- spill?: BasicDivProps["spill"];
1792
- fontSize?: BasicDivProps["fontSize"];
1793
- fontWeight?: BasicDivProps["fontWeight"];
1794
- onOpenChange?: (open: boolean) => void;
1795
- onOpen?: () => void;
1796
- onClose?: () => void;
1797
- slotProps?: Partial<{
1798
- divWrapper?: React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1799
- }>;
1800
- }
1801
- declare function BasicPopover(props: BasicPopoverProps): react_jsx_runtime.JSX.Element;
1802
-
1803
1568
  interface EditableProps extends Partial<Pick<TextFieldProps, "focusColor">> {
1804
1569
  value?: string;
1805
1570
  disabled?: boolean;
@@ -1816,7 +1581,7 @@ interface EditableProps extends Partial<Pick<TextFieldProps, "focusColor">> {
1816
1581
  /** Prevents editing */
1817
1582
  preventDefault?: boolean;
1818
1583
  /**Replaces the predefined controls */
1819
- control?: JSX.Element;
1584
+ control?: JSX$1.Element;
1820
1585
  placeholder?: string;
1821
1586
  /**The padding for the content in its resting (non-editing) state
1822
1587
  * @default ["md", ["top", "bottom"]] */
@@ -1843,11 +1608,11 @@ interface EditableProps extends Partial<Pick<TextFieldProps, "focusColor">> {
1843
1608
  /** Invoked when either onEditClick or onContentClick is fired. */
1844
1609
  onEdit?: () => void;
1845
1610
  slotProps?: {
1846
- popover?: Prettify<Partial<SafeOmit<BasicPopoverProps, "children"> & {
1611
+ popover?: Prettify<Partial<SafeOmit<PopoverProps, "children"> & {
1847
1612
  /**@default "match-anchor" */
1848
- maxWidth: BasicPopoverProps["maxWidth"];
1613
+ maxWidth: PopoverProps["maxWidth"];
1849
1614
  /**@default "5rem"*/
1850
- maxHeight: BasicPopoverProps["maxHeight"];
1615
+ maxHeight: PopoverProps["maxHeight"];
1851
1616
  }>>;
1852
1617
  };
1853
1618
  }
@@ -1860,9 +1625,9 @@ declare function Control(props: {
1860
1625
  onClick: () => void;
1861
1626
  }): react_jsx_runtime.JSX.Element;
1862
1627
 
1863
- declare function Root$3(props: EmptyStateProps.RootProps): react_jsx_runtime.JSX.Element;
1864
- declare function Indicator$1(props: EmptyStateProps.IndicatorProps): react_jsx_runtime.JSX.Element;
1865
- declare function Content(props: EmptyStateProps.ContentProps): react_jsx_runtime.JSX.Element;
1628
+ declare function Root$6(props: EmptyStateProps.RootProps): react_jsx_runtime.JSX.Element;
1629
+ declare function Indicator$2(props: EmptyStateProps.IndicatorProps): react_jsx_runtime.JSX.Element;
1630
+ declare function Content$1(props: EmptyStateProps.ContentProps): react_jsx_runtime.JSX.Element;
1866
1631
  declare namespace EmptyStateProps {
1867
1632
  interface RootProps extends BasicDivProps {
1868
1633
  /**@default "lg" */
@@ -1872,12 +1637,12 @@ declare namespace EmptyStateProps {
1872
1637
  /**@default true */
1873
1638
  centerContent?: BasicDivProps["centerContent"];
1874
1639
  itemFade?: BasicDivProps["fade"];
1875
- children: JSX.Element | JSX.Element[];
1640
+ children: JSX$1.Element | JSX$1.Element[];
1876
1641
  }
1877
1642
  interface IndicatorProps {
1878
1643
  /**@default "4rem" */
1879
1644
  size?: HtmlElementDim;
1880
- element: JSX.Element;
1645
+ element: JSX$1.Element;
1881
1646
  disableFade?: boolean;
1882
1647
  }
1883
1648
  interface ContentProps {
@@ -1890,25 +1655,365 @@ declare namespace EmptyStateProps {
1890
1655
  gap?: BasicDivProps["gap"];
1891
1656
  }
1892
1657
  }
1893
- declare const EmptyState: {
1894
- Root: typeof Root$3;
1895
- Indicator: typeof Indicator$1;
1896
- Content: typeof Content;
1897
- };
1658
+ declare const EmptyState: {
1659
+ Root: typeof Root$6;
1660
+ Indicator: typeof Indicator$2;
1661
+ Content: typeof Content$1;
1662
+ };
1663
+
1664
+ interface AvatarProps {
1665
+ size?: AvatarRootProps["size"];
1666
+ fallback?: string | IconType | JSX$1.Element;
1667
+ disableFallback?: boolean;
1668
+ src?: string | undefined;
1669
+ backgroundColor?: BasicColor$1;
1670
+ color?: BasicColor$1;
1671
+ }
1672
+ declare function Avatar(props: AvatarProps): react_jsx_runtime.JSX.Element;
1673
+
1674
+ interface BadgeProps {
1675
+ children: JSX$1.Element;
1676
+ badge: React__default.ReactNode;
1677
+ /**
1678
+ * @default "top-end"
1679
+ */
1680
+ placement?: FloatProps["placement"];
1681
+ circleChild?: boolean;
1682
+ asChild?: boolean;
1683
+ offset?: HtmlElementDim;
1684
+ }
1685
+ declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
1686
+
1687
+ declare function Root$5(props: CardProps.RootProps): react_jsx_runtime.JSX.Element;
1688
+ declare const Card: {
1689
+ Root: typeof Root$5;
1690
+ LeadingAddOn: (props: BasicDivProps & {
1691
+ children: JSX$1.Element;
1692
+ }) => react_jsx_runtime.JSX.Element;
1693
+ TrailingAddOn: (props: BasicDivProps & {
1694
+ children: JSX$1.Element | JSX$1.Element[];
1695
+ }) => react_jsx_runtime.JSX.Element;
1696
+ Content: (props: SafeOmit<BasicDivProps, "asChildren"> & {
1697
+ children: JSX$1.Element | [JSX$1.Element, JSX$1.Element];
1698
+ }) => react_jsx_runtime.JSX.Element;
1699
+ Label: (props: Prettify<{
1700
+ value: string;
1701
+ fontSize?: BasicSpanProps["fontSize"];
1702
+ fontWeight?: BasicSpanProps["fontWeight"];
1703
+ fade?: BasicSpanProps["fade"];
1704
+ color?: BasicColor$1;
1705
+ truncateStyle?: "ellipsis" | {
1706
+ lineCount: number;
1707
+ } | "none";
1708
+ }>) => react_jsx_runtime.JSX.Element;
1709
+ Item: (props: Prettify<{
1710
+ value: string;
1711
+ fontSize?: BasicSpanProps["fontSize"];
1712
+ fontWeight?: BasicSpanProps["fontWeight"];
1713
+ fade?: BasicSpanProps["fade"];
1714
+ color?: BasicColor$1;
1715
+ truncateStyle?: "ellipsis" | {
1716
+ lineCount: number;
1717
+ } | "none";
1718
+ }>) => react_jsx_runtime.JSX.Element;
1719
+ };
1720
+ declare namespace CardProps {
1721
+ interface RootProps extends Partial<Record<"width" | `${"max" | "min"}Width`, BasicDivProps["width"]>> {
1722
+ backgroundColor?: BasicColor$1;
1723
+ color?: BasicColor$1;
1724
+ /**
1725
+ * @default "lg"
1726
+ */
1727
+ corners?: BasicDivProps["corners"];
1728
+ /**
1729
+ * @default "md"
1730
+ */
1731
+ padding?: BasicDivProps["padding"];
1732
+ /**
1733
+ * @default "md"
1734
+ */
1735
+ gap?: BasicDivProps["gap"];
1736
+ height?: BasicDivProps["height"];
1737
+ clickable?: boolean;
1738
+ style?: BasicDivProps["style"];
1739
+ sx?: BasicDivProps["css"];
1740
+ spill?: BasicDivProps["spill"];
1741
+ children: JSX$1.Element | [JSX$1.Element, JSX$1.Element] | [JSX$1.Element, JSX$1.Element, JSX$1.Element];
1742
+ }
1743
+ }
1744
+
1745
+ declare function Root$4(props: MediaCardProps.RootProps): react_jsx_runtime.JSX.Element;
1746
+ declare function Content(props: MediaCardProps.ContentProps): react_jsx_runtime.JSX.Element;
1747
+ declare const MediaCard: {
1748
+ Root: typeof Root$4;
1749
+ Content: typeof Content;
1750
+ };
1751
+ declare namespace MediaCardProps {
1752
+ interface RootProps {
1753
+ className?: string;
1754
+ title: string;
1755
+ height?: BasicDivProps["height"];
1756
+ /**
1757
+ * @default "14rem"
1758
+ */
1759
+ width?: BasicDivProps["width"];
1760
+ /**
1761
+ * @default "7rem"
1762
+ */
1763
+ mediaHeight?: BasicDivProps["height"];
1764
+ /**
1765
+ * @default true
1766
+ */
1767
+ coverImg?: boolean;
1768
+ /**
1769
+ * @default "full"
1770
+ */
1771
+ imgSize?: BasicDivProps["size"];
1772
+ description?: string;
1773
+ children?: JSX.Element;
1774
+ src?: string;
1775
+ /**
1776
+ * @default "md"
1777
+ */
1778
+ titleFontSize?: BasicSpanProps["fontSize"];
1779
+ /**
1780
+ * @default "xs"
1781
+ */
1782
+ descriptionFontSize?: BasicSpanProps["fontSize"];
1783
+ /**
1784
+ * @default "md"
1785
+ */
1786
+ imgCorners?: BasicDivProps["corners"];
1787
+ fallback?: IconType | JSX.Element | string;
1788
+ fade?: BasicDivProps["fade"];
1789
+ style?: BasicDivProps["style"];
1790
+ }
1791
+ type ContentProps = SafeOmit<BasicDivProps, "decreaseYFaderPadding" | "updateScrollPosDeps" | "rememberScrollPos"> & {
1792
+ children: React__default.ReactNode;
1793
+ };
1794
+ }
1795
+
1796
+ declare function Root$3(props: ProfileCardProps.RootProps): react_jsx_runtime.JSX.Element;
1797
+ declare const ProfileCard: {
1798
+ Root: typeof Root$3;
1799
+ Content: typeof BasicDiv;
1800
+ };
1801
+ declare namespace ProfileCardProps {
1802
+ interface RootProps extends Partial<AddPrefix<{
1803
+ fontSize: BasicSpanProps["fontSize"];
1804
+ fade: BasicDivProps["fade"];
1805
+ fontWeight: BasicSpanProps["fontWeight"];
1806
+ }, "title" | "description">>, Partial<AddPrefix<{
1807
+ size: AvatarProps["size"];
1808
+ src: AvatarProps["src"];
1809
+ fallback: AvatarProps["fallback"];
1810
+ backgroundColor?: BasicColor$1;
1811
+ color?: BasicColor$1;
1812
+ }, "avatar">> {
1813
+ className?: string;
1814
+ title: string;
1815
+ description: string;
1816
+ children?: JSX.Element;
1817
+ backgroundColor?: BasicColor$1;
1818
+ color?: BasicColor$1;
1819
+ width?: BasicDivProps["width"];
1820
+ height?: BasicDivProps["height"];
1821
+ padding?: BasicDivProps["padding"];
1822
+ corners?: BasicDivProps["corners"];
1823
+ disableBoxShadow?: boolean;
1824
+ style?: BasicDivProps["style"];
1825
+ }
1826
+ }
1827
+
1828
+ interface CheckboxProps {
1829
+ checked?: boolean;
1830
+ size?: BasicDivProps["size"];
1831
+ /**@default "sm" */
1832
+ corners?: BasicDivProps["corners"];
1833
+ /**@default "sm" */
1834
+ padding?: BasicDivProps["padding"];
1835
+ /**The background color of the checkbox when it is checked
1836
+ * @default "primaryContainer" */
1837
+ accentColor?: BasicColor$1;
1838
+ /**@default "onSurface[0.1]" */
1839
+ borderColor?: BasicColor$1;
1840
+ /**@default "onPrimaryContainer" */
1841
+ iconColor?: BasicColor$1;
1842
+ disableShadow?: boolean;
1843
+ iconSize?: `${number}${"rem" | "em" | "px"}`;
1844
+ onChange?: (checked: boolean) => void;
1845
+ onClick?: () => void;
1846
+ }
1847
+ declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
1848
+
1849
+ interface ConfirmationDialogProps extends Partial<Record<"width" | "height" | `${"min" | "max"}${"Width" | "Height"}`, BasicDivProps["width"]>> {
1850
+ title: string;
1851
+ message: string;
1852
+ hideDisclaimerLabel?: boolean;
1853
+ disclaimer?: string;
1854
+ controller?: UseDialogControllerReturn;
1855
+ triggerElement?: JSX$1.Element;
1856
+ /**
1857
+ * @default "error"
1858
+ */
1859
+ severity?: "error" | "info" | "warning";
1860
+ /**
1861
+ * @default "Cancel"
1862
+ */
1863
+ cancelLabel?: "Dismiss" | "Cancel" | (string & {});
1864
+ onCancelClick?: () => void;
1865
+ action: {
1866
+ label: string;
1867
+ onClick: () => void | Promise<TaskResult> | TaskResult;
1868
+ };
1869
+ }
1870
+ declare function ConfirmationDialog(props: ConfirmationDialogProps): react_jsx_runtime.JSX.Element;
1871
+
1872
+ declare function useDialogController<Value>(defaultValue?: Value): {
1873
+ value: Value;
1874
+ isOpen: boolean;
1875
+ show: (...args: Value extends boolean ? [] : [value: Value]) => void;
1876
+ hide: () => void;
1877
+ };
1878
+ type UseDialogControllerReturn<T = {}> = ReturnType<typeof useDialogController<T>>;
1879
+
1880
+ declare function Root$2<T>(props: DialogProps.RootProps<T>): react_jsx_runtime.JSX.Element;
1881
+ interface ElementProps extends SafeOmit<BasicDivProps, "ref" | "onClick" | "onBlur" | "onFocus" | "onScroll" | "clickable"> {
1882
+ children: React__default.ReactNode;
1883
+ }
1884
+ declare const Dialog: {
1885
+ Root: typeof Root$2;
1886
+ Header: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1887
+ Body: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1888
+ Footer: (props: ElementProps) => react_jsx_runtime.JSX.Element;
1889
+ CloseTrigger: (props: {
1890
+ children: JSX$1.Element;
1891
+ wrap?: boolean;
1892
+ slotProps?: Partial<{
1893
+ divWrapper: React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
1894
+ }>;
1895
+ }) => react_jsx_runtime.JSX.Element;
1896
+ ActionTrigger: (props: {
1897
+ children: JSX$1.Element;
1898
+ }) => react_jsx_runtime.JSX.Element;
1899
+ };
1900
+ declare namespace DialogProps {
1901
+ interface RootProps<T = {}> extends SafeOmit<BasicDivProps, "clickable" | "ref" | "onClick" | "onBlur" | "onFocus" | "onScroll" | "decreaseYFaderPadding" | "enableYFaders" | "rememberScrollPos" | "updateScrollPosDeps"> {
1902
+ /**
1903
+ * @default center
1904
+ */
1905
+ placement?: "center" | "top" | "bottom";
1906
+ children: JSX$1.Element | JSX$1.Element[];
1907
+ triggerElement?: JSX$1.Element;
1908
+ hideCloseButton?: boolean;
1909
+ /**@default "sm" */
1910
+ closeButtonSize?: CloseButtonProps["size"];
1911
+ /**
1912
+ * @default false
1913
+ */
1914
+ unmountOnExit?: boolean;
1915
+ /**
1916
+ * @default "slide-in-bottom"
1917
+ */
1918
+ enterAnimation?: Dialog$1.RootProps["motionPreset"];
1919
+ /**
1920
+ * @default "outside"
1921
+ */
1922
+ scrollBehavior?: Dialog$1.RootProps["scrollBehavior"];
1923
+ controller?: UseDialogControllerReturn<T>;
1924
+ /**
1925
+ * Whether to close the dialog when the escape key is pressed
1926
+ * @default true
1927
+ */
1928
+ closeOnEscape?: boolean;
1929
+ /**
1930
+ * Whether to close the dialog when the outside is clicked
1931
+ * @default true
1932
+ */
1933
+ closeOnInteractOutside?: boolean;
1934
+ rerenderOnClose?: boolean;
1935
+ onOpenChange?: (isOpen: boolean) => void;
1936
+ onClose?: () => void;
1937
+ }
1938
+ }
1939
+
1940
+ interface FancyFormDialogProps<Section extends string> {
1941
+ triggerElement?: JSX$1.Element;
1942
+ controller?: UseDialogControllerReturn;
1943
+ title?: React.ReactNode;
1944
+ defaultSection?: Section;
1945
+ sections: BasicOlProps<Section>["items"];
1946
+ sectionMapper: Record<Section, {
1947
+ title: string;
1948
+ description: string;
1949
+ element: JSX$1.Element | (() => JSX$1.Element) | ((props: {
1950
+ incompleteSections: Section[];
1951
+ }) => JSX$1.Element);
1952
+ }>;
1953
+ checkCompletionOnMount?: boolean;
1954
+ /**
1955
+ * @default false
1956
+ */
1957
+ unmountOnExit?: boolean;
1958
+ rerenderOnClose?: boolean;
1959
+ isSectionComplete: (section: Section) => boolean;
1960
+ onSectionsStatusChange?: (incompleteSections: Section[], completedSections: Section[]) => void;
1961
+ ignoredSections?: Section[];
1962
+ hideSubmitButton?: boolean;
1963
+ onSubmit?: () => Promise<void>;
1964
+ }
1965
+ declare function FancyFormDialog<Sections extends string>(props: FancyFormDialogProps<Sections>): react_jsx_runtime.JSX.Element;
1966
+
1967
+ interface SimpleFormDialogProps<T extends string> {
1968
+ controller?: UseDialogControllerReturn;
1969
+ title?: string;
1970
+ triggerElement?: JSX$1.Element;
1971
+ /**@default "md" */
1972
+ closeButtonSize?: DialogProps.RootProps["closeButtonSize"];
1973
+ /**@default "2rem"*/
1974
+ titleFontSize?: BasicDivProps["fontSize"];
1975
+ /**@default "md" */
1976
+ textfieldSize?: TextFieldProps["size"];
1977
+ /**@default "lg" */
1978
+ actionButtionSize?: BasicButtonProps["size"];
1979
+ width?: BasicDivProps["width"];
1980
+ /**A shortcut for defining the default value for fields where: `<"field">.defaultValue === undefined`.*/
1981
+ defaultValue?: Partial<Record<T, string>>;
1982
+ fields: Record<T, {
1983
+ /**
1984
+ * @default "prop-name" */
1985
+ label?: (string & {}) | "prop-name" | ((propName: string) => string);
1986
+ placeholder: string;
1987
+ disabled?: boolean;
1988
+ defaultValue?: string;
1989
+ allowedChars?: RegExp;
1990
+ options?: string[];
1991
+ }>;
1992
+ /**A shortcut to format the property name for all fields where: `typeof <"field">.label !== "function" && [undefined, "prop-name"].includes(<"field">.label)`
1993
+ * - Useful for field's that use `prop-name` as the label.
1994
+ */
1995
+ formatFieldPropName?: (propName: string) => string;
1996
+ /**A shortcut to set the allowed characters for all fields where: `<"field">.allowedChars === undefined`
1997
+ */
1998
+ allowedChars?: RegExp;
1999
+ onSave?: (form: Record<T, string>) => void;
2000
+ onCancel?: () => void;
2001
+ }
2002
+ declare function SimpleFormDialog<T extends string>(props: SimpleFormDialogProps<T>): react_jsx_runtime.JSX.Element;
1898
2003
 
1899
- declare function Root$2(props: FileViewerProps.RootProps): react_jsx_runtime.JSX.Element;
1900
- declare function Indicator(props: FileViewerProps.IndicatorProps): react_jsx_runtime.JSX.Element;
2004
+ declare function Root$1(props: FileViewerProps.RootProps): react_jsx_runtime.JSX.Element;
2005
+ declare function Indicator$1(props: FileViewerProps.IndicatorProps): react_jsx_runtime.JSX.Element;
1901
2006
  declare function Topbar(props: FileViewerProps.TopbarProps): react_jsx_runtime.JSX.Element;
1902
2007
  declare function SidebarRoot<T extends string>(props: FileViewerProps.SidebarRootProps<T>): react_jsx_runtime.JSX.Element;
1903
2008
  declare function SidebarOption(props: FileViewerProps.SidebarOptionProps): react_jsx_runtime.JSX.Element;
1904
2009
  declare function Viewer(props: FileViewerProps.ViewerProps): react_jsx_runtime.JSX.Element;
1905
2010
  declare const FileViewer: {
1906
- Root: typeof Root$2;
2011
+ Root: typeof Root$1;
1907
2012
  Sidebar: typeof SidebarRoot;
1908
2013
  SidebarOption: typeof SidebarOption;
1909
2014
  Topbar: typeof Topbar;
1910
2015
  Viewer: typeof Viewer;
1911
- Indicator: typeof Indicator;
2016
+ Indicator: typeof Indicator$1;
1912
2017
  };
1913
2018
  type SanitizedBasicDivProps = SafeOmit<BasicDivProps, "row" | "id" | "height" | "width" | "align" | "padding" | "size" | "minHeight" | "minWidth" | "maxHeight" | "maxWidth" | "asChildren" | "aspectRatio">;
1914
2019
  declare namespace FileViewerProps {
@@ -1925,13 +2030,13 @@ declare namespace FileViewerProps {
1925
2030
  /**The height of the `Topbar` and the width of the `Sidebar`
1926
2031
  * @default "3rem" */
1927
2032
  navThickness?: `${number}${"rem" | "em" | "px"}`;
1928
- children: JSX$1.Element | [JSX$1.Element, JSX$1.Element] | [JSX$1.Element, JSX$1.Element, JSX$1.Element];
2033
+ children: JSX.Element | [JSX.Element, JSX.Element] | [JSX.Element, JSX.Element, JSX.Element];
1929
2034
  }
1930
2035
  interface TopbarProps extends SanitizedBasicDivProps {
1931
- children?: JSX$1.Element | JSX$1.Element[];
2036
+ children?: JSX.Element | JSX.Element[];
1932
2037
  }
1933
2038
  interface SidebarRootProps<T> extends SanitizedBasicDivProps {
1934
- children: JSX$1.Element | JSX$1.Element[];
2039
+ children: JSX.Element | JSX.Element[];
1935
2040
  /**@default "md" */
1936
2041
  gap?: BasicDivProps["gap"];
1937
2042
  onOptionClick?: (option: T) => void;
@@ -1960,7 +2065,7 @@ declare namespace FileViewerProps {
1960
2065
  onClick?: () => void;
1961
2066
  }
1962
2067
  interface ViewerProps {
1963
- children: JSX$1.Element;
2068
+ children: JSX.Element;
1964
2069
  /**@default "onSurface[0.1]"*/
1965
2070
  backgroundColor?: BasicColor$1;
1966
2071
  /**@default "onSurface" */
@@ -2004,102 +2109,6 @@ declare namespace FileViewerProps {
2004
2109
  }
2005
2110
  }
2006
2111
 
2007
- interface BasicImgProps extends BasicHtmlElementStyleProps, BasicHtmlElementCoreProps<HTMLImageElement> {
2008
- src: string;
2009
- alt?: string;
2010
- fill?: boolean;
2011
- cover?: boolean;
2012
- noFit?: boolean;
2013
- scaleDown?: boolean;
2014
- tint?: BasicColor$1;
2015
- sx?: InlineCss;
2016
- }
2017
- /**
2018
- *
2019
- *
2020
- * @returns A modded version of the <img/> html tag.
2021
- */
2022
- declare function BasicImg(props: BasicImgProps): react_jsx_runtime.JSX.Element;
2023
-
2024
- type TableColumnConfig<T extends string = string> = {
2025
- name: T;
2026
- weight?: "auto" | `${number}${"rem" | "fr" | "px"}`;
2027
- backgroundColor?: BasicColor;
2028
- color?: BasicColor;
2029
- /**The value that should be used if a cell doesn't have any data. */
2030
- placeholder?: string;
2031
- };
2032
-
2033
- type RootStyles = {
2034
- gap?: BasicHtmlElementStyleProps["gap"];
2035
- rowGap?: BasicHtmlElementStyleProps["gap"];
2036
- /**@default "onSurface[0.25]" */
2037
- separatorColor?: BasicColor$1;
2038
- /**@default "lg" */
2039
- columnGap?: BasicHtmlElementStyleProps["gap"];
2040
- textAlign?: "left" | "center" | "right";
2041
- /**@default "sm" */
2042
- padding?: BasicHtmlElementStyleProps["padding"];
2043
- corners?: BasicDivProps["corners"];
2044
- spill?: BasicDivProps["spill"];
2045
- fontSize?: BasicDivProps["fontSize"];
2046
- fontWeight?: BasicDivProps["fontWeight"];
2047
- defaultSelectedRows?: number[];
2048
- selectedRows?: number[];
2049
- onSelectedRowsChange?: (selectedRows: number[]) => void;
2050
- slotProps?: Partial<{
2051
- selectColumn?: Partial<{
2052
- separatorColor: BasicColor$1;
2053
- disableSeparator: boolean;
2054
- }>;
2055
- }>;
2056
- };
2057
- declare function Root$1<T extends string>(props: BasicTableProps.RootProps<T>): react_jsx_runtime.JSX.Element;
2058
- declare function Header(props: BasicTableProps.HeaderProps): react_jsx_runtime.JSX.Element;
2059
- declare function Body(props: BasicTableProps.BodyProps): react_jsx_runtime.JSX.Element;
2060
- declare const BasicTable: {
2061
- Root: typeof Root$1;
2062
- Header: typeof Header;
2063
- Body: typeof Body;
2064
- };
2065
- declare namespace BasicTableProps {
2066
- interface RootProps<T extends string> extends RootStyles, Partial<Record<"width" | "height" | `${"min" | "max"}${"Height" | "Width"}`, BasicHtmlElementStyleProps["width"]>> {
2067
- selectable?: boolean;
2068
- columns: (T | TableColumnConfig<T>)[];
2069
- backgroundColor?: BasicColor$1;
2070
- color?: BasicColor$1;
2071
- entries: {
2072
- [Key in T]?: React__default.ReactElement | string;
2073
- }[];
2074
- /**Applies a columnWeight to columns where: <"column">.weight === undefined
2075
- * @default "1fr"
2076
- */
2077
- columnWeight?: TableColumnConfig["weight"];
2078
- children: [JSX$1.Element, JSX$1.Element];
2079
- }
2080
- interface HeaderProps {
2081
- /**@default "left" */
2082
- textAlign?: "left" | "center" | "right";
2083
- /**@default "onSurface[0.1]" */
2084
- separatorColor?: BasicColor$1 | 0 | "none";
2085
- /**@default "camelToLetter" */
2086
- formatColumnName?: "camelToLetter" | ((name: string) => string);
2087
- color?: BasicColor$1;
2088
- backgroundColor?: BasicColor$1;
2089
- borderColor?: BasicDivProps["borderColor"];
2090
- fontSize?: BasicDivProps["fontSize"];
2091
- fontWeight?: BasicDivProps["fontWeight"];
2092
- padding?: BasicDivProps["padding"];
2093
- corners?: BasicDivProps["corners"];
2094
- }
2095
- interface BodyProps {
2096
- /**@default [RootProps.rowGap, "top"] */
2097
- padding?: BasicDivProps["padding"];
2098
- color?: BasicColor$1;
2099
- fontSize?: BasicDivProps["fontSize"];
2100
- }
2101
- }
2102
-
2103
2112
  declare enum Size {
2104
2113
  "2xl" = "2rem",
2105
2114
  xl = "1.75rem",
@@ -2109,7 +2118,7 @@ declare enum Size {
2109
2118
  xs = ".85rem",
2110
2119
  "2xs" = ".5rem"
2111
2120
  }
2112
- interface BasicIndicatorProps {
2121
+ interface IndicatorProps {
2113
2122
  content?: number | string;
2114
2123
  /**
2115
2124
  * @default "orange"
@@ -2133,9 +2142,9 @@ interface BasicIndicatorProps {
2133
2142
  padding?: BasicDivProps["padding"];
2134
2143
  hide?: boolean;
2135
2144
  }
2136
- declare function BasicIndicator(props: BasicIndicatorProps): react_jsx_runtime.JSX.Element;
2145
+ declare function Indicator(props: IndicatorProps): react_jsx_runtime.JSX.Element;
2137
2146
 
2138
- interface BasicItemInfoProps {
2147
+ interface ItemInfoProps {
2139
2148
  item: {
2140
2149
  title: string;
2141
2150
  description?: string;
@@ -2143,15 +2152,15 @@ interface BasicItemInfoProps {
2143
2152
  };
2144
2153
  info: string | object | (() => string | object);
2145
2154
  }
2146
- declare function BasicItemInfo(props: BasicItemInfoProps): react_jsx_runtime.JSX.Element;
2155
+ declare function ItemInfo(props: ItemInfoProps): react_jsx_runtime.JSX.Element;
2147
2156
 
2148
- type BasicMenuPlacement = MenuRootProps["positioning"]["placement"];
2149
- interface BasicMenuProps<Item extends string> extends Partial<Record<`${"max" | "min"}${"Height" | "Width"}` | "height" | "width", HtmlElementDim | 0>> {
2157
+ type MenuPlacement = MenuRootProps["positioning"]["placement"];
2158
+ interface MenuProps<Item extends string> extends Partial<Record<`${"max" | "min"}${"Height" | "Width"}` | "height" | "width", HtmlElementDim | 0>> {
2150
2159
  inDialog?: boolean;
2151
2160
  /**
2152
2161
  * @default "right-start"
2153
2162
  */
2154
- placement?: BasicMenuPlacement;
2163
+ placement?: MenuPlacement;
2155
2164
  /**
2156
2165
  * @default "onSurface"
2157
2166
  */
@@ -2161,7 +2170,7 @@ interface BasicMenuProps<Item extends string> extends Partial<Record<`${"max" |
2161
2170
  */
2162
2171
  backgroundColor?: BasicColor$1;
2163
2172
  wrapTrigger?: boolean;
2164
- children: JSX.Element;
2173
+ children: JSX$1.Element;
2165
2174
  gutter?: number;
2166
2175
  items: MenuItems<Item>;
2167
2176
  /**@default "xs" */
@@ -2171,10 +2180,10 @@ interface BasicMenuProps<Item extends string> extends Partial<Record<`${"max" |
2171
2180
  divWrapper: React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
2172
2181
  }>;
2173
2182
  }
2174
- declare function BasicMenu<Item extends string>(props: BasicMenuProps<Item>): react_jsx_runtime.JSX.Element;
2183
+ declare function Menu<Item extends string>(props: MenuProps<Item>): react_jsx_runtime.JSX.Element;
2175
2184
  type MenuItems<Key extends string = string> = Record<Key, ({
2176
- leadingEl?: JSX.Element;
2177
- trailingEl?: JSX.Element | {
2185
+ leadingEl?: JSX$1.Element;
2186
+ trailingEl?: JSX$1.Element | {
2178
2187
  command: string;
2179
2188
  };
2180
2189
  sx?: Partial<Record<`:${"hover" | "active"}`, Partial<Record<"backgroundColor" | "color", BasicColor$1>>>>;
@@ -2246,7 +2255,7 @@ interface PageSliderProps<T> {
2246
2255
  }
2247
2256
  declare function PageSlider<T>(props: PageSliderProps<T>): react_jsx_runtime.JSX.Element;
2248
2257
 
2249
- interface BasicSegmentedControlsProps<ControlType extends string> {
2258
+ interface SegmentedControlsProps<ControlType extends string> {
2250
2259
  controls: ControlType[] | {
2251
2260
  value: ControlType;
2252
2261
  icon: IconType;
@@ -2258,33 +2267,35 @@ interface BasicSegmentedControlsProps<ControlType extends string> {
2258
2267
  borderColor?: BasicColor$1 | 0;
2259
2268
  onChange?: (control: ControlType) => void;
2260
2269
  }
2261
- declare function BasicSegmentedControls<ControlType extends string>(props: BasicSegmentedControlsProps<ControlType>): react_jsx_runtime.JSX.Element;
2270
+ declare function SegmentedControls<ControlType extends string>(props: SegmentedControlsProps<ControlType>): react_jsx_runtime.JSX.Element;
2262
2271
 
2263
- type BaseProps$1 = {
2264
- size?: SeparatorProps["size"];
2265
- color?: BasicColor$1;
2266
- variant?: SeparatorProps["variant"];
2267
- orientation?: SeparatorProps["orientation"];
2268
- };
2269
- type OptionalProps$1 = {
2272
+ interface TagProps {
2270
2273
  label: string;
2271
- labelPosition: "left" | "center" | "right";
2272
- labelColor?: BasicColor$1;
2273
- } | {
2274
- label?: never;
2275
- labelPosition?: never;
2276
- labelColor?: never;
2277
- };
2278
- declare function BasicSeparator(props: BaseProps$1 & OptionalProps$1): react_jsx_runtime.JSX.Element;
2274
+ opacity?: number;
2275
+ labelOpacity?: number;
2276
+ color?: BasicColor$1;
2277
+ }
2278
+ declare function Tag(props: TagProps): react_jsx_runtime.JSX.Element;
2279
+
2280
+ interface PaperProps {
2281
+ size: "A4" | "A6";
2282
+ /** Allows the paper's dimensions to be adaptable to different container sizes.
2283
+ * @default true */
2284
+ responsive?: boolean;
2285
+ children: JSX$1.Element | JSX$1.Element[];
2286
+ style?: CSS.Properties;
2287
+ id?: string;
2288
+ }
2289
+ declare function Paper(props: PaperProps): react_jsx_runtime.JSX.Element;
2279
2290
 
2280
- interface BasicStatusProps {
2291
+ interface StatusProps {
2281
2292
  status: TaskResultStatus;
2282
2293
  indicatorSize?: HtmlElementDim;
2283
2294
  indicatorOnly?: boolean;
2284
2295
  }
2285
- declare function BasicStatus(props: BasicStatusProps): react_jsx_runtime.JSX.Element;
2296
+ declare function Status(props: StatusProps): react_jsx_runtime.JSX.Element;
2286
2297
 
2287
- interface BasicStepperProps extends StepsVariant {
2298
+ interface StepperProps extends StepsVariant {
2288
2299
  steps: {
2289
2300
  title: string;
2290
2301
  description: React__default.ReactNode | (() => React__default.ReactNode);
@@ -2292,81 +2303,38 @@ interface BasicStepperProps extends StepsVariant {
2292
2303
  }[];
2293
2304
  showBg?: boolean;
2294
2305
  defaultStep?: number;
2295
- completedel?: JSX.Element | "none";
2306
+ completedel?: JSX$1.Element | "none";
2296
2307
  colorScheme?: Steps.RootProps["colorPalette"];
2297
2308
  indent?: Steps.RootProps["paddingLeft"] | boolean;
2298
2309
  nested?: boolean;
2299
2310
  value?: Steps.RootProviderProps["value"];
2300
2311
  footer?: (props: {
2301
2312
  PrevTrigger: (props: {
2302
- children: JSX.Element;
2303
- }) => JSX.Element;
2313
+ children: JSX$1.Element;
2314
+ }) => JSX$1.Element;
2304
2315
  NextTrigger: (props: {
2305
- children: JSX.Element;
2306
- }) => JSX.Element;
2307
- }) => JSX.Element;
2308
- }
2309
- declare function BasicStepper(props: BasicStepperProps): react_jsx_runtime.JSX.Element;
2310
-
2311
- interface BasicTagProps {
2312
- label: string;
2313
- opacity?: number;
2314
- labelOpacity?: number;
2315
- color?: BasicColor$1;
2316
- }
2317
- declare function BasicTag(props: BasicTagProps): react_jsx_runtime.JSX.Element;
2318
-
2319
- interface RootProps {
2320
- /**@default "fit-content" */
2321
- width?: BasicHtmlElementStyleProps["width"];
2322
- /**@default "onSurface[0.5]" */
2323
- lineSeparatorColor?: BasicColor$1;
2324
- rowGap?: string;
2325
- /**@default ".5rem" */
2326
- columnGap?: string;
2327
- children: JSX.Element | JSX.Element[];
2328
- }
2329
- declare function Root(props: RootProps): react_jsx_runtime.JSX.Element;
2330
- interface ItemProps {
2331
- indicator?: React.ReactNode;
2332
- /**The node that should be placed `before` (to the left of) the separator */
2333
- before?: React.ReactNode;
2334
- /**The node that should be placed `after` (to the right of) the separator */
2335
- after?: React.ReactNode;
2336
- disabled?: boolean;
2337
- styles?: Partial<Record<"before" | "after", BasicHtmlElementStyleProps> & {
2338
- indicator: Partial<BasicHtmlElementStyleProps & {
2339
- /**@default ".6rem" */
2340
- size: BasicHtmlElementStyleProps["size"];
2341
- /**@default "circle" */
2342
- corners: BasicHtmlElementStyleProps["corners"];
2343
- /**@default "onSurface" */
2344
- backgroundColor: BasicColor$1;
2345
- }>;
2346
- }>;
2316
+ children: JSX$1.Element;
2317
+ }) => JSX$1.Element;
2318
+ }) => JSX$1.Element;
2347
2319
  }
2348
- declare function Item(props: ItemProps): react_jsx_runtime.JSX.Element;
2349
- declare const BasicTimeline: {
2350
- Root: typeof Root;
2351
- Item: typeof Item;
2352
- };
2320
+ declare function Stepper(props: StepperProps): react_jsx_runtime.JSX.Element;
2353
2321
 
2354
- interface TooltipProps extends Tooltip.RootProps {
2322
+ interface TooltipProps$1 extends Tooltip$1.RootProps {
2355
2323
  showArrow?: boolean;
2356
2324
  portalled?: boolean;
2357
2325
  portalRef?: React$1.RefObject<HTMLElement | null>;
2358
2326
  content: React$1.ReactNode;
2359
- contentProps?: Tooltip.ContentProps;
2327
+ contentProps?: Tooltip$1.ContentProps;
2360
2328
  disabled?: boolean;
2361
2329
  }
2362
2330
 
2363
- type BasicTooltipPlacement = TooltipProps["positioning"]["placement"];
2364
- interface BasicTooltipProps {
2331
+ type TooltipPlacement = TooltipProps$1["positioning"]["placement"];
2332
+ interface TooltipProps {
2365
2333
  asChild?: boolean;
2366
- children: JSX.Element;
2334
+ children: JSX$1.Element;
2367
2335
  tooltip: React__default.ReactNode;
2368
2336
  arrow?: boolean;
2369
- placement?: BasicTooltipPlacement;
2337
+ placement?: TooltipPlacement;
2370
2338
  backgroundColor?: BasicColor$1;
2371
2339
  color?: BasicColor$1;
2372
2340
  corners?: BasicDivProps["corners"];
@@ -2380,55 +2348,99 @@ interface BasicTooltipProps {
2380
2348
  spanWrapper: Partial<BasicDivProps>;
2381
2349
  }>;
2382
2350
  }
2383
- declare function BasicTooltip(props: BasicTooltipProps): react_jsx_runtime.JSX.Element;
2351
+ declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
2384
2352
 
2385
- interface BasicSelectProps<T> extends SafeOmit<BasicPopoverProps, "displayAction" | "content" | "placement" | "allowInteractions"> {
2386
- isSelected?: (option: BasicSelectProps<T>["options"][number]) => boolean;
2387
- options: {
2388
- value: T;
2353
+ declare function Root(props: TimelineProps.RootProps): react_jsx_runtime.JSX.Element;
2354
+ declare function Item(props: TimelineProps.ItemProps): react_jsx_runtime.JSX.Element;
2355
+ declare const Timeline: {
2356
+ Root: typeof Root;
2357
+ Item: typeof Item;
2358
+ };
2359
+ declare namespace TimelineProps {
2360
+ interface RootProps {
2361
+ /**@default "fit-content" */
2362
+ width?: BasicHtmlElementStyleProps["width"];
2363
+ /**@default "onSurface[0.5]" */
2364
+ lineSeparatorColor?: BasicColor$1;
2365
+ rowGap?: string;
2366
+ /**@default ".5rem" */
2367
+ columnGap?: string;
2368
+ children: JSX$1.Element | JSX$1.Element[];
2369
+ }
2370
+ interface ItemProps {
2371
+ indicator?: React.ReactNode;
2372
+ /**The node that should be placed `before` (to the left of) the separator */
2373
+ before?: React.ReactNode;
2374
+ /**The node that should be placed `after` (to the right of) the separator */
2375
+ after?: React.ReactNode;
2389
2376
  disabled?: boolean;
2390
- onClick?: () => void;
2391
- }[];
2392
- /**@default "md" */
2393
- corners?: BasicDivProps["corners"];
2394
- /**@default "md" */
2395
- padding?: BasicDivProps["padding"];
2396
- /**@default "sm" */
2397
- gap?: BasicDivProps["gap"];
2398
- onOptionClick?: (option: BasicSelectProps<T>["options"][number], index: number, options: BasicSelectProps<T>["options"]) => void;
2377
+ styles?: Partial<Record<"before" | "after", BasicHtmlElementStyleProps> & {
2378
+ indicator: Partial<BasicHtmlElementStyleProps & {
2379
+ /**@default ".6rem" */
2380
+ size: BasicHtmlElementStyleProps["size"];
2381
+ /**@default "circle" */
2382
+ corners: BasicHtmlElementStyleProps["corners"];
2383
+ /**@default "onSurface" */
2384
+ backgroundColor: BasicColor$1;
2385
+ }>;
2386
+ }>;
2387
+ }
2399
2388
  }
2400
- declare function BasicSelect<T extends string | number>(props: BasicSelectProps<T>): react_jsx_runtime.JSX.Element;
2401
2389
 
2402
- interface BasicOptionProps {
2403
- value: string | number;
2404
- selected?: boolean;
2405
- /**@default "full" */
2390
+ type BaseProps$1 = {
2391
+ size?: SeparatorProps$1["size"];
2392
+ color?: BasicColor$1;
2393
+ variant?: SeparatorProps$1["variant"];
2394
+ orientation?: SeparatorProps$1["orientation"];
2395
+ };
2396
+ type OptionalProps$1 = {
2397
+ label: string;
2398
+ labelPosition: "left" | "center" | "right";
2399
+ labelColor?: BasicColor$1;
2400
+ } | {
2401
+ label?: never;
2402
+ labelPosition?: never;
2403
+ labelColor?: never;
2404
+ };
2405
+ type SeparatorProps = BaseProps$1 & OptionalProps$1;
2406
+ declare function Separator(props: SeparatorProps): react_jsx_runtime.JSX.Element;
2407
+
2408
+ interface DisclaimerProps extends Partial<Record<"top" | "left" | "bottom" | "right", HtmlElementDim | 0>> {
2409
+ severity: "warning" | "error" | "info";
2410
+ message: string;
2411
+ pos?: BasicDivProps["pos"];
2412
+ /**
2413
+ * @default false
2414
+ */
2415
+ disableShadow?: boolean;
2416
+ facade?: (severity: DisclaimerProps["severity"]) => DisclaimerProps["severity"];
2406
2417
  width?: BasicDivProps["width"];
2407
- /**@default "sm" */
2418
+ /**
2419
+ * @default "1rem"
2420
+ */
2421
+ iconSize?: HtmlElementDim;
2422
+ /**
2423
+ * @default "md"
2424
+ */
2425
+ gap?: BasicSpanProps["gap"];
2426
+ /**
2427
+ * @default "md"
2428
+ */
2408
2429
  padding?: BasicDivProps["padding"];
2409
- /**@default "md" */
2430
+ /**
2431
+ * @default "md"
2432
+ */
2410
2433
  corners?: BasicDivProps["corners"];
2411
- /**@default "sm" */
2434
+ /**
2435
+ * @default "sm"
2436
+ */
2412
2437
  fontSize?: BasicSpanProps["fontSize"];
2413
- color?: BasicColor$1;
2414
- disabled?: boolean;
2415
- backgroundColor?: BasicColor$1;
2416
- sx?: InlineCss;
2417
- scrollIntoView?: boolean;
2418
- onClick?: () => void;
2419
- }
2420
- declare function BasicOption(props: BasicOptionProps): react_jsx_runtime.JSX.Element;
2421
-
2422
- interface PaperProps {
2423
- size: "A4" | "A6";
2424
- /** Allows the paper's dimensions to be adaptable to different container sizes.
2425
- * @default true */
2426
- responsive?: boolean;
2427
- children: JSX.Element | JSX.Element[];
2428
- style?: CSS.Properties;
2429
- id?: string;
2438
+ /**
2439
+ * @default false
2440
+ */
2441
+ hideLabel?: boolean;
2430
2442
  }
2431
- declare function Paper(props: PaperProps): react_jsx_runtime.JSX.Element;
2443
+ declare function Disclaimer(props: DisclaimerProps): react_jsx_runtime.JSX.Element;
2432
2444
 
2433
2445
  type ContextType = Prettify<Partial<Record<`onAttachment${"Added" | "Deleted"}`, (attachement: Attachment) => void>> & Partial<Record<`${"delete" | "open"}Disabled`, boolean | ((attachment: Attachment) => boolean)>> & {
2434
2446
  attachments: Email["attachments"];
@@ -2443,7 +2455,7 @@ type ContextType = Prettify<Partial<Record<`onAttachment${"Added" | "Deleted"}`,
2443
2455
  }>;
2444
2456
  interface AttachmentsDialogProps extends ContextType {
2445
2457
  readOnly?: boolean;
2446
- triggerElement?: JSX$1.Element;
2458
+ triggerElement?: JSX.Element;
2447
2459
  unmountOnExit?: boolean;
2448
2460
  rerenderOnClose?: boolean;
2449
2461
  controller?: UseDialogControllerReturn;
@@ -2654,7 +2666,7 @@ interface MoneyDisplayCardProps {
2654
2666
  slotProps?: Partial<Record<"label" | "fee" | "currency", Partial<{
2655
2667
  fontSize: BasicDivProps["fontSize"];
2656
2668
  }>>>;
2657
- children?: JSX.Element | JSX.Element[];
2669
+ children?: JSX$1.Element | JSX$1.Element[];
2658
2670
  }
2659
2671
  declare function MoneyDisplayCard(props: MoneyDisplayCardProps): react_jsx_runtime.JSX.Element;
2660
2672
 
@@ -2698,7 +2710,7 @@ interface CalendarDialogProps extends CalendarProps {
2698
2710
  title?: string;
2699
2711
  titleFontSize?: BasicSpanProps["fontSize"];
2700
2712
  controller?: UseDialogControllerReturn;
2701
- triggerElement?: JSX.Element;
2713
+ triggerElement?: JSX$1.Element;
2702
2714
  /**@default "onSurface[0.1]" */
2703
2715
  backgroundColor?: BasicColor$1;
2704
2716
  /**@default ".5rem" */
@@ -2711,7 +2723,7 @@ interface CalendarDialogProps extends CalendarProps {
2711
2723
  declare function CalendarDialog(props: CalendarDialogProps): react_jsx_runtime.JSX.Element;
2712
2724
 
2713
2725
  interface PaymentOptionsDialogProps<Variables extends Record<string, any>> {
2714
- triggerElement?: JSX.Element;
2726
+ triggerElement?: JSX$1.Element;
2715
2727
  controller?: UseDialogControllerReturn;
2716
2728
  options: {
2717
2729
  icon: IconType;
@@ -2721,8 +2733,8 @@ interface PaymentOptionsDialogProps<Variables extends Record<string, any>> {
2721
2733
  disabled?: boolean;
2722
2734
  onClick?: (variables: Variables) => void;
2723
2735
  dropDownContent?: string | Record<string, string>;
2724
- "pre-element"?: (variables: Variables) => JSX.Element;
2725
- "post-element"?: (variables: Variables) => JSX.Element;
2736
+ "pre-element"?: (variables: Variables) => JSX$1.Element;
2737
+ "post-element"?: (variables: Variables) => JSX$1.Element;
2726
2738
  }[];
2727
2739
  }
2728
2740
  declare function PaymentOptionsDialog(props: PaymentOptionsDialogProps<{}>): react_jsx_runtime.JSX.Element;
@@ -2743,8 +2755,8 @@ declare const bankTransferPaymentOption: (bankAccount: {
2743
2755
  disabled?: boolean;
2744
2756
  onClick?: (variables: Record<string, any>) => void;
2745
2757
  dropDownContent?: string | Record<string, string>;
2746
- "pre-element"?: (variables: Record<string, any>) => JSX.Element;
2747
- "post-element"?: (variables: Record<string, any>) => JSX.Element;
2758
+ "pre-element"?: (variables: Record<string, any>) => JSX$1.Element;
2759
+ "post-element"?: (variables: Record<string, any>) => JSX$1.Element;
2748
2760
  };
2749
2761
  declare const inAppPaymentOption: () => {
2750
2762
  icon: IconType;
@@ -2754,8 +2766,8 @@ declare const inAppPaymentOption: () => {
2754
2766
  disabled?: boolean;
2755
2767
  onClick?: (variables: {}) => void;
2756
2768
  dropDownContent?: string | Record<string, string>;
2757
- "pre-element"?: (variables: {}) => JSX.Element;
2758
- "post-element"?: (variables: {}) => JSX.Element;
2769
+ "pre-element"?: (variables: {}) => JSX$1.Element;
2770
+ "post-element"?: (variables: {}) => JSX$1.Element;
2759
2771
  };
2760
2772
 
2761
2773
  interface TaskResultDialogProps {
@@ -2862,7 +2874,7 @@ interface SignInWidgetProps<Auth extends AuthProvider> {
2862
2874
  width?: BasicDivProps["width"];
2863
2875
  backgroundColor?: BasicColor$1;
2864
2876
  color?: BasicColor$1;
2865
- header?: JSX.Element;
2877
+ header?: JSX$1.Element;
2866
2878
  zIndex?: number;
2867
2879
  onAuthProviderClick: (provider: Auth) => Promise<void>;
2868
2880
  }
@@ -2906,7 +2918,7 @@ declare function VerifyTextField(props: SafeOmit<TextFieldProps, "leadingAdornme
2906
2918
  onVerifyClick: () => Promise<TaskResult>;
2907
2919
  }): react_jsx_runtime.JSX.Element;
2908
2920
 
2909
- declare function ErrorTooltip(props: SafeOmit<BasicTooltipProps, "tooltip"> & {
2921
+ declare function ErrorTooltip(props: SafeOmit<TooltipProps, "tooltip"> & {
2910
2922
  error: ErrorMessage | undefined;
2911
2923
  }): react_jsx_runtime.JSX.Element;
2912
2924
 
@@ -2981,7 +2993,7 @@ interface BasicFileInputProps extends BasicHtmlElementStyleProps {
2981
2993
  */
2982
2994
  multiple?: boolean;
2983
2995
  accepts?: KnownFileTypeAlias[] | KnownFileTypeAlias;
2984
- children?: JSX.Element;
2996
+ children?: JSX$1.Element;
2985
2997
  disabled?: boolean;
2986
2998
  getFilePath?: (file: File) => string;
2987
2999
  onAccept?: (files: File[], localFiles: LocalFile[]) => void;
@@ -3016,6 +3028,8 @@ interface ButtonProps {
3016
3028
  declare const YesButton: (props: ButtonProps) => react_jsx_runtime.JSX.Element;
3017
3029
  declare const NoButton: (props: ButtonProps) => react_jsx_runtime.JSX.Element;
3018
3030
 
3031
+ declare const DownloadButton: (props: Omit<BasicButtonProps, "text" | "leadingEl" | "trailingEl">) => react_jsx_runtime.JSX.Element;
3032
+
3019
3033
  type JwtVerificationStatus = {
3020
3034
  verified: boolean;
3021
3035
  payload: string;
@@ -3143,4 +3157,4 @@ declare function remAsPx(rem: number): string;
3143
3157
  declare function isOverflown(element: HTMLElement): boolean;
3144
3158
  declare function computedCssVariable(cssVariable: string): string;
3145
3159
 
3146
- export { AttachmentsButton, AttachmentsDialog, BasicAvatar, BasicBadge, BasicButton, BasicCard, type BasicColor$1 as BasicColor, BasicConfirmationDialog, BasicDialog, BasicDisclaimer, BasicDiv, BasicDropzone, BasicFormDialog, type BasicHtmlElementStyleProps, BasicImg, BasicIndicator, BasicItemInfo, BasicMediaCard, BasicMenu, type BasicMenuPlacement, BasicOl, BasicOption, BasicPopover, BasicProfileCard, BasicSegmentedControls, BasicSelect, BasicSeparator, BasicSpan, BasicStatus, BasicStepper, BasicTable, BasicTableProps, BasicTag, BasicTimeline, BasicTooltip, type BasicTooltipPlacement, _default as Calendar, CalendarDialog, CancelButton, Checkbox, ColorResources, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, DeleteButton, EditButton, Editable, EmailComposer, EmptyState, ErrorTooltip, ExpandableButton, FileViewer, FileViewerProps, FontSize, type InlineCss, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageSlider, Paper, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, PositiveButton, PreviousButton, ReceiptCard, SaveButton, SearchTextField, SendButton, SignInWidget, SimpleFormDialog, SubmitButton, TaskLogger, TaskResultDialog, Terminal, TextField, UploadButton, UploadReceiptButton, type UseDialogControllerReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, remAsPx, remToPx, resolveBasicColor, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, tiledBackground, useAsyncEffect, useChangeEffect, useDialogController, useEventEmitter, useManagedRef, usePageSliderController, usePopoverContext, useRerender, useSessionStorage };
3160
+ export { AttachmentsButton, AttachmentsDialog, Avatar, type AvatarProps, Badge, type BadgeProps, BasicButton, type BasicColor$1 as BasicColor, BasicDiv, type BasicHtmlElementStyleProps, BasicImg, type MenuPlacement as BasicMenuPlacement, BasicOl, BasicOption, BasicSelect, BasicSpan, BasicTable, BasicTableProps, type TooltipPlacement as BasicTooltipPlacement, _default as Calendar, CalendarDialog, CancelButton, Card, CardProps, Checkbox, type CheckboxProps, ColorResources, ConfirmationDialog, type ConfirmationDialogProps, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, DeleteButton, Dialog, DialogProps, Disclaimer, type DisclaimerProps, DownloadButton, EditButton, Editable, type EditableProps, EmailComposer, EmptyState, EmptyStateProps, ErrorTooltip, ExpandableButton, FancyFormDialog, type FancyFormDialogProps, FileDropzone, type FileDropzoneProps, FileViewer, FileViewerProps, FontSize, Indicator, type IndicatorProps, type InlineCss, ItemInfo, type ItemInfoProps, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MediaCard, MediaCardProps, Menu, type MenuPlacement, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageSlider, type PageSliderProps, Paper, type PaperProps, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, Popover, type PopoverProps, PositiveButton, PreviousButton, ProfileCard, ProfileCardProps, ReceiptCard, SaveButton, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, Tag, type TagProps, TaskLogger, TaskResultDialog, Terminal, TextField, type TextFieldProps, Timeline, TimelineProps, Tooltip, type TooltipPlacement, type TooltipProps, UploadButton, UploadReceiptButton, type UseDialogControllerReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, remAsPx, remToPx, resolveBasicColor, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, tiledBackground, useAsyncEffect, useChangeEffect, useDialogController, useEventEmitter, useManagedRef, usePageSliderController, usePopoverContext, useRerender, useSessionStorage };