vueless 0.0.285 → 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 (75) 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.stories.js +22 -15
  37. package/ui.form-date-picker/index.vue +25 -2
  38. package/ui.form-date-picker-range/index.stories.js +47 -7
  39. package/ui.form-date-picker-range/index.vue +28 -2
  40. package/ui.form-input/configs/default.config.js +2 -2
  41. package/ui.form-input/index.vue +4 -4
  42. package/ui.form-input-file/index.vue +7 -7
  43. package/ui.form-input-money/index.stories.js +55 -1
  44. package/ui.form-input-money/index.vue +30 -7
  45. package/ui.form-input-number/index.vue +7 -7
  46. package/ui.form-input-rating/index.vue +4 -4
  47. package/ui.form-input-search/index.stories.js +48 -10
  48. package/ui.form-input-search/index.vue +24 -7
  49. package/ui.form-label/index.vue +8 -8
  50. package/ui.form-radio/index.vue +4 -4
  51. package/ui.form-radio-group/index.vue +4 -4
  52. package/ui.form-select/index.vue +3 -3
  53. package/ui.form-switch/index.vue +3 -3
  54. package/ui.form-textarea/index.vue +4 -4
  55. package/ui.image-avatar/index.vue +3 -3
  56. package/ui.image-icon/configs/default.config.js +17 -17
  57. package/ui.image-icon/index.stories.js +2 -2
  58. package/ui.image-icon/index.vue +6 -6
  59. package/ui.navigation-pagination/index.vue +7 -7
  60. package/ui.navigation-progress/components/StepperProgress.vue +1 -1
  61. package/ui.navigation-progress/index.vue +3 -3
  62. package/ui.navigation-tab/index.vue +3 -3
  63. package/ui.navigation-tabs/index.vue +4 -4
  64. package/ui.other-dot/index.vue +3 -3
  65. package/ui.text-alert/index.vue +4 -4
  66. package/ui.text-badge/index.vue +3 -3
  67. package/ui.text-block/index.vue +3 -3
  68. package/ui.text-empty/index.stories.js +1 -1
  69. package/ui.text-empty/index.vue +4 -4
  70. package/ui.text-file/index.vue +3 -3
  71. package/ui.text-files/index.vue +3 -3
  72. package/ui.text-header/index.vue +3 -3
  73. package/ui.text-money/index.vue +3 -3
  74. package/ui.text-notify/index.vue +3 -3
  75. package/web-types.json +249 -135
@@ -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
  },
@@ -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
  <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-cy attribute for automated testing.
63
+ * Data-test attribute for automated testing.
64
64
  */
65
- dataCy: {
65
+ dataTest: {
66
66
  type: String,
67
67
  default: "",
68
68
  },
@@ -70,7 +70,7 @@ slotHeader.args = {
70
70
  name="person"
71
71
  color="blue"
72
72
  size="2xl"
73
- pill
73
+ round
74
74
  />
75
75
  </template>
76
76
  `,
@@ -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="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
- pill
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
- * Sets 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
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <ULink :url="url" no-ring target-blank :data-cy="dataCy" v-bind="fileAttrs">
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-cy attribute for automated testing.
96
+ * Data-test attribute for automated testing.
97
97
  */
98
- dataCy: {
98
+ dataTest: {
99
99
  type: String,
100
100
  default: "",
101
101
  },
@@ -11,7 +11,7 @@
11
11
  :image-url="file.imageUrl"
12
12
  :size="size"
13
13
  v-bind="fileAttrs"
14
- :data-cy="`${dataCy}-item`"
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
- * Sets data-cy attribute for automated testing.
100
+ * Data-test attribute for automated testing.
101
101
  */
102
- dataCy: {
102
+ dataTest: {
103
103
  type: String,
104
104
  default: "",
105
105
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <component :is="tag" v-bind="wrapperAttrs" :data-cy="dataCy">
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-cy attribute for automated testing.
86
+ * Data-test attribute for automated testing.
87
87
  */
88
- dataCy: {
88
+ dataTest: {
89
89
  type: String,
90
90
  default: "",
91
91
  },
@@ -5,7 +5,7 @@
5
5
  <slot name="left" />
6
6
  </div>
7
7
 
8
- <div :data-cy="dataCy" v-bind="sumAttrs">
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
- * Sets data-cy attribute for automated testing.
163
+ * Data-test attribute for automated testing.
164
164
  */
165
- dataCy: {
165
+ dataTest: {
166
166
  type: String,
167
167
  default: "",
168
168
  },
@@ -13,7 +13,7 @@
13
13
  >
14
14
  <UIcon
15
15
  v-if="notification.type === NOTIFY_TYPE.success"
16
- data-cy="type-notify"
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-cy="type-notify"
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-cy="type-notify"
38
+ data-test="type-notify"
39
39
  color="red"
40
40
  variant="light"
41
41
  size="md"