@youcan/celeste 0.6.71 → 0.6.72
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 +4 -3
- package/dist/cjs/alert.js +32 -32
- package/dist/cjs/badge.js +12 -12
- package/dist/cjs/button.js +6 -6
- package/dist/cjs/checkbox-card.js +33 -33
- package/dist/cjs/checkbox-label.js +31 -31
- package/dist/cjs/chunks/alpha-slider.js +12 -12
- package/dist/cjs/chunks/checkbox.js +7 -7
- package/dist/cjs/chunks/collapsible-content.js +6 -6
- package/dist/cjs/chunks/collapsible-trigger.js +5 -5
- package/dist/cjs/chunks/collapsible.js +6 -6
- package/dist/cjs/chunks/combobox-anchor.js +8 -8
- package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +15 -15
- package/dist/cjs/chunks/counter-input.js +13 -13
- package/dist/cjs/chunks/dropdown-menu-sub.js +6 -6
- package/dist/cjs/chunks/index.js +2289 -2292
- package/dist/cjs/chunks/index2.js +14 -14
- package/dist/cjs/chunks/index3.js +28 -28
- package/dist/cjs/chunks/index4.js +96 -125
- package/dist/cjs/chunks/index5.js +3381 -4086
- package/dist/cjs/chunks/modal-close.js +5 -5
- package/dist/cjs/chunks/modal-trigger.js +5 -5
- package/dist/cjs/chunks/modal.js +6 -6
- package/dist/cjs/chunks/pagination-first.js +9 -9
- package/dist/cjs/chunks/pagination-item.js +6 -6
- package/dist/cjs/chunks/pagination-last.js +9 -9
- package/dist/cjs/chunks/pagination-next.js +9 -9
- package/dist/cjs/chunks/pagination-previous.js +9 -9
- package/dist/cjs/chunks/popover.js +6 -6
- package/dist/cjs/chunks/radio-group-item.js +7 -7
- package/dist/cjs/chunks/radio-group.js +8 -8
- package/dist/cjs/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +45 -742
- package/dist/cjs/chunks/scroll-area.js +11 -11
- package/dist/cjs/chunks/select-group.js +5 -5
- package/dist/cjs/chunks/select.js +7 -7
- package/dist/cjs/chunks/sheet-trigger.js +5 -5
- package/dist/cjs/chunks/sheet.js +6 -6
- package/dist/cjs/chunks/sidebar-content.js +5 -5
- package/dist/cjs/chunks/sidebar-element.js +6 -6
- package/dist/cjs/chunks/sidebar-footer.js +5 -5
- package/dist/cjs/chunks/sidebar-group-label.js +6 -6
- package/dist/cjs/chunks/sidebar-group.js +5 -5
- package/dist/cjs/chunks/sidebar-header.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-action.js +6 -6
- package/dist/cjs/chunks/sidebar-menu-badge.js +4 -4
- package/dist/cjs/chunks/sidebar-menu-button.js +7 -7
- package/dist/cjs/chunks/sidebar-menu-item.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-sub-button.js +6 -6
- package/dist/cjs/chunks/sidebar-menu-sub-item.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-sub.js +5 -5
- package/dist/cjs/chunks/sidebar-menu.js +5 -5
- package/dist/cjs/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +9 -9
- package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +4 -4
- package/dist/cjs/chunks/sidebar.js +21 -21
- package/dist/cjs/chunks/slider.js +11 -11
- package/dist/cjs/chunks/sonner.js +146 -214
- package/dist/cjs/chunks/switch.js +7 -7
- package/dist/cjs/chunks/tinycolor.js +2 -2
- package/dist/cjs/chunks/tooltip-provider.js +5 -5
- package/dist/cjs/chunks/tooltip-root.js +7 -7
- package/dist/cjs/chunks/tooltip-trigger.js +6 -6
- package/dist/cjs/chunks/tooltip.js +12 -12
- package/dist/cjs/color-area.js +16 -16
- package/dist/cjs/color-picker.js +102 -102
- package/dist/cjs/color-swatch.js +11 -11
- package/dist/cjs/combobox-empty.js +7 -7
- package/dist/cjs/combobox-group.js +11 -11
- package/dist/cjs/combobox-input.js +12 -12
- package/dist/cjs/combobox-item.js +24 -24
- package/dist/cjs/combobox-list.js +12 -12
- package/dist/cjs/combobox-root.js +6 -7
- package/dist/cjs/combobox-separator.js +7 -7
- package/dist/cjs/combobox-trigger.js +8 -8
- package/dist/cjs/combobox.js +53 -54
- package/dist/cjs/command-group.js +10 -10
- package/dist/cjs/command-input.js +8 -8
- package/dist/cjs/command-item.js +7 -7
- package/dist/cjs/command-list.js +8 -8
- package/dist/cjs/command-root.js +7 -8
- package/dist/cjs/command-separator.js +7 -7
- package/dist/cjs/compact-button.js +7 -7
- package/dist/cjs/config.js +2 -2
- package/dist/cjs/digit-input-group.js +7 -7
- package/dist/cjs/digit-input-slot.js +5 -5
- package/dist/cjs/digit-input.js +7 -7
- package/dist/cjs/dropdown-menu-content.js +9 -9
- package/dist/cjs/dropdown-menu-group.js +5 -5
- package/dist/cjs/dropdown-menu-item.js +14 -14
- package/dist/cjs/dropdown-menu-label.js +7 -7
- package/dist/cjs/dropdown-menu-separator.js +4 -4
- package/dist/cjs/dropdown-menu-sub-content.js +9 -9
- package/dist/cjs/dropdown-menu-sub-trigger.js +12 -12
- package/dist/cjs/dropdown-menu-trigger.js +6 -6
- package/dist/cjs/dropdown-menu.js +7 -7
- package/dist/cjs/extra-settings.js +21 -21
- package/dist/cjs/fancy-button.js +6 -6
- package/dist/cjs/file-upload-area.js +22 -22
- package/dist/cjs/hint-text.js +8 -8
- package/dist/cjs/hue-slider.js +15 -15
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/label.js +13 -13
- package/dist/cjs/link-bubble.js +40 -40
- package/dist/cjs/link-button.js +6 -6
- package/dist/cjs/modal-body.js +5 -5
- package/dist/cjs/modal-content.js +12 -12
- package/dist/cjs/modal-footer.js +5 -5
- package/dist/cjs/modal-header.js +22 -22
- package/dist/cjs/pagination-content.js +6 -6
- package/dist/cjs/pagination-ellipsis.js +8 -8
- package/dist/cjs/pagination.js +14 -14
- package/dist/cjs/popover-content.js +30 -30
- package/dist/cjs/popover-trigger.js +5 -5
- package/dist/cjs/progress-bar.js +19 -19
- package/dist/cjs/progress-circle.js +20 -20
- package/dist/cjs/radio-group-card.js +33 -33
- package/dist/cjs/radio-group-label.js +31 -31
- package/dist/cjs/rich-editor.js +76 -76
- package/dist/cjs/scroll-bar.js +7 -7
- package/dist/cjs/segmented-control-item.js +8 -6
- package/dist/cjs/segmented-control.js +8 -8
- package/dist/cjs/select-content.js +11 -11
- package/dist/cjs/select-icon.js +5 -5
- package/dist/cjs/select-item.js +11 -11
- package/dist/cjs/select-label.js +6 -6
- package/dist/cjs/select-separator.js +4 -4
- package/dist/cjs/select-trigger.js +9 -9
- package/dist/cjs/select-value.js +6 -6
- package/dist/cjs/sheet-close.js +6 -6
- package/dist/cjs/sheet-content.js +14 -14
- package/dist/cjs/sheet-description.js +7 -7
- package/dist/cjs/sheet-footer.js +6 -6
- package/dist/cjs/sheet-header.js +5 -5
- package/dist/cjs/sheet-title.js +7 -7
- package/dist/cjs/sidebar-group-content.js +5 -5
- package/dist/cjs/sidebar-trigger.js +7 -7
- package/dist/cjs/social-button.js +8 -8
- package/dist/cjs/sonner-alert.js +8 -8
- package/dist/cjs/status-badge.js +8 -8
- package/dist/cjs/tab-menu-content.js +7 -7
- package/dist/cjs/tab-menu-item.js +11 -11
- package/dist/cjs/tab-menu-list.js +6 -6
- package/dist/cjs/tab-menu.js +6 -6
- package/dist/cjs/table-body.js +5 -5
- package/dist/cjs/table-caption.js +5 -5
- package/dist/cjs/table-cell.js +5 -5
- package/dist/cjs/table-empty.js +9 -9
- package/dist/cjs/table-footer.js +5 -5
- package/dist/cjs/table-head.js +5 -5
- package/dist/cjs/table-header.js +5 -5
- package/dist/cjs/table-row.js +8 -8
- package/dist/cjs/table.js +6 -6
- package/dist/cjs/tag.js +10 -10
- package/dist/cjs/text-input-affix.js +5 -5
- package/dist/cjs/text-input-button.js +6 -6
- package/dist/cjs/text-input.js +31 -31
- package/dist/cjs/textarea.js +9 -9
- package/dist/cjs/tooltip-content.js +20 -20
- package/dist/cjs/use-color-model.js +2 -2
- package/dist/cjs/use-delegated-props.js +2 -2
- package/dist/cjs/use-sidebar.js +1 -1
- package/dist/cjs/use-user-select.js +4 -4
- package/dist/components/color-picker/alpha-slider.d.ts +1 -1
- package/dist/components/color-picker/color-area.d.ts +1 -1
- package/dist/components/color-picker/hue-slider.d.ts +1 -1
- package/dist/components/file-upload/file-upload-area.d.ts +2 -4
- package/dist/components/rich-editor/link-bubble.d.ts +1 -3
- package/dist/es/alert.js +1 -1
- package/dist/es/badge.js +1 -1
- package/dist/es/button.js +2 -2
- package/dist/es/checkbox-card.js +3 -3
- package/dist/es/checkbox-label.js +3 -3
- package/dist/es/chunks/alpha-slider.js +1 -1
- package/dist/es/chunks/checkbox.js +5 -5
- package/dist/es/chunks/collapsible-content.js +3 -3
- package/dist/es/chunks/collapsible-trigger.js +3 -3
- package/dist/es/chunks/collapsible.js +4 -4
- package/dist/es/chunks/combobox-anchor.js +4 -4
- package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +3 -3
- package/dist/es/chunks/counter-input.js +7 -7
- package/dist/es/chunks/dropdown-menu-sub.js +4 -4
- package/dist/es/chunks/index.js +1153 -1156
- package/dist/es/chunks/index2.js +3 -3
- package/dist/es/chunks/index3.js +2 -2
- package/dist/es/chunks/index4.js +90 -119
- package/dist/es/chunks/index5.js +3394 -4099
- package/dist/es/chunks/modal-close.js +3 -3
- package/dist/es/chunks/modal-trigger.js +3 -3
- package/dist/es/chunks/modal.js +4 -4
- package/dist/es/chunks/pagination-first.js +4 -4
- package/dist/es/chunks/pagination-item.js +3 -3
- package/dist/es/chunks/pagination-last.js +4 -4
- package/dist/es/chunks/pagination-next.js +4 -4
- package/dist/es/chunks/pagination-previous.js +4 -4
- package/dist/es/chunks/popover.js +4 -4
- package/dist/es/chunks/radio-group-item.js +5 -5
- package/dist/es/chunks/radio-group.js +4 -4
- package/dist/es/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +46 -743
- package/dist/es/chunks/scroll-area.js +5 -5
- package/dist/es/chunks/select-group.js +3 -3
- package/dist/es/chunks/select.js +4 -4
- package/dist/es/chunks/sheet-trigger.js +3 -3
- package/dist/es/chunks/sheet.js +4 -4
- package/dist/es/chunks/sidebar-content.js +1 -1
- package/dist/es/chunks/sidebar-element.js +2 -2
- package/dist/es/chunks/sidebar-footer.js +1 -1
- package/dist/es/chunks/sidebar-group-label.js +2 -2
- package/dist/es/chunks/sidebar-group.js +1 -1
- package/dist/es/chunks/sidebar-header.js +1 -1
- package/dist/es/chunks/sidebar-menu-action.js +2 -2
- package/dist/es/chunks/sidebar-menu-badge.js +1 -1
- package/dist/es/chunks/sidebar-menu-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-item.js +1 -1
- package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-sub-item.js +1 -1
- package/dist/es/chunks/sidebar-menu-sub.js +1 -1
- package/dist/es/chunks/sidebar-menu.js +1 -1
- package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +3 -3
- package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -1
- package/dist/es/chunks/sidebar.js +1 -1
- package/dist/es/chunks/slider.js +7 -7
- package/dist/es/chunks/sonner.js +29 -97
- package/dist/es/chunks/switch.js +5 -5
- package/dist/es/chunks/tinycolor.js +2 -2
- package/dist/es/chunks/tooltip-provider.js +3 -3
- package/dist/es/chunks/tooltip-root.js +4 -4
- package/dist/es/chunks/tooltip-trigger.js +4 -4
- package/dist/es/chunks/tooltip.js +3 -3
- package/dist/es/color-area.js +2 -2
- package/dist/es/color-picker.js +5 -5
- package/dist/es/color-swatch.js +1 -1
- package/dist/es/combobox-empty.js +3 -3
- package/dist/es/combobox-group.js +4 -4
- package/dist/es/combobox-input.js +3 -3
- package/dist/es/combobox-item.js +4 -4
- package/dist/es/combobox-list.js +6 -6
- package/dist/es/combobox-root.js +4 -5
- package/dist/es/combobox-separator.js +3 -3
- package/dist/es/combobox-trigger.js +4 -4
- package/dist/es/combobox.js +3 -4
- package/dist/es/command-group.js +4 -4
- package/dist/es/command-input.js +4 -4
- package/dist/es/command-item.js +4 -4
- package/dist/es/command-list.js +4 -4
- package/dist/es/command-root.js +4 -5
- package/dist/es/command-separator.js +3 -3
- package/dist/es/compact-button.js +2 -2
- package/dist/es/digit-input-group.js +3 -3
- package/dist/es/digit-input-slot.js +4 -4
- package/dist/es/digit-input.js +4 -4
- package/dist/es/dropdown-menu-content.js +5 -5
- package/dist/es/dropdown-menu-group.js +3 -3
- package/dist/es/dropdown-menu-item.js +4 -4
- package/dist/es/dropdown-menu-label.js +4 -4
- package/dist/es/dropdown-menu-separator.js +3 -3
- package/dist/es/dropdown-menu-sub-content.js +5 -5
- package/dist/es/dropdown-menu-sub-trigger.js +4 -4
- package/dist/es/dropdown-menu-trigger.js +4 -4
- package/dist/es/dropdown-menu.js +4 -4
- package/dist/es/extra-settings.js +1 -1
- package/dist/es/fancy-button.js +2 -2
- package/dist/es/file-upload-area.js +1 -1
- package/dist/es/hint-text.js +1 -1
- package/dist/es/hue-slider.js +3 -3
- package/dist/es/index.js +3 -3
- package/dist/es/label.js +3 -3
- package/dist/es/link-bubble.js +1 -1
- package/dist/es/link-button.js +2 -2
- package/dist/es/modal-body.js +1 -1
- package/dist/es/modal-content.js +6 -6
- package/dist/es/modal-footer.js +1 -1
- package/dist/es/modal-header.js +5 -5
- package/dist/es/pagination-content.js +3 -3
- package/dist/es/pagination-ellipsis.js +3 -3
- package/dist/es/pagination.js +4 -4
- package/dist/es/popover-content.js +7 -7
- package/dist/es/popover-trigger.js +3 -3
- package/dist/es/progress-bar.js +4 -4
- package/dist/es/progress-circle.js +4 -4
- package/dist/es/radio-group-card.js +3 -3
- package/dist/es/radio-group-label.js +3 -3
- package/dist/es/rich-editor.js +4 -4
- package/dist/es/scroll-bar.js +4 -4
- package/dist/es/segmented-control-item.js +5 -3
- package/dist/es/segmented-control.js +4 -4
- package/dist/es/select-content.js +6 -6
- package/dist/es/select-icon.js +1 -1
- package/dist/es/select-item.js +5 -5
- package/dist/es/select-label.js +3 -3
- package/dist/es/select-separator.js +3 -3
- package/dist/es/select-trigger.js +4 -4
- package/dist/es/select-value.js +3 -3
- package/dist/es/sheet-close.js +3 -3
- package/dist/es/sheet-content.js +7 -7
- package/dist/es/sheet-description.js +3 -3
- package/dist/es/sheet-footer.js +1 -1
- package/dist/es/sheet-header.js +1 -1
- package/dist/es/sheet-title.js +3 -3
- package/dist/es/sidebar-group-content.js +1 -1
- package/dist/es/sidebar-trigger.js +1 -1
- package/dist/es/social-button.js +2 -2
- package/dist/es/sonner-alert.js +1 -1
- package/dist/es/status-badge.js +1 -1
- package/dist/es/tab-menu-content.js +3 -3
- package/dist/es/tab-menu-item.js +4 -4
- package/dist/es/tab-menu-list.js +3 -3
- package/dist/es/tab-menu.js +4 -4
- package/dist/es/table-body.js +1 -1
- package/dist/es/table-caption.js +1 -1
- package/dist/es/table-cell.js +1 -1
- package/dist/es/table-empty.js +1 -1
- package/dist/es/table-footer.js +1 -1
- package/dist/es/table-head.js +1 -1
- package/dist/es/table-header.js +1 -1
- package/dist/es/table-row.js +1 -1
- package/dist/es/table.js +1 -1
- package/dist/es/tag.js +2 -2
- package/dist/es/text-input-affix.js +1 -1
- package/dist/es/text-input-button.js +1 -1
- package/dist/es/text-input.js +2 -2
- package/dist/es/textarea.js +1 -1
- package/dist/es/tooltip-content.js +6 -6
- package/dist/es/use-sidebar.js +2 -2
- package/package.json +3 -3
package/dist/cjs/text-input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const crypto = require("./crypto.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
@@ -8,9 +8,9 @@ const textInputButton = require("./text-input-button.js");
|
|
|
8
8
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
9
9
|
const _hoisted_1 = ["for", "size", "has-error"];
|
|
10
10
|
const _hoisted_2 = ["id", "type"];
|
|
11
|
-
const _sfc_main = /* @__PURE__ */
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
12
12
|
__name: "text-input",
|
|
13
|
-
props: /* @__PURE__ */
|
|
13
|
+
props: /* @__PURE__ */ Mo.mergeModels({
|
|
14
14
|
type: { default: "text" },
|
|
15
15
|
size: { default: "md" },
|
|
16
16
|
hasError: { type: Boolean, default: false }
|
|
@@ -21,94 +21,94 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
21
21
|
emits: ["update:modelValue"],
|
|
22
22
|
setup(__props) {
|
|
23
23
|
const props = __props;
|
|
24
|
-
const id =
|
|
25
|
-
const modelValue =
|
|
26
|
-
const showClearButton =
|
|
24
|
+
const id = Mo.computed(() => props.id || crypto.uid());
|
|
25
|
+
const modelValue = Mo.useModel(__props, "modelValue");
|
|
26
|
+
const showClearButton = Mo.computed(() => {
|
|
27
27
|
return props.type === "search" && modelValue.value && String(modelValue.value).length > 0;
|
|
28
28
|
});
|
|
29
29
|
function clearInput() {
|
|
30
30
|
modelValue.value = "";
|
|
31
31
|
}
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return
|
|
33
|
+
return Mo.openBlock(), Mo.createElementBlock("label", {
|
|
34
34
|
for: id.value,
|
|
35
35
|
size: _ctx.size,
|
|
36
36
|
role: "presentation",
|
|
37
37
|
"has-error": _ctx.hasError,
|
|
38
|
-
class:
|
|
38
|
+
class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-text-input-wrapper", props.class))
|
|
39
39
|
}, [
|
|
40
|
-
|
|
40
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
41
41
|
"as-child": "",
|
|
42
42
|
class: "celeste-text-input-icon celeste-text-input-leading-icon"
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
45
|
-
|
|
44
|
+
default: Mo.withCtx(() => [
|
|
45
|
+
Mo.renderSlot(_ctx.$slots, "leadingIcon", {}, void 0, true)
|
|
46
46
|
]),
|
|
47
47
|
_: 3
|
|
48
48
|
}),
|
|
49
|
-
|
|
49
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
50
50
|
"as-child": "",
|
|
51
51
|
class: "celeste-text-input-node celeste-text-input-leading-node"
|
|
52
52
|
}, {
|
|
53
|
-
default:
|
|
54
|
-
|
|
53
|
+
default: Mo.withCtx(() => [
|
|
54
|
+
Mo.renderSlot(_ctx.$slots, "leadingNode", {}, void 0, true)
|
|
55
55
|
]),
|
|
56
56
|
_: 3
|
|
57
57
|
}),
|
|
58
|
-
|
|
58
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
59
59
|
inline: "",
|
|
60
60
|
"as-child": "",
|
|
61
61
|
class: "celeste-text-input-inline-node celeste-text-input-leading-inline-node"
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
64
|
-
|
|
63
|
+
default: Mo.withCtx(() => [
|
|
64
|
+
Mo.renderSlot(_ctx.$slots, "leadingInlineNode", {}, void 0, true)
|
|
65
65
|
]),
|
|
66
66
|
_: 3
|
|
67
67
|
}),
|
|
68
|
-
|
|
68
|
+
Mo.withDirectives(Mo.createElementVNode("input", Mo.mergeProps({
|
|
69
69
|
id: id.value,
|
|
70
70
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
|
|
71
71
|
}, _ctx.$attrs, {
|
|
72
72
|
type: _ctx.type,
|
|
73
73
|
class: "celeste-text-input"
|
|
74
74
|
}), null, 16, _hoisted_2), [
|
|
75
|
-
[
|
|
75
|
+
[Mo.vModelDynamic, modelValue.value]
|
|
76
76
|
]),
|
|
77
|
-
|
|
77
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
78
78
|
"as-child": "",
|
|
79
79
|
class: "celeste-text-input-icon celeste-text-input-trailing-icon"
|
|
80
80
|
}, {
|
|
81
|
-
default:
|
|
82
|
-
|
|
81
|
+
default: Mo.withCtx(() => [
|
|
82
|
+
Mo.renderSlot(_ctx.$slots, "trailingIcon", {}, void 0, true)
|
|
83
83
|
]),
|
|
84
84
|
_: 3
|
|
85
85
|
}),
|
|
86
|
-
|
|
86
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
87
87
|
"as-child": "",
|
|
88
88
|
class: "celeste-text-input-node celeste-text-input-trailing-node"
|
|
89
89
|
}, {
|
|
90
|
-
default:
|
|
91
|
-
|
|
90
|
+
default: Mo.withCtx(() => [
|
|
91
|
+
Mo.renderSlot(_ctx.$slots, "trailingNode", {}, void 0, true)
|
|
92
92
|
]),
|
|
93
93
|
_: 3
|
|
94
94
|
}),
|
|
95
|
-
|
|
95
|
+
Mo.createVNode(Mo.unref(index.O), {
|
|
96
96
|
inline: "",
|
|
97
97
|
"as-child": "",
|
|
98
98
|
class: "celeste-text-input-inline-node celeste-text-input-trailing-inline-node"
|
|
99
99
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
showClearButton.value ? (
|
|
100
|
+
default: Mo.withCtx(() => [
|
|
101
|
+
showClearButton.value ? (Mo.openBlock(), Mo.createBlock(textInputButton, {
|
|
102
102
|
key: 0,
|
|
103
103
|
type: "button",
|
|
104
104
|
"aria-label": "Clear search",
|
|
105
105
|
onClick: clearInput
|
|
106
106
|
}, {
|
|
107
|
-
default:
|
|
108
|
-
|
|
107
|
+
default: Mo.withCtx(() => _cache[1] || (_cache[1] = [
|
|
108
|
+
Mo.createElementVNode("i", { class: "i-celeste-close-line" }, null, -1)
|
|
109
109
|
])),
|
|
110
110
|
_: 1
|
|
111
|
-
})) :
|
|
111
|
+
})) : Mo.renderSlot(_ctx.$slots, "trailingInlineNode", { key: 1 }, void 0, true)
|
|
112
112
|
]),
|
|
113
113
|
_: 3
|
|
114
114
|
})
|
package/dist/cjs/textarea.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
@@ -9,9 +9,9 @@ const _hoisted_3 = {
|
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "celeste-textarea-count"
|
|
11
11
|
};
|
|
12
|
-
const _sfc_main = /* @__PURE__ */
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
13
13
|
__name: "textarea",
|
|
14
|
-
props: /* @__PURE__ */
|
|
14
|
+
props: /* @__PURE__ */ Mo.mergeModels({
|
|
15
15
|
class: {},
|
|
16
16
|
placeholder: { default: "Placeholder" },
|
|
17
17
|
showCount: { type: Boolean, default: true },
|
|
@@ -24,11 +24,11 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
24
24
|
emits: ["update:modelValue"],
|
|
25
25
|
setup(__props) {
|
|
26
26
|
const props = __props;
|
|
27
|
-
const modelValue =
|
|
27
|
+
const modelValue = Mo.useModel(__props, "modelValue");
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
29
|
var _a;
|
|
30
|
-
return
|
|
31
|
-
class:
|
|
30
|
+
return Mo.openBlock(), Mo.createElementBlock("div", {
|
|
31
|
+
class: Mo.normalizeClass(Mo.unref(clsx.clsx)(
|
|
32
32
|
"celeste-textarea-wrapper",
|
|
33
33
|
props.class
|
|
34
34
|
)),
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
38
38
|
return (_a2 = _ctx.$el.querySelector("textarea")) == null ? void 0 : _a2.focus();
|
|
39
39
|
})
|
|
40
40
|
}, [
|
|
41
|
-
|
|
41
|
+
Mo.withDirectives(Mo.createElementVNode("textarea", Mo.mergeProps({
|
|
42
42
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
|
|
43
43
|
}, _ctx.$attrs, {
|
|
44
44
|
placeholder: _ctx.placeholder,
|
|
@@ -46,9 +46,9 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
46
46
|
disabled: _ctx.disabled,
|
|
47
47
|
class: "celeste-textarea"
|
|
48
48
|
}), null, 16, _hoisted_2), [
|
|
49
|
-
[
|
|
49
|
+
[Mo.vModelText, modelValue.value]
|
|
50
50
|
]),
|
|
51
|
-
_ctx.showCount && Number(_ctx.maxLength) ? (
|
|
51
|
+
_ctx.showCount && Number(_ctx.maxLength) ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_3, Mo.toDisplayString(`${((_a = modelValue.value) == null ? void 0 : _a.length) || 0}/${_ctx.maxLength}`), 1)) : Mo.createCommentVNode("", true)
|
|
52
52
|
], 10, _hoisted_1);
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const compactButton = require("./compact-button.js");
|
|
4
4
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
5
5
|
const clsx = require("./chunks/clsx.js");
|
|
@@ -15,7 +15,7 @@ const _hoisted_3 = {
|
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "celeste-tooltip-content-description"
|
|
17
17
|
};
|
|
18
|
-
const _sfc_main = /* @__PURE__ */
|
|
18
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
19
19
|
__name: "tooltip-content",
|
|
20
20
|
props: {
|
|
21
21
|
class: {},
|
|
@@ -46,38 +46,38 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
46
46
|
const props = __props;
|
|
47
47
|
const emits = __emit;
|
|
48
48
|
const delegated = useDelegatedProps.useDelegatedProps(props, ["class", "size", "variant", "icon", "title", "description", "dismissible", "onDismiss"]);
|
|
49
|
-
const forwarded = index.
|
|
49
|
+
const forwarded = index.xe(delegated, emits);
|
|
50
50
|
function handleDismiss() {
|
|
51
51
|
var _a;
|
|
52
52
|
(_a = props.onDismiss) == null ? void 0 : _a.call(props);
|
|
53
53
|
}
|
|
54
54
|
return (_ctx, _cache) => {
|
|
55
|
-
return
|
|
56
|
-
default:
|
|
57
|
-
|
|
55
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.jg), { class: "celeste-tooltip-portal" }, {
|
|
56
|
+
default: Mo.withCtx(() => [
|
|
57
|
+
Mo.createVNode(Mo.unref(index.Hg), Mo.mergeProps(Mo.unref(forwarded), {
|
|
58
58
|
size: _ctx.size,
|
|
59
59
|
variant: _ctx.variant,
|
|
60
|
-
class:
|
|
60
|
+
class: Mo.unref(clsx.clsx)("celeste-tooltip-content", props.class)
|
|
61
61
|
}), {
|
|
62
|
-
default:
|
|
63
|
-
_ctx.icon ? (
|
|
62
|
+
default: Mo.withCtx(() => [
|
|
63
|
+
_ctx.icon ? (Mo.openBlock(), Mo.createElementBlock("i", {
|
|
64
64
|
key: 0,
|
|
65
|
-
class:
|
|
66
|
-
}, null, 2)) :
|
|
67
|
-
|
|
68
|
-
_ctx.title ? (
|
|
69
|
-
_ctx.description ? (
|
|
70
|
-
|
|
65
|
+
class: Mo.normalizeClass(`celeste-tooltip-content-icon ${_ctx.icon}`)
|
|
66
|
+
}, null, 2)) : Mo.createCommentVNode("", true),
|
|
67
|
+
Mo.createElementVNode("div", _hoisted_1, [
|
|
68
|
+
_ctx.title ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_2, Mo.toDisplayString(_ctx.title), 1)) : Mo.createCommentVNode("", true),
|
|
69
|
+
_ctx.description ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_3, Mo.toDisplayString(_ctx.description), 1)) : Mo.createCommentVNode("", true),
|
|
70
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
71
71
|
]),
|
|
72
|
-
_ctx.dismissible ? (
|
|
72
|
+
_ctx.dismissible ? (Mo.openBlock(), Mo.createBlock(compactButton, {
|
|
73
73
|
key: 1,
|
|
74
74
|
variant: "ghost",
|
|
75
75
|
icon: "i-celeste-close-line",
|
|
76
76
|
onClick: handleDismiss
|
|
77
|
-
})) :
|
|
78
|
-
|
|
79
|
-
default:
|
|
80
|
-
|
|
77
|
+
})) : Mo.createCommentVNode("", true),
|
|
78
|
+
Mo.createVNode(Mo.unref(index.Wg), { "as-child": "" }, {
|
|
79
|
+
default: Mo.withCtx(() => _cache[0] || (_cache[0] = [
|
|
80
|
+
Mo.createElementVNode("span", { class: "celeste-tooltip-content-arrow" }, null, -1)
|
|
81
81
|
])),
|
|
82
82
|
_: 1
|
|
83
83
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const tinycolor = require("./chunks/tinycolor.js");
|
|
4
|
-
const
|
|
4
|
+
const Mo = require("vue");
|
|
5
5
|
const ColorPickerEmits = ["update:modelValue"];
|
|
6
6
|
function defineColorModel(props, emit) {
|
|
7
7
|
let originalFormat;
|
|
8
|
-
const tinyColorRef =
|
|
8
|
+
const tinyColorRef = Mo.computed({
|
|
9
9
|
get: () => {
|
|
10
10
|
const colorInput = props.modelValue;
|
|
11
11
|
const value = tinycolor.tinycolor(colorInput);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const Mo = require("vue");
|
|
4
4
|
function useDelegatedProps(props, excludeKeys = ["class"]) {
|
|
5
|
-
return
|
|
5
|
+
return Mo.computed(() => {
|
|
6
6
|
const keysToExclude = Array.isArray(excludeKeys) ? excludeKeys : [excludeKeys];
|
|
7
7
|
const delegated = { ...props };
|
|
8
8
|
keysToExclude.forEach((key) => {
|
package/dist/cjs/use-sidebar.js
CHANGED
|
@@ -7,7 +7,7 @@ const SIDEBAR_WIDTH = "17rem";
|
|
|
7
7
|
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
8
8
|
const SIDEBAR_WIDTH_ICON = "52px";
|
|
9
9
|
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
10
|
-
const [useSidebar, provideSidebarContext] = index.
|
|
10
|
+
const [useSidebar, provideSidebarContext] = index.Q("Sidebar");
|
|
11
11
|
exports.SIDEBAR_COOKIE_MAX_AGE = SIDEBAR_COOKIE_MAX_AGE;
|
|
12
12
|
exports.SIDEBAR_COOKIE_NAME = SIDEBAR_COOKIE_NAME;
|
|
13
13
|
exports.SIDEBAR_KEYBOARD_SHORTCUT = SIDEBAR_KEYBOARD_SHORTCUT;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const Mo = require("vue");
|
|
4
4
|
function useUserPageSelection() {
|
|
5
|
-
const isDisabled =
|
|
5
|
+
const isDisabled = Mo.ref(false);
|
|
6
6
|
let styleElement = null;
|
|
7
7
|
const preventPageUserSelect = () => {
|
|
8
8
|
if (!styleElement) {
|
|
@@ -26,11 +26,11 @@ function useUserPageSelection() {
|
|
|
26
26
|
}
|
|
27
27
|
preventPageUserSelect();
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
Mo.onUnmounted(() => {
|
|
30
30
|
allowPageUserSelect();
|
|
31
31
|
});
|
|
32
32
|
return {
|
|
33
|
-
isDisabled:
|
|
33
|
+
isDisabled: Mo.readonly(isDisabled),
|
|
34
34
|
togglePageUserSelect,
|
|
35
35
|
preventPageUserSelect,
|
|
36
36
|
allowPageUserSelect
|
|
@@ -10,6 +10,6 @@ declare const _default: import('vue').DefineComponent<AlphaSliderProps, {}, {},
|
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<AlphaSliderProps> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
-
|
|
13
|
+
"slider-track": HTMLDivElement;
|
|
14
14
|
}, HTMLDivElement>;
|
|
15
15
|
export default _default;
|
|
@@ -4,6 +4,6 @@ export interface ColorAreaProps {
|
|
|
4
4
|
modelValue: tinycolor.Instance;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import('vue').DefineComponent<ColorAreaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ColorAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
-
|
|
7
|
+
"color-area": HTMLDivElement;
|
|
8
8
|
}, HTMLDivElement>;
|
|
9
9
|
export default _default;
|
|
@@ -9,6 +9,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
-
|
|
12
|
+
"slider-track": HTMLDivElement;
|
|
13
13
|
}, HTMLDivElement>;
|
|
14
14
|
export default _default;
|
|
@@ -32,14 +32,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
32
|
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
label: string;
|
|
35
|
-
icon: string;
|
|
36
35
|
description: string;
|
|
36
|
+
icon: string;
|
|
37
37
|
multiple: boolean;
|
|
38
38
|
labelOnDrop: string;
|
|
39
39
|
triggerLabel: string;
|
|
40
40
|
maxSize: number;
|
|
41
41
|
maxFiles: number;
|
|
42
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
43
|
-
dropZoneRef: unknown;
|
|
44
|
-
}, any>;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
43
|
export default _default;
|
|
@@ -7,7 +7,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
7
7
|
"set-link-closed": (...args: any[]) => void;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
"onSet-link-closed"?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
-
bubbleRef: HTMLDivElement;
|
|
12
|
-
}, any>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
11
|
export default _default;
|
package/dist/es/alert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, renderSlot, createCommentVNode, withModifiers } from "vue";
|
|
2
2
|
import { uid } from "./crypto.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
4
|
/* empty css */
|
package/dist/es/badge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
package/dist/es/button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as O } from "./chunks/index.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/es/checkbox-card.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, normalizeClass, Fragment, createElementVNode, renderSlot, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { J as
|
|
4
|
+
import { J as Oh, f as O } from "./chunks/index.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
7
|
const _hoisted_1 = { class: "celeste-checkbox-card-content" };
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
const props = __props;
|
|
25
25
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
26
26
|
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(unref(
|
|
27
|
+
return openBlock(), createBlock(unref(Oh), mergeProps(unref(delegatedProps), {
|
|
28
28
|
"aria-required": _ctx.required,
|
|
29
29
|
"aria-disabled": _ctx.disabled,
|
|
30
30
|
class: unref(clsx)("celeste-checkbox-card", props.class, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
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 { J as
|
|
4
|
+
import { J as Oh, f as O } from "./chunks/index.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
7
|
const _hoisted_1 = { role: "presentation" };
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
const props = __props;
|
|
28
28
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createBlock(unref(
|
|
30
|
+
return openBlock(), createBlock(unref(Oh), mergeProps(unref(delegatedProps), {
|
|
31
31
|
"aria-required": _ctx.required,
|
|
32
32
|
"aria-disabcled": _ctx.disabled,
|
|
33
33
|
class: unref(clsx)("celeste-checkbox-label", props.class)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useTemplateRef, computed, onUnmounted,
|
|
1
|
+
import { defineComponent, useTemplateRef, computed, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeStyle } from "vue";
|
|
2
2
|
import { useUserPageSelection } from "../use-user-select.js";
|
|
3
3
|
import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from "../color.js";
|
|
4
4
|
import { defineColorModel } from "../use-color-model.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./clsx.js";
|
|
4
|
-
import {
|
|
4
|
+
import { x as xe, z as zv, K as Kv } from "./index.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "checkbox",
|
|
7
7
|
props: {
|
|
@@ -21,13 +21,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
const props = __props;
|
|
22
22
|
const emits = __emit;
|
|
23
23
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
24
|
-
const forwarded =
|
|
24
|
+
const forwarded = xe(delegatedProps, emits);
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
|
-
return openBlock(), createBlock(unref(
|
|
26
|
+
return openBlock(), createBlock(unref(zv), mergeProps(unref(forwarded), {
|
|
27
27
|
class: unref(clsx)("celeste-checkbox", props.class)
|
|
28
28
|
}), {
|
|
29
29
|
default: withCtx(() => [
|
|
30
|
-
createVNode(unref(
|
|
30
|
+
createVNode(unref(Kv), { class: "celeste-checkbox-indicator" })
|
|
31
31
|
]),
|
|
32
32
|
_: 1
|
|
33
33
|
}, 16, ["class"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { q as qi } from "./index.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "collapsible-content",
|
|
6
6
|
props: {
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
setup(__props) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(unref(
|
|
15
|
+
return openBlock(), createBlock(unref(qi), mergeProps(props, {
|
|
16
16
|
class: unref(clsx)("celeste-collapsible-content", props.class)
|
|
17
17
|
}), {
|
|
18
18
|
default: withCtx(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { U as Ui } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "collapsible-trigger",
|
|
5
5
|
props: {
|
|
@@ -9,7 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
setup(__props) {
|
|
10
10
|
const props = __props;
|
|
11
11
|
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createBlock(unref(
|
|
12
|
+
return openBlock(), createBlock(unref(Ui), normalizeProps(guardReactiveProps(props)), {
|
|
13
13
|
default: withCtx(() => [
|
|
14
14
|
renderSlot(_ctx.$slots, "default")
|
|
15
15
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { x as xe, j as ji } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "collapsible",
|
|
5
5
|
props: {
|
|
@@ -13,9 +13,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
setup(__props, { emit: __emit }) {
|
|
14
14
|
const props = __props;
|
|
15
15
|
const emits = __emit;
|
|
16
|
-
const forwarded =
|
|
16
|
+
const forwarded = xe(props, emits);
|
|
17
17
|
return (_ctx, _cache) => {
|
|
18
|
-
return openBlock(), createBlock(unref(
|
|
18
|
+
return openBlock(), createBlock(unref(ji), normalizeProps(guardReactiveProps(unref(forwarded))), {
|
|
19
19
|
default: withCtx(({ open }) => [
|
|
20
20
|
renderSlot(_ctx.$slots, "default", { open })
|
|
21
21
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { A as At, a as jv } from "./index.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "combobox-anchor",
|
|
6
6
|
props: {
|
|
@@ -14,9 +14,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
const { class: _, ...delegated } = props;
|
|
15
15
|
return delegated;
|
|
16
16
|
});
|
|
17
|
-
const forwarded =
|
|
17
|
+
const forwarded = At(delegatedProps);
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(
|
|
19
|
+
return openBlock(), createBlock(unref(jv), mergeProps(unref(forwarded), {
|
|
20
20
|
class: unref(clsx)(props.class, "celeste-dropdown-anchor")
|
|
21
21
|
}), {
|
|
22
22
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createElementBlock, createCommentVNode, toDisplayString, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./clsx.js";
|
|
3
|
-
import { I as
|
|
3
|
+
import { I as Qf } from "./index.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "celecte-content-divider-type-line"
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
setup(__props) {
|
|
28
28
|
const props = __props;
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createBlock(unref(
|
|
30
|
+
return openBlock(), createBlock(unref(Qf), {
|
|
31
31
|
"aria-label": "divider",
|
|
32
32
|
class: normalizeClass([unref(clsx)("celeste-celecte-content-divider", props.class), "celecte-content-divider"])
|
|
33
33
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./clsx.js";
|
|
4
|
-
import {
|
|
4
|
+
import { x as xe, m as my, g as gy, h as hy, y as yy } from "./index.js";
|
|
5
5
|
import CompactButton from "../compact-button.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "counter-input",
|
|
@@ -28,14 +28,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const props = __props;
|
|
29
29
|
const emits = __emit;
|
|
30
30
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
31
|
-
const forwarded =
|
|
31
|
+
const forwarded = xe(delegatedProps, emits);
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return openBlock(), createBlock(unref(
|
|
33
|
+
return openBlock(), createBlock(unref(my), mergeProps(unref(forwarded), {
|
|
34
34
|
"has-error": _ctx.hasError,
|
|
35
35
|
class: unref(clsx)("celeste-counter-input-wrapper", props.class)
|
|
36
36
|
}), {
|
|
37
37
|
default: withCtx(() => [
|
|
38
|
-
createVNode(unref(
|
|
38
|
+
createVNode(unref(gy), {
|
|
39
39
|
"as-child": "",
|
|
40
40
|
class: "celeste-counter-input-decrement"
|
|
41
41
|
}, {
|
|
@@ -47,8 +47,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
]),
|
|
48
48
|
_: 1
|
|
49
49
|
}),
|
|
50
|
-
createVNode(unref(
|
|
51
|
-
createVNode(unref(
|
|
50
|
+
createVNode(unref(hy), { class: "celeste-counter-input" }),
|
|
51
|
+
createVNode(unref(yy), {
|
|
52
52
|
"as-child": "",
|
|
53
53
|
class: "celeste-counter-input-increment"
|
|
54
54
|
}, {
|