@youcan/celeste 0.6.73 → 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 (334) hide show
  1. package/dist/celeste.css +233 -201
  2. package/dist/cjs/alert.js +33 -33
  3. package/dist/cjs/badge.js +17 -14
  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 +2292 -2289
  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 +125 -96
  20. package/dist/cjs/chunks/index5.js +4720 -4015
  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 +742 -45
  33. package/dist/cjs/chunks/select-group.js +5 -5
  34. package/dist/cjs/chunks/select.js +7 -7
  35. package/dist/cjs/chunks/sheet-trigger.js +5 -5
  36. package/dist/cjs/chunks/sheet.js +6 -6
  37. package/dist/cjs/chunks/sidebar-content.js +5 -5
  38. package/dist/cjs/chunks/sidebar-element.js +6 -6
  39. package/dist/cjs/chunks/sidebar-footer.js +5 -5
  40. package/dist/cjs/chunks/sidebar-group-label.js +6 -6
  41. package/dist/cjs/chunks/sidebar-group.js +5 -5
  42. package/dist/cjs/chunks/sidebar-header.js +5 -5
  43. package/dist/cjs/chunks/sidebar-menu-action.js +6 -6
  44. package/dist/cjs/chunks/sidebar-menu-badge.js +4 -4
  45. package/dist/cjs/chunks/sidebar-menu-button.js +7 -7
  46. package/dist/cjs/chunks/sidebar-menu-item.js +5 -5
  47. package/dist/cjs/chunks/sidebar-menu-sub-button.js +6 -6
  48. package/dist/cjs/chunks/sidebar-menu-sub-item.js +5 -5
  49. package/dist/cjs/chunks/sidebar-menu-sub.js +5 -5
  50. package/dist/cjs/chunks/sidebar-menu.js +5 -5
  51. package/dist/cjs/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +9 -9
  52. package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +5 -4
  53. package/dist/cjs/chunks/sidebar.js +21 -21
  54. package/dist/cjs/chunks/slider.js +11 -11
  55. package/dist/cjs/chunks/sonner.js +214 -146
  56. package/dist/cjs/chunks/switch.js +7 -7
  57. package/dist/cjs/chunks/tinycolor.js +2 -2
  58. package/dist/cjs/chunks/tooltip-provider.js +5 -5
  59. package/dist/cjs/chunks/tooltip-root.js +7 -7
  60. package/dist/cjs/chunks/tooltip-trigger.js +6 -6
  61. package/dist/cjs/chunks/tooltip.js +12 -12
  62. package/dist/cjs/color-area.js +16 -16
  63. package/dist/cjs/color-picker.js +102 -102
  64. package/dist/cjs/color-swatch.js +11 -11
  65. package/dist/cjs/combobox-empty.js +7 -7
  66. package/dist/cjs/combobox-group.js +11 -11
  67. package/dist/cjs/combobox-input.js +12 -12
  68. package/dist/cjs/combobox-item.js +24 -24
  69. package/dist/cjs/combobox-list.js +12 -12
  70. package/dist/cjs/combobox-root.js +7 -6
  71. package/dist/cjs/combobox-separator.js +7 -7
  72. package/dist/cjs/combobox-trigger.js +8 -8
  73. package/dist/cjs/combobox.js +54 -53
  74. package/dist/cjs/command-group.js +10 -10
  75. package/dist/cjs/command-input.js +8 -8
  76. package/dist/cjs/command-item.js +7 -7
  77. package/dist/cjs/command-list.js +8 -8
  78. package/dist/cjs/command-root.js +8 -7
  79. package/dist/cjs/command-separator.js +7 -7
  80. package/dist/cjs/compact-button.js +7 -7
  81. package/dist/cjs/config.js +2 -2
  82. package/dist/cjs/digit-input-group.js +7 -7
  83. package/dist/cjs/digit-input-slot.js +5 -5
  84. package/dist/cjs/digit-input.js +7 -7
  85. package/dist/cjs/dropdown-menu-content.js +9 -9
  86. package/dist/cjs/dropdown-menu-group.js +5 -5
  87. package/dist/cjs/dropdown-menu-item.js +14 -14
  88. package/dist/cjs/dropdown-menu-label.js +7 -7
  89. package/dist/cjs/dropdown-menu-separator.js +4 -4
  90. package/dist/cjs/dropdown-menu-sub-content.js +9 -9
  91. package/dist/cjs/dropdown-menu-sub-trigger.js +12 -12
  92. package/dist/cjs/dropdown-menu-trigger.js +6 -6
  93. package/dist/cjs/dropdown-menu.js +7 -7
  94. package/dist/cjs/extra-settings.js +21 -21
  95. package/dist/cjs/fancy-button.js +6 -6
  96. package/dist/cjs/file-upload-area.js +22 -22
  97. package/dist/cjs/hint-text.js +9 -9
  98. package/dist/cjs/hue-slider.js +15 -15
  99. package/dist/cjs/index.js +5 -5
  100. package/dist/cjs/label.js +13 -13
  101. package/dist/cjs/link-bubble.js +40 -40
  102. package/dist/cjs/link-button.js +6 -6
  103. package/dist/cjs/modal-body.js +5 -5
  104. package/dist/cjs/modal-content.js +12 -12
  105. package/dist/cjs/modal-footer.js +5 -5
  106. package/dist/cjs/modal-header.js +22 -22
  107. package/dist/cjs/pagination-content.js +6 -6
  108. package/dist/cjs/pagination-ellipsis.js +8 -8
  109. package/dist/cjs/pagination.js +14 -14
  110. package/dist/cjs/popover-content.js +30 -30
  111. package/dist/cjs/popover-trigger.js +5 -5
  112. package/dist/cjs/progress-bar.js +19 -19
  113. package/dist/cjs/progress-circle.js +20 -20
  114. package/dist/cjs/radio-group-card.js +33 -33
  115. package/dist/cjs/radio-group-label.js +31 -31
  116. package/dist/cjs/rich-editor.js +76 -76
  117. package/dist/cjs/scroll-area.js +42 -2
  118. package/dist/cjs/scroll-bar.js +10 -17
  119. package/dist/cjs/segmented-control-item.js +6 -8
  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 +21 -21
  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 +4 -2
  166. package/dist/components/rich-editor/link-bubble.d.ts +3 -1
  167. package/dist/components/scroll-area/scroll-area.d.ts +1 -1
  168. package/dist/components/scroll-area/scroll-bar.d.ts +1 -1
  169. package/dist/es/alert.js +2 -2
  170. package/dist/es/badge.js +6 -3
  171. package/dist/es/button.js +2 -2
  172. package/dist/es/checkbox-card.js +3 -3
  173. package/dist/es/checkbox-label.js +3 -3
  174. package/dist/es/chunks/alpha-slider.js +1 -1
  175. package/dist/es/chunks/checkbox.js +5 -5
  176. package/dist/es/chunks/collapsible-content.js +3 -3
  177. package/dist/es/chunks/collapsible-trigger.js +3 -3
  178. package/dist/es/chunks/collapsible.js +4 -4
  179. package/dist/es/chunks/combobox-anchor.js +4 -4
  180. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +3 -3
  181. package/dist/es/chunks/counter-input.js +7 -7
  182. package/dist/es/chunks/dropdown-menu-sub.js +4 -4
  183. package/dist/es/chunks/index.js +1156 -1153
  184. package/dist/es/chunks/index2.js +3 -3
  185. package/dist/es/chunks/index3.js +2 -2
  186. package/dist/es/chunks/index4.js +119 -90
  187. package/dist/es/chunks/index5.js +4733 -4028
  188. package/dist/es/chunks/modal-close.js +3 -3
  189. package/dist/es/chunks/modal-trigger.js +3 -3
  190. package/dist/es/chunks/modal.js +4 -4
  191. package/dist/es/chunks/pagination-first.js +4 -4
  192. package/dist/es/chunks/pagination-item.js +3 -3
  193. package/dist/es/chunks/pagination-last.js +4 -4
  194. package/dist/es/chunks/pagination-next.js +4 -4
  195. package/dist/es/chunks/pagination-previous.js +4 -4
  196. package/dist/es/chunks/popover.js +4 -4
  197. package/dist/es/chunks/radio-group-item.js +5 -5
  198. package/dist/es/chunks/radio-group.js +4 -4
  199. package/dist/es/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +743 -46
  200. package/dist/es/chunks/select-group.js +3 -3
  201. package/dist/es/chunks/select.js +4 -4
  202. package/dist/es/chunks/sheet-trigger.js +3 -3
  203. package/dist/es/chunks/sheet.js +4 -4
  204. package/dist/es/chunks/sidebar-content.js +1 -1
  205. package/dist/es/chunks/sidebar-element.js +2 -2
  206. package/dist/es/chunks/sidebar-footer.js +1 -1
  207. package/dist/es/chunks/sidebar-group-label.js +2 -2
  208. package/dist/es/chunks/sidebar-group.js +1 -1
  209. package/dist/es/chunks/sidebar-header.js +1 -1
  210. package/dist/es/chunks/sidebar-menu-action.js +2 -2
  211. package/dist/es/chunks/sidebar-menu-badge.js +1 -1
  212. package/dist/es/chunks/sidebar-menu-button.js +2 -2
  213. package/dist/es/chunks/sidebar-menu-item.js +1 -1
  214. package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
  215. package/dist/es/chunks/sidebar-menu-sub-item.js +1 -1
  216. package/dist/es/chunks/sidebar-menu-sub.js +1 -1
  217. package/dist/es/chunks/sidebar-menu.js +1 -1
  218. package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +3 -3
  219. package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +2 -1
  220. package/dist/es/chunks/sidebar.js +1 -1
  221. package/dist/es/chunks/slider.js +7 -7
  222. package/dist/es/chunks/sonner.js +97 -29
  223. package/dist/es/chunks/switch.js +5 -5
  224. package/dist/es/chunks/tinycolor.js +2 -2
  225. package/dist/es/chunks/tooltip-provider.js +3 -3
  226. package/dist/es/chunks/tooltip-root.js +4 -4
  227. package/dist/es/chunks/tooltip-trigger.js +4 -4
  228. package/dist/es/chunks/tooltip.js +3 -3
  229. package/dist/es/color-area.js +2 -2
  230. package/dist/es/color-picker.js +5 -5
  231. package/dist/es/color-swatch.js +1 -1
  232. package/dist/es/combobox-empty.js +3 -3
  233. package/dist/es/combobox-group.js +4 -4
  234. package/dist/es/combobox-input.js +3 -3
  235. package/dist/es/combobox-item.js +4 -4
  236. package/dist/es/combobox-list.js +6 -6
  237. package/dist/es/combobox-root.js +5 -4
  238. package/dist/es/combobox-separator.js +3 -3
  239. package/dist/es/combobox-trigger.js +4 -4
  240. package/dist/es/combobox.js +4 -3
  241. package/dist/es/command-group.js +4 -4
  242. package/dist/es/command-input.js +4 -4
  243. package/dist/es/command-item.js +4 -4
  244. package/dist/es/command-list.js +4 -4
  245. package/dist/es/command-root.js +5 -4
  246. package/dist/es/command-separator.js +3 -3
  247. package/dist/es/compact-button.js +2 -2
  248. package/dist/es/digit-input-group.js +3 -3
  249. package/dist/es/digit-input-slot.js +4 -4
  250. package/dist/es/digit-input.js +4 -4
  251. package/dist/es/dropdown-menu-content.js +5 -5
  252. package/dist/es/dropdown-menu-group.js +3 -3
  253. package/dist/es/dropdown-menu-item.js +4 -4
  254. package/dist/es/dropdown-menu-label.js +4 -4
  255. package/dist/es/dropdown-menu-separator.js +3 -3
  256. package/dist/es/dropdown-menu-sub-content.js +5 -5
  257. package/dist/es/dropdown-menu-sub-trigger.js +4 -4
  258. package/dist/es/dropdown-menu-trigger.js +4 -4
  259. package/dist/es/dropdown-menu.js +4 -4
  260. package/dist/es/extra-settings.js +1 -1
  261. package/dist/es/fancy-button.js +2 -2
  262. package/dist/es/file-upload-area.js +1 -1
  263. package/dist/es/hint-text.js +2 -2
  264. package/dist/es/hue-slider.js +3 -3
  265. package/dist/es/index.js +90 -90
  266. package/dist/es/label.js +3 -3
  267. package/dist/es/link-bubble.js +1 -1
  268. package/dist/es/link-button.js +2 -2
  269. package/dist/es/modal-body.js +1 -1
  270. package/dist/es/modal-content.js +6 -6
  271. package/dist/es/modal-footer.js +1 -1
  272. package/dist/es/modal-header.js +5 -5
  273. package/dist/es/pagination-content.js +3 -3
  274. package/dist/es/pagination-ellipsis.js +3 -3
  275. package/dist/es/pagination.js +4 -4
  276. package/dist/es/popover-content.js +7 -7
  277. package/dist/es/popover-trigger.js +3 -3
  278. package/dist/es/progress-bar.js +4 -4
  279. package/dist/es/progress-circle.js +4 -4
  280. package/dist/es/radio-group-card.js +3 -3
  281. package/dist/es/radio-group-label.js +3 -3
  282. package/dist/es/rich-editor.js +4 -4
  283. package/dist/es/scroll-area.js +42 -2
  284. package/dist/es/scroll-bar.js +8 -15
  285. package/dist/es/segmented-control-item.js +3 -5
  286. package/dist/es/segmented-control.js +4 -4
  287. package/dist/es/select-content.js +6 -6
  288. package/dist/es/select-icon.js +1 -1
  289. package/dist/es/select-item.js +5 -5
  290. package/dist/es/select-label.js +3 -3
  291. package/dist/es/select-separator.js +3 -3
  292. package/dist/es/select-trigger.js +4 -4
  293. package/dist/es/select-value.js +3 -3
  294. package/dist/es/sheet-close.js +3 -3
  295. package/dist/es/sheet-content.js +7 -7
  296. package/dist/es/sheet-description.js +3 -3
  297. package/dist/es/sheet-footer.js +1 -1
  298. package/dist/es/sheet-header.js +1 -1
  299. package/dist/es/sheet-title.js +3 -3
  300. package/dist/es/sidebar-group-content.js +1 -1
  301. package/dist/es/sidebar-trigger.js +1 -1
  302. package/dist/es/social-button.js +2 -2
  303. package/dist/es/sonner-alert.js +1 -1
  304. package/dist/es/status-badge.js +1 -1
  305. package/dist/es/tab-menu-content.js +3 -3
  306. package/dist/es/tab-menu-item.js +4 -4
  307. package/dist/es/tab-menu-list.js +3 -3
  308. package/dist/es/tab-menu.js +4 -4
  309. package/dist/es/table-body.js +1 -1
  310. package/dist/es/table-caption.js +1 -1
  311. package/dist/es/table-cell.js +1 -1
  312. package/dist/es/table-empty.js +1 -1
  313. package/dist/es/table-footer.js +1 -1
  314. package/dist/es/table-head.js +1 -1
  315. package/dist/es/table-header.js +1 -1
  316. package/dist/es/table-row.js +1 -1
  317. package/dist/es/table.js +1 -1
  318. package/dist/es/tag.js +2 -2
  319. package/dist/es/text-input-affix.js +1 -1
  320. package/dist/es/text-input-button.js +1 -1
  321. package/dist/es/text-input.js +2 -2
  322. package/dist/es/textarea.js +1 -1
  323. package/dist/es/tooltip-content.js +7 -7
  324. package/dist/es/use-sidebar.js +2 -2
  325. package/package.json +3 -3
  326. package/src/components/alert/alert.vue +1 -1
  327. package/src/components/badge/badge.vue +5 -1
  328. package/src/components/hint-text/hint-text.vue +1 -1
  329. package/src/components/scroll-area/scroll-area.vue +22 -8
  330. package/src/components/scroll-area/scroll-bar.vue +33 -17
  331. package/src/components/scroll-area/stories/scroll-area.stories.ts +184 -0
  332. package/src/components/tooltip/tooltip-content.vue +1 -0
  333. package/dist/cjs/chunks/scroll-area.js +0 -41
  334. package/dist/es/chunks/scroll-area.js +0 -42
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,6 +1,6 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
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 Pu } 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";
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  const props = __props;
16
16
  const delegatedProps = reactiveOmit(props, "class");
