@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,35 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
label?: string;
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
value?: string;
|
|
5
5
|
options?: string[];
|
|
6
6
|
readonly?: boolean;
|
|
7
7
|
chevron?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
placeholder: string;
|
|
11
|
-
value: string;
|
|
12
|
-
options: () => never[];
|
|
13
|
-
readonly: boolean;
|
|
14
|
-
chevron: boolean;
|
|
15
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
10
|
input: (...args: any[]) => void;
|
|
17
11
|
select: (...args: any[]) => void;
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
19
|
-
label?: string;
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
value?: string;
|
|
22
|
-
options?: string[];
|
|
23
|
-
readonly?: boolean;
|
|
24
|
-
chevron?: boolean;
|
|
25
|
-
}>, {
|
|
26
|
-
label: string;
|
|
27
|
-
placeholder: string;
|
|
28
|
-
value: string;
|
|
29
|
-
options: () => never[];
|
|
30
|
-
readonly: boolean;
|
|
31
|
-
chevron: boolean;
|
|
32
|
-
}>>> & Readonly<{
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
13
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
34
14
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
35
15
|
}>, {
|
|
@@ -39,22 +19,182 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
19
|
chevron: boolean;
|
|
40
20
|
value: string;
|
|
41
21
|
options: string[];
|
|
42
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
inputRef: ({
|
|
24
|
+
$: import('vue').ComponentInternalInstance;
|
|
25
|
+
$data: {};
|
|
26
|
+
$props: {
|
|
27
|
+
readonly id?: string | undefined;
|
|
28
|
+
readonly modelValue: string;
|
|
29
|
+
readonly type?: "text" | "number" | "time" | "date" | "password" | "datetime-local" | undefined;
|
|
30
|
+
readonly label?: string | undefined;
|
|
31
|
+
readonly placeholder?: string | undefined;
|
|
32
|
+
readonly autofocus?: boolean | undefined;
|
|
33
|
+
readonly chevron?: boolean | undefined;
|
|
34
|
+
readonly readonly?: boolean | undefined;
|
|
35
|
+
readonly disabled?: boolean | undefined;
|
|
36
|
+
readonly isDateTimePicker?: boolean | undefined;
|
|
37
|
+
readonly autocomplete?: string | undefined;
|
|
38
|
+
readonly isInvalid?: boolean | undefined;
|
|
39
|
+
readonly errorMessage?: string | undefined;
|
|
40
|
+
readonly showWarning?: boolean | undefined;
|
|
41
|
+
readonly warningMessage?: string | undefined;
|
|
42
|
+
readonly isTextarea?: boolean | undefined;
|
|
43
|
+
readonly hasInfo?: boolean | undefined;
|
|
44
|
+
readonly infoText?: string | undefined;
|
|
45
|
+
readonly inputStatus?: "default" | "info" | "readonly" | "warning" | "error" | undefined;
|
|
46
|
+
readonly isUiAutocomplete?: boolean | undefined;
|
|
47
|
+
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
readonly onKeyup?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
} & {
|
|
59
|
+
inputRef: unknown;
|
|
60
|
+
};
|
|
61
|
+
$slots: Readonly<{
|
|
62
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
63
|
+
}>;
|
|
64
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
65
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
66
|
+
$host: Element | null;
|
|
67
|
+
$emit: ((event: "focus", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "input", ...args: any[]) => void) & ((event: "keyup", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
|
|
68
|
+
$el: any;
|
|
69
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
70
|
+
id?: string;
|
|
71
|
+
modelValue: string;
|
|
72
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
73
|
+
label?: string;
|
|
74
|
+
placeholder?: string;
|
|
75
|
+
autofocus?: boolean;
|
|
76
|
+
chevron?: boolean;
|
|
77
|
+
readonly?: boolean;
|
|
78
|
+
disabled?: boolean;
|
|
79
|
+
isDateTimePicker?: boolean;
|
|
80
|
+
autocomplete?: string;
|
|
81
|
+
isInvalid?: boolean;
|
|
82
|
+
errorMessage?: string;
|
|
83
|
+
showWarning?: boolean;
|
|
84
|
+
warningMessage?: string;
|
|
85
|
+
isTextarea?: boolean;
|
|
86
|
+
hasInfo?: boolean;
|
|
87
|
+
infoText?: string;
|
|
88
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
89
|
+
isUiAutocomplete?: boolean;
|
|
90
|
+
}> & Readonly<{
|
|
91
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}>, {
|
|
97
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
98
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
+
focus: (...args: any[]) => void;
|
|
100
|
+
blur: (...args: any[]) => void;
|
|
101
|
+
input: (...args: any[]) => void;
|
|
102
|
+
keyup: (...args: any[]) => void;
|
|
103
|
+
"update:modelValue": (...args: any[]) => void;
|
|
104
|
+
}, string, {
|
|
105
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
label: string;
|
|
108
|
+
readonly: boolean;
|
|
109
|
+
id: string;
|
|
110
|
+
placeholder: string;
|
|
111
|
+
autofocus: boolean;
|
|
112
|
+
chevron: boolean;
|
|
113
|
+
isDateTimePicker: boolean;
|
|
114
|
+
autocomplete: string;
|
|
115
|
+
isInvalid: boolean;
|
|
116
|
+
errorMessage: string;
|
|
117
|
+
showWarning: boolean;
|
|
118
|
+
warningMessage: string;
|
|
119
|
+
isTextarea: boolean;
|
|
120
|
+
hasInfo: boolean;
|
|
121
|
+
infoText: string;
|
|
122
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
123
|
+
isUiAutocomplete: boolean;
|
|
124
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
125
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
126
|
+
created?: (() => void) | (() => void)[];
|
|
127
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
128
|
+
mounted?: (() => void) | (() => void)[];
|
|
129
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
130
|
+
updated?: (() => void) | (() => void)[];
|
|
131
|
+
activated?: (() => void) | (() => void)[];
|
|
132
|
+
deactivated?: (() => void) | (() => void)[];
|
|
133
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
134
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
135
|
+
destroyed?: (() => void) | (() => void)[];
|
|
136
|
+
unmounted?: (() => void) | (() => void)[];
|
|
137
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
138
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
139
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
140
|
+
};
|
|
141
|
+
$forceUpdate: () => void;
|
|
142
|
+
$nextTick: typeof import('vue').nextTick;
|
|
143
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
144
|
+
} & Readonly<{
|
|
145
|
+
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
label: string;
|
|
148
|
+
readonly: boolean;
|
|
149
|
+
id: string;
|
|
150
|
+
placeholder: string;
|
|
151
|
+
autofocus: boolean;
|
|
152
|
+
chevron: boolean;
|
|
153
|
+
isDateTimePicker: boolean;
|
|
154
|
+
autocomplete: string;
|
|
155
|
+
isInvalid: boolean;
|
|
156
|
+
errorMessage: string;
|
|
157
|
+
showWarning: boolean;
|
|
158
|
+
warningMessage: string;
|
|
159
|
+
isTextarea: boolean;
|
|
160
|
+
hasInfo: boolean;
|
|
161
|
+
infoText: string;
|
|
162
|
+
inputStatus: "default" | "info" | "readonly" | "warning" | "error";
|
|
163
|
+
isUiAutocomplete: boolean;
|
|
164
|
+
}> & Omit<Readonly<{
|
|
165
|
+
id?: string;
|
|
166
|
+
modelValue: string;
|
|
167
|
+
type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
168
|
+
label?: string;
|
|
169
|
+
placeholder?: string;
|
|
170
|
+
autofocus?: boolean;
|
|
171
|
+
chevron?: boolean;
|
|
172
|
+
readonly?: boolean;
|
|
173
|
+
disabled?: boolean;
|
|
174
|
+
isDateTimePicker?: boolean;
|
|
175
|
+
autocomplete?: string;
|
|
176
|
+
isInvalid?: boolean;
|
|
177
|
+
errorMessage?: string;
|
|
178
|
+
showWarning?: boolean;
|
|
179
|
+
warningMessage?: string;
|
|
180
|
+
isTextarea?: boolean;
|
|
181
|
+
hasInfo?: boolean;
|
|
182
|
+
infoText?: string;
|
|
183
|
+
inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
|
|
184
|
+
isUiAutocomplete?: boolean;
|
|
185
|
+
}> & Readonly<{
|
|
186
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
}>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
192
|
+
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
193
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
194
|
+
$slots: {
|
|
195
|
+
buttons?(_: {}): any;
|
|
196
|
+
};
|
|
197
|
+
}) | null;
|
|
198
|
+
dropdownRef: HTMLDivElement;
|
|
199
|
+
}, HTMLDivElement>;
|
|
43
200
|
export default _default;
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
-
default: D[K];
|
|
56
|
-
}> : P[K];
|
|
57
|
-
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
@@ -1,86 +1,43 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
2
|
import { StoryObj } from '@storybook/vue3';
|
|
3
|
-
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: {
|
|
7
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
8
|
-
text
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
trim
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
small: {
|
|
17
|
-
type: import('vue').PropType<boolean>;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
color: {
|
|
21
|
-
type: import('vue').PropType<"blue" | "red" | "red-dark" | "orange" | "purple" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green">;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
iconName: {
|
|
25
|
-
type: import('vue').PropType<string | null>;
|
|
26
|
-
default: null;
|
|
27
|
-
};
|
|
28
|
-
mobileTrim: {
|
|
29
|
-
type: import('vue').PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
screenReaderText: {
|
|
33
|
-
type: import('vue').PropType<string>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
text?: string;
|
|
8
|
+
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
9
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
10
|
+
mobileTrim?: boolean;
|
|
11
|
+
trim?: boolean;
|
|
12
|
+
small?: boolean;
|
|
13
|
+
screenReaderText?: string;
|
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
37
15
|
text: string;
|
|
38
|
-
trim: boolean;
|
|
39
16
|
small: boolean;
|
|
17
|
+
trim: boolean;
|
|
40
18
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
41
19
|
iconName: (typeof iconNames)[number] | null;
|
|
42
20
|
mobileTrim: boolean;
|
|
43
21
|
screenReaderText: string;
|
|
44
|
-
},
|
|
22
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
45
23
|
P: {};
|
|
46
24
|
B: {};
|
|
47
25
|
D: {};
|
|
48
26
|
C: {};
|
|
49
27
|
M: {};
|
|
50
28
|
Defaults: {};
|
|
51
|
-
}, Readonly<
|
|
52
|
-
text
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
trim
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
small: {
|
|
61
|
-
type: import('vue').PropType<boolean>;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
color: {
|
|
65
|
-
type: import('vue').PropType<"blue" | "red" | "red-dark" | "orange" | "purple" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green">;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
iconName: {
|
|
69
|
-
type: import('vue').PropType<string | null>;
|
|
70
|
-
default: null;
|
|
71
|
-
};
|
|
72
|
-
mobileTrim: {
|
|
73
|
-
type: import('vue').PropType<boolean>;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
screenReaderText: {
|
|
77
|
-
type: import('vue').PropType<string>;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
29
|
+
}, Readonly<{
|
|
30
|
+
text?: string;
|
|
31
|
+
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
32
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
33
|
+
mobileTrim?: boolean;
|
|
34
|
+
trim?: boolean;
|
|
35
|
+
small?: boolean;
|
|
36
|
+
screenReaderText?: string;
|
|
37
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
81
38
|
text: string;
|
|
82
|
-
trim: boolean;
|
|
83
39
|
small: boolean;
|
|
40
|
+
trim: boolean;
|
|
84
41
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
85
42
|
iconName: (typeof iconNames)[number] | null;
|
|
86
43
|
mobileTrim: boolean;
|
|
@@ -89,39 +46,18 @@ declare const meta: {
|
|
|
89
46
|
__isFragment?: never;
|
|
90
47
|
__isTeleport?: never;
|
|
91
48
|
__isSuspense?: never;
|
|
92
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
93
|
-
text
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
trim
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
small: {
|
|
102
|
-
type: import('vue').PropType<boolean>;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
color: {
|
|
106
|
-
type: import('vue').PropType<"blue" | "red" | "red-dark" | "orange" | "purple" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green">;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
iconName: {
|
|
110
|
-
type: import('vue').PropType<string | null>;
|
|
111
|
-
default: null;
|
|
112
|
-
};
|
|
113
|
-
mobileTrim: {
|
|
114
|
-
type: import('vue').PropType<boolean>;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
screenReaderText: {
|
|
118
|
-
type: import('vue').PropType<string>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
50
|
+
text?: string;
|
|
51
|
+
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
52
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
53
|
+
mobileTrim?: boolean;
|
|
54
|
+
trim?: boolean;
|
|
55
|
+
small?: boolean;
|
|
56
|
+
screenReaderText?: string;
|
|
57
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
122
58
|
text: string;
|
|
123
|
-
trim: boolean;
|
|
124
59
|
small: boolean;
|
|
60
|
+
trim: boolean;
|
|
125
61
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
126
62
|
iconName: (typeof iconNames)[number] | null;
|
|
127
63
|
mobileTrim: boolean;
|
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
text?: string;
|
|
8
|
-
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
9
|
-
iconName?: (typeof iconNames)[number] | null;
|
|
10
|
-
mobileTrim?: boolean;
|
|
11
|
-
trim?: boolean;
|
|
12
|
-
small?: boolean;
|
|
13
|
-
screenReaderText?: string;
|
|
14
|
-
}>, {
|
|
15
|
-
text: undefined;
|
|
16
|
-
color: string;
|
|
17
|
-
iconName: null;
|
|
18
|
-
mobileTrim: boolean;
|
|
19
|
-
trim: boolean;
|
|
20
|
-
small: boolean;
|
|
21
|
-
screenReaderText: string;
|
|
22
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
23
3
|
text?: string;
|
|
24
4
|
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
25
5
|
iconName?: (typeof iconNames)[number] | null;
|
|
@@ -27,42 +7,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
27
7
|
trim?: boolean;
|
|
28
8
|
small?: boolean;
|
|
29
9
|
screenReaderText?: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
10
|
+
};
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
39
21
|
text: string;
|
|
40
|
-
trim: boolean;
|
|
41
22
|
small: boolean;
|
|
23
|
+
trim: boolean;
|
|
42
24
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
43
25
|
iconName: (typeof iconNames)[number] | null;
|
|
44
26
|
mobileTrim: boolean;
|
|
45
27
|
screenReaderText: string;
|
|
46
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
47
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
30
|
export default _default;
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
type __VLS_WithDefaults<P, D> = {
|
|
59
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
-
default: D[K];
|
|
61
|
-
}> : P[K];
|
|
62
|
-
};
|
|
63
|
-
type __VLS_Prettify<T> = {
|
|
64
|
-
[K in keyof T]: T[K];
|
|
65
|
-
} & {};
|
|
66
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
32
|
new (): {
|
|
68
33
|
$slots: S;
|
|
@@ -1,42 +1,20 @@
|
|
|
1
1
|
import { iconNames } from '../UiIcon/iconNames';
|
|
2
2
|
import { StoryObj } from '@storybook/vue3';
|
|
3
|
-
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: {
|
|
7
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
disabled
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
color: {
|
|
17
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
rounded: {
|
|
21
|
-
type: import('vue').PropType<boolean>;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
iconName: {
|
|
25
|
-
type: import('vue').PropType<string | null>;
|
|
26
|
-
default: null;
|
|
27
|
-
};
|
|
28
|
-
disabledVariant: {
|
|
29
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
href: {
|
|
33
|
-
type: import('vue').PropType<string>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>> & Readonly<{
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
8
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
9
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
10
|
+
disabledVariant?: "primary" | "secondary";
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
href?: string;
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
}> & Readonly<{
|
|
37
15
|
onClick?: (() => any) | undefined;
|
|
38
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
click: () =>
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
click: () => any;
|
|
40
18
|
}, import('vue').PublicProps, {
|
|
41
19
|
size: "xs" | "small" | "medium" | "large";
|
|
42
20
|
disabled: boolean;
|
|
@@ -45,43 +23,22 @@ declare const meta: {
|
|
|
45
23
|
iconName: (typeof iconNames)[number] | null;
|
|
46
24
|
disabledVariant: "primary" | "secondary";
|
|
47
25
|
href: string;
|
|
48
|
-
},
|
|
26
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
49
27
|
P: {};
|
|
50
28
|
B: {};
|
|
51
29
|
D: {};
|
|
52
30
|
C: {};
|
|
53
31
|
M: {};
|
|
54
32
|
Defaults: {};
|
|
55
|
-
}, Readonly<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
disabled
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
color: {
|
|
65
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
rounded: {
|
|
69
|
-
type: import('vue').PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
iconName: {
|
|
73
|
-
type: import('vue').PropType<string | null>;
|
|
74
|
-
default: null;
|
|
75
|
-
};
|
|
76
|
-
disabledVariant: {
|
|
77
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
href: {
|
|
81
|
-
type: import('vue').PropType<string>;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
}>> & Readonly<{
|
|
33
|
+
}, Readonly<{
|
|
34
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
35
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
36
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
37
|
+
disabledVariant?: "primary" | "secondary";
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
href?: string;
|
|
40
|
+
rounded?: boolean;
|
|
41
|
+
}> & Readonly<{
|
|
85
42
|
onClick?: (() => any) | undefined;
|
|
86
43
|
}>, {}, {}, {}, {}, {
|
|
87
44
|
size: "xs" | "small" | "medium" | "large";
|
|
@@ -95,39 +52,18 @@ declare const meta: {
|
|
|
95
52
|
__isFragment?: never;
|
|
96
53
|
__isTeleport?: never;
|
|
97
54
|
__isSuspense?: never;
|
|
98
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
disabled
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
color: {
|
|
108
|
-
type: import('vue').PropType<"blue" | "gray" | "white" | "primary-green" | "transparent" | "light-gray">;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
rounded: {
|
|
112
|
-
type: import('vue').PropType<boolean>;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
iconName: {
|
|
116
|
-
type: import('vue').PropType<string | null>;
|
|
117
|
-
default: null;
|
|
118
|
-
};
|
|
119
|
-
disabledVariant: {
|
|
120
|
-
type: import('vue').PropType<"primary" | "secondary">;
|
|
121
|
-
default: string;
|
|
122
|
-
};
|
|
123
|
-
href: {
|
|
124
|
-
type: import('vue').PropType<string>;
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
|
-
}>> & Readonly<{
|
|
55
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
56
|
+
iconName?: (typeof iconNames)[number] | null;
|
|
57
|
+
size?: "xs" | "small" | "medium" | "large";
|
|
58
|
+
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
59
|
+
disabledVariant?: "primary" | "secondary";
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
href?: string;
|
|
62
|
+
rounded?: boolean;
|
|
63
|
+
}> & Readonly<{
|
|
128
64
|
onClick?: (() => any) | undefined;
|
|
129
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
130
|
-
click: () =>
|
|
65
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
66
|
+
click: () => any;
|
|
131
67
|
}, string, {
|
|
132
68
|
size: "xs" | "small" | "medium" | "large";
|
|
133
69
|
disabled: boolean;
|