aloha-vue 1.2.183 → 1.2.184
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
CHANGED
|
@@ -442,16 +442,24 @@ export default {
|
|
|
442
442
|
disabled: !this.inBody,
|
|
443
443
|
}, [
|
|
444
444
|
this.isMenuRendered && withDirectives(h(
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
"div",
|
|
446
|
+
{
|
|
447
|
+
ref: "dropdownRef",
|
|
448
|
+
role: "application",
|
|
449
|
+
"aria-labelledby": this.idLocal,
|
|
450
|
+
ariaHidden: !this.statusExpanded,
|
|
451
|
+
...this.dropdownAttributesLocal,
|
|
452
|
+
},
|
|
447
453
|
[
|
|
448
|
-
this
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
454
|
+
h(this.dropdownTag, {}, [
|
|
455
|
+
this.$slots.dropdown && this.$slots.dropdown(),
|
|
456
|
+
this.hasActions && this.actionsFiltered.map((action, actionIndex) => {
|
|
457
|
+
return h(ADropdownAction, {
|
|
458
|
+
key: actionIndex,
|
|
459
|
+
action,
|
|
460
|
+
}, this.$slots);
|
|
461
|
+
}),
|
|
462
|
+
]),
|
|
455
463
|
],
|
|
456
464
|
), [
|
|
457
465
|
[AOnHooks, {
|
|
@@ -52,10 +52,6 @@ export default function AttributesAPI(props, {
|
|
|
52
52
|
|
|
53
53
|
const dropdownAttributesLocal = computed(() => {
|
|
54
54
|
const DROPDOWN_ATTRIBUTES = cloneDeep(dropdownAttributes.value);
|
|
55
|
-
DROPDOWN_ATTRIBUTES.ref = "dropdownRef";
|
|
56
|
-
DROPDOWN_ATTRIBUTES.role = "application";
|
|
57
|
-
DROPDOWN_ATTRIBUTES["aria-labelledby"] = idLocal.value;
|
|
58
|
-
DROPDOWN_ATTRIBUTES["aria-hidden"] = !statusExpanded.value;
|
|
59
55
|
DROPDOWN_ATTRIBUTES.class = ["a_dropdown__menu", dropdownClass.value, {
|
|
60
56
|
a_dropdown__menu_show: statusExpanded.value,
|
|
61
57
|
}];
|