@lumx/react 4.3.2-alpha.22 → 4.3.2-alpha.24

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/index.d.ts CHANGED
@@ -1,27 +1,14 @@
1
- import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Size as Size$1, ColorPalette as ColorPalette$1, Theme as Theme$1, Orientation as Orientation$1, Alignment as Alignment$1, AspectRatio as AspectRatio$1, ColorWithVariants as ColorWithVariants$1, ColorVariant as ColorVariant$1, Typography as Typography$1, Emphasis as Emphasis$1 } from '@lumx/core/js/constants';
1
+ import { Kind, HorizontalAlignment, Size, ColorPalette as ColorPalette$1, Theme, Orientation as Orientation$1, Alignment as Alignment$1, AspectRatio, ColorWithVariants as ColorWithVariants$1, ColorVariant as ColorVariant$1, Typography as Typography$1, Emphasis } from '@lumx/core/js/constants';
2
2
  export * from '@lumx/core/js/constants';
3
3
  import * as _lumx_core_js_types from '@lumx/core/js/types';
4
- import { GenericProps, HasTheme as HasTheme$1, ValueOf as ValueOf$1, HasAriaDisabled as HasAriaDisabled$1, LumxClassName as LumxClassName$1, HasCloseMode, HasClassName as HasClassName$1, JSXElement as JSXElement$1, CommonRef as CommonRef$1, Falsy, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
4
+ import { GenericProps, HasTheme, HasAriaDisabled as HasAriaDisabled$1, LumxClassName as LumxClassName$1, ValueOf as ValueOf$1, HasCloseMode, HasClassName as HasClassName$1, JSXElement as JSXElement$1, CommonRef as CommonRef$1, Falsy, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
5
5
  export * from '@lumx/core/js/types';
6
6
  import * as React$1 from 'react';
7
- import React__default, { Ref, ReactElement, ReactNode, SyntheticEvent, MouseEventHandler, KeyboardEventHandler, AriaAttributes, ReactText, RefObject, CSSProperties, ImgHTMLAttributes, SetStateAction, Key, ElementType, ComponentProps } from 'react';
7
+ import React__default, { ReactNode, SyntheticEvent, ReactElement, MouseEventHandler, KeyboardEventHandler, Ref, RefObject, CSSProperties, ImgHTMLAttributes, AriaAttributes, SetStateAction, Key, ElementType, ComponentProps } from 'react';
8
+ import { C as Comp, I as IconButtonProps, T as TextFieldProps, O as Offset, P as Placement, H as HasClassName, J as JSXElement, a as ColorPalette, b as CommonRef, B as BaseButtonProps, c as HasTheme$1, d as HasAriaDisabled, e as HasDisabled, S as Selector, f as ComboboxOptionProps, E as Elevation, F as FitAnchorWidth, g as ColorWithVariants, h as ColorVariant, i as Typography, W as WhiteSpace, j as Size$1, V as VerticalAlignment, A as Alignment, k as HorizontalAlignment$1, l as Orientation, K as Kind$1, G as GlobalSize, m as AspectRatio$1, n as TypographyInterface } from './Tooltip-2RZbmkfM.js';
9
+ export { o as BaseSelectProps, p as ButtonSize, q as ComboboxAction, r as ComboboxProps, s as IconButton, t as InputLabel, u as InputLabelProps, L as ListItem, v as ListItemProps, w as ListItemSize, M as MultipleSelection, x as OnComboboxInputChange, y as OnComboboxSelect, z as SingleSelection, D as TextField, N as Tooltip, Q as TooltipPlacement, R as TooltipProps, U as isClickable } from './Tooltip-2RZbmkfM.js';
8
10
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
11
 
10
- /** LumX Component Type. */
11
- type Comp<P, T = HTMLElement> = {
12
- (props: P & {
13
- ref?: Ref<T>;
14
- }): ReactElement | null;
15
- /** React component type. */
16
- readonly $$typeof: symbol;
17
- /** Component default props. */
18
- defaultProps?: Partial<P>;
19
- /** Component name. */
20
- displayName?: string;
21
- /** Component base class name. */
22
- className?: string;
23
- };
24
-
25
12
  /**
26
13
  * Extract ref type for a component or JSX intrinsic element
27
14
  *
@@ -34,7 +21,7 @@ type ComponentRef<C> = C extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElem
34
21
 
35
22
  interface AlertDialogProps extends Omit<DialogProps, 'header' | 'footer'> {
36
23
  /** Message variant. */
37
- kind?: Kind$1;
24
+ kind?: Kind;
38
25
  /** Dialog title. */
39
26
  title?: string;
40
27
  /** Props forwarded to the confirm button */
@@ -69,7 +56,7 @@ declare const AlertDialog: Comp<AlertDialogProps, HTMLDivElement>;
69
56
  /**
70
57
  * Defines the props of the component.
71
58
  */
72
- interface AutocompleteProps extends GenericProps, HasTheme$1 {
59
+ interface AutocompleteProps extends GenericProps, HasTheme {
73
60
  /**
74
61
  * Whether the suggestions list should display anchored to the input or to the wrapper.
75
62
  * @see {@link DropdownProps#anchorToInput}
@@ -242,7 +229,7 @@ interface AutocompleteMultipleProps extends AutocompleteProps {
242
229
  /** Selected values. */
243
230
  values: any[];
244
231
  /** Alignment of the chips in the autocomplete. */
245
- chipsAlignment?: HorizontalAlignment$1;
232
+ chipsAlignment?: HorizontalAlignment;
246
233
  /** Selected value render function. Default: Renders the value inside of a Chip. */
247
234
  selectedChipRender(choice: any, index: number, onClear?: (event: React.MouseEvent, val: any) => void, isDisabled?: boolean): ReactNode | string;
248
235
  }
@@ -258,11 +245,11 @@ declare const AutocompleteMultiple: Comp<AutocompleteMultipleProps, HTMLDivEleme
258
245
  /**
259
246
  * Avatar sizes.
260
247
  */
261
- type AvatarSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
248
+ type AvatarSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
262
249
  /**
263
250
  * Defines the props of the component.
264
251
  */
265
- interface AvatarProps extends GenericProps, HasTheme$1 {
252
+ interface AvatarProps extends GenericProps, HasTheme {
266
253
  /** Action toolbar content. */
267
254
  actions?: ReactNode;
268
255
  /** Image alternative text. */
@@ -293,215 +280,6 @@ interface AvatarProps extends GenericProps, HasTheme$1 {
293
280
  */
294
281
  declare const Avatar: Comp<AvatarProps, HTMLDivElement>;
295
282
 
296
- /**
297
- * Alignments.
298
- */
299
- declare const Alignment: {
300
- readonly bottom: "bottom";
301
- readonly center: "center";
302
- readonly end: "end";
303
- readonly left: "left";
304
- readonly right: "right";
305
- readonly spaceAround: "space-around";
306
- readonly spaceBetween: "space-between";
307
- readonly spaceEvenly: "space-evenly";
308
- readonly start: "start";
309
- readonly top: "top";
310
- };
311
- type Alignment = ValueOf$1<typeof Alignment>;
312
- type VerticalAlignment = Extract<Alignment, 'top' | 'center' | 'bottom'>;
313
- type HorizontalAlignment = Extract<Alignment, 'right' | 'center' | 'left'>;
314
- declare const Theme: {
315
- readonly light: "light";
316
- readonly dark: "dark";
317
- };
318
- type Theme = ValueOf$1<typeof Theme>;
319
- declare const Size: {
320
- readonly xxs: "xxs";
321
- readonly xs: "xs";
322
- readonly s: "s";
323
- readonly m: "m";
324
- readonly l: "l";
325
- readonly xl: "xl";
326
- readonly xxl: "xxl";
327
- readonly tiny: "tiny";
328
- readonly regular: "regular";
329
- readonly medium: "medium";
330
- readonly big: "big";
331
- readonly huge: "huge";
332
- };
333
- type Size = ValueOf$1<typeof Size>;
334
- type GlobalSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
335
- declare const Orientation: {
336
- readonly horizontal: "horizontal";
337
- readonly vertical: "vertical";
338
- };
339
- type Orientation = ValueOf$1<typeof Orientation>;
340
- declare const Emphasis: {
341
- readonly low: "low";
342
- readonly medium: "medium";
343
- readonly high: "high";
344
- };
345
- type Emphasis = ValueOf$1<typeof Emphasis>;
346
- /**
347
- * List of typographies that can't be customized.
348
- */
349
- declare const TypographyInterface: {
350
- readonly overline: "overline";
351
- readonly caption: "caption";
352
- readonly body1: "body1";
353
- readonly body2: "body2";
354
- readonly subtitle1: "subtitle1";
355
- readonly subtitle2: "subtitle2";
356
- readonly title: "title";
357
- readonly headline: "headline";
358
- readonly display1: "display1";
359
- };
360
- type TypographyInterface = ValueOf$1<typeof TypographyInterface>;
361
- /**
362
- * List of typographies that can be customized (via CSS variables).
363
- */
364
- declare const TypographyCustom: {
365
- readonly intro: "custom-intro";
366
- readonly 'body-large': "custom-body-large";
367
- readonly body: "custom-body";
368
- readonly quote: "custom-quote";
369
- readonly 'publish-info': "custom-publish-info";
370
- readonly button: "custom-button";
371
- readonly title1: "custom-title1";
372
- readonly title2: "custom-title2";
373
- readonly title3: "custom-title3";
374
- readonly title4: "custom-title4";
375
- readonly title5: "custom-title5";
376
- readonly title6: "custom-title6";
377
- };
378
- type TypographyCustom = ValueOf$1<typeof TypographyCustom>;
379
- /**
380
- * List of all typographies.
381
- */
382
- declare const Typography: {
383
- readonly custom: {
384
- readonly intro: "custom-intro";
385
- readonly 'body-large': "custom-body-large";
386
- readonly body: "custom-body";
387
- readonly quote: "custom-quote";
388
- readonly 'publish-info': "custom-publish-info";
389
- readonly button: "custom-button";
390
- readonly title1: "custom-title1";
391
- readonly title2: "custom-title2";
392
- readonly title3: "custom-title3";
393
- readonly title4: "custom-title4";
394
- readonly title5: "custom-title5";
395
- readonly title6: "custom-title6";
396
- };
397
- readonly overline: "overline";
398
- readonly caption: "caption";
399
- readonly body1: "body1";
400
- readonly body2: "body2";
401
- readonly subtitle1: "subtitle1";
402
- readonly subtitle2: "subtitle2";
403
- readonly title: "title";
404
- readonly headline: "headline";
405
- readonly display1: "display1";
406
- };
407
- type Typography = TypographyInterface | TypographyCustom;
408
- /**
409
- * All available aspect ratios.
410
- */
411
- declare const AspectRatio: {
412
- /** Intrinsic content ratio. */
413
- readonly original: "original";
414
- /** Ratio 3:1 */
415
- readonly panoramic: "panoramic";
416
- /** Ratio 16:9 */
417
- readonly wide: "wide";
418
- /** Ratio 3:2 */
419
- readonly horizontal: "horizontal";
420
- /** Ratio 3:2 */
421
- readonly vertical: "vertical";
422
- /** Ratio 1:1 */
423
- readonly square: "square";
424
- /** Ratio constrained by the parent. */
425
- readonly free: "free";
426
- };
427
- type AspectRatio = ValueOf$1<typeof AspectRatio>;
428
- /**
429
- * Semantic info about the purpose of the component
430
- */
431
- declare const Kind: {
432
- readonly info: "info";
433
- readonly success: "success";
434
- readonly warning: "warning";
435
- readonly error: "error";
436
- };
437
- type Kind = ValueOf$1<typeof Kind>;
438
- /**
439
- * All available white-space values
440
- * */
441
- declare const WhiteSpace: {
442
- normal: string;
443
- nowrap: string;
444
- pre: string;
445
- 'pre-wrap': string;
446
- 'pre-line': string;
447
- 'break-spaces': string;
448
- };
449
- type WhiteSpace = ValueOf$1<typeof WhiteSpace>;
450
- /**
451
- * See SCSS variable $lumx-color-palette
452
- */
453
- declare const ColorPalette: {
454
- readonly primary: "primary";
455
- readonly secondary: "secondary";
456
- readonly blue: "blue";
457
- readonly dark: "dark";
458
- readonly green: "green";
459
- readonly yellow: "yellow";
460
- readonly red: "red";
461
- readonly light: "light";
462
- readonly grey: "grey";
463
- };
464
- type ColorPalette = ValueOf$1<typeof ColorPalette>;
465
- /**
466
- * See SCSS variable $lumx-color-variants
467
- */
468
- declare const ColorVariant: {
469
- readonly D1: "D1";
470
- readonly D2: "D2";
471
- readonly L1: "L1";
472
- readonly L2: "L2";
473
- readonly L3: "L3";
474
- readonly L4: "L4";
475
- readonly L5: "L5";
476
- readonly L6: "L6";
477
- readonly N: "N";
478
- };
479
- type ColorVariant = ValueOf$1<typeof ColorVariant>;
480
- /** ColorPalette with all possible color variant combination */
481
- type ColorWithVariants = ColorPalette | Exclude<`${ColorPalette}-${ColorVariant}`, `light-D${number}` | `dark-D${number}`>;
482
-
483
- interface HasClassName {
484
- /**
485
- * Class name forwarded to the root element of the component.
486
- */
487
- className?: string;
488
- }
489
-
490
- interface HasTheme {
491
- /**
492
- * Theme adapting the component to light or dark background.
493
- */
494
- theme?: Theme;
495
- }
496
-
497
- /**
498
- * Framework-agnostic type for renderable content.
499
- * Vue components should cast VNode[] from slots to this type.
500
- *
501
- * Note: Uses type-only import to avoid runtime dependencies.
502
- */
503
- type JSXElement = React__default.ReactNode;
504
-
505
283
  /** Union type of all heading elements */
506
284
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
507
285
 
@@ -517,15 +295,6 @@ type KebabCase<S> = S extends `${infer C}${infer T}` ? T extends Uncapitalize<T>
517
295
  /** Transform the component name into the lumx class name. */
518
296
  type LumxClassName<TComponentName extends string> = `lumx-${KebabCase<TComponentName>}`;
519
297
 
520
- type CommonRef = any;
521
-
522
- type Booleanish = boolean | 'true' | 'false';
523
-
524
- interface HasAriaDisabled {
525
- /** Similar to `disabled` but does not block pointer events or focus */
526
- 'aria-disabled'?: Booleanish;
527
- }
528
-
529
298
  interface HasChecked<C = boolean> {
530
299
  /** Component checked state. */
531
300
  isChecked?: C;
@@ -533,24 +302,6 @@ interface HasChecked<C = boolean> {
533
302
  checked?: boolean;
534
303
  }
535
304
 
536
- interface HasDisabled {
537
- /** Whether the component is disabled or not. */
538
- isDisabled?: boolean;
539
- /** @alias isDisabled */
540
- disabled?: boolean;
541
- }
542
-
543
- type FunctionSelector<TObject, TValue> = (o: TObject) => TValue;
544
- type FieldSelector<TObject, TValue> = keyof {
545
- [TKey in keyof TObject as TObject[TKey] extends TValue ? TKey : never]: TObject[TKey];
546
- };
547
- /**
548
- * Value selector on an object
549
- * - either via an object key
550
- * - or a selector function
551
- */
552
- type Selector<TObject, TValue = string> = FieldSelector<TObject, TValue> | FunctionSelector<TObject, TValue>;
553
-
554
305
  /**
555
306
  * Defines the props of the component.
556
307
  */
@@ -596,49 +347,6 @@ interface BadgeWrapperProps extends GenericProps, Omit<BadgeWrapperProps$1, 'chi
596
347
  }
597
348
  declare const BadgeWrapper: Comp<BadgeWrapperProps, HTMLDivElement>;
598
349
 
599
- interface BaseClickableProps extends HasDisabled, HasAriaDisabled {
600
- children?: JSXElement;
601
- onClick?: (event?: any) => void;
602
- ref?: CommonRef;
603
- }
604
-
605
- /**
606
- * Button size definition.
607
- */
608
- type ButtonSize = Extract<Size, 's' | 'm'>;
609
- interface BaseButtonProps extends Pick<AriaAttributes, 'aria-expanded' | 'aria-haspopup' | 'aria-pressed' | 'aria-label'>, HasClassName, HasTheme, HasAriaDisabled, BaseClickableProps {
610
- /** Color variant. */
611
- color?: ColorPalette;
612
- /** Emphasis variant. */
613
- emphasis?: Emphasis;
614
- /** Whether or not the button has a background color in low emphasis. */
615
- hasBackground?: boolean;
616
- /** Native anchor href property. It determines whether the Button will be a <button> or an <a>. */
617
- href?: string;
618
- /** Whether the component is disabled or not. */
619
- isDisabled?: boolean;
620
- /** Whether the component is selected or not (unsupported in `high` emphasis). */
621
- isSelected?: boolean;
622
- /** Native button name property. */
623
- name?: string;
624
- /** Size variant. */
625
- size?: ButtonSize;
626
- /** Native anchor target property. */
627
- target?: '_self' | '_blank' | '_parent' | '_top';
628
- /** Native button type. */
629
- type?: 'submit' | 'reset' | 'button' | undefined;
630
- /** Custom component for the link (can be used to inject router Link). */
631
- linkAs?: 'a' | any;
632
- /** whether the button is dispalyed in full width or not */
633
- fullWidth?: boolean;
634
- /** whether the button is currently active or not */
635
- isActive?: boolean;
636
- /** whether the button is currently focused or not */
637
- isFocused?: boolean;
638
- /** whether the button is currently focused or not */
639
- isHovered?: boolean;
640
- }
641
-
642
350
  /**
643
351
  * Button emphasis definition.
644
352
  * @deprecated Use Emphasis instead.
@@ -683,45 +391,7 @@ interface ButtonProps extends GenericProps, ButtonProps$1 {
683
391
  * @param ref Component ref.
684
392
  * @return React element.
685
393
  */
686
- declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
687
-
688
- interface IconButtonProps$1 extends BaseButtonProps {
689
- /**
690
- * Icon (SVG path).
691
- * If `image` is also set, `image` will be used instead.
692
- */
693
- icon?: string;
694
- /**
695
- * Image (image url).
696
- * Has priority over `icon`.
697
- */
698
- image?: string;
699
- /**
700
- * Label text (required for a11y purpose).
701
- * If you really don't want an aria-label, you can set an empty label (this is not recommended).
702
- */
703
- label: string;
704
- /** text to be displayed on hover */
705
- title?: string;
706
- }
707
-
708
- interface IconButtonProps extends GenericProps, Omit<IconButtonProps$1, 'title' | 'children'> {
709
- /**
710
- * Props to pass to the tooltip.
711
- * If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
712
- * */
713
- tooltipProps?: Partial<TooltipProps>;
714
- /** Whether the tooltip should be hidden or not. */
715
- hideTooltip?: boolean;
716
- }
717
- /**
718
- * IconButton component.
719
- *
720
- * @param props Component props.
721
- * @param ref Component ref.
722
- * @return React element.
723
- */
724
- declare const IconButton: Comp<IconButtonProps, HTMLButtonElement>;
394
+ declare const Button: Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>;
725
395
 
726
396
  /**
727
397
  * Defines the props of the component
@@ -749,7 +419,7 @@ declare const ButtonGroup: Comp<ButtonGroupProps, HTMLDivElement>;
749
419
  /**
750
420
  * Defines the props of the component.
751
421
  */
752
- interface CheckboxProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked<boolean | 'intermediate'> {
422
+ interface CheckboxProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked<boolean | 'intermediate'> {
753
423
  /** Helper text. */
754
424
  helper?: string;
755
425
  /** Native input id property. */
@@ -789,11 +459,11 @@ declare const Checkbox: Comp<CheckboxProps, HTMLDivElement>;
789
459
  /**
790
460
  * Chip sizes.
791
461
  */
792
- type ChipSize = Extract<Size$1, 's' | 'm'>;
462
+ type ChipSize = Extract<Size, 's' | 'm'>;
793
463
  /**
794
464
  * Defines the props of the component.
795
465
  */
796
- interface ChipProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
466
+ interface ChipProps extends GenericProps, HasTheme, HasAriaDisabled$1 {
797
467
  /** A component to be rendered after the content. */
798
468
  after?: ReactNode;
799
469
  /** A component to be rendered before the content. */
@@ -844,7 +514,7 @@ interface ChipGroupProps extends GenericProps {
844
514
  * Chip horizontal alignment.
845
515
  * @deprecated
846
516
  */
847
- align?: HorizontalAlignment$1;
517
+ align?: HorizontalAlignment;
848
518
  /** List of Chip. */
849
519
  children: ReactNode;
850
520
  }
@@ -889,7 +559,7 @@ interface SelectionChipGroupProps<O> extends GenericProps {
889
559
  /**
890
560
  * LumX theme
891
561
  */
892
- theme?: Theme$1;
562
+ theme?: Theme;
893
563
  /**
894
564
  * Disabled state
895
565
  */
@@ -908,341 +578,6 @@ interface SelectionChipGroupProps<O> extends GenericProps {
908
578
  */
909
579
  declare const SelectionChipGroup: <O>({ onChange, value, getOptionId, getOptionName, inputRef, inputLabel, renderChip, theme, isDisabled, chipTooltipLabel, label, ...forwardedProps }: SelectionChipGroupProps<O>) => react_jsx_runtime.JSX.Element;
910
580
 
911
- /**
912
- * The source of the combobox option selection
913
- * It could either be on click / touch or keyboard selection
914
- */
915
- type ComboboxOptionSelectEventSource = 'keyboard' | 'click';
916
- type ComboboxSelectionType = 'single' | 'multiple';
917
- type BaseLoadingStatus = 'loading' | 'loadingMore' | 'idle' | 'error' | 'debouncing' | 'filtering' | 'empty';
918
- /**
919
- * Options related types
920
- */
921
- /** All possible values a combobox option can have */
922
- type BaseComboboxOptionProps<O = any> = {
923
- /**
924
- * A unique id to track the option
925
- */
926
- id: string;
927
- /**
928
- * Whether the current input value should filter this option.
929
- */
930
- filterFromInput?: boolean;
931
- /**
932
- * Callback to call when the option is selected.
933
- * This should only be used to add custom actions on options.
934
- * For most cases, the "onSelect" on the Combobox root component should be enough.
935
- */
936
- onSelect?: (option: O, eventSource?: ComboboxOptionSelectEventSource) => void;
937
- /**
938
- * Additional data to link to the option. This can be useful to retrieve with `onSelect`.
939
- */
940
- data?: O;
941
- /**
942
- * Whether the option is disabled
943
- */
944
- isDisabled?: boolean;
945
- /**
946
- * The components to use to visually customize options.
947
- * ! Options must not have interactive elements.
948
- * ! If you need additional actions, you might need to create custom options and search how to
949
- * ! make them accessible.
950
- */
951
- children?: ReactNode;
952
- /**
953
- * The text value the option has.
954
- * This is the value used to filter the options by when manual filtering is disabled
955
- * and that will be used as input value when an option is selected
956
- */
957
- textValue?: string;
958
- /**
959
- * Element to display before the content of the option.
960
- * ! Options must not have interactive elements.
961
- * ! If you need additional actions, you might need to create custom options and search how to
962
- * ! make them accessible.
963
- */
964
- before?: ReactNode;
965
- /**
966
- * Element to display after the content of the option.
967
- * ! Options must not have interactive elements.
968
- * ! If you need additional actions, you might need to create custom options and search how to
969
- * ! make them accessible.
970
- */
971
- after?: ReactNode;
972
- /**
973
- * Size of the list item.
974
- * Default to tiny
975
- */
976
- size?: ListItemSize;
977
- /**
978
- * Fill to activate a tooltip on mouse over
979
- */
980
- tooltipProps?: Partial<TooltipProps>;
981
- };
982
- /**
983
- * Props for when an option has no children.
984
- * In these case, we need at least the text value to know what to display
985
- * */
986
- type TextValueOnly<O = any> = BaseComboboxOptionProps<O> & {
987
- children?: never;
988
- textValue: string;
989
- };
990
- /**
991
- * Props for when an option has a react element as string
992
- * In that case, we can use the children as the textValue without having
993
- * to set a manual props.
994
- * The props is still available to have a text value different than the displayed value.
995
- */
996
- type StringOption<O = any> = BaseComboboxOptionProps<O> & {
997
- children: ReactText;
998
- textValue?: string;
999
- };
1000
- /**
1001
- * Props for when an option has a react element as children
1002
- * In that case, we cannot know what the actual value of the
1003
- * option is, so the `textValue` prop has to be set.
1004
- */
1005
- type NodeOption<O = any> = BaseComboboxOptionProps<O> & {
1006
- children: Exclude<ReactNode, ReactText>;
1007
- textValue: string;
1008
- };
1009
- /** Props for the ComboboxOption component */
1010
- type ComboboxOptionProps<O = any> = TextValueOnly<O> | StringOption<O> | NodeOption<O>;
1011
- /** Shared data between all combobox option types. */
1012
- interface BaseRegisteredComboboxOption {
1013
- id: string;
1014
- /** The id that was generated for this option */
1015
- generatedId: string;
1016
- /** Whether the "option" is an action */
1017
- isAction?: boolean;
1018
- /** Whether the "option" is disabled */
1019
- isDisabled?: boolean;
1020
- }
1021
- /** Values of action type options */
1022
- interface RegisteredComboboxAction extends BaseRegisteredComboboxOption {
1023
- /** Whether the "option" is an action */
1024
- isAction: true;
1025
- /** Callback when the action is triggered. */
1026
- onSelect?: () => void;
1027
- }
1028
- /** Combobox value */
1029
- interface RegisteredComboboxOptionValue<O = any> extends BaseRegisteredComboboxOption, Pick<ComboboxOptionProps<O>, 'data' | 'filterFromInput' | 'textValue' | 'onSelect'> {
1030
- /** The section the option is a child of. */
1031
- sectionId?: string;
1032
- /** Whether the "option" is an action */
1033
- isAction?: never;
1034
- }
1035
- /** The option values stored in the state */
1036
- type RegisteredComboboxOption<O = any> = RegisteredComboboxAction | RegisteredComboboxOptionValue<O>;
1037
- type OnComboboxSelect<O = any> = (option: RegisteredComboboxOptionValue<O>) => void;
1038
- type OnComboboxInputChange = TextFieldProps['onChange'];
1039
- type ComboboxTranslations = {
1040
- clearLabel: string;
1041
- showSuggestionsLabel: string;
1042
- loadingLabel: string;
1043
- noResultsForInputLabel: (input?: string) => string;
1044
- serviceUnavailableLabel: string;
1045
- tryReloadLabel: string;
1046
- nbOptionsLabel: (options: number) => string;
1047
- };
1048
- /** Props for the main combobox component. */
1049
- type ComboboxProps<O = any> = {
1050
- /**
1051
- * HTML id
1052
- */
1053
- id?: string;
1054
- /**
1055
- * The current option id to set as selected.
1056
- * If omitted, the local state will be used instead;
1057
- */
1058
- selectedIds?: Array<string | number>;
1059
- /**
1060
- * The current value for the combobox input.
1061
- * If omitted, the input is controlled locally */
1062
- inputValue?: string;
1063
- /**
1064
- * The default value to set on the input.
1065
- * Use this if you want to initialize the input with a value and not control it
1066
- */
1067
- defaultInputValue?: string;
1068
- /**
1069
- * Whether the options should be automatically filtered or not.
1070
- * By default, the combobox will try to filter the options from the current input value
1071
- * using a "contains" strategy.
1072
- * If this is `false`, the option will not be automatically filtered and must be manually filtered by the parent.
1073
- * Useful for asynchronous comboboxes.
1074
- */
1075
- autoFilter: boolean;
1076
- /**
1077
- * Whether the combobox should open on focus
1078
- */
1079
- openOnFocus?: boolean;
1080
- /**
1081
- * Whether the combobox should open on click
1082
- */
1083
- openOnClick?: boolean;
1084
- /**
1085
- * Status of the combobox
1086
- */
1087
- status: BaseLoadingStatus;
1088
- /**
1089
- * Callback when the input changes.
1090
- */
1091
- onInputChange?: OnComboboxInputChange;
1092
- /**
1093
- * Callback for when an option is selected
1094
- */
1095
- onSelect?: OnComboboxSelect<O>;
1096
- /**
1097
- * Callback called when the combobox opens
1098
- */
1099
- onOpen?: (options: {
1100
- currentValue?: string;
1101
- manual: boolean;
1102
- }) => void;
1103
- /**
1104
- * The combobox components to render.
1105
- * Must be one of the exposed components (Combobox.Input, Combobox.ListBox etc...)
1106
- */
1107
- children: ReactNode;
1108
- /**
1109
- * The combobox can have a specific selection type:
1110
- * - Single: only one item is selected
1111
- * - Multiple: several items can be selected (this impacts the combobox list, which will now not close when selectiong an option)
1112
- */
1113
- selectionType?: ComboboxSelectionType;
1114
- /**
1115
- * Whether the error state should be displayed when the status is in error.
1116
- * @default `true` if `status` is defined
1117
- */
1118
- showErrorState?: boolean;
1119
- /**
1120
- * Whether the empty state should be displayed when there is no results.
1121
- * @default `true` if `autoFilter=false`
1122
- */
1123
- showEmptyState?: boolean;
1124
- /** custom className */
1125
- className?: string;
1126
- /** translations to be used across the combobox */
1127
- translations: ComboboxTranslations;
1128
- };
1129
- /** Entity related types for single selection. */
1130
- type SingleSelection<O = any> = {
1131
- selectionType: 'single';
1132
- /**
1133
- * Selected option object
1134
- */
1135
- value?: O;
1136
- /**
1137
- * Callback on option object selected
1138
- */
1139
- onChange?(newValue?: O): void;
1140
- /**
1141
- * No chips in single selection mode.
1142
- */
1143
- renderChip?: never;
1144
- };
1145
- /** Entity related types for multiple selection. */
1146
- type MultipleSelection<O = any> = {
1147
- selectionType: 'multiple';
1148
- /**
1149
- * Selected options array
1150
- */
1151
- value?: O[];
1152
- /**
1153
- * Callback on option array selected
1154
- */
1155
- onChange?(newValue?: O[]): void;
1156
- /**
1157
- * Custom selection chip render function
1158
- */
1159
- renderChip?: (option: O) => ReactNode;
1160
- };
1161
- /** Shared props between SelectTextField and SelectButton */
1162
- type BaseSelectProps<O = any> = {
1163
- /**
1164
- * List of option objects
1165
- */
1166
- options?: Array<O>;
1167
- /**
1168
- * Option object id selector (either the property name or a function to get the id)
1169
- */
1170
- getOptionId: Selector<O>;
1171
- /**
1172
- * Option object name selector (either the property name or a function to get the name)
1173
- * Fallbacks on the ID if not defined
1174
- */
1175
- getOptionName?: Selector<O, string | undefined | null>;
1176
- /**
1177
- * Option object description selector (either the property name or a function to get the description)
1178
- */
1179
- getOptionDescription?: Selector<O, string | undefined | null>;
1180
- /**
1181
- * Option object section id selector.
1182
- * Providing this will group options by sections (and may change their order)
1183
- * If the section id is a string, it is used as section label. Else, the section won't have a label.
1184
- */
1185
- getSectionId?: Selector<O, any>;
1186
- /**
1187
- * option object section title selector.
1188
- * If provided, the section will be rendered using this function.
1189
- */
1190
- renderSectionTitle?: (option: O, sectionIndex: number) => React.ReactNode;
1191
- /**
1192
- * Whether the sections are separated by dividers
1193
- */
1194
- hasSectionDividers?: boolean;
1195
- /**
1196
- * Option object render function
1197
- * Default to rendering option using the id & name obtained with `optionIdSelector` & `optionNameSelector`
1198
- *
1199
- * **The direct child must be a Combobox.Option, otherwise it will not render the children.**.
1200
- */
1201
- renderOption?: (option: O, index: number) => React.ReactNode;
1202
- /**
1203
- * Callback to load more items
1204
- */
1205
- onLoadMore?(): void;
1206
- /**
1207
- * Props passed to the option list.
1208
- */
1209
- /**
1210
- * Add custom elements before the options
1211
- */
1212
- beforeOptions?: ReactNode;
1213
- /**
1214
- * Data attribute scope
1215
- */
1216
- scope?: string;
1217
- };
1218
- type OpenComboboxAction = {
1219
- type: 'OPEN_COMBOBOX';
1220
- payload?: {
1221
- manual?: boolean;
1222
- };
1223
- };
1224
- type CloseComboboxAction = {
1225
- type: 'CLOSE_COMBOBOX';
1226
- };
1227
- type SetInputValueAction = {
1228
- type: 'SET_INPUT_VALUE';
1229
- payload: string;
1230
- };
1231
- type AddOptionAction = {
1232
- type: 'ADD_OPTION';
1233
- payload: {
1234
- id: string;
1235
- option: RegisteredComboboxOption;
1236
- };
1237
- };
1238
- type RemoveOptionAction = {
1239
- type: 'REMOVE_OPTION';
1240
- payload: {
1241
- id: string;
1242
- };
1243
- };
1244
- type ComboboxAction = OpenComboboxAction | CloseComboboxAction | SetInputValueAction | AddOptionAction | RemoveOptionAction;
1245
-
1246
581
  declare const COMPONENT_NAME = "ComboboxOption";
1247
582
  declare const COMBOBOX_OPTION_CLASSNAME: LumxClassName$1<typeof COMPONENT_NAME>;
1248
583
  declare const LUMX_CLASSNAME = "lumx-list-item";
@@ -1336,7 +671,7 @@ type CommentBlockVariant = ValueOf$1<typeof CommentBlockVariant>;
1336
671
  /**
1337
672
  * Defines the props of the component.
1338
673
  */
1339
- interface CommentBlockProps extends GenericProps, HasTheme$1 {
674
+ interface CommentBlockProps extends GenericProps, HasTheme {
1340
675
  /** Action toolbar content. */
1341
676
  actions?: ReactNode;
1342
677
  /** Props to pass to the avatar. */
@@ -1514,7 +849,7 @@ interface DialogProps extends GenericProps {
1514
849
  /** Children */
1515
850
  children?: React__default.ReactNode;
1516
851
  }
1517
- type DialogSizes = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
852
+ type DialogSizes = Extract<Size, 'tiny' | 'regular' | 'big' | 'huge'>;
1518
853
  /**
1519
854
  * Dialog component.
1520
855
  *
@@ -1527,7 +862,7 @@ declare const Dialog: Comp<DialogProps, HTMLDivElement>;
1527
862
  /**
1528
863
  * Defines the props of the component.
1529
864
  */
1530
- interface DividerProps$1 extends HasTheme, HasClassName {
865
+ interface DividerProps$1 extends HasTheme$1, HasClassName {
1531
866
  /** reference to the root element */
1532
867
  ref?: CommonRef;
1533
868
  }
@@ -1549,7 +884,7 @@ declare const Divider: Comp<DividerProps, HTMLHRElement>;
1549
884
  /**
1550
885
  * Defines the props of the component.
1551
886
  */
1552
- interface DragHandleProps extends GenericProps, HasTheme$1 {
887
+ interface DragHandleProps extends GenericProps, HasTheme {
1553
888
  }
1554
889
  /**
1555
890
  * DragHandle component.
@@ -1560,54 +895,10 @@ interface DragHandleProps extends GenericProps, HasTheme$1 {
1560
895
  */
1561
896
  declare const DragHandle: Comp<DragHandleProps, HTMLDivElement>;
1562
897
 
1563
- /**
1564
- * Different possible placements for the popover.
1565
- */
1566
- declare const Placement: {
1567
- readonly AUTO: "auto";
1568
- readonly AUTO_END: "auto-end";
1569
- readonly AUTO_START: "auto-start";
1570
- readonly TOP: "top";
1571
- readonly TOP_END: "top-end";
1572
- readonly TOP_START: "top-start";
1573
- readonly RIGHT: "right";
1574
- readonly RIGHT_END: "right-end";
1575
- readonly RIGHT_START: "right-start";
1576
- readonly BOTTOM: "bottom";
1577
- readonly BOTTOM_END: "bottom-end";
1578
- readonly BOTTOM_START: "bottom-start";
1579
- readonly LEFT: "left";
1580
- readonly LEFT_END: "left-end";
1581
- readonly LEFT_START: "left-start";
1582
- };
1583
- type Placement = ValueOf$1<typeof Placement>;
1584
- /**
1585
- * Offset of the popover.
1586
- */
1587
- interface Offset {
1588
- /** Offset size along the reference. */
1589
- along?: number;
1590
- /** Offset size away from the reference. */
1591
- away?: number;
1592
- }
1593
- /**
1594
- * Popover elevation index.
1595
- */
1596
- type Elevation = 1 | 2 | 3 | 4 | 5;
1597
- /**
1598
- * Popover fit anchor width options.
1599
- */
1600
- declare const FitAnchorWidth: {
1601
- readonly MAX_WIDTH: "maxWidth";
1602
- readonly MIN_WIDTH: "minWidth";
1603
- readonly WIDTH: "width";
1604
- };
1605
- type FitAnchorWidth = ValueOf$1<typeof FitAnchorWidth>;
1606
-
1607
898
  /**
1608
899
  * Defines the props of the component.
1609
900
  */
1610
- interface PopoverProps extends GenericProps, HasTheme$1 {
901
+ interface PopoverProps extends GenericProps, HasTheme {
1611
902
  /** Reference to the DOM element used to set the position of the popover. */
1612
903
  anchorRef: React.RefObject<HTMLElement>;
1613
904
  /** Customize the root element. (Must accept ref forwarding and props forwarding!). */
@@ -1749,7 +1040,7 @@ declare const Dropdown: Comp<DropdownProps, HTMLDivElement>;
1749
1040
  /**
1750
1041
  * Defines the props of the component.
1751
1042
  */
1752
- interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme$1 {
1043
+ interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme {
1753
1044
  /** Whether the expansion panel has a background. */
1754
1045
  hasBackground?: boolean;
1755
1046
  /** Whether the header has a divider. */
@@ -1825,7 +1116,7 @@ interface TextProps$1 extends HasClassName {
1825
1116
  style?: CSSProperties;
1826
1117
  }
1827
1118
 
1828
- interface FlagProps$1 extends HasClassName, HasTheme {
1119
+ interface FlagProps$1 extends HasClassName, HasTheme$1 {
1829
1120
  /** Color of the component. */
1830
1121
  color?: ColorPalette;
1831
1122
  /** Icon to use before the label. */
@@ -1854,10 +1145,10 @@ interface FlagProps extends GenericProps, Omit<FlagProps$1, 'children' | 'Text'>
1854
1145
  declare const Flag: Comp<FlagProps, HTMLDivElement>;
1855
1146
 
1856
1147
  type MarginAutoAlignment = Extract<Alignment, 'top' | 'bottom' | 'right' | 'left'>;
1857
- type GapSize = Extract<Size, 'tiny' | 'regular' | 'medium' | 'big' | 'huge'>;
1148
+ type GapSize = Extract<Size$1, 'tiny' | 'regular' | 'medium' | 'big' | 'huge'>;
1858
1149
  type SpaceAlignment = Extract<Alignment, 'space-between' | 'space-evenly' | 'space-around'>;
1859
1150
  type FlexVerticalAlignment = VerticalAlignment | SpaceAlignment;
1860
- type FlexHorizontalAlignment = HorizontalAlignment | SpaceAlignment;
1151
+ type FlexHorizontalAlignment = HorizontalAlignment$1 | SpaceAlignment;
1861
1152
 
1862
1153
  /**
1863
1154
  * Defines the props of the component.
@@ -2035,7 +1326,7 @@ declare const useHeadingLevel: () => {
2035
1326
  headingElement: _lumx_core_js_types.HeadingElement;
2036
1327
  };
2037
1328
 
2038
- type GridGutterSize = Extract<Size$1, 'regular' | 'big' | 'huge'>;
1329
+ type GridGutterSize = Extract<Size, 'regular' | 'big' | 'huge'>;
2039
1330
  /**
2040
1331
  * Defines the props of the component.
2041
1332
  */
@@ -2085,7 +1376,7 @@ interface GridItemProps extends GenericProps {
2085
1376
  */
2086
1377
  declare const GridItem: Comp<GridItemProps, HTMLDivElement>;
2087
1378
 
2088
- type GridColumnGapSize = Extract<Size, 'tiny' | 'regular' | 'big' | 'huge'>;
1379
+ type GridColumnGapSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
2089
1380
  /**
2090
1381
  * Defines the props of the component.
2091
1382
  */
@@ -2133,7 +1424,7 @@ type IconSizes = (typeof ICON_SIZES)[number];
2133
1424
  /**
2134
1425
  * Defines the props of the component.
2135
1426
  */
2136
- interface IconProps$1 extends HasClassName, HasTheme {
1427
+ interface IconProps$1 extends HasClassName, HasTheme$1 {
2137
1428
  /** Color variant. */
2138
1429
  color?: ColorWithVariants;
2139
1430
  /** Lightened or darkened variant of the selected icon color. */
@@ -2179,7 +1470,7 @@ declare module 'react' {
2179
1470
  /**
2180
1471
  * Thumbnail sizes.
2181
1472
  */
2182
- type ThumbnailSize$1 = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1473
+ type ThumbnailSize$1 = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
2183
1474
  /**
2184
1475
  * Thumbnail variants.
2185
1476
  */
@@ -2201,13 +1492,13 @@ type ImgHTMLProps = ImgHTMLAttributes<HTMLImageElement>;
2201
1492
  /**
2202
1493
  * Defines the props of the component.
2203
1494
  */
2204
- interface ThumbnailProps$1 extends HasTheme$1, HasClassName$1 {
1495
+ interface ThumbnailProps$1 extends HasTheme, HasClassName$1 {
2205
1496
  /** Alignment of the thumbnail in it's parent (requires flex parent). */
2206
- align?: HorizontalAlignment$1;
1497
+ align?: HorizontalAlignment;
2207
1498
  /** Image alternative text. */
2208
1499
  alt: string;
2209
1500
  /** Image aspect ratio. */
2210
- aspectRatio?: AspectRatio$1;
1501
+ aspectRatio?: AspectRatio;
2211
1502
  /** Badge. */
2212
1503
  badge?: JSXElement$1;
2213
1504
  /** Image cross origin resource policy. */
@@ -2271,11 +1562,11 @@ declare module 'react' {
2271
1562
  * All available aspect ratios.
2272
1563
  * @deprecated
2273
1564
  */
2274
- declare const ThumbnailAspectRatio: Record<string, AspectRatio$1>;
1565
+ declare const ThumbnailAspectRatio: Record<string, AspectRatio>;
2275
1566
  /**
2276
1567
  * Thumbnail sizes.
2277
1568
  */
2278
- type ThumbnailSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1569
+ type ThumbnailSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
2279
1570
  /**
2280
1571
  * Thumbnail variants.
2281
1572
  */
@@ -2340,15 +1631,15 @@ type ImageBlockCaptionPosition = ValueOf$1<typeof ImageBlockCaptionPosition>;
2340
1631
  /**
2341
1632
  * Image block sizes.
2342
1633
  */
2343
- type ImageBlockSize = Extract<Size$1, 'xl' | 'xxl'>;
1634
+ type ImageBlockSize = Extract<Size, 'xl' | 'xxl'>;
2344
1635
  /**
2345
1636
  * Defines the props of the component.
2346
1637
  */
2347
- interface ImageBlockProps extends GenericProps, HasTheme$1, ImageCaptionMetadata {
1638
+ interface ImageBlockProps extends GenericProps, HasTheme, ImageCaptionMetadata {
2348
1639
  /** Action toolbar content. */
2349
1640
  actions?: ReactNode;
2350
1641
  /** Alignment. */
2351
- align?: HorizontalAlignment$1;
1642
+ align?: HorizontalAlignment;
2352
1643
  /** Image alternative text. */
2353
1644
  alt: string;
2354
1645
  /** Caption position. */
@@ -2470,11 +1761,11 @@ declare const InlineList: Comp<InlineListProps, HTMLElement>;
2470
1761
  /**
2471
1762
  * Defines the props of the component.
2472
1763
  */
2473
- interface InputHelperProps$1 extends HasClassName, HasTheme {
1764
+ interface InputHelperProps$1 extends HasClassName, HasTheme$1 {
2474
1765
  /** Helper content. */
2475
1766
  children: JSXElement;
2476
1767
  /** Helper variant. */
2477
- kind?: Kind;
1768
+ kind?: Kind$1;
2478
1769
  /** ref to the root element `p` */
2479
1770
  ref?: CommonRef;
2480
1771
  /** id for the input helper */
@@ -2492,34 +1783,10 @@ interface InputHelperProps extends InputHelperProps$1, GenericProps {
2492
1783
  */
2493
1784
  declare const InputHelper: Comp<InputHelperProps, HTMLParagraphElement>;
2494
1785
 
2495
- interface InputLabelProps$1 extends HasClassName, HasTheme {
2496
- /** Typography variant. */
2497
- typography?: Typography;
2498
- /** Label content. */
2499
- children: JSXElement;
2500
- /** Native htmlFor property. */
2501
- htmlFor: string;
2502
- /** Whether the component is required or not. */
2503
- isRequired?: boolean;
2504
- /** ref to the root element */
2505
- ref?: CommonRef;
2506
- }
2507
-
2508
- interface InputLabelProps extends InputLabelProps$1, GenericProps {
2509
- }
2510
- /**
2511
- * InputLabel component.
2512
- *
2513
- * @param props Component props.
2514
- * @param ref Component ref.
2515
- * @return React element.
2516
- */
2517
- declare const InputLabel: Comp<InputLabelProps, HTMLLabelElement>;
2518
-
2519
1786
  /**
2520
1787
  * Defines the props of the component.
2521
1788
  */
2522
- interface LightboxProps extends GenericProps, HasTheme$1, Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'> {
1789
+ interface LightboxProps extends GenericProps, HasTheme, Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'> {
2523
1790
  /** Props to pass to the close button (minus those already set by the Lightbox props). */
2524
1791
  closeButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis' | 'color'>;
2525
1792
  /** Whether the component is open or not. */
@@ -2549,7 +1816,7 @@ declare const Lightbox: Comp<LightboxProps, HTMLDivElement>;
2549
1816
  /**
2550
1817
  * Defines the props of the component.
2551
1818
  */
2552
- interface LinkProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled {
1819
+ interface LinkProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled {
2553
1820
  /** Link label content. */
2554
1821
  label?: JSXElement;
2555
1822
  /** Color variant. */
@@ -2603,12 +1870,12 @@ interface LinkProps extends GenericProps, Omit<LinkProps$1, 'label'> {
2603
1870
  * @param ref Component ref.
2604
1871
  * @return React element.
2605
1872
  */
2606
- declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
1873
+ declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
2607
1874
 
2608
1875
  /**
2609
1876
  * Defines the props of the component.
2610
1877
  */
2611
- interface LinkPreviewProps extends GenericProps, HasTheme$1 {
1878
+ interface LinkPreviewProps extends GenericProps, HasTheme {
2612
1879
  /** Description. */
2613
1880
  description?: string;
2614
1881
  /** Link URL. */
@@ -2618,7 +1885,7 @@ interface LinkPreviewProps extends GenericProps, HasTheme$1 {
2618
1885
  /** Props to pass to the link (minus those already set by the LinkPreview props). */
2619
1886
  linkProps?: Omit<LinkProps, 'color' | 'colorVariant' | 'href' | 'target'>;
2620
1887
  /** Size variant. */
2621
- size?: Extract<Size$1, 'regular' | 'big'>;
1888
+ size?: Extract<Size, 'regular' | 'big'>;
2622
1889
  /** Thumbnail for the link preview. */
2623
1890
  thumbnailProps?: ThumbnailProps;
2624
1891
  /** Title. */
@@ -2660,7 +1927,7 @@ interface ListProps extends GenericProps {
2660
1927
  */
2661
1928
  isClickable?: boolean;
2662
1929
  /** Item padding size. */
2663
- itemPadding?: Extract<Size$1, 'big' | 'huge'>;
1930
+ itemPadding?: Extract<Size, 'big' | 'huge'>;
2664
1931
  /** Tab index of the list. Default to -1 */
2665
1932
  tabIndex?: number;
2666
1933
  /**
@@ -2676,50 +1943,6 @@ declare const List: Comp<ListProps, HTMLUListElement> & {
2676
1943
  useKeyboardListNavigation: useKeyboardListNavigationType;
2677
1944
  };
2678
1945
 
2679
- type ListItemSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
2680
- /**
2681
- * Defines the props of the component.
2682
- */
2683
- interface ListItemProps extends GenericProps, HasAriaDisabled$1 {
2684
- /** A component to be rendered after the content. */
2685
- after?: ReactNode;
2686
- /** A component to be rendered before the content. */
2687
- before?: ReactNode;
2688
- /** Content. */
2689
- children: string | ReactNode;
2690
- /** Whether the list item should be highlighted or not. */
2691
- isHighlighted?: boolean;
2692
- /** Whether the component is selected or not. */
2693
- isSelected?: boolean;
2694
- /** Whether link/button is disabled or not. */
2695
- isDisabled?: boolean;
2696
- /** Reference to the <li> element. */
2697
- listItemRef?: Ref<HTMLLIElement>;
2698
- /** Custom react component for the link (can be used to inject react router Link). */
2699
- linkAs?: 'a' | any;
2700
- /** Props that will be passed on to the Link */
2701
- linkProps?: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
2702
- /** Reference to the link element. */
2703
- linkRef?: Ref<HTMLAnchorElement>;
2704
- /** Size variant. */
2705
- size?: ListItemSize;
2706
- /** On selected callback. */
2707
- onItemSelected?(evt: SyntheticEvent): void;
2708
- }
2709
- /**
2710
- * Check if the list item is clickable.
2711
- * @return `true` if the list item is clickable; `false` otherwise.
2712
- */
2713
- declare function isClickable({ linkProps, onItemSelected }: Partial<ListItemProps>): boolean;
2714
- /**
2715
- * ListItem component.
2716
- *
2717
- * @param props Component props.
2718
- * @param ref Component ref.
2719
- * @return React element.
2720
- */
2721
- declare const ListItem: Comp<ListItemProps, HTMLLIElement>;
2722
-
2723
1946
  /**
2724
1947
  * Defines the props of the component.
2725
1948
  */
@@ -2758,7 +1981,7 @@ interface MessageProps$1 extends HasClassName {
2758
1981
  /** Whether the message has a background or not. */
2759
1982
  hasBackground?: boolean;
2760
1983
  /** Message variant. */
2761
- kind?: Kind;
1984
+ kind?: Kind$1;
2762
1985
  /** Message custom icon SVG path. */
2763
1986
  icon?: string;
2764
1987
  /** Reference to the message container element. */
@@ -2792,7 +2015,7 @@ declare const Message: Comp<MessageProps, HTMLDivElement>;
2792
2015
  /**
2793
2016
  * Defines the props of the component.
2794
2017
  */
2795
- interface MosaicProps extends GenericProps, HasTheme$1 {
2018
+ interface MosaicProps extends GenericProps, HasTheme {
2796
2019
  /** Thumbnails. */
2797
2020
  thumbnails: ThumbnailProps[];
2798
2021
  /** On image click callback. */
@@ -2827,14 +2050,14 @@ type BaseNavigationItemProps = {
2827
2050
  };
2828
2051
  declare const NavigationItem: (<E extends ElementType = "a">(props: React$1.PropsWithoutRef<React$1.ComponentProps<E>> & {
2829
2052
  as?: E | undefined;
2830
- } & HasTheme$1 & HasClassName$1 & BaseNavigationItemProps & HasRequiredLinkHref<E> & React$1.ComponentProps<E> & {
2053
+ } & HasTheme & HasClassName$1 & BaseNavigationItemProps & HasRequiredLinkHref<E> & React$1.ComponentProps<E> & {
2831
2054
  ref?: ComponentRef<E> | undefined;
2832
2055
  }) => React.JSX.Element) & {
2833
2056
  displayName: string;
2834
2057
  className: "lumx-navigation-item";
2835
2058
  };
2836
2059
 
2837
- type NavigationProps = React.ComponentProps<'nav'> & HasClassName$1 & HasTheme$1 & {
2060
+ type NavigationProps = React.ComponentProps<'nav'> & HasClassName$1 & HasTheme & {
2838
2061
  /** Content of the navigation. These components should be of type NavigationItem to be rendered */
2839
2062
  children?: React.ReactNode;
2840
2063
  orientation?: Orientation$1;
@@ -2848,7 +2071,7 @@ declare const Navigation: Comp<NavigationProps, HTMLElement> & SubComponents;
2848
2071
  /**
2849
2072
  * Defines the props of the component.
2850
2073
  */
2851
- interface NotificationProps extends GenericProps, HasTheme$1 {
2074
+ interface NotificationProps extends GenericProps, HasTheme {
2852
2075
  /** Action button label. */
2853
2076
  actionLabel?: string;
2854
2077
  /** Content. */
@@ -2856,7 +2079,7 @@ interface NotificationProps extends GenericProps, HasTheme$1 {
2856
2079
  /** Whether the component is open or not. */
2857
2080
  isOpen?: boolean;
2858
2081
  /** Notification type. */
2859
- type?: Kind$1;
2082
+ type?: Kind;
2860
2083
  /** Z-axis position. */
2861
2084
  zIndex?: number;
2862
2085
  /** On action button click callback. */
@@ -2892,7 +2115,7 @@ declare const PopoverDialog: Comp<PopoverDialogProps, HTMLDivElement>;
2892
2115
  /**
2893
2116
  * Defines the props of the component.
2894
2117
  */
2895
- interface PostBlockProps extends GenericProps, HasTheme$1 {
2118
+ interface PostBlockProps extends GenericProps, HasTheme {
2896
2119
  /** Action toolbar content. */
2897
2120
  actions?: ReactNode;
2898
2121
  /** Attachment content. */
@@ -2936,7 +2159,7 @@ type ProgressVariant = ValueOf$1<typeof ProgressVariant>;
2936
2159
  /**
2937
2160
  * Defines the props of the component.
2938
2161
  */
2939
- interface ProgressProps extends GenericProps, HasTheme$1 {
2162
+ interface ProgressProps extends GenericProps, HasTheme {
2940
2163
  /** Progress variant. */
2941
2164
  variant?: ProgressVariant;
2942
2165
  }
@@ -2953,11 +2176,11 @@ declare const Progress: Comp<ProgressProps, HTMLDivElement>;
2953
2176
  /**
2954
2177
  * Progress sizes.
2955
2178
  */
2956
- type ProgressCircularSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm'>;
2179
+ type ProgressCircularSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm'>;
2957
2180
  /**
2958
2181
  * Defines the props of the component.
2959
2182
  */
2960
- interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2183
+ interface ProgressCircularProps extends GenericProps, HasTheme {
2961
2184
  /**
2962
2185
  * Progress circular size.
2963
2186
  */
@@ -2977,7 +2200,7 @@ interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2977
2200
  */
2978
2201
  declare const ProgressCircular: Comp<ProgressCircularProps, HTMLDivElement>;
2979
2202
 
2980
- interface ProgressLinearProps extends GenericProps, HasTheme$1 {
2203
+ interface ProgressLinearProps extends GenericProps, HasTheme {
2981
2204
  }
2982
2205
  /**
2983
2206
  * ProgressLinear component.
@@ -3090,7 +2313,7 @@ declare const ProgressTrackerStepPanel: Comp<ProgressTrackerStepPanelProps, HTML
3090
2313
  /**
3091
2314
  * Defines the props of the component.
3092
2315
  */
3093
- interface RadioButtonProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2316
+ interface RadioButtonProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
3094
2317
  /** Helper text. */
3095
2318
  helper?: string;
3096
2319
  /** Native input id property. */
@@ -3151,7 +2374,7 @@ declare const SelectVariant: {
3151
2374
  readonly chip: "chip";
3152
2375
  };
3153
2376
  type SelectVariant = ValueOf$1<typeof SelectVariant>;
3154
- interface CoreSelectProps extends GenericProps, HasTheme$1 {
2377
+ interface CoreSelectProps extends GenericProps, HasTheme {
3155
2378
  /** Props to pass to the clear button (minus those already set by the Select props). If not specified, the button won't be displayed. */
3156
2379
  clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
3157
2380
  /** Whether the select (input variant) is displayed with error style or not. */
@@ -3231,7 +2454,7 @@ declare const SelectMultiple: Comp<SelectMultipleProps, HTMLDivElement>;
3231
2454
  /**
3232
2455
  * Defines the props of the component.
3233
2456
  */
3234
- interface SideNavigationProps extends GenericProps, HasTheme$1 {
2457
+ interface SideNavigationProps extends GenericProps, HasTheme {
3235
2458
  /** SideNavigationItem elements. */
3236
2459
  children: ReactNode;
3237
2460
  }
@@ -3251,7 +2474,7 @@ interface SideNavigationItemProps extends GenericProps, HasCloseMode {
3251
2474
  /** SideNavigationItem elements. */
3252
2475
  children?: ReactNode;
3253
2476
  /** Emphasis variant. */
3254
- emphasis?: Emphasis$1;
2477
+ emphasis?: Emphasis;
3255
2478
  /** Label content. */
3256
2479
  label: string | ReactNode;
3257
2480
  /** Icon (SVG path). */
@@ -3283,7 +2506,7 @@ declare const SideNavigationItem: Comp<SideNavigationItemProps, HTMLLIElement>;
3283
2506
  /**
3284
2507
  * Defines the props of the component.
3285
2508
  */
3286
- interface SkeletonCircleProps$1 extends HasTheme, HasClassName {
2509
+ interface SkeletonCircleProps$1 extends HasTheme$1, HasClassName {
3287
2510
  /** Size variant. */
3288
2511
  size: GlobalSize;
3289
2512
  /** The color of the skeleton. */
@@ -3304,9 +2527,9 @@ type SkeletonRectangleVariant = ValueOf<typeof SkeletonRectangleVariant>;
3304
2527
  /**
3305
2528
  * Defines the props of the component.
3306
2529
  */
3307
- interface SkeletonRectangleProps$1 extends HasTheme, HasClassName {
2530
+ interface SkeletonRectangleProps$1 extends HasTheme$1, HasClassName {
3308
2531
  /** Aspect ratio (use with width and not height). */
3309
- aspectRatio?: Extract<AspectRatio, 'square' | 'horizontal' | 'vertical' | 'wide'>;
2532
+ aspectRatio?: Extract<AspectRatio$1, 'square' | 'horizontal' | 'vertical' | 'wide'>;
3310
2533
  /** Height size. */
3311
2534
  height?: GlobalSize;
3312
2535
  /** Border variant. */
@@ -3322,7 +2545,7 @@ interface SkeletonRectangleProps$1 extends HasTheme, HasClassName {
3322
2545
  /**
3323
2546
  * Defines the props of the component.
3324
2547
  */
3325
- interface SkeletonTypographyProps$1 extends HasTheme, HasClassName {
2548
+ interface SkeletonTypographyProps$1 extends HasTheme$1, HasClassName {
3326
2549
  /** Typography variant. */
3327
2550
  typography: TypographyInterface;
3328
2551
  /** Width CSS property. */
@@ -3380,7 +2603,7 @@ declare const SkeletonTypography: Comp<SkeletonTypographyProps, HTMLDivElement>;
3380
2603
  /**
3381
2604
  * Defines the props of the component.
3382
2605
  */
3383
- interface SliderProps extends GenericProps, HasTheme$1 {
2606
+ interface SliderProps extends GenericProps, HasTheme {
3384
2607
  /** Helper text. */
3385
2608
  helper?: string;
3386
2609
  /** Whether the min and max labels should be hidden or not. */
@@ -3544,7 +2767,7 @@ interface UseSlideshowControls {
3544
2767
  /**
3545
2768
  * Defines the props of the component.
3546
2769
  */
3547
- interface SlideshowControlsProps extends GenericProps, HasTheme$1 {
2770
+ interface SlideshowControlsProps extends GenericProps, HasTheme {
3548
2771
  /** Index of the current slide. */
3549
2772
  activeIndex?: number;
3550
2773
  /** Props to pass to the next button (minus those already set by the SlideshowControls props). */
@@ -3588,7 +2811,7 @@ declare const SlideshowControls: Comp<SlideshowControlsProps, HTMLDivElement> &
3588
2811
  };
3589
2812
  };
3590
2813
 
3591
- interface SlidesProps extends GenericProps, HasTheme$1 {
2814
+ interface SlidesProps extends GenericProps, HasTheme {
3592
2815
  /** current slide active */
3593
2816
  activeIndex: number;
3594
2817
  /** slides id to be added to the wrapper */
@@ -3633,7 +2856,7 @@ declare const Slides: Comp<SlidesProps, HTMLDivElement>;
3633
2856
  /**
3634
2857
  * Defines the props of the component.
3635
2858
  */
3636
- interface SwitchProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2859
+ interface SwitchProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
3637
2860
  /** Helper text. */
3638
2861
  helper?: string;
3639
2862
  /** Native input id property. */
@@ -3677,7 +2900,7 @@ declare const Switch: Comp<SwitchProps, HTMLDivElement>;
3677
2900
  /**
3678
2901
  * Defines the props of the component.
3679
2902
  */
3680
- interface TableProps$1 extends HasTheme, HasClassName {
2903
+ interface TableProps$1 extends HasTheme$1, HasClassName {
3681
2904
  /** Whether the table has checkbox or thumbnail on first cell or not. */
3682
2905
  hasBefore?: boolean;
3683
2906
  /** Whether the table has dividers or not. */
@@ -3872,7 +3095,7 @@ declare enum TabListLayout {
3872
3095
  /**
3873
3096
  * Defines the props of the component.
3874
3097
  */
3875
- interface TabListProps extends GenericProps, HasTheme$1 {
3098
+ interface TabListProps extends GenericProps, HasTheme {
3876
3099
  /** ARIA label (purpose of the set of tabs). */
3877
3100
  ['aria-label']: string;
3878
3101
  /** Tab list. */
@@ -3956,79 +3179,11 @@ interface TextProps extends TextProps$1, GenericProps {
3956
3179
  */
3957
3180
  declare const Text: Comp<TextProps, HTMLElement>;
3958
3181
 
3959
- /**
3960
- * Defines the props of the component.
3961
- */
3962
- interface TextFieldProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3963
- /** Chip Group to be rendered before the main text input. */
3964
- chips?: ReactNode;
3965
- /** Props to pass to the clear button (minus those already set by the TextField props). If not specified, the button won't be displayed. */
3966
- clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
3967
- /** Error message. */
3968
- error?: string | ReactNode;
3969
- /** Whether we force the focus style or not. */
3970
- forceFocusStyle?: boolean;
3971
- /** Whether the text field is displayed with error style or not. */
3972
- hasError?: boolean;
3973
- /** Additional element to put at the end of the text field. */
3974
- afterElement?: ReactNode;
3975
- /** Helper text. */
3976
- helper?: string | ReactNode;
3977
- /** Icon (SVG path). */
3978
- icon?: string;
3979
- /** Native input id property (generated if not provided to link the label element). */
3980
- id?: string;
3981
- /** Reference to the <input> or <textarea> element. */
3982
- inputRef?: Ref<HTMLInputElement | HTMLTextAreaElement>;
3983
- /** Whether the component is disabled or not. */
3984
- isDisabled?: boolean;
3985
- /** Whether the component is required or not. */
3986
- isRequired?: boolean;
3987
- /** Whether the text field is displayed with valid style or not. */
3988
- isValid?: boolean;
3989
- /** Label text. */
3990
- label?: string;
3991
- /** Additional label props. */
3992
- labelProps?: InputLabelProps;
3993
- /** Max string length the input accepts (constrains the input and displays a character counter). */
3994
- maxLength?: number;
3995
- /** Minimum number of rows displayed in multiline mode (requires `multiline` to be enabled). */
3996
- minimumRows?: number;
3997
- /** Whether the text field is a textarea or an input. */
3998
- multiline?: boolean;
3999
- /** Native input name property. */
4000
- name?: string;
4001
- /** Placeholder text. */
4002
- placeholder?: string;
4003
- /** Reference to the wrapper. */
4004
- textFieldRef?: Ref<HTMLDivElement>;
4005
- /** Native input type (only when `multiline` is disabled). */
4006
- type?: React.ComponentProps<'input'>['type'];
4007
- /** Value. */
4008
- value?: string;
4009
- /** On blur callback. */
4010
- onBlur?(event: React.FocusEvent): void;
4011
- /** On change callback. */
4012
- onChange(value: string, name?: string, event?: SyntheticEvent): void;
4013
- /** On clear callback. */
4014
- onClear?(event?: SyntheticEvent): void;
4015
- /** On focus callback. */
4016
- onFocus?(event: React.FocusEvent): void;
4017
- }
4018
- /**
4019
- * TextField component.
4020
- *
4021
- * @param props Component props.
4022
- * @param ref Component ref.
4023
- * @return React element.
4024
- */
4025
- declare const TextField: Comp<TextFieldProps, HTMLDivElement>;
4026
-
4027
3182
  type NativeInputProps = Omit<ComponentProps<'input'>, 'value' | 'onChange'>;
4028
3183
  /**
4029
3184
  * Defines the props of the component.
4030
3185
  */
4031
- interface RawInputTextProps extends NativeInputProps, HasTheme$1, HasClassName$1 {
3186
+ interface RawInputTextProps extends NativeInputProps, HasTheme, HasClassName$1 {
4032
3187
  value?: string;
4033
3188
  onChange?: (value: string, name?: string, event?: SyntheticEvent) => void;
4034
3189
  }
@@ -4042,7 +3197,7 @@ type NativeTextareaProps = ComponentProps<'textarea'>;
4042
3197
  /**
4043
3198
  * Defines the props of the component.
4044
3199
  */
4045
- interface RawInputTextareaProps extends Omit<NativeTextareaProps, 'value' | 'onChange'>, HasTheme$1, HasClassName$1 {
3200
+ interface RawInputTextareaProps extends Omit<NativeTextareaProps, 'value' | 'onChange'>, HasTheme, HasClassName$1 {
4046
3201
  minimumRows?: number;
4047
3202
  value?: string;
4048
3203
  onChange?: (value: string, name?: string, event?: SyntheticEvent) => void;
@@ -4089,36 +3244,6 @@ interface ToolbarProps extends GenericProps, ToolbarProps$1 {
4089
3244
  */
4090
3245
  declare const Toolbar: Comp<ToolbarProps, HTMLDivElement>;
4091
3246
 
4092
- declare const ARIA_LINK_MODES: readonly ["aria-describedby", "aria-labelledby"];
4093
-
4094
- /** Position of the tooltip relative to the anchor element. */
4095
- type TooltipPlacement = Extract<Placement, 'top' | 'right' | 'bottom' | 'left'>;
4096
- /**
4097
- * Defines the props of the component.
4098
- */
4099
- interface TooltipProps extends GenericProps, HasCloseMode {
4100
- /** Anchor (element on which we activate the tooltip). */
4101
- children: ReactNode;
4102
- /** Delay (in ms) before closing the tooltip. */
4103
- delay?: number;
4104
- /** Whether the tooltip is displayed even without the mouse hovering the anchor. */
4105
- forceOpen?: boolean;
4106
- /** Label text. */
4107
- label?: string | null | false;
4108
- /** Placement of the tooltip relative to the anchor. */
4109
- placement?: TooltipPlacement;
4110
- /** Choose how the tooltip text should link to the anchor */
4111
- ariaLinkMode?: (typeof ARIA_LINK_MODES)[number];
4112
- }
4113
- /**
4114
- * Tooltip component.
4115
- *
4116
- * @param props Component props.
4117
- * @param ref Component ref.
4118
- * @return React element.
4119
- */
4120
- declare const Tooltip: Comp<TooltipProps, HTMLDivElement>;
4121
-
4122
3247
  /**
4123
3248
  * Uploader variants.
4124
3249
  */
@@ -4131,7 +3256,7 @@ type UploaderVariant = ValueOf$1<typeof UploaderVariant>;
4131
3256
  /**
4132
3257
  * Uploader sizes.
4133
3258
  */
4134
- type UploaderSize = Extract<Size$1, 'xl' | 'xxl'>;
3259
+ type UploaderSize = Extract<Size, 'xl' | 'xxl'>;
4135
3260
  /**
4136
3261
  * Extend native HTML input props with specialized `onChange` providing the a `File` array.
4137
3262
  */
@@ -4141,9 +3266,9 @@ interface FileInputProps extends Omit<React__default.ComponentProps<'input'>, 'o
4141
3266
  /**
4142
3267
  * Defines the props of the component.
4143
3268
  */
4144
- interface UploaderProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3269
+ interface UploaderProps extends GenericProps, HasTheme, HasAriaDisabled$1 {
4145
3270
  /** Image aspect ratio. */
4146
- aspectRatio?: AspectRatio$1;
3271
+ aspectRatio?: AspectRatio;
4147
3272
  /** Icon (SVG path). */
4148
3273
  icon?: string;
4149
3274
  /** Disabled state */
@@ -4171,11 +3296,11 @@ declare const Uploader: Comp<UploaderProps, HTMLElement>;
4171
3296
  /**
4172
3297
  * User block sizes.
4173
3298
  */
4174
- type UserBlockSize = Extract<Size$1, 'xs' | 's' | 'm' | 'l'>;
3299
+ type UserBlockSize = Extract<Size, 'xs' | 's' | 'm' | 'l'>;
4175
3300
  /**
4176
3301
  * Defines the props of the component.
4177
3302
  */
4178
- interface UserBlockProps extends GenericProps, HasTheme$1 {
3303
+ interface UserBlockProps extends GenericProps, HasTheme {
4179
3304
  /** Props to pass to the avatar. */
4180
3305
  avatarProps?: Omit<AvatarProps, 'alt'>;
4181
3306
  /** Additional fields used to describe the user. */
@@ -4216,7 +3341,7 @@ interface UserBlockProps extends GenericProps, HasTheme$1 {
4216
3341
  */
4217
3342
  declare const UserBlock: Comp<UserBlockProps, HTMLDivElement>;
4218
3343
 
4219
- type ThemeContextValue = Theme$1 | undefined;
3344
+ type ThemeContextValue = Theme | undefined;
4220
3345
  /** Provide a theme context to all children. */
4221
3346
  declare const ThemeProvider: React__default.FC<{
4222
3347
  value: ThemeContextValue;
@@ -4225,5 +3350,5 @@ declare const ThemeProvider: React__default.FC<{
4225
3350
  /** Get the theme in the current context. */
4226
3351
  declare function useTheme(): ThemeContextValue;
4227
3352
 
4228
- export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMBOBOX_OPTION_CLASSNAME, COMPONENT_NAME$1 as COMPONENT_NAME, Checkbox, Chip, ChipGroup, ComboboxOption, ComboboxOptionAction, ComboboxOptionMoreInfo, ComboboxOptionSkeleton, CommentBlock, CommentBlockVariant, DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, LUMX_CLASSNAME, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableCellVariant as TableCellVariantType, TableHeader, TableRow, Text, TextField, ThOrder, ThOrder as ThOrderType, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
4229
- export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, BaseSelectProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, ComboboxAction, ComboboxOptionActionProps, ComboboxOptionComponentProps, ComboboxOptionMoreInfoProps, ComboboxOptionProps, ComboboxOptionSkeletonProps, ComboboxProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconButtonProps, IconProps, IconSizes, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, InputLabelProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSubheaderProps, MarginAutoAlignment, MessageProps, MosaicProps, MultipleSelection, NavigationProps, NotificationProps, Offset, OnComboboxInputChange, OnComboboxSelect, OptionContentProps, PopoverDialogProps, PopoverProps, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectMultipleProps, SelectProps, SelectionChipGroupProps, SideNavigationItemProps, SideNavigationProps, SingleSelection, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, TooltipPlacement, TooltipProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
3353
+ export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, BaseButtonProps, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMBOBOX_OPTION_CLASSNAME, COMPONENT_NAME$1 as COMPONENT_NAME, Checkbox, Chip, ChipGroup, ComboboxOption, ComboboxOptionAction, ComboboxOptionMoreInfo, ComboboxOptionProps, ComboboxOptionSkeleton, CommentBlock, CommentBlockVariant, DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, Elevation, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButtonProps, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, LUMX_CLASSNAME, Lightbox, Link, LinkPreview, List, ListDivider, ListSubheader, Message, Mosaic, Navigation, Notification, Offset, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableCellVariant as TableCellVariantType, TableHeader, TableRow, Text, TextFieldProps, ThOrder, ThOrder as ThOrderType, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
3354
+ export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, ButtonGroupProps, ButtonProps, CheckboxProps, ChipGroupProps, ChipProps, ComboboxOptionActionProps, ComboboxOptionComponentProps, ComboboxOptionMoreInfoProps, ComboboxOptionSkeletonProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconProps, IconSizes, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListProps, ListSubheaderProps, MarginAutoAlignment, MessageProps, MosaicProps, NavigationProps, NotificationProps, OptionContentProps, PopoverDialogProps, PopoverProps, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectMultipleProps, SelectProps, SelectionChipGroupProps, SideNavigationItemProps, SideNavigationProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };