@opentinyvue/vue-button 2.27.0 → 2.29.0

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 (2) hide show
  1. package/lib/pc.js +6 -1
  2. package/package.json +5 -5
package/lib/pc.js CHANGED
@@ -67,6 +67,8 @@ var render = function render2() {
67
67
  style: _vm.customStyle,
68
68
  attrs: {
69
69
  "disabled": _vm.state.buttonDisabled || _vm.loading,
70
+ "aria-disabled": _vm.state.buttonDisabled || _vm.loading,
71
+ "aria-busy": _vm.loading,
70
72
  "autofocus": _vm.autofocus,
71
73
  "type": _vm.nativeType,
72
74
  "tabindex": _vm.tabindex
@@ -75,7 +77,10 @@ var render = function render2() {
75
77
  "click": _vm.handleClick
76
78
  }
77
79
  }, "button", _vm.a(_vm.$attrs, ["class", "style", "title", "id"], true), false), [_vm.loading ? _c("icon-loading", {
78
- staticClass: "tiny-icon-loading tiny-svg-size"
80
+ staticClass: "tiny-icon-loading tiny-svg-size",
81
+ attrs: {
82
+ "aria-hidden": "true"
83
+ }
79
84
  }) : _vm._e(), _vm.icon && !_vm.loading ? _c(_vm.icon, {
80
85
  tag: "component",
81
86
  class: {
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-button",
3
- "version": "2.27.0",
3
+ "version": "2.29.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-common": "~2.27.0",
11
- "@opentinyvue/vue-icon": "~2.27.0",
12
- "@opentinyvue/vue-renderless": "~3.27.0",
13
- "@opentinyvue/vue-theme": "~3.27.0"
10
+ "@opentinyvue/vue-common": "~2.29.0",
11
+ "@opentinyvue/vue-icon": "~2.29.0",
12
+ "@opentinyvue/vue-renderless": "~3.29.0",
13
+ "@opentinyvue/vue-theme": "~3.29.0"
14
14
  },
15
15
  "license": "MIT",
16
16
  "types": "index.d.ts",