vueless 0.0.309 → 0.0.310
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.
- package/package.json +1 -1
- package/ui.button/configs/default.config.js +1 -0
- package/ui.button/index.vue +9 -1
- package/web-types.json +10 -1
package/package.json
CHANGED
package/ui.button/index.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
ref="buttonRef"
|
|
6
6
|
:disabled="disabled"
|
|
7
7
|
v-bind="buttonAttrs"
|
|
8
|
-
:tabindex="loading
|
|
8
|
+
:tabindex="!loading ? tabindex : -1"
|
|
9
9
|
:data-test="dataTest"
|
|
10
10
|
>
|
|
11
11
|
<template v-if="loading">
|
|
@@ -161,6 +161,14 @@ const props = defineProps({
|
|
|
161
161
|
default: "",
|
|
162
162
|
},
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Controls the keyboard “Tab” focus order of elements.
|
|
166
|
+
*/
|
|
167
|
+
tabindex: {
|
|
168
|
+
type: String,
|
|
169
|
+
default: getDefault(defaultConfig, UButton).tabindex,
|
|
170
|
+
},
|
|
171
|
+
|
|
164
172
|
/**
|
|
165
173
|
* Fill the background for thirdary variant.
|
|
166
174
|
*/
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.310",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -942,6 +942,15 @@
|
|
|
942
942
|
},
|
|
943
943
|
"default": "\"\""
|
|
944
944
|
},
|
|
945
|
+
{
|
|
946
|
+
"name": "tabindex",
|
|
947
|
+
"description": "Controls the keyboard “Tab” focus order of elements.",
|
|
948
|
+
"value": {
|
|
949
|
+
"kind": "expression",
|
|
950
|
+
"type": "string"
|
|
951
|
+
},
|
|
952
|
+
"default": "0"
|
|
953
|
+
},
|
|
945
954
|
{
|
|
946
955
|
"name": "filled",
|
|
947
956
|
"description": "Fill the background for thirdary variant.",
|