@public-ui/svelte 4.1.4 → 4.1.5-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +37 -3
- package/dist/index.mjs +37 -3
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -509,10 +509,14 @@ function KolDialog($$anchor, $$props) {
|
|
|
509
509
|
let __mounted = $__namespace.mutable_source(false);
|
|
510
510
|
svelte.createEventDispatcher();
|
|
511
511
|
let _label = $__namespace.prop($$props, "_label", 8);
|
|
512
|
+
let _level = $__namespace.prop($$props, "_level", 8, void 0);
|
|
512
513
|
let _on = $__namespace.prop($$props, "_on", 8, void 0);
|
|
513
514
|
let _width = $__namespace.prop($$props, "_width", 8, void 0);
|
|
514
515
|
let _variant = $__namespace.prop($$props, "_variant", 8, void 0);
|
|
515
516
|
const openModal = (...args) => $__namespace.get(__ref).openModal(...args);
|
|
517
|
+
const showModal = (...args) => $__namespace.get(__ref).showModal(...args);
|
|
518
|
+
const show = (...args) => $__namespace.get(__ref).show(...args);
|
|
519
|
+
const close = (...args) => $__namespace.get(__ref).close(...args);
|
|
516
520
|
const closeModal = (...args) => $__namespace.get(__ref).closeModal(...args);
|
|
517
521
|
const getWebComponent = () => $__namespace.get(__ref);
|
|
518
522
|
svelte.onMount(() => {
|
|
@@ -525,10 +529,18 @@ function KolDialog($$anchor, $$props) {
|
|
|
525
529
|
if ($__namespace.get(__mounted)) setProp("_on", _on());
|
|
526
530
|
});
|
|
527
531
|
$__namespace.legacy_pre_effect_reset();
|
|
528
|
-
var $$exports = {
|
|
532
|
+
var $$exports = {
|
|
533
|
+
openModal,
|
|
534
|
+
showModal,
|
|
535
|
+
show,
|
|
536
|
+
close,
|
|
537
|
+
closeModal,
|
|
538
|
+
getWebComponent
|
|
539
|
+
};
|
|
529
540
|
$__namespace.init();
|
|
530
541
|
var kol_dialog = root$D();
|
|
531
542
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_dialog, "_label", _label()));
|
|
543
|
+
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_dialog, "_level", _level()));
|
|
532
544
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_dialog, "_width", _width()));
|
|
533
545
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_dialog, "_variant", _variant()));
|
|
534
546
|
var node = $__namespace.child(kol_dialog);
|
|
@@ -537,6 +549,9 @@ function KolDialog($$anchor, $$props) {
|
|
|
537
549
|
$__namespace.bind_this(kol_dialog, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
|
|
538
550
|
$__namespace.append($$anchor, kol_dialog);
|
|
539
551
|
$__namespace.bind_prop($$props, "openModal", openModal);
|
|
552
|
+
$__namespace.bind_prop($$props, "showModal", showModal);
|
|
553
|
+
$__namespace.bind_prop($$props, "show", show);
|
|
554
|
+
$__namespace.bind_prop($$props, "close", close);
|
|
540
555
|
$__namespace.bind_prop($$props, "closeModal", closeModal);
|
|
541
556
|
$__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
542
557
|
return $__namespace.pop($$exports);
|
|
@@ -552,7 +567,10 @@ function KolDrawer($$anchor, $$props) {
|
|
|
552
567
|
let _align = $__namespace.prop($$props, "_align", 8, void 0);
|
|
553
568
|
let _hasCloser = $__namespace.prop($$props, "_hasCloser", 8, void 0);
|
|
554
569
|
let _label = $__namespace.prop($$props, "_label", 8);
|
|
570
|
+
let _level = $__namespace.prop($$props, "_level", 8, void 0);
|
|
555
571
|
let _on = $__namespace.prop($$props, "_on", 8, void 0);
|
|
572
|
+
const show = (...args) => $__namespace.get(__ref).show(...args);
|
|
573
|
+
const showModal = (...args) => $__namespace.get(__ref).showModal(...args);
|
|
556
574
|
const open = (...args) => $__namespace.get(__ref).open(...args);
|
|
557
575
|
const close = (...args) => $__namespace.get(__ref).close(...args);
|
|
558
576
|
const getWebComponent = () => $__namespace.get(__ref);
|
|
@@ -566,18 +584,21 @@ function KolDrawer($$anchor, $$props) {
|
|
|
566
584
|
if ($__namespace.get(__mounted)) setProp("_on", _on());
|
|
567
585
|
});
|
|
568
586
|
$__namespace.legacy_pre_effect_reset();
|
|
569
|
-
var $$exports = { open, close, getWebComponent };
|
|
587
|
+
var $$exports = { show, showModal, open, close, getWebComponent };
|
|
570
588
|
$__namespace.init();
|
|
571
589
|
var kol_drawer = root$C();
|
|
572
590
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_drawer, "_open", _open()));
|
|
573
591
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_drawer, "_align", _align()));
|
|
574
592
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_drawer, "_has-closer", _hasCloser()));
|
|
575
593
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_drawer, "_label", _label()));
|
|
594
|
+
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_drawer, "_level", _level()));
|
|
576
595
|
var node = $__namespace.child(kol_drawer);
|
|
577
596
|
$__namespace.slot(node, $$props, "default", {}, null);
|
|
578
597
|
$__namespace.reset(kol_drawer);
|
|
579
598
|
$__namespace.bind_this(kol_drawer, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
|
|
580
599
|
$__namespace.append($$anchor, kol_drawer);
|
|
600
|
+
$__namespace.bind_prop($$props, "show", show);
|
|
601
|
+
$__namespace.bind_prop($$props, "showModal", showModal);
|
|
581
602
|
$__namespace.bind_prop($$props, "open", open);
|
|
582
603
|
$__namespace.bind_prop($$props, "close", close);
|
|
583
604
|
$__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
@@ -1705,6 +1726,9 @@ function KolModal($$anchor, $$props) {
|
|
|
1705
1726
|
let _width = $__namespace.prop($$props, "_width", 8, void 0);
|
|
1706
1727
|
let _variant = $__namespace.prop($$props, "_variant", 8, void 0);
|
|
1707
1728
|
const openModal = (...args) => $__namespace.get(__ref).openModal(...args);
|
|
1729
|
+
const showModal = (...args) => $__namespace.get(__ref).showModal(...args);
|
|
1730
|
+
const show = (...args) => $__namespace.get(__ref).show(...args);
|
|
1731
|
+
const close = (...args) => $__namespace.get(__ref).close(...args);
|
|
1708
1732
|
const closeModal = (...args) => $__namespace.get(__ref).closeModal(...args);
|
|
1709
1733
|
const getWebComponent = () => $__namespace.get(__ref);
|
|
1710
1734
|
svelte.onMount(() => {
|
|
@@ -1717,7 +1741,14 @@ function KolModal($$anchor, $$props) {
|
|
|
1717
1741
|
if ($__namespace.get(__mounted)) setProp("_on", _on());
|
|
1718
1742
|
});
|
|
1719
1743
|
$__namespace.legacy_pre_effect_reset();
|
|
1720
|
-
var $$exports = {
|
|
1744
|
+
var $$exports = {
|
|
1745
|
+
openModal,
|
|
1746
|
+
showModal,
|
|
1747
|
+
show,
|
|
1748
|
+
close,
|
|
1749
|
+
closeModal,
|
|
1750
|
+
getWebComponent
|
|
1751
|
+
};
|
|
1721
1752
|
$__namespace.init();
|
|
1722
1753
|
var kol_modal = root$j();
|
|
1723
1754
|
$__namespace.template_effect(() => $__namespace.set_custom_element_data(kol_modal, "_label", _label()));
|
|
@@ -1729,6 +1760,9 @@ function KolModal($$anchor, $$props) {
|
|
|
1729
1760
|
$__namespace.bind_this(kol_modal, ($$value) => $__namespace.set(__ref, $$value), () => $__namespace.get(__ref));
|
|
1730
1761
|
$__namespace.append($$anchor, kol_modal);
|
|
1731
1762
|
$__namespace.bind_prop($$props, "openModal", openModal);
|
|
1763
|
+
$__namespace.bind_prop($$props, "showModal", showModal);
|
|
1764
|
+
$__namespace.bind_prop($$props, "show", show);
|
|
1765
|
+
$__namespace.bind_prop($$props, "close", close);
|
|
1732
1766
|
$__namespace.bind_prop($$props, "closeModal", closeModal);
|
|
1733
1767
|
$__namespace.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1734
1768
|
return $__namespace.pop($$exports);
|
package/dist/index.mjs
CHANGED
|
@@ -493,10 +493,14 @@ function KolDialog($$anchor, $$props) {
|
|
|
493
493
|
let __mounted = $.mutable_source(false);
|
|
494
494
|
createEventDispatcher();
|
|
495
495
|
let _label = $.prop($$props, "_label", 8);
|
|
496
|
+
let _level = $.prop($$props, "_level", 8, void 0);
|
|
496
497
|
let _on = $.prop($$props, "_on", 8, void 0);
|
|
497
498
|
let _width = $.prop($$props, "_width", 8, void 0);
|
|
498
499
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
499
500
|
const openModal = (...args) => $.get(__ref).openModal(...args);
|
|
501
|
+
const showModal = (...args) => $.get(__ref).showModal(...args);
|
|
502
|
+
const show = (...args) => $.get(__ref).show(...args);
|
|
503
|
+
const close = (...args) => $.get(__ref).close(...args);
|
|
500
504
|
const closeModal = (...args) => $.get(__ref).closeModal(...args);
|
|
501
505
|
const getWebComponent = () => $.get(__ref);
|
|
502
506
|
onMount(() => {
|
|
@@ -509,10 +513,18 @@ function KolDialog($$anchor, $$props) {
|
|
|
509
513
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
510
514
|
});
|
|
511
515
|
$.legacy_pre_effect_reset();
|
|
512
|
-
var $$exports = {
|
|
516
|
+
var $$exports = {
|
|
517
|
+
openModal,
|
|
518
|
+
showModal,
|
|
519
|
+
show,
|
|
520
|
+
close,
|
|
521
|
+
closeModal,
|
|
522
|
+
getWebComponent
|
|
523
|
+
};
|
|
513
524
|
$.init();
|
|
514
525
|
var kol_dialog = root$D();
|
|
515
526
|
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_label", _label()));
|
|
527
|
+
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_level", _level()));
|
|
516
528
|
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_width", _width()));
|
|
517
529
|
$.template_effect(() => $.set_custom_element_data(kol_dialog, "_variant", _variant()));
|
|
518
530
|
var node = $.child(kol_dialog);
|
|
@@ -521,6 +533,9 @@ function KolDialog($$anchor, $$props) {
|
|
|
521
533
|
$.bind_this(kol_dialog, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
522
534
|
$.append($$anchor, kol_dialog);
|
|
523
535
|
$.bind_prop($$props, "openModal", openModal);
|
|
536
|
+
$.bind_prop($$props, "showModal", showModal);
|
|
537
|
+
$.bind_prop($$props, "show", show);
|
|
538
|
+
$.bind_prop($$props, "close", close);
|
|
524
539
|
$.bind_prop($$props, "closeModal", closeModal);
|
|
525
540
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
526
541
|
return $.pop($$exports);
|
|
@@ -536,7 +551,10 @@ function KolDrawer($$anchor, $$props) {
|
|
|
536
551
|
let _align = $.prop($$props, "_align", 8, void 0);
|
|
537
552
|
let _hasCloser = $.prop($$props, "_hasCloser", 8, void 0);
|
|
538
553
|
let _label = $.prop($$props, "_label", 8);
|
|
554
|
+
let _level = $.prop($$props, "_level", 8, void 0);
|
|
539
555
|
let _on = $.prop($$props, "_on", 8, void 0);
|
|
556
|
+
const show = (...args) => $.get(__ref).show(...args);
|
|
557
|
+
const showModal = (...args) => $.get(__ref).showModal(...args);
|
|
540
558
|
const open = (...args) => $.get(__ref).open(...args);
|
|
541
559
|
const close = (...args) => $.get(__ref).close(...args);
|
|
542
560
|
const getWebComponent = () => $.get(__ref);
|
|
@@ -550,18 +568,21 @@ function KolDrawer($$anchor, $$props) {
|
|
|
550
568
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
551
569
|
});
|
|
552
570
|
$.legacy_pre_effect_reset();
|
|
553
|
-
var $$exports = { open, close, getWebComponent };
|
|
571
|
+
var $$exports = { show, showModal, open, close, getWebComponent };
|
|
554
572
|
$.init();
|
|
555
573
|
var kol_drawer = root$C();
|
|
556
574
|
$.template_effect(() => $.set_custom_element_data(kol_drawer, "_open", _open()));
|
|
557
575
|
$.template_effect(() => $.set_custom_element_data(kol_drawer, "_align", _align()));
|
|
558
576
|
$.template_effect(() => $.set_custom_element_data(kol_drawer, "_has-closer", _hasCloser()));
|
|
559
577
|
$.template_effect(() => $.set_custom_element_data(kol_drawer, "_label", _label()));
|
|
578
|
+
$.template_effect(() => $.set_custom_element_data(kol_drawer, "_level", _level()));
|
|
560
579
|
var node = $.child(kol_drawer);
|
|
561
580
|
$.slot(node, $$props, "default", {}, null);
|
|
562
581
|
$.reset(kol_drawer);
|
|
563
582
|
$.bind_this(kol_drawer, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
564
583
|
$.append($$anchor, kol_drawer);
|
|
584
|
+
$.bind_prop($$props, "show", show);
|
|
585
|
+
$.bind_prop($$props, "showModal", showModal);
|
|
565
586
|
$.bind_prop($$props, "open", open);
|
|
566
587
|
$.bind_prop($$props, "close", close);
|
|
567
588
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
@@ -1689,6 +1710,9 @@ function KolModal($$anchor, $$props) {
|
|
|
1689
1710
|
let _width = $.prop($$props, "_width", 8, void 0);
|
|
1690
1711
|
let _variant = $.prop($$props, "_variant", 8, void 0);
|
|
1691
1712
|
const openModal = (...args) => $.get(__ref).openModal(...args);
|
|
1713
|
+
const showModal = (...args) => $.get(__ref).showModal(...args);
|
|
1714
|
+
const show = (...args) => $.get(__ref).show(...args);
|
|
1715
|
+
const close = (...args) => $.get(__ref).close(...args);
|
|
1692
1716
|
const closeModal = (...args) => $.get(__ref).closeModal(...args);
|
|
1693
1717
|
const getWebComponent = () => $.get(__ref);
|
|
1694
1718
|
onMount(() => {
|
|
@@ -1701,7 +1725,14 @@ function KolModal($$anchor, $$props) {
|
|
|
1701
1725
|
if ($.get(__mounted)) setProp("_on", _on());
|
|
1702
1726
|
});
|
|
1703
1727
|
$.legacy_pre_effect_reset();
|
|
1704
|
-
var $$exports = {
|
|
1728
|
+
var $$exports = {
|
|
1729
|
+
openModal,
|
|
1730
|
+
showModal,
|
|
1731
|
+
show,
|
|
1732
|
+
close,
|
|
1733
|
+
closeModal,
|
|
1734
|
+
getWebComponent
|
|
1735
|
+
};
|
|
1705
1736
|
$.init();
|
|
1706
1737
|
var kol_modal = root$j();
|
|
1707
1738
|
$.template_effect(() => $.set_custom_element_data(kol_modal, "_label", _label()));
|
|
@@ -1713,6 +1744,9 @@ function KolModal($$anchor, $$props) {
|
|
|
1713
1744
|
$.bind_this(kol_modal, ($$value) => $.set(__ref, $$value), () => $.get(__ref));
|
|
1714
1745
|
$.append($$anchor, kol_modal);
|
|
1715
1746
|
$.bind_prop($$props, "openModal", openModal);
|
|
1747
|
+
$.bind_prop($$props, "showModal", showModal);
|
|
1748
|
+
$.bind_prop($$props, "show", show);
|
|
1749
|
+
$.bind_prop($$props, "close", close);
|
|
1716
1750
|
$.bind_prop($$props, "closeModal", closeModal);
|
|
1717
1751
|
$.bind_prop($$props, "getWebComponent", getWebComponent);
|
|
1718
1752
|
return $.pop($$exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/svelte",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"svelte": "5.55.5",
|
|
51
51
|
"typescript": "5.9.3",
|
|
52
52
|
"unbuild": "3.6.1",
|
|
53
|
-
"@public-ui/components": "4.1.
|
|
53
|
+
"@public-ui/components": "4.1.5-rc.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"svelte": "^5.55.5",
|
|
57
|
-
"@public-ui/components": "4.1.
|
|
57
|
+
"@public-ui/components": "4.1.5-rc.0"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
60
|
"type": "module",
|