@opentinyvue/vue-dropdown 2.27.0 → 2.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 +15 -4
  2. package/package.json +9 -9
package/lib/pc.js CHANGED
@@ -180,7 +180,10 @@ var __vue2_script = defineComponent({
180
180
  },
181
181
  "class": "tiny-dropdown__caret-button " + triggerClass
182
182
  }, [h2(ButtonIconDown, {
183
- "class": visibleClass
183
+ "class": visibleClass,
184
+ "attrs": {
185
+ "aria-label": "down"
186
+ }
184
187
  })])]);
185
188
  } else {
186
189
  var _defaultSlot$;
@@ -194,7 +197,11 @@ var __vue2_script = defineComponent({
194
197
  }
195
198
  var suffixInner = showIcon ? h2("span", {
196
199
  "class": "tiny-dropdown__suffix-inner " + visibleClass
197
- }, [suffixSlot || h2(IconDown)]) : "";
200
+ }, [suffixSlot || h2(IconDown, {
201
+ "attrs": {
202
+ "aria-label": "down"
203
+ }
204
+ })]) : "";
198
205
  var prefixInner = prefixIcon || prefixSlot ? h2("span", {
199
206
  "class": "tiny-dropdown__prefix-inner " + visibleClass
200
207
  }, [prefixSlot || h2(IconPre)]) : "";
@@ -208,12 +215,16 @@ var __vue2_script = defineComponent({
208
215
  "size": size,
209
216
  "disabled": disabled,
210
217
  "type": type,
211
- "reset-time": 0
218
+ "reset-time": 0,
219
+ "aria-label": "down"
212
220
  },
213
221
  "class": "tiny-dropdown__border " + (state.visible ? "is-expand" : "") + (showIcon ? " is-show-icon " : "") + " " + triggerClass
214
222
  }, [prefixInner, defaultTriggerElm, suffixInner]) : h2("span", {
215
223
  "ref": "trigger",
216
- "class": "is-text" + (state.visible ? " is-expand" : " is-hide") + (disabled ? " is-disabled" : "") + " " + triggerClass
224
+ "class": "is-text" + (state.visible ? " is-expand" : " is-hide") + (disabled ? " is-disabled" : "") + " " + triggerClass,
225
+ "attrs": {
226
+ "aria-label": "down"
227
+ }
217
228
  }, [prefixInner, defaultTriggerElm, suffixInner]);
218
229
  }
219
230
  var defaulMenuElm = h2("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": "2.27.0",
4
+ "version": "2.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": "~2.27.0",
12
- "@opentinyvue/vue-button-group": "~2.27.0",
13
- "@opentinyvue/vue-common": "~2.27.0",
14
- "@opentinyvue/vue-directive": "~2.27.0",
15
- "@opentinyvue/vue-dropdown-menu": "~2.27.0",
16
- "@opentinyvue/vue-icon": "~2.27.0",
17
- "@opentinyvue/vue-renderless": "~3.27.0",
18
- "@opentinyvue/vue-theme": "~3.27.0"
11
+ "@opentinyvue/vue-button": "~2.28.0",
12
+ "@opentinyvue/vue-button-group": "~2.28.0",
13
+ "@opentinyvue/vue-common": "~2.28.0",
14
+ "@opentinyvue/vue-directive": "~2.28.0",
15
+ "@opentinyvue/vue-dropdown-menu": "~2.28.0",
16
+ "@opentinyvue/vue-icon": "~2.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": {