@lumx/vue 4.3.2-alpha.23 → 4.3.2-alpha.25
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/components/badge/Badge.d.ts +1 -1
- package/components/badge/BadgeWrapper.d.ts +1 -1
- package/components/button/Button.d.ts +1 -1
- package/components/button/ButtonGroup.d.ts +1 -1
- package/components/button/IconButton.d.ts +1 -1
- package/components/checkbox/Checkbox.d.ts +1 -1
- package/components/divider/Divider.d.ts +1 -1
- package/components/flag/Flag.d.ts +1 -1
- package/components/flex-box/FlexBox.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/input-helper/InputHelper.d.ts +1 -1
- package/components/input-label/InputLabel.d.ts +1 -1
- package/components/link/Link.d.ts +1 -1
- package/components/message/Message.d.ts +1 -1
- package/components/radio-button/RadioButton.d.ts +1 -1
- 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/text/Text.d.ts +1 -1
- package/components/thumbnail/Thumbnail.d.ts +2 -2
- package/components/thumbnail/Thumbnail.stories.d.ts +15 -7
- package/components/toolbar/Toolbar.d.ts +2 -2
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/stories/decorators/withResizableBox.d.ts +2 -2
- package/utils/VueToJSX.d.ts +2 -1
|
@@ -7,7 +7,7 @@ export type BadgeProps = VueToJSXProps<UIProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const Badge: import('vue').DefineSetupFnComponent<BadgeProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const Badge: import('vue').DefineSetupFnComponent<BadgeProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Badge;
|
|
@@ -2,7 +2,7 @@ import { BadgeWrapperProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS
|
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
3
|
export type BadgeWrapperProps = VueToJSXProps<UIProps>;
|
|
4
4
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
5
|
-
declare const BadgeWrapper: import('vue').DefineSetupFnComponent<BadgeWrapperProps, {}, {}, Omit<UIProps, "className" |
|
|
5
|
+
declare const BadgeWrapper: import('vue').DefineSetupFnComponent<BadgeWrapperProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
6
6
|
class?: string;
|
|
7
7
|
} & {}, import('vue').PublicProps>;
|
|
8
8
|
export default BadgeWrapper;
|
|
@@ -13,7 +13,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
13
13
|
*/
|
|
14
14
|
declare const Button: import('vue').DefineSetupFnComponent<ButtonProps, {
|
|
15
15
|
click: (event: MouseEvent) => boolean;
|
|
16
|
-
}, {}, Omit<UIProps, "className" |
|
|
16
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
17
17
|
class?: string;
|
|
18
18
|
} & {
|
|
19
19
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -7,7 +7,7 @@ export type ButtonGroupProps = VueToJSXProps<UIProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const ButtonGroup: import('vue').DefineSetupFnComponent<ButtonGroupProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const ButtonGroup: import('vue').DefineSetupFnComponent<ButtonGroupProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default ButtonGroup;
|
|
@@ -12,7 +12,7 @@ export declare const emitSchema: {
|
|
|
12
12
|
*/
|
|
13
13
|
declare const IconButton: import('vue').DefineSetupFnComponent<IconButtonProps, {
|
|
14
14
|
click: (event: MouseEvent) => boolean;
|
|
15
|
-
}, {}, Omit<UIProps, "className" |
|
|
15
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
16
16
|
class?: string;
|
|
17
17
|
} & {
|
|
18
18
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -13,7 +13,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, INTERMEDIATE_STATE };
|
|
|
13
13
|
*/
|
|
14
14
|
declare const Checkbox: import('vue').DefineSetupFnComponent<CheckboxProps, {
|
|
15
15
|
change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
|
|
16
|
-
}, {}, Omit<UIProps, "className" |
|
|
16
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
|
|
17
17
|
class?: string;
|
|
18
18
|
} & {
|
|
19
19
|
onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
@@ -8,7 +8,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
8
8
|
* @param props Component props.
|
|
9
9
|
* @return Vue element.
|
|
10
10
|
*/
|
|
11
|
-
declare const Divider: import('vue').DefineSetupFnComponent<DividerProps, {}, {}, Omit<UIProps, "className" |
|
|
11
|
+
declare const Divider: import('vue').DefineSetupFnComponent<DividerProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
12
|
class?: string;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default Divider;
|
|
@@ -7,7 +7,7 @@ export type FlagProps = VueToJSXProps<UIProps, 'Text'>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const Flag: import('vue').DefineSetupFnComponent<FlagProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const Flag: import('vue').DefineSetupFnComponent<FlagProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "Text"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Flag;
|
|
@@ -11,7 +11,7 @@ export { CLASSNAME, COMPONENT_NAME };
|
|
|
11
11
|
* @param props Component props.
|
|
12
12
|
* @return Vue element.
|
|
13
13
|
*/
|
|
14
|
-
declare const FlexBox: import('vue').DefineSetupFnComponent<FlexBoxProps, {}, {}, Omit<UIProps, "className" |
|
|
14
|
+
declare const FlexBox: import('vue').DefineSetupFnComponent<FlexBoxProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
15
15
|
class?: string;
|
|
16
16
|
} & {
|
|
17
17
|
/** Customize the root element. */
|
|
@@ -3,7 +3,7 @@ import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
|
3
3
|
export type GridColumnProps = VueToJSXProps<UIProps>;
|
|
4
4
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
5
5
|
export type { GridColumnGapSize };
|
|
6
|
-
declare const GridColumn: import('vue').DefineSetupFnComponent<GridColumnProps, {}, {}, Omit<UIProps, "className" |
|
|
6
|
+
declare const GridColumn: import('vue').DefineSetupFnComponent<GridColumnProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
7
7
|
class?: string;
|
|
8
8
|
} & {}, import('vue').PublicProps>;
|
|
9
9
|
export default GridColumn;
|
|
@@ -7,7 +7,7 @@ export type HeadingVueProps = VueToJSXProps<HeadingProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const Heading: import('vue').DefineSetupFnComponent<HeadingVueProps, {}, {}, Omit<HeadingProps, "className" |
|
|
10
|
+
declare const Heading: import('vue').DefineSetupFnComponent<HeadingVueProps, {}, {}, Omit<HeadingProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Heading;
|
|
@@ -7,7 +7,7 @@ export type IconProps = VueToJSXProps<UIProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Icon;
|
|
@@ -7,7 +7,7 @@ export type InputHelperProps = VueToJSXProps<UIProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const InputHelper: import('vue').DefineSetupFnComponent<InputHelperProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const InputHelper: import('vue').DefineSetupFnComponent<InputHelperProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default InputHelper;
|
|
@@ -7,7 +7,7 @@ export type InputLabelProps = VueToJSXProps<UIProps>;
|
|
|
7
7
|
* @param props Component props.
|
|
8
8
|
* @return Vue element.
|
|
9
9
|
*/
|
|
10
|
-
declare const InputLabel: import('vue').DefineSetupFnComponent<InputLabelProps, {}, {}, Omit<UIProps, "className" |
|
|
10
|
+
declare const InputLabel: import('vue').DefineSetupFnComponent<InputLabelProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default InputLabel;
|
|
@@ -13,7 +13,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
13
13
|
*/
|
|
14
14
|
declare const Link: import('vue').DefineSetupFnComponent<LinkProps, {
|
|
15
15
|
click: (event: Event) => boolean;
|
|
16
|
-
}, {}, Omit<UIProps, "className" | "label" |
|
|
16
|
+
}, {}, Omit<UIProps, "className" | "label" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
17
17
|
class?: string;
|
|
18
18
|
} & {
|
|
19
19
|
onClick?: ((event: Event) => any) | undefined;
|
|
@@ -14,7 +14,7 @@ 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"[], {}, Omit<Omit<UIProps, "closeButtonProps">, "className" |
|
|
17
|
+
declare const Message: import('vue').DefineSetupFnComponent<MessageProps, "close"[], {}, Omit<Omit<UIProps, "closeButtonProps">, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
18
18
|
class?: string;
|
|
19
19
|
} & {
|
|
20
20
|
/** label to be used for the close button */
|
|
@@ -13,7 +13,7 @@ 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
|
-
}, {}, Omit<UIProps, "className" |
|
|
16
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
|
|
17
17
|
class?: string;
|
|
18
18
|
} & {
|
|
19
19
|
onChange?: ((value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
@@ -8,7 +8,7 @@ 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" |
|
|
11
|
+
declare const SkeletonCircle: import('vue').DefineSetupFnComponent<SkeletonCircleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
12
|
class?: string;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonCircle;
|
|
@@ -8,7 +8,7 @@ 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" |
|
|
11
|
+
declare const SkeletonRectangle: import('vue').DefineSetupFnComponent<SkeletonRectangleProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
12
|
class?: string;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonRectangle;
|
|
@@ -8,7 +8,7 @@ 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" |
|
|
11
|
+
declare const SkeletonTypography: import('vue').DefineSetupFnComponent<SkeletonTypographyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
12
12
|
class?: string;
|
|
13
13
|
} & {}, import('vue').PublicProps>;
|
|
14
14
|
export default SkeletonTypography;
|
|
@@ -13,7 +13,7 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
13
13
|
*/
|
|
14
14
|
declare const Switch: import('vue').DefineSetupFnComponent<SwitchProps, {
|
|
15
15
|
change: (isChecked: boolean, value?: string, name?: string, event?: Event) => boolean;
|
|
16
|
-
}, {}, Omit<UIProps, "className" |
|
|
16
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "inputRef" | "inputId"> & {
|
|
17
17
|
class?: string;
|
|
18
18
|
} & {
|
|
19
19
|
onChange?: ((isChecked: boolean, value?: string | undefined, name?: string | undefined, event?: Event | undefined) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
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" |
|
|
4
|
+
declare const Table: import('vue').DefineSetupFnComponent<TableProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
5
|
class?: string;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
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" |
|
|
4
|
+
declare const TableBody: import('vue').DefineSetupFnComponent<TableBodyProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
5
|
class?: string;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
export default TableBody;
|
|
@@ -8,7 +8,7 @@ export declare const emitSchema: {
|
|
|
8
8
|
};
|
|
9
9
|
declare const TableCell: import('vue').DefineSetupFnComponent<TableCellProps, {
|
|
10
10
|
headerClick: () => boolean;
|
|
11
|
-
}, {}, Omit<UIProps, "className" |
|
|
11
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "onHeaderClick"> & {
|
|
12
12
|
class?: string;
|
|
13
13
|
} & {
|
|
14
14
|
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" |
|
|
4
|
+
declare const TableHeader: import('vue').DefineSetupFnComponent<TableHeaderProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
5
5
|
class?: string;
|
|
6
6
|
} & {}, import('vue').PublicProps>;
|
|
7
7
|
export default TableHeader;
|
|
@@ -4,7 +4,7 @@ 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" |
|
|
7
|
+
declare const TableRow: import('vue').DefineSetupFnComponent<TableRowProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children" | "aria-disabled" | "tabIndex"> & {
|
|
8
8
|
class?: string;
|
|
9
9
|
} & {
|
|
10
10
|
/** Whether the component is disabled or not. */
|
|
@@ -7,7 +7,7 @@ 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" |
|
|
10
|
+
declare const Text: import('vue').DefineSetupFnComponent<TextProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
11
11
|
class?: string;
|
|
12
12
|
} & {}, import('vue').PublicProps>;
|
|
13
13
|
export default Text;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThumbnailProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS } from '@lumx/core/js/components/Thumbnail';
|
|
2
2
|
import { FocusPoint } from '@lumx/core/js/components/Thumbnail/types';
|
|
3
3
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
4
|
-
export type ThumbnailProps = VueToJSXProps<Omit<UIProps, 'loadingState' | 'isAnyDisabled' | 'focusPointStyle' | 'disabledStateProps' | 'badge' | 'imgRef' | '
|
|
4
|
+
export type ThumbnailProps = VueToJSXProps<Omit<UIProps, 'loadingState' | 'isAnyDisabled' | 'focusPointStyle' | 'disabledStateProps' | 'badge' | 'imgRef' | 'fallback'>> & {
|
|
5
5
|
/** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
|
|
6
6
|
focusPoint?: FocusPoint;
|
|
7
7
|
/** ARIA disabled state */
|
|
@@ -21,7 +21,7 @@ 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, "badge" | "isAnyDisabled" | "disabledStateProps" | "fallback" | "loadingState" | "imgRef" | "
|
|
24
|
+
}, {}, Omit<Omit<UIProps, "badge" | "isAnyDisabled" | "disabledStateProps" | "fallback" | "loadingState" | "imgRef" | "focusPointStyle">, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
25
25
|
class?: string;
|
|
26
26
|
} & {
|
|
27
27
|
/** Apply relative vertical and horizontal shift (from -1 to 1) on the image position inside the thumbnail. */
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { AspectRatio } from '../..';
|
|
2
|
-
import { ThumbnailObjectFit } from '@lumx/core/js/components/Thumbnail/types';
|
|
3
1
|
declare const _default: {
|
|
4
2
|
component: any;
|
|
5
3
|
render: any;
|
|
@@ -56,7 +54,7 @@ declare const _default: {
|
|
|
56
54
|
args: {
|
|
57
55
|
align?: import('../..').HorizontalAlignment | undefined;
|
|
58
56
|
alt?: string | undefined;
|
|
59
|
-
aspectRatio?: AspectRatio | undefined;
|
|
57
|
+
aspectRatio?: import('../..').AspectRatio | undefined;
|
|
60
58
|
badge?: import('react').ReactNode;
|
|
61
59
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
62
60
|
fallback?: import('react').ReactNode;
|
|
@@ -67,7 +65,7 @@ declare const _default: {
|
|
|
67
65
|
imgRef?: import('../..').CommonRef;
|
|
68
66
|
ref?: import('../..').CommonRef;
|
|
69
67
|
isLoading?: boolean | undefined;
|
|
70
|
-
objectFit?: ThumbnailObjectFit | undefined;
|
|
68
|
+
objectFit?: import('../..').ThumbnailObjectFit | undefined;
|
|
71
69
|
size?: import('../..').ThumbnailSize | undefined;
|
|
72
70
|
loading?: "eager" | "lazy" | undefined;
|
|
73
71
|
loadingPlaceholderImageRef?: React.RefObject<HTMLImageElement> | undefined;
|
|
@@ -87,7 +85,10 @@ declare const _default: {
|
|
|
87
85
|
};
|
|
88
86
|
export default _default;
|
|
89
87
|
export declare const Simple: {
|
|
90
|
-
|
|
88
|
+
args: {
|
|
89
|
+
image: string;
|
|
90
|
+
};
|
|
91
|
+
decorators: ((story: any, context: any) => any)[];
|
|
91
92
|
};
|
|
92
93
|
export declare const IsLoading: {
|
|
93
94
|
args: {
|
|
@@ -146,7 +147,11 @@ export declare const AsLink: {
|
|
|
146
147
|
};
|
|
147
148
|
};
|
|
148
149
|
export declare const FillHeightAndRatio: {
|
|
149
|
-
|
|
150
|
+
args: {
|
|
151
|
+
image: string;
|
|
152
|
+
fillHeight: boolean;
|
|
153
|
+
};
|
|
154
|
+
decorators: ((story: any, context: any) => any)[];
|
|
150
155
|
};
|
|
151
156
|
export declare const WithSvgImages: {
|
|
152
157
|
args: {
|
|
@@ -157,5 +162,8 @@ export declare const WithSvgImages: {
|
|
|
157
162
|
};
|
|
158
163
|
};
|
|
159
164
|
export declare const ObjectFit: {
|
|
160
|
-
|
|
165
|
+
args: {
|
|
166
|
+
size: "xl";
|
|
167
|
+
};
|
|
168
|
+
decorators: ((story: any, context: any) => any)[];
|
|
161
169
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ToolbarProps as UIProps, CLASSNAME, TOOLBAR_NAME, DEFAULT_PROPS } from '@lumx/core/js/components/Toolbar';
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
|
-
export type ToolbarProps = VueToJSXProps<UIProps, '
|
|
3
|
+
export type ToolbarProps = VueToJSXProps<UIProps, 'label' | 'after' | 'before'>;
|
|
4
4
|
export { CLASSNAME, TOOLBAR_NAME, DEFAULT_PROPS };
|
|
5
|
-
declare const Toolbar: import('vue').DefineSetupFnComponent<ToolbarProps, {}, {}, Omit<UIProps, "className" | "label" |
|
|
5
|
+
declare const Toolbar: import('vue').DefineSetupFnComponent<ToolbarProps, {}, {}, Omit<UIProps, "className" | "label" | import('@lumx/core/js/types').PropsToOverride | "children" | "after" | "before"> & {
|
|
6
6
|
class?: string;
|
|
7
7
|
} & {}, import('vue').PublicProps>;
|
|
8
8
|
export default Toolbar;
|
package/index.js
CHANGED
|
@@ -167,7 +167,10 @@ const Ja = "Badge", Yr = "lumx-badge", {
|
|
|
167
167
|
Ae.displayName = Ja;
|
|
168
168
|
Ae.className = Yr;
|
|
169
169
|
Ae.defaultProps = Jr;
|
|
170
|
-
const S = () => (...e) => e.reduce(
|
|
170
|
+
const S = () => (...e) => e.reduce(
|
|
171
|
+
(t, r) => (t[r] = { required: !1 }, t),
|
|
172
|
+
{}
|
|
173
|
+
), fi = /* @__PURE__ */ y((e, {
|
|
171
174
|
slots: t
|
|
172
175
|
}) => {
|
|
173
176
|
const r = k();
|