@threadlabs/looma 0.45.2 → 0.46.2
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/EXPRESSIVE-MARKDOWN.md +23 -17
- package/README.md +4 -2
- package/components/ui-section/ui-section.html +18 -7
- package/components/ui-site-header/ui-site-header.html +25 -9
- package/components/ui-site-header/ui-site-header.js +4 -3
- package/dist/index.js +1 -1
- package/docs/catalog.json +4 -4
- package/editor/chunks/expressmark.js +1562 -0
- package/editor/chunks/extensions.js +327 -1051
- package/editor/expressmark.d.ts +17 -5
- package/editor/expressmark.js +1 -1037
- package/editor/extensions/footnote.d.ts +7 -12
- package/editor/extensions/index.d.ts +2 -2
- package/editor/extensions/index.js +3 -3
- package/editor/extensions/link-definition.d.ts +10 -0
- package/editor/index.js +3 -3
- package/markdown/fixtures.d.ts +1 -1
- package/markdown/fixtures.js +22 -16
- package/markdown/index.d.ts +2 -3
- package/markdown/index.js +2 -3
- package/package.json +2 -9
- package/styles/ui-section.css +12 -3
- package/styles/ui-site-header.css +54 -12
- package/vanilla/UiSection.js +6 -5
- package/vanilla/UiSiteHeader.js +29 -44
- package/vue/UiSection.vue +19 -12
- package/vue/UiSiteHeader.d.ts +2 -2
- package/vue/UiSiteHeader.vue +157 -79
- package/vue/chunks/UiSection.js +32 -29
- package/vue/chunks/UiSiteHeader.js +27 -49
- package/vue/components.css +151 -15
- package/vue/editor/LoomaEditor.d.ts +1 -1
- package/vue/editor/index.js +225 -186
- package/editor/chunks/reference-display.js +0 -453
- package/editor/extensions/markdown.d.ts +0 -16
- package/markdown/markdown-it.d.ts +0 -21
- package/markdown/markdown-it.js +0 -562
package/vue/chunks/UiSection.js
CHANGED
|
@@ -14,49 +14,53 @@ var _hoisted_3 = {
|
|
|
14
14
|
"data-hn-ui-section": ""
|
|
15
15
|
};
|
|
16
16
|
var _hoisted_4 = {
|
|
17
|
-
class: "
|
|
17
|
+
class: "content",
|
|
18
18
|
"data-hn-ui-section": ""
|
|
19
19
|
};
|
|
20
20
|
var _hoisted_5 = {
|
|
21
|
-
class: "
|
|
21
|
+
class: "head",
|
|
22
22
|
"data-hn-ui-section": ""
|
|
23
23
|
};
|
|
24
24
|
var _hoisted_6 = {
|
|
25
|
-
class: "
|
|
25
|
+
class: "copy",
|
|
26
26
|
"data-hn-ui-section": ""
|
|
27
27
|
};
|
|
28
28
|
var _hoisted_7 = {
|
|
29
|
-
class: "
|
|
29
|
+
class: "description",
|
|
30
30
|
"data-hn-ui-section": ""
|
|
31
31
|
};
|
|
32
32
|
var _hoisted_8 = {
|
|
33
|
+
class: "actions",
|
|
34
|
+
"data-hn-ui-section": ""
|
|
35
|
+
};
|
|
36
|
+
var _hoisted_9 = {
|
|
33
37
|
class: "body",
|
|
34
38
|
"data-hn-ui-section": ""
|
|
35
39
|
};
|
|
36
|
-
var
|
|
40
|
+
var _hoisted_10 = [
|
|
37
41
|
"data-ui-section-prop-heading",
|
|
38
42
|
"data-ui-section-prop-tone",
|
|
39
43
|
"data-ui-section-prop-variant",
|
|
40
44
|
"data-ui-section-state"
|
|
41
45
|
];
|
|
42
|
-
var
|
|
46
|
+
var _hoisted_11 = {
|
|
43
47
|
class: "head",
|
|
44
48
|
"data-hn-ui-section": ""
|
|
45
49
|
};
|
|
46
|
-
var
|
|
50
|
+
var _hoisted_12 = {
|
|
47
51
|
class: "copy",
|
|
48
52
|
"data-hn-ui-section": ""
|
|
49
53
|
};
|
|
50
|
-
var
|
|
51
|
-
var
|
|
54
|
+
var _hoisted_13 = ["hidden"];
|
|
55
|
+
var _hoisted_14 = {
|
|
52
56
|
class: "description",
|
|
53
57
|
"data-hn-ui-section": ""
|
|
54
58
|
};
|
|
55
|
-
var
|
|
59
|
+
var _hoisted_15 = {
|
|
56
60
|
class: "actions",
|
|
57
61
|
"data-hn-ui-section": ""
|
|
58
62
|
};
|
|
59
|
-
var
|
|
63
|
+
var _hoisted_16 = {
|
|
60
64
|
class: "body",
|
|
61
65
|
"data-hn-ui-section": ""
|
|
62
66
|
};
|
|
@@ -175,20 +179,19 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
175
179
|
"data-ui-section-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
176
180
|
"data-ui-section-state": hostState.value || void 0,
|
|
177
181
|
ref: "@html-next/root"
|
|
178
|
-
}), [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
createElementVNode("span", _hoisted_5, [createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]),
|
|
182
|
+
}), [createElementVNode("legend", {
|
|
183
|
+
class: "legend",
|
|
184
|
+
"data-hn-ui-section": "",
|
|
185
|
+
hidden: !checkedProps.value.heading
|
|
186
|
+
}, [createElementVNode("h2", _hoisted_3, toDisplayString(checkedProps.value.heading), 1)], 8, _hoisted_2), createElementVNode("span", _hoisted_4, [
|
|
187
|
+
createElementVNode("span", _hoisted_5, [
|
|
188
|
+
createElementVNode("span", _hoisted_6, [createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]),
|
|
186
189
|
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
187
|
-
createElementVNode("span",
|
|
190
|
+
createElementVNode("span", _hoisted_8, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])
|
|
188
191
|
]),
|
|
189
192
|
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
190
|
-
createElementVNode("span",
|
|
191
|
-
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
193
|
+
createElementVNode("span", _hoisted_9, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])
|
|
194
|
+
])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
192
195
|
contract: propValidityContract,
|
|
193
196
|
values: { ...props }
|
|
194
197
|
}]]) : withDirectives((openBlock(), createElementBlock("section", mergeProps({
|
|
@@ -203,23 +206,23 @@ var UiSection_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
203
206
|
"data-ui-section-state": hostState.value || void 0,
|
|
204
207
|
ref: "@html-next/root"
|
|
205
208
|
}), [
|
|
206
|
-
createElementVNode("span",
|
|
207
|
-
createElementVNode("span",
|
|
209
|
+
createElementVNode("span", _hoisted_11, [
|
|
210
|
+
createElementVNode("span", _hoisted_12, [createElementVNode("h2", {
|
|
208
211
|
class: "heading",
|
|
209
212
|
"data-hn-ui-section": "",
|
|
210
213
|
hidden: !checkedProps.value.heading
|
|
211
|
-
}, toDisplayString(checkedProps.value.heading), 9,
|
|
214
|
+
}, toDisplayString(checkedProps.value.heading), 9, _hoisted_13), createElementVNode("span", _hoisted_14, [renderSlot(_ctx.$slots, "description", {}, void 0, true)])]),
|
|
212
215
|
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
213
|
-
createElementVNode("span",
|
|
216
|
+
createElementVNode("span", _hoisted_15, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])
|
|
214
217
|
]),
|
|
215
218
|
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
216
|
-
createElementVNode("span",
|
|
217
|
-
], 16,
|
|
219
|
+
createElementVNode("span", _hoisted_16, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])
|
|
220
|
+
], 16, _hoisted_10)), [[unref(vPropValidity), {
|
|
218
221
|
contract: propValidityContract,
|
|
219
222
|
values: { ...props }
|
|
220
223
|
}]]);
|
|
221
224
|
};
|
|
222
225
|
}
|
|
223
|
-
}), [["__scopeId", "data-v-
|
|
226
|
+
}), [["__scopeId", "data-v-c33b404c"]]);
|
|
224
227
|
//#endregion
|
|
225
228
|
export { UiSection_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot,
|
|
1
|
+
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, s as createDispatch, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
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
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
@@ -32,16 +32,16 @@ var _hoisted_6 = {
|
|
|
32
32
|
class: "automatic-menu",
|
|
33
33
|
"data-hn-ui-site-header": ""
|
|
34
34
|
};
|
|
35
|
-
var _hoisted_7 = ["
|
|
36
|
-
var _hoisted_8 =
|
|
35
|
+
var _hoisted_7 = ["aria-label"];
|
|
36
|
+
var _hoisted_8 = ["aria-label"];
|
|
37
|
+
var _hoisted_9 = {
|
|
37
38
|
class: "panel-heading",
|
|
38
39
|
"data-hn-ui-site-header": ""
|
|
39
40
|
};
|
|
40
|
-
var
|
|
41
|
+
var _hoisted_10 = {
|
|
41
42
|
class: "panel-title",
|
|
42
43
|
"data-hn-ui-site-header": ""
|
|
43
44
|
};
|
|
44
|
-
var _hoisted_10 = ["aria-label"];
|
|
45
45
|
var _hoisted_11 = {
|
|
46
46
|
class: "actions",
|
|
47
47
|
"data-hn-ui-site-header": ""
|
|
@@ -181,39 +181,12 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
181
181
|
const hydrationInstance = getCurrentInstance();
|
|
182
182
|
const root = ref(null);
|
|
183
183
|
const triggerElement = useTemplateRef("triggerElement");
|
|
184
|
+
const inlineElement = useTemplateRef("inlineElement");
|
|
185
|
+
const navigationElement = useTemplateRef("navigationElement");
|
|
184
186
|
const panelElement = useTemplateRef("panelElement");
|
|
185
187
|
const closeElement = useTemplateRef("closeElement");
|
|
186
|
-
const navigationElement = useTemplateRef("navigationElement");
|
|
187
188
|
const enhanced = ref(false);
|
|
188
189
|
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
190
|
provide("html-next:ui-site-header:enhanced", enhanced);
|
|
218
191
|
provide("html-next:ui-site-header:drawer", drawer);
|
|
219
192
|
checkHydratedRoot("header", "ui-site-header");
|
|
@@ -269,9 +242,10 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
269
242
|
}, name),
|
|
270
243
|
refs: {
|
|
271
244
|
trigger: triggerElement,
|
|
245
|
+
inline: inlineElement,
|
|
246
|
+
navigation: navigationElement,
|
|
272
247
|
panel: panelElement,
|
|
273
|
-
close: closeElement
|
|
274
|
-
navigation: navigationElement
|
|
248
|
+
close: closeElement
|
|
275
249
|
},
|
|
276
250
|
state: {
|
|
277
251
|
enhanced,
|
|
@@ -311,16 +285,26 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
311
285
|
})]),
|
|
312
286
|
_: 1
|
|
313
287
|
}, 16, ["label"])])]),
|
|
288
|
+
createElementVNode("div", {
|
|
289
|
+
class: "inline-navigation",
|
|
290
|
+
"data-hn-ui-site-header": "",
|
|
291
|
+
ref_key: "inlineElement",
|
|
292
|
+
ref: inlineElement
|
|
293
|
+
}, [createElementVNode("nav", {
|
|
294
|
+
class: "navigation",
|
|
295
|
+
"data-hn-ui-site-header": "",
|
|
296
|
+
"aria-label": checkedProps.value.label ?? void 0,
|
|
297
|
+
ref_key: "navigationElement",
|
|
298
|
+
ref: navigationElement
|
|
299
|
+
}, [renderSlot(_ctx.$slots, "navigation", {}, void 0, true)], 8, _hoisted_7)], 512),
|
|
314
300
|
createElementVNode("dialog", {
|
|
315
301
|
class: "navigation-panel",
|
|
316
302
|
"data-hn-ui-site-header": "",
|
|
317
|
-
|
|
318
|
-
role: guarded.value,
|
|
319
|
-
"aria-label": guardedBinding.value,
|
|
303
|
+
"aria-label": checkedProps.value.label ?? void 0,
|
|
320
304
|
ref_key: "panelElement",
|
|
321
305
|
ref: panelElement
|
|
322
|
-
}, [createElementVNode("div",
|
|
323
|
-
createElementVNode("span",
|
|
306
|
+
}, [createElementVNode("div", _hoisted_9, [
|
|
307
|
+
createElementVNode("span", _hoisted_10, toDisplayString(checkedProps.value.label), 1),
|
|
324
308
|
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
325
309
|
createVNode(UiIconButton_default, mergeProps({
|
|
326
310
|
class: "ui-icon-button",
|
|
@@ -339,19 +323,13 @@ var UiSiteHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
339
323
|
})]),
|
|
340
324
|
_: 1
|
|
341
325
|
}, 16, ["label"])
|
|
342
|
-
]),
|
|
343
|
-
class: "navigation",
|
|
344
|
-
"data-hn-ui-site-header": "",
|
|
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)
|
|
326
|
+
])], 8, _hoisted_8)
|
|
349
327
|
]), createElementVNode("div", _hoisted_11, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
350
328
|
contract: propValidityContract,
|
|
351
329
|
values: { ...props }
|
|
352
330
|
}]]);
|
|
353
331
|
};
|
|
354
332
|
}
|
|
355
|
-
}), [["__scopeId", "data-v-
|
|
333
|
+
}), [["__scopeId", "data-v-3bb48d57"]]);
|
|
356
334
|
//#endregion
|
|
357
335
|
export { UiSiteHeader_default as t };
|
package/vue/components.css
CHANGED
|
@@ -9608,19 +9608,27 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
9608
9608
|
box-sizing: border-box !important;
|
|
9609
9609
|
margin: 0 !important;
|
|
9610
9610
|
padding-block-start: var(--ui-space-4) !important;
|
|
9611
|
+
padding-inline: calc(var(--ui-space-5) - var(--ui-space-2)) !important;
|
|
9611
9612
|
}
|
|
9612
9613
|
.legend:where([data-hn-ui-section]) {
|
|
9613
9614
|
max-inline-size: 100%;
|
|
9614
9615
|
box-sizing: border-box !important;
|
|
9615
9616
|
padding-inline: var(--ui-space-2) !important;
|
|
9616
|
-
margin
|
|
9617
|
+
margin: 0 !important;
|
|
9617
9618
|
overflow-wrap: anywhere;
|
|
9618
9619
|
}
|
|
9619
9620
|
.legend .heading:where([data-hn-ui-section]) {
|
|
9620
9621
|
transform: translateY(-1px);
|
|
9621
9622
|
}
|
|
9622
|
-
|
|
9623
|
-
|
|
9623
|
+
.content:where([data-hn-ui-section]) {
|
|
9624
|
+
display: flex !important;
|
|
9625
|
+
flex-direction: column !important;
|
|
9626
|
+
gap: var(--ui-space-4) !important;
|
|
9627
|
+
padding-inline: var(--ui-space-2) !important;
|
|
9628
|
+
min-inline-size: 0;
|
|
9629
|
+
}
|
|
9630
|
+
:scope[data-ui-section-state~="variant=fieldset"] .body:where([data-hn-ui-section]) {
|
|
9631
|
+
display: contents !important;
|
|
9624
9632
|
}
|
|
9625
9633
|
:scope[data-ui-section-state~="variant=fieldset"]
|
|
9626
9634
|
.head:has(.description:empty):has(.actions:empty):where([data-hn-ui-section]) {
|
|
@@ -10066,7 +10074,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10066
10074
|
}
|
|
10067
10075
|
|
|
10068
10076
|
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
10069
|
-
/*
|
|
10077
|
+
/* One live navigation stays inline until its native mobile dialog opens. */
|
|
10078
|
+
/* Authored native sidebar triggers remain usable before JavaScript upgrades the header. */
|
|
10070
10079
|
@scope (.ui-site-header) to ([data-hn]) {
|
|
10071
10080
|
:scope:where([data-hn-ui-site-header]) {
|
|
10072
10081
|
box-sizing: border-box !important;
|
|
@@ -10164,7 +10173,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10164
10173
|
column-gap: var(--ui-space-4) !important;
|
|
10165
10174
|
}
|
|
10166
10175
|
}
|
|
10167
|
-
.navigation
|
|
10176
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10168
10177
|
position: static;
|
|
10169
10178
|
display: flex !important;
|
|
10170
10179
|
align-items: baseline !important;
|
|
@@ -10176,16 +10185,14 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10176
10185
|
background: transparent;
|
|
10177
10186
|
color: inherit;
|
|
10178
10187
|
}
|
|
10179
|
-
|
|
10188
|
+
:scope[data-ui-site-header-state~="drawer"]
|
|
10189
|
+
.inline-navigation:where([data-hn-ui-site-header]),.navigation-panel:not([open]):where([data-hn-ui-site-header]),.menu:where([data-hn-ui-site-header]),.panel-heading:where([data-hn-ui-site-header]) {
|
|
10180
10190
|
display: none !important;
|
|
10181
10191
|
}
|
|
10182
10192
|
:scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header]) {
|
|
10183
10193
|
flex-wrap: nowrap !important;
|
|
10184
10194
|
align-items: center !important;
|
|
10185
10195
|
}
|
|
10186
|
-
:scope[data-ui-site-header-state~="drawer"] .brand:where([data-hn-ui-site-header]) {
|
|
10187
|
-
flex: 1 1 0;
|
|
10188
|
-
}
|
|
10189
10196
|
:scope[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty))
|
|
10190
10197
|
.menu:where([data-hn-ui-site-header]) {
|
|
10191
10198
|
display: grid !important;
|
|
@@ -10193,6 +10200,72 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10193
10200
|
justify-items: center !important;
|
|
10194
10201
|
flex: none;
|
|
10195
10202
|
}
|
|
10203
|
+
@media (width < 40rem) {
|
|
10204
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10205
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10206
|
+
flex-wrap: nowrap !important;
|
|
10207
|
+
align-items: center !important;
|
|
10208
|
+
}
|
|
10209
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10210
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10211
|
+
flex: 1 1 0;
|
|
10212
|
+
}
|
|
10213
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10214
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10215
|
+
display: grid !important;
|
|
10216
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10217
|
+
justify-items: center !important;
|
|
10218
|
+
flex: none;
|
|
10219
|
+
}
|
|
10220
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10221
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10222
|
+
display: none !important;
|
|
10223
|
+
}
|
|
10224
|
+
}
|
|
10225
|
+
@media (width < 48rem) {
|
|
10226
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10227
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10228
|
+
flex-wrap: nowrap !important;
|
|
10229
|
+
align-items: center !important;
|
|
10230
|
+
}
|
|
10231
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10232
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10233
|
+
flex: 1 1 0;
|
|
10234
|
+
}
|
|
10235
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10236
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10237
|
+
display: grid !important;
|
|
10238
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10239
|
+
justify-items: center !important;
|
|
10240
|
+
flex: none;
|
|
10241
|
+
}
|
|
10242
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10243
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10244
|
+
display: none !important;
|
|
10245
|
+
}
|
|
10246
|
+
}
|
|
10247
|
+
@media (width < 64rem) {
|
|
10248
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10249
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10250
|
+
flex-wrap: nowrap !important;
|
|
10251
|
+
align-items: center !important;
|
|
10252
|
+
}
|
|
10253
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10254
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10255
|
+
flex: 1 1 0;
|
|
10256
|
+
}
|
|
10257
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10258
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10259
|
+
display: grid !important;
|
|
10260
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10261
|
+
justify-items: center !important;
|
|
10262
|
+
flex: none;
|
|
10263
|
+
}
|
|
10264
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10265
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10266
|
+
display: none !important;
|
|
10267
|
+
}
|
|
10268
|
+
}
|
|
10196
10269
|
.automatic-menu:where([data-hn-ui-site-header]) {
|
|
10197
10270
|
display: grid !important;
|
|
10198
10271
|
justify-items: center !important;
|
|
@@ -10389,7 +10462,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10389
10462
|
column-gap: var(--ui-space-4) !important;
|
|
10390
10463
|
}
|
|
10391
10464
|
}
|
|
10392
|
-
.navigation
|
|
10465
|
+
.inline-navigation:where(:scope, :scope *):where([data-hn-ui-site-header]) {
|
|
10393
10466
|
position: static;
|
|
10394
10467
|
display: flex !important;
|
|
10395
10468
|
align-items: baseline !important;
|
|
@@ -10401,7 +10474,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10401
10474
|
background: transparent;
|
|
10402
10475
|
color: inherit;
|
|
10403
10476
|
}
|
|
10404
|
-
|
|
10477
|
+
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
10478
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]),.navigation-panel:not([open]):where(:scope, :scope *):where([data-hn-ui-site-header]),.menu:where(:scope, :scope *):where([data-hn-ui-site-header]),.panel-heading:where(:scope, :scope *):where([data-hn-ui-site-header]) {
|
|
10405
10479
|
display: none !important;
|
|
10406
10480
|
}
|
|
10407
10481
|
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
@@ -10409,10 +10483,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10409
10483
|
flex-wrap: nowrap !important;
|
|
10410
10484
|
align-items: center !important;
|
|
10411
10485
|
}
|
|
10412
|
-
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
10413
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10414
|
-
flex: 1 1 0;
|
|
10415
|
-
}
|
|
10416
10486
|
:where(.ui-site-header)[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty))
|
|
10417
10487
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10418
10488
|
display: grid !important;
|
|
@@ -10420,6 +10490,72 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10420
10490
|
justify-items: center !important;
|
|
10421
10491
|
flex: none;
|
|
10422
10492
|
}
|
|
10493
|
+
@media (width < 40rem) {
|
|
10494
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10495
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10496
|
+
flex-wrap: nowrap !important;
|
|
10497
|
+
align-items: center !important;
|
|
10498
|
+
}
|
|
10499
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10500
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10501
|
+
flex: 1 1 0;
|
|
10502
|
+
}
|
|
10503
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10504
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10505
|
+
display: grid !important;
|
|
10506
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10507
|
+
justify-items: center !important;
|
|
10508
|
+
flex: none;
|
|
10509
|
+
}
|
|
10510
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10511
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10512
|
+
display: none !important;
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10515
|
+
@media (width < 48rem) {
|
|
10516
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10517
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10518
|
+
flex-wrap: nowrap !important;
|
|
10519
|
+
align-items: center !important;
|
|
10520
|
+
}
|
|
10521
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10522
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10523
|
+
flex: 1 1 0;
|
|
10524
|
+
}
|
|
10525
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10526
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10527
|
+
display: grid !important;
|
|
10528
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10529
|
+
justify-items: center !important;
|
|
10530
|
+
flex: none;
|
|
10531
|
+
}
|
|
10532
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10533
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10534
|
+
display: none !important;
|
|
10535
|
+
}
|
|
10536
|
+
}
|
|
10537
|
+
@media (width < 64rem) {
|
|
10538
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10539
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10540
|
+
flex-wrap: nowrap !important;
|
|
10541
|
+
align-items: center !important;
|
|
10542
|
+
}
|
|
10543
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10544
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10545
|
+
flex: 1 1 0;
|
|
10546
|
+
}
|
|
10547
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10548
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10549
|
+
display: grid !important;
|
|
10550
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10551
|
+
justify-items: center !important;
|
|
10552
|
+
flex: none;
|
|
10553
|
+
}
|
|
10554
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10555
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10556
|
+
display: none !important;
|
|
10557
|
+
}
|
|
10558
|
+
}
|
|
10423
10559
|
.automatic-menu:where(:scope, :scope *):where([data-hn-ui-site-header]) {
|
|
10424
10560
|
display: grid !important;
|
|
10425
10561
|
justify-items: center !important;
|
|
@@ -407,10 +407,10 @@ export declare const LoomaEditor: import("vue").DefineComponent<import("vue").Ex
|
|
|
407
407
|
placeholder: string;
|
|
408
408
|
extensions: LoomaEditorExtensions | undefined;
|
|
409
409
|
editable: boolean;
|
|
410
|
+
references: Readonly<Record<string, import("@threadlabs/looma/editor").LoomaReferenceDisplay>> | undefined;
|
|
410
411
|
linkBaseUrl: string;
|
|
411
412
|
disableHighlight: boolean;
|
|
412
413
|
codeLanguages: Readonly<Record<string, import("highlight.js").LanguageFn>> | null;
|
|
413
|
-
references: Readonly<Record<string, import("@threadlabs/looma/editor").LoomaReferenceDisplay>> | undefined;
|
|
414
414
|
toolbarOpen: boolean;
|
|
415
415
|
modelValue: JSONContent;
|
|
416
416
|
slashCommands: LoomaEditorSlashCommands | undefined;
|