@youcan/celeste 0.6.29 → 0.6.30

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 (324) hide show
  1. package/dist/celeste.css +4025 -0
  2. package/dist/cjs/alert.js +111 -0
  3. package/dist/cjs/alpha-slider.js +3 -0
  4. package/dist/cjs/badge.js +55 -0
  5. package/dist/cjs/button.js +39 -0
  6. package/dist/cjs/checkbox-label.js +112 -0
  7. package/dist/cjs/checkbox.js +3 -0
  8. package/dist/cjs/chunks/_plugin-vue_export-helper.js +9 -0
  9. package/dist/cjs/chunks/alpha-slider.js +127 -0
  10. package/dist/cjs/chunks/checkbox.vue_vue_type_style_index_0_lang.js +38 -0
  11. package/dist/cjs/chunks/clsx.js +15 -0
  12. package/dist/cjs/chunks/combobox-anchor.js +31 -0
  13. package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +52 -0
  14. package/dist/cjs/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +51 -0
  15. package/dist/cjs/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +49 -0
  16. package/dist/cjs/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +32 -0
  17. package/dist/cjs/chunks/dropdown-menu-sub.js +25 -0
  18. package/dist/cjs/chunks/index.js +9073 -0
  19. package/dist/cjs/chunks/modal-close.js +22 -0
  20. package/dist/cjs/chunks/modal-trigger.js +22 -0
  21. package/dist/cjs/chunks/modal.js +26 -0
  22. package/dist/cjs/chunks/popover.js +26 -0
  23. package/dist/cjs/chunks/scroll-area.js +41 -0
  24. package/dist/cjs/chunks/select-group.js +22 -0
  25. package/dist/cjs/chunks/select.js +38 -0
  26. package/dist/cjs/chunks/slider.vue_vue_type_style_index_0_lang.js +52 -0
  27. package/dist/cjs/chunks/switch.vue_vue_type_style_index_0_lang.js +38 -0
  28. package/dist/cjs/chunks/use-color-model.js +992 -0
  29. package/dist/cjs/color-area.js +175 -0
  30. package/dist/cjs/color-picker.js +514 -0
  31. package/dist/cjs/color-swatch.js +59 -0
  32. package/dist/cjs/color.js +102 -0
  33. package/dist/cjs/combobox-anchor.js +3 -0
  34. package/dist/cjs/combobox-empty.js +32 -0
  35. package/dist/cjs/combobox-group.js +42 -0
  36. package/dist/cjs/combobox-input.js +63 -0
  37. package/dist/cjs/combobox-item.js +109 -0
  38. package/dist/cjs/combobox-list.js +62 -0
  39. package/dist/cjs/combobox-root.js +40 -0
  40. package/dist/cjs/combobox-separator.js +32 -0
  41. package/dist/cjs/combobox-trigger.js +47 -0
  42. package/dist/cjs/combobox.js +233 -0
  43. package/dist/cjs/command-group.js +41 -0
  44. package/dist/cjs/command-input.js +42 -0
  45. package/dist/cjs/command-item.js +34 -0
  46. package/dist/cjs/command-list.js +52 -0
  47. package/dist/cjs/command-root.js +45 -0
  48. package/dist/cjs/command-separator.js +32 -0
  49. package/dist/cjs/compact-button.js +42 -0
  50. package/dist/cjs/content-divider.js +3 -0
  51. package/dist/cjs/context-menu-item.js +134 -0
  52. package/dist/cjs/crypto.js +8 -0
  53. package/dist/cjs/dropdown-item.js +99 -0
  54. package/dist/cjs/dropdown-menu-content.js +3 -0
  55. package/dist/cjs/dropdown-menu-group.js +24 -0
  56. package/dist/cjs/dropdown-menu-item.js +68 -0
  57. package/dist/cjs/dropdown-menu-label.js +31 -0
  58. package/dist/cjs/dropdown-menu-separator.js +25 -0
  59. package/dist/cjs/dropdown-menu-sub-content.js +3 -0
  60. package/dist/cjs/dropdown-menu-sub-trigger.js +3 -0
  61. package/dist/cjs/dropdown-menu-sub.js +3 -0
  62. package/dist/cjs/dropdown-menu-trigger.js +26 -0
  63. package/dist/cjs/dropdown-menu.js +32 -0
  64. package/dist/cjs/dropdown.js +291 -0
  65. package/dist/cjs/fancy-button.js +38 -0
  66. package/dist/cjs/hint-text.js +36 -0
  67. package/dist/cjs/hue-slider.js +133 -0
  68. package/dist/cjs/index.js +220 -0
  69. package/dist/cjs/label.js +55 -0
  70. package/dist/cjs/link-button.js +44 -0
  71. package/dist/cjs/modal-body.js +22 -0
  72. package/dist/cjs/modal-close.js +3 -0
  73. package/dist/cjs/modal-content.js +48 -0
  74. package/dist/cjs/modal-footer.js +22 -0
  75. package/dist/cjs/modal-header.js +81 -0
  76. package/dist/cjs/modal-trigger.js +3 -0
  77. package/dist/cjs/modal.js +3 -0
  78. package/dist/cjs/popover-content.js +104 -0
  79. package/dist/cjs/popover-trigger.js +24 -0
  80. package/dist/cjs/popover.js +3 -0
  81. package/dist/cjs/scroll-area.js +3 -0
  82. package/dist/cjs/scroll-bar.js +39 -0
  83. package/dist/cjs/segmented-control-item.js +41 -0
  84. package/dist/cjs/segmented-control.js +40 -0
  85. package/dist/cjs/select-content.js +61 -0
  86. package/dist/cjs/select-group.js +3 -0
  87. package/dist/cjs/select-icon.js +25 -0
  88. package/dist/cjs/select-item.js +44 -0
  89. package/dist/cjs/select-label.js +32 -0
  90. package/dist/cjs/select-separator.js +26 -0
  91. package/dist/cjs/select-trigger.js +40 -0
  92. package/dist/cjs/select-value.js +31 -0
  93. package/dist/cjs/select.js +3 -0
  94. package/dist/cjs/shims.js +1 -0
  95. package/dist/cjs/slider.js +3 -0
  96. package/dist/cjs/social-button.js +45 -0
  97. package/dist/cjs/status-badge.js +49 -0
  98. package/dist/cjs/switch.js +3 -0
  99. package/dist/cjs/tab-menu-content.js +32 -0
  100. package/dist/cjs/tab-menu-item.js +44 -0
  101. package/dist/cjs/tab-menu-list.js +34 -0
  102. package/dist/cjs/tab-menu.js +32 -0
  103. package/dist/cjs/text-input-affix.js +27 -0
  104. package/dist/cjs/text-input-button.js +31 -0
  105. package/dist/cjs/text-input.js +119 -0
  106. package/dist/cjs/textarea.js +56 -0
  107. package/dist/cjs/tooltip.js +115 -0
  108. package/dist/cjs/use-color-model.js +6 -0
  109. package/dist/cjs/use-delegated-props.js +14 -0
  110. package/dist/cjs/use-user-select.js +39 -0
  111. package/dist/components/alert/alert.d.ts +30 -0
  112. package/dist/components/alert/index.d.ts +2 -0
  113. package/dist/components/badge/badge.d.ts +17 -0
  114. package/dist/components/badge/index.d.ts +4 -0
  115. package/dist/components/badge/status-badge.d.ts +13 -0
  116. package/dist/components/button/button.d.ts +22 -0
  117. package/dist/components/button/compact-button.d.ts +15 -0
  118. package/dist/components/button/fancy-button.d.ts +20 -0
  119. package/dist/components/button/index.d.ts +10 -0
  120. package/dist/components/button/link-button.d.ts +22 -0
  121. package/dist/components/button/social-button.d.ts +10 -0
  122. package/dist/components/checkbox/checkbox-label.d.ts +32 -0
  123. package/dist/components/checkbox/checkbox.d.ts +11 -0
  124. package/dist/components/checkbox/index.d.ts +4 -0
  125. package/dist/components/color-picker/alpha-slider.d.ts +15 -0
  126. package/dist/components/color-picker/color-area.d.ts +9 -0
  127. package/dist/components/color-picker/color-picker.d.ts +47 -0
  128. package/dist/components/color-picker/color-swatch.d.ts +19 -0
  129. package/dist/components/color-picker/composable/use-color-model.d.ts +7 -0
  130. package/dist/components/color-picker/composable/use-user-select.d.ts +8 -0
  131. package/dist/components/color-picker/hue-slider.d.ts +14 -0
  132. package/dist/components/color-picker/index.d.ts +10 -0
  133. package/dist/components/combobox/combobox-anchor.d.ts +22 -0
  134. package/dist/components/combobox/combobox-empty.d.ts +22 -0
  135. package/dist/components/combobox/combobox-group.d.ts +23 -0
  136. package/dist/components/combobox/combobox-input.d.ts +17 -0
  137. package/dist/components/combobox/combobox-item.d.ts +31 -0
  138. package/dist/components/combobox/combobox-list.d.ts +36 -0
  139. package/dist/components/combobox/combobox-root.d.ts +29 -0
  140. package/dist/components/combobox/combobox-separator.d.ts +22 -0
  141. package/dist/components/combobox/combobox-trigger.d.ts +20 -0
  142. package/dist/components/combobox/combobox.d.ts +42 -0
  143. package/dist/components/combobox/index.d.ts +20 -0
  144. package/dist/components/content-divider/content-divider.d.ts +10 -0
  145. package/dist/components/content-divider/index.d.ts +2 -0
  146. package/dist/components/dropdown/context-menu-item.d.ts +39 -0
  147. package/dist/components/dropdown/dropdown-item.d.ts +30 -0
  148. package/dist/components/dropdown/dropdown.d.ts +55 -0
  149. package/dist/components/dropdown/index.d.ts +6 -0
  150. package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +36 -0
  151. package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +18 -0
  152. package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +26 -0
  153. package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +22 -0
  154. package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +7 -0
  155. package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +38 -0
  156. package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +22 -0
  157. package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +22 -0
  158. package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +18 -0
  159. package/dist/components/dropdown-menu/dropdown-menu.d.ts +18 -0
  160. package/dist/components/dropdown-menu/index.d.ts +20 -0
  161. package/dist/components/hint-text/hint-text.d.ts +11 -0
  162. package/dist/components/hint-text/index.d.ts +2 -0
  163. package/dist/components/index.d.ts +21 -0
  164. package/dist/components/label/index.d.ts +2 -0
  165. package/dist/components/label/label.d.ts +29 -0
  166. package/dist/components/modal/index.d.ts +14 -0
  167. package/dist/components/modal/modal-body.d.ts +21 -0
  168. package/dist/components/modal/modal-close.d.ts +18 -0
  169. package/dist/components/modal/modal-content.d.ts +37 -0
  170. package/dist/components/modal/modal-footer.d.ts +21 -0
  171. package/dist/components/modal/modal-header.d.ts +16 -0
  172. package/dist/components/modal/modal-trigger.d.ts +18 -0
  173. package/dist/components/modal/modal.d.ts +22 -0
  174. package/dist/components/popover/index.d.ts +6 -0
  175. package/dist/components/popover/popover-content.d.ts +41 -0
  176. package/dist/components/popover/popover-trigger.d.ts +18 -0
  177. package/dist/components/popover/popover.d.ts +22 -0
  178. package/dist/components/scroll-area/index.d.ts +2 -0
  179. package/dist/components/scroll-area/scroll-area.d.ts +22 -0
  180. package/dist/components/scroll-area/scroll-bar.d.ts +9 -0
  181. package/dist/components/segmented-control/index.d.ts +4 -0
  182. package/dist/components/segmented-control/segmented-control-item.d.ts +22 -0
  183. package/dist/components/segmented-control/segmented-control.d.ts +26 -0
  184. package/dist/components/select/index.d.ts +18 -0
  185. package/dist/components/select/select-content.d.ts +33 -0
  186. package/dist/components/select/select-group.d.ts +18 -0
  187. package/dist/components/select/select-icon.d.ts +21 -0
  188. package/dist/components/select/select-item.d.ts +22 -0
  189. package/dist/components/select/select-label.d.ts +22 -0
  190. package/dist/components/select/select-separator.d.ts +7 -0
  191. package/dist/components/select/select-trigger.d.ts +28 -0
  192. package/dist/components/select/select-value.d.ts +22 -0
  193. package/dist/components/select/select.d.ts +28 -0
  194. package/dist/components/slider/index.d.ts +2 -0
  195. package/dist/components/slider/slider.d.ts +13 -0
  196. package/dist/components/switch/index.d.ts +2 -0
  197. package/dist/components/switch/switch.d.ts +11 -0
  198. package/dist/components/tab-menu/index.d.ts +8 -0
  199. package/dist/components/tab-menu/tab-menu-content.d.ts +22 -0
  200. package/dist/components/tab-menu/tab-menu-item.d.ts +24 -0
  201. package/dist/components/tab-menu/tab-menu-list.d.ts +22 -0
  202. package/dist/components/tab-menu/tab-menu.d.ts +23 -0
  203. package/dist/components/text-input/index.d.ts +6 -0
  204. package/dist/components/text-input/text-input-affix.d.ts +23 -0
  205. package/dist/components/text-input/text-input-button.d.ts +23 -0
  206. package/dist/components/text-input/text-input.d.ts +32 -0
  207. package/dist/components/textarea/index.d.ts +2 -0
  208. package/dist/components/textarea/textarea.d.ts +22 -0
  209. package/dist/components/tooltip/index.d.ts +2 -0
  210. package/dist/components/tooltip/tooltip.d.ts +29 -0
  211. package/dist/composables/use-delegated-props.d.ts +2 -0
  212. package/dist/es/alert.js +112 -0
  213. package/dist/es/alpha-slider.js +4 -0
  214. package/dist/es/badge.js +56 -0
  215. package/dist/es/button.js +40 -0
  216. package/dist/es/checkbox-label.js +113 -0
  217. package/dist/es/checkbox.js +4 -0
  218. package/dist/es/chunks/_plugin-vue_export-helper.js +10 -0
  219. package/dist/es/chunks/alpha-slider.js +128 -0
  220. package/dist/es/chunks/checkbox.vue_vue_type_style_index_0_lang.js +39 -0
  221. package/dist/es/chunks/clsx.js +16 -0
  222. package/dist/es/chunks/combobox-anchor.js +32 -0
  223. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +53 -0
  224. package/dist/es/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +52 -0
  225. package/dist/es/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +50 -0
  226. package/dist/es/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +33 -0
  227. package/dist/es/chunks/dropdown-menu-sub.js +26 -0
  228. package/dist/es/chunks/index.js +9058 -0
  229. package/dist/es/chunks/modal-close.js +23 -0
  230. package/dist/es/chunks/modal-trigger.js +23 -0
  231. package/dist/es/chunks/modal.js +27 -0
  232. package/dist/es/chunks/popover.js +27 -0
  233. package/dist/es/chunks/scroll-area.js +42 -0
  234. package/dist/es/chunks/select-group.js +23 -0
  235. package/dist/es/chunks/select.js +39 -0
  236. package/dist/es/chunks/slider.vue_vue_type_style_index_0_lang.js +53 -0
  237. package/dist/es/chunks/switch.vue_vue_type_style_index_0_lang.js +39 -0
  238. package/dist/es/chunks/use-color-model.js +993 -0
  239. package/dist/es/color-area.js +176 -0
  240. package/dist/es/color-picker.js +515 -0
  241. package/dist/es/color-swatch.js +60 -0
  242. package/dist/es/color.js +102 -0
  243. package/dist/es/combobox-anchor.js +4 -0
  244. package/dist/es/combobox-empty.js +33 -0
  245. package/dist/es/combobox-group.js +43 -0
  246. package/dist/es/combobox-input.js +64 -0
  247. package/dist/es/combobox-item.js +110 -0
  248. package/dist/es/combobox-list.js +63 -0
  249. package/dist/es/combobox-root.js +41 -0
  250. package/dist/es/combobox-separator.js +33 -0
  251. package/dist/es/combobox-trigger.js +48 -0
  252. package/dist/es/combobox.js +234 -0
  253. package/dist/es/command-group.js +42 -0
  254. package/dist/es/command-input.js +43 -0
  255. package/dist/es/command-item.js +35 -0
  256. package/dist/es/command-list.js +53 -0
  257. package/dist/es/command-root.js +46 -0
  258. package/dist/es/command-separator.js +33 -0
  259. package/dist/es/compact-button.js +43 -0
  260. package/dist/es/content-divider.js +4 -0
  261. package/dist/es/context-menu-item.js +135 -0
  262. package/dist/es/crypto.js +8 -0
  263. package/dist/es/dropdown-item.js +100 -0
  264. package/dist/es/dropdown-menu-content.js +4 -0
  265. package/dist/es/dropdown-menu-group.js +25 -0
  266. package/dist/es/dropdown-menu-item.js +69 -0
  267. package/dist/es/dropdown-menu-label.js +32 -0
  268. package/dist/es/dropdown-menu-separator.js +26 -0
  269. package/dist/es/dropdown-menu-sub-content.js +4 -0
  270. package/dist/es/dropdown-menu-sub-trigger.js +4 -0
  271. package/dist/es/dropdown-menu-sub.js +4 -0
  272. package/dist/es/dropdown-menu-trigger.js +27 -0
  273. package/dist/es/dropdown-menu.js +33 -0
  274. package/dist/es/dropdown.js +292 -0
  275. package/dist/es/fancy-button.js +39 -0
  276. package/dist/es/hint-text.js +37 -0
  277. package/dist/es/hue-slider.js +134 -0
  278. package/dist/es/index.js +220 -0
  279. package/dist/es/label.js +56 -0
  280. package/dist/es/link-button.js +45 -0
  281. package/dist/es/modal-body.js +23 -0
  282. package/dist/es/modal-close.js +4 -0
  283. package/dist/es/modal-content.js +49 -0
  284. package/dist/es/modal-footer.js +23 -0
  285. package/dist/es/modal-header.js +82 -0
  286. package/dist/es/modal-trigger.js +4 -0
  287. package/dist/es/modal.js +4 -0
  288. package/dist/es/popover-content.js +105 -0
  289. package/dist/es/popover-trigger.js +25 -0
  290. package/dist/es/popover.js +4 -0
  291. package/dist/es/scroll-area.js +4 -0
  292. package/dist/es/scroll-bar.js +40 -0
  293. package/dist/es/segmented-control-item.js +42 -0
  294. package/dist/es/segmented-control.js +41 -0
  295. package/dist/es/select-content.js +62 -0
  296. package/dist/es/select-group.js +4 -0
  297. package/dist/es/select-icon.js +26 -0
  298. package/dist/es/select-item.js +45 -0
  299. package/dist/es/select-label.js +33 -0
  300. package/dist/es/select-separator.js +27 -0
  301. package/dist/es/select-trigger.js +41 -0
  302. package/dist/es/select-value.js +32 -0
  303. package/dist/es/select.js +4 -0
  304. package/dist/es/shims.js +1 -0
  305. package/dist/es/slider.js +4 -0
  306. package/dist/es/social-button.js +46 -0
  307. package/dist/es/status-badge.js +50 -0
  308. package/dist/es/switch.js +4 -0
  309. package/dist/es/tab-menu-content.js +33 -0
  310. package/dist/es/tab-menu-item.js +45 -0
  311. package/dist/es/tab-menu-list.js +35 -0
  312. package/dist/es/tab-menu.js +33 -0
  313. package/dist/es/text-input-affix.js +28 -0
  314. package/dist/es/text-input-button.js +32 -0
  315. package/dist/es/text-input.js +120 -0
  316. package/dist/es/textarea.js +57 -0
  317. package/dist/es/tooltip.js +116 -0
  318. package/dist/es/use-color-model.js +6 -0
  319. package/dist/es/use-delegated-props.js +14 -0
  320. package/dist/es/use-user-select.js +39 -0
  321. package/dist/index.d.ts +5 -0
  322. package/dist/utils/color.d.ts +26 -0
  323. package/dist/utils/crypto.d.ts +1 -0
  324. package/package.json +3 -3
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const useDelegatedProps = require("./use-delegated-props.js");
4
+ const clsx = require("./chunks/clsx.js");
5
+ ;/* empty css */
6
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
7
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
8
+ __name: "text-input-affix",
9
+ props: {
10
+ class: {},
11
+ inline: { type: Boolean },
12
+ asKbd: { type: Boolean }
13
+ },
14
+ setup(__props) {
15
+ const props = __props;
16
+ const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
17
+ return (_ctx, _cache) => {
18
+ return Mo.openBlock(), Mo.createElementBlock("span", Mo.mergeProps(Mo.unref(delegatedProps), {
19
+ class: Mo.unref(clsx.clsx)("celeste-text-input-affix", props.class)
20
+ }), [
21
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
22
+ ], 16);
23
+ };
24
+ }
25
+ });
26
+ const textInputAffix = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-2d8a1dbc"]]);
27
+ module.exports = textInputAffix;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const button = require("./button.js");
4
+ const useDelegatedProps = require("./use-delegated-props.js");
5
+ const clsx = require("./chunks/clsx.js");
6
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
7
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
8
+ __name: "text-input-button",
9
+ props: {
10
+ inline: { type: Boolean, default: false }
11
+ },
12
+ setup(__props) {
13
+ const props = __props;
14
+ const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
15
+ return (_ctx, _cache) => {
16
+ return Mo.openBlock(), Mo.createBlock(button, Mo.mergeProps(Mo.unref(delegatedProps), {
17
+ size: "sm",
18
+ intent: "neutral",
19
+ variant: "stroke",
20
+ class: Mo.unref(clsx.clsx)("celeste-text-input-button", props.class)
21
+ }), {
22
+ default: Mo.withCtx(() => [
23
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
24
+ ]),
25
+ _: 3
26
+ }, 16, ["class"]);
27
+ };
28
+ }
29
+ });
30
+ const TextInputButton = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-7d21364e"]]);
31
+ module.exports = TextInputButton;
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const crypto = require("./crypto.js");
4
+ const clsx = require("./chunks/clsx.js");
5
+ const index = require("./chunks/index.js");
6
+ const textInputButton = require("./text-input-button.js");
7
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
8
+ const _hoisted_1 = ["for", "size", "has-error"];
9
+ const _hoisted_2 = ["id", "type"];
10
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
11
+ __name: "text-input",
12
+ props: /* @__PURE__ */ Mo.mergeModels({
13
+ type: { default: "text" },
14
+ size: { default: "md" },
15
+ hasError: { type: Boolean, default: false }
16
+ }, {
17
+ "modelValue": {},
18
+ "modelModifiers": {}
19
+ }),
20
+ emits: ["update:modelValue"],
21
+ setup(__props) {
22
+ const props = __props;
23
+ const id = Mo.computed(() => props.id || crypto.uid());
24
+ const modelValue = Mo.useModel(__props, "modelValue");
25
+ const showClearButton = Mo.computed(() => {
26
+ return props.type === "search" && modelValue.value && String(modelValue.value).length > 0;
27
+ });
28
+ function clearInput() {
29
+ modelValue.value = "";
30
+ }
31
+ return (_ctx, _cache) => {
32
+ return Mo.openBlock(), Mo.createElementBlock("label", {
33
+ for: id.value,
34
+ size: _ctx.size,
35
+ role: "presentation",
36
+ "has-error": _ctx.hasError,
37
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-text-input-wrapper", props.class))
38
+ }, [
39
+ Mo.createVNode(Mo.unref(index.O), {
40
+ "as-child": "",
41
+ class: "celeste-text-input-icon celeste-text-input-leading-icon"
42
+ }, {
43
+ default: Mo.withCtx(() => [
44
+ Mo.renderSlot(_ctx.$slots, "leadingIcon", {}, void 0, true)
45
+ ]),
46
+ _: 3
47
+ }),
48
+ Mo.createVNode(Mo.unref(index.O), {
49
+ "as-child": "",
50
+ class: "celeste-text-input-node celeste-text-input-leading-node"
51
+ }, {
52
+ default: Mo.withCtx(() => [
53
+ Mo.renderSlot(_ctx.$slots, "leadingNode", {}, void 0, true)
54
+ ]),
55
+ _: 3
56
+ }),
57
+ Mo.createVNode(Mo.unref(index.O), {
58
+ inline: "",
59
+ "as-child": "",
60
+ class: "celeste-text-input-inline-node celeste-text-input-leading-inline-node"
61
+ }, {
62
+ default: Mo.withCtx(() => [
63
+ Mo.renderSlot(_ctx.$slots, "leadingInlineNode", {}, void 0, true)
64
+ ]),
65
+ _: 3
66
+ }),
67
+ Mo.withDirectives(Mo.createElementVNode("input", Mo.mergeProps({
68
+ id: id.value,
69
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
70
+ }, _ctx.$attrs, {
71
+ type: _ctx.type,
72
+ class: "celeste-text-input"
73
+ }), null, 16, _hoisted_2), [
74
+ [Mo.vModelDynamic, modelValue.value]
75
+ ]),
76
+ Mo.createVNode(Mo.unref(index.O), {
77
+ "as-child": "",
78
+ class: "celeste-text-input-icon celeste-text-input-trailing-icon"
79
+ }, {
80
+ default: Mo.withCtx(() => [
81
+ Mo.renderSlot(_ctx.$slots, "trailingIcon", {}, void 0, true)
82
+ ]),
83
+ _: 3
84
+ }),
85
+ Mo.createVNode(Mo.unref(index.O), {
86
+ "as-child": "",
87
+ class: "celeste-text-input-node celeste-text-input-trailing-node"
88
+ }, {
89
+ default: Mo.withCtx(() => [
90
+ Mo.renderSlot(_ctx.$slots, "trailingNode", {}, void 0, true)
91
+ ]),
92
+ _: 3
93
+ }),
94
+ Mo.createVNode(Mo.unref(index.O), {
95
+ inline: "",
96
+ "as-child": "",
97
+ class: "celeste-text-input-inline-node celeste-text-input-trailing-inline-node"
98
+ }, {
99
+ default: Mo.withCtx(() => [
100
+ showClearButton.value ? (Mo.openBlock(), Mo.createBlock(textInputButton, {
101
+ key: 0,
102
+ type: "button",
103
+ "aria-label": "Clear search",
104
+ onClick: clearInput
105
+ }, {
106
+ default: Mo.withCtx(() => _cache[1] || (_cache[1] = [
107
+ Mo.createElementVNode("i", { class: "i-celeste-close-line" }, null, -1)
108
+ ])),
109
+ _: 1
110
+ })) : Mo.renderSlot(_ctx.$slots, "trailingInlineNode", { key: 1 }, void 0, true)
111
+ ]),
112
+ _: 3
113
+ })
114
+ ], 10, _hoisted_1);
115
+ };
116
+ }
117
+ });
118
+ const TextInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-a368a0c2"]]);
119
+ module.exports = TextInput;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
5
+ const _hoisted_1 = ["aria-disabled"];
6
+ const _hoisted_2 = ["placeholder", "maxlength", "disabled"];
7
+ const _hoisted_3 = {
8
+ key: 0,
9
+ class: "celeste-textarea-count"
10
+ };
11
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
12
+ __name: "textarea",
13
+ props: /* @__PURE__ */ Mo.mergeModels({
14
+ class: {},
15
+ placeholder: { default: "Placeholder" },
16
+ showCount: { type: Boolean, default: true },
17
+ disabled: { type: Boolean, default: false },
18
+ maxLength: {}
19
+ }, {
20
+ "modelValue": {},
21
+ "modelModifiers": {}
22
+ }),
23
+ emits: ["update:modelValue"],
24
+ setup(__props) {
25
+ const props = __props;
26
+ const modelValue = Mo.useModel(__props, "modelValue");
27
+ return (_ctx, _cache) => {
28
+ var _a;
29
+ return Mo.openBlock(), Mo.createElementBlock("div", {
30
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)(
31
+ "celeste-textarea-wrapper",
32
+ props.class
33
+ )),
34
+ "aria-disabled": _ctx.disabled,
35
+ onClick: _cache[1] || (_cache[1] = ($event) => {
36
+ var _a2;
37
+ return (_a2 = _ctx.$el.querySelector("textarea")) == null ? void 0 : _a2.focus();
38
+ })
39
+ }, [
40
+ Mo.withDirectives(Mo.createElementVNode("textarea", Mo.mergeProps({
41
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
42
+ }, _ctx.$attrs, {
43
+ placeholder: _ctx.placeholder,
44
+ maxlength: _ctx.maxLength,
45
+ disabled: _ctx.disabled,
46
+ class: "celeste-textarea"
47
+ }), null, 16, _hoisted_2), [
48
+ [Mo.vModelText, modelValue.value]
49
+ ]),
50
+ _ctx.showCount && Number(_ctx.maxLength) ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_3, Mo.toDisplayString(`${((_a = modelValue.value) == null ? void 0 : _a.length) || 0}/${_ctx.maxLength}`), 1)) : Mo.createCommentVNode("", true)
51
+ ], 10, _hoisted_1);
52
+ };
53
+ }
54
+ });
55
+ const textarea = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-76864cee"]]);
56
+ module.exports = textarea;
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const compactButton = require("./compact-button.js");
4
+ const clsx = require("./chunks/clsx.js");
5
+ const index = require("./chunks/index.js");
6
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
7
+ const _hoisted_1 = { class: "celeste-tooltip-content-box" };
8
+ const _hoisted_2 = {
9
+ key: 0,
10
+ class: "celeste-tooltip-content-title"
11
+ };
12
+ const _hoisted_3 = {
13
+ key: 1,
14
+ class: "celeste-tooltip-content-description"
15
+ };
16
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
17
+ __name: "tooltip",
18
+ props: {
19
+ class: {},
20
+ size: { default: "sm" },
21
+ variant: { default: "light" },
22
+ icon: {},
23
+ title: {},
24
+ description: {},
25
+ dismissible: { type: Boolean },
26
+ defaultOpen: { type: Boolean },
27
+ open: { type: Boolean },
28
+ delayDuration: { default: 0 },
29
+ disableHoverableContent: { type: Boolean },
30
+ disableClosingTrigger: { type: Boolean },
31
+ disabled: { type: Boolean },
32
+ ignoreNonKeyboardFocus: { type: Boolean },
33
+ forceMount: { type: Boolean },
34
+ ariaLabel: {},
35
+ asChild: { type: Boolean },
36
+ as: {},
37
+ side: {},
38
+ sideOffset: { default: 12 },
39
+ align: {},
40
+ alignOffset: {},
41
+ avoidCollisions: { type: Boolean },
42
+ collisionBoundary: {},
43
+ collisionPadding: {},
44
+ arrowPadding: {},
45
+ sticky: {},
46
+ hideWhenDetached: { type: Boolean }
47
+ },
48
+ emits: ["update:open"],
49
+ setup(__props, { emit: __emit }) {
50
+ const props = __props;
51
+ const emits = __emit;
52
+ const forwarded = index.xe(props, emits);
53
+ const isOpen = Mo.ref(props.defaultOpen);
54
+ function close() {
55
+ isOpen.value = false;
56
+ }
57
+ return (_ctx, _cache) => {
58
+ return Mo.openBlock(), Mo.createBlock(Mo.unref(index.Lg), null, {
59
+ default: Mo.withCtx(() => [
60
+ Mo.createVNode(Mo.unref(index.zg), Mo.mergeProps(Mo.unref(forwarded), {
61
+ open: props.open || isOpen.value,
62
+ "onUpdate:open": _cache[0] || (_cache[0] = (state) => isOpen.value = state)
63
+ }), {
64
+ default: Mo.withCtx(() => [
65
+ Mo.createVNode(Mo.unref(index.Kg), { "as-child": "" }, {
66
+ default: Mo.withCtx(() => [
67
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
68
+ ]),
69
+ _: 3
70
+ }),
71
+ Mo.createVNode(Mo.unref(index.jg), { class: "celeste-tooltip-portal" }, {
72
+ default: Mo.withCtx(() => [
73
+ Mo.createVNode(Mo.unref(index.Hg), Mo.mergeProps({ ...Mo.unref(forwarded), ..._ctx.$attrs }, {
74
+ size: _ctx.size,
75
+ variant: _ctx.variant,
76
+ class: Mo.unref(clsx.clsx)("celeste-tooltip-content", props.class)
77
+ }), {
78
+ default: Mo.withCtx(() => [
79
+ _ctx.icon ? (Mo.openBlock(), Mo.createElementBlock("i", {
80
+ key: 0,
81
+ class: Mo.normalizeClass(`celeste-tooltip-content-icon ${_ctx.icon}`)
82
+ }, null, 2)) : Mo.createCommentVNode("", true),
83
+ Mo.createElementVNode("div", _hoisted_1, [
84
+ _ctx.title ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_2, Mo.toDisplayString(_ctx.title), 1)) : Mo.createCommentVNode("", true),
85
+ _ctx.description ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_3, Mo.toDisplayString(_ctx.description), 1)) : Mo.createCommentVNode("", true)
86
+ ]),
87
+ _ctx.dismissible ? (Mo.openBlock(), Mo.createBlock(compactButton, {
88
+ key: 1,
89
+ variant: "ghost",
90
+ icon: "i-celeste-close-line",
91
+ onClick: close
92
+ })) : Mo.createCommentVNode("", true),
93
+ Mo.createVNode(Mo.unref(index.Wg), { "as-child": "" }, {
94
+ default: Mo.withCtx(() => _cache[1] || (_cache[1] = [
95
+ Mo.createElementVNode("span", { class: "celeste-tooltip-content-arrow" }, null, -1)
96
+ ])),
97
+ _: 1
98
+ })
99
+ ]),
100
+ _: 1
101
+ }, 16, ["size", "variant", "class"])
102
+ ]),
103
+ _: 1
104
+ })
105
+ ]),
106
+ _: 3
107
+ }, 16, ["open"])
108
+ ]),
109
+ _: 3
110
+ });
111
+ };
112
+ }
113
+ });
114
+ const Tooltip = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-0dc4a40e"]]);
115
+ module.exports = Tooltip;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const useColorModel = require("./chunks/use-color-model.js");
4
+ require("vue");
5
+ exports.ColorPickerEmits = useColorModel.ColorPickerEmits;
6
+ exports.defineColorModel = useColorModel.defineColorModel;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const Mo = require("vue");
4
+ function useDelegatedProps(props, excludeKeys = ["class"]) {
5
+ return Mo.computed(() => {
6
+ const keysToExclude = Array.isArray(excludeKeys) ? excludeKeys : [excludeKeys];
7
+ const delegated = { ...props };
8
+ keysToExclude.forEach((key) => {
9
+ delete delegated[key];
10
+ });
11
+ return delegated;
12
+ });
13
+ }
14
+ exports.useDelegatedProps = useDelegatedProps;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const Mo = require("vue");
4
+ function useUserPageSelection() {
5
+ const isDisabled = Mo.ref(false);
6
+ let styleElement = null;
7
+ const preventPageUserSelect = () => {
8
+ if (!styleElement) {
9
+ styleElement = document.createElement("style");
10
+ styleElement.textContent = "body > * { user-select: none; }";
11
+ document.head.appendChild(styleElement);
12
+ isDisabled.value = true;
13
+ }
14
+ };
15
+ const allowPageUserSelect = () => {
16
+ if (styleElement) {
17
+ styleElement.remove();
18
+ styleElement = null;
19
+ isDisabled.value = false;
20
+ }
21
+ };
22
+ const togglePageUserSelect = () => {
23
+ if (styleElement) {
24
+ allowPageUserSelect();
25
+ return;
26
+ }
27
+ preventPageUserSelect();
28
+ };
29
+ Mo.onUnmounted(() => {
30
+ allowPageUserSelect();
31
+ });
32
+ return {
33
+ isDisabled: Mo.readonly(isDisabled),
34
+ togglePageUserSelect,
35
+ preventPageUserSelect,
36
+ allowPageUserSelect
37
+ };
38
+ }
39
+ exports.useUserPageSelection = useUserPageSelection;
@@ -0,0 +1,30 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface AlertProps {
3
+ class?: HTMLAttributes['class'];
4
+ size?: 'xs' | 'sm' | 'lg';
5
+ variant?: 'fill' | 'light' | 'lighter' | 'stroke';
6
+ state?: 'information' | 'success' | 'warning' | 'error' | 'feature';
7
+ dismissable?: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ dismiss: (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{
12
+ onDismiss?: ((...args: any[]) => any) | undefined;
13
+ }>, {
14
+ size: "xs" | "sm" | "lg";
15
+ variant: "fill" | "light" | "lighter" | "stroke";
16
+ state: "information" | "success" | "warning" | "error" | "feature";
17
+ dismissable: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
19
+ default?(_: {}): any;
20
+ title?(_: {}): any;
21
+ description?(_: {}): any;
22
+ primary?(_: {}): any;
23
+ secondary?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,2 @@
1
+ export * from './alert';
2
+ export { default as Alert } from './alert';
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface BadgeProps {
3
+ size?: 'sm' | 'md';
4
+ variant?: 'fill' | 'light' | 'lighter' | 'stroke';
5
+ type?: 'basic' | 'dot' | 'leading-icon' | 'trailing-icon';
6
+ state?: 'faded' | 'information' | 'warning' | 'error' | 'success' | 'away' | 'feature' | 'verified' | 'highlighted' | 'stable';
7
+ disabled?: boolean;
8
+ icon?: string;
9
+ label?: string;
10
+ class?: HTMLAttributes['class'];
11
+ }
12
+ declare const _default: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
13
+ size: "sm" | "md";
14
+ variant: "fill" | "light" | "lighter" | "stroke";
15
+ type: "basic" | "dot" | "leading-icon" | "trailing-icon";
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export * from './badge';
2
+ export { default as Badge } from './badge';
3
+ export * from './status-badge';
4
+ export { default as StatusBadge } from './status-badge';
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface StatusBadgeProps {
3
+ variant?: 'stroke' | 'light';
4
+ dotted?: boolean;
5
+ state?: 'success' | 'warning' | 'error' | 'faded';
6
+ label: string;
7
+ class?: HTMLAttributes['class'];
8
+ }
9
+ declare const _default: import('vue').DefineComponent<StatusBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatusBadgeProps> & Readonly<{}>, {
10
+ variant: "stroke" | "light";
11
+ state: "success" | "warning" | "error" | "faded";
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PrimitiveProps } from 'radix-vue';
3
+ export interface ButtonProps extends PrimitiveProps {
4
+ class?: HTMLAttributes['class'];
5
+ size?: 'xxs' | 'xs' | 'sm' | 'md';
6
+ intent?: 'primary' | 'neutral' | 'error';
7
+ variant?: 'fill' | 'stroke' | 'lighter' | 'ghost';
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
10
+ size: "xxs" | "xs" | "sm" | "md";
11
+ variant: "fill" | "stroke" | "lighter" | "ghost";
12
+ intent: "primary" | "neutral" | "error";
13
+ as: import('radix-vue').AsTag | import('vue').Component;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
15
+ default?(_: {}): any;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PrimitiveProps } from 'radix-vue';
3
+ export interface CompactButtonProps extends PrimitiveProps {
4
+ class?: HTMLAttributes['class'];
5
+ icon: string;
6
+ size?: 'lg' | 'md';
7
+ rounded?: boolean;
8
+ variant?: 'stroke' | 'white' | 'ghost';
9
+ }
10
+ declare const _default: import('vue').DefineComponent<CompactButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CompactButtonProps> & Readonly<{}>, {
11
+ size: "lg" | "md";
12
+ variant: "stroke" | "white" | "ghost";
13
+ as: import('radix-vue').AsTag | import('vue').Component;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PrimitiveProps } from 'radix-vue';
3
+ export interface FancyButtonProps extends PrimitiveProps {
4
+ class?: HTMLAttributes['class'];
5
+ size?: 'xs' | 'sm' | 'md';
6
+ intent?: 'primary' | 'neutral' | 'error' | 'basic';
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FancyButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FancyButtonProps> & Readonly<{}>, {
9
+ size: "xs" | "sm" | "md";
10
+ intent: "primary" | "neutral" | "error" | "basic";
11
+ as: import('radix-vue').AsTag | import('vue').Component;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
13
+ default?(_: {}): any;
14
+ }>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,10 @@
1
+ export * from './button';
2
+ export { default as Button } from './button';
3
+ export * from './compact-button';
4
+ export { default as CompactButton } from './compact-button';
5
+ export * from './fancy-button';
6
+ export { default as FancyButton } from './fancy-button';
7
+ export * from './link-button';
8
+ export { default as LinkButton } from './link-button';
9
+ export * from './social-button';
10
+ export { default as SocialButton } from './social-button';
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PrimitiveProps } from 'radix-vue';
3
+ export interface LinkButtonProps extends PrimitiveProps {
4
+ class?: HTMLAttributes['class'];
5
+ size?: 'sm' | 'md';
6
+ intent?: 'primary' | 'black' | 'gray' | 'error';
7
+ underline?: boolean;
8
+ disabled?: boolean;
9
+ }
10
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<LinkButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LinkButtonProps> & Readonly<{}>, {
11
+ size: "sm" | "md";
12
+ intent: "primary" | "black" | "gray" | "error";
13
+ as: import('radix-vue').AsTag | import('vue').Component;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
15
+ default?(_: {}): any;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,10 @@
1
+ export interface SocialButtonProps {
2
+ brand: 'apple' | 'twitter' | 'google' | 'facebook' | 'linkedin' | 'github';
3
+ variant?: 'fill' | 'stroke';
4
+ class?: string;
5
+ label?: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<SocialButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SocialButtonProps> & Readonly<{}>, {
8
+ variant: "fill" | "stroke";
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { LabelProps } from 'radix-vue';
3
+ type __VLS_Props = LabelProps & {
4
+ sublabel?: string;
5
+ information?: string;
6
+ required?: boolean;
7
+ description?: string;
8
+ disabled?: boolean;
9
+ class?: HTMLAttributes['class'];
10
+ };
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ default?(_: {}): any;
15
+ label?(_: {}): any;
16
+ sublabel?(_: {}): any;
17
+ badge?(_: {}): any;
18
+ description?(_: {}): any;
19
+ linkButton?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: any;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,11 @@
1
+ import { CheckboxRootProps } from 'radix-vue';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = CheckboxRootProps & {
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:checked": (value: boolean) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export * from './checkbox-label';
2
+ export { default as CheckboxLabel } from './checkbox-label';
3
+ export * from './checkbox';
4
+ export { default as Checkbox } from './checkbox';