vueless 0.0.286 → 0.0.287
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/directive.tooltip/index.js +2 -0
- package/package.json +2 -2
- package/ui.button/configs/default.config.js +14 -17
- package/ui.button/index.stories.js +6 -2
- package/ui.button/index.vue +97 -75
- package/ui.button-link/index.vue +4 -4
- package/ui.button-toggle/configs/default.config.js +1 -1
- package/ui.button-toggle/index.stories.js +4 -4
- package/ui.button-toggle/index.vue +7 -7
- package/ui.button-toggle-item/configs/default.config.js +1 -1
- package/ui.button-toggle-item/index.vue +4 -4
- package/ui.container-accordion/index.vue +3 -3
- package/ui.container-card/index.stories.js +2 -2
- package/ui.container-card/index.vue +3 -3
- package/ui.container-col/index.vue +3 -3
- package/ui.container-divider/index.vue +3 -3
- package/ui.container-group/index.vue +3 -3
- package/ui.container-modal/index.vue +4 -4
- package/ui.container-modal-confirm/index.vue +5 -5
- package/ui.container-page/index.vue +3 -3
- package/ui.container-row/index.vue +3 -3
- package/ui.data-list/index.vue +8 -8
- package/ui.data-table/components/TableRow.vue +5 -5
- package/ui.data-table/index.vue +8 -8
- package/ui.dropdown-badge/index.vue +5 -5
- package/ui.dropdown-button/configs/default.config.js +1 -1
- package/ui.dropdown-button/index.vue +8 -8
- package/ui.dropdown-item/index.vue +3 -3
- package/ui.dropdown-link/index.vue +5 -5
- package/ui.dropdown-list/index.vue +1 -1
- package/ui.form-calendar/index.vue +2 -2
- package/ui.form-checkbox/index.vue +4 -4
- package/ui.form-checkbox-group/index.vue +4 -4
- package/ui.form-checkbox-multi-state/index.vue +2 -2
- package/ui.form-color-picker/index.vue +3 -3
- package/ui.form-date-picker/index.vue +2 -2
- package/ui.form-date-picker-range/index.vue +2 -2
- package/ui.form-input/configs/default.config.js +2 -2
- package/ui.form-input/index.vue +4 -4
- package/ui.form-input-file/index.vue +7 -7
- package/ui.form-input-money/index.vue +3 -3
- package/ui.form-input-number/index.vue +7 -7
- package/ui.form-input-rating/index.vue +4 -4
- package/ui.form-input-search/index.vue +6 -6
- package/ui.form-label/index.vue +8 -8
- package/ui.form-radio/index.vue +4 -4
- package/ui.form-radio-group/index.vue +4 -4
- package/ui.form-select/index.vue +3 -3
- package/ui.form-switch/index.vue +3 -3
- package/ui.form-textarea/index.vue +4 -4
- package/ui.image-avatar/index.vue +3 -3
- package/ui.image-icon/configs/default.config.js +17 -17
- package/ui.image-icon/index.stories.js +2 -2
- package/ui.image-icon/index.vue +6 -6
- package/ui.navigation-pagination/index.vue +7 -7
- package/ui.navigation-progress/components/StepperProgress.vue +1 -1
- package/ui.navigation-progress/index.vue +3 -3
- package/ui.navigation-tab/index.vue +3 -3
- package/ui.navigation-tabs/index.vue +4 -4
- package/ui.other-dot/index.vue +3 -3
- package/ui.text-alert/index.vue +4 -4
- package/ui.text-badge/index.vue +3 -3
- package/ui.text-block/index.vue +3 -3
- package/ui.text-empty/index.stories.js +1 -1
- package/ui.text-empty/index.vue +4 -4
- package/ui.text-file/index.vue +3 -3
- package/ui.text-files/index.vue +3 -3
- package/ui.text-header/index.vue +3 -3
- package/ui.text-money/index.vue +3 -3
- package/ui.text-notify/index.vue +3 -3
- package/web-types.json +156 -129
package/ui.text-block/index.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-bind="wrapperAttrs" :data-
|
|
2
|
+
<div v-bind="wrapperAttrs" :data-test="dataTest">
|
|
3
3
|
<!-- @slot Use it to add something inside. -->
|
|
4
4
|
<div v-if="!hasSlotContent($slots['default'])" v-bind="htmlAttrs" v-html="html" />
|
|
5
5
|
<slot />
|
|
@@ -60,9 +60,9 @@ const props = defineProps({
|
|
|
60
60
|
},
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Data-
|
|
63
|
+
* Data-test attribute for automated testing.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
dataTest: {
|
|
66
66
|
type: String,
|
|
67
67
|
default: "",
|
|
68
68
|
},
|
package/ui.text-empty/index.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :data-
|
|
2
|
+
<div :data-test="dataTest" v-bind="wrapperAttrs">
|
|
3
3
|
<div v-bind="headerAttrs">
|
|
4
4
|
<!-- @slot Use it to add something to the header. -->
|
|
5
5
|
<slot name="header">
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:name="config.iconName"
|
|
9
9
|
color="gray"
|
|
10
10
|
:size="iconSize"
|
|
11
|
-
|
|
11
|
+
round
|
|
12
12
|
v-bind="iconAttrs"
|
|
13
13
|
/>
|
|
14
14
|
</slot>
|
|
@@ -76,9 +76,9 @@ const props = defineProps({
|
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Data-test attribute for automated testing.
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
dataTest: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "",
|
|
84
84
|
},
|
package/ui.text-file/index.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<ULink :url="url" no-ring target-blank :data-
|
|
2
|
+
<ULink :url="url" no-ring target-blank :data-test="dataTest" v-bind="fileAttrs">
|
|
3
3
|
<slot name="left" :file="{ id, label, url, imageUrl }" />
|
|
4
4
|
|
|
5
5
|
<slot :file="{ id, label, url, imageUrl, iconName: config.iconName }">
|
|
@@ -93,9 +93,9 @@ const props = defineProps({
|
|
|
93
93
|
},
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* Data-
|
|
96
|
+
* Data-test attribute for automated testing.
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
dataTest: {
|
|
99
99
|
type: String,
|
|
100
100
|
default: "",
|
|
101
101
|
},
|
package/ui.text-files/index.vue
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
:image-url="file.imageUrl"
|
|
12
12
|
:size="size"
|
|
13
13
|
v-bind="fileAttrs"
|
|
14
|
-
:data-
|
|
14
|
+
:data-test="`${dataTest}-item`"
|
|
15
15
|
>
|
|
16
16
|
<template #left="{ file: currentFile }">
|
|
17
17
|
<!-- @slot Use it to add something left.
|
|
@@ -97,9 +97,9 @@ const props = defineProps({
|
|
|
97
97
|
},
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Data-test attribute for automated testing.
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
dataTest: {
|
|
103
103
|
type: String,
|
|
104
104
|
default: "",
|
|
105
105
|
},
|
package/ui.text-header/index.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<component :is="tag" v-bind="wrapperAttrs" :data-
|
|
2
|
+
<component :is="tag" v-bind="wrapperAttrs" :data-test="dataTest">
|
|
3
3
|
<slot>{{ label }}</slot>
|
|
4
4
|
</component>
|
|
5
5
|
</template>
|
|
@@ -83,9 +83,9 @@ const props = defineProps({
|
|
|
83
83
|
},
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Data-
|
|
86
|
+
* Data-test attribute for automated testing.
|
|
87
87
|
*/
|
|
88
|
-
|
|
88
|
+
dataTest: {
|
|
89
89
|
type: String,
|
|
90
90
|
default: "",
|
|
91
91
|
},
|
package/ui.text-money/index.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<slot name="left" />
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
|
-
<div :data-
|
|
8
|
+
<div :data-test="dataTest" v-bind="sumAttrs">
|
|
9
9
|
<span v-if="currencySymbolPosition.left" v-bind="symbolAttrs">
|
|
10
10
|
{{ symbol + currencySpace }}
|
|
11
11
|
</span>
|
|
@@ -160,9 +160,9 @@ const props = defineProps({
|
|
|
160
160
|
},
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* Data-test attribute for automated testing.
|
|
164
164
|
*/
|
|
165
|
-
|
|
165
|
+
dataTest: {
|
|
166
166
|
type: String,
|
|
167
167
|
default: "",
|
|
168
168
|
},
|
package/ui.text-notify/index.vue
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
>
|
|
14
14
|
<UIcon
|
|
15
15
|
v-if="notification.type === NOTIFY_TYPE.success"
|
|
16
|
-
data-
|
|
16
|
+
data-test="type-notify"
|
|
17
17
|
color="green"
|
|
18
18
|
variant="light"
|
|
19
19
|
size="md"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
<UIcon
|
|
26
26
|
v-else-if="notification.type === NOTIFY_TYPE.warning"
|
|
27
|
-
data-
|
|
27
|
+
data-test="type-notify"
|
|
28
28
|
color="orange"
|
|
29
29
|
variant="light"
|
|
30
30
|
size="md"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
<UIcon
|
|
37
37
|
v-else-if="notification.type === NOTIFY_TYPE.error"
|
|
38
|
-
data-
|
|
38
|
+
data-test="type-notify"
|
|
39
39
|
color="red"
|
|
40
40
|
variant="light"
|
|
41
41
|
size="md"
|