@youcan/celeste 0.6.74 → 0.6.75

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 (72) hide show
  1. package/dist/celeste.css +178 -148
  2. package/dist/cjs/alert.js +1 -1
  3. package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -0
  4. package/dist/cjs/hint-text.js +1 -1
  5. package/dist/cjs/index.js +3 -3
  6. package/dist/cjs/scroll-area.js +42 -2
  7. package/dist/cjs/scroll-bar.js +7 -14
  8. package/dist/cjs/tooltip-content.js +1 -1
  9. package/dist/components/scroll-area/scroll-area.d.ts +1 -1
  10. package/dist/components/scroll-area/scroll-bar.d.ts +1 -1
  11. package/dist/es/alert.js +1 -1
  12. package/dist/es/checkbox-card.js +1 -1
  13. package/dist/es/checkbox-label.js +1 -1
  14. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +1 -1
  15. package/dist/es/chunks/index.js +45 -45
  16. package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -0
  17. package/dist/es/combobox-empty.js +1 -1
  18. package/dist/es/combobox-group.js +1 -1
  19. package/dist/es/combobox-input.js +1 -1
  20. package/dist/es/combobox-item.js +1 -1
  21. package/dist/es/combobox-list.js +1 -1
  22. package/dist/es/combobox-root.js +1 -1
  23. package/dist/es/combobox-separator.js +1 -1
  24. package/dist/es/combobox-trigger.js +1 -1
  25. package/dist/es/command-group.js +1 -1
  26. package/dist/es/command-input.js +1 -1
  27. package/dist/es/command-item.js +1 -1
  28. package/dist/es/command-list.js +1 -1
  29. package/dist/es/command-root.js +1 -1
  30. package/dist/es/command-separator.js +1 -1
  31. package/dist/es/digit-input-slot.js +1 -1
  32. package/dist/es/digit-input.js +1 -1
  33. package/dist/es/dropdown-menu-content.js +1 -1
  34. package/dist/es/dropdown-menu-group.js +1 -1
  35. package/dist/es/dropdown-menu-item.js +1 -1
  36. package/dist/es/dropdown-menu-label.js +1 -1
  37. package/dist/es/dropdown-menu-separator.js +1 -1
  38. package/dist/es/dropdown-menu-sub-content.js +1 -1
  39. package/dist/es/dropdown-menu-sub-trigger.js +1 -1
  40. package/dist/es/dropdown-menu-trigger.js +1 -1
  41. package/dist/es/dropdown-menu.js +1 -1
  42. package/dist/es/hint-text.js +1 -1
  43. package/dist/es/index.js +87 -87
  44. package/dist/es/label.js +1 -1
  45. package/dist/es/modal-content.js +1 -1
  46. package/dist/es/modal-header.js +1 -1
  47. package/dist/es/pagination-content.js +1 -1
  48. package/dist/es/pagination-ellipsis.js +1 -1
  49. package/dist/es/pagination.js +1 -1
  50. package/dist/es/popover-content.js +1 -1
  51. package/dist/es/popover-trigger.js +1 -1
  52. package/dist/es/progress-bar.js +1 -1
  53. package/dist/es/progress-circle.js +1 -1
  54. package/dist/es/radio-group-card.js +1 -1
  55. package/dist/es/radio-group-label.js +1 -1
  56. package/dist/es/scroll-area.js +42 -2
  57. package/dist/es/scroll-bar.js +8 -15
  58. package/dist/es/sheet-content.js +1 -1
  59. package/dist/es/sheet-description.js +1 -1
  60. package/dist/es/sheet-title.js +1 -1
  61. package/dist/es/tab-menu-content.js +1 -1
  62. package/dist/es/tab-menu-item.js +1 -1
  63. package/dist/es/tooltip-content.js +1 -1
  64. package/package.json +3 -3
  65. package/src/components/alert/alert.vue +1 -1
  66. package/src/components/hint-text/hint-text.vue +1 -1
  67. package/src/components/scroll-area/scroll-area.vue +22 -8
  68. package/src/components/scroll-area/scroll-bar.vue +33 -17
  69. package/src/components/scroll-area/stories/scroll-area.stories.ts +184 -0
  70. package/src/components/tooltip/tooltip-content.vue +1 -0
  71. package/dist/cjs/chunks/scroll-area.js +0 -41
  72. package/dist/es/chunks/scroll-area.js +0 -42
