@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.
Files changed (112) hide show
  1. package/_internal/XznmRTWm.js +180 -0
  2. package/_internal/XznmRTWm.js.map +1 -0
  3. package/components/alert-dialog/AlertDialog.d.ts +5 -0
  4. package/components/avatar/Avatar.d.ts +4 -1
  5. package/components/badge/Badge.d.ts +3 -1
  6. package/components/badge/BadgeWrapper.d.ts +3 -1
  7. package/components/button/ButtonGroup.d.ts +1 -1
  8. package/components/card/Card.d.ts +3 -1
  9. package/components/checkbox/Checkbox.d.ts +19 -1
  10. package/components/chip/Chip.d.ts +12 -1
  11. package/components/chip/ChipGroup.d.ts +3 -1
  12. package/components/chip/SelectionChipGroup.d.ts +16 -1
  13. package/components/combobox/ComboboxButton.d.ts +9 -1
  14. package/components/combobox/ComboboxInput.d.ts +3 -0
  15. package/components/combobox/ComboboxPopover.d.ts +12 -1
  16. package/components/combobox/index.d.ts +49 -9
  17. package/components/composite/CompositeStatus.d.ts +7 -1
  18. package/components/dialog/Dialog.d.ts +5 -0
  19. package/components/dialog/DialogHeading.d.ts +14 -1
  20. package/components/divider/Divider.d.ts +3 -1
  21. package/components/drag-handle/DragHandle.d.ts +3 -1
  22. package/components/expansion-panel/ExpansionPanel.d.ts +13 -1
  23. package/components/flag/Flag.d.ts +6 -1
  24. package/components/flex-box/FlexBox.d.ts +8 -1
  25. package/components/generic-block/GenericBlock.d.ts +10 -1
  26. package/components/grid-column/GridColumn.d.ts +7 -1
  27. package/components/heading/Heading.d.ts +13 -1
  28. package/components/icon/Icon.d.ts +10 -1
  29. package/components/inline-list/InlineList.d.ts +6 -1
  30. package/components/input-helper/InputHelper.d.ts +5 -1
  31. package/components/input-label/InputLabel.d.ts +8 -1
  32. package/components/input-required-legend/InputRequiredLegend.d.ts +5 -1
  33. package/components/lightbox/Lightbox.d.ts +8 -1
  34. package/components/lightbox/LightboxContent.d.ts +8 -1
  35. package/components/lightbox/constants.d.ts +31 -3
  36. package/components/link/Link.d.ts +11 -1
  37. package/components/link-preview/LinkPreview.d.ts +10 -1
  38. package/components/list/List.d.ts +3 -1
  39. package/components/list/ListDivider.d.ts +1 -1
  40. package/components/list/ListItem.d.ts +14 -2
  41. package/components/list/ListItemAction.d.ts +5 -1
  42. package/components/list/ListSection.d.ts +5 -1
  43. package/components/listbox/ListboxList.d.ts +3 -1
  44. package/components/listbox/ListboxOption.d.ts +6 -1
  45. package/components/listbox/ListboxOptionAction.d.ts +1 -1
  46. package/components/listbox/ListboxOptionMoreInfo.d.ts +1 -1
  47. package/components/listbox/ListboxOptionSkeleton.d.ts +4 -1
  48. package/components/listbox/ListboxSection.d.ts +4 -1
  49. package/components/listbox/index.d.ts +25 -6
  50. package/components/menu-button/MenuButton.d.ts +5 -1
  51. package/components/menu-button/MenuItem.d.ts +3 -1
  52. package/components/menu-button/MenuList.d.ts +1 -1
  53. package/components/menu-button/MenuPopover.d.ts +4 -1
  54. package/components/menu-button/MenuTrigger.d.ts +3 -1
  55. package/components/message/Message.d.ts +5 -1
  56. package/components/mosaic/Mosaic.d.ts +3 -1
  57. package/components/popover/Popover.d.ts +23 -1
  58. package/components/popover-dialog/PopoverDialog.d.ts +19 -1
  59. package/components/popover-dialog/PopoverDialog.test.stories.d.ts +19 -1
  60. package/components/popover-dialog/PopoverDialogContent.d.ts +19 -1
  61. package/components/popover-dialog/constants.d.ts +106 -3
  62. package/components/progress/ProgressCircular.d.ts +5 -1
  63. package/components/progress/ProgressLinear.d.ts +3 -1
  64. package/components/radio-button/RadioButton.d.ts +14 -1
  65. package/components/scroll-box/ScrollBox.d.ts +4 -1
  66. package/components/select-button/SelectButton.d.ts +7 -1
  67. package/components/select-button/index.d.ts +6 -1
  68. package/components/select-text-field/SelectTextField.d.ts +12 -1
  69. package/components/select-text-field/SelectTextField.stories.d.ts +25 -0
  70. package/components/select-text-field/SelectTextField.test.stories.d.ts +16 -2
  71. package/components/select-text-field/Stories/InlineInPopoverDialog.vue.d.ts +16 -2
  72. package/components/select-text-field/index.d.ts +16 -5
  73. package/components/skeleton/SkeletonCircle.d.ts +5 -1
  74. package/components/skeleton/SkeletonRectangle.d.ts +8 -1
  75. package/components/skeleton/SkeletonTypography.d.ts +7 -1
  76. package/components/switch/Switch.d.ts +20 -1
  77. package/components/table/Table.d.ts +5 -1
  78. package/components/table/TableBody.d.ts +1 -1
  79. package/components/table/TableCell.d.ts +6 -1
  80. package/components/table/TableHeader.d.ts +1 -1
  81. package/components/table/TableRow.d.ts +4 -1
  82. package/components/tabs/TabList.d.ts +5 -1
  83. package/components/tabs/TabPanel.d.ts +4 -1
  84. package/components/tabs/TabProvider.d.ts +5 -0
  85. package/components/text/Text.d.ts +13 -1
  86. package/components/text-field/RawInputText.d.ts +6 -1
  87. package/components/text-field/RawInputTextarea.d.ts +6 -1
  88. package/components/text-field/TextField.d.ts +26 -1
  89. package/components/text-field/TextField.stories.d.ts +15 -0
  90. package/components/thumbnail/Thumbnail.d.ts +19 -1
  91. package/components/time-picker-field/TimePickerField.d.ts +5 -0
  92. package/components/toolbar/Toolbar.d.ts +1 -1
  93. package/components/tooltip/Tooltip.test.stories.d.ts +34 -0
  94. package/components/tooltip/useInjectTooltipRef.d.ts +3 -1
  95. package/components/tooltip/useTooltipOpen.d.ts +2 -1
  96. package/components/tree-list/TreeList.d.ts +5 -0
  97. package/components/tree-list/TreeListItem.d.ts +4 -1
  98. package/components/tree-list/TreeListSection.d.ts +3 -1
  99. package/components/tree-list/index.d.ts +9 -2
  100. package/components/uploader/Uploader.d.ts +11 -1
  101. package/components/user-block/UserBlock.d.ts +9 -1
  102. package/composables/useOverflowTitle.d.ts +8 -0
  103. package/composables/useOverflowTooltipLabel.d.ts +9 -4
  104. package/index.js +5475 -5457
  105. package/index.js.map +1 -1
  106. package/package.json +3 -3
  107. package/utils/VueToJSX.d.ts +44 -4
  108. package/utils/index.d.ts +1 -0
  109. package/utils/index.js +27 -18
  110. package/utils/index.js.map +1 -1
  111. package/_internal/GIQod6ql.js +0 -160
  112. package/_internal/GIQod6ql.js.map +0 -1
