@youcan/celeste 0.6.76 → 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 (196) hide show
  1. package/dist/celeste.css +563 -553
  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 +1 -1
  14. package/dist/cjs/chunks/slider.js +1 -1
  15. package/dist/cjs/chunks/switch.js +1 -1
  16. package/dist/cjs/chunks/tooltip-root.js +1 -1
  17. package/dist/cjs/chunks/tooltip.js +1 -1
  18. package/dist/cjs/color-area.js +2 -2
  19. package/dist/cjs/color-picker.js +4 -4
  20. package/dist/cjs/color-swatch.js +3 -3
  21. package/dist/cjs/dropdown-menu-content.js +2 -2
  22. package/dist/cjs/dropdown-menu-item.js +2 -2
  23. package/dist/cjs/dropdown-menu-label.js +2 -2
  24. package/dist/cjs/dropdown-menu-separator.js +2 -2
  25. package/dist/cjs/dropdown-menu-sub-content.js +2 -2
  26. package/dist/cjs/dropdown-menu-sub-trigger.js +2 -2
  27. package/dist/cjs/dropdown-menu.js +2 -2
  28. package/dist/cjs/extra-settings.js +1 -1
  29. package/dist/cjs/file-upload-area.js +2 -2
  30. package/dist/cjs/hue-slider.js +1 -1
  31. package/dist/cjs/label.js +3 -3
  32. package/dist/cjs/link-bubble.js +17 -5
  33. package/dist/cjs/modal-content.js +2 -2
  34. package/dist/cjs/modal-header.js +2 -2
  35. package/dist/cjs/popover-content.js +3 -3
  36. package/dist/cjs/progress-bar.js +3 -3
  37. package/dist/cjs/progress-circle.js +3 -3
  38. package/dist/cjs/radio-group-card.js +2 -2
  39. package/dist/cjs/radio-group-label.js +2 -2
  40. package/dist/cjs/rich-editor.js +9 -9
  41. package/dist/cjs/scroll-area.js +3 -3
  42. package/dist/cjs/scroll-bar.js +3 -3
  43. package/dist/cjs/segmented-control-item.js +2 -2
  44. package/dist/cjs/segmented-control.js +2 -2
  45. package/dist/cjs/select-content.js +2 -2
  46. package/dist/cjs/select-icon.js +2 -2
  47. package/dist/cjs/select-item.js +2 -2
  48. package/dist/cjs/select-label.js +2 -2
  49. package/dist/cjs/select-separator.js +2 -2
  50. package/dist/cjs/select-trigger.js +2 -2
  51. package/dist/cjs/select-value.js +2 -2
  52. package/dist/cjs/sheet-content.js +2 -2
  53. package/dist/cjs/sidebar-trigger.js +2 -2
  54. package/dist/cjs/tab-menu-content.js +2 -2
  55. package/dist/cjs/tab-menu-item.js +2 -2
  56. package/dist/cjs/tab-menu-list.js +2 -2
  57. package/dist/cjs/table-empty.js +1 -1
  58. package/dist/cjs/text-input-affix.js +2 -2
  59. package/dist/cjs/text-input-button.js +2 -2
  60. package/dist/cjs/text-input.js +2 -2
  61. package/dist/cjs/tooltip-content.js +3 -3
  62. package/dist/es/alert.js +2 -2
  63. package/dist/es/checkbox-card.js +2 -2
  64. package/dist/es/checkbox-label.js +2 -2
  65. package/dist/es/chunks/checkbox.js +1 -1
  66. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +5 -5
  67. package/dist/es/chunks/counter-input.js +1 -1
  68. package/dist/es/chunks/radio-group-item.js +1 -1
  69. package/dist/es/chunks/radio-group.js +1 -1
  70. package/dist/es/chunks/select.js +1 -1
  71. package/dist/es/chunks/sidebar-menu-badge.js +1 -1
  72. package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +1 -1
  73. package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -1
  74. package/dist/es/chunks/slider.js +1 -1
  75. package/dist/es/chunks/switch.js +1 -1
  76. package/dist/es/chunks/tooltip-root.js +1 -1
  77. package/dist/es/chunks/tooltip.js +1 -1
  78. package/dist/es/color-area.js +2 -2
  79. package/dist/es/color-picker.js +4 -4
  80. package/dist/es/color-swatch.js +3 -3
  81. package/dist/es/dropdown-menu-content.js +2 -2
  82. package/dist/es/dropdown-menu-item.js +2 -2
  83. package/dist/es/dropdown-menu-label.js +2 -2
  84. package/dist/es/dropdown-menu-separator.js +2 -2
  85. package/dist/es/dropdown-menu-sub-content.js +2 -2
  86. package/dist/es/dropdown-menu-sub-trigger.js +2 -2
  87. package/dist/es/dropdown-menu.js +2 -2
  88. package/dist/es/extra-settings.js +1 -1
  89. package/dist/es/file-upload-area.js +2 -2
  90. package/dist/es/hue-slider.js +1 -1
  91. package/dist/es/label.js +3 -3
  92. package/dist/es/link-bubble.js +18 -6
  93. package/dist/es/modal-content.js +2 -2
  94. package/dist/es/modal-header.js +2 -2
  95. package/dist/es/popover-content.js +3 -3
  96. package/dist/es/progress-bar.js +3 -3
  97. package/dist/es/progress-circle.js +3 -3
  98. package/dist/es/radio-group-card.js +2 -2
  99. package/dist/es/radio-group-label.js +2 -2
  100. package/dist/es/rich-editor.js +3 -3
  101. package/dist/es/scroll-area.js +3 -3
  102. package/dist/es/scroll-bar.js +3 -3
  103. package/dist/es/segmented-control-item.js +2 -2
  104. package/dist/es/segmented-control.js +2 -2
  105. package/dist/es/select-content.js +2 -2
  106. package/dist/es/select-icon.js +2 -2
  107. package/dist/es/select-item.js +2 -2
  108. package/dist/es/select-label.js +2 -2
  109. package/dist/es/select-separator.js +2 -2
  110. package/dist/es/select-trigger.js +2 -2
  111. package/dist/es/select-value.js +2 -2
  112. package/dist/es/sheet-content.js +2 -2
  113. package/dist/es/sidebar-trigger.js +2 -2
  114. package/dist/es/tab-menu-content.js +2 -2
  115. package/dist/es/tab-menu-item.js +2 -2
  116. package/dist/es/tab-menu-list.js +2 -2
  117. package/dist/es/table-empty.js +1 -1
  118. package/dist/es/text-input-affix.js +2 -2
  119. package/dist/es/text-input-button.js +2 -2
  120. package/dist/es/text-input.js +2 -2
  121. package/dist/es/tooltip-content.js +3 -3
  122. package/package.json +24 -22
  123. package/src/components/alert/alert.vue +1 -1
  124. package/src/components/checkbox/checkbox-card.vue +1 -1
  125. package/src/components/checkbox/checkbox-label.vue +1 -1
  126. package/src/components/checkbox/checkbox.vue +1 -1
  127. package/src/components/collapsible/stories/collapsible.stories.ts +1 -1
  128. package/src/components/color-picker/alpha-slider.vue +1 -1
  129. package/src/components/color-picker/color-area.vue +1 -1
  130. package/src/components/color-picker/color-picker.vue +2 -2
  131. package/src/components/color-picker/color-swatch.vue +1 -1
  132. package/src/components/color-picker/hue-slider.vue +1 -1
  133. package/src/components/content-divider/content-divider.vue +7 -7
  134. package/src/components/counter-input/counter-input.vue +1 -1
  135. package/src/components/dropdown-menu/dropdown-menu-content.vue +1 -1
  136. package/src/components/dropdown-menu/dropdown-menu-item.vue +1 -1
  137. package/src/components/dropdown-menu/dropdown-menu-label.vue +1 -1
  138. package/src/components/dropdown-menu/dropdown-menu-separator.vue +1 -1
  139. package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +1 -1
  140. package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +1 -1
  141. package/src/components/dropdown-menu/dropdown-menu.vue +1 -1
  142. package/src/components/file-upload/file-upload-area.vue +1 -1
  143. package/src/components/file-upload/stories/file-upload-area.stories.ts +1 -1
  144. package/src/components/label/label.vue +2 -2
  145. package/src/components/modal/modal-content.vue +1 -1
  146. package/src/components/modal/modal-header.vue +1 -1
  147. package/src/components/pagination/stories/pagination.stories.ts +1 -1
  148. package/src/components/popover/popover-content.vue +2 -2
  149. package/src/components/popover/stories/popover.stories.ts +1 -1
  150. package/src/components/progress/progress-bar.vue +1 -1
  151. package/src/components/progress/progress-circle.vue +1 -1
  152. package/src/components/radio-group/radio-group-card.vue +1 -1
  153. package/src/components/radio-group/radio-group-item.vue +1 -1
  154. package/src/components/radio-group/radio-group-label.vue +1 -1
  155. package/src/components/radio-group/radio-group.vue +1 -1
  156. package/src/components/radio-group/stories/radio-group-card.stories.ts +1 -1
  157. package/src/components/rich-editor/extra-settings.vue +1 -1
  158. package/src/components/rich-editor/link-bubble.vue +33 -7
  159. package/src/components/rich-editor/rich-editor.vue +7 -7
  160. package/src/components/rich-editor/stories/rich-editor.stories.ts +23 -1
  161. package/src/components/scroll-area/scroll-area.vue +1 -1
  162. package/src/components/scroll-area/scroll-bar.vue +1 -1
  163. package/src/components/segmented-control/segmented-control-item.vue +1 -1
  164. package/src/components/segmented-control/segmented-control.vue +1 -1
  165. package/src/components/select/select-content.vue +1 -1
  166. package/src/components/select/select-icon.vue +1 -1
  167. package/src/components/select/select-item.vue +1 -1
  168. package/src/components/select/select-label.vue +1 -1
  169. package/src/components/select/select-separator.vue +1 -1
  170. package/src/components/select/select-trigger.vue +1 -1
  171. package/src/components/select/select-value.vue +1 -1
  172. package/src/components/select/select.vue +1 -1
  173. package/src/components/sheet/sheet-content.vue +1 -1
  174. package/src/components/sidebar/sidebar-menu-badge.vue +1 -1
  175. package/src/components/sidebar/sidebar-provider.vue +1 -1
  176. package/src/components/sidebar/sidebar-separator.vue +1 -1
  177. package/src/components/sidebar/sidebar-trigger.vue +1 -1
  178. package/src/components/sidebar/sidebar.vue +1 -1
  179. package/src/components/sidebar/stories/sidebar.stories.ts +1 -1
  180. package/src/components/slider/slider.vue +1 -1
  181. package/src/components/switch/switch.vue +1 -1
  182. package/src/components/tab-menu/tab-menu-content.vue +1 -1
  183. package/src/components/tab-menu/tab-menu-item.vue +1 -1
  184. package/src/components/tab-menu/tab-menu-list.vue +1 -1
  185. package/src/components/table/table-empty.vue +1 -1
  186. package/src/components/text-input/stories/text-input.stories.ts +1 -1
  187. package/src/components/text-input/text-input-affix.vue +1 -1
  188. package/src/components/text-input/text-input-button.vue +1 -1
  189. package/src/components/text-input/text-input.vue +1 -1
  190. package/src/components/tooltip/tooltip-content.vue +2 -2
  191. package/src/components/tooltip/tooltip-root.vue +1 -1
  192. package/src/components/tooltip/tooltip.vue +1 -1
  193. package/src/utils/sonner.ts +1 -1
  194. package/LICENSE +0 -9
  195. /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
  196. /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
