@lumx/vue 4.29.0-next.1 → 4.29.1-alpha.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/XznmRTWm.js +180 -0
- package/_internal/XznmRTWm.js.map +1 -0
- package/components/alert-dialog/AlertDialog.d.ts +5 -0
- package/components/avatar/Avatar.d.ts +4 -1
- package/components/badge/Badge.d.ts +3 -1
- package/components/badge/BadgeWrapper.d.ts +3 -1
- package/components/button/ButtonGroup.d.ts +1 -1
- package/components/card/Card.d.ts +3 -1
- package/components/checkbox/Checkbox.d.ts +19 -1
- package/components/chip/Chip.d.ts +12 -1
- package/components/chip/ChipGroup.d.ts +3 -1
- package/components/chip/SelectionChipGroup.d.ts +16 -1
- package/components/combobox/ComboboxButton.d.ts +9 -1
- package/components/combobox/ComboboxInput.d.ts +3 -0
- package/components/combobox/ComboboxPopover.d.ts +12 -1
- package/components/combobox/index.d.ts +49 -9
- package/components/composite/CompositeStatus.d.ts +7 -1
- package/components/dialog/Dialog.d.ts +5 -0
- package/components/dialog/DialogHeading.d.ts +14 -1
- package/components/divider/Divider.d.ts +3 -1
- package/components/drag-handle/DragHandle.d.ts +3 -1
- package/components/expansion-panel/ExpansionPanel.d.ts +13 -1
- package/components/flag/Flag.d.ts +6 -1
- package/components/flex-box/FlexBox.d.ts +8 -1
- package/components/generic-block/GenericBlock.d.ts +10 -1
- package/components/grid-column/GridColumn.d.ts +7 -1
- package/components/heading/Heading.d.ts +13 -1
- package/components/icon/Icon.d.ts +10 -1
- package/components/inline-list/InlineList.d.ts +6 -1
- package/components/input-helper/InputHelper.d.ts +5 -1
- package/components/input-label/InputLabel.d.ts +8 -1
- package/components/input-required-legend/InputRequiredLegend.d.ts +5 -1
- package/components/lightbox/Lightbox.d.ts +8 -1
- package/components/lightbox/LightboxContent.d.ts +8 -1
- package/components/lightbox/constants.d.ts +31 -3
- package/components/link/Link.d.ts +11 -1
- package/components/link-preview/LinkPreview.d.ts +10 -1
- package/components/list/List.d.ts +3 -1
- package/components/list/ListDivider.d.ts +1 -1
- package/components/list/ListItem.d.ts +14 -2
- package/components/list/ListItemAction.d.ts +5 -1
- package/components/list/ListSection.d.ts +5 -1
- package/components/listbox/ListboxList.d.ts +3 -1
- package/components/listbox/ListboxOption.d.ts +6 -1
- package/components/listbox/ListboxOptionAction.d.ts +1 -1
- package/components/listbox/ListboxOptionMoreInfo.d.ts +1 -1
- package/components/listbox/ListboxOptionSkeleton.d.ts +4 -1
- package/components/listbox/ListboxSection.d.ts +4 -1
- package/components/listbox/index.d.ts +25 -6
- package/components/menu-button/MenuButton.d.ts +5 -1
- package/components/menu-button/MenuItem.d.ts +3 -1
- package/components/menu-button/MenuList.d.ts +1 -1
- package/components/menu-button/MenuPopover.d.ts +4 -1
- package/components/menu-button/MenuTrigger.d.ts +3 -1
- package/components/message/Message.d.ts +5 -1
- package/components/mosaic/Mosaic.d.ts +3 -1
- package/components/popover/Popover.d.ts +23 -1
- package/components/popover-dialog/PopoverDialog.d.ts +19 -1
- package/components/popover-dialog/PopoverDialog.test.stories.d.ts +19 -1
- package/components/popover-dialog/PopoverDialogContent.d.ts +19 -1
- package/components/popover-dialog/constants.d.ts +106 -3
- package/components/progress/ProgressCircular.d.ts +5 -1
- package/components/progress/ProgressLinear.d.ts +3 -1
- package/components/radio-button/RadioButton.d.ts +14 -1
- package/components/scroll-box/ScrollBox.d.ts +4 -1
- package/components/select-button/SelectButton.d.ts +7 -1
- package/components/select-button/index.d.ts +6 -1
- package/components/select-text-field/SelectTextField.d.ts +12 -1
- package/components/select-text-field/SelectTextField.stories.d.ts +25 -0
- package/components/select-text-field/SelectTextField.test.stories.d.ts +16 -2
- package/components/select-text-field/Stories/InlineInPopoverDialog.vue.d.ts +16 -2
- package/components/select-text-field/index.d.ts +16 -5
- package/components/skeleton/SkeletonCircle.d.ts +5 -1
- package/components/skeleton/SkeletonRectangle.d.ts +8 -1
- package/components/skeleton/SkeletonTypography.d.ts +7 -1
- package/components/switch/Switch.d.ts +20 -1
- package/components/table/Table.d.ts +5 -1
- package/components/table/TableBody.d.ts +1 -1
- package/components/table/TableCell.d.ts +6 -1
- package/components/table/TableHeader.d.ts +1 -1
- package/components/table/TableRow.d.ts +4 -1
- package/components/tabs/TabList.d.ts +5 -1
- package/components/tabs/TabPanel.d.ts +4 -1
- package/components/tabs/TabProvider.d.ts +5 -0
- package/components/text/Text.d.ts +13 -1
- package/components/text-field/RawInputText.d.ts +6 -1
- package/components/text-field/RawInputTextarea.d.ts +6 -1
- package/components/text-field/TextField.d.ts +26 -1
- package/components/text-field/TextField.stories.d.ts +15 -0
- package/components/thumbnail/Thumbnail.d.ts +19 -1
- package/components/time-picker-field/TimePickerField.d.ts +5 -0
- package/components/toolbar/Toolbar.d.ts +1 -1
- package/components/tooltip/Tooltip.test.stories.d.ts +34 -0
- package/components/tooltip/useInjectTooltipRef.d.ts +3 -1
- package/components/tooltip/useTooltipOpen.d.ts +2 -1
- package/components/tree-list/TreeList.d.ts +5 -0
- package/components/tree-list/TreeListItem.d.ts +4 -1
- package/components/tree-list/TreeListSection.d.ts +3 -1
- package/components/tree-list/index.d.ts +9 -2
- package/components/uploader/Uploader.d.ts +11 -1
- package/components/user-block/UserBlock.d.ts +9 -1
- package/composables/useOverflowTitle.d.ts +8 -0
- package/composables/useOverflowTooltipLabel.d.ts +9 -4
- package/index.js +5475 -5457
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/utils/VueToJSX.d.ts +44 -4
- package/utils/index.d.ts +1 -0
- package/utils/index.js +27 -18
- package/utils/index.js.map +1 -1
- package/_internal/GIQod6ql.js +0 -160
- package/_internal/GIQod6ql.js.map +0 -1
|
@@ -27,7 +27,11 @@ export type MenuButtonProps = MenuButtonVariantsProps<MenuButtonBaseProps, {
|
|
|
27
27
|
* @param props Component props.
|
|
28
28
|
* @return Vue element.
|
|
29
29
|
*/
|
|
30
|
-
declare const MenuButton: import('vue').DefineSetupFnComponent<MenuButtonBaseProps, "open"[], {},
|
|
30
|
+
declare const MenuButton: import('vue').DefineSetupFnComponent<MenuButtonBaseProps, "open"[], {}, {
|
|
31
|
+
variant?: MenuButtonVariant | undefined;
|
|
32
|
+
label?: import('react').ReactNode;
|
|
33
|
+
popoverProps?: Record<string, any> | undefined;
|
|
34
|
+
} & {
|
|
31
35
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
32
36
|
} & {
|
|
33
37
|
/** Menu button label */
|
|
@@ -28,7 +28,9 @@ declare const MenuItem: import('vue').DefineSetupFnComponent<MenuItemProps, "cli
|
|
|
28
28
|
action: MenuItemActionSlotProps;
|
|
29
29
|
before: void;
|
|
30
30
|
after: void;
|
|
31
|
-
}>,
|
|
31
|
+
}>, {
|
|
32
|
+
isDisabled?: boolean | undefined;
|
|
33
|
+
} & {
|
|
32
34
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
33
35
|
} & {
|
|
34
36
|
/** MDI icon rendered as `<Icon size="xs" />` prepended to the `before` slot. */
|
|
@@ -8,7 +8,7 @@ export type MenuListProps = VueToJSXProps<UIProps, 'id' | 'aria-labelledby'>;
|
|
|
8
8
|
* @param props Component props.
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
|
-
declare const MenuList: import('vue').DefineSetupFnComponent<MenuListProps, {}, {},
|
|
11
|
+
declare const MenuList: import('vue').DefineSetupFnComponent<MenuListProps, {}, {}, {} & {
|
|
12
12
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export { CLASSNAME, COMPONENT_NAME };
|
|
@@ -8,7 +8,10 @@ export type MenuPopoverProps = VueToJSXProps<UIProps, 'anchorRef' | 'isOpen' | '
|
|
|
8
8
|
* @param props Component props.
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
|
-
declare const MenuPopover: import('vue').DefineSetupFnComponent<MenuPopoverProps, {}, {},
|
|
11
|
+
declare const MenuPopover: import('vue').DefineSetupFnComponent<MenuPopoverProps, {}, {}, {
|
|
12
|
+
placement?: import('@lumx/core/js/components/Popover/constants').Placement | undefined;
|
|
13
|
+
fitToAnchorWidth?: (import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | boolean) | undefined;
|
|
14
|
+
} & {
|
|
12
15
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
16
|
} & {}, import('vue').PublicProps>;
|
|
14
17
|
export { MENU_POPOVER_CLASSNAME as CLASSNAME, MENU_POPOVER_COMPONENT_NAME as COMPONENT_NAME };
|
|
@@ -8,7 +8,9 @@ export type MenuTriggerProps = VueToJSXProps<UIProps, 'menuId' | 'isOpen'>;
|
|
|
8
8
|
* @param props Component props.
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
|
-
declare const MenuTrigger: import('vue').DefineSetupFnComponent<MenuTriggerProps, {}, {},
|
|
11
|
+
declare const MenuTrigger: import('vue').DefineSetupFnComponent<MenuTriggerProps, {}, {}, {
|
|
12
|
+
id?: string | undefined;
|
|
13
|
+
} & {
|
|
12
14
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
15
|
} & {}, import('vue').PublicProps>;
|
|
14
16
|
export { CLASSNAME, COMPONENT_NAME };
|
|
@@ -14,7 +14,11 @@ export interface MessageEmits {
|
|
|
14
14
|
* @param props Component props.
|
|
15
15
|
* @return Vue element.
|
|
16
16
|
*/
|
|
17
|
-
declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {},
|
|
17
|
+
declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {}, {
|
|
18
|
+
kind?: import('@lumx/core/js/constants').Kind | undefined;
|
|
19
|
+
icon?: string | undefined;
|
|
20
|
+
hasBackground?: boolean | undefined;
|
|
21
|
+
} & {
|
|
18
22
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
19
23
|
} & {
|
|
20
24
|
/** label to be used for the close button */
|
|
@@ -19,7 +19,9 @@ export declare const emitSchema: {
|
|
|
19
19
|
*/
|
|
20
20
|
declare const Mosaic: import('vue').DefineSetupFnComponent<MosaicProps, {
|
|
21
21
|
handleClick: (index: number) => boolean;
|
|
22
|
-
}, {},
|
|
22
|
+
}, {}, {
|
|
23
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
24
|
+
} & {
|
|
23
25
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
24
26
|
} & {
|
|
25
27
|
/** Thumbnails. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { PopoverProps as CorePopoverProps } from '@lumx/core/js/components/Popover';
|
|
3
|
+
import { Placement } from '@lumx/core/js/components/Popover/constants';
|
|
3
4
|
import { PopoverSizes } from '@lumx/core/js/components/Popover/types';
|
|
4
5
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
5
6
|
/**
|
|
@@ -23,10 +24,30 @@ export type PopoverProps = VueToJSXProps<CorePopoverProps, 'anchorRef' | 'bounda
|
|
|
23
24
|
};
|
|
24
25
|
export declare const emitSchema: {
|
|
25
26
|
close: () => boolean;
|
|
27
|
+
/** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
|
|
28
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
26
29
|
};
|
|
27
30
|
declare const Popover: import('vue').DefineSetupFnComponent<PopoverProps, {
|
|
28
31
|
close: () => boolean;
|
|
29
|
-
|
|
32
|
+
/** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
|
|
33
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
34
|
+
}, {}, {
|
|
35
|
+
as?: string | undefined;
|
|
36
|
+
closeOnClickAway?: boolean | undefined;
|
|
37
|
+
closeOnEscape?: boolean | undefined;
|
|
38
|
+
elevation?: import('@lumx/core/js/types').Elevation | undefined;
|
|
39
|
+
fitToAnchorWidth?: (import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | boolean) | undefined;
|
|
40
|
+
fitWithinViewportHeight?: boolean | undefined;
|
|
41
|
+
focusAnchorOnClose?: boolean | undefined;
|
|
42
|
+
hasArrow?: boolean | undefined;
|
|
43
|
+
offset?: import('@lumx/core/js/components/Popover/types').Offset | undefined;
|
|
44
|
+
placement?: Placement | undefined;
|
|
45
|
+
usePortal?: boolean | undefined;
|
|
46
|
+
zIndex?: number | undefined;
|
|
47
|
+
withFocusTrap?: boolean | undefined;
|
|
48
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
49
|
+
closeMode?: "hide" | "unmount" | undefined;
|
|
50
|
+
} & {
|
|
30
51
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
31
52
|
} & PopoverSizes & {
|
|
32
53
|
/** Reference to the DOM element used to set the position of the popover. Accepts a Vue Ref for reactive positioning. */
|
|
@@ -43,5 +64,6 @@ declare const Popover: import('vue').DefineSetupFnComponent<PopoverProps, {
|
|
|
43
64
|
focusTrapZoneElement?: HTMLElement;
|
|
44
65
|
} & {
|
|
45
66
|
onClose?: (() => any) | undefined;
|
|
67
|
+
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
46
68
|
}, import('vue').PublicProps>;
|
|
47
69
|
export default Popover;
|
|
@@ -5,7 +5,24 @@ export type { PopoverDialogProps };
|
|
|
5
5
|
export { emitSchema };
|
|
6
6
|
declare const PopoverDialog: import('vue').DefineSetupFnComponent<PopoverDialogProps, {
|
|
7
7
|
close: () => boolean;
|
|
8
|
-
|
|
8
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
9
|
+
}, {}, {
|
|
10
|
+
as?: string | undefined;
|
|
11
|
+
closeOnClickAway?: boolean | undefined;
|
|
12
|
+
closeOnEscape?: boolean | undefined;
|
|
13
|
+
elevation?: import('@lumx/core/js/types').Elevation | undefined;
|
|
14
|
+
fitToAnchorWidth?: (import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | boolean) | undefined;
|
|
15
|
+
fitWithinViewportHeight?: boolean | undefined;
|
|
16
|
+
focusAnchorOnClose?: boolean | undefined;
|
|
17
|
+
hasArrow?: boolean | undefined;
|
|
18
|
+
offset?: import('@lumx/core/js/components/Popover/types').Offset | undefined;
|
|
19
|
+
placement?: import('@lumx/core/js/components/Popover/constants').Placement | undefined;
|
|
20
|
+
usePortal?: boolean | undefined;
|
|
21
|
+
zIndex?: number | undefined;
|
|
22
|
+
withFocusTrap?: boolean | undefined;
|
|
23
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
24
|
+
closeMode?: "hide" | "unmount" | undefined;
|
|
25
|
+
} & {
|
|
9
26
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
10
27
|
} & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
|
|
11
28
|
anchorRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -16,6 +33,7 @@ declare const PopoverDialog: import('vue').DefineSetupFnComponent<PopoverDialogP
|
|
|
16
33
|
focusTrapZoneElement?: HTMLElement;
|
|
17
34
|
} & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
|
|
18
35
|
onClose?: (() => any) | undefined;
|
|
36
|
+
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
19
37
|
}, import('vue').PublicProps>;
|
|
20
38
|
export default PopoverDialog;
|
|
21
39
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
@@ -2,7 +2,24 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
component: import('vue').DefineSetupFnComponent<import('../..').PopoverDialogProps, {
|
|
4
4
|
close: () => boolean;
|
|
5
|
-
|
|
5
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
6
|
+
}, {}, {
|
|
7
|
+
as?: string | undefined;
|
|
8
|
+
closeOnClickAway?: boolean | undefined;
|
|
9
|
+
closeOnEscape?: boolean | undefined;
|
|
10
|
+
elevation?: import('../..').Elevation | undefined;
|
|
11
|
+
fitToAnchorWidth?: (import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | boolean) | undefined;
|
|
12
|
+
fitWithinViewportHeight?: boolean | undefined;
|
|
13
|
+
focusAnchorOnClose?: boolean | undefined;
|
|
14
|
+
hasArrow?: boolean | undefined;
|
|
15
|
+
offset?: import('../..').Offset | undefined;
|
|
16
|
+
placement?: import('../..').Placement | undefined;
|
|
17
|
+
usePortal?: boolean | undefined;
|
|
18
|
+
zIndex?: number | undefined;
|
|
19
|
+
withFocusTrap?: boolean | undefined;
|
|
20
|
+
theme?: import('../..').Theme | undefined;
|
|
21
|
+
closeMode?: "hide" | "unmount" | undefined;
|
|
22
|
+
} & {
|
|
6
23
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
7
24
|
} & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
|
|
8
25
|
anchorRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -13,6 +30,7 @@ declare const _default: {
|
|
|
13
30
|
focusTrapZoneElement?: HTMLElement;
|
|
14
31
|
} & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
|
|
15
32
|
onClose?: (() => any) | undefined;
|
|
33
|
+
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
16
34
|
}, import('vue').PublicProps>;
|
|
17
35
|
tags: string[];
|
|
18
36
|
parameters: {
|
|
@@ -8,7 +8,24 @@ import { PopoverDialogProps } from './types';
|
|
|
8
8
|
*/
|
|
9
9
|
declare const PopoverDialogContent: import('vue').DefineSetupFnComponent<PopoverDialogProps, {
|
|
10
10
|
close: () => boolean;
|
|
11
|
-
|
|
11
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
12
|
+
}, {}, {
|
|
13
|
+
as?: string | undefined;
|
|
14
|
+
closeOnClickAway?: boolean | undefined;
|
|
15
|
+
closeOnEscape?: boolean | undefined;
|
|
16
|
+
elevation?: import('@lumx/core/js/types').Elevation | undefined;
|
|
17
|
+
fitToAnchorWidth?: (import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | boolean) | undefined;
|
|
18
|
+
fitWithinViewportHeight?: boolean | undefined;
|
|
19
|
+
focusAnchorOnClose?: boolean | undefined;
|
|
20
|
+
hasArrow?: boolean | undefined;
|
|
21
|
+
offset?: import('@lumx/core/js/components/Popover/types').Offset | undefined;
|
|
22
|
+
placement?: import('@lumx/core/js/components/Popover/constants').Placement | undefined;
|
|
23
|
+
usePortal?: boolean | undefined;
|
|
24
|
+
zIndex?: number | undefined;
|
|
25
|
+
withFocusTrap?: boolean | undefined;
|
|
26
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
27
|
+
closeMode?: "hide" | "unmount" | undefined;
|
|
28
|
+
} & {
|
|
12
29
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
13
30
|
} & import('@lumx/core/js/components/Popover/types').PopoverSizes & {
|
|
14
31
|
anchorRef?: import('vue').Ref<HTMLElement | undefined> | HTMLElement;
|
|
@@ -19,5 +36,6 @@ declare const PopoverDialogContent: import('vue').DefineSetupFnComponent<Popover
|
|
|
19
36
|
focusTrapZoneElement?: HTMLElement;
|
|
20
37
|
} & Omit<import('@lumx/core/js/components/PopoverDialog').PopoverDialogProps, keyof import('@lumx/core/js/components/Popover').PopoverProps> & {
|
|
21
38
|
onClose?: (() => any) | undefined;
|
|
39
|
+
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
22
40
|
}, import('vue').PublicProps>;
|
|
23
41
|
export default PopoverDialogContent;
|
|
@@ -1,8 +1,111 @@
|
|
|
1
1
|
/** Emit contract, shared by the `PopoverDialog` wrapper and `PopoverDialogContent`. */
|
|
2
2
|
export declare const emitSchema: {
|
|
3
3
|
close: () => boolean;
|
|
4
|
+
/** Model update for `v-model:is-open`. Only ever sends `false`: the app opens the popover itself. */
|
|
5
|
+
'update:isOpen': (isOpen: boolean) => boolean;
|
|
4
6
|
};
|
|
5
7
|
/** Public prop names, shared by the `PopoverDialog` wrapper and `PopoverDialogContent`. */
|
|
6
|
-
export declare const POPOVER_DIALOG_PROP_KEYS:
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
export declare const POPOVER_DIALOG_PROP_KEYS: {
|
|
9
|
+
label: {
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
isOpen: {
|
|
13
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
zIndex: {
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
"aria-label": {
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
"aria-labelledby": {
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
focusElement: {
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
theme: {
|
|
29
|
+
required: false;
|
|
30
|
+
};
|
|
31
|
+
class: {
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
closeMode: {
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
parentElement: {
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
as: {
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
height: {
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
width: {
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
maxHeight: {
|
|
50
|
+
required: false;
|
|
51
|
+
};
|
|
52
|
+
maxWidth: {
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
minHeight: {
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
minWidth: {
|
|
59
|
+
required: false;
|
|
60
|
+
};
|
|
61
|
+
offset: {
|
|
62
|
+
required: false;
|
|
63
|
+
};
|
|
64
|
+
placement: {
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
67
|
+
anchorRef: {
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
boundaryRef: {
|
|
71
|
+
required: false;
|
|
72
|
+
};
|
|
73
|
+
closeOnClickAway: {
|
|
74
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
closeOnEscape: {
|
|
78
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
elevation: {
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
fitToAnchorWidth: {
|
|
85
|
+
type: import('vue').PropType<boolean | import('@lumx/core/js/components/Popover/constants').FitAnchorWidth | undefined>;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
fitWithinViewportHeight: {
|
|
89
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
focusAnchorOnClose: {
|
|
93
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
hasArrow: {
|
|
97
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
usePortal: {
|
|
101
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
focusTrapZoneElement: {
|
|
105
|
+
required: false;
|
|
106
|
+
};
|
|
107
|
+
withFocusTrap: {
|
|
108
|
+
type: import('vue').PropType<boolean | undefined>;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
@@ -3,7 +3,11 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
|
3
3
|
export type ProgressCircularProps = VueToJSXProps<UIProps, 'ref' | 'svgProps' | 'circleProps'>;
|
|
4
4
|
export type { ProgressCircularSize };
|
|
5
5
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
6
|
-
declare const ProgressCircular: import('vue').DefineSetupFnComponent<ProgressCircularProps, {}, {},
|
|
6
|
+
declare const ProgressCircular: import('vue').DefineSetupFnComponent<ProgressCircularProps, {}, {}, {
|
|
7
|
+
size?: ProgressCircularSize | undefined;
|
|
8
|
+
display?: "inline" | "block" | undefined;
|
|
9
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
10
|
+
} & {
|
|
7
11
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
8
12
|
} & {}, import('vue').PublicProps>;
|
|
9
13
|
export default ProgressCircular;
|
|
@@ -2,7 +2,9 @@ import { ProgressLinearProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROP
|
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
3
|
export type ProgressLinearProps = VueToJSXProps<UIProps, 'ref'>;
|
|
4
4
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
5
|
-
declare const ProgressLinear: import('vue').DefineSetupFnComponent<ProgressLinearProps, {}, {},
|
|
5
|
+
declare const ProgressLinear: import('vue').DefineSetupFnComponent<ProgressLinearProps, {}, {}, {
|
|
6
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
7
|
+
} & {
|
|
6
8
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
7
9
|
} & {}, import('vue').PublicProps>;
|
|
8
10
|
export default ProgressLinear;
|
|
@@ -13,7 +13,20 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
13
13
|
*/
|
|
14
14
|
declare const RadioButton: import('vue').DefineSetupFnComponent<RadioButtonProps, {
|
|
15
15
|
change: (value?: string, name?: string, event?: Event) => event is Event;
|
|
16
|
-
}, {},
|
|
16
|
+
}, {}, {
|
|
17
|
+
helper?: string | undefined;
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
label?: import('react').ReactNode;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
value?: string | undefined;
|
|
22
|
+
inputProps?: Record<string, any> | undefined;
|
|
23
|
+
theme?: import('@lumx/core/js/constants').Theme | undefined;
|
|
24
|
+
'aria-disabled'?: import('@lumx/core/js/types/Booleanish').Booleanish | undefined;
|
|
25
|
+
isDisabled?: boolean | undefined;
|
|
26
|
+
disabled?: boolean | undefined;
|
|
27
|
+
isChecked?: boolean | undefined;
|
|
28
|
+
checked?: boolean | undefined;
|
|
29
|
+
} & {
|
|
17
30
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
18
31
|
} & {
|
|
19
32
|
onChange?: ((value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
@@ -9,7 +9,10 @@ export { CLASSNAME, COMPONENT_NAME };
|
|
|
9
9
|
* @param props Component props.
|
|
10
10
|
* @return Vue element.
|
|
11
11
|
*/
|
|
12
|
-
declare const ScrollBox: import('vue').DefineSetupFnComponent<ScrollBoxProps, {}, {},
|
|
12
|
+
declare const ScrollBox: import('vue').DefineSetupFnComponent<ScrollBoxProps, {}, {}, {
|
|
13
|
+
scrollSnap?: boolean | undefined;
|
|
14
|
+
fillSpace?: boolean | undefined;
|
|
15
|
+
} & {
|
|
13
16
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
14
17
|
} & {}, import('vue').PublicProps>;
|
|
15
18
|
export default ScrollBox;
|
|
@@ -99,12 +99,15 @@ export declare const emitSchema: {
|
|
|
99
99
|
'load-more': () => boolean;
|
|
100
100
|
/** Dropdown opened or closed. */
|
|
101
101
|
open: (_isOpen: boolean) => boolean;
|
|
102
|
+
/** Model update for `v-model:value`. Typed payload restored via `SelectButtonEmits`. */
|
|
103
|
+
'update:value': (_newValue: unknown) => boolean;
|
|
102
104
|
};
|
|
103
105
|
/**
|
|
104
106
|
* SelectButton emits typed over the option type O and the selection type S.
|
|
105
107
|
*/
|
|
106
|
-
type SelectButtonEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change'> & {
|
|
108
|
+
type SelectButtonEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change' | 'update:value'> & {
|
|
107
109
|
change: (newValue: S extends 'multiple' ? O[] : O) => void;
|
|
110
|
+
'update:value': (newValue: S extends 'multiple' ? O[] : O) => void;
|
|
108
111
|
};
|
|
109
112
|
type SingleSelectButtonPublicProps<O> = SingleSelectButtonProps<O> & EmitsToProps<SelectButtonEmits<O, 'single'>>;
|
|
110
113
|
type MultipleSelectButtonPublicProps<O> = MultipleSelectButtonProps<O> & EmitsToProps<SelectButtonEmits<O, 'multiple'>>;
|
|
@@ -150,6 +153,8 @@ declare const SelectButton: import('vue').DefineSetupFnComponent<SelectButtonPro
|
|
|
150
153
|
'load-more': () => boolean;
|
|
151
154
|
/** Dropdown opened or closed. */
|
|
152
155
|
open: (_isOpen: boolean) => boolean;
|
|
156
|
+
/** Model update for `v-model:value`. Typed payload restored via `SelectButtonEmits`. */
|
|
157
|
+
'update:value': (_newValue: unknown) => boolean;
|
|
153
158
|
}, SlotsType<{
|
|
154
159
|
/**
|
|
155
160
|
* Replaces the default `<Button rightIcon={mdiMenuDown}>` trigger.
|
|
@@ -169,6 +174,7 @@ declare const SelectButton: import('vue').DefineSetupFnComponent<SelectButtonPro
|
|
|
169
174
|
}>, SelectButtonProps<any> & {
|
|
170
175
|
onChange?: ((_newValue: unknown) => any) | undefined;
|
|
171
176
|
onOpen?: ((_isOpen: boolean) => any) | undefined;
|
|
177
|
+
"onUpdate:value"?: ((_newValue: unknown) => any) | undefined;
|
|
172
178
|
"onLoad-more"?: (() => any) | undefined;
|
|
173
179
|
}, PublicProps>;
|
|
174
180
|
declare const _default: SelectButtonConstructor & typeof SelectButton;
|
|
@@ -3,7 +3,12 @@ export type { SelectListStatus, SelectListStatus as SelectButtonStatus, SelectBu
|
|
|
3
3
|
/** Selectable option within the dropdown list. */
|
|
4
4
|
export declare const SelectButtonOption: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionProps, {
|
|
5
5
|
click: () => boolean;
|
|
6
|
-
}, {},
|
|
6
|
+
}, {}, {
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
isDisabled?: boolean | undefined;
|
|
9
|
+
isSelected?: boolean | undefined;
|
|
10
|
+
value?: string | undefined;
|
|
11
|
+
} & {
|
|
7
12
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
8
13
|
} & {
|
|
9
14
|
tooltipProps?: Partial<import('../tooltip').TooltipProps>;
|
|
@@ -9,6 +9,11 @@ import { ClassValue, EmitsOf, HyphenatedAriaProps } from '../../utils/VueToJSX';
|
|
|
9
9
|
interface BaseSelectTextFieldProps<O = any> extends Omit<BaseSelectTextFieldWrapperProps<O>, HyphenatedAriaProps> {
|
|
10
10
|
/** Content to render before the options list. */
|
|
11
11
|
beforeOptions?: JSXElement;
|
|
12
|
+
/**
|
|
13
|
+
* Element to display at the start of the field, after the icon.
|
|
14
|
+
* Mark it as decorative (`aria-hidden`) when the input text gives the same information.
|
|
15
|
+
*/
|
|
16
|
+
beforeElement?: JSXElement;
|
|
12
17
|
/** CSS class. */
|
|
13
18
|
class?: ClassValue;
|
|
14
19
|
}
|
|
@@ -63,12 +68,15 @@ declare const emitSchema: {
|
|
|
63
68
|
clear: (_event?: MouseEvent) => boolean;
|
|
64
69
|
/** Dropdown opened or closed. */
|
|
65
70
|
open: (_isOpen: boolean) => boolean;
|
|
71
|
+
/** Model update for `v-model:value`. Typed payload restored via `SelectTextFieldEmits`. */
|
|
72
|
+
'update:value': (_newValue?: unknown) => boolean;
|
|
66
73
|
};
|
|
67
74
|
/**
|
|
68
75
|
* SelectTextField emits (adapting to the selection type).
|
|
69
76
|
*/
|
|
70
|
-
type SelectTextFieldEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change'> & {
|
|
77
|
+
type SelectTextFieldEmits<O, S extends 'single' | 'multiple'> = Omit<EmitsOf<typeof emitSchema>, 'change' | 'update:value'> & {
|
|
71
78
|
change: (newValue: (S extends 'multiple' ? O[] : O) | undefined) => void;
|
|
79
|
+
'update:value': (newValue: (S extends 'multiple' ? O[] : O) | undefined) => void;
|
|
72
80
|
};
|
|
73
81
|
type SingleSelectTextFieldPublicProps<O> = SingleSelectTextFieldProps<O> & EmitsToProps<SelectTextFieldEmits<O, 'single'>>;
|
|
74
82
|
type MultipleSelectTextFieldPublicProps<O> = MultipleSelectTextFieldProps<O> & EmitsToProps<SelectTextFieldEmits<O, 'multiple'>>;
|
|
@@ -122,6 +130,8 @@ declare const SelectTextField: import('vue').DefineSetupFnComponent<SelectTextFi
|
|
|
122
130
|
clear: (_event?: MouseEvent) => boolean;
|
|
123
131
|
/** Dropdown opened or closed. */
|
|
124
132
|
open: (_isOpen: boolean) => boolean;
|
|
133
|
+
/** Model update for `v-model:value`. Typed payload restored via `SelectTextFieldEmits`. */
|
|
134
|
+
'update:value': (_newValue?: unknown) => boolean;
|
|
125
135
|
}, {}, SelectTextFieldProps<any> & {
|
|
126
136
|
onSearch?: ((_searchText: string) => any) | undefined;
|
|
127
137
|
onBlur?: ((_event?: FocusEvent | undefined) => any) | undefined;
|
|
@@ -130,6 +140,7 @@ declare const SelectTextField: import('vue').DefineSetupFnComponent<SelectTextFi
|
|
|
130
140
|
onKeydown?: ((_event?: KeyboardEvent | undefined) => any) | undefined;
|
|
131
141
|
onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
|
|
132
142
|
onOpen?: ((_isOpen: boolean) => any) | undefined;
|
|
143
|
+
"onUpdate:value"?: ((_newValue?: unknown) => any) | undefined;
|
|
133
144
|
"onLoad-more"?: (() => any) | undefined;
|
|
134
145
|
}, PublicProps>;
|
|
135
146
|
declare const _default: SelectTextFieldConstructor & typeof SelectTextField;
|
|
@@ -172,6 +172,31 @@ export declare const ErrorState: {
|
|
|
172
172
|
decorators: ((story: any, context: any) => any)[];
|
|
173
173
|
render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
174
174
|
};
|
|
175
|
+
export declare const WithBeforeElement: {
|
|
176
|
+
args: {
|
|
177
|
+
value: {
|
|
178
|
+
id: string;
|
|
179
|
+
name: string;
|
|
180
|
+
avatar: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
decorators: ((story: any, context: any) => any)[];
|
|
184
|
+
render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
185
|
+
};
|
|
186
|
+
export declare const MultipleWithBeforeElement: {
|
|
187
|
+
args: {
|
|
188
|
+
value: {
|
|
189
|
+
id: string;
|
|
190
|
+
name: string;
|
|
191
|
+
icon: string;
|
|
192
|
+
category: string;
|
|
193
|
+
categoryIcon: string;
|
|
194
|
+
description: string;
|
|
195
|
+
}[];
|
|
196
|
+
};
|
|
197
|
+
decorators: ((story: any, context: any) => any)[];
|
|
198
|
+
render: ({ value, onChange }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
199
|
+
};
|
|
175
200
|
/** SelectTextField with custom option, section title, and chip rendering via scoped slots */
|
|
176
201
|
export declare const CustomRender: {
|
|
177
202
|
render: () => {
|
|
@@ -86,7 +86,14 @@ export declare const InlineInPopoverDialog: {
|
|
|
86
86
|
}, import('../button').ButtonProps & {
|
|
87
87
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
88
88
|
}, {}, {}, {}, {}, {}> | null;
|
|
89
|
-
content: import('vue').CreateComponentPublicInstanceWithMixins<
|
|
89
|
+
content: import('vue').CreateComponentPublicInstanceWithMixins<{
|
|
90
|
+
fillSpace?: boolean | undefined;
|
|
91
|
+
gap?: import('@lumx/core/js/components/FlexBox').GapSize | undefined;
|
|
92
|
+
marginAuto?: (import('@lumx/core/js/components/FlexBox').MarginAutoAlignment | import('@lumx/core/js/components/FlexBox').MarginAutoAlignment[]) | undefined;
|
|
93
|
+
noShrink?: boolean | undefined;
|
|
94
|
+
orientation?: import('@lumx/core/js/constants').Orientation | undefined;
|
|
95
|
+
wrap?: boolean | undefined;
|
|
96
|
+
} & {
|
|
90
97
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
91
98
|
} & {
|
|
92
99
|
as?: string;
|
|
@@ -99,7 +106,14 @@ export declare const InlineInPopoverDialog: {
|
|
|
99
106
|
C: {};
|
|
100
107
|
M: {};
|
|
101
108
|
Defaults: {};
|
|
102
|
-
},
|
|
109
|
+
}, {
|
|
110
|
+
fillSpace?: boolean | undefined;
|
|
111
|
+
gap?: import('@lumx/core/js/components/FlexBox').GapSize | undefined;
|
|
112
|
+
marginAuto?: (import('@lumx/core/js/components/FlexBox').MarginAutoAlignment | import('@lumx/core/js/components/FlexBox').MarginAutoAlignment[]) | undefined;
|
|
113
|
+
noShrink?: boolean | undefined;
|
|
114
|
+
orientation?: import('@lumx/core/js/constants').Orientation | undefined;
|
|
115
|
+
wrap?: boolean | undefined;
|
|
116
|
+
} & {
|
|
103
117
|
class?: import('../../utils/VueToJSX').ClassValue;
|
|
104
118
|
} & {
|
|
105
119
|
as?: string;
|
|
@@ -13,7 +13,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
13
13
|
}, import('../../..').ButtonProps & {
|
|
14
14
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
15
|
}, {}, {}, {}, {}, {}> | null;
|
|
16
|
-
content: import('vue').CreateComponentPublicInstanceWithMixins<
|
|
16
|
+
content: import('vue').CreateComponentPublicInstanceWithMixins<{
|
|
17
|
+
fillSpace?: boolean | undefined;
|
|
18
|
+
gap?: import('../../..').GapSize | undefined;
|
|
19
|
+
marginAuto?: (import('../../..').MarginAutoAlignment | import('../../..').MarginAutoAlignment[]) | undefined;
|
|
20
|
+
noShrink?: boolean | undefined;
|
|
21
|
+
orientation?: import('../../..').Orientation | undefined;
|
|
22
|
+
wrap?: boolean | undefined;
|
|
23
|
+
} & {
|
|
17
24
|
class?: import('../../../utils/VueToJSX').ClassValue;
|
|
18
25
|
} & {
|
|
19
26
|
as?: string;
|
|
@@ -26,7 +33,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
26
33
|
C: {};
|
|
27
34
|
M: {};
|
|
28
35
|
Defaults: {};
|
|
29
|
-
},
|
|
36
|
+
}, {
|
|
37
|
+
fillSpace?: boolean | undefined;
|
|
38
|
+
gap?: import('../../..').GapSize | undefined;
|
|
39
|
+
marginAuto?: (import('../../..').MarginAutoAlignment | import('../../..').MarginAutoAlignment[]) | undefined;
|
|
40
|
+
noShrink?: boolean | undefined;
|
|
41
|
+
orientation?: import('../../..').Orientation | undefined;
|
|
42
|
+
wrap?: boolean | undefined;
|
|
43
|
+
} & {
|
|
30
44
|
class?: import('../../../utils/VueToJSX').ClassValue;
|
|
31
45
|
} & {
|
|
32
46
|
as?: string;
|