@dpa-id-components/dpa-shared-components 12.2.4 → 12.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/dist/ai-VuCGPNLN.mjs +15 -0
- package/dist/components/DpaMediaItem/DpaMediaItem.stories.d.ts +6 -6
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +3 -2
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +3 -3
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +3 -3
- package/dist/components/UiBadge/UiBadge.stories.d.ts +10 -11
- package/dist/components/UiBadge/UiBadge.vue.d.ts +4 -4
- package/dist/components/UiButton/UiButton.stories.d.ts +7 -8
- package/dist/components/UiButton/UiButton.vue.d.ts +3 -3
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +2 -1
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +81 -82
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +31 -31
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +2 -2
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +2 -2
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +28 -29
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -5
- package/dist/components/UiIcon/UiIcon.stories.d.ts +4 -5
- package/dist/components/UiIcon/UiIcon.vue.d.ts +8 -4
- package/dist/components/UiIcon/iconNames.d.ts +1 -1
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +10 -11
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +2 -2
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +32 -33
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +3 -3
- package/dist/components/UiInput/UiInput.stories.d.ts +12 -12
- package/dist/components/UiInput/UiInput.vue.d.ts +1 -1
- package/dist/components/UiList/UiList.stories.d.ts +6 -6
- package/dist/components/UiListItem/UiListItem.stories.d.ts +26 -27
- package/dist/components/UiListItem/UiListItem.vue.d.ts +3 -3
- package/dist/components/UiMenu/UiMenu.stories.d.ts +4 -4
- package/dist/components/UiMenu/UiMenu.vue.d.ts +3 -2
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +12 -12
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +16 -0
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +2 -0
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +25 -26
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +3 -3
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +14 -14
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +5 -6
- package/dist/components/index.d.ts +2 -2
- package/dist/dpa-shared-components.mjs +3780 -3886
- package/dist/dpa-shared-components.umd.js +7 -7
- package/dist/graphic-C1wh-TxG.mjs +15 -0
- package/dist/label-ZzjOPjln.mjs +19 -0
- package/dist/label-filled-j_-BCTAD.mjs +19 -0
- package/dist/lock-Dcj4HaSk.mjs +19 -0
- package/dist/lock-filled-BnsIWWZt.mjs +19 -0
- package/dist/story-cXfkRTNd.mjs +15 -0
- package/dist/style.css +1 -1
- package/dist/thumbs-down-CdwHyt1J.mjs +19 -0
- package/package.json +4 -13
- package/dist/graphic-BmqiWT4u.mjs +0 -20
- package/dist/lock-EkeSCdjL.mjs +0 -19
- /package/dist/components/UiSimpleInput/{UiSimpleInput.d.ts → UiSimpleInput.spec.d.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 24 24",
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
5
|
+
};
|
|
6
|
+
function r(l, L) {
|
|
7
|
+
return t(), e("svg", n, L[0] || (L[0] = [
|
|
8
|
+
o("path", { d: "M5 23L6.26 20.25L9 19L6.26 17.74L5 15L3.75 17.74L1 19L3.75 20.25M15 20L17.5 14.5L23 12L17.5 9.5L15 4L12.5 9.5L7 12L12.5 14.5M5 9L6.26 6.26L9 5L6.26 3.75L5 1L3.75 3.75L1 5L3.75 6.26" }, null, -1)
|
|
9
|
+
]));
|
|
10
|
+
}
|
|
11
|
+
const c = { render: r };
|
|
12
|
+
export {
|
|
13
|
+
c as default,
|
|
14
|
+
r as render
|
|
15
|
+
};
|
|
@@ -3,14 +3,14 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: {
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
-
genre?: "audio" | "
|
|
6
|
+
genre?: "audio" | "graphic" | "picture" | "text" | "video";
|
|
7
7
|
isFulfilled?: boolean;
|
|
8
8
|
imgSrc?: string;
|
|
9
9
|
imgAlt?: string;
|
|
10
10
|
imgCount?: number;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
13
|
-
genre: "audio" | "
|
|
13
|
+
genre: "audio" | "graphic" | "picture" | "text" | "video";
|
|
14
14
|
isFulfilled: boolean;
|
|
15
15
|
imgSrc: string;
|
|
16
16
|
imgAlt: string;
|
|
@@ -24,14 +24,14 @@ declare const meta: {
|
|
|
24
24
|
M: {};
|
|
25
25
|
Defaults: {};
|
|
26
26
|
}, Readonly<{
|
|
27
|
-
genre?: "audio" | "
|
|
27
|
+
genre?: "audio" | "graphic" | "picture" | "text" | "video";
|
|
28
28
|
isFulfilled?: boolean;
|
|
29
29
|
imgSrc?: string;
|
|
30
30
|
imgAlt?: string;
|
|
31
31
|
imgCount?: number;
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
34
|
-
genre: "audio" | "
|
|
34
|
+
genre: "audio" | "graphic" | "picture" | "text" | "video";
|
|
35
35
|
isFulfilled: boolean;
|
|
36
36
|
imgSrc: string;
|
|
37
37
|
imgAlt: string;
|
|
@@ -42,14 +42,14 @@ declare const meta: {
|
|
|
42
42
|
__isTeleport?: never;
|
|
43
43
|
__isSuspense?: never;
|
|
44
44
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
45
|
-
genre?: "audio" | "
|
|
45
|
+
genre?: "audio" | "graphic" | "picture" | "text" | "video";
|
|
46
46
|
isFulfilled?: boolean;
|
|
47
47
|
imgSrc?: string;
|
|
48
48
|
imgAlt?: string;
|
|
49
49
|
imgCount?: number;
|
|
50
50
|
disabled?: boolean;
|
|
51
51
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
52
|
-
genre: "audio" | "
|
|
52
|
+
genre: "audio" | "graphic" | "picture" | "text" | "video";
|
|
53
53
|
isFulfilled: boolean;
|
|
54
54
|
imgSrc: string;
|
|
55
55
|
imgAlt: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
type Genre = "audio" | "video" | "text" | "picture" | "graphic";
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
genre?:
|
|
3
|
+
genre?: Genre;
|
|
3
4
|
isFulfilled?: boolean;
|
|
4
5
|
imgSrc?: string;
|
|
5
6
|
imgAlt?: string;
|
|
@@ -20,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
20
21
|
};
|
|
21
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
23
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
-
genre:
|
|
24
|
+
genre: Genre;
|
|
24
25
|
isFulfilled: boolean;
|
|
25
26
|
imgSrc: string;
|
|
26
27
|
imgAlt: string;
|
|
@@ -109,9 +109,9 @@ declare const meta: {
|
|
|
109
109
|
keyup: (args_0: KeyboardEvent) => any;
|
|
110
110
|
"update:modelValue": (args_0: string) => any;
|
|
111
111
|
}, string, {
|
|
112
|
+
label: string;
|
|
112
113
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
113
114
|
disabled: boolean;
|
|
114
|
-
label: string;
|
|
115
115
|
readonly: boolean;
|
|
116
116
|
id: string;
|
|
117
117
|
modelValue: string;
|
|
@@ -150,9 +150,9 @@ declare const meta: {
|
|
|
150
150
|
$nextTick: typeof import('vue').nextTick;
|
|
151
151
|
$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;
|
|
152
152
|
} & Readonly<{
|
|
153
|
+
label: string;
|
|
153
154
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
154
155
|
disabled: boolean;
|
|
155
|
-
label: string;
|
|
156
156
|
readonly: boolean;
|
|
157
157
|
id: string;
|
|
158
158
|
modelValue: string;
|
|
@@ -197,7 +197,7 @@ declare const meta: {
|
|
|
197
197
|
onInput?: ((args_0: string) => any) | undefined;
|
|
198
198
|
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
199
199
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
200
|
-
}>, "inputRef" | ("
|
|
200
|
+
}>, "inputRef" | ("label" | "type" | "disabled" | "readonly" | "id" | "modelValue" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
201
201
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
202
202
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
203
203
|
$slots: {
|
|
@@ -100,9 +100,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
100
100
|
keyup: (args_0: KeyboardEvent) => any;
|
|
101
101
|
"update:modelValue": (args_0: string) => any;
|
|
102
102
|
}, string, {
|
|
103
|
+
label: string;
|
|
103
104
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
104
105
|
disabled: boolean;
|
|
105
|
-
label: string;
|
|
106
106
|
readonly: boolean;
|
|
107
107
|
id: string;
|
|
108
108
|
modelValue: string;
|
|
@@ -141,9 +141,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
141
141
|
$nextTick: typeof import('vue').nextTick;
|
|
142
142
|
$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;
|
|
143
143
|
} & Readonly<{
|
|
144
|
+
label: string;
|
|
144
145
|
type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
|
|
145
146
|
disabled: boolean;
|
|
146
|
-
label: string;
|
|
147
147
|
readonly: boolean;
|
|
148
148
|
id: string;
|
|
149
149
|
modelValue: string;
|
|
@@ -188,7 +188,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
188
188
|
onInput?: ((args_0: string) => any) | undefined;
|
|
189
189
|
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
190
190
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
191
|
-
}>, "inputRef" | ("
|
|
191
|
+
}>, "inputRef" | ("label" | "type" | "disabled" | "readonly" | "id" | "modelValue" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
192
192
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
193
193
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
194
194
|
$slots: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { iconNames } from '../UiIcon/iconNames';
|
|
2
1
|
import { StoryObj } from '@storybook/vue3';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
@@ -6,17 +5,17 @@ declare const meta: {
|
|
|
6
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
6
|
text?: string;
|
|
8
7
|
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?: (
|
|
8
|
+
iconName?: import('..').UiIconName | null;
|
|
10
9
|
mobileTrim?: boolean;
|
|
11
10
|
trim?: boolean;
|
|
12
11
|
small?: boolean;
|
|
13
12
|
screenReaderText?: string;
|
|
14
13
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
15
14
|
text: string;
|
|
16
|
-
small: boolean;
|
|
17
15
|
trim: boolean;
|
|
16
|
+
small: boolean;
|
|
18
17
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
19
|
-
iconName: (
|
|
18
|
+
iconName: import('..').UiIconName | null;
|
|
20
19
|
mobileTrim: boolean;
|
|
21
20
|
screenReaderText: string;
|
|
22
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -29,17 +28,17 @@ declare const meta: {
|
|
|
29
28
|
}, Readonly<{
|
|
30
29
|
text?: string;
|
|
31
30
|
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?: (
|
|
31
|
+
iconName?: import('..').UiIconName | null;
|
|
33
32
|
mobileTrim?: boolean;
|
|
34
33
|
trim?: boolean;
|
|
35
34
|
small?: boolean;
|
|
36
35
|
screenReaderText?: string;
|
|
37
36
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
38
37
|
text: string;
|
|
39
|
-
small: boolean;
|
|
40
38
|
trim: boolean;
|
|
39
|
+
small: boolean;
|
|
41
40
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
42
|
-
iconName: (
|
|
41
|
+
iconName: import('..').UiIconName | null;
|
|
43
42
|
mobileTrim: boolean;
|
|
44
43
|
screenReaderText: string;
|
|
45
44
|
}>;
|
|
@@ -49,17 +48,17 @@ declare const meta: {
|
|
|
49
48
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
50
49
|
text?: string;
|
|
51
50
|
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?: (
|
|
51
|
+
iconName?: import('..').UiIconName | null;
|
|
53
52
|
mobileTrim?: boolean;
|
|
54
53
|
trim?: boolean;
|
|
55
54
|
small?: boolean;
|
|
56
55
|
screenReaderText?: string;
|
|
57
56
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
58
57
|
text: string;
|
|
59
|
-
small: boolean;
|
|
60
58
|
trim: boolean;
|
|
59
|
+
small: boolean;
|
|
61
60
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
62
|
-
iconName: (
|
|
61
|
+
iconName: import('..').UiIconName | null;
|
|
63
62
|
mobileTrim: boolean;
|
|
64
63
|
screenReaderText: string;
|
|
65
64
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -77,7 +76,7 @@ declare const meta: {
|
|
|
77
76
|
};
|
|
78
77
|
iconName: {
|
|
79
78
|
control: "select";
|
|
80
|
-
options: (
|
|
79
|
+
options: ("activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "print" | "refresh" | "reset" | "responsive" | "rubix-thema" | "save" | "saved-search" | "saved-search-fill" | "search" | "settings" | "share" | "share-alternative" | "sidebar" | "sidebar-fill" | "slack" | "slider-config" | "spellcheck" | "spinner" | "standard-view" | "star" | "star-fill" | "star-filled" | "stop" | "story" | "sync" | "tasks" | "text" | "text-circled" | "text-filled" | "thumbs-down" | "thumbs-up" | "thumbs-up-double" | "topic" | "union" | "upload" | "video" | "video overlay" | "video-circled" | "video-filled" | "view" | "view-off" | "volume-up" | null)[];
|
|
81
80
|
};
|
|
82
81
|
mobileTrim: {
|
|
83
82
|
control: "boolean";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UiIconName } from '../UiIcon/UiIcon.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
text?: string;
|
|
4
4
|
color?: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
5
|
-
iconName?:
|
|
5
|
+
iconName?: UiIconName | null;
|
|
6
6
|
mobileTrim?: boolean;
|
|
7
7
|
trim?: boolean;
|
|
8
8
|
small?: boolean;
|
|
@@ -19,10 +19,10 @@ declare function __VLS_template(): {
|
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
20
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
21
|
text: string;
|
|
22
|
-
small: boolean;
|
|
23
22
|
trim: boolean;
|
|
23
|
+
small: boolean;
|
|
24
24
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
25
|
-
iconName:
|
|
25
|
+
iconName: UiIconName | null;
|
|
26
26
|
mobileTrim: boolean;
|
|
27
27
|
screenReaderText: string;
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { iconNames } from '../UiIcon/iconNames';
|
|
2
1
|
import { StoryObj } from '@storybook/vue3';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: {
|
|
6
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
-
iconName?: (
|
|
6
|
+
iconName?: import('..').UiIconName | null;
|
|
8
7
|
size?: "xs" | "small" | "medium" | "large";
|
|
9
8
|
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
10
9
|
disabledVariant?: "primary" | "secondary";
|
|
@@ -20,7 +19,7 @@ declare const meta: {
|
|
|
20
19
|
disabled: boolean;
|
|
21
20
|
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
22
21
|
rounded: boolean;
|
|
23
|
-
iconName: (
|
|
22
|
+
iconName: import('..').UiIconName | null;
|
|
24
23
|
disabledVariant: "primary" | "secondary";
|
|
25
24
|
href: string;
|
|
26
25
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -31,7 +30,7 @@ declare const meta: {
|
|
|
31
30
|
M: {};
|
|
32
31
|
Defaults: {};
|
|
33
32
|
}, Readonly<{
|
|
34
|
-
iconName?: (
|
|
33
|
+
iconName?: import('..').UiIconName | null;
|
|
35
34
|
size?: "xs" | "small" | "medium" | "large";
|
|
36
35
|
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
37
36
|
disabledVariant?: "primary" | "secondary";
|
|
@@ -45,7 +44,7 @@ declare const meta: {
|
|
|
45
44
|
disabled: boolean;
|
|
46
45
|
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
47
46
|
rounded: boolean;
|
|
48
|
-
iconName: (
|
|
47
|
+
iconName: import('..').UiIconName | null;
|
|
49
48
|
disabledVariant: "primary" | "secondary";
|
|
50
49
|
href: string;
|
|
51
50
|
}>;
|
|
@@ -53,7 +52,7 @@ declare const meta: {
|
|
|
53
52
|
__isTeleport?: never;
|
|
54
53
|
__isSuspense?: never;
|
|
55
54
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
56
|
-
iconName?: (
|
|
55
|
+
iconName?: import('..').UiIconName | null;
|
|
57
56
|
size?: "xs" | "small" | "medium" | "large";
|
|
58
57
|
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
59
58
|
disabledVariant?: "primary" | "secondary";
|
|
@@ -69,7 +68,7 @@ declare const meta: {
|
|
|
69
68
|
disabled: boolean;
|
|
70
69
|
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
71
70
|
rounded: boolean;
|
|
72
|
-
iconName: (
|
|
71
|
+
iconName: import('..').UiIconName | null;
|
|
73
72
|
disabledVariant: "primary" | "secondary";
|
|
74
73
|
href: string;
|
|
75
74
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -80,7 +79,7 @@ declare const meta: {
|
|
|
80
79
|
argTypes: {
|
|
81
80
|
iconName: {
|
|
82
81
|
control: "select";
|
|
83
|
-
options:
|
|
82
|
+
options: ("activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "print" | "refresh" | "reset" | "responsive" | "rubix-thema" | "save" | "saved-search" | "saved-search-fill" | "search" | "settings" | "share" | "share-alternative" | "sidebar" | "sidebar-fill" | "slack" | "slider-config" | "spellcheck" | "spinner" | "standard-view" | "star" | "star-fill" | "star-filled" | "stop" | "story" | "sync" | "tasks" | "text" | "text-circled" | "text-filled" | "thumbs-down" | "thumbs-up" | "thumbs-up-double" | "topic" | "union" | "upload" | "video" | "video overlay" | "video-circled" | "video-filled" | "view" | "view-off" | "volume-up")[];
|
|
84
83
|
};
|
|
85
84
|
disabled: {
|
|
86
85
|
control: "boolean";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UiIconName } from '../UiIcon/UiIcon.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
iconName?:
|
|
3
|
+
iconName?: UiIconName | null;
|
|
4
4
|
size?: "xs" | "small" | "medium" | "large";
|
|
5
5
|
color?: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
6
6
|
disabledVariant?: "primary" | "secondary";
|
|
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
color: "blue" | "transparent" | "white" | "gray" | "light-gray" | "primary-green";
|
|
28
28
|
rounded: boolean;
|
|
29
|
-
iconName:
|
|
29
|
+
iconName: UiIconName | null;
|
|
30
30
|
disabledVariant: "primary" | "secondary";
|
|
31
31
|
href: string;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|