@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/index.js
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import alert from "./alert.js";
|
|
2
|
-
import Badge from "./badge.js";
|
|
3
|
-
import statusBadge from "./status-badge.js";
|
|
4
|
-
import Button from "./button.js";
|
|
5
|
-
import CompactButton from "./compact-button.js";
|
|
6
|
-
import fancyButton from "./fancy-button.js";
|
|
7
|
-
import linkButton from "./link-button.js";
|
|
8
|
-
import socialButton from "./social-button.js";
|
|
9
|
-
import { _ as _sfc_main } from "./chunks/checkbox.vue_vue_type_style_index_0_lang.js";
|
|
10
|
-
import { _ as _sfc_main$1 } from "./chunks/combobox-anchor.js";
|
|
11
|
-
import ComboboxEmpty from "./combobox-empty.js";
|
|
12
|
-
import ComboboxGroup from "./combobox-group.js";
|
|
13
|
-
import ComboboxInput from "./combobox-input.js";
|
|
14
|
-
import ComboboxItem from "./combobox-item.js";
|
|
15
|
-
import ComboboxList from "./combobox-list.js";
|
|
16
|
-
import ComboboxRoot from "./combobox-root.js";
|
|
17
|
-
import ComboboxSeparator from "./combobox-separator.js";
|
|
18
|
-
import ComboboxTrigger from "./combobox-trigger.js";
|
|
19
|
-
import combobox from "./combobox.js";
|
|
20
|
-
import { _ as _sfc_main$2 } from "./chunks/content-divider.vue_vue_type_style_index_0_lang.js";
|
|
21
|
-
import contextMenuItem from "./context-menu-item.js";
|
|
22
|
-
import DropdownItem from "./dropdown-item.js";
|
|
23
|
-
import dropdown from "./dropdown.js";
|
|
24
|
-
import { _ as _sfc_main$3 } from "./chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js";
|
|
25
|
-
import dropdownMenuGroup from "./dropdown-menu-group.js";
|
|
26
|
-
import dropdownMenuItem from "./dropdown-menu-item.js";
|
|
27
|
-
import dropdownMenuLabel from "./dropdown-menu-label.js";
|
|
28
|
-
import dropdownMenuSeparator from "./dropdown-menu-separator.js";
|
|
29
|
-
import { _ as _sfc_main$5 } from "./chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js";
|
|
30
|
-
import { _ as _sfc_main$6 } from "./chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js";
|
|
31
|
-
import { _ as _sfc_main$4 } from "./chunks/dropdown-menu-sub.js";
|
|
32
|
-
import dropdownMenuTrigger from "./dropdown-menu-trigger.js";
|
|
33
|
-
import dropdownMenu from "./dropdown-menu.js";
|
|
34
|
-
import hintText from "./hint-text.js";
|
|
35
|
-
import label from "./label.js";
|
|
36
|
-
import modalBody from "./modal-body.js";
|
|
37
|
-
import { _ as _sfc_main$8 } from "./chunks/modal-close.js";
|
|
38
|
-
import modalContent from "./modal-content.js";
|
|
39
|
-
import modalFooter from "./modal-footer.js";
|
|
40
|
-
import modalHeader from "./modal-header.js";
|
|
41
|
-
import { _ as _sfc_main$9 } from "./chunks/modal-trigger.js";
|
|
42
|
-
import { _ as _sfc_main$7 } from "./chunks/modal.js";
|
|
43
|
-
import PopoverContent from "./popover-content.js";
|
|
44
|
-
import PopoverTrigger from "./popover-trigger.js";
|
|
45
|
-
import { _ as _sfc_main$a } from "./chunks/popover.js";
|
|
46
|
-
import { _ as _sfc_main$b } from "./chunks/scroll-area.js";
|
|
47
|
-
import segmentedControlItem from "./segmented-control-item.js";
|
|
48
|
-
import segmentedControl from "./segmented-control.js";
|
|
49
|
-
import SelectContent from "./select-content.js";
|
|
50
|
-
import { _ as _sfc_main$d } from "./chunks/select-group.js";
|
|
51
|
-
import selectIcon from "./select-icon.js";
|
|
52
|
-
import SelectItem from "./select-item.js";
|
|
53
|
-
import selectLabel from "./select-label.js";
|
|
54
|
-
import selectSeparator from "./select-separator.js";
|
|
55
|
-
import SelectTrigger from "./select-trigger.js";
|
|
56
|
-
import SelectValue from "./select-value.js";
|
|
57
|
-
import { _ as _sfc_main$c } from "./chunks/select.js";
|
|
58
|
-
import { _ as _sfc_main$e } from "./chunks/slider.vue_vue_type_style_index_0_lang.js";
|
|
59
|
-
import { _ as _sfc_main$f } from "./chunks/switch.vue_vue_type_style_index_0_lang.js";
|
|
60
|
-
import tabMenuContent from "./tab-menu-content.js";
|
|
61
|
-
import tabMenuItem from "./tab-menu-item.js";
|
|
62
|
-
import tabMenuList from "./tab-menu-list.js";
|
|
63
|
-
import tabMenu from "./tab-menu.js";
|
|
64
|
-
import textInputAffix from "./text-input-affix.js";
|
|
65
|
-
import TextInputButton from "./text-input-button.js";
|
|
66
|
-
import TextInput from "./text-input.js";
|
|
67
|
-
import textarea from "./textarea.js";
|
|
68
|
-
import Tooltip from "./tooltip.js";
|
|
69
|
-
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
70
|
-
__proto__: null,
|
|
71
|
-
Alert: alert,
|
|
72
|
-
Badge,
|
|
73
|
-
Button,
|
|
74
|
-
Checkbox: _sfc_main,
|
|
75
|
-
Combobox: combobox,
|
|
76
|
-
ComboboxAnchor: _sfc_main$1,
|
|
77
|
-
ComboboxEmpty,
|
|
78
|
-
ComboboxGroup,
|
|
79
|
-
ComboboxInput,
|
|
80
|
-
ComboboxItem,
|
|
81
|
-
ComboboxList,
|
|
82
|
-
ComboboxRoot,
|
|
83
|
-
ComboboxSeparator,
|
|
84
|
-
ComboboxTrigger,
|
|
85
|
-
CompactButton,
|
|
86
|
-
ContentDivider: _sfc_main$2,
|
|
87
|
-
ContextMenuItem: contextMenuItem,
|
|
88
|
-
Dropdown: dropdown,
|
|
89
|
-
DropdownItem,
|
|
90
|
-
DropdownMenu: dropdownMenu,
|
|
91
|
-
DropdownMenuContent: _sfc_main$3,
|
|
92
|
-
DropdownMenuGroup: dropdownMenuGroup,
|
|
93
|
-
DropdownMenuItem: dropdownMenuItem,
|
|
94
|
-
DropdownMenuLabel: dropdownMenuLabel,
|
|
95
|
-
DropdownMenuSeparator: dropdownMenuSeparator,
|
|
96
|
-
DropdownMenuSub: _sfc_main$4,
|
|
97
|
-
DropdownMenuSubContent: _sfc_main$5,
|
|
98
|
-
DropdownMenuSubTrigger: _sfc_main$6,
|
|
99
|
-
DropdownMenuTrigger: dropdownMenuTrigger,
|
|
100
|
-
FancyButton: fancyButton,
|
|
101
|
-
HintText: hintText,
|
|
102
|
-
Label: label,
|
|
103
|
-
LinkButton: linkButton,
|
|
104
|
-
Modal: _sfc_main$7,
|
|
105
|
-
ModalBody: modalBody,
|
|
106
|
-
ModalClose: _sfc_main$8,
|
|
107
|
-
ModalContent: modalContent,
|
|
108
|
-
ModalFooter: modalFooter,
|
|
109
|
-
ModalHeader: modalHeader,
|
|
110
|
-
ModalTrigger: _sfc_main$9,
|
|
111
|
-
Popover: _sfc_main$a,
|
|
112
|
-
PopoverContent,
|
|
113
|
-
PopoverTrigger,
|
|
114
|
-
ScrollArea: _sfc_main$b,
|
|
115
|
-
SegmentedControl: segmentedControl,
|
|
116
|
-
SegmentedControlItem: segmentedControlItem,
|
|
117
|
-
Select: _sfc_main$c,
|
|
118
|
-
SelectContent,
|
|
119
|
-
SelectGroup: _sfc_main$d,
|
|
120
|
-
SelectIcon: selectIcon,
|
|
121
|
-
SelectItem,
|
|
122
|
-
SelectLabel: selectLabel,
|
|
123
|
-
SelectSeparator: selectSeparator,
|
|
124
|
-
SelectTrigger,
|
|
125
|
-
SelectValue,
|
|
126
|
-
Slider: _sfc_main$e,
|
|
127
|
-
SocialButton: socialButton,
|
|
128
|
-
StatusBadge: statusBadge,
|
|
129
|
-
Switch: _sfc_main$f,
|
|
130
|
-
TabMenu: tabMenu,
|
|
131
|
-
TabMenuContent: tabMenuContent,
|
|
132
|
-
TabMenuItem: tabMenuItem,
|
|
133
|
-
TabMenuList: tabMenuList,
|
|
134
|
-
TextInput,
|
|
135
|
-
TextInputAffix: textInputAffix,
|
|
136
|
-
TextInputButton,
|
|
137
|
-
Textarea: textarea,
|
|
138
|
-
Tooltip
|
|
139
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
140
|
-
const Celeste = {
|
|
141
|
-
install(vue) {
|
|
142
|
-
Object.entries(components).forEach(([name, component]) => {
|
|
143
|
-
vue.component(name, component);
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
export {
|
|
148
|
-
alert as Alert,
|
|
149
|
-
Badge,
|
|
150
|
-
Button,
|
|
151
|
-
Celeste,
|
|
152
|
-
_sfc_main as Checkbox,
|
|
153
|
-
combobox as Combobox,
|
|
154
|
-
_sfc_main$1 as ComboboxAnchor,
|
|
155
|
-
ComboboxEmpty,
|
|
156
|
-
ComboboxGroup,
|
|
157
|
-
ComboboxInput,
|
|
158
|
-
ComboboxItem,
|
|
159
|
-
ComboboxList,
|
|
160
|
-
ComboboxRoot,
|
|
161
|
-
ComboboxSeparator,
|
|
162
|
-
ComboboxTrigger,
|
|
163
|
-
CompactButton,
|
|
164
|
-
_sfc_main$2 as ContentDivider,
|
|
165
|
-
contextMenuItem as ContextMenuItem,
|
|
166
|
-
dropdown as Dropdown,
|
|
167
|
-
DropdownItem,
|
|
168
|
-
dropdownMenu as DropdownMenu,
|
|
169
|
-
_sfc_main$3 as DropdownMenuContent,
|
|
170
|
-
dropdownMenuGroup as DropdownMenuGroup,
|
|
171
|
-
dropdownMenuItem as DropdownMenuItem,
|
|
172
|
-
dropdownMenuLabel as DropdownMenuLabel,
|
|
173
|
-
dropdownMenuSeparator as DropdownMenuSeparator,
|
|
174
|
-
_sfc_main$4 as DropdownMenuSub,
|
|
175
|
-
_sfc_main$5 as DropdownMenuSubContent,
|
|
176
|
-
_sfc_main$6 as DropdownMenuSubTrigger,
|
|
177
|
-
dropdownMenuTrigger as DropdownMenuTrigger,
|
|
178
|
-
fancyButton as FancyButton,
|
|
179
|
-
hintText as HintText,
|
|
180
|
-
label as Label,
|
|
181
|
-
linkButton as LinkButton,
|
|
182
|
-
_sfc_main$7 as Modal,
|
|
183
|
-
modalBody as ModalBody,
|
|
184
|
-
_sfc_main$8 as ModalClose,
|
|
185
|
-
modalContent as ModalContent,
|
|
186
|
-
modalFooter as ModalFooter,
|
|
187
|
-
modalHeader as ModalHeader,
|
|
188
|
-
_sfc_main$9 as ModalTrigger,
|
|
189
|
-
_sfc_main$a as Popover,
|
|
190
|
-
PopoverContent,
|
|
191
|
-
PopoverTrigger,
|
|
192
|
-
_sfc_main$b as ScrollArea,
|
|
193
|
-
segmentedControl as SegmentedControl,
|
|
194
|
-
segmentedControlItem as SegmentedControlItem,
|
|
195
|
-
_sfc_main$c as Select,
|
|
196
|
-
SelectContent,
|
|
197
|
-
_sfc_main$d as SelectGroup,
|
|
198
|
-
selectIcon as SelectIcon,
|
|
199
|
-
SelectItem,
|
|
200
|
-
selectLabel as SelectLabel,
|
|
201
|
-
selectSeparator as SelectSeparator,
|
|
202
|
-
SelectTrigger,
|
|
203
|
-
SelectValue,
|
|
204
|
-
_sfc_main$e as Slider,
|
|
205
|
-
socialButton as SocialButton,
|
|
206
|
-
statusBadge as StatusBadge,
|
|
207
|
-
_sfc_main$f as Switch,
|
|
208
|
-
tabMenu as TabMenu,
|
|
209
|
-
tabMenuContent as TabMenuContent,
|
|
210
|
-
tabMenuItem as TabMenuItem,
|
|
211
|
-
tabMenuList as TabMenuList,
|
|
212
|
-
TextInput,
|
|
213
|
-
textInputAffix as TextInputAffix,
|
|
214
|
-
TextInputButton,
|
|
215
|
-
textarea as Textarea,
|
|
216
|
-
Tooltip
|
|
217
|
-
};
|
package/dist/es/label.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
2
|
-
import Tooltip from "./tooltip.js";
|
|
3
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
4
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
5
|
-
import { a0 as Oh } from "./chunks/index.js";
|
|
6
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
|
-
const _hoisted_1 = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "celeste-sublabel"
|
|
10
|
-
};
|
|
11
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
-
__name: "label",
|
|
13
|
-
props: {
|
|
14
|
-
for: {},
|
|
15
|
-
asChild: { type: Boolean },
|
|
16
|
-
as: {},
|
|
17
|
-
sublabel: {},
|
|
18
|
-
information: {},
|
|
19
|
-
required: { type: Boolean },
|
|
20
|
-
disabled: { type: Boolean },
|
|
21
|
-
class: {}
|
|
22
|
-
},
|
|
23
|
-
setup(__props) {
|
|
24
|
-
const props = __props;
|
|
25
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(unref(Oh), mergeProps(unref(delegatedProps), {
|
|
28
|
-
"aria-required": _ctx.required,
|
|
29
|
-
"aria-disabled": _ctx.disabled,
|
|
30
|
-
class: unref(clsx)("celeste-label", props.class)
|
|
31
|
-
}), {
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
34
|
-
renderSlot(_ctx.$slots, "button", { class: "celeste-label-button" }, void 0, true),
|
|
35
|
-
_ctx.sublabel ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.sublabel), 1)) : createCommentVNode("", true),
|
|
36
|
-
_ctx.information ? (openBlock(), createBlock(Tooltip, {
|
|
37
|
-
key: 1,
|
|
38
|
-
title: _ctx.information
|
|
39
|
-
}, {
|
|
40
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
41
|
-
createElementVNode("button", { class: "celeste-label-info" }, [
|
|
42
|
-
createElementVNode("i", { class: "i-celeste-information-2-fill" })
|
|
43
|
-
], -1)
|
|
44
|
-
])),
|
|
45
|
-
_: 1
|
|
46
|
-
}, 8, ["title"])) : createCommentVNode("", true)
|
|
47
|
-
]),
|
|
48
|
-
_: 3
|
|
49
|
-
}, 16, ["aria-required", "aria-disabled", "class"]);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
const label = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4768213c"]]);
|
|
54
|
-
export {
|
|
55
|
-
label as default
|
|
56
|
-
};
|
package/dist/es/link-button.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } 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 _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "link-button",
|
|
8
|
-
props: {
|
|
9
|
-
class: {},
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
intent: { default: "primary" },
|
|
12
|
-
underline: { type: Boolean },
|
|
13
|
-
disabled: { type: Boolean },
|
|
14
|
-
asChild: { type: Boolean },
|
|
15
|
-
as: { default: "a" }
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(unref(O), {
|
|
21
|
-
as: _ctx.as,
|
|
22
|
-
disabled: _ctx.disabled,
|
|
23
|
-
"as-child": _ctx.asChild,
|
|
24
|
-
class: normalizeClass(unref(clsx)(
|
|
25
|
-
"celeste-link-button",
|
|
26
|
-
`celeste-link-button-${_ctx.intent}`,
|
|
27
|
-
`celeste-link-button-${_ctx.size}`,
|
|
28
|
-
_ctx.disabled && "celeste-link-button-disabled",
|
|
29
|
-
_ctx.underline && "celeste-link-button-underline",
|
|
30
|
-
props.class
|
|
31
|
-
)),
|
|
32
|
-
role: _ctx.as === "a" ? "link" : "button"
|
|
33
|
-
}, {
|
|
34
|
-
default: withCtx(() => [
|
|
35
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
36
|
-
]),
|
|
37
|
-
_: 3
|
|
38
|
-
}, 8, ["as", "disabled", "as-child", "class", "role"]);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const linkButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82b3b1ab"]]);
|
|
43
|
-
export {
|
|
44
|
-
linkButton as default
|
|
45
|
-
};
|
package/dist/es/modal-body.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } 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 _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "modal-body",
|
|
6
|
-
props: {
|
|
7
|
-
class: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createElementBlock("div", {
|
|
13
|
-
class: normalizeClass(unref(clsx)("celeste-modal-body", props.class))
|
|
14
|
-
}, [
|
|
15
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16
|
-
], 2);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const modalBody = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8872ed90"]]);
|
|
21
|
-
export {
|
|
22
|
-
modalBody as default
|
|
23
|
-
};
|
package/dist/es/modal-close.js
DELETED
package/dist/es/modal-content.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, Transition, 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, a1 as Dv, a2 as Eu, a3 as xu } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "modal-content",
|
|
8
|
-
props: {
|
|
9
|
-
forceMount: { type: Boolean },
|
|
10
|
-
trapFocus: { type: Boolean },
|
|
11
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
12
|
-
asChild: { type: Boolean },
|
|
13
|
-
as: {},
|
|
14
|
-
class: {},
|
|
15
|
-
style: {}
|
|
16
|
-
},
|
|
17
|
-
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
18
|
-
setup(__props, { emit: __emit }) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const emits = __emit;
|
|
21
|
-
const delegatedProps = useDelegatedProps(props, "class");
|
|
22
|
-
const forwarded = xe(delegatedProps, emits);
|
|
23
|
-
return (_ctx, _cache) => {
|
|
24
|
-
return openBlock(), createBlock(unref(Dv), null, {
|
|
25
|
-
default: withCtx(() => [
|
|
26
|
-
createVNode(unref(Eu), { class: "celeste-modal-overlay" }),
|
|
27
|
-
createVNode(Transition, { name: "fade" }, {
|
|
28
|
-
default: withCtx(() => [
|
|
29
|
-
createVNode(unref(xu), mergeProps(unref(forwarded), {
|
|
30
|
-
class: unref(clsx)("celeste-modal-content", props.class)
|
|
31
|
-
}), {
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
34
|
-
]),
|
|
35
|
-
_: 3
|
|
36
|
-
}, 16, ["class"])
|
|
37
|
-
]),
|
|
38
|
-
_: 3
|
|
39
|
-
})
|
|
40
|
-
]),
|
|
41
|
-
_: 3
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
const modalContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bdcae06b"]]);
|
|
47
|
-
export {
|
|
48
|
-
modalContent as default
|
|
49
|
-
};
|
package/dist/es/modal-footer.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } 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 _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "modal-footer",
|
|
6
|
-
props: {
|
|
7
|
-
class: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createElementBlock("div", {
|
|
13
|
-
class: normalizeClass(unref(clsx)("celeste-modal-footer", props.class))
|
|
14
|
-
}, [
|
|
15
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16
|
-
], 2);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const modalFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3331df1"]]);
|
|
21
|
-
export {
|
|
22
|
-
modalFooter as default
|
|
23
|
-
};
|
package/dist/es/modal-header.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import CompactButton from "./compact-button.js";
|
|
3
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { a4 as Pu, a5 as Du, a as Gl } from "./chunks/index.js";
|
|
5
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _hoisted_1 = ["data-dismissible", "data-alignment", "data-type"];
|
|
7
|
-
const _hoisted_2 = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "icon"
|
|
10
|
-
};
|
|
11
|
-
const _hoisted_3 = {
|
|
12
|
-
key: 1,
|
|
13
|
-
class: "content"
|
|
14
|
-
};
|
|
15
|
-
const _hoisted_4 = { class: "title" };
|
|
16
|
-
const _hoisted_5 = { class: "description" };
|
|
17
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
|
-
__name: "modal-header",
|
|
19
|
-
props: {
|
|
20
|
-
title: {},
|
|
21
|
-
icon: {},
|
|
22
|
-
description: {},
|
|
23
|
-
dismissible: { type: Boolean, default: true },
|
|
24
|
-
alignment: { default: "horizontal" },
|
|
25
|
-
type: { default: "default" },
|
|
26
|
-
class: {}
|
|
27
|
-
},
|
|
28
|
-
setup(__props) {
|
|
29
|
-
const props = __props;
|
|
30
|
-
return (_ctx, _cache) => {
|
|
31
|
-
return openBlock(), createElementBlock("div", {
|
|
32
|
-
class: normalizeClass(unref(clsx)("celeste-modal-header", props.class)),
|
|
33
|
-
"data-dismissible": _ctx.dismissible,
|
|
34
|
-
"data-alignment": _ctx.alignment,
|
|
35
|
-
"data-type": _ctx.type
|
|
36
|
-
}, [
|
|
37
|
-
_ctx.icon ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
38
|
-
createElementVNode("i", {
|
|
39
|
-
class: normalizeClass(_ctx.icon)
|
|
40
|
-
}, null, 2)
|
|
41
|
-
])) : createCommentVNode("", true),
|
|
42
|
-
_ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
43
|
-
_ctx.title ? (openBlock(), createBlock(unref(Pu), {
|
|
44
|
-
key: 0,
|
|
45
|
-
"as-child": ""
|
|
46
|
-
}, {
|
|
47
|
-
default: withCtx(() => [
|
|
48
|
-
createElementVNode("h2", _hoisted_4, toDisplayString(_ctx.title), 1)
|
|
49
|
-
]),
|
|
50
|
-
_: 1
|
|
51
|
-
})) : createCommentVNode("", true),
|
|
52
|
-
_ctx.description ? (openBlock(), createBlock(unref(Du), {
|
|
53
|
-
key: 1,
|
|
54
|
-
"as-child": ""
|
|
55
|
-
}, {
|
|
56
|
-
default: withCtx(() => [
|
|
57
|
-
createElementVNode("p", _hoisted_5, toDisplayString(_ctx.description), 1)
|
|
58
|
-
]),
|
|
59
|
-
_: 1
|
|
60
|
-
})) : createCommentVNode("", true)
|
|
61
|
-
])) : createCommentVNode("", true),
|
|
62
|
-
_ctx.dismissible ? (openBlock(), createBlock(unref(Gl), {
|
|
63
|
-
key: 2,
|
|
64
|
-
"as-child": ""
|
|
65
|
-
}, {
|
|
66
|
-
default: withCtx(() => [
|
|
67
|
-
createVNode(CompactButton, {
|
|
68
|
-
class: "close",
|
|
69
|
-
icon: "i-celeste-close-line",
|
|
70
|
-
variant: "ghost"
|
|
71
|
-
})
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
})) : createCommentVNode("", true)
|
|
75
|
-
], 10, _hoisted_1);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
const modalHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a655071e"]]);
|
|
80
|
-
export {
|
|
81
|
-
modalHeader as default
|
|
82
|
-
};
|
package/dist/es/modal-trigger.js
DELETED
package/dist/es/modal.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, createElementVNode, normalizeStyle, createElementBlock, Fragment, normalizeClass, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import CompactButton from "./compact-button.js";
|
|
3
|
-
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
4
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
5
|
-
import { x as xe, a6 as bs, a7 as ws, a8 as _s, a9 as xs } from "./chunks/index.js";
|
|
6
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
7
|
-
const _hoisted_1 = ["data-icon-size"];
|
|
8
|
-
const _hoisted_2 = { class: "celeste-popover-title" };
|
|
9
|
-
const _hoisted_3 = { class: "celeste-popover-description" };
|
|
10
|
-
const _hoisted_4 = {
|
|
11
|
-
key: 2,
|
|
12
|
-
class: "celeste-popover-footer"
|
|
13
|
-
};
|
|
14
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
|
-
...{
|
|
16
|
-
inheritAttrs: false
|
|
17
|
-
},
|
|
18
|
-
__name: "popover-content",
|
|
19
|
-
props: {
|
|
20
|
-
class: {},
|
|
21
|
-
side: { default: "bottom" },
|
|
22
|
-
title: {},
|
|
23
|
-
description: {},
|
|
24
|
-
showTail: { type: Boolean, default: true },
|
|
25
|
-
dismissible: { type: Boolean, default: true },
|
|
26
|
-
icon: {},
|
|
27
|
-
iconSize: { default: "lg" }
|
|
28
|
-
},
|
|
29
|
-
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
30
|
-
setup(__props, { emit: __emit }) {
|
|
31
|
-
const props = __props;
|
|
32
|
-
const emits = __emit;
|
|
33
|
-
const delegatedProps = useDelegatedProps(props, ["class", "title"]);
|
|
34
|
-
const forwarded = xe(delegatedProps, emits);
|
|
35
|
-
return (_ctx, _cache) => {
|
|
36
|
-
return openBlock(), createBlock(unref(bs), null, {
|
|
37
|
-
default: withCtx(() => [
|
|
38
|
-
createVNode(unref(ws), mergeProps({ ...unref(forwarded), ..._ctx.$attrs }, {
|
|
39
|
-
"side-offset": _ctx.showTail ? 0 : 8,
|
|
40
|
-
class: unref(clsx)(
|
|
41
|
-
"celeste-popover-content-wrapper",
|
|
42
|
-
props.class
|
|
43
|
-
)
|
|
44
|
-
}), {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
createElementVNode("div", {
|
|
47
|
-
class: "celeste-popover-content",
|
|
48
|
-
style: normalizeStyle({ padding: !_ctx.$slots.default ? "var(--spacing-16)" : "" })
|
|
49
|
-
}, [
|
|
50
|
-
!_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
51
|
-
_ctx.icon ? (openBlock(), createElementBlock("span", {
|
|
52
|
-
key: 0,
|
|
53
|
-
class: "celeste-popover-icon",
|
|
54
|
-
"data-icon-size": _ctx.iconSize
|
|
55
|
-
}, [
|
|
56
|
-
createElementVNode("i", {
|
|
57
|
-
class: normalizeClass(_ctx.icon)
|
|
58
|
-
}, null, 2)
|
|
59
|
-
], 8, _hoisted_1)) : createCommentVNode("", true),
|
|
60
|
-
createElementVNode("p", _hoisted_2, toDisplayString(_ctx.title), 1),
|
|
61
|
-
createElementVNode("p", _hoisted_3, toDisplayString(_ctx.description), 1)
|
|
62
|
-
], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
|
|
63
|
-
], 4),
|
|
64
|
-
_ctx.showTail ? (openBlock(), createBlock(unref(_s), {
|
|
65
|
-
key: 0,
|
|
66
|
-
"as-child": "",
|
|
67
|
-
width: 16,
|
|
68
|
-
height: 8
|
|
69
|
-
}, {
|
|
70
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
71
|
-
createElementVNode("span", { class: "celeste-popover-arrow" }, null, -1)
|
|
72
|
-
])),
|
|
73
|
-
_: 1
|
|
74
|
-
})) : createCommentVNode("", true),
|
|
75
|
-
_ctx.dismissible ? (openBlock(), createBlock(unref(xs), {
|
|
76
|
-
key: 1,
|
|
77
|
-
"as-child": "",
|
|
78
|
-
class: "PopoverClose",
|
|
79
|
-
"aria-label": "Close"
|
|
80
|
-
}, {
|
|
81
|
-
default: withCtx(() => [
|
|
82
|
-
createVNode(CompactButton, {
|
|
83
|
-
variant: "ghost",
|
|
84
|
-
icon: "i-celeste-close-line",
|
|
85
|
-
class: "celeste-popover-close-button"
|
|
86
|
-
})
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
})) : createCommentVNode("", true),
|
|
90
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
91
|
-
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
92
|
-
])) : createCommentVNode("", true)
|
|
93
|
-
]),
|
|
94
|
-
_: 3
|
|
95
|
-
}, 16, ["side-offset", "class"])
|
|
96
|
-
]),
|
|
97
|
-
_: 3
|
|
98
|
-
});
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
const PopoverContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fae157b1"]]);
|
|
103
|
-
export {
|
|
104
|
-
PopoverContent as default
|
|
105
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { aa as gs } from "./chunks/index.js";
|
|
3
|
-
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "popover-trigger",
|
|
6
|
-
props: {
|
|
7
|
-
asChild: { type: Boolean },
|
|
8
|
-
as: {}
|
|
9
|
-
},
|
|
10
|
-
setup(__props) {
|
|
11
|
-
const props = __props;
|
|
12
|
-
return (_ctx, _cache) => {
|
|
13
|
-
return openBlock(), createBlock(unref(gs), mergeProps({ class: "celeste-popover-trigger" }, props, { as: "div" }), {
|
|
14
|
-
default: withCtx(() => [
|
|
15
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16
|
-
]),
|
|
17
|
-
_: 3
|
|
18
|
-
}, 16);
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
const PopoverTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2664c4cb"]]);
|
|
23
|
-
export {
|
|
24
|
-
PopoverTrigger as default
|
|
25
|
-
};
|
package/dist/es/popover.js
DELETED
package/dist/es/scroll-area.js
DELETED