@lumx/react 4.3.2-alpha.0 → 4.3.2-alpha.1

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,10 +1,10 @@
1
- import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Size as Size$1, ColorPalette as ColorPalette$1, Theme as Theme$1, GenericProps as GenericProps$1, Orientation as Orientation$1, Alignment as Alignment$1, AspectRatio, ColorWithVariants as ColorWithVariants$1, ColorVariant as ColorVariant$1, Typography as Typography$1, Emphasis as Emphasis$1, GlobalSize, TypographyInterface as TypographyInterface$1 } from '@lumx/core/js/constants';
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';
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, HasAriaDisabled as HasAriaDisabled$1, PartialBy, HasCloseMode, Falsy, HasClassName as HasClassName$1, HeadingElement as HeadingElement$1, HasRequiredLinkHref, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
4
+ import { GenericProps, HasTheme as HasTheme$1, ValueOf as ValueOf$1, HasAriaDisabled as HasAriaDisabled$1, HasCloseMode, Falsy, HasClassName as HasClassName$1, 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, InputHTMLAttributes, ComponentProps } from 'react';
7
+ import React__default, { Ref, ReactElement, ReactNode, SyntheticEvent, MouseEventHandler, KeyboardEventHandler, AriaAttributes, RefObject, CSSProperties, ImgHTMLAttributes, SetStateAction, Key, ElementType, ComponentProps } from 'react';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import { Selector } from '@lumx/core/js/types/Selector';
10
10
 
