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
@@ -9,7 +9,7 @@
9
9
  :id="id"
10
10
  ref="wrapperRef"
11
11
  tabindex="0"
12
- :data-cy="dataCy"
12
+ :data-test="dataTest"
13
13
  v-bind="wrapperAttrs"
14
14
  @keydown.self.esc="onKeydownEsc"
15
15
  >
@@ -58,7 +58,7 @@
58
58
  internal
59
59
  interactive
60
60
  :name="config.closeIconName"
61
- :data-cy="`${dataCy}-close`"
61
+ :data-test="`${dataTest}-close`"
62
62
  v-bind="closeIconAttrs"
63
63
  @click="onClickCloseModal"
64
64
  />
@@ -236,9 +236,9 @@ const props = defineProps({
236
236
  },
237
237
 
238
238
  /**
239
- * Set data-cy attribute for automated testing.
239
+ * Set data-test attribute for automated testing.
240
240
  */
241
- dataCy: {
241
+ dataTest: {
242
242
  type: String,
243
243
  default: "",
244
244
  },
@@ -5,7 +5,7 @@
5
5
  :title="title"
6
6
  no-divider
7
7
  mobile-bottom-align
8
- :data-cy="dataCy"
8
+ :data-test="dataTest"
9
9
  v-bind="modalAttrs"
10
10
  >
11
11
  <template #header-left-before>
@@ -36,7 +36,7 @@
36
36
  :label="confirmLabel || currentLocale.confirm"
37
37
  :color="confirmColor"
38
38
  :disabled="confirmDisabled"
39
- :data-cy="`${dataCy}-accept`"
39
+ :data-test="`${dataTest}-accept`"
40
40
  v-bind="confirmButtonAttrs"
41
41
  @click="emitConfirmAction"
42
42
  />
@@ -47,7 +47,7 @@
47
47
  variant="thirdary"
48
48
  color="gray"
49
49
  filled
50
- :data-cy="`${dataCy}-close`"
50
+ :data-test="`${dataTest}-close`"
51
51
  v-bind="cancelButtonAttrs"
52
52
  @click="onCloseModal"
53
53
  />
@@ -145,9 +145,9 @@ const props = defineProps({
145
145
  },
146
146
 
147
147
  /**
148
- * Data-cy attribute for automated testing.
148
+ * Data-test attribute for automated testing.
149
149
  */
150
- dataCy: {
150
+ dataTest: {
151
151
  type: String,
152
152
  default: "",
153
153
  },
@@ -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
  <div v-bind="pageAttrs">
4
4
  <!-- @slot Use it to add something before the header. -->
5
5
  <slot name="header-before" />
@@ -173,9 +173,9 @@ const props = defineProps({
173
173
  },
174
174
 
175
175
  /**
176
- * Sets data-cy attribute for automated testing.
176
+ * Data-test attribute for automated testing.
177
177
  */
178
- dataCy: {
178
+ dataTest: {
179
179
  type: String,
180
180
  default: "",
181
181
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div v-bind="wrapperAttrs" :data-cy="dataCy">
2
+ <div v-bind="wrapperAttrs" :data-test="dataTest">
3
3
  <!-- @slot Use it to add something inside. -->
4
4
  <slot />
5
5
  </div>
@@ -76,9 +76,9 @@ const props = defineProps({
76
76
  },
77
77
 
78
78
  /**
79
- * Data-cy attribute for automated testing.
79
+ * Data-test attribute for automated testing.
80
80
  */
81
- dataCy: {
81
+ dataTest: {
82
82
  type: String,
83
83
  default: "",
84
84
  },
@@ -17,14 +17,14 @@
17
17
  handle=".icon-drag"
18
18
  :ghost-class="config.draggableGhost"
19
19
  :drag-class="config.draggableDrag"
20
- :data-cy="dataCy"
20
+ :data-test="dataTest"
21
21
  v-bind="draggableAttrs"
22
22
  :move="onDragMove"
23
23
  @end="onDragEnd"
24
24
  >
25
25
  <template #item="{ element }">
26
- <div :id="element[valueKey]" :data-cy="`${dataCy}-item`" v-bind="itemWrapperAttrs">
27
- <div :data-cy="`${dataCy}-item-${element[valueKey]}`" v-bind="itemAttrs">
26
+ <div :id="element[valueKey]" :data-test="`${dataTest}-item`" v-bind="itemWrapperAttrs">
27
+ <div :data-test="`${dataTest}-item-${element[valueKey]}`" v-bind="itemAttrs">
28
28
  <UIcon
29
29
  internal
30
30
  color="gray"
@@ -62,7 +62,7 @@
62
62
  color="red"
63
63
  :size="iconSize"
64
64
  :name="config.deleteIconName"
65
- :data-cy="`${dataCy}-delete`"
65
+ :data-test="`${dataTest}-delete`"
66
66
  :tooltip="currentLocale.delete"
67
67
  v-bind="deleteIconAttrs"
68
68
  @click="onClickDelete(element[valueKey], element[labelKey])"
@@ -75,7 +75,7 @@
75
75
  color="gray"
76
76
  :size="iconSize"
77
77
  :name="config.editIconName"
78
- :data-cy="`${dataCy}-edit`"
78
+ :data-test="`${dataTest}-edit`"
79
79
  :tooltip="currentLocale.edit"
80
80
  v-bind="editIconAttrs"
81
81
  @click="onClickEdit(element[valueKey], element[labelKey])"
@@ -89,7 +89,7 @@
89
89
  hide-empty-state-for-nesting
90
90
  :list="element.children"
91
91
  :group="group"
92
- :data-cy="`${dataCy}-table`"
92
+ :data-test="`${dataTest}-table`"
93
93
  v-bind="nestedAttrs"
94
94
  @click-delete="onClickDelete"
95
95
  @click-edit="onClickEdit"
@@ -233,9 +233,9 @@ const props = defineProps({
233
233
  },
234
234
 
235
235
  /**
236
- * Data-cy attribute for automated testing.
236
+ * Data-test attribute for automated testing.
237
237
  */
238
- dataCy: {
238
+ dataTest: {
239
239
  type: String,
240
240
  default: "",
241
241
  },
@@ -10,7 +10,7 @@
10
10
  :data-id="row.id"
11
11
  :value="row.id"
12
12
  size="sm"
13
- :data-cy="`${dataCy}-body-checkbox`"
13
+ :data-test="`${dataTest}-body-checkbox`"
14
14
  v-bind="attrs.bodyCheckboxAttrs"
15
15
  />
16
16
  </td>
@@ -43,7 +43,7 @@
43
43
 
44
44
  <div v-if="value?.hasOwnProperty('secondary')">
45
45
  <slot :name="`cell-${key}`" :value="value" :row="row">
46
- <div :data-cy="`${dataCy}-${key}-cell`" v-bind="attrs.bodyCellPrimaryAttrs">
46
+ <div :data-test="`${dataTest}-${key}-cell`" v-bind="attrs.bodyCellPrimaryAttrs">
47
47
  {{ value.primary || HYPHEN_SYMBOL }}
48
48
  </div>
49
49
 
@@ -65,7 +65,7 @@
65
65
 
66
66
  <template v-else>
67
67
  <slot :name="`cell-${key}`" :value="value" :row="row">
68
- <div :data-cy="`${dataCy}-${key}-cell`">
68
+ <div :data-test="`${dataTest}-${key}-cell`">
69
69
  {{ value || value === 0 ? value : HYPHEN_SYMBOL }}
70
70
  </div>
71
71
  </slot>
@@ -80,7 +80,7 @@
80
80
  :attrs="attrs"
81
81
  :columns="columns"
82
82
  :row="row.row"
83
- :data-cy="dataCy"
83
+ :data-test="dataTest"
84
84
  :nested-level="nestedLevel + 1"
85
85
  :config="config"
86
86
  :selectable="selectable"
@@ -119,7 +119,7 @@ const props = defineProps({
119
119
  type: Number,
120
120
  default: 0,
121
121
  },
122
- dataCy: {
122
+ dataTest: {
123
123
  type: String,
124
124
  required: true,
125
125
  },
@@ -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
  <div
4
4
  v-show="isHeaderSticky || isShownActionsHeader"
5
5
  ref="stickyHeaderRowRef"
@@ -13,7 +13,7 @@
13
13
  v-model="selectAll"
14
14
  size="sm"
15
15
  :partial="!isSelectedAllRows"
16
- :data-cy="`${dataCy}-select-all`"
16
+ :data-test="`${dataTest}-select-all`"
17
17
  v-bind="stickyHeaderActionsCheckboxAttrs"
18
18
  />
19
19
  </div>
@@ -38,7 +38,7 @@
38
38
  v-model="selectAll"
39
39
  size="sm"
40
40
  :partial="!isSelectedAllRows"
41
- :data-cy="`${dataCy}-select-all`"
41
+ :data-test="`${dataTest}-select-all`"
42
42
  v-bind="stickyHeaderCheckboxAttrs"
43
43
  />
44
44
 
@@ -108,7 +108,7 @@
108
108
  v-model="selectAll"
109
109
  size="sm"
110
110
  :partial="!isSelectedAllRows"
111
- :data-cy="`${dataCy}-select-all`"
111
+ :data-test="`${dataTest}-select-all`"
112
112
  v-bind="headerCheckboxAttrs"
113
113
  />
114
114
 
@@ -180,7 +180,7 @@
180
180
  v-bind="bodyRowAttrs(getRowClasses(row))"
181
181
  v-model:selectedRows="selectedRows"
182
182
  :selectable="selectable"
183
- :data-cy="`${dataCy}-row`"
183
+ :data-test="`${dataTest}-row`"
184
184
  :row="row"
185
185
  :columns="columns"
186
186
  :config="config"
@@ -226,7 +226,7 @@
226
226
  <UEmpty
227
227
  size="sm"
228
228
  :description="currentLocale.noData"
229
- :data-cy="`${dataCy}-empty`"
229
+ :data-test="`${dataTest}-empty`"
230
230
  v-bind="bodyEmptyStateAttrs"
231
231
  />
232
232
  </slot>
@@ -374,9 +374,9 @@ const props = defineProps({
374
374
  },
375
375
 
376
376
  /**
377
- * Data-cy attribute for automated testing.
377
+ * Data-test attribute for automated testing.
378
378
  */
379
- dataCy: {
379
+ dataTest: {
380
380
  type: String,
381
381
  default: "",
382
382
  },
@@ -7,7 +7,7 @@
7
7
  :color="color"
8
8
  :weight="weight"
9
9
  :variant="variant"
10
- :data-cy="`${dataCy}-badge`"
10
+ :data-test="`${dataTest}-badge`"
11
11
  v-bind="badgeAttrs"
12
12
  @click="onClickBadge"
13
13
  >
@@ -18,7 +18,7 @@
18
18
  :name="config.iconName"
19
19
  :size="iconSize"
20
20
  :color="color"
21
- :data-cy="`${dataCy}-caret`"
21
+ :data-test="`${dataTest}-caret`"
22
22
  v-bind="iconAttrs"
23
23
  />
24
24
  </template>
@@ -40,7 +40,7 @@
40
40
  :options="options"
41
41
  :value-key="valueKey"
42
42
  :label-key="labelKey"
43
- :data-cy="`${dataCy}-item`"
43
+ :data-test="`${dataTest}-item`"
44
44
  v-bind="listAttrs"
45
45
  @click="onClickList"
46
46
  />
@@ -178,9 +178,9 @@ const props = defineProps({
178
178
  },
179
179
 
180
180
  /**
181
- * Data-cy attribute for automated testing.
181
+ * Data-test attribute for automated testing.
182
182
  */
183
- dataCy: {
183
+ dataTest: {
184
184
  type: String,
185
185
  default: "",
186
186
  },
@@ -31,7 +31,7 @@ export default /*tw*/ {
31
31
  listYPosition: "bottom",
32
32
  listXPosition: "left",
33
33
  filled: false,
34
- pill: false,
34
+ round: false,
35
35
  square: false,
36
36
  noIcon: false,
37
37
  disabled: false,
@@ -7,10 +7,10 @@
7
7
  :variant="variant"
8
8
  :filled="filled || isShownOptions"
9
9
  :color="color"
10
- :pill="pill"
10
+ :round="round"
11
11
  :square="square"
12
12
  :disabled="disabled"
13
- :data-cy="`${dataCy}-button`"
13
+ :data-test="`${dataTest}-button`"
14
14
  v-bind="buttonAttrs"
15
15
  @click="onClickButton"
16
16
  >
@@ -21,7 +21,7 @@
21
21
  :name="config.iconName"
22
22
  :size="iconSize"
23
23
  :color="iconColor"
24
- :data-cy="`${dataCy}-caret`"
24
+ :data-test="`${dataTest}-caret`"
25
25
  v-bind="iconAttrs"
26
26
  />
27
27
  </template>
@@ -43,7 +43,7 @@
43
43
  :options="options"
44
44
  :value-key="valueKey"
45
45
  :label-key="labelKey"
46
- :data-cy="`${dataCy}-item`"
46
+ :data-test="`${dataTest}-item`"
47
47
  tabindex="-1"
48
48
  v-bind="listAttrs"
49
49
  @click="onClickList"
@@ -124,9 +124,9 @@ const props = defineProps({
124
124
  /**
125
125
  * Set button corners rounded.
126
126
  */
127
- pill: {
127
+ round: {
128
128
  type: Boolean,
129
- default: getDefault(defaultConfig, UDropdownButton).pill,
129
+ default: getDefault(defaultConfig, UDropdownButton).round,
130
130
  },
131
131
 
132
132
  /**
@@ -213,9 +213,9 @@ const props = defineProps({
213
213
  },
214
214
 
215
215
  /**
216
- * Data-cy attribute for automated testing.
216
+ * Data-test attribute for automated testing.
217
217
  */
218
- dataCy: {
218
+ dataTest: {
219
219
  type: String,
220
220
  default: "",
221
221
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs" @click="onClick">
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs" @click="onClick">
3
3
  <template v-if="label">{{ label }}</template>
4
4
  <slot />
5
5
  </div>
@@ -32,9 +32,9 @@ const props = defineProps({
32
32
  },
33
33
 
34
34
  /**
35
- * Sets data-cy attribute for automated testing.
35
+ * Data-test attribute for automated testing.
36
36
  */
37
- dataCy: {
37
+ dataTest: {
38
38
  type: String,
39
39
  default: "",
40
40
  },
@@ -10,7 +10,7 @@
10
10
  :underlined="underlined"
11
11
  :disabled="disabled"
12
12
  :no-ring="noRing"
13
- :data-cy="`${dataCy}-link`"
13
+ :data-test="`${dataTest}-link`"
14
14
  v-bind="linkAttrs"
15
15
  @click="onClickLink"
16
16
  >
@@ -22,7 +22,7 @@
22
22
  :name="config.iconName"
23
23
  :size="iconSize"
24
24
  :color="color"
25
- :data-cy="`${dataCy}-caret`"
25
+ :data-test="`${dataTest}-caret`"
26
26
  v-bind="iconAttrs"
27
27
  @click="onClickLink"
28
28
  />
@@ -46,7 +46,7 @@
46
46
  :options="options"
47
47
  :value-key="valueKey"
48
48
  :label-key="labelKey"
49
- :data-cy="`${dataCy}-item`"
49
+ :data-test="`${dataTest}-item`"
50
50
  v-bind="listAttrs"
51
51
  @click="onClickList"
52
52
  />
@@ -199,9 +199,9 @@ const props = defineProps({
199
199
  },
200
200
 
201
201
  /**
202
- * Data-cy attribute for automated testing.
202
+ * Data-test attribute for automated testing.
203
203
  */
204
- dataCy: {
204
+ dataTest: {
205
205
  type: String,
206
206
  default: "",
207
207
  },
@@ -81,7 +81,7 @@
81
81
  <span v-bind="addTitleHotkeyAttrs" v-text="addOptionKeyCombination" />
82
82
  </div>
83
83
  </div>
84
- <UButton pill square v-bind="buttonAddAttrs" @click="onClickAddOption">
84
+ <UButton round square v-bind="buttonAddAttrs" @click="onClickAddOption">
85
85
  <UIcon
86
86
  internal
87
87
  color="white"
@@ -252,9 +252,9 @@ const props = defineProps({
252
252
  },
253
253
 
254
254
  /**
255
- * Data-cy attribute for automated testing.
255
+ * Data-test attribute for automated testing.
256
256
  */
257
- dataCy: {
257
+ dataTest: {
258
258
  type: String,
259
259
  default: "",
260
260
  },
@@ -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"
@@ -20,7 +20,7 @@
20
20
  :checked="isChecked"
21
21
  :disabled="disabled"
22
22
  v-bind="checkboxAttrs"
23
- :data-cy="dataCy"
23
+ :data-test="dataTest"
24
24
  @change="onChange"
25
25
  />
26
26
 
@@ -188,9 +188,9 @@ const props = defineProps({
188
188
  },
189
189
 
190
190
  /**
191
- * Data-cy attribute for automated testing.
191
+ * Data-test attribute for automated testing.
192
192
  */
193
- dataCy: {
193
+ dataTest: {
194
194
  type: String,
195
195
  default: "",
196
196
  },
@@ -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">
@@ -21,7 +21,7 @@
21
21
  :label="option.label"
22
22
  :description="option.description"
23
23
  :disabled="disabled"
24
- :data-cy="`${dataCy}-item-${index}`"
24
+ :data-test="`${dataTest}-item-${index}`"
25
25
  v-bind="checkboxAttrs"
26
26
  />
27
27
  </slot>
@@ -129,9 +129,9 @@ const props = defineProps({
129
129
  },
130
130
 
131
131
  /**
132
- * Data-cy attribute for automated testing.
132
+ * Data-test attribute for automated testing.
133
133
  */
134
- dataCy: {
134
+ dataTest: {
135
135
  type: String,
136
136
  default: "",
137
137
  },
@@ -94,9 +94,9 @@ const props = defineProps({
94
94
  },
95
95
 
96
96
  /**
97
- * Data-cy attribute for automated testing.
97
+ * Data-test attribute for automated testing.
98
98
  */
99
- dataCy: {
99
+ dataTest: {
100
100
  type: String,
101
101
  default: "",
102
102
  },
@@ -6,7 +6,7 @@
6
6
  :error="error"
7
7
  :size="size"
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">
@@ -149,9 +149,9 @@ const props = defineProps({
149
149
  },
150
150
 
151
151
  /**
152
- * Data-cy attribute for automated testing.
152
+ * Data-test attribute for automated testing.
153
153
  */
154
- dataCy: {
154
+ dataTest: {
155
155
  type: String,
156
156
  default: "radio",
157
157
  },
@@ -243,9 +243,9 @@ const props = defineProps({
243
243
  },
244
244
 
245
245
  /**
246
- * Data-cy attribute for automated testing.
246
+ * Data-test attribute for automated testing.
247
247
  */
248
- dataCy: {
248
+ dataTest: {
249
249
  type: String,
250
250
  default: "",
251
251
  },
@@ -441,9 +441,9 @@ const props = defineProps({
441
441
  },
442
442
 
443
443
  /**
444
- * Data-cy attribute for automated testing.
444
+ * Data-test attribute for automated testing.
445
445
  */
446
- dataCy: {
446
+ dataTest: {
447
447
  type: String,
448
448
  default: "",
449
449
  },
@@ -43,8 +43,8 @@ export default /*tw*/ {
43
43
  },
44
44
  error: {
45
45
  true: `
46
- bg-red-50 hover:border-red-400 focus:border-red-500 focus:ring-red-500/15
47
- focus-within:border-red-500 focus-within:ring-red-500/15
46
+ bg-red-50 hover:border-red-400 focus:border-red-500 focus:ring-red-700/15
47
+ focus-within:border-red-500 focus-within:ring-red-700/15
48
48
  `,
49
49
  },
50
50
  },
@@ -49,7 +49,7 @@
49
49
  :disabled="disabled"
50
50
  :maxlength="maxLength"
51
51
  :inputmode="inputmode"
52
- :data-cy="dataCy"
52
+ :data-test="dataTest"
53
53
  v-bind="inputAttrs"
54
54
  @focus="onFocus"
55
55
  @blur="onBlur"
@@ -67,7 +67,7 @@
67
67
  color="gray"
68
68
  interactive
69
69
  internal
70
- :data-cy="`${dataCy}-show-password`"
70
+ :data-test="`${dataTest}-show-password`"
71
71
  v-bind="passwordIconAttrs"
72
72
  @click="onClickShowPassword"
73
73
  />
@@ -315,9 +315,9 @@ const props = defineProps({
315
315
  },
316
316
 
317
317
  /**
318
- * Data-cy attribute for automated testing.
318
+ * Data-test attribute for automated testing.
319
319
  */
320
- dataCy: {
320
+ dataTest: {
321
321
  type: String,
322
322
  default: "",
323
323
  },
@@ -25,13 +25,13 @@
25
25
  <template #right="{ file }">
26
26
  <UIcon
27
27
  v-if="props.multiple && !disabled"
28
- pill
28
+ round
29
29
  internal
30
30
  interactive
31
31
  color="brand"
32
32
  :size="removeItemIconSize"
33
33
  :name="config.removeItemIconName"
34
- :data-cy="`${dataCy}-remove-item`"
34
+ :data-test="`${dataTest}-remove-item`"
35
35
  v-bind="removeItemIconAttrs"
36
36
  @click.stop.prevent="onClickRemoveItem(file.id)"
37
37
  />
@@ -51,7 +51,7 @@
51
51
  :label="currentLocale.uploadFile"
52
52
  :disabled="disabled"
53
53
  v-bind="chooseFileButtonAttrs"
54
- :data-cy="`${dataCy}-upload`"
54
+ :data-test="`${dataTest}-upload`"
55
55
  />
56
56
 
57
57
  <input
@@ -67,7 +67,7 @@
67
67
 
68
68
  <UButton
69
69
  v-if="isValue && !disabled"
70
- pill
70
+ round
71
71
  square
72
72
  filled
73
73
  no-ring
@@ -76,7 +76,7 @@
76
76
  :disabled="disabled"
77
77
  :left-icon="config.clearIconName"
78
78
  v-bind="clearButtonAttrs"
79
- :data-cy="`${dataCy}-clear`"
79
+ :data-test="`${dataTest}-clear`"
80
80
  @click="onClickResetFiles"
81
81
  />
82
82
  </div>
@@ -209,9 +209,9 @@ const props = defineProps({
209
209
  },
210
210
 
211
211
  /**
212
- * Data-cy attribute for automated testing.
212
+ * Data-test attribute for automated testing.
213
213
  */
214
- dataCy: {
214
+ dataTest: {
215
215
  type: String,
216
216
  default: "",
217
217
  },