@threadlabs/looma 0.44.6 → 0.45.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/README.md +24 -0
- package/components/shared/icons.js +1 -0
- package/components/ui-button/ui-button.html +3 -1
- package/components/ui-icon/ui-icon.html +1 -0
- package/components/ui-icon-button/ui-icon-button.html +3 -1
- package/components/ui-site-header/ui-site-header.html +163 -31
- package/components/ui-site-header/ui-site-header.js +82 -0
- package/dist/index.js +14 -13
- package/docs/catalog.json +99 -14
- package/editor/icons.d.ts +1 -0
- package/editor/index.js +2 -1
- package/package.json +1 -1
- package/styles/ui-button.css +3 -1
- package/styles/ui-icon-button.css +3 -1
- package/styles/ui-site-header.css +353 -27
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiSiteHeader.d.ts +2 -0
- package/vanilla/UiSiteHeader.js +72 -27
- package/vue/UiButton.vue +6 -1
- package/vue/UiIcon.vue +4 -0
- package/vue/UiIconButton.vue +6 -1
- package/vue/UiSiteHeader.d.ts +17 -5
- package/vue/UiSiteHeader.vue +599 -40
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiIcon.js +15 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiSiteHeader.js +225 -18
- package/vue/components.css +396 -36
- package/vue/editor/index.js +14 -0
package/vue/chunks/UiButton.js
CHANGED
package/vue/chunks/UiIcon.js
CHANGED
|
@@ -787,6 +787,20 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
787
787
|
tag: "path",
|
|
788
788
|
d: "M21 12a9 9 0 1 1-6.219-8.56"
|
|
789
789
|
}],
|
|
790
|
+
menu: [
|
|
791
|
+
{
|
|
792
|
+
tag: "path",
|
|
793
|
+
d: "M4 5h16"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
tag: "path",
|
|
797
|
+
d: "M4 12h16"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
tag: "path",
|
|
801
|
+
d: "M4 19h16"
|
|
802
|
+
}
|
|
803
|
+
],
|
|
790
804
|
merge: [
|
|
791
805
|
{
|
|
792
806
|
tag: "path",
|
|
@@ -1342,6 +1356,6 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
1342
1356
|
}]]);
|
|
1343
1357
|
};
|
|
1344
1358
|
}
|
|
1345
|
-
}), [["__scopeId", "data-v-
|
|
1359
|
+
}), [["__scopeId", "data-v-405f1532"]]);
|
|
1346
1360
|
//#endregion
|
|
1347
1361
|
export { UiIcon_default as t };
|
|
@@ -1,27 +1,48 @@
|
|
|
1
|
-
import { C as useReflectedProp, _ as nativeAttrs, a as checkHydratedRoot, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { h as vuePropInputs, i as checkPropInput, m as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
|
-
import {
|
|
1
|
+
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, i as attribute, o as concat, s as createDispatch, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { d as propValidityState, f as requireInputStatus, h as vuePropInputs, i as checkPropInput, m as vPropValidity, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
|
+
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
|
+
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
5
|
+
import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
4
6
|
//#region .build/vue/UiSiteHeader.vue?vue&type=script&setup=true&lang.ts
|
|
5
7
|
var _hoisted_1 = [
|
|
6
8
|
"data-ui-site-header-prop-breakpoint",
|
|
9
|
+
"data-ui-site-header-prop-close-label",
|
|
7
10
|
"data-ui-site-header-prop-label",
|
|
11
|
+
"data-ui-site-header-prop-menu-label",
|
|
8
12
|
"data-ui-site-header-prop-sticky",
|
|
9
13
|
"data-ui-site-header-state"
|
|
10
14
|
];
|
|
11
15
|
var _hoisted_2 = {
|
|
12
|
-
class: "
|
|
16
|
+
class: "identity",
|
|
13
17
|
"data-hn-ui-site-header": ""
|
|
14
18
|
};
|
|
15
19
|
var _hoisted_3 = {
|
|
16
|
-
class: "
|
|
20
|
+
class: "brand",
|
|
17
21
|
"data-hn-ui-site-header": ""
|
|
18
22
|
};
|
|
19
23
|
var _hoisted_4 = {
|
|
20
|
-
class: "
|
|
24
|
+
class: "menu",
|
|
25
|
+
"data-hn-ui-site-header": ""
|
|
26
|
+
};
|
|
27
|
+
var _hoisted_5 = {
|
|
28
|
+
class: "custom-menu",
|
|
21
29
|
"data-hn-ui-site-header": ""
|
|
22
30
|
};
|
|
23
|
-
var _hoisted_5 = ["aria-label"];
|
|
24
31
|
var _hoisted_6 = {
|
|
32
|
+
class: "automatic-menu",
|
|
33
|
+
"data-hn-ui-site-header": ""
|
|
34
|
+
};
|
|
35
|
+
var _hoisted_7 = ["role", "aria-label"];
|
|
36
|
+
var _hoisted_8 = {
|
|
37
|
+
class: "panel-heading",
|
|
38
|
+
"data-hn-ui-site-header": ""
|
|
39
|
+
};
|
|
40
|
+
var _hoisted_9 = {
|
|
41
|
+
class: "panel-title",
|
|
42
|
+
"data-hn-ui-site-header": ""
|
|
43
|
+
};
|
|
44
|
+
var _hoisted_10 = ["aria-label"];
|
|
45
|
+
var _hoisted_11 = {
|
|
25
46
|
class: "actions",
|
|
26
47
|
"data-hn-ui-site-header": ""
|
|
27
48
|
};
|
|
@@ -32,7 +53,9 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
32
53
|
__name: "UiSiteHeader",
|
|
33
54
|
props: {
|
|
34
55
|
breakpoint: { type: null },
|
|
56
|
+
closeLabel: { type: null },
|
|
35
57
|
label: { type: null },
|
|
58
|
+
menuLabel: { type: null },
|
|
36
59
|
sticky: { type: null },
|
|
37
60
|
[BINDING_INPUTS_PROP]: { type: null }
|
|
38
61
|
},
|
|
@@ -45,7 +68,7 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
45
68
|
},
|
|
46
69
|
required: false,
|
|
47
70
|
target: { attribute: "breakpoint" },
|
|
48
|
-
description: "The viewport width at which navigation
|
|
71
|
+
description: "The viewport width at which navigation changes from an automatic mobile drawer to inline links: sm is 40rem, md 48rem, and lg 64rem.",
|
|
49
72
|
values: [
|
|
50
73
|
"sm",
|
|
51
74
|
"md",
|
|
@@ -53,6 +76,16 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
53
76
|
],
|
|
54
77
|
default: "lg"
|
|
55
78
|
},
|
|
79
|
+
closeLabel: {
|
|
80
|
+
type: {
|
|
81
|
+
kind: "terminal",
|
|
82
|
+
name: "string"
|
|
83
|
+
},
|
|
84
|
+
required: false,
|
|
85
|
+
target: { attribute: "label" },
|
|
86
|
+
description: "Accessible name of the drawer's close button.",
|
|
87
|
+
default: "Close navigation"
|
|
88
|
+
},
|
|
56
89
|
label: {
|
|
57
90
|
type: {
|
|
58
91
|
kind: "terminal",
|
|
@@ -63,6 +96,16 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
63
96
|
description: "Accessible name for the primary navigation region.",
|
|
64
97
|
default: "Main"
|
|
65
98
|
},
|
|
99
|
+
menuLabel: {
|
|
100
|
+
type: {
|
|
101
|
+
kind: "terminal",
|
|
102
|
+
name: "string"
|
|
103
|
+
},
|
|
104
|
+
required: false,
|
|
105
|
+
target: { attribute: "label" },
|
|
106
|
+
description: "Accessible name of the automatic mobile menu button.",
|
|
107
|
+
default: "Open navigation"
|
|
108
|
+
},
|
|
66
109
|
sticky: {
|
|
67
110
|
type: {
|
|
68
111
|
kind: "terminal",
|
|
@@ -77,11 +120,15 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
77
120
|
const props = __props;
|
|
78
121
|
const inputTracking = vuePropInputs({
|
|
79
122
|
breakpoint: "lg",
|
|
123
|
+
closeLabel: "Close navigation",
|
|
80
124
|
label: "Main",
|
|
125
|
+
menuLabel: "Open navigation",
|
|
81
126
|
sticky: false
|
|
82
127
|
}, {
|
|
83
128
|
breakpoint: "lg",
|
|
129
|
+
closeLabel: "Close navigation",
|
|
84
130
|
label: "Main",
|
|
131
|
+
menuLabel: "Open navigation",
|
|
85
132
|
sticky: false
|
|
86
133
|
}, (name, value, source, values) => {
|
|
87
134
|
switch (name) {
|
|
@@ -89,10 +136,18 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
89
136
|
kind: "terminal",
|
|
90
137
|
name: "keyword"
|
|
91
138
|
}, true, true);
|
|
139
|
+
case "closeLabel": return checkPropInput(value, {
|
|
140
|
+
kind: "terminal",
|
|
141
|
+
name: "string"
|
|
142
|
+
}, true, true);
|
|
92
143
|
case "label": return checkPropInput(value, {
|
|
93
144
|
kind: "terminal",
|
|
94
145
|
name: "string"
|
|
95
146
|
}, true, true);
|
|
147
|
+
case "menuLabel": return checkPropInput(value, {
|
|
148
|
+
kind: "terminal",
|
|
149
|
+
name: "string"
|
|
150
|
+
}, true, true);
|
|
96
151
|
case "sticky": return checkPropInput(value, {
|
|
97
152
|
kind: "terminal",
|
|
98
153
|
name: "boolean"
|
|
@@ -107,44 +162,196 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
107
162
|
inputTracking.version.value;
|
|
108
163
|
return {
|
|
109
164
|
breakpoint: propInputs.value("breakpoint", props["breakpoint"], props[BINDING_INPUTS_PROP]),
|
|
165
|
+
closeLabel: propInputs.value("closeLabel", props["closeLabel"], props[BINDING_INPUTS_PROP]),
|
|
110
166
|
label: propInputs.value("label", props["label"], props[BINDING_INPUTS_PROP]),
|
|
167
|
+
menuLabel: propInputs.value("menuLabel", props["menuLabel"], props[BINDING_INPUTS_PROP]),
|
|
111
168
|
sticky: propInputs.value("sticky", props["sticky"], props[BINDING_INPUTS_PROP])
|
|
112
169
|
};
|
|
113
170
|
});
|
|
171
|
+
const inputStatus = (name, handlesError) => {
|
|
172
|
+
checkedProps.value;
|
|
173
|
+
inputTracking.version.value;
|
|
174
|
+
return requireInputStatus(propInputs.status(name), handlesError);
|
|
175
|
+
};
|
|
114
176
|
checkedProps.value;
|
|
115
177
|
watchSyncEffect(() => {
|
|
116
178
|
checkedProps.value;
|
|
117
179
|
});
|
|
118
180
|
const reflectedProp = useReflectedProp();
|
|
181
|
+
const hydrationInstance = getCurrentInstance();
|
|
182
|
+
const root = ref(null);
|
|
183
|
+
const triggerElement = useTemplateRef("triggerElement");
|
|
184
|
+
const panelElement = useTemplateRef("panelElement");
|
|
185
|
+
const closeElement = useTemplateRef("closeElement");
|
|
186
|
+
const navigationElement = useTemplateRef("navigationElement");
|
|
187
|
+
const enhanced = ref(false);
|
|
188
|
+
const drawer = ref(false);
|
|
189
|
+
let guardedPrevious = null;
|
|
190
|
+
const guarded = computed(() => {
|
|
191
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
192
|
+
true: "dialog",
|
|
193
|
+
false: "none"
|
|
194
|
+
}, concat(drawer.value)) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
195
|
+
return guardedPrevious = attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
196
|
+
true: "dialog",
|
|
197
|
+
false: "none"
|
|
198
|
+
}, concat(drawer.value)));
|
|
199
|
+
});
|
|
200
|
+
let guardedBindingPrevious = null;
|
|
201
|
+
const guardedBinding = computed(() => {
|
|
202
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
203
|
+
true: checkedProps.value.label,
|
|
204
|
+
false: null
|
|
205
|
+
}, concat(drawer.value)) === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
206
|
+
return guardedBindingPrevious = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
207
|
+
true: checkedProps.value.label,
|
|
208
|
+
false: null
|
|
209
|
+
}, concat(drawer.value)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
210
|
+
true: checkedProps.value.label,
|
|
211
|
+
false: null
|
|
212
|
+
}, concat(drawer.value))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
213
|
+
true: checkedProps.value.label,
|
|
214
|
+
false: null
|
|
215
|
+
}, concat(drawer.value)));
|
|
216
|
+
});
|
|
217
|
+
provide("html-next:ui-site-header:enhanced", enhanced);
|
|
218
|
+
provide("html-next:ui-site-header:drawer", drawer);
|
|
119
219
|
checkHydratedRoot("header", "ui-site-header");
|
|
120
220
|
/** The values the styles' :host() and :state() rules test. */
|
|
121
221
|
const hostState = computed(() => [
|
|
122
222
|
checkedProps.value.sticky && "sticky",
|
|
123
223
|
checkedProps.value.breakpoint && "breakpoint",
|
|
124
|
-
checkedProps.value.breakpoint != null && `breakpoint=${encodeURIComponent(checkedProps.value.breakpoint)}
|
|
224
|
+
checkedProps.value.breakpoint != null && `breakpoint=${encodeURIComponent(checkedProps.value.breakpoint)}`,
|
|
225
|
+
drawer.value && "drawer",
|
|
226
|
+
enhanced.value && "enhanced"
|
|
125
227
|
].filter(Boolean).join(" "));
|
|
228
|
+
const dispatch = createDispatch(root);
|
|
229
|
+
useComponentHost(() => import("@threadlabs/looma/components/ui-site-header/ui-site-header.js"), {
|
|
230
|
+
root,
|
|
231
|
+
module: true,
|
|
232
|
+
dispatch,
|
|
233
|
+
acceptsState: (name, keys, value) => acceptsControllerWrite(value, {
|
|
234
|
+
enhanced: {
|
|
235
|
+
kind: "terminal",
|
|
236
|
+
name: "boolean"
|
|
237
|
+
},
|
|
238
|
+
drawer: {
|
|
239
|
+
kind: "terminal",
|
|
240
|
+
name: "boolean"
|
|
241
|
+
}
|
|
242
|
+
}[name], keys),
|
|
243
|
+
initials: {
|
|
244
|
+
enhanced: false,
|
|
245
|
+
drawer: false
|
|
246
|
+
},
|
|
247
|
+
controllerSource: {
|
|
248
|
+
specifier: "../components/ui-site-header/ui-site-header.js",
|
|
249
|
+
definition: "./components/ui-site-header/ui-site-header.html"
|
|
250
|
+
},
|
|
251
|
+
props: checkedProps,
|
|
252
|
+
inputs: propInputs,
|
|
253
|
+
inputTracking,
|
|
254
|
+
propInputs: (name) => {
|
|
255
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
256
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
257
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
258
|
+
},
|
|
259
|
+
propNames: [
|
|
260
|
+
"breakpoint",
|
|
261
|
+
"closeLabel",
|
|
262
|
+
"label",
|
|
263
|
+
"menuLabel",
|
|
264
|
+
"sticky"
|
|
265
|
+
],
|
|
266
|
+
propValidity: (name) => propValidityState({
|
|
267
|
+
contract: propValidityContract,
|
|
268
|
+
values: { ...props }
|
|
269
|
+
}, name),
|
|
270
|
+
refs: {
|
|
271
|
+
trigger: triggerElement,
|
|
272
|
+
panel: panelElement,
|
|
273
|
+
close: closeElement,
|
|
274
|
+
navigation: navigationElement
|
|
275
|
+
},
|
|
276
|
+
state: {
|
|
277
|
+
enhanced,
|
|
278
|
+
drawer
|
|
279
|
+
}
|
|
280
|
+
});
|
|
126
281
|
return (_ctx, _cache) => {
|
|
127
282
|
return withDirectives((openBlock(), createElementBlock("header", mergeProps({ class: "ui-site-header" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
128
283
|
"data-hn": "",
|
|
129
284
|
"data-hn-ui-site-header": "",
|
|
130
285
|
"data-ui-site-header-prop-breakpoint": unref(reflectedProp)("breakpoint", "breakpoint", checkedProps.value.breakpoint, void 0, false),
|
|
286
|
+
"data-ui-site-header-prop-close-label": unref(reflectedProp)("closeLabel", "close-label", checkedProps.value.closeLabel, void 0, false),
|
|
131
287
|
"data-ui-site-header-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
|
|
288
|
+
"data-ui-site-header-prop-menu-label": unref(reflectedProp)("menuLabel", "menu-label", checkedProps.value.menuLabel, void 0, false),
|
|
132
289
|
"data-ui-site-header-prop-sticky": unref(reflectedProp)("sticky", "sticky", checkedProps.value.sticky, void 0, false),
|
|
133
|
-
"data-ui-site-header-state": hostState.value || void 0
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
290
|
+
"data-ui-site-header-state": hostState.value || void 0,
|
|
291
|
+
ref_key: "root",
|
|
292
|
+
ref: root
|
|
293
|
+
}), [createElementVNode("div", _hoisted_2, [
|
|
294
|
+
createElementVNode("div", _hoisted_3, [renderSlot(_ctx.$slots, "brand", {}, void 0, true)]),
|
|
295
|
+
createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "menu", {}, void 0, true)]), createElementVNode("div", _hoisted_6, [createVNode(UiIconButton_default, mergeProps({
|
|
296
|
+
class: "ui-icon-button",
|
|
297
|
+
size: "sm",
|
|
298
|
+
"aria-haspopup": "dialog",
|
|
299
|
+
"aria-expanded": "false",
|
|
300
|
+
label: checkedProps.value.menuLabel
|
|
301
|
+
}, { [unref(BINDING_INPUTS_PROP)]: { label: () => ({
|
|
302
|
+
value: checkedProps.value.menuLabel,
|
|
303
|
+
status: inputStatus("menuLabel", true)
|
|
304
|
+
}) } }, {
|
|
305
|
+
ref_key: "triggerElement",
|
|
306
|
+
ref: triggerElement
|
|
307
|
+
}), {
|
|
308
|
+
default: withCtx(() => [createVNode(UiIcon_default, {
|
|
309
|
+
class: "ui-icon",
|
|
310
|
+
name: "menu"
|
|
311
|
+
})]),
|
|
312
|
+
_: 1
|
|
313
|
+
}, 16, ["label"])])]),
|
|
314
|
+
createElementVNode("dialog", {
|
|
315
|
+
class: "navigation-panel",
|
|
316
|
+
"data-hn-ui-site-header": "",
|
|
317
|
+
open: true,
|
|
318
|
+
role: guarded.value,
|
|
319
|
+
"aria-label": guardedBinding.value,
|
|
320
|
+
ref_key: "panelElement",
|
|
321
|
+
ref: panelElement
|
|
322
|
+
}, [createElementVNode("div", _hoisted_8, [
|
|
323
|
+
createElementVNode("span", _hoisted_9, toDisplayString(checkedProps.value.label), 1),
|
|
324
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
325
|
+
createVNode(UiIconButton_default, mergeProps({
|
|
326
|
+
class: "ui-icon-button",
|
|
327
|
+
size: "sm",
|
|
328
|
+
label: checkedProps.value.closeLabel
|
|
329
|
+
}, { [unref(BINDING_INPUTS_PROP)]: { label: () => ({
|
|
330
|
+
value: checkedProps.value.closeLabel,
|
|
331
|
+
status: inputStatus("closeLabel", true)
|
|
332
|
+
}) } }, {
|
|
333
|
+
ref_key: "closeElement",
|
|
334
|
+
ref: closeElement
|
|
335
|
+
}), {
|
|
336
|
+
default: withCtx(() => [createVNode(UiIcon_default, {
|
|
337
|
+
class: "ui-icon",
|
|
338
|
+
name: "x"
|
|
339
|
+
})]),
|
|
340
|
+
_: 1
|
|
341
|
+
}, 16, ["label"])
|
|
342
|
+
]), createElementVNode("nav", {
|
|
137
343
|
class: "navigation",
|
|
138
344
|
"data-hn-ui-site-header": "",
|
|
139
|
-
"aria-label": checkedProps.value.label ?? void 0
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
345
|
+
"aria-label": checkedProps.value.label ?? void 0,
|
|
346
|
+
ref_key: "navigationElement",
|
|
347
|
+
ref: navigationElement
|
|
348
|
+
}, [renderSlot(_ctx.$slots, "navigation", {}, void 0, true)], 8, _hoisted_10)], 8, _hoisted_7)
|
|
349
|
+
]), createElementVNode("div", _hoisted_11, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
143
350
|
contract: propValidityContract,
|
|
144
351
|
values: { ...props }
|
|
145
352
|
}]]);
|
|
146
353
|
};
|
|
147
354
|
}
|
|
148
|
-
}), [["__scopeId", "data-v-
|
|
355
|
+
}), [["__scopeId", "data-v-895d414f"]]);
|
|
149
356
|
//#endregion
|
|
150
357
|
export { UiSiteHeader_default as t };
|