@@ -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 { TabsTrigger, type TabsTriggerProps, useForwardProps } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<TabsTriggerProps & { 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 { TabsList, type TabsListProps } from 'radix-vue';
5
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
6
6
 
7
7
  const props = defineProps<TabsListProps & { 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 clsx from 'clsx';
3
4
  import { TableCell, TableRow } from '@/components/table';
4
5
  import { useDelegatedProps } from '@/composables/use-delegated-props';
5
- import clsx from 'clsx';
6
6
 
7
7
  const props = withDefaults(
8
8
  defineProps<TableEmptyProps>(),
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import { ref } from 'vue';
2
3
  import Button from '@/components/button/button.vue';
3
4
  import Combobox from '@/components/combobox/combobox.vue';
4
- import { ref } from 'vue';
5
5
  import TextInputAffix from '../text-input-affix.vue';
6
6
  import TextInputButton from '../text-input-button.vue';
7
7
  import TextInput from '../text-input.vue';
@@ -1,7 +1,7 @@
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';
4
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
5
5
 
6
6
  const props = defineProps<{
7
7
  class?: HTMLAttributes['class'];
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
+ import clsx from 'clsx';
2
3
  import Button, { type ButtonProps } from '@/components/button/button.vue';
3
4
  import { useDelegatedProps } from '@/composables/use-delegated-props';
4
- import clsx from 'clsx';
5
5
 
6
6
  const props = withDefaults(
7
7
  defineProps<Omit</* @vue-ignore */ButtonProps, 'type' | 'size' | 'variant'> & {
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
- import { uid } from '@/utils/crypto';
3
2
  import clsx from 'clsx';
4
3
  import { Primitive } from 'radix-vue';
5
4
  import { computed, type InputHTMLAttributes } from 'vue';
5
+ import { uid } from '@/utils/crypto';
6
6
  import TextInputButton from './text-input-button.vue';
7
7
 
8
8
  const props = withDefaults(defineProps<TextInputProps>(), {
@@ -1,9 +1,9 @@
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 { type TooltipContentProps as PrimitiveProps, TooltipArrow, TooltipContent, type TooltipContentEmits, TooltipPortal, useForwardPropsEmits } from 'radix-vue';
5
+ import CompactButton from '@/components/button/compact-button.vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = withDefaults(
9
9
  defineProps<TooltipContentProps>(),
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import { useDelegatedProps } from '@/composables/use-delegated-props';
3
2
  import { type TooltipRootProps as PrimitiveProps, TooltipRoot, type TooltipRootEmits, useForwardPropsEmits } from 'radix-vue';
4
3
  import { ref } from 'vue';
4
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
5
5
 
6
6
  const props = defineProps<TooltipRootProps>();
7
7
  const emits = defineEmits<TooltipRootEmits>();
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { TooltipContentProps, TooltipRootEmits, TooltipRootProps } from 'radix-vue';
3
3
  import type { HTMLAttributes } from 'vue';
4
- import { useDelegatedProps } from '@/composables/use-delegated-props';
5
4
  import { useForwardPropsEmits } from 'radix-vue';
6
5
  import { ref } from 'vue';
6
+ import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
  import { TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger } from '.';
8
8
 
9
9
  const props = withDefaults(defineProps<TooltipProps>(), {
@@ -1,7 +1,7 @@
1
1
  import type { SonnerAlertProps } from '@/components/sonner/sonner-alert.vue';
2
- import SonnerAlert from '@/components/sonner/sonner-alert.vue';
3
2
  import { markRaw } from 'vue';
4
3
  import { type ExternalToast, toast as sonner } from 'vue-sonner';
4
+ import SonnerAlert from '@/components/sonner/sonner-alert.vue';
5
5
 
6
6
  export interface ToastOptions extends ExternalToast {
7
7
  state?: SonnerAlertProps['state'];
package/LICENSE DELETED
@@ -1,9 +0,0 @@
1
- Copyright (c) 2024-present YouCan Inc.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- The rights granted above may only be exercised to develop and distribute applications that integrate or interoperate with YouCan software or services, and in the case of external, stand-alone applications that do not embed directly inside YouCan, the rights granted above may only be exercised to develop and distribute applications that are dissimilar and visually distinct from YouCan products and services (including the YouCan store admin), as determined by YouCan in its sole discretion.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.