package/dist/es/index.js CHANGED
@@ -75,65 +75,65 @@ import radioGroupLabel from "./radio-group-label.js";
75
75
  import { _ as _sfc_main$i } from "./chunks/radio-group.js";
76
76
  /* empty css */
77
77
  import richEditor from "./rich-editor.js";
78
- import { _ as _sfc_main$k } from "./chunks/scroll-area.js";
78
+ import scrollArea from "./scroll-area.js";
79
79
  import segmentedControlItem from "./segmented-control-item.js";
80
80
  import segmentedControl from "./segmented-control.js";
81
81
  import SelectContent from "./select-content.js";
82
- import { _ as _sfc_main$m } from "./chunks/select-group.js";
82
+ import { _ as _sfc_main$l } from "./chunks/select-group.js";
83
83
  import SelectIcon from "./select-icon.js";
84
84
  import SelectItem from "./select-item.js";
85
85
  import selectLabel from "./select-label.js";
86
86
  import selectSeparator from "./select-separator.js";
87
87
  import SelectTrigger from "./select-trigger.js";
88
88
  import SelectValue from "./select-value.js";
89
- import { _ as _sfc_main$l } from "./chunks/select.js";
89
+ import { _ as _sfc_main$k } from "./chunks/select.js";
90
90
  import sheetClose from "./sheet-close.js";
91
91
  import SheetContent from "./sheet-content.js";
92
92
  import sheetDescription from "./sheet-description.js";
93
93
  import sheetFooter from "./sheet-footer.js";
94
94
  import sheetHeader from "./sheet-header.js";
95
95
  import sheetTitle from "./sheet-title.js";
96
- import { _ as _sfc_main$o } from "./chunks/sheet-trigger.js";
97
- import { _ as _sfc_main$n } from "./chunks/sheet.js";
98
- import { _ as _sfc_main$q } from "./chunks/sidebar-content.js";
96
+ import { _ as _sfc_main$n } from "./chunks/sheet-trigger.js";
97
+ import { _ as _sfc_main$m } from "./chunks/sheet.js";
98
+ import { _ as _sfc_main$p } from "./chunks/sidebar-content.js";
99
99
  /* empty css */
100
- import { _ as _sfc_main$r } from "./chunks/sidebar-element.js";
100
+ import { _ as _sfc_main$q } from "./chunks/sidebar-element.js";
101
101
  /* empty css */
102
- import { _ as _sfc_main$s } from "./chunks/sidebar-footer.js";
102
+ import { _ as _sfc_main$r } from "./chunks/sidebar-footer.js";
103
103
  /* empty css */
104
104
  import sidebarGroupContent from "./sidebar-group-content.js";
105
- import { _ as _sfc_main$u } from "./chunks/sidebar-group-label.js";
105
+ import { _ as _sfc_main$t } from "./chunks/sidebar-group-label.js";
106
106
  /* empty css */
107
- import { _ as _sfc_main$t } from "./chunks/sidebar-group.js";
107
+ import { _ as _sfc_main$s } from "./chunks/sidebar-group.js";
108
108
  /* empty css */
109
- import { _ as _sfc_main$v } from "./chunks/sidebar-header.js";
109
+ import { _ as _sfc_main$u } from "./chunks/sidebar-header.js";
110
110
  /* empty css */
111
- import { _ as _sfc_main$x } from "./chunks/sidebar-menu-action.js";
111
+ import { _ as _sfc_main$w } from "./chunks/sidebar-menu-action.js";
112
112
  /* empty css */
113
- import { _ as _sfc_main$y } from "./chunks/sidebar-menu-badge.js";
113
+ import { _ as _sfc_main$x } from "./chunks/sidebar-menu-badge.js";
114
114
  /* empty css */
115
- import { _ as _sfc_main$z } from "./chunks/sidebar-menu-button.js";
115
+ import { _ as _sfc_main$y } from "./chunks/sidebar-menu-button.js";
116
116
  /* empty css */
117
- import { _ as _sfc_main$A } from "./chunks/sidebar-menu-item.js";
117
+ import { _ as _sfc_main$z } from "./chunks/sidebar-menu-item.js";
118
118
  /* empty css */
119
- import { _ as _sfc_main$C } from "./chunks/sidebar-menu-sub-button.js";
119
+ import { _ as _sfc_main$B } from "./chunks/sidebar-menu-sub-button.js";
120
120
  /* empty css */
