@youcan/celeste 0.6.29 → 0.6.30

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.
Files changed (324) hide show
  1. package/dist/celeste.css +4025 -0
  2. package/dist/cjs/alert.js +111 -0
  3. package/dist/cjs/alpha-slider.js +3 -0
  4. package/dist/cjs/badge.js +55 -0
  5. package/dist/cjs/button.js +39 -0
  6. package/dist/cjs/checkbox-label.js +112 -0
  7. package/dist/cjs/checkbox.js +3 -0
  8. package/dist/cjs/chunks/_plugin-vue_export-helper.js +9 -0
  9. package/dist/cjs/chunks/alpha-slider.js +127 -0
  10. package/dist/cjs/chunks/checkbox.vue_vue_type_style_index_0_lang.js +38 -0
  11. package/dist/cjs/chunks/clsx.js +15 -0
  12. package/dist/cjs/chunks/combobox-anchor.js +31 -0
  13. package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +52 -0
  14. package/dist/cjs/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +51 -0
  15. package/dist/cjs/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +49 -0
  16. package/dist/cjs/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +32 -0
  17. package/dist/cjs/chunks/dropdown-menu-sub.js +25 -0
  18. package/dist/cjs/chunks/index.js +9073 -0
  19. package/dist/cjs/chunks/modal-close.js +22 -0
  20. package/dist/cjs/chunks/modal-trigger.js +22 -0
  21. package/dist/cjs/chunks/modal.js +26 -0
  22. package/dist/cjs/chunks/popover.js +26 -0
  23. package/dist/cjs/chunks/scroll-area.js +41 -0
  24. package/dist/cjs/chunks/select-group.js +22 -0
  25. package/dist/cjs/chunks/select.js +38 -0
  26. package/dist/cjs/chunks/slider.vue_vue_type_style_index_0_lang.js +52 -0
  27. package/dist/cjs/chunks/switch.vue_vue_type_style_index_0_lang.js +38 -0
  28. package/dist/cjs/chunks/use-color-model.js +992 -0
  29. package/dist/cjs/color-area.js +175 -0
  30. package/dist/cjs/color-picker.js +514 -0
  31. package/dist/cjs/color-swatch.js +59 -0
  32. package/dist/cjs/color.js +102 -0
  33. package/dist/cjs/combobox-anchor.js +3 -0
  34. package/dist/cjs/combobox-empty.js +32 -0
  35. package/dist/cjs/combobox-group.js +42 -0
  36. package/dist/cjs/combobox-input.js +63 -0
  37. package/dist/cjs/combobox-item.js +109 -0
  38. package/dist/cjs/combobox-list.js +62 -0
  39. package/dist/cjs/combobox-root.js +40 -0
  40. package/dist/cjs/combobox-separator.js +32 -0
  41. package/dist/cjs/combobox-trigger.js +47 -0
  42. package/dist/cjs/combobox.js +233 -0
  43. package/dist/cjs/command-group.js +41 -0
  44. package/dist/cjs/command-input.js +42 -0
  45. package/dist/cjs/command-item.js +34 -0
  46. package/dist/cjs/command-list.js +52 -0
  47. package/dist/cjs/command-root.js +45 -0
  48. package/dist/cjs/command-separator.js +32 -0
  49. package/dist/cjs/compact-button.js +42 -0
  50. package/dist/cjs/content-divider.js +3 -0
  51. package/dist/cjs/context-menu-item.js +134 -0
  52. package/dist/cjs/crypto.js +8 -0
  53. package/dist/cjs/dropdown-item.js +99 -0
  54. package/dist/cjs/dropdown-menu-content.js +3 -0
  55. package/dist/cjs/dropdown-menu-group.js +24 -0
  56. package/dist/cjs/dropdown-menu-item.js +68 -0
  57. package/dist/cjs/dropdown-menu-label.js +31 -0
  58. package/dist/cjs/dropdown-menu-separator.js +25 -0
  59. package/dist/cjs/dropdown-menu-sub-content.js +3 -0
  60. package/dist/cjs/dropdown-menu-sub-trigger.js +3 -0
  61. package/dist/cjs/dropdown-menu-sub.js +3 -0
  62. package/dist/cjs/dropdown-menu-trigger.js +26 -0
  63. package/dist/cjs/dropdown-menu.js +32 -0
  64. package/dist/cjs/dropdown.js +291 -0
  65. package/dist/cjs/fancy-button.js +38 -0
  66. package/dist/cjs/hint-text.js +36 -0
  67. package/dist/cjs/hue-slider.js +133 -0
  68. package/dist/cjs/index.js +220 -0
  69. package/dist/cjs/label.js +55 -0
  70. package/dist/cjs/link-button.js +44 -0
  71. package/dist/cjs/modal-body.js +22 -0
  72. package/dist/cjs/modal-close.js +3 -0
  73. package/dist/cjs/modal-content.js +48 -0
  74. package/dist/cjs/modal-footer.js +22 -0
  75. package/dist/cjs/modal-header.js +81 -0
  76. package/dist/cjs/modal-trigger.js +3 -0
  77. package/dist/cjs/modal.js +3 -0
  78. package/dist/cjs/popover-content.js +104 -0
  79. package/dist/cjs/popover-trigger.js +24 -0
  80. package/dist/cjs/popover.js +3 -0
  81. package/dist/cjs/scroll-area.js +3 -0
  82. package/dist/cjs/scroll-bar.js +39 -0
  83. package/dist/cjs/segmented-control-item.js +41 -0
  84. package/dist/cjs/segmented-control.js +40 -0
  85. package/dist/cjs/select-content.js +61 -0
  86. package/dist/cjs/select-group.js +3 -0
  87. package/dist/cjs/select-icon.js +25 -0
  88. package/dist/cjs/select-item.js +44 -0
  89. package/dist/cjs/select-label.js +32 -0
  90. package/dist/cjs/select-separator.js +26 -0
  91. package/dist/cjs/select-trigger.js +40 -0
  92. package/dist/cjs/select-value.js +31 -0
  93. package/dist/cjs/select.js +3 -0
  94. package/dist/cjs/shims.js +1 -0
  95. package/dist/cjs/slider.js +3 -0
  96. package/dist/cjs/social-button.js +45 -0
  97. package/dist/cjs/status-badge.js +49 -0
  98. package/dist/cjs/switch.js +3 -0
  99. package/dist/cjs/tab-menu-content.js +32 -0
  100. package/dist/cjs/tab-menu-item.js +44 -0
  101. package/dist/cjs/tab-menu-list.js +34 -0
  102. package/dist/cjs/tab-menu.js +32 -0
  103. package/dist/cjs/text-input-affix.js +27 -0
  104. package/dist/cjs/text-input-button.js +31 -0
  105. package/dist/cjs/text-input.js +119 -0
  106. package/dist/cjs/textarea.js +56 -0
  107. package/dist/cjs/tooltip.js +115 -0
  108. package/dist/cjs/use-color-model.js +6 -0
  109. package/dist/cjs/use-delegated-props.js +14 -0
  110. package/dist/cjs/use-user-select.js +39 -0
  111. package/dist/components/alert/alert.d.ts +30 -0
  112. package/dist/components/alert/index.d.ts +2 -0
  113. package/dist/components/badge/badge.d.ts +17 -0
  114. package/dist/components/badge/index.d.ts +4 -0
  115. package/dist/components/badge/status-badge.d.ts +13 -0
  116. package/dist/components/button/button.d.ts +22 -0
  117. package/dist/components/button/compact-button.d.ts +15 -0
  118. package/dist/components/button/fancy-button.d.ts +20 -0
  119. package/dist/components/button/index.d.ts +10 -0
  120. package/dist/components/button/link-button.d.ts +22 -0
  121. package/dist/components/button/social-button.d.ts +10 -0
  122. package/dist/components/checkbox/checkbox-label.d.ts +32 -0
  123. package/dist/components/checkbox/checkbox.d.ts +11 -0
  124. package/dist/components/checkbox/index.d.ts +4 -0
  125. package/dist/components/color-picker/alpha-slider.d.ts +15 -0
  126. package/dist/components/color-picker/color-area.d.ts +9 -0
  127. package/dist/components/color-picker/color-picker.d.ts +47 -0
  128. package/dist/components/color-picker/color-swatch.d.ts +19 -0
  129. package/dist/components/color-picker/composable/use-color-model.d.ts +7 -0
  130. package/dist/components/color-picker/composable/use-user-select.d.ts +8 -0
  131. package/dist/components/color-picker/hue-slider.d.ts +14 -0
  132. package/dist/components/color-picker/index.d.ts +10 -0
  133. package/dist/components/combobox/combobox-anchor.d.ts +22 -0
  134. package/dist/components/combobox/combobox-empty.d.ts +22 -0
  135. package/dist/components/combobox/combobox-group.d.ts +23 -0
  136. package/dist/components/combobox/combobox-input.d.ts +17 -0
  137. package/dist/components/combobox/combobox-item.d.ts +31 -0
  138. package/dist/components/combobox/combobox-list.d.ts +36 -0
  139. package/dist/components/combobox/combobox-root.d.ts +29 -0
  140. package/dist/components/combobox/combobox-separator.d.ts +22 -0
  141. package/dist/components/combobox/combobox-trigger.d.ts +20 -0
  142. package/dist/components/combobox/combobox.d.ts +42 -0
  143. package/dist/components/combobox/index.d.ts +20 -0
  144. package/dist/components/content-divider/content-divider.d.ts +10 -0
  145. package/dist/components/content-divider/index.d.ts +2 -0
  146. package/dist/components/dropdown/context-menu-item.d.ts +39 -0
  147. package/dist/components/dropdown/dropdown-item.d.ts +30 -0
  148. package/dist/components/dropdown/dropdown.d.ts +55 -0
  149. package/dist/components/dropdown/index.d.ts +6 -0
  150. package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +36 -0
  151. package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +18 -0
  152. package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +26 -0
  153. package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +22 -0
  154. package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +7 -0
  155. package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +38 -0
  156. package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +22 -0
  157. package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +22 -0
  158. package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +18 -0
  159. package/dist/components/dropdown-menu/dropdown-menu.d.ts +18 -0
  160. package/dist/components/dropdown-menu/index.d.ts +20 -0
  161. package/dist/components/hint-text/hint-text.d.ts +11 -0
  162. package/dist/components/hint-text/index.d.ts +2 -0
  163. package/dist/components/index.d.ts +21 -0
  164. package/dist/components/label/index.d.ts +2 -0
  165. package/dist/components/label/label.d.ts +29 -0
  166. package/dist/components/modal/index.d.ts +14 -0
  167. package/dist/components/modal/modal-body.d.ts +21 -0
  168. package/dist/components/modal/modal-close.d.ts +18 -0
  169. package/dist/components/modal/modal-content.d.ts +37 -0
  170. package/dist/components/modal/modal-footer.d.ts +21 -0
  171. package/dist/components/modal/modal-header.d.ts +16 -0
  172. package/dist/components/modal/modal-trigger.d.ts +18 -0
  173. package/dist/components/modal/modal.d.ts +22 -0
  174. package/dist/components/popover/index.d.ts +6 -0
  175. package/dist/components/popover/popover-content.d.ts +41 -0
  176. package/dist/components/popover/popover-trigger.d.ts +18 -0
  177. package/dist/components/popover/popover.d.ts +22 -0
  178. package/dist/components/scroll-area/index.d.ts +2 -0
  179. package/dist/components/scroll-area/scroll-area.d.ts +22 -0
  180. package/dist/components/scroll-area/scroll-bar.d.ts +9 -0
  181. package/dist/components/segmented-control/index.d.ts +4 -0
  182. package/dist/components/segmented-control/segmented-control-item.d.ts +22 -0
  183. package/dist/components/segmented-control/segmented-control.d.ts +26 -0
  184. package/dist/components/select/index.d.ts +18 -0
  185. package/dist/components/select/select-content.d.ts +33 -0
  186. package/dist/components/select/select-group.d.ts +18 -0
  187. package/dist/components/select/select-icon.d.ts +21 -0
  188. package/dist/components/select/select-item.d.ts +22 -0
  189. package/dist/components/select/select-label.d.ts +22 -0
  190. package/dist/components/select/select-separator.d.ts +7 -0
  191. package/dist/components/select/select-trigger.d.ts +28 -0
  192. package/dist/components/select/select-value.d.ts +22 -0
  193. package/dist/components/select/select.d.ts +28 -0
  194. package/dist/components/slider/index.d.ts +2 -0
  195. package/dist/components/slider/slider.d.ts +13 -0
  196. package/dist/components/switch/index.d.ts +2 -0
  197. package/dist/components/switch/switch.d.ts +11 -0
  198. package/dist/components/tab-menu/index.d.ts +8 -0
  199. package/dist/components/tab-menu/tab-menu-content.d.ts +22 -0
  200. package/dist/components/tab-menu/tab-menu-item.d.ts +24 -0
  201. package/dist/components/tab-menu/tab-menu-list.d.ts +22 -0
  202. package/dist/components/tab-menu/tab-menu.d.ts +23 -0
  203. package/dist/components/text-input/index.d.ts +6 -0
  204. package/dist/components/text-input/text-input-affix.d.ts +23 -0
  205. package/dist/components/text-input/text-input-button.d.ts +23 -0
  206. package/dist/components/text-input/text-input.d.ts +32 -0
  207. package/dist/components/textarea/index.d.ts +2 -0
  208. package/dist/components/textarea/textarea.d.ts +22 -0
  209. package/dist/components/tooltip/index.d.ts +2 -0
  210. package/dist/components/tooltip/tooltip.d.ts +29 -0
  211. package/dist/composables/use-delegated-props.d.ts +2 -0
  212. package/dist/es/alert.js +112 -0
  213. package/dist/es/alpha-slider.js +4 -0
  214. package/dist/es/badge.js +56 -0
  215. package/dist/es/button.js +40 -0
  216. package/dist/es/checkbox-label.js +113 -0
  217. package/dist/es/checkbox.js +4 -0
  218. package/dist/es/chunks/_plugin-vue_export-helper.js +10 -0
  219. package/dist/es/chunks/alpha-slider.js +128 -0
  220. package/dist/es/chunks/checkbox.vue_vue_type_style_index_0_lang.js +39 -0
  221. package/dist/es/chunks/clsx.js +16 -0
  222. package/dist/es/chunks/combobox-anchor.js +32 -0
  223. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +53 -0
  224. package/dist/es/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +52 -0
  225. package/dist/es/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +50 -0
  226. package/dist/es/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +33 -0
  227. package/dist/es/chunks/dropdown-menu-sub.js +26 -0
  228. package/dist/es/chunks/index.js +9058 -0
  229. package/dist/es/chunks/modal-close.js +23 -0
  230. package/dist/es/chunks/modal-trigger.js +23 -0
  231. package/dist/es/chunks/modal.js +27 -0
  232. package/dist/es/chunks/popover.js +27 -0
  233. package/dist/es/chunks/scroll-area.js +42 -0
  234. package/dist/es/chunks/select-group.js +23 -0
  235. package/dist/es/chunks/select.js +39 -0
  236. package/dist/es/chunks/slider.vue_vue_type_style_index_0_lang.js +53 -0
  237. package/dist/es/chunks/switch.vue_vue_type_style_index_0_lang.js +39 -0
  238. package/dist/es/chunks/use-color-model.js +993 -0
  239. package/dist/es/color-area.js +176 -0
  240. package/dist/es/color-picker.js +515 -0
  241. package/dist/es/color-swatch.js +60 -0
  242. package/dist/es/color.js +102 -0
  243. package/dist/es/combobox-anchor.js +4 -0
  244. package/dist/es/combobox-empty.js +33 -0
  245. package/dist/es/combobox-group.js +43 -0
  246. package/dist/es/combobox-input.js +64 -0
  247. package/dist/es/combobox-item.js +110 -0
  248. package/dist/es/combobox-list.js +63 -0
  249. package/dist/es/combobox-root.js +41 -0
  250. package/dist/es/combobox-separator.js +33 -0
  251. package/dist/es/combobox-trigger.js +48 -0
  252. package/dist/es/combobox.js +234 -0
  253. package/dist/es/command-group.js +42 -0
  254. package/dist/es/command-input.js +43 -0
  255. package/dist/es/command-item.js +35 -0
  256. package/dist/es/command-list.js +53 -0
  257. package/dist/es/command-root.js +46 -0
  258. package/dist/es/command-separator.js +33 -0
  259. package/dist/es/compact-button.js +43 -0
  260. package/dist/es/content-divider.js +4 -0
  261. package/dist/es/context-menu-item.js +135 -0
  262. package/dist/es/crypto.js +8 -0
  263. package/dist/es/dropdown-item.js +100 -0
  264. package/dist/es/dropdown-menu-content.js +4 -0
  265. package/dist/es/dropdown-menu-group.js +25 -0
  266. package/dist/es/dropdown-menu-item.js +69 -0
  267. package/dist/es/dropdown-menu-label.js +32 -0
  268. package/dist/es/dropdown-menu-separator.js +26 -0
  269. package/dist/es/dropdown-menu-sub-content.js +4 -0
  270. package/dist/es/dropdown-menu-sub-trigger.js +4 -0
  271. package/dist/es/dropdown-menu-sub.js +4 -0
  272. package/dist/es/dropdown-menu-trigger.js +27 -0
  273. package/dist/es/dropdown-menu.js +33 -0
  274. package/dist/es/dropdown.js +292 -0
  275. package/dist/es/fancy-button.js +39 -0
  276. package/dist/es/hint-text.js +37 -0
  277. package/dist/es/hue-slider.js +134 -0
  278. package/dist/es/index.js +220 -0
  279. package/dist/es/label.js +56 -0
  280. package/dist/es/link-button.js +45 -0
  281. package/dist/es/modal-body.js +23 -0
  282. package/dist/es/modal-close.js +4 -0
  283. package/dist/es/modal-content.js +49 -0
  284. package/dist/es/modal-footer.js +23 -0
  285. package/dist/es/modal-header.js +82 -0
  286. package/dist/es/modal-trigger.js +4 -0
  287. package/dist/es/modal.js +4 -0
  288. package/dist/es/popover-content.js +105 -0
  289. package/dist/es/popover-trigger.js +25 -0
  290. package/dist/es/popover.js +4 -0
  291. package/dist/es/scroll-area.js +4 -0
  292. package/dist/es/scroll-bar.js +40 -0
  293. package/dist/es/segmented-control-item.js +42 -0
  294. package/dist/es/segmented-control.js +41 -0
  295. package/dist/es/select-content.js +62 -0
  296. package/dist/es/select-group.js +4 -0
  297. package/dist/es/select-icon.js +26 -0
  298. package/dist/es/select-item.js +45 -0
  299. package/dist/es/select-label.js +33 -0
  300. package/dist/es/select-separator.js +27 -0
  301. package/dist/es/select-trigger.js +41 -0
  302. package/dist/es/select-value.js +32 -0
  303. package/dist/es/select.js +4 -0
  304. package/dist/es/shims.js +1 -0
  305. package/dist/es/slider.js +4 -0
  306. package/dist/es/social-button.js +46 -0
  307. package/dist/es/status-badge.js +50 -0
  308. package/dist/es/switch.js +4 -0
  309. package/dist/es/tab-menu-content.js +33 -0
  310. package/dist/es/tab-menu-item.js +45 -0
  311. package/dist/es/tab-menu-list.js +35 -0
  312. package/dist/es/tab-menu.js +33 -0
  313. package/dist/es/text-input-affix.js +28 -0
  314. package/dist/es/text-input-button.js +32 -0
  315. package/dist/es/text-input.js +120 -0
  316. package/dist/es/textarea.js +57 -0
  317. package/dist/es/tooltip.js +116 -0
  318. package/dist/es/use-color-model.js +6 -0
  319. package/dist/es/use-delegated-props.js +14 -0
  320. package/dist/es/use-user-select.js +39 -0
  321. package/dist/index.d.ts +5 -0
  322. package/dist/utils/color.d.ts +26 -0
  323. package/dist/utils/crypto.d.ts +1 -0
  324. package/package.json +3 -3
