ropav 0.0.8 → 0.0.10

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 (232) hide show
  1. package/dist/accordion.css +10 -10
  2. package/dist/accordion.js +2 -2
  3. package/dist/alert.css +109 -0
  4. package/dist/alert.js +168 -0
  5. package/dist/aspect-ratio.css +17 -0
  6. package/dist/aspect-ratio.js +26 -0
  7. package/dist/avatar.css +97 -0
  8. package/dist/avatar.js +161 -0
  9. package/dist/badge.css +40 -115
  10. package/dist/badge.js +19 -16
  11. package/dist/base.css +609 -180
  12. package/dist/button-link.css +161 -0
  13. package/dist/button-link.js +108 -0
  14. package/dist/button.css +50 -229
  15. package/dist/button.js +7 -9
  16. package/dist/card.css +12 -12
  17. package/dist/check.js +12 -0
  18. package/dist/checkbox.css +16 -57
  19. package/dist/checkbox.js +14 -31
  20. package/dist/collapse.css +2 -2
  21. package/dist/collapse.js +1 -1
  22. package/dist/color-input.css +108 -0
  23. package/dist/color-input.js +349 -0
  24. package/dist/color-picker.css +304 -0
  25. package/dist/color-picker.js +797 -0
  26. package/dist/color-picker2.js +18 -0
  27. package/dist/color-swatch.css +50 -0
  28. package/dist/color-swatch.js +73 -0
  29. package/dist/color.js +190 -0
  30. package/dist/componentColors.js +206 -13
  31. package/dist/components/accordion/accordion-item.d.ts +4 -4
  32. package/dist/components/accordion/accordion.d.ts +1 -1
  33. package/dist/components/accordion/index.d.ts +4 -4
  34. package/dist/components/accordion/types.d.ts +1 -1
  35. package/dist/components/accordion/useAccordion.d.ts +1 -1
  36. package/dist/components/alert/alert.d.ts +30 -0
  37. package/dist/components/alert/index.d.ts +3 -0
  38. package/dist/components/alert/index.js +2 -0
  39. package/dist/components/alert/types.d.ts +20 -0
  40. package/dist/components/alert/useAlertColor.d.ts +3 -0
  41. package/dist/components/aspect-ratio/aspect-ratio.d.ts +21 -0
  42. package/dist/components/aspect-ratio/index.d.ts +2 -0
  43. package/dist/components/aspect-ratio/index.js +2 -0
  44. package/dist/components/aspect-ratio/types.d.ts +3 -0
  45. package/dist/components/avatar/avatar.d.ts +24 -0
  46. package/dist/components/avatar/index.d.ts +3 -0
  47. package/dist/components/avatar/index.js +2 -0
  48. package/dist/components/avatar/types.d.ts +20 -0
  49. package/dist/components/avatar/useAvatarColor.d.ts +3 -0
  50. package/dist/components/badge/badge.d.ts +1 -1
  51. package/dist/components/badge/index.d.ts +3 -3
  52. package/dist/components/badge/types.d.ts +3 -2
  53. package/dist/components/badge/useBadgeColor.d.ts +3 -8
  54. package/dist/components/button/button.d.ts +1 -1
  55. package/dist/components/button/index.d.ts +2 -2
  56. package/dist/components/button/types.d.ts +2 -1
  57. package/dist/components/button/useButtonColor.d.ts +3 -13
  58. package/dist/components/button-group/button-group.d.ts +1 -1
  59. package/dist/components/button-group/index.d.ts +2 -2
  60. package/dist/components/button-link/button-link.d.ts +27 -0
  61. package/dist/components/button-link/index.d.ts +2 -0
  62. package/dist/components/button-link/index.js +2 -0
  63. package/dist/components/button-link/types.d.ts +20 -0
  64. package/dist/components/card/card.d.ts +1 -1
  65. package/dist/components/card/index.d.ts +2 -2
  66. package/dist/components/checkbox/checkbox.d.ts +1 -1
  67. package/dist/components/checkbox/index.d.ts +2 -2
  68. package/dist/components/checkbox/types.d.ts +2 -1
  69. package/dist/components/checkbox/useCheckbox.d.ts +4 -6
  70. package/dist/components/collapse/collapse.d.ts +2 -2
  71. package/dist/components/collapse/index.d.ts +3 -3
  72. package/dist/components/collapse/useCollapse.d.ts +1 -1
  73. package/dist/components/color-input/color-input.d.ts +29 -0
  74. package/dist/components/color-input/index.d.ts +2 -0
  75. package/dist/components/color-input/index.js +2 -0
  76. package/dist/components/color-input/types.d.ts +35 -0
  77. package/dist/components/color-input/useColorInput.d.ts +27 -0
  78. package/dist/components/color-input/useColorInputEyeDropper.d.ts +13 -0
  79. package/dist/components/color-input/useColorInputPopover.d.ts +11 -0
  80. package/dist/components/color-input/useColorInputValue.d.ts +8 -0
  81. package/dist/components/color-picker/color-picker-saturation.d.ts +21 -0
  82. package/dist/components/color-picker/color-picker-slider.d.ts +21 -0
  83. package/dist/components/color-picker/color-picker-utils.d.ts +23 -0
  84. package/dist/components/color-picker/color-picker.d.ts +23 -0
  85. package/dist/components/color-picker/index.d.ts +3 -0
  86. package/dist/components/color-picker/index.js +3 -0
  87. package/dist/components/color-picker/types.d.ts +39 -0
  88. package/dist/components/color-picker/useColorPickerDrag.d.ts +16 -0
  89. package/dist/components/color-picker/useColorPickerSwatches.d.ts +21 -0
  90. package/dist/components/color-picker/useColorPickerValue.d.ts +15 -0
  91. package/dist/components/color-swatch/color-swatch.d.ts +21 -0
  92. package/dist/components/color-swatch/index.d.ts +2 -0
  93. package/dist/components/color-swatch/index.js +2 -0
  94. package/dist/components/color-swatch/types.d.ts +6 -0
  95. package/dist/components/color-swatch/useColorSwatchColor.d.ts +5 -0
  96. package/dist/components/dropdown-menu/dropdown-menu-items.d.ts +15 -6
  97. package/dist/components/dropdown-menu/dropdown-menu-utils.d.ts +1 -1
  98. package/dist/components/dropdown-menu/dropdown-menu.d.ts +3 -3
  99. package/dist/components/dropdown-menu/index.d.ts +3 -3
  100. package/dist/components/dropdown-menu/useDropdownMenu.d.ts +11 -10
  101. package/dist/components/dropdown-menu/useDropdownMenuDisclosure.d.ts +2 -2
  102. package/dist/components/dropdown-menu/useDropdownMenuDom.d.ts +2 -2
  103. package/dist/components/dropdown-menu/useDropdownMenuHoverIntent.d.ts +2 -2
  104. package/dist/components/dropdown-menu/useDropdownMenuInteractions.d.ts +2 -2
  105. package/dist/components/dropdown-menu/useDropdownMenuNavigation.d.ts +3 -3
  106. package/dist/components/dropdown-menu/useDropdownMenuRenderItems.d.ts +12 -4
  107. package/dist/components/dropdown-menu/useDropdownSubmenus.d.ts +3 -3
  108. package/dist/components/field/field.d.ts +2 -2
  109. package/dist/components/field/index.d.ts +2 -2
  110. package/dist/components/field/types.d.ts +0 -2
  111. package/dist/components/field/useField.d.ts +1 -3
  112. package/dist/components/icon-button/icon-button.d.ts +1 -1
  113. package/dist/components/icon-button/index.d.ts +2 -2
  114. package/dist/components/icon-button/types.d.ts +2 -1
  115. package/dist/components/input/index.d.ts +2 -2
  116. package/dist/components/input/input.d.ts +1 -1
  117. package/dist/components/input/types.d.ts +3 -0
  118. package/dist/components/input/useInput.d.ts +2 -2
  119. package/dist/components/modal/index.d.ts +2 -2
  120. package/dist/components/modal/modal.d.ts +1 -1
  121. package/dist/components/modal/types.d.ts +1 -1
  122. package/dist/components/modal/useModal.d.ts +1 -1
  123. package/dist/components/number-input/index.d.ts +2 -0
  124. package/dist/components/number-input/index.js +2 -0
  125. package/dist/components/number-input/number-input.d.ts +29 -0
  126. package/dist/components/number-input/types.d.ts +34 -0
  127. package/dist/components/number-input/useNumberInput.d.ts +31 -0
  128. package/dist/components/overlay/index.d.ts +2 -2
  129. package/dist/components/overlay/overlay.d.ts +1 -1
  130. package/dist/components/overlay/useOverlay.d.ts +1 -1
  131. package/dist/components/popover/index.d.ts +3 -2
  132. package/dist/components/popover/index.js +2 -1
  133. package/dist/components/popover/popover.d.ts +2 -2
  134. package/dist/components/popover/types.d.ts +3 -1
  135. package/dist/components/popover/usePopover.d.ts +2 -1
  136. package/dist/components/progress/index.d.ts +3 -3
  137. package/dist/components/progress/progress.d.ts +1 -1
  138. package/dist/components/progress/types.d.ts +2 -2
  139. package/dist/components/progress/useProgress.d.ts +2 -2
  140. package/dist/components/radio/index.d.ts +3 -3
  141. package/dist/components/radio/radio-group.d.ts +1 -1
  142. package/dist/components/radio/radio.d.ts +1 -1
  143. package/dist/components/radio/types.d.ts +4 -1
  144. package/dist/components/radio/useRadio.d.ts +4 -6
  145. package/dist/components/select/index.d.ts +2 -2
  146. package/dist/components/select/select.d.ts +1 -1
  147. package/dist/components/select/types.d.ts +3 -0
  148. package/dist/components/select/useSelect.d.ts +2 -2
  149. package/dist/components/slider/index.d.ts +4 -3
  150. package/dist/components/slider/index.js +2 -2
  151. package/dist/components/slider/range-slider-tooltip.d.ts +34 -0
  152. package/dist/components/slider/range-slider.d.ts +37 -0
  153. package/dist/components/slider/slider.d.ts +1 -1
  154. package/dist/components/slider/sliderCore.d.ts +35 -0
  155. package/dist/components/slider/types.d.ts +15 -6
  156. package/dist/components/slider/useRangeSlider.d.ts +57 -0
  157. package/dist/components/slider/useRangeSliderPointer.d.ts +19 -0
  158. package/dist/components/slider/useRangeSliderTooltipCollision.d.ts +36 -0
  159. package/dist/components/slider/useRangeSliderTooltipState.d.ts +23 -0
  160. package/dist/components/slider/useSlider.d.ts +11 -15
  161. package/dist/components/switch/index.d.ts +2 -2
  162. package/dist/components/switch/switch.d.ts +1 -1
  163. package/dist/components/switch/types.d.ts +1 -1
  164. package/dist/components/switch/useSwitch.d.ts +4 -5
  165. package/dist/components/tabs/index.d.ts +6 -6
  166. package/dist/components/tabs/tabs-content.d.ts +2 -2
  167. package/dist/components/tabs/tabs-list.d.ts +4 -4
  168. package/dist/components/tabs/tabs-trigger.d.ts +5 -5
  169. package/dist/components/tabs/tabs.d.ts +5 -5
  170. package/dist/components/tabs/useTabs.d.ts +1 -1
  171. package/dist/components/textarea/index.d.ts +2 -2
  172. package/dist/components/textarea/textarea.d.ts +1 -1
  173. package/dist/components/textarea/useTextarea.d.ts +2 -2
  174. package/dist/components/toast/defaults.d.ts +7 -0
  175. package/dist/components/toast/index.d.ts +7 -0
  176. package/dist/components/toast/index.js +2 -0
  177. package/dist/components/toast/toast-provider.d.ts +21 -0
  178. package/dist/components/toast/toast-viewport.d.ts +34 -0
  179. package/dist/components/toast/toast.d.ts +31 -0
  180. package/dist/components/toast/types.d.ts +106 -0
  181. package/dist/components/toast/useToast.d.ts +4 -0
  182. package/dist/components/toast/useToastColor.d.ts +3 -0
  183. package/dist/components/toast/useToastState.d.ts +2 -0
  184. package/dist/components/tooltip/index.d.ts +2 -2
  185. package/dist/components/tooltip/tooltip.d.ts +2 -2
  186. package/dist/components/tooltip/types.d.ts +2 -1
  187. package/dist/components/tooltip/useTooltip.d.ts +3 -1
  188. package/dist/dropdown-menu.css +17 -17
  189. package/dist/dropdown-menu.js +160 -39
  190. package/dist/field.css +15 -18
  191. package/dist/field.js +17 -35
  192. package/dist/icon-button.css +57 -236
  193. package/dist/icon-button.js +5 -6
  194. package/dist/index.d.ts +31 -22
  195. package/dist/index.js +17 -4
  196. package/dist/input.css +40 -46
  197. package/dist/input.js +39 -21
  198. package/dist/minus.js +12 -0
  199. package/dist/modal.css +9 -9
  200. package/dist/modal.js +1 -1
  201. package/dist/number-input.css +86 -0
  202. package/dist/number-input.js +350 -0
  203. package/dist/overlay.css +5 -5
  204. package/dist/overlay.js +3 -3
  205. package/dist/popover.css +62 -29
  206. package/dist/popover.js +33 -19
  207. package/dist/popover2.js +17 -0
  208. package/dist/progress.css +9 -30
  209. package/dist/progress.js +3 -6
  210. package/dist/radio.css +34 -62
  211. package/dist/radio.js +28 -16
  212. package/dist/rafScheduler.js +34 -0
  213. package/dist/select.css +105 -61
  214. package/dist/select.js +12 -8
  215. package/dist/slider.css +719 -125
  216. package/dist/slider.js +1251 -149
  217. package/dist/switch.css +19 -44
  218. package/dist/switch.js +4 -5
  219. package/dist/tabs.css +36 -36
  220. package/dist/tabs.js +1 -1
  221. package/dist/textarea.css +33 -25
  222. package/dist/textarea.js +8 -2
  223. package/dist/toast.css +232 -0
  224. package/dist/toast.js +679 -0
  225. package/dist/tooltip.css +7 -35
  226. package/dist/tooltip.js +30 -18
  227. package/dist/useButtonColor.js +16 -14
  228. package/dist/utils/componentColors.d.ts +60 -0
  229. package/package.json +55 -15
  230. package/src/styles/_mixins.scss +25 -41
  231. package/src/styles/_tokens.scss +615 -182
  232. package/src/styles/_variables.scss +177 -49