121
- import { _ as _sfc_main$D } from "./chunks/sidebar-menu-sub-item.js";
121
+ import { _ as _sfc_main$C } from "./chunks/sidebar-menu-sub-item.js";
122
122
  /* empty css */
123
- import { _ as _sfc_main$B } from "./chunks/sidebar-menu-sub.js";
123
+ import { _ as _sfc_main$A } from "./chunks/sidebar-menu-sub.js";
124
124
  /* empty css */
125
- import { _ as _sfc_main$w } from "./chunks/sidebar-menu.js";
125
+ import { _ as _sfc_main$v } from "./chunks/sidebar-menu.js";
126
126
  /* empty css */
127
- import { _ as _sfc_main$E } from "./chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js";
128
- import { _ as _sfc_main$F } from "./chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js";
127
+ import { _ as _sfc_main$D } from "./chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js";
128
+ import { _ as _sfc_main$E } from "./chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js";
129
129
  import sidebarTrigger from "./sidebar-trigger.js";
130
- import { _ as _sfc_main$p } from "./chunks/sidebar.js";
130
+ import { _ as _sfc_main$o } from "./chunks/sidebar.js";
131
131
  /* empty css */
132
- import { _ as _sfc_main$G } from "./chunks/slider.js";
132
+ import { _ as _sfc_main$F } from "./chunks/slider.js";
133
133
  /* empty css */
134
134
  import SonnerAlert from "./sonner-alert.js";
135
- import { _ as _sfc_main$H, t as toast$1 } from "./chunks/sonner.js";
136
- import { _ as _sfc_main$I } from "./chunks/switch.js";
135
+ import { _ as _sfc_main$G, t as toast$1 } from "./chunks/sonner.js";
136
+ import { _ as _sfc_main$H } from "./chunks/switch.js";
137
137
  /* empty css */
138
138
  import tabMenuContent from "./tab-menu-content.js";
139
139
  import tabMenuItem from "./tab-menu-item.js";
@@ -145,10 +145,10 @@ import TextInputButton from "./text-input-button.js";
145
145
  import TextInput from "./text-input.js";
146
146
  import textarea from "./textarea.js";
147
147
  import TooltipContent from "./tooltip-content.js";
148
- import { _ as _sfc_main$K } from "./chunks/tooltip-provider.js";
149
- import { _ as _sfc_main$L } from "./chunks/tooltip-root.js";
150
- import { _ as _sfc_main$M } from "./chunks/tooltip-trigger.js";
151
- import { _ as _sfc_main$J } from "./chunks/tooltip.js";
148
+ import { _ as _sfc_main$J } from "./chunks/tooltip-provider.js";
149
+ import { _ as _sfc_main$K } from "./chunks/tooltip-root.js";
150
+ import { _ as _sfc_main$L } from "./chunks/tooltip-trigger.js";
151
+ import { _ as _sfc_main$I } from "./chunks/tooltip.js";
152
152
  import { useDelegatedProps } from "./use-delegated-props.js";
153
153
  import { SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, provideSidebarContext, useSidebar } from "./use-sidebar.js";
154
154
  import { COLOR_NUMBER_VALIDATION_PATTERN, DEFAULT_SWATCH, HEX_VALIDATION_PATTERN, bumpColorValue, clamp, getAbsolutePosition, getColorConstraints, getFractionDigit, getPageXYFromEvent, getScrollXY, resolveArrowDirection, truncColorValue } from "./color.js";
@@ -226,51 +226,51 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
226
226
  RadioGroupItem: _sfc_main$j,
227
227
  RadioGroupLabel: radioGroupLabel,
228
228
  RichEditor: richEditor,
229
- ScrollArea: _sfc_main$k,
229
+ ScrollArea: scrollArea,
230
230
  SegmentedControl: segmentedControl,
231
231
  SegmentedControlItem: segmentedControlItem,
232
- Select: _sfc_main$l,
232
+ Select: _sfc_main$k,
233
233
  SelectContent,
234
- SelectGroup: _sfc_main$m,
234
+ SelectGroup: _sfc_main$l,
235
235
  SelectIcon,
236
236
  SelectItem,
237
237
  SelectLabel: selectLabel,
238
238
  SelectSeparator: selectSeparator,
239
239
  SelectTrigger,
240
240
  SelectValue,
241
- Sheet: _sfc_main$n,
241
+ Sheet: _sfc_main$m,
242
242
  SheetClose: sheetClose,
