@threadlabs/looma 0.44.6 → 0.45.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/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-section/ui-section.html +53 -14
- 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 +122 -22
- 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-section.css +31 -2
- package/styles/ui-site-header.css +353 -27
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +125 -21
- 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/UiSection.d.ts +9 -3
- package/vue/UiSection.vue +76 -11
- 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/UiSection.js +88 -23
- package/vue/chunks/UiSiteHeader.js +225 -18
- package/vue/components.css +421 -38
- package/vue/editor/index.js +14 -0
package/vanilla/UiSection.js
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
// Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toAttribute, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toAttribute, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-section.css";
|
|
4
4
|
|
|
5
|
-
const T0 = ["",[],"\n
|
|
5
|
+
const T0 = ["",[],"\n ",["legend",["class","legend"],["h2",["class","heading"],0]],"\n ",["span",["class","head"],"\n ",["span",["class","copy"],["span",["class","description"],4]],"\n ",["span",["class","actions"],4],"\n "],"\n ",["span",["class","body"],4],"\n "];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
const T2 = ["",[]];
|
|
8
8
|
const T3 = ["",[]];
|
|
9
|
-
|
|
9
|
+
const T4 = ["",[],"\n ",["span",["class","head"],"\n ",["span",["class","copy"],"\n ",["h2",["class","heading"],0],"\n ",["span",["class","description"],4],"\n "],"\n ",["span",["class","actions"],4],"\n "],"\n ",["span",["class","body"],4],"\n "];
|
|
10
|
+
const T5 = ["",[]];
|
|
11
|
+
const T6 = ["",[]];
|
|
12
|
+
const T7 = ["",[]];
|
|
13
|
+
let P0, P1, P2, P3, P4, P5, P6, P7;
|
|
10
14
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-section", b: generatedInputs };
|
|
11
|
-
const
|
|
15
|
+
const A = [["fieldset",{},[],"",[],["data-ui-section-state","data-ui-section-prop-heading","data-ui-section-prop-tone","data-ui-section-prop-variant"]],["section",{},[],"",[],["data-ui-section-state","data-ui-section-prop-heading","data-ui-section-prop-tone","data-ui-section-prop-variant"]]];
|
|
16
|
+
const Q = [[],[]];
|
|
17
|
+
const D = { g: "ui-section", props: { "heading": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "tone": { "required":false,"values":["neutral","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "variant": { "required":false,"values":["plain","card","divided","fieldset"],"default":"plain", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
12
18
|
|
|
13
19
|
export function createUiSection(options = {}, html) {
|
|
14
20
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
15
|
-
const element = document.createElement("section");
|
|
16
|
-
for (const [name, value] of Object.entries(attributes)) {
|
|
17
|
-
if (value === null || value === undefined || value === false) continue;
|
|
18
|
-
element.setAttribute(name, value === true ? "" : String(value));
|
|
19
|
-
}
|
|
20
|
-
element.setAttribute("data-component", "ui-section");
|
|
21
|
-
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
22
21
|
const v = [null, null, null];
|
|
23
|
-
|
|
22
|
+
let B = acceptProps(undefined, D, S.n, v, componentProps, [], html);
|
|
23
|
+
let a = ((v[2] === "fieldset") ? 0 : 1);
|
|
24
|
+
let element;
|
|
25
|
+
if (a === 0) {
|
|
26
|
+
element = document.createElement("fieldset");
|
|
27
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
28
|
+
if (value === null || value === undefined || value === false) continue;
|
|
29
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
30
|
+
}
|
|
31
|
+
element.setAttribute("data-component", "ui-section");
|
|
32
|
+
} else {
|
|
33
|
+
element = document.createElement("section");
|
|
34
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
35
|
+
if (value === null || value === undefined || value === false) continue;
|
|
36
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
37
|
+
}
|
|
38
|
+
element.setAttribute("data-component", "ui-section");
|
|
39
|
+
}
|
|
40
|
+
B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
|
|
24
41
|
const m1 = (d) => {
|
|
25
42
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
26
43
|
const r = { n };
|
|
@@ -45,6 +62,43 @@ export function createUiSection(options = {}, html) {
|
|
|
45
62
|
};
|
|
46
63
|
const p3 = (r, c, d) => {
|
|
47
64
|
};
|
|
65
|
+
const m5 = (d) => {
|
|
66
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
67
|
+
const r = { n };
|
|
68
|
+
p5(r, -1, d);
|
|
69
|
+
return r;
|
|
70
|
+
};
|
|
71
|
+
const p5 = (r, c, d) => {
|
|
72
|
+
};
|
|
73
|
+
const m6 = (d) => {
|
|
74
|
+
const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
|
|
75
|
+
const r = { n };
|
|
76
|
+
p6(r, -1, d);
|
|
77
|
+
return r;
|
|
78
|
+
};
|
|
79
|
+
const p6 = (r, c, d) => {
|
|
80
|
+
};
|
|
81
|
+
const m7 = (d) => {
|
|
82
|
+
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
83
|
+
const r = { n };
|
|
84
|
+
p7(r, -1, d);
|
|
85
|
+
return r;
|
|
86
|
+
};
|
|
87
|
+
const p7 = (r, c, d) => {
|
|
88
|
+
};
|
|
89
|
+
const m0 = (n, d) => {
|
|
90
|
+
n.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
91
|
+
const t0 = n.firstChild.nextSibling;
|
|
92
|
+
const t1 = t0.firstChild.firstChild;
|
|
93
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
94
|
+
const t3 = t2.firstChild.nextSibling;
|
|
95
|
+
const t4 = t3.firstChild.firstChild;
|
|
96
|
+
const t5 = t3.nextSibling.nextSibling.firstChild;
|
|
97
|
+
const t6 = t2.nextSibling.nextSibling.firstChild;
|
|
98
|
+
const r = { n, a0: t0, a1: t1, v0: null, v1: "", v2: undefined, a2: t4, e0: t4.nextSibling, b0: undefined, f0: undefined, a3: t5, e1: t5.nextSibling, b1: undefined, f1: undefined, a4: t6, e2: t6.nextSibling, b2: undefined, f2: undefined };
|
|
99
|
+
p0(r, -1, d);
|
|
100
|
+
return r;
|
|
101
|
+
};
|
|
48
102
|
const p0 = (r, c, d) => {
|
|
49
103
|
if (c & 1) {
|
|
50
104
|
const x0 = !truthy(v[0]);
|
|
@@ -69,17 +123,67 @@ export function createUiSection(options = {}, html) {
|
|
|
69
123
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
|
|
70
124
|
else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
71
125
|
};
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
126
|
+
const m4 = (n, d) => {
|
|
127
|
+
n.append((P4 ??= buildTemplate(T4)).cloneNode(true));
|
|
128
|
+
const t0 = n.firstChild.nextSibling;
|
|
129
|
+
const t1 = t0.firstChild.nextSibling;
|
|
130
|
+
const t2 = t1.firstChild.nextSibling;
|
|
131
|
+
const t3 = t2.firstChild;
|
|
132
|
+
const t4 = t2.nextSibling.nextSibling.firstChild;
|
|
133
|
+
const t5 = t1.nextSibling.nextSibling.firstChild;
|
|
134
|
+
const t6 = t0.nextSibling.nextSibling.firstChild;
|
|
135
|
+
const r = { n, a0: t2, a1: t3, v0: null, v1: "", v2: undefined, a2: t4, e0: t4.nextSibling, b0: undefined, f0: undefined, a3: t5, e1: t5.nextSibling, b1: undefined, f1: undefined, a4: t6, e2: t6.nextSibling, b2: undefined, f2: undefined };
|
|
136
|
+
p4(r, -1, d);
|
|
137
|
+
return r;
|
|
138
|
+
};
|
|
139
|
+
const p4 = (r, c, d) => {
|
|
140
|
+
if (c & 1) {
|
|
141
|
+
const x0 = !truthy(v[0]);
|
|
142
|
+
const s0 = toAttribute(x0, "hidden");
|
|
143
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "hidden", r.v0 = s0);
|
|
144
|
+
const x1 = v[0];
|
|
145
|
+
const s1 = toText(x1);
|
|
146
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
147
|
+
}
|
|
148
|
+
if (c & 6) {
|
|
149
|
+
const x2 = hostState(["variant","tone"], [v[2], v[1]]);
|
|
150
|
+
const s2 = x2;
|
|
151
|
+
if (s2 !== r.v2) writeAttribute(r.n, "data-ui-section-state", (r.v2 = s2) === "" ? null : s2);
|
|
152
|
+
}
|
|
153
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a2, r.e0, "description", J, false, undefined, d);
|
|
154
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d); at.before(r.b0.n); } }
|
|
155
|
+
else if (r.b0 !== undefined) p5(r.b0, c, d);
|
|
156
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a3, r.e1, "actions", J, false, undefined, d);
|
|
157
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m6(d); at.before(r.b1.n); } }
|
|
158
|
+
else if (r.b1 !== undefined) p6(r.b1, c, d);
|
|
159
|
+
if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a4, r.e2, "", J, false, undefined, d);
|
|
160
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m7(d); at.before(r.b2.n); } }
|
|
161
|
+
else if (r.b2 !== undefined) p7(r.b2, c, d);
|
|
162
|
+
};
|
|
163
|
+
const M = [m0, m4], N = [p0, p4];
|
|
164
|
+
let R;
|
|
165
|
+
const p = (c, d) => {
|
|
166
|
+
if (R === null) return;
|
|
167
|
+
if (R === undefined) { R = M[a](element, d); return; }
|
|
168
|
+
if (c & 4) {
|
|
169
|
+
const t = ((v[2] === "fieldset") ? 0 : 1);
|
|
170
|
+
if (t !== a) {
|
|
171
|
+
dispose(R);
|
|
172
|
+
for (const key in I.r) delete I.r[key];
|
|
173
|
+
const previous = I.e, next = armElement(previous, A[a], A[t]);
|
|
174
|
+
I.B.b = Q[t];
|
|
175
|
+
a = t;
|
|
176
|
+
R = null;
|
|
177
|
+
R = M[t](next, d);
|
|
178
|
+
replaceRoot(I, previous, next);
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
N[a](R, c, d);
|
|
183
|
+
};
|
|
80
184
|
const I = { B };
|
|
81
185
|
const J = project(I, children, slots);
|
|
82
|
-
attachGeneratedController(element, S, v,
|
|
186
|
+
attachGeneratedController(element, S, v, p, undefined, undefined, I);
|
|
83
187
|
manageProps(I);
|
|
84
188
|
return element;
|
|
85
189
|
}
|
|
@@ -11,7 +11,9 @@ export interface UiSiteHeaderElement extends HTMLElement {
|
|
|
11
11
|
}
|
|
12
12
|
export interface UiSiteHeaderProps {
|
|
13
13
|
breakpoint?: "sm" | "md" | "lg" | null;
|
|
14
|
+
closeLabel?: string | null;
|
|
14
15
|
label?: string | null;
|
|
16
|
+
menuLabel?: string | null;
|
|
15
17
|
sticky?: boolean | null;
|
|
16
18
|
attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
|
|
17
19
|
children?: readonly (string | Node)[];
|
package/vanilla/UiSiteHeader.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
// Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
2
|
+
import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
|
+
import * as controller from "../components/ui-site-header/ui-site-header.js";
|
|
3
4
|
import "../styles/ui-site-header.css";
|
|
4
5
|
|
|
5
|
-
const T0 = ["",[],"\n ",["
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","identity"],"\n ",["div",["class","brand"],4],"\n ",["div",["class","menu"],"\n ",["div",["class","custom-menu"],4],"\n ",["div",["class","automatic-menu"],"\n ",["ui-icon-button",["size","sm","aria-haspopup","dialog","aria-expanded","false"],["ui-icon",["name","menu"]]],"\n "],"\n "],"\n ",["dialog",["class","navigation-panel"],"\n ",["div",["class","panel-heading"],"\n ",["span",["class","panel-title"],0],"\n ",["ui-icon-button",["size","sm"],["ui-icon",["name","x"]]],"\n "],"\n ",["nav",["class","navigation"],4],"\n "],"\n "],"\n ",["div",["class","actions"],4],"\n "];
|
|
6
7
|
const T1 = ["",[]];
|
|
7
8
|
const T2 = ["",[]];
|
|
8
9
|
const T3 = ["",[]];
|
|
9
10
|
const T4 = ["",[]];
|
|
10
11
|
let P0, P1, P2, P3, P4;
|
|
11
|
-
const S = { n: [], t: [], f: import.meta.url, g: "ui-site-header", b: generatedInputs };
|
|
12
|
-
const D = { g: "ui-site-header", props: { "breakpoint": { "required":false,"values":["sm","md","lg"],"default":"lg", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "label": { "required":false,"default":"Main", c: checkString, t: "string", j: 0, m: "s" }, "sticky": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
12
|
+
const S = { n: ["enhanced","drawer"], t: ["b","b"], f: import.meta.url, g: "ui-site-header", a: (host, I) => C(host, I), b: generatedInputs, i: [false, false] };
|
|
13
|
+
const D = { g: "ui-site-header", props: { "breakpoint": { "required":false,"values":["sm","md","lg"],"default":"lg", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "closeLabel": { "required":false,"default":"Close navigation", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Main", c: checkString, t: "string", j: 0, m: "s" }, "menuLabel": { "required":false,"default":"Open navigation", c: checkString, t: "string", j: 0, m: "s" }, "sticky": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
14
|
+
const C = (host) => activateModule(controller, host);
|
|
13
15
|
|
|
14
16
|
export function createUiSiteHeader(options = {}, html) {
|
|
15
17
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
@@ -20,7 +22,7 @@ export function createUiSiteHeader(options = {}, html) {
|
|
|
20
22
|
}
|
|
21
23
|
element.setAttribute("data-component", "ui-site-header");
|
|
22
24
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
|
-
const v = [null, null, null];
|
|
25
|
+
const v = [false, false, null, null, null, null, null];
|
|
24
26
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
25
27
|
const m1 = (d) => {
|
|
26
28
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
@@ -55,42 +57,85 @@ export function createUiSiteHeader(options = {}, html) {
|
|
|
55
57
|
const p4 = (r, c, d) => {
|
|
56
58
|
};
|
|
57
59
|
const p0 = (r, c, d) => {
|
|
58
|
-
if (c &
|
|
59
|
-
const x0 = v[
|
|
60
|
-
const s0 = toAttribute(x0, "
|
|
61
|
-
if (s0 !== r.v0) writeAttribute(r.a2, "
|
|
60
|
+
if (c & 32) {
|
|
61
|
+
const x0 = v[5];
|
|
62
|
+
const s0 = toAttribute(x0, "label");
|
|
63
|
+
if (s0 !== r.v0) writeAttribute(r.a2, "label", r.v0 = s0);
|
|
62
64
|
}
|
|
63
|
-
if (c
|
|
64
|
-
const x1 =
|
|
65
|
-
const s1 = x1;
|
|
66
|
-
if (s1 !== r.v1) writeAttribute(r.
|
|
65
|
+
if (c === -1) {
|
|
66
|
+
const x1 = true;
|
|
67
|
+
const s1 = toAttribute(x1, "open");
|
|
68
|
+
if (s1 !== r.v1) writeAttribute(r.a3, "open", r.v1 = s1);
|
|
67
69
|
}
|
|
68
|
-
if (
|
|
70
|
+
if (c & 1073741826) {
|
|
71
|
+
const x2 = readIndex({ "true": "dialog", "false": "none" }, textCall("concat", [v[1]]));
|
|
72
|
+
if (x2 !== NONCONFORMING) {
|
|
73
|
+
const s2 = toAttribute(x2, "role");
|
|
74
|
+
if (s2 !== r.v2) writeAttribute(r.a3, "role", r.v2 = s2);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (c & 1073741842) {
|
|
78
|
+
const x3 = readIndex({ "true": v[4], "false": null }, textCall("concat", [v[1]]));
|
|
79
|
+
if (x3 !== NONCONFORMING) {
|
|
80
|
+
const s3 = toAttribute(x3, "aria-label");
|
|
81
|
+
if (s3 !== r.v3) writeAttribute(r.a3, "aria-label", r.v3 = s3);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (c & 16) {
|
|
85
|
+
const x4 = v[4];
|
|
86
|
+
const s4 = toText(x4);
|
|
87
|
+
if (s4 !== r.v4) r.a4.data = r.v4 = s4;
|
|
88
|
+
const s6 = toAttribute(x4, "aria-label");
|
|
89
|
+
if (s6 !== r.v6) writeAttribute(r.a6, "aria-label", r.v6 = s6);
|
|
90
|
+
}
|
|
91
|
+
if (c & 8) {
|
|
92
|
+
const x5 = v[3];
|
|
93
|
+
const s5 = toAttribute(x5, "label");
|
|
94
|
+
if (s5 !== r.v5) writeAttribute(r.a5, "label", r.v5 = s5);
|
|
95
|
+
}
|
|
96
|
+
if (c & 71) {
|
|
97
|
+
const x6 = hostState(["sticky","breakpoint","drawer","enhanced"], [v[6], v[2], v[1], v[0]]);
|
|
98
|
+
const s7 = x6;
|
|
99
|
+
if (s7 !== r.v7) writeAttribute(r.n, "data-ui-site-header-state", (r.v7 = s7) === "" ? null : s7);
|
|
100
|
+
}
|
|
101
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "brand", J, false, undefined, d);
|
|
69
102
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
70
103
|
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
71
|
-
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "
|
|
104
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "menu", J, false, undefined, d);
|
|
72
105
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
|
|
73
106
|
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
74
|
-
if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.
|
|
107
|
+
if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a7, r.e2, "navigation", J, false, undefined, d);
|
|
75
108
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
|
|
76
109
|
else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
77
|
-
if (r.f3 === undefined) { r.f3 = 1; const at = fillSlot(r.
|
|
110
|
+
if (r.f3 === undefined) { r.f3 = 1; const at = fillSlot(r.a8, r.e3, "actions", J, false, undefined, d);
|
|
78
111
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b3 = m4(d); at.before(r.b3.n); } }
|
|
79
112
|
else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
80
113
|
};
|
|
81
114
|
const t0 = element.firstChild.nextSibling;
|
|
82
|
-
const t1 = t0.firstChild;
|
|
83
|
-
const t2 =
|
|
84
|
-
const t3 =
|
|
85
|
-
const t4 = t3.firstChild;
|
|
86
|
-
const t5 =
|
|
87
|
-
const t6 =
|
|
88
|
-
const t7 =
|
|
89
|
-
const
|
|
115
|
+
const t1 = t0.firstChild.nextSibling;
|
|
116
|
+
const t2 = t1.firstChild;
|
|
117
|
+
const t3 = t1.nextSibling.nextSibling;
|
|
118
|
+
const t4 = t3.firstChild.nextSibling;
|
|
119
|
+
const t5 = t4.firstChild;
|
|
120
|
+
const t6 = t4.nextSibling.nextSibling.firstChild.nextSibling;
|
|
121
|
+
const t7 = t3.nextSibling.nextSibling;
|
|
122
|
+
const t8 = t7.firstChild.nextSibling;
|
|
123
|
+
const t9 = t8.firstChild.nextSibling;
|
|
124
|
+
const t10 = t9.firstChild;
|
|
125
|
+
const t11 = t9.nextSibling.nextSibling;
|
|
126
|
+
const t12 = t8.nextSibling.nextSibling;
|
|
127
|
+
const t13 = t12.firstChild;
|
|
128
|
+
const t14 = t0.nextSibling.nextSibling.firstChild;
|
|
129
|
+
const R = { n: element, a2: t6, a3: t7, a4: t10, a5: t11, a6: t12, v0: null, v1: null, v2: null, v3: null, v4: "", v5: null, v6: null, v7: undefined, a0: t2, e0: t2.nextSibling, b0: undefined, f0: undefined, a1: t5, e1: t5.nextSibling, b1: undefined, f1: undefined, a7: t13, e2: t13.nextSibling, b2: undefined, f2: undefined, a8: t14, e3: t14.nextSibling, b3: undefined, f3: undefined };
|
|
90
130
|
const I = { B };
|
|
91
131
|
const J = project(I, children, slots);
|
|
92
|
-
|
|
132
|
+
I.R = new Set();
|
|
133
|
+
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
|
|
93
134
|
manageProps(I);
|
|
135
|
+
I.r["trigger"] = t6;
|
|
136
|
+
I.r["panel"] = t7;
|
|
137
|
+
I.r["close"] = t11;
|
|
138
|
+
I.r["navigation"] = t12;
|
|
94
139
|
return element;
|
|
95
140
|
}
|
|
96
|
-
defineComponent("ui-site-header", createUiSiteHeader, ["breakpoint","label","sticky"]);
|
|
141
|
+
defineComponent("ui-site-header", createUiSiteHeader, ["breakpoint","closeLabel","label","menuLabel","sticky"]);
|
package/vue/UiButton.vue
CHANGED
|
@@ -1205,16 +1205,21 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
1207
|
:global(:scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-button])) {
|
|
1208
|
+
--_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
1208
1209
|
--_outline-wash: oklch(from var(--_tone) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
|
|
1209
1210
|
border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
|
|
1210
1211
|
background-color: var(--ui-button-surface, transparent);
|
|
1211
1212
|
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
1212
1213
|
background-image:
|
|
1213
1214
|
linear-gradient(var(--_outline-wash), var(--_outline-wash)),
|
|
1214
|
-
var(--
|
|
1215
|
+
var(--_outline-highlight);
|
|
1215
1216
|
}
|
|
1216
1217
|
|
|
1217
1218
|
:global(:scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
|
|
1219
|
+
--_outline-highlight: var(
|
|
1220
|
+
--ui-neutral-highlight,
|
|
1221
|
+
var(--ui-surface-highlight, linear-gradient(transparent, transparent))
|
|
1222
|
+
);
|
|
1218
1223
|
--_outline-wash: oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
|
|
1219
1224
|
background-color: var(--ui-button-hover-surface, transparent);
|
|
1220
1225
|
border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
|
package/vue/UiIcon.vue
CHANGED
|
@@ -313,6 +313,10 @@ const shapes: ReturnType<typeof inputComputed<any>> = inputComputed<any>(
|
|
|
313
313
|
{ tag: 'rect', x: '3', y: '4', width: '6', height: '6', rx: '1' },
|
|
314
314
|
],
|
|
315
315
|
loader: [{ tag: 'path', d: 'M21 12a9 9 0 1 1-6.219-8.56' }],
|
|
316
|
+
menu: [{ tag: 'path', d: 'M4 5h16' }, { tag: 'path', d: 'M4 12h16' }, {
|
|
317
|
+
tag: 'path',
|
|
318
|
+
d: 'M4 19h16',
|
|
319
|
+
}],
|
|
316
320
|
merge: [{ tag: 'path', d: 'm8 6 4-4 4 4' }, {
|
|
317
321
|
tag: 'path',
|
|
318
322
|
d: 'M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22',
|
package/vue/UiIconButton.vue
CHANGED
|
@@ -940,6 +940,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
:global(:scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-icon-button])) {
|
|
943
|
+
--_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
943
944
|
--_outline-wash: oklch(
|
|
944
945
|
from var(--_icon-button-solid-surface, var(--ui-accent))
|
|
945
946
|
l c h / calc(8% * var(--ui-tonal-opacity, 1))
|
|
@@ -948,10 +949,14 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
948
949
|
background-color: var(--ui-icon-button-outline-surface, transparent);
|
|
949
950
|
background-image:
|
|
950
951
|
linear-gradient(var(--_outline-wash), var(--_outline-wash)),
|
|
951
|
-
var(--
|
|
952
|
+
var(--_outline-highlight);
|
|
952
953
|
}
|
|
953
954
|
|
|
954
955
|
:global(:scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button])) {
|
|
956
|
+
--_outline-highlight: var(
|
|
957
|
+
--ui-neutral-highlight,
|
|
958
|
+
var(--ui-surface-highlight, linear-gradient(transparent, transparent))
|
|
959
|
+
);
|
|
955
960
|
--_outline-wash: oklch(
|
|
956
961
|
from var(--_icon-button-solid-surface, var(--ui-accent))
|
|
957
962
|
l c h / calc(12% * var(--ui-tonal-opacity, 1))
|
package/vue/UiSection.d.ts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { type InputBindings } from './props.js';
|
|
3
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
description?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
7
|
actions?: (props: typeof __VLS_3) => any;
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_5) => any;
|
|
10
|
+
} & {
|
|
11
|
+
description?: (props: typeof __VLS_7) => any;
|
|
12
|
+
} & {
|
|
13
|
+
actions?: (props: typeof __VLS_9) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_11) => any;
|
|
10
16
|
};
|
|
11
17
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
18
|
heading: {
|
|
@@ -16,7 +22,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
16
22
|
type: PropType<"neutral" | "danger" | null>;
|
|
17
23
|
};
|
|
18
24
|
variant: {
|
|
19
|
-
type: PropType<"plain" | "card" | "divided" | null>;
|
|
25
|
+
type: PropType<"plain" | "card" | "divided" | "fieldset" | null>;
|
|
20
26
|
};
|
|
21
27
|
"\0htmlNextInputStatus": {
|
|
22
28
|
type: PropType<InputBindings>;
|
|
@@ -29,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
29
35
|
type: PropType<"neutral" | "danger" | null>;
|
|
30
36
|
};
|
|
31
37
|
variant: {
|
|
32
|
-
type: PropType<"plain" | "card" | "divided" | null>;
|
|
38
|
+
type: PropType<"plain" | "card" | "divided" | "fieldset" | null>;
|
|
33
39
|
};
|
|
34
40
|
"\0htmlNextInputStatus": {
|
|
35
41
|
type: PropType<InputBindings>;
|
package/vue/UiSection.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- Generated by HTML Next 1.0.0-alpha.69 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
|
-
import { computed, watchSyncEffect } from 'vue'
|
|
3
|
+
import { computed, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
5
|
-
import { checkHydratedRoot, nativeAttrs, useReflectedProp } from './host'
|
|
5
|
+
import { checkHydratedRoot, nativeAttrs, preserveRootFocus, useReflectedProp } from './host'
|
|
6
6
|
import {
|
|
7
7
|
BINDING_INPUTS_PROP,
|
|
8
8
|
checkedProp,
|
|
@@ -32,7 +32,7 @@ const propValidityContract = {
|
|
|
32
32
|
required: false,
|
|
33
33
|
target: { attribute: 'tone' },
|
|
34
34
|
description:
|
|
35
|
-
'danger marks a section of destructive actions (a danger zone): its heading and a
|
|
35
|
+
'danger marks a section of destructive actions (a danger zone): its heading and a framed section\'s border take the danger colour.',
|
|
36
36
|
values: ['neutral', 'danger'],
|
|
37
37
|
default: 'neutral',
|
|
38
38
|
},
|
|
@@ -41,8 +41,8 @@ const propValidityContract = {
|
|
|
41
41
|
required: false,
|
|
42
42
|
target: { attribute: 'variant' },
|
|
43
43
|
description:
|
|
44
|
-
'How the section is set apart. plain is a heading and content in the flow of the page; card sits it on a bordered surface, for a settings group; divided\n rules it off from the section before it, for a long form.',
|
|
45
|
-
values: ['plain', 'card', 'divided'],
|
|
44
|
+
'How the section is set apart. plain is a heading and content in the flow of the page; card sits it on a bordered surface, for a settings group; divided\n rules it off from the section before it, for a long form. fieldset joins the heading to a bordered frame using a native legend.',
|
|
45
|
+
values: ['plain', 'card', 'divided', 'fieldset'],
|
|
46
46
|
default: 'plain',
|
|
47
47
|
},
|
|
48
48
|
},
|
|
@@ -50,7 +50,7 @@ const propValidityContract = {
|
|
|
50
50
|
const props = defineProps({
|
|
51
51
|
heading: { type: null as unknown as PropType<string | null> },
|
|
52
52
|
tone: { type: null as unknown as PropType<'neutral' | 'danger' | null> },
|
|
53
|
-
variant: { type: null as unknown as PropType<'plain' | 'card' | 'divided' | null> },
|
|
53
|
+
variant: { type: null as unknown as PropType<'plain' | 'card' | 'divided' | 'fieldset' | null> },
|
|
54
54
|
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
55
55
|
})
|
|
56
56
|
const acceptedProps: Record<string, unknown> = { heading: '', tone: 'neutral', variant: 'plain' }
|
|
@@ -86,11 +86,11 @@ const checkedProps = computed(() => {
|
|
|
86
86
|
props['tone'],
|
|
87
87
|
props[BINDING_INPUTS_PROP],
|
|
88
88
|
) as 'neutral' | 'danger',
|
|
89
|
-
variant: propInputs.value<'plain' | 'card' | 'divided' | null>(
|
|
89
|
+
variant: propInputs.value<'plain' | 'card' | 'divided' | 'fieldset' | null>(
|
|
90
90
|
'variant',
|
|
91
91
|
props['variant'],
|
|
92
92
|
props[BINDING_INPUTS_PROP],
|
|
93
|
-
) as 'plain' | 'card' | 'divided',
|
|
93
|
+
) as 'plain' | 'card' | 'divided' | 'fieldset',
|
|
94
94
|
})
|
|
95
95
|
})
|
|
96
96
|
const inputStatus = (name: string, handlesError: boolean) => {
|
|
@@ -104,7 +104,13 @@ watchSyncEffect(() => {
|
|
|
104
104
|
})
|
|
105
105
|
const reflectedProp = useReflectedProp()
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
const rootArmElement = useTemplateRef<HTMLElement>('@html-next/root')
|
|
108
|
+
const root = rootArmElement
|
|
109
|
+
preserveRootFocus(root)
|
|
110
|
+
checkHydratedRoot(
|
|
111
|
+
(checkedProps.value.variant === 'fieldset') ? 'fieldset' : ('section'),
|
|
112
|
+
'ui-section',
|
|
113
|
+
)
|
|
108
114
|
|
|
109
115
|
/** The values the styles' :host() and :state() rules test. */
|
|
110
116
|
const hostState = computed(() =>
|
|
@@ -119,7 +125,35 @@ const hostState = computed(() =>
|
|
|
119
125
|
</script>
|
|
120
126
|
|
|
121
127
|
<template>
|
|
128
|
+
<fieldset
|
|
129
|
+
v-if="checkedProps.variant === 'fieldset'"
|
|
130
|
+
class="ui-section"
|
|
131
|
+
v-bind="nativeAttrs($attrs)"
|
|
132
|
+
data-hn
|
|
133
|
+
data-hn-ui-section
|
|
134
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
135
|
+
:data-ui-section-prop-heading="reflectedProp('heading', 'heading', checkedProps.heading, undefined, false)"
|
|
136
|
+
:data-ui-section-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
|
|
137
|
+
:data-ui-section-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
|
|
138
|
+
:data-ui-section-state="hostState || undefined"
|
|
139
|
+
ref="@html-next/root"
|
|
140
|
+
>
|
|
141
|
+
<legend class="legend" data-hn-ui-section :hidden="!checkedProps.heading">
|
|
142
|
+
<h2 class="heading" data-hn-ui-section>{{ checkedProps.heading }}</h2>
|
|
143
|
+
</legend>
|
|
144
|
+
<span class="head" data-hn-ui-section><span class="copy" data-hn-ui-section><span
|
|
145
|
+
class="description"
|
|
146
|
+
data-hn-ui-section
|
|
147
|
+
><slot name="description" /></span></span>{{ ' ' }}<span
|
|
148
|
+
class="actions"
|
|
149
|
+
data-hn-ui-section
|
|
150
|
+
><slot name="actions" /></span></span>{{ ' ' }}<span
|
|
151
|
+
class="body"
|
|
152
|
+
data-hn-ui-section
|
|
153
|
+
><slot /></span>
|
|
154
|
+
</fieldset>
|
|
122
155
|
<section
|
|
156
|
+
v-else
|
|
123
157
|
class="ui-section"
|
|
124
158
|
v-bind="nativeAttrs($attrs)"
|
|
125
159
|
data-hn
|
|
@@ -129,6 +163,7 @@ const hostState = computed(() =>
|
|
|
129
163
|
:data-ui-section-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
|
|
130
164
|
:data-ui-section-prop-variant="reflectedProp('variant', 'variant', checkedProps.variant, undefined, false)"
|
|
131
165
|
:data-ui-section-state="hostState || undefined"
|
|
166
|
+
ref="@html-next/root"
|
|
132
167
|
>
|
|
133
168
|
<span class="head" data-hn-ui-section><span class="copy" data-hn-ui-section><h2
|
|
134
169
|
class="heading"
|
|
@@ -160,7 +195,8 @@ const hostState = computed(() =>
|
|
|
160
195
|
min-inline-size: 0;
|
|
161
196
|
}
|
|
162
197
|
|
|
163
|
-
:global(:scope[data-ui-section-state~="variant=card"]:where([data-hn-ui-section]))
|
|
198
|
+
:global(:scope[data-ui-section-state~="variant=card"]:where([data-hn-ui-section])),
|
|
199
|
+
:global(:scope[data-ui-section-state~="variant=fieldset"]:where([data-hn-ui-section])) {
|
|
164
200
|
--_ui-selection-context-surface: initial;
|
|
165
201
|
--_ui-selection-context-border: initial;
|
|
166
202
|
--_ui-selection-context-text: initial;
|
|
@@ -170,12 +206,41 @@ const hostState = computed(() =>
|
|
|
170
206
|
background: var(--ui-surface-raised);
|
|
171
207
|
}
|
|
172
208
|
|
|
209
|
+
:global(:scope[data-ui-section-state~="variant=fieldset"]:where([data-hn-ui-section])) {
|
|
210
|
+
display: block !important;
|
|
211
|
+
box-sizing: border-box !important;
|
|
212
|
+
margin: 0 !important;
|
|
213
|
+
padding-block-start: var(--ui-space-4) !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
:global(.legend:where([data-hn-ui-section])) {
|
|
217
|
+
max-inline-size: 100%;
|
|
218
|
+
box-sizing: border-box !important;
|
|
219
|
+
padding-inline: var(--ui-space-2) !important;
|
|
220
|
+
margin-inline-start: calc(-1 * var(--ui-space-2)) !important;
|
|
221
|
+
overflow-wrap: anywhere;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:global(.legend .heading:where([data-hn-ui-section])) {
|
|
225
|
+
font-size: var(--ui-font-size-md);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:global(:scope[data-ui-section-state~="variant=fieldset"] .head:where([data-hn-ui-section])) {
|
|
229
|
+
margin-block-end: var(--ui-space-4) !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
:global(:scope[data-ui-section-state~="variant=fieldset"]
|
|
233
|
+
.head:has(.description:empty):has(.actions:empty):where([data-hn-ui-section])) {
|
|
234
|
+
display: none !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
173
237
|
:global(:scope[data-ui-section-state~="variant=divided"]:where([data-hn-ui-section])) {
|
|
174
238
|
padding-block-start: var(--ui-space-6) !important;
|
|
175
239
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
176
240
|
}
|
|
177
241
|
|
|
178
|
-
:global(:scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]))
|
|
242
|
+
:global(:scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section])),
|
|
243
|
+
:global(:scope[data-ui-section-state~="variant=fieldset"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section])) {
|
|
179
244
|
--_ui-selection-context-surface: light-dark(
|
|
180
245
|
oklch(from var(--ui-danger-soft) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
181
246
|
oklch(from var(--ui-danger-soft) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
package/vue/UiSiteHeader.d.ts
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { type InputBindings } from './props.js';
|
|
3
|
-
declare var __VLS_1: {}, __VLS_3: {},
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_31: {}, __VLS_33: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
|
|
5
|
+
brand?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
|
-
|
|
7
|
+
menu?: (props: typeof __VLS_3) => any;
|
|
8
8
|
} & {
|
|
9
|
-
navigation?: (props: typeof
|
|
9
|
+
navigation?: (props: typeof __VLS_31) => any;
|
|
10
10
|
} & {
|
|
11
|
-
actions?: (props: typeof
|
|
11
|
+
actions?: (props: typeof __VLS_33) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
14
|
breakpoint: {
|
|
15
15
|
type: PropType<"sm" | "md" | "lg" | null>;
|
|
16
16
|
};
|
|
17
|
+
closeLabel: {
|
|
18
|
+
type: PropType<string | null>;
|
|
19
|
+
};
|
|
17
20
|
label: {
|
|
18
21
|
type: PropType<string | null>;
|
|
19
22
|
};
|
|
23
|
+
menuLabel: {
|
|
24
|
+
type: PropType<string | null>;
|
|
25
|
+
};
|
|
20
26
|
sticky: {
|
|
21
27
|
type: PropType<boolean | null>;
|
|
22
28
|
};
|
|
@@ -27,9 +33,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
27
33
|
breakpoint: {
|
|
28
34
|
type: PropType<"sm" | "md" | "lg" | null>;
|
|
29
35
|
};
|
|
36
|
+
closeLabel: {
|
|
37
|
+
type: PropType<string | null>;
|
|
38
|
+
};
|
|
30
39
|
label: {
|
|
31
40
|
type: PropType<string | null>;
|
|
32
41
|
};
|
|
42
|
+
menuLabel: {
|
|
43
|
+
type: PropType<string | null>;
|
|
44
|
+
};
|
|
33
45
|
sticky: {
|
|
34
46
|
type: PropType<boolean | null>;
|
|
35
47
|
};
|