@youcan/celeste 0.6.73 → 0.6.74
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 +55 -53
- package/dist/cjs/alert.js +32 -32
- package/dist/cjs/badge.js +17 -14
- 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 +2292 -2289
- package/dist/cjs/chunks/index2.js +14 -14
- package/dist/cjs/chunks/index3.js +28 -28
- package/dist/cjs/chunks/index4.js +125 -96
- package/dist/cjs/chunks/index5.js +4720 -4015
- 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 +742 -45
- 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 +214 -146
- 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 +7 -6
- package/dist/cjs/combobox-separator.js +7 -7
- package/dist/cjs/combobox-trigger.js +8 -8
- package/dist/cjs/combobox.js +54 -53
- 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 +8 -7
- 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 +6 -8
- 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 +4 -2
- package/dist/components/rich-editor/link-bubble.d.ts +3 -1
- package/dist/es/alert.js +1 -1
- package/dist/es/badge.js +6 -3
- 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 +1156 -1153
- package/dist/es/chunks/index2.js +3 -3
- package/dist/es/chunks/index3.js +2 -2
- package/dist/es/chunks/index4.js +119 -90
- package/dist/es/chunks/index5.js +4733 -4028
- 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 +743 -46
- 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 +97 -29
- 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 +5 -4
- package/dist/es/combobox-separator.js +3 -3
- package/dist/es/combobox-trigger.js +4 -4
- package/dist/es/combobox.js +4 -3
- 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 +5 -4
- 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 +3 -5
- 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/src/components/badge/badge.vue +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { H as Hg } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "tooltip-provider",
|
|
5
5
|
props: {
|
|
@@ -13,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const props = __props;
|
|
15
15
|
return (_ctx, _cache) => {
|
|
16
|
-
return openBlock(), createBlock(unref(
|
|
16
|
+
return openBlock(), createBlock(unref(Hg), normalizeProps(guardReactiveProps(props)), {
|
|
17
17
|
default: withCtx(() => [
|
|
18
18
|
renderSlot(_ctx.$slots, "default")
|
|
19
19
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref,
|
|
1
|
+
import { defineComponent, ref, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Se, u as Wg } from "./index.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "tooltip-root",
|
|
6
6
|
props: {
|
|
@@ -17,10 +17,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
const props = __props;
|
|
18
18
|
const emits = __emit;
|
|
19
19
|
const delegatedProps = useDelegatedProps(props, "open");
|
|
20
|
-
const forwarded =
|
|
20
|
+
const forwarded = Se(delegatedProps, emits);
|
|
21
21
|
const open = ref(false);
|
|
22
22
|
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(
|
|
23
|
+
return openBlock(), createBlock(unref(Wg), mergeProps(unref(forwarded), {
|
|
24
24
|
open: open.value,
|
|
25
25
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event)
|
|
26
26
|
}), {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { O as Ot, v as jg } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "tooltip-trigger",
|
|
5
5
|
props: {
|
|
@@ -8,9 +8,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
},
|
|
9
9
|
setup(__props) {
|
|
10
10
|
const props = __props;
|
|
11
|
-
const forwardedProps =
|
|
11
|
+
const forwardedProps = Ot(props);
|
|
12
12
|
return (_ctx, _cache) => {
|
|
13
|
-
return openBlock(), createBlock(unref(
|
|
13
|
+
return openBlock(), createBlock(unref(jg), mergeProps(unref(forwardedProps), { "as-child": "" }), {
|
|
14
14
|
default: withCtx(() => [
|
|
15
15
|
renderSlot(_ctx.$slots, "default")
|
|
16
16
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref,
|
|
1
|
+
import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Se } from "./index.js";
|
|
4
4
|
import TooltipContent from "../tooltip-content.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./tooltip-provider.js";
|
|
6
6
|
import { _ as _sfc_main$2 } from "./tooltip-root.js";
|
|
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
const props = __props;
|
|
43
43
|
const emits = __emit;
|
|
44
44
|
const delegatedProps = useDelegatedProps(props, ["class", "size", "variant", "icon", "title", "description", "dismissible"]);
|
|
45
|
-
const forwarded =
|
|
45
|
+
const forwarded = Se(delegatedProps, emits);
|
|
46
46
|
const isOpen = ref(props.defaultOpen);
|
|
47
47
|
function close() {
|
|
48
48
|
isOpen.value = false;
|
package/dist/es/color-area.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, ref, useTemplateRef,
|
|
1
|
+
import { defineComponent, useCssVars, computed, ref, useTemplateRef, watch, onUnmounted, createElementBlock, openBlock, createElementVNode, normalizeStyle } from "vue";
|
|
2
2
|
import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection, clamp } from "./color.js";
|
|
3
|
-
import {
|
|
3
|
+
import { defineColorModel, ColorPickerEmits } from "./use-color-model.js";
|
|
4
4
|
import { useUserPageSelection } from "./use-user-select.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
package/dist/es/color-picker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, ref, computed, watch,
|
|
1
|
+
import { defineComponent, useCssVars, ref, computed, watch, createBlock, openBlock, unref, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString, mergeProps, isRef, createElementBlock, Fragment, renderList, createCommentVNode, withKeys, withModifiers, renderSlot } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { truncColorValue, COLOR_NUMBER_VALIDATION_PATTERN, HEX_VALIDATION_PATTERN, resolveArrowDirection, getColorConstraints, clamp, bumpColorValue } from "./color.js";
|
|
4
|
-
import {
|
|
4
|
+
import { S as Se } from "./chunks/index.js";
|
|
5
5
|
import { t as tinycolor } from "./chunks/tinycolor.js";
|
|
6
6
|
import Button from "./button.js";
|
|
7
7
|
/* empty css */
|
|
@@ -27,7 +27,7 @@ import ColorArea from "./color-area.js";
|
|
|
27
27
|
import ColorSwatch from "./color-swatch.js";
|
|
28
28
|
import { defineColorModel } from "./use-color-model.js";
|
|
29
29
|
/* empty css */
|
|
30
|
-
import
|
|
30
|
+
import hueSlider from "./hue-slider.js";
|
|
31
31
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
32
32
|
const _hoisted_1 = { class: "celeste-color-picker" };
|
|
33
33
|
const _hoisted_2 = { class: "celeste-color-control-panel" };
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
const props = __props;
|
|
54
54
|
const emit = __emit;
|
|
55
55
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
56
|
-
const forwarded =
|
|
56
|
+
const forwarded = Se(delegatedProps, emit);
|
|
57
57
|
const tinyColorRef = defineColorModel(props, emit);
|
|
58
58
|
const hueRef = ref(tinyColorRef.value.toHsl().h);
|
|
59
59
|
const currentColorFormat = ref(props.defaultFormat || "hex");
|
|
@@ -250,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
250
250
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(tinyColorRef) ? tinyColorRef.value = $event : null),
|
|
251
251
|
hue: hueRef.value
|
|
252
252
|
}, null, 8, ["modelValue", "hue"]),
|
|
253
|
-
createVNode(unref(
|
|
253
|
+
createVNode(unref(hueSlider), {
|
|
254
254
|
modelValue: hueRef.value,
|
|
255
255
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hueRef.value = $event)
|
|
256
256
|
}, null, 8, ["modelValue"]),
|
package/dist/es/color-swatch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, computed,
|
|
1
|
+
import { defineComponent, useCssVars, computed, createElementBlock, openBlock, createElementVNode, toDisplayString, Fragment, renderList, withKeys, normalizeStyle } from "vue";
|
|
2
2
|
import { DEFAULT_SWATCH } from "./color.js";
|
|
3
3
|
import { t as tinycolor } from "./chunks/tinycolor.js";
|
|
4
4
|
import { defineColorModel } from "./use-color-model.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { L as em } 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({
|
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
return delegated;
|
|
18
18
|
});
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(
|
|
20
|
+
return openBlock(), createBlock(unref(em), mergeProps(delegatedProps.value, {
|
|
21
21
|
class: unref(clsx)("celeste-dropdown-empty-list", props.class)
|
|
22
22
|
}), {
|
|
23
23
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { N as Zv, P as Jv } 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({
|
|
@@ -18,11 +18,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
return delegated;
|
|
19
19
|
});
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(
|
|
21
|
+
return openBlock(), createBlock(unref(Zv), mergeProps(delegatedProps.value, {
|
|
22
22
|
class: unref(clsx)(props.class, "celeste-dropdown-items-group")
|
|
23
23
|
}), {
|
|
24
24
|
default: withCtx(() => [
|
|
25
|
-
_ctx.heading ? (openBlock(), createBlock(unref(
|
|
25
|
+
_ctx.heading ? (openBlock(), createBlock(unref(Jv), {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: ""
|
|
28
28
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, mergeModels, useModel, computed,
|
|
1
|
+
import { defineComponent, mergeModels, useModel, computed, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Q as Gv } from "./chunks/index.js";
|
|
4
4
|
import TextInput from "./text-input.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
};
|
|
37
37
|
});
|
|
38
38
|
return (_ctx, _cache) => {
|
|
39
|
-
return openBlock(), createBlock(unref(
|
|
39
|
+
return openBlock(), createBlock(unref(Gv), mergeProps(comboboxInputProps.value, {
|
|
40
40
|
class: unref(clsx)("celeste-dropdown-input", props.class),
|
|
41
41
|
readonly: !props.searchable,
|
|
42
42
|
as: "div"
|
package/dist/es/combobox-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Se, R as am } from "./chunks/index.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/checkbox.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -48,9 +48,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
const { class: _, ...delegated } = props;
|
|
49
49
|
return delegated;
|
|
50
50
|
});
|
|
51
|
-
const forwarded =
|
|
51
|
+
const forwarded = Se(delegatedProps, emits);
|
|
52
52
|
return (_ctx, _cache) => {
|
|
53
|
-
return openBlock(), createBlock(unref(
|
|
53
|
+
return openBlock(), createBlock(unref(am), mergeProps(unref(forwarded), {
|
|
54
54
|
disabled: _ctx.disabled,
|
|
55
55
|
"as-child": ""
|
|
56
56
|
}), {
|
package/dist/es/combobox-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Se, T as sm, U as Qv, a0 as tm } 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({
|
|
@@ -35,15 +35,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
const { class: _, ...delegated } = props;
|
|
36
36
|
return delegated;
|
|
37
37
|
});
|
|
38
|
-
const forwarded =
|
|
38
|
+
const forwarded = Se(delegatedProps, emits);
|
|
39
39
|
return (_ctx, _cache) => {
|
|
40
|
-
return openBlock(), createBlock(unref(
|
|
40
|
+
return openBlock(), createBlock(unref(sm), null, {
|
|
41
41
|
default: withCtx(() => [
|
|
42
|
-
createVNode(unref(
|
|
42
|
+
createVNode(unref(Qv), mergeProps(unref(forwarded), {
|
|
43
43
|
class: unref(clsx)("celeste-dropdown-content", props.class)
|
|
44
44
|
}), {
|
|
45
45
|
default: withCtx(() => [
|
|
46
|
-
createVNode(unref(
|
|
46
|
+
createVNode(unref(tm), { class: "celeste-dropdown-items-viewport" }, {
|
|
47
47
|
default: withCtx(() => [
|
|
48
48
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
49
|
]),
|
package/dist/es/combobox-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { S as Se, a1 as Uv } from "./chunks/index.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
filterFunction: { type: Function },
|
|
19
19
|
displayValue: { type: Function },
|
|
20
20
|
resetSearchTermOnBlur: { type: Boolean },
|
|
21
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
21
22
|
asChild: { type: Boolean },
|
|
22
23
|
as: {}
|
|
23
24
|
},
|
|
@@ -25,9 +26,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
26
|
setup(__props, { emit: __emit }) {
|
|
26
27
|
const props = __props;
|
|
27
28
|
const emits = __emit;
|
|
28
|
-
const forwarded =
|
|
29
|
+
const forwarded = Se(props, emits);
|
|
29
30
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createBlock(unref(
|
|
31
|
+
return openBlock(), createBlock(unref(Uv), mergeProps({ class: "celeste-combobox-root" }, unref(forwarded)), {
|
|
31
32
|
default: withCtx(() => [
|
|
32
33
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
33
34
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { a2 as
|
|
3
|
+
import { a2 as om } 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({
|
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
return delegated;
|
|
18
18
|
});
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(
|
|
20
|
+
return openBlock(), createBlock(unref(om), mergeProps(delegatedProps.value, {
|
|
21
21
|
class: unref(clsx)("celeste-dropdown-separator", props.class)
|
|
22
22
|
}), {
|
|
23
23
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as Ot, a3 as Yv } 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({
|
|
@@ -21,9 +21,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
const { class: _, ...delegated } = props;
|
|
22
22
|
return delegated;
|
|
23
23
|
});
|
|
24
|
-
const forwarded =
|
|
24
|
+
const forwarded = Ot(delegatedProps);
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
|
-
return openBlock(), createBlock(unref(
|
|
26
|
+
return openBlock(), createBlock(unref(Yv), mergeProps(unref(forwarded), {
|
|
27
27
|
type: "button",
|
|
28
28
|
tabindex: "0",
|
|
29
29
|
class: unref(clsx)(
|
package/dist/es/combobox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, mergeProps, unref, withCtx, createVNode, normalizeClass, createElementBlock, createCommentVNode, createElementVNode, renderSlot, normalizeProps, guardReactiveProps, toDisplayString, createSlots, createTextVNode, Fragment, renderList } from "vue";
|
|
2
|
+
import { S as Se } from "./chunks/index.js";
|
|
3
3
|
import Badge from "./badge.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/combobox-anchor.js";
|
|
5
5
|
import ComboboxEmpty from "./combobox-empty.js";
|
|
@@ -62,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
filterFunction: {},
|
|
63
63
|
displayValue: {},
|
|
64
64
|
resetSearchTermOnBlur: { type: Boolean },
|
|
65
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
65
66
|
asChild: { type: Boolean },
|
|
66
67
|
as: {}
|
|
67
68
|
},
|
|
@@ -87,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
88
|
} = props;
|
|
88
89
|
return delegated;
|
|
89
90
|
});
|
|
90
|
-
const forwarded =
|
|
91
|
+
const forwarded = Se(delegatedProps, emits);
|
|
91
92
|
const model = computed(() => props.modelValue);
|
|
92
93
|
const label = computed(() => {
|
|
93
94
|
if (!model.value)
|
package/dist/es/command-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { N as Zv, P as Jv } 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",
|
|
@@ -16,11 +16,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
return delegated;
|
|
17
17
|
});
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(
|
|
19
|
+
return openBlock(), createBlock(unref(Zv), mergeProps(delegatedProps.value, {
|
|
20
20
|
class: ["celeste-command-group", props.class]
|
|
21
21
|
}), {
|
|
22
22
|
default: withCtx(() => [
|
|
23
|
-
_ctx.heading ? (openBlock(), createBlock(unref(
|
|
23
|
+
_ctx.heading ? (openBlock(), createBlock(unref(Jv), {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "celeste-command-label"
|
|
26
26
|
}, {
|
package/dist/es/command-input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, createElementVNode, createVNode, unref, mergeProps } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as Ot, Q as Gv } 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",
|
|
@@ -25,11 +25,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
const { class: _, ...delegated } = props;
|
|
26
26
|
return delegated;
|
|
27
27
|
});
|
|
28
|
-
const forwardedProps =
|
|
28
|
+
const forwardedProps = Ot(delegatedProps);
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
30
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
31
31
|
_cache[0] || (_cache[0] = createElementVNode("i", { class: "celeste-command-input-icon i-celeste-search-line" }, null, -1)),
|
|
32
|
-
createVNode(unref(
|
|
32
|
+
createVNode(unref(Gv), mergeProps({ ...unref(forwardedProps), ..._ctx.$attrs }, {
|
|
33
33
|
"auto-focus": "",
|
|
34
34
|
class: unref(clsx)("celeste-command-input-primitive", props.class)
|
|
35
35
|
}), null, 16, ["class"])
|
package/dist/es/command-item.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { S as Se, R as am } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-item",
|
|
5
5
|
props: {
|
|
@@ -17,9 +17,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
const { class: _, ...delegated } = props;
|
|
18
18
|
return delegated;
|
|
19
19
|
});
|
|
20
|
-
const forwarded =
|
|
20
|
+
const forwarded = Se(delegatedProps, emits);
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
|
-
return openBlock(), createBlock(unref(
|
|
22
|
+
return openBlock(), createBlock(unref(am), mergeProps(unref(forwarded), {
|
|
23
23
|
class: ["celeste-command-item", props.class]
|
|
24
24
|
}), {
|
|
25
25
|
default: withCtx(() => [
|
package/dist/es/command-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, renderSlot } from "vue";
|
|
2
|
+
import { S as Se, U as Qv } from "./chunks/index.js";
|
|
3
3
|
const _hoisted_1 = { role: "presentation" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "command-list",
|
|
@@ -33,9 +33,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
const { class: _, ...delegated } = props;
|
|
34
34
|
return delegated;
|
|
35
35
|
});
|
|
36
|
-
const forwarded =
|
|
36
|
+
const forwarded = Se(delegatedProps, emits);
|
|
37
37
|
return (_ctx, _cache) => {
|
|
38
|
-
return openBlock(), createBlock(unref(
|
|
38
|
+
return openBlock(), createBlock(unref(Qv), mergeProps(unref(forwarded), {
|
|
39
39
|
class: ["celeste-command-list", props.class]
|
|
40
40
|
}), {
|
|
41
41
|
default: withCtx(() => [
|
package/dist/es/command-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { S as Se, a1 as Uv } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-root",
|
|
5
5
|
props: {
|
|
@@ -16,6 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
filterFunction: {},
|
|
17
17
|
displayValue: {},
|
|
18
18
|
resetSearchTermOnBlur: { type: Boolean },
|
|
19
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
19
20
|
asChild: { type: Boolean },
|
|
20
21
|
as: {},
|
|
21
22
|
class: {}
|
|
@@ -28,9 +29,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
29
|
const { class: _, ...delegated } = props;
|
|
29
30
|
return delegated;
|
|
30
31
|
});
|
|
31
|
-
const forwarded =
|
|
32
|
+
const forwarded = Se(delegatedProps, emits);
|
|
32
33
|
return (_ctx, _cache) => {
|
|
33
|
-
return openBlock(), createBlock(unref(
|
|
34
|
+
return openBlock(), createBlock(unref(Uv), mergeProps(unref(forwarded), {
|
|
34
35
|
class: ["celeste-command-root", props.class]
|
|
35
36
|
}), {
|
|
36
37
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { a2 as
|
|
3
|
+
import { a2 as om } 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",
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
return delegated;
|
|
17
17
|
});
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(
|
|
19
|
+
return openBlock(), createBlock(unref(om), mergeProps(delegatedProps.value, {
|
|
20
20
|
class: unref(clsx)("celeste-command-separator", props.class)
|
|
21
21
|
}), {
|
|
22
22
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h 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({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as Ot, h as O } from "./chunks/index.js";
|
|
4
4
|
import { r as reactiveOmit } from "./chunks/index2.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
setup(__props) {
|
|
15
15
|
const props = __props;
|
|
16
16
|
const delegatedProps = reactiveOmit(props, "class");
|
|
17
|
-
const forwardedProps =
|
|
17
|
+
const forwardedProps = Ot(delegatedProps);
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
19
|
return openBlock(), createBlock(unref(O), mergeProps(unref(forwardedProps), {
|
|
20
20
|
class: unref(clsx)("celeste-digit-input-group", props.class)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as Ot, a4 as Ty } from "./chunks/index.js";
|
|
4
4
|
import { r as reactiveOmit } from "./chunks/index2.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
@@ -16,9 +16,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
setup(__props) {
|
|
17
17
|
const props = __props;
|
|
18
18
|
const delegatedProps = reactiveOmit(props, "class");
|
|
19
|
-
const forwardedProps =
|
|
19
|
+
const forwardedProps = Ot(delegatedProps);
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(
|
|
21
|
+
return openBlock(), createBlock(unref(Ty), mergeProps(unref(forwardedProps), {
|
|
22
22
|
class: unref(clsx)("celeste-digit-input-slot", props.class)
|
|
23
23
|
}), null, 16, ["class"]);
|
|
24
24
|
};
|
package/dist/es/digit-input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Se, a5 as Iy } from "./chunks/index.js";
|
|
4
4
|
import { r as reactiveOmit } from "./chunks/index2.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
@@ -28,9 +28,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const props = __props;
|
|
29
29
|
const emits = __emit;
|
|
30
30
|
const delegatedProps = reactiveOmit(props, "class", "hasError");
|
|
31
|
-
const forwarded =
|
|
31
|
+
const forwarded = Se(delegatedProps, emits);
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return openBlock(), createBlock(unref(
|
|
33
|
+
return openBlock(), createBlock(unref(Iy), mergeProps(unref(forwarded), {
|
|
34
34
|
class: unref(clsx)("celeste-digit-input", props.class),
|
|
35
35
|
"data-error": _ctx.hasError
|
|
36
36
|
}), {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot } 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 { S as Se, a6 as ch, a7 as fh } from "./chunks/index.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -30,11 +30,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
const props = __props;
|
|
31
31
|
const emits = __emit;
|
|
32
32
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
33
|
-
const forwarded =
|
|
33
|
+
const forwarded = Se(delegatedProps, emits);
|
|
34
34
|
return (_ctx, _cache) => {
|
|
35
|
-
return openBlock(), createBlock(unref(
|
|
35
|
+
return openBlock(), createBlock(unref(ch), null, {
|
|
36
36
|
default: withCtx(() => [
|
|
37
|
-
createVNode(unref(
|
|
37
|
+
createVNode(unref(fh), mergeProps(unref(forwarded), {
|
|
38
38
|
class: unref(clsx)("celeste-dropdown-menu-content", props.class),
|
|
39
39
|
"side-offset": 8
|
|
40
40
|
}), {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { a8 as
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { a8 as mh } from "./chunks/index.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const props = __props;
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
return openBlock(), createBlock(unref(
|
|
14
|
+
return openBlock(), createBlock(unref(mh), mergeProps({ class: "celeste-dropdown-menu-group" }, props), {
|
|
15
15
|
default: withCtx(() => [
|
|
16
16
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17
17
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createElementBlock, createCommentVNode, createElementVNode, renderSlot } 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 { O as Ot, a9 as vh } 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 = {
|
|
@@ -25,9 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
setup(__props) {
|
|
26
26
|
const props = __props;
|
|
27
27
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
28
|
-
const forwardedProps =
|
|
28
|
+
const forwardedProps = Ot(delegatedProps);
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createBlock(unref(
|
|
30
|
+
return openBlock(), createBlock(unref(vh), mergeProps(unref(forwardedProps), {
|
|
31
31
|
class: unref(clsx)(
|
|
32
32
|
"celeste-dropdown-menu-item",
|
|
33
33
|
props.class
|