@@ -294,32 +294,6 @@ interface AvatarProps extends GenericProps, HasTheme$1 {
294
294
  */
295
295
  declare const Avatar: Comp<AvatarProps, HTMLDivElement>;
296
296
 
297
- /**
298
- * Defines the props of the component.
299
- */
300
- interface BadgeProps extends GenericProps {
301
- /** Badge content. */
302
- children?: ReactNode;
303
- /** Color variant. */
304
- color?: ColorPalette$1;
305
- }
306
- /**
307
- * Badge component.
308
- *
309
- * @param props Component props.
310
- * @param ref Component ref.
311
- * @return React element.
312
- */
313
- declare const Badge: Comp<BadgeProps, HTMLDivElement>;
314
-
315
- interface BadgeWrapperProps extends GenericProps {
316
- /** Badge. */
317
- badge: ReactElement;
318
- /** Node to display the badge on */
319
- children: ReactNode;
320
- }
321
- declare const BadgeWrapper: Comp<BadgeWrapperProps, HTMLDivElement>;
322
-
323
297
  /**
324
298
  * Alignments.
325
299
  */
@@ -335,14 +309,14 @@ declare const Alignment: {
335
309
  readonly start: "start";
336
310
  readonly top: "top";
337
311
  };
338
- type Alignment = ValueOf<typeof Alignment>;
312
+ type Alignment = ValueOf$1<typeof Alignment>;
339
313
  type VerticalAlignment = Extract<Alignment, 'top' | 'center' | 'bottom'>;
340
314
  type HorizontalAlignment = Extract<Alignment, 'right' | 'center' | 'left'>;
341
315
  declare const Theme: {
342
316
  readonly light: "light";
343
317
  readonly dark: "dark";
344
318
  };
345
- type Theme = ValueOf<typeof Theme>;
319
+ type Theme = ValueOf$1<typeof Theme>;
346
320
  declare const Size: {
347
321
  readonly xxs: "xxs";
348
322
  readonly xs: "xs";
@@ -357,18 +331,19 @@ declare const Size: {
357
331
  readonly big: "big";
358
332
  readonly huge: "huge";
359
333
  };
360
- type Size = ValueOf<typeof Size>;
334
+ type Size = ValueOf$1<typeof Size>;
335
+ type GlobalSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
361
336
  declare const Orientation: {
362
337
  readonly horizontal: "horizontal";
363
338
  readonly vertical: "vertical";
364
339
  };
365
- type Orientation = ValueOf<typeof Orientation>;
340
+ type Orientation = ValueOf$1<typeof Orientation>;
366
341
  declare const Emphasis: {
367
342
  readonly low: "low";
368
343
  readonly medium: "medium";
369
344
  readonly high: "high";
370
345
  };
371
- type Emphasis = ValueOf<typeof Emphasis>;
346
+ type Emphasis = ValueOf$1<typeof Emphasis>;
372
347
  /**
373
348
  * List of typographies that can't be customized.
374
349
  */
@@ -383,7 +358,7 @@ declare const TypographyInterface: {
383
358
  readonly headline: "headline";
384
359
  readonly display1: "display1";
385
360
  };
386
- type TypographyInterface = ValueOf<typeof TypographyInterface>;
361
+ type TypographyInterface = ValueOf$1<typeof TypographyInterface>;
387
362
  /**
388
363
  * List of typographies that can be customized (via CSS variables).
389
364
  */
@@ -401,7 +376,7 @@ declare const TypographyCustom: {
401
376
  readonly title5: "custom-title5";
402
377
  readonly title6: "custom-title6";
403
378
  };
404
- type TypographyCustom = ValueOf<typeof TypographyCustom>;
379
+ type TypographyCustom = ValueOf$1<typeof TypographyCustom>;
405
380
  /**
406
381
  * List of all typographies.
407
382
  */
@@ -431,6 +406,26 @@ declare const Typography: {
431
406
  readonly display1: "display1";
432
407
  };
433
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>;
434
429
  /**
435
430
  * Semantic info about the purpose of the component
436
431
  */
@@ -440,7 +435,7 @@ declare const Kind: {
440
435
  readonly warning: "warning";
441
436
  readonly error: "error";
442
437
  };
443
- type Kind = ValueOf<typeof Kind>;
438
+ type Kind = ValueOf$1<typeof Kind>;
444
439
  /**
445
440
  * All available white-space values
446
441
  * */
@@ -452,7 +447,7 @@ declare const WhiteSpace: {
452
447
  'pre-line': string;
453
448
  'break-spaces': string;
454
449
  };
455
- type WhiteSpace = ValueOf<typeof WhiteSpace>;
450
+ type WhiteSpace = ValueOf$1<typeof WhiteSpace>;
456
451
  /**
457
452
  * See SCSS variable $lumx-color-palette
458
453
  */
@@ -467,7 +462,7 @@ declare const ColorPalette: {
467
462
  readonly light: "light";
468
463
  readonly grey: "grey";
469
464
  };
470
- type ColorPalette = ValueOf<typeof ColorPalette>;
465
+ type ColorPalette = ValueOf$1<typeof ColorPalette>;
471
466
  /**
472
467
  * See SCSS variable $lumx-color-variants
473
468
  */
@@ -482,7 +477,7 @@ declare const ColorVariant: {
482
477
  readonly L6: "L6";
483
478
  readonly N: "N";
484
479
  };
485
- type ColorVariant = ValueOf<typeof ColorVariant>;
480
+ type ColorVariant = ValueOf$1<typeof ColorVariant>;
486
481
  /** ColorPalette with all possible color variant combination */
487
482
  type ColorWithVariants = ColorPalette | Exclude<`${ColorPalette}-${ColorVariant}`, `light-D${number}` | `dark-D${number}`>;
488
483
 
@@ -514,6 +509,9 @@ type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
514
509
  /** Union type of all text elements */
515
510
  type TextElement = 'span' | 'p' | HeadingElement;
516
511
 
512
+ /** Get types of the values of a record. */
513
+ type ValueOf<T extends Record<any, any>> = T[keyof T];
514
+
517
515
  /** Transform a string literal into kebab case */
518
516
  type KebabCase<S> = S extends `${infer C}${infer T}` ? T extends Uncapitalize<T> ? `${Uncapitalize<C>}${KebabCase<T>}` : `${Uncapitalize<C>}-${KebabCase<T>}` : S;
519
517
 
@@ -529,14 +527,70 @@ interface HasAriaDisabled {
529
527
  'aria-disabled'?: Booleanish;
530
528
  }
531
529
 
532
- type BaseClickableProps = {
533
- children?: JSXElement;
530
+ interface HasChecked<C = boolean> {
531
+ /** Component checked state. */
532
+ isChecked?: C;
533
+ /** @alias isChecked */
534
+ checked?: boolean;
535
+ }
536
+
537
+ interface HasDisabled {
538
+ /** Whether the component is disabled or not. */
534
539
  isDisabled?: boolean;
540
+ /** @alias isDisabled */
535
541
  disabled?: boolean;
536
- 'aria-disabled'?: Booleanish;
542
+ }
543
+
544
+ /**
545
+ * Defines the props of the component.
546
+ */
547
+ interface BadgeProps$1 extends HasClassName {
548
+ /** Badge content. */
549
+ children?: JSXElement;
550
+ /** Color variant. */
551
+ color?: ColorPalette;
552
+ /** reference to the root element */
553
+ ref?: CommonRef;
554
+ }
555
+
556
+ /**
557
+ * Defines the props of the component.
558
+ */
559
+ interface BadgeProps extends Omit<BadgeProps$1, 'children'>, GenericProps {
560
+ /** Badge content. */
561
+ children?: ReactNode;
562
+ }
563
+ /**
564
+ * Badge component.
565
+ *
566
+ * @param props Component props.
567
+ * @param ref Component ref.
568
+ * @return React element.
569
+ */
570
+ declare const Badge: Comp<BadgeProps, HTMLDivElement>;
571
+
572
+ interface BadgeWrapperProps$1 extends HasClassName {
573
+ /** Badge element to display */
574
+ badge?: JSXElement;
575
+ /** Content to wrap with badge */
576
+ children?: JSXElement;
577
+ /** Ref forwarding */
578
+ ref?: CommonRef;
579
+ }
580
+
581
+ interface BadgeWrapperProps extends GenericProps, Omit<BadgeWrapperProps$1, 'children' | 'badge'> {
582
+ /** Badge element to display */
583
+ badge: ReactElement;
584
+ /** Content to wrap with badge */
585
+ children: ReactNode;
586
+ }
587
+ declare const BadgeWrapper: Comp<BadgeWrapperProps, HTMLDivElement>;
588
+
589
+ interface BaseClickableProps extends HasDisabled, HasAriaDisabled {
590
+ children?: JSXElement;
537
591
  onClick?: (event?: any) => void;
538
592
  ref?: CommonRef;
539
- };
593
+ }
540
594
 
541
595
  /**
542
596
  * Button size definition.
@@ -641,7 +695,7 @@ interface IconButtonProps$1 extends BaseButtonProps {
641
695
  title?: string;
642
696
  }
643
697
 
644
- interface IconButtonProps extends GenericProps, Omit<IconButtonProps$1, 'title'> {
698
+ interface IconButtonProps extends GenericProps, Omit<IconButtonProps$1, 'title' | 'children'> {
645
699
  /**
646
700
  * Props to pass to the tooltip.
647
701
  * If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
@@ -685,16 +739,11 @@ declare const ButtonGroup: Comp<ButtonGroupProps, HTMLDivElement>;
685
739
  /**
686
740
  * Defines the props of the component.
687
741
  */
688
- interface CheckboxProps$1 extends HasTheme, HasClassName, HasAriaDisabled {
742
+ interface CheckboxProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked<boolean | 'intermediate'> {
689
743
  /** Helper text. */
690
744
  helper?: string;
691
745
  /** Native input id property. */
692
746
  id?: string;
693
- /** Whether it is checked or not or intermediate. */
694
- isChecked?: boolean | 'intermediate';
695
- checked?: boolean;
696
- /** Whether the component is disabled or not. */
697
- isDisabled?: boolean;
698
747
  /** Label text. */
699
748
  label?: JSXElement;
700
749
  /** Native input name property. */
@@ -849,423 +898,6 @@ interface SelectionChipGroupProps<O> extends GenericProps {
849
898
  */
850
899
  declare const SelectionChipGroup: <O>({ onChange, value, getOptionId, getOptionName, inputRef, inputLabel, renderChip, theme, isDisabled, chipTooltipLabel, label, ...forwardedProps }: SelectionChipGroupProps<O>) => react_jsx_runtime.JSX.Element;
851
900
 
852
- /**
853
- * The source of the combobox option selection
854
- * It could either be on click / touch or keyboard selection
855
- */
856
- type ComboboxOptionSelectEventSource = 'keyboard' | 'click';
857
- type ComboboxSelectionType = 'single' | 'multiple';
858
- type BaseLoadingStatus = 'loading' | 'loadingMore' | 'idle' | 'error' | 'debouncing' | 'filtering' | 'empty';
859
- /**
860
- * Options related types
861
- */
862
- /** All possible values a combobox option can have */
863
- type BaseComboboxOptionProps<O = any> = {
864
- /**
865
- * A unique id to track the option
866
- */
867
- id: string;
868
- /**
869
- * Whether the current input value should filter this option.
870
- */
871
- filterFromInput?: boolean;
872
- /**
873
- * Callback to call when the option is selected.
874
- * This should only be used to add custom actions on options.
875
- * For most cases, the "onSelect" on the Combobox root component should be enough.
876
- */
877
- onSelect?: (option: O, eventSource?: ComboboxOptionSelectEventSource) => void;
878
- /**
879
- * Additional data to link to the option. This can be useful to retrieve with `onSelect`.
880
- */
881
- data?: O;
882
- /**
883
- * Whether the option is disabled
884
- */
885
- isDisabled?: boolean;
886
- /**
887
- * The components to use to visually customize options.
888
- * ! Options must not have interactive elements.
889
- * ! If you need additional actions, you might need to create custom options and search how to
890
- * ! make them accessible.
891
- */
892
- children?: ReactNode;
893
- /**
894
- * The text value the option has.
895
- * This is the value used to filter the options by when manual filtering is disabled
896
- * and that will be used as input value when an option is selected
897
- */
898
- textValue?: string;
899
- /**
900
- * Element to display before the content of the option.
901
- * ! Options must not have interactive elements.
902
- * ! If you need additional actions, you might need to create custom options and search how to
903
- * ! make them accessible.
904
- */
905
- before?: ReactNode;
906
- /**
907
- * Element to display after the content of the option.
908
- * ! Options must not have interactive elements.
909
- * ! If you need additional actions, you might need to create custom options and search how to
910
- * ! make them accessible.
911
- */
912
- after?: ReactNode;
913
- /**
914
- * Size of the list item.
915
- * Default to tiny
916
- */
917
- size?: ListItemSize;
918
- /**
919
- * Fill to activate a tooltip on mouse over
920
- */
921
- tooltipProps?: Partial<TooltipProps>;
922
- };
923
- /**
924
- * Props for when an option has no children.
925
- * In these case, we need at least the text value to know what to display
926
- * */
927
- type TextValueOnly<O = any> = BaseComboboxOptionProps<O> & {
928
- children?: never;
929
- textValue: string;
930
- };
931
- /**
932
- * Props for when an option has a react element as string
933
- * In that case, we can use the children as the textValue without having
934
- * to set a manual props.
935
- * The props is still available to have a text value different than the displayed value.
936
- */
937
- type StringOption<O = any> = BaseComboboxOptionProps<O> & {
938
- children: ReactText;
939
- textValue?: string;
940
- };
941
- /**
942
- * Props for when an option has a react element as children
943
- * In that case, we cannot know what the actual value of the
944
- * option is, so the `textValue` prop has to be set.
945
- */
946
- type NodeOption<O = any> = BaseComboboxOptionProps<O> & {
947
- children: Exclude<ReactNode, ReactText>;
948
- textValue: string;
949
- };
950
- /** Props for the ComboboxOption component */
951
- type ComboboxOptionProps<O = any> = TextValueOnly<O> | StringOption<O> | NodeOption<O>;
952
- /** Shared data between all combobox option types. */
953
- interface BaseRegisteredComboboxOption {
954
- id: string;
955
- /** The id that was generated for this option */
956
- generatedId: string;
957
- /** Whether the "option" is an action */
958
- isAction?: boolean;
959
- /** Whether the "option" is disabled */
960
- isDisabled?: boolean;
961
- }
962
- /** Combobox value */
963
- interface RegisteredComboboxOptionValue<O = any> extends BaseRegisteredComboboxOption, Pick<ComboboxOptionProps<O>, 'data' | 'filterFromInput' | 'textValue' | 'onSelect'> {
964
- /** The section the option is a child of. */
965
- sectionId?: string;
966
- /** Whether the "option" is an action */
967
- isAction?: never;
968
- }
969
- type OnComboboxSelect<O = any> = (option: RegisteredComboboxOptionValue<O>) => void;
970
- type OnComboboxInputChange = TextFieldProps['onChange'];
971
- type ComboboxTranslations = {
972
- clearLabel: string;
973
- showSuggestionsLabel: string;
974
- loadingLabel: string;
975
- noResultsForInputLabel: (input?: string) => string;
976
- serviceUnavailableLabel: string;
977
- tryReloadLabel: string;
978
- nbOptionsLabel: (options: number) => string;
979
- };
980
- /** Props for the main combobox component. */
981
- type ComboboxProps<O = any> = {
982
- /**
983
- * HTML id
984
- */
985
- id?: string;
986
- /**
987
- * The current option id to set as selected.
988
- * If omitted, the local state will be used instead;
989
- */
990
- selectedIds?: Array<string | number>;
991
- /**
992
- * The current value for the combobox input.
993
- * If omitted, the input is controlled locally */
994
- inputValue?: string;
995
- /**
996
- * The default value to set on the input.
997
- * Use this if you want to initialize the input with a value and not control it
998
- */
999
- defaultInputValue?: string;
1000
- /**
1001
- * Whether the options should be automatically filtered or not.
1002
- * By default, the combobox will try to filter the options from the current input value
1003
- * using a "contains" strategy.
1004
- * If this is `false`, the option will not be automatically filtered and must be manually filtered by the parent.
1005
- * Useful for asynchronous comboboxes.
1006
- */
1007
- autoFilter: boolean;
1008
- /**
1009
- * Whether the combobox should open on focus
1010
- */
1011
- openOnFocus?: boolean;
1012
- /**
1013
- * Whether the combobox should open on click
1014
- */
1015
- openOnClick?: boolean;
1016
- /**
1017
- * Status of the combobox
1018
- */
1019
- status?: BaseLoadingStatus;
1020
- /**
1021
- * Callback when the input changes.
1022
- */
1023
- onInputChange?: OnComboboxInputChange;
1024
- /**
1025
- * Callback for when an option is selected
1026
- */
1027
- onSelect?: OnComboboxSelect<O>;
1028
- /**
1029
- * Callback called when the combobox opens
1030
- */
1031
- onOpen?: (options: {
1032
- currentValue?: string;
1033
- manual: boolean;
1034
- }) => void;
1035
- /**
1036
- * The combobox components to render.
1037
- * Must be one of the exposed components (Combobox.Input, Combobox.ListBox etc...)
1038
- */
1039
- children: ReactNode;
1040
- /**
1041
- * The combobox can have a specific selection type:
1042
- * - Single: only one item is selected
1043
- * - Multiple: several items can be selected (this impacts the combobox list, which will now not close when selectiong an option)
1044
- */
1045
- selectionType?: ComboboxSelectionType;
1046
- /**
1047
- * Whether the error state should be displayed when the status is in error.
1048
- * @default `true` if `status` is defined
1049
- */
1050
- showErrorState?: boolean;
1051
- /**
1052
- * Whether the empty state should be displayed when there is no results.
1053
- * @default `true` if `autoFilter=false`
1054
- */
1055
- showEmptyState?: boolean;
1056
- /** custom className */
1057
- className?: string;
1058
- /** translations to be used across the combobox */
1059
- translations: ComboboxTranslations;
1060
- };
1061
-
1062
- interface ComboboxButtonProps extends GenericProps {
1063
- /**
1064
- * Label of the combobox button trigger.
1065
- */
1066
- label: string;
1067
- /**
1068
- * Controls how the `label` is displayed:
1069
- * - `show-selection` (default): Displays the current selection as the label, or falls back to the provided `label`
1070
- * if there is no selection. The `label` will still appear as a tooltip in this mode.
1071
- * - `show-label`: Always displays the provided `label` as the visual label.
1072
- * - `show-tooltip`: Always displays the provided `label` as the visual a tooltip.
1073
- * (useful for IconButton combobox)
1074
- * In all cases, the given `label` is the ARIA label in use
1075
- */
1076
- labelDisplayMode?: 'show-selection' | 'show-label' | 'show-tooltip';
1077
- /**
1078
- * Focus event handler
1079
- */
1080
- onFocus?: React__default.FocusEventHandler;
1081
- /**
1082
- * Blur event handler
1083
- */
1084
- onBlur?: React__default.FocusEventHandler;
1085
- /** Customize the root element. */
1086
- as?: React__default.ElementType;
1087
- }
1088
-
1089
- interface ComboboxOptionSkeletonProps {
1090
- className?: string;
1091
- index?: number;
1092
- children?: ReactNode | ((options: {
1093
- index?: number;
1094
- }) => ReactNode);
1095
- before?: ComboboxOptionProps['before'];
1096
- after?: ComboboxOptionProps['after'];
1097
- size?: ComboboxOptionProps['size'];
1098
- }
1099
-
1100
- interface ComboboxListSkeletonProps {
1101
- isLoadingMore?: boolean;
1102
- children?: ComboboxOptionSkeletonProps['children'];
1103
- }
1104
-
1105
- interface ComboboxListBoxProps extends GenericProps$1, React__default.ComponentProps<'ul'> {
1106
- /** Options display in the combobox */
1107
- children?: ReactNode;
1108
- /**
1109
- * Component to use as skeleton for each option instead of the default one.
1110
- * Can either be a react node or a component that receives the index as prop
1111
- */
1112
- renderItemSkeleton?: ComboboxListSkeletonProps['children'];
1113
- /** Label for the list */
1114
- label?: string;
1115
- /** Props of the popover element. */
1116
- popoverProps?: Partial<PopoverProps>;
1117
- /**
1118
- * An element to display at the bottom of the listbox.
1119
- * No interactive element must be set here as they will not be accessible.
1120
- */
1121
- footer?: ReactNode;
1122
- /** List ref */
1123
- listRef?: React__default.Ref<HTMLElement>;
1124
- }
1125
-
1126
- /**
1127
- * All TextField props that are extended.
1128
- * We can't use "Omit" here as it is not compatible with the "GenericProps" type from the DS,
1129
- * meaning we would loose all props.
1130
- *
1131
- */
1132
- 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'>;
1133
- type ComboboxInputProps = ExtendedTextFieldProps & {
1134
- /** Whether the toggle button should be hidden */
1135
- hideToggle?: boolean;
1136
- /** Activate the clear button */
1137
- hasClearButton?: boolean;
1138
- /** Clear button forwarded props */
1139
- clearButtonProps?: Omit<TextFieldProps['clearButtonProps'], 'label'>;
1140
- /** Make input read only */
1141
- readOnly?: boolean;
1142
- };
1143
-
1144
- interface ComboboxSectionProps {
1145
- /** Forwarded class name */
1146
- className?: string;
1147
- /** The title of the section */
1148
- title?: string;
1149
- /** Whether the section should be displayed as loading */
1150
- isLoading?: boolean;
1151
- /** Custom skeletons to use for loading state */
1152
- renderItemSkeleton?: ComboboxListSkeletonProps['children'];
1153
- /** Options to display */
1154
- children: ReactNode;
1155
- }
1156
-
1157
- /**
1158
- * Props for ComboboxOption with additional generic properties.
1159
- */
1160
- interface ComboboxOptionComponentProps<O extends object = any> extends GenericProps, Omit<ComboboxOptionProps<O>, 'as'> {
1161
- /** Customize the root element. */
1162
- as?: React__default.ElementType;
1163
- }
1164
-
1165
- declare const SUB_COMPONENTS: {
1166
- /**
1167
- * Option to set within a combobox list.
1168
- *
1169
- * @family Combobox
1170
- * @param ComboboxOptionProps
1171
- * @returns ComboboxOption
1172
- */
1173
- readonly Option: Comp<ComboboxOptionComponentProps<any>, HTMLElement>;
1174
- /**
1175
- * Skeleton for a combobox option.
1176
- * A typography skeleton is rendered by default but can be overridden by passing children.
1177
- */
1178
- readonly OptionSkeleton: ({ className, index, before, after, size, children, }: ComboboxOptionSkeletonProps) => react_jsx_runtime.JSX.Element;
1179
- /**
1180
- * Section for options of a Combobox.
1181
- *
1182
- * @family Combobox
1183
- * @param ComboboxSectionProps
1184
- * @returns ComboboxSection
1185
- */
1186
- readonly Section: ({ children, ...props }: ComboboxSectionProps) => react_jsx_runtime.JSX.Element;
1187
- /**
1188
- * Combobox input trigger.
1189
- *
1190
- * @family Combobox
1191
- */
1192
- readonly Input: ({ hideToggle, inputRef, textFieldRef, afterElement, onFocus, onBlur, onKeyDown, clearButtonProps, hasClearButton, theme, ...textFieldProps }: ComboboxInputProps) => react_jsx_runtime.JSX.Element;
1193
- /**
1194
- * The listbox containing the combobox's options.
1195
- *
1196
- * @family Combobox
1197
- * @param ComboboxListBoxProps
1198
- * @returns ComboboxListBox
1199
- */
1200
- readonly List: ({ children, renderItemSkeleton, label, popoverProps, footer, listRef, ...forwardedProps }: ComboboxListBoxProps) => react_jsx_runtime.JSX.Element;
1201
- /**
1202
- * Combobox button trigger.
1203
- *
1204
- * @family Combobox
1205
- */
1206
- readonly Button: Comp<ComboboxButtonProps, HTMLElement>;
1207
- };
1208
- /**
1209
- *
1210
- * A Combobox is a combination of two components:
1211
- * * An input to enter the user's value
1212
- * * A popover with a list of suggestions to fill the value.
1213
- *
1214
- * These two components are included via the Combobox.Input and Combobox.ListBox components.
1215
- *
1216
- * In its simplest implementation the component will automatically filter the given options
1217
- * from the value of the input and fill the input with the textValue of the selected option.
1218
- *
1219
- * Props are available for more complex implementations.
1220
- *
1221
- * @family Combobox
1222
- * @param ComboboxProps
1223
- * @returns Combobox
1224
- */
1225
- 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) & {
1226
- /**
1227
- * Option to set within a combobox list.
1228
- *
1229
- * @family Combobox
1230
- * @param ComboboxOptionProps
1231
- * @returns ComboboxOption
1232
- */
1233
- readonly Option: Comp<ComboboxOptionComponentProps<any>, HTMLElement>;
1234
- /**
1235
- * Skeleton for a combobox option.
1236
- * A typography skeleton is rendered by default but can be overridden by passing children.
1237
- */
1238
- readonly OptionSkeleton: ({ className, index, before, after, size, children, }: ComboboxOptionSkeletonProps) => react_jsx_runtime.JSX.Element;
1239
- /**
1240
- * Section for options of a Combobox.
1241
- *
1242
- * @family Combobox
1243
- * @param ComboboxSectionProps
1244
- * @returns ComboboxSection
1245
- */
1246
- readonly Section: ({ children, ...props }: ComboboxSectionProps) => react_jsx_runtime.JSX.Element;
1247
- /**
1248
- * Combobox input trigger.
1249
- *
1250
- * @family Combobox
1251
- */
1252
- readonly Input: ({ hideToggle, inputRef, textFieldRef, afterElement, onFocus, onBlur, onKeyDown, clearButtonProps, hasClearButton, theme, ...textFieldProps }: ComboboxInputProps) => react_jsx_runtime.JSX.Element;
1253
- /**
1254
- * The listbox containing the combobox's options.
1255
- *
1256
- * @family Combobox
1257
- * @param ComboboxListBoxProps
1258
- * @returns ComboboxListBox
1259
- */
1260
- readonly List: ({ children, renderItemSkeleton, label, popoverProps, footer, listRef, ...forwardedProps }: ComboboxListBoxProps) => react_jsx_runtime.JSX.Element;
1261
- /**
1262
- * Combobox button trigger.
1263
- *
1264
- * @family Combobox
1265
- */
1266
- readonly Button: Comp<ComboboxButtonProps, HTMLElement>;
1267
- };
1268
-
1269
901
  /**
1270
902
  * Comment block variants.
1271
903
  */
@@ -1273,7 +905,7 @@ declare const CommentBlockVariant: {
1273
905
  readonly indented: "indented";
1274
906
  readonly linear: "linear";
1275
907
  };
1276
- type CommentBlockVariant = ValueOf<typeof CommentBlockVariant>;
908
+ type CommentBlockVariant = ValueOf$1<typeof CommentBlockVariant>;
1277
909
  /**
1278
910
  * Defines the props of the component.
1279
911
  */
@@ -1468,7 +1100,15 @@ declare const Dialog: Comp<DialogProps, HTMLDivElement>;
1468
1100
  /**
1469
1101
  * Defines the props of the component.
1470
1102
  */
1471
- interface DividerProps extends GenericProps, HasTheme$1 {
1103
+ interface DividerProps$1 extends HasTheme, HasClassName {
1104
+ /** reference to the root element */
1105
+ ref?: CommonRef;
1106
+ }
1107
+
1108
+ /**
1109
+ * Defines the props of the component.
1110
+ */
1111
+ interface DividerProps extends GenericProps, DividerProps$1 {
1472
1112
  }
1473
1113
  /**
1474
1114
  * Divider component.
@@ -1513,7 +1153,7 @@ declare const Placement: {
1513
1153
  readonly LEFT_END: "left-end";
1514
1154
  readonly LEFT_START: "left-start";
1515
1155
  };
1516
- type Placement = ValueOf<typeof Placement>;
1156
+ type Placement = ValueOf$1<typeof Placement>;
1517
1157
  /**
1518
1158
  * Offset of the popover.
1519
1159
  */
@@ -1535,7 +1175,7 @@ declare const FitAnchorWidth: {
1535
1175
  readonly MIN_WIDTH: "minWidth";
1536
1176
  readonly WIDTH: "width";
1537
1177
  };
1538
- type FitAnchorWidth = ValueOf<typeof FitAnchorWidth>;
1178
+ type FitAnchorWidth = ValueOf$1<typeof FitAnchorWidth>;
1539
1179
 
1540
1180
  /**
1541
1181
  * Defines the props of the component.
@@ -1849,7 +1489,7 @@ declare const GenericBlockGapSize: Pick<{
1849
1489
  readonly big: "big";
1850
1490
  readonly huge: "huge";
1851
1491
  }, "medium" | "tiny" | "regular" | "big" | "huge">;
1852
- type GenericBlockGapSize = ValueOf<typeof GenericBlockGapSize>;
1492
+ type GenericBlockGapSize = ValueOf$1<typeof GenericBlockGapSize>;
1853
1493
 
1854
1494
  interface GenericBlockProps extends FlexBoxProps {
1855
1495
  /**
@@ -2105,7 +1745,7 @@ declare module 'react' {
2105
1745
  * All available aspect ratios.
2106
1746
  * @deprecated
2107
1747
  */
2108
- declare const ThumbnailAspectRatio: Record<string, AspectRatio>;
1748
+ declare const ThumbnailAspectRatio: Record<string, AspectRatio$1>;
2109
1749
  /**
2110
1750
  * Thumbnail sizes.
2111
1751
  */
@@ -2117,7 +1757,7 @@ declare const ThumbnailVariant: {
2117
1757
  readonly squared: "squared";
2118
1758
  readonly rounded: "rounded";
2119
1759
  };
2120
- type ThumbnailVariant = ValueOf<typeof ThumbnailVariant>;
1760
+ type ThumbnailVariant = ValueOf$1<typeof ThumbnailVariant>;
2121
1761
  /**
2122
1762
  * Thumbnail object fit.
2123
1763
  */
@@ -2125,7 +1765,7 @@ declare const ThumbnailObjectFit: {
2125
1765
  readonly cover: "cover";
2126
1766
  readonly contain: "contain";
2127
1767
  };
2128
- type ThumbnailObjectFit = ValueOf<typeof ThumbnailObjectFit>;
1768
+ type ThumbnailObjectFit = ValueOf$1<typeof ThumbnailObjectFit>;
2129
1769
 
2130
1770
  type ImgHTMLProps = ImgHTMLAttributes<HTMLImageElement>;
2131
1771
  /**
@@ -2137,7 +1777,7 @@ interface ThumbnailProps extends GenericProps, HasTheme$1 {
2137
1777
  /** Image alternative text. */
2138
1778
  alt: string;
2139
1779
  /** Image aspect ratio. */
2140
- aspectRatio?: AspectRatio;
1780
+ aspectRatio?: AspectRatio$1;
2141
1781
  /** Badge. */
2142
1782
  badge?: ReactElement | Falsy;
2143
1783
  /** Image cross origin resource policy. */
@@ -2209,7 +1849,7 @@ declare const ImageBlockCaptionPosition: {
2209
1849
  readonly below: "below";
2210
1850
  readonly over: "over";
2211
1851
  };
2212
- type ImageBlockCaptionPosition = ValueOf<typeof ImageBlockCaptionPosition>;
1852
+ type ImageBlockCaptionPosition = ValueOf$1<typeof ImageBlockCaptionPosition>;
2213
1853
  /**
2214
1854
  * Image block sizes.
2215
1855
  */
@@ -2787,7 +2427,7 @@ declare const ProgressVariant: {
2787
2427
  readonly linear: "linear";
2788
2428
  readonly circular: "circular";
2789
2429
  };
2790
- type ProgressVariant = ValueOf<typeof ProgressVariant>;
2430
+ type ProgressVariant = ValueOf$1<typeof ProgressVariant>;
2791
2431
  /**
2792
2432
  * Defines the props of the component.
2793
2433
  */
@@ -2945,27 +2585,33 @@ declare const ProgressTrackerStepPanel: Comp<ProgressTrackerStepPanelProps, HTML
2945
2585
  /**
2946
2586
  * Defines the props of the component.
2947
2587
  */
2948
- interface RadioButtonProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
2588
+ interface RadioButtonProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
2949
2589
  /** Helper text. */
2950
2590
  helper?: string;
2951
2591
  /** Native input id property. */
2952
2592
  id?: string;
2953
- /** Native input ref. */
2954
- inputRef?: React.Ref<HTMLInputElement>;
2955
- /** Whether it is checked or not. */
2956
- isChecked?: boolean;
2957
- /** Whether the component is disabled or not. */
2958
- isDisabled?: boolean;
2959
2593
  /** Label content. */
2960
- label?: ReactNode;
2594
+ label?: JSXElement;
2961
2595
  /** Native input name property. */
2962
2596
  name?: string;
2963
2597
  /** Native input value property. */
2964
2598
  value?: string;
2965
- /** On change callback. */
2966
- onChange?(value?: string, name?: string, event?: SyntheticEvent): void;
2967
2599
  /** optional props for input */
2968
- inputProps?: InputHTMLAttributes<HTMLInputElement>;
2600
+ inputProps?: Record<string, any>;
2601
+ /** Native input ref. */
2602
+ inputRef?: CommonRef;
2603
+ /** Native input id. */
2604
+ inputId: string;
2605
+ /** On change callback. */
2606
+ onChange?(value?: string, name?: string, event?: any): void;
2607
+ /** reference to the root element */
2608
+ ref?: CommonRef;
2609
+ }
2610
+
2611
+ /**
2612
+ * Defines the props of the component.
2613
+ */
2614
+ interface RadioButtonProps extends GenericProps, Omit<RadioButtonProps$1, 'inputId'> {
2969
2615
  }
2970
2616
  /**
2971
2617
  * RadioButton component.
@@ -2999,7 +2645,7 @@ declare const SelectVariant: {
2999
2645
  readonly input: "input";
3000
2646
  readonly chip: "chip";
3001
2647
  };
3002
- type SelectVariant = ValueOf<typeof SelectVariant>;
2648
+ type SelectVariant = ValueOf$1<typeof SelectVariant>;
3003
2649
  interface CoreSelectProps extends GenericProps, HasTheme$1 {
3004
2650
  /** Props to pass to the clear button (minus those already set by the Select props). If not specified, the button won't be displayed. */
3005
2651
  clearButtonProps?: Pick<IconButtonProps, 'label'> & Omit<IconButtonProps, 'label' | 'onClick' | 'icon' | 'emphasis'>;
@@ -3132,20 +2778,14 @@ declare const SideNavigationItem: Comp<SideNavigationItemProps, HTMLLIElement>;
3132
2778
  /**
3133
2779
  * Defines the props of the component.
3134
2780
  */
3135
- interface SkeletonCircleProps extends GenericProps, HasTheme$1 {
2781
+ interface SkeletonCircleProps$1 extends HasTheme, HasClassName {
3136
2782
  /** Size variant. */
3137
2783
  size: GlobalSize;
3138
2784
  /** The color of the skeleton. */
3139
- color?: ColorPalette$1;
2785
+ color?: ColorPalette;
2786
+ /** Reference to the root element. */
2787
+ ref?: CommonRef;
3140
2788
  }
3141
- /**
3142
- * SkeletonCircle component.
3143
- *
3144
- * @param props Component props.
3145
- * @param ref Component ref.
3146
- * @return React element.
3147
- */
3148
- declare const SkeletonCircle: Comp<SkeletonCircleProps, HTMLDivElement>;
3149
2789
 
3150
2790
  /**
3151
2791
  * Skeleton variants.
@@ -3159,7 +2799,7 @@ type SkeletonRectangleVariant = ValueOf<typeof SkeletonRectangleVariant>;
3159
2799
  /**
3160
2800
  * Defines the props of the component.
3161
2801
  */
3162
- interface SkeletonRectangleProps extends GenericProps, HasTheme$1 {
2802
+ interface SkeletonRectangleProps$1 extends HasTheme, HasClassName {
3163
2803
  /** Aspect ratio (use with width and not height). */
3164
2804
  aspectRatio?: Extract<AspectRatio, 'square' | 'horizontal' | 'vertical' | 'wide'>;
3165
2805
  /** Height size. */
@@ -3169,7 +2809,45 @@ interface SkeletonRectangleProps extends GenericProps, HasTheme$1 {
3169
2809
  /** Width size. */
3170
2810
  width?: GlobalSize;
3171
2811
  /** The color of the skeleton. */
3172
- color?: ColorPalette$1;
2812
+ color?: ColorPalette;
2813
+ /** Reference to the root element. */
2814
+ ref?: CommonRef;
2815
+ }
2816
+
2817
+ /**
2818
+ * Defines the props of the component.
2819
+ */
2820
+ interface SkeletonTypographyProps$1 extends HasTheme, HasClassName {
2821
+ /** Typography variant. */
2822
+ typography: TypographyInterface;
2823
+ /** Width CSS property. */
2824
+ width?: CSSProperties['width'];
2825
+ /** The color of the skeleton. */
2826
+ color?: ColorPalette;
2827
+ /** Reference to the root element. */
2828
+ ref?: CommonRef;
2829
+ /** Style object. */
2830
+ style?: CSSProperties;
2831
+ }
2832
+
2833
+ /**
2834
+ * Defines the props of the component.
2835
+ */
2836
+ interface SkeletonCircleProps extends GenericProps, SkeletonCircleProps$1 {
2837
+ }
2838
+ /**
2839
+ * SkeletonCircle component.
2840
+ *
2841
+ * @param props Component props.
2842
+ * @param ref Component ref.
2843
+ * @return React element.
2844
+ */
2845
+ declare const SkeletonCircle: Comp<SkeletonCircleProps, HTMLDivElement>;
2846
+
2847
+ /**
2848
+ * Defines the props of the component.
2849
+ */
2850
+ interface SkeletonRectangleProps extends GenericProps, SkeletonRectangleProps$1 {
3173
2851
  }
3174
2852
  /**
3175
2853
  * SkeletonRectangle component.
@@ -3183,13 +2861,7 @@ declare const SkeletonRectangle: Comp<SkeletonRectangleProps, HTMLDivElement>;
3183
2861
  /**
3184
2862
  * Defines the props of the component.
3185
2863
  */
3186
- interface SkeletonTypographyProps extends GenericProps, HasTheme$1 {
3187
- /** Typography variant. */
3188
- typography: TypographyInterface$1;
3189
- /** Width CSS property. */
3190
- width?: CSSProperties['width'];
3191
- /** The color of the skeleton. */
3192
- color?: ColorPalette$1;
2864
+ interface SkeletonTypographyProps extends GenericProps, SkeletonTypographyProps$1 {
3193
2865
  }
3194
2866
  /**
3195
2867
  * SkeletonTypography component.
@@ -3257,7 +2929,7 @@ declare const SlideMode: {
3257
2929
  /** Move slides native scroll snap (available only on supported browsers) */
3258
2930
  readonly scrollSnap: "scroll-snap";
3259
2931
  };
3260
- type SlideMode = ValueOf<typeof SlideMode>;
2932
+ type SlideMode = ValueOf$1<typeof SlideMode>;
3261
2933
 
3262
2934
  /**
3263
2935
  * Defines the props of the component.
@@ -3456,25 +3128,37 @@ declare const Slides: Comp<SlidesProps, HTMLDivElement>;
3456
3128
  /**
3457
3129
  * Defines the props of the component.
3458
3130
  */
3459
- interface SwitchProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3131
+ interface SwitchProps$1 extends HasTheme, HasClassName, HasAriaDisabled, HasDisabled, HasChecked {
3460
3132
  /** Helper text. */
3461
3133
  helper?: string;
3462
- /** Whether it is checked or not. */
3463
- isChecked?: boolean;
3464
- /** Whether the component is disabled or not. */
3465
- isDisabled?: boolean;
3134
+ /** Native input id property. */
3135
+ id?: string;
3136
+ /** Label text. */
3137
+ label?: JSXElement;
3466
3138
  /** Native input name property. */
3467
3139
  name?: string;
3468
- /** Position of the switch relative to the label. */
3469
- position?: Extract<Alignment$1, 'right' | 'left'>;
3470
3140
  /** Native input value property. */
3471
3141
  value?: string;
3472
- /** On change callback. */
3473
- onChange?(isChecked: boolean, value?: string, name?: string, event?: SyntheticEvent): void;
3474
3142
  /** optional props for input */
3475
- inputProps?: InputHTMLAttributes<HTMLInputElement>;
3476
- /** Children */
3477
- children?: React.ReactNode;
3143
+ inputProps?: Record<string, any>;
3144
+ /** Native input ref. */
3145
+ inputRef?: CommonRef;
3146
+ /** Native input id. */
3147
+ inputId: string;
3148
+ /** On change callback. */
3149
+ onChange?(isChecked: boolean, value?: string, name?: string, event?: any): void;
3150
+ /** Position of the switch relative to the label. */
3151
+ position?: 'left' | 'right';
3152
+ /** reference to the root element */
3153
+ ref?: CommonRef;
3154
+ }
3155
+
3156
+ /**
3157
+ * Defines the props of the component.
3158
+ */
3159
+ interface SwitchProps extends GenericProps, Omit<SwitchProps$1, 'inputId' | 'label'> {
3160
+ /** Children (label content). */
3161
+ children?: React__default.ReactNode;
3478
3162
  }
3479
3163
  /**
3480
3164
  * Switch component.
@@ -3528,7 +3212,7 @@ declare const ThOrder: {
3528
3212
  readonly asc: "asc";
3529
3213
  readonly desc: "desc";
3530
3214
  };
3531
- type ThOrder = ValueOf<typeof ThOrder>;
3215
+ type ThOrder = ValueOf$1<typeof ThOrder>;
3532
3216
  /**
3533
3217
  * Table cell variants.
3534
3218
  */
@@ -3536,7 +3220,7 @@ declare const TableCellVariant: {
3536
3220
  readonly body: "body";
3537
3221
  readonly head: "head";
3538
3222
  };
3539
- type TableCellVariant = ValueOf<typeof TableCellVariant>;
3223
+ type TableCellVariant = ValueOf$1<typeof TableCellVariant>;
3540
3224
  /**
3541
3225
  * Defines the props of the component.
3542
3226
  */
@@ -3872,7 +3556,7 @@ declare const UploaderVariant: {
3872
3556
  readonly rounded: "rounded";
3873
3557
  readonly circle: "circle";
3874
3558
  };
3875
- type UploaderVariant = ValueOf<typeof UploaderVariant>;
3559
+ type UploaderVariant = ValueOf$1<typeof UploaderVariant>;
3876
3560
  /**
3877
3561
  * Uploader sizes.
3878
3562
  */
@@ -3888,7 +3572,7 @@ interface FileInputProps extends Omit<React__default.ComponentProps<'input'>, 'o
3888
3572
  */
3889
3573
  interface UploaderProps extends GenericProps, HasTheme$1, HasAriaDisabled$1 {
3890
3574
  /** Image aspect ratio. */
3891
- aspectRatio?: AspectRatio;
3575
+ aspectRatio?: AspectRatio$1;
3892
3576
  /** Icon (SVG path). */
3893
3577
  icon?: string;
3894
3578
  /** Disabled state */
@@ -3970,5 +3654,5 @@ declare const ThemeProvider: React__default.FC<{
3970
3654
  /** Get the theme in the current context. */
3971
3655
  declare function useTheme(): ThemeContextValue;
3972
3656
 
3973
- export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME, COMPONENT_NAME, Checkbox, Chip, ChipGroup, Combobox, 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, 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, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
3657
+ 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, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
3974
3658
  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 };