243
243
  SheetContent,
244
244
  SheetDescription: sheetDescription,
245
245
  SheetFooter: sheetFooter,
246
246
  SheetHeader: sheetHeader,
247
247
  SheetTitle: sheetTitle,
248
- SheetTrigger: _sfc_main$o,
249
- Sidebar: _sfc_main$p,
250
- SidebarContent: _sfc_main$q,
251
- SidebarElement: _sfc_main$r,
252
- SidebarFooter: _sfc_main$s,
253
- SidebarGroup: _sfc_main$t,
248
+ SheetTrigger: _sfc_main$n,
249
+ Sidebar: _sfc_main$o,
250
+ SidebarContent: _sfc_main$p,
251
+ SidebarElement: _sfc_main$q,
252
+ SidebarFooter: _sfc_main$r,
253
+ SidebarGroup: _sfc_main$s,
254
254
  SidebarGroupContent: sidebarGroupContent,
255
- SidebarGroupLabel: _sfc_main$u,
256
- SidebarHeader: _sfc_main$v,
257
- SidebarMenu: _sfc_main$w,
258
- SidebarMenuAction: _sfc_main$x,
259
- SidebarMenuBadge: _sfc_main$y,
260
- SidebarMenuButton: _sfc_main$z,
261
- SidebarMenuItem: _sfc_main$A,
262
- SidebarMenuSub: _sfc_main$B,
263
- SidebarMenuSubButton: _sfc_main$C,
264
- SidebarMenuSubItem: _sfc_main$D,
265
- SidebarProvider: _sfc_main$E,
266
- SidebarSeparator: _sfc_main$F,
255
+ SidebarGroupLabel: _sfc_main$t,
256
+ SidebarHeader: _sfc_main$u,
257
+ SidebarMenu: _sfc_main$v,
258
+ SidebarMenuAction: _sfc_main$w,
259
+ SidebarMenuBadge: _sfc_main$x,
260
+ SidebarMenuButton: _sfc_main$y,
261
+ SidebarMenuItem: _sfc_main$z,
262
+ SidebarMenuSub: _sfc_main$A,
263
+ SidebarMenuSubButton: _sfc_main$B,
264
+ SidebarMenuSubItem: _sfc_main$C,
265
+ SidebarProvider: _sfc_main$D,
266
+ SidebarSeparator: _sfc_main$E,
267
267
  SidebarTrigger: sidebarTrigger,
268
- Slider: _sfc_main$G,
268
+ Slider: _sfc_main$F,
269
269
  SocialButton: socialButton,
270
- Sonner: _sfc_main$H,
270
+ Sonner: _sfc_main$G,
271
271
  SonnerAlert,
272
272
  StatusBadge: statusBadge,
273
- Switch: _sfc_main$I,
273
+ Switch: _sfc_main$H,
274
274
  TabMenu: tabMenu,
275
275
  TabMenuContent: tabMenuContent,
276
276
  TabMenuItem: tabMenuItem,
@@ -280,11 +280,11 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
280
280
  TextInputAffix,
281
281
  TextInputButton,
282
282
  Textarea: textarea,
283
- Tooltip: _sfc_main$J,
283
+ Tooltip: _sfc_main$I,
284
284
  TooltipContent,
285
- TooltipProvider: _sfc_main$K,
286
- TooltipRoot: _sfc_main$L,
287
- TooltipTrigger: _sfc_main$M
285
+ TooltipProvider: _sfc_main$J,
286
+ TooltipRoot: _sfc_main$K,
287
+ TooltipTrigger: _sfc_main$L
288
288
  }, Symbol.toStringTag, { value: "Module" }));
