vueless 0.0.235 → 0.0.237
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/package.json +1 -1
- package/service.storybook/index.js +19 -3
- package/ui.form-input/configs/default.config.js +2 -2
- package/ui.form-input/index.vue +8 -8
- package/ui.form-input-search/configs/default.config.js +2 -2
- package/ui.form-input-search/index.vue +4 -3
- package/ui.text-alert/configs/default.config.js +27 -33
- package/ui.text-alert/index.stories.js +70 -135
- package/ui.text-alert/index.vue +52 -54
- package/ui.text-badge/index.stories.js +21 -89
- package/ui.text-block/index.stories.js +13 -15
- package/ui.text-empty/index.stories.js +15 -27
- package/ui.text-file/index.stories.js +4 -2
- package/ui.text-files/index.stories.js +4 -2
- package/ui.text-header/index.stories.js +17 -57
- package/ui.text-money/index.stories.js +24 -148
- package/ui.text-notify/index.stories.js +24 -24
- package/web-types.json +31 -40
package/package.json
CHANGED
|
@@ -16,7 +16,12 @@ export function getArgTypes(componentName) {
|
|
|
16
16
|
|
|
17
17
|
if (!component) return;
|
|
18
18
|
|
|
19
|
-
const types = {
|
|
19
|
+
const types = {
|
|
20
|
+
// Hide default template arg in docs.
|
|
21
|
+
defaultTemplate: { table: { disable: true } },
|
|
22
|
+
// Hide slot template arg in docs.
|
|
23
|
+
slotTemplate: { table: { disable: true } },
|
|
24
|
+
};
|
|
20
25
|
|
|
21
26
|
component.attributes?.forEach((attribute) => {
|
|
22
27
|
const type = attribute.value.type;
|
|
@@ -135,12 +140,23 @@ export function getArgTypes(componentName) {
|
|
|
135
140
|
return types;
|
|
136
141
|
}
|
|
137
142
|
|
|
138
|
-
export function getSource(
|
|
139
|
-
return
|
|
143
|
+
export function getSource(defaultConfig) {
|
|
144
|
+
return defaultConfig.replace("export default /*tw*/ ", "").replace(";", "");
|
|
140
145
|
}
|
|
141
146
|
|
|
147
|
+
// TODO: remove it when allSlotsFragment will be replaced to getSlotsFragment
|
|
142
148
|
export const allSlotsFragment = `
|
|
143
149
|
<template v-for="(slot, index) of slots" :key="index" v-slot:[slot]>
|
|
144
150
|
<template v-if="args[slot + 'Slot']">{{ args[slot + 'Slot'] }}</template>
|
|
145
151
|
</template>
|
|
146
152
|
`;
|
|
153
|
+
|
|
154
|
+
export function getSlotsFragment(defaultTemplate) {
|
|
155
|
+
return `
|
|
156
|
+
<template v-for="(slot, index) of slots" :key="index" v-slot:[slot]>
|
|
157
|
+
<template v-if="slot === 'default' && !args['defaultSlot']">${defaultTemplate || ""}</template>
|
|
158
|
+
<template v-else-if="slot === 'default' && args['defaultSlot']">{{ args['defaultSlot'] }}</template>
|
|
159
|
+
<template v-else-if="args[slot + 'Slot']">{{ args[slot + 'Slot'] }}</template>
|
|
160
|
+
</template>
|
|
161
|
+
`;
|
|
162
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
label: "{ULabel}",
|
|
3
3
|
inputWrapper: "flex relative w-full",
|
|
4
|
-
rightIconSlot: "flex items-center justify-end whitespace-nowrap pr-
|
|
5
|
-
leftIconSlot: "flex items-center justify-end whitespace-nowrap pl-
|
|
4
|
+
rightIconSlot: "flex items-center justify-end whitespace-nowrap pr-2 gap-1 rounded-dynamic rounded-l-none",
|
|
5
|
+
leftIconSlot: "flex items-center justify-end whitespace-nowrap pl-2 gap-1 rounded-dynamic rounded-r-none",
|
|
6
6
|
passwordIcon: "",
|
|
7
7
|
passwordVisibleIconName: "visibility-fill",
|
|
8
8
|
passwordHiddenIconName: "visibility_off-fill",
|
package/ui.form-input/index.vue
CHANGED
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
v-bind="labelAttrs"
|
|
13
13
|
>
|
|
14
14
|
<label :for="id" v-bind="blockAttrs">
|
|
15
|
+
<span v-if="hasSlotContent($slots['left'])" ref="leftSlotWrapper">
|
|
16
|
+
<!-- @slot Use it to add something before the text. -->
|
|
17
|
+
<slot name="left" />
|
|
18
|
+
</span>
|
|
19
|
+
|
|
15
20
|
<span
|
|
16
21
|
v-if="hasSlotContent($slots['icon-left']) || iconLeft"
|
|
17
22
|
ref="leftSlotWrapper"
|
|
@@ -27,11 +32,6 @@
|
|
|
27
32
|
</slot>
|
|
28
33
|
</span>
|
|
29
34
|
|
|
30
|
-
<span v-if="hasSlotContent($slots['left'])" ref="leftSlotWrapper">
|
|
31
|
-
<!-- @slot Use it to add something before the text. -->
|
|
32
|
-
<slot name="left" />
|
|
33
|
-
</span>
|
|
34
|
-
|
|
35
35
|
<span v-bind="inputWrapperAttrs">
|
|
36
36
|
<input
|
|
37
37
|
:id="id"
|
|
@@ -67,9 +67,6 @@
|
|
|
67
67
|
/>
|
|
68
68
|
</label>
|
|
69
69
|
|
|
70
|
-
<!-- @slot Use it to add something after the text. -->
|
|
71
|
-
<slot name="right" />
|
|
72
|
-
|
|
73
70
|
<span v-if="hasSlotContent($slots['icon-right']) || iconRight" v-bind="rightIconSlotAttrs">
|
|
74
71
|
<!--
|
|
75
72
|
@slot Use it to add icon after the text.
|
|
@@ -80,6 +77,9 @@
|
|
|
80
77
|
<UIcon v-if="iconRight" :name="iconRight" :size="iconSize" internal />
|
|
81
78
|
</slot>
|
|
82
79
|
</span>
|
|
80
|
+
|
|
81
|
+
<!-- @slot Use it to add something after the text. -->
|
|
82
|
+
<slot name="right" />
|
|
83
83
|
</label>
|
|
84
84
|
</ULabel>
|
|
85
85
|
</template>
|
|
@@ -7,8 +7,8 @@ export default /*tw*/ {
|
|
|
7
7
|
rightSlot: "pr-0",
|
|
8
8
|
leftSlot: "pl-0",
|
|
9
9
|
},
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
clearIcon: "{UIcon} flex h-full items-center",
|
|
11
|
+
clearIconName: "close",
|
|
12
12
|
searchIcon: "{UIcon}",
|
|
13
13
|
searchIconName: "search",
|
|
14
14
|
button: "{UButton} rounded-l-none ml-1 outline outline-1 outline-gray-900",
|
|
@@ -27,13 +27,14 @@
|
|
|
27
27
|
|
|
28
28
|
<template #icon-right>
|
|
29
29
|
<UIcon
|
|
30
|
+
v-if="modelValue"
|
|
30
31
|
internal
|
|
31
32
|
interactive
|
|
32
33
|
color="gray"
|
|
33
|
-
:name="config.
|
|
34
|
+
:name="config.clearIconName"
|
|
34
35
|
:data-cy="`${dataCy}-close`"
|
|
35
36
|
:size="iconSize"
|
|
36
|
-
v-bind="
|
|
37
|
+
v-bind="clearIconAttrs"
|
|
37
38
|
@click="onClickClear"
|
|
38
39
|
/>
|
|
39
40
|
|
|
@@ -210,7 +211,7 @@ const emit = defineEmits([
|
|
|
210
211
|
|
|
211
212
|
const localValue = ref("");
|
|
212
213
|
|
|
213
|
-
const { config, inputAttrs, searchIconAttrs,
|
|
214
|
+
const { config, inputAttrs, searchIconAttrs, clearIconAttrs, buttonAttrs } = useAttrs(props);
|
|
214
215
|
|
|
215
216
|
const search = computed({
|
|
216
217
|
get: () => props.modelValue,
|
|
@@ -3,23 +3,35 @@ export default /*tw*/ {
|
|
|
3
3
|
base: "p-4 flex flex-col rounded-dynamic",
|
|
4
4
|
variants: {
|
|
5
5
|
variant: {
|
|
6
|
-
primary:
|
|
7
|
-
secondary:
|
|
8
|
-
thirdary:
|
|
6
|
+
primary: "bg-{color}-500 text-white",
|
|
7
|
+
secondary: "bg-transparent border border-{color}-500 text-{color}-500",
|
|
8
|
+
thirdary: "bg-{color}-50 text-{color}-700",
|
|
9
|
+
},
|
|
10
|
+
size: {
|
|
11
|
+
xs: "text-2xs",
|
|
12
|
+
sm: "text-xs",
|
|
13
|
+
md: "text-sm",
|
|
14
|
+
lg: "text-base",
|
|
9
15
|
},
|
|
10
16
|
},
|
|
11
17
|
compoundVariants: [
|
|
12
18
|
{ variant: "thirdary", bordered: true, class: "border border-{color}-100" },
|
|
13
19
|
{ color: "white", variant: "primary", class: "text-gray-900 bg-white" },
|
|
14
|
-
{ color: "white", variant: "secondary", class: "text-gray-900
|
|
15
|
-
{ color: "white", variant: "thirdary",
|
|
16
|
-
{ color: "
|
|
17
|
-
{ color: "grayscale", variant: "
|
|
18
|
-
{ color: "grayscale", variant: "
|
|
20
|
+
{ color: "white", variant: "secondary", class: "text-gray-900 border-gray-200" },
|
|
21
|
+
{ color: "white", variant: "thirdary", class: "text-gray-900 bg-white" },
|
|
22
|
+
{ color: "white", variant: "thirdary", bordered: true, class: "border-gray-200" },
|
|
23
|
+
{ color: "grayscale", variant: "primary", class: "bg-gray-900" },
|
|
24
|
+
{ color: "grayscale", variant: "secondary", class: "text-gray-900 border-gray-900" },
|
|
25
|
+
{ color: "grayscale", variant: "thirdary", class: "text-gray-900 bg-gray-50" },
|
|
26
|
+
{ color: "grayscale", variant: "thirdary", bordered: true, class: "border-gray-200" },
|
|
19
27
|
],
|
|
20
28
|
},
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
text: "{UText}",
|
|
30
|
+
body: "flex items-start justify-between",
|
|
31
|
+
content: "",
|
|
32
|
+
innerWrapper: "flex gap-2",
|
|
33
|
+
title: {
|
|
34
|
+
base: "font-bold leading-tight",
|
|
23
35
|
variants: {
|
|
24
36
|
size: {
|
|
25
37
|
xs: "text-xs",
|
|
@@ -29,36 +41,18 @@ export default /*tw*/ {
|
|
|
29
41
|
},
|
|
30
42
|
},
|
|
31
43
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
xs: "text-sm",
|
|
37
|
-
sm: "text-base",
|
|
38
|
-
md: "text-lg",
|
|
39
|
-
lg: "text-xl",
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
description: {
|
|
44
|
-
variants: {
|
|
45
|
-
size: {
|
|
46
|
-
xs: "text-xs",
|
|
47
|
-
sm: "text-xs",
|
|
48
|
-
md: "text-sm",
|
|
49
|
-
lg: "text-base",
|
|
50
|
-
},
|
|
51
|
-
},
|
|
44
|
+
description: "",
|
|
45
|
+
button: {
|
|
46
|
+
component: "{UButton}",
|
|
47
|
+
compoundVariants: [{ color: "grayscale", variant: "primary", closable: true, class: "hover:bg-gray-200" }],
|
|
52
48
|
},
|
|
53
|
-
button: "{UButton}",
|
|
54
49
|
icon: "{UIcon}",
|
|
55
50
|
iconName: "close",
|
|
56
51
|
defaultVariants: {
|
|
57
|
-
variant: "
|
|
52
|
+
variant: "primary",
|
|
58
53
|
color: "brand",
|
|
59
54
|
size: "md",
|
|
60
55
|
timeout: 0,
|
|
61
|
-
html: undefined,
|
|
62
56
|
bordered: false,
|
|
63
57
|
closable: false,
|
|
64
58
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getArgTypes, getSlotNames } from "../service.storybook";
|
|
1
|
+
import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storybook";
|
|
2
2
|
|
|
3
3
|
import UAlert from "../ui.text-alert";
|
|
4
4
|
import URow from "../ui.container-row";
|
|
@@ -12,154 +12,87 @@ export default {
|
|
|
12
12
|
id: "4030",
|
|
13
13
|
title: "Text & Content / Alert",
|
|
14
14
|
component: UAlert,
|
|
15
|
-
args: {
|
|
15
|
+
args: {
|
|
16
|
+
title: "Default Title",
|
|
17
|
+
description: "Default Description",
|
|
18
|
+
},
|
|
16
19
|
argTypes: {
|
|
17
20
|
...getArgTypes(UAlert.name),
|
|
18
21
|
},
|
|
19
22
|
};
|
|
20
23
|
|
|
21
|
-
const defaultTemplate = `
|
|
22
|
-
<p>
|
|
23
|
-
<b>Please note that your session is about to expire </b>
|
|
24
|
-
<u>in 5 minutes,</u>
|
|
25
|
-
<em> so make sure to save your work to avoid any data loss. </em>
|
|
26
|
-
<a href="https://uk.wikipedia.org/wiki/Lorem_ipsum" target="_blank">Wikipedia</a>
|
|
27
|
-
</p>
|
|
28
|
-
`;
|
|
29
|
-
|
|
30
24
|
const DefaultTemplate = (args) => ({
|
|
31
|
-
components: { UAlert, UIcon },
|
|
25
|
+
components: { UAlert, UIcon, URow },
|
|
32
26
|
setup() {
|
|
33
27
|
const slots = getSlotNames(UAlert.name);
|
|
34
28
|
|
|
35
29
|
return { args, slots };
|
|
36
30
|
},
|
|
37
31
|
template: `
|
|
38
|
-
<UAlert v-bind="args"
|
|
39
|
-
${args.
|
|
32
|
+
<UAlert v-bind="args">
|
|
33
|
+
${args.slotTemplate || getSlotsFragment(args.defaultTemplate)}
|
|
40
34
|
</UAlert>
|
|
41
35
|
`,
|
|
42
36
|
});
|
|
43
37
|
|
|
44
|
-
const
|
|
45
|
-
components: { UAlert, UIcon },
|
|
46
|
-
setup() {
|
|
47
|
-
return { args };
|
|
48
|
-
},
|
|
49
|
-
template: `
|
|
50
|
-
<UAlert v-bind="args" v-model="args.value">
|
|
51
|
-
${args.slotTemplate}
|
|
52
|
-
${defaultTemplate}
|
|
53
|
-
</UAlert>
|
|
54
|
-
`,
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
const VariantsTemplate = (args, { argTypes } = {}) => ({
|
|
38
|
+
const EnumVariantTemplate = (args, { argTypes } = {}) => ({
|
|
58
39
|
components: { UAlert, UGroup },
|
|
59
40
|
setup() {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
variants: argTypes.variant.options,
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
template: `
|
|
66
|
-
<UGroup>
|
|
67
|
-
<UAlert
|
|
68
|
-
v-for="(variant, index) in variants"
|
|
69
|
-
v-bind="args"
|
|
70
|
-
:variant="variant"
|
|
71
|
-
:key="index"
|
|
72
|
-
:title="variant"
|
|
73
|
-
color="gray"
|
|
74
|
-
/>
|
|
75
|
-
</UGroup>
|
|
76
|
-
`,
|
|
77
|
-
});
|
|
41
|
+
const options = argTypes[args.enum].options;
|
|
42
|
+
let prefixedOptions = options;
|
|
78
43
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
return {
|
|
83
|
-
args,
|
|
84
|
-
colors: argTypes.color.options,
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
template: `
|
|
88
|
-
<URow>
|
|
89
|
-
<UAlert
|
|
90
|
-
v-for="(color, index) in colors"
|
|
91
|
-
v-bind="args"
|
|
92
|
-
:color="color"
|
|
93
|
-
:title="color"
|
|
94
|
-
:key="index"
|
|
95
|
-
/>
|
|
96
|
-
</URow>
|
|
97
|
-
`,
|
|
98
|
-
});
|
|
44
|
+
if (argTypes[args.enum].name === "size") {
|
|
45
|
+
prefixedOptions = options.map((option) => getText(option));
|
|
46
|
+
}
|
|
99
47
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
sizes: argTypes.size.options,
|
|
106
|
-
};
|
|
48
|
+
function getText(value) {
|
|
49
|
+
return `This is Alert's ${value} size`;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return { args, options: argTypes[args.enum].options, prefixedOptions };
|
|
107
53
|
},
|
|
108
54
|
template: `
|
|
109
|
-
<
|
|
55
|
+
<UGroup align="stretch">
|
|
110
56
|
<UAlert
|
|
111
|
-
v-for="(
|
|
112
|
-
v-bind="args"
|
|
113
|
-
:size="size"
|
|
57
|
+
v-for="(option, index) in options"
|
|
114
58
|
:key="index"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
const HTMLTemplate = (args) => ({
|
|
123
|
-
components: { UAlert },
|
|
124
|
-
setup() {
|
|
125
|
-
return { args };
|
|
126
|
-
},
|
|
127
|
-
template: `
|
|
128
|
-
<UAlert :html="args.html" />
|
|
59
|
+
v-bind="args"
|
|
60
|
+
:[args.enum]="option"
|
|
61
|
+
:title="prefixedOptions[index]"
|
|
62
|
+
/>
|
|
63
|
+
</UGroup>
|
|
129
64
|
`,
|
|
130
65
|
});
|
|
131
66
|
|
|
132
67
|
export const Default = DefaultTemplate.bind({});
|
|
133
|
-
Default.args = {
|
|
134
|
-
title: "Default Title",
|
|
135
|
-
description: "Default Description",
|
|
136
|
-
};
|
|
68
|
+
Default.args = {};
|
|
137
69
|
|
|
138
|
-
export const variants =
|
|
139
|
-
variants.args = {};
|
|
70
|
+
export const variants = EnumVariantTemplate.bind({});
|
|
71
|
+
variants.args = { enum: "variant" };
|
|
140
72
|
|
|
141
|
-
export const colors =
|
|
142
|
-
colors.args = {};
|
|
73
|
+
export const colors = EnumVariantTemplate.bind({});
|
|
74
|
+
colors.args = { enum: "color" };
|
|
143
75
|
|
|
144
|
-
export const sizes =
|
|
145
|
-
sizes.args = {};
|
|
76
|
+
export const sizes = EnumVariantTemplate.bind({});
|
|
77
|
+
sizes.args = { enum: "size" };
|
|
146
78
|
|
|
147
|
-
export const HTML =
|
|
79
|
+
export const HTML = DefaultTemplate.bind({});
|
|
148
80
|
HTML.args = {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<
|
|
81
|
+
title: "",
|
|
82
|
+
description: "",
|
|
83
|
+
defaultTemplate: `
|
|
84
|
+
<h3 class="text-lg font-medium mb-2">Important Security Update</h3>
|
|
85
|
+
<p class="mb-0.5">
|
|
86
|
+
<b>Your account password will expire in 10 days,</b> please update it to maintain account security.
|
|
155
87
|
</p>
|
|
88
|
+
<a href="https://security.example.com/password-update" target="_blank">Update Password</a>
|
|
156
89
|
`,
|
|
157
90
|
};
|
|
158
91
|
|
|
159
92
|
export const closable = DefaultTemplate.bind({});
|
|
160
93
|
closable.args = {
|
|
161
94
|
closable: true,
|
|
162
|
-
|
|
95
|
+
slotTemplate: `
|
|
163
96
|
<template #default>
|
|
164
97
|
some text
|
|
165
98
|
</template>
|
|
@@ -168,12 +101,15 @@ closable.args = {
|
|
|
168
101
|
|
|
169
102
|
export const paragraphs = DefaultTemplate.bind({});
|
|
170
103
|
paragraphs.args = {
|
|
171
|
-
|
|
104
|
+
slotTemplate: `
|
|
172
105
|
<template #default>
|
|
173
106
|
<p>
|
|
174
107
|
Please be aware that the scheduled maintenance will occur this Saturday,
|
|
175
108
|
from 12 AM to 4 AM. During this time, some services may be temporarily
|
|
176
|
-
unavailable.
|
|
109
|
+
unavailable.
|
|
110
|
+
</p>
|
|
111
|
+
<p>
|
|
112
|
+
We apologize for any inconvenience this may cause and
|
|
177
113
|
appreciate your understanding. Our team is committed to improving
|
|
178
114
|
the system's performance and reliability.
|
|
179
115
|
</p>
|
|
@@ -183,24 +119,23 @@ paragraphs.args = {
|
|
|
183
119
|
|
|
184
120
|
export const list = DefaultTemplate.bind({});
|
|
185
121
|
list.args = {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
<
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
`,
|
|
122
|
+
slotTemplate: `
|
|
123
|
+
<URow>
|
|
124
|
+
<ul>
|
|
125
|
+
<li>Check your email for verification link.</li>
|
|
126
|
+
<li>Update your password regularly to enhance security.</li>
|
|
127
|
+
<li>Enable two-factor authentication for added protection.</li>
|
|
128
|
+
</ul>
|
|
129
|
+
<ol>
|
|
130
|
+
<li>Sign in to your account using your credentials.</li>
|
|
131
|
+
<li>Navigate to the settings menu to update your profile.</li>
|
|
132
|
+
<li>Review your privacy settings and adjust them as needed.</li>
|
|
133
|
+
</ol>
|
|
134
|
+
</URow>
|
|
135
|
+
`,
|
|
201
136
|
};
|
|
202
137
|
|
|
203
|
-
export const slotTitleAndDescription =
|
|
138
|
+
export const slotTitleAndDescription = DefaultTemplate.bind({});
|
|
204
139
|
slotTitleAndDescription.args = {
|
|
205
140
|
slotTemplate: `
|
|
206
141
|
<template #title>
|
|
@@ -212,8 +147,8 @@ slotTitleAndDescription.args = {
|
|
|
212
147
|
`,
|
|
213
148
|
};
|
|
214
149
|
|
|
215
|
-
export const
|
|
216
|
-
|
|
150
|
+
export const slotLeft = DefaultTemplate.bind({});
|
|
151
|
+
slotLeft.args = {
|
|
217
152
|
slotTemplate: `
|
|
218
153
|
<template #left>
|
|
219
154
|
<UIcon
|
|
@@ -224,8 +159,8 @@ slotAlertLeft.args = {
|
|
|
224
159
|
`,
|
|
225
160
|
};
|
|
226
161
|
|
|
227
|
-
export const
|
|
228
|
-
|
|
162
|
+
export const slotRight = DefaultTemplate.bind({});
|
|
163
|
+
slotRight.args = {
|
|
229
164
|
slotTemplate: `
|
|
230
165
|
<template #right>
|
|
231
166
|
<UIcon
|
|
@@ -236,8 +171,8 @@ slotAlertRight.args = {
|
|
|
236
171
|
`,
|
|
237
172
|
};
|
|
238
173
|
|
|
239
|
-
export const
|
|
240
|
-
|
|
174
|
+
export const slotTop = DefaultTemplate.bind({});
|
|
175
|
+
slotTop.args = {
|
|
241
176
|
slotTemplate: `
|
|
242
177
|
<template #top>
|
|
243
178
|
<UIcon
|
|
@@ -248,8 +183,8 @@ slotAlertTop.args = {
|
|
|
248
183
|
`,
|
|
249
184
|
};
|
|
250
185
|
|
|
251
|
-
export const
|
|
252
|
-
|
|
186
|
+
export const slotBottom = DefaultTemplate.bind({});
|
|
187
|
+
slotBottom.args = {
|
|
253
188
|
slotTemplate: `
|
|
254
189
|
<template #bottom>
|
|
255
190
|
<UIcon
|