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.
Files changed (71) hide show
  1. package/directive.tooltip/index.js +2 -0
  2. package/package.json +2 -2
  3. package/ui.button/configs/default.config.js +14 -17
  4. package/ui.button/index.stories.js +6 -2
  5. package/ui.button/index.vue +97 -75
  6. package/ui.button-link/index.vue +4 -4
  7. package/ui.button-toggle/configs/default.config.js +1 -1
  8. package/ui.button-toggle/index.stories.js +4 -4
  9. package/ui.button-toggle/index.vue +7 -7
  10. package/ui.button-toggle-item/configs/default.config.js +1 -1
  11. package/ui.button-toggle-item/index.vue +4 -4
  12. package/ui.container-accordion/index.vue +3 -3
  13. package/ui.container-card/index.stories.js +2 -2
  14. package/ui.container-card/index.vue +3 -3
  15. package/ui.container-col/index.vue +3 -3
  16. package/ui.container-divider/index.vue +3 -3
  17. package/ui.container-group/index.vue +3 -3
  18. package/ui.container-modal/index.vue +4 -4
  19. package/ui.container-modal-confirm/index.vue +5 -5
  20. package/ui.container-page/index.vue +3 -3
  21. package/ui.container-row/index.vue +3 -3
  22. package/ui.data-list/index.vue +8 -8
  23. package/ui.data-table/components/TableRow.vue +5 -5
  24. package/ui.data-table/index.vue +8 -8
  25. package/ui.dropdown-badge/index.vue +5 -5
  26. package/ui.dropdown-button/configs/default.config.js +1 -1
  27. package/ui.dropdown-button/index.vue +8 -8
  28. package/ui.dropdown-item/index.vue +3 -3
  29. package/ui.dropdown-link/index.vue +5 -5
  30. package/ui.dropdown-list/index.vue +1 -1
  31. package/ui.form-calendar/index.vue +2 -2
  32. package/ui.form-checkbox/index.vue +4 -4
  33. package/ui.form-checkbox-group/index.vue +4 -4
  34. package/ui.form-checkbox-multi-state/index.vue +2 -2
  35. package/ui.form-color-picker/index.vue +3 -3
  36. package/ui.form-date-picker/index.vue +2 -2
  37. package/ui.form-date-picker-range/index.vue +2 -2
  38. package/ui.form-input/configs/default.config.js +2 -2
  39. package/ui.form-input/index.vue +4 -4
  40. package/ui.form-input-file/index.vue +7 -7
  41. package/ui.form-input-money/index.vue +3 -3
  42. package/ui.form-input-number/index.vue +7 -7
  43. package/ui.form-input-rating/index.vue +4 -4
  44. package/ui.form-input-search/index.vue +6 -6
  45. package/ui.form-label/index.vue +8 -8
  46. package/ui.form-radio/index.vue +4 -4
  47. package/ui.form-radio-group/index.vue +4 -4
  48. package/ui.form-select/index.vue +3 -3
  49. package/ui.form-switch/index.vue +3 -3
  50. package/ui.form-textarea/index.vue +4 -4
  51. package/ui.image-avatar/index.vue +3 -3
  52. package/ui.image-icon/configs/default.config.js +17 -17
  53. package/ui.image-icon/index.stories.js +2 -2
  54. package/ui.image-icon/index.vue +6 -6
  55. package/ui.navigation-pagination/index.vue +7 -7
  56. package/ui.navigation-progress/components/StepperProgress.vue +1 -1
  57. package/ui.navigation-progress/index.vue +3 -3
  58. package/ui.navigation-tab/index.vue +3 -3
  59. package/ui.navigation-tabs/index.vue +4 -4
  60. package/ui.other-dot/index.vue +3 -3
  61. package/ui.text-alert/index.vue +4 -4
  62. package/ui.text-badge/index.vue +3 -3
  63. package/ui.text-block/index.vue +3 -3
  64. package/ui.text-empty/index.stories.js +1 -1
  65. package/ui.text-empty/index.vue +4 -4
  66. package/ui.text-file/index.vue +3 -3
  67. package/ui.text-files/index.vue +3 -3
  68. package/ui.text-header/index.vue +3 -3
  69. package/ui.text-money/index.vue +3 -3
  70. package/ui.text-notify/index.vue +3 -3
  71. package/web-types.json +156 -129
