@youcan/celeste 0.6.75 → 0.6.80

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 (208) hide show
  1. package/dist/celeste.css +655 -645
  2. package/dist/cjs/alert.js +2 -2
  3. package/dist/cjs/checkbox-card.js +2 -2
  4. package/dist/cjs/checkbox-label.js +2 -2
  5. package/dist/cjs/chunks/checkbox.js +1 -1
  6. package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +5 -5
  7. package/dist/cjs/chunks/counter-input.js +1 -1
  8. package/dist/cjs/chunks/radio-group-item.js +1 -1
  9. package/dist/cjs/chunks/radio-group.js +1 -1
  10. package/dist/cjs/chunks/select.js +1 -1
  11. package/dist/cjs/chunks/sidebar-menu-badge.js +1 -1
  12. package/dist/cjs/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +1 -1
  13. package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +9 -1
  14. package/dist/cjs/chunks/slider.js +1 -1
  15. package/dist/cjs/chunks/switch.js +1 -1
  16. package/dist/cjs/chunks/table-header.js +20 -0
  17. package/dist/cjs/chunks/tooltip-root.js +1 -1
  18. package/dist/cjs/chunks/tooltip.js +1 -1
  19. package/dist/cjs/color-area.js +2 -2
  20. package/dist/cjs/color-picker.js +4 -4
  21. package/dist/cjs/color-swatch.js +3 -3
  22. package/dist/cjs/dropdown-menu-content.js +2 -2
  23. package/dist/cjs/dropdown-menu-item.js +2 -2
  24. package/dist/cjs/dropdown-menu-label.js +2 -2
  25. package/dist/cjs/dropdown-menu-separator.js +2 -2
  26. package/dist/cjs/dropdown-menu-sub-content.js +2 -2
  27. package/dist/cjs/dropdown-menu-sub-trigger.js +2 -2
  28. package/dist/cjs/dropdown-menu.js +2 -2
  29. package/dist/cjs/extra-settings.js +1 -1
  30. package/dist/cjs/file-upload-area.js +2 -2
  31. package/dist/cjs/hue-slider.js +1 -1
  32. package/dist/cjs/index.js +27 -0
  33. package/dist/cjs/label.js +3 -3
  34. package/dist/cjs/link-bubble.js +17 -5
  35. package/dist/cjs/modal-content.js +2 -2
  36. package/dist/cjs/modal-header.js +2 -2
  37. package/dist/cjs/popover-content.js +3 -3
  38. package/dist/cjs/progress-bar.js +3 -3
  39. package/dist/cjs/progress-circle.js +3 -3
  40. package/dist/cjs/radio-group-card.js +2 -2
  41. package/dist/cjs/radio-group-label.js +2 -2
  42. package/dist/cjs/rich-editor.js +9 -9
  43. package/dist/cjs/scroll-area.js +3 -3
  44. package/dist/cjs/scroll-bar.js +3 -3
  45. package/dist/cjs/segmented-control-item.js +2 -2
  46. package/dist/cjs/segmented-control.js +2 -2
  47. package/dist/cjs/select-content.js +2 -2
  48. package/dist/cjs/select-icon.js +2 -2
  49. package/dist/cjs/select-item.js +2 -2
  50. package/dist/cjs/select-label.js +2 -2
  51. package/dist/cjs/select-separator.js +2 -2
  52. package/dist/cjs/select-trigger.js +2 -2
  53. package/dist/cjs/select-value.js +2 -2
  54. package/dist/cjs/sheet-content.js +2 -2
  55. package/dist/cjs/sidebar-trigger.js +2 -2
  56. package/dist/cjs/tab-menu-content.js +2 -2
  57. package/dist/cjs/tab-menu-item.js +2 -2
  58. package/dist/cjs/tab-menu-list.js +2 -2
  59. package/dist/cjs/table-cell.js +1 -0
  60. package/dist/cjs/table-empty.js +2 -1
  61. package/dist/cjs/table-header.js +2 -19
  62. package/dist/cjs/table-row.js +3 -2
  63. package/dist/cjs/text-input-affix.js +2 -2
  64. package/dist/cjs/text-input-button.js +2 -2
  65. package/dist/cjs/text-input.js +2 -2
  66. package/dist/cjs/tooltip-content.js +3 -3
  67. package/dist/components/index.d.ts +1 -0
  68. package/dist/es/alert.js +2 -2
  69. package/dist/es/checkbox-card.js +2 -2
  70. package/dist/es/checkbox-label.js +2 -2
  71. package/dist/es/chunks/checkbox.js +1 -1
  72. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +5 -5
  73. package/dist/es/chunks/counter-input.js +1 -1
  74. package/dist/es/chunks/radio-group-item.js +1 -1
  75. package/dist/es/chunks/radio-group.js +1 -1
  76. package/dist/es/chunks/select.js +1 -1
  77. package/dist/es/chunks/sidebar-menu-badge.js +1 -1
  78. package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +1 -1
  79. package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +9 -1
  80. package/dist/es/chunks/slider.js +1 -1
  81. package/dist/es/chunks/switch.js +1 -1
  82. package/dist/es/chunks/table-header.js +21 -0
  83. package/dist/es/chunks/tooltip-root.js +1 -1
  84. package/dist/es/chunks/tooltip.js +1 -1
  85. package/dist/es/color-area.js +2 -2
  86. package/dist/es/color-picker.js +4 -4
  87. package/dist/es/color-swatch.js +3 -3
  88. package/dist/es/dropdown-menu-content.js +2 -2
  89. package/dist/es/dropdown-menu-item.js +2 -2
  90. package/dist/es/dropdown-menu-label.js +2 -2
  91. package/dist/es/dropdown-menu-separator.js +2 -2
  92. package/dist/es/dropdown-menu-sub-content.js +2 -2
  93. package/dist/es/dropdown-menu-sub-trigger.js +2 -2
  94. package/dist/es/dropdown-menu.js +2 -2
  95. package/dist/es/extra-settings.js +1 -1
  96. package/dist/es/file-upload-area.js +2 -2
  97. package/dist/es/hue-slider.js +1 -1
  98. package/dist/es/index.js +39 -12
  99. package/dist/es/label.js +3 -3
  100. package/dist/es/link-bubble.js +18 -6
  101. package/dist/es/modal-content.js +2 -2
  102. package/dist/es/modal-header.js +2 -2
  103. package/dist/es/popover-content.js +3 -3
  104. package/dist/es/progress-bar.js +3 -3
  105. package/dist/es/progress-circle.js +3 -3
  106. package/dist/es/radio-group-card.js +2 -2
  107. package/dist/es/radio-group-label.js +2 -2
  108. package/dist/es/rich-editor.js +3 -3
  109. package/dist/es/scroll-area.js +3 -3
  110. package/dist/es/scroll-bar.js +3 -3
  111. package/dist/es/segmented-control-item.js +2 -2
  112. package/dist/es/segmented-control.js +2 -2
  113. package/dist/es/select-content.js +2 -2
  114. package/dist/es/select-icon.js +2 -2
  115. package/dist/es/select-item.js +2 -2
  116. package/dist/es/select-label.js +2 -2
  117. package/dist/es/select-separator.js +2 -2
  118. package/dist/es/select-trigger.js +2 -2
  119. package/dist/es/select-value.js +2 -2
  120. package/dist/es/sheet-content.js +2 -2
  121. package/dist/es/sidebar-trigger.js +2 -2
  122. package/dist/es/tab-menu-content.js +2 -2
  123. package/dist/es/tab-menu-item.js +2 -2
  124. package/dist/es/tab-menu-list.js +2 -2
  125. package/dist/es/table-cell.js +1 -0
  126. package/dist/es/table-empty.js +4 -3
  127. package/dist/es/table-header.js +1 -18
  128. package/dist/es/table-row.js +3 -2
  129. package/dist/es/text-input-affix.js +2 -2
  130. package/dist/es/text-input-button.js +2 -2
  131. package/dist/es/text-input.js +2 -2
  132. package/dist/es/tooltip-content.js +3 -3
  133. package/package.json +24 -22
  134. package/src/components/alert/alert.vue +1 -1
  135. package/src/components/checkbox/checkbox-card.vue +1 -1
  136. package/src/components/checkbox/checkbox-label.vue +1 -1
  137. package/src/components/checkbox/checkbox.vue +1 -1
  138. package/src/components/collapsible/stories/collapsible.stories.ts +1 -1
  139. package/src/components/color-picker/alpha-slider.vue +1 -1
  140. package/src/components/color-picker/color-area.vue +1 -1
  141. package/src/components/color-picker/color-picker.vue +2 -2
  142. package/src/components/color-picker/color-swatch.vue +1 -1
  143. package/src/components/color-picker/hue-slider.vue +1 -1
  144. package/src/components/content-divider/content-divider.vue +7 -7
  145. package/src/components/counter-input/counter-input.vue +1 -1
  146. package/src/components/dropdown-menu/dropdown-menu-content.vue +1 -1
  147. package/src/components/dropdown-menu/dropdown-menu-item.vue +1 -1
  148. package/src/components/dropdown-menu/dropdown-menu-label.vue +1 -1
  149. package/src/components/dropdown-menu/dropdown-menu-separator.vue +1 -1
  150. package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +1 -1
  151. package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +1 -1
  152. package/src/components/dropdown-menu/dropdown-menu.vue +1 -1
  153. package/src/components/file-upload/file-upload-area.vue +1 -1
  154. package/src/components/file-upload/stories/file-upload-area.stories.ts +1 -1
  155. package/src/components/index.ts +1 -0
  156. package/src/components/label/label.vue +2 -2
  157. package/src/components/modal/modal-content.vue +1 -1
  158. package/src/components/modal/modal-header.vue +1 -1
  159. package/src/components/pagination/stories/pagination.stories.ts +1 -1
  160. package/src/components/popover/popover-content.vue +2 -2
  161. package/src/components/popover/stories/popover.stories.ts +1 -1
  162. package/src/components/progress/progress-bar.vue +1 -1
  163. package/src/components/progress/progress-circle.vue +1 -1
  164. package/src/components/radio-group/radio-group-card.vue +1 -1
  165. package/src/components/radio-group/radio-group-item.vue +1 -1
  166. package/src/components/radio-group/radio-group-label.vue +1 -1
  167. package/src/components/radio-group/radio-group.vue +1 -1
  168. package/src/components/radio-group/stories/radio-group-card.stories.ts +1 -1
  169. package/src/components/rich-editor/extra-settings.vue +1 -1
  170. package/src/components/rich-editor/link-bubble.vue +33 -7
  171. package/src/components/rich-editor/rich-editor.vue +7 -7
  172. package/src/components/rich-editor/stories/rich-editor.stories.ts +23 -1
  173. package/src/components/scroll-area/scroll-area.vue +1 -1
  174. package/src/components/scroll-area/scroll-bar.vue +1 -1
  175. package/src/components/segmented-control/segmented-control-item.vue +1 -1
  176. package/src/components/segmented-control/segmented-control.vue +1 -1
  177. package/src/components/select/select-content.vue +1 -1
  178. package/src/components/select/select-icon.vue +1 -1
  179. package/src/components/select/select-item.vue +1 -1
  180. package/src/components/select/select-label.vue +1 -1
  181. package/src/components/select/select-separator.vue +1 -1
  182. package/src/components/select/select-trigger.vue +1 -1
  183. package/src/components/select/select-value.vue +1 -1
  184. package/src/components/select/select.vue +1 -1
  185. package/src/components/sheet/sheet-content.vue +1 -1
  186. package/src/components/sidebar/sidebar-menu-badge.vue +1 -1
  187. package/src/components/sidebar/sidebar-provider.vue +1 -1
  188. package/src/components/sidebar/sidebar-separator.vue +1 -1
  189. package/src/components/sidebar/sidebar-trigger.vue +1 -1
  190. package/src/components/sidebar/sidebar.vue +1 -1
  191. package/src/components/sidebar/stories/sidebar.stories.ts +1 -1
  192. package/src/components/slider/slider.vue +1 -1
  193. package/src/components/switch/switch.vue +1 -1
  194. package/src/components/tab-menu/tab-menu-content.vue +1 -1
  195. package/src/components/tab-menu/tab-menu-item.vue +1 -1
  196. package/src/components/tab-menu/tab-menu-list.vue +1 -1
  197. package/src/components/table/table-empty.vue +1 -1
  198. package/src/components/text-input/stories/text-input.stories.ts +1 -1
  199. package/src/components/text-input/text-input-affix.vue +1 -1
  200. package/src/components/text-input/text-input-button.vue +1 -1
  201. package/src/components/text-input/text-input.vue +1 -1
  202. package/src/components/tooltip/tooltip-content.vue +2 -2
  203. package/src/components/tooltip/tooltip-root.vue +1 -1
  204. package/src/components/tooltip/tooltip.vue +1 -1
  205. package/src/utils/sonner.ts +1 -1
  206. package/LICENSE +0 -9
  207. /package/dist/cjs/chunks/{rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js → rich-editor.vue_vue_type_style_index_0_scoped_4e1c9896_lang.js} +0 -0
  208. /package/dist/es/chunks/{rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js → rich-editor.vue_vue_type_style_index_0_scoped_4e1c9896_lang.js} +0 -0
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@youcan/celeste",
3
3
  "type": "module",
