@lumx/react 4.9.0-next.13 → 4.9.0-next.15
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 +86 -59
- package/index.js +922 -833
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1579,6 +1579,12 @@ interface ComboboxOptionSkeletonProps$1 extends HasClassName {
|
|
|
1579
1579
|
children?: JSXElement;
|
|
1580
1580
|
/** ref to the root <li> element. */
|
|
1581
1581
|
ref?: CommonRef;
|
|
1582
|
+
/**
|
|
1583
|
+
* Number of skeleton `<li>` elements to render.
|
|
1584
|
+
* Each is an independent element with `:nth-child` width cycling applied by SCSS.
|
|
1585
|
+
* @default 1
|
|
1586
|
+
*/
|
|
1587
|
+
count?: number;
|
|
1582
1588
|
}
|
|
1583
1589
|
/**
|
|
1584
1590
|
* Props that React/Vue wrappers need to re-declare with framework-specific types.
|
|
@@ -1596,12 +1602,6 @@ interface ComboboxOptionSkeletonProps extends GenericProps$1, ReactToJSX<Combobo
|
|
|
1596
1602
|
after?: ReactNode;
|
|
1597
1603
|
/** Override the default SkeletonTypography content entirely. */
|
|
1598
1604
|
children?: ReactNode;
|
|
1599
|
-
/**
|
|
1600
|
-
* Number of skeleton `<li>` elements to render.
|
|
1601
|
-
* Each is an independent element with `:nth-child` width cycling applied by SCSS.
|
|
1602
|
-
* @default 1
|
|
1603
|
-
*/
|
|
1604
|
-
count?: number;
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
1607
|
/**
|
|
@@ -2107,7 +2107,7 @@ declare const Combobox: {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
/** Loading placeholder skeleton(s) that auto-register loading state with the combobox handle. */
|
|
2109
2109
|
OptionSkeleton: {
|
|
2110
|
-
(props: ComboboxOptionSkeletonProps): react_jsx_runtime.JSX.Element
|
|
2110
|
+
(props: ComboboxOptionSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
2111
2111
|
displayName: string;
|
|
2112
2112
|
className: "lumx-combobox-option-skeleton";
|
|
2113
2113
|
};
|
|
@@ -2881,6 +2881,71 @@ interface IconProps extends ReactToJSX<IconProps$1>, GenericProps$1 {
|
|
|
2881
2881
|
*/
|
|
2882
2882
|
declare const Icon: Comp<IconProps, HTMLElement>;
|
|
2883
2883
|
|
|
2884
|
+
type ImageCaptionMetadata$1 = {
|
|
2885
|
+
/** Image title to display in the caption. */
|
|
2886
|
+
title?: string;
|
|
2887
|
+
/** Props to pass to the title. */
|
|
2888
|
+
titleProps?: GenericProps;
|
|
2889
|
+
/** Image description. Can be either a string, ReactNode, or sanitized html object. */
|
|
2890
|
+
description?: JSXElement | {
|
|
2891
|
+
__html: string;
|
|
2892
|
+
};
|
|
2893
|
+
/** Props to pass to the description. */
|
|
2894
|
+
descriptionProps?: GenericProps;
|
|
2895
|
+
/** Tag content. */
|
|
2896
|
+
tags?: JSXElement;
|
|
2897
|
+
/** Caption custom CSS style. */
|
|
2898
|
+
captionStyle?: GenericProps;
|
|
2899
|
+
/** Props to pass to the wrapper FlexBox element. */
|
|
2900
|
+
wrapperProps?: GenericProps;
|
|
2901
|
+
/** FlexBox component injected by the framework wrapper (React or Vue). */
|
|
2902
|
+
FlexBox: any;
|
|
2903
|
+
/** Text component injected by the framework wrapper (React or Vue). */
|
|
2904
|
+
Text: any;
|
|
2905
|
+
};
|
|
2906
|
+
type ImageCaptionPropsToOverride = 'FlexBox' | 'Text' | 'wrapperProps';
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* Image block variants.
|
|
2910
|
+
*/
|
|
2911
|
+
declare const ImageBlockCaptionPosition$1: {
|
|
2912
|
+
readonly below: "below";
|
|
2913
|
+
readonly over: "over";
|
|
2914
|
+
};
|
|
2915
|
+
type ImageBlockCaptionPosition$1 = ValueOf<typeof ImageBlockCaptionPosition$1>;
|
|
2916
|
+
/**
|
|
2917
|
+
* Image block sizes.
|
|
2918
|
+
*/
|
|
2919
|
+
type ImageBlockSize$1 = Extract<Size, 'xl' | 'xxl'>;
|
|
2920
|
+
/**
|
|
2921
|
+
* Defines the props of the component.
|
|
2922
|
+
*/
|
|
2923
|
+
interface ImageBlockProps$1 extends HasClassName, HasTheme, Omit<ImageCaptionMetadata$1, ImageCaptionPropsToOverride> {
|
|
2924
|
+
/** Action toolbar content. */
|
|
2925
|
+
actions?: JSXElement;
|
|
2926
|
+
/** Alignment. */
|
|
2927
|
+
align?: HorizontalAlignment;
|
|
2928
|
+
/** Image alternative text. */
|
|
2929
|
+
alt: string;
|
|
2930
|
+
/** Caption position. */
|
|
2931
|
+
captionPosition?: ImageBlockCaptionPosition$1;
|
|
2932
|
+
/** Whether the image has to fill its container height or not. */
|
|
2933
|
+
fillHeight?: boolean;
|
|
2934
|
+
/** Image URL. */
|
|
2935
|
+
image: string;
|
|
2936
|
+
/** Size variant. */
|
|
2937
|
+
size?: ImageBlockSize$1;
|
|
2938
|
+
/** Props to pass to the thumbnail (minus those already set by the ImageBlock props). */
|
|
2939
|
+
thumbnailProps?: GenericProps;
|
|
2940
|
+
/** reference to the root element */
|
|
2941
|
+
ref?: CommonRef;
|
|
2942
|
+
/** component for rendering the thumbnail */
|
|
2943
|
+
Thumbnail: any;
|
|
2944
|
+
/** component for rendering the image caption */
|
|
2945
|
+
ImageCaption: any;
|
|
2946
|
+
}
|
|
2947
|
+
type ImageBlockPropsToOverride = 'Thumbnail' | 'ImageCaption' | 'thumbnailProps';
|
|
2948
|
+
|
|
2884
2949
|
/**
|
|
2885
2950
|
* Loading attribute is not yet supported in typescript, so we need
|
|
2886
2951
|
* to add it in order to avoid a ts error.
|
|
@@ -3030,44 +3095,10 @@ interface ThumbnailProps extends GenericProps$1, ReactToJSX<ThumbnailProps$1, 'l
|
|
|
3030
3095
|
*/
|
|
3031
3096
|
declare const Thumbnail: Comp<ThumbnailProps, HTMLElement>;
|
|
3032
3097
|
|
|
3033
|
-
type ImageCaptionMetadata$1 = {
|
|
3034
|
-
/** Image title to display in the caption. */
|
|
3035
|
-
title?: string;
|
|
3036
|
-
/** Props to pass to the title. */
|
|
3037
|
-
titleProps?: GenericProps;
|
|
3038
|
-
/** Image description. Can be either a string, ReactNode, or sanitized html object. */
|
|
3039
|
-
description?: JSXElement | {
|
|
3040
|
-
__html: string;
|
|
3041
|
-
};
|
|
3042
|
-
/** Props to pass to the title. */
|
|
3043
|
-
descriptionProps?: GenericProps;
|
|
3044
|
-
/** Tag content. */
|
|
3045
|
-
tags?: JSXElement;
|
|
3046
|
-
/** Caption custom CSS style. */
|
|
3047
|
-
captionStyle?: GenericProps;
|
|
3048
|
-
FlexBox: any;
|
|
3049
|
-
Text: any;
|
|
3050
|
-
};
|
|
3051
|
-
type ImageCaptionPropsToOverride = 'FlexBox' | 'Text' | 'titleProps' | 'descriptionProps' | 'captionStyle';
|
|
3052
|
-
|
|
3053
|
-
type ForwardedTextProps = Omit<TextProps, 'as' | 'typography' | 'color' | 'colorVariant'>;
|
|
3054
|
-
type ImageCaptionMetadata = Omit<ImageCaptionMetadata$1, ImageCaptionPropsToOverride> & {
|
|
3055
|
-
/** Props to pass to the title. */
|
|
3056
|
-
titleProps?: ForwardedTextProps;
|
|
3057
|
-
/** Props to pass to the title. */
|
|
3058
|
-
descriptionProps?: ForwardedTextProps;
|
|
3059
|
-
/** Caption custom CSS style. */
|
|
3060
|
-
captionStyle?: CSSProperties;
|
|
3061
|
-
};
|
|
3062
|
-
|
|
3063
3098
|
/**
|
|
3064
3099
|
* Image block variants.
|
|
3065
3100
|
*/
|
|
3066
|
-
|
|
3067
|
-
readonly below: "below";
|
|
3068
|
-
readonly over: "over";
|
|
3069
|
-
};
|
|
3070
|
-
type ImageBlockCaptionPosition = ValueOf$1<typeof ImageBlockCaptionPosition>;
|
|
3101
|
+
type ImageBlockCaptionPosition = ValueOf$1<typeof ImageBlockCaptionPosition$1>;
|
|
3071
3102
|
/**
|
|
3072
3103
|
* Image block sizes.
|
|
3073
3104
|
*/
|
|
@@ -3075,21 +3106,7 @@ type ImageBlockSize = Extract<Size$1, 'xl' | 'xxl'>;
|
|
|
3075
3106
|
/**
|
|
3076
3107
|
* Defines the props of the component.
|
|
3077
3108
|
*/
|
|
3078
|
-
interface ImageBlockProps extends GenericProps$1,
|
|
3079
|
-
/** Action toolbar content. */
|
|
3080
|
-
actions?: ReactNode;
|
|
3081
|
-
/** Alignment. */
|
|
3082
|
-
align?: HorizontalAlignment$1;
|
|
3083
|
-
/** Image alternative text. */
|
|
3084
|
-
alt: string;
|
|
3085
|
-
/** Caption position. */
|
|
3086
|
-
captionPosition?: ImageBlockCaptionPosition;
|
|
3087
|
-
/** Whether the image has to fill its container height or not. */
|
|
3088
|
-
fillHeight?: boolean;
|
|
3089
|
-
/** Image URL. */
|
|
3090
|
-
image: string;
|
|
3091
|
-
/** Size variant. */
|
|
3092
|
-
size?: ImageBlockSize;
|
|
3109
|
+
interface ImageBlockProps extends GenericProps$1, ReactToJSX<ImageBlockProps$1, ImageBlockPropsToOverride> {
|
|
3093
3110
|
/** Props to pass to the thumbnail (minus those already set by the ImageBlock props). */
|
|
3094
3111
|
thumbnailProps?: Omit<ThumbnailProps, 'image' | 'size' | 'theme' | 'align' | 'fillHeight'>;
|
|
3095
3112
|
}
|
|
@@ -3102,6 +3119,16 @@ interface ImageBlockProps extends GenericProps$1, HasTheme$1, ImageCaptionMetada
|
|
|
3102
3119
|
*/
|
|
3103
3120
|
declare const ImageBlock: Comp<ImageBlockProps, HTMLDivElement>;
|
|
3104
3121
|
|
|
3122
|
+
type ForwardedTextProps = Omit<TextProps, 'as' | 'typography' | 'color' | 'colorVariant'>;
|
|
3123
|
+
type ImageCaptionMetadata = Omit<ImageCaptionMetadata$1, ImageCaptionPropsToOverride> & {
|
|
3124
|
+
/** Props to pass to the title. */
|
|
3125
|
+
titleProps?: ForwardedTextProps;
|
|
3126
|
+
/** Props to pass to the title. */
|
|
3127
|
+
descriptionProps?: ForwardedTextProps;
|
|
3128
|
+
/** Caption custom CSS style. */
|
|
3129
|
+
captionStyle?: CSSProperties;
|
|
3130
|
+
};
|
|
3131
|
+
|
|
3105
3132
|
type InheritedSlideShowProps = Pick<SlideshowProps, 'slideshowControlsProps' | 'slideGroupLabel'>;
|
|
3106
3133
|
interface ZoomButtonProps {
|
|
3107
3134
|
/** Zoom in button props */
|
|
@@ -4943,5 +4970,5 @@ declare const ThemeProvider: React__default.FC<{
|
|
|
4943
4970
|
/** Get the theme in the current context. */
|
|
4944
4971
|
declare function useTheme(): ThemeContextValue;
|
|
4945
4972
|
|
|
4946
|
-
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,
|
|
4947
|
-
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, ComboboxButtonProps, ComboboxInputProps, ComboboxListProps, ComboboxOptionActionProps, ComboboxOptionMoreInfoProps, ComboboxOptionProps, ComboboxOptionSkeletonProps, ComboboxPopoverComponentProps, ComboboxPopoverProps, ComboboxProviderProps, ComboboxSectionProps, ComboboxStateProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GenericBlockSectionProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconButtonProps, IconProps, IconSizes, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, InputLabelProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSectionProps, 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 };
|
|
4973
|
+
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, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, 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, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
4974
|
+
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, ComboboxButtonProps, ComboboxInputProps, ComboboxListProps, ComboboxOptionActionProps, ComboboxOptionMoreInfoProps, ComboboxOptionProps, ComboboxOptionSkeletonProps, ComboboxPopoverComponentProps, ComboboxPopoverProps, ComboboxProviderProps, ComboboxSectionProps, ComboboxStateProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GenericBlockSectionProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconButtonProps, IconProps, IconSizes, ImageBlockCaptionPosition, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, InputLabelProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSectionProps, 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 };
|