@lumx/vue 4.13.0-next.4 → 4.13.0
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/_internal/CO3BhTbu.js.map +1 -1
- package/components/alert-dialog/AlertDialog.d.ts +2 -1
- package/components/avatar/Avatar.d.ts +1 -1
- package/components/badge/Badge.d.ts +1 -1
- package/components/badge/BadgeWrapper.d.ts +1 -1
- package/components/button/ButtonGroup.d.ts +1 -1
- package/components/checkbox/Checkbox.d.ts +1 -1
- package/components/chip/Chip.d.ts +1 -1
- package/components/chip/ChipGroup.d.ts +1 -1
- package/components/chip/SelectionChipGroup.d.ts +1 -1
- package/components/combobox/ComboboxButton.d.ts +1 -1
- package/components/combobox/ComboboxList.d.ts +1 -1
- package/components/combobox/ComboboxOption.d.ts +1 -1
- package/components/combobox/ComboboxOptionMoreInfo.d.ts +1 -1
- package/components/combobox/ComboboxOptionSkeleton.d.ts +1 -1
- package/components/combobox/ComboboxPopover.d.ts +1 -1
- package/components/combobox/ComboboxSection.d.ts +1 -1
- package/components/combobox/ComboboxState.d.ts +1 -1
- package/components/combobox/index.d.ts +9 -9
- package/components/dialog/Dialog.d.ts +3 -2
- package/components/divider/Divider.d.ts +1 -1
- package/components/drag-handle/DragHandle.d.ts +1 -1
- package/components/expansion-panel/ExpansionPanel.d.ts +1 -1
- package/components/flag/Flag.d.ts +1 -1
- package/components/flex-box/FlexBox.d.ts +1 -1
- package/components/generic-block/GenericBlock.d.ts +1 -1
- package/components/grid-column/GridColumn.d.ts +1 -1
- package/components/heading/Heading.d.ts +1 -1
- package/components/icon/Icon.d.ts +1 -1
- package/components/image-block/ImageCaption.d.ts +2 -1
- package/components/inline-list/InlineList.d.ts +1 -1
- package/components/input-helper/InputHelper.d.ts +1 -1
- package/components/input-label/InputLabel.d.ts +1 -1
- package/components/lightbox/Lightbox.d.ts +1 -1
- package/components/link/Link.d.ts +1 -1
- package/components/link-preview/LinkPreview.d.ts +1 -1
- package/components/list/List.d.ts +1 -1
- package/components/list/ListDivider.d.ts +1 -1
- package/components/list/ListItem.d.ts +2 -2
- package/components/list/ListItemAction.d.ts +1 -1
- package/components/list/ListSection.d.ts +1 -1
- package/components/message/Message.d.ts +1 -1
- package/components/mosaic/Mosaic.d.ts +1 -1
- package/components/popover/Popover.d.ts +1 -1
- package/components/popover-dialog/PopoverDialog.d.ts +1 -1
- package/components/popover-dialog/PopoverDialog.test.stories.d.ts +1 -1
- package/components/progress/ProgressCircular.d.ts +1 -1
- package/components/progress/ProgressLinear.d.ts +1 -1
- package/components/radio-button/RadioButton.d.ts +1 -1
- package/components/radio-button/RadioGroup.d.ts +2 -1
- package/components/select-text-field/SelectTextField.d.ts +2 -2
- package/components/select-text-field/index.d.ts +5 -5
- package/components/skeleton/SkeletonCircle.d.ts +1 -1
- package/components/skeleton/SkeletonRectangle.d.ts +1 -1
- package/components/skeleton/SkeletonTypography.d.ts +1 -1
- package/components/switch/Switch.d.ts +1 -1
- package/components/table/Table.d.ts +1 -1
- package/components/table/TableBody.d.ts +1 -1
- package/components/table/TableCell.d.ts +1 -1
- package/components/table/TableHeader.d.ts +1 -1
- package/components/table/TableRow.d.ts +1 -1
- package/components/tabs/Tab.d.ts +1 -1
- package/components/tabs/TabList.d.ts +1 -1
- package/components/tabs/TabPanel.d.ts +1 -1
- package/components/text/Text.d.ts +1 -1
- package/components/text-field/RawInputText.d.ts +1 -1
- package/components/text-field/RawInputTextarea.d.ts +1 -1
- package/components/text-field/TextField.d.ts +1 -1
- package/components/thumbnail/Thumbnail.d.ts +1 -1
- package/components/toolbar/Toolbar.d.ts +1 -1
- package/components/tooltip/Tooltip.d.ts +2 -1
- package/components/uploader/Uploader.d.ts +1 -1
- package/components/user-block/UserBlock.d.ts +1 -1
- package/composables/useClassName.d.ts +2 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +4 -5
- package/utils/VueToJSX.d.ts +6 -1
|
@@ -15,7 +15,7 @@ export interface MessageEmits {
|
|
|
15
15
|
* @return Vue element.
|
|
16
16
|
*/
|
|
17
17
|
declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {}, Omit<Omit<UIProps, "closeButtonProps">, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
18
|
-
class?:
|
|
18
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
19
19
|
} & {
|
|
20
20
|
/** label to be used for the close button */
|
|
21
21
|
closeButtonLabel?: string;
|
|
@@ -20,7 +20,7 @@ export declare const emitSchema: {
|
|
|
20
20
|
declare const Mosaic: import('vue').DefineSetupFnComponent<MosaicProps, {
|
|
21
21
|
handleClick: (index: number) => boolean;
|
|
22
22
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | MosaicPropsToOverride> & {
|
|
23
|
-
class?:
|
|
23
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
24
24
|
} & {
|
|
25
25
|
/** Thumbnails. */
|
|
26
26
|
thumbnails: MosaicThumbnailItem[];
|
|
@@ -26,7 +26,7 @@ export declare const emitSchema: {
|
|
|
26
26
|
declare const Popover: import('vue').DefineSetupFnComponent<PopoverProps, {
|
|
27
27
|
close: () => boolean;
|
|
28
28
|
}, {}, Omit<CorePopoverProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "focusElement" | "children" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
|
|
29
|
-
class?:
|
|
29
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
30
30
|
} & {
|
|
31
31
|
/** Reference to the DOM element used to set the position of the popover. Accepts a Vue Ref for reactive positioning. */
|
|
32
32
|
anchorRef?: Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -12,7 +12,7 @@ export declare const emitSchema: {
|
|
|
12
12
|
declare const PopoverDialog: import('vue').DefineSetupFnComponent<PopoverDialogProps, {
|
|
13
13
|
close: () => boolean;
|
|
14
14
|
}, {}, Omit<CorePopoverProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "focusElement" | "children" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
|
|
15
|
-
class?:
|
|
15
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
16
16
|
} & {
|
|
17
17
|
anchorRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
18
18
|
boundaryRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
component: import('vue').DefineSetupFnComponent<import('../..').PopoverDialogProps, {
|
|
4
4
|
close: () => boolean;
|
|
5
5
|
}, {}, Omit<import('@lumx/core/js/components/Popover').PopoverProps, "className" | import('../..').PropsToOverride | "isOpen" | "focusElement" | "children" | "parentElement" | "anchorRef" | "boundaryRef" | "focusTrapZoneElement"> & {
|
|
6
|
-
class?:
|
|
6
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
7
7
|
} & {
|
|
8
8
|
anchorRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
9
9
|
boundaryRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -4,6 +4,6 @@ export type ProgressCircularProps = VueToJSXProps<UIProps, 'ref' | 'svgProps' |
|
|
|
4
4
|
export type { ProgressCircularSize };
|
|
5
5
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
6
6
|
declare const ProgressCircular: import('vue').DefineSetupFnComponent<ProgressCircularProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "svgProps" | "circleProps"> & {
|
|
7
|
-
class?:
|
|
7
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
8
8
|
} & {}, import('vue').PublicProps>;
|
|
9
9
|
export default ProgressCircular;
|
|
@@ -3,6 +3,6 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
|
3
3
|
export type ProgressLinearProps = VueToJSXProps<UIProps, 'ref'>;
|
|
4
4
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
5
5
|
declare const ProgressLinear: import('vue').DefineSetupFnComponent<ProgressLinearProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
6
|
-
class?:
|
|
6
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
7
7
|
} & {}, import('vue').PublicProps>;
|
|
8
8
|
export default ProgressLinear;
|
|
@@ -14,7 +14,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
14
14
|
declare const RadioButton: import('vue').DefineSetupFnComponent<RadioButtonProps, {
|
|
15
15
|
change: (value?: string, name?: string, event?: Event) => event is Event;
|
|
16
16
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
|
|
17
|
-
class?:
|
|
17
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
18
18
|
} & {
|
|
19
19
|
onChange?: ((value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
20
20
|
}, import('vue').PublicProps>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CLASSNAME, COMPONENT_NAME } from '@lumx/core/js/components/RadioGroup';
|
|
2
|
+
import { ClassValue } from '../../utils/VueToJSX';
|
|
2
3
|
export interface RadioGroupProps {
|
|
3
4
|
/** CSS class name */
|
|
4
|
-
class?:
|
|
5
|
+
class?: ClassValue;
|
|
5
6
|
}
|
|
6
7
|
export { CLASSNAME, COMPONENT_NAME };
|
|
7
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EmitFn, EmitsToProps, PublicProps } from 'vue';
|
|
2
2
|
import { BaseSelectTextFieldWrapperProps } from '@lumx/core/js/utils/select/types';
|
|
3
3
|
import { JSXElement } from '@lumx/core/js/types';
|
|
4
|
-
import { EmitsOf } from '../../utils/VueToJSX';
|
|
4
|
+
import { ClassValue, EmitsOf } from '../../utils/VueToJSX';
|
|
5
5
|
/** Props shared across single and multiple selection modes. */
|
|
6
6
|
interface BaseSelectTextFieldProps<O = any> extends BaseSelectTextFieldWrapperProps<O> {
|
|
7
7
|
/** Content to render before the options list. */
|
|
8
8
|
beforeOptions?: JSXElement;
|
|
9
9
|
/** CSS class. */
|
|
10
|
-
class?:
|
|
10
|
+
class?: ClassValue;
|
|
11
11
|
}
|
|
12
12
|
/** Props specific to single selection mode. */
|
|
13
13
|
export interface SingleSelectTextFieldProps<O = any> extends BaseSelectTextFieldProps<O> {
|
|
@@ -4,7 +4,7 @@ export type { SelectTextFieldStatus, SelectTextFieldTranslations } from '@lumx/c
|
|
|
4
4
|
export declare const SelectTextFieldOption: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionProps, {
|
|
5
5
|
click: () => boolean;
|
|
6
6
|
}, {}, Omit<import('@lumx/core/js/components/Combobox/ComboboxOption').ComboboxOptionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "id" | "hidden" | "descriptionId" | "isGrid" | import('@lumx/core/js/components/Combobox/ComboboxOption').ComboboxOptionPropsToOverride> & {
|
|
7
|
-
class?:
|
|
7
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
8
8
|
} & {
|
|
9
9
|
tooltipProps?: Partial<import('../tooltip').TooltipProps>;
|
|
10
10
|
actionProps?: Record<string, any>;
|
|
@@ -13,13 +13,13 @@ export declare const SelectTextFieldOption: import('vue').DefineSetupFnComponent
|
|
|
13
13
|
}, import('vue').PublicProps>;
|
|
14
14
|
/** Labelled group of options. */
|
|
15
15
|
export declare const SelectTextFieldSection: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxSectionProps, {}, {}, Omit<import('@lumx/core/js/components/Combobox/ComboboxSection').ComboboxSectionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-hidden" | "hidden"> & {
|
|
16
|
-
class?:
|
|
16
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
17
17
|
} & {}, import('vue').PublicProps>;
|
|
18
18
|
/** Info icon on an option that reveals a popover with additional details. */
|
|
19
19
|
export declare const SelectTextFieldOptionMoreInfo: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionMoreInfoProps, {
|
|
20
20
|
toggle: (isOpen: boolean) => boolean;
|
|
21
21
|
}, {}, Omit<import('@lumx/core/js/components/Combobox/ComboboxOptionMoreInfo').ComboboxOptionMoreInfoProps, "className" | import('@lumx/core/js/types').PropsToOverride | "onMouseEnter" | "onMouseLeave" | "buttonProps" | import('@lumx/core/js/components/Combobox/ComboboxOptionMoreInfo').ComboboxOptionMoreInfoPropsToOverride> & {
|
|
22
|
-
class?:
|
|
22
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
23
23
|
} & {
|
|
24
24
|
onToggle?: (isOpen: boolean) => void;
|
|
25
25
|
} & {
|
|
@@ -27,9 +27,9 @@ export declare const SelectTextFieldOptionMoreInfo: import('vue').DefineSetupFnC
|
|
|
27
27
|
}, import('vue').PublicProps>;
|
|
28
28
|
/** Skeleton loading placeholder for options being fetched. */
|
|
29
29
|
export declare const SelectTextFieldOptionSkeleton: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionSkeletonProps, {}, {}, Omit<import('@lumx/core/js/components/Combobox/ComboboxOptionSkeleton').ComboboxOptionSkeletonProps, "className" | import('@lumx/core/js/types').PropsToOverride | import('@lumx/core/js/components/Combobox/ComboboxOptionSkeleton').ComboboxOptionSkeletonPropsToOverride> & {
|
|
30
|
-
class?:
|
|
30
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
31
31
|
} & {}, import('vue').PublicProps>;
|
|
32
32
|
/** Visual separator between option groups (alias for ListDivider). Purely decorative — invisible to screen readers. */
|
|
33
33
|
export declare const SelectTextFieldDivider: import('vue').DefineSetupFnComponent<import('../list').ListDividerProps, {}, {}, Omit<import('@lumx/core/js/components/List/ListDivider').ListDividerProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
34
|
-
class?:
|
|
34
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
35
35
|
} & {}, import('vue').PublicProps>;
|
|
@@ -9,6 +9,6 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
11
|
declare const SkeletonCircle: import('vue').DefineSetupFnComponent<SkeletonCircleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
|
-
class?:
|
|
12
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonCircle;
|
|
@@ -9,6 +9,6 @@ export { SkeletonRectangleVariant, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
11
|
declare const SkeletonRectangle: import('vue').DefineSetupFnComponent<SkeletonRectangleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
|
-
class?:
|
|
12
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonRectangle;
|
|
@@ -9,6 +9,6 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
11
|
declare const SkeletonTypography: import('vue').DefineSetupFnComponent<SkeletonTypographyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
|
-
class?:
|
|
12
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonTypography;
|
|
@@ -14,7 +14,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
14
14
|
declare const Switch: import('vue').DefineSetupFnComponent<SwitchProps, {
|
|
15
15
|
change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
|
|
16
16
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
|
|
17
|
-
class?:
|
|
17
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
18
18
|
} & {
|
|
19
19
|
onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
20
20
|
}, import('vue').PublicProps>;
|
|
@@ -2,6 +2,6 @@ import { TableProps as UIProps } from '@lumx/core/js/components/Table';
|
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
3
|
export type TableProps = VueToJSXProps<UIProps>;
|
|
4
4
|
declare const Table: import('vue').DefineSetupFnComponent<TableProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
|
-
class?:
|
|
5
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
export default Table;
|
|
@@ -2,6 +2,6 @@ import { TableBodyProps as UIProps } from '@lumx/core/js/components/Table/TableB
|
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
3
|
export type TableBodyProps = VueToJSXProps<UIProps>;
|
|
4
4
|
declare const TableBody: import('vue').DefineSetupFnComponent<TableBodyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
|
-
class?:
|
|
5
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
export default TableBody;
|
|
@@ -9,7 +9,7 @@ export declare const emitSchema: {
|
|
|
9
9
|
declare const TableCell: import('vue').DefineSetupFnComponent<TableCellProps, {
|
|
10
10
|
headerClick: () => boolean;
|
|
11
11
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
|
-
class?:
|
|
12
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
13
|
} & {
|
|
14
14
|
onHeaderClick?: (() => any) | undefined;
|
|
15
15
|
}, import('vue').PublicProps>;
|
|
@@ -2,6 +2,6 @@ import { TableHeaderProps as UIProps } from '@lumx/core/js/components/Table/Tabl
|
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
3
|
export type TableHeaderProps = VueToJSXProps<UIProps>;
|
|
4
4
|
declare const TableHeader: import('vue').DefineSetupFnComponent<TableHeaderProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
|
-
class?:
|
|
5
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
export default TableHeader;
|
|
@@ -5,7 +5,7 @@ export type TableRowProps = VueToJSXProps<UIProps, 'tabIndex' | 'aria-disabled'>
|
|
|
5
5
|
isDisabled?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const TableRow: import('vue').DefineSetupFnComponent<TableRowProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-disabled" | "tabIndex"> & {
|
|
8
|
-
class?:
|
|
8
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
9
9
|
} & {
|
|
10
10
|
/** Whether the component is disabled or not. */
|
|
11
11
|
isDisabled?: boolean;
|
package/components/tabs/Tab.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
11
11
|
* @return Vue element.
|
|
12
12
|
*/
|
|
13
13
|
declare const Tab: import('vue').DefineSetupFnComponent<TabProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | TabPropsToOverride> & {
|
|
14
|
-
class?:
|
|
14
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
15
15
|
} & {}, import('vue').PublicProps>;
|
|
16
16
|
export default Tab;
|
|
@@ -16,6 +16,6 @@ export { TabListLayout, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
16
16
|
* @return Vue element.
|
|
17
17
|
*/
|
|
18
18
|
declare const TabList: import('vue').DefineSetupFnComponent<InternalProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-label"> & {
|
|
19
|
-
class?:
|
|
19
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
20
20
|
} & {}, import('vue').PublicProps>;
|
|
21
21
|
export default TabList;
|
|
@@ -11,6 +11,6 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
11
11
|
* @return Vue element.
|
|
12
12
|
*/
|
|
13
13
|
declare const TabPanel: import('vue').DefineSetupFnComponent<TabPanelProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | TabPanelPropsToOverride> & {
|
|
14
|
-
class?:
|
|
14
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
15
15
|
} & {}, import('vue').PublicProps>;
|
|
16
16
|
export default TabPanel;
|
|
@@ -8,6 +8,6 @@ export type TextProps = VueToJSXProps<UIProps>;
|
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
10
|
declare const Text: import('vue').DefineSetupFnComponent<TextProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
|
-
class?:
|
|
11
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Text;
|
|
@@ -16,7 +16,7 @@ declare const RawInputText: import('vue').DefineSetupFnComponent<RawInputTextPro
|
|
|
16
16
|
change: (value: string, _name?: string, _event?: Event) => boolean;
|
|
17
17
|
input: (value: string, _name?: string, _event?: Event) => boolean;
|
|
18
18
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
19
|
-
class?:
|
|
19
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
20
20
|
} & {
|
|
21
21
|
onInput?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
|
|
22
22
|
onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
|
|
@@ -16,7 +16,7 @@ declare const RawInputTextarea: import('vue').DefineSetupFnComponent<RawInputTex
|
|
|
16
16
|
change: (value: string, _name?: string, _event?: Event) => boolean;
|
|
17
17
|
input: (value: string, _name?: string, _event?: Event) => boolean;
|
|
18
18
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
19
|
-
class?:
|
|
19
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
20
20
|
} & {
|
|
21
21
|
onInput?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
|
|
22
22
|
onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
|
|
@@ -44,7 +44,7 @@ declare const TextField: import('vue').DefineSetupFnComponent<TextFieldProps, {
|
|
|
44
44
|
blur: (_event?: FocusEvent) => boolean;
|
|
45
45
|
clear: (_event?: MouseEvent) => boolean;
|
|
46
46
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "chips" | TextFieldPropsToOverride> & {
|
|
47
|
-
class?:
|
|
47
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
48
48
|
} & {
|
|
49
49
|
/** Native input id property (generated if not provided). */
|
|
50
50
|
id?: string;
|
|
@@ -22,7 +22,7 @@ declare const Thumbnail: import('vue').DefineSetupFnComponent<ThumbnailProps, {
|
|
|
22
22
|
click: (event: Event) => boolean;
|
|
23
23
|
keyPress: (event: Event) => boolean;
|
|
24
24
|
}, {}, Omit<Omit<UIProps, "isAnyDisabled" | "disabledStateProps" | "badge" | "fallback" | "loadingState" | "imgRef" | "focusPointStyle">, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
25
|
-
class?:
|
|
25
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
26
26
|
} & {
|
|
27
27
|
/** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
|
|
28
28
|
focusPoint?: FocusPoint;
|
|
@@ -3,6 +3,6 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
|
3
3
|
export type ToolbarProps = VueToJSXProps<UIProps, 'label' | 'after' | 'before'>;
|
|
4
4
|
export { CLASSNAME, TOOLBAR_NAME, DEFAULT_PROPS };
|
|
5
5
|
declare const Toolbar: import('vue').DefineSetupFnComponent<ToolbarProps, {}, {}, Omit<UIProps, "className" | "label" | import('@lumx/core/js/types').PropsToOverride | "children" | "before" | "after"> & {
|
|
6
|
-
class?:
|
|
6
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
7
7
|
} & {}, import('vue').PublicProps>;
|
|
8
8
|
export default Toolbar;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { TooltipProps as CoreTooltipProps, TooltipPlacement } from '@lumx/core/js/components/Tooltip';
|
|
2
|
+
import { ClassValue } from '../../utils/VueToJSX';
|
|
2
3
|
export type { TooltipPlacement };
|
|
3
4
|
/**
|
|
4
5
|
* Defines the props of the component.
|
|
5
6
|
*/
|
|
6
7
|
export interface TooltipProps extends CoreTooltipProps {
|
|
7
8
|
/** Class name forwarded to the tooltip popup */
|
|
8
|
-
class?:
|
|
9
|
+
class?: ClassValue;
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* Vue Tooltip component.
|
|
@@ -28,7 +28,7 @@ export { UploaderVariant, DEFAULT_PROPS, CLASSNAME, COMPONENT_NAME };
|
|
|
28
28
|
declare const Uploader: import('vue').DefineSetupFnComponent<UploaderProps, {
|
|
29
29
|
change: (_files: File[], _event?: Event) => boolean;
|
|
30
30
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | UploaderPropsToOverride> & {
|
|
31
|
-
class?:
|
|
31
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
32
32
|
} & {
|
|
33
33
|
/** Handle file selection with a native input file. */
|
|
34
34
|
fileInputProps?: VueFileInputProps;
|
|
@@ -25,7 +25,7 @@ declare const UserBlock: import('vue').DefineSetupFnComponent<UserBlockProps, {
|
|
|
25
25
|
mouseenter: () => boolean;
|
|
26
26
|
mouseleave: () => boolean;
|
|
27
27
|
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "after" | "multipleActions" | "simpleAction" | "additionalFields" | UserBlockPropsToOverride> & {
|
|
28
|
-
class?:
|
|
28
|
+
class?: import('../../utils/VueToJSX').ClassValue;
|
|
29
29
|
} & {
|
|
30
30
|
/** Props to pass to the avatar. */
|
|
31
31
|
avatarProps?: Omit<AvatarProps, "alt">;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { ClassValue } from '../utils/VueToJSX';
|
|
2
3
|
/**
|
|
3
4
|
* Composable that merges the Vue `class` prop with the `className` attribute (for React compat).
|
|
4
5
|
*
|
|
@@ -12,4 +13,4 @@ import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
|
12
13
|
* @param classProp The Vue `class` prop value (or a getter/ref returning it).
|
|
13
14
|
* @return Computed ref holding the merged class string (or undefined when empty).
|
|
14
15
|
*/
|
|
15
|
-
export declare function useClassName(classProp: MaybeRefOrGetter<
|
|
16
|
+
export declare function useClassName(classProp: MaybeRefOrGetter<ClassValue>): ComputedRef<string | undefined>;
|
package/index.js
CHANGED
|
@@ -336,7 +336,11 @@ function Ql(e, t, n) {
|
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
function $(e) {
|
|
339
|
-
return Ql(
|
|
339
|
+
return Ql(
|
|
340
|
+
e,
|
|
341
|
+
"className",
|
|
342
|
+
(t, n) => ue.join(t, n) || void 0
|
|
343
|
+
);
|
|
340
344
|
}
|
|
341
345
|
function Zt(e, t) {
|
|
342
346
|
return ql() ? (eo(e, t), !0) : !1;
|