@youcan/celeste 0.6.71 → 0.6.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/celeste.css +4 -3
  2. package/dist/cjs/alert.js +32 -32
  3. package/dist/cjs/badge.js +12 -12
  4. package/dist/cjs/button.js +6 -6
  5. package/dist/cjs/checkbox-card.js +33 -33
  6. package/dist/cjs/checkbox-label.js +31 -31
  7. package/dist/cjs/chunks/alpha-slider.js +12 -12
  8. package/dist/cjs/chunks/checkbox.js +7 -7
  9. package/dist/cjs/chunks/collapsible-content.js +6 -6
  10. package/dist/cjs/chunks/collapsible-trigger.js +5 -5
  11. package/dist/cjs/chunks/collapsible.js +6 -6
  12. package/dist/cjs/chunks/combobox-anchor.js +8 -8
  13. package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +15 -15
  14. package/dist/cjs/chunks/counter-input.js +13 -13
  15. package/dist/cjs/chunks/dropdown-menu-sub.js +6 -6
  16. package/dist/cjs/chunks/index.js +2289 -2292
  17. package/dist/cjs/chunks/index2.js +14 -14
  18. package/dist/cjs/chunks/index3.js +28 -28
  19. package/dist/cjs/chunks/index4.js +96 -125
  20. package/dist/cjs/chunks/index5.js +3381 -4086
  21. package/dist/cjs/chunks/modal-close.js +5 -5
  22. package/dist/cjs/chunks/modal-trigger.js +5 -5
  23. package/dist/cjs/chunks/modal.js +6 -6
  24. package/dist/cjs/chunks/pagination-first.js +9 -9
  25. package/dist/cjs/chunks/pagination-item.js +6 -6
  26. package/dist/cjs/chunks/pagination-last.js +9 -9
  27. package/dist/cjs/chunks/pagination-next.js +9 -9
  28. package/dist/cjs/chunks/pagination-previous.js +9 -9
  29. package/dist/cjs/chunks/popover.js +6 -6
  30. package/dist/cjs/chunks/radio-group-item.js +7 -7
  31. package/dist/cjs/chunks/radio-group.js +8 -8
  32. package/dist/cjs/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +45 -742
  33. package/dist/cjs/chunks/scroll-area.js +11 -11
  34. package/dist/cjs/chunks/select-group.js +5 -5
  35. package/dist/cjs/chunks/select.js +7 -7
  36. package/dist/cjs/chunks/sheet-trigger.js +5 -5
  37. package/dist/cjs/chunks/sheet.js +6 -6
  38. package/dist/cjs/chunks/sidebar-content.js +5 -5
  39. package/dist/cjs/chunks/sidebar-element.js +6 -6
  40. package/dist/cjs/chunks/sidebar-footer.js +5 -5
  41. package/dist/cjs/chunks/sidebar-group-label.js +6 -6
  42. package/dist/cjs/chunks/sidebar-group.js +5 -5
  43. package/dist/cjs/chunks/sidebar-header.js +5 -5
  44. package/dist/cjs/chunks/sidebar-menu-action.js +6 -6
  45. package/dist/cjs/chunks/sidebar-menu-badge.js +4 -4
  46. package/dist/cjs/chunks/sidebar-menu-button.js +7 -7
  47. package/dist/cjs/chunks/sidebar-menu-item.js +5 -5
  48. package/dist/cjs/chunks/sidebar-menu-sub-button.js +6 -6
  49. package/dist/cjs/chunks/sidebar-menu-sub-item.js +5 -5
  50. package/dist/cjs/chunks/sidebar-menu-sub.js +5 -5
  51. package/dist/cjs/chunks/sidebar-menu.js +5 -5
  52. package/dist/cjs/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +9 -9
  53. package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +4 -4
  54. package/dist/cjs/chunks/sidebar.js +21 -21
  55. package/dist/cjs/chunks/slider.js +11 -11
  56. package/dist/cjs/chunks/sonner.js +146 -214
  57. package/dist/cjs/chunks/switch.js +7 -7
  58. package/dist/cjs/chunks/tinycolor.js +2 -2
  59. package/dist/cjs/chunks/tooltip-provider.js +5 -5
  60. package/dist/cjs/chunks/tooltip-root.js +7 -7
  61. package/dist/cjs/chunks/tooltip-trigger.js +6 -6
  62. package/dist/cjs/chunks/tooltip.js +12 -12
  63. package/dist/cjs/color-area.js +16 -16
  64. package/dist/cjs/color-picker.js +102 -102
  65. package/dist/cjs/color-swatch.js +11 -11
  66. package/dist/cjs/combobox-empty.js +7 -7
  67. package/dist/cjs/combobox-group.js +11 -11
  68. package/dist/cjs/combobox-input.js +12 -12
  69. package/dist/cjs/combobox-item.js +24 -24
  70. package/dist/cjs/combobox-list.js +12 -12
  71. package/dist/cjs/combobox-root.js +6 -7
  72. package/dist/cjs/combobox-separator.js +7 -7
  73. package/dist/cjs/combobox-trigger.js +8 -8
  74. package/dist/cjs/combobox.js +53 -54
  75. package/dist/cjs/command-group.js +10 -10
  76. package/dist/cjs/command-input.js +8 -8
  77. package/dist/cjs/command-item.js +7 -7
  78. package/dist/cjs/command-list.js +8 -8
  79. package/dist/cjs/command-root.js +7 -8
  80. package/dist/cjs/command-separator.js +7 -7
  81. package/dist/cjs/compact-button.js +7 -7
  82. package/dist/cjs/config.js +2 -2
  83. package/dist/cjs/digit-input-group.js +7 -7
  84. package/dist/cjs/digit-input-slot.js +5 -5
  85. package/dist/cjs/digit-input.js +7 -7
  86. package/dist/cjs/dropdown-menu-content.js +9 -9
  87. package/dist/cjs/dropdown-menu-group.js +5 -5
  88. package/dist/cjs/dropdown-menu-item.js +14 -14
  89. package/dist/cjs/dropdown-menu-label.js +7 -7
  90. package/dist/cjs/dropdown-menu-separator.js +4 -4
  91. package/dist/cjs/dropdown-menu-sub-content.js +9 -9
  92. package/dist/cjs/dropdown-menu-sub-trigger.js +12 -12
  93. package/dist/cjs/dropdown-menu-trigger.js +6 -6
  94. package/dist/cjs/dropdown-menu.js +7 -7
  95. package/dist/cjs/extra-settings.js +21 -21
  96. package/dist/cjs/fancy-button.js +6 -6
  97. package/dist/cjs/file-upload-area.js +22 -22
  98. package/dist/cjs/hint-text.js +8 -8
  99. package/dist/cjs/hue-slider.js +15 -15
  100. package/dist/cjs/index.js +2 -2
  101. package/dist/cjs/label.js +13 -13
  102. package/dist/cjs/link-bubble.js +40 -40
  103. package/dist/cjs/link-button.js +6 -6
  104. package/dist/cjs/modal-body.js +5 -5
  105. package/dist/cjs/modal-content.js +12 -12
  106. package/dist/cjs/modal-footer.js +5 -5
  107. package/dist/cjs/modal-header.js +22 -22
  108. package/dist/cjs/pagination-content.js +6 -6
  109. package/dist/cjs/pagination-ellipsis.js +8 -8
  110. package/dist/cjs/pagination.js +14 -14
  111. package/dist/cjs/popover-content.js +30 -30
  112. package/dist/cjs/popover-trigger.js +5 -5
  113. package/dist/cjs/progress-bar.js +19 -19
  114. package/dist/cjs/progress-circle.js +20 -20
  115. package/dist/cjs/radio-group-card.js +33 -33
  116. package/dist/cjs/radio-group-label.js +31 -31
  117. package/dist/cjs/rich-editor.js +76 -76
  118. package/dist/cjs/scroll-bar.js +7 -7
  119. package/dist/cjs/segmented-control-item.js +8 -6
  120. package/dist/cjs/segmented-control.js +8 -8
  121. package/dist/cjs/select-content.js +11 -11
  122. package/dist/cjs/select-icon.js +5 -5
  123. package/dist/cjs/select-item.js +11 -11
  124. package/dist/cjs/select-label.js +6 -6
  125. package/dist/cjs/select-separator.js +4 -4
  126. package/dist/cjs/select-trigger.js +9 -9
  127. package/dist/cjs/select-value.js +6 -6
  128. package/dist/cjs/sheet-close.js +6 -6
  129. package/dist/cjs/sheet-content.js +14 -14
  130. package/dist/cjs/sheet-description.js +7 -7
  131. package/dist/cjs/sheet-footer.js +6 -6
  132. package/dist/cjs/sheet-header.js +5 -5
  133. package/dist/cjs/sheet-title.js +7 -7
  134. package/dist/cjs/sidebar-group-content.js +5 -5
  135. package/dist/cjs/sidebar-trigger.js +7 -7
  136. package/dist/cjs/social-button.js +8 -8
  137. package/dist/cjs/sonner-alert.js +8 -8
  138. package/dist/cjs/status-badge.js +8 -8
  139. package/dist/cjs/tab-menu-content.js +7 -7
  140. package/dist/cjs/tab-menu-item.js +11 -11
  141. package/dist/cjs/tab-menu-list.js +6 -6
  142. package/dist/cjs/tab-menu.js +6 -6
  143. package/dist/cjs/table-body.js +5 -5
  144. package/dist/cjs/table-caption.js +5 -5
  145. package/dist/cjs/table-cell.js +5 -5
  146. package/dist/cjs/table-empty.js +9 -9
  147. package/dist/cjs/table-footer.js +5 -5
  148. package/dist/cjs/table-head.js +5 -5
  149. package/dist/cjs/table-header.js +5 -5
  150. package/dist/cjs/table-row.js +8 -8
  151. package/dist/cjs/table.js +6 -6
  152. package/dist/cjs/tag.js +10 -10
  153. package/dist/cjs/text-input-affix.js +5 -5
  154. package/dist/cjs/text-input-button.js +6 -6
  155. package/dist/cjs/text-input.js +31 -31
  156. package/dist/cjs/textarea.js +9 -9
  157. package/dist/cjs/tooltip-content.js +20 -20
  158. package/dist/cjs/use-color-model.js +2 -2
  159. package/dist/cjs/use-delegated-props.js +2 -2
  160. package/dist/cjs/use-sidebar.js +1 -1
  161. package/dist/cjs/use-user-select.js +4 -4
  162. package/dist/components/color-picker/alpha-slider.d.ts +1 -1
  163. package/dist/components/color-picker/color-area.d.ts +1 -1
  164. package/dist/components/color-picker/hue-slider.d.ts +1 -1
  165. package/dist/components/file-upload/file-upload-area.d.ts +2 -4
  166. package/dist/components/rich-editor/link-bubble.d.ts +1 -3
  167. package/dist/es/alert.js +1 -1
  168. package/dist/es/badge.js +1 -1
  169. package/dist/es/button.js +2 -2
  170. package/dist/es/checkbox-card.js +3 -3
  171. package/dist/es/checkbox-label.js +3 -3
  172. package/dist/es/chunks/alpha-slider.js +1 -1
  173. package/dist/es/chunks/checkbox.js +5 -5
  174. package/dist/es/chunks/collapsible-content.js +3 -3
  175. package/dist/es/chunks/collapsible-trigger.js +3 -3
  176. package/dist/es/chunks/collapsible.js +4 -4
  177. package/dist/es/chunks/combobox-anchor.js +4 -4
  178. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +3 -3
  179. package/dist/es/chunks/counter-input.js +7 -7
  180. package/dist/es/chunks/dropdown-menu-sub.js +4 -4
  181. package/dist/es/chunks/index.js +1153 -1156
  182. package/dist/es/chunks/index2.js +3 -3
  183. package/dist/es/chunks/index3.js +2 -2
  184. package/dist/es/chunks/index4.js +90 -119
  185. package/dist/es/chunks/index5.js +3394 -4099
  186. package/dist/es/chunks/modal-close.js +3 -3
  187. package/dist/es/chunks/modal-trigger.js +3 -3
  188. package/dist/es/chunks/modal.js +4 -4
  189. package/dist/es/chunks/pagination-first.js +4 -4
  190. package/dist/es/chunks/pagination-item.js +3 -3
  191. package/dist/es/chunks/pagination-last.js +4 -4
  192. package/dist/es/chunks/pagination-next.js +4 -4
  193. package/dist/es/chunks/pagination-previous.js +4 -4
  194. package/dist/es/chunks/popover.js +4 -4
  195. package/dist/es/chunks/radio-group-item.js +5 -5
  196. package/dist/es/chunks/radio-group.js +4 -4
  197. package/dist/es/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +46 -743
  198. package/dist/es/chunks/scroll-area.js +5 -5
  199. package/dist/es/chunks/select-group.js +3 -3
  200. package/dist/es/chunks/select.js +4 -4
  201. package/dist/es/chunks/sheet-trigger.js +3 -3
  202. package/dist/es/chunks/sheet.js +4 -4
  203. package/dist/es/chunks/sidebar-content.js +1 -1
  204. package/dist/es/chunks/sidebar-element.js +2 -2
  205. package/dist/es/chunks/sidebar-footer.js +1 -1
  206. package/dist/es/chunks/sidebar-group-label.js +2 -2
  207. package/dist/es/chunks/sidebar-group.js +1 -1
  208. package/dist/es/chunks/sidebar-header.js +1 -1
  209. package/dist/es/chunks/sidebar-menu-action.js +2 -2
  210. package/dist/es/chunks/sidebar-menu-badge.js +1 -1
  211. package/dist/es/chunks/sidebar-menu-button.js +2 -2
  212. package/dist/es/chunks/sidebar-menu-item.js +1 -1
  213. package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
  214. package/dist/es/chunks/sidebar-menu-sub-item.js +1 -1
  215. package/dist/es/chunks/sidebar-menu-sub.js +1 -1
  216. package/dist/es/chunks/sidebar-menu.js +1 -1
  217. package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +3 -3
  218. package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -1
  219. package/dist/es/chunks/sidebar.js +1 -1
  220. package/dist/es/chunks/slider.js +7 -7
  221. package/dist/es/chunks/sonner.js +29 -97
  222. package/dist/es/chunks/switch.js +5 -5
  223. package/dist/es/chunks/tinycolor.js +2 -2
  224. package/dist/es/chunks/tooltip-provider.js +3 -3
  225. package/dist/es/chunks/tooltip-root.js +4 -4
  226. package/dist/es/chunks/tooltip-trigger.js +4 -4
  227. package/dist/es/chunks/tooltip.js +3 -3
  228. package/dist/es/color-area.js +2 -2
  229. package/dist/es/color-picker.js +5 -5
  230. package/dist/es/color-swatch.js +1 -1
  231. package/dist/es/combobox-empty.js +3 -3
  232. package/dist/es/combobox-group.js +4 -4
  233. package/dist/es/combobox-input.js +3 -3
  234. package/dist/es/combobox-item.js +4 -4
  235. package/dist/es/combobox-list.js +6 -6
  236. package/dist/es/combobox-root.js +4 -5
  237. package/dist/es/combobox-separator.js +3 -3
  238. package/dist/es/combobox-trigger.js +4 -4
  239. package/dist/es/combobox.js +3 -4
  240. package/dist/es/command-group.js +4 -4
  241. package/dist/es/command-input.js +4 -4
  242. package/dist/es/command-item.js +4 -4
  243. package/dist/es/command-list.js +4 -4
  244. package/dist/es/command-root.js +4 -5
  245. package/dist/es/command-separator.js +3 -3
  246. package/dist/es/compact-button.js +2 -2
  247. package/dist/es/digit-input-group.js +3 -3
  248. package/dist/es/digit-input-slot.js +4 -4
  249. package/dist/es/digit-input.js +4 -4
  250. package/dist/es/dropdown-menu-content.js +5 -5
  251. package/dist/es/dropdown-menu-group.js +3 -3
  252. package/dist/es/dropdown-menu-item.js +4 -4
  253. package/dist/es/dropdown-menu-label.js +4 -4
  254. package/dist/es/dropdown-menu-separator.js +3 -3
  255. package/dist/es/dropdown-menu-sub-content.js +5 -5
  256. package/dist/es/dropdown-menu-sub-trigger.js +4 -4
  257. package/dist/es/dropdown-menu-trigger.js +4 -4
  258. package/dist/es/dropdown-menu.js +4 -4
  259. package/dist/es/extra-settings.js +1 -1
  260. package/dist/es/fancy-button.js +2 -2
  261. package/dist/es/file-upload-area.js +1 -1
  262. package/dist/es/hint-text.js +1 -1
  263. package/dist/es/hue-slider.js +3 -3
  264. package/dist/es/index.js +3 -3
  265. package/dist/es/label.js +3 -3
  266. package/dist/es/link-bubble.js +1 -1
  267. package/dist/es/link-button.js +2 -2
  268. package/dist/es/modal-body.js +1 -1
  269. package/dist/es/modal-content.js +6 -6
  270. package/dist/es/modal-footer.js +1 -1
  271. package/dist/es/modal-header.js +5 -5
  272. package/dist/es/pagination-content.js +3 -3
  273. package/dist/es/pagination-ellipsis.js +3 -3
  274. package/dist/es/pagination.js +4 -4
  275. package/dist/es/popover-content.js +7 -7
  276. package/dist/es/popover-trigger.js +3 -3
  277. package/dist/es/progress-bar.js +4 -4
  278. package/dist/es/progress-circle.js +4 -4
  279. package/dist/es/radio-group-card.js +3 -3
  280. package/dist/es/radio-group-label.js +3 -3
  281. package/dist/es/rich-editor.js +4 -4
  282. package/dist/es/scroll-bar.js +4 -4
  283. package/dist/es/segmented-control-item.js +5 -3
  284. package/dist/es/segmented-control.js +4 -4
  285. package/dist/es/select-content.js +6 -6
  286. package/dist/es/select-icon.js +1 -1
  287. package/dist/es/select-item.js +5 -5
  288. package/dist/es/select-label.js +3 -3
  289. package/dist/es/select-separator.js +3 -3
  290. package/dist/es/select-trigger.js +4 -4
  291. package/dist/es/select-value.js +3 -3
  292. package/dist/es/sheet-close.js +3 -3
  293. package/dist/es/sheet-content.js +7 -7
  294. package/dist/es/sheet-description.js +3 -3
  295. package/dist/es/sheet-footer.js +1 -1
  296. package/dist/es/sheet-header.js +1 -1
  297. package/dist/es/sheet-title.js +3 -3
  298. package/dist/es/sidebar-group-content.js +1 -1
  299. package/dist/es/sidebar-trigger.js +1 -1
  300. package/dist/es/social-button.js +2 -2
  301. package/dist/es/sonner-alert.js +1 -1
  302. package/dist/es/status-badge.js +1 -1
  303. package/dist/es/tab-menu-content.js +3 -3
  304. package/dist/es/tab-menu-item.js +4 -4
  305. package/dist/es/tab-menu-list.js +3 -3
  306. package/dist/es/tab-menu.js +4 -4
  307. package/dist/es/table-body.js +1 -1
  308. package/dist/es/table-caption.js +1 -1
  309. package/dist/es/table-cell.js +1 -1
  310. package/dist/es/table-empty.js +1 -1
  311. package/dist/es/table-footer.js +1 -1
  312. package/dist/es/table-head.js +1 -1
  313. package/dist/es/table-header.js +1 -1
  314. package/dist/es/table-row.js +1 -1
  315. package/dist/es/table.js +1 -1
  316. package/dist/es/tag.js +2 -2
  317. package/dist/es/text-input-affix.js +1 -1
  318. package/dist/es/text-input-button.js +1 -1
  319. package/dist/es/text-input.js +2 -2
  320. package/dist/es/textarea.js +1 -1
  321. package/dist/es/tooltip-content.js +6 -6
  322. package/dist/es/use-sidebar.js +2 -2
  323. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, renderSlot } from "vue";