@@ -11,7 +11,7 @@
11
11
  :error="error"
12
12
  :disabled="disabled"
13
13
  inputmode="decimal"
14
- :data-cy="`${dataCy}-base-currency`"
14
+ :data-test="`${dataTest}-base-currency`"
15
15
  :left-icon="leftIcon"
16
16
  :right-icon="rightIcon"
17
17
  v-bind="inputAttrs"
@@ -221,9 +221,9 @@ const props = defineProps({
221
221
  },
222
222
 
223
223
  /**
224
- * Data-cy attribute for automated testing.
224
+ * Data-test attribute for automated testing.
225
225
  */
226
- dataCy: {
226
+ dataTest: {
227
227
  type: String,
228
228
  default: "",
229
229
  },
@@ -1,11 +1,11 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs">
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs">
3
3
  <UButton
4
4
  variant="thirdary"
5
5
  size="sm"
6
6
  filled
7
7
  square
8
- pill
8
+ round
9
9
  :disabled="isRemoveButtonDisabled"
10
10
  v-bind="removeButtonAttrs"
11
11
  @click="onClickRemove"
@@ -15,7 +15,7 @@
15
15
  :size="size"
16
16
  :name="config.removeIconName"
17
17
  :color="isRemoveButtonDisabled ? 'gray' : 'grayscale'"
18
- :data-cy="`${dataCy}-remove`"
18
+ :data-test="`${dataTest}-remove`"
19
19
  v-bind="removeIconAttrs"
20
20
  />
21
21
  </UButton>
@@ -30,7 +30,7 @@
30
30
  size="sm"
31
31
  filled
32
32
  square
33
- pill
33
+ round
34
34
  :disabled="isAddButtonDisabled"
35
35
  v-bind="addButtonAttrs"
36
36
  @click="onClickAdd"
@@ -40,7 +40,7 @@
40
40
  :size="size"
41
41
  :name="config.addIconName"
42
42
  :color="isAddButtonDisabled ? 'gray' : 'grayscale'"
43
- :data-cy="`${dataCy}-add`"
43
+ :data-test="`${dataTest}-add`"
44
44
  v-bind="addIconAttrs"
45
45
  />
46
46
  </UButton>
@@ -120,9 +120,9 @@ const props = defineProps({
120
120
  },
121
121
 
122
122
  /**
123
- * Data-cy attribute for automated testing.
123
+ * Data-test attribute for automated testing.
124
124
  */
125
- dataCy: {
125
+ dataTest: {
126
126
  type: String,
127
127
  default: "",
128
128
  },
@@ -6,7 +6,7 @@
6
6
  :align="labelAlign"
7
7
  :description="description"
8
8
  v-bind="labelAttrs"
9
- :data-cy="dataCy"
9
+ :data-test="dataTest"
10
10
  >
11
11
  <div v-bind="wrapperAttrs">
12
12
  <div v-if="counter || hasSlotContent($slots['counter'])" v-bind="counterAttrs">
@@ -30,7 +30,7 @@
30
30
  :interactive="selectable"
31
31
  :name="star <= counterValue ? config.selectedIconName : config.unselectedIconName"
32
32
  v-bind="starAttrs"
33
- :data-cy="`${dataCy}-rating-star-${star}`"
33
+ :data-test="`${dataTest}-rating-star-${star}`"
34
34
  @click="onClickStar(star)"
35
35
  @mouseleave="onMouseHover()"
36
36
  @mouseover="onMouseHover(star)"
@@ -155,9 +155,9 @@ const props = defineProps({
155
155
  },
156
156
 
157
157
  /**
158
- * Data-cy attribute for automated testing.
158
+ * Data-test attribute for automated testing.
159
159
  */
160
- dataCy: {
160
+ dataTest: {
161
161
  type: String,
162
162
  default: "",
163
163
  },
@@ -12,7 +12,7 @@
12
12
  :description="description"
13
13
  :placeholder="placeholder"
14
14
  inputmode="search"
15
- :data-cy="dataCy"
15
+ :data-test="dataTest"
16
16
  :left-icon="leftIcon"
17
17
  v-bind="inputAttrs"
18
18
  @keyup.enter="onClickSearch"
@@ -34,7 +34,7 @@
34
34
  interactive
35
35
  color="gray"
36
36
  :name="config.clearIconName"
37
- :data-cy="`${dataCy}-close`"
37
+ :data-test="`${dataTest}-close`"
38
38
  :size="iconSize"
39
39
  v-bind="clearIconAttrs"
40
40
  @click="onClickClear"
@@ -53,7 +53,7 @@
53
53
  interactive
54
54
  :size="iconSize"
55
55
  :name="rightIcon || config.searchIconName"
56
- :data-cy="`${dataCy}-search`"
56
+ :data-test="`${dataTest}-search`"
57
57
  v-bind="searchIconAttrs"
58
58
  @click="onClickSearch"
59
59
  />
@@ -69,7 +69,7 @@
69
69
  :size="buttonSize"
70
70
  no-ring
71
71
  v-bind="buttonAttrs"
72
- :data-cy="`${dataCy}-right`"
72
+ :data-test="`${dataTest}-right`"
73
73
  @click="onClickSearch"
74
74
  />
75
75
  </slot>
@@ -215,9 +215,9 @@ const props = defineProps({
215
215
  },
216
216
 
217
217
  /**
218
- * Data-cy attribute for automated testing.
218
+ * Data-test attribute for automated testing.
219
219
  */
220
- dataCy: {
220
+ dataTest: {
221
221
  type: String,
222
222
  default: "",
223
223
  },
@@ -14,16 +14,16 @@
14
14
  <label
15
15
  v-if="label"
16
16
  :for="props.for"
17
- :data-cy="`${dataCy}-label`"
17
+ :data-test="`${dataTest}-label`"
18
18
  v-bind="labelAttrs"
19
19
  v-text="label"
20
20
  />
21
21
 
22
- <div v-if="error" :data-cy="`${dataCy}-error`" v-bind="descriptionAttrs" v-text="error" />
22
+ <div v-if="error" :data-test="`${dataTest}-error`" v-bind="descriptionAttrs" v-text="error" />
23
23
 
24
24
  <div
25
25
  v-if="description && !error"
26
- :data-cy="`${dataCy}-description`"
26
+ :data-test="`${dataTest}-description`"
27
27
  v-bind="descriptionAttrs"
28
28
  v-text="description"
29
29
  />
@@ -38,7 +38,7 @@
38
38
  v-if="label"
39
39
  ref="labelRef"
40
40
  :for="props.for"
41
- :data-cy="`${dataCy}-label`"
41
+ :data-test="`${dataTest}-label`"
42
42
  v-bind="labelAttrs"
43
43
  v-text="label"
44
44
  />
@@ -46,11 +46,11 @@
46
46
  <!-- @slot Use it to wrap something into the label. -->
47
47
  <slot />
48
48
 
49
- <div v-if="error" :data-cy="`${dataCy}-error`" v-bind="descriptionAttrs" v-text="error" />
49
+ <div v-if="error" :data-test="`${dataTest}-error`" v-bind="descriptionAttrs" v-text="error" />
50
50
 
51
51
  <div
52
52
  v-if="description && !error"
53
- :data-cy="`${dataCy}-description`"
53
+ :data-test="`${dataTest}-description`"
54
54
  v-bind="descriptionAttrs"
55
55
  v-text="description"
56
56
  />
@@ -156,9 +156,9 @@ const props = defineProps({
156
156
  },
157
157
 
158
158
  /**
159
- * Sets data-cy attribute for automated testing.
159
+ * Data-test attribute for automated testing.
160
160
  */
161
- dataCy: {
161
+ dataTest: {
162
162
  type: String,
163
163
  default: "",
164
164
  },
@@ -8,7 +8,7 @@
8
8
  :disabled="disabled"
9
9
  :description="description"
10
10
  v-bind="labelAttrs"
11
- :data-cy="`${dataCy}-label`"
11
+ :data-test="`${dataTest}-label`"
12
12
  >
13
13
  <input
14
14
  :id="id"
@@ -18,7 +18,7 @@
18
18
  :checked="checked || isChecked"
19
19
  :disabled="disabled"
20
20
  v-bind="radioAttrs"
21
- :data-cy="dataCy"
21
+ :data-test="dataTest"
22
22
  @change="onChange"
23
23
  />
24
24
 
@@ -157,9 +157,9 @@ const props = defineProps({
157
157
  },
158
158
 
159
159
  /**
160
- * Data-cy attribute for automated testing.
160
+ * Data-test attribute for automated testing.
161
161
  */
162
- dataCy: {
162
+ dataTest: {
163
163
  type: String,
164
164
  default: "",
165
165
  },
@@ -6,7 +6,7 @@
6
6
  :description="description"
7
7
  :disabled="disabled"
8
8
  align="topWithDesc"
9
- :data-cy="dataCy"
9
+ :data-test="dataTest"
10
10
  v-bind="labelAttrs"
11
11
  >
12
12
  <div v-bind="listAttrs">
@@ -19,7 +19,7 @@
19
19
  :label="option.label"
20
20
  :description="option.description"
21
21
  :disabled="disabled"
22
- :data-cy="`${dataCy}-item-${index}`"
22
+ :data-test="`${dataTest}-item-${index}`"
23
23
  v-bind="radioAttrs"
24
24
  />
25
25
  </slot>
@@ -125,9 +125,9 @@ const props = defineProps({
125
125
  },
126
126
 
127
127
  /**
128
- * Data-cy attribute for automated testing.
128
+ * Data-test attribute for automated testing.
129
129
  */
130
- dataCy: {
130
+ dataTest: {
131
131
  type: String,
132
132
  default: "radio",
133
133
  },
@@ -10,7 +10,7 @@
10
10
  :disabled="disabled"
11
11
  centred
12
12
  v-bind="labelAttrs"
13
- :data-cy="dataCy"
13
+ :data-test="dataTest"
14
14
  >
15
15
  <div
16
16
  ref="wrapperRef"
@@ -491,9 +491,9 @@ const props = defineProps({
491
491
  },
492
492
 
493
493
  /**
494
- * Data-cy attribute for automated testing.
494
+ * Data-test attribute for automated testing.
495
495
  */
496
- dataCy: {
496
+ dataTest: {
497
497
  type: String,
498
498
  default: "",
499
499
  },
@@ -6,7 +6,7 @@
6
6
  :description="description"
7
7
  :align="labelAlign"
8
8
  :disabled="disabled"
9
- :data-cy="dataCy"
9
+ :data-test="dataTest"
10
10
  v-bind="labelAttrs"
11
11
  @click="onClickToggle"
12
12
  >
@@ -146,9 +146,9 @@ const props = defineProps({
146
146
  },
147
147
 
148
148
  /**
149
- * Sets data-cy attribute for automated testing.
149
+ * Data-test attribute for automated testing.
150
150
  */
151
- dataCy: {
151
+ dataTest: {
152
152
  type: String,
153
153
  default: "",
154
154
  },
@@ -7,7 +7,7 @@
7
7
  :description="description"
8
8
  :size="size"
9
9
  :disabled="disabled"
10
- :data-cy="dataCy"
10
+ :data-test="dataTest"
11
11
  :align="labelAlign"
12
12
  v-bind="labelAttrs"
13
13
  >
@@ -31,7 +31,7 @@
31
31
  :disabled="disabled"
32
32
  :rows="rows"
33
33
  :inputmode="inputmode"
34
- :data-cy="dataCy"
34
+ :data-test="dataTest"
35
35
  v-bind="textareaAttrs"
36
36
  @focus="onFocus"
37
37
  @blur="onBlur"
@@ -179,9 +179,9 @@ const props = defineProps({
179
179
  },
180
180
 
181
181
  /**
182
- * Sets data-cy attribute for automated testing.
182
+ * Data-test attribute for automated testing.
183
183
  */
184
- dataCy: {
184
+ dataTest: {
185
185
  type: String,
186
186
  default: "",
187
187
  },
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  :title="label"
4
4
  :style="backgroundImage"
5
- :data-cy="dataCy"
5
+ :data-test="dataTest"
6
6
  v-bind="avatarAttrs"
7
7
  @click="onClick"
8
8
  >
@@ -101,9 +101,9 @@ const props = defineProps({
101
101
  },
102
102
 
103
103
  /**
104
- * Data-cy attribute for automated testing.
104
+ * Data-test attribute for automated testing.
105
105
  */
106
- dataCy: {
106
+ dataTest: {
107
107
  type: String,
108
108
  default: "",
109
109
  },
@@ -1,26 +1,26 @@
1
1
  export default /*tw*/ {
2
2
  wrapper: {
3
- base: "flex",
3
+ base: "flex w-fit",
4
4
  variants: {
5
- pill: {
5
+ round: {
6
6
  true: "rounded-full bg-{color}-600/5",
7
7
  },
8
8
  },
9
9
  compoundVariants: [
10
- { pill: true, size: "4xs", class: "p-0.5" },
11
- { pill: true, size: "3xs", class: "p-1" },
12
- { pill: true, size: "2xs", class: "p-1" },
13
- { pill: true, size: "xs", class: "p-2" },
14
- { pill: true, size: "sm", class: "p-2" },
15
- { pill: true, size: "md", class: "p-3" },
16
- { pill: true, size: "lg", class: "p-3" },
17
- { pill: true, size: "xl", class: "p-4" },
18
- { pill: true, size: "2xl", class: "p-4" },
19
- { pill: true, size: "3xl", class: "p-4" },
20
- { pill: true, size: "4xl", class: "p-5" },
21
- { pill: true, size: "5xl", class: "p-5" },
22
- { pill: true, color: "white", class: "bg-white/5" },
23
- { pill: true, color: "grayscale", class: "bg-gray-700/5" },
10
+ { round: true, size: "4xs", class: "p-0.5" },
11
+ { round: true, size: "3xs", class: "p-1" },
12
+ { round: true, size: "2xs", class: "p-1" },
13
+ { round: true, size: "xs", class: "p-2" },
14
+ { round: true, size: "sm", class: "p-2" },
15
+ { round: true, size: "md", class: "p-3" },
16
+ { round: true, size: "lg", class: "p-3" },
17
+ { round: true, size: "xl", class: "p-4" },
18
+ { round: true, size: "2xl", class: "p-4" },
19
+ { round: true, size: "3xl", class: "p-4" },
20
+ { round: true, size: "4xl", class: "p-5" },
21
+ { round: true, size: "5xl", class: "p-5" },
22
+ { round: true, color: "white", class: "bg-white/5" },
23
+ { round: true, color: "grayscale", class: "bg-gray-700/5" },
24
24
  ],
25
25
  },
26
26
  container: {
@@ -81,7 +81,7 @@ export default /*tw*/ {
81
81
  size: "md",
82
82
  variant: "default",
83
83
  interactive: false,
84
- pill: false,
84
+ round: false,
85
85
  },
86
86
  safelist: (colors) => [
87
87
  { pattern: `bg-(${colors})-600` },
@@ -70,5 +70,5 @@ tooltip.args = { tooltip: "Some text" };
70
70
  export const interactive = DefaultTemplate.bind({});
71
71
  interactive.args = { interactive: true };
72
72
 
73
- export const pill = EnumVariantTemplate.bind({});
74
- pill.args = { enum: "color", pill: true };
73
+ export const round = EnumVariantTemplate.bind({});
74
+ round.args = { enum: "color", round: true };
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  v-tooltip="tooltipConfig"
4
- :data-cy="dataCy"
4
+ :data-test="dataTest"
5
5
  v-bind="wrapperAttrs"
6
6
  @focus="onFocus"
7
7
  @blur="onBlur"
@@ -65,11 +65,11 @@ const props = defineProps({
65
65
  },
66
66
 
67
67
  /**
68
- * Set pill mild semi-transparent background and solid colour icon.
68
+ * Set round mild semi-transparent background and solid colour icon.
69
69
  */
70
- pill: {
70
+ round: {
71
71
  type: Boolean,
72
- default: getDefault(defaultConfig, UIcon).pill,
72
+ default: getDefault(defaultConfig, UIcon).round,
73
73
  },
74
74
 
75
75
  /**
@@ -115,9 +115,9 @@ const props = defineProps({
115
115
  },
116
116
 
117
117
  /**
118
- * Data-cy attribute for automated testing.
118
+ * Data-test attribute for automated testing.
119
119
  */
120
- dataCy: {
120
+ dataTest: {
121
121
  type: String,
122
122
  default: "",
123
123
  },
@@ -5,7 +5,7 @@
5
5
  square
6
6
  variant="thirdary"
7
7
  :disabled="prevIsDisabled"
8
- :data-cy="`${dataCy}-first`"
8
+ :data-test="`${dataTest}-first`"
9
9
  v-bind="navigationButtonAttrs"
10
10
  @click="goToFirstPage"
11
11
  >
@@ -20,7 +20,7 @@
20
20
  square
21
21
  variant="thirdary"
22
22
  :disabled="prevIsDisabled"
23
- :data-cy="`${dataCy}-prev`"
23
+ :data-test="`${dataTest}-prev`"
24
24
  v-bind="navigationButtonAttrs"
25
25
  @click="goToPrevPage"
26
26
  >
@@ -38,7 +38,7 @@
38
38
  v-else
39
39
  square
40
40
  variant="thirdary"
41
- :data-cy="`${dataCy}-page`"
41
+ :data-test="`${dataTest}-page`"
42
42
  :disabled="disabled"
43
43
  v-bind="pageButtonAttrs(page)"
44
44
  @click="selectPage(page.number)"
@@ -52,7 +52,7 @@
52
52
  square
53
53
  variant="thirdary"
54
54
  :disabled="nextIsDisabled"
55
- :data-cy="`${dataCy}-next`"
55
+ :data-test="`${dataTest}-next`"
56
56
  v-bind="navigationButtonAttrs"
57
57
  @click="goToNextPage"
58
58
  >
@@ -67,7 +67,7 @@
67
67
  square
68
68
  variant="thirdary"
69
69
  :disabled="nextIsDisabled"
70
- :data-cy="`${dataCy}-last`"
70
+ :data-test="`${dataTest}-last`"
71
71
  v-bind="navigationButtonAttrs"
72
72
  @click="goToLastPage"
73
73
  >
@@ -203,9 +203,9 @@ const props = defineProps({
203
203
  },
204
204
 
205
205
  /**
206
- * Data-cy attribute for automated testing.
206
+ * Data-test attribute for automated testing.
207
207
  */
208
- dataCy: {
208
+ dataTest: {
209
209
  type: String,
210
210
  default: "",
211
211
  },
@@ -63,7 +63,7 @@ const props = defineProps({
63
63
  default: () => ({}),
64
64
  },
65
65
 
66
- dataCy: {
66
+ dataTest: {
67
67
  type: String,
68
68
  default: "",
69
69
  },
@@ -43,7 +43,7 @@
43
43
  v-bind="stepperAttrs"
44
44
  :color="color"
45
45
  :value="value"
46
- :data-cy="dataCy"
46
+ :data-test="dataTest"
47
47
  :progress-percent="progressPercent"
48
48
  />
49
49
  </div>
@@ -126,9 +126,9 @@ const props = defineProps({
126
126
  },
127
127
 
128
128
  /**
129
- * Data-cy attribute for automated testing.
129
+ * Data-test attribute for automated testing.
130
130
  */
131
- dataCy: {
131
+ dataTest: {
132
132
  type: String,
133
133
  default: "",
134
134
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs" @click="onClickSetValue">
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs" @click="onClickSetValue">
3
3
  <!-- @slot Use it to add something instead of label. -->
4
4
  <slot>
5
5
  {{ label }}
@@ -59,9 +59,9 @@ const props = defineProps({
59
59
  },
60
60
 
61
61
  /**
62
- * Data-cy attribute for automated testing.
62
+ * Data-test attribute for automated testing.
63
63
  */
64
- dataCy: {
64
+ dataTest: {
65
65
  type: String,
66
66
  default: "",
67
67
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs">
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs">
3
3
  <!-- @slot Use it to add the UTab component. -->
4
4
  <slot>
5
5
  <UTab
@@ -9,7 +9,7 @@
9
9
  :value="item.value"
10
10
  :disabled="item.disabled"
11
11
  :size="size"
12
- :data-cy="`${dataCy}-item-${index}`"
12
+ :data-test="`${dataTest}-item-${index}`"
13
13
  v-bind="tabAttrs"
14
14
  />
15
15
  </slot>
@@ -78,9 +78,9 @@ const props = defineProps({
78
78
  },
79
79
 
80
80
  /**
81
- * Data-cy attribute for automated testing.
81
+ * Data-test attribute for automated testing.
82
82
  */
83
- dataCy: {
83
+ dataTest: {
84
84
  type: String,
85
85
  default: "",
86
86
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs" />
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs" />
3
3
  </template>
4
4
 
5
5
  <script setup>
@@ -40,9 +40,9 @@ const props = defineProps({
40
40
  },
41
41
 
42
42
  /**
43
- * Data-cy attribute for automated testing.
43
+ * Data-test attribute for automated testing.
44
44
  */
45
- dataCy: {
45
+ dataTest: {
46
46
  type: String,
47
47
  default: "",
48
48
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div v-if="isShownAlert" :data-cy="dataCy" v-bind="wrapperAttrs">
2
+ <div v-if="isShownAlert" :data-test="dataTest" v-bind="wrapperAttrs">
3
3
  <!-- @slot Use it to add something above the text. -->
4
4
  <slot name="top" />
5
5
 
@@ -54,7 +54,7 @@
54
54
  size="xs"
55
55
  :color="iconColor"
56
56
  :name="config.iconName"
57
- :data-cy="`${dataCy}-button`"
57
+ :data-test="`${dataTest}-button`"
58
58
  v-bind="iconAttrs"
59
59
  />
60
60
  </UButton>
@@ -156,9 +156,9 @@ const props = defineProps({
156
156
  },
157
157
 
158
158
  /**
159
- * Data-cy attribute for automated testing.
159
+ * Data-test attribute for automated testing.
160
160
  */
161
- dataCy: {
161
+ dataTest: {
162
162
  type: String,
163
163
  default: "",
164
164
  },
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  ref="wrapperRef"
4
4
  tabindex="1"
5
- :data-cy="dataCy"
5
+ :data-test="dataTest"
6
6
  v-bind="wrapperAttrs"
7
7
  @blur="onBlur"
8
8
  @focus="onFocus"
@@ -148,9 +148,9 @@ const props = defineProps({
148
148
  },
149
149
 
150
150
  /**
151
- * Data-cy attribute for automated testing.
151
+ * Data-test attribute for automated testing.
152
152
  */
153
- dataCy: {
153
+ dataTest: {
154
154
  type: String,
155
155
  default: "",
156
156
  },