@youcan/celeste 0.6.28 → 0.6.29
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/package.json +3 -3
- package/src/components/checkbox/checkbox-label.vue +112 -0
- package/src/components/checkbox/index.ts +3 -0
- package/src/components/checkbox/stories/checkbox.stories.ts +37 -20
- package/dist/celeste.css +0 -3997
- package/dist/cjs/alert.js +0 -111
- package/dist/cjs/alpha-slider.js +0 -3
- package/dist/cjs/badge.js +0 -55
- package/dist/cjs/button.js +0 -39
- package/dist/cjs/checkbox.js +0 -3
- package/dist/cjs/chunks/_plugin-vue_export-helper.js +0 -9
- package/dist/cjs/chunks/alpha-slider.js +0 -127
- package/dist/cjs/chunks/checkbox.vue_vue_type_style_index_0_lang.js +0 -38
- package/dist/cjs/chunks/clsx.js +0 -15
- package/dist/cjs/chunks/combobox-anchor.js +0 -31
- package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +0 -52
- 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/cjs/chunks/dropdown-menu-sub.js +0 -25
- package/dist/cjs/chunks/index.js +0 -9073
- package/dist/cjs/chunks/modal-close.js +0 -22
- package/dist/cjs/chunks/modal-trigger.js +0 -22
- package/dist/cjs/chunks/modal.js +0 -26
- package/dist/cjs/chunks/popover.js +0 -26
- package/dist/cjs/chunks/scroll-area.js +0 -41
- package/dist/cjs/chunks/select-group.js +0 -22
- package/dist/cjs/chunks/select.js +0 -38
- package/dist/cjs/chunks/slider.vue_vue_type_style_index_0_lang.js +0 -52
- package/dist/cjs/chunks/switch.vue_vue_type_style_index_0_lang.js +0 -38
- package/dist/cjs/chunks/use-color-model.js +0 -992
- package/dist/cjs/color-area.js +0 -175
- package/dist/cjs/color-picker.js +0 -514
- package/dist/cjs/color-swatch.js +0 -59
- package/dist/cjs/color.js +0 -102
- package/dist/cjs/combobox-anchor.js +0 -3
- package/dist/cjs/combobox-empty.js +0 -32
- package/dist/cjs/combobox-group.js +0 -42
- package/dist/cjs/combobox-input.js +0 -63
- package/dist/cjs/combobox-item.js +0 -109
- package/dist/cjs/combobox-list.js +0 -62
- package/dist/cjs/combobox-root.js +0 -40
- package/dist/cjs/combobox-separator.js +0 -32
- package/dist/cjs/combobox-trigger.js +0 -47
- package/dist/cjs/combobox.js +0 -233
- package/dist/cjs/command-group.js +0 -41
- package/dist/cjs/command-input.js +0 -42
- package/dist/cjs/command-item.js +0 -34
- package/dist/cjs/command-list.js +0 -52
- package/dist/cjs/command-root.js +0 -45
- package/dist/cjs/command-separator.js +0 -32
- package/dist/cjs/compact-button.js +0 -42
- package/dist/cjs/content-divider.js +0 -3
- package/dist/cjs/context-menu-item.js +0 -134
- package/dist/cjs/crypto.js +0 -8
- package/dist/cjs/dropdown-item.js +0 -99
- package/dist/cjs/dropdown-menu-content.js +0 -3
- package/dist/cjs/dropdown-menu-group.js +0 -24
- package/dist/cjs/dropdown-menu-item.js +0 -68
- package/dist/cjs/dropdown-menu-label.js +0 -31
- package/dist/cjs/dropdown-menu-separator.js +0 -25
- package/dist/cjs/dropdown-menu-sub-content.js +0 -3
- package/dist/cjs/dropdown-menu-sub-trigger.js +0 -3
- package/dist/cjs/dropdown-menu-sub.js +0 -3
- package/dist/cjs/dropdown-menu-trigger.js +0 -26
- package/dist/cjs/dropdown-menu.js +0 -32
- package/dist/cjs/dropdown.js +0 -291
- package/dist/cjs/fancy-button.js +0 -38
- package/dist/cjs/hint-text.js +0 -36
- package/dist/cjs/hue-slider.js +0 -133
- package/dist/cjs/index.js +0 -217
- package/dist/cjs/label.js +0 -55
- package/dist/cjs/link-button.js +0 -44
- package/dist/cjs/modal-body.js +0 -22
- package/dist/cjs/modal-close.js +0 -3
- package/dist/cjs/modal-content.js +0 -48
- package/dist/cjs/modal-footer.js +0 -22
- package/dist/cjs/modal-header.js +0 -81
- package/dist/cjs/modal-trigger.js +0 -3
- package/dist/cjs/modal.js +0 -3
- package/dist/cjs/popover-content.js +0 -104
- package/dist/cjs/popover-trigger.js +0 -24
- package/dist/cjs/popover.js +0 -3
- package/dist/cjs/scroll-area.js +0 -3
- package/dist/cjs/scroll-bar.js +0 -39
- package/dist/cjs/segmented-control-item.js +0 -41
- package/dist/cjs/segmented-control.js +0 -40
- package/dist/cjs/select-content.js +0 -61
- package/dist/cjs/select-group.js +0 -3
- package/dist/cjs/select-icon.js +0 -25
- package/dist/cjs/select-item.js +0 -44
- package/dist/cjs/select-label.js +0 -32
- package/dist/cjs/select-separator.js +0 -26
- package/dist/cjs/select-trigger.js +0 -40
- package/dist/cjs/select-value.js +0 -31
- package/dist/cjs/select.js +0 -3
- package/dist/cjs/shims.js +0 -1
- package/dist/cjs/slider.js +0 -3
- package/dist/cjs/social-button.js +0 -45
- package/dist/cjs/status-badge.js +0 -49
- package/dist/cjs/switch.js +0 -3
- package/dist/cjs/tab-menu-content.js +0 -32
- package/dist/cjs/tab-menu-item.js +0 -44
- package/dist/cjs/tab-menu-list.js +0 -34
- package/dist/cjs/tab-menu.js +0 -32
- package/dist/cjs/text-input-affix.js +0 -27
- package/dist/cjs/text-input-button.js +0 -31
- package/dist/cjs/text-input.js +0 -119
- package/dist/cjs/textarea.js +0 -56
- package/dist/cjs/tooltip.js +0 -115
- package/dist/cjs/use-color-model.js +0 -6
- package/dist/cjs/use-delegated-props.js +0 -14
- package/dist/cjs/use-user-select.js +0 -39
- package/dist/components/alert/alert.d.ts +0 -30
- package/dist/components/alert/index.d.ts +0 -2
- package/dist/components/badge/badge.d.ts +0 -17
- package/dist/components/badge/index.d.ts +0 -4
- package/dist/components/badge/status-badge.d.ts +0 -13
- package/dist/components/button/button.d.ts +0 -22
- package/dist/components/button/compact-button.d.ts +0 -15
- package/dist/components/button/fancy-button.d.ts +0 -20
- package/dist/components/button/index.d.ts +0 -10
- package/dist/components/button/link-button.d.ts +0 -22
- package/dist/components/button/social-button.d.ts +0 -10
- package/dist/components/checkbox/checkbox.d.ts +0 -11
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/color-picker/alpha-slider.d.ts +0 -15
- package/dist/components/color-picker/color-area.d.ts +0 -9
- package/dist/components/color-picker/color-picker.d.ts +0 -47
- package/dist/components/color-picker/color-swatch.d.ts +0 -19
- package/dist/components/color-picker/composable/use-color-model.d.ts +0 -7
- package/dist/components/color-picker/composable/use-user-select.d.ts +0 -8
- package/dist/components/color-picker/hue-slider.d.ts +0 -14
- package/dist/components/color-picker/index.d.ts +0 -10
- package/dist/components/combobox/combobox-anchor.d.ts +0 -22
- package/dist/components/combobox/combobox-empty.d.ts +0 -22
- package/dist/components/combobox/combobox-group.d.ts +0 -23
- package/dist/components/combobox/combobox-input.d.ts +0 -17
- package/dist/components/combobox/combobox-item.d.ts +0 -31
- package/dist/components/combobox/combobox-list.d.ts +0 -36
- package/dist/components/combobox/combobox-root.d.ts +0 -29
- package/dist/components/combobox/combobox-separator.d.ts +0 -22
- package/dist/components/combobox/combobox-trigger.d.ts +0 -20
- package/dist/components/combobox/combobox.d.ts +0 -42
- package/dist/components/combobox/index.d.ts +0 -20
- package/dist/components/content-divider/content-divider.d.ts +0 -10
- package/dist/components/content-divider/index.d.ts +0 -2
- package/dist/components/dropdown/context-menu-item.d.ts +0 -39
- package/dist/components/dropdown/dropdown-item.d.ts +0 -30
- package/dist/components/dropdown/dropdown.d.ts +0 -55
- package/dist/components/dropdown/index.d.ts +0 -6
- package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +0 -36
- package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +0 -18
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +0 -26
- package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +0 -22
- package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +0 -7
- package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +0 -38
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +0 -22
- package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +0 -22
- package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -18
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +0 -18
- package/dist/components/dropdown-menu/index.d.ts +0 -20
- package/dist/components/hint-text/hint-text.d.ts +0 -11
- package/dist/components/hint-text/index.d.ts +0 -2
- package/dist/components/index.d.ts +0 -21
- package/dist/components/label/index.d.ts +0 -2
- package/dist/components/label/label.d.ts +0 -29
- package/dist/components/modal/index.d.ts +0 -14
- package/dist/components/modal/modal-body.d.ts +0 -21
- package/dist/components/modal/modal-close.d.ts +0 -18
- package/dist/components/modal/modal-content.d.ts +0 -37
- package/dist/components/modal/modal-footer.d.ts +0 -21
- package/dist/components/modal/modal-header.d.ts +0 -16
- package/dist/components/modal/modal-trigger.d.ts +0 -18
- package/dist/components/modal/modal.d.ts +0 -22
- package/dist/components/popover/index.d.ts +0 -6
- package/dist/components/popover/popover-content.d.ts +0 -41
- package/dist/components/popover/popover-trigger.d.ts +0 -18
- package/dist/components/popover/popover.d.ts +0 -22
- package/dist/components/scroll-area/index.d.ts +0 -2
- package/dist/components/scroll-area/scroll-area.d.ts +0 -22
- package/dist/components/scroll-area/scroll-bar.d.ts +0 -9
- package/dist/components/segmented-control/index.d.ts +0 -4
- package/dist/components/segmented-control/segmented-control-item.d.ts +0 -22
- package/dist/components/segmented-control/segmented-control.d.ts +0 -26
- package/dist/components/select/index.d.ts +0 -18
- package/dist/components/select/select-content.d.ts +0 -33
- package/dist/components/select/select-group.d.ts +0 -18
- package/dist/components/select/select-icon.d.ts +0 -21
- package/dist/components/select/select-item.d.ts +0 -22
- package/dist/components/select/select-label.d.ts +0 -22
- package/dist/components/select/select-separator.d.ts +0 -7
- package/dist/components/select/select-trigger.d.ts +0 -28
- package/dist/components/select/select-value.d.ts +0 -22
- package/dist/components/select/select.d.ts +0 -28
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/slider/slider.d.ts +0 -13
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/switch/switch.d.ts +0 -11
- package/dist/components/tab-menu/index.d.ts +0 -8
- package/dist/components/tab-menu/tab-menu-content.d.ts +0 -22
- package/dist/components/tab-menu/tab-menu-item.d.ts +0 -24
- package/dist/components/tab-menu/tab-menu-list.d.ts +0 -22
- package/dist/components/tab-menu/tab-menu.d.ts +0 -23
- package/dist/components/text-input/index.d.ts +0 -6
- package/dist/components/text-input/text-input-affix.d.ts +0 -23
- package/dist/components/text-input/text-input-button.d.ts +0 -23
- package/dist/components/text-input/text-input.d.ts +0 -32
- package/dist/components/textarea/index.d.ts +0 -2
- package/dist/components/textarea/textarea.d.ts +0 -22
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/tooltip.d.ts +0 -29
- package/dist/composables/use-delegated-props.d.ts +0 -2
- package/dist/es/alert.js +0 -112
- package/dist/es/alpha-slider.js +0 -4
- package/dist/es/badge.js +0 -56
- package/dist/es/button.js +0 -40
- package/dist/es/checkbox.js +0 -4
- package/dist/es/chunks/_plugin-vue_export-helper.js +0 -10
- package/dist/es/chunks/alpha-slider.js +0 -128
- package/dist/es/chunks/checkbox.vue_vue_type_style_index_0_lang.js +0 -39
- package/dist/es/chunks/clsx.js +0 -16
- package/dist/es/chunks/combobox-anchor.js +0 -32
- package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +0 -53
- 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
- package/dist/es/chunks/dropdown-menu-sub.js +0 -26
- package/dist/es/chunks/index.js +0 -9058
- package/dist/es/chunks/modal-close.js +0 -23
- package/dist/es/chunks/modal-trigger.js +0 -23
- package/dist/es/chunks/modal.js +0 -27
- package/dist/es/chunks/popover.js +0 -27
- package/dist/es/chunks/scroll-area.js +0 -42
- package/dist/es/chunks/select-group.js +0 -23
- package/dist/es/chunks/select.js +0 -39
- package/dist/es/chunks/slider.vue_vue_type_style_index_0_lang.js +0 -53
- package/dist/es/chunks/switch.vue_vue_type_style_index_0_lang.js +0 -39
- package/dist/es/chunks/use-color-model.js +0 -993
- package/dist/es/color-area.js +0 -176
- package/dist/es/color-picker.js +0 -515
- package/dist/es/color-swatch.js +0 -60
- package/dist/es/color.js +0 -102
- package/dist/es/combobox-anchor.js +0 -4
- package/dist/es/combobox-empty.js +0 -33
- package/dist/es/combobox-group.js +0 -43
- package/dist/es/combobox-input.js +0 -64
- package/dist/es/combobox-item.js +0 -110
- package/dist/es/combobox-list.js +0 -63
- package/dist/es/combobox-root.js +0 -41
- package/dist/es/combobox-separator.js +0 -33
- package/dist/es/combobox-trigger.js +0 -48
- package/dist/es/combobox.js +0 -234
- package/dist/es/command-group.js +0 -42
- package/dist/es/command-input.js +0 -43
- package/dist/es/command-item.js +0 -35
- package/dist/es/command-list.js +0 -53
- package/dist/es/command-root.js +0 -46
- package/dist/es/command-separator.js +0 -33
- package/dist/es/compact-button.js +0 -43
- package/dist/es/content-divider.js +0 -4
- package/dist/es/context-menu-item.js +0 -135
- package/dist/es/crypto.js +0 -8
- package/dist/es/dropdown-item.js +0 -100
- package/dist/es/dropdown-menu-content.js +0 -4
- package/dist/es/dropdown-menu-group.js +0 -25
- package/dist/es/dropdown-menu-item.js +0 -69
- package/dist/es/dropdown-menu-label.js +0 -32
- package/dist/es/dropdown-menu-separator.js +0 -26
- package/dist/es/dropdown-menu-sub-content.js +0 -4
- package/dist/es/dropdown-menu-sub-trigger.js +0 -4
- package/dist/es/dropdown-menu-sub.js +0 -4
- package/dist/es/dropdown-menu-trigger.js +0 -27
- package/dist/es/dropdown-menu.js +0 -33
- package/dist/es/dropdown.js +0 -292
- package/dist/es/fancy-button.js +0 -39
- package/dist/es/hint-text.js +0 -37
- package/dist/es/hue-slider.js +0 -134
- package/dist/es/index.js +0 -217
- package/dist/es/label.js +0 -56
- package/dist/es/link-button.js +0 -45
- package/dist/es/modal-body.js +0 -23
- package/dist/es/modal-close.js +0 -4
- package/dist/es/modal-content.js +0 -49
- package/dist/es/modal-footer.js +0 -23
- package/dist/es/modal-header.js +0 -82
- package/dist/es/modal-trigger.js +0 -4
- package/dist/es/modal.js +0 -4
- package/dist/es/popover-content.js +0 -105
- package/dist/es/popover-trigger.js +0 -25
- package/dist/es/popover.js +0 -4
- package/dist/es/scroll-area.js +0 -4
- package/dist/es/scroll-bar.js +0 -40
- package/dist/es/segmented-control-item.js +0 -42
- package/dist/es/segmented-control.js +0 -41
- package/dist/es/select-content.js +0 -62
- package/dist/es/select-group.js +0 -4
- package/dist/es/select-icon.js +0 -26
- package/dist/es/select-item.js +0 -45
- package/dist/es/select-label.js +0 -33
- package/dist/es/select-separator.js +0 -27
- package/dist/es/select-trigger.js +0 -41
- package/dist/es/select-value.js +0 -32
- package/dist/es/select.js +0 -4
- package/dist/es/shims.js +0 -1
- package/dist/es/slider.js +0 -4
- package/dist/es/social-button.js +0 -46
- package/dist/es/status-badge.js +0 -50
- package/dist/es/switch.js +0 -4
- package/dist/es/tab-menu-content.js +0 -33
- package/dist/es/tab-menu-item.js +0 -45
- package/dist/es/tab-menu-list.js +0 -35
- package/dist/es/tab-menu.js +0 -33
- package/dist/es/text-input-affix.js +0 -28
- package/dist/es/text-input-button.js +0 -32
- package/dist/es/text-input.js +0 -120
- package/dist/es/textarea.js +0 -57
- package/dist/es/tooltip.js +0 -116
- package/dist/es/use-color-model.js +0 -6
- package/dist/es/use-delegated-props.js +0 -14
- package/dist/es/use-user-select.js +0 -39
- package/dist/index.d.ts +0 -5
- package/dist/utils/color.d.ts +0 -26
- package/dist/utils/crypto.d.ts +0 -1
package/dist/es/scroll-bar.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
|
|
2
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { M as My, V as Vy } from "./chunks/index.js";
|
|
4
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "scroll-bar",
|
|
7
|
-
props: {
|
|
8
|
-
orientation: { default: "vertical" },
|
|
9
|
-
forceMount: { type: Boolean },
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
const delegatedProps = computed(() => {
|
|
17
|
-
const { class: _, ...delegated } = props;
|
|
18
|
-
return delegated;
|
|
19
|
-
});
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(My), mergeProps(delegatedProps.value, {
|
|
22
|
-
class: unref(clsx)(
|
|
23
|
-
"flex touch-none select-none transition-colors",
|
|
24
|
-
_ctx.orientation === "vertical" && "h-full w-1.5 border-l border-l-transparent p-px",
|
|
25
|
-
_ctx.orientation === "horizontal" && "h-1.5 flex-col border-t border-t-transparent p-px",
|
|
26
|
-
props.class
|
|
27
|
-
)
|
|
28
|
-
}), {
|
|
29
|
-
default: withCtx(() => [
|
|
30
|
-
createVNode(unref(Vy), { class: "thumb relative flex-1 rounded-full" })
|
|
31
|
-
]),
|
|
32
|
-
_: 1
|
|
33
|
-
}, 16, ["class"]);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
const ScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-96c265fe"]]);
|
|
38
|
-
export {
|
|
39
|
-
ScrollBar as default
|
|
40
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { v as sv } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "segmented-control-item",
|
|
8
|
-
props: {
|
|
9
|
-
value: {},
|
|
10
|
-
defaultValue: { type: Boolean },
|
|
11
|
-
pressed: { type: Boolean },
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
asChild: { type: Boolean },
|
|
14
|
-
as: {},
|
|
15
|
-
class: {}
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
20
|
-
function onKeydown(e) {
|
|
21
|
-
const item = e.currentTarget;
|
|
22
|
-
if ((e.key === "Enter" || e.key === " ") && item.getAttribute("data-state") === "on") {
|
|
23
|
-
e.preventDefault();
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(unref(sv), mergeProps(unref(delegatedProps), {
|
|
28
|
-
class: unref(clsx)("celeste-segmented-control-item", props.class),
|
|
29
|
-
onKeydown
|
|
30
|
-
}), {
|
|
31
|
-
default: withCtx(() => [
|
|
32
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
33
|
-
]),
|
|
34
|
-
_: 3
|
|
35
|
-
}, 16, ["class"]);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
const segmentedControlItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fd077ad"]]);
|
|
40
|
-
export {
|
|
41
|
-
segmentedControlItem as default
|
|
42
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, 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, s as lv } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "segmented-control",
|
|
8
|
-
props: {
|
|
9
|
-
rovingFocus: { type: Boolean },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
orientation: {},
|
|
12
|
-
dir: {},
|
|
13
|
-
loop: { type: Boolean },
|
|
14
|
-
asChild: { type: Boolean },
|
|
15
|
-
as: {},
|
|
16
|
-
modelValue: {},
|
|
17
|
-
defaultValue: {},
|
|
18
|
-
class: {}
|
|
19
|
-
},
|
|
20
|
-
emits: ["update:modelValue"],
|
|
21
|
-
setup(__props, { emit: __emit }) {
|
|
22
|
-
const props = __props;
|
|
23
|
-
const emits = __emit;
|
|
24
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
25
|
-
const forwarded = xe(delegatedProps, emits);
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(unref(lv), mergeProps({
|
|
28
|
-
class: unref(clsx)("celeste-segmented-control", props.class)
|
|
29
|
-
}, unref(forwarded), { type: "single" }), {
|
|
30
|
-
default: withCtx(() => [
|
|
31
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
32
|
-
]),
|
|
33
|
-
_: 3
|
|
34
|
-
}, 16, ["class"]);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const segmentedControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8bb8e7a4"]]);
|
|
39
|
-
export {
|
|
40
|
-
segmentedControl as default
|
|
41
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
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, ab as zy, ac as Ky, ad as Xy } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "select-content",
|
|
8
|
-
props: {
|
|
9
|
-
forceMount: { type: Boolean },
|
|
10
|
-
position: {},
|
|
11
|
-
bodyLock: { type: Boolean },
|
|
12
|
-
side: {},
|
|
13
|
-
sideOffset: {},
|
|
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
|
-
width: { default: "full" }
|
|
28
|
-
},
|
|
29
|
-
emits: ["closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
|
|
30
|
-
setup(__props, { emit: __emit }) {
|
|
31
|
-
const props = __props;
|
|
32
|
-
const emits = __emit;
|
|
33
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
34
|
-
const forwarded = xe(delegatedProps, emits);
|
|
35
|
-
return (_ctx, _cache) => {
|
|
36
|
-
return openBlock(), createBlock(unref(zy), null, {
|
|
37
|
-
default: withCtx(() => [
|
|
38
|
-
createVNode(unref(Ky), mergeProps(unref(forwarded), {
|
|
39
|
-
position: "popper",
|
|
40
|
-
"data-width": _ctx.width,
|
|
41
|
-
class: unref(clsx)("celeste-select-content", props.class)
|
|
42
|
-
}), {
|
|
43
|
-
default: withCtx(() => [
|
|
44
|
-
createVNode(unref(Xy), { class: "celeste-select-view-port" }, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
47
|
-
]),
|
|
48
|
-
_: 3
|
|
49
|
-
})
|
|
50
|
-
]),
|
|
51
|
-
_: 3
|
|
52
|
-
}, 16, ["data-width", "class"])
|
|
53
|
-
]),
|
|
54
|
-
_: 3
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
const SelectContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-69b8512e"]]);
|
|
60
|
-
export {
|
|
61
|
-
SelectContent as default
|
|
62
|
-
};
|
package/dist/es/select-group.js
DELETED
package/dist/es/select-icon.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "select-icon",
|
|
8
|
-
props: {
|
|
9
|
-
class: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createElementBlock("span", mergeProps(unref(delegatedProps), {
|
|
16
|
-
class: unref(clsx)("celeste-select-icon", props.class)
|
|
17
|
-
}), [
|
|
18
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
19
|
-
], 16);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const selectIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c4a7fcf"]]);
|
|
24
|
-
export {
|
|
25
|
-
selectIcon as default
|
|
26
|
-
};
|
package/dist/es/select-item.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, createElementVNode } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { ae as jy, af as Yy, ag as Uy } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "select-item",
|
|
8
|
-
props: {
|
|
9
|
-
value: {},
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
textValue: {},
|
|
12
|
-
asChild: { type: Boolean },
|
|
13
|
-
as: {},
|
|
14
|
-
class: {}
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
19
|
-
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(jy), mergeProps(unref(delegatedProps), {
|
|
21
|
-
class: unref(clsx)("celeste-select-item", props.class)
|
|
22
|
-
}), {
|
|
23
|
-
default: withCtx(() => [
|
|
24
|
-
createVNode(unref(Yy), null, {
|
|
25
|
-
default: withCtx(() => [
|
|
26
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
27
|
-
]),
|
|
28
|
-
_: 3
|
|
29
|
-
}),
|
|
30
|
-
createVNode(unref(Uy), null, {
|
|
31
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
32
|
-
createElementVNode("i", { class: "i-celeste-check-line" }, null, -1)
|
|
33
|
-
])),
|
|
34
|
-
_: 1
|
|
35
|
-
})
|
|
36
|
-
]),
|
|
37
|
-
_: 3
|
|
38
|
-
}, 16, ["class"]);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const SelectItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-48e92b74"]]);
|
|
43
|
-
export {
|
|
44
|
-
SelectItem as default
|
|
45
|
-
};
|
package/dist/es/select-label.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { q as qy } from "./chunks/index.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "select-label",
|
|
9
|
-
props: {
|
|
10
|
-
for: {},
|
|
11
|
-
asChild: { type: Boolean },
|
|
12
|
-
as: {},
|
|
13
|
-
class: {}
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(qy), mergeProps(unref(delegatedProps), {
|
|
20
|
-
class: unref(clsx)("celeste-select-label", props.class)
|
|
21
|
-
}), {
|
|
22
|
-
default: withCtx(() => [
|
|
23
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
24
|
-
]),
|
|
25
|
-
_: 3
|
|
26
|
-
}, 16, ["class"]);
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const selectLabel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4c4234e0"]]);
|
|
31
|
-
export {
|
|
32
|
-
selectLabel as default
|
|
33
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { W as Wy } from "./chunks/index.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "select-separator",
|
|
9
|
-
props: {
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
17
|
-
return (_ctx, _cache) => {
|
|
18
|
-
return openBlock(), createBlock(unref(Wy), mergeProps(unref(delegatedProps), {
|
|
19
|
-
class: unref(clsx)("celeste-select-separator", props.class)
|
|
20
|
-
}), null, 16, ["class"]);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
const selectSeparator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-662be0e8"]]);
|
|
25
|
-
export {
|
|
26
|
-
selectSeparator as default
|
|
27
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createVNode, createElementVNode } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { ah as Ly, ai as eg } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "select-trigger",
|
|
8
|
-
props: {
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {},
|
|
13
|
-
variant: { default: "default" },
|
|
14
|
-
size: { default: "md" },
|
|
15
|
-
hasError: { type: Boolean }
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(Ly), mergeProps(unref(delegatedProps), {
|
|
22
|
-
class: unref(clsx)("celeste-select-trigger", props.class)
|
|
23
|
-
}), {
|
|
24
|
-
default: withCtx(() => [
|
|
25
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26
|
-
createVNode(unref(eg), { "as-child": "" }, {
|
|
27
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
28
|
-
createElementVNode("i", { class: "i-celeste-arrow-down-s-line" }, null, -1)
|
|
29
|
-
])),
|
|
30
|
-
_: 1
|
|
31
|
-
})
|
|
32
|
-
]),
|
|
33
|
-
_: 3
|
|
34
|
-
}, 16, ["class"]);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const SelectTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-039f6664"]]);
|
|
39
|
-
export {
|
|
40
|
-
SelectTrigger as default
|
|
41
|
-
};
|
package/dist/es/select-value.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { aj as Qy } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "select-value",
|
|
8
|
-
props: {
|
|
9
|
-
placeholder: {},
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
17
|
-
return (_ctx, _cache) => {
|
|
18
|
-
return openBlock(), createBlock(unref(Qy), mergeProps(unref(delegatedProps), {
|
|
19
|
-
class: unref(clsx)("celeste-select-value", props.class)
|
|
20
|
-
}), {
|
|
21
|
-
default: withCtx(() => [
|
|
22
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
23
|
-
]),
|
|
24
|
-
_: 3
|
|
25
|
-
}, 16, ["class"]);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
const SelectValue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-db7cc720"]]);
|
|
30
|
-
export {
|
|
31
|
-
SelectValue as default
|
|
32
|
-
};
|
package/dist/es/select.js
DELETED
package/dist/es/shims.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/es/slider.js
DELETED
package/dist/es/social-button.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createElementVNode, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { f as O } from "./chunks/index.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _hoisted_1 = {
|
|
7
|
-
key: 0,
|
|
8
|
-
role: "presentation"
|
|
9
|
-
};
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
__name: "social-button",
|
|
12
|
-
props: {
|
|
13
|
-
brand: {},
|
|
14
|
-
variant: { default: "stroke" },
|
|
15
|
-
class: {},
|
|
16
|
-
label: {}
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(O), {
|
|
22
|
-
"aria-label": _ctx.label,
|
|
23
|
-
role: "button",
|
|
24
|
-
class: normalizeClass(unref(clsx)(
|
|
25
|
-
"celeste-social-button",
|
|
26
|
-
`celeste-social-button-${_ctx.brand}`,
|
|
27
|
-
`celeste-social-button-${_ctx.variant}`,
|
|
28
|
-
props.class
|
|
29
|
-
)),
|
|
30
|
-
as: "button"
|
|
31
|
-
}, {
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
-
createElementVNode("i", {
|
|
34
|
-
class: normalizeClass(`i-celeste-brand-${_ctx.brand}-${_ctx.variant === "fill" ? "white" : "original"}`)
|
|
35
|
-
}, null, 2),
|
|
36
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
}, 8, ["aria-label", "class"]);
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
const socialButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-694226a7"]]);
|
|
44
|
-
export {
|
|
45
|
-
socialButton as default
|
|
46
|
-
};
|
package/dist/es/status-badge.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
|
-
const _hoisted_1 = ["aria-label"];
|
|
5
|
-
const _hoisted_2 = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "dot i-celeste-dot"
|
|
8
|
-
};
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "status-badge",
|
|
11
|
-
props: {
|
|
12
|
-
variant: { default: "light" },
|
|
13
|
-
dotted: { type: Boolean },
|
|
14
|
-
state: { default: "faded" },
|
|
15
|
-
label: {},
|
|
16
|
-
class: {}
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const ICON_MAP = {
|
|
21
|
-
success: "i-celeste-checkbox-circle-fill",
|
|
22
|
-
warning: "i-celeste-alert-fill",
|
|
23
|
-
error: "i-celeste-error-warning-fill",
|
|
24
|
-
faded: "i-celeste-forbid-fill"
|
|
25
|
-
};
|
|
26
|
-
const icon = computed(() => ICON_MAP[props.state]);
|
|
27
|
-
return (_ctx, _cache) => {
|
|
28
|
-
return openBlock(), createElementBlock("div", {
|
|
29
|
-
class: normalizeClass(unref(clsx)(
|
|
30
|
-
"celeste-badge",
|
|
31
|
-
`celeste-badge-${_ctx.state}`,
|
|
32
|
-
`celeste-badge-${_ctx.variant}`,
|
|
33
|
-
props.class
|
|
34
|
-
)),
|
|
35
|
-
"aria-label": _ctx.label,
|
|
36
|
-
role: "status"
|
|
37
|
-
}, [
|
|
38
|
-
_ctx.dotted ? (openBlock(), createElementBlock("i", _hoisted_2)) : (openBlock(), createElementBlock("i", {
|
|
39
|
-
key: 1,
|
|
40
|
-
class: normalizeClass(icon.value)
|
|
41
|
-
}, null, 2)),
|
|
42
|
-
createElementVNode("span", null, toDisplayString(_ctx.label), 1)
|
|
43
|
-
], 10, _hoisted_1);
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
const statusBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-21007019"]]);
|
|
48
|
-
export {
|
|
49
|
-
statusBadge as default
|
|
50
|
-
};
|
package/dist/es/switch.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { r as bg } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "tab-menu-content",
|
|
8
|
-
props: {
|
|
9
|
-
value: {},
|
|
10
|
-
forceMount: { type: Boolean },
|
|
11
|
-
asChild: { type: Boolean },
|
|
12
|
-
as: {},
|
|
13
|
-
class: {}
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(unref(bg), mergeProps({
|
|
20
|
-
class: unref(clsx)("celeste-tab-menu-content", props.class)
|
|
21
|
-
}, unref(delegatedProps)), {
|
|
22
|
-
default: withCtx(() => [
|
|
23
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
24
|
-
]),
|
|
25
|
-
_: 3
|
|
26
|
-
}, 16, ["class"]);
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const tabMenuContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-85c57bdc"]]);
|
|
31
|
-
export {
|
|
32
|
-
tabMenuContent as default
|
|
33
|
-
};
|
package/dist/es/tab-menu-item.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { A as At, p as Cg } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _hoisted_1 = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "celeste-tab-menu-item-label"
|
|
9
|
-
};
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
__name: "tab-menu-item",
|
|
12
|
-
props: {
|
|
13
|
-
value: {},
|
|
14
|
-
disabled: { type: Boolean },
|
|
15
|
-
asChild: { type: Boolean },
|
|
16
|
-
as: {},
|
|
17
|
-
class: {}
|
|
18
|
-
},
|
|
19
|
-
setup(__props) {
|
|
20
|
-
const props = __props;
|
|
21
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
22
|
-
const forwardedProps = At(delegatedProps);
|
|
23
|
-
return (_ctx, _cache) => {
|
|
24
|
-
return openBlock(), createBlock(unref(Cg), mergeProps(unref(forwardedProps), {
|
|
25
|
-
class: unref(clsx)(
|
|
26
|
-
"celeste-tab-menu-item",
|
|
27
|
-
props.class
|
|
28
|
-
)
|
|
29
|
-
}), {
|
|
30
|
-
default: withCtx(() => [
|
|
31
|
-
renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
|
|
32
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
33
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
34
|
-
])) : createCommentVNode("", true),
|
|
35
|
-
renderSlot(_ctx.$slots, "postfix", {}, void 0, true)
|
|
36
|
-
]),
|
|
37
|
-
_: 3
|
|
38
|
-
}, 16, ["class"]);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const tabMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ca8f5a83"]]);
|
|
43
|
-
export {
|
|
44
|
-
tabMenuItem as default
|
|
45
|
-
};
|
package/dist/es/tab-menu-list.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { l as gg } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "tab-menu-list",
|
|
8
|
-
props: {
|
|
9
|
-
loop: { type: Boolean },
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {}
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
17
|
-
return (_ctx, _cache) => {
|
|
18
|
-
return openBlock(), createBlock(unref(gg), mergeProps(unref(delegatedProps), {
|
|
19
|
-
class: unref(clsx)(
|
|
20
|
-
"celeste-tab-menu-list",
|
|
21
|
-
props.class
|
|
22
|
-
)
|
|
23
|
-
}), {
|
|
24
|
-
default: withCtx(() => [
|
|
25
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26
|
-
]),
|
|
27
|
-
_: 3
|
|
28
|
-
}, 16, ["class"]);
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
const tabMenuList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9877f1df"]]);
|
|
33
|
-
export {
|
|
34
|
-
tabMenuList as default
|
|
35
|
-
};
|
package/dist/es/tab-menu.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe, g as yg } from "./chunks/index.js";
|
|
3
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "tab-menu",
|
|
6
|
-
props: {
|
|
7
|
-
defaultValue: {},
|
|
8
|
-
orientation: {},
|
|
9
|
-
dir: {},
|
|
10
|
-
activationMode: {},
|
|
11
|
-
modelValue: {},
|
|
12
|
-
asChild: { type: Boolean },
|
|
13
|
-
as: {}
|
|
14
|
-
},
|
|
15
|
-
emits: ["update:modelValue"],
|
|
16
|
-
setup(__props, { emit: __emit }) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
const emits = __emit;
|
|
19
|
-
const forwarded = xe(props, emits);
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createBlock(unref(yg), mergeProps(unref(forwarded), { class: "celeste-tab-menu-root" }), {
|
|
22
|
-
default: withCtx(() => [
|
|
23
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
24
|
-
]),
|
|
25
|
-
_: 3
|
|
26
|
-
}, 16);
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const tabMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b5afb6cc"]]);
|
|
31
|
-
export {
|
|
32
|
-
tabMenu as default
|
|
33
|
-
};
|