@bysages/solid 0.4.0 → 0.4.2
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/{ai-response-D2uINBIi.mjs → ai-response-CJ-uEAgj.mjs} +1 -1
- package/dist/components/accordion/index.mjs +1 -1
- package/dist/components/affix/index.mjs +3 -3
- package/dist/components/ai/index.d.mts +1 -1
- package/dist/components/ai/index.mjs +2 -2
- package/dist/components/ai-action/index.mjs +1 -1
- package/dist/components/ai-attachments/index.mjs +1 -1
- package/dist/components/ai-message/index.mjs +1 -1
- package/dist/components/ai-prompt-input/index.mjs +38 -36
- package/dist/components/ai-reasoning/index.mjs +1 -1
- package/dist/components/ai-response/index.mjs +1 -1
- package/dist/components/ai-source/index.mjs +1 -1
- package/dist/components/ai-suggestion/index.mjs +1 -1
- package/dist/components/ai-tool/index.mjs +1 -1
- package/dist/components/alert/index.mjs +1 -1
- package/dist/components/angle-slider/index.d.mts +15 -1
- package/dist/components/angle-slider/index.mjs +58 -3
- package/dist/components/aspect-ratio/index.mjs +1 -1
- package/dist/components/autocomplete/index.mjs +9 -3
- package/dist/components/avatar/index.mjs +1 -1
- package/dist/components/avatar-group/index.mjs +1 -1
- package/dist/components/back-top/index.mjs +1 -1
- package/dist/components/badge/index.mjs +1 -1
- package/dist/components/banner/index.mjs +1 -1
- package/dist/components/bento/index.mjs +1 -1
- package/dist/components/block-ui/index.mjs +1 -1
- package/dist/components/breadcrumb/index.mjs +1 -1
- package/dist/components/browser/index.mjs +1 -1
- package/dist/components/button/index.mjs +1 -1
- package/dist/components/button-group/index.mjs +1 -1
- package/dist/components/calendar/index.d.mts +19 -7
- package/dist/components/calendar/index.mjs +213 -139
- package/dist/components/card/index.mjs +1 -1
- package/dist/components/carousel/index.d.mts +15 -1
- package/dist/components/carousel/index.mjs +69 -5
- package/dist/components/cascade-select/index.mjs +2 -2
- package/dist/components/checkbox/index.d.mts +16 -1
- package/dist/components/checkbox/index.mjs +54 -3
- package/dist/components/checkbox-group/index.d.mts +10 -3
- package/dist/components/checkbox-group/index.mjs +3 -3
- package/dist/components/chip/index.d.mts +1 -1
- package/dist/components/chip/index.mjs +1 -1
- package/dist/components/clipboard/index.d.mts +14 -1
- package/dist/components/clipboard/index.mjs +58 -3
- package/dist/components/collapsible/index.mjs +1 -1
- package/dist/components/color-picker/index.mjs +1 -1
- package/dist/components/combobox/index.mjs +1 -1
- package/dist/components/command/index.mjs +1 -1
- package/dist/components/comment/index.mjs +1 -1
- package/dist/components/container/index.mjs +1 -1
- package/dist/components/data-view/index.mjs +1 -1
- package/dist/components/date-input/index.d.mts +16 -2
- package/dist/components/date-input/index.mjs +52 -3
- package/dist/components/date-picker/index.d.mts +27 -2
- package/dist/components/date-picker/index.mjs +153 -4
- package/dist/components/deferred-content/index.mjs +1 -1
- package/dist/components/descriptions/index.mjs +1 -1
- package/dist/components/dialog/index.mjs +1 -1
- package/dist/components/dock/index.mjs +1 -1
- package/dist/components/drawer/index.mjs +1 -1
- package/dist/components/dynamic-input/index.mjs +2 -2
- package/dist/components/editable/index.d.mts +17 -1
- package/dist/components/editable/index.mjs +81 -3
- package/dist/components/ellipsis/index.mjs +1 -1
- package/dist/components/empty/index.mjs +1 -1
- package/dist/components/field/index.d.mts +16 -1
- package/dist/components/field/index.mjs +53 -5
- package/dist/components/fieldset/index.d.mts +15 -3
- package/dist/components/fieldset/index.mjs +47 -5
- package/dist/components/file-upload/index.d.mts +21 -1
- package/dist/components/file-upload/index.mjs +66 -3
- package/dist/components/float-button/index.mjs +1 -1
- package/dist/components/floating-panel/index.d.mts +15 -3
- package/dist/components/floating-panel/index.mjs +113 -5
- package/dist/components/form/index.d.mts +44 -2
- package/dist/components/form/index.mjs +1 -1
- package/dist/components/grid/index.mjs +1 -1
- package/dist/components/highlight/index.mjs +1 -1
- package/dist/components/hover-card/index.mjs +1 -1
- package/dist/components/icon/index.mjs +1 -1
- package/dist/components/image/index.mjs +1 -1
- package/dist/components/image-cropper/index.d.mts +8 -1
- package/dist/components/image-cropper/index.mjs +43 -5
- package/dist/components/image-viewer/index.mjs +1 -1
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input-group/index.mjs +1 -1
- package/dist/components/json-tree-view/index.d.mts +11 -2
- package/dist/components/json-tree-view/index.mjs +17 -2
- package/dist/components/kbd/index.mjs +1 -1
- package/dist/components/layout/index.mjs +1 -1
- package/dist/components/link/index.mjs +1 -1
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/listbox/index.d.mts +21 -1
- package/dist/components/listbox/index.mjs +59 -4
- package/dist/components/marquee/index.d.mts +12 -1
- package/dist/components/marquee/index.mjs +46 -5
- package/dist/components/masonry/index.mjs +1 -1
- package/dist/components/media-player/index.mjs +1 -1
- package/dist/components/mentions/index.mjs +1 -1
- package/dist/components/menu/index.mjs +1 -1
- package/dist/components/menubar/index.mjs +1 -1
- package/dist/components/meter/index.mjs +1 -1
- package/dist/components/navigation-menu/index.d.mts +17 -1
- package/dist/components/navigation-menu/index.mjs +66 -6
- package/dist/components/number-input/index.d.mts +20 -1
- package/dist/components/number-input/index.mjs +72 -3
- package/dist/components/order-list/index.mjs +1 -1
- package/dist/components/page-header/index.mjs +1 -1
- package/dist/components/pagination/index.d.mts +22 -2
- package/dist/components/pagination/index.mjs +105 -6
- package/dist/components/password-input/index.d.mts +18 -1
- package/dist/components/password-input/index.mjs +57 -3
- package/dist/components/pin-input/index.d.mts +18 -1
- package/dist/components/pin-input/index.mjs +55 -3
- package/dist/components/popconfirm/index.mjs +1 -1
- package/dist/components/popover/index.mjs +1 -1
- package/dist/components/progress/index.d.mts +19 -1
- package/dist/components/progress/index.mjs +106 -7
- package/dist/components/progress-group/index.mjs +1 -1
- package/dist/components/qr-code/index.d.mts +8 -1
- package/dist/components/qr-code/index.mjs +22 -5
- package/dist/components/radio-group/index.d.mts +23 -1
- package/dist/components/radio-group/index.mjs +66 -3
- package/dist/components/rating-group/index.d.mts +15 -1
- package/dist/components/rating-group/index.mjs +52 -3
- package/dist/components/result/index.mjs +1 -1
- package/dist/components/scroll-area/index.d.mts +11 -3
- package/dist/components/scroll-area/index.mjs +37 -5
- package/dist/components/segment-group/index.d.mts +27 -4
- package/dist/components/segment-group/index.mjs +66 -7
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/separator/index.mjs +1 -1
- package/dist/components/signature-pad/index.d.mts +16 -1
- package/dist/components/signature-pad/index.mjs +64 -5
- package/dist/components/skeleton/index.mjs +1 -1
- package/dist/components/slider/index.d.mts +20 -1
- package/dist/components/slider/index.mjs +67 -3
- package/dist/components/spinner/index.mjs +1 -1
- package/dist/components/split-button/index.mjs +1 -1
- package/dist/components/splitter/index.d.mts +15 -1
- package/dist/components/splitter/index.mjs +58 -5
- package/dist/components/spotlight/index.mjs +1 -1
- package/dist/components/stack/index.mjs +1 -1
- package/dist/components/stat/index.mjs +1 -1
- package/dist/components/steps/index.d.mts +5 -1
- package/dist/components/steps/index.mjs +10 -3
- package/dist/components/swap/index.d.mts +11 -3
- package/dist/components/swap/index.mjs +35 -5
- package/dist/components/switch/index.d.mts +16 -1
- package/dist/components/switch/index.mjs +48 -3
- package/dist/components/table/index.d.mts +2 -0
- package/dist/components/table/index.mjs +36 -14
- package/dist/components/tabs/index.mjs +1 -1
- package/dist/components/tag/index.d.mts +29 -0
- package/dist/components/tag/index.mjs +108 -0
- package/dist/components/tags-input/index.d.mts +18 -1
- package/dist/components/tags-input/index.mjs +83 -3
- package/dist/components/terminal/index.mjs +1 -1
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/timeline/index.mjs +1 -1
- package/dist/components/timer/index.d.mts +12 -1
- package/dist/components/timer/index.mjs +57 -5
- package/dist/components/toast/index.d.mts +10 -5
- package/dist/components/toast/index.mjs +38 -6
- package/dist/components/toc/index.d.mts +2 -11
- package/dist/components/toc/index.mjs +1 -1
- package/dist/components/toggle/index.d.mts +8 -1
- package/dist/components/toggle/index.mjs +27 -5
- package/dist/components/toggle-group/index.d.mts +23 -1
- package/dist/components/toggle-group/index.mjs +58 -4
- package/dist/components/toolbar/index.mjs +1 -1
- package/dist/components/tooltip/index.mjs +1 -1
- package/dist/components/tour/index.mjs +1 -1
- package/dist/components/transfer/index.mjs +2 -2
- package/dist/components/tree-select/index.mjs +2 -2
- package/dist/components/tree-view/index.d.mts +32 -2
- package/dist/components/tree-view/index.mjs +94 -5
- package/dist/components/typography/index.mjs +1 -1
- package/dist/components/user/index.mjs +1 -1
- package/dist/components/virtual-list/index.mjs +1 -1
- package/dist/components/watermark/index.mjs +1 -1
- package/dist/{image-viewer-B9A5lXsk.mjs → image-viewer-19s75Hz_.mjs} +1 -1
- package/dist/index-BU5U5w04.d.mts +35 -0
- package/dist/{index-nFXK_8hJ.d.mts → index-DVc1L_zt.d.mts} +138 -89
- package/dist/index.d.mts +44 -43
- package/dist/index.mjs +9 -8
- package/dist/{input-CPAJdwDb.mjs → input-BL3N3L8g.mjs} +1 -1
- package/dist/{media-player-BC8D_d29.mjs → media-player-yF7KVUxM.mjs} +2 -2
- package/dist/{mentions-CeG5u8Qm.mjs → mentions-DKUG7eHt.mjs} +1 -1
- package/dist/{select-7YjMSBGx.mjs → select-DI7pFspF.mjs} +1 -1
- package/dist/toc-DRHr8_eD.mjs +88 -0
- package/package.json +10 -82
- package/dist/index-B1-quIrl.d.mts +0 -1815
- package/dist/toc-DYKaKQ_X.mjs +0 -31
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { n as withSelfRoot } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
+
import { r as iconNode } from "../../icon-DTqmJCd5.mjs";
|
|
3
|
+
import { delegateEvents, effect, insert, setAttribute, spread, template } from "@solidjs/web";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
+
import { createMemo, createSignal, splitProps } from "solid-js";
|
|
6
|
+
//#region src/components/tag/index.tsx
|
|
7
|
+
var _tmpl$ = /* @__PURE__ */ template(`<span data-scope=tag data-part=close aria-hidden=true>`);
|
|
8
|
+
var _tmpl$2 = /* @__PURE__ */ template(`<button type=button data-scope=tag data-part=close aria-label=Remove>`);
|
|
9
|
+
var _tmpl$3 = /* @__PURE__ */ template(`<button><!><!>`);
|
|
10
|
+
var _tmpl$4 = /* @__PURE__ */ template(`<span><!><!>`);
|
|
11
|
+
const Tag = withSelfRoot(function Tag(props) {
|
|
12
|
+
injectComponentStyle("tag");
|
|
13
|
+
const [own, rest] = splitProps(props, [
|
|
14
|
+
"tone",
|
|
15
|
+
"variant",
|
|
16
|
+
"checkable",
|
|
17
|
+
"checked",
|
|
18
|
+
"defaultValue",
|
|
19
|
+
"closable",
|
|
20
|
+
"disabled",
|
|
21
|
+
"children",
|
|
22
|
+
"onValueChange",
|
|
23
|
+
"onClose"
|
|
24
|
+
]);
|
|
25
|
+
const [internalChecked, setInternalChecked] = createSignal(own.defaultValue ?? false);
|
|
26
|
+
const checked = createMemo(() => own.checked ?? internalChecked());
|
|
27
|
+
const pressed = () => own.checkable ? checked() : false;
|
|
28
|
+
const toggle = () => {
|
|
29
|
+
if (own.disabled) return;
|
|
30
|
+
const next = !checked();
|
|
31
|
+
setInternalChecked(next);
|
|
32
|
+
own.onValueChange?.(next);
|
|
33
|
+
};
|
|
34
|
+
const dismiss = (event) => {
|
|
35
|
+
event.stopPropagation();
|
|
36
|
+
if (own.disabled) return;
|
|
37
|
+
own.onClose?.();
|
|
38
|
+
};
|
|
39
|
+
const rootAttrs = () => ({
|
|
40
|
+
"data-scope": "tag",
|
|
41
|
+
"data-part": "root",
|
|
42
|
+
"data-tone": own.tone ?? "ink",
|
|
43
|
+
"data-variant": own.variant ?? "solid",
|
|
44
|
+
...own.checkable ? { "data-checkable": "true" } : {},
|
|
45
|
+
...pressed() ? { "data-checked": "true" } : {},
|
|
46
|
+
...own.disabled ? { "data-disabled": "true" } : {}
|
|
47
|
+
});
|
|
48
|
+
const closeControl = own.closable ? own.checkable ? (() => {
|
|
49
|
+
var _el$ = _tmpl$();
|
|
50
|
+
_el$._$$click = dismiss;
|
|
51
|
+
insert(_el$, () => {
|
|
52
|
+
return iconNode("x");
|
|
53
|
+
});
|
|
54
|
+
return _el$;
|
|
55
|
+
})() : (() => {
|
|
56
|
+
var _el$2 = _tmpl$2();
|
|
57
|
+
_el$2._$$click = dismiss;
|
|
58
|
+
insert(_el$2, () => {
|
|
59
|
+
return iconNode("x");
|
|
60
|
+
});
|
|
61
|
+
effect(() => own.disabled, (_v$) => {
|
|
62
|
+
setAttribute(_el$2, "disabled", _v$);
|
|
63
|
+
});
|
|
64
|
+
return _el$2;
|
|
65
|
+
})() : null;
|
|
66
|
+
if (own.checkable) {
|
|
67
|
+
var _el$3 = _tmpl$3();
|
|
68
|
+
var _el$4 = _el$3.firstChild;
|
|
69
|
+
var _el$5 = _el$4.nextSibling;
|
|
70
|
+
spread(_el$3, [
|
|
71
|
+
rest,
|
|
72
|
+
rootAttrs,
|
|
73
|
+
{
|
|
74
|
+
type: "button",
|
|
75
|
+
get "aria-pressed"() {
|
|
76
|
+
return checked();
|
|
77
|
+
},
|
|
78
|
+
get disabled() {
|
|
79
|
+
return own.disabled;
|
|
80
|
+
},
|
|
81
|
+
onclick: toggle
|
|
82
|
+
}
|
|
83
|
+
], true);
|
|
84
|
+
insert(_el$3, () => {
|
|
85
|
+
return own.children;
|
|
86
|
+
}, _el$4);
|
|
87
|
+
insert(_el$3, closeControl, _el$5);
|
|
88
|
+
return _el$3;
|
|
89
|
+
}
|
|
90
|
+
var _el$6 = _tmpl$4();
|
|
91
|
+
var _el$7 = _el$6.firstChild;
|
|
92
|
+
var _el$8 = _el$7.nextSibling;
|
|
93
|
+
spread(_el$6, [
|
|
94
|
+
rest,
|
|
95
|
+
rootAttrs,
|
|
96
|
+
() => {
|
|
97
|
+
return own.disabled ? { "aria-disabled": "true" } : {};
|
|
98
|
+
}
|
|
99
|
+
], true);
|
|
100
|
+
insert(_el$6, () => {
|
|
101
|
+
return own.children;
|
|
102
|
+
}, _el$7);
|
|
103
|
+
insert(_el$6, closeControl, _el$8);
|
|
104
|
+
return _el$6;
|
|
105
|
+
});
|
|
106
|
+
delegateEvents(["click"]);
|
|
107
|
+
//#endregion
|
|
108
|
+
export { Tag };
|
|
@@ -10,7 +10,24 @@ type TagsInputOwnProps = {
|
|
|
10
10
|
size?: "sm" | "md" | "lg";
|
|
11
11
|
};
|
|
12
12
|
declare function TagsInputRoot(props: TagsInputRootProps & TagsInputOwnProps): import("solid-js").JSX.Element;
|
|
13
|
-
export
|
|
13
|
+
export interface TagsInputFacadeProps {
|
|
14
|
+
value?: string[];
|
|
15
|
+
defaultValue?: string[];
|
|
16
|
+
label?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
invalid?: boolean;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
/** Show the clear-all control when values exist. */
|
|
22
|
+
clearable?: boolean;
|
|
23
|
+
/** One rung of the control-height ladder for the vessel at rest. */
|
|
24
|
+
size?: "sm" | "md" | "lg";
|
|
25
|
+
onValueChange?: (value: string[]) => void;
|
|
26
|
+
}
|
|
27
|
+
/** The one-tag path: one labelled vessel whose values become editable
|
|
28
|
+
* chips. Delimiters, limits, and custom validation stay on the anatomy. */
|
|
29
|
+
declare function TagsInputFacade(props: TagsInputFacadeProps): import("solid-js").JSX.Element;
|
|
30
|
+
export declare const TagsInput: typeof TagsInputFacade & Omit<typeof TagsInput$1, "Root"> & {
|
|
14
31
|
Root: typeof TagsInputRoot;
|
|
15
32
|
};
|
|
16
33
|
//#endregion
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
+
import { r as iconNode } from "../../icon-DTqmJCd5.mjs";
|
|
2
3
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
4
|
import { createComponent, mergeProps } from "@solidjs/web";
|
|
5
|
-
import {
|
|
5
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
|
+
import { For, Show, splitProps } from "solid-js";
|
|
6
7
|
import { TagsInput as TagsInput$1 } from "@ark-ui/solid/tags-input";
|
|
7
8
|
//#region src/components/tags-input/index.tsx
|
|
8
9
|
function TagsInputRoot(props) {
|
|
@@ -17,7 +18,86 @@ function TagsInputRoot(props) {
|
|
|
17
18
|
}
|
|
18
19
|
}));
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
+
function closeIcon() {
|
|
22
|
+
return iconNode("x");
|
|
23
|
+
}
|
|
24
|
+
/** The one-tag path: one labelled vessel whose values become editable
|
|
25
|
+
* chips. Delimiters, limits, and custom validation stay on the anatomy. */
|
|
26
|
+
function TagsInputFacade(props) {
|
|
27
|
+
injectComponentStyle("tags-input");
|
|
28
|
+
return createComponent(TagsInputRoot, mergeProps({
|
|
29
|
+
get size() {
|
|
30
|
+
return props.size ?? "md";
|
|
31
|
+
},
|
|
32
|
+
get disabled() {
|
|
33
|
+
return props.disabled;
|
|
34
|
+
},
|
|
35
|
+
get invalid() {
|
|
36
|
+
return props.invalid;
|
|
37
|
+
},
|
|
38
|
+
get required() {
|
|
39
|
+
return props.required;
|
|
40
|
+
},
|
|
41
|
+
get defaultValue() {
|
|
42
|
+
return props.defaultValue;
|
|
43
|
+
}
|
|
44
|
+
}, () => {
|
|
45
|
+
return props.value === void 0 ? {} : { value: props.value };
|
|
46
|
+
}, {
|
|
47
|
+
onValueChange: (event) => props.onValueChange?.(event.value),
|
|
48
|
+
get children() {
|
|
49
|
+
return [
|
|
50
|
+
createComponent(Show, {
|
|
51
|
+
get when() {
|
|
52
|
+
return props.label;
|
|
53
|
+
},
|
|
54
|
+
get children() {
|
|
55
|
+
return createComponent(TagsInput$1.Label, { get children() {
|
|
56
|
+
return props.label;
|
|
57
|
+
} });
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
createComponent(TagsInput$1.Control, { get children() {
|
|
61
|
+
return [
|
|
62
|
+
createComponent(TagsInput$1.Context, { children: (tagsInput) => createComponent(For, {
|
|
63
|
+
get each() {
|
|
64
|
+
return tagsInput().value;
|
|
65
|
+
},
|
|
66
|
+
children: (tag, index) => createComponent(TagsInput$1.Item, {
|
|
67
|
+
get index() {
|
|
68
|
+
return index();
|
|
69
|
+
},
|
|
70
|
+
value: tag,
|
|
71
|
+
get children() {
|
|
72
|
+
return [createComponent(TagsInput$1.ItemPreview, { get children() {
|
|
73
|
+
return [createComponent(TagsInput$1.ItemText, { children: tag }), createComponent(TagsInput$1.ItemDeleteTrigger, { get children() {
|
|
74
|
+
return closeIcon();
|
|
75
|
+
} })];
|
|
76
|
+
} }), createComponent(TagsInput$1.ItemInput, {})];
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
}) }),
|
|
80
|
+
createComponent(TagsInput$1.Input, { get placeholder() {
|
|
81
|
+
return props.placeholder;
|
|
82
|
+
} }),
|
|
83
|
+
createComponent(Show, {
|
|
84
|
+
get when() {
|
|
85
|
+
return props.clearable !== false;
|
|
86
|
+
},
|
|
87
|
+
get children() {
|
|
88
|
+
return createComponent(TagsInput$1.ClearTrigger, { get children() {
|
|
89
|
+
return closeIcon();
|
|
90
|
+
} });
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
];
|
|
94
|
+
} }),
|
|
95
|
+
createComponent(TagsInput$1.HiddenInput, {})
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
}));
|
|
99
|
+
}
|
|
100
|
+
const TagsInput = defineFamily(TagsInputFacade, {
|
|
21
101
|
...TagsInput$1,
|
|
22
102
|
Root: TagsInputRoot
|
|
23
103
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "../../family-Cmd8HEyK.mjs";
|
|
2
2
|
import { n as useComponentMessages } from "../../use-component-messages-C4SCVYjD.mjs";
|
|
3
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
4
3
|
import { createComponent, delegateEvents, effect, insert, ref, setAttribute, spread, template } from "@solidjs/web";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
5
|
import { For, createEffect, createSignal, onMount, splitProps } from "solid-js";
|
|
6
6
|
//#region src/components/terminal/index.tsx
|
|
7
7
|
var _tmpl$ = /* @__PURE__ */ template(`<div><div data-scope=terminal data-part=scroll></div><div data-scope=terminal data-part=entry><span data-scope=terminal data-part=sigil aria-hidden=true></span><input data-scope=terminal data-part=input autocomplete=off>`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
2
|
import { spread, template } from "@solidjs/web";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { mergeProps as mergeProps$1, splitProps } from "solid-js";
|
|
5
5
|
import { useFieldContext } from "@ark-ui/solid/field";
|
|
6
6
|
//#region src/components/textarea/index.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
2
1
|
import { createComponent, mergeProps, spread, template } from "@solidjs/web";
|
|
2
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
3
3
|
import { splitProps } from "solid-js";
|
|
4
4
|
//#region src/components/timeline/index.tsx
|
|
5
5
|
var _tmpl$ = /* @__PURE__ */ template(`<ol>`);
|
|
@@ -6,7 +6,18 @@ import { Timer as Timer$1 } from "@ark-ui/solid/timer";
|
|
|
6
6
|
* is Ark's own — Root, Area, Control, Item, Separator, ActionTrigger,
|
|
7
7
|
* Context. Unit labels are plain content, not a machine part. */
|
|
8
8
|
declare function TimerRoot(props: ComponentProps<typeof Timer$1.Root>): import("solid-js").JSX.Element;
|
|
9
|
-
export
|
|
9
|
+
export interface TimerFacadeProps {
|
|
10
|
+
startMs?: number;
|
|
11
|
+
targetMs?: number;
|
|
12
|
+
countdown?: boolean;
|
|
13
|
+
autoStart?: boolean;
|
|
14
|
+
label?: string;
|
|
15
|
+
}
|
|
16
|
+
/** The complete timer behind one duration: minute and second digits with
|
|
17
|
+
* start, pause, resume, and reset. Finer intervals and custom faces remain
|
|
18
|
+
* anatomy work. */
|
|
19
|
+
declare function TimerFacade(props: TimerFacadeProps): import("solid-js").JSX.Element;
|
|
20
|
+
export declare const Timer: typeof TimerFacade & Omit<typeof Timer$1, "Root"> & {
|
|
10
21
|
Root: typeof TimerRoot;
|
|
11
22
|
};
|
|
12
23
|
//#endregion
|
|
@@ -1,20 +1,72 @@
|
|
|
1
1
|
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { createComponent } from "@solidjs/web";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
+
import { createComponent as createComponent$1, mergeProps as mergeProps$1 } from "solid-js";
|
|
5
6
|
import { Timer as Timer$1 } from "@ark-ui/solid/timer";
|
|
6
|
-
//#region src/components/timer/index.
|
|
7
|
+
//#region src/components/timer/index.tsx
|
|
7
8
|
/** Ark's Timer, dressed in the paper-and-ink system: monospaced digits
|
|
8
9
|
* that never jitter, quiet action triggers on the control recipe. The API
|
|
9
10
|
* is Ark's own — Root, Area, Control, Item, Separator, ActionTrigger,
|
|
10
11
|
* Context. Unit labels are plain content, not a machine part. */
|
|
11
12
|
function TimerRoot(props) {
|
|
12
13
|
const id = useElementId("timer", () => props.id);
|
|
13
|
-
return createComponent(Timer$1.Root, mergeProps(props, { get id() {
|
|
14
|
+
return createComponent$1(Timer$1.Root, mergeProps$1(props, { get id() {
|
|
14
15
|
return id();
|
|
15
16
|
} }));
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
+
/** The complete timer behind one duration: minute and second digits with
|
|
19
|
+
* start, pause, resume, and reset. Finer intervals and custom faces remain
|
|
20
|
+
* anatomy work. */
|
|
21
|
+
function TimerFacade(props) {
|
|
22
|
+
injectComponentStyle("timer");
|
|
23
|
+
return createComponent(TimerRoot, {
|
|
24
|
+
get "aria-label"() {
|
|
25
|
+
return props.label;
|
|
26
|
+
},
|
|
27
|
+
get startMs() {
|
|
28
|
+
return props.startMs ?? 0;
|
|
29
|
+
},
|
|
30
|
+
get targetMs() {
|
|
31
|
+
return props.targetMs;
|
|
32
|
+
},
|
|
33
|
+
get countdown() {
|
|
34
|
+
return props.countdown;
|
|
35
|
+
},
|
|
36
|
+
get autoStart() {
|
|
37
|
+
return props.autoStart;
|
|
38
|
+
},
|
|
39
|
+
get children() {
|
|
40
|
+
return [createComponent(Timer$1.Area, { get children() {
|
|
41
|
+
return [
|
|
42
|
+
createComponent(Timer$1.Item, { type: "minutes" }),
|
|
43
|
+
createComponent(Timer$1.Separator, { children: ":" }),
|
|
44
|
+
createComponent(Timer$1.Item, { type: "seconds" })
|
|
45
|
+
];
|
|
46
|
+
} }), createComponent(Timer$1.Control, { get children() {
|
|
47
|
+
return [
|
|
48
|
+
createComponent(Timer$1.ActionTrigger, {
|
|
49
|
+
action: "start",
|
|
50
|
+
children: "Start"
|
|
51
|
+
}),
|
|
52
|
+
createComponent(Timer$1.ActionTrigger, {
|
|
53
|
+
action: "pause",
|
|
54
|
+
children: "Pause"
|
|
55
|
+
}),
|
|
56
|
+
createComponent(Timer$1.ActionTrigger, {
|
|
57
|
+
action: "resume",
|
|
58
|
+
children: "Resume"
|
|
59
|
+
}),
|
|
60
|
+
createComponent(Timer$1.ActionTrigger, {
|
|
61
|
+
action: "reset",
|
|
62
|
+
children: "Reset"
|
|
63
|
+
})
|
|
64
|
+
];
|
|
65
|
+
} })];
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
const Timer = defineFamily(TimerFacade, {
|
|
18
70
|
...Timer$1,
|
|
19
71
|
Root: TimerRoot
|
|
20
72
|
});
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import { ComponentProps } from "solid-js";
|
|
2
|
-
import { CreateToasterReturn, Toast as Toast$1, createToaster } from "@ark-ui/solid/toast";
|
|
1
|
+
import { Accessor, ComponentProps, JSX } from "solid-js";
|
|
2
|
+
import { CreateToasterReturn, Toast as Toast$1, ToastOptions, Toaster as Toaster$1, createToaster } from "@ark-ui/solid/toast";
|
|
3
3
|
//#region src/components/toast/index.d.ts
|
|
4
4
|
/** Ark's Toast, dressed in the paper-and-ink system: each notice rides the
|
|
5
5
|
* popup vessel while a pigment accents the title by type, and the machine's
|
|
6
6
|
* translate variables carry the slide. The API is Ark's own — Toaster,
|
|
7
7
|
* Root, Title, Description, ActionTrigger, CloseTrigger, plus
|
|
8
8
|
* createToaster. */
|
|
9
|
-
declare function ToastRoot(props: ComponentProps<typeof Toast$1.Root>):
|
|
9
|
+
declare function ToastRoot(props: ComponentProps<typeof Toast$1.Root>): JSX.Element;
|
|
10
|
+
export interface ToasterFacadeProps extends Omit<ComponentProps<typeof Toaster$1>, "children"> {
|
|
11
|
+
/** A custom notice card; it receives the machine's toast options. */
|
|
12
|
+
children?: (toast: Accessor<ToastOptions>) => JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
declare function ToasterFacade(props: ToasterFacadeProps): JSX.Element;
|
|
10
15
|
export declare const Toast: typeof ToastRoot & Omit<typeof Toast$1, "Root"> & {
|
|
11
16
|
Root: typeof ToastRoot;
|
|
12
17
|
};
|
|
13
|
-
export declare const Toaster:
|
|
14
|
-
Root:
|
|
18
|
+
export declare const Toaster: typeof ToasterFacade & {
|
|
19
|
+
Root: typeof Toaster$1;
|
|
15
20
|
};
|
|
16
21
|
//#endregion
|
|
17
22
|
export { type CreateToasterReturn, createToaster };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
+
import { r as iconNode } from "../../icon-DTqmJCd5.mjs";
|
|
2
3
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { createComponent, mergeProps } from "@solidjs/web";
|
|
5
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
|
+
import { Show, createComponent as createComponent$1, mergeProps as mergeProps$1, splitProps } from "solid-js";
|
|
5
7
|
import { Toast as Toast$1, Toaster as Toaster$1, createToaster } from "@ark-ui/solid/toast";
|
|
6
|
-
//#region src/components/toast/index.
|
|
8
|
+
//#region src/components/toast/index.tsx
|
|
7
9
|
/** Ark's Toast, dressed in the paper-and-ink system: each notice rides the
|
|
8
10
|
* popup vessel while a pigment accents the title by type, and the machine's
|
|
9
11
|
* translate variables carry the slide. The API is Ark's own — Toaster,
|
|
@@ -11,15 +13,45 @@ import { Toast as Toast$1, Toaster as Toaster$1, createToaster } from "@ark-ui/s
|
|
|
11
13
|
* createToaster. */
|
|
12
14
|
function ToastRoot(props) {
|
|
13
15
|
const id = useElementId("toast", () => props.id);
|
|
14
|
-
return createComponent(Toast$1.Root, mergeProps(props, { get id() {
|
|
16
|
+
return createComponent$1(Toast$1.Root, mergeProps$1(props, { get id() {
|
|
15
17
|
return id();
|
|
16
18
|
} }));
|
|
17
19
|
}
|
|
20
|
+
function ToasterFacade(props) {
|
|
21
|
+
injectComponentStyle("toast");
|
|
22
|
+
const [own, rest] = splitProps(props, ["children"]);
|
|
23
|
+
return createComponent(Toaster$1, mergeProps(rest, { children: (toast) => own.children ? own.children(toast) : createComponent(Toast$1.Root, { get children() {
|
|
24
|
+
return [
|
|
25
|
+
createComponent(Toast$1.Title, { get children() {
|
|
26
|
+
return toast().title;
|
|
27
|
+
} }),
|
|
28
|
+
createComponent(Show, {
|
|
29
|
+
get when() {
|
|
30
|
+
return toast().description;
|
|
31
|
+
},
|
|
32
|
+
get children() {
|
|
33
|
+
return createComponent(Toast$1.Description, { get children() {
|
|
34
|
+
return toast().description;
|
|
35
|
+
} });
|
|
36
|
+
}
|
|
37
|
+
}),
|
|
38
|
+
createComponent(Toast$1.CloseTrigger, {
|
|
39
|
+
"aria-label": "Close",
|
|
40
|
+
get children() {
|
|
41
|
+
return iconNode("x", {
|
|
42
|
+
width: "14",
|
|
43
|
+
height: "14"
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
];
|
|
48
|
+
} }) }));
|
|
49
|
+
}
|
|
18
50
|
const Toast = defineFamily(ToastRoot, {
|
|
19
51
|
...Toast$1,
|
|
20
52
|
Root: ToastRoot
|
|
21
53
|
});
|
|
22
|
-
const Toaster =
|
|
54
|
+
const Toaster = defineFamily(ToasterFacade, { Root: Toaster$1 });
|
|
23
55
|
injectComponentStyle("toast");
|
|
24
56
|
//#endregion
|
|
25
57
|
export { Toast, Toaster, createToaster };
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/components/toc/index.d.ts
|
|
4
|
-
/** Ark's Toc, dressed in the paper-and-ink system: a quiet rail of links
|
|
5
|
-
* beside the scroll, one stroke of primary ink marking where the reader
|
|
6
|
-
* stands. The API is Ark's own — Root, Title, List, Item, Link, Indicator. */
|
|
7
|
-
declare function TocRoot(props: ComponentProps<typeof Toc$1.Root>): import("solid-js").JSX.Element;
|
|
8
|
-
export declare const Toc: typeof TocRoot & Omit<typeof Toc$1, "Root"> & {
|
|
9
|
-
Root: typeof TocRoot;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
1
|
+
import { n as TocFacadeProps, t as Toc } from "../../index-BU5U5w04.mjs";
|
|
2
|
+
export { Toc, TocFacadeProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Toc } from "../../toc-
|
|
1
|
+
import { t as Toc } from "../../toc-DRHr8_eD.mjs";
|
|
2
2
|
export { Toc };
|
|
@@ -5,7 +5,14 @@ import { Toggle as Toggle$1 } from "@ark-ui/solid/toggle";
|
|
|
5
5
|
* settles into the flat ink fill while pressed on. The API is Ark's own —
|
|
6
6
|
* Root, Indicator. */
|
|
7
7
|
declare function ToggleRoot(props: ComponentProps<typeof Toggle$1.Root>): import("solid-js").JSX.Element;
|
|
8
|
-
export
|
|
8
|
+
export interface ToggleFacadeProps extends ComponentProps<typeof Toggle$1.Root> {
|
|
9
|
+
/** The accessible name when the content is only a glyph. */
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
/** The complete pressed seal behind one label: the default content
|
|
13
|
+
* swaps through the indicator, so one child serves both states. */
|
|
14
|
+
declare function ToggleFacade(props: ToggleFacadeProps): import("solid-js").JSX.Element;
|
|
15
|
+
export declare const Toggle: typeof ToggleFacade & Omit<typeof Toggle$1, "Root"> & {
|
|
9
16
|
Root: typeof ToggleRoot;
|
|
10
17
|
};
|
|
11
18
|
//#endregion
|
|
@@ -1,19 +1,41 @@
|
|
|
1
1
|
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { createComponent, mergeProps } from "@solidjs/web";
|
|
4
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
5
|
+
import { createComponent as createComponent$1, mergeProps as mergeProps$1, splitProps } from "solid-js";
|
|
5
6
|
import { Toggle as Toggle$1 } from "@ark-ui/solid/toggle";
|
|
6
|
-
//#region src/components/toggle/index.
|
|
7
|
+
//#region src/components/toggle/index.tsx
|
|
7
8
|
/** Ark's Toggle, dressed in the paper-and-ink system: a standalone seal that
|
|
8
9
|
* settles into the flat ink fill while pressed on. The API is Ark's own —
|
|
9
10
|
* Root, Indicator. */
|
|
10
11
|
function ToggleRoot(props) {
|
|
11
12
|
const id = useElementId("toggle", () => props.id);
|
|
12
|
-
return createComponent(Toggle$1.Root, mergeProps(props, { get id() {
|
|
13
|
+
return createComponent$1(Toggle$1.Root, mergeProps$1(props, { get id() {
|
|
13
14
|
return id();
|
|
14
15
|
} }));
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
+
/** The complete pressed seal behind one label: the default content
|
|
18
|
+
* swaps through the indicator, so one child serves both states. */
|
|
19
|
+
function ToggleFacade(props) {
|
|
20
|
+
injectComponentStyle("toggle");
|
|
21
|
+
const [own, rest] = splitProps(props, ["children", "label"]);
|
|
22
|
+
return createComponent(ToggleRoot, mergeProps(rest, {
|
|
23
|
+
get "aria-label"() {
|
|
24
|
+
return own.label ?? rest["aria-label"];
|
|
25
|
+
},
|
|
26
|
+
get children() {
|
|
27
|
+
return createComponent(Toggle$1.Indicator, {
|
|
28
|
+
get fallback() {
|
|
29
|
+
return own.children;
|
|
30
|
+
},
|
|
31
|
+
get children() {
|
|
32
|
+
return own.children;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
const Toggle = defineFamily(ToggleFacade, {
|
|
17
39
|
...Toggle$1,
|
|
18
40
|
Root: ToggleRoot
|
|
19
41
|
});
|
|
@@ -8,7 +8,29 @@ type ToggleGroupOwnProps = {
|
|
|
8
8
|
size?: "sm" | "md" | "lg";
|
|
9
9
|
};
|
|
10
10
|
declare function ToggleGroupRoot(props: ToggleGroupRootProps & ToggleGroupOwnProps): import("solid-js").JSX.Element;
|
|
11
|
-
export
|
|
11
|
+
export type ToggleGroupItem = {
|
|
12
|
+
value: string;
|
|
13
|
+
label: string;
|
|
14
|
+
/** A built-in core-registry icon; omit it to render the label as text. */
|
|
15
|
+
icon?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type ToggleGroupFacadeValue = string | string[];
|
|
19
|
+
/** The complete toggle group: labels or curated icons share the same tray. */
|
|
20
|
+
export interface ToggleGroupFacadeProps {
|
|
21
|
+
value?: ToggleGroupFacadeValue;
|
|
22
|
+
defaultValue?: ToggleGroupFacadeValue;
|
|
23
|
+
items: ToggleGroupItem[];
|
|
24
|
+
label?: string;
|
|
25
|
+
multiple?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
/** One rung of the control-height ladder for the items. */
|
|
28
|
+
size?: "sm" | "md" | "lg";
|
|
29
|
+
onValueChange?: (value: ToggleGroupFacadeValue) => void;
|
|
30
|
+
}
|
|
31
|
+
declare function ToggleGroupFacade(props: ToggleGroupFacadeProps): import("solid-js").JSX.Element;
|
|
32
|
+
type ToggleGroupParts = Omit<typeof ToggleGroup$1, "Root"> & {
|
|
12
33
|
Root: typeof ToggleGroupRoot;
|
|
13
34
|
};
|
|
35
|
+
export declare const ToggleGroup: typeof ToggleGroupFacade & ToggleGroupParts;
|
|
14
36
|
//#endregion
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
+
import { r as iconNode } from "../../icon-DTqmJCd5.mjs";
|
|
2
3
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { splitProps } from "solid-js";
|
|
4
|
+
import { createComponent, memo, mergeProps } from "@solidjs/web";
|
|
5
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
|
+
import { For, splitProps } from "solid-js";
|
|
6
7
|
import { ToggleGroup as ToggleGroup$1 } from "@ark-ui/solid/toggle-group";
|
|
7
8
|
//#region src/components/toggle-group/index.tsx
|
|
8
9
|
function ToggleGroupRoot(props) {
|
|
@@ -17,7 +18,60 @@ function ToggleGroupRoot(props) {
|
|
|
17
18
|
}
|
|
18
19
|
}));
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
+
function toArkValue(value) {
|
|
22
|
+
return value === void 0 ? [] : Array.isArray(value) ? value : [value];
|
|
23
|
+
}
|
|
24
|
+
function ToggleGroupFacade(props) {
|
|
25
|
+
injectComponentStyle("toggle-group");
|
|
26
|
+
return createComponent(ToggleGroupRoot, mergeProps({
|
|
27
|
+
get size() {
|
|
28
|
+
return props.size ?? "md";
|
|
29
|
+
},
|
|
30
|
+
get "aria-label"() {
|
|
31
|
+
return props.label;
|
|
32
|
+
},
|
|
33
|
+
get disabled() {
|
|
34
|
+
return props.disabled;
|
|
35
|
+
},
|
|
36
|
+
get multiple() {
|
|
37
|
+
return props.multiple;
|
|
38
|
+
},
|
|
39
|
+
get defaultValue() {
|
|
40
|
+
return toArkValue(props.defaultValue);
|
|
41
|
+
}
|
|
42
|
+
}, () => {
|
|
43
|
+
return props.value === void 0 ? {} : { value: toArkValue(props.value) };
|
|
44
|
+
}, {
|
|
45
|
+
onValueChange: (details) => props.onValueChange?.(props.multiple ? details.value : details.value.at(0) ?? ""),
|
|
46
|
+
get children() {
|
|
47
|
+
return createComponent(For, {
|
|
48
|
+
get each() {
|
|
49
|
+
return props.items;
|
|
50
|
+
},
|
|
51
|
+
children: (item) => createComponent(ToggleGroup$1.Item, {
|
|
52
|
+
get value() {
|
|
53
|
+
return item.value;
|
|
54
|
+
},
|
|
55
|
+
get disabled() {
|
|
56
|
+
return item.disabled;
|
|
57
|
+
},
|
|
58
|
+
get "aria-label"() {
|
|
59
|
+
return item.label;
|
|
60
|
+
},
|
|
61
|
+
get "data-variant"() {
|
|
62
|
+
return item.icon ? "icon" : "text";
|
|
63
|
+
},
|
|
64
|
+
get children() {
|
|
65
|
+
return memo(() => {
|
|
66
|
+
return !!item.icon;
|
|
67
|
+
})() ? iconNode(item.icon) : item.label;
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
const ToggleGroup = defineFamily(ToggleGroupFacade, {
|
|
21
75
|
...ToggleGroup$1,
|
|
22
76
|
Root: ToggleGroupRoot
|
|
23
77
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as withSelfRoot } from "../../family-Cmd8HEyK.mjs";
|
|
2
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
3
2
|
import { createComponent, insert, spread, template } from "@solidjs/web";
|
|
3
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
4
4
|
import { Show, splitProps } from "solid-js";
|
|
5
5
|
//#region src/components/toolbar/index.tsx
|
|
6
6
|
var _tmpl$ = /* @__PURE__ */ template(`<div data-scope=toolbar data-part=group data-edge=end>`);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as defineFamily } from "../../family-Cmd8HEyK.mjs";
|
|
2
2
|
import { t as useElementId } from "../../id-2ygNzPHF.mjs";
|
|
3
3
|
import { n as withElementProps, t as isElement } from "../../element-dGIhOTJ6.mjs";
|
|
4
|
-
import { injectComponentStyle } from "@bysages/core";
|
|
5
4
|
import { createComponent, memo, mergeProps } from "@solidjs/web";
|
|
5
|
+
import { injectComponentStyle } from "@bysages/core/styling";
|
|
6
6
|
import { createComponent as createComponent$1, mergeProps as mergeProps$1 } from "solid-js";
|
|
7
7
|
import { Tooltip as Tooltip$1 } from "@ark-ui/solid/tooltip";
|
|
8
8
|
//#region src/components/tooltip/index.tsx
|