@threadlabs/looma 0.39.1 → 0.39.3
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/components/ui-button/ui-button.html +24 -3
- package/components/ui-checkbox/ui-checkbox.html +34 -18
- package/components/ui-combobox/ui-combobox.html +8 -3
- package/components/ui-combobox/ui-combobox.js +3 -2
- package/components/ui-dialog/ui-dialog.html +6 -52
- package/components/ui-input/ui-input.html +21 -3
- package/components/ui-input-group/ui-input-group.html +1 -0
- package/components/ui-light-editor/ui-light-editor.html +26 -25
- package/components/ui-select/ui-select.html +10 -3
- package/dist/index.js +1 -1
- package/docs/README.md +18 -7
- package/docs/catalog.json +2 -26
- package/docs/customizer-render.mjs +37 -33
- package/docs/customizer.js +82 -47
- package/docs/site.mjs +10 -6
- package/docs/theme-session.mjs +7 -8
- package/docs/theme.mjs +10 -22
- package/package.json +1 -1
- package/styles/ui-button.css +24 -1
- package/styles/ui-checkbox.css +39 -19
- package/styles/ui-combobox.css +16 -6
- package/styles/ui-dialog.css +6 -107
- package/styles/ui-input-group.css +1 -0
- package/styles/ui-input.css +24 -3
- package/styles/ui-light-editor.css +111 -0
- package/styles/ui-select.css +10 -3
- package/theme-system.css +4 -1
- package/tokens.css +9 -2
- package/vanilla/UiButton.js +14 -12
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiLightEditor.js +2 -2
- package/vue/UiButton.vue +28 -7
- package/vue/UiCheckbox.vue +34 -19
- package/vue/UiCombobox.vue +22 -6
- package/vue/UiDialog.d.ts +3 -3
- package/vue/UiDialog.vue +18 -111
- package/vue/UiInput.vue +30 -3
- package/vue/UiInputGroup.vue +1 -0
- package/vue/UiLightEditor.vue +156 -40
- package/vue/UiSelect.vue +16 -3
- package/vue/chunks/UiButton.js +18 -10
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiDialog.js +22 -14
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiLightEditor.js +66 -58
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/components.css +337 -160
- package/vue/editor/index.js +46 -36
package/vue/editor/index.js
CHANGED
|
@@ -3418,7 +3418,11 @@ var T12$1 = [
|
|
|
3418
3418
|
"\n ",
|
|
3419
3419
|
1,
|
|
3420
3420
|
"\n ",
|
|
3421
|
-
|
|
3421
|
+
[
|
|
3422
|
+
"span",
|
|
3423
|
+
["class", "label"],
|
|
3424
|
+
4
|
|
3425
|
+
],
|
|
3422
3426
|
"\n ",
|
|
3423
3427
|
[
|
|
3424
3428
|
"span",
|
|
@@ -3440,7 +3444,11 @@ var T16$1 = [
|
|
|
3440
3444
|
"\n ",
|
|
3441
3445
|
1,
|
|
3442
3446
|
"\n ",
|
|
3443
|
-
|
|
3447
|
+
[
|
|
3448
|
+
"span",
|
|
3449
|
+
["class", "label"],
|
|
3450
|
+
4
|
|
3451
|
+
],
|
|
3444
3452
|
"\n ",
|
|
3445
3453
|
[
|
|
3446
3454
|
"span",
|
|
@@ -4325,7 +4333,8 @@ function createUiButton(options = {}, html) {
|
|
|
4325
4333
|
n.append((P12$1 ??= buildTemplate(T12$1)).cloneNode(true));
|
|
4326
4334
|
const t0 = n.firstChild.nextSibling;
|
|
4327
4335
|
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
4328
|
-
const t2 = t1.
|
|
4336
|
+
const t2 = t1.firstChild;
|
|
4337
|
+
const t3 = t1.nextSibling.nextSibling.firstChild;
|
|
4329
4338
|
const r = {
|
|
4330
4339
|
n,
|
|
4331
4340
|
v0: void 0,
|
|
@@ -4340,12 +4349,12 @@ function createUiButton(options = {}, html) {
|
|
|
4340
4349
|
a1: t0,
|
|
4341
4350
|
e0: t0.nextSibling,
|
|
4342
4351
|
b0: void 0,
|
|
4343
|
-
a2:
|
|
4344
|
-
e1:
|
|
4352
|
+
a2: t2,
|
|
4353
|
+
e1: t2.nextSibling,
|
|
4345
4354
|
b1: void 0,
|
|
4346
4355
|
f1: void 0,
|
|
4347
|
-
a3:
|
|
4348
|
-
e2:
|
|
4356
|
+
a3: t3,
|
|
4357
|
+
e2: t3.nextSibling,
|
|
4349
4358
|
b2: void 0,
|
|
4350
4359
|
f2: void 0
|
|
4351
4360
|
};
|
|
@@ -4439,18 +4448,6 @@ function createUiButton(options = {}, html) {
|
|
|
4439
4448
|
r.e0.before(r.b0.n);
|
|
4440
4449
|
}
|
|
4441
4450
|
} else if (r.b0 !== void 0) r.b0;
|
|
4442
|
-
if (r.f2 === void 0) {
|
|
4443
|
-
r.f2 = 1;
|
|
4444
|
-
const at = fillSlot(r.a3, r.e2, "badge", J, false, void 0, d);
|
|
4445
|
-
if (Array.isArray(at)) (r.z ??= []).push(() => {
|
|
4446
|
-
at[0].l.delete(at[1]);
|
|
4447
|
-
dispose(at[1]);
|
|
4448
|
-
});
|
|
4449
|
-
else if (at !== void 0) {
|
|
4450
|
-
r.b2 = m15(d);
|
|
4451
|
-
at.before(r.b2.n);
|
|
4452
|
-
}
|
|
4453
|
-
} else if (r.b2 !== void 0) r.b2;
|
|
4454
4451
|
if (r.f1 === void 0) {
|
|
4455
4452
|
r.f1 = 1;
|
|
4456
4453
|
const at = fillSlot(r.a2, r.e1, "", J, false, void 0, d);
|
|
@@ -4463,12 +4460,25 @@ function createUiButton(options = {}, html) {
|
|
|
4463
4460
|
at.before(r.b1.n);
|
|
4464
4461
|
}
|
|
4465
4462
|
} else if (r.b1 !== void 0) r.b1;
|
|
4463
|
+
if (r.f2 === void 0) {
|
|
4464
|
+
r.f2 = 1;
|
|
4465
|
+
const at = fillSlot(r.a3, r.e2, "badge", J, false, void 0, d);
|
|
4466
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => {
|
|
4467
|
+
at[0].l.delete(at[1]);
|
|
4468
|
+
dispose(at[1]);
|
|
4469
|
+
});
|
|
4470
|
+
else if (at !== void 0) {
|
|
4471
|
+
r.b2 = m15(d);
|
|
4472
|
+
at.before(r.b2.n);
|
|
4473
|
+
}
|
|
4474
|
+
} else if (r.b2 !== void 0) r.b2;
|
|
4466
4475
|
};
|
|
4467
4476
|
const m16 = (n, d) => {
|
|
4468
4477
|
n.append((P16$1 ??= buildTemplate(T16$1)).cloneNode(true));
|
|
4469
4478
|
const t0 = n.firstChild.nextSibling;
|
|
4470
4479
|
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
4471
|
-
const t2 = t1.
|
|
4480
|
+
const t2 = t1.firstChild;
|
|
4481
|
+
const t3 = t1.nextSibling.nextSibling.firstChild;
|
|
4472
4482
|
const r = {
|
|
4473
4483
|
n,
|
|
4474
4484
|
v0: void 0,
|
|
@@ -4481,12 +4491,12 @@ function createUiButton(options = {}, html) {
|
|
|
4481
4491
|
a1: t0,
|
|
4482
4492
|
e0: t0.nextSibling,
|
|
4483
4493
|
b0: void 0,
|
|
4484
|
-
a2:
|
|
4485
|
-
e1:
|
|
4494
|
+
a2: t2,
|
|
4495
|
+
e1: t2.nextSibling,
|
|
4486
4496
|
b1: void 0,
|
|
4487
4497
|
f1: void 0,
|
|
4488
|
-
a3:
|
|
4489
|
-
e2:
|
|
4498
|
+
a3: t3,
|
|
4499
|
+
e2: t3.nextSibling,
|
|
4490
4500
|
b2: void 0,
|
|
4491
4501
|
f2: void 0
|
|
4492
4502
|
};
|
|
@@ -4560,18 +4570,6 @@ function createUiButton(options = {}, html) {
|
|
|
4560
4570
|
r.e0.before(r.b0.n);
|
|
4561
4571
|
}
|
|
4562
4572
|
} else if (r.b0 !== void 0) r.b0;
|
|
4563
|
-
if (r.f2 === void 0) {
|
|
4564
|
-
r.f2 = 1;
|
|
4565
|
-
const at = fillSlot(r.a3, r.e2, "badge", J, false, void 0, d);
|
|
4566
|
-
if (Array.isArray(at)) (r.z ??= []).push(() => {
|
|
4567
|
-
at[0].l.delete(at[1]);
|
|
4568
|
-
dispose(at[1]);
|
|
4569
|
-
});
|
|
4570
|
-
else if (at !== void 0) {
|
|
4571
|
-
r.b2 = m19(d);
|
|
4572
|
-
at.before(r.b2.n);
|
|
4573
|
-
}
|
|
4574
|
-
} else if (r.b2 !== void 0) r.b2;
|
|
4575
4573
|
if (r.f1 === void 0) {
|
|
4576
4574
|
r.f1 = 1;
|
|
4577
4575
|
const at = fillSlot(r.a2, r.e1, "", J, false, void 0, d);
|
|
@@ -4584,6 +4582,18 @@ function createUiButton(options = {}, html) {
|
|
|
4584
4582
|
at.before(r.b1.n);
|
|
4585
4583
|
}
|
|
4586
4584
|
} else if (r.b1 !== void 0) r.b1;
|
|
4585
|
+
if (r.f2 === void 0) {
|
|
4586
|
+
r.f2 = 1;
|
|
4587
|
+
const at = fillSlot(r.a3, r.e2, "badge", J, false, void 0, d);
|
|
4588
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => {
|
|
4589
|
+
at[0].l.delete(at[1]);
|
|
4590
|
+
dispose(at[1]);
|
|
4591
|
+
});
|
|
4592
|
+
else if (at !== void 0) {
|
|
4593
|
+
r.b2 = m19(d);
|
|
4594
|
+
at.before(r.b2.n);
|
|
4595
|
+
}
|
|
4596
|
+
} else if (r.b2 !== void 0) r.b2;
|
|
4587
4597
|
};
|
|
4588
4598
|
const M = [
|
|
4589
4599
|
m0,
|