@lumx/react 4.3.2-alpha.13 → 4.3.2-alpha.14

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,28 +1,15 @@
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, 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, PartialBy, 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, 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, f as ComboboxOptionProps, g as PopoverProps, h as ComboboxListSkeletonProps, i as ComboboxProps, j as ComboboxOptionSkeletonProps, k as ComboboxListBoxProps, l as ColorWithVariants, m as ColorVariant, n as Typography, W as WhiteSpace, S as Size$1, V as VerticalAlignment, A as Alignment, o as HorizontalAlignment$1, p as Orientation, K as Kind$1, G as GlobalSize, q as AspectRatio$1, r as TypographyInterface } from './Tooltip-CCXZsfG-.js';
9
+ export { s as BaseSelectProps, t as ButtonSize, u as ComboboxListBox, v as ComboboxOptionSkeleton, E as Elevation, w as IconButton, x as InputLabel, y as InputLabelProps, L as ListItem, z as ListItemProps, D as ListItemSize, M as MultipleSelection, F as OnComboboxInputChange, N as OnComboboxSelect, Q as Popover, R as SingleSelection, U as TextField, X as Tooltip, Y as TooltipPlacement, Z as TooltipProps, _ as isClickable } from './Tooltip-CCXZsfG-.js';
8
10
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
11
  import { Selector } from '@lumx/core/js/types/Selector';
10
12
 
11
- /** LumX Component Type. */
12
- type Comp<P, T = HTMLElement> = {
13
- (props: P & {
14
- ref?: Ref<T>;
15
- }): ReactElement | null;
16
- /** React component type. */
17
- readonly $$typeof: symbol;
18
- /** Component default props. */
19
- defaultProps?: Partial<P>;
20
- /** Component name. */
21
- displayName?: string;
22
- /** Component base class name. */
23
- className?: string;
24
- };
25
-
26
13
  /**
27
14
  * Extract ref type for a component or JSX intrinsic element
28
15
  *
@@ -35,7 +22,7 @@ type ComponentRef<C> = C extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElem
35
22
 
36
23
  interface AlertDialogProps extends Omit<DialogProps, 'header' | 'footer'> {
37
24
  /** Message variant. */
38
- kind?: Kind$1;
25
+ kind?: Kind;
39
26
  /** Dialog title. */
40
27
  title?: string;
41
28
  /** Props forwarded to the confirm button */
@@ -70,7 +57,7 @@ declare const AlertDialog: Comp<AlertDialogProps, HTMLDivElement>;
70
57
  /**
71
58
  * Defines the props of the component.
72
59
  */