4
- "version": "0.6.75",
4
+ "version": "0.6.80",
5
5
  "author": "YouCan <tech@youcan.shop>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/youcan-shop/celeste"
9
+ },
6
10
  "keywords": [
7
11
  "youcan",
8
12
  "celeste"
@@ -25,6 +29,16 @@
25
29
  "engines": {
26
30
  "node": ">=20.10.0"
27
31
  },
32
+ "scripts": {
33
+ "build": "rimraf dist && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json && vite build",
34
+ "build-only": "vite build",
35
+ "watch": "vite build --watch",
36
+ "type-check": "vue-tsc -p tsconfig.check.json --noEmit",
37
+ "type-gen": "vue-tsc --declaration --emitDeclarationOnly",
38
+ "test": "vitest",
39
+ "storybook": "NODE_ENV=dev storybook dev -p 6006",
40
+ "build-storybook": "NODE_ENV=dev storybook build"
41
+ },
28
42
  "peerDependencies": {
29
43
  "vue": "^3.5.13"
30
44
  },
@@ -40,19 +54,18 @@
40
54
  "@tiptap/starter-kit": "^3.11.0",
41
55
  "@tiptap/vue-3": "^3.11.0",
42
56
  "@vueuse/core": "^13.9.0",
57
+ "@youcan/celeste-icons": "workspace:*",
58
+ "@youcan/celeste-tokens": "workspace:*",
43
59
  "clsx": "^2.1.1",
44
60
  "radix-vue": "^1.9.17",
45
61
  "tinycolor2": "^1.6.0",
46
- "vue-sonner": "^2.0.9",
47
- "@youcan/celeste-icons": "0.6.75",
48
- "@youcan/celeste-tokens": "0.6.75"
62
+ "vue-sonner": "^2.0.9"
49
63
  },