289
289
  function createToast(title, data) {
290
290
  const {
@@ -423,51 +423,51 @@ export {
423
423
  SIDEBAR_WIDTH,
424
424
  SIDEBAR_WIDTH_ICON,
425
425
  SIDEBAR_WIDTH_MOBILE,
426
- _sfc_main$k as ScrollArea,
426
+ scrollArea as ScrollArea,
427
427
  segmentedControl as SegmentedControl,
428
428
  segmentedControlItem as SegmentedControlItem,
429
- _sfc_main$l as Select,
429
+ _sfc_main$k as Select,
430
430
  SelectContent,
431
- _sfc_main$m as SelectGroup,
431
+ _sfc_main$l as SelectGroup,
432
432
  SelectIcon,
433
433
  SelectItem,
434
434
  selectLabel as SelectLabel,
435
435
  selectSeparator as SelectSeparator,
436
436
  SelectTrigger,
437
437
  SelectValue,
438
- _sfc_main$n as Sheet,
438
+ _sfc_main$m as Sheet,
439
439
  sheetClose as SheetClose,
440
440
  SheetContent,
441
441
  sheetDescription as SheetDescription,
442
442
  sheetFooter as SheetFooter,
443
443
  sheetHeader as SheetHeader,
444
444
  sheetTitle as SheetTitle,
445
- _sfc_main$o as SheetTrigger,
446
- _sfc_main$p as Sidebar,
447
- _sfc_main$q as SidebarContent,
448
- _sfc_main$r as SidebarElement,
449
- _sfc_main$s as SidebarFooter,
450
- _sfc_main$t as SidebarGroup,
445
+ _sfc_main$n as SheetTrigger,
446
+ _sfc_main$o as Sidebar,
447
+ _sfc_main$p as SidebarContent,
448
+ _sfc_main$q as SidebarElement,
449
+ _sfc_main$r as SidebarFooter,
450
+ _sfc_main$s as SidebarGroup,
451
451
  sidebarGroupContent as SidebarGroupContent,
452
- _sfc_main$u as SidebarGroupLabel,
453
- _sfc_main$v as SidebarHeader,
454
- _sfc_main$w as SidebarMenu,
455
- _sfc_main$x as SidebarMenuAction,
456
- _sfc_main$y as SidebarMenuBadge,
457
- _sfc_main$z as SidebarMenuButton,
458
- _sfc_main$A as SidebarMenuItem,
459
- _sfc_main$B as SidebarMenuSub,
460
- _sfc_main$C as SidebarMenuSubButton,
461
- _sfc_main$D as SidebarMenuSubItem,
462
- _sfc_main$E as SidebarProvider,
463
- _sfc_main$F as SidebarSeparator,
452
+ _sfc_main$t as SidebarGroupLabel,
453
+ _sfc_main$u as SidebarHeader,
454
+ _sfc_main$v as SidebarMenu,
455
+ _sfc_main$w as SidebarMenuAction,
456
+ _sfc_main$x as SidebarMenuBadge,
457
+ _sfc_main$y as SidebarMenuButton,
458
+ _sfc_main$z as SidebarMenuItem,
459
+ _sfc_main$A as SidebarMenuSub,
460
+ _sfc_main$B as SidebarMenuSubButton,
461
+ _sfc_main$C as SidebarMenuSubItem,
462
+ _sfc_main$D as SidebarProvider,
463
+ _sfc_main$E as SidebarSeparator,
464
464
  sidebarTrigger as SidebarTrigger,
465
- _sfc_main$G as Slider,
465
+ _sfc_main$F as Slider,
466
466
  socialButton as SocialButton,
467
- _sfc_main$H as Sonner,
467
+ _sfc_main$G as Sonner,
468
468
  SonnerAlert,
469
469
  statusBadge as StatusBadge,
470
- _sfc_main$I as Switch,
470
+ _sfc_main$H as Switch,
471
471
  tabMenu as TabMenu,
472
472
  tabMenuContent as TabMenuContent,
473
473
  tabMenuItem as TabMenuItem,
@@ -477,11 +477,11 @@ export {
477
477
  TextInputAffix,
478
478
  TextInputButton,
479
479
  textarea as Textarea,
480
- _sfc_main$J as Tooltip,
480
+ _sfc_main$I as Tooltip,
481
481
  TooltipContent,
482
- _sfc_main$K as TooltipProvider,
483
- _sfc_main$L as TooltipRoot,
484
- _sfc_main$M as TooltipTrigger,
482
+ _sfc_main$J as TooltipProvider,
483
+ _sfc_main$K as TooltipRoot,
484
+ _sfc_main$L as TooltipTrigger,
485
485
  bumpColorValue,
486
486
  clamp,
487
487
  getAbsolutePosition,
package/dist/es/label.js CHANGED
@@ -2,7 +2,7 @@ import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, re
2
2
  import { _ as _sfc_main$1 } from "./chunks/tooltip.js";
3
3
  import { useDelegatedProps } from "./use-delegated-props.js";
4
4
  import { c as clsx } from "./chunks/clsx.js";
5
- import { J as Vh } from "./chunks/index.js";
5
+ import { V as Vh } from "./chunks/index.js";
6
6
  /* empty css */
7
7
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
8
8
  const _hoisted_1 = {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, Transition, mergeProps, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { S as Se, ag as Iv, ah as $u, ai as Pu } from "./chunks/index.js";
4
+ import { S as Se, ad as Iv, ae as $u, af as Pu } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createBlock, createElementVNode, withCtx, toDisplayString, createVNode } from "vue";
2
2
  import CompactButton from "./compact-button.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { aj as Bu, ak as Iu, X as Xl } from "./chunks/index.js";
4
+ import { ag as Bu, ah as Iu, X as Xl } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = ["data-dismissible", "data-alignment", "data-type"];
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { al as Py } from "./chunks/index.js";
3
+ import { ai as Py } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { am as xy } from "./chunks/index.js";
3
+ import { aj as xy } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createElementBlock, createCommentVNode, createElementVNode, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { S as Se, an as _y } from "./chunks/index.js";
3
+ import { S as Se, ak as _y } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -2,7 +2,7 @@ import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, m
2
2
  import CompactButton from "./compact-button.js";
3
3
  import { useDelegatedProps } from "./use-delegated-props.js";
4
4
  import { c as clsx } from "./chunks/clsx.js";
5
- import { S as Se, ao as _s, ap as Ss, aq as Es, ar as Ps } from "./chunks/index.js";
5
+ import { S as Se, al as _s, am as Ss, an as Es, ao as Ps } from "./chunks/index.js";
6
6
  /* empty css */
7
7
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
8
8
  const _hoisted_1 = ["data-icon-size"];
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { as as ws } from "./chunks/index.js";
2
+ import { ap as ws } from "./chunks/index.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useCssVars, computed, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, renderSlot, createTextVNode, unref, mergeProps, withCtx } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { at as Ry, au as Ay } from "./chunks/index.js";
4
+ import { aq as Ry, ar as Ay } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = ["data-layout"];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useCssVars, computed, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, createElementBlock, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { at as Ry, au as Ay } from "./chunks/index.js";
4
+ import { aq as Ry, ar as Ay } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = ["width", "height"];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createElementBlock, createCommentVNode, createElementVNode, createVNode, normalizeClass, renderSlot, Fragment } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { J as Vh, h as O } from "./chunks/index.js";
4
+ import { V as Vh, h as O } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = { class: "celeste-radio-card-content" };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, createElementVNode, renderSlot, createCommentVNode } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { J as Vh, h as O } from "./chunks/index.js";
4
+ import { V as Vh, h as O } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = { role: "presentation" };
@@ -1,4 +1,44 @@
1
- import { _ as _sfc_main } from "./chunks/scroll-area.js";
1
+ import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createVNode, renderSlot } from "vue";
2
+ import { useDelegatedProps } from "./use-delegated-props.js";
3
+ import { as as Vy, at as Fy, au as zy } from "./chunks/index.js";
4
+ import { c as clsx } from "./chunks/clsx.js";
5
+ import ScrollBar from "./scroll-bar.js";
6
+ /* empty css */
7
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "scroll-area",
10
+ props: {
11
+ type: {},
12
+ dir: {},
13
+ scrollHideDelay: {},
14
+ asChild: { type: Boolean },
15
+ as: {},
16
+ class: {}
17
+ },
18
+ setup(__props) {
19
+ const props = __props;
20
+ const delegatedProps = useDelegatedProps(props, "class");
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createBlock(unref(Vy), mergeProps(unref(delegatedProps), {
23
+ class: unref(clsx)("celeste-scroll-area", props.class)
24
+ }), {
25
+ default: withCtx(() => [
26
+ createVNode(unref(Fy), { class: "celeste-scroll-area-viewport" }, {
27
+ default: withCtx(() => [
28
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
29
+ ]),
30
+ _: 3
31
+ }),
32
+ createVNode(ScrollBar),
33
+ createVNode(ScrollBar, { orientation: "horizontal" }),
34
+ createVNode(unref(zy))
35
+ ]),
36
+ _: 3
37
+ }, 16, ["class"]);
38
+ };
39
+ }
40
+ });
41
+ const scrollArea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-10330f2c"]]);
2
42
  export {
3
- _sfc_main as default
43
+ scrollArea as default
4
44
  };