@@ -4,7 +4,12 @@ export type { SelectTextFieldTranslations } from '@lumx/core/js/utils/select/typ
4
4
  /** Selectable option within the dropdown list. */
5
5
  export declare const SelectTextFieldOption: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionProps, {
6
6
  click: () => boolean;
7
- }, {}, Omit<import('@lumx/core/js/components/Listbox/ListboxOption').ListboxOptionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "id" | "hidden" | "descriptionId" | "isGrid" | import('@lumx/core/js/components/Listbox/ListboxOption').ListboxOptionPropsToOverride> & {
7
+ }, {}, {
8
+ description?: string | undefined;
9
+ isDisabled?: boolean | undefined;
10
+ isSelected?: boolean | undefined;
11
+ value?: string | undefined;
12
+ } & {
8
13
  class?: import('../../utils/VueToJSX').ClassValue;
9
14
  } & {
10
15
  tooltipProps?: Partial<import('../tooltip').TooltipProps>;
@@ -13,22 +18,28 @@ export declare const SelectTextFieldOption: import('vue').DefineSetupFnComponent
13
18
  onClick?: (() => any) | undefined;
14
19
  }, import('vue').PublicProps>;
15
20
  /** Labelled group of options. */
16
- export declare const SelectTextFieldSection: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxSectionProps, {}, {}, Omit<import('@lumx/core/js/components/Listbox/ListboxSection').ListboxSectionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-hidden" | "hidden"> & {
21
+ export declare const SelectTextFieldSection: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxSectionProps, {}, {}, {
22
+ label?: import('react').ReactNode;
23
+ icon?: string | undefined;
24
+ } & {
17
25
  class?: import('../../utils/VueToJSX').ClassValue;
18
26
  } & {}, import('vue').PublicProps>;
19
27
  /** Info icon on an option that reveals a popover with additional details. */
20
28
  export declare const SelectTextFieldOptionMoreInfo: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionMoreInfoProps, {
21
29
  toggle: (isOpen: boolean) => boolean;
22
- }, {}, Omit<import('@lumx/core/js/components/Listbox/ListboxOptionMoreInfo').ListboxOptionMoreInfoProps, "className" | import('@lumx/core/js/types').PropsToOverride | "onMouseEnter" | "onMouseLeave" | "buttonProps" | import('@lumx/core/js/components/Listbox/ListboxOptionMoreInfo').ListboxOptionMoreInfoPropsToOverride> & {
30
+ }, {}, {} & {
23
31
  class?: import('../../utils/VueToJSX').ClassValue;
24
32
  } & {
25
33
  onToggle?: ((isOpen: boolean) => any) | undefined;
26
34
  }, import('vue').PublicProps>;
27
35
  /** Skeleton loading placeholder for options being fetched. */
