@threadlabs/looma 0.45.1 → 0.46.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/EXPRESSIVE-MARKDOWN.md +23 -17
- package/components/ui-section/ui-section.html +23 -9
- package/components/ui-site-header/ui-site-header.html +25 -6
- package/components/ui-site-header/ui-site-header.js +4 -3
- package/dist/index.js +1 -1
- package/docs/catalog.json +5 -8
- 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 +17 -5
- package/styles/ui-site-header.css +54 -6
- package/vanilla/UiSection.js +6 -5
- package/vanilla/UiSiteHeader.js +29 -44
- package/vue/UiSection.vue +24 -14
- package/vue/UiSiteHeader.d.ts +2 -2
- package/vue/UiSiteHeader.vue +157 -72
- package/vue/chunks/UiSection.js +32 -29
- package/vue/chunks/UiSiteHeader.js +27 -49
- package/vue/components.css +155 -10
- 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-60209907"]]);
|
|
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);
|
|
9622
|
+
}
|
|
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;
|
|
9621
9629
|
}
|
|
9622
|
-
:scope[data-ui-section-state~="variant=fieldset"] .
|
|
9623
|
-
|
|
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]) {
|
|
@@ -9631,6 +9639,9 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
9631
9639
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
9632
9640
|
}
|
|
9633
9641
|
:scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]),:scope[data-ui-section-state~="variant=fieldset"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]) {
|
|
9642
|
+
border-color: color-mix(in srgb, var(--ui-danger) 45%, var(--ui-border-default));
|
|
9643
|
+
}
|
|
9644
|
+
:scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]) {
|
|
9634
9645
|
--_ui-selection-context-surface: light-dark(
|
|
9635
9646
|
oklch(from var(--ui-danger-soft) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
9636
9647
|
oklch(from var(--ui-danger-soft) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -9640,7 +9651,6 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
9640
9651
|
oklch(from var(--ui-danger-soft) calc(l + 0.085) calc(max(c, min(0.045, c * 3))) h)
|
|
9641
9652
|
);
|
|
9642
9653
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
9643
|
-
border-color: color-mix(in srgb, var(--ui-danger) 45%, var(--ui-border-default));
|
|
9644
9654
|
border-inline-start: var(--ui-accent-line-width) solid var(--ui-danger);
|
|
9645
9655
|
/* An accent edge keeps the corners on its side straight. */
|
|
9646
9656
|
border-start-start-radius: 0;
|
|
@@ -10064,7 +10074,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10064
10074
|
}
|
|
10065
10075
|
|
|
10066
10076
|
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
10067
|
-
/*
|
|
10077
|
+
/* One live navigation stays inline until its native mobile dialog opens. */
|
|
10078
|
+
/* Authored native sidebar triggers remain usable before JavaScript upgrades the header. */
|
|
10068
10079
|
@scope (.ui-site-header) to ([data-hn]) {
|
|
10069
10080
|
:scope:where([data-hn-ui-site-header]) {
|
|
10070
10081
|
box-sizing: border-box !important;
|
|
@@ -10162,7 +10173,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10162
10173
|
column-gap: var(--ui-space-4) !important;
|
|
10163
10174
|
}
|
|
10164
10175
|
}
|
|
10165
|
-
.navigation
|
|
10176
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10166
10177
|
position: static;
|
|
10167
10178
|
display: flex !important;
|
|
10168
10179
|
align-items: baseline !important;
|
|
@@ -10174,7 +10185,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10174
10185
|
background: transparent;
|
|
10175
10186
|
color: inherit;
|
|
10176
10187
|
}
|
|
10177
|
-
|
|
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]) {
|
|
10178
10190
|
display: none !important;
|
|
10179
10191
|
}
|
|
10180
10192
|
:scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header]) {
|
|
@@ -10191,6 +10203,72 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10191
10203
|
justify-items: center !important;
|
|
10192
10204
|
flex: none;
|
|
10193
10205
|
}
|
|
10206
|
+
@media (width < 40rem) {
|
|
10207
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10208
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10209
|
+
flex-wrap: nowrap !important;
|
|
10210
|
+
align-items: center !important;
|
|
10211
|
+
}
|
|
10212
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10213
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10214
|
+
flex: 1 1 0;
|
|
10215
|
+
}
|
|
10216
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10217
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10218
|
+
display: grid !important;
|
|
10219
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10220
|
+
justify-items: center !important;
|
|
10221
|
+
flex: none;
|
|
10222
|
+
}
|
|
10223
|
+
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10224
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10225
|
+
display: none !important;
|
|
10226
|
+
}
|
|
10227
|
+
}
|
|
10228
|
+
@media (width < 48rem) {
|
|
10229
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10230
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10231
|
+
flex-wrap: nowrap !important;
|
|
10232
|
+
align-items: center !important;
|
|
10233
|
+
}
|
|
10234
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10235
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10236
|
+
flex: 1 1 0;
|
|
10237
|
+
}
|
|
10238
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10239
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10240
|
+
display: grid !important;
|
|
10241
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10242
|
+
justify-items: center !important;
|
|
10243
|
+
flex: none;
|
|
10244
|
+
}
|
|
10245
|
+
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10246
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10247
|
+
display: none !important;
|
|
10248
|
+
}
|
|
10249
|
+
}
|
|
10250
|
+
@media (width < 64rem) {
|
|
10251
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10252
|
+
.identity:where([data-hn-ui-site-header]) {
|
|
10253
|
+
flex-wrap: nowrap !important;
|
|
10254
|
+
align-items: center !important;
|
|
10255
|
+
}
|
|
10256
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10257
|
+
.brand:where([data-hn-ui-site-header]) {
|
|
10258
|
+
flex: 1 1 0;
|
|
10259
|
+
}
|
|
10260
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10261
|
+
.menu:where([data-hn-ui-site-header]) {
|
|
10262
|
+
display: grid !important;
|
|
10263
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10264
|
+
justify-items: center !important;
|
|
10265
|
+
flex: none;
|
|
10266
|
+
}
|
|
10267
|
+
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10268
|
+
.inline-navigation:where([data-hn-ui-site-header]) {
|
|
10269
|
+
display: none !important;
|
|
10270
|
+
}
|
|
10271
|
+
}
|
|
10194
10272
|
.automatic-menu:where([data-hn-ui-site-header]) {
|
|
10195
10273
|
display: grid !important;
|
|
10196
10274
|
justify-items: center !important;
|
|
@@ -10387,7 +10465,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10387
10465
|
column-gap: var(--ui-space-4) !important;
|
|
10388
10466
|
}
|
|
10389
10467
|
}
|
|
10390
|
-
.navigation
|
|
10468
|
+
.inline-navigation:where(:scope, :scope *):where([data-hn-ui-site-header]) {
|
|
10391
10469
|
position: static;
|
|
10392
10470
|
display: flex !important;
|
|
10393
10471
|
align-items: baseline !important;
|
|
@@ -10399,7 +10477,8 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10399
10477
|
background: transparent;
|
|
10400
10478
|
color: inherit;
|
|
10401
10479
|
}
|
|
10402
|
-
|
|
10480
|
+
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
10481
|
+
.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]) {
|
|
10403
10482
|
display: none !important;
|
|
10404
10483
|
}
|
|
10405
10484
|
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
@@ -10418,6 +10497,72 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10418
10497
|
justify-items: center !important;
|
|
10419
10498
|
flex: none;
|
|
10420
10499
|
}
|
|
10500
|
+
@media (width < 40rem) {
|
|
10501
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10502
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10503
|
+
flex-wrap: nowrap !important;
|
|
10504
|
+
align-items: center !important;
|
|
10505
|
+
}
|
|
10506
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10507
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10508
|
+
flex: 1 1 0;
|
|
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
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10512
|
+
display: grid !important;
|
|
10513
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10514
|
+
justify-items: center !important;
|
|
10515
|
+
flex: none;
|
|
10516
|
+
}
|
|
10517
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10518
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10519
|
+
display: none !important;
|
|
10520
|
+
}
|
|
10521
|
+
}
|
|
10522
|
+
@media (width < 48rem) {
|
|
10523
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10524
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10525
|
+
flex-wrap: nowrap !important;
|
|
10526
|
+
align-items: center !important;
|
|
10527
|
+
}
|
|
10528
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10529
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10530
|
+
flex: 1 1 0;
|
|
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
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10534
|
+
display: grid !important;
|
|
10535
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10536
|
+
justify-items: center !important;
|
|
10537
|
+
flex: none;
|
|
10538
|
+
}
|
|
10539
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10540
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10541
|
+
display: none !important;
|
|
10542
|
+
}
|
|
10543
|
+
}
|
|
10544
|
+
@media (width < 64rem) {
|
|
10545
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10546
|
+
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10547
|
+
flex-wrap: nowrap !important;
|
|
10548
|
+
align-items: center !important;
|
|
10549
|
+
}
|
|
10550
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10551
|
+
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10552
|
+
flex: 1 1 0;
|
|
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
|
+
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10556
|
+
display: grid !important;
|
|
10557
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
10558
|
+
justify-items: center !important;
|
|
10559
|
+
flex: none;
|
|
10560
|
+
}
|
|
10561
|
+
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10562
|
+
.inline-navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10563
|
+
display: none !important;
|
|
10564
|
+
}
|
|
10565
|
+
}
|
|
10421
10566
|
.automatic-menu:where(:scope, :scope *):where([data-hn-ui-site-header]) {
|
|
10422
10567
|
display: grid !important;
|
|
10423
10568
|
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;
|