@bysages/svelte 0.4.2 → 0.4.4
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/{Accordion-DF1vzXDg.mjs → Accordion-DUUod-V6.mjs} +1 -1
- package/dist/AvatarFacade-BNErD2uE.mjs +147 -0
- package/dist/{banner-vdEHwWWw.mjs → BannerIcon-DpvxwWCc.mjs} +144 -58
- package/dist/{breadcrumb-g68_HJ2W.mjs → BreadcrumbList-BdLId9vL.mjs} +133 -59
- package/dist/{Calendar-CWaU4MGJ.mjs → Calendar-MQdoAnJK.mjs} +1 -1
- package/dist/{Carousel-BWWwu5Ma.mjs → Carousel-DNMQMvm6.mjs} +1 -1
- package/dist/{Checkbox-BZb8IR25.mjs → Checkbox-z4EXYH9a.mjs} +1 -1
- package/dist/{ChevronIcon-C-MKLsfA.mjs → ChevronIcon-hvMd0d_i.mjs} +1 -1
- package/dist/{Clipboard-DBgbIGjV.mjs → Clipboard-Bdui0U6I.mjs} +1 -1
- package/dist/{Collapsible-CZ8qFLzP.mjs → Collapsible-t6m_LqHZ.mjs} +2 -2
- package/dist/{ColorPicker-D6PGvfQf.mjs → ColorPicker-tGU9q8oC.mjs} +67 -8
- package/dist/{Combobox-Ba2u_SqJ.mjs → Combobox-8BSw_3Ab.mjs} +1 -1
- package/dist/{DatePicker-Dm81GmmF.mjs → DatePicker-DJDUqjiE.mjs} +1 -1
- package/dist/{Dialog-BbDr030S.mjs → Dialog-91oyw8Pi.mjs} +1 -1
- package/dist/{Drawer-C1r1wz3V.mjs → Drawer-DkFAYikg.mjs} +1 -1
- package/dist/{Editable-hjSbhWMK.mjs → Editable-lC-REFTP.mjs} +1 -1
- package/dist/{FileUpload-C6JBpvet.mjs → FileUpload-7LgqVD7x.mjs} +1 -1
- package/dist/{float-button-DK8hviBz.mjs → FloatButtonFacade-C8nGcXe0.mjs} +100 -16
- package/dist/{FloatingPanel-2z-iuVPc.mjs → FloatingPanel-nsymgBI7.mjs} +30 -18
- package/dist/{ImageViewer-8tDJvkkb.mjs → ImageViewer-s41DessS.mjs} +1 -1
- package/dist/{InternalIcon-CbfKieOs.mjs → InternalIcon-Dr81WIG1.mjs} +1 -1
- package/dist/{JsonTreeViewTree-DkusAr3j.mjs → JsonTreeViewTree-DkD987Zf.mjs} +1 -1
- package/dist/{Listbox-gAL5Q59b.mjs → Listbox-C-u5WxHv.mjs} +1 -1
- package/dist/{Menu-BiwHDpdz.mjs → Menu-DA7CeDYL.mjs} +1 -1
- package/dist/{NumberInput-B2gPYuJX.mjs → NumberInput-BDbTmUgg.mjs} +1 -1
- package/dist/{Pagination-f8XiX-Cs.mjs → Pagination-BmFNV_Vu.mjs} +1 -1
- package/dist/{PasswordInput-BhlJF3Jd.mjs → PasswordInput-Cas4e19J.mjs} +1 -1
- package/dist/{Popover-Dl-QAFG_.mjs → Popover-BQeFwet4.mjs} +1 -1
- package/dist/{RatingGroup-DTVzY6BA.mjs → RatingGroup-DSzJ56Yw.mjs} +1 -1
- package/dist/{Select-5AJHEmMi.mjs → Select-D4rBviRL.mjs} +2 -2
- package/dist/{SignaturePad-Dc5YbZoV.mjs → SignaturePad-DSVTGy9D.mjs} +2 -3
- package/dist/{Swap-CfgxrCzJ.mjs → Swap-CkhKz3Ue.mjs} +1 -1
- package/dist/{TagsInput-DVuAOpBt.mjs → TagsInput-BPrJLeuZ.mjs} +1 -1
- package/dist/{Toast-BHSRo7N7.mjs → Toast-mxbydOO8.mjs} +1 -1
- package/dist/{ToggleGroup-DgBoC0hi.mjs → ToggleGroup-BfW1gjVm.mjs} +1 -1
- package/dist/{TreeViewNodeCheckbox-DGfG5yIl.mjs → TreeViewNodeCheckbox-t2i6iaiq.mjs} +1 -1
- package/dist/{ai-attachments-nFUAAXoM.mjs → ai-attachments-ksKxDHG2.mjs} +1 -1
- package/dist/{ai-prompt-input-z0j3gpgu.mjs → ai-prompt-input-CMVRbC0T.mjs} +2 -2
- package/dist/{ai-reasoning-C2Ffu52i.mjs → ai-reasoning-DA6bWwlo.mjs} +1 -1
- package/dist/{ai-response-Bczv0TaC.mjs → ai-response-DrsGpVej.mjs} +1 -1
- package/dist/{ai-tool-DuhNqTWQ.mjs → ai-tool-Dew8XiYk.mjs} +1 -1
- package/dist/{alert-Cji6_TKm.mjs → alert-pTPh9zID.mjs} +1 -1
- package/dist/{back-top-WBPZ45WG.mjs → back-top-FpXkOE3N.mjs} +1 -1
- package/dist/{cascade-select-CWjvNB4G.mjs → cascade-select-BhdGSRCa.mjs} +1 -1
- package/dist/{checkbox-group-JVSnrwhR.mjs → checkbox-group-DESN0Y8Y.mjs} +1 -1
- package/dist/components/accordion/index.d.mts +1 -1
- package/dist/components/accordion/index.mjs +1 -1
- package/dist/components/ai/index.mjs +4 -4
- package/dist/components/ai-attachments/index.mjs +1 -1
- package/dist/components/ai-prompt-input/index.mjs +1 -1
- package/dist/components/ai-reasoning/index.mjs +1 -1
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-tool/index.mjs +1 -1
- package/dist/components/alert/index.mjs +1 -1
- package/dist/components/avatar/index.d.mts +2 -12
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/back-top/index.mjs +1 -1
- package/dist/components/banner/index.d.mts +2 -2
- package/dist/components/banner/index.mjs +17 -1
- package/dist/components/breadcrumb/index.d.mts +2 -2
- package/dist/components/breadcrumb/index.mjs +15 -1
- package/dist/components/calendar/index.d.mts +1 -1
- package/dist/components/calendar/index.mjs +1 -1
- package/dist/components/carousel/index.d.mts +1 -1
- package/dist/components/carousel/index.mjs +1 -1
- package/dist/components/cascade-select/index.mjs +1 -1
- package/dist/components/checkbox/index.d.mts +1 -1
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/checkbox-group/index.mjs +1 -1
- package/dist/components/clipboard/index.d.mts +1 -1
- package/dist/components/clipboard/index.mjs +1 -1
- package/dist/components/collapsible/index.d.mts +1 -1
- package/dist/components/collapsible/index.mjs +1 -1
- package/dist/components/color-picker/index.d.mts +1 -1
- package/dist/components/color-picker/index.mjs +1 -1
- package/dist/components/combobox/index.d.mts +1 -1
- package/dist/components/combobox/index.mjs +1 -1
- package/dist/components/date-picker/index.d.mts +1 -1
- package/dist/components/date-picker/index.mjs +1 -1
- package/dist/components/dialog/index.d.mts +1 -1
- package/dist/components/dialog/index.mjs +1 -1
- package/dist/components/drawer/index.d.mts +1 -1
- package/dist/components/drawer/index.mjs +1 -1
- package/dist/components/dynamic-input/index.mjs +1 -1
- package/dist/components/editable/index.d.mts +1 -1
- package/dist/components/editable/index.mjs +1 -1
- package/dist/components/file-upload/index.d.mts +1 -1
- package/dist/components/file-upload/index.mjs +1 -1
- package/dist/components/float-button/index.d.mts +2 -2
- package/dist/components/float-button/index.mjs +11 -1
- package/dist/components/floating-panel/index.d.mts +1 -1
- package/dist/components/floating-panel/index.mjs +1 -1
- package/dist/components/image/index.mjs +1 -1
- package/dist/components/image-viewer/index.d.mts +1 -1
- package/dist/components/image-viewer/index.mjs +1 -1
- package/dist/components/json-tree-view/index.d.mts +1 -1
- package/dist/components/json-tree-view/index.mjs +1 -1
- package/dist/components/listbox/index.d.mts +1 -1
- package/dist/components/listbox/index.mjs +1 -1
- package/dist/components/media-player/index.mjs +1 -1
- package/dist/components/menu/index.d.mts +1 -1
- package/dist/components/menu/index.mjs +1 -1
- package/dist/components/number-input/index.d.mts +1 -1
- package/dist/components/number-input/index.mjs +1 -1
- package/dist/components/order-list/index.mjs +1 -1
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/password-input/index.d.mts +1 -1
- package/dist/components/password-input/index.mjs +1 -1
- package/dist/components/popover/index.d.mts +1 -1
- package/dist/components/popover/index.mjs +1 -1
- package/dist/components/rating-group/index.d.mts +1 -1
- package/dist/components/rating-group/index.mjs +1 -1
- package/dist/components/result/index.mjs +1 -1
- package/dist/components/select/index.d.mts +1 -1
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/signature-pad/index.d.mts +1 -1
- package/dist/components/signature-pad/index.mjs +1 -1
- package/dist/components/split-button/index.mjs +1 -1
- package/dist/components/swap/index.d.mts +1 -1
- package/dist/components/swap/index.mjs +1 -1
- package/dist/components/table/index.mjs +1 -1
- package/dist/components/tag/index.mjs +1 -1
- package/dist/components/tags-input/index.d.mts +1 -1
- package/dist/components/tags-input/index.mjs +1 -1
- package/dist/components/toast/index.d.mts +1 -1
- package/dist/components/toast/index.mjs +1 -1
- package/dist/components/toggle-group/index.d.mts +1 -1
- package/dist/components/toggle-group/index.mjs +1 -1
- package/dist/components/transfer/index.mjs +1 -1
- package/dist/components/tree-select/index.mjs +1 -1
- package/dist/components/tree-view/index.d.mts +1 -1
- package/dist/components/tree-view/index.mjs +1 -1
- package/dist/{dynamic-input-BDF0xRDd.mjs → dynamic-input-BpzL0Fe-.mjs} +1 -1
- package/dist/generative/index.d.mts +47 -0
- package/dist/generative/index.mjs +1692 -0
- package/dist/{icon-C6ohnKuW.mjs → icon-CKL_BxrZ.mjs} +7 -1
- package/dist/{image-BCYdfhgr.mjs → image-BpWDMvNm.mjs} +1 -1
- package/dist/{index-DTYHFIbh.d.mts → index-BwUGTQag.d.mts} +1 -1
- package/dist/index-C0CAf6mV.d.mts +47 -0
- package/dist/{index-BEZCr62O.d.mts → index-CGk6TYb-.d.mts} +1 -1
- package/dist/{index-C4FVU8_3.d.mts → index-CgnQmll5.d.mts} +1 -1
- package/dist/index-DeW7Jrci.d.mts +41 -0
- package/dist/{index-CFxAJ3UH.d.mts → index-DyAQSYqR.d.mts} +1 -1
- package/dist/{index-D8F1dVDW.d.mts → index-FRLzt_CK.d.mts} +31 -5
- package/dist/{index-BDEuWWx7.d.mts → index-FmT_lwS7.d.mts} +1 -1
- package/dist/index-g_LJvZJ-.d.mts +44 -0
- package/dist/{index-M2f9hz3z.d.mts → index-njppQnYT.d.mts} +1 -1
- package/dist/index.d.mts +11 -11
- package/dist/index.mjs +24 -23
- package/dist/{media-player-085Q_gL8.mjs → media-player-DkAUU7NN.mjs} +2 -2
- package/dist/{order-list-DtAaQ6VS.mjs → order-list-C8O2NdGR.mjs} +1 -1
- package/dist/{result-CwLNxqk-.mjs → result-BRbQTUeW.mjs} +2 -1
- package/dist/{select-CqOZTmfR.mjs → select-DuSzjsoK.mjs} +2 -2
- package/dist/{split-button-18nv8J3q.mjs → split-button-BEgDY4EZ.mjs} +1 -1
- package/dist/{table-LfPEezF-.mjs → table-N8W6Jcaj.mjs} +3 -3
- package/dist/{tag-S2DR-cEP.mjs → tag-CXAD4ox2.mjs} +47 -28
- package/dist/{transfer-kGHh9bJH.mjs → transfer-CnfoiJ8O.mjs} +1 -1
- package/dist/{tree-select-BRQjFrHA.mjs → tree-select-CR2-Jskd.mjs} +1 -1
- package/package.json +2 -2
- package/dist/Avatar-L9BP2Zwy.mjs +0 -47
- package/dist/index-BkK_8C_c.d.mts +0 -29
- package/dist/index-Cl8v2k0X.d.mts +0 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as $ from "svelte/internal/client";
|
|
5
5
|
import { injectComponentStyle } from "@bysages/core/styling";
|
|
@@ -18,8 +18,8 @@ var rest_excludes = /* @__PURE__ */ new Set([
|
|
|
18
18
|
"onClose",
|
|
19
19
|
"children"
|
|
20
20
|
]);
|
|
21
|
-
var root = $.from_html(`<span data-scope="tag" data-part="close" aria-
|
|
22
|
-
var root_1 = $.from_html(`<button
|
|
21
|
+
var root = $.from_html(`<span><button type="button" data-scope="tag" data-part="check"><!></button> <button type="button" data-scope="tag" data-part="close" aria-label="Remove"><!></button></span>`);
|
|
22
|
+
var root_1 = $.from_html(`<button><!></button>`);
|
|
23
23
|
var root_2 = $.from_html(`<button type="button" data-scope="tag" data-part="close" aria-label="Remove"><!></button>`);
|
|
24
24
|
var root_3 = $.from_html(`<span><!> <!></span>`);
|
|
25
25
|
function Tag$1($$anchor, $$props) {
|
|
@@ -41,9 +41,39 @@ function Tag$1($$anchor, $$props) {
|
|
|
41
41
|
}
|
|
42
42
|
var fragment = $.comment();
|
|
43
43
|
var node = $.first_child(fragment);
|
|
44
|
+
var consequent = ($$anchor) => {
|
|
45
|
+
var span = root();
|
|
46
|
+
$.attribute_effect(span, () => ({
|
|
47
|
+
...rest,
|
|
48
|
+
"data-scope": "tag",
|
|
49
|
+
"data-part": "root",
|
|
50
|
+
"data-tone": tone(),
|
|
51
|
+
"data-variant": variant(),
|
|
52
|
+
"data-checkable": "true",
|
|
53
|
+
"data-checked": $.get(isChecked) || void 0,
|
|
54
|
+
"data-disabled": disabled() || void 0
|
|
55
|
+
}));
|
|
56
|
+
var button = $.child(span);
|
|
57
|
+
var node_1 = $.child(button);
|
|
58
|
+
$.snippet(node_1, () => $$props.children ?? $.noop);
|
|
59
|
+
$.reset(button);
|
|
60
|
+
var button_1 = $.sibling(button, 2);
|
|
61
|
+
var node_2 = $.child(button_1);
|
|
62
|
+
InternalIcon(node_2, { name: "x" });
|
|
63
|
+
$.reset(button_1);
|
|
64
|
+
$.reset(span);
|
|
65
|
+
$.template_effect(() => {
|
|
66
|
+
$.set_attribute(button, "aria-pressed", $.get(isChecked));
|
|
67
|
+
button.disabled = disabled();
|
|
68
|
+
button_1.disabled = disabled();
|
|
69
|
+
});
|
|
70
|
+
$.delegated("click", button, toggle);
|
|
71
|
+
$.delegated("click", button_1, dismiss);
|
|
72
|
+
$.append($$anchor, span);
|
|
73
|
+
};
|
|
44
74
|
var consequent_1 = ($$anchor) => {
|
|
45
|
-
var
|
|
46
|
-
$.attribute_effect(
|
|
75
|
+
var button_2 = root_1();
|
|
76
|
+
$.attribute_effect(button_2, () => ({
|
|
47
77
|
...rest,
|
|
48
78
|
type: "button",
|
|
49
79
|
"data-scope": "tag",
|
|
@@ -57,22 +87,10 @@ function Tag$1($$anchor, $$props) {
|
|
|
57
87
|
disabled: disabled(),
|
|
58
88
|
onclick: toggle
|
|
59
89
|
}));
|
|
60
|
-
var
|
|
61
|
-
$.snippet(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var span = root();
|
|
65
|
-
var node_3 = $.child(span);
|
|
66
|
-
InternalIcon(node_3, { name: "x" });
|
|
67
|
-
$.reset(span);
|
|
68
|
-
$.delegated("click", span, dismiss);
|
|
69
|
-
$.append($$anchor, span);
|
|
70
|
-
};
|
|
71
|
-
$.if(node_2, ($$render) => {
|
|
72
|
-
if (closable()) $$render(consequent);
|
|
73
|
-
});
|
|
74
|
-
$.reset(button);
|
|
75
|
-
$.append($$anchor, button);
|
|
90
|
+
var node_3 = $.child(button_2);
|
|
91
|
+
$.snippet(node_3, () => $$props.children ?? $.noop);
|
|
92
|
+
$.reset(button_2);
|
|
93
|
+
$.append($$anchor, button_2);
|
|
76
94
|
};
|
|
77
95
|
var alternate = ($$anchor) => {
|
|
78
96
|
var span_1 = root_3();
|
|
@@ -89,13 +107,13 @@ function Tag$1($$anchor, $$props) {
|
|
|
89
107
|
$.snippet(node_4, () => $$props.children ?? $.noop);
|
|
90
108
|
var node_5 = $.sibling(node_4, 2);
|
|
91
109
|
var consequent_2 = ($$anchor) => {
|
|
92
|
-
var
|
|
93
|
-
var node_6 = $.child(
|
|
110
|
+
var button_3 = root_2();
|
|
111
|
+
var node_6 = $.child(button_3);
|
|
94
112
|
InternalIcon(node_6, { name: "x" });
|
|
95
|
-
$.reset(
|
|
96
|
-
$.template_effect(() =>
|
|
97
|
-
$.delegated("click",
|
|
98
|
-
$.append($$anchor,
|
|
113
|
+
$.reset(button_3);
|
|
114
|
+
$.template_effect(() => button_3.disabled = disabled());
|
|
115
|
+
$.delegated("click", button_3, dismiss);
|
|
116
|
+
$.append($$anchor, button_3);
|
|
99
117
|
};
|
|
100
118
|
$.if(node_5, ($$render) => {
|
|
101
119
|
if (closable()) $$render(consequent_2);
|
|
@@ -104,7 +122,8 @@ function Tag$1($$anchor, $$props) {
|
|
|
104
122
|
$.append($$anchor, span_1);
|
|
105
123
|
};
|
|
106
124
|
$.if(node, ($$render) => {
|
|
107
|
-
if (checkable()) $$render(
|
|
125
|
+
if (checkable() && closable()) $$render(consequent);
|
|
126
|
+
else if (checkable()) $$render(consequent_1, 1);
|
|
108
127
|
else $$render(alternate, -1);
|
|
109
128
|
});
|
|
110
129
|
$.append($$anchor, fragment);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
|
|
3
3
|
import { t as Button } from "./button-Cl45zjdj.mjs";
|
|
4
4
|
import { n as useComponentMessages, t as formatMessage } from "./messages-DNzA55pH.mjs";
|
|
5
5
|
import { Input } from "./components/input/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "./family-CzLaku1F.mjs";
|
|
2
|
-
import { t as InternalIcon } from "./InternalIcon-
|
|
2
|
+
import { t as InternalIcon } from "./InternalIcon-Dr81WIG1.mjs";
|
|
3
3
|
import { n as useComponentMessages } from "./messages-DNzA55pH.mjs";
|
|
4
4
|
import { t as Input } from "./Input-DLfLshYU.mjs";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bysages/svelte",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "By Sages Elements components for Svelte — styled by the paper-and-ink design tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessible",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@tanstack/svelte-virtual": "3.13.40",
|
|
53
53
|
"@zag-js/cascade-select": "1.45.0",
|
|
54
54
|
"@zag-js/svelte": "1.45.0",
|
|
55
|
-
"@bysages/core": "0.4.
|
|
55
|
+
"@bysages/core": "0.4.4"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@json-render/core": "0.21.0",
|
package/dist/Avatar-L9BP2Zwy.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { t as useElementId } from "./id-Alz497yI.mjs";
|
|
2
|
-
import "svelte/internal/disclose-version";
|
|
3
|
-
import * as $ from "svelte/internal/client";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
-
import { Avatar } from "@ark-ui/svelte/avatar";
|
|
6
|
-
//#region src/components/avatar/Avatar.svelte
|
|
7
|
-
var rest_excludes = /* @__PURE__ */ new Set([
|
|
8
|
-
"$$slots",
|
|
9
|
-
"$$events",
|
|
10
|
-
"$$legacy",
|
|
11
|
-
"size",
|
|
12
|
-
"shape",
|
|
13
|
-
"children"
|
|
14
|
-
]);
|
|
15
|
-
function Avatar$1($$anchor, $$props) {
|
|
16
|
-
const generatedId = $.props_id();
|
|
17
|
-
$.push($$props, true);
|
|
18
|
-
injectComponentStyle("avatar");
|
|
19
|
-
let shape = $.prop($$props, "shape", 3, "circle"), rest = $.rest_props($$props, rest_excludes);
|
|
20
|
-
const id = $.derived(() => useElementId("avatar", generatedId, $$props.id));
|
|
21
|
-
var fragment = $.comment();
|
|
22
|
-
var node = $.first_child(fragment);
|
|
23
|
-
$.component(node, () => Avatar.Root, ($$anchor, ArkAvatar_Root) => {
|
|
24
|
-
ArkAvatar_Root($$anchor, $.spread_props(() => rest, {
|
|
25
|
-
get id() {
|
|
26
|
-
return $.get(id);
|
|
27
|
-
},
|
|
28
|
-
get "data-size"() {
|
|
29
|
-
return $$props.size;
|
|
30
|
-
},
|
|
31
|
-
get "data-shape"() {
|
|
32
|
-
return shape();
|
|
33
|
-
},
|
|
34
|
-
children: ($$anchor, $$slotProps) => {
|
|
35
|
-
var fragment_1 = $.comment();
|
|
36
|
-
var node_1 = $.first_child(fragment_1);
|
|
37
|
-
$.snippet(node_1, () => $$props.children ?? $.noop);
|
|
38
|
-
$.append($$anchor, fragment_1);
|
|
39
|
-
},
|
|
40
|
-
$$slots: { default: true }
|
|
41
|
-
}));
|
|
42
|
-
});
|
|
43
|
-
$.append($$anchor, fragment);
|
|
44
|
-
$.pop();
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
export { Avatar$1 as t };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Snippet } from "svelte";
|
|
2
|
-
import { HTMLAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
-
//#region src/components/banner/props.d.ts
|
|
4
|
-
type BannerStatus = "ink" | "info" | "success" | "warning" | "danger";
|
|
5
|
-
interface BannerProps extends HTMLAttributes<HTMLElement> {
|
|
6
|
-
status?: BannerStatus;
|
|
7
|
-
children?: Snippet;
|
|
8
|
-
}
|
|
9
|
-
interface BannerPartProps extends HTMLAttributes<HTMLElement> {
|
|
10
|
-
children?: Snippet;
|
|
11
|
-
}
|
|
12
|
-
interface BannerCloseProps extends HTMLButtonAttributes {}
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/components/banner/index.d.ts
|
|
15
|
-
/** A page-level notice, spoken across the full measure: a wash of the
|
|
16
|
-
* status pigment, one heavier hairline on the leading edge, and room
|
|
17
|
-
* for actions and a quiet close. Ink is the neutral register; the four
|
|
18
|
-
* semantic pigments are fixed. */
|
|
19
|
-
declare const Banner: import("svelte").Component<BannerProps, {}, ""> & {
|
|
20
|
-
Root: import("svelte").Component<BannerProps, {}, "">;
|
|
21
|
-
Icon: import("svelte").Component<BannerPartProps, {}, "">;
|
|
22
|
-
Body: import("svelte").Component<BannerPartProps, {}, "">;
|
|
23
|
-
Title: import("svelte").Component<BannerPartProps, {}, "">;
|
|
24
|
-
Description: import("svelte").Component<BannerPartProps, {}, "">;
|
|
25
|
-
Actions: import("svelte").Component<BannerPartProps, {}, "">;
|
|
26
|
-
Close: import("svelte").Component<BannerCloseProps, {}, "">;
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { BannerStatus as a, BannerProps as i, BannerCloseProps as n, BannerPartProps as r, Banner as t };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Snippet } from "svelte";
|
|
2
|
-
import { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
//#region src/components/breadcrumb/props.d.ts
|
|
4
|
-
interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
-
children?: Snippet;
|
|
6
|
-
}
|
|
7
|
-
interface BreadcrumbListProps extends HTMLAttributes<HTMLOListElement> {
|
|
8
|
-
children?: Snippet;
|
|
9
|
-
}
|
|
10
|
-
interface BreadcrumbItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
11
|
-
children?: Snippet;
|
|
12
|
-
}
|
|
13
|
-
interface BreadcrumbLinkProps extends HTMLAttributes<HTMLAnchorElement> {
|
|
14
|
-
children?: Snippet;
|
|
15
|
-
}
|
|
16
|
-
interface BreadcrumbCurrentProps extends HTMLAttributes<HTMLSpanElement> {
|
|
17
|
-
children?: Snippet;
|
|
18
|
-
}
|
|
19
|
-
interface BreadcrumbSeparatorProps extends HTMLAttributes<HTMLSpanElement> {
|
|
20
|
-
children?: Snippet;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/components/breadcrumb/index.d.ts
|
|
24
|
-
/** A trail of waymarks: Root wraps the nav, List the ordered trail, and
|
|
25
|
-
* each Item carries a Link — or the Current page — parted by a quiet
|
|
26
|
-
* Separator. Links take href and the rest through attributes. */
|
|
27
|
-
declare const Breadcrumb: import("svelte").Component<BreadcrumbProps, {}, ""> & {
|
|
28
|
-
Root: import("svelte").Component<BreadcrumbProps, {}, "">;
|
|
29
|
-
List: import("svelte").Component<BreadcrumbListProps, {}, "">;
|
|
30
|
-
Item: import("svelte").Component<BreadcrumbItemProps, {}, "">;
|
|
31
|
-
Link: import("svelte").Component<BreadcrumbLinkProps, {}, "">;
|
|
32
|
-
Current: import("svelte").Component<BreadcrumbCurrentProps, {}, "">;
|
|
33
|
-
Separator: import("svelte").Component<BreadcrumbSeparatorProps, {}, "">;
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { BreadcrumbListProps as a, BreadcrumbLinkProps as i, BreadcrumbCurrentProps as n, BreadcrumbProps as o, BreadcrumbItemProps as r, BreadcrumbSeparatorProps as s, Breadcrumb as t };
|