@@ -1,6 +1,7 @@
1
- import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, createVNode } from "vue";
2
- import { c as clsx } from "./chunks/clsx.js";
1
+ import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, createVNode } from "vue";
2
+ import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { aL as Ny, aM as Ly } from "./chunks/index.js";
4
+ import { c as clsx } from "./chunks/clsx.js";
4
5
  /* empty css */
5
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -14,28 +15,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  },
15
16
  setup(__props) {
16
17
  const props = __props;
17
- const delegatedProps = computed(() => {
18
- const { class: _, ...delegated } = props;
19
- return delegated;
20
- });
18
+ const delegatedProps = useDelegatedProps(props, "class");
21
19
  return (_ctx, _cache) => {
22
- return openBlock(), createBlock(unref(Ny), mergeProps(delegatedProps.value, {
23
- class: unref(clsx)(
24
- "flex touch-none select-none transition-colors",
25
- _ctx.orientation === "vertical" && "h-full w-1.5 border-l border-l-transparent p-px",
26
- _ctx.orientation === "horizontal" && "h-1.5 flex-col border-t border-t-transparent p-px",
27
- props.class
28
- )
20
+ return openBlock(), createBlock(unref(Ny), mergeProps(unref(delegatedProps), {
21
+ class: unref(clsx)("celeste-scroll-bar", props.class)
29
22
  }), {
30
23
  default: withCtx(() => [
31
- createVNode(unref(Ly), { class: "thumb relative flex-1 rounded-full" })
24
+ createVNode(unref(Ly), { class: "celeste-scroll-bar-thumb" })
32
25
  ]),
33
26
  _: 1
34
27
  }, 16, ["class"]);
35
28
  };
36
29
  }
37
30
  });
38
- const ScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-96c265fe"]]);
31
+ const ScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-17b65f8b"]]);
39
32
  export {
40
33
  ScrollBar as default
41
34
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
2
2
  import CompactButton from "./compact-button.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { S as Se, ag as Iv, ah as $u, ai as Pu, X as Xl } from "./chunks/index.js";
4
+ import { S as Se, ad as Iv, ae as $u, af as Pu, X as Xl } from "./chunks/index.js";
5
5
  import { r as reactiveOmit } from "./chunks/index2.js";
6
6
  /* empty css */
7
7
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { ak as Iu } from "./chunks/index.js";
3
+ import { ah as Iu } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { aj as Bu } from "./chunks/index.js";
3
+ import { ag as Bu } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { G as _g } from "./chunks/index.js";
4
+ import { A as _g } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, createCommentVNode } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { O as Ot, A as xg } from "./chunks/index.js";
4
+ import { O as Ot, z as xg } from "./chunks/index.js";
5
5
  /* empty css */
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = {
@@ -89,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
89
  };
90
90
  }