50
64
  "devDependencies": {
51
65
  "@chromatic-com/storybook": "^4.1.3",
52
- "@storybook/addon-docs": "^9.1.16",
53
- "@storybook/addon-knobs": "^8.0.1",
54
- "@storybook/addon-onboarding": "^9.1.16",
55
- "@storybook/vue3-vite": "^9.1.16",
66
+ "@storybook/addon-docs": "^10.1.10",
67
+ "@storybook/addon-onboarding": "^10.1.10",
68
+ "@storybook/vue3-vite": "^10.1.10",
56
69
  "@tanstack/vue-table": "^8.21.3",
57
70
  "@tsconfig/node20": "^20.1.8",
58
71
  "@types/jsdom": "^21.1.7",
@@ -66,30 +79,19 @@
66
79
  "@vue/tsconfig": "^0.7.0",
67
80
  "autoprefixer": "^10.4.22",
68
81
  "chromatic": "^11.29.0",
69
- "eslint-plugin-storybook": "9.1.10",
82
+ "eslint-plugin-storybook": "^10.1.10",
70
83
  "glob": "^11.1.0",
71
84
  "jsdom": "^25.0.1",
72
85
  "postcss": "^8.5.6",
73
86
  "postcss-nesting": "^13.0.2",
74
87
  "rimraf": "^6.1.2",
75
88
  "sass": "^1.94.2",
76
- "storybook": "^9.1.16",
89
+ "storybook": "^10.1.10",
77
90
  "unocss": "^66.5.9",
78
91
  "vite": "^6.4.1",
79
92
  "vite-plugin-dts": "^4.5.4",
80
93
  "vitest": "^2.1.9",
81
94
  "vue-docgen-api": "^4.79.2",
82
95
  "vue-tsc": "^2.2.12"
83
- },
84
- "scripts": {
85
- "build": "rimraf dist && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json && vite build",
86
- "build-only": "vite build",
87
- "watch": "vite build --watch",
88
- "type-check": "vue-tsc -p tsconfig.check.json --noEmit",
89
- "type-gen": "vue-tsc --declaration --emitDeclarationOnly",
90
- "test": "vitest",
91
- "release": "pnpm publish --access public",
92
- "storybook": "NODE_ENV=dev storybook dev -p 6006",
93
- "build-storybook": "NODE_ENV=dev storybook build"
94
96
  }
