@nexdom/uimed-vue 2.6.0 → 2.6.1
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/components/navigation-menu/navigation-menu.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -149,11 +149,12 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
149
149
|
type: "list-item@6",
|
|
150
150
|
color: "tertiary"
|
|
151
151
|
}, {
|
|
152
|
-
default: withCtx(() => [createCommentVNode(" Vuetify's `list` role only allows list items, but the items are links.\n `indent` aligns the items of a group with its title, which the 24px between the icons and\n the titles (`settings.scss`) move 8px to the left of Vuetify's default indentation. It\n replaces the group's prepend width too, so it's the icon (24px) plus that gap (24px) "), createVNode(unref(VList), {
|
|
152
|
+
default: withCtx(() => [createCommentVNode(" Vuetify's `list` role only allows list items, but the items are links.\n Vuetify makes the list the only tab stop and takes its items out of the tab order, for the arrow\n keys: the items are links and buttons, so each one is a tab stop instead (the arrow keys still\n move between them), and the list stays out of the tab order.\n `indent` aligns the items of a group with its title, which the 24px between the icons and\n the titles (`settings.scss`) move 8px to the left of Vuetify's default indentation. It\n replaces the group's prepend width too, so it's the icon (24px) plus that gap (24px) "), createVNode(unref(VList), {
|
|
153
153
|
opened: unref(opened),
|
|
154
154
|
"onUpdate:opened": _cache[1] || (_cache[1] = ($event) => isRef(opened) ? opened.value = $event : null),
|
|
155
155
|
nav: "",
|
|
156
156
|
role: "group",
|
|
157
|
+
tabindex: "-1",
|
|
157
158
|
indent: 48
|
|
158
159
|
}, {
|
|
159
160
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(filteredItems.value, (item, index) => {
|
|
@@ -168,6 +169,7 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
168
169
|
"aria-expanded": isOpen,
|
|
169
170
|
"aria-selected": void 0,
|
|
170
171
|
role: void 0,
|
|
172
|
+
tabindex: "0",
|
|
171
173
|
tag: "button",
|
|
172
174
|
type: "button",
|
|
173
175
|
class: "w-100 text-start v-treeview-item--activatable-group-activator"
|
|
@@ -180,6 +182,7 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
180
182
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (childItem, childIndex) => {
|
|
181
183
|
return openBlock(), createBlock(unref(VListItem), mergeProps({ key: childIndex }, { ref_for: true }, unref(routeToListItemProps)(childItem.route), {
|
|
182
184
|
title: childItem.description,
|
|
185
|
+
tabindex: "0",
|
|
183
186
|
onClick: childItem.action
|
|
184
187
|
}), null, 16, ["title", "onClick"]);
|
|
185
188
|
}), 128))]),
|
|
@@ -188,7 +191,10 @@ var navigation_menu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
188
191
|
key: 1,
|
|
189
192
|
title: item.description,
|
|
190
193
|
"prepend-icon": unref(icons)[item.icon]
|
|
191
|
-
}, { ref_for: true }, unref(routeToListItemProps)(item.route), {
|
|
194
|
+
}, { ref_for: true }, unref(routeToListItemProps)(item.route), {
|
|
195
|
+
tabindex: "0",
|
|
196
|
+
onClick: item.action
|
|
197
|
+
}), null, 16, [
|
|
192
198
|
"title",
|
|
193
199
|
"prepend-icon",
|
|
194
200
|
"onClick"
|