28
- export declare const SelectTextFieldOptionSkeleton: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionSkeletonProps, {}, {}, Omit<import('@lumx/core/js/components/Listbox/ListboxOptionSkeleton').ListboxOptionSkeletonProps, "className" | import('@lumx/core/js/types').PropsToOverride | import('@lumx/core/js/components/Listbox/ListboxOptionSkeleton').ListboxOptionSkeletonPropsToOverride> & {
36
+ export declare const SelectTextFieldOptionSkeleton: import('vue').DefineSetupFnComponent<import('../combobox').ComboboxOptionSkeletonProps, {}, {}, {
37
+ hasDescription?: boolean | undefined;
38
+ count?: number | undefined;
39
+ } & {
29
40
  class?: import('../../utils/VueToJSX').ClassValue;
30
41
  } & {}, import('vue').PublicProps>;
31
42
  /** Visual separator between option groups (alias for ListDivider). Purely decorative — invisible to screen readers. */
32
- 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"> & {
43
+ export declare const SelectTextFieldDivider: import('vue').DefineSetupFnComponent<import('../list').ListDividerProps, {}, {}, {} & {
33
44
  class?: import('../../utils/VueToJSX').ClassValue;
34
45
  } & {}, import('vue').PublicProps>;
@@ -8,7 +8,11 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
8
  * @param props Component props.
9
9
  * @return Vue element.
10
10
  */
11
- declare const SkeletonCircle: import('vue').DefineSetupFnComponent<SkeletonCircleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
11
+ declare const SkeletonCircle: import('vue').DefineSetupFnComponent<SkeletonCircleProps, {}, {}, {
12
+ size: import('@lumx/core/js/constants').GlobalSize;
13
+ color?: import('@lumx/core/js/constants').ColorPalette | undefined;
14
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
15
+ } & {
12
16
  class?: import('../../utils/VueToJSX').ClassValue;
13
17
  } & {}, import('vue').PublicProps>;
14
18
  export default SkeletonCircle;
@@ -8,7 +8,14 @@ export { SkeletonRectangleVariant, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
8
  * @param props Component props.
9
9
  * @return Vue element.
10
10
  */
11
- declare const SkeletonRectangle: import('vue').DefineSetupFnComponent<SkeletonRectangleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
11
+ declare const SkeletonRectangle: import('vue').DefineSetupFnComponent<SkeletonRectangleProps, {}, {}, {
12
+ aspectRatio?: Extract<import('@lumx/core/js/constants').AspectRatio, "square" | "horizontal" | "vertical" | "wide"> | undefined;
13
+ height?: import('@lumx/core/js/constants').GlobalSize | undefined;
14
+ variant?: SkeletonRectangleVariant | undefined;
15
+ width?: import('@lumx/core/js/constants').GlobalSize | undefined;
16
+ color?: import('@lumx/core/js/constants').ColorPalette | undefined;
17
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
18
+ } & {
12
19
  class?: import('../../utils/VueToJSX').ClassValue;
13
20
  } & {}, import('vue').PublicProps>;
14
21
  export default SkeletonRectangle;
@@ -8,7 +8,13 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
8
  * @param props Component props.
9
9
  * @return Vue element.
10
10
  */
11
- declare const SkeletonTypography: import('vue').DefineSetupFnComponent<SkeletonTypographyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
11
+ declare const SkeletonTypography: import('vue').DefineSetupFnComponent<SkeletonTypographyProps, {}, {}, {
12
+ typography: import('@lumx/core/js/constants').TypographyInterface;
13
+ width?: import("csstype").Property.Width<string | number> | undefined;
14
+ color?: import('@lumx/core/js/constants').ColorPalette | undefined;
15
+ style?: import('react').CSSProperties | undefined;
16
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
17
+ } & {
12
18
  class?: import('../../utils/VueToJSX').ClassValue;
13
19
  } & {}, import('vue').PublicProps>;
14
20
  export default SkeletonTypography;
@@ -3,6 +3,8 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type SwitchProps = VueToJSXProps<UIProps, 'inputId' | 'inputRef'>;
4
4
  export declare const emitSchema: {
5
5
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
6
+ /** Model update for `v-model:is-checked`. */
7
+ 'update:isChecked': (isChecked: boolean) => boolean;
6
8
  };
7
9
  export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
8
10
  /**
@@ -13,9 +15,26 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
13
15
  */
14
16
  declare const Switch: import('vue').DefineSetupFnComponent<SwitchProps, {
15
17
  change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
16
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
18
+ /** Model update for `v-model:is-checked`. */
19
+ 'update:isChecked': (isChecked: boolean) => boolean;
20
+ }, {}, {
21
+ helper?: string | undefined;
22
+ id?: string | undefined;
23
+ label?: import('react').ReactNode;
24
+ name?: string | undefined;
25
+ value?: string | undefined;
26
+ inputProps?: Record<string, any> | undefined;
27
+ position?: "left" | "right" | undefined;
28
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
29
+ 'aria-disabled'?: import('@lumx/core/js/types/Booleanish').Booleanish | undefined;
30
+ isDisabled?: boolean | undefined;
31
+ disabled?: boolean | undefined;
32
+ isChecked?: boolean | undefined;
33
+ checked?: boolean | undefined;
34
+ } & {
17
35
  class?: import('../../utils/VueToJSX').ClassValue;
18
36
  } & {
19
37
  onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
38
+ "onUpdate:isChecked"?: ((isChecked: boolean) => any) | undefined;
20
39
  }, import('vue').PublicProps>;
21
40
  export default Switch;
@@ -1,7 +1,11 @@
1
1
  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
- declare const Table: import('vue').DefineSetupFnComponent<TableProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
4
+ declare const Table: import('vue').DefineSetupFnComponent<TableProps, {}, {}, {
5
+ hasBefore?: boolean | undefined;
6
+ hasDividers?: boolean | undefined;
7
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
8
+ } & {
5
9
  class?: import('../../utils/VueToJSX').ClassValue;
6
10
  } & {}, import('vue').PublicProps>;
7
11
  export default Table;
@@ -1,7 +1,7 @@
1
1
  import { TableBodyProps as UIProps } from '@lumx/core/js/components/Table/TableBody';
2
2
  import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type TableBodyProps = VueToJSXProps<UIProps>;
4
- declare const TableBody: import('vue').DefineSetupFnComponent<TableBodyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
4
+ declare const TableBody: import('vue').DefineSetupFnComponent<TableBodyProps, {}, {}, {} & {
5
5
  class?: import('../../utils/VueToJSX').ClassValue;
6
6
  } & {}, import('vue').PublicProps>;
7
7
  export default TableBody;
@@ -8,7 +8,12 @@ export declare const emitSchema: {
8
8
  };
9
9
  declare const TableCell: import('vue').DefineSetupFnComponent<TableCellProps, {
10
10
  headerClick: () => boolean;
11
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
11
+ }, {}, {
12
+ icon?: string | undefined;
13
+ isSortable?: boolean | undefined;
14
+ sortOrder?: ThOrder | undefined;
15
+ variant?: TableCellVariant | undefined;
16
+ } & {
12
17
  class?: import('../../utils/VueToJSX').ClassValue;
13
18
  } & {
14
19
  onHeaderClick?: (() => any) | undefined;
@@ -1,7 +1,7 @@
1
1
  import { TableHeaderProps as UIProps } from '@lumx/core/js/components/Table/TableHeader';
2
2
  import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type TableHeaderProps = VueToJSXProps<UIProps>;
4
- declare const TableHeader: import('vue').DefineSetupFnComponent<TableHeaderProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
4
+ declare const TableHeader: import('vue').DefineSetupFnComponent<TableHeaderProps, {}, {}, {} & {
5
5
  class?: import('../../utils/VueToJSX').ClassValue;
6
6
  } & {}, import('vue').PublicProps>;
7
7
  export default TableHeader;
@@ -4,7 +4,10 @@ export type TableRowProps = VueToJSXProps<UIProps, 'tabIndex' | 'aria-disabled'>
4
4
  /** Whether the component is disabled or not. */
5
5
  isDisabled?: boolean;
6
6
  };
7
- declare const TableRow: import('vue').DefineSetupFnComponent<TableRowProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-disabled" | "tabIndex"> & {
7
+ declare const TableRow: import('vue').DefineSetupFnComponent<TableRowProps, {}, {}, {
8
+ isClickable?: boolean | undefined;
9
+ isSelected?: boolean | undefined;
10
+ } & {
8
11
  class?: import('../../utils/VueToJSX').ClassValue;
9
12
  } & {
10
13
  /** Whether the component is disabled or not. */
@@ -16,7 +16,11 @@ export { TabListLayout, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
16
16
  * @param props Component props.
17
17
  * @return Vue element.
18
18
  */
19
- declare const TabList: import('vue').DefineSetupFnComponent<InternalProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-label" | "role"> & {
19
+ declare const TabList: import('vue').DefineSetupFnComponent<InternalProps, {}, {}, {
20
+ layout?: TabListLayout | undefined;
21
+ position?: import('@lumx/core/js/constants').Alignment | undefined;
22
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
23
+ } & {
20
24
  class?: import('../../utils/VueToJSX').ClassValue;
21
25
  } & {}, import('vue').PublicProps>;
22
26
  export default TabList;
@@ -10,7 +10,10 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
10
10
  * @param props Component props.
11
11
  * @return Vue element.
12
12
  */
13
- declare const TabPanel: import('vue').DefineSetupFnComponent<TabPanelProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | TabPanelPropsToOverride> & {
13
+ declare const TabPanel: import('vue').DefineSetupFnComponent<TabPanelProps, {}, {}, {
14
+ isActive?: boolean | undefined;
15
+ id?: string | undefined;
16
+ } & {
14
17
  class?: import('../../utils/VueToJSX').ClassValue;
15
18
  } & {}, import('vue').PublicProps>;
16
19
  export default TabPanel;
@@ -8,6 +8,8 @@ export interface TabProviderProps {
8
8
  }
9
9
  export declare const emitSchema: {
10
10
  change: (index: number) => boolean;
11
+ /** Model update for `v-model:active-tab-index`. */
12
+ 'update:activeTabIndex': (index: number) => boolean;
11
13
  };
12
14
  /**
13
15
  * This component provides a context in which tabs can be defined and linked to their tab panel.
@@ -20,7 +22,10 @@ export declare const emitSchema: {
20
22
  */
21
23
  declare const TabProvider: import('vue').DefineSetupFnComponent<TabProviderProps, {
22
24
  change: (index: number) => boolean;
25
+ /** Model update for `v-model:active-tab-index`. */
26
+ 'update:activeTabIndex': (index: number) => boolean;
23
27
  }, {}, TabProviderProps & {
24
28
  onChange?: ((index: number) => any) | undefined;
29
+ "onUpdate:activeTabIndex"?: ((index: number) => any) | undefined;
25
30
  }, import('vue').PublicProps>;
26
31
  export default TabProvider;
@@ -7,7 +7,19 @@ export type TextProps = VueToJSXProps<UIProps>;
7
7
  * @param props Component props.
8
8
  * @return Vue element.
9
9
  */
10
- declare const Text: import('vue').DefineSetupFnComponent<TextProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
10
+ declare const Text: import('vue').DefineSetupFnComponent<TextProps, {}, {}, {
11
+ id?: string | undefined;
12
+ color?: import('@lumx/core/js/constants').ColorWithVariants | undefined;
13
+ colorVariant?: import('@lumx/core/js/constants').ColorVariant | undefined;
14
+ typography?: import('@lumx/core/js/constants').Typography | undefined;
15
+ as: import('@lumx/core/js/types').TextElement;
16
+ truncate?: boolean | {
17
+ lines: number;
18
+ } | undefined;
19
+ noWrap?: boolean | undefined;
20
+ whiteSpace?: import('@lumx/core/js/constants').WhiteSpace | undefined;
21
+ style?: import('react').CSSProperties | undefined;
22
+ } & {
11
23
  class?: import('../../utils/VueToJSX').ClassValue;
12
24
  } & {}, import('vue').PublicProps>;
13
25
  export default Text;
@@ -19,7 +19,12 @@ declare const RawInputText: import('vue').DefineSetupFnComponent<RawInputTextPro
19
19
  input: (value: string, _name?: string, _event?: Event) => boolean;
20
20
  focus: (_event?: FocusEvent) => boolean;
21
21
  blur: (_event?: FocusEvent) => boolean;
22
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
22
+ }, {}, {
23
+ value?: string | undefined;
24
+ type?: import('react').HTMLInputTypeAttribute | undefined;
25
+ name?: string | undefined | undefined;
26
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
27
+ } & {
23
28
  class?: import('../../utils/VueToJSX').ClassValue;
24
29
  } & {
25
30
  onInput?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
@@ -19,7 +19,12 @@ declare const RawInputTextarea: import('vue').DefineSetupFnComponent<RawInputTex
19
19
  input: (value: string, _name?: string, _event?: Event) => boolean;
20
20
  focus: (_event?: FocusEvent) => boolean;
21
21
  blur: (_event?: FocusEvent) => boolean;
22
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
22
+ }, {}, {
23
+ value?: string | undefined;
24
+ rows?: number | undefined;
25
+ name?: string | undefined | undefined;
26
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
27
+ } & {
23
28
  class?: import('../../utils/VueToJSX').ClassValue;
24
29
  } & {
25
30
  onInput?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
@@ -32,6 +32,8 @@ export declare const emitSchema: {
32
32
  focus: (_event?: FocusEvent) => boolean;
33
33
  blur: (_event?: FocusEvent) => boolean;
34
34
  clear: (_event?: MouseEvent) => boolean;
35
+ /** Model update for `v-model:value`. */
36
+ 'update:value': (value: string) => boolean;
35
37
  };
36
38
  export { CLASSNAME, COMPONENT_NAME };
37
39
  /**
@@ -46,7 +48,29 @@ declare const TextField: import('vue').DefineSetupFnComponent<TextFieldProps, {
46
48
  focus: (_event?: FocusEvent) => boolean;
47
49
  blur: (_event?: FocusEvent) => boolean;
48
50
  clear: (_event?: MouseEvent) => boolean;
49
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "chips" | TextFieldPropsToOverride> & {
51
+ /** Model update for `v-model:value`. */
52
+ 'update:value': (value: string) => boolean;
53
+ }, {}, {
54
+ error?: import('react').ReactNode;
55
+ forceFocusStyle?: boolean | undefined;
56
+ hasError?: boolean | undefined;
57
+ afterElement?: import('react').ReactNode;
58
+ beforeElement?: import('react').ReactNode;
59
+ helper?: import('react').ReactNode;
60
+ icon?: string | undefined;
61
+ id?: string | undefined;
62
+ isRequired?: boolean | undefined;
63
+ isValid?: boolean | undefined;
64
+ label?: string | undefined;
65
+ maxLength?: number | undefined;
66
+ multiline?: boolean | undefined;
67
+ placeholder?: string | undefined;
68
+ value?: string | undefined;
69
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
70
+ 'aria-disabled'?: import('@lumx/core/js/types/Booleanish').Booleanish | undefined;
71
+ isDisabled?: boolean | undefined;
72
+ disabled?: boolean | undefined;
73
+ } & {
50
74
  class?: import('../../utils/VueToJSX').ClassValue;
51
75
  } & {
52
76
  /** Character counter message formatter. Receives remaining character count, returns accessible label (e.g. \"{n} characters remaining\"). */
@@ -76,5 +100,6 @@ declare const TextField: import('vue').DefineSetupFnComponent<TextFieldProps, {
76
100
  onChange?: ((value: string, _name?: string | undefined, _event?: Event | undefined) => any) | undefined;
77
101
  onFocus?: ((_event?: FocusEvent | undefined) => any) | undefined;
78
102
  onClear?: ((_event?: MouseEvent | undefined) => any) | undefined;
103
+ "onUpdate:value"?: ((value: string) => any) | undefined;
79
104
  }, import('vue').PublicProps>;
80
105
  export default TextField;
@@ -10,6 +10,9 @@ declare const _default: {
10
10
  afterElement: {
11
11
  control: boolean;
12
12
  };
13
+ beforeElement: {
14
+ control: boolean;
15
+ };
13
16
  onClear: {
14
17
  action: boolean;
15
18
  };
@@ -92,6 +95,18 @@ export declare const WithChips: {
92
95
  template: string;
93
96
  };
94
97
  };
98
+ export declare const WithBeforeElement: {
99
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
100
+ };
101
+ export declare const WithBeforeElementAndIcon: {
102
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
103
+ };
104
+ export declare const WithBeforeElementMultiline: {
105
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
106
+ };
107
+ export declare const WithBeforeElementDisabled: {
108
+ render: (args: any) => import("vue/jsx-runtime").JSX.Element;
109
+ };
95
110
  export declare const Disabled: {
96
111
  args: {
97
112
  value: string;
@@ -21,7 +21,25 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
21
21
  declare const Thumbnail: import('vue').DefineSetupFnComponent<ThumbnailProps, {
22
22
  click: (event: Event) => boolean;
23
23
  keyPress: (event: Event) => boolean;
24
- }, {}, Omit<Omit<UIProps, "isAnyDisabled" | "disabledStateProps" | "badge" | "fallback" | "loadingState" | "imgRef" | "focusPointStyle">, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
24
+ }, {}, {
25
+ image: string;
26
+ size?: import('@lumx/core/js/components/Thumbnail/types').ThumbnailSize | undefined;
27
+ isLoading?: boolean | undefined;
28
+ 'aria-label'?: string | undefined;
29
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
30
+ linkAs?: "a" | any;
31
+ variant?: import('@lumx/core/js/components/Thumbnail/types').ThumbnailVariant | undefined;
32
+ alt: string;
33
+ align?: import('@lumx/core/js/constants').HorizontalAlignment | undefined;
34
+ aspectRatio?: import('@lumx/core/js/constants').AspectRatio | undefined;
35
+ crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
36
+ fillHeight?: boolean | undefined;
37
+ imgProps?: import('react').ImgHTMLAttributes<HTMLImageElement> | undefined;
38
+ objectFit?: import('@lumx/core/js/components/Thumbnail/types').ThumbnailObjectFit | undefined;
39
+ loading?: "eager" | "lazy" | undefined;
40
+ loadingPlaceholderImageRef?: React.RefObject<HTMLImageElement> | undefined;
41
+ linkProps?: import('@lumx/core/js/types').GenericProps | undefined;
42
+ } & {
25
43
  class?: import('../../utils/VueToJSX').ClassValue;
26
44
  } & {
27
45
  /** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
@@ -22,6 +22,8 @@ export declare const emitSchema: {
22
22
  * matches the user selection. May be `undefined` when the field is cleared.
23
23
  */
24
24
  change: (_newValue?: Date) => boolean;
25
+ /** Model update for `v-model:value`. */
26
+ 'update:value': (_newValue?: Date) => boolean;
25
27
  };
26
28
  /**
27
29
  * A select-style picker for choosing a time of day. Wraps `SelectTextField`
@@ -39,7 +41,10 @@ declare const TimePickerField: import('vue').DefineSetupFnComponent<TimePickerFi
39
41
  * matches the user selection. May be `undefined` when the field is cleared.
40
42
  */
41
43
  change: (_newValue?: Date) => boolean;
44
+ /** Model update for `v-model:value`. */
45
+ 'update:value': (_newValue?: Date) => boolean;
42
46
  }, {}, TimePickerFieldProps & {
43
47
  onChange?: ((_newValue?: Date | undefined) => any) | undefined;
48
+ "onUpdate:value"?: ((_newValue?: Date | undefined) => any) | undefined;
44
49
  }, import('vue').PublicProps>;
45
50
  export default TimePickerField;
@@ -2,7 +2,7 @@ import { ToolbarProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS } fro
2
2
  import { VueToJSXProps } from '../../utils/VueToJSX';
3
3
  export type ToolbarProps = VueToJSXProps<UIProps, 'label' | 'after' | 'before'>;
4
4
  export { CLASSNAME, COMPONENT_NAME as TOOLBAR_NAME, DEFAULT_PROPS };
5
- declare const Toolbar: import('vue').DefineSetupFnComponent<ToolbarProps, {}, {}, Omit<UIProps, "className" | "label" | import('@lumx/core/js/types').PropsToOverride | "children" | "before" | "after"> & {
5
+ declare const Toolbar: import('vue').DefineSetupFnComponent<ToolbarProps, {}, {}, {} & {
6
6
  class?: import('../../utils/VueToJSX').ClassValue;
7
7
  } & {}, import('vue').PublicProps>;
8
8
  export default Toolbar;
@@ -61,3 +61,37 @@ export declare const TestAriaLabelledByOnWrapperHover: {
61
61
  render(props: any): import("vue/jsx-runtime").JSX.Element;
62
62
  play({ canvasElement, userEvent }: any): Promise<void>;
63
63
  };
64
+ export declare const TestFunctionLabelFollowsKeyboardToggle: {
65
+ render: () => import("vue/jsx-runtime").JSX.Element;
66
+ play({ userEvent }: any): Promise<void>;
67
+ };
68
+ export declare const TestStringLabelBackAfterKeyboardToggle: {
69
+ render: () => import("vue/jsx-runtime").JSX.Element;
70
+ play({ canvas, userEvent }: any): Promise<void>;
71
+ };
72
+ export declare const TestFunctionLabelBackAfterKeyboardToggle: {
73
+ render: () => import("vue/jsx-runtime").JSX.Element;
74
+ play({ canvas, userEvent }: any): Promise<void>;
75
+ };
76
+ export declare const TestOverflowLabel: {
77
+ render: ({ text, isHidden }: any) => import("vue/jsx-runtime").JSX.Element;
78
+ args: {
79
+ text: string;
80
+ };
81
+ play({ canvas, userEvent }: any): Promise<void>;
82
+ };
83
+ export declare const TestNoOverflowLabel: {
84
+ render: ({ text, isHidden }: any) => import("vue/jsx-runtime").JSX.Element;
85
+ args: {
86
+ text: string;
87
+ };
88
+ play({ canvas, userEvent }: any): Promise<void>;
89
+ };
90
+ export declare const TestOverflowLabelHiddenMount: {
91
+ render: ({ text, isHidden }: any) => import("vue/jsx-runtime").JSX.Element;
92
+ args: {
93
+ text: string;
94
+ isHidden: boolean;
95
+ };
96
+ play({ canvas, userEvent }: any): Promise<void>;
97
+ };
@@ -8,8 +8,10 @@ interface Options {
8
8
  isMounted: boolean;
9
9
  /** Tooltip id */
10
10
  id: string;
11
- /** Tooltip label */
11
+ /** Resolved tooltip label, used for the aria-label comparison */
12
12
  label?: string | null | false;
13
+ /** Whether the tooltip has a label (string or function) */
14
+ hasLabel: boolean;
13
15
  /** Choose how the tooltip text should link to the anchor */
14
16
  ariaLinkMode: 'aria-describedby' | 'aria-labelledby';
15
17
  }
@@ -5,9 +5,10 @@ import { TooltipOpenManager } from '@lumx/core/js/components/Tooltip/tooltipOpen
5
5
  *
6
6
  * @param delay Delay in millisecond to display the tooltip.
7
7
  * @param anchorElement Tooltip anchor element ref.
8
+ * @param onOpen Called each time the open delay ends, before the state changes.
8
9
  * @return whether or not to show the tooltip plus popper mount callback and manager ref.
9
10
  */
10
- export declare function useTooltipOpen(delay: Ref<number | undefined>, anchorElement: Ref<HTMLElement | null>): {
11
+ export declare function useTooltipOpen(delay: Ref<number | undefined>, anchorElement: Ref<HTMLElement | null>, onOpen?: () => void): {
11
12
  isOpen: Ref<boolean, boolean>;
12
13
  onPopperMount: (el: HTMLElement | null) => void;
13
14
  manager: import('vue').ShallowRef<TooltipOpenManager | undefined, TooltipOpenManager | undefined>;
@@ -37,6 +37,8 @@ export declare const emitSchema: {
37
37
  * values with `selectionType="multiple"`.
38
38
  */
39
39
  change: (newValue: string | string[]) => boolean;
40
+ /** Model update for `v-model:value`. */
41
+ 'update:value': (newValue: string | string[]) => boolean;
40
42
  };
41
43
  /**
42
44
  * TreeList component: a list in the WAI-ARIA tree pattern (`role="tree"`), with `TreeListItem` (`TreeList.Item`) items.
@@ -88,11 +90,14 @@ declare const TreeList: import('vue').DefineSetupFnComponent<TreeListProps, {
88
90
  * values with `selectionType="multiple"`.
89
91
  */
90
92
  change: (newValue: string | string[]) => boolean;
93
+ /** Model update for `v-model:value`. */
94
+ 'update:value': (newValue: string | string[]) => boolean;
91
95
  }, {}, TreeListProps & {
92
96
  onSelect?: ((option: {
93
97
  value: string;
94
98
  }) => any) | undefined;
95
99
  onChange?: ((newValue: string | string[]) => any) | undefined;
100
+ "onUpdate:value"?: ((newValue: string | string[]) => any) | undefined;
96
101
  }, import('vue').PublicProps>;
97
102
  export { COMPONENT_NAME, CLASSNAME, DEFAULT_PROPS };
98
103
  export default TreeList;
@@ -50,7 +50,10 @@ declare const TreeListItem: import('vue').DefineSetupFnComponent<TreeListItemPro
50
50
  openChange: (isOpen: boolean) => boolean;
51
51
  /** On tree item clicked (or activated with Enter), selectable or not. */
52
52
  click: () => boolean;
53
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "level" | "id" | "isSelected" | "hidden" | "isParent" | "handleToggleClick" | TreeListItemPropsToOverride> & {
53
+ }, {}, {
54
+ description?: string | undefined;
55
+ value?: string | undefined;
56
+ } & {
54
57
  class?: import('../../utils/VueToJSX').ClassValue;
55
58
  } & {
56
59
  /** Content of the row (the tree item label), when the `label` slot is not used. */
@@ -21,7 +21,9 @@ export type TreeListSectionProps = VueToJSXProps<UIProps, TreeListSectionPropsTo
21
21
  * @param props Component props.
22
22
  * @return Vue element.
23
23
  */
24
- declare const TreeListSection: import('vue').DefineSetupFnComponent<TreeListSectionProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "hidden" | TreeListSectionPropsToOverride> & {
24
+ declare const TreeListSection: import('vue').DefineSetupFnComponent<TreeListSectionProps, {}, {}, {
25
+ icon?: string | undefined;
26
+ } & {
25
27
  class?: import('../../utils/VueToJSX').ClassValue;
26
28
  } & {
27
29
  /**
@@ -12,17 +12,22 @@ export declare const TreeList: import('vue').DefineSetupFnComponent<import('./Tr
12
12
  value: string;
13
13
  }) => boolean;
14
14
  change: (newValue: string | string[]) => boolean;
15
+ 'update:value': (newValue: string | string[]) => boolean;
15
16
  }, {}, import('./TreeList').TreeListProps & {
16
17
  onSelect?: ((option: {
17
18
  value: string;
18
19
  }) => any) | undefined;
19
20
  onChange?: ((newValue: string | string[]) => any) | undefined;
21
+ "onUpdate:value"?: ((newValue: string | string[]) => any) | undefined;
20
22
  }, import('vue').PublicProps> & {
21
23
  /** One tree item of the tree, with its sub-items. */
22
24
  Item: import('vue').DefineSetupFnComponent<import('./TreeListItem').TreeListItemProps, {
23
25
  openChange: (isOpen: boolean) => boolean;
24
26
  click: () => boolean;
25
- }, {}, Omit<import('@lumx/core/js/components/TreeList/TreeListItem').TreeListItemProps, "className" | import('@lumx/core/js/types').PropsToOverride | "isOpen" | "level" | "id" | "isSelected" | "hidden" | "isParent" | "handleToggleClick" | import('@lumx/core/js/components/TreeList/TreeListItem').TreeListItemPropsToOverride> & {
27
+ }, {}, {
28
+ description?: string | undefined;
29
+ value?: string | undefined;
30
+ } & {
26
31
  class?: import('../../utils/VueToJSX').ClassValue;
27
32
  } & {
28
33
  label?: string;
@@ -34,7 +39,9 @@ export declare const TreeList: import('vue').DefineSetupFnComponent<import('./Tr
34
39
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
35
40
  }, import('vue').PublicProps>;
36
41
  /** A section of root tree items, with an optional label (a divider between the sections). */
37
- Section: import('vue').DefineSetupFnComponent<import('./TreeListSection').TreeListSectionProps, {}, {}, Omit<import('@lumx/core/js/components/TreeList/TreeListSection').TreeListSectionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "hidden" | import('@lumx/core/js/components/TreeList/TreeListSection').TreeListSectionPropsToOverride> & {
42
+ Section: import('vue').DefineSetupFnComponent<import('./TreeListSection').TreeListSectionProps, {}, {}, {
43
+ icon?: string | undefined;
44
+ } & {
38
45
  class?: import('../../utils/VueToJSX').ClassValue;
39
46
  } & {
40
47
  label?: string;
@@ -27,7 +27,17 @@ export { UploaderVariant, DEFAULT_PROPS, CLASSNAME, COMPONENT_NAME };
27
27
  */
28
28
  declare const Uploader: import('vue').DefineSetupFnComponent<UploaderProps, {
29
29
  change: (_files: File[], _event?: Event) => boolean;
30
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | UploaderPropsToOverride> & {
30
+ }, {}, {
31
+ aspectRatio?: import('@lumx/core/js/constants').AspectRatio | undefined;
32
+ icon?: string | undefined;
33
+ label?: string | undefined;
34
+ size?: UploaderSize | undefined;
35
+ variant?: UploaderVariant | undefined;
36
+ isDisabled?: boolean | undefined;
37
+ disabled?: boolean | undefined;
38
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
39
+ 'aria-disabled'?: import('@lumx/core/js/types/Booleanish').Booleanish | undefined;
40
+ } & {
31
41
  class?: import('../../utils/VueToJSX').ClassValue;
32
42
  } & {
33
43
  /** Handle file selection with a native input file. */
@@ -24,7 +24,15 @@ declare const UserBlock: import('vue').DefineSetupFnComponent<UserBlockProps, {
24
24
  click: () => boolean;
25
25
  mouseenter: () => boolean;
26
26
  mouseleave: () => boolean;
27
- }, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "after" | "multipleActions" | "simpleAction" | "additionalFields" | UserBlockPropsToOverride> & {
27
+ }, {}, {
28
+ fields?: string[] | undefined;
29
+ linkAs?: "a" | any;
30
+ name?: import('react').ReactNode;
31
+ nameProps?: import('@lumx/core/js/types').GenericProps | undefined;
32
+ orientation?: import('@lumx/core/js/constants').Orientation | undefined;
33
+ size?: UserBlockSize | undefined;
34
+ theme?: import('@lumx/core/js/constants').Theme | undefined;
35
+ } & {
28
36
  class?: import('../../utils/VueToJSX').ClassValue;
29
37
  } & {
30
38
  /** Props to pass to the avatar. */