@equal-experts/kuat-vue 0.2.0 → 0.2.6

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 (63) hide show
  1. package/README.md +156 -3
  2. package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-vy6KzwI7.js +107 -0
  3. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DNFUKWlR.js +185 -0
  4. package/dist/Button.vue_vue_type_script_setup_true_lang-Xhp6qpI9.js +30 -0
  5. package/dist/accordion.d.ts +2 -0
  6. package/dist/accordion.js +9 -0
  7. package/dist/alert-dialog.d.ts +2 -0
  8. package/dist/alert-dialog.js +14 -0
  9. package/dist/badge.d.ts +3 -0
  10. package/dist/badge.js +7 -0
  11. package/dist/button-group.d.ts +3 -0
  12. package/dist/button-group.js +9 -0
  13. package/dist/button.d.ts +3 -0
  14. package/dist/button.js +8 -0
  15. package/dist/components/ui/accordion/Accordion.vue.d.ts +26 -0
  16. package/dist/components/ui/accordion/AccordionContent.vue.d.ts +27 -0
  17. package/dist/components/ui/accordion/AccordionItem.vue.d.ts +27 -0
  18. package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +28 -0
  19. package/dist/components/ui/accordion/index.d.ts +4 -0
  20. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +26 -0
  21. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +27 -0
  22. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +27 -0
  23. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +41 -0
  24. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +27 -0
  25. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +26 -0
  26. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +26 -0
  27. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +27 -0
  28. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +22 -0
  29. package/dist/components/ui/alert-dialog/index.d.ts +9 -0
  30. package/dist/components/ui/badge/Badge.vue.d.ts +42 -0
  31. package/dist/components/ui/badge/index.d.ts +7 -0
  32. package/dist/components/ui/button/index.d.ts +1 -1
  33. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +29 -0
  34. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +32 -0
  35. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +42 -0
  36. package/dist/components/ui/button-group/index.d.ts +9 -0
  37. package/dist/components/ui/separator/Separator.vue.d.ts +35 -0
  38. package/dist/components/ui/separator/index.d.ts +1 -0
  39. package/dist/index-A7umpmtg.js +37 -0
  40. package/dist/index-BS0sZM3b.js +45 -0
  41. package/dist/index-Cctx-joO.js +103 -0
  42. package/dist/index-D5fkjZ2l.js +34 -0
  43. package/dist/index-DCxse3sU.js +33 -0
  44. package/dist/index.d.ts +6 -0
  45. package/dist/index.js +29 -2357
  46. package/dist/style.css +1 -1
  47. package/dist/styles-qaFjX9_3.js +2278 -0
  48. package/docs/README.md +35 -0
  49. package/docs/components/guidelines.md +221 -0
  50. package/docs/content/README.md +297 -0
  51. package/docs/content/content-foundations.md +506 -0
  52. package/docs/content/content-marketing-sales.md +454 -0
  53. package/docs/content/content-product-ux.md +875 -0
  54. package/docs/design/borders.md +500 -0
  55. package/docs/design/colours.md +523 -0
  56. package/docs/design/design-system.md +148 -0
  57. package/docs/design/layouts.md +681 -0
  58. package/docs/design/logo.md +383 -0
  59. package/docs/design/spacing.md +477 -0
  60. package/docs/design/typography.md +451 -0
  61. package/package.json +31 -5
  62. package/scripts/copy-docs.js +88 -0
  63. package/scripts/setup-docs.js +169 -0
