@opentinyvue/vue-dropdown 3.27.0 → 3.28.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 +9 -4
  2. package/package.json +9 -9
package/lib/pc.js CHANGED
@@ -151,7 +151,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
151
151
  }, {
152
152
  default: function _default3() {
153
153
  return [createVNode(ButtonIconDown, {
154
- "class": visibleClass
154
+ "class": visibleClass,
155
+ "aria-label": "down"
155
156
  }, null)];
156
157
  }
157
158
  })];
@@ -169,7 +170,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
169
170
  }
170
171
  var suffixInner = showIcon ? createVNode("span", {
171
172
  "class": "tiny-dropdown__suffix-inner " + visibleClass
172
- }, [suffixSlot || createVNode(IconDown, null, null)]) : "";
173
+ }, [suffixSlot || createVNode(IconDown, {
174
+ "aria-label": "down"
175
+ }, null)]) : "";
173
176
  var prefixInner = prefixIcon || prefixSlot ? createVNode("span", {
174
177
  "class": "tiny-dropdown__prefix-inner " + visibleClass
175
178
  }, [prefixSlot || createVNode(IconPre, null, null)]) : "";
@@ -183,14 +186,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
183
186
  "disabled": disabled,
184
187
  "type": type,
185
188
  "class": "tiny-dropdown__border " + (state.visible ? "is-expand" : "") + (showIcon ? " is-show-icon " : "") + " " + triggerClass,
186
- "reset-time": 0
189
+ "reset-time": 0,
190
+ "aria-label": "down"
187
191
  }, {
188
192
  default: function _default2() {
189
193
  return [prefixInner, defaultTriggerElm, suffixInner];
190
194
  }
191
195
  }) : createVNode("span", {
192
196
  "ref": "trigger",
193
- "class": "is-text" + (state.visible ? " is-expand" : " is-hide") + (disabled ? " is-disabled" : "") + " " + triggerClass
197
+ "class": "is-text" + (state.visible ? " is-expand" : " is-hide") + (disabled ? " is-disabled" : "") + " " + triggerClass,
198
+ "aria-label": "down"
194
199
  }, [prefixInner, defaultTriggerElm, suffixInner]);
195
200
  }
196
201
  var defaulMenuElm = createVNode(resolveComponent("tiny-dropdown-menu"), {
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dropdown",
3
3
  "type": "module",
4
- "version": "3.27.0",
4
+ "version": "3.28.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/vue-button": "~3.27.0",
12
- "@opentinyvue/vue-button-group": "~3.27.0",
13
- "@opentinyvue/vue-common": "~3.27.0",
14
- "@opentinyvue/vue-directive": "~3.27.0",
15
- "@opentinyvue/vue-dropdown-menu": "~3.27.0",
16
- "@opentinyvue/vue-icon": "~3.27.0",
17
- "@opentinyvue/vue-renderless": "~3.27.0",
18
- "@opentinyvue/vue-theme": "~3.27.0"
11
+ "@opentinyvue/vue-button": "~3.28.0",
12
+ "@opentinyvue/vue-button-group": "~3.28.0",
13
+ "@opentinyvue/vue-common": "~3.28.0",
14
+ "@opentinyvue/vue-directive": "~3.28.0",
15
+ "@opentinyvue/vue-dropdown-menu": "~3.28.0",
16
+ "@opentinyvue/vue-icon": "~3.28.0",
17
+ "@opentinyvue/vue-renderless": "~3.28.0",
18
+ "@opentinyvue/vue-theme": "~3.28.0"
19
19
  },
20
20
  "types": "index.d.ts",
21
21
  "scripts": {