73
- interface AutocompleteProps extends GenericProps, HasTheme$1 {
60
+ interface AutocompleteProps extends GenericProps, HasTheme {
74
61
  /**
75
62
  * Whether the suggestions list should display anchored to the input or to the wrapper.
76
63
  * @see {@link DropdownProps#anchorToInput}
@@ -243,7 +230,7 @@ interface AutocompleteMultipleProps extends AutocompleteProps {
243
230
  /** Selected values. */
244
231
  values: any[];
245
232
  /** Alignment of the chips in the autocomplete. */
246
- chipsAlignment?: HorizontalAlignment$1;
233
+ chipsAlignment?: HorizontalAlignment;
247
234
  /** Selected value render function. Default: Renders the value inside of a Chip. */
248
235
  selectedChipRender(choice: any, index: number, onClear?: (event: React.MouseEvent, val: any) => void, isDisabled?: boolean): ReactNode | string;
249
236
  }
@@ -259,11 +246,11 @@ declare const AutocompleteMultiple: Comp<AutocompleteMultipleProps, HTMLDivEleme
259
246
  /**
260
247
  * Avatar sizes.
261
248
  */
262
- type AvatarSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
249
+ type AvatarSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
263
250
  /**
264
251
  * Defines the props of the component.
265
252
  */
266
- interface AvatarProps extends GenericProps, HasTheme$1 {
253
+ interface AvatarProps extends GenericProps, HasTheme {
267
254
  /** Action toolbar content. */
268
255
  actions?: ReactNode;
269
256
  /** Image alternative text. */
@@ -294,215 +281,6 @@ interface AvatarProps extends GenericProps, HasTheme$1 {
294
281
  */
295
282
  declare const Avatar: Comp<AvatarProps, HTMLDivElement>;
296
283
 
297
- /**
298
- * Alignments.
299
- */
300
- declare const Alignment: {
301
- readonly bottom: "bottom";
302
- readonly center: "center";
303
- readonly end: "end";
304
- readonly left: "left";
305
- readonly right: "right";
306
- readonly spaceAround: "space-around";
307
- readonly spaceBetween: "space-between";
308
- readonly spaceEvenly: "space-evenly";
309
- readonly start: "start";
310
- readonly top: "top";
311
- };
312
- type Alignment = ValueOf$1<typeof Alignment>;
313
- type VerticalAlignment = Extract<Alignment, 'top' | 'center' | 'bottom'>;
314
- type HorizontalAlignment = Extract<Alignment, 'right' | 'center' | 'left'>;
315
- declare const Theme: {
316
- readonly light: "light";
317
- readonly dark: "dark";
318
- };
319
- type Theme = ValueOf$1<typeof Theme>;
320
- declare const Size: {
321
- readonly xxs: "xxs";
322
- readonly xs: "xs";
323
- readonly s: "s";
324
- readonly m: "m";
325
- readonly l: "l";
326
- readonly xl: "xl";
327
- readonly xxl: "xxl";
328
- readonly tiny: "tiny";
329
- readonly regular: "regular";
330
- readonly medium: "medium";
331
- readonly big: "big";
332
- readonly huge: "huge";
333
- };
334
- type Size = ValueOf$1<typeof Size>;
335
- type GlobalSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
336
- declare const Orientation: {
337
- readonly horizontal: "horizontal";
338
- readonly vertical: "vertical";
339
- };
340
- type Orientation = ValueOf$1<typeof Orientation>;
341
- declare const Emphasis: {
342
- readonly low: "low";
343
- readonly medium: "medium";
344
- readonly high: "high";
345
- };
346
- type Emphasis = ValueOf$1<typeof Emphasis>;
347
- /**
348
- * List of typographies that can't be customized.
349
- */
350
- declare const TypographyInterface: {
351
- readonly overline: "overline";
352
- readonly caption: "caption";
353
- readonly body1: "body1";
354
- readonly body2: "body2";
355
- readonly subtitle1: "subtitle1";
356
- readonly subtitle2: "subtitle2";
357
- readonly title: "title";
358
- readonly headline: "headline";
359
- readonly display1: "display1";
360
- };
361
- type TypographyInterface = ValueOf$1<typeof TypographyInterface>;
362
- /**
363
- * List of typographies that can be customized (via CSS variables).
364
- */
365
- declare const TypographyCustom: {
366
- readonly intro: "custom-intro";
367
- readonly 'body-large': "custom-body-large";
368
- readonly body: "custom-body";
369
- readonly quote: "custom-quote";
370
- readonly 'publish-info': "custom-publish-info";
371
- readonly button: "custom-button";
372
- readonly title1: "custom-title1";
373
- readonly title2: "custom-title2";
374
- readonly title3: "custom-title3";
375
- readonly title4: "custom-title4";
376
- readonly title5: "custom-title5";
377
- readonly title6: "custom-title6";
378
- };
379
- type TypographyCustom = ValueOf$1<typeof TypographyCustom>;
380
- /**
381
- * List of all typographies.
382
- */
383
- declare const Typography: {
384
- readonly custom: {
385
- readonly intro: "custom-intro";
386
- readonly 'body-large': "custom-body-large";
387
- readonly body: "custom-body";
388
- readonly quote: "custom-quote";
389
- readonly 'publish-info': "custom-publish-info";
390
- readonly button: "custom-button";
391
- readonly title1: "custom-title1";
392
- readonly title2: "custom-title2";
393
- readonly title3: "custom-title3";
394
- readonly title4: "custom-title4";
395
- readonly title5: "custom-title5";
396
- readonly title6: "custom-title6";
397
- };
398
- readonly overline: "overline";
399
- readonly caption: "caption";
400
- readonly body1: "body1";
401
- readonly body2: "body2";
402
- readonly subtitle1: "subtitle1";
403
- readonly subtitle2: "subtitle2";
404
- readonly title: "title";
405
- readonly headline: "headline";
406
- readonly display1: "display1";
407
- };
408
- type Typography = TypographyInterface | TypographyCustom;
409
- /**
410
- * All available aspect ratios.
411
- */
412
- declare const AspectRatio: {
413
- /** Intrinsic content ratio. */
414
- readonly original: "original";
415
- /** Ratio 3:1 */
416
- readonly panoramic: "panoramic";
417
- /** Ratio 16:9 */
418
- readonly wide: "wide";
419
- /** Ratio 3:2 */
420
- readonly horizontal: "horizontal";
421
- /** Ratio 3:2 */
422
- readonly vertical: "vertical";
423
- /** Ratio 1:1 */
424
- readonly square: "square";
425
- /** Ratio constrained by the parent. */
426
- readonly free: "free";
427
- };
428
- type AspectRatio = ValueOf$1<typeof AspectRatio>;
429
- /**
430
- * Semantic info about the purpose of the component
431
- */
432
- declare const Kind: {
433
- readonly info: "info";
434
- readonly success: "success";
435
- readonly warning: "warning";
436
- readonly error: "error";
437
- };
438
- type Kind = ValueOf$1<typeof Kind>;
439
- /**
440
- * All available white-space values
441
- * */
442
- declare const WhiteSpace: {
443
- normal: string;
444
- nowrap: string;
445
- pre: string;
446
- 'pre-wrap': string;
447
- 'pre-line': string;
448
- 'break-spaces': string;
449
- };
450
- type WhiteSpace = ValueOf$1<typeof WhiteSpace>;
451
- /**
452
- * See SCSS variable $lumx-color-palette
453
- */
454
- declare const ColorPalette: {
455
- readonly primary: "primary";
456
- readonly secondary: "secondary";
457
- readonly blue: "blue";
458
- readonly dark: "dark";
459
- readonly green: "green";
460
- readonly yellow: "yellow";
461
- readonly red: "red";
462
- readonly light: "light";
463
- readonly grey: "grey";
464
- };
465
- type ColorPalette = ValueOf$1<typeof ColorPalette>;
466
- /**
467
- * See SCSS variable $lumx-color-variants
468
- */
469
- declare const ColorVariant: {
470
- readonly D1: "D1";
471
- readonly D2: "D2";
472
- readonly L1: "L1";
473
- readonly L2: "L2";
474
- readonly L3: "L3";
475
- readonly L4: "L4";
476
- readonly L5: "L5";
477
- readonly L6: "L6";
478
- readonly N: "N";
479
- };
480
- type ColorVariant = ValueOf$1<typeof ColorVariant>;
481
- /** ColorPalette with all possible color variant combination */
482
- type ColorWithVariants = ColorPalette | Exclude<`${ColorPalette}-${ColorVariant}`, `light-D${number}` | `dark-D${number}`>;
483
-
484
- interface HasClassName {
485
- /**
486
- * Class name forwarded to the root element of the component.
487
- */
488
- className?: string;
489
- }
490
-
491
- interface HasTheme {
492
- /**
493
- * Theme adapting the component to light or dark background.
494
- */
495
- theme?: Theme;
496
- }
497
-
498
- /**
499
- * Framework-agnostic type for renderable content.
500
- * Vue components should cast VNode[] from slots to this type.
501
- *
502
- * Note: Uses type-only import to avoid runtime dependencies.
503
- */
504
- type JSXElement = React__default.ReactNode;
505
-
506
284
  /** Union type of all heading elements */
507
285
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
508
286
 
@@ -518,15 +296,6 @@ type KebabCase<S> = S extends `${infer C}${infer T}` ? T extends Uncapitalize<T>
518
296
  /** Transform the component name into the lumx class name. */
519
297
  type LumxClassName<TComponentName extends string> = `lumx-${KebabCase<TComponentName>}`;
520
298
 
521
- type CommonRef = any;
522
-
523
- type Booleanish = boolean | 'true' | 'false';
524
-
525
- interface HasAriaDisabled {
526
- /** Similar to `disabled` but does not block pointer events or focus */
527
- 'aria-disabled'?: Booleanish;
528
- }
529
-
530
299
  interface HasChecked<C = boolean> {
531
300
  /** Component checked state. */
532
301
  isChecked?: C;
@@ -534,13 +303,6 @@ interface HasChecked<C = boolean> {
534
303
  checked?: boolean;
535
304
  }
536
305
 
537
- interface HasDisabled {
538
- /** Whether the component is disabled or not. */
539
- isDisabled?: boolean;
540
- /** @alias isDisabled */
541
- disabled?: boolean;
542
- }
543
-
544
306
  /**
545
307
  * Defines the props of the component.
546
308
  */
@@ -586,49 +348,6 @@ interface BadgeWrapperProps extends GenericProps, Omit<BadgeWrapperProps$1, 'chi
586
348
  }
587
349
  declare const BadgeWrapper: Comp<BadgeWrapperProps, HTMLDivElement>;
588
350
 
589
- interface BaseClickableProps extends HasDisabled, HasAriaDisabled {
590
- children?: JSXElement;
591
- onClick?: (event?: any) => void;
592
- ref?: CommonRef;
593
- }
594
-
595
- /**
596
- * Button size definition.
597
- */
598
- type ButtonSize = Extract<Size, 's' | 'm'>;
599
- interface BaseButtonProps extends Pick<AriaAttributes, 'aria-expanded' | 'aria-haspopup' | 'aria-pressed' | 'aria-label'>, HasClassName, HasTheme, HasAriaDisabled, BaseClickableProps {
600
- /** Color variant. */
601
- color?: ColorPalette;
602
- /** Emphasis variant. */
603
- emphasis?: Emphasis;
604
- /** Whether or not the button has a background color in low emphasis. */
605
- hasBackground?: boolean;
606
- /** Native anchor href property. It determines whether the Button will be a <button> or an <a>. */
607
- href?: string;
608
- /** Whether the component is disabled or not. */
609
- isDisabled?: boolean;
610
- /** Whether the component is selected or not (unsupported in `high` emphasis). */
611
- isSelected?: boolean;
612
- /** Native button name property. */
613
- name?: string;
614
- /** Size variant. */
615
- size?: ButtonSize;
616
- /** Native anchor target property. */
617
- target?: '_self' | '_blank' | '_parent' | '_top';
618
- /** Native button type. */
619
- type?: 'submit' | 'reset' | 'button' | undefined;
620
- /** Custom component for the link (can be used to inject router Link). */
621
- linkAs?: 'a' | any;
622
- /** whether the button is dispalyed in full width or not */
623
- fullWidth?: boolean;
624
- /** whether the button is currently active or not */
625
- isActive?: boolean;
626
- /** whether the button is currently focused or not */
627
- isFocused?: boolean;
628
- /** whether the button is currently focused or not */
629
- isHovered?: boolean;
630
- }
631
-
632
351
  /**
633
352
  * Button emphasis definition.
634
353
  * @deprecated Use Emphasis instead.
@@ -673,45 +392,7 @@ interface ButtonProps extends GenericProps, ButtonProps$1 {
673
392
  * @param ref Component ref.
674
393
  * @return React element.
675
394
  */
676
- declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
677
-
678
- interface IconButtonProps$1 extends BaseButtonProps {
679
- /**
680
- * Icon (SVG path).
681
- * If `image` is also set, `image` will be used instead.
682
- */
683
- icon?: string;
684
- /**
685
- * Image (image url).
686
- * Has priority over `icon`.
687
- */
688
- image?: string;
689
- /**
690
- * Label text (required for a11y purpose).
691
- * If you really don't want an aria-label, you can set an empty label (this is not recommended).
692
- */
693
- label: string;
694
- /** text to be displayed on hover */
695
- title?: string;
696
- }
697
-
698
- interface IconButtonProps extends GenericProps, Omit<IconButtonProps$1, 'title' | 'children'> {
699
- /**
700
- * Props to pass to the tooltip.
701
- * If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
702
- * */
703
- tooltipProps?: Partial<TooltipProps>;
704
- /** Whether the tooltip should be hidden or not. */
705
- hideTooltip?: boolean;
706
- }
707
- /**
708
- * IconButton component.
709
- *
710
- * @param props Component props.
711
- * @param ref Component ref.
712
- * @return React element.
713
- */
714
- declare const IconButton: Comp<IconButtonProps, HTMLButtonElement>;
395
+ declare const Button: Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>;
715
396
 
716
397
  /**
717
398
  * Defines the props of the component
@@ -739,7 +420,7 @@ declare const ButtonGroup: Comp<ButtonGroupProps, HTMLDivElement>;
739
420
  /**
740
421
  * Defines the props of the component.
741
422
  */
742
- interface CheckboxProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked<boolean | 'intermediate'> {
423
+ interface CheckboxProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked<boolean | 'intermediate'> {
743
424
  /** Helper text. */
744
425
  helper?: string;
745
426
  /** Native input id property. */
@@ -779,11 +460,11 @@ declare const Checkbox: Comp<CheckboxProps, HTMLDivElement>;
779
460
  /**
780
461
  * Chip sizes.
781
462
  */
782
- type ChipSize = Extract<Size$1, 's' | 'm'>;
463
+ type ChipSize = Extract<Size, 's' | 'm'>;
783
464
  /**
784
465
  * Defines the props of the component.
785
466
  */
786
- interface ChipProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
467
+ interface ChipProps extends GenericProps, HasTheme, HasAriaDisabled$1 {
787
468
  /** A component to be rendered after the content. */
788
469
  after?: ReactNode;
789
470
  /** A component to be rendered before the content. */
@@ -834,7 +515,7 @@ interface ChipGroupProps extends GenericProps {
834
515
  * Chip horizontal alignment.
835
516
  * @deprecated
836
517
  */
837
- align?: HorizontalAlignment$1;
518
+ align?: HorizontalAlignment;
838
519
  /** List of Chip. */
839
520
  children: ReactNode;
840
521
  }
@@ -879,7 +560,7 @@ interface SelectionChipGroupProps<O> extends GenericProps {
879
560
  /**
880
561
  * LumX theme
881
562
  */
882
- theme?: Theme$1;
563
+ theme?: Theme;
883
564
  /**
884
565
  * Disabled state
885
566
  */
@@ -898,6 +579,244 @@ interface SelectionChipGroupProps<O> extends GenericProps {
898
579
  */
899
580
  declare const SelectionChipGroup: <O>({ onChange, value, getOptionId, getOptionName, inputRef, inputLabel, renderChip, theme, isDisabled, chipTooltipLabel, label, ...forwardedProps }: SelectionChipGroupProps<O>) => react_jsx_runtime.JSX.Element;
900
581
 
582
+ interface ComboboxButtonProps extends GenericProps {
583
+ /**
584
+ * Label of the combobox button trigger.
585
+ */
586
+ label: string;
587
+ /**
588
+ * Controls how the `label` is displayed:
589
+ * - `show-selection` (default): Displays the current selection as the label, or falls back to the provided `label`
590
+ * if there is no selection. The `label` will still appear as a tooltip in this mode.
591
+ * - `show-label`: Always displays the provided `label` as the visual label.
592
+ * - `show-tooltip`: Always displays the provided `label` as the visual a tooltip.
593
+ * (useful for IconButton combobox)
594
+ * In all cases, the given `label` is the ARIA label in use
595
+ */
596
+ labelDisplayMode?: 'show-selection' | 'show-label' | 'show-tooltip';
597
+ /**
598
+ * Focus event handler
599
+ */
600
+ onFocus?: React__default.FocusEventHandler;
601
+ /**
602
+ * Blur event handler
603
+ */
604
+ onBlur?: React__default.FocusEventHandler;
605
+ /** Customize the root element. */
606
+ as?: React__default.ElementType;
607
+ }
608
+ /**
609
+ * Combobox button trigger.
610
+ *
611
+ * @family Combobox
612
+ */
613
+ declare const ComboboxButton: Comp<ComboboxButtonProps, HTMLElement>;
614
+
615
+ /** Combobox option divider */
616
+ declare function ComboboxDivider(): react_jsx_runtime.JSX.Element;
617
+
618
+ /**
619
+ * All TextField props that are extended.
620
+ * We can't use "Omit" here as it is not compatible with the "GenericProps" type from the DS,
621
+ * meaning we would loose all props.
622
+ *
623
+ */
624
+ type ExtendedTextFieldProps = PartialBy<Pick<TextFieldProps, 'ariaLabel' | 'chips' | 'error' | 'forceFocusStyle' | 'hasError' | 'afterElement' | 'helper' | 'icon' | 'inputRef' | 'textFieldRef' | 'isDisabled' | 'className' | 'isRequired' | 'isValid' | 'label' | 'maxLength' | 'minimumRows' | 'multiline' | 'id' | 'name' | 'placeholder' | 'onBlur' | 'onClear' | 'onKeyDown' | 'onFocus' | 'theme'>, 'ariaLabel' | 'onKeyDown'>;
625
+ type ComboboxInputProps = ExtendedTextFieldProps & {
626
+ /** Whether the toggle button should be hidden */
627
+ hideToggle?: boolean;
628
+ /** Activate the clear button */
629
+ hasClearButton?: boolean;
630
+ /** Clear button forwarded props */
631
+ clearButtonProps?: Omit<TextFieldProps['clearButtonProps'], 'label'>;
632
+ /** Make input read only */
633
+ readOnly?: boolean;
634
+ };
635
+ /**
636
+ * Combobox input trigger.
637
+ *
638
+ * @family Combobox
639
+ */
640
+ declare const ComboboxInput: ({ hideToggle, inputRef, textFieldRef, afterElement, onFocus, onBlur, onKeyDown, clearButtonProps, hasClearButton, theme, ...textFieldProps }: ComboboxInputProps) => react_jsx_runtime.JSX.Element;
641
+
642
+ declare const COMBOBOX_OPTION_CLASSNAME = "lumx-combobox-option";
643
+ declare const LUMX_CLASSNAME = "lumx-list-item";
644
+ /**
645
+ * Props for ComboboxOption with additional generic properties.
646
+ */
647
+ interface ComboboxOptionComponentProps<O extends object = any> extends GenericProps, Omit<ComboboxOptionProps<O>, 'as'> {
648
+ /** Customize the root element. */
649
+ as?: React__default.ElementType;
650
+ }
651
+ /**
652
+ * Option to set within a combobox list.
653
+ *
654
+ * @family Combobox
655
+ * @param ComboboxOptionProps
656
+ * @returns ComboboxOption
657
+ */
658
+ declare const ComboboxOption: Comp<ComboboxOptionComponentProps<any>, HTMLElement>;
659
+
660
+ interface ComboboxOptionActionProps extends GenericProps {
661
+ /** Should the action be set as disabled */
662
+ isDisabled?: boolean;
663
+ /** Action to trigger when the action is selected */
664
+ onClick: () => void;
665
+ /** Customize the root element. */
666
+ as?: React__default.ElementType;
667
+ }
668
+ /**
669
+ * Action to set on a Combobox Option.
670
+ * Allows to add an interactive element that
671
+ * can be navigated to and triggered using the keyboard.
672
+ *
673
+ * Defaults as "button"
674
+ *
675
+ * @family Combobox
676
+ * @param ComboboxOptionActionProps
677
+ * @returns ComboboxOptionAction
678
+ */
679
+ declare const ComboboxOptionAction: (props: ComboboxOptionActionProps) => react_jsx_runtime.JSX.Element;
680
+
681
+ interface ComboboxOptionMoreInfoProps {
682
+ buttonProps?: Partial<IconButtonProps>;
683
+ popoverProps?: PopoverProps;
684
+ onToggle?: (isOpen: boolean) => void;
685
+ children?: React__default.ReactNode;
686
+ }
687
+ /**
688
+ * Display more info on the option as a popover opening on mouse hover or keyboard nav
689
+ * Please consider using a simpler option description instead for better UX and a11y.
690
+ *
691
+ * @family Combobox
692
+ */
693
+ declare const ComboboxOptionMoreInfo: React__default.FC<ComboboxOptionMoreInfoProps>;
694
+
695
+ interface ComboboxSectionProps {
696
+ /** Forwarded class name */
697
+ className?: string;
698
+ /** The title of the section */
699
+ title?: string;
700
+ /** Whether the section should be displayed as loading */
701
+ isLoading?: boolean;
702
+ /** Custom skeletons to use for loading state */
703
+ renderItemSkeleton?: ComboboxListSkeletonProps['children'];
704
+ /** Options to display */
705
+ children: ReactNode;
706
+ }
707
+ /**
708
+ * Section for options of a Combobox.
709
+ *
710
+ * @family Combobox
711
+ * @param ComboboxSectionProps
712
+ * @returns ComboboxSection
713
+ */
714
+ declare const ComboboxSection: ({ children, ...props }: ComboboxSectionProps) => react_jsx_runtime.JSX.Element;
715
+
716
+ declare const SUB_COMPONENTS: {
717
+ /**
718
+ * Option to set within a combobox list.
719
+ *
720
+ * @family Combobox
721
+ * @param ComboboxOptionProps
722
+ * @returns ComboboxOption
723
+ */
724
+ readonly Option: Comp<ComboboxOptionComponentProps<any>, HTMLElement>;
725
+ /**
726
+ * Skeleton for a combobox option.
727
+ * A typography skeleton is rendered by default but can be overridden by passing children.
728
+ */
729
+ readonly OptionSkeleton: ({ className, index, before, after, size, children, }: ComboboxOptionSkeletonProps) => react_jsx_runtime.JSX.Element;
730
+ /**
731
+ * Section for options of a Combobox.
732
+ *
733
+ * @family Combobox
734
+ * @param ComboboxSectionProps
735
+ * @returns ComboboxSection
736
+ */
737
+ readonly Section: ({ children, ...props }: ComboboxSectionProps) => react_jsx_runtime.JSX.Element;
738
+ /**
739
+ * Combobox input trigger.
740
+ *
741
+ * @family Combobox
742
+ */
743
+ readonly Input: ({ hideToggle, inputRef, textFieldRef, afterElement, onFocus, onBlur, onKeyDown, clearButtonProps, hasClearButton, theme, ...textFieldProps }: ComboboxInputProps) => react_jsx_runtime.JSX.Element;
744
+ /**
745
+ * The listbox containing the combobox's options.
746
+ *
747
+ * @family Combobox
748
+ * @param ComboboxListBoxProps
749
+ * @returns ComboboxListBox
750
+ */
751
+ readonly List: ({ children, renderItemSkeleton, label, popoverProps, footer, listRef, ...forwardedProps }: ComboboxListBoxProps) => react_jsx_runtime.JSX.Element;
752
+ /**
753
+ * Combobox button trigger.
754
+ *
755
+ * @family Combobox
756
+ */
757
+ readonly Button: Comp<ComboboxButtonProps, HTMLElement>;
758
+ };
759
+ /**
760
+ *
761
+ * A Combobox is a combination of two components:
762
+ * * An input to enter the user's value
763
+ * * A popover with a list of suggestions to fill the value.
764
+ *
765
+ * These two components are included via the Combobox.Input and Combobox.ListBox components.
766
+ *
767
+ * In its simplest implementation the component will automatically filter the given options
768
+ * from the value of the input and fill the input with the textValue of the selected option.
769
+ *
770
+ * Props are available for more complex implementations.
771
+ *
772
+ * @family Combobox
773
+ * @param ComboboxProps
774
+ * @returns Combobox
775
+ */
776
+ declare const Combobox: (<O>({ id: htmlId, inputValue, defaultInputValue, autoFilter, openOnClick, openOnFocus, status, showEmptyState, showErrorState, selectedIds, onInputChange, onSelect, onOpen, children, selectionType, translations, }: ComboboxProps<O>) => react_jsx_runtime.JSX.Element) & {
777
+ /**
778
+ * Option to set within a combobox list.
779
+ *
780
+ * @family Combobox
781
+ * @param ComboboxOptionProps
782
+ * @returns ComboboxOption
783
+ */
784
+ readonly Option: Comp<ComboboxOptionComponentProps<any>, HTMLElement>;
785
+ /**
786
+ * Skeleton for a combobox option.
787
+ * A typography skeleton is rendered by default but can be overridden by passing children.
788
+ */
789
+ readonly OptionSkeleton: ({ className, index, before, after, size, children, }: ComboboxOptionSkeletonProps) => react_jsx_runtime.JSX.Element;
790
+ /**
791
+ * Section for options of a Combobox.
792
+ *
793
+ * @family Combobox
794
+ * @param ComboboxSectionProps
795
+ * @returns ComboboxSection
796
+ */
797
+ readonly Section: ({ children, ...props }: ComboboxSectionProps) => react_jsx_runtime.JSX.Element;
798
+ /**
799
+ * Combobox input trigger.
800
+ *
801
+ * @family Combobox
802
+ */
803
+ readonly Input: ({ hideToggle, inputRef, textFieldRef, afterElement, onFocus, onBlur, onKeyDown, clearButtonProps, hasClearButton, theme, ...textFieldProps }: ComboboxInputProps) => react_jsx_runtime.JSX.Element;
804
+ /**
805
+ * The listbox containing the combobox's options.
806
+ *
807
+ * @family Combobox
808
+ * @param ComboboxListBoxProps
809
+ * @returns ComboboxListBox
810
+ */
811
+ readonly List: ({ children, renderItemSkeleton, label, popoverProps, footer, listRef, ...forwardedProps }: ComboboxListBoxProps) => react_jsx_runtime.JSX.Element;
812
+ /**
813
+ * Combobox button trigger.
814
+ *
815
+ * @family Combobox
816
+ */
817
+ readonly Button: Comp<ComboboxButtonProps, HTMLElement>;
818
+ };
819
+
901
820
  /**
902
821
  * Comment block variants.
903
822
  */
@@ -909,7 +828,7 @@ type CommentBlockVariant = ValueOf$1<typeof CommentBlockVariant>;
909
828
  /**
910
829
  * Defines the props of the component.
911
830
  */
912
- interface CommentBlockProps extends GenericProps, HasTheme$1 {
831
+ interface CommentBlockProps extends GenericProps, HasTheme {
913
832
  /** Action toolbar content. */
914
833
  actions?: ReactNode;
915
834
  /** Props to pass to the avatar. */
@@ -1087,7 +1006,7 @@ interface DialogProps extends GenericProps {
1087
1006
  /** Children */
1088
1007
  children?: React__default.ReactNode;
1089
1008
  }
1090
- type DialogSizes = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
1009
+ type DialogSizes = Extract<Size, 'tiny' | 'regular' | 'big' | 'huge'>;
1091
1010
  /**
1092
1011
  * Dialog component.
1093
1012
  *
@@ -1100,7 +1019,7 @@ declare const Dialog: Comp<DialogProps, HTMLDivElement>;
1100
1019
  /**
1101
1020
  * Defines the props of the component.
1102
1021
  */
1103
- interface DividerProps$1 extends HasTheme, HasClassName {
1022
+ interface DividerProps$1 extends HasTheme$1, HasClassName {
1104
1023
  /** reference to the root element */
1105
1024
  ref?: CommonRef;
1106
1025
  }
@@ -1122,7 +1041,7 @@ declare const Divider: Comp<DividerProps, HTMLHRElement>;
1122
1041
  /**
1123
1042
  * Defines the props of the component.
1124
1043
  */
1125
- interface DragHandleProps extends GenericProps, HasTheme$1 {
1044
+ interface DragHandleProps extends GenericProps, HasTheme {
1126
1045
  }
1127
1046
  /**
1128
1047
  * DragHandle component.
@@ -1133,111 +1052,6 @@ interface DragHandleProps extends GenericProps, HasTheme$1 {
1133
1052
  */
1134
1053
  declare const DragHandle: Comp<DragHandleProps, HTMLDivElement>;
1135
1054
 
1136
- /**
1137
- * Different possible placements for the popover.
1138
- */
1139
- declare const Placement: {
1140
- readonly AUTO: "auto";
1141
- readonly AUTO_END: "auto-end";
1142
- readonly AUTO_START: "auto-start";
1143
- readonly TOP: "top";
1144
- readonly TOP_END: "top-end";
1145
- readonly TOP_START: "top-start";
1146
- readonly RIGHT: "right";
1147
- readonly RIGHT_END: "right-end";
1148
- readonly RIGHT_START: "right-start";
1149
- readonly BOTTOM: "bottom";
1150
- readonly BOTTOM_END: "bottom-end";
1151
- readonly BOTTOM_START: "bottom-start";
1152
- readonly LEFT: "left";
1153
- readonly LEFT_END: "left-end";
1154
- readonly LEFT_START: "left-start";
1155
- };
1156
- type Placement = ValueOf$1<typeof Placement>;
1157
- /**
1158
- * Offset of the popover.
1159
- */
1160
- interface Offset {
1161
- /** Offset size along the reference. */
1162
- along?: number;
1163
- /** Offset size away from the reference. */
1164
- away?: number;
1165
- }
1166
- /**
1167
- * Popover elevation index.
1168
- */
1169
- type Elevation = 1 | 2 | 3 | 4 | 5;
1170
- /**
1171
- * Popover fit anchor width options.
1172
- */
1173
- declare const FitAnchorWidth: {
1174
- readonly MAX_WIDTH: "maxWidth";
1175
- readonly MIN_WIDTH: "minWidth";
1176
- readonly WIDTH: "width";
1177
- };
1178
- type FitAnchorWidth = ValueOf$1<typeof FitAnchorWidth>;
1179
-
1180
- /**
1181
- * Defines the props of the component.
1182
- */
1183
- interface PopoverProps extends GenericProps, HasTheme$1 {
1184
- /** Reference to the DOM element used to set the position of the popover. */
1185
- anchorRef: React.RefObject<HTMLElement>;
1186
- /** Customize the root element. (Must accept ref forwarding and props forwarding!). */
1187
- as?: React.ElementType;
1188
- /** Element which will act as boundary when opening the popover. */
1189
- boundaryRef?: RefObject<HTMLElement>;
1190
- /** Content. */
1191
- children: ReactNode;
1192
- /** Whether a click anywhere out of the popover would close it. */
1193
- closeOnClickAway?: boolean;
1194
- /** Whether an escape key press would close the popover. */
1195
- closeOnEscape?: boolean;
1196
- /** Shadow elevation. */
1197
- elevation?: Elevation;
1198
- /**
1199
- * Manage popover width:
1200
- * - `maxWidth`: popover not bigger than anchor
1201
- * - `minWidth` or `true`: popover not smaller than anchor
1202
- * - `width`: popover equal to the anchor.
1203
- */
1204
- fitToAnchorWidth?: FitAnchorWidth | boolean;
1205
- /** Shrink popover if even after flipping there is not enough space. */
1206
- fitWithinViewportHeight?: boolean;
1207
- /** Element to focus when opening the popover. */
1208
- focusElement?: RefObject<HTMLElement>;
1209
- /** Whether the focus should go back on the anchor when popover closes and focus is within. */
1210
- focusAnchorOnClose?: boolean;
1211
- /** Whether we put an arrow or not. */
1212
- hasArrow?: boolean;
1213
- /** Whether the popover is open or not. */
1214
- isOpen: boolean;
1215
- /** Offset placement relative to anchor. */
1216
- offset?: Offset;
1217
- /** Reference to the parent element that triggered the popover (will get back focus on close or else fallback on the anchor element). */
1218
- parentElement?: RefObject<HTMLElement>;
1219
- /** Placement relative to anchor. */
1220
- placement?: Placement;
1221
- /** Whether the popover should be rendered into a DOM node that exists outside the DOM hierarchy of the parent component. */
1222
- usePortal?: boolean;
1223
- /** The element in which the focus trap should be set. Default to popover. */
1224
- focusTrapZoneElement?: RefObject<HTMLElement>;
1225
- /** Z-axis position. */
1226
- zIndex?: number;
1227
- /** On close callback (on click away or Escape pressed). */
1228
- onClose?(): void;
1229
- /** Whether the popover should trap the focus within itself. Default to false. */
1230
- withFocusTrap?: boolean;
1231
- }
1232
- /**
1233
- * Popover component.
1234
- *
1235
- * @param props Component props.
1236
- * @param ref Component ref.
1237
- * @return React element.
1238
- */
1239
- declare const Popover: Comp<PopoverProps, HTMLDivElement>;
1240
-
1241
1055
  /**
1242
1056
  * Defines the props of the component.
1243
1057
  */
@@ -1322,7 +1136,7 @@ declare const Dropdown: Comp<DropdownProps, HTMLDivElement>;
1322
1136
  /**
1323
1137
  * Defines the props of the component.
1324
1138
  */
1325
- interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme$1 {
1139
+ interface ExpansionPanelProps extends GenericProps, HasCloseMode, HasTheme {
1326
1140
  /** Whether the expansion panel has a background. */
1327
1141
  hasBackground?: boolean;
1328
1142
  /** Whether the header has a divider. */
@@ -1398,7 +1212,7 @@ interface TextProps$1 extends HasClassName {
1398
1212
  style?: CSSProperties;
1399
1213
  }
1400
1214
 
1401
- interface FlagProps$1 extends HasClassName, HasTheme {
1215
+ interface FlagProps$1 extends HasClassName, HasTheme$1 {
1402
1216
  /** Color of the component. */
1403
1217
  color?: ColorPalette;
1404
1218
  /** Icon to use before the label. */
@@ -1427,10 +1241,10 @@ interface FlagProps extends GenericProps, Omit<FlagProps$1, 'children' | 'Text'>
1427
1241
  declare const Flag: Comp<FlagProps, HTMLDivElement>;
1428
1242
 
1429
1243
  type MarginAutoAlignment = Extract<Alignment, 'top' | 'bottom' | 'right' | 'left'>;
1430
- type GapSize = Extract<Size, 'tiny' | 'regular' | 'medium' | 'big' | 'huge'>;
1244
+ type GapSize = Extract<Size$1, 'tiny' | 'regular' | 'medium' | 'big' | 'huge'>;
1431
1245
  type SpaceAlignment = Extract<Alignment, 'space-between' | 'space-evenly' | 'space-around'>;
1432
1246
  type FlexVerticalAlignment = VerticalAlignment | SpaceAlignment;
1433
- type FlexHorizontalAlignment = HorizontalAlignment | SpaceAlignment;
1247
+ type FlexHorizontalAlignment = HorizontalAlignment$1 | SpaceAlignment;
1434
1248
 
1435
1249
  /**
1436
1250
  * Defines the props of the component.
@@ -1488,7 +1302,7 @@ declare const GenericBlockGapSize: Pick<{
1488
1302
  readonly medium: "medium";
1489
1303
  readonly big: "big";
1490
1304
  readonly huge: "huge";
1491
- }, "medium" | "tiny" | "regular" | "big" | "huge">;
1305
+ }, "big" | "medium" | "tiny" | "regular" | "huge">;
1492
1306
  type GenericBlockGapSize = ValueOf$1<typeof GenericBlockGapSize>;
1493
1307
 
1494
1308
  interface GenericBlockProps extends FlexBoxProps {
@@ -1608,7 +1422,7 @@ declare const useHeadingLevel: () => {
1608
1422
  headingElement: _lumx_core_js_types.HeadingElement;
1609
1423
  };
1610
1424
 
1611
- type GridGutterSize = Extract<Size$1, 'regular' | 'big' | 'huge'>;
1425
+ type GridGutterSize = Extract<Size, 'regular' | 'big' | 'huge'>;
1612
1426
  /**
1613
1427
  * Defines the props of the component.
1614
1428
  */
@@ -1662,18 +1476,33 @@ type GridColumnGapSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
1662
1476
  /**
1663
1477
  * Defines the props of the component.
1664
1478
  */
1665
- interface GridColumnProps extends GenericProps {
1479
+ interface GridColumnProps$1 extends HasClassName {
1666
1480
  /** Customize the root element. */
1667
- as?: React.ElementType;
1481
+ as?: any;
1668
1482
  /** Children elements. */
1669
- children?: ReactNode;
1483
+ children?: JSXElement;
1670
1484
  /** Space between columns and rows. */
1671
1485
  gap?: GridColumnGapSize;
1672
1486
  /** Ideal number of columns. */
1673
1487
  maxColumns?: number;
1674
1488
  /** Minimum width for each item, reduce the number of column if there is not enough space. */
1675
1489
  itemMinWidth?: number;
1490
+ /** Custom styles. */
1491
+ style?: any;
1492
+ /** reference to the root element */
1493
+ ref?: CommonRef;
1676
1494
  }
1495
+
1496
+ /**
1497
+ * Defines the props of the component.
1498
+ */
1499
+ interface GridColumnProps extends GenericProps, GridColumnProps$1 {
1500
+ /** Customize the root element. */
1501
+ as?: React.ElementType;
1502
+ /** Children elements. */
1503
+ children?: React.ReactNode;
1504
+ }
1505
+
1677
1506
  /**
1678
1507
  * The GridColumn is a layout component that can display children in a grid
1679
1508
  * with custom display properties. It also comes with a responsive design,
@@ -1691,7 +1520,7 @@ type IconSizes = (typeof ICON_SIZES)[number];
1691
1520
  /**
1692
1521
  * Defines the props of the component.
1693
1522
  */
1694
- interface IconProps$1 extends HasClassName, HasTheme {
1523
+ interface IconProps$1 extends HasClassName, HasTheme$1 {
1695
1524
  /** Color variant. */
1696
1525
  color?: ColorWithVariants;
1697
1526
  /** Lightened or darkened variant of the selected icon color. */
@@ -1737,7 +1566,7 @@ declare module 'react' {
1737
1566
  /**
1738
1567
  * Thumbnail sizes.
1739
1568
  */
1740
- type ThumbnailSize$1 = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1569
+ type ThumbnailSize$1 = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1741
1570
  /**
1742
1571
  * Thumbnail variants.
1743
1572
  */
@@ -1759,13 +1588,13 @@ type ImgHTMLProps = ImgHTMLAttributes<HTMLImageElement>;
1759
1588
  /**
1760
1589
  * Defines the props of the component.
1761
1590
  */
1762
- interface ThumbnailProps$1 extends HasTheme$1, HasClassName$1 {
1591
+ interface ThumbnailProps$1 extends HasTheme, HasClassName$1 {
1763
1592
  /** Alignment of the thumbnail in it's parent (requires flex parent). */
1764
- align?: HorizontalAlignment$1;
1593
+ align?: HorizontalAlignment;
1765
1594
  /** Image alternative text. */
1766
1595
  alt: string;
1767
1596
  /** Image aspect ratio. */
1768
- aspectRatio?: AspectRatio$1;
1597
+ aspectRatio?: AspectRatio;
1769
1598
  /** Badge. */
1770
1599
  badge?: JSXElement$1;
1771
1600
  /** Image cross origin resource policy. */
@@ -1829,11 +1658,11 @@ declare module 'react' {
1829
1658
  * All available aspect ratios.
1830
1659
  * @deprecated
1831
1660
  */
1832
- declare const ThumbnailAspectRatio: Record<string, AspectRatio$1>;
1661
+ declare const ThumbnailAspectRatio: Record<string, AspectRatio>;
1833
1662
  /**
1834
1663
  * Thumbnail sizes.
1835
1664
  */
1836
- type ThumbnailSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1665
+ type ThumbnailSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
1837
1666
  /**
1838
1667
  * Thumbnail variants.
1839
1668
  */
@@ -1898,15 +1727,15 @@ type ImageBlockCaptionPosition = ValueOf$1<typeof ImageBlockCaptionPosition>;
1898
1727
  /**
1899
1728
  * Image block sizes.
1900
1729
  */
1901
- type ImageBlockSize = Extract<Size$1, 'xl' | 'xxl'>;
1730
+ type ImageBlockSize = Extract<Size, 'xl' | 'xxl'>;
1902
1731
  /**
1903
1732
  * Defines the props of the component.
1904
1733
  */
1905
- interface ImageBlockProps extends GenericProps, HasTheme$1, ImageCaptionMetadata {
1734
+ interface ImageBlockProps extends GenericProps, HasTheme, ImageCaptionMetadata {
1906
1735
  /** Action toolbar content. */
1907
1736
  actions?: ReactNode;
1908
1737
  /** Alignment. */
1909
- align?: HorizontalAlignment$1;
1738
+ align?: HorizontalAlignment;
1910
1739
  /** Image alternative text. */
1911
1740
  alt: string;
1912
1741
  /** Caption position. */
@@ -2028,11 +1857,11 @@ declare const InlineList: Comp<InlineListProps, HTMLElement>;
2028
1857
  /**
2029
1858
  * Defines the props of the component.
2030
1859
  */
2031
- interface InputHelperProps$1 extends HasClassName, HasTheme {
1860
+ interface InputHelperProps$1 extends HasClassName, HasTheme$1 {
2032
1861
  /** Helper content. */
2033
1862
  children: JSXElement;
2034
1863
  /** Helper variant. */
2035
- kind?: Kind;
1864
+ kind?: Kind$1;
2036
1865
  /** ref to the root element `p` */
2037
1866
  ref?: CommonRef;
2038
1867
  /** id for the input helper */
@@ -2050,34 +1879,10 @@ interface InputHelperProps extends InputHelperProps$1, GenericProps {
2050
1879
  */
2051
1880
  declare const InputHelper: Comp<InputHelperProps, HTMLParagraphElement>;
2052
1881
 
2053
- interface InputLabelProps$1 extends HasClassName, HasTheme {
2054
- /** Typography variant. */
2055
- typography?: Typography;
2056
- /** Label content. */
2057
- children: JSXElement;
2058
- /** Native htmlFor property. */
2059
- htmlFor: string;
2060
- /** Whether the component is required or not. */
2061
- isRequired?: boolean;
2062
- /** ref to the root element */
2063
- ref?: CommonRef;
2064
- }
2065
-
2066
- interface InputLabelProps extends InputLabelProps$1, GenericProps {
2067
- }
2068
- /**
2069
- * InputLabel component.
2070
- *
2071
- * @param props Component props.
2072
- * @param ref Component ref.
2073
- * @return React element.
2074
- */
2075
- declare const InputLabel: Comp<InputLabelProps, HTMLLabelElement>;
2076
-
2077
1882
  /**
2078
1883
  * Defines the props of the component.
2079
1884
  */
2080
- interface LightboxProps extends GenericProps, HasTheme$1, Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'> {
1885
+ interface LightboxProps extends GenericProps, HasTheme, Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'> {
2081
1886
  /** Props to pass to the close button (minus those already set by the Lightbox props). */
2082
1887
  closeButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis' | 'color'>;
2083
1888
  /** Whether the component is open or not. */
@@ -2107,7 +1912,7 @@ declare const Lightbox: Comp<LightboxProps, HTMLDivElement>;
2107
1912
  /**
2108
1913
  * Defines the props of the component.
2109
1914
  */
2110
- interface LinkProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled {
1915
+ interface LinkProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled {
2111
1916
  /** Link label content. */
2112
1917
  label?: JSXElement;
2113
1918
  /** Color variant. */
@@ -2161,12 +1966,12 @@ interface LinkProps extends GenericProps, Omit<LinkProps$1, 'label'> {
2161
1966
  * @param ref Component ref.
2162
1967
  * @return React element.
2163
1968
  */
2164
- declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
1969
+ declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
2165
1970
 
2166
1971
  /**
2167
1972
  * Defines the props of the component.
2168
1973
  */
2169
- interface LinkPreviewProps extends GenericProps, HasTheme$1 {
1974
+ interface LinkPreviewProps extends GenericProps, HasTheme {
2170
1975
  /** Description. */
2171
1976
  description?: string;
2172
1977
  /** Link URL. */
@@ -2176,7 +1981,7 @@ interface LinkPreviewProps extends GenericProps, HasTheme$1 {
2176
1981
  /** Props to pass to the link (minus those already set by the LinkPreview props). */
2177
1982
  linkProps?: Omit<LinkProps, 'color' | 'colorVariant' | 'href' | 'target'>;
2178
1983
  /** Size variant. */
2179
- size?: Extract<Size$1, 'regular' | 'big'>;
1984
+ size?: Extract<Size, 'regular' | 'big'>;
2180
1985
  /** Thumbnail for the link preview. */
2181
1986
  thumbnailProps?: ThumbnailProps;
2182
1987
  /** Title. */
@@ -2218,7 +2023,7 @@ interface ListProps extends GenericProps {
2218
2023
  */
2219
2024
  isClickable?: boolean;
2220
2025
  /** Item padding size. */
2221
- itemPadding?: Extract<Size$1, 'big' | 'huge'>;
2026
+ itemPadding?: Extract<Size, 'big' | 'huge'>;
2222
2027
  /** Tab index of the list. Default to -1 */
2223
2028
  tabIndex?: number;
2224
2029
  /**
@@ -2234,50 +2039,6 @@ declare const List: Comp<ListProps, HTMLUListElement> & {
2234
2039
  useKeyboardListNavigation: useKeyboardListNavigationType;
2235
2040
  };
2236
2041
 
2237
- type ListItemSize = Extract<Size$1, 'tiny' | 'regular' | 'big' | 'huge'>;
2238
- /**
2239
- * Defines the props of the component.
2240
- */
2241
- interface ListItemProps extends GenericProps, HasAriaDisabled$1 {
2242
- /** A component to be rendered after the content. */
2243
- after?: ReactNode;
2244
- /** A component to be rendered before the content. */
2245
- before?: ReactNode;
2246
- /** Content. */
2247
- children: string | ReactNode;
2248
- /** Whether the list item should be highlighted or not. */
2249
- isHighlighted?: boolean;
2250
- /** Whether the component is selected or not. */
2251
- isSelected?: boolean;
2252
- /** Whether link/button is disabled or not. */
2253
- isDisabled?: boolean;
2254
- /** Reference to the <li> element. */
2255
- listItemRef?: Ref<HTMLLIElement>;
2256
- /** Custom react component for the link (can be used to inject react router Link). */
2257
- linkAs?: 'a' | any;
2258
- /** Props that will be passed on to the Link */
2259
- linkProps?: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
2260
- /** Reference to the link element. */
2261
- linkRef?: Ref<HTMLAnchorElement>;
2262
- /** Size variant. */
2263
- size?: ListItemSize;
2264
- /** On selected callback. */
2265
- onItemSelected?(evt: SyntheticEvent): void;
2266
- }
2267
- /**
2268
- * Check if the list item is clickable.
2269
- * @return `true` if the list item is clickable; `false` otherwise.
2270
- */
2271
- declare function isClickable({ linkProps, onItemSelected }: Partial<ListItemProps>): boolean;
2272
- /**
2273
- * ListItem component.
2274
- *
2275
- * @param props Component props.
2276
- * @param ref Component ref.
2277
- * @return React element.
2278
- */
2279
- declare const ListItem: Comp<ListItemProps, HTMLLIElement>;
2280
-
2281
2042
  /**
2282
2043
  * Defines the props of the component.
2283
2044
  */
@@ -2316,7 +2077,7 @@ interface MessageProps$1 extends HasClassName {
2316
2077
  /** Whether the message has a background or not. */
2317
2078
  hasBackground?: boolean;
2318
2079
  /** Message variant. */
2319
- kind?: Kind;
2080
+ kind?: Kind$1;
2320
2081
  /** Message custom icon SVG path. */
2321
2082
  icon?: string;
2322
2083
  /** Reference to the message container element. */
@@ -2350,7 +2111,7 @@ declare const Message: Comp<MessageProps, HTMLDivElement>;
2350
2111
  /**
2351
2112
  * Defines the props of the component.
2352
2113
  */
2353
- interface MosaicProps extends GenericProps, HasTheme$1 {
2114
+ interface MosaicProps extends GenericProps, HasTheme {
2354
2115
  /** Thumbnails. */
2355
2116
  thumbnails: ThumbnailProps[];
2356
2117
  /** On image click callback. */
@@ -2385,14 +2146,14 @@ type BaseNavigationItemProps = {
2385
2146
  };
2386
2147
  declare const NavigationItem: (<E extends ElementType = "a">(props: React$1.PropsWithoutRef<React$1.ComponentProps<E>> & {
2387
2148
  as?: E | undefined;
2388
- } & HasTheme$1 & HasClassName$1 & BaseNavigationItemProps & HasRequiredLinkHref<E> & React$1.ComponentProps<E> & {
2149
+ } & HasTheme & HasClassName$1 & BaseNavigationItemProps & HasRequiredLinkHref<E> & React$1.ComponentProps<E> & {
2389
2150
  ref?: ComponentRef<E> | undefined;
2390
2151
  }) => React.JSX.Element) & {
2391
2152
  displayName: string;
2392
2153
  className: "lumx-navigation-item";
2393
2154
  };
2394
2155
 
2395
- type NavigationProps = React.ComponentProps<'nav'> & HasClassName$1 & HasTheme$1 & {
2156
+ type NavigationProps = React.ComponentProps<'nav'> & HasClassName$1 & HasTheme & {
2396
2157
  /** Content of the navigation. These components should be of type NavigationItem to be rendered */
2397
2158
  children?: React.ReactNode;
2398
2159
  orientation?: Orientation$1;
@@ -2406,7 +2167,7 @@ declare const Navigation: Comp<NavigationProps, HTMLElement> & SubComponents;
2406
2167
  /**
2407
2168
  * Defines the props of the component.
2408
2169
  */
2409
- interface NotificationProps extends GenericProps, HasTheme$1 {
2170
+ interface NotificationProps extends GenericProps, HasTheme {
2410
2171
  /** Action button label. */
2411
2172
  actionLabel?: string;
2412
2173
  /** Content. */
@@ -2414,7 +2175,7 @@ interface NotificationProps extends GenericProps, HasTheme$1 {
2414
2175
  /** Whether the component is open or not. */
2415
2176
  isOpen?: boolean;
2416
2177
  /** Notification type. */
2417
- type?: Kind$1;
2178
+ type?: Kind;
2418
2179
  /** Z-axis position. */
2419
2180
  zIndex?: number;
2420
2181
  /** On action button click callback. */
@@ -2450,7 +2211,7 @@ declare const PopoverDialog: Comp<PopoverDialogProps, HTMLDivElement>;
2450
2211
  /**
2451
2212
  * Defines the props of the component.
2452
2213
  */
2453
- interface PostBlockProps extends GenericProps, HasTheme$1 {
2214
+ interface PostBlockProps extends GenericProps, HasTheme {
2454
2215
  /** Action toolbar content. */
2455
2216
  actions?: ReactNode;
2456
2217
  /** Attachment content. */
@@ -2494,7 +2255,7 @@ type ProgressVariant = ValueOf$1<typeof ProgressVariant>;
2494
2255
  /**
2495
2256
  * Defines the props of the component.
2496
2257
  */
2497
- interface ProgressProps extends GenericProps, HasTheme$1 {
2258
+ interface ProgressProps extends GenericProps, HasTheme {
2498
2259
  /** Progress variant. */
2499
2260
  variant?: ProgressVariant;
2500
2261
  }
@@ -2511,11 +2272,11 @@ declare const Progress: Comp<ProgressProps, HTMLDivElement>;
2511
2272
  /**
2512
2273
  * Progress sizes.
2513
2274
  */
2514
- type ProgressCircularSize = Extract<Size$1, 'xxs' | 'xs' | 's' | 'm'>;
2275
+ type ProgressCircularSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm'>;
2515
2276
  /**
2516
2277
  * Defines the props of the component.
2517
2278
  */
2518
- interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2279
+ interface ProgressCircularProps extends GenericProps, HasTheme {
2519
2280
  /**
2520
2281
  * Progress circular size.
2521
2282
  */
@@ -2535,7 +2296,7 @@ interface ProgressCircularProps extends GenericProps, HasTheme$1 {
2535
2296
  */
2536
2297
  declare const ProgressCircular: Comp<ProgressCircularProps, HTMLDivElement>;
2537
2298
 
2538
- interface ProgressLinearProps extends GenericProps, HasTheme$1 {
2299
+ interface ProgressLinearProps extends GenericProps, HasTheme {
2539
2300
  }
2540
2301
  /**
2541
2302
  * ProgressLinear component.
@@ -2648,7 +2409,7 @@ declare const ProgressTrackerStepPanel: Comp<ProgressTrackerStepPanelProps, HTML
2648
2409
  /**
2649
2410
  * Defines the props of the component.
2650
2411
  */
2651
- interface RadioButtonProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2412
+ interface RadioButtonProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2652
2413
  /** Helper text. */
2653
2414
  helper?: string;
2654
2415
  /** Native input id property. */
@@ -2709,7 +2470,7 @@ declare const SelectVariant: {
2709
2470
  readonly chip: "chip";
2710
2471
  };
2711
2472
  type SelectVariant = ValueOf$1<typeof SelectVariant>;
2712
- interface CoreSelectProps extends GenericProps, HasTheme$1 {
2473
+ interface CoreSelectProps extends GenericProps, HasTheme {
2713
2474
  /** Props to pass to the clear button (minus those already set by the Select props). If not specified, the button won't be displayed. */
2714
2475
  clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
2715
2476
  /** Whether the select (input variant) is displayed with error style or not. */
@@ -2789,7 +2550,7 @@ declare const SelectMultiple: Comp<SelectMultipleProps, HTMLDivElement>;
2789
2550
  /**
2790
2551
  * Defines the props of the component.
2791
2552
  */
2792
- interface SideNavigationProps extends GenericProps, HasTheme$1 {
2553
+ interface SideNavigationProps extends GenericProps, HasTheme {
2793
2554
  /** SideNavigationItem elements. */
2794
2555
  children: ReactNode;
2795
2556
  }
@@ -2809,7 +2570,7 @@ interface SideNavigationItemProps extends GenericProps, HasCloseMode {
2809
2570
  /** SideNavigationItem elements. */
2810
2571
  children?: ReactNode;
2811
2572
  /** Emphasis variant. */
2812
- emphasis?: Emphasis$1;
2573
+ emphasis?: Emphasis;
2813
2574
  /** Label content. */
2814
2575
  label: string | ReactNode;
2815
2576
  /** Icon (SVG path). */
@@ -2841,7 +2602,7 @@ declare const SideNavigationItem: Comp<SideNavigationItemProps, HTMLLIElement>;
2841
2602
  /**
2842
2603
  * Defines the props of the component.
2843
2604
  */
2844
- interface SkeletonCircleProps$1 extends HasTheme, HasClassName {
2605
+ interface SkeletonCircleProps$1 extends HasTheme$1, HasClassName {
2845
2606
  /** Size variant. */
2846
2607
  size: GlobalSize;
2847
2608
  /** The color of the skeleton. */
@@ -2862,9 +2623,9 @@ type SkeletonRectangleVariant = ValueOf<typeof SkeletonRectangleVariant>;
2862
2623
  /**
2863
2624
  * Defines the props of the component.
2864
2625
  */
2865
- interface SkeletonRectangleProps$1 extends HasTheme, HasClassName {
2626
+ interface SkeletonRectangleProps$1 extends HasTheme$1, HasClassName {
2866
2627
  /** Aspect ratio (use with width and not height). */
2867
- aspectRatio?: Extract<AspectRatio, 'square' | 'horizontal' | 'vertical' | 'wide'>;
2628
+ aspectRatio?: Extract<AspectRatio$1, 'square' | 'horizontal' | 'vertical' | 'wide'>;
2868
2629
  /** Height size. */
2869
2630
  height?: GlobalSize;
2870
2631
  /** Border variant. */
@@ -2880,7 +2641,7 @@ interface SkeletonRectangleProps$1 extends HasTheme, HasClassName {
2880
2641
  /**
2881
2642
  * Defines the props of the component.
2882
2643
  */
2883
- interface SkeletonTypographyProps$1 extends HasTheme, HasClassName {
2644
+ interface SkeletonTypographyProps$1 extends HasTheme$1, HasClassName {
2884
2645
  /** Typography variant. */
2885
2646
  typography: TypographyInterface;
2886
2647
  /** Width CSS property. */
@@ -2938,7 +2699,7 @@ declare const SkeletonTypography: Comp<SkeletonTypographyProps, HTMLDivElement>;
2938
2699
  /**
2939
2700
  * Defines the props of the component.
2940
2701
  */
2941
- interface SliderProps extends GenericProps, HasTheme$1 {
2702
+ interface SliderProps extends GenericProps, HasTheme {
2942
2703
  /** Helper text. */
2943
2704
  helper?: string;
2944
2705
  /** Whether the min and max labels should be hidden or not. */
@@ -3102,7 +2863,7 @@ interface UseSlideshowControls {
3102
2863
  /**
3103
2864
  * Defines the props of the component.
3104
2865
  */
3105
- interface SlideshowControlsProps extends GenericProps, HasTheme$1 {
2866
+ interface SlideshowControlsProps extends GenericProps, HasTheme {
3106
2867
  /** Index of the current slide. */
3107
2868
  activeIndex?: number;
3108
2869
  /** Props to pass to the next button (minus those already set by the SlideshowControls props). */
@@ -3146,7 +2907,7 @@ declare const SlideshowControls: Comp<SlideshowControlsProps, HTMLDivElement> &
3146
2907
  };
3147
2908
  };
3148
2909
 
3149
- interface SlidesProps extends GenericProps, HasTheme$1 {
2910
+ interface SlidesProps extends GenericProps, HasTheme {
3150
2911
  /** current slide active */
3151
2912
  activeIndex: number;
3152
2913
  /** slides id to be added to the wrapper */
@@ -3191,7 +2952,7 @@ declare const Slides: Comp<SlidesProps, HTMLDivElement>;
3191
2952
  /**
3192
2953
  * Defines the props of the component.
3193
2954
  */
3194
- interface SwitchProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2955
+ interface SwitchProps$1 extends HasTheme$1, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
3195
2956
  /** Helper text. */
3196
2957
  helper?: string;
3197
2958
  /** Native input id property. */
@@ -3235,7 +2996,7 @@ declare const Switch: Comp<SwitchProps, HTMLDivElement>;
3235
2996
  /**
3236
2997
  * Defines the props of the component.
3237
2998
  */
3238
- interface TableProps$1 extends HasTheme, HasClassName {
2999
+ interface TableProps$1 extends HasTheme$1, HasClassName {
3239
3000
  /** Whether the table has checkbox or thumbnail on first cell or not. */
3240
3001
  hasBefore?: boolean;
3241
3002
  /** Whether the table has dividers or not. */
@@ -3430,7 +3191,7 @@ declare enum TabListLayout {
3430
3191
  /**
3431
3192
  * Defines the props of the component.
3432
3193
  */
3433
- interface TabListProps extends GenericProps, HasTheme$1 {
3194
+ interface TabListProps extends GenericProps, HasTheme {
3434
3195
  /** ARIA label (purpose of the set of tabs). */
3435
3196
  ['aria-label']: string;
3436
3197
  /** Tab list. */
@@ -3514,79 +3275,11 @@ interface TextProps extends TextProps$1, GenericProps {
3514
3275
  */
3515
3276
  declare const Text: Comp<TextProps, HTMLElement>;
3516
3277
 
3517
- /**
3518
- * Defines the props of the component.
3519
- */
3520
- interface TextFieldProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3521
- /** Chip Group to be rendered before the main text input. */
3522
- chips?: ReactNode;
3523
- /** Props to pass to the clear button (minus those already set by the TextField props). If not specified, the button won't be displayed. */
3524
- clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
3525
- /** Error message. */
3526
- error?: string | ReactNode;
3527
- /** Whether we force the focus style or not. */
3528
- forceFocusStyle?: boolean;
3529
- /** Whether the text field is displayed with error style or not. */
3530
- hasError?: boolean;
3531
- /** Additional element to put at the end of the text field. */
3532
- afterElement?: ReactNode;
3533
- /** Helper text. */
3534
- helper?: string | ReactNode;
3535
- /** Icon (SVG path). */
3536
- icon?: string;
3537
- /** Native input id property (generated if not provided to link the label element). */
3538
- id?: string;
3539
- /** Reference to the <input> or <textarea> element. */
3540
- inputRef?: Ref<HTMLInputElement | HTMLTextAreaElement>;
3541
- /** Whether the component is disabled or not. */
3542
- isDisabled?: boolean;
3543
- /** Whether the component is required or not. */
3544
- isRequired?: boolean;
3545
- /** Whether the text field is displayed with valid style or not. */
3546
- isValid?: boolean;
3547
- /** Label text. */
3548
- label?: string;
3549
- /** Additional label props. */
3550
- labelProps?: InputLabelProps;
3551
- /** Max string length the input accepts (constrains the input and displays a character counter). */
3552
- maxLength?: number;
3553
- /** Minimum number of rows displayed in multiline mode (requires `multiline` to be enabled). */
3554
- minimumRows?: number;
3555
- /** Whether the text field is a textarea or an input. */
3556
- multiline?: boolean;
3557
- /** Native input name property. */
3558
- name?: string;
3559
- /** Placeholder text. */
3560
- placeholder?: string;
3561
- /** Reference to the wrapper. */
3562
- textFieldRef?: Ref<HTMLDivElement>;
3563
- /** Native input type (only when `multiline` is disabled). */
3564
- type?: React.ComponentProps<'input'>['type'];
3565
- /** Value. */
3566
- value?: string;
3567
- /** On blur callback. */
3568
- onBlur?(event: React.FocusEvent): void;
3569
- /** On change callback. */
3570
- onChange(value: string, name?: string, event?: SyntheticEvent): void;
3571
- /** On clear callback. */
3572
- onClear?(event?: SyntheticEvent): void;
3573
- /** On focus callback. */
3574
- onFocus?(event: React.FocusEvent): void;
3575
- }
3576
- /**
3577
- * TextField component.
3578
- *
3579
- * @param props Component props.
3580
- * @param ref Component ref.
3581
- * @return React element.
3582
- */
3583
- declare const TextField: Comp<TextFieldProps, HTMLDivElement>;
3584
-
3585
3278
  type NativeInputProps = Omit<ComponentProps<'input'>, 'value' | 'onChange'>;
3586
3279
  /**
3587
3280
  * Defines the props of the component.
3588
3281
  */
3589
- interface RawInputTextProps extends NativeInputProps, HasTheme$1, HasClassName$1 {
3282
+ interface RawInputTextProps extends NativeInputProps, HasTheme, HasClassName$1 {
3590
3283
  value?: string;
3591
3284
  onChange?: (value: string, name?: string, event?: SyntheticEvent) => void;
3592
3285
  }
@@ -3600,7 +3293,7 @@ type NativeTextareaProps = ComponentProps<'textarea'>;
3600
3293
  /**
3601
3294
  * Defines the props of the component.
3602
3295
  */
3603
- interface RawInputTextareaProps extends Omit<NativeTextareaProps, 'value' | 'onChange'>, HasTheme$1, HasClassName$1 {
3296
+ interface RawInputTextareaProps extends Omit<NativeTextareaProps, 'value' | 'onChange'>, HasTheme, HasClassName$1 {
3604
3297
  minimumRows?: number;
3605
3298
  value?: string;
3606
3299
  onChange?: (value: string, name?: string, event?: SyntheticEvent) => void;
@@ -3633,36 +3326,6 @@ interface ToolbarProps extends GenericProps {
3633
3326
  */
3634
3327
  declare const Toolbar: Comp<ToolbarProps, HTMLDivElement>;
3635
3328
 
3636
- declare const ARIA_LINK_MODES: readonly ["aria-describedby", "aria-labelledby"];
3637
-
3638
- /** Position of the tooltip relative to the anchor element. */
3639
- type TooltipPlacement = Extract<Placement, 'top' | 'right' | 'bottom' | 'left'>;
3640
- /**
3641
- * Defines the props of the component.
3642
- */
3643
- interface TooltipProps extends GenericProps, HasCloseMode {
3644
- /** Anchor (element on which we activate the tooltip). */
3645
- children: ReactNode;
3646
- /** Delay (in ms) before closing the tooltip. */
3647
- delay?: number;
3648
- /** Whether the tooltip is displayed even without the mouse hovering the anchor. */
3649
- forceOpen?: boolean;
3650
- /** Label text. */
3651
- label?: string | null | false;
3652
- /** Placement of the tooltip relative to the anchor. */
3653
- placement?: TooltipPlacement;
3654
- /** Choose how the tooltip text should link to the anchor */
3655
- ariaLinkMode?: (typeof ARIA_LINK_MODES)[number];
3656
- }
3657
- /**
3658
- * Tooltip component.
3659
- *
3660
- * @param props Component props.
3661
- * @param ref Component ref.
3662
- * @return React element.
3663
- */
3664
- declare const Tooltip: Comp<TooltipProps, HTMLDivElement>;
3665
-
3666
3329
  /**
3667
3330
  * Uploader variants.
3668
3331
  */
@@ -3675,7 +3338,7 @@ type UploaderVariant = ValueOf$1<typeof UploaderVariant>;
3675
3338
  /**
3676
3339
  * Uploader sizes.
3677
3340
  */
3678
- type UploaderSize = Extract<Size$1, 'xl' | 'xxl'>;
3341
+ type UploaderSize = Extract<Size, 'xl' | 'xxl'>;
3679
3342
  /**
3680
3343
  * Extend native HTML input props with specialized `onChange` providing the a `File` array.
3681
3344
  */
@@ -3685,9 +3348,9 @@ interface FileInputProps extends Omit<React__default.ComponentProps<'input'>, 'o
3685
3348
  /**
3686
3349
  * Defines the props of the component.
3687
3350
  */
3688
- interface UploaderProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3351
+ interface UploaderProps extends GenericProps, HasTheme, HasAriaDisabled$1 {
3689
3352
  /** Image aspect ratio. */
3690
- aspectRatio?: AspectRatio$1;
3353
+ aspectRatio?: AspectRatio;
3691
3354
  /** Icon (SVG path). */
3692
3355
  icon?: string;
3693
3356
  /** Disabled state */
@@ -3715,11 +3378,11 @@ declare const Uploader: Comp<UploaderProps, HTMLElement>;
3715
3378
  /**
3716
3379
  * User block sizes.
3717
3380
  */
3718
- type UserBlockSize = Extract<Size$1, 'xs' | 's' | 'm' | 'l'>;
3381
+ type UserBlockSize = Extract<Size, 'xs' | 's' | 'm' | 'l'>;
3719
3382
  /**
3720
3383
  * Defines the props of the component.
3721
3384
  */
3722
- interface UserBlockProps extends GenericProps, HasTheme$1 {
3385
+ interface UserBlockProps extends GenericProps, HasTheme {
3723
3386
  /** Props to pass to the avatar. */
3724
3387
  avatarProps?: Omit<AvatarProps, 'alt'>;
3725
3388
  /** Additional fields used to describe the user. */
@@ -3760,7 +3423,7 @@ interface UserBlockProps extends GenericProps, HasTheme$1 {
3760
3423
  */
3761
3424
  declare const UserBlock: Comp<UserBlockProps, HTMLDivElement>;
3762
3425
 
3763
- type ThemeContextValue = Theme$1 | undefined;
3426
+ type ThemeContextValue = Theme | undefined;
3764
3427
  /** Provide a theme context to all children. */
3765
3428
  declare const ThemeProvider: React__default.FC<{
3766
3429
  value: ThemeContextValue;
@@ -3769,5 +3432,5 @@ declare const ThemeProvider: React__default.FC<{
3769
3432
  /** Get the theme in the current context. */
3770
3433
  declare function useTheme(): ThemeContextValue;
3771
3434
 
3772
- export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMPONENT_NAME, Checkbox, Chip, ChipGroup, 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, 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 };
3773
- export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, 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, NavigationProps, NotificationProps, Offset, 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, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, TooltipPlacement, TooltipProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
3435
+ export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, BaseButtonProps, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMBOBOX_OPTION_CLASSNAME, COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, ComboboxButton, ComboboxDivider, ComboboxInput, ComboboxListBoxProps, ComboboxOption, ComboboxOptionAction, ComboboxOptionMoreInfo, ComboboxOptionProps, ComboboxOptionSkeletonProps, ComboboxProps, ComboboxSection, CommentBlock, CommentBlockVariant, DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, 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, PopoverDialog, PopoverProps, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, SUB_COMPONENTS, 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 };
3436
+ export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, ButtonGroupProps, ButtonProps, CheckboxProps, ChipGroupProps, ChipProps, ComboboxButtonProps, ComboboxInputProps, ComboboxOptionComponentProps, ComboboxOptionMoreInfoProps, ComboboxSectionProps, 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, PopoverDialogProps, 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 };