@youcan/celeste 0.6.33 → 0.6.35
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/celeste.css +206 -235
- package/dist/cjs/dropdown-menu-content.js +52 -2
- package/dist/cjs/dropdown-menu-item.js +14 -29
- package/dist/cjs/dropdown-menu-sub-content.js +49 -2
- package/dist/cjs/dropdown-menu-sub-trigger.js +43 -2
- package/dist/cjs/dropdown-menu-trigger.js +2 -2
- package/dist/cjs/dropdown.js +1 -2
- package/dist/cjs/index.js +9 -9
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +1 -3
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -0
- package/dist/es/checkbox-label.js +1 -1
- package/dist/es/chunks/index.js +32 -32
- package/dist/es/chunks/index2.js +1 -1
- package/dist/es/combobox-group.js +1 -1
- package/dist/es/combobox-input.js +1 -1
- package/dist/es/combobox-item.js +1 -1
- package/dist/es/combobox-list.js +1 -1
- package/dist/es/combobox-root.js +1 -1
- package/dist/es/combobox-separator.js +1 -1
- package/dist/es/combobox-trigger.js +1 -1
- package/dist/es/command-group.js +1 -1
- package/dist/es/command-input.js +1 -1
- package/dist/es/command-item.js +1 -1
- package/dist/es/command-list.js +1 -1
- package/dist/es/command-root.js +1 -1
- package/dist/es/command-separator.js +1 -1
- package/dist/es/dropdown-menu-content.js +52 -2
- package/dist/es/dropdown-menu-group.js +1 -1
- package/dist/es/dropdown-menu-item.js +16 -31
- package/dist/es/dropdown-menu-label.js +1 -1
- package/dist/es/dropdown-menu-separator.js +1 -1
- package/dist/es/dropdown-menu-sub-content.js +49 -2
- package/dist/es/dropdown-menu-sub-trigger.js +43 -2
- package/dist/es/dropdown-menu-trigger.js +2 -2
- package/dist/es/dropdown.js +2 -3
- package/dist/es/index.js +42 -42
- package/dist/es/label.js +1 -1
- package/dist/es/scroll-bar.js +1 -1
- package/dist/es/segmented-control-item.js +1 -1
- package/dist/es/segmented-control.js +1 -1
- package/dist/es/tab-menu-content.js +1 -1
- package/dist/es/tab-menu-item.js +1 -1
- package/dist/es/tab-menu-list.js +1 -1
- package/dist/es/tab-menu.js +1 -1
- package/package.json +3 -3
- package/src/components/dropdown/dropdown.vue +0 -1
- package/src/components/dropdown-menu/dropdown-menu-content.vue +29 -20
- package/src/components/dropdown-menu/dropdown-menu-item.vue +9 -63
- package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +32 -21
- package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +30 -6
- package/src/components/dropdown-menu/dropdown-menu-trigger.vue +6 -20
- package/src/components/dropdown-menu/stories/dropdown-menu.stories.ts +150 -54
- package/dist/cjs/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +0 -51
- package/dist/cjs/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +0 -49
- package/dist/cjs/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +0 -32
- package/dist/es/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +0 -52
- package/dist/es/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +0 -50
- package/dist/es/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +0 -33
|
@@ -1,3 +1,53 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const Mo = require("vue");
|
|
3
|
+
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
|
+
const clsx = require("./chunks/clsx.js");
|
|
5
|
+
const index = require("./chunks/index.js");
|
|
6
|
+
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
8
|
+
__name: "dropdown-menu-content",
|
|
9
|
+
props: {
|
|
10
|
+
forceMount: { type: Boolean },
|
|
11
|
+
loop: { type: Boolean },
|
|
12
|
+
side: {},
|
|
13
|
+
sideOffset: { default: 4 },
|
|
14
|
+
align: {},
|
|
15
|
+
alignOffset: {},
|
|
16
|
+
avoidCollisions: { type: Boolean },
|
|
17
|
+
collisionBoundary: {},
|
|
18
|
+
collisionPadding: {},
|
|
19
|
+
arrowPadding: {},
|
|
20
|
+
sticky: {},
|
|
21
|
+
hideWhenDetached: { type: Boolean },
|
|
22
|
+
updatePositionStrategy: {},
|
|
23
|
+
prioritizePosition: { type: Boolean },
|
|
24
|
+
asChild: { type: Boolean },
|
|
25
|
+
as: {},
|
|
26
|
+
class: {}
|
|
27
|
+
},
|
|
28
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
|
+
const props = __props;
|
|
31
|
+
const emits = __emit;
|
|
32
|
+
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
33
|
+
const forwarded = index.xe(delegatedProps, emits);
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.ih), null, {
|
|
36
|
+
default: Mo.withCtx(() => [
|
|
37
|
+
Mo.createVNode(Mo.unref(index.uh), Mo.mergeProps(Mo.unref(forwarded), {
|
|
38
|
+
class: Mo.unref(clsx.clsx)("celeste-dropdown-menu-content", props.class),
|
|
39
|
+
"side-offset": 8
|
|
40
|
+
}), {
|
|
41
|
+
default: Mo.withCtx(() => [
|
|
42
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
}, 16, ["class"])
|
|
46
|
+
]),
|
|
47
|
+
_: 3
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const dropdownMenuContent = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-3bd71ed1"]]);
|
|
53
|
+
module.exports = dropdownMenuContent;
|
|
@@ -4,16 +4,15 @@ const useDelegatedProps = require("./use-delegated-props.js");
|
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
-
const _hoisted_1 = {
|
|
8
|
-
const _hoisted_2 = { class: "celeste-dropdown-menu-item-body" };
|
|
9
|
-
const _hoisted_3 = { class: "celeste-dropdown-menu-item-text" };
|
|
10
|
-
const _hoisted_4 = ["title"];
|
|
11
|
-
const _hoisted_5 = ["title"];
|
|
12
|
-
const _hoisted_6 = {
|
|
7
|
+
const _hoisted_1 = {
|
|
13
8
|
key: 0,
|
|
14
|
-
class: "celeste-dropdown-menu-item-
|
|
9
|
+
class: "celeste-dropdown-menu-item-prefix"
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_2 = { class: "celeste-dropdown-menu-item-body" };
|
|
12
|
+
const _hoisted_3 = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "celeste-dropdown-menu-item-suffix"
|
|
15
15
|
};
|
|
16
|
-
const _hoisted_7 = { class: "celeste-dropdown-menu-item-suffix" };
|
|
17
16
|
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
18
17
|
__name: "dropdown-menu-item",
|
|
19
18
|
props: {
|
|
@@ -21,10 +20,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
21
20
|
textValue: {},
|
|
22
21
|
asChild: { type: Boolean },
|
|
23
22
|
as: {},
|
|
24
|
-
class: {}
|
|
25
|
-
label: {},
|
|
26
|
-
sublabel: {},
|
|
27
|
-
description: {}
|
|
23
|
+
class: {}
|
|
28
24
|
},
|
|
29
25
|
setup(__props) {
|
|
30
26
|
const props = __props;
|
|
@@ -38,31 +34,20 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
38
34
|
)
|
|
39
35
|
}), {
|
|
40
36
|
default: Mo.withCtx(() => [
|
|
41
|
-
Mo.
|
|
37
|
+
_ctx.$slots.prefix ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_1, [
|
|
42
38
|
Mo.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
43
|
-
]),
|
|
39
|
+
])) : Mo.createCommentVNode("", true),
|
|
44
40
|
Mo.createElementVNode("div", _hoisted_2, [
|
|
45
|
-
Mo.
|
|
46
|
-
Mo.createElementVNode("span", {
|
|
47
|
-
class: "celeste-dropdown-menu-item-label",
|
|
48
|
-
title: _ctx.label
|
|
49
|
-
}, Mo.toDisplayString(_ctx.label), 9, _hoisted_4),
|
|
50
|
-
_ctx.sublabel ? (Mo.openBlock(), Mo.createElementBlock("span", {
|
|
51
|
-
key: 0,
|
|
52
|
-
title: _ctx.sublabel,
|
|
53
|
-
class: "celeste-dropdown-menu-item-sublabel"
|
|
54
|
-
}, Mo.toDisplayString(_ctx.sublabel), 9, _hoisted_5)) : Mo.createCommentVNode("", true)
|
|
55
|
-
]),
|
|
56
|
-
_ctx.description ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_6, Mo.toDisplayString(_ctx.description), 1)) : Mo.createCommentVNode("", true)
|
|
41
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
57
42
|
]),
|
|
58
|
-
Mo.
|
|
43
|
+
_ctx.$slots.suffix ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_3, [
|
|
59
44
|
Mo.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
60
|
-
])
|
|
45
|
+
])) : Mo.createCommentVNode("", true)
|
|
61
46
|
]),
|
|
62
47
|
_: 3
|
|
63
48
|
}, 16, ["class"]);
|
|
64
49
|
};
|
|
65
50
|
}
|
|
66
51
|
});
|
|
67
|
-
const dropdownMenuItem = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
52
|
+
const dropdownMenuItem = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-149975fd"]]);
|
|
68
53
|
module.exports = dropdownMenuItem;
|
|
@@ -1,3 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const Mo = require("vue");
|
|
3
|
+
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
|
+
const clsx = require("./chunks/clsx.js");
|
|
5
|
+
const index = require("./chunks/index.js");
|
|
6
|
+
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
8
|
+
__name: "dropdown-menu-sub-content",
|
|
9
|
+
props: {
|
|
10
|
+
forceMount: { type: Boolean },
|
|
11
|
+
loop: { type: Boolean },
|
|
12
|
+
sideOffset: {},
|
|
13
|
+
alignOffset: {},
|
|
14
|
+
avoidCollisions: { type: Boolean },
|
|
15
|
+
collisionBoundary: {},
|
|
16
|
+
collisionPadding: {},
|
|
17
|
+
arrowPadding: {},
|
|
18
|
+
sticky: {},
|
|
19
|
+
hideWhenDetached: { type: Boolean },
|
|
20
|
+
updatePositionStrategy: {},
|
|
21
|
+
prioritizePosition: { type: Boolean },
|
|
22
|
+
asChild: { type: Boolean },
|
|
23
|
+
as: {},
|
|
24
|
+
class: {}
|
|
25
|
+
},
|
|
26
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
const props = __props;
|
|
29
|
+
const emits = __emit;
|
|
30
|
+
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
31
|
+
const forwarded = index.xe(delegatedProps, emits);
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.ih), null, {
|
|
34
|
+
default: Mo.withCtx(() => [
|
|
35
|
+
Mo.createVNode(Mo.unref(index.Ch), Mo.mergeProps(Mo.unref(forwarded), {
|
|
36
|
+
class: Mo.unref(clsx.clsx)(props.class, "celeste-dropdown-menu-sub-content")
|
|
37
|
+
}), {
|
|
38
|
+
default: Mo.withCtx(() => [
|
|
39
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
}, 16, ["class"])
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const dropdownMenuSubContent = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-ba978953"]]);
|
|
50
|
+
module.exports = dropdownMenuSubContent;
|
|
@@ -1,3 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const Mo = require("vue");
|
|
3
|
+
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
|
+
const clsx = require("./chunks/clsx.js");
|
|
5
|
+
const index = require("./chunks/index.js");
|
|
6
|
+
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
+
const _hoisted_1 = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "celeste-dropdown-menu-sub-prefix"
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_2 = { class: "celeste-dropdown-menu-sub-body" };
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
13
|
+
__name: "dropdown-menu-sub-trigger",
|
|
14
|
+
props: {
|
|
15
|
+
disabled: { type: Boolean },
|
|
16
|
+
textValue: {},
|
|
17
|
+
asChild: { type: Boolean },
|
|
18
|
+
as: {},
|
|
19
|
+
class: {}
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
24
|
+
const forwardedProps = index.At(delegatedProps);
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.wh), Mo.mergeProps(Mo.unref(forwardedProps), {
|
|
27
|
+
class: Mo.unref(clsx.clsx)(props.class, "celeste-dropdown-menu-sub-trigger")
|
|
28
|
+
}), {
|
|
29
|
+
default: Mo.withCtx(() => [
|
|
30
|
+
_ctx.$slots.prefix ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_1, [
|
|
31
|
+
Mo.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
32
|
+
])) : Mo.createCommentVNode("", true),
|
|
33
|
+
Mo.createElementVNode("div", _hoisted_2, [
|
|
34
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
35
|
+
]),
|
|
36
|
+
_cache[0] || (_cache[0] = Mo.createElementVNode("i", { class: "i-celeste-arrow-right-s-line" }, null, -1))
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 16, ["class"]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
const dropdownMenuSubTrigger = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-44257601"]]);
|
|
44
|
+
module.exports = dropdownMenuSubTrigger;
|
|
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
13
13
|
const props = __props;
|
|
14
14
|
const forwardedProps = index.At(props);
|
|
15
15
|
return (_ctx, _cache) => {
|
|
16
|
-
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.rh), Mo.mergeProps({ class: "celeste-dropdown-menu-trigger" }, Mo.unref(forwardedProps)), {
|
|
16
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.rh), Mo.mergeProps({ class: "celeste-dropdown-menu-trigger" }, Mo.unref(forwardedProps), { as: "div" }), {
|
|
17
17
|
default: Mo.withCtx(() => [
|
|
18
18
|
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
19
19
|
]),
|
|
@@ -22,5 +22,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
|
-
const dropdownMenuTrigger = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
25
|
+
const dropdownMenuTrigger = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-003a2030"]]);
|
|
26
26
|
module.exports = dropdownMenuTrigger;
|
package/dist/cjs/dropdown.js
CHANGED
|
@@ -192,7 +192,6 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
192
192
|
}),
|
|
193
193
|
!_ctx.disabled ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index.Xv), {
|
|
194
194
|
key: 0,
|
|
195
|
-
"force-mount": "",
|
|
196
195
|
dismissable: "",
|
|
197
196
|
"avoid-collisions": true,
|
|
198
197
|
class: Mo.normalizeClass(["celeste-dropdown-content", Mo.unref(clsx.clsx)(
|
|
@@ -287,5 +286,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
287
286
|
};
|
|
288
287
|
}
|
|
289
288
|
});
|
|
290
|
-
const dropdown = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
289
|
+
const dropdown = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-13b7b76a"]]);
|
|
291
290
|
module.exports = dropdown;
|
package/dist/cjs/index.js
CHANGED
|
@@ -24,13 +24,13 @@ const contentDivider_vue_vue_type_style_index_0_lang = require("./chunks/content
|
|
|
24
24
|
const contextMenuItem = require("./context-menu-item.js");
|
|
25
25
|
const dropdownItem = require("./dropdown-item.js");
|
|
26
26
|
const dropdown = require("./dropdown.js");
|
|
27
|
-
const
|
|
27
|
+
const dropdownMenuContent = require("./dropdown-menu-content.js");
|
|
28
28
|
const dropdownMenuGroup = require("./dropdown-menu-group.js");
|
|
29
29
|
const dropdownMenuItem = require("./dropdown-menu-item.js");
|
|
30
30
|
const dropdownMenuLabel = require("./dropdown-menu-label.js");
|
|
31
31
|
const dropdownMenuSeparator = require("./dropdown-menu-separator.js");
|
|
32
|
-
const
|
|
33
|
-
const
|
|
32
|
+
const dropdownMenuSubContent = require("./dropdown-menu-sub-content.js");
|
|
33
|
+
const dropdownMenuSubTrigger = require("./dropdown-menu-sub-trigger.js");
|
|
34
34
|
const dropdownMenuSub_vue_vue_type_script_setup_true_lang = require("./chunks/dropdown-menu-sub.js");
|
|
35
35
|
const dropdownMenuTrigger = require("./dropdown-menu-trigger.js");
|
|
36
36
|
const dropdownMenu = require("./dropdown-menu.js");
|
|
@@ -100,14 +100,14 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
100
100
|
Dropdown: dropdown,
|
|
101
101
|
DropdownItem: dropdownItem,
|
|
102
102
|
DropdownMenu: dropdownMenu,
|
|
103
|
-
DropdownMenuContent:
|
|
103
|
+
DropdownMenuContent: dropdownMenuContent,
|
|
104
104
|
DropdownMenuGroup: dropdownMenuGroup,
|
|
105
105
|
DropdownMenuItem: dropdownMenuItem,
|
|
106
106
|
DropdownMenuLabel: dropdownMenuLabel,
|
|
107
107
|
DropdownMenuSeparator: dropdownMenuSeparator,
|
|
108
108
|
DropdownMenuSub: dropdownMenuSub_vue_vue_type_script_setup_true_lang._sfc_main,
|
|
109
|
-
DropdownMenuSubContent:
|
|
110
|
-
DropdownMenuSubTrigger:
|
|
109
|
+
DropdownMenuSubContent: dropdownMenuSubContent,
|
|
110
|
+
DropdownMenuSubTrigger: dropdownMenuSubTrigger,
|
|
111
111
|
DropdownMenuTrigger: dropdownMenuTrigger,
|
|
112
112
|
FancyButton: fancyButton,
|
|
113
113
|
HintText: hintText,
|
|
@@ -234,13 +234,13 @@ exports.ContentDivider = contentDivider_vue_vue_type_style_index_0_lang._sfc_mai
|
|
|
234
234
|
exports.ContextMenuItem = contextMenuItem;
|
|
235
235
|
exports.DropdownItem = dropdownItem;
|
|
236
236
|
exports.Dropdown = dropdown;
|
|
237
|
-
exports.DropdownMenuContent =
|
|
237
|
+
exports.DropdownMenuContent = dropdownMenuContent;
|
|
238
238
|
exports.DropdownMenuGroup = dropdownMenuGroup;
|
|
239
239
|
exports.DropdownMenuItem = dropdownMenuItem;
|
|
240
240
|
exports.DropdownMenuLabel = dropdownMenuLabel;
|
|
241
241
|
exports.DropdownMenuSeparator = dropdownMenuSeparator;
|
|
242
|
-
exports.DropdownMenuSubContent =
|
|
243
|
-
exports.DropdownMenuSubTrigger =
|
|
242
|
+
exports.DropdownMenuSubContent = dropdownMenuSubContent;
|
|
243
|
+
exports.DropdownMenuSubTrigger = dropdownMenuSubTrigger;
|
|
244
244
|
exports.DropdownMenuSub = dropdownMenuSub_vue_vue_type_script_setup_true_lang._sfc_main;
|
|
245
245
|
exports.DropdownMenuTrigger = dropdownMenuTrigger;
|
|
246
246
|
exports.DropdownMenu = dropdownMenu;
|
|
@@ -2,14 +2,12 @@ import { HTMLAttributes } from 'vue';
|
|
|
2
2
|
import { DropdownMenuItemProps } from 'radix-vue';
|
|
3
3
|
type __VLS_Props = DropdownMenuItemProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
|
-
label: string;
|
|
6
|
-
sublabel?: string;
|
|
7
|
-
description?: string;
|
|
8
5
|
};
|
|
9
6
|
declare function __VLS_template(): {
|
|
10
7
|
attrs: Partial<{}>;
|
|
11
8
|
slots: {
|
|
12
9
|
prefix?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
13
11
|
suffix?(_: {}): any;
|
|
14
12
|
};
|
|
15
13
|
refs: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, createElementVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import {
|
|
4
|
+
import { J as Oh, f as O } from "./chunks/index.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _hoisted_1 = { role: "presentation" };
|
|
7
7
|
const _hoisted_2 = {
|
package/dist/es/chunks/index.js
CHANGED
|
@@ -9286,43 +9286,43 @@ const av = /* @__PURE__ */ defineComponent({
|
|
|
9286
9286
|
}
|
|
9287
9287
|
});
|
|
9288
9288
|
export {
|
|
9289
|
-
|
|
9289
|
+
Uv as $,
|
|
9290
9290
|
At as A,
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9291
|
+
yg as B,
|
|
9292
|
+
gg as C,
|
|
9293
|
+
Cg as D,
|
|
9294
|
+
bg as E,
|
|
9295
9295
|
Fy as F,
|
|
9296
9296
|
Gy as G,
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9297
|
+
lv as H,
|
|
9298
|
+
sv as I,
|
|
9299
|
+
Oh as J,
|
|
9300
9300
|
Kv as K,
|
|
9301
|
-
|
|
9302
|
-
|
|
9301
|
+
qv as L,
|
|
9302
|
+
My as M,
|
|
9303
9303
|
Ny as N,
|
|
9304
9304
|
Oy as O,
|
|
9305
|
-
|
|
9305
|
+
Wv as P,
|
|
9306
9306
|
Qf as Q,
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9307
|
+
Qv as R,
|
|
9308
|
+
nm as S,
|
|
9309
|
+
Jv as T,
|
|
9310
|
+
Hv as U,
|
|
9311
9311
|
Vy as V,
|
|
9312
9312
|
Wy as W,
|
|
9313
|
-
|
|
9313
|
+
Xv as X,
|
|
9314
9314
|
Yv as Y,
|
|
9315
9315
|
Zv as Z,
|
|
9316
|
-
|
|
9316
|
+
tm as _,
|
|
9317
9317
|
Gl as a,
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9318
|
+
ih as a0,
|
|
9319
|
+
uh as a1,
|
|
9320
|
+
fh as a2,
|
|
9321
|
+
ch as a3,
|
|
9322
|
+
hh as a4,
|
|
9323
|
+
ph as a5,
|
|
9324
|
+
Ch as a6,
|
|
9325
|
+
wh as a7,
|
|
9326
9326
|
rh as a8,
|
|
9327
9327
|
sh as a9,
|
|
9328
9328
|
Wg as aA,
|
|
@@ -9359,21 +9359,21 @@ export {
|
|
|
9359
9359
|
O as f,
|
|
9360
9360
|
flip as g,
|
|
9361
9361
|
hg as h,
|
|
9362
|
-
|
|
9362
|
+
offset as i,
|
|
9363
9363
|
jv as j,
|
|
9364
9364
|
ky as k,
|
|
9365
|
-
|
|
9365
|
+
arrow$1 as l,
|
|
9366
9366
|
mg as m,
|
|
9367
9367
|
ng as n,
|
|
9368
9368
|
og as o,
|
|
9369
|
-
|
|
9369
|
+
size as p,
|
|
9370
9370
|
qy as q,
|
|
9371
|
-
|
|
9371
|
+
autoPlacement as r,
|
|
9372
9372
|
shift as s,
|
|
9373
9373
|
tu as t,
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9374
|
+
hide as u,
|
|
9375
|
+
inline as v,
|
|
9376
|
+
computePosition as w,
|
|
9377
9377
|
xe as x,
|
|
9378
9378
|
ys as y,
|
|
9379
9379
|
zv as z
|
package/dist/es/chunks/index2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as PluginKey, S as Selection, k as keydownHandler, a as SelectionRange, T as TextSelection, F as Fragment, b as Slice, E as Extension, c as Plugin, i as isTextSelection, p as posToDOMRect, g as getText, d as getTextSerializersFromSchema } from "./index3.js";
|
|
2
|
-
import { g as flip, s as shift,
|
|
2
|
+
import { g as flip, s as shift, i as offset, l as arrow$1, p as size, r as autoPlacement, u as hide, v as inline, w as computePosition } from "./index.js";
|
|
3
3
|
import { defineComponent, ref, onMounted, onBeforeUnmount, h, Teleport } from "vue";
|
|
4
4
|
var readFromCache;
|
|
5
5
|
var addToCache;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { L as qv, Y as Yv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-group",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, mergeModels, useModel, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { P as Wv } from "./chunks/index.js";
|
|
4
4
|
import TextInput from "./text-input.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/es/combobox-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, R as Qv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/checkbox.vue_vue_type_style_index_0_lang.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _hoisted_1 = ["aria-disabled"];
|
package/dist/es/combobox-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, S as nm, X as Xv, T as Jv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-list",
|
package/dist/es/combobox-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, U as Hv } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "combobox-root",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as tm } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-separator",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { A as At,
|
|
3
|
+
import { A as At, $ as Uv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-trigger",
|
package/dist/es/command-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { L as qv, Y as Yv } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "command-group",
|
package/dist/es/command-input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, mergeProps } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { A as At,
|
|
3
|
+
import { A as At, P as Wv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
class: "celeste-command-input",
|
package/dist/es/command-item.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, R as Qv } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-item",
|
|
5
5
|
props: {
|
package/dist/es/command-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, X as Xv } from "./chunks/index.js";
|
|
3
3
|
const _hoisted_1 = { role: "presentation" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "command-list",
|
package/dist/es/command-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, U as Hv } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-root",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as tm } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "command-separator",
|
|
@@ -1,4 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
+
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
+
import { x as xe, a0 as ih, a1 as uh } from "./chunks/index.js";
|
|
5
|
+
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "dropdown-menu-content",
|
|
8
|
+
props: {
|
|
9
|
+
forceMount: { type: Boolean },
|
|
10
|
+
loop: { type: Boolean },
|
|
11
|
+
side: {},
|
|
12
|
+
sideOffset: { default: 4 },
|
|
13
|
+
align: {},
|
|
14
|
+
alignOffset: {},
|
|
15
|
+
avoidCollisions: { type: Boolean },
|
|
16
|
+
collisionBoundary: {},
|
|
17
|
+
collisionPadding: {},
|
|
18
|
+
arrowPadding: {},
|
|
19
|
+
sticky: {},
|
|
20
|
+
hideWhenDetached: { type: Boolean },
|
|
21
|
+
updatePositionStrategy: {},
|
|
22
|
+
prioritizePosition: { type: Boolean },
|
|
23
|
+
asChild: { type: Boolean },
|
|
24
|
+
as: {},
|
|
25
|
+
class: {}
|
|
26
|
+
},
|
|
27
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emits = __emit;
|
|
31
|
+
const delegatedProps = useDelegatedProps(props, "class");
|
|
32
|
+
const forwarded = xe(delegatedProps, emits);
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return openBlock(), createBlock(unref(ih), null, {
|
|
35
|
+
default: withCtx(() => [
|
|
36
|
+
createVNode(unref(uh), mergeProps(unref(forwarded), {
|
|
37
|
+
class: unref(clsx)("celeste-dropdown-menu-content", props.class),
|
|
38
|
+
"side-offset": 8
|
|
39
|
+
}), {
|
|
40
|
+
default: withCtx(() => [
|
|
41
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16, ["class"])
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
const dropdownMenuContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3bd71ed1"]]);
|
|
2
52
|
export {
|
|
3
|
-
|
|
53
|
+
dropdownMenuContent as default
|
|
4
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a2 as fh } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "dropdown-menu-group",
|