@lumx/vue 4.3.2-alpha.8 → 4.4.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/components/badge/Badge.d.ts +1 -1
- package/components/badge/Badge.stories.d.ts +34 -0
- package/components/badge/BadgeWrapper.d.ts +1 -1
- package/components/badge/BadgeWrapper.stories.d.ts +18 -0
- 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/flag/Flag.stories.d.ts +108 -0
- package/components/flex-box/FlexBox.d.ts +1 -1
- package/components/grid-column/GridColumn.d.ts +9 -0
- package/components/grid-column/GridColumn.stories.d.ts +42 -0
- package/components/grid-column/index.d.ts +3 -0
- 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 +6 -7
- package/components/link/Link.stories.d.ts +268 -0
- package/components/link/index.d.ts +3 -2
- package/components/message/Message.d.ts +1 -1
- package/components/progress/ProgressCircular.d.ts +9 -0
- package/components/progress/ProgressCircular.stories.d.ts +22 -0
- package/components/progress/ProgressLinear.d.ts +8 -0
- package/components/progress/index.d.ts +6 -0
- 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 +2 -2
- 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 +18 -10
- package/components/toolbar/Toolbar.d.ts +8 -0
- package/components/toolbar/Toolbar.stories.d.ts +19 -0
- package/components/toolbar/index.d.ts +3 -0
- package/composables/useHasEventListener.d.ts +7 -0
- package/index.d.ts +3 -0
- package/index.js +1861 -1603
- package/index.js.map +1 -1
- package/package.json +11 -6
- package/stories/decorators/withResizableBox.d.ts +2 -2
- package/stories/utils/CustomLink.vue.d.ts +29 -0
- 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;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: any;
|
|
3
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
4
|
+
argTypes: {
|
|
5
|
+
color: {
|
|
6
|
+
control: {
|
|
7
|
+
type: "select" | "inline-radio";
|
|
8
|
+
};
|
|
9
|
+
options: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
|
|
10
|
+
mapping: Record<string, "light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined> | undefined;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
args: Partial<import('@lumx/core/js/components/Badge').BadgeProps>;
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const WithText: {
|
|
18
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
export declare const WithIcon: {
|
|
21
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export declare const WithThumbnail: {
|
|
24
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const AllColors: {
|
|
27
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
28
|
+
argTypes: {
|
|
29
|
+
color: {
|
|
30
|
+
control: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
decorators: ((story: any, context: any) => any)[];
|
|
34
|
+
};
|
|
@@ -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;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: any;
|
|
3
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
4
|
+
argTypes: {
|
|
5
|
+
children: {
|
|
6
|
+
control: boolean;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
args: Partial<import('@lumx/core/js/components/Badge/BadgeWrapper').BadgeWrapperProps>;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const WithIcon: {
|
|
14
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export declare const WithButton: {
|
|
17
|
+
render: (args: any) => import("vue/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
@@ -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;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: any;
|
|
3
|
+
render: any;
|
|
4
|
+
argTypes: {
|
|
5
|
+
color: {
|
|
6
|
+
control: {
|
|
7
|
+
type: "select" | "inline-radio";
|
|
8
|
+
};
|
|
9
|
+
options: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
|
|
10
|
+
mapping: Record<string, "light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined> | undefined;
|
|
11
|
+
};
|
|
12
|
+
icon: {
|
|
13
|
+
control: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
options: {
|
|
17
|
+
undefined: undefined;
|
|
18
|
+
mdiAbTesting: string;
|
|
19
|
+
mdiAbjadArabic: string;
|
|
20
|
+
mdiAccount: string;
|
|
21
|
+
mdiAccountBox: string;
|
|
22
|
+
mdiAlert: string;
|
|
23
|
+
mdiAlertCircle: string;
|
|
24
|
+
mdiArrowDown: string;
|
|
25
|
+
mdiArrowUp: string;
|
|
26
|
+
mdiAtom: string;
|
|
27
|
+
mdiBee: string;
|
|
28
|
+
mdiBell: string;
|
|
29
|
+
mdiBullhornOutline: string;
|
|
30
|
+
mdiCheck: string;
|
|
31
|
+
mdiCheckCircle: string;
|
|
32
|
+
mdiChevronDown: string;
|
|
33
|
+
mdiChevronLeft: string;
|
|
34
|
+
mdiChevronRight: string;
|
|
35
|
+
mdiChevronUp: string;
|
|
36
|
+
mdiClose: string;
|
|
37
|
+
mdiCloseCircle: string;
|
|
38
|
+
mdiDelete: string;
|
|
39
|
+
mdiDotsHorizontal: string;
|
|
40
|
+
mdiDragVertical: string;
|
|
41
|
+
mdiEarth: string;
|
|
42
|
+
mdiEmail: string;
|
|
43
|
+
mdiEye: string;
|
|
44
|
+
mdiFileEdit: string;
|
|
45
|
+
mdiFlag: string;
|
|
46
|
+
mdiFolder: string;
|
|
47
|
+
mdiFolderGoogleDrive: string;
|
|
48
|
+
mdiFoodApple: string;
|
|
49
|
+
mdiGoogleCirclesExtended: string;
|
|
50
|
+
mdiHeart: string;
|
|
51
|
+
mdiHome: string;
|
|
52
|
+
mdiImageBroken: string;
|
|
53
|
+
mdiInformation: string;
|
|
54
|
+
mdiLink: string;
|
|
55
|
+
mdiMagnifyMinusOutline: string;
|
|
56
|
+
mdiMagnifyPlusOutline: string;
|
|
57
|
+
mdiMenuDown: string;
|
|
58
|
+
mdiMessageTextOutline: string;
|
|
59
|
+
mdiMinus: string;
|
|
60
|
+
mdiOpenInNew: string;
|
|
61
|
+
mdiPauseCircleOutline: string;
|
|
62
|
+
mdiPencil: string;
|
|
63
|
+
mdiPlay: string;
|
|
64
|
+
mdiPlayCircleOutline: string;
|
|
65
|
+
mdiPlus: string;
|
|
66
|
+
mdiRadioboxBlank: string;
|
|
67
|
+
mdiRadioboxMarked: string;
|
|
68
|
+
mdiReply: string;
|
|
69
|
+
mdiSend: string;
|
|
70
|
+
mdiStar: string;
|
|
71
|
+
mdiTextBox: string;
|
|
72
|
+
mdiTextBoxPlus: string;
|
|
73
|
+
mdiTram: string;
|
|
74
|
+
mdiTranslate: string;
|
|
75
|
+
mdiViewList: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
args: {
|
|
80
|
+
label: string;
|
|
81
|
+
};
|
|
82
|
+
title: string;
|
|
83
|
+
};
|
|
84
|
+
export default _default;
|
|
85
|
+
export declare const Default: {};
|
|
86
|
+
export declare const WithIcon: {
|
|
87
|
+
args: {
|
|
88
|
+
icon: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
export declare const AllColors: {
|
|
92
|
+
args: {
|
|
93
|
+
icon: string;
|
|
94
|
+
};
|
|
95
|
+
argTypes: {
|
|
96
|
+
color: {
|
|
97
|
+
control: boolean;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
decorators: ((story: any, context: any) => any)[];
|
|
101
|
+
};
|
|
102
|
+
export declare const Truncate: {
|
|
103
|
+
args: {
|
|
104
|
+
label: string;
|
|
105
|
+
truncate: boolean;
|
|
106
|
+
};
|
|
107
|
+
decorators: ((story: any, context: any) => any)[];
|
|
108
|
+
};
|
|
@@ -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. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GridColumnProps as UIProps, GridColumnGapSize, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS } from '@lumx/core/js/components/GridColumn';
|
|
2
|
+
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
|
+
export type GridColumnProps = VueToJSXProps<UIProps>;
|
|
4
|
+
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
5
|
+
export type { GridColumnGapSize };
|
|
6
|
+
declare const GridColumn: import('vue').DefineSetupFnComponent<GridColumnProps, {}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
7
|
+
class?: string;
|
|
8
|
+
} & {}, import('vue').PublicProps>;
|
|
9
|
+
export default GridColumn;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: any;
|
|
3
|
+
render: ({ nbItems, ...props }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
4
|
+
argTypes: {
|
|
5
|
+
nbItems: {
|
|
6
|
+
control: string;
|
|
7
|
+
};
|
|
8
|
+
gap: {
|
|
9
|
+
control: {
|
|
10
|
+
type: "select" | "inline-radio";
|
|
11
|
+
};
|
|
12
|
+
options: (import('../..').GridColumnGapSize | undefined)[];
|
|
13
|
+
mapping: Record<string, import('../..').GridColumnGapSize | undefined> | undefined;
|
|
14
|
+
};
|
|
15
|
+
itemMinWidth: {
|
|
16
|
+
control: string;
|
|
17
|
+
};
|
|
18
|
+
maxColumns: {
|
|
19
|
+
control: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
args: {
|
|
23
|
+
nbItems: number;
|
|
24
|
+
as?: any;
|
|
25
|
+
children?: import('react').ReactNode;
|
|
26
|
+
gap?: import('../..').GridColumnGapSize | undefined;
|
|
27
|
+
maxColumns?: number | undefined;
|
|
28
|
+
itemMinWidth?: number | undefined;
|
|
29
|
+
style?: any;
|
|
30
|
+
ref?: import('../..').CommonRef;
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
title: string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
36
|
+
export declare const Default: {};
|
|
37
|
+
export declare const Columns: {
|
|
38
|
+
args: {
|
|
39
|
+
maxColumns: number;
|
|
40
|
+
itemMinWidth: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -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;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { LinkProps as UIProps
|
|
1
|
+
import { LinkProps as UIProps } from '@lumx/core/js/components/Link';
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
|
-
export type LinkProps = VueToJSXProps<UIProps
|
|
3
|
+
export type LinkProps = VueToJSXProps<UIProps>;
|
|
4
4
|
export declare const emitSchema: {
|
|
5
|
-
click: (event:
|
|
5
|
+
click: (event: MouseEvent) => boolean;
|
|
6
6
|
};
|
|
7
|
-
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
8
7
|
/**
|
|
9
8
|
* Link component.
|
|
10
9
|
*
|
|
@@ -12,10 +11,10 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS };
|
|
|
12
11
|
* @return Vue element.
|
|
13
12
|
*/
|
|
14
13
|
declare const Link: import('vue').DefineSetupFnComponent<LinkProps, {
|
|
15
|
-
click: (event:
|
|
16
|
-
}, {}, Omit<UIProps, "className" |
|
|
14
|
+
click: (event: MouseEvent) => boolean;
|
|
15
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "children"> & {
|
|
17
16
|
class?: string;
|
|
18
17
|
} & {
|
|
19
|
-
onClick?: ((event:
|
|
18
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
20
19
|
}, import('vue').PublicProps>;
|
|
21
20
|
export default Link;
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: any;
|
|
3
|
+
render: ({ children, ...args }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
4
|
+
argTypes: {
|
|
5
|
+
onClick: {
|
|
6
|
+
action: boolean;
|
|
7
|
+
};
|
|
8
|
+
typography: {
|
|
9
|
+
control: {
|
|
10
|
+
type: "select" | "inline-radio";
|
|
11
|
+
};
|
|
12
|
+
options: ("caption" | "title" | "overline" | "body1" | "body2" | "subtitle1" | "subtitle2" | "headline" | "display1" | "custom-title1" | "custom-title2" | "custom-title3" | "custom-title4" | "custom-title5" | "custom-title6")[];
|
|
13
|
+
mapping: Record<string, "caption" | "title" | "overline" | "body1" | "body2" | "subtitle1" | "subtitle2" | "headline" | "display1" | "custom-title1" | "custom-title2" | "custom-title3" | "custom-title4" | "custom-title5" | "custom-title6"> | undefined;
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
control: {
|
|
17
|
+
type: "select" | "inline-radio";
|
|
18
|
+
};
|
|
19
|
+
options: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
|
|
20
|
+
mapping: Record<string, "light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined> | undefined;
|
|
21
|
+
};
|
|
22
|
+
colorVariant: {
|
|
23
|
+
control: {
|
|
24
|
+
type: "select" | "inline-radio";
|
|
25
|
+
};
|
|
26
|
+
options: ("D1" | "D2" | "L1" | "L2" | "L3" | "L4" | "L5" | "L6" | "N")[];
|
|
27
|
+
mapping: Record<string, "D1" | "D2" | "L1" | "L2" | "L3" | "L4" | "L5" | "L6" | "N"> | undefined;
|
|
28
|
+
};
|
|
29
|
+
rightIcon: {
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
options: {
|
|
34
|
+
undefined: undefined;
|
|
35
|
+
mdiAbTesting: string;
|
|
36
|
+
mdiAbjadArabic: string;
|
|
37
|
+
mdiAccount: string;
|
|
38
|
+
mdiAccountBox: string;
|
|
39
|
+
mdiAlert: string;
|
|
40
|
+
mdiAlertCircle: string;
|
|
41
|
+
mdiArrowDown: string;
|
|
42
|
+
mdiArrowUp: string;
|
|
43
|
+
mdiAtom: string;
|
|
44
|
+
mdiBee: string;
|
|
45
|
+
mdiBell: string;
|
|
46
|
+
mdiBullhornOutline: string;
|
|
47
|
+
mdiCheck: string;
|
|
48
|
+
mdiCheckCircle: string;
|
|
49
|
+
mdiChevronDown: string;
|
|
50
|
+
mdiChevronLeft: string;
|
|
51
|
+
mdiChevronRight: string;
|
|
52
|
+
mdiChevronUp: string;
|
|
53
|
+
mdiClose: string;
|
|
54
|
+
mdiCloseCircle: string;
|
|
55
|
+
mdiDelete: string;
|
|
56
|
+
mdiDotsHorizontal: string;
|
|
57
|
+
mdiDragVertical: string;
|
|
58
|
+
mdiEarth: string;
|
|
59
|
+
mdiEmail: string;
|
|
60
|
+
mdiEye: string;
|
|
61
|
+
mdiFileEdit: string;
|
|
62
|
+
mdiFlag: string;
|
|
63
|
+
mdiFolder: string;
|
|
64
|
+
mdiFolderGoogleDrive: string;
|
|
65
|
+
mdiFoodApple: string;
|
|
66
|
+
mdiGoogleCirclesExtended: string;
|
|
67
|
+
mdiHeart: string;
|
|
68
|
+
mdiHome: string;
|
|
69
|
+
mdiImageBroken: string;
|
|
70
|
+
mdiInformation: string;
|
|
71
|
+
mdiLink: string;
|
|
72
|
+
mdiMagnifyMinusOutline: string;
|
|
73
|
+
mdiMagnifyPlusOutline: string;
|
|
74
|
+
mdiMenuDown: string;
|
|
75
|
+
mdiMessageTextOutline: string;
|
|
76
|
+
mdiMinus: string;
|
|
77
|
+
mdiOpenInNew: string;
|
|
78
|
+
mdiPauseCircleOutline: string;
|
|
79
|
+
mdiPencil: string;
|
|
80
|
+
mdiPlay: string;
|
|
81
|
+
mdiPlayCircleOutline: string;
|
|
82
|
+
mdiPlus: string;
|
|
83
|
+
mdiRadioboxBlank: string;
|
|
84
|
+
mdiRadioboxMarked: string;
|
|
85
|
+
mdiReply: string;
|
|
86
|
+
mdiSend: string;
|
|
87
|
+
mdiStar: string;
|
|
88
|
+
mdiTextBox: string;
|
|
89
|
+
mdiTextBoxPlus: string;
|
|
90
|
+
mdiTram: string;
|
|
91
|
+
mdiTranslate: string;
|
|
92
|
+
mdiViewList: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
leftIcon: {
|
|
96
|
+
control: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
options: {
|
|
100
|
+
undefined: undefined;
|
|
101
|
+
mdiAbTesting: string;
|
|
102
|
+
mdiAbjadArabic: string;
|
|
103
|
+
mdiAccount: string;
|
|
104
|
+
mdiAccountBox: string;
|
|
105
|
+
mdiAlert: string;
|
|
106
|
+
mdiAlertCircle: string;
|
|
107
|
+
mdiArrowDown: string;
|
|
108
|
+
mdiArrowUp: string;
|
|
109
|
+
mdiAtom: string;
|
|
110
|
+
mdiBee: string;
|
|
111
|
+
mdiBell: string;
|
|
112
|
+
mdiBullhornOutline: string;
|
|
113
|
+
mdiCheck: string;
|
|
114
|
+
mdiCheckCircle: string;
|
|
115
|
+
mdiChevronDown: string;
|
|
116
|
+
mdiChevronLeft: string;
|
|
117
|
+
mdiChevronRight: string;
|
|
118
|
+
mdiChevronUp: string;
|
|
119
|
+
mdiClose: string;
|
|
120
|
+
mdiCloseCircle: string;
|
|
121
|
+
mdiDelete: string;
|
|
122
|
+
mdiDotsHorizontal: string;
|
|
123
|
+
mdiDragVertical: string;
|
|
124
|
+
mdiEarth: string;
|
|
125
|
+
mdiEmail: string;
|
|
126
|
+
mdiEye: string;
|
|
127
|
+
mdiFileEdit: string;
|
|
128
|
+
mdiFlag: string;
|
|
129
|
+
mdiFolder: string;
|
|
130
|
+
mdiFolderGoogleDrive: string;
|
|
131
|
+
mdiFoodApple: string;
|
|
132
|
+
mdiGoogleCirclesExtended: string;
|
|
133
|
+
mdiHeart: string;
|
|
134
|
+
mdiHome: string;
|
|
135
|
+
mdiImageBroken: string;
|
|
136
|
+
mdiInformation: string;
|
|
137
|
+
mdiLink: string;
|
|
138
|
+
mdiMagnifyMinusOutline: string;
|
|
139
|
+
mdiMagnifyPlusOutline: string;
|
|
140
|
+
mdiMenuDown: string;
|
|
141
|
+
mdiMessageTextOutline: string;
|
|
142
|
+
mdiMinus: string;
|
|
143
|
+
mdiOpenInNew: string;
|
|
144
|
+
mdiPauseCircleOutline: string;
|
|
145
|
+
mdiPencil: string;
|
|
146
|
+
mdiPlay: string;
|
|
147
|
+
mdiPlayCircleOutline: string;
|
|
148
|
+
mdiPlus: string;
|
|
149
|
+
mdiRadioboxBlank: string;
|
|
150
|
+
mdiRadioboxMarked: string;
|
|
151
|
+
mdiReply: string;
|
|
152
|
+
mdiSend: string;
|
|
153
|
+
mdiStar: string;
|
|
154
|
+
mdiTextBox: string;
|
|
155
|
+
mdiTextBoxPlus: string;
|
|
156
|
+
mdiTram: string;
|
|
157
|
+
mdiTranslate: string;
|
|
158
|
+
mdiViewList: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
args: {
|
|
163
|
+
children: string;
|
|
164
|
+
color?: import('../..').ColorWithVariants | undefined;
|
|
165
|
+
colorVariant?: import('../..').ColorVariant | undefined;
|
|
166
|
+
href?: string | undefined;
|
|
167
|
+
isDisabled?: boolean | undefined;
|
|
168
|
+
linkAs?: string | any;
|
|
169
|
+
handleClick?: ((event: any) => void) | undefined;
|
|
170
|
+
target?: string | undefined;
|
|
171
|
+
typography?: import('../..').Typography | undefined;
|
|
172
|
+
ref?: import('../..').CommonRef;
|
|
173
|
+
className?: string | undefined;
|
|
174
|
+
'aria-disabled'?: import('@lumx/core/js/types/Booleanish').Booleanish | undefined;
|
|
175
|
+
disabled?: boolean | undefined;
|
|
176
|
+
};
|
|
177
|
+
title: string;
|
|
178
|
+
};
|
|
179
|
+
export default _default;
|
|
180
|
+
export declare const Default: {
|
|
181
|
+
args: {
|
|
182
|
+
href: string;
|
|
183
|
+
target: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
export declare const AsButton: {
|
|
187
|
+
args: {
|
|
188
|
+
children: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
export declare const WithTypography: {
|
|
192
|
+
args: {
|
|
193
|
+
href: string;
|
|
194
|
+
typography: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
export declare const WithColor: {
|
|
198
|
+
args: {
|
|
199
|
+
href: string;
|
|
200
|
+
color: "primary";
|
|
201
|
+
colorVariant: "D1";
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const Disabled: {
|
|
205
|
+
argTypes: {
|
|
206
|
+
isDisabled: {
|
|
207
|
+
control: boolean;
|
|
208
|
+
};
|
|
209
|
+
'aria-disabled': {
|
|
210
|
+
control: boolean;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
args: {
|
|
214
|
+
children: string;
|
|
215
|
+
};
|
|
216
|
+
decorators: ((story: any, context: any) => any)[];
|
|
217
|
+
};
|
|
218
|
+
export declare const LinkAs: {
|
|
219
|
+
args: {
|
|
220
|
+
linkAs: any;
|
|
221
|
+
children: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
export declare const WithCustomizableTypography: {
|
|
225
|
+
args: {
|
|
226
|
+
typography: "custom-title1";
|
|
227
|
+
children: string;
|
|
228
|
+
};
|
|
229
|
+
render: ({ children, ...args }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
230
|
+
};
|
|
231
|
+
export declare const AllStates: {
|
|
232
|
+
argTypes: {
|
|
233
|
+
isDisabled: {
|
|
234
|
+
control: boolean;
|
|
235
|
+
};
|
|
236
|
+
onClick: {
|
|
237
|
+
action: boolean;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
decorators: ((story: any, context: any) => any)[];
|
|
241
|
+
};
|
|
242
|
+
export declare const AllTypography: {
|
|
243
|
+
render: ({ children, ...args }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
244
|
+
argTypes: {
|
|
245
|
+
typography: {
|
|
246
|
+
control: boolean;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
decorators: ((story: any, context: any) => any)[];
|
|
250
|
+
};
|
|
251
|
+
export declare const AllColors: {
|
|
252
|
+
args: {
|
|
253
|
+
children: string;
|
|
254
|
+
};
|
|
255
|
+
argTypes: {
|
|
256
|
+
color: {
|
|
257
|
+
control: boolean;
|
|
258
|
+
};
|
|
259
|
+
colorVariant: {
|
|
260
|
+
control: boolean;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
decorators: ((story: any, context: any) => any)[];
|
|
264
|
+
};
|
|
265
|
+
export declare const ParentTypographyAndColor: {
|
|
266
|
+
render: ({ children, ...args }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
267
|
+
decorators: ((story: any, context: any) => any)[];
|
|
268
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { default as Link, LinkProps } from './Link';
|
|
2
|
+
export { Link };
|
|
3
|
+
export type { LinkProps };
|