@lvce-editor/virtual-dom 1.3.0 → 1.5.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.
package/dist/index.js CHANGED
@@ -405,6 +405,9 @@ var setProp = ($Element, key, value, eventMap, newEventMap) => {
405
405
  $Element.removeAttribute("aria-owns");
406
406
  }
407
407
  break;
408
+ case "ariaControls":
409
+ $Element.setAttribute("aria-controls", value);
410
+ break;
408
411
  case "inputType":
409
412
  $Element.type = value;
410
413
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/virtual-dom",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -44,6 +44,9 @@ export const setProp = (
44
44
  $Element.removeAttribute('aria-owns')
45
45
  }
46
46
  break
47
+ case 'ariaControls':
48
+ $Element.setAttribute('aria-controls', value)
49
+ break
47
50
  case 'inputType':
48
51
  // @ts-ignore
49
52
  $Element.type = value