@gemologic/sheen 0.2.1 → 0.4.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/ai.d.ts +8 -0
- package/dist/ai.js +5 -0
- package/dist/core.d.ts +11 -4
- package/dist/core.js +32 -28
- package/dist/formisch.js +1 -2
- package/dist/forms.d.ts +2 -0
- package/dist/forms.js +16 -15
- package/dist/index.d.ts +27 -5
- package/dist/index.js +87 -76
- package/dist/layout/Layout.js +1 -2
- package/dist/metadata.js +1 -2
- package/dist/navigation.d.ts +2 -1
- package/dist/navigation.js +16 -16
- package/dist/overlays.d.ts +2 -0
- package/dist/overlays.js +9 -8
- package/dist/primitives/Accordion.js +9 -9
- package/dist/primitives/ActivityTimeline.js +57 -49
- package/dist/primitives/AlertDialog.js +1 -2
- package/dist/primitives/Avatar.js +16 -17
- package/dist/primitives/Board.d.ts +39 -0
- package/dist/primitives/Board.js +471 -0
- package/dist/primitives/Breadcrumb.js +1 -2
- package/dist/primitives/Button.js +38 -27
- package/dist/primitives/ButtonGroup.js +1 -2
- package/dist/primitives/Checkbox.d.ts +16 -2
- package/dist/primitives/Checkbox.js +46 -36
- package/dist/primitives/CheckboxGroup.js +11 -12
- package/dist/primitives/Collapsible.js +6 -6
- package/dist/primitives/Combobox.js +203 -201
- package/dist/primitives/CommandPalette.d.ts +4 -0
- package/dist/primitives/CommandPalette.js +138 -116
- package/dist/primitives/ConfirmDialog.js +5 -6
- package/dist/primitives/ContextMenu.js +7 -8
- package/dist/primitives/Conversation.d.ts +17 -0
- package/dist/primitives/Conversation.js +107 -0
- package/dist/primitives/DescriptionList.js +1 -2
- package/dist/primitives/Dialog.js +101 -68
- package/dist/primitives/Drawer.js +12 -13
- package/dist/primitives/DropdownMenu.js +163 -157
- package/dist/primitives/EditableTextField.js +3 -8
- package/dist/primitives/EmptyState.js +1 -2
- package/dist/primitives/Field.js +1 -2
- package/dist/primitives/FileDropzone.js +19 -18
- package/dist/primitives/Form.d.ts +23 -0
- package/dist/primitives/Form.js +76 -0
- package/dist/primitives/Glyph.d.ts +40 -0
- package/dist/primitives/Glyph.js +65 -0
- package/dist/primitives/IconButton.js +5 -6
- package/dist/primitives/Input.js +1 -2
- package/dist/primitives/InputGroup.js +8 -9
- package/dist/primitives/Link.d.ts +9 -1
- package/dist/primitives/Link.js +23 -17
- package/dist/primitives/LinkTooltip.js +6 -7
- package/dist/primitives/List.d.ts +34 -0
- package/dist/primitives/List.js +135 -0
- package/dist/primitives/Message.d.ts +13 -0
- package/dist/primitives/Message.js +75 -0
- package/dist/primitives/NavList.js +15 -16
- package/dist/primitives/Notice.d.ts +15 -1
- package/dist/primitives/Notice.js +91 -43
- package/dist/primitives/NumberField.js +81 -81
- package/dist/primitives/NumberText.d.ts +4 -0
- package/dist/primitives/NumberText.js +50 -25
- package/dist/primitives/Pagination.js +81 -60
- package/dist/primitives/Popover.d.ts +1 -0
- package/dist/primitives/Popover.js +65 -57
- package/dist/primitives/Progress.js +1 -2
- package/dist/primitives/PromptInput.d.ts +23 -0
- package/dist/primitives/PromptInput.js +135 -0
- package/dist/primitives/RadioGroup.js +12 -17
- package/dist/primitives/Resizable.js +1 -2
- package/dist/primitives/ScrollArea.js +1 -2
- package/dist/primitives/SearchInput.js +45 -38
- package/dist/primitives/SegmentedControl.d.ts +2 -0
- package/dist/primitives/SegmentedControl.js +92 -78
- package/dist/primitives/Select.js +105 -100
- package/dist/primitives/Separator.js +1 -2
- package/dist/primitives/ShortcutPending.js +11 -12
- package/dist/primitives/ShortcutProvider.d.ts +5 -0
- package/dist/primitives/ShortcutProvider.js +71 -65
- package/dist/primitives/ShortcutScope.js +8 -9
- package/dist/primitives/ShortcutSheet.js +30 -24
- package/dist/primitives/Skeleton.js +1 -2
- package/dist/primitives/Slider.js +1 -2
- package/dist/primitives/SortableList.d.ts +19 -0
- package/dist/primitives/SortableList.js +235 -0
- package/dist/primitives/Spinner.js +1 -2
- package/dist/primitives/Status.js +14 -14
- package/dist/primitives/Stepper.js +54 -52
- package/dist/primitives/StreamingText.d.ts +12 -0
- package/dist/primitives/StreamingText.js +42 -0
- package/dist/primitives/Surface.js +1 -2
- package/dist/primitives/Switch.d.ts +2 -2
- package/dist/primitives/Switch.js +1 -2
- package/dist/primitives/Table.js +1 -2
- package/dist/primitives/Tabs.js +20 -17
- package/dist/primitives/TagInput.js +6 -9
- package/dist/primitives/Textarea.js +37 -63
- package/dist/primitives/Toast.js +42 -41
- package/dist/primitives/Toaster.js +27 -28
- package/dist/primitives/Tooltip.js +32 -32
- package/dist/primitives/TooltipTrigger.d.ts +18 -0
- package/dist/primitives/TooltipTrigger.js +76 -0
- package/dist/primitives/Tree.js +1 -2
- package/dist/primitives/Typography.d.ts +6 -2
- package/dist/primitives/Typography.js +20 -12
- package/dist/primitives/boolean-input-state.js +3 -8
- package/dist/primitives/button-variants.js +2 -3
- package/dist/primitives/choice-options.js +1 -2
- package/dist/primitives/create-confirm.js +1 -2
- package/dist/primitives/create-toaster.js +1 -2
- package/dist/primitives/link-focus.js +1 -2
- package/dist/primitives/menu-focus.js +1 -2
- package/dist/primitives/sortable-core.d.ts +70 -0
- package/dist/primitives/sortable-core.js +109 -0
- package/dist/primitives/sortable-drag.d.ts +29 -0
- package/dist/primitives/sortable-drag.js +50 -0
- package/dist/primitives/tooltip-layer.js +26 -27
- package/dist/sortable.d.ts +6 -0
- package/dist/sortable.js +4 -0
- package/dist/theme/ThemeProvider.d.ts +6 -1
- package/dist/theme/ThemeProvider.js +65 -58
- package/dist/theme/intl.js +1 -2
- package/dist/theme/keyboard-script.js +1 -2
- package/dist/theme/layers.js +1 -2
- package/dist/theme/messages.d.ts +26 -0
- package/dist/theme/messages.js +9 -2
- package/dist/theme/number-format-cache.js +1 -2
- package/dist/theme/script.d.ts +1 -0
- package/dist/theme/script.js +3 -3
- package/dist/theme/state.d.ts +4 -4
- package/dist/theme/state.js +12 -13
- package/dist/utils/auto-resize.d.ts +6 -0
- package/dist/utils/auto-resize.js +31 -0
- package/dist/utils/browser-status.js +1 -2
- package/dist/utils/change-motion.d.ts +8 -0
- package/dist/utils/change-motion.js +19 -0
- package/dist/utils/cn.js +1 -2
- package/dist/utils/media-query.d.ts +10 -0
- package/dist/utils/media-query.js +16 -0
- package/dist/utils/optimistic.js +1 -2
- package/dist/utils/shortcut-platform.js +1 -2
- package/dist/utils/shortcut-registry.d.ts +5 -0
- package/dist/utils/shortcut-registry.js +61 -51
- package/dist/vite.js +3 -4
- package/package.json +23 -5
- package/src/ai.ts +8 -0
- package/src/core.ts +11 -4
- package/src/forms.ts +2 -0
- package/src/index.ts +27 -5
- package/src/navigation.ts +2 -1
- package/src/overlays.ts +2 -0
- package/src/primitives/Accordion.tsx +1 -1
- package/src/primitives/ActivityTimeline.tsx +12 -7
- package/src/primitives/Board.tsx +406 -0
- package/src/primitives/Button.tsx +15 -4
- package/src/primitives/Checkbox.tsx +14 -7
- package/src/primitives/Collapsible.tsx +1 -1
- package/src/primitives/Combobox.tsx +2 -1
- package/src/primitives/CommandPalette.tsx +13 -4
- package/src/primitives/Conversation.tsx +108 -0
- package/src/primitives/Dialog.tsx +5 -1
- package/src/primitives/DropdownMenu.tsx +12 -6
- package/src/primitives/FileDropzone.tsx +2 -2
- package/src/primitives/Form.tsx +58 -0
- package/src/primitives/Glyph.tsx +55 -0
- package/src/primitives/Link.tsx +15 -6
- package/src/primitives/List.tsx +68 -0
- package/src/primitives/Message.tsx +40 -0
- package/src/primitives/Notice.tsx +45 -12
- package/src/primitives/NumberField.tsx +3 -2
- package/src/primitives/NumberText.tsx +31 -4
- package/src/primitives/Pagination.tsx +6 -5
- package/src/primitives/Popover.tsx +7 -5
- package/src/primitives/PromptInput.tsx +116 -0
- package/src/primitives/SearchInput.tsx +4 -3
- package/src/primitives/SegmentedControl.tsx +29 -4
- package/src/primitives/Select.tsx +3 -2
- package/src/primitives/ShortcutProvider.tsx +14 -1
- package/src/primitives/ShortcutSheet.tsx +1 -1
- package/src/primitives/SortableList.tsx +208 -0
- package/src/primitives/Status.tsx +1 -1
- package/src/primitives/Stepper.tsx +7 -7
- package/src/primitives/StreamingText.tsx +32 -0
- package/src/primitives/Switch.tsx +2 -2
- package/src/primitives/Tabs.tsx +2 -1
- package/src/primitives/TagInput.tsx +1 -1
- package/src/primitives/Textarea.tsx +3 -47
- package/src/primitives/Toast.tsx +2 -1
- package/src/primitives/Tooltip.tsx +4 -2
- package/src/primitives/TooltipTrigger.tsx +60 -0
- package/src/primitives/Typography.tsx +11 -2
- package/src/primitives/button-variants.ts +1 -1
- package/src/primitives/sortable-core.ts +139 -0
- package/src/primitives/sortable-drag.ts +75 -0
- package/src/sortable.ts +6 -0
- package/src/styles/ai.css +57 -0
- package/src/styles/core.css +321 -0
- package/src/styles/forms.css +263 -0
- package/src/styles/navigation.css +137 -0
- package/src/styles/overlays.css +107 -0
- package/src/styles/sortable.css +87 -0
- package/src/styles.css +5 -658
- package/src/theme/ThemeProvider.tsx +20 -8
- package/src/theme/messages.ts +20 -1
- package/src/theme/script.ts +2 -2
- package/src/theme/state.ts +5 -5
- package/src/utils/auto-resize.ts +58 -0
- package/src/utils/change-motion.ts +28 -0
- package/src/utils/media-query.ts +26 -0
- package/src/utils/shortcut-registry.ts +19 -2
- package/src/vite.ts +3 -3
- package/vendor/integrity.json +13 -13
- package/vendor/kobalte-core/chunk/3D6FM2PJ.js +7 -1
- package/vendor/kobalte-core/chunk/G3KI2B4X.js +2 -1
- package/vendor/kobalte-core/chunk/KEL2LLJM.jsx +2 -1
- package/vendor/kobalte-core/chunk/RFN6X5VH.jsx +7 -1
- package/vendor/origins.json +4 -4
- package/vendor/solid-web/dev.cjs +21 -17
- package/vendor/solid-web/dev.js +21 -17
- package/vendor/solid-web/server.cjs +1 -1
- package/vendor/solid-web/server.js +1 -1
- package/vendor/solid-web/web.cjs +21 -17
- package/vendor/solid-web/web.js +21 -17
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { cn as e } from "../utils/cn.js";
|
|
2
2
|
import { createBooleanInputState as t } from "./boolean-input-state.js";
|
|
3
|
-
import { className as n, createComponent as r,
|
|
4
|
-
import { Show as
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
function b(
|
|
8
|
-
let [
|
|
3
|
+
import { className as n, createComponent as r, effect as i, insert as a, mergeProps as o, setAttribute as s, spread as c, template as l, use as u } from "solid-js/web";
|
|
4
|
+
import { Show as d, createUniqueId as f, splitProps as p } from "solid-js";
|
|
5
|
+
// src/primitives/Checkbox.tsx
|
|
6
|
+
var m = /*#__PURE__*/ l("<p>"), h = /*#__PURE__*/ l("<div><div><input type=checkbox><span aria-hidden=true>"), g = /*#__PURE__*/ l("<span class=sheen-checkbox-indicator><span class=sheen-checkbox-mark>"), _ = /*#__PURE__*/ l("<span class=sheen-switch-thumb>"), v = /*#__PURE__*/ l("<span aria-hidden=true> *"), y = /*#__PURE__*/ l("<label>");
|
|
7
|
+
function b(l, b) {
|
|
8
|
+
let [x, S, C] = p(l, [
|
|
9
9
|
"label",
|
|
10
|
+
"aria-label",
|
|
11
|
+
"aria-labelledby",
|
|
10
12
|
"description",
|
|
11
13
|
"error",
|
|
12
14
|
"class",
|
|
@@ -22,56 +24,64 @@ function b(i, u) {
|
|
|
22
24
|
"required",
|
|
23
25
|
"name",
|
|
24
26
|
"value"
|
|
25
|
-
]),
|
|
27
|
+
]), w = `sheen-${b}`, T = f(), E = `${T}-input`, D = () => [x.description ? `${T}-description` : "", x.error ? `${T}-error` : ""].filter(Boolean).join(" ") || void 0, { checked: O, requestChange: k, setInput: A } = t(S, (e) => x.onCheckedChange?.(e));
|
|
26
28
|
return (() => {
|
|
27
|
-
var t =
|
|
28
|
-
return
|
|
29
|
+
var t = h(), l = t.firstChild, f = l.firstChild, p = f.nextSibling;
|
|
30
|
+
return c(t, o(C, {
|
|
29
31
|
get class() {
|
|
30
|
-
return e(
|
|
32
|
+
return e(w, x.class);
|
|
31
33
|
},
|
|
32
34
|
get "data-checked"() {
|
|
33
35
|
return O() || void 0;
|
|
34
36
|
},
|
|
35
37
|
get "data-indeterminate"() {
|
|
36
|
-
return
|
|
38
|
+
return S.indeterminate || void 0;
|
|
37
39
|
},
|
|
38
40
|
get "data-disabled"() {
|
|
39
|
-
return
|
|
41
|
+
return S.disabled || void 0;
|
|
40
42
|
},
|
|
41
43
|
get "data-readonly"() {
|
|
42
|
-
return
|
|
44
|
+
return S.readOnly || void 0;
|
|
43
45
|
},
|
|
44
46
|
get "data-invalid"() {
|
|
45
|
-
return
|
|
47
|
+
return x.error ? "" : void 0;
|
|
46
48
|
}
|
|
47
|
-
}), !1, !0), n(
|
|
48
|
-
|
|
49
|
-
},
|
|
49
|
+
}), !1, !0), n(l, `${w}-row`), f.addEventListener("change", (e) => k(e.currentTarget)), u((e) => {
|
|
50
|
+
A(e), x.inputRef?.(e);
|
|
51
|
+
}, f), s(f, "id", E), s(f, "role", b === "switch" ? "switch" : void 0), n(f, `${w}-input`), n(p, `${w}-control`), a(p, b === "checkbox" ? g() : _()), a(l, r(d, {
|
|
50
52
|
get when() {
|
|
51
|
-
return x.
|
|
53
|
+
return x.label;
|
|
52
54
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
children: (e) => (() => {
|
|
56
|
+
var t = y();
|
|
57
|
+
return s(t, "for", E), n(t, `${w}-label`), a(t, e, null), a(t, r(d, {
|
|
58
|
+
get when() {
|
|
59
|
+
return S.required;
|
|
60
|
+
},
|
|
61
|
+
get children() {
|
|
62
|
+
return v();
|
|
63
|
+
}
|
|
64
|
+
}), null), t;
|
|
65
|
+
})()
|
|
66
|
+
}), null), a(t, r(d, {
|
|
57
67
|
get when() {
|
|
58
|
-
return
|
|
68
|
+
return x.description;
|
|
59
69
|
},
|
|
60
70
|
get children() {
|
|
61
|
-
var e =
|
|
62
|
-
return
|
|
71
|
+
var e = m();
|
|
72
|
+
return s(e, "id", `${T}-description`), n(e, `${w}-description`), a(e, () => x.description), e;
|
|
63
73
|
}
|
|
64
|
-
}), null),
|
|
74
|
+
}), null), a(t, r(d, {
|
|
65
75
|
get when() {
|
|
66
|
-
return
|
|
76
|
+
return x.error;
|
|
67
77
|
},
|
|
68
78
|
get children() {
|
|
69
|
-
var e =
|
|
70
|
-
return
|
|
79
|
+
var e = m();
|
|
80
|
+
return s(e, "id", `${T}-error`), n(e, `${w}-error`), a(e, () => x.error), e;
|
|
71
81
|
}
|
|
72
|
-
}), null),
|
|
73
|
-
var t =
|
|
74
|
-
return t !== e.e &&
|
|
82
|
+
}), null), i((e) => {
|
|
83
|
+
var t = S.name ?? "", n = x.form, r = S.disabled, i = S.required, a = S.readOnly, o = x["aria-label"], c = x["aria-labelledby"], l = S.readOnly || void 0, u = x.error ? "true" : void 0, d = D(), m = S.indeterminate || void 0;
|
|
84
|
+
return t !== e.e && s(f, "name", e.e = t), n !== e.t && s(f, "form", e.t = n), r !== e.a && (f.disabled = e.a = r), i !== e.o && (f.required = e.o = i), a !== e.i && (f.readOnly = e.i = a), o !== e.n && s(f, "aria-label", e.n = o), c !== e.s && s(f, "aria-labelledby", e.s = c), l !== e.h && s(f, "aria-readonly", e.h = l), u !== e.r && s(f, "aria-invalid", e.r = u), d !== e.d && s(f, "aria-describedby", e.d = d), m !== e.l && s(p, "data-indeterminate", e.l = m), e;
|
|
75
85
|
}, {
|
|
76
86
|
e: void 0,
|
|
77
87
|
t: void 0,
|
|
@@ -81,13 +91,13 @@ function b(i, u) {
|
|
|
81
91
|
n: void 0,
|
|
82
92
|
s: void 0,
|
|
83
93
|
h: void 0,
|
|
84
|
-
r: void 0
|
|
85
|
-
|
|
94
|
+
r: void 0,
|
|
95
|
+
d: void 0,
|
|
96
|
+
l: void 0
|
|
97
|
+
}), i(() => f.value = S.value), i(() => f.checked = O()), t;
|
|
86
98
|
})();
|
|
87
99
|
}
|
|
88
100
|
function x(e) {
|
|
89
101
|
return b(e, "checkbox");
|
|
90
102
|
}
|
|
91
|
-
i(["click"]);
|
|
92
|
-
//#endregion
|
|
93
103
|
export { x as Checkbox, b as createNativeBooleanControl };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Checkbox as e } from "./Checkbox.js";
|
|
2
|
+
import { cn as t } from "../utils/cn.js";
|
|
3
3
|
import { createChoiceOptions as n } from "./choice-options.js";
|
|
4
4
|
import { createComponent as r, insert as i, mergeProps as a, setAttribute as o, spread as s, template as c, use as l } from "solid-js/web";
|
|
5
5
|
import { For as u, Show as d, createSignal as f, createUniqueId as p, onCleanup as m, onMount as h, splitProps as g, untrack as _ } from "solid-js";
|
|
6
|
-
|
|
6
|
+
// src/primitives/CheckboxGroup.tsx
|
|
7
7
|
var v = /*#__PURE__*/ c("<p class=sheen-checkbox-group-description>"), y = /*#__PURE__*/ c("<p class=sheen-checkbox-group-error>"), b = /*#__PURE__*/ c("<fieldset><legend class=sheen-checkbox-group-label></legend><div class=sheen-checkbox-group-options>");
|
|
8
8
|
function x(c) {
|
|
9
9
|
let x = p(), [S, C] = g(c, [
|
|
@@ -53,7 +53,7 @@ function x(c) {
|
|
|
53
53
|
return C.tabIndex ?? -1;
|
|
54
54
|
},
|
|
55
55
|
get class() {
|
|
56
|
-
return
|
|
56
|
+
return t("sheen-checkbox-group", S.class);
|
|
57
57
|
},
|
|
58
58
|
get disabled() {
|
|
59
59
|
return S.disabled;
|
|
@@ -82,11 +82,11 @@ function x(c) {
|
|
|
82
82
|
get each() {
|
|
83
83
|
return A();
|
|
84
84
|
},
|
|
85
|
-
children: (
|
|
86
|
-
let n = _(() => k().get(
|
|
85
|
+
children: (t) => {
|
|
86
|
+
let n = _(() => k().get(t));
|
|
87
87
|
if (!n) throw Error("CheckboxGroup: missing option during creation");
|
|
88
|
-
let i = () => k().get(
|
|
89
|
-
return r(
|
|
88
|
+
let i = () => k().get(t) ?? n;
|
|
89
|
+
return r(e, a(i, {
|
|
90
90
|
get name() {
|
|
91
91
|
return S.name ?? "";
|
|
92
92
|
},
|
|
@@ -94,7 +94,7 @@ function x(c) {
|
|
|
94
94
|
return C.form;
|
|
95
95
|
},
|
|
96
96
|
get checked() {
|
|
97
|
-
return D().includes(
|
|
97
|
+
return D().includes(t);
|
|
98
98
|
},
|
|
99
99
|
get disabled() {
|
|
100
100
|
return !!S.disabled || !!i().disabled;
|
|
@@ -102,8 +102,8 @@ function x(c) {
|
|
|
102
102
|
get readOnly() {
|
|
103
103
|
return S.readOnly ?? !1;
|
|
104
104
|
},
|
|
105
|
-
onCheckedChange: (
|
|
106
|
-
S.disabled || S.readOnly || i().disabled || j(
|
|
105
|
+
onCheckedChange: (e) => {
|
|
106
|
+
S.disabled || S.readOnly || i().disabled || j(e ? [...D(), t] : D().filter((e) => e !== t));
|
|
107
107
|
}
|
|
108
108
|
}));
|
|
109
109
|
}
|
|
@@ -118,5 +118,4 @@ function x(c) {
|
|
|
118
118
|
}), null), n;
|
|
119
119
|
})();
|
|
120
120
|
}
|
|
121
|
-
//#endregion
|
|
122
121
|
export { x as CheckboxGroup };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Button as e } from "./Button.js";
|
|
2
|
+
import { cn as t } from "../utils/cn.js";
|
|
3
3
|
import { createComponent as n, effect as r, insert as i, memo as a, mergeProps as o, setAttribute as s, template as c, use as l } from "solid-js/web";
|
|
4
4
|
import { createEffect as u, createSignal as d, createUniqueId as f, splitProps as p } from "solid-js";
|
|
5
5
|
import * as m from "#sheen-kobalte/collapsible";
|
|
6
|
-
|
|
6
|
+
// src/primitives/Collapsible.tsx
|
|
7
7
|
var h = /*#__PURE__*/ c("<span class=sheen-collapsible-indicator aria-hidden=true>"), g = /*#__PURE__*/ c("<div class=sheen-collapsible-content><div class=sheen-collapsible-clip><div class=sheen-collapsible-body>");
|
|
8
8
|
function _(c) {
|
|
9
9
|
let [_, v] = p(c, [
|
|
@@ -25,7 +25,7 @@ function _(c) {
|
|
|
25
25
|
return b();
|
|
26
26
|
},
|
|
27
27
|
get class() {
|
|
28
|
-
return
|
|
28
|
+
return t("sheen-collapsible", _.class);
|
|
29
29
|
},
|
|
30
30
|
get open() {
|
|
31
31
|
return C();
|
|
@@ -38,7 +38,8 @@ function _(c) {
|
|
|
38
38
|
},
|
|
39
39
|
get children() {
|
|
40
40
|
return [n(m.Trigger, {
|
|
41
|
-
as:
|
|
41
|
+
as: e,
|
|
42
|
+
variant: "ghost",
|
|
42
43
|
ref(e) {
|
|
43
44
|
var t = w;
|
|
44
45
|
typeof t == "function" ? t(e) : w = e;
|
|
@@ -68,5 +69,4 @@ function _(c) {
|
|
|
68
69
|
}
|
|
69
70
|
}));
|
|
70
71
|
}
|
|
71
|
-
//#endregion
|
|
72
72
|
export { _ as Collapsible };
|