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
@@ -22,6 +22,8 @@ tippy.setDefaultProps(mergedSettings);
22
22
 
23
23
  export default {
24
24
  mounted(el, bindings) {
25
+ if (!bindings.value.content) return;
26
+
25
27
  tippy(el, merge(mergedSettings, bindings.value || {}));
26
28
  },
27
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.285",
3
+ "version": "0.0.287",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -37,7 +37,7 @@
37
37
  "@release-it/bumper": "^6.0.1",
38
38
  "@vitejs/plugin-vue": "^5.0.5",
39
39
  "@vue/eslint-config-prettier": "^9.0.0",
40
- "@vueless/plugin-vite": "^0.0.50",
40
+ "@vueless/plugin-vite": "^0.0.51",
41
41
  "@vueless/storybook": "^0.0.34",
42
42
  "@vueless/web-types": "^0.0.13",
43
43
  "autoprefixer": "^10.4.19",
@@ -1,9 +1,8 @@
1
1
  export default /*tw*/ {
2
2
  button: {
3
3
  base: `
4
- flex items-center justify-center
5
- font-medium outline-none
6
- border border-solid transition
4
+ flex items-center justify-center transition
5
+ border font-medium outline-none whitespace-nowrap
7
6
  focus:ring-{color}-700/15 focus:ring-dynamic focus:ring-offset-dynamic
8
7
  focus-within:ring-{color}-700/15 focus-within:ring-dynamic focus-within:ring-offset-dynamic
9
8
  disabled:ring-0 disabled:ring-offset-0 disabled:cursor-not-allowed cursor-pointer
@@ -42,22 +41,22 @@ export default /*tw*/ {
42
41
  disabled:text-gray-400 disabled:bg-transparent
43
42
  `,
44
43
  },
45
- color: {
46
- grayscale: "focus:ring-gray-700/15 focus-within:ring-gray-700/15",
47
- white: "focus:ring-gray-700/15 focus-within:ring-gray-700/15",
44
+ round: {
45
+ false: "rounded-dynamic",
46
+ true: "rounded-full",
47
+ },
48
+ noRing: {
49
+ true: "focus:ring-0 focus:ring-offset-0 focus-within:ring-0 focus-within:ring-offset-0",
48
50
  },
49
51
  loading: {
50
52
  true: "pointer-events-none gap-0",
51
53
  },
52
- pill: {
53
- false: "rounded-dynamic",
54
- true: "rounded-full",
55
- },
56
54
  block: {
57
55
  true: "w-full",
58
56
  },
59
- noRing: {
60
- true: "focus:ring-0 focus:ring-offset-0 focus-within:ring-0 focus-within:ring-offset-0",
57
+ color: {
58
+ grayscale: "focus:ring-gray-700/15 focus-within:ring-gray-700/15",
59
+ white: "focus:ring-gray-700/15 focus-within:ring-gray-700/15",
61
60
  },
62
61
  },
63
62
  compoundVariants: [
@@ -144,15 +143,16 @@ export default /*tw*/ {
144
143
  { square: true, size: "xl", class: "p-4" },
145
144
  ],
146
145
  },
147
- text: "whitespace-nowrap focus-visible:outline-none",
146
+ loader: "{ULoader}",
148
147
  leftIcon: "{UIcon}",
149
148
  rightIcon: "{UIcon}",
149
+ centerIcon: "{UIcon}",
150
150
  defaultVariants: {
151
151
  color: "brand",
152
152
  variant: "primary",
153
153
  tag: "button",
154
154
  size: "md",
155
- pill: false,
155
+ round: false,
156
156
  block: false,
157
157
  square: false,
158
158
  filled: false,
@@ -164,15 +164,12 @@ export default /*tw*/ {
164
164
  { pattern: `border-(${colors})-600` },
165
165
  { pattern: `border-(${colors})-700`, variants: ["hover", "focus"] },
166
166
  { pattern: `border-(${colors})-800`, variants: ["active"] },
167
- { pattern: `border-(${colors})-300`, variants: ["disabled"] },
168
167
  { pattern: `bg-(${colors})-600` },
169
168
  { pattern: `bg-(${colors})-700`, variants: ["hover", "focus"] },
170
169
  { pattern: `bg-(${colors})-800`, variants: ["active"] },
171
- { pattern: `bg-(${colors})-300`, variants: ["disabled"] },
172
170
  { pattern: `text-(${colors})-600` },
173
171
  { pattern: `text-(${colors})-700`, variants: ["hover", "focus"] },
174
172
  { pattern: `text-(${colors})-800`, variants: ["active"] },
175
- { pattern: `text-(${colors})-300`, variants: ["disabled"] },
176
173
  { pattern: `ring-(${colors})-700`, variants: ["focus", "focus-within"] },
177
174
  ],
178
175
  };
@@ -88,8 +88,8 @@ variants.args = { enum: "variant" };
88
88
  export const sizes = EnumVariantTemplate.bind({});
89
89
  sizes.args = { enum: "size" };
90
90
 
91
- export const pilled = EnumVariantTemplate.bind({});
92
- pilled.args = { enum: "variant", pill: true };
91
+ export const round = EnumVariantTemplate.bind({});
92
+ round.args = { enum: "variant", round: true };
93
93
 
94
94
  export const disabled = EnumVariantTemplate.bind({});
95
95
  disabled.args = { enum: "variant", disabled: true };
@@ -126,6 +126,7 @@ leftIconSlot.args = {
126
126
  <UIcon
127
127
  name="star"
128
128
  color="green"
129
+ size="sm"
129
130
  />
130
131
  </template>
131
132
  `,
@@ -138,6 +139,7 @@ rightIconSlot.args = {
138
139
  <UIcon
139
140
  name="star"
140
141
  color="green"
142
+ size="sm"
141
143
  />
142
144
  </template>
143
145
  `,
@@ -150,6 +152,7 @@ leftSlot.args = {
150
152
  <UIcon
151
153
  name="archive"
152
154
  color="red"
155
+ size="sm"
153
156
  />
154
157
  </template>
155
158
  `,
@@ -162,6 +165,7 @@ rightSlot.args = {
162
165
  <UIcon
163
166
  name="archive"
164
167
  color="red"
168
+ size="sm"
165
169
  />
166
170
  </template>
167
171
  `,
@@ -4,78 +4,92 @@
4
4
  :id="id"
5
5
  ref="buttonRef"
6
6
  :disabled="disabled"
7
- :data-cy="dataCy"
8
7
  v-bind="buttonAttrs"
8
+ :tabindex="loading && '-1'"
9
+ :data-test="dataTest"
9
10
  >
10
11
  <template v-if="loading">
11
12
  <!-- Label is needed to prevent changing button height -->
12
- <div v-bind="textAttrs" tabindex="-1" class="invisible w-0" v-text="label" />
13
+ <div tabindex="-1" class="invisible w-0" v-text="label" />
13
14
  <ULoader :loading="loading" :size="loaderSize" :color="componentColor" v-bind="loaderAttrs" />
14
15
  </template>
15
16
 
16
17
  <template v-else>
17
- <div v-if="hasSlotContent($slots['left-icon']) || leftIcon">
18
- <!--
19
- @slot Use it to add icon before the text.
20
- @binding {string} icon-name
21
- @binding {string} icon-size
22
- @binding {string} icon-color
23
- -->
24
- <slot
25
- name="left-icon"
26
- :icon-name="leftIcon"
27
- :icon-size="iconSize"
28
- :icon-color="componentColor"
29
- >
30
- <UIcon
31
- v-if="leftIcon"
32
- :name="leftIcon"
33
- :size="iconSize"
34
- :color="componentColor"
35
- internal
36
- v-bind="leftIconAttrs"
37
- />
38
- </slot>
39
- </div>
40
-
41
- <!-- @slot Use it to add something before the text. -->
18
+ <!--
19
+ @slot Use it to add icon before the label.
20
+ @binding {string} icon-name
21
+ @binding {string} icon-size
22
+ @binding {string} icon-color
23
+ -->
24
+ <slot
25
+ name="left-icon"
26
+ :icon-name="leftIcon"
27
+ :icon-size="iconSize"
28
+ :icon-color="componentColor"
29
+ >
30
+ <UIcon
31
+ v-if="leftIcon"
32
+ internal
33
+ :name="leftIcon"
34
+ :size="iconSize"
35
+ :color="componentColor"
36
+ v-bind="leftIconAttrs"
37
+ />
38
+ </slot>
39
+
40
+ <!-- @slot Use it to add something before the label. -->
42
41
  <slot name="left" />
43
42
 
44
- <!-- @slot Use it to add something instead of the text. -->
45
- <slot />
46
- <div
47
- v-if="label && !hasSlotContent($slots['default'])"
48
- v-bind="textAttrs"
49
- tabindex="-1"
50
- v-text="label"
51
- />
52
-
53
- <!-- @slot Use it to add something after the text. -->
43
+ <!--
44
+ @slot Use it to add something instead of the label.
45
+ @binding {string} icon-name
46
+ @binding {string} icon-size
47
+ @binding {string} icon-color
48
+ -->
49
+ <slot
50
+ name="default"
51
+ :label="label"
52
+ :icon-name="icon"
53
+ :icon-size="iconSize"
54
+ :icon-color="componentColor"
55
+ >
56
+ <UIcon
57
+ v-if="icon"
58
+ internal
59
+ :name="icon"
60
+ :size="iconSize"
61
+ :color="componentColor"
62
+ v-bind="centerIconAttrs"
63
+ />
64
+ <template v-else>
65
+ {{ label }}
66
+ </template>
67
+ </slot>
68
+
69
+ <!-- @slot Use it to add something after the label. -->
54
70
  <slot name="right" />
55
71
 
56
- <div v-if="hasSlotContent($slots['right-icon']) || rightIcon">
57
- <!--
58
- @slot Use it to add icon after the text.
59
- @binding {string} icon-name
60
- @binding {string} icon-size
61
- @binding {string} icon-color
62
- -->
63
- <slot
64
- name="right-icon"
65
- :icon-name="rightIcon"
66
- :icon-size="iconSize"
67
- :icon-color="componentColor"
68
- >
69
- <UIcon
70
- v-if="rightIcon"
71
- :name="rightIcon"
72
- :size="iconSize"
73
- :color="componentColor"
74
- internal
75
- v-bind="rightIconAttrs"
76
- />
77
- </slot>
78
- </div>
72
+ <!--
73
+ @slot Use it to add icon after the label.
74
+ @binding {string} icon-name
75
+ @binding {string} icon-size
76
+ @binding {string} icon-color
77
+ -->
78
+ <slot
79
+ name="right-icon"
80
+ :icon-name="rightIcon"
81
+ :icon-size="iconSize"
82
+ :icon-color="componentColor"
83
+ >
84
+ <UIcon
85
+ v-if="rightIcon"
86
+ internal
87
+ :name="rightIcon"
88
+ :size="iconSize"
89
+ :color="componentColor"
90
+ v-bind="rightIconAttrs"
91
+ />
92
+ </slot>
79
93
  </template>
80
94
  </component>
81
95
  </template>
@@ -123,35 +137,43 @@ const props = defineProps({
123
137
  },
124
138
 
125
139
  /**
126
- * Left side icon name.
140
+ * Button label.
127
141
  */
128
- leftIcon: {
142
+ label: {
129
143
  type: String,
130
144
  default: "",
131
145
  },
132
146
 
133
147
  /**
134
- * Right side icon name.
148
+ * Allows changing button html tag.
135
149
  */
136
- rightIcon: {
150
+ tag: {
151
+ type: String,
152
+ default: getDefault(defaultConfig, UButton).tag,
153
+ },
154
+
155
+ /**
156
+ * Icon name (appears instead of label).
157
+ */
158
+ icon: {
137
159
  type: String,
138
160
  default: "",
139
161
  },
140
162
 
141
163
  /**
142
- * Button label.
164
+ * Left side icon name.
143
165
  */
144
- label: {
166
+ leftIcon: {
145
167
  type: String,
146
168
  default: "",
147
169
  },
148
170
 
149
171
  /**
150
- * Allows changing button html tag.
172
+ * Right side icon name.
151
173
  */
152
- tag: {
174
+ rightIcon: {
153
175
  type: String,
154
- default: getDefault(defaultConfig, UButton).tag,
176
+ default: "",
155
177
  },
156
178
 
157
179
  /**
@@ -181,9 +203,9 @@ const props = defineProps({
181
203
  /**
182
204
  * Set button corners rounded.
183
205
  */
184
- pill: {
206
+ round: {
185
207
  type: Boolean,
186
- default: getDefault(defaultConfig, UButton).pill,
208
+ default: getDefault(defaultConfig, UButton).round,
187
209
  },
188
210
 
189
211
  /**
@@ -203,7 +225,7 @@ const props = defineProps({
203
225
  },
204
226
 
205
227
  /**
206
- * Remove outline ring on focus.
228
+ * Remove button ring on focus.
207
229
  */
208
230
  noRing: {
209
231
  type: Boolean,
@@ -228,15 +250,15 @@ const props = defineProps({
228
250
  },
229
251
 
230
252
  /**
231
- * Data-cy attribute for automated testing.
253
+ * Data-test attribute for automated testing.
232
254
  */
233
- dataCy: {
255
+ dataTest: {
234
256
  type: String,
235
257
  default: "",
236
258
  },
237
259
  });
238
260
 
239
- const { buttonAttrs, loaderAttrs, textAttrs, leftIconAttrs, rightIconAttrs, hasSlotContent } =
261
+ const { buttonAttrs, loaderAttrs, leftIconAttrs, rightIconAttrs, centerIconAttrs } =
240
262
  useAttrs(props);
241
263
 
242
264
  const buttonRef = ref(null);
@@ -9,7 +9,7 @@
9
9
  v-if="isPresentRoute"
10
10
  :to="route"
11
11
  :target="targetValue"
12
- :data-cy="dataCy"
12
+ :data-test="dataTest"
13
13
  v-bind="linkAttrs"
14
14
  tabindex="0"
15
15
  @blur="onBlur"
@@ -28,7 +28,7 @@
28
28
  v-else
29
29
  :href="href"
30
30
  :target="targetValue"
31
- :data-cy="dataCy"
31
+ :data-test="dataTest"
32
32
  v-bind="linkAttrs"
33
33
  tabindex="0"
34
34
  @blur="onBlur"
@@ -254,9 +254,9 @@ const props = defineProps({
254
254
  },
255
255
 
256
256
  /**
257
- * Data-cy attribute for automated testing.
257
+ * Data-test attribute for automated testing.
258
258
  */
259
- dataCy: {
259
+ dataTest: {
260
260
  type: String,
261
261
  default: "",
262
262
  },
@@ -42,7 +42,7 @@ export default /*tw*/ {
42
42
  labelAlign: "top",
43
43
  size: "md",
44
44
  block: false,
45
- pill: false,
45
+ round: false,
46
46
  square: false,
47
47
  disabled: false,
48
48
  multiple: false,
@@ -123,10 +123,10 @@ separated.args = {
123
123
  separated: true,
124
124
  };
125
125
 
126
- export const pill = DefaultTemplate.bind({});
127
- pill.args = {
128
- name: "pill",
129
- pill: true,
126
+ export const round = DefaultTemplate.bind({});
127
+ round.args = {
128
+ name: "round",
129
+ round: true,
130
130
  separated: true,
131
131
  };
132
132
 
@@ -7,7 +7,7 @@
7
7
  :disabled="disabled"
8
8
  centred
9
9
  v-bind="labelAttrs"
10
- :data-cy="dataCy"
10
+ :data-test="dataTest"
11
11
  >
12
12
  <div v-bind="itemsAttrs">
13
13
  <!-- @slot Use it to add UToggleItem directly. -->
@@ -20,7 +20,7 @@
20
20
  :value="item.value"
21
21
  :disabled="disabled"
22
22
  :label="item.label"
23
- :data-cy="`${dataCy}-item-${index}`"
23
+ :data-test="`${dataTest}-item-${index}`"
24
24
  v-bind="itemAttrs"
25
25
  />
26
26
  </slot>
@@ -145,9 +145,9 @@ const props = defineProps({
145
145
  /**
146
146
  * Set button corners rounded.
147
147
  */
148
- pill: {
148
+ round: {
149
149
  type: Boolean,
150
- default: getDefault(defaultConfig, UToggle).pill,
150
+ default: getDefault(defaultConfig, UToggle).round,
151
151
  },
152
152
 
153
153
  /**
@@ -167,9 +167,9 @@ const props = defineProps({
167
167
  },
168
168
 
169
169
  /**
170
- * Sets data-cy attribute for automated testing.
170
+ * Data-test attribute for automated testing.
171
171
  */
172
- dataCy: {
172
+ dataTest: {
173
173
  type: String,
174
174
  default: "",
175
175
  },
@@ -227,7 +227,7 @@ function updateSelectedValue(value, checked) {
227
227
  provide("getToggleName", () => props.name);
228
228
  provide("getToggleType", () => type.value);
229
229
  provide("getToggleSize", () => props.size);
230
- provide("getTogglePill", () => props.pill);
230
+ provide("getToggleRound", () => props.round);
231
231
  provide("getToggleBlock", () => props.block);
232
232
  provide("getToggleSquare", () => props.square);
233
233
  provide("getToggleVariant", () => props.variant);
@@ -47,7 +47,7 @@ export default /*tw*/ {
47
47
  type: "radio",
48
48
  size: "md",
49
49
  block: false,
50
- pill: false,
50
+ round: false,
51
51
  square: false,
52
52
  disabled: false,
53
53
  },
@@ -7,7 +7,7 @@
7
7
  variant="secondary"
8
8
  :label="label"
9
9
  :size="getToggleSize()"
10
- :pill="getTogglePill()"
10
+ :round="getToggleRound()"
11
11
  :block="getToggleBlock()"
12
12
  :square="getToggleSquare()"
13
13
  :disabled="getToggleDisabled()"
@@ -107,9 +107,9 @@ const props = defineProps({
107
107
  },
108
108
 
109
109
  /**
110
- * Data-cy attribute for automated testing.
110
+ * Data-test attribute for automated testing.
111
111
  */
112
- dataCy: {
112
+ dataTest: {
113
113
  type: String,
114
114
  default: "",
115
115
  },
@@ -127,7 +127,7 @@ const emit = defineEmits([
127
127
  const getToggleName = inject("getToggleName", () => "toggle");
128
128
  const getToggleType = inject("getToggleType", () => getDefault(defaultConfig, UToggleItem).type);
129
129
  const getToggleSize = inject("getToggleSize", () => getDefault(defaultConfig, UToggleItem).size);
130
- const getTogglePill = inject("getTogglePill", () => getDefault(defaultConfig, UToggleItem).pill);
130
+ const getToggleRound = inject("getToggleRound", () => getDefault(defaultConfig, UToggleItem).round);
131
131
  const getToggleBlock = inject("getToggleBlock", () => getDefault(defaultConfig, UToggleItem).block);
132
132
  const getToggleSquare = inject("getToggleSquare", () => getDefault(defaultConfig, UToggleItem).square);
133
133
  const getToggleVariant = inject("getToggleVariant",() => getDefault(defaultConfig, UToggleItem).variant);
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :data-cy="dataCy" v-bind="wrapperAttrs" @click="onClickItem">
2
+ <div :data-test="dataTest" v-bind="wrapperAttrs" @click="onClickItem">
3
3
  <div v-bind="bodyAttrs">
4
4
  <div v-bind="titleAttrs">
5
5
  {{ title }}
@@ -77,9 +77,9 @@ const props = defineProps({
77
77
  },
78
78
 
79
79
  /**
80
- * Data-cy attribute for automated testing.
80
+ * Data-test attribute for automated testing.
81
81
  */
82
- dataCy: {
82
+ dataTest: {
83
83
  type: String,
84
84
  default: "",
85
85
  },
@@ -84,7 +84,7 @@ export const slotHeaderLeftBefore = DefaultTemplate.bind({});
84
84
  slotHeaderLeftBefore.args = {
85
85
  slotTemplate: `
86
86
  <template #header-left-before>
87
- <UIcon name="star" size="sm" pill />
87
+ <UIcon name="star" size="sm" round />
88
88
  </template>
89
89
  ${defaultTemplate}
90
90
  `,
@@ -104,7 +104,7 @@ export const slotHeaderLeftAfter = DefaultTemplate.bind({});
104
104
  slotHeaderLeftAfter.args = {
105
105
  slotTemplate: `
106
106
  <template #header-left-after>
107
- <UIcon name="star" size="sm" pill />
107
+ <UIcon name="star" size="sm" round />
108
108
  </template>
109
109
  ${defaultTemplate}
110
110
  `,
@@ -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-if="isShownHeader" v-bind="headerAttrs">
4
4
  <div v-bind="headerLeftAttrs">
5
5
  <!-- @slot Use it to add something before left side of the header. -->
@@ -98,9 +98,9 @@ const props = defineProps({
98
98
  },
99
99
 
100
100
  /**
101
- * Data-cy attribute for automated testing.
101
+ * Data-test attribute for automated testing.
102
102
  */
103
- dataCy: {
103
+ dataTest: {
104
104
  type: String,
105
105
  default: "",
106
106
  },
@@ -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>
@@ -68,9 +68,9 @@ const props = defineProps({
68
68
  },
69
69
 
70
70
  /**
71
- * Data-cy attribute for automated testing.
71
+ * Data-test attribute for automated testing.
72
72
  */
73
- dataCy: {
73
+ dataTest: {
74
74
  type: String,
75
75
  default: "",
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="dividerAttrs" />
4
4
  <template v-if="label && !vertical">
5
5
  <span v-bind="labelAttrs" v-text="label" />
@@ -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 v-bind="wrapperAttrs" :data-cy="dataCy">
2
+ <div v-bind="wrapperAttrs" :data-test="dataTest">
3
3
  <template v-if="title">
4
4
  <UDivider v-if="upperlined" size="xl" no-top-padding v-bind="upperlineAttrs" />
5
5
 
@@ -86,9 +86,9 @@ const props = defineProps({
86
86
  },
87
87
 
88
88
  /**
89
- * Data-cy attribute for automated testing.
89
+ * Data-test attribute for automated testing.
90
90
  */
91
- dataCy: {
91
+ dataTest: {
92
92
  type: String,
93
93
  default: "",
94
94
  },