95
- }
97
+ }
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { uid } from '@/utils/crypto';
4
3
  import clsx from 'clsx';
4
+ import { uid } from '@/utils/crypto';
5
5
 
6
6
  const props = withDefaults(
7
7
  defineProps<AlertProps>(),
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { LabelProps } from 'radix-vue';
3
3
  import type { HTMLAttributes } from 'vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
4
  import clsx from 'clsx';
6
5
  import { Label, Primitive } from 'radix-vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<LabelProps & {
9
9
  required?: boolean;
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { Label, type LabelProps, Primitive } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<LabelProps & {
8
8
  required?: boolean;
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { CheckboxRootEmits, CheckboxRootProps } from 'radix-vue';
3
3
  import type { HTMLAttributes } from 'vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
4
  import clsx from 'clsx';
6
5
  import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from 'radix-vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes['class'] }>();
9
9
  const emits = defineEmits<CheckboxRootEmits>();
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
- import CompactButton from '@/components/button/compact-button.vue';
3
2
  import { ref } from 'vue';
3
+ import CompactButton from '@/components/button/compact-button.vue';
4
4
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../index';
5
5
 
6
6
  const meta: Meta<typeof Collapsible> = {
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type tinycolor from 'tinycolor2';
3
+ import { computed, onUnmounted, useTemplateRef } from 'vue';
3
4
  import { useUserPageSelection } from '@/components/color-picker/composable/use-user-select';
4
5
  import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from '@/utils/color';
5
- import { computed, onUnmounted, useTemplateRef } from 'vue';
6
6
  import { defineColorModel } from './composable/use-color-model';
7
7
 
8
8
  const props = defineProps<AlphaSliderProps>();
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import type tinycolor from 'tinycolor2';
3
- import { clamp, getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from '@/utils/color.ts';
4
3
  import { computed, onUnmounted, ref, useTemplateRef, watch } from 'vue';
4
+ import { clamp, getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from '@/utils/color.ts';
5
5
  import { ColorPickerEmits, defineColorModel } from './composable/use-color-model.ts';
6
6
  import { useUserPageSelection } from './composable/use-user-select.ts';
7
7
 
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
- import { useDelegatedProps } from '@/composables/use-delegated-props';
3
- import { bumpColorValue, clamp, COLOR_NUMBER_VALIDATION_PATTERN, type ColorKey, getColorConstraints, HEX_VALIDATION_PATTERN, type HSBKey, type HSLKey, resolveArrowDirection, type RGBKey, truncColorValue } from '@/utils/color';
4
2
  import { useForwardPropsEmits } from 'radix-vue';
5
3
  import tinycolor from 'tinycolor2';
6
4
  import { computed, type HTMLAttributes, ref, watch } from 'vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
+ import { bumpColorValue, clamp, COLOR_NUMBER_VALIDATION_PATTERN, type ColorKey, getColorConstraints, HEX_VALIDATION_PATTERN, type HSBKey, type HSLKey, resolveArrowDirection, type RGBKey, truncColorValue } from '@/utils/color';
7
7
  import { Button } from '../button';
8
8
  import { Popover, PopoverContent, PopoverTrigger } from '../popover';
9
9
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../select';
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import { DEFAULT_SWATCH } from '@/utils/color';
3
2
  import tinycolor from 'tinycolor2';
4
3
  import { computed } from 'vue';
4
+ import { DEFAULT_SWATCH } from '@/utils/color';
5
5
  import { defineColorModel } from './composable/use-color-model';
6
6
 
7
7
  const props = withDefaults(defineProps<ColorSwatchProps>(), {
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from '@/utils/color.ts';
3
2
  import { computed, onUnmounted, ref, useTemplateRef, watch } from 'vue';
3
+ import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from '@/utils/color.ts';
4
4
  import { useUserPageSelection } from './composable/use-user-select.ts';
5
5
 
6
6
  const hue = defineModel({
@@ -19,28 +19,28 @@ export interface ContentDividerProps {
19
19
  <template>
20
20
  <Separator
21
21
  aria-label="divider"
22
- :class="clsx('celeste-celecte-content-divider', props.class)"
23
- class="celecte-content-divider"
22
+ :class="clsx('celeste-celeste-content-divider', props.class)"
23
+ class="celeste-content-divider"
24
24
  >
25
25
  <div
26
26
  v-if="type === 'line'"
27
- class="celecte-content-divider-type-line"
27
+ class="celeste-content-divider-type-line"
28
28
  />
29
29
  <div
30
30
  v-if="type === 'text' && text"
31
- class="celecte-content-divider-type-text"
31
+ class="celeste-content-divider-type-text"
32
32
  >
33
33
  {{ text }}
34
34
  </div>
35
35
  <div
36
36
  v-if="type === 'text-line' && text"
37
- class="celecte-content-divider-type-text-line"
37
+ class="celeste-content-divider-type-text-line"
38
38
  >
39
39
  <hr> <span>{{ text }}</span> <hr>
40
40
  </div>
41
41
  <div
42
42
  v-if="type === 'solid-text' && text"
43
- class="celecte-content-divider-type-solid-text"
43
+ class="celeste-content-divider-type-solid-text"
44
44
  >
45
45
  {{ text }}
46
46
  </div>
@@ -48,7 +48,7 @@ export interface ContentDividerProps {
48
48
  </template>
49
49
 
50
50
  <style lang="scss">
51
- .celecte-content-divider {
51
+ .celeste-content-divider {
52
52
  display: flex;
53
53
  align-items: center;
54
54
  justify-content: center;
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, NumberFieldRoot, type NumberFieldRootEmits, type NumberFieldRootProps, useForwardPropsEmits } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
  import CompactButton from '../button/compact-button.vue';
7
7
 
8
8
  const props = withDefaults(
@@ -1,6 +1,5 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import {
6
5
  DropdownMenuContent,
@@ -9,6 +8,7 @@ import {
9
8
  DropdownMenuPortal,
10
9
  useForwardPropsEmits,
11
10
  } from 'radix-vue';
11
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
12
12
 
13
13
  const props = withDefaults(
14
14
  defineProps<DropdownMenuContentProps & { class?: HTMLAttributes['class'] }>(),
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<DropdownMenuItemProps & { class?: HTMLAttributes['class'] }>();
8
8
 
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes['class'] }>();
8
8
 
@@ -1,11 +1,11 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import {
6
5
  DropdownMenuSeparator,
7
6
  type DropdownMenuSeparatorProps,
8
7
  } from 'radix-vue';
8
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
9
9
 
10
10
  const props = defineProps<DropdownMenuSeparatorProps & {
11
11
  class?: HTMLAttributes['class'];
@@ -1,6 +1,5 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import {
6
5
  DropdownMenuPortal,
@@ -9,6 +8,7 @@ import {
9
8
  type DropdownMenuSubContentProps,
10
9
  useForwardPropsEmits,
11
10
  } from 'radix-vue';
11
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
12
12
 
13
13
  const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes['class'] }>();
14
14
  const emits = defineEmits<DropdownMenuSubContentEmits>();
@@ -1,12 +1,12 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import {
6
5
  DropdownMenuSubTrigger,
7
6
  type DropdownMenuSubTriggerProps,
8
7
  useForwardProps,
9
8
  } from 'radix-vue';
9
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
10
10
 
11
11
  const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes['class'] }>();
12
12
 
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { DropdownMenuRoot, type DropdownMenuRootEmits, type DropdownMenuRootProps } from 'radix-vue';
6
5
  import { useForwardPropsEmits } from 'radix-vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<DropdownMenuRootProps & { class?: HTMLAttributes['class'] }>();
9
9
  const emits = defineEmits<DropdownMenuRootEmits>();
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
- import Button from '@/components/button/button.vue';
3
2
  import { useDropZone } from '@vueuse/core';
4
3
  import clsx from 'clsx';
5
4
  import { computed, type InputHTMLAttributes, useTemplateRef } from 'vue';
5
+ import Button from '@/components/button/button.vue';
6
6
 
7
7
  const props = withDefaults(defineProps<FileUploadAreaProps>(), {
8
8
  icon: 'i-celeste-upload-cloud-2-line',
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { ref, watch } from 'vue';
2
3
  import Sonner from '@/components/sonner/sonner.vue';
3
4
  import { toast } from '@/utils/sonner';
4
- import { ref, watch } from 'vue';
5
5
  import FileUploadArea, { type FileError } from '../file-upload-area.vue';
6
6
  import 'vue-sonner/style.css';
7
7
 
@@ -27,6 +27,7 @@ export * from './slider';
27
27
  export * from './sonner';
28
28
  export * from './switch';
29
29
  export * from './tab-menu';
30
+ export * from './table';
30
31
  export * from './tag';
31
32
  export * from './text-input';
32
33
  export * from './textarea';
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import Tooltip from '@/components/tooltip/tooltip.vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
3
  import clsx from 'clsx';
6
4
  import { Label, type LabelProps } from 'radix-vue';
5
+ import Tooltip from '@/components/tooltip/tooltip.vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<LabelProps & {
9
9
  sublabel?: string;
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { DialogContentEmits, DialogContentProps } from 'radix-vue';
3
3
  import type { HTMLAttributes } from 'vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
4
  import clsx from 'clsx';
6
5
  import { DialogContent as ModalContent, DialogOverlay as ModalOverlay, DialogPortal as ModalPortal, useForwardPropsEmits } from 'radix-vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<DialogContentProps & {
9
9
  class?: HTMLAttributes['class'];
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import CompactButton from '@/components/button/compact-button.vue';
4
3
  import clsx from 'clsx';
5
4
  import { DialogClose as ModalClose, DialogDescription as ModalDescription, DialogTitle as ModalTitle } from 'radix-vue';
5
+ import CompactButton from '@/components/button/compact-button.vue';
6
6
 
7
7
  const props = withDefaults(defineProps<{
8
8
  title: string;
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { ref } from 'vue';
2
3
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components';
3
4
  import Button from '@/components/button/button.vue';
4
- import { ref } from 'vue';
5
5
  import {
6
6
  Pagination,
7
7
  PaginationContent,
@@ -1,7 +1,5 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import CompactButton from '@/components/button/compact-button.vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
3
  import clsx from 'clsx';
6
4
  import {
7
5
  PopoverArrow,
@@ -12,6 +10,8 @@ import {
12
10
  type PopoverContentProps as RadixPopoverContentProps,
13
11
  useForwardPropsEmits,
14
12
  } from 'radix-vue';
13
+ import CompactButton from '@/components/button/compact-button.vue';
14
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
15
15
 
16
16
  defineOptions({
17
17
  inheritAttrs: false,
@@ -1,8 +1,8 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
- import TextInput from '@/components/text-input/text-input.vue';
3
2
  import {
4
3
  PopoverClose,
5
4
  } from 'radix-vue';
5
+ import TextInput from '@/components/text-input/text-input.vue';
6
6
  import Button from '../../button/button.vue';
7
7
  import PopoverContent from '../popover-content.vue';
8
8
  import PopoverTrigger from '../popover-trigger.vue';
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import { useDelegatedProps } from '@/composables/use-delegated-props';
3
2
  import clsx from 'clsx';
4
3
  import {
5
4
  ProgressIndicator,
@@ -7,6 +6,7 @@ import {
7
6
  type ProgressRootProps,
8
7
  } from 'radix-vue';
9
8
  import { computed, type HTMLAttributes } from 'vue';
9
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
10
10
 
11
11
  const props = withDefaults(
12
12
  defineProps<
@@ -1,6 +1,5 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import {
6
5
  ProgressIndicator,
@@ -8,6 +7,7 @@ import {
8
7
  type ProgressRootProps,
9
8
  } from 'radix-vue';
10
9
  import { computed } from 'vue';
10
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
11
11
 
12
12
  const props = withDefaults(
13
13
  defineProps<
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { LabelProps } from 'radix-vue';
3
3
  import type { HTMLAttributes } from 'vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
4
  import clsx from 'clsx';
6
5
  import { Label, Primitive } from 'radix-vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<LabelProps & {
9
9
  required?: boolean;
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { RadioGroupIndicator, RadioGroupItem, type RadioGroupItemProps, useForwardPropsEmits } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<RadioGroupItemProps & { class?: HTMLAttributes['class'] }>();
8
8
  const delegatedProps = useDelegatedProps(props, 'class');
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { Label, type LabelProps, Primitive } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<LabelProps & {
8
8
  required?: boolean;
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
- import { useDelegatedProps } from '@/composables/use-delegated-props';
4
3
  import clsx from 'clsx';
5
4
  import { RadioGroupRoot, type RadioGroupRootEmits, type RadioGroupRootProps, useForwardPropsEmits } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<RadioGroupRootProps & { class?: HTMLAttributes['class'] }>();
8
8
  const emits = defineEmits<RadioGroupRootEmits>();
@@ -1,8 +1,8 @@
1
1
  // @unocss-include
2
2
 
3
3
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
4
- import Badge from '@/components/badge/badge.vue';
5
4
  import { ref } from 'vue';
5
+ import Badge from '@/components/badge/badge.vue';
6
6
  import RadioGroupCard from '../radio-group-card.vue';
7
7
  import RadioGroupItem from '../radio-group-item.vue';
8
8
  import RadioGroup from '../radio-group.vue';
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Editor } from '@tiptap/vue-3';
3
+ import { ref } from 'vue';
3
4
  import CompactButton from '@/components/button/compact-button.vue';
4
5
  import SelectContent from '@/components/select/select-content.vue';
5
6
  import SelectIcon from '@/components/select/select-icon.vue';
@@ -7,7 +8,6 @@ import SelectItem from '@/components/select/select-item.vue';
7
8
  import SelectTrigger from '@/components/select/select-trigger.vue';
8
9
  import Select from '@/components/select/select.vue';
9
10
  import Tooltip from '@/components/tooltip/tooltip.vue';
10
- import { ref } from 'vue';
11
11
 
12
12
  const props = defineProps<{
13
13
  editor: Editor;