@@ -0,0 +1,112 @@
1
+ import { defineComponent, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, renderSlot, createCommentVNode, withModifiers } from "vue";
2
+ import { uid } from "./crypto.js";
3
+ import { c as clsx } from "./chunks/clsx.js";
4
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
5
+ const _hoisted_1 = ["aria-labelledby", "aria-describedby", "role"];
6
+ const _hoisted_2 = {
7
+ class: "celeste-alert-inner",
8
+ role: "presentation"
9
+ };
10
+ const _hoisted_3 = {
11
+ role: "presentation",
12
+ class: "celeste-alert-content"
13
+ };
14
+ const _hoisted_4 = ["id"];
15
+ const _hoisted_5 = ["id"];
16
+ const _hoisted_6 = {
17
+ key: 0,
18
+ class: "celeste-alert-actions",
19
+ role: "presentation"
20
+ };
21
+ const _hoisted_7 = {
22
+ key: 0,
23
+ class: "celeste-alert-action-primary"
24
+ };
25
+ const _hoisted_8 = {
26
+ key: 1,
27
+ class: "celeste-alert-action-divider"
28
+ };
29
+ const _hoisted_9 = {
30
+ key: 2,
31
+ class: "celeste-alert-action-secondary"
32
+ };
33
+ const _sfc_main = /* @__PURE__ */ defineComponent({
34
+ __name: "alert",
35
+ props: {
36
+ class: {},
37
+ size: { default: "xs" },
38
+ variant: { default: "fill" },
39
+ state: { default: "information" },
40
+ dismissable: { type: Boolean, default: false }
41
+ },
42
+ emits: ["dismiss"],
43
+ setup(__props) {
44
+ const props = __props;
45
+ const labelledby = uid();
46
+ const describedby = uid();
47
+ const ICON_MAP = {
48
+ warning: "i-celeste-alert-fill",
49
+ feature: "i-celeste-magic-fill",
50
+ error: "i-celeste-error-warning-fill",
51
+ success: "i-celeste-checkbox-circle-fill",
52
+ information: "i-celeste-information-fill"
53
+ };
54
+ return (_ctx, _cache) => {
55
+ return openBlock(), createElementBlock("div", {
56
+ "aria-labelledby": unref(labelledby),
57
+ "aria-describedby": unref(describedby),
58
+ role: _ctx.$slots.primary || _ctx.$slots.secondary ? "alert-dialog" : "alert",
59
+ class: normalizeClass(["celeste-alert", unref(clsx)(
60
+ `celeste-alert--${_ctx.size}`,
61
+ `celeste-alert--${_ctx.variant}--${_ctx.state}`,
62
+ props.class
63
+ )])
64
+ }, [
65
+ createElementVNode("i", {
66
+ class: normalizeClass(["celeste-alert-icon", [`celeste-alert-icon--${_ctx.variant}--${_ctx.state}`, ICON_MAP[props.state]]])
67
+ }, null, 2),
68
+ createElementVNode("div", _hoisted_2, [
69
+ createElementVNode("div", _hoisted_3, [
70
+ renderSlot(_ctx.$slots, "default", {}, () => [
71
+ createElementVNode("h5", {
72
+ id: unref(labelledby),
73
+ class: "celeste-alert-title"
74
+ }, [
75
+ renderSlot(_ctx.$slots, "title", {}, void 0, true)
76
+ ], 8, _hoisted_4),
77
+ _ctx.size === "lg" && _ctx.$slots.description ? (openBlock(), createElementBlock("div", {
78
+ key: 0,
79
+ id: unref(describedby),
80
+ class: "celeste-alert-description"
81
+ }, [
82
+ renderSlot(_ctx.$slots, "description", {}, void 0, true)
83
+ ], 8, _hoisted_5)) : createCommentVNode("", true)
84
+ ], true)
85
+ ]),
86
+ _ctx.$slots.primary || _ctx.$slots.secondary ? (openBlock(), createElementBlock("div", _hoisted_6, [
87
+ _ctx.$slots.primary ? (openBlock(), createElementBlock("div", _hoisted_7, [
88
+ renderSlot(_ctx.$slots, "primary", {}, void 0, true)
89
+ ])) : createCommentVNode("", true),
90
+ _ctx.$slots.primary && _ctx.$slots.secondary && _ctx.size === "lg" ? (openBlock(), createElementBlock("div", _hoisted_8, " ∙ ")) : createCommentVNode("", true),
91
+ _ctx.$slots.secondary && _ctx.size === "lg" ? (openBlock(), createElementBlock("div", _hoisted_9, [
92
+ renderSlot(_ctx.$slots, "secondary", {}, void 0, true)
93
+ ])) : createCommentVNode("", true)
94
+ ])) : createCommentVNode("", true)
95
+ ]),
96
+ _ctx.dismissable ? (openBlock(), createElementBlock("a", {
97
+ key: 0,
98
+ href: "#",
99
+ "aria-label": "close",
100
+ class: normalizeClass(["celeste-alert-close", [`celeste-alert-close--${_ctx.variant}`]]),
101
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("dismiss"), ["prevent"]))
102
+ }, _cache[1] || (_cache[1] = [
103
+ createElementVNode("i", { class: "i-celeste-close-line" }, null, -1)
104
+ ]), 2)) : createCommentVNode("", true)
105
+ ], 10, _hoisted_1);
106
+ };
107
+ }
108
+ });
109
+ const alert = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a07f0877"]]);
110
+ export {
111
+ alert as default
112
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/alpha-slider.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createCommentVNode, 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", "aria-disabled"];
5
+ const _hoisted_2 = {
6
+ key: 0,
7
+ class: "dot i-celeste-dot"
8
+ };
9
+ const _hoisted_3 = { key: 2 };
10
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ __name: "badge",
12
+ props: {
13
+ size: { default: "md" },
14
+ variant: { default: "fill" },
15
+ type: { default: "basic" },
16
+ state: {},
17
+ disabled: { type: Boolean },
18
+ icon: {},
19
+ label: {},
20
+ class: {}
21
+ },
22
+ setup(__props) {
23
+ const props = __props;
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createElementBlock("div", {
26
+ class: normalizeClass(unref(clsx)(
27
+ "celeste-badge",
28
+ `celeste-badge-${_ctx.size}`,
29
+ `celeste-badge-${_ctx.type}`,
30
+ `celeste-badge-${_ctx.state}`,
31
+ `celeste-badge-${_ctx.variant}`,
32
+ _ctx.disabled && "celeste-badge-disabled",
33
+ props.class
34
+ )),
35
+ "aria-label": _ctx.label,
36
+ "aria-disabled": _ctx.disabled || void 0,
37
+ role: "badge"
38
+ }, [
39
+ _ctx.type === "dot" ? (openBlock(), createElementBlock("i", _hoisted_2)) : createCommentVNode("", true),
40
+ _ctx.type === "leading-icon" ? (openBlock(), createElementBlock("i", {
41
+ key: 1,
42
+ class: normalizeClass(_ctx.icon)
43
+ }, null, 2)) : createCommentVNode("", true),
44
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
45
+ _ctx.type === "trailing-icon" ? (openBlock(), createElementBlock("i", {
46
+ key: 3,
47
+ class: normalizeClass(_ctx.icon)
48
+ }, null, 2)) : createCommentVNode("", true)
49
+ ], 10, _hoisted_1);
50
+ };
51
+ }
52
+ });
53
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f6cc59c9"]]);
54
+ export {
55
+ Badge as default
56
+ };
@@ -0,0 +1,40 @@
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
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "button",
7
+ props: {
8
+ class: {},
9
+ size: { default: "md" },
10
+ intent: { default: "primary" },
11
+ variant: { default: "fill" },
12
+ asChild: { type: Boolean },
13
+ as: { default: "button" }
14
+ },
15
+ setup(__props) {
16
+ const props = __props;
17
+ return (_ctx, _cache) => {
18
+ return openBlock(), createBlock(unref(O), {
19
+ as: _ctx.as,
20
+ "as-child": _ctx.asChild,
21
+ class: normalizeClass(unref(clsx)(
22
+ "celeste-button",
23
+ `celeste-button-intent-${_ctx.intent}`,
24
+ `celeste-button-size-${_ctx.size}`,
25
+ `celeste-button-variant-${_ctx.variant}`,
26
+ props.class
27
+ ))
28
+ }, {
29
+ default: withCtx(() => [
30
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
31
+ ]),
32
+ _: 3
33
+ }, 8, ["as", "as-child", "class"]);
34
+ };
35
+ }
36
+ });
37
+ const Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ba4c26eb"]]);
38
+ export {
39
+ Button as default
40
+ };
@@ -0,0 +1,113 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, createElementVNode, createCommentVNode } from "vue";
2
+ import { useDelegatedProps } from "./use-delegated-props.js";
3
+ import { c as clsx } from "./chunks/clsx.js";
4
+ import { B as Oh, f as O } from "./chunks/index.js";
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _hoisted_1 = { role: "presentation" };
7
+ const _hoisted_2 = {
8
+ role: "presentation",
9
+ class: "celeste-checkbox-label-row"
10
+ };
11
+ const _hoisted_3 = {
12
+ role: "presentation",
13
+ class: "celeste-checkbox-label-content"
14
+ };
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
16
+ __name: "checkbox-label",
17
+ props: {
18
+ for: {},
19
+ asChild: { type: Boolean },
20
+ as: {},
21
+ sublabel: {},
22
+ information: {},
23
+ required: { type: Boolean },
24
+ description: {},
25
+ disabled: { type: Boolean },
26
+ class: {}
27
+ },
28
+ setup(__props) {
29
+ const props = __props;
30
+ const delegatedProps = useDelegatedProps(props, "class");
31
+ return (_ctx, _cache) => {
32
+ return openBlock(), createBlock(unref(Oh), mergeProps(unref(delegatedProps), {
33
+ "aria-required": _ctx.required,
34
+ "aria-disabcled": _ctx.disabled,
35
+ class: unref(clsx)("celeste-checkbox-label", props.class)
36
+ }), {
37
+ default: withCtx(() => [
38
+ createVNode(unref(O), {
39
+ "as-child": "",
40
+ class: "celeste-checkbox-label-checkbox"
41
+ }, {
42
+ default: withCtx(() => [
43
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
44
+ ]),
45
+ _: 3
46
+ }),
47
+ createElementVNode("div", _hoisted_1, [
48
+ createElementVNode("div", _hoisted_2, [
49
+ createElementVNode("div", null, [
50
+ createVNode(unref(O), {
51
+ as: "span",
52
+ class: "celeste-checkbox-label-label"
53
+ }, {
54
+ default: withCtx(() => [
55
+ renderSlot(_ctx.$slots, "label", {}, void 0, true)
56
+ ]),
57
+ _: 3
58
+ }),
59
+ _ctx.$slots.sublabel ? (openBlock(), createBlock(unref(O), {
60
+ key: 0,
61
+ as: "span",
62
+ class: "celeste-checkbox-label-sublabel"
63
+ }, {
64
+ default: withCtx(() => [
65
+ renderSlot(_ctx.$slots, "sublabel", {}, void 0, true)
66
+ ]),
67
+ _: 3
68
+ })) : createCommentVNode("", true)
69
+ ]),
70
+ _ctx.$slots.badge ? (openBlock(), createBlock(unref(O), {
71
+ key: 0,
72
+ "as-child": "",
73
+ class: "celeste-checkbox-label-badge"
74
+ }, {
75
+ default: withCtx(() => [
76
+ renderSlot(_ctx.$slots, "badge", {}, void 0, true)
77
+ ]),
78
+ _: 3
79
+ })) : createCommentVNode("", true)
80
+ ]),
81
+ createElementVNode("div", _hoisted_3, [
82
+ _ctx.$slots.description ? (openBlock(), createBlock(unref(O), {
83
+ key: 0,
84
+ as: "span",
85
+ class: "celeste-checkbox-label-description"
86
+ }, {
87
+ default: withCtx(() => [
88
+ renderSlot(_ctx.$slots, "description", {}, void 0, true)
89
+ ]),
90
+ _: 3
91
+ })) : createCommentVNode("", true),
92
+ _ctx.$slots.linkButton ? (openBlock(), createBlock(unref(O), {
93
+ key: 1,
94
+ "as-child": "",
95
+ class: "celeste-checkbox-label-link-button"
96
+ }, {
97
+ default: withCtx(() => [
98
+ renderSlot(_ctx.$slots, "linkButton", {}, void 0, true)
99
+ ]),
100
+ _: 3
101
+ })) : createCommentVNode("", true)
102
+ ])
103
+ ])
104
+ ]),
105
+ _: 3
106
+ }, 16, ["aria-required", "aria-disabcled", "class"]);
107
+ };
108
+ }
109
+ });
110
+ const checkboxLabel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cddafe7b"]]);
111
+ export {
112
+ checkboxLabel as default
113
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/checkbox.vue_vue_type_style_index_0_lang.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,10 @@
1
+ const _export_sfc = (sfc, props) => {
2
+ const target = sfc.__vccOpts || sfc;
3
+ for (const [key, val] of props) {
4
+ target[key] = val;
5
+ }
6
+ return target;
7
+ };
8
+ export {
9
+ _export_sfc as _
10
+ };
@@ -0,0 +1,128 @@
1
+ import { defineComponent, useTemplateRef, computed, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeStyle } from "vue";
2
+ import { useUserPageSelection } from "../use-user-select.js";
3
+ import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from "../color.js";
4
+ import { d as defineColorModel } from "./use-color-model.js";
5
+ const _hoisted_1 = { class: "celeste-color-slider" };
6
+ const _hoisted_2 = ["aria-valuenow"];
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "alpha-slider",
9
+ props: {
10
+ modelValue: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(__props, { emit: __emit }) {
14
+ const props = __props;
15
+ const emit = __emit;
16
+ const tinyColorRef = defineColorModel(props, emit);
17
+ const { preventPageUserSelect, allowPageUserSelect } = useUserPageSelection();
18
+ const containerRef = useTemplateRef("slider-track");
19
+ const alpha = computed(() => tinyColorRef.value.getAlpha());
20
+ const alphaSliderBg = computed(() => {
21
+ const { r, g, b } = tinyColorRef.value.toRgb();
22
+ return `
23
+ linear-gradient(to right, rgba(${r}, ${g}, ${b}, 0), rgba(${r}, ${g}, ${b}, 1)),
24
+ repeating-conic-gradient(
25
+ #ffffff 0deg,
26
+ #ffffff 90deg,
27
+ rgba(0, 0, 0, 0.3) 90deg,
28
+ rgba(0, 0, 0, 0.3) 180deg
29
+ ) 0% -25% / 6px 6px
30
+ `;
31
+ });
32
+ const trackThumbBg = computed(() => {
33
+ const { r, g, b, a } = tinyColorRef.value.toRgb();
34
+ const rgbaString = [r, g, b, a].join(",");
35
+ return `rgba(${rgbaString})`;
36
+ });
37
+ function handleChange(e, skip = false) {
38
+ if (!skip) {
39
+ e.preventDefault();
40
+ }
41
+ const container = containerRef.value;
42
+ if (!container) {
43
+ return;
44
+ }
45
+ const containerWidth = container.clientWidth;
46
+ const { x: xOffset } = getAbsolutePosition(container);
47
+ const { x: pageX } = getPageXYFromEvent(e);
48
+ const left = pageX - xOffset;
49
+ let a;
50
+ if (left < 0) {
51
+ a = 0;
52
+ } else if (left > containerWidth) {
53
+ a = 1;
54
+ } else {
55
+ a = Math.round(left * 100 / containerWidth) / 100;
56
+ }
57
+ if (alpha.value !== a) {
58
+ tinyColorRef.value = tinyColorRef.value.setAlpha(a).clone();
59
+ }
60
+ }
61
+ function handleMouseDown(e) {
62
+ handleChange(e, true);
63
+ preventPageUserSelect();
64
+ window.addEventListener("mousemove", handleChange);
65
+ window.addEventListener("mouseup", handleMouseUp);
66
+ }
67
+ function handleMouseUp() {
68
+ allowPageUserSelect();
69
+ unbindEventListeners();
70
+ }
71
+ function unbindEventListeners() {
72
+ window.removeEventListener("mousemove", handleChange);
73
+ window.removeEventListener("mouseup", handleMouseUp);
74
+ }
75
+ function handleKeydown(e) {
76
+ const direction = resolveArrowDirection(e);
77
+ if (!direction) {
78
+ return;
79
+ }
80
+ e.preventDefault();
81
+ const currentValue = alpha.value;
82
+ let newValue;
83
+ switch (direction) {
84
+ case "left": {
85
+ newValue = currentValue - 0.1 < 0 ? 0 : currentValue - 0.1;
86
+ break;
87
+ }
88
+ case "right": {
89
+ newValue = currentValue + 0.1 > 1 ? 1 : currentValue + 0.1;
90
+ break;
91
+ }
92
+ }
93
+ if (typeof newValue !== "undefined") {
94
+ tinyColorRef.value = tinyColorRef.value.setAlpha(newValue).clone();
95
+ }
96
+ }
97
+ onUnmounted(() => {
98
+ unbindEventListeners();
99
+ });
100
+ return (_ctx, _cache) => {
101
+ return openBlock(), createElementBlock("div", _hoisted_1, [
102
+ createElementVNode("div", {
103
+ ref: "slider-track",
104
+ class: "slider-track",
105
+ style: normalizeStyle({ background: alphaSliderBg.value }),
106
+ role: "slider",
107
+ "aria-label": "Transparency",
108
+ "aria-valuemax": "1",
109
+ "aria-valuemin": "0",
110
+ "aria-valuenow": alpha.value.toFixed(1),
111
+ tabindex: "0",
112
+ onMousedown: handleMouseDown,
113
+ onTouchmovePassive: handleChange,
114
+ onTouchstartPassive: handleChange,
115
+ onKeydown: handleKeydown
116
+ }, [
117
+ createElementVNode("div", {
118
+ class: "celeste-color-thumb",
119
+ style: normalizeStyle({ left: `${alpha.value * 100}%`, background: trackThumbBg.value })
120
+ }, null, 4)
121
+ ], 44, _hoisted_2)
122
+ ]);
123
+ };
124
+ }
125
+ });
126
+ export {
127
+ _sfc_main as _
128
+ };
@@ -0,0 +1,39 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
2
+ import { useDelegatedProps } from "../use-delegated-props.js";
3
+ import { c as clsx } from "./clsx.js";
4
+ import { x as xe, z as zv, K as Kv } from "./index.js";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "checkbox",
7
+ props: {
8
+ defaultChecked: { type: Boolean },
9
+ checked: { type: [Boolean, String] },
10
+ disabled: { type: Boolean },
11
+ required: { type: Boolean },
12
+ name: {},
13
+ value: {},
14
+ id: {},
15
+ asChild: { type: Boolean },
16
+ as: {},
17
+ class: {}
18
+ },
19
+ emits: ["update:checked"],
20
+ setup(__props, { emit: __emit }) {
21
+ const props = __props;
22
+ const emits = __emit;
23
+ const delegatedProps = useDelegatedProps(props, "class");
24
+ const forwarded = xe(delegatedProps, emits);
25
+ return (_ctx, _cache) => {
26
+ return openBlock(), createBlock(unref(zv), mergeProps(unref(forwarded), {
27
+ class: unref(clsx)("celeste-checkbox", props.class)
28
+ }), {
29
+ default: withCtx(() => [
30
+ createVNode(unref(Kv), { class: "celeste-checkbox-indicator" })
31
+ ]),
32
+ _: 1
33
+ }, 16, ["class"]);
34
+ };
35
+ }
36
+ });
37
+ export {
38
+ _sfc_main as _
39
+ };
@@ -0,0 +1,16 @@
1
+ function r(e) {
2
+ var t, f, n = "";
3
+ if ("string" == typeof e || "number" == typeof e) n += e;
4
+ else if ("object" == typeof e) if (Array.isArray(e)) {
5
+ var o = e.length;
6
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
7
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
8
+ return n;
9
+ }
10
+ function clsx() {
11
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
12
+ return n;
13
+ }
14
+ export {
15
+ clsx as c
16
+ };
@@ -0,0 +1,32 @@
1
+ import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
+ import { c as clsx } from "./clsx.js";
3
+ import { A as At, j as jv } from "./index.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "combobox-anchor",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: {},
9
+ class: {}
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ const delegatedProps = computed(() => {
14
+ const { class: _, ...delegated } = props;
15
+ return delegated;
16
+ });
17
+ const forwarded = At(delegatedProps);
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createBlock(unref(jv), mergeProps(unref(forwarded), {
20
+ class: unref(clsx)(props.class, "celeste-dropdown-anchor")
21
+ }), {
22
+ default: withCtx(() => [
23
+ renderSlot(_ctx.$slots, "default")
24
+ ]),
25
+ _: 3
26
+ }, 16, ["class"]);
27
+ };
28
+ }
29
+ });
30
+ export {
31
+ _sfc_main as _
32
+ };
@@ -0,0 +1,53 @@
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createElementBlock, createCommentVNode, toDisplayString, createElementVNode, createTextVNode } from "vue";
2
+ import { c as clsx } from "./clsx.js";
3
+ import { Q as Qf } from "./index.js";
4
+ const _hoisted_1 = {
5
+ key: 0,
6
+ class: "celecte-content-divider-type-line"
7
+ };
8
+ const _hoisted_2 = {
9
+ key: 1,
10
+ class: "celecte-content-divider-type-text"
11
+ };
12
+ const _hoisted_3 = {
13
+ key: 2,
14
+ class: "celecte-content-divider-type-text-line"
15
+ };
16
+ const _hoisted_4 = {
17
+ key: 3,
18
+ class: "celecte-content-divider-type-solid-text"
19
+ };
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "content-divider",
22
+ props: {
23
+ class: {},
24
+ type: { default: "line" },
25
+ text: {}
26
+ },
27
+ setup(__props) {
28
+ const props = __props;
29
+ return (_ctx, _cache) => {
30
+ return openBlock(), createBlock(unref(Qf), {
31
+ "aria-label": "divider",
32
+ class: normalizeClass([unref(clsx)("celeste-celecte-content-divider", props.class), "celecte-content-divider"])
33
+ }, {
34
+ default: withCtx(() => [
35
+ _ctx.type === "line" ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true),
36
+ _ctx.type === "text" && _ctx.text ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(_ctx.text), 1)) : createCommentVNode("", true),
37
+ _ctx.type === "text-line" && _ctx.text ? (openBlock(), createElementBlock("div", _hoisted_3, [
38
+ _cache[0] || (_cache[0] = createElementVNode("hr", null, null, -1)),
39
+ _cache[1] || (_cache[1] = createTextVNode()),
40
+ createElementVNode("span", null, toDisplayString(_ctx.text), 1),
41
+ _cache[2] || (_cache[2] = createTextVNode()),
42
+ _cache[3] || (_cache[3] = createElementVNode("hr", null, null, -1))
43
+ ])) : createCommentVNode("", true),
44
+ _ctx.type === "solid-text" && _ctx.text ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(_ctx.text), 1)) : createCommentVNode("", true)
45
+ ]),
46
+ _: 1
47
+ }, 8, ["class"]);
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ _sfc_main as _
53
+ };
@@ -0,0 +1,52 @@
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 "./clsx.js";
4
+ import { x as xe, i as ih, u as uh } from "./index.js";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "dropdown-menu-content",
7
+ props: {
8
+ forceMount: { type: Boolean },
9
+ loop: { type: Boolean },
10
+ side: {},
11
+ sideOffset: { default: 4 },
12
+ align: {},
13
+ alignOffset: {},
14
+ avoidCollisions: { type: Boolean },
15
+ collisionBoundary: {},
16
+ collisionPadding: {},
17
+ arrowPadding: {},
18
+ sticky: {},
19
+ hideWhenDetached: { type: Boolean },
20
+ updatePositionStrategy: {},
21
+ prioritizePosition: { type: Boolean },
22
+ asChild: { type: Boolean },
23
+ as: {},
24
+ class: {}
25
+ },
26
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
27
+ setup(__props, { emit: __emit }) {
28
+ const props = __props;
29
+ const emits = __emit;
30
+ const delegatedProps = useDelegatedProps(props, "class");
31
+ const forwarded = xe(delegatedProps, emits);
32
+ return (_ctx, _cache) => {
33
+ return openBlock(), createBlock(unref(ih), null, {
34
+ default: withCtx(() => [
35
+ createVNode(unref(uh), mergeProps(unref(forwarded), {
36
+ "force-mount": "",
37
+ class: unref(clsx)("celeste-dropdown-menu-content", props.class)
38
+ }), {
39
+ default: withCtx(() => [
40
+ renderSlot(_ctx.$slots, "default")
41
+ ]),
42
+ _: 3
43
+ }, 16, ["class"])
44
+ ]),
45
+ _: 3
46
+ });
47
+ };
48
+ }
49
+ });
50
+ export {
51
+ _sfc_main as _
52
+ };