@dpa-id-components/dpa-shared-components 11.0.0 → 12.0.1
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/dist/components/DpaMediaItem/DpaMediaItem.stories.d.ts +25 -80
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +18 -49
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +194 -54
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +182 -42
- package/dist/components/UiBadge/UiBadge.stories.d.ts +31 -95
- package/dist/components/UiBadge/UiBadge.vue.d.ts +15 -50
- package/dist/components/UiButton/UiButton.stories.d.ts +32 -96
- package/dist/components/UiButton/UiButton.vue.d.ts +16 -51
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +1 -2
- package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +9 -3
- package/dist/components/UiCard/UiCard.stories.d.ts +1 -2
- package/dist/components/UiCard/UiCard.vue.d.ts +9 -3
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +25 -80
- package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +15 -46
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +11 -30
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +5 -33
- package/dist/components/UiChip/UiChip.stories.d.ts +16 -44
- package/dist/components/UiChip/UiChip.vue.d.ts +14 -36
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +16 -44
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +15 -37
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +8 -17
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -28
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2374 -819
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2152 -132
- package/dist/components/UiDialog/UiDialog.stories.d.ts +80 -279
- package/dist/components/UiDialog/UiDialog.vue.d.ts +17 -63
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +56 -165
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +14 -39
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +62 -189
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +15 -41
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +50 -171
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -55
- package/dist/components/UiIcon/IconOverview.vue.d.ts +5 -0
- package/dist/components/UiIcon/UiIcon.stories.d.ts +16 -40
- package/dist/components/UiIcon/UiIcon.vue.d.ts +4 -31
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +37 -109
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +6 -42
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +70 -230
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +16 -42
- package/dist/components/UiInput/UiInput.stories.d.ts +148 -505
- package/dist/components/UiInput/UiInput.vue.d.ts +21 -88
- package/dist/components/UiList/UiList.stories.d.ts +147 -493
- package/dist/components/UiList/UiList.vue.d.ts +9 -3
- package/dist/components/UiListItem/UiListItem.stories.d.ts +96 -327
- package/dist/components/UiListItem/UiListItem.vue.d.ts +19 -68
- package/dist/components/UiMenu/UiMenu.stories.d.ts +36 -41
- package/dist/components/UiMenu/UiMenu.vue.d.ts +8 -11
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +9 -12
- package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -29
- package/dist/components/UiMenu/UiMenuTypes.d.ts +1 -1
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +2 -3
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +9 -3
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +118 -373
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +14 -30
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +46 -119
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +5 -42
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +152 -461
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +27 -60
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +58 -127
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +22 -41
- package/dist/components/UiSection/UiSection.stories.d.ts +19 -56
- package/dist/components/UiSection/UiSection.vue.d.ts +14 -39
- package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +27 -76
- package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +4 -29
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +30 -75
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +7 -36
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +20 -57
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +4 -32
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +48 -135
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +20 -45
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +16 -41
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +4 -29
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +31 -104
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +14 -52
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +31 -104
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +15 -52
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +94 -303
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +20 -75
- package/dist/components/index.d.ts +0 -1
- package/dist/compositions/index.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +2 -0
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
- package/dist/directives/clickAway/clickAway.d.ts +0 -1
- package/dist/directives/index.d.ts +0 -1
- package/dist/dpa-shared-components.d.ts +1 -0
- package/dist/dpa-shared-components.mjs +12427 -13018
- package/dist/dpa-shared-components.umd.js +7 -7
- package/dist/index.d.ts +0 -1
- package/dist/stories/Typography/Typography.stories.d.ts +0 -1
- package/dist/stories/Typography/TypographyOverview.vue.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +9 -8
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
title?: string;
|
|
5
4
|
variant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | "blue-blank";
|
|
6
5
|
chevronIcon?: (typeof iconNames)[number];
|
|
@@ -11,42 +10,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
10
|
active?: boolean;
|
|
12
11
|
hasIcon?: boolean;
|
|
13
12
|
iconLeft?: (typeof iconNames)[number] | null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
variant: string;
|
|
17
|
-
chevronIcon: string;
|
|
18
|
-
rotateIcon: boolean;
|
|
19
|
-
iconSize: string;
|
|
20
|
-
size: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
active: boolean;
|
|
23
|
-
hasIcon: boolean;
|
|
24
|
-
iconLeft: null;
|
|
25
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
15
|
click: (...args: any[]) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
28
|
-
title?: string;
|
|
29
|
-
variant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | "blue-blank";
|
|
30
|
-
chevronIcon?: (typeof iconNames)[number];
|
|
31
|
-
rotateIcon?: boolean;
|
|
32
|
-
iconSize?: "xs" | "small" | "large";
|
|
33
|
-
size?: "xs" | "small";
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
active?: boolean;
|
|
36
|
-
hasIcon?: boolean;
|
|
37
|
-
iconLeft?: (typeof iconNames)[number] | null;
|
|
38
|
-
}>, {
|
|
39
|
-
title: string;
|
|
40
|
-
variant: string;
|
|
41
|
-
chevronIcon: string;
|
|
42
|
-
rotateIcon: boolean;
|
|
43
|
-
iconSize: string;
|
|
44
|
-
size: string;
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
active: boolean;
|
|
47
|
-
hasIcon: boolean;
|
|
48
|
-
iconLeft: null;
|
|
49
|
-
}>>> & Readonly<{
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
50
17
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
18
|
}>, {
|
|
52
19
|
size: "xs" | "small";
|
|
@@ -59,22 +26,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
26
|
active: boolean;
|
|
60
27
|
hasIcon: boolean;
|
|
61
28
|
iconLeft: (typeof iconNames)[number] | null;
|
|
62
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
63
30
|
export default _default;
|
|
64
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
-
} : {
|
|
69
|
-
type: import('vue').PropType<T[K]>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
type __VLS_WithDefaults<P, D> = {
|
|
74
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
75
|
-
default: D[K];
|
|
76
|
-
}> : P[K];
|
|
77
|
-
};
|
|
78
|
-
type __VLS_Prettify<T> = {
|
|
79
|
-
[K in keyof T]: T[K];
|
|
80
|
-
} & {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size: "xs" | "small" | "medium" | "large" | "xl";
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -1,37 +1,19 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
|
|
2
|
+
import { iconNames } from './iconNames';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('vue').DefineComponent<
|
|
6
|
-
name:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sizeClasses: {
|
|
15
|
-
type: import('vue').PropType<string>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
-
name: {
|
|
20
|
-
type: import('vue').PropType<string>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
size: {
|
|
24
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl" | "2xl">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
sizeClasses: {
|
|
28
|
-
type: import('vue').PropType<string>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{}>, {
|
|
5
|
+
component: import('vue').DefineComponent<{
|
|
6
|
+
name: (typeof iconNames)[number];
|
|
7
|
+
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
8
|
+
sizeClasses?: string;
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
+
name: (typeof iconNames)[number];
|
|
11
|
+
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
12
|
+
sizeClasses?: string;
|
|
13
|
+
}> & Readonly<{}>, {
|
|
32
14
|
size: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
33
15
|
sizeClasses: string;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
17
|
argTypes: {
|
|
36
18
|
name: {
|
|
37
19
|
control: "select";
|
|
@@ -57,17 +39,11 @@ export declare const Overview: {
|
|
|
57
39
|
size: any;
|
|
58
40
|
};
|
|
59
41
|
components: {
|
|
60
|
-
IconOverview: import('vue').DefineComponent<
|
|
61
|
-
size:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
-
size: {
|
|
67
|
-
type: import('vue').PropType<"xs" | "small" | "medium" | "large" | "xl">;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
IconOverview: import('vue').DefineComponent<{
|
|
43
|
+
size: "xs" | "small" | "medium" | "large" | "xl";
|
|
44
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
45
|
+
size: "xs" | "small" | "medium" | "large" | "xl";
|
|
46
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
71
47
|
};
|
|
72
48
|
template: string;
|
|
73
49
|
};
|
|
@@ -1,38 +1,11 @@
|
|
|
1
1
|
import { iconNames } from './iconNames';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
name: (typeof iconNames)[number];
|
|
5
4
|
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
6
5
|
sizeClasses?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
sizeClasses: string;
|
|
10
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
name: (typeof iconNames)[number];
|
|
12
|
-
size?: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
13
|
-
sizeClasses?: string;
|
|
14
|
-
}>, {
|
|
15
|
-
size: string;
|
|
16
|
-
sizeClasses: string;
|
|
17
|
-
}>>> & Readonly<{}>, {
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
8
|
size: "xs" | "small" | "medium" | "large" | "xl" | "2xl";
|
|
19
9
|
sizeClasses: string;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
11
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
@@ -1,60 +1,24 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
|
|
2
|
+
import { iconNames } from '../UiIcon/iconNames';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import('vue').DefineComponent<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
backgroundColor: {
|
|
23
|
-
type: import('vue').PropType<"none" | "blue" | "gray-hover">;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
iconColor: {
|
|
27
|
-
type: import('vue').PropType<"blue" | "gray" | "white">;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
-
click: (payload: any) => void;
|
|
32
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
-
size: {
|
|
34
|
-
type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
disabled: {
|
|
38
|
-
type: import('vue').PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
title: {
|
|
42
|
-
type: import('vue').PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
iconName: {
|
|
46
|
-
type: import('vue').PropType<string>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
backgroundColor: {
|
|
50
|
-
type: import('vue').PropType<"none" | "blue" | "gray-hover">;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
iconColor: {
|
|
54
|
-
type: import('vue').PropType<"blue" | "gray" | "white">;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
}>> & Readonly<{
|
|
5
|
+
component: import('vue').DefineComponent<{
|
|
6
|
+
iconName: (typeof iconNames)[number];
|
|
7
|
+
title?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
10
|
+
iconColor?: "blue" | "gray" | "white";
|
|
11
|
+
size?: "small" | "medium" | "large" | "xl";
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
click: (payload: any) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
iconName: (typeof iconNames)[number];
|
|
16
|
+
title?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
19
|
+
iconColor?: "blue" | "gray" | "white";
|
|
20
|
+
size?: "small" | "medium" | "large" | "xl";
|
|
21
|
+
}> & Readonly<{
|
|
58
22
|
onClick?: ((payload: any) => any) | undefined;
|
|
59
23
|
}>, {
|
|
60
24
|
size: "small" | "medium" | "large" | "xl";
|
|
@@ -62,7 +26,7 @@ declare const meta: {
|
|
|
62
26
|
title: string;
|
|
63
27
|
backgroundColor: "blue" | "none" | "gray-hover";
|
|
64
28
|
iconColor: "blue" | "gray" | "white";
|
|
65
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
66
30
|
argTypes: {
|
|
67
31
|
iconName: {
|
|
68
32
|
control: "select";
|
|
@@ -92,59 +56,23 @@ declare const meta: {
|
|
|
92
56
|
args: any;
|
|
93
57
|
};
|
|
94
58
|
components: {
|
|
95
|
-
UiIconButton: import('vue').DefineComponent<
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
backgroundColor: {
|
|
113
|
-
type: import('vue').PropType<"none" | "blue" | "gray-hover">;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
iconColor: {
|
|
117
|
-
type: import('vue').PropType<"blue" | "gray" | "white">;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
|
-
click: (payload: any) => void;
|
|
122
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
123
|
-
size: {
|
|
124
|
-
type: import('vue').PropType<"small" | "medium" | "large" | "xl">;
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
|
-
disabled: {
|
|
128
|
-
type: import('vue').PropType<boolean>;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
title: {
|
|
132
|
-
type: import('vue').PropType<string>;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
iconName: {
|
|
136
|
-
type: import('vue').PropType<string>;
|
|
137
|
-
required: true;
|
|
138
|
-
};
|
|
139
|
-
backgroundColor: {
|
|
140
|
-
type: import('vue').PropType<"none" | "blue" | "gray-hover">;
|
|
141
|
-
default: string;
|
|
142
|
-
};
|
|
143
|
-
iconColor: {
|
|
144
|
-
type: import('vue').PropType<"blue" | "gray" | "white">;
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
|
-
}>> & Readonly<{
|
|
59
|
+
UiIconButton: import('vue').DefineComponent<{
|
|
60
|
+
iconName: (typeof iconNames)[number];
|
|
61
|
+
title?: string;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
64
|
+
iconColor?: "blue" | "gray" | "white";
|
|
65
|
+
size?: "small" | "medium" | "large" | "xl";
|
|
66
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
67
|
+
click: (payload: any) => any;
|
|
68
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
69
|
+
iconName: (typeof iconNames)[number];
|
|
70
|
+
title?: string;
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
73
|
+
iconColor?: "blue" | "gray" | "white";
|
|
74
|
+
size?: "small" | "medium" | "large" | "xl";
|
|
75
|
+
}> & Readonly<{
|
|
148
76
|
onClick?: ((payload: any) => any) | undefined;
|
|
149
77
|
}>, {
|
|
150
78
|
size: "small" | "medium" | "large" | "xl";
|
|
@@ -152,7 +80,7 @@ declare const meta: {
|
|
|
152
80
|
title: string;
|
|
153
81
|
backgroundColor: "blue" | "none" | "gray-hover";
|
|
154
82
|
iconColor: "blue" | "gray" | "white";
|
|
155
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
156
84
|
};
|
|
157
85
|
template: string;
|
|
158
86
|
methods: {
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
iconName: (typeof iconNames)[number];
|
|
5
4
|
title?: string;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
8
7
|
iconColor?: "blue" | "gray" | "white";
|
|
9
8
|
size?: "small" | "medium" | "large" | "xl";
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
iconColor: string;
|
|
15
|
-
size: string;
|
|
16
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
click: (payload: any) => void;
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
-
iconName: (typeof iconNames)[number];
|
|
20
|
-
title?: string;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
backgroundColor?: "blue" | "none" | "gray-hover";
|
|
23
|
-
iconColor?: "blue" | "gray" | "white";
|
|
24
|
-
size?: "small" | "medium" | "large" | "xl";
|
|
25
|
-
}>, {
|
|
26
|
-
title: string;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
backgroundColor: string;
|
|
29
|
-
iconColor: string;
|
|
30
|
-
size: string;
|
|
31
|
-
}>>> & Readonly<{
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
click: (payload: any) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
13
|
onClick?: ((payload: any) => any) | undefined;
|
|
33
14
|
}>, {
|
|
34
15
|
size: "small" | "medium" | "large" | "xl";
|
|
@@ -36,22 +17,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
36
17
|
title: string;
|
|
37
18
|
backgroundColor: "blue" | "none" | "gray-hover";
|
|
38
19
|
iconColor: "blue" | "gray" | "white";
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
40
21
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|