91
91
  });
92
- const TooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-14ac7b61"]]);
92
+ const TooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-adcfc2c6"]]);
93
93
  export {
94
94
  TooltipContent as default
95
95
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.74",
4
+ "version": "0.6.75",
5
5
  "author": "YouCan <tech@youcan.shop>",
6
6
  "keywords": [
7
7
  "youcan",
@@ -44,8 +44,8 @@
44
44
  "radix-vue": "^1.9.17",
45
45
  "tinycolor2": "^1.6.0",
46
46
  "vue-sonner": "^2.0.9",
47
- "@youcan/celeste-tokens": "0.6.74",
48
- "@youcan/celeste-icons": "0.6.74"
47
+ "@youcan/celeste-icons": "0.6.75",
48
+ "@youcan/celeste-tokens": "0.6.75"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@chromatic-com/storybook": "^4.1.3",
@@ -197,7 +197,7 @@ $alert-states: ('error' 'feature' 'warning' 'success' 'information');
197
197
  .celeste-alert {
198
198
  display: flex;
199
199
  box-sizing: border-box;
200
- align-items: start;
200
+ align-items: flex-start;
201
201
  width: 100%;
202
202
 
203
203
  &-inner {
@@ -35,7 +35,7 @@ export interface HintTextProps {
35
35
  <style lang="scss" scoped>
36
36
  .celeste-hint-text {
37
37
  display: flex;
38
- align-items: start;
38
+ align-items: flex-start;
39
39
  gap: var(--spacing-4);
40
40
  color: var(--color-text-sub-600);
41
41
  font: var(--paragraph-xs);