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
@@ -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"