@lumx/react 4.27.1-alpha.2 → 4.27.1-alpha.3
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 +54 -6
- package/index.js +827 -626
- package/index.js.map +1 -1
- package/package.json +3 -4
package/index.d.ts
CHANGED
|
@@ -1716,7 +1716,7 @@ interface ComboboxInputOptions {
|
|
|
1716
1716
|
* - `'auto'` (default) — Options are automatically filtered client-side.
|
|
1717
1717
|
* - `'manual'` — Filtering is the consumer's responsibility. The list still gets the filter text
|
|
1718
1718
|
* (a tree list opens its parent items with rendered sub-items while the text is not empty).
|
|
1719
|
-
* - `'off'` — Like `'manual'`, but the input is rendered as `readOnly`
|
|
1719
|
+
* - `'off'` — Like `'manual'`, but the list gets no filter text, the input is rendered as `readOnly`
|
|
1720
1720
|
* and `openOnFocus` defaults to `true`.
|
|
1721
1721
|
*/
|
|
1722
1722
|
filter?: 'auto' | 'manual' | 'off';
|
|
@@ -5922,13 +5922,58 @@ interface ToolbarProps extends GenericProps$1, ReactToJSX<ToolbarProps$1> {
|
|
|
5922
5922
|
*/
|
|
5923
5923
|
declare const Toolbar: Comp<ToolbarProps, HTMLDivElement>;
|
|
5924
5924
|
|
|
5925
|
+
/**
|
|
5926
|
+
* Defines the props for the core TreeListSection template.
|
|
5927
|
+
*/
|
|
5928
|
+
interface TreeListSectionProps$1 extends HasClassName {
|
|
5929
|
+
/** Section label, shown as the section title (visual only). Without a label, the section is a plain group. */
|
|
5930
|
+
label?: string | JSXElement;
|
|
5931
|
+
/** Section icon (shown before the label). */
|
|
5932
|
+
icon?: string;
|
|
5933
|
+
/** Section content (`TreeListItem` elements). */
|
|
5934
|
+
children?: JSXElement;
|
|
5935
|
+
/** Whether the filter hides every tree item of the section (internal). */
|
|
5936
|
+
hidden?: boolean;
|
|
5937
|
+
/** ref to the root `<li>` element. */
|
|
5938
|
+
ref?: CommonRef;
|
|
5939
|
+
}
|
|
5940
|
+
/**
|
|
5941
|
+
* Props that React/Vue wrappers need to re-declare with framework-specific types.
|
|
5942
|
+
*/
|
|
5943
|
+
type TreeListSectionPropsToOverride = 'label' | 'children';
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* Props for the TreeListSection component.
|
|
5947
|
+
*/
|
|
5948
|
+
interface TreeListSectionProps extends GenericProps$1, ReactToJSX<TreeListSectionProps$1, TreeListSectionPropsToOverride | 'hidden'> {
|
|
5949
|
+
/** Section label, shown as the section title (visual only). Without a label, the section is a plain group. */
|
|
5950
|
+
label?: ReactNode;
|
|
5951
|
+
/** Section content (`TreeListItem` elements). */
|
|
5952
|
+
children: ReactNode;
|
|
5953
|
+
}
|
|
5954
|
+
/**
|
|
5955
|
+
* TreeListSection component: a section of root tree items in a `TreeList`, with an optional label (`TreeList.Section`).
|
|
5956
|
+
*
|
|
5957
|
+
* - The sections get a divider between them (and between them and the standalone tree items). Use a section
|
|
5958
|
+
* without a label as a separator.
|
|
5959
|
+
* - Root level only: the tree items of a section are root tree items. Do not use it in a tree item.
|
|
5960
|
+
* - With `filter="auto"`, the section is hidden when the filter hides all of its tree items.
|
|
5961
|
+
* - The label is visual only: the section has no ARIA semantics (a group in a tree changes the tree item levels).
|
|
5962
|
+
* - Returns null without children.
|
|
5963
|
+
*
|
|
5964
|
+
* @param props Component props.
|
|
5965
|
+
* @param ref Component ref.
|
|
5966
|
+
* @return React element.
|
|
5967
|
+
*/
|
|
5968
|
+
declare const TreeListSection: Comp<TreeListSectionProps, HTMLLIElement>;
|
|
5969
|
+
|
|
5925
5970
|
/**
|
|
5926
5971
|
* Defines the props for the core TreeListItem template.
|
|
5927
5972
|
*/
|
|
5928
5973
|
interface TreeListItemProps$1 extends HasClassName {
|
|
5929
5974
|
/** Content of the row (the tree item label). */
|
|
5930
5975
|
label?: JSXElement;
|
|
5931
|
-
/** The sub-items (`TreeListItem
|
|
5976
|
+
/** The sub-items (`TreeListItem` or `ListboxOptionSkeleton` elements). */
|
|
5932
5977
|
children?: JSXElement;
|
|
5933
5978
|
/** A component to be rendered before the label (e.g. an icon or avatar). */
|
|
5934
5979
|
before?: JSXElement;
|
|
@@ -6043,7 +6088,7 @@ interface TreeListProps$1 extends HasClassName {
|
|
|
6043
6088
|
* Selection type: one selected tree item, or several (`aria-multiselectable`).
|
|
6044
6089
|
*/
|
|
6045
6090
|
selectionType?: TreeListSelectionType;
|
|
6046
|
-
/** Content (`TreeListItem
|
|
6091
|
+
/** Content (`TreeListItem` or `ListboxOptionSkeleton` elements). Render the states outside the tree. */
|
|
6047
6092
|
children?: JSXElement;
|
|
6048
6093
|
/** The ID of the tree element. */
|
|
6049
6094
|
id?: string;
|
|
@@ -6090,11 +6135,14 @@ interface MultipleTreeListProps extends BaseTreeListProps {
|
|
|
6090
6135
|
type TreeListProps = SingleTreeListProps | MultipleTreeListProps;
|
|
6091
6136
|
|
|
6092
6137
|
/**
|
|
6093
|
-
* TreeList compound component: `TreeList.Item` is the tree item (also exported as `TreeListItem`)
|
|
6138
|
+
* TreeList compound component: `TreeList.Item` is the tree item (also exported as `TreeListItem`), and
|
|
6139
|
+
* `TreeList.Section` a section of root tree items (also exported as `TreeListSection`).
|
|
6094
6140
|
*/
|
|
6095
6141
|
declare const TreeList: Comp<TreeListProps, HTMLUListElement> & {
|
|
6096
6142
|
/** One tree item of the tree, with its sub-items. */
|
|
6097
6143
|
Item: Comp<TreeListItemProps, HTMLLIElement>;
|
|
6144
|
+
/** A section of root tree items, with an optional label (a divider between the sections). */
|
|
6145
|
+
Section: Comp<TreeListSectionProps, HTMLLIElement>;
|
|
6098
6146
|
};
|
|
6099
6147
|
|
|
6100
6148
|
/**
|
|
@@ -6317,5 +6365,5 @@ declare const ThemeProvider: React__default.FC<{
|
|
|
6317
6365
|
/** Get the theme in the current context. */
|
|
6318
6366
|
declare function useTheme(): ThemeContextValue;
|
|
6319
6367
|
|
|
6320
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME$2 as CLASSNAME, COMPONENT_NAME$2 as COMPONENT_NAME, Card, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1 as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, DialogHeading, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, InputRequiredLegend, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, ListSubheader, MenuButton, ListDivider as MenuDivider, MenuItem, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectButton, SelectMultiple, SelectMultipleField, SelectTextField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, CLASSNAME as TIME_PICKER_FIELD_CLASSNAME, COMPONENT_NAME as TIME_PICKER_FIELD_COMPONENT_NAME, 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, TimePickerField, Toolbar, Tooltip, TreeList, TreeListItem, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
6321
|
-
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CardProps, CheckboxProps, ChipGroupProps, ChipProps, ComboboxButtonProps, ComboboxInputProps, ListboxListProps as ComboboxListProps, ListboxOptionActionProps as ComboboxOptionActionProps, ListboxOptionMoreInfoProps as ComboboxOptionMoreInfoProps, ListboxOptionProps as ComboboxOptionProps, ListboxOptionSkeletonProps as ComboboxOptionSkeletonProps, ComboboxPopoverComponentProps, ComboboxPopoverProps, ComboboxProviderProps, ListboxSectionProps as ComboboxSectionProps, CompositeStatusProps as ComboboxStateProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogHeadingProps, 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, InputRequiredLegendProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSectionProps, ListSubheaderProps, MarginAutoAlignment, MenuButtonProps, ListDividerProps as MenuDividerProps, MenuItemActionProps, MenuItemProps, MessageProps, MosaicProps, MultipleSelectButtonProps, MultipleSelectTextFieldProps, MultipleTreeListProps, NavigationProps, NotificationProps, Offset, PopoverDialogProps, PopoverHeight, PopoverProps, PopoverWidth, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectButtonProps, SelectListStatus as SelectButtonStatus, SelectButtonTranslations, SelectListStatus, SelectMultipleProps, SelectProps, SelectTextFieldProps, SelectListStatus as SelectTextFieldStatus, SelectTextFieldTranslations, SelectionChipGroupProps, SideNavigationItemProps, SideNavigationProps, SingleSelectButtonProps, SingleSelectTextFieldProps, SingleTreeListProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, TimePickerFieldProps, ToolbarProps, TooltipPlacement, TooltipProps, TreeListItemProps, TreeListProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
|
|
6368
|
+
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, CLASSNAME$2 as CLASSNAME, COMPONENT_NAME$2 as COMPONENT_NAME, Card, Checkbox, Chip, ChipGroup, Combobox, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$1 as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, DialogHeading, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, InputRequiredLegend, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSection, ListSubheader, MenuButton, ListDivider as MenuDivider, MenuItem, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectButton, SelectMultiple, SelectMultipleField, SelectTextField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, CLASSNAME as TIME_PICKER_FIELD_CLASSNAME, COMPONENT_NAME as TIME_PICKER_FIELD_COMPONENT_NAME, 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, TimePickerField, Toolbar, Tooltip, TreeList, TreeListItem, TreeListSection, Uploader, UploaderVariant, UserBlock, clamp, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
6369
|
+
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CardProps, CheckboxProps, ChipGroupProps, ChipProps, ComboboxButtonProps, ComboboxInputProps, ListboxListProps as ComboboxListProps, ListboxOptionActionProps as ComboboxOptionActionProps, ListboxOptionMoreInfoProps as ComboboxOptionMoreInfoProps, ListboxOptionProps as ComboboxOptionProps, ListboxOptionSkeletonProps as ComboboxOptionSkeletonProps, ComboboxPopoverComponentProps, ComboboxPopoverProps, ComboboxProviderProps, ListboxSectionProps as ComboboxSectionProps, CompositeStatusProps as ComboboxStateProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogHeadingProps, 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, InputRequiredLegendProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSectionProps, ListSubheaderProps, MarginAutoAlignment, MenuButtonProps, ListDividerProps as MenuDividerProps, MenuItemActionProps, MenuItemProps, MessageProps, MosaicProps, MultipleSelectButtonProps, MultipleSelectTextFieldProps, MultipleTreeListProps, NavigationProps, NotificationProps, Offset, PopoverDialogProps, PopoverHeight, PopoverProps, PopoverWidth, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectButtonProps, SelectListStatus as SelectButtonStatus, SelectButtonTranslations, SelectListStatus, SelectMultipleProps, SelectProps, SelectTextFieldProps, SelectListStatus as SelectTextFieldStatus, SelectTextFieldTranslations, SelectionChipGroupProps, SideNavigationItemProps, SideNavigationProps, SingleSelectButtonProps, SingleSelectTextFieldProps, SingleTreeListProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, TimePickerFieldProps, ToolbarProps, TooltipPlacement, TooltipProps, TreeListItemProps, TreeListProps, TreeListSectionProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
|