@@ -0,0 +1,28 @@
1
+ import { AccordionTriggerProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ icon?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionTriggerProps & {
9
+ class?: HTMLAttributes["class"];
10
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionTriggerProps & {
11
+ class?: HTMLAttributes["class"];
12
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,4 @@
1
+ export { default as Accordion } from './Accordion.vue';
2
+ export { default as AccordionContent } from './AccordionContent.vue';
3
+ export { default as AccordionItem } from './AccordionItem.vue';
4
+ export { default as AccordionTrigger } from './AccordionTrigger.vue';
@@ -0,0 +1,26 @@
1
+ import { AlertDialogProps } from 'reka-ui';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:open": (value: boolean) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogProps>>> & Readonly<{
9
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,27 @@
1
+ import { AlertDialogActionProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogActionProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogActionProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,27 @@
1
+ import { AlertDialogCancelProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogCancelProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogCancelProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,41 @@
1
+ import { AlertDialogContentProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogContentProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ escapeKeyDown: (event: KeyboardEvent) => void;
11
+ pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => void;
12
+ focusOutside: (event: import('reka-ui').FocusOutsideEvent) => void;
13
+ interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => void;
14
+ openAutoFocus: (event: Event) => void;
15
+ closeAutoFocus: (event: Event) => void;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogContentProps & {
17
+ class?: HTMLAttributes["class"];
18
+ }>>> & Readonly<{
19
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
+ onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
21
+ onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
22
+ onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
23
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
24
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,27 @@
1
+ import { AlertDialogDescriptionProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogDescriptionProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogDescriptionProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ import { HTMLAttributes } from 'vue';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ class?: HTMLAttributes["class"];
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ class?: HTMLAttributes["class"];
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,27 @@
1
+ import { AlertDialogTitleProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogTitleProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogTitleProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,22 @@
1
+ import { AlertDialogTriggerProps } from 'reka-ui';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogTriggerProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertDialogTriggerProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,9 @@
1
+ export { default as AlertDialog } from './AlertDialog.vue';
2
+ export { default as AlertDialogAction } from './AlertDialogAction.vue';
3
+ export { default as AlertDialogCancel } from './AlertDialogCancel.vue';
4
+ export { default as AlertDialogContent } from './AlertDialogContent.vue';
5
+ export { default as AlertDialogDescription } from './AlertDialogDescription.vue';
6
+ export { default as AlertDialogFooter } from './AlertDialogFooter.vue';
7
+ export { default as AlertDialogHeader } from './AlertDialogHeader.vue';
8
+ export { default as AlertDialogTitle } from './AlertDialogTitle.vue';
9
+ export { default as AlertDialogTrigger } from './AlertDialogTrigger.vue';
@@ -0,0 +1,42 @@
1
+ import { PrimitiveProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { BadgeVariants } from '.';
4
+
5
+ interface Props extends PrimitiveProps {
6
+ variant?: BadgeVariants["variant"];
7
+ class?: HTMLAttributes["class"];
8
+ }
9
+ declare function __VLS_template(): {
10
+ default?(_: {}): any;
11
+ };
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ as: string;
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ as: string;
16
+ }>>> & Readonly<{}>, {
17
+ as: import('reka-ui').AsTag | import('vue').Component;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,7 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+
3
+ export { default as Badge } from './Badge.vue';
4
+ export declare const badgeVariants: (props?: ({
5
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export type BadgeVariants = VariantProps<typeof badgeVariants>;
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
2
2
 
3
3
  export { default as Button } from './Button.vue';
4
4
  export declare const buttonVariants: (props?: ({
5
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
5
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
6
6
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -0,0 +1,29 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { ButtonGroupVariants } from '.';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ class?: HTMLAttributes["class"];
9
+ orientation?: ButtonGroupVariants["orientation"];
10
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ class?: HTMLAttributes["class"];
12
+ orientation?: ButtonGroupVariants["orientation"];
13
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,32 @@
1
+ import { SeparatorProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SeparatorProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>, {
7
+ orientation: string;
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SeparatorProps & {
9
+ class?: HTMLAttributes["class"];
10
+ }>, {
11
+ orientation: string;
12
+ }>>> & Readonly<{}>, {
13
+ orientation: "vertical" | "horizontal";
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
@@ -0,0 +1,42 @@
1
+ import { PrimitiveProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { ButtonGroupVariants } from '.';
4
+
5
+ interface Props extends PrimitiveProps {
6
+ class?: HTMLAttributes["class"];
7
+ orientation?: ButtonGroupVariants["orientation"];
8
+ }
9
+ declare function __VLS_template(): {
10
+ default?(_: {}): any;
11
+ };
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ as: string;
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
+ as: string;
16
+ }>>> & Readonly<{}>, {
17
+ as: import('reka-ui').AsTag | import('vue').Component;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+
3
+ export { default as ButtonGroup } from './ButtonGroup.vue';
4
+ export { default as ButtonGroupSeparator } from './ButtonGroupSeparator.vue';
5
+ export { default as ButtonGroupText } from './ButtonGroupText.vue';
6
+ export declare const buttonGroupVariants: (props?: ({
7
+ orientation?: "vertical" | "horizontal" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ export type ButtonGroupVariants = VariantProps<typeof buttonGroupVariants>;
@@ -0,0 +1,35 @@
1
+ import { SeparatorProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SeparatorProps & {
5
+ class?: HTMLAttributes["class"];
6
+ }>, {
7
+ orientation: string;
8
+ decorative: boolean;
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SeparatorProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>, {
12
+ orientation: string;
13
+ decorative: boolean;
14
+ }>>> & Readonly<{}>, {
15
+ orientation: "vertical" | "horizontal";
16
+ decorative: boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ default: D[K];
31
+ }> : P[K];
32
+ };
33
+ type __VLS_Prettify<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -0,0 +1 @@
1
+ export { default as Separator } from './Separator.vue';
@@ -0,0 +1,37 @@
1
+ import { computed as s, isRef as i, reactive as l, unref as c, toRefs as o, toValue as f } from "vue";
2
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
3
+ function p(e) {
4
+ return i(e) ? l(new Proxy({}, {
5
+ get(n, r, t) {
6
+ return c(Reflect.get(e.value, r, t));
7
+ },
8
+ set(n, r, t) {
9
+ return i(e.value[r]) && !i(t) ? e.value[r].value = t : e.value[r] = t, !0;
10
+ },
11
+ deleteProperty(n, r) {
12
+ return Reflect.deleteProperty(e.value, r);
13
+ },
14
+ has(n, r) {
15
+ return Reflect.has(e.value, r);
16
+ },
17
+ ownKeys() {
18
+ return Object.keys(e.value);
19
+ },
20
+ getOwnPropertyDescriptor() {
21
+ return {
22
+ enumerable: !0,
23
+ configurable: !0
24
+ };
25
+ }
26
+ })) : l(e);
27
+ }
28
+ function v(e) {
29
+ return p(s(e));
30
+ }
31
+ function d(e, ...n) {
32
+ const r = n.flat(), t = r[0];
33
+ return v(() => Object.fromEntries(typeof t == "function" ? Object.entries(o(e)).filter(([u, a]) => !t(f(a), u)) : Object.entries(o(e)).filter((u) => !r.includes(u[0]))));
34
+ }
35
+ export {
36
+ d as r
37
+ };
@@ -0,0 +1,45 @@
1
+ import { defineComponent as n, createBlock as o, openBlock as s, unref as e, normalizeClass as i, withCtx as d, renderSlot as c } from "vue";
2
+ import { Primitive as l } from "reka-ui";
3
+ import { c as f } from "./styles-qaFjX9_3.js";
4
+ import { c as u } from "./index-D5fkjZ2l.js";
5
+ const y = /* @__PURE__ */ n({
6
+ __name: "Badge",
7
+ props: {
8
+ variant: {},
9
+ class: {},
10
+ asChild: { type: Boolean },
11
+ as: { default: "div" }
12
+ },
13
+ setup(r) {
14
+ const t = r;
15
+ return (a, p) => (s(), o(e(l), {
16
+ as: r.as,
17
+ "as-child": r.asChild,
18
+ class: i(e(f)(e(m)({ variant: r.variant }), t.class))
19
+ }, {
20
+ default: d(() => [
21
+ c(a.$slots, "default")
22
+ ]),
23
+ _: 3
24
+ }, 8, ["as", "as-child", "class"]));
25
+ }
26
+ }), m = u(
27
+ "inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
28
+ {
29
+ variants: {
30
+ variant: {
31
+ default: "border-transparent bg-primary text-primary-foreground",
32
+ secondary: "border-transparent bg-secondary text-secondary-foreground",
33
+ destructive: "border-transparent bg-destructive text-destructive-foreground",
34
+ outline: "text-foreground"
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ variant: "default"
39
+ }
40
+ }
41
+ );
42
+ export {
43
+ y as _,
44
+ m as b
45
+ };