@@ -0,0 +1,3 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { AlertColor, AlertVariant } from './types.js';
3
+ export declare function getAlertColorStyle(color: AlertColor | undefined, variant: AlertVariant | undefined, autoContrast: boolean | undefined): CSSProperties | undefined;
@@ -0,0 +1,21 @@
1
+ import { AspectRatioProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<AspectRatioProps> & (typeof globalThis extends {
4
+ __VLS_PROPS_FALLBACK: infer P;
5
+ } ? P : {});
6
+ expose: (exposed: {}) => void;
7
+ attrs: any;
8
+ slots: {
9
+ default?: (props: {}) => any;
10
+ };
11
+ emit: {};
12
+ }>) => import('vue').VNode & {
13
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
14
+ };
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
18
+ [K in keyof T]: T[K];
19
+ } : {
20
+ [K in keyof T as K]: T[K];
21
+ }) & {};
@@ -0,0 +1,2 @@
1
+ export { default as AspectRatio } from './aspect-ratio.js';
2
+ export type { AspectRatioProps } from './types.js';
@@ -0,0 +1,2 @@
1
+ import { t as aspect_ratio_default } from "../../aspect-ratio.js";
2
+ export { aspect_ratio_default as AspectRatio };
@@ -0,0 +1,3 @@
1
+ export interface AspectRatioProps {
2
+ ratio?: number;
3
+ }
@@ -0,0 +1,24 @@
1
+ import { AvatarProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<AvatarProps & {
4
+ onLoad?: ((event: Event) => any) | undefined;
5
+ onError?: ((event: Event) => any) | undefined;
6
+ }> & (typeof globalThis extends {
7
+ __VLS_PROPS_FALLBACK: infer P;
8
+ } ? P : {});
9
+ expose: (exposed: {}) => void;
10
+ attrs: any;
11
+ slots: {
12
+ default?: (props: {}) => any;
13
+ };
14
+ emit: ((evt: "load", event: Event) => void) & ((evt: "error", event: Event) => void);
15
+ }>) => import('vue').VNode & {
16
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
17
+ };
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
21
+ [K in keyof T]: T[K];
22
+ } : {
23
+ [K in keyof T as K]: T[K];
24
+ }) & {};
@@ -0,0 +1,3 @@
1
+ export { default as Avatar } from './avatar.js';
2
+ export { avatarColors, avatarRadiuses, avatarSizes, avatarVariants } from './types.js';
3
+ export type { AvatarColor, AvatarProps, AvatarRadius, AvatarSize, AvatarVariant } from './types.js';
@@ -0,0 +1,2 @@
1
+ import { a as avatar_default, i as avatarVariants, n as avatarRadiuses, r as avatarSizes, t as avatarColors } from "../../avatar.js";
2
+ export { avatar_default as Avatar, avatarColors, avatarRadiuses, avatarSizes, avatarVariants };
@@ -0,0 +1,20 @@
1
+ import { ComponentColorValue } from '../../utils/componentColors.js';
2
+ export declare const avatarColors: readonly ["dark", "gray", "red", "pink", "grape", "violet", "indigo", "blue", "cyan", "teal", "green", "lime", "yellow", "orange"];
3
+ export declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl"];
4
+ export declare const avatarRadiuses: readonly ["none", "xs", "sm", "md", "lg", "xl", "full"];
5
+ export declare const avatarVariants: readonly ["solid", "subtle", "surface", "outline"];
6
+ export type AvatarColor = ComponentColorValue;
7
+ export type AvatarSize = (typeof avatarSizes)[number];
8
+ export type AvatarRadius = (typeof avatarRadiuses)[number];
9
+ export type AvatarVariant = (typeof avatarVariants)[number];
10
+ export interface AvatarProps {
11
+ src?: string | null;
12
+ alt?: string;
13
+ ariaLabel?: string;
14
+ name?: string;
15
+ variant?: AvatarVariant;
16
+ color?: AvatarColor;
17
+ autoContrast?: boolean;
18
+ size?: AvatarSize;
19
+ radius?: AvatarRadius;
20
+ }
@@ -0,0 +1,3 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { AvatarColor, AvatarVariant } from './types.js';
3
+ export declare function getAvatarColorStyle(color: AvatarColor | undefined, variant: AvatarVariant | undefined, autoContrast: boolean | undefined): CSSProperties | undefined;
@@ -1,4 +1,4 @@
1
- import { BadgeProps } from './types';
1
+ import { BadgeProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<BadgeProps> & (typeof globalThis extends {
4
4
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,3 +1,3 @@
1
- export { default as Badge } from './badge';
2
- export { badgeColors, badgeRadiuses, badgeSizes, badgeVariants } from './types';
3
- export type { BadgeColor, BadgeProps, BadgeRadius, BadgeSize, BadgeVariant } from './types';
1
+ export { default as Badge } from './badge.js';
2
+ export { badgeColors, badgeRadiuses, badgeSizes, badgeVariants } from './types.js';
3
+ export type { BadgeColor, BadgeProps, BadgeRadius, BadgeSize, BadgeVariant } from './types.js';
@@ -1,5 +1,5 @@
1
- import { ComponentColorValue } from '../../utils/componentColors';
2
- export declare const badgeColors: readonly ["primary", "secondary", "success", "warning", "danger", "info", "neutral"];
1
+ import { ComponentColorValue } from '../../utils/componentColors.js';
2
+ export declare const badgeColors: readonly ["dark", "gray", "red", "pink", "grape", "violet", "indigo", "blue", "cyan", "teal", "green", "lime", "yellow", "orange"];
3
3
  export declare const badgeSizes: readonly ["xs", "sm", "md", "lg", "xl"];
4
4
  export declare const badgeRadiuses: readonly ["none", "xs", "sm", "md", "lg", "xl", "full"];
5
5
  export declare const badgeVariants: readonly ["solid", "subtle", "surface", "outline"];
@@ -10,6 +10,7 @@ export type BadgeVariant = (typeof badgeVariants)[number];
10
10
  export interface BadgeProps {
11
11
  variant?: BadgeVariant;
12
12
  color?: BadgeColor;
13
+ autoContrast?: boolean;
13
14
  size?: BadgeSize;
14
15
  radius?: BadgeRadius;
15
16
  ariaLabel?: string;
@@ -1,8 +1,3 @@
1
- import { BadgeColor } from './types';
2
- export declare function getBadgeColorStyle(color: BadgeColor | undefined): {
3
- '--_rp-badge-custom-color': string & {};
4
- '--_rp-badge-custom-fg': string & {};
5
- '--_rp-badge-custom-on': string;
6
- '--_rp-badge-custom-subtle-bg': string;
7
- '--_rp-badge-custom-border': string;
8
- } | undefined;
1
+ import { CSSProperties } from 'vue';
2
+ import { BadgeColor, BadgeVariant } from './types.js';
3
+ export declare function getBadgeColorStyle(color: BadgeColor | undefined, variant: BadgeVariant | undefined, autoContrast: boolean | undefined): CSSProperties | undefined;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from './types';
1
+ import { ButtonProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<ButtonProps> & (typeof globalThis extends {
4
4
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,2 +1,2 @@
1
- export { default as Button } from './button';
2
- export type { ButtonColor, ButtonProps, ButtonRadius, ButtonSize, ButtonVariant } from './types';
1
+ export { default as Button } from './button.js';
2
+ export type { ButtonColor, ButtonProps, ButtonRadius, ButtonSize, ButtonVariant } from './types.js';
@@ -1,4 +1,4 @@
1
- import { ComponentColorValue } from '../../utils/componentColors';
1
+ import { ComponentColorValue } from '../../utils/componentColors.js';
2
2
  export type ButtonColor = ComponentColorValue;
3
3
  export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type ButtonRadius = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -6,6 +6,7 @@ export type ButtonVariant = 'solid' | 'subtle' | 'surface' | 'outline' | 'ghost'
6
6
  export interface ButtonProps {
7
7
  variant?: ButtonVariant;
8
8
  color?: ButtonColor;
9
+ autoContrast?: boolean;
9
10
  size?: ButtonSize;
10
11
  radius?: ButtonRadius;
11
12
  type?: 'button' | 'submit' | 'reset';
@@ -1,13 +1,3 @@
1
- import { ButtonColor } from './types';
2
- export declare function getButtonColorStyle(color: ButtonColor | undefined): {
3
- '--_rp-button-custom-color': string & {};
4
- '--_rp-button-custom-hover': string;
5
- '--_rp-button-custom-active': string;
6
- '--_rp-button-custom-on': string;
7
- '--_rp-button-custom-subtle-bg': string;
8
- '--_rp-button-custom-subtle-bg-hover': string;
9
- '--_rp-button-custom-subtle-bg-active': string;
10
- '--_rp-button-custom-border': string;
11
- '--_rp-button-custom-border-hover': string;
12
- '--_rp-button-custom-fg': string & {};
13
- } | undefined;
1
+ import { CSSProperties } from 'vue';
2
+ import { ButtonColor, ButtonVariant } from './types.js';
3
+ export declare function getButtonColorStyle(color: ButtonColor | undefined, variant: ButtonVariant | undefined, autoContrast: boolean | undefined): CSSProperties | undefined;
@@ -1,4 +1,4 @@
1
- import { ButtonGroupProps } from './types';
1
+ import { ButtonGroupProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<ButtonGroupProps> & (typeof globalThis extends {
4
4
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,2 +1,2 @@
1
- export { default as ButtonGroup } from './button-group';
2
- export type { ButtonGroupOrientation, ButtonGroupProps } from './types';
1
+ export { default as ButtonGroup } from './button-group.js';
2
+ export type { ButtonGroupOrientation, ButtonGroupProps } from './types.js';
@@ -0,0 +1,27 @@
1
+ import { ButtonLinkProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ButtonLinkProps> & (typeof globalThis extends {
4
+ __VLS_PROPS_FALLBACK: infer P;
5
+ } ? P : {});
6
+ expose: (exposed: {}) => void;
7
+ attrs: any;
8
+ slots: {
9
+ loading?: (props: {}) => any;
10
+ } & {
11
+ left?: (props: {}) => any;
12
+ } & {
13
+ default?: (props: {}) => any;
14
+ } & {
15
+ right?: (props: {}) => any;
16
+ };
17
+ emit: {};
18
+ }>) => import('vue').VNode & {
19
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
20
+ };
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
24
+ [K in keyof T]: T[K];
25
+ } : {
26
+ [K in keyof T as K]: T[K];
27
+ }) & {};
@@ -0,0 +1,2 @@
1
+ export { default as ButtonLink } from './button-link.js';
2
+ export type { ButtonLinkColor, ButtonLinkProps, ButtonLinkRadius, ButtonLinkSize, ButtonLinkTarget, ButtonLinkVariant, } from './types.js';
@@ -0,0 +1,2 @@
1
+ import { t as button_link_default } from "../../button-link.js";
2
+ export { button_link_default as ButtonLink };
@@ -0,0 +1,20 @@
1
+ import { ButtonColor, ButtonRadius, ButtonSize, ButtonVariant } from '../button/types.js';
2
+ export type ButtonLinkColor = ButtonColor;
3
+ export type ButtonLinkSize = ButtonSize;
4
+ export type ButtonLinkRadius = ButtonRadius;
5
+ export type ButtonLinkVariant = ButtonVariant;
6
+ export type ButtonLinkTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {});
7
+ export interface ButtonLinkProps {
8
+ href?: string;
9
+ target?: ButtonLinkTarget;
10
+ rel?: string;
11
+ download?: string | boolean;
12
+ hreflang?: string;
13
+ variant?: ButtonLinkVariant;
14
+ color?: ButtonLinkColor;
15
+ autoContrast?: boolean;
16
+ size?: ButtonLinkSize;
17
+ radius?: ButtonLinkRadius;
18
+ disabled?: boolean;
19
+ loading?: boolean;
20
+ }
@@ -1,4 +1,4 @@
1
- import { CardProps } from './types';
1
+ import { CardProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<CardProps> & (typeof globalThis extends {
4
4
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,2 +1,2 @@
1
- export { default as Card } from './card';
2
- export type { CardLayer, CardPadding, CardProps, CardRadius } from './types';
1
+ export { default as Card } from './card.js';
2
+ export type { CardLayer, CardPadding, CardProps, CardRadius } from './types.js';
@@ -1,4 +1,4 @@
1
- import { CheckboxProps } from './types';
1
+ import { CheckboxProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<CheckboxProps & {
4
4
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -1,2 +1,2 @@
1
- export { default as Checkbox } from './checkbox';
2
- export type { CheckboxColor, CheckboxProps, CheckboxRadius, CheckboxSize, CheckboxVariant, } from './types';
1
+ export { default as Checkbox } from './checkbox.js';
2
+ export type { CheckboxColor, CheckboxProps, CheckboxRadius, CheckboxSize, CheckboxVariant, } from './types.js';
@@ -1,4 +1,4 @@
1
- import { ComponentColorValue } from '../../utils/componentColors';
1
+ import { ComponentColorValue } from '../../utils/componentColors.js';
2
2
  export type CheckboxColor = ComponentColorValue;
3
3
  export type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type CheckboxRadius = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -9,6 +9,7 @@ export interface CheckboxProps {
9
9
  modelValue: boolean;
10
10
  variant?: CheckboxVariant;
11
11
  color?: CheckboxColor;
12
+ autoContrast?: boolean;
12
13
  size?: CheckboxSize;
13
14
  radius?: CheckboxRadius;
14
15
  disabled?: boolean;
@@ -1,10 +1,8 @@
1
- import { CheckboxProps } from './types';
1
+ import { CSSProperties } from 'vue';
2
+ import { CheckboxProps } from './types.js';
2
3
  export declare function useCheckbox(props: Readonly<CheckboxProps>, emitUpdate: (value: boolean) => void): {
3
- control: import('../../composables/useControlState').ControlState;
4
+ control: import('../../composables/useControlState.js').ControlState;
4
5
  rootClass: import('vue').ComputedRef<string[]>;
5
- rootStyle: import('vue').ComputedRef<{
6
- '--_rp-checkbox-custom-color': string & {};
7
- '--_rp-checkbox-custom-on-color': string;
8
- } | undefined>;
6
+ rootStyle: import('vue').ComputedRef<CSSProperties | undefined>;
9
7
  onChange: (e: Event) => void;
10
8
  };
@@ -1,4 +1,4 @@
1
- import { CollapseProps } from './types';
1
+ import { CollapseProps } from './types.js';
2
2
  declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: import('vue').PublicProps & __VLS_PrettifyLocal<CollapseProps & {
4
4
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
@@ -9,7 +9,7 @@ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup
9
9
  attrs: any;
10
10
  slots: {
11
11
  trigger?: (props: {
12
- triggerProps: import('./types').CollapseTriggerProps;
12
+ triggerProps: import('./types.js').CollapseTriggerProps;
13
13
  isOpen: boolean;
14
14
  open: () => void;
15
15
  close: () => void;
@@ -1,3 +1,3 @@
1
- export { default as Collapse } from './collapse';
2
- export { useCollapse } from './useCollapse';
3
- export type { CollapseContentProps, CollapseContentRole, CollapseOption, CollapseProps, CollapseRootProps, CollapseSlotProps, CollapseState, CollapseTriggerProps, CollapseTriggerSlotProps, UseCollapseOptions, UseCollapseReturn, } from './types';
1
+ export { default as Collapse } from './collapse.js';
2
+ export { useCollapse } from './useCollapse.js';
3
+ export type { CollapseContentProps, CollapseContentRole, CollapseOption, CollapseProps, CollapseRootProps, CollapseSlotProps, CollapseState, CollapseTriggerProps, CollapseTriggerSlotProps, UseCollapseOptions, UseCollapseReturn, } from './types.js';
@@ -1,2 +1,2 @@
1
- import { UseCollapseOptions, UseCollapseReturn } from './types';
1
+ import { UseCollapseOptions, UseCollapseReturn } from './types.js';
2
2
  export declare function useCollapse(options?: Readonly<UseCollapseOptions>, emitOpenChange?: (open: boolean) => void): UseCollapseReturn;
@@ -0,0 +1,29 @@
1
+ import { ColorInputProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ColorInputProps & {
4
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
5
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
6
+ }> & (typeof globalThis extends {
7
+ __VLS_PROPS_FALLBACK: infer P;
8
+ } ? P : {});
9
+ expose: (exposed: {}) => void;
10
+ attrs: any;
11
+ slots: {
12
+ left?: (props: {
13
+ color: string | undefined;
14
+ empty: boolean;
15
+ }) => any;
16
+ } & {
17
+ 'eye-dropper-icon'?: (props: {}) => any;
18
+ };
19
+ emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: string) => void);
20
+ }>) => import('vue').VNode & {
21
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
22
+ };
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
26
+ [K in keyof T]: T[K];
27
+ } : {
28
+ [K in keyof T as K]: T[K];
29
+ }) & {};
@@ -0,0 +1,2 @@
1
+ export { default as ColorInput } from './color-input.js';
2
+ export type { ColorInputProps } from './types.js';
@@ -0,0 +1,2 @@
1
+ import { t as color_input_default } from "../../color-input.js";
2
+ export { color_input_default as ColorInput };
@@ -0,0 +1,35 @@
1
+ import { InputHTMLAttributes } from 'vue';
2
+ import { ColorPickerFormat, ColorPickerValue } from '../color-picker/types.js';
3
+ import { InputRadius, InputSize } from '../input/types.js';
4
+ import { PopoverPlacement } from '../popover/types.js';
5
+ export interface ColorInputProps {
6
+ id?: string;
7
+ name?: string;
8
+ modelValue: ColorPickerValue;
9
+ format?: ColorPickerFormat;
10
+ size?: InputSize;
11
+ radius?: InputRadius;
12
+ placeholder?: string;
13
+ disabled?: boolean;
14
+ readonly?: boolean;
15
+ disallowInput?: boolean;
16
+ swatchesOnly?: boolean;
17
+ required?: boolean;
18
+ invalid?: boolean;
19
+ valid?: boolean;
20
+ ariaLabel?: string;
21
+ describedby?: string;
22
+ labelledby?: string;
23
+ inputAttrs?: InputHTMLAttributes;
24
+ validateColor?: boolean;
25
+ invalidColorMessage?: string;
26
+ swatches?: string[];
27
+ swatchesPerRow?: number;
28
+ placement?: PopoverPlacement;
29
+ open?: boolean;
30
+ keepMounted?: boolean;
31
+ popoverId?: string;
32
+ pickerAriaLabel?: string;
33
+ withEyeDropper?: boolean;
34
+ eyeDropperAriaLabel?: string;
35
+ }
@@ -0,0 +1,27 @@
1
+ import { ColorPickerValue } from '../color-picker/types.js';
2
+ import { ColorInputProps } from './types.js';
3
+ interface UseColorInputEmitters {
4
+ modelValue: (value: ColorPickerValue) => void;
5
+ open: (value: boolean) => void;
6
+ }
7
+ export declare function useColorInput(props: Readonly<ColorInputProps>, emit: UseColorInputEmitters): {
8
+ onInputUpdate: (nextValue: ColorPickerValue) => void;
9
+ onPickerUpdate: (nextValue: ColorPickerValue) => void;
10
+ onOpenUpdate: (open: boolean) => void;
11
+ showEyeDropper: import('vue').ComputedRef<boolean>;
12
+ isPickingColor: import('vue').Ref<boolean, boolean>;
13
+ pickScreenColor: (closePicker: () => void) => Promise<void>;
14
+ getInputTriggerAttrs: (slotProps: unknown) => import('vue').InputHTMLAttributes;
15
+ rememberClose: (slotProps: import('../popover/index.js').PopoverSlotProps | import('../popover/index.js').PopoverContentSlotProps) => void;
16
+ onPickerKeydown: (event: KeyboardEvent, popover: import('../popover/index.js').PopoverContentSlotProps) => void;
17
+ onFocusOut: (event: FocusEvent) => void;
18
+ previewColor: import('vue').ComputedRef<string | undefined>;
19
+ hasValidSwatches: import('vue').ComputedRef<boolean>;
20
+ hasInvalidColor: import('vue').ComputedRef<boolean | undefined>;
21
+ isInvalid: import('vue').ComputedRef<boolean | undefined>;
22
+ colorValidationMessage: import('vue').ComputedRef<string | undefined>;
23
+ control: import('../../composables/useControlState.js').ControlState;
24
+ rootClass: import('vue').ComputedRef<string[]>;
25
+ popoverDisabled: import('vue').ComputedRef<boolean>;
26
+ };
27
+ export {};
@@ -0,0 +1,13 @@
1
+ import { ColorPickerFormat, ColorPickerValue } from '../color-picker/types.js';
2
+ interface UseColorInputEyeDropperOptions {
3
+ enabled: () => boolean;
4
+ disabled: () => boolean;
5
+ format: () => ColorPickerFormat;
6
+ update: (value: ColorPickerValue) => void;
7
+ }
8
+ export declare function useColorInputEyeDropper(options: UseColorInputEyeDropperOptions): {
9
+ showEyeDropper: import('vue').ComputedRef<boolean>;
10
+ isPickingColor: import('vue').Ref<boolean, boolean>;
11
+ pickScreenColor: (closePicker: () => void) => Promise<void>;
12
+ };
13
+ export {};
@@ -0,0 +1,11 @@
1
+ import { InputHTMLAttributes } from 'vue';
2
+ import { PopoverContentSlotProps, PopoverSlotProps } from '../popover/types.js';
3
+ import { ColorInputProps } from './types.js';
4
+ declare function onPickerKeydown(event: KeyboardEvent, popover: PopoverContentSlotProps): void;
5
+ export declare function useColorInputPopover(getInputAttrs: () => ColorInputProps['inputAttrs']): {
6
+ getInputTriggerAttrs: (slotProps: unknown) => InputHTMLAttributes;
7
+ rememberClose: (slotProps: PopoverSlotProps | PopoverContentSlotProps) => void;
8
+ onPickerKeydown: typeof onPickerKeydown;
9
+ onFocusOut: (event: FocusEvent) => void;
10
+ };
11
+ export {};
@@ -0,0 +1,8 @@
1
+ import { ColorInputProps } from './types.js';
2
+ export declare function useColorInputValue(props: Readonly<ColorInputProps>, isControlInvalid: () => boolean): {
3
+ previewColor: import('vue').ComputedRef<string | undefined>;
4
+ hasValidSwatches: import('vue').ComputedRef<boolean>;
5
+ hasInvalidColor: import('vue').ComputedRef<boolean | undefined>;
6
+ isInvalid: import('vue').ComputedRef<boolean | undefined>;
7
+ colorValidationMessage: import('vue').ComputedRef<string | undefined>;
8
+ };
@@ -0,0 +1,21 @@
1
+ import { ColorPickerSaturationProps, ColorPickerSelection } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ColorPickerSaturationProps & {
4
+ "onUpdate:modelValue"?: ((value: ColorPickerSelection) => any) | undefined;
5
+ }> & (typeof globalThis extends {
6
+ __VLS_PROPS_FALLBACK: infer P;
7
+ } ? P : {});
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: (evt: "update:modelValue", value: ColorPickerSelection) => void;
12
+ }>) => import('vue').VNode & {
13
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
14
+ };
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
18
+ [K in keyof T]: T[K];
19
+ } : {
20
+ [K in keyof T as K]: T[K];
21
+ }) & {};
@@ -0,0 +1,21 @@
1
+ import { ColorPickerSliderProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ColorPickerSliderProps & {
4
+ "onUpdate:value"?: ((value: number) => any) | undefined;
5
+ }> & (typeof globalThis extends {
6
+ __VLS_PROPS_FALLBACK: infer P;
7
+ } ? P : {});
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: (evt: "update:value", value: number) => void;
12
+ }>) => import('vue').VNode & {
13
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
14
+ };
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
18
+ [K in keyof T]: T[K];
19
+ } : {
20
+ [K in keyof T as K]: T[K];
21
+ }) & {};
@@ -0,0 +1,23 @@
1
+ import { ColorPickerFormat } from './types.js';
2
+ export declare const DEFAULT_HUE = 0;
3
+ export declare const HUE_MAX = 359;
4
+ export declare const KEYBOARD_STEP = 1;
5
+ export declare const KEYBOARD_LARGE_STEP = 10;
6
+ export declare const DEFAULT_OPACITY = 100;
7
+ export interface ColorPickerHsvColor {
8
+ hue: number;
9
+ saturation: number;
10
+ value: number;
11
+ opacity: number;
12
+ }
13
+ export declare function clamp(value: number, min: number, max: number): number;
14
+ export declare function clampPercent(value: number | undefined): number;
15
+ export declare function normalizeHue(value: number | undefined): number;
16
+ export declare function normalizeHueForColor(value: number | undefined): number;
17
+ export declare function clampHue(value: number): number;
18
+ export declare function clampOpacity(value: number | undefined): number;
19
+ export declare function roundPercent(value: number): number;
20
+ export declare function isColorPickerAlphaFormat(format: ColorPickerFormat): format is "hexa" | "rgba" | "hsla";
21
+ export declare function parseColorPickerValue(value: string): ColorPickerHsvColor | undefined;
22
+ export declare function formatColorPickerValue(color: ColorPickerHsvColor, format: ColorPickerFormat): string;
23
+ export declare function getHsvCssColor(hue: number, saturation: number, value: number): string;
@@ -0,0 +1,23 @@
1
+ import { ColorPickerProps } from './types.js';
2
+ declare const __VLS_export: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ColorPickerProps & {
4
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
5
+ }> & (typeof globalThis extends {
6
+ __VLS_PROPS_FALLBACK: infer P;
7
+ } ? P : {});
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {
11
+ default?: (props: {}) => any;
12
+ };
13
+ emit: (evt: "update:modelValue", value: string) => void;
14
+ }>) => import('vue').VNode & {
15
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
16
+ };
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
20
+ [K in keyof T]: T[K];
21
+ } : {
22
+ [K in keyof T as K]: T[K];
23
+ }) & {};
@@ -0,0 +1,3 @@
1
+ export { default as ColorPicker } from './color-picker.js';
2
+ export { colorPickerFormats, colorPickerSizes } from './types.js';
3
+ export type { ColorPickerFormat, ColorPickerProps, ColorPickerSelection, ColorPickerSize, ColorPickerValue, } from './types.js';
@@ -0,0 +1,3 @@
1
+ import { t as color_picker_default } from "../../color-picker.js";
2
+ import { n as colorPickerSizes, t as colorPickerFormats } from "../../color-picker2.js";
3
+ export { color_picker_default as ColorPicker, colorPickerFormats, colorPickerSizes };