1
+ import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { V as Vy, F as Fy, z as zy } from "./index.js";
3
+ import { O as Oy, k as ky, F as Fy } from "./index.js";
4
4
  import ScrollBar from "../scroll-bar.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "scroll-area",
@@ -19,18 +19,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  return delegated;
20
20
  });
21
21
  return (_ctx, _cache) => {
22
- return openBlock(), createBlock(unref(Vy), mergeProps(delegatedProps.value, {
22
+ return openBlock(), createBlock(unref(Oy), mergeProps(delegatedProps.value, {
23
23
  class: unref(clsx)("relative overflow-hidden", props.class)
24
24
  }), {
25
25
  default: withCtx(() => [
26
- createVNode(unref(Fy), { class: "h-full w-full rounded-[inherit]" }, {
26
+ createVNode(unref(ky), { class: "h-full w-full rounded-[inherit]" }, {
27
27
  default: withCtx(() => [
28
28
  renderSlot(_ctx.$slots, "default")
29
29
  ]),
30
30
  _: 3
31
31
  }),
32
32
  createVNode(ScrollBar),
33
- createVNode(unref(zy))
33
+ createVNode(unref(Fy))
34
34
  ]),
35
35
  _: 3
36
36
  }, 16, ["class"]);
@@ -1,5 +1,5 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
- import { f as Xy } from "./index.js";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
+ import { d as Gy } from "./index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "select-group",
5
5
  props: {
@@ -9,7 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  setup(__props) {
10
10
  const props = __props;
11
11
  return (_ctx, _cache) => {
12
- return openBlock(), createBlock(unref(Xy), normalizeProps(guardReactiveProps(props)), {
12
+ return openBlock(), createBlock(unref(Gy), normalizeProps(guardReactiveProps(props)), {
13
13
  default: withCtx(() => [
14
14
  renderSlot(_ctx.$slots, "default")
15
15
  ]),
@@ -1,7 +1,7 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "../use-delegated-props.js";
3
3
  import { c as clsx } from "./clsx.js";
4
- import { S as Se, K as Ky } from "./index.js";
4
+ import { x as xe, N as Ny } from "./index.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "select",
7
7
  props: {
@@ -21,9 +21,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  const props = __props;
22
22
  const emits = __emit;
23
23
  const delegatedProps = useDelegatedProps(props, "class");
24
- const forwarded = Se(delegatedProps, emits);
24
+ const forwarded = xe(delegatedProps, emits);
25
25
  return (_ctx, _cache) => {
26
- return openBlock(), createBlock(unref(Ky), mergeProps(unref(forwarded), {
26
+ return openBlock(), createBlock(unref(Ny), mergeProps(unref(forwarded), {
27
27
  class: unref(clsx)("celeste-select", props.class)
28
28
  }), {
29
29
  default: withCtx(() => [
@@ -1,5 +1,5 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
- import { o as ou } from "./index.js";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
+ import { t as tu } from "./index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sheet-trigger",
5
5
  props: {
@@ -9,7 +9,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  setup(__props) {
10
10
  const props = __props;
11
11
  return (_ctx, _cache) => {
12
- return openBlock(), createBlock(unref(ou), normalizeProps(guardReactiveProps(props)), {
12
+ return openBlock(), createBlock(unref(tu), normalizeProps(guardReactiveProps(props)), {
13
13
  default: withCtx(() => [
14
14
  renderSlot(_ctx.$slots, "default")
15
15
  ]),
@@ -1,5 +1,5 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
- import { S as Se, n as nu } from "./index.js";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
+ import { x as xe, e as eu } from "./index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sheet",
5
5
  props: {
@@ -11,9 +11,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  setup(__props, { emit: __emit }) {
12
12
  const props = __props;
13
13
  const emits = __emit;
14
- const forwarded = Se(props, emits);
14
+ const forwarded = xe(props, emits);
15
15
  return (_ctx, _cache) => {
16
- return openBlock(), createBlock(unref(nu), normalizeProps(guardReactiveProps(unref(forwarded))), {
16
+ return openBlock(), createBlock(unref(eu), normalizeProps(guardReactiveProps(unref(forwarded))), {
17
17
  default: withCtx(() => [
18
18
  renderSlot(_ctx.$slots, "default")
19
19
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-content",
@@ -1,6 +1,6 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { h as O } from "./index.js";
3
+ import { f as O } from "./index.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "sidebar-element",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-footer",
@@ -1,6 +1,6 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { h as O } from "./index.js";
3
+ import { f as O } from "./index.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "sidebar-group-label",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-group",
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-header",
@@ -1,6 +1,6 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { h as O } from "./index.js";
3
+ import { f as O } from "./index.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "sidebar-menu-action",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeClass, unref } from "vue";
1
+ import { defineComponent, openBlock, createBlock, normalizeClass, unref } from "vue";
2
2
  import Badge from "../badge.js";
3
3
  import { c as clsx } from "./clsx.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { h as O } from "./index.js";
3
+ import { f as O } from "./index.js";
4
4
  import { r as reactiveOmit } from "./index2.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  ...{
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-menu-item",
@@ -1,6 +1,6 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
- import { h as O } from "./index.js";
3
+ import { f as O } from "./index.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "sidebar-menu-sub-button",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-menu-sub-item",
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-menu-sub",
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "sidebar-menu",
@@ -1,7 +1,7 @@
1
1
  var _a;
2
- import { defineComponent, ref, computed, createElementBlock, openBlock, mergeProps, unref, renderSlot } from "vue";
3
- import { provideSidebarContext, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH, SIDEBAR_COOKIE_NAME, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_KEYBOARD_SHORTCUT } from "../use-sidebar.js";
4
- import { u as useMediaQuery, a as useVModel, b as useEventListener, d as defaultDocument } from "./index3.js";
2
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from "vue";
3
+ import { SIDEBAR_COOKIE_NAME, provideSidebarContext, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_KEYBOARD_SHORTCUT } from "../use-sidebar.js";
4
+ import { d as defaultDocument, u as useMediaQuery, a as useVModel, b as useEventListener } from "./index3.js";
5
5
  import { c as clsx } from "./clsx.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "sidebar-provider",
@@ -1,4 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, unref, normalizeClass } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import { defineComponent, createBlock, createElementBlock, unref, openBlock, mergeProps, withCtx, createVNode, normalizeStyle, createElementVNode, renderSlot, normalizeClass } from "vue";
1
+ import { defineComponent, unref, openBlock, createBlock, mergeProps, withCtx, createVNode, normalizeStyle, createElementVNode, renderSlot, createElementBlock, normalizeClass } from "vue";
2
2
  import { c as clsx } from "./clsx.js";
3
3
  /* empty css */
4
4
  import SheetContent from "../sheet-content.js";
@@ -1,7 +1,7 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, createElementBlock, Fragment, renderList } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementBlock, Fragment, renderList } from "vue";
2
2
  import { useDelegatedProps } from "../use-delegated-props.js";
3
3
  import { c as clsx } from "./clsx.js";
4
- import { S as Se, i as og, s as sg, r as rg, l as lg } from "./index.js";
4
+ import { x as xe, i as tg, n as ng, o as og, l as ag } from "./index.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "slider",
7
7
  props: {
@@ -24,20 +24,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  const props = __props;
25
25
  const emits = __emit;
26
26
  const delegatedProps = useDelegatedProps(props, "class");
27
- const forwarded = Se(delegatedProps, emits);
27
+ const forwarded = xe(delegatedProps, emits);
28
28
  return (_ctx, _cache) => {
29
- return openBlock(), createBlock(unref(og), mergeProps(unref(forwarded), {
29
+ return openBlock(), createBlock(unref(tg), mergeProps(unref(forwarded), {
30
30
  class: unref(clsx)("celeste-slider", props.class)
31
31
  }), {
32
32
  default: withCtx(() => [
33
- createVNode(unref(sg), { class: "celeste-slider-track" }, {
33
+ createVNode(unref(ng), { class: "celeste-slider-track" }, {
34
34
  default: withCtx(() => [
35
- createVNode(unref(rg), { class: "celeste-slider-range" })
35
+ createVNode(unref(og), { class: "celeste-slider-range" })
36
36
  ]),
37
37
  _: 1
38
38
  }),
39
39
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, (_, key) => {
40
- return openBlock(), createBlock(unref(lg), {
40
+ return openBlock(), createBlock(unref(ag), {
41
41
  key,
42
42
  class: "celeste-slider-thumb"
43
43
  });
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { isVNode, defineComponent, useAttrs, ref, computed, watchEffect, nextTick, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, unref, renderList, mergeProps, createBlock, normalizeStyle, normalizeClass, withCtx, renderSlot, createVNode, onMounted, onBeforeUnmount, watch, resolveDynamicComponent, normalizeProps, createTextVNode, toDisplayString, guardReactiveProps } from "vue";
4
+ import { defineComponent, useAttrs, ref, computed, watchEffect, nextTick, openBlock, createElementBlock, Fragment, createCommentVNode, createElementVNode, unref, renderList, mergeProps, createBlock, normalizeClass, normalizeStyle, withCtx, renderSlot, createVNode, isVNode, onMounted, onBeforeUnmount, watch, resolveDynamicComponent, normalizeProps, createTextVNode, toDisplayString, guardReactiveProps } from "vue";
5
5
  let toastsCounter = 1;
6
6
  var Observer = class {
7
7
  constructor() {
@@ -215,33 +215,8 @@ var Observer = class {
215
215
  });
216
216
  __publicField(this, "custom", (component, data) => {
217
217
  const id = (data == null ? void 0 : data.id) || toastsCounter++;
218
- const alreadyExists = this.toasts.find((toast$1) => {
219
- return toast$1.id === id;
220
- });
221
- const dismissible = (data == null ? void 0 : data.dismissible) === void 0 ? true : data.dismissible;
222
- if (this.dismissedToasts.has(id)) this.dismissedToasts.delete(id);
223
- if (alreadyExists) this.toasts = this.toasts.map((toast$1) => {
224
- if (toast$1.id === id) {
225
- this.publish({
226
- ...toast$1,
227
- component,
228
- dismissible,
229
- id,
230
- ...data
231
- });
232
- return {
233
- ...toast$1,
234
- component,
235
- dismissible,
236
- id,
237
- ...data
238
- };
239
- }
240
- return toast$1;
241
- });
242
- else this.addToast({
218
+ this.publish({
243
219
  component,
244
- dismissible,
245
220
  id,
246
221
  ...data
247
222
  });
@@ -366,14 +341,9 @@ const _hoisted_1$7 = [
366
341
  "data-invert",
367
342
  "data-swipe-out",
368
343
  "data-swipe-direction",
369
- "data-expanded",
370
- "data-testid"
371
- ];
372
- const _hoisted_2$2 = [
373
- "aria-label",
374
- "data-disabled",
375
- "data-close-button-position"
344
+ "data-expanded"
376
345
  ];
346
+ const _hoisted_2$2 = ["aria-label", "data-disabled"];
377
347
  var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
378
348
  __name: "Toast",
379
349
  props: {
@@ -386,7 +356,6 @@ var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
386
356
  heights: {},
387
357
  gap: {},
388
358
  position: {},
389
- closeButtonPosition: {},
390
359
  visibleToasts: {},
391
360
  expandByDefault: { type: Boolean },
392
361
  closeButton: { type: Boolean },
@@ -490,7 +459,6 @@ var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
490
459
  (_b = (_a = props.toast).onDismiss) == null ? void 0 : _b.call(_a, props.toast);
491
460
  }
492
461
  function onPointerDown(event) {
493
- if (event.button === 2) return;
494
462
  if (disabled.value || !dismissible.value) return;
495
463
  dragStartTime.value = /* @__PURE__ */ new Date();
496
464
  offsetBeforeRemove.value = offset.value;
@@ -602,11 +570,7 @@ var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
602
570
  });
603
571
  });
604
572
  watch(() => props.toast.delete, (value) => {
605
- var _a, _b;
606
- if (value !== void 0 && value) {
607
- deleteToast();
608
- (_b = (_a = props.toast).onDismiss) == null ? void 0 : _b.call(_a, props.toast);
609
- }
573
+ if (value !== void 0 && value) deleteToast();
610
574
  }, { deep: true });
611
575
  function handleDragEnd() {
612
576
  swiping.value = false;
@@ -639,7 +603,6 @@ var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
639
603
  "data-swipe-out": swipeOut.value,
640
604
  "data-swipe-direction": swipeOutDirection.value,
641
605
  "data-expanded": Boolean(_ctx.expanded || _ctx.expandByDefault && mounted.value),
642
- "data-testid": _ctx.toast.testId,
643
606
  style: normalizeStyle({
644
607
  "--index": _ctx.index,
645
608
  "--toasts-before": _ctx.index,
@@ -658,13 +621,9 @@ var Toast_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
658
621
  "aria-label": _ctx.closeButtonAriaLabel || "Close toast",
659
622
  "data-disabled": disabled.value,
660
623
  "data-close-button": "true",
661
- "data-close-button-position": _ctx.closeButtonPosition,
662
624
  class: normalizeClass(unref(cn)((_g = _ctx.classes) == null ? void 0 : _g.closeButton, (_i = (_h = _ctx.toast) == null ? void 0 : _h.classes) == null ? void 0 : _i.closeButton)),
663
625
  onClick: handleCloseToast
664
- }, [((_j = _ctx.icons) == null ? void 0 : _j.close) ? (openBlock(), createBlock(resolveDynamicComponent((_k = _ctx.icons) == null ? void 0 : _k.close), { key: 0 })) : renderSlot(_ctx.$slots, "close-icon", { key: 1 })], 10, _hoisted_2$2)) : createCommentVNode("v-if", true), _ctx.toast.component ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.toast.component), mergeProps({ key: 1 }, _ctx.toast.componentProps, {
665
- onCloseToast: handleCloseToast,
666
- isPaused: _ctx.$props.expanded || _ctx.$props.interacting || unref(isDocumentHidden)
667
- }), null, 16, ["isPaused"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
626
+ }, [((_j = _ctx.icons) == null ? void 0 : _j.close) ? (openBlock(), createBlock(resolveDynamicComponent((_k = _ctx.icons) == null ? void 0 : _k.close), { key: 0 })) : renderSlot(_ctx.$slots, "close-icon", { key: 1 })], 10, _hoisted_2$2)) : createCommentVNode("v-if", true), _ctx.toast.component ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.toast.component), mergeProps({ key: 1 }, _ctx.toast.componentProps, { onCloseToast: handleCloseToast }), null, 16)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
668
627
  toastType.value !== "default" || _ctx.toast.icon || _ctx.toast.promise ? (openBlock(), createElementBlock("div", {
669
628
  key: 0,
670
629
  "data-icon": "",
@@ -837,7 +796,8 @@ const _hoisted_2 = [
837
796
  "data-theme",
838
797
  "data-rich-colors",
839
798
  "data-y-position",
840
- "data-x-position"
799
+ "data-x-position",
800
+ "data-lifted"
841
801
  ];
842
802
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
843
803
  function getDocumentDirection() {
@@ -852,14 +812,12 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
852
812
  inheritAttrs: false,
853
813
  __name: "Toaster",
854
814
  props: {
855
- id: {},
856
815
  invert: {
857
816
  type: Boolean,
858
817
  default: false
859
818
  },
860
819
  theme: { default: "light" },
861
820
  position: { default: "bottom-right" },
862
- closeButtonPosition: { default: "top-left" },
863
821
  hotkey: { default: () => ["altKey", "KeyT"] },
864
822
  richColors: {
865
823
  type: Boolean,
@@ -890,15 +848,11 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
890
848
  const props = __props;
891
849
  const attrs = useAttrs();
892
850
  const toasts = ref([]);
893
- const filteredToastsById = computed(() => {
894
- if (props.id) return toasts.value.filter((toast$1) => toast$1.toasterId === props.id);
895
- return toasts.value.filter((toast$1) => !toast$1.toasterId);
896
- });
897
851
  function filteredToasts(pos, index) {
898
- return filteredToastsById.value.filter((toast$1) => !toast$1.position && index === 0 || toast$1.position === pos);
852
+ return toasts.value.filter((toast$1) => !toast$1.position && index === 0 || toast$1.position === pos);
899
853
  }
900
854
  const possiblePositions = computed(() => {
901
- const posList = filteredToastsById.value.filter((toast$1) => toast$1.position).map((toast$1) => toast$1.position);
855
+ const posList = toasts.value.filter((toast$1) => toast$1.position).map((toast$1) => toast$1.position);
902
856
  return posList.length > 0 ? Array.from(new Set([props.position].concat(posList))) : [props.position];
903
857
  });
904
858
  const toastsByPosition = computed(() => {
@@ -909,13 +863,8 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
909
863
  return result;
910
864
  });
911
865
  const heights = ref([]);
912
- const expanded = ref({});
866
+ const expanded = ref(false);
913
867
  const interacting = ref(false);
914
- watchEffect(() => {
915
- possiblePositions.value.forEach((pos) => {
916
- if (!(pos in expanded.value)) expanded.value[pos] = false;
917
- });
918
- });
919
868
  const actualTheme = ref(props.theme !== "system" ? props.theme : typeof window !== "undefined" ? window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : "light");
920
869
  const listRef = ref(null);
921
870
  const lastFocusedElementRef = ref(null);
@@ -1015,24 +964,18 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1015
964
  }
1016
965
  });
1017
966
  watchEffect(() => {
1018
- if (toasts.value.length <= 1) Object.keys(expanded.value).forEach((pos) => {
1019
- expanded.value[pos] = false;
1020
- });
967
+ if (toasts.value.length <= 1) expanded.value = false;
1021
968
  });
1022
969
  watchEffect((onInvalidate) => {
1023
970
  function handleKeyDown(event) {
1024
971
  const isHotkeyPressed = props.hotkey.every((key) => event[key] || event.code === key);
1025
972
  const listRefItem = Array.isArray(listRef.value) ? listRef.value[0] : listRef.value;
1026
973
  if (isHotkeyPressed) {
1027
- possiblePositions.value.forEach((pos) => {
1028
- expanded.value[pos] = true;
1029
- });
974
+ expanded.value = true;
1030
975
  listRefItem == null ? void 0 : listRefItem.focus();
1031
976
  }
1032
977
  const isItemActive = document.activeElement === listRef.value || (listRefItem == null ? void 0 : listRefItem.contains(document.activeElement));
1033
- if (event.code === "Escape" && isItemActive) possiblePositions.value.forEach((pos) => {
1034
- expanded.value[pos] = false;
1035
- });
978
+ if (event.code === "Escape" && isItemActive) expanded.value = false;
1036
979
  }
1037
980
  if (!isClient) return;
1038
981
  document.addEventListener("keydown", handleKeyDown);
@@ -1040,22 +983,14 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1040
983
  document.removeEventListener("keydown", handleKeyDown);
1041
984
  });
1042
985
  });
1043
- function handleMouseEnter(event) {
1044
- const target = event.currentTarget;
1045
- const position = target.getAttribute("data-y-position") + "-" + target.getAttribute("data-x-position");
1046
- expanded.value[position] = true;
986
+ function handleMouseEnter() {
987
+ expanded.value = true;
1047
988
  }
1048
- function handleMouseLeave(event) {
1049
- if (!interacting.value) {
1050
- const target = event.currentTarget;
1051
- const position = target.getAttribute("data-y-position") + "-" + target.getAttribute("data-x-position");
1052
- expanded.value[position] = false;
1053
- }
989
+ function handleMouseLeave() {
990
+ if (!interacting.value) expanded.value = false;
1054
991
  }
1055
992
  function handleDragEnd() {
1056
- Object.keys(expanded.value).forEach((pos) => {
1057
- expanded.value[pos] = false;
1058
- });
993
+ expanded.value = false;
1059
994
  }
1060
995
  function handlePointerUp() {
1061
996
  interacting.value = false;
@@ -1095,6 +1030,7 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1095
1030
  "data-rich-colors": _ctx.richColors,
1096
1031
  "data-y-position": pos.split("-")[0],
1097
1032
  "data-x-position": pos.split("-")[1],
1033
+ "data-lifted": expanded.value && toasts.value.length > 1 && !_ctx.expand,
1098
1034
  style: {
1099
1035
  "--front-toast-height": `${((_a = heights.value[0]) == null ? void 0 : _a.height) || 0}px`,
1100
1036
  "--width": `${unref(TOAST_WIDTH)}px`,
@@ -1103,7 +1039,7 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1103
1039
  ...unref(attrs).style,
1104
1040
  ...unref(assignOffset)(_ctx.offset, _ctx.mobileOffset)
1105
1041
  }
1106
- }, { ref_for: true }, _ctx.$attrs, {
1042
+ }, _ctx.$attrs, {
1107
1043
  onBlur,
1108
1044
  onFocus,
1109
1045
  onMouseenter: handleMouseEnter,
@@ -1113,7 +1049,7 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1113
1049
  onPointerdown: onPointerDown,
1114
1050
  onPointerup: handlePointerUp
1115
1051
  }), [(openBlock(true), createElementBlock(Fragment, null, renderList(filteredToasts(pos, index), (toast$1, idx) => {
1116
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
1052
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
1117
1053
  return openBlock(), createBlock(Toast_default, {
1118
1054
  key: toast$1.id,
1119
1055
  heights: heights.value,
@@ -1129,17 +1065,16 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1129
1065
  closeButton: ((_d = _ctx.toastOptions) == null ? void 0 : _d.closeButton) ?? _ctx.closeButton,
1130
1066
  interacting: interacting.value,
1131
1067
  position: pos,
1132
- closeButtonPosition: ((_e = _ctx.toastOptions) == null ? void 0 : _e.closeButtonPosition) ?? _ctx.closeButtonPosition,
1133
- style: normalizeStyle((_f = _ctx.toastOptions) == null ? void 0 : _f.style),
1134
- unstyled: (_g = _ctx.toastOptions) == null ? void 0 : _g.unstyled,
1135
- classes: (_h = _ctx.toastOptions) == null ? void 0 : _h.classes,
1136
- cancelButtonStyle: (_i = _ctx.toastOptions) == null ? void 0 : _i.cancelButtonStyle,
1137
- actionButtonStyle: (_j = _ctx.toastOptions) == null ? void 0 : _j.actionButtonStyle,
1138
- "close-button-aria-label": (_k = _ctx.toastOptions) == null ? void 0 : _k.closeButtonAriaLabel,
1068
+ style: normalizeStyle((_e = _ctx.toastOptions) == null ? void 0 : _e.style),
1069
+ unstyled: (_f = _ctx.toastOptions) == null ? void 0 : _f.unstyled,
1070
+ classes: (_g = _ctx.toastOptions) == null ? void 0 : _g.classes,
1071
+ cancelButtonStyle: (_h = _ctx.toastOptions) == null ? void 0 : _h.cancelButtonStyle,
1072
+ actionButtonStyle: (_i = _ctx.toastOptions) == null ? void 0 : _i.actionButtonStyle,
1073
+ "close-button-aria-label": (_j = _ctx.toastOptions) == null ? void 0 : _j.closeButtonAriaLabel,
1139
1074
  toasts: toastsByPosition.value[pos],
1140
1075
  expandByDefault: _ctx.expand,
1141
1076
  gap: _ctx.gap,
1142
- expanded: expanded.value[pos] || false,
1077
+ expanded: expanded.value,
1143
1078
  swipeDirections: props.swipeDirections,
1144
1079
  "onUpdate:heights": updateHeights,
1145
1080
  "onUpdate:height": updateHeight,
@@ -1166,7 +1101,6 @@ var Toaster_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
1166
1101
  "closeButton",
1167
1102
  "interacting",
1168
1103
  "position",
1169
- "closeButtonPosition",
1170
1104
  "style",
1171
1105
  "unstyled",
1172
1106
  "classes",
@@ -1188,11 +1122,9 @@ var Toaster_default = Toaster_vue_vue_type_script_setup_true_lang_default;
1188
1122
  const _sfc_main = /* @__PURE__ */ defineComponent({
1189
1123
  __name: "sonner",
1190
1124
  props: {
1191
- id: {},
1192
1125
  invert: { type: Boolean },
1193
1126
  theme: {},
1194
1127
  position: {},
1195
- closeButtonPosition: {},
1196
1128
  hotkey: {},
1197
1129
  richColors: { type: Boolean },
1198
1130
  expand: { type: Boolean },
@@ -1,7 +1,7 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createVNode } from "vue";
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode } from "vue";
2
2
  import { useDelegatedProps } from "../use-delegated-props.js";
3
3
  import { c as clsx } from "./clsx.js";
4
- import { S as Se, m as gg, p as bg } from "./index.js";
4
+ import { x as xe, r as mg, s as hg } from "./index.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "switch",
7
7
  props: {
@@ -21,13 +21,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  const props = __props;
22
22
  const emits = __emit;
23
23
  const delegatedProps = useDelegatedProps(props, "class");
24
- const forwarded = Se(delegatedProps, emits);
24
+ const forwarded = xe(delegatedProps, emits);
25
25
  return (_ctx, _cache) => {
26
- return openBlock(), createBlock(unref(gg), mergeProps(unref(forwarded), {
26
+ return openBlock(), createBlock(unref(mg), mergeProps(unref(forwarded), {
27
27
  class: unref(clsx)("celeste-switch", props.class)
28
28
  }), {
29
29
  default: withCtx(() => [
30
- createVNode(unref(bg), { class: "celeste-switch-thumb" })
30
+ createVNode(unref(hg), { class: "celeste-switch-thumb" })
31
31
  ]),
32
32
  _: 1
33
33
  }, 16, ["class"]);
@@ -822,7 +822,7 @@ function convertDecimalToHex(d) {
822
822
  function convertHexToDecimal(h) {
823
823
  return parseIntFromHex(h) / 255;
824
824
  }
825
- var matchers = (function() {
825
+ var matchers = function() {
826
826
  var CSS_INTEGER = "[-\\+]?\\d+%?";
827
827
  var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
828
828
  var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
@@ -841,7 +841,7 @@ var matchers = (function() {
841
841
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
842
842
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
843
843
  };
844
- })();
844
+ }();
845
845
  function isValidCSSUnit(color) {
846
846
  return !!matchers.CSS_UNIT.exec(color);
847
847
  }