17
17
  return (_ctx, _cache) => {
18
- return openBlock(), createBlock(unref(Pu), mergeProps({
18
+ return openBlock(), createBlock(unref(Bu), mergeProps({
19
19
  class: unref(clsx)("celeste-sheet-title", props.class)
20
20
  }, unref(delegatedProps)), {
21
21
  default: withCtx(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode } from "vue";
2
2
  import CompactButton from "./compact-button.js";
3
3
  import { useSidebar } from "./use-sidebar.js";
4
4
  import { c as clsx } from "./chunks/clsx.js";
@@ -1,6 +1,6 @@
1
- import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createElementVNode, createElementBlock, toDisplayString, createCommentVNode } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode, createElementBlock, createCommentVNode, toDisplayString } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { f as O } from "./chunks/index.js";
3
+ import { h as O } from "./chunks/index.js";
4
4
  /* empty css */
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = {
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createTextVNode, toDisplayString } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, mergeProps, createSlots, withCtx, createTextVNode, toDisplayString } from "vue";
2
2
  import Alert from "./alert.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
1
+ import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,7 +1,7 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
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 { H as bg } 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({
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  const props = __props;
18
18
  const delegatedProps = useDelegatedProps(props, "class");
19
19
  return (_ctx, _cache) => {
20
- return openBlock(), createBlock(unref(bg), mergeProps({
20
+ return openBlock(), createBlock(unref(_g), mergeProps({
21
21
  class: unref(clsx)("celeste-tab-menu-content", props.class)
22
22
  }, unref(delegatedProps)), {
23
23
  default: withCtx(() => [
@@ -1,7 +1,7 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, createCommentVNode } from "vue";
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 { A as At, D as Cg } 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 = {
@@ -20,9 +20,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  setup(__props) {
21
21
  const props = __props;
22
22
  const delegatedProps = useDelegatedProps(props, "class");
23
- const forwardedProps = At(delegatedProps);
23
+ const forwardedProps = Ot(delegatedProps);
24
24
  return (_ctx, _cache) => {
25
- return openBlock(), createBlock(unref(Cg), mergeProps(unref(forwardedProps), {
25
+ return openBlock(), createBlock(unref(xg), mergeProps(unref(forwardedProps), {
26
26
  class: unref(clsx)(
27
27
  "celeste-tab-menu-item",
28
28
  props.class
@@ -1,7 +1,7 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
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 { C as gg } from "./chunks/index.js";
4
+ import { y as wg } 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({
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  const props = __props;
17
17
  const delegatedProps = useDelegatedProps(props, "class");
18
18
  return (_ctx, _cache) => {
19
- return openBlock(), createBlock(unref(gg), mergeProps(unref(delegatedProps), {
19
+ return openBlock(), createBlock(unref(wg), mergeProps(unref(delegatedProps), {
20
20
  class: unref(clsx)(
21
21
  "celeste-tab-menu-list",
22
22
  props.class
@@ -1,5 +1,5 @@
1
- import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { x as xe, B as yg } from "./chunks/index.js";
1
+ import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
+ import { S as Se, x as Cg } 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({
@@ -17,9 +17,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  setup(__props, { emit: __emit }) {
18
18
  const props = __props;
19
19
  const emits = __emit;
20
- const forwarded = xe(props, emits);
20
+ const forwarded = Se(props, emits);
21
21
  return (_ctx, _cache) => {
22
- return openBlock(), createBlock(unref(yg), mergeProps(unref(forwarded), { class: "celeste-tab-menu-root" }), {
22
+ return openBlock(), createBlock(unref(Cg), mergeProps(unref(forwarded), { class: "celeste-tab-menu-root" }), {
23
23
  default: withCtx(() => [
24
24
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
25
25
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, createElementVNode, renderSlot } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, createElementVNode, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "table-header",
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
package/dist/es/table.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
package/dist/es/tag.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createElementBlock, withModifiers, createElementVNode, createCommentVNode } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, renderSlot, createElementBlock, createCommentVNode, withModifiers, createElementVNode } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { f as O } from "./chunks/index.js";
3
+ import { h as O } from "./chunks/index.js";
4
4
  /* empty css */
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = ["disabled"];
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot } from "vue";
1
+ import { defineComponent, createElementBlock, openBlock, mergeProps, unref, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
4
  /* empty css */
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createBlock, mergeProps, unref, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, createBlock, openBlock, mergeProps, unref, withCtx, renderSlot } from "vue";
2
2
  import Button from "./button.js";
3
3
  import { useDelegatedProps } from "./use-delegated-props.js";
4
4
  import { c as clsx } from "./chunks/clsx.js";
@@ -1,7 +1,7 @@
1
- import { defineComponent, mergeModels, computed, useModel, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, renderSlot, withDirectives, createElementVNode, mergeProps, vModelDynamic, createBlock } from "vue";
1
+ import { defineComponent, mergeModels, computed, useModel, createElementBlock, openBlock, normalizeClass, unref, createVNode, withDirectives, withCtx, renderSlot, createElementVNode, mergeProps, vModelDynamic, createBlock } from "vue";
2
2
  import { uid } from "./crypto.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { f as O } from "./chunks/index.js";
4
+ import { h as O } from "./chunks/index.js";
5
5
  import TextInputButton from "./text-input-button.js";
6
6
  /* empty css */
7
7
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, mergeModels, useModel, openBlock, createElementBlock, normalizeClass, unref, withDirectives, createElementVNode, mergeProps, vModelText, toDisplayString, createCommentVNode } from "vue";
1
+ import { defineComponent, mergeModels, useModel, createElementBlock, openBlock, normalizeClass, unref, withDirectives, createCommentVNode, createElementVNode, mergeProps, vModelText, toDisplayString } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
3
  /* empty css */
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
@@ -1,8 +1,8 @@
1
- import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString, renderSlot } from "vue";
1
+ import { defineComponent, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, createElementBlock, createCommentVNode, createElementVNode, normalizeClass, renderSlot, toDisplayString } from "vue";
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 { x as xe, aI as jg, aJ as Hg, aK as Wg } from "./chunks/index.js";
5
+ import { S as Se, aI as qg, aJ as Ug, aK as Gg } 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 = { class: "celeste-tooltip-content-box" };
@@ -45,15 +45,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  const props = __props;
46
46
  const emits = __emit;
47
47
  const delegated = useDelegatedProps(props, ["class", "size", "variant", "icon", "title", "description", "dismissible", "onDismiss"]);
48
- const forwarded = xe(delegated, emits);
48
+ const forwarded = Se(delegated, emits);
49
49
  function handleDismiss() {
50
50
  var _a;
51
51
  (_a = props.onDismiss) == null ? void 0 : _a.call(props);
52
52
  }
53
53
  return (_ctx, _cache) => {
54
- return openBlock(), createBlock(unref(jg), { class: "celeste-tooltip-portal" }, {
54
+ return openBlock(), createBlock(unref(qg), { class: "celeste-tooltip-portal" }, {
55
55
  default: withCtx(() => [
56
- createVNode(unref(Hg), mergeProps(unref(forwarded), {
56
+ createVNode(unref(Ug), mergeProps(unref(forwarded), {
57
57
  size: _ctx.size,
58
58
  variant: _ctx.variant,
59
59
  class: unref(clsx)("celeste-tooltip-content", props.class)
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  icon: "i-celeste-close-line",
75
75
  onClick: handleDismiss
76
76
  })) : createCommentVNode("", true),
77
- createVNode(unref(Wg), { "as-child": "" }, {
77
+ createVNode(unref(Gg), { "as-child": "" }, {
78
78
  default: withCtx(() => _cache[0] || (_cache[0] = [
79
79
  createElementVNode("span", { class: "celeste-tooltip-content-arrow" }, null, -1)
80
80
  ])),
@@ -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
  };
@@ -1,11 +1,11 @@
1
- import { Q } from "./chunks/index.js";
1
+ import { t as te } from "./chunks/index.js";
2
2
  const SIDEBAR_COOKIE_NAME = "sidebar_state";
3
3
  const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
4
4
  const SIDEBAR_WIDTH = "17rem";
5
5
  const SIDEBAR_WIDTH_MOBILE = "18rem";
6
6
  const SIDEBAR_WIDTH_ICON = "52px";
7
7
  const SIDEBAR_KEYBOARD_SHORTCUT = "b";
8
- const [useSidebar, provideSidebarContext] = Q("Sidebar");
8
+ const [useSidebar, provideSidebarContext] = te("Sidebar");
9
9
  export {
10
10
  SIDEBAR_COOKIE_MAX_AGE,
11
11
  SIDEBAR_COOKIE_NAME,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.73",
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.73",
48
- "@youcan/celeste-icons": "0.6.73"
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 {
@@ -40,7 +40,7 @@ export interface BadgeProps {
40
40
  >
41
41
  <i v-if="type === 'dot'" class="dot i-celeste-dot" />
42
42
  <i v-if="type === 'leading-icon'" :class="icon" />
43
- <span v-if="label">{{ label }}</span>
43
+ <span v-if="label" class="celeste-badge-label">{{ label }}</span>
44
44
  <i v-if="type === 'trailing-icon'" :class="icon" />
45
45
  </div>
46
46
  </template>
@@ -75,6 +75,10 @@ $states: faded, information, warning, error, success, away, feature, verified, h
75
75
  height: 16px;
76
76
  }
77
77
 
78
+ &-label {
79
+ flex-shrink: 0;
80
+ }
81
+
78
82
  &:has(i.dot) {
79
83
  gap: 0;
80
84
  padding-inline-start: var(--spacing-2);
@@ -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);
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import type { HTMLAttributes } from 'vue';
3
+ import { useDelegatedProps } from '@/composables';
2
4
  import clsx from 'clsx';
3
5
  import {
4
6
  ScrollAreaCorner,
@@ -6,24 +8,36 @@ import {
6
8
  type ScrollAreaRootProps,
7
9
  ScrollAreaViewport,
8
10
  } from 'radix-vue';
9
- import { computed, type HTMLAttributes } from 'vue';
10
11
  import ScrollBar from './scroll-bar.vue';
11
12
 
12
13
  const props = defineProps<ScrollAreaRootProps & { class?: HTMLAttributes['class'] }>();
13
14
 
14
- const delegatedProps = computed(() => {
15
- const { class: _, ...delegated } = props;
16
-
17
- return delegated;
18
- });
15
+ const delegatedProps = useDelegatedProps(props, 'class');
19
16
  </script>
20
17
 
21
18
  <template>
22
- <ScrollAreaRoot v-bind="delegatedProps" :class="clsx('relative overflow-hidden', props.class)">
23
- <ScrollAreaViewport class="h-full w-full rounded-[inherit]">
19
+ <ScrollAreaRoot
20
+ v-bind="delegatedProps"
21
+ :class="clsx('celeste-scroll-area', props.class)"
22
+ >
23
+ <ScrollAreaViewport class="celeste-scroll-area-viewport">
24
24
  <slot />
25
25
  </ScrollAreaViewport>
26
26
  <ScrollBar />
27
+ <ScrollBar orientation="horizontal" />
27
28
  <ScrollAreaCorner />
28
29
  </ScrollAreaRoot>
29
30
  </template>
31
+
32
+ <style scoped lang="scss">
33
+ .celeste-scroll-area {
34
+ position: relative;
35
+ overflow: hidden;
36
+ }
37
+
38
+ :deep(.celeste-scroll-area-viewport) {
39
+ width: 100%;
40
+ height: 100%;
41
+ border-radius: inherit;
42
+ }
43
+ </style>
@@ -1,36 +1,52 @@
1
1
  <script setup lang="ts">
2
+ import type { HTMLAttributes } from 'vue';
3
+ import { useDelegatedProps } from '@/composables';
2
4
  import clsx from 'clsx';
3
5
  import { ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb } from 'radix-vue';
4
- import { computed, type HTMLAttributes } from 'vue';
5
6
 
6
7
  const props = withDefaults(defineProps<ScrollAreaScrollbarProps & { class?: HTMLAttributes['class'] }>(), {
7
8
  orientation: 'vertical',
8
9
  });
9
10
 
10
- const delegatedProps = computed(() => {
11
- const { class: _, ...delegated } = props;
12
-
13
- return delegated;
14
- });
11
+ const delegatedProps = useDelegatedProps(props, 'class');
15
12
  </script>
16
13
 
17
14
  <template>
18
15
  <ScrollAreaScrollbar
19
16
  v-bind="delegatedProps"
20
- :class="
21
- clsx('flex touch-none select-none transition-colors',
22
- orientation === 'vertical'
23
- && 'h-full w-1.5 border-l border-l-transparent p-px',
24
- orientation === 'horizontal'
25
- && 'h-1.5 flex-col border-t border-t-transparent p-px',
26
- props.class)"
17
+ :class="clsx('celeste-scroll-bar', props.class)"
27
18
  >
28
- <ScrollAreaThumb class="thumb relative flex-1 rounded-full" />
19
+ <ScrollAreaThumb class="celeste-scroll-bar-thumb" />
29
20
  </ScrollAreaScrollbar>
30
21
  </template>
31
22
 
32
- <style scoped>
33
- .thumb {
34
- background-color: var(--color-bg-soft-200);
23
+ <style scoped lang="scss">
24
+ .celeste-scroll-bar {
25
+ --bar-size: 8px;
26
+
27
+ display: flex;
28
+ user-select: none;
29
+ touch-action: none;
30
+
31
+ &[data-orientation='vertical'] {
32
+ width: var(--bar-size);
33
+ height: 100%;
34
+ padding: var(--spacing-2);
35
+ border-inline-start: 1px solid transparent;
36
+ }
37
+
38
+ &[data-orientation='horizontal'] {
39
+ flex-direction: column;
40
+ height: var(--bar-size);
41
+ padding: var(--spacing-2);
42
+ border-block-start: 1px solid transparent;
43
+ }
44
+ }
45
+
46
+ .celeste-scroll-bar-thumb {
47
+ position: relative;
48
+ flex: 1;
49
+ border-radius: calc(infinity * 1px);
50
+ background-color: var(--color-bg-sub-300);
35
51
  }
36
52
  </style>