@equal-experts/kuat-vue 0.13.0 → 0.13.1
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.
- package/agent-docs/AGENTS.md +10 -0
- package/agent-docs/README.md +17 -0
- package/agent-docs/bundle-manifest.json +63 -0
- package/agent-docs/components/_template.md +21 -0
- package/agent-docs/components/button-group.md +27 -0
- package/agent-docs/components/button.md +50 -0
- package/agent-docs/components/components.manifest.json +20 -0
- package/agent-docs/components/kuat-header.md +27 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +166 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/accessibility.md +444 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/brand.md +99 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +93 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +69 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +75 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/writing-style.md +91 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/borders.md +159 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/colours.md +173 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/design-language.md +116 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/spacing.md +130 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/typography.md +155 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/logo.md +151 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/README.md +26 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/blog-posts.md +33 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/marketing-content.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/seo.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/emails.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +18 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/marketing-pages.md +368 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/website.md +169 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/accessibility.md +402 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-decision-tree.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-registry.md +68 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/actions.md +51 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/confirmations.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/empty-states.md +43 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/errors.md +54 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/forms.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/product-content.md +138 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/design.md +207 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/emails.md +71 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +82 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/authentication.md +303 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/dashboards.md +313 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/documentation.md +333 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/forms.md +361 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +488 -0
- package/agent-docs/kuat-docs/rules/README.md +148 -0
- package/agent-docs/kuat-docs/rules/design/layouts.md +394 -0
- package/agent-docs/kuat-docs/rules/scenarios/README.md +83 -0
- package/agent-docs/kuat-docs/rules/scenarios/authentication.md +301 -0
- package/agent-docs/kuat-docs/rules/scenarios/dashboards.md +314 -0
- package/agent-docs/kuat-docs/rules/scenarios/documentation.md +333 -0
- package/agent-docs/kuat-docs/rules/scenarios/forms.md +359 -0
- package/agent-docs/kuat-docs/rules/scenarios/marketing-pages.md +367 -0
- package/agent-docs/manifest.json +9 -0
- package/agent-docs/rules/LOADING-consumer.md +27 -0
- package/dist/accordion.d.ts +2 -0
- package/dist/alert-dialog.d.ts +2 -0
- package/dist/badge.d.ts +3 -0
- package/dist/button-group.d.ts +3 -0
- package/dist/button.d.ts +3 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/components/ui/accordion/Accordion.vue.d.ts +26 -0
- package/dist/components/ui/accordion/AccordionContent.vue.d.ts +27 -0
- package/dist/components/ui/accordion/AccordionItem.vue.d.ts +27 -0
- package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +28 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +26 -0
- package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +27 -0
- package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +27 -0
- package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +41 -0
- package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +27 -0
- package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +26 -0
- package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +26 -0
- package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +27 -0
- package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +22 -0
- package/dist/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +49 -0
- package/dist/components/ui/badge/constants.d.ts +4 -0
- package/dist/components/ui/badge/index.d.ts +14 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +34 -0
- package/dist/components/ui/breadcrumb/index.d.ts +2 -0
- package/dist/components/ui/breadcrumb/types.d.ts +8 -0
- package/dist/components/ui/button/Button.vue.d.ts +53 -0
- package/dist/components/ui/button/constants.d.ts +12 -0
- package/dist/components/ui/button/index.d.ts +12 -0
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +43 -0
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +32 -0
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +40 -0
- package/dist/components/ui/button-group/constants.d.ts +2 -0
- package/dist/components/ui/button-group/index.d.ts +14 -0
- package/dist/components/ui/carousel/Carousel.vue.d.ts +59 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +25 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +32 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +16 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +16 -0
- package/dist/components/ui/carousel/context.d.ts +26 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +13 -0
- package/dist/components/ui/checkbox/CheckboxField.vue.d.ts +68 -0
- package/dist/components/ui/checkbox/constants.d.ts +4 -0
- package/dist/components/ui/checkbox/index.d.ts +4 -0
- package/dist/components/ui/content-card/ContentCard.vue.d.ts +72 -0
- package/dist/components/ui/content-card/index.d.ts +1 -0
- package/dist/components/ui/field/Field.vue.d.ts +48 -0
- package/dist/components/ui/field/FieldContent.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldDescription.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldError.vue.d.ts +33 -0
- package/dist/components/ui/field/FieldGroup.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldLabel.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldLegend.vue.d.ts +43 -0
- package/dist/components/ui/field/FieldSeparator.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldSet.vue.d.ts +26 -0
- package/dist/components/ui/field/FieldTitle.vue.d.ts +26 -0
- package/dist/components/ui/field/constants.d.ts +4 -0
- package/dist/components/ui/field/index.d.ts +12 -0
- package/dist/components/ui/icon-button/IconButton.vue.d.ts +62 -0
- package/dist/components/ui/icon-button/constants.d.ts +13 -0
- package/dist/components/ui/icon-button/index.d.ts +14 -0
- package/dist/components/ui/input/Input.vue.d.ts +34 -0
- package/dist/components/ui/input/constants.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts +3 -0
- package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +51 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselContent.vue.d.ts +25 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselItem.vue.d.ts +27 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselNext.vue.d.ts +16 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselPrevious.vue.d.ts +16 -0
- package/dist/components/ui/kuat-carousel/index.d.ts +6 -0
- package/dist/components/ui/kuat-header/EELogo.vue.d.ts +32 -0
- package/dist/components/ui/kuat-header/KuatHeader.vue.d.ts +56 -0
- package/dist/components/ui/kuat-header/constants.d.ts +83 -0
- package/dist/components/ui/kuat-header/index.d.ts +16 -0
- package/dist/components/ui/kuat-header/kuat-header.logic.d.ts +29 -0
- package/dist/components/ui/kuat-logo-lockup/EELogoIcon.vue.d.ts +18 -0
- package/dist/components/ui/kuat-logo-lockup/KuatLogoLockup.vue.d.ts +45 -0
- package/dist/components/ui/kuat-logo-lockup/constants.d.ts +4 -0
- package/dist/components/ui/kuat-logo-lockup/index.d.ts +4 -0
- package/dist/components/ui/kuat-radial-progress/KuatRadialProgress.vue.d.ts +52 -0
- package/dist/components/ui/kuat-radial-progress/constants.d.ts +4 -0
- package/dist/components/ui/kuat-radial-progress/index.d.ts +3 -0
- package/dist/components/ui/radio/RadioField.vue.d.ts +58 -0
- package/dist/components/ui/radio/RadioGroup.vue.d.ts +31 -0
- package/dist/components/ui/radio/RadioGroupItem.vue.d.ts +22 -0
- package/dist/components/ui/radio/constants.d.ts +4 -0
- package/dist/components/ui/radio/index.d.ts +5 -0
- package/dist/components/ui/select/KuatSelect.vue.d.ts +104 -0
- package/dist/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +52 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +40 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +27 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +72 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/constants.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +13 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +35 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/sonner/KuatSonner.vue.d.ts +54 -0
- package/dist/components/ui/sonner/KuatSonnerContent.vue.d.ts +53 -0
- package/dist/components/ui/sonner/constants.d.ts +2 -0
- package/dist/components/ui/sonner/index.d.ts +7 -0
- package/dist/components/ui/sonner/toast.d.ts +17 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +13 -0
- package/dist/components/ui/switch/SwitchField.vue.d.ts +68 -0
- package/dist/components/ui/switch/constants.d.ts +4 -0
- package/dist/components/ui/switch/index.d.ts +4 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +24 -0
- package/dist/components/ui/textarea/constants.d.ts +2 -0
- package/dist/components/ui/textarea/index.d.ts +3 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +42 -0
- package/dist/components/ui/toggle/constants.d.ts +4 -0
- package/dist/components/ui/toggle/index.d.ts +3 -0
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +45 -0
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +49 -0
- package/dist/components/ui/toggle-group/constants.d.ts +2 -0
- package/dist/components/ui/toggle-group/index.d.ts +4 -0
- package/dist/field.d.ts +3 -0
- package/dist/icon-button.d.ts +3 -0
- package/dist/index.d.ts +46 -0
- package/dist/input.d.ts +3 -0
- package/dist/kuat-carousel.d.ts +2 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/radio.d.ts +3 -0
- package/dist/select.d.ts +3 -0
- package/dist/sonner.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/style.css.d.ts +2 -0
- package/dist/switch.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/textarea.d.ts +3 -0
- package/dist/toggle-group.d.ts +5 -0
- package/dist/toggle.d.ts +3 -0
- package/package.json +4 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type SonnerContentAction = {
|
|
4
|
+
label: string;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
action?: SonnerContentAction;
|
|
10
|
+
description?: string;
|
|
11
|
+
leftIcon?: Component | null;
|
|
12
|
+
showLeftIcon?: boolean;
|
|
13
|
+
title: string;
|
|
14
|
+
}>, {
|
|
15
|
+
action: undefined;
|
|
16
|
+
description: undefined;
|
|
17
|
+
leftIcon: null;
|
|
18
|
+
showLeftIcon: boolean;
|
|
19
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
action?: SonnerContentAction;
|
|
21
|
+
description?: string;
|
|
22
|
+
leftIcon?: Component | null;
|
|
23
|
+
showLeftIcon?: boolean;
|
|
24
|
+
title: string;
|
|
25
|
+
}>, {
|
|
26
|
+
action: undefined;
|
|
27
|
+
description: undefined;
|
|
28
|
+
leftIcon: null;
|
|
29
|
+
showLeftIcon: boolean;
|
|
30
|
+
}>>> & Readonly<{}>, {
|
|
31
|
+
description: string;
|
|
32
|
+
action: SonnerContentAction;
|
|
33
|
+
leftIcon: Component | null;
|
|
34
|
+
showLeftIcon: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Sonner } from './KuatSonner.vue';
|
|
2
|
+
export { default as SonnerContent } from './KuatSonnerContent.vue';
|
|
3
|
+
export { SONNER_POSITIONS } from './constants';
|
|
4
|
+
export { toast } from './toast';
|
|
5
|
+
export type { SonnerPosition } from './constants';
|
|
6
|
+
export type { SonnerContentAction } from './KuatSonnerContent.vue';
|
|
7
|
+
export type { SonnerAnnouncement, SonnerToastOptions } from './toast';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { toast as primitiveToast, ExternalToast } from 'vue-sonner';
|
|
2
|
+
|
|
3
|
+
export type SonnerAnnouncement = "polite" | "assertive";
|
|
4
|
+
export type SonnerToastOptions = Omit<ExternalToast, "important"> & {
|
|
5
|
+
announcement?: SonnerAnnouncement;
|
|
6
|
+
};
|
|
7
|
+
type SonnerMessage = Parameters<typeof primitiveToast>[0];
|
|
8
|
+
type ToastHandler = ((message: SonnerMessage, options?: SonnerToastOptions) => string | number) & {
|
|
9
|
+
success: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
10
|
+
info: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
11
|
+
warning: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
12
|
+
error: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
13
|
+
loading: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
14
|
+
dismiss: typeof primitiveToast.dismiss;
|
|
15
|
+
};
|
|
16
|
+
export declare const toast: ToastHandler;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: import('vue').PropType<boolean>;
|
|
4
|
+
class: {
|
|
5
|
+
type: import('vue').PropType<any>;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
modelValue: import('vue').PropType<boolean>;
|
|
9
|
+
class: {
|
|
10
|
+
type: import('vue').PropType<any>;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SwitchFieldAppearance, SwitchFieldLayout } from './constants';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<boolean>;
|
|
5
|
+
disabled: {
|
|
6
|
+
type: import('vue').PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
label: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
class: {
|
|
13
|
+
type: import('vue').PropType<any>;
|
|
14
|
+
};
|
|
15
|
+
id: {
|
|
16
|
+
type: import('vue').PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
secondaryText: {
|
|
19
|
+
type: import('vue').PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
appearance: {
|
|
22
|
+
type: import('vue').PropType<"plain" | "card">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
layout: {
|
|
26
|
+
type: import('vue').PropType<"inline" | "block">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
flipped: {
|
|
30
|
+
type: import('vue').PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
modelValue: import('vue').PropType<boolean>;
|
|
35
|
+
disabled: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
label: {
|
|
39
|
+
type: import('vue').PropType<string>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
class: {
|
|
43
|
+
type: import('vue').PropType<any>;
|
|
44
|
+
};
|
|
45
|
+
id: {
|
|
46
|
+
type: import('vue').PropType<string>;
|
|
47
|
+
};
|
|
48
|
+
secondaryText: {
|
|
49
|
+
type: import('vue').PropType<string>;
|
|
50
|
+
};
|
|
51
|
+
appearance: {
|
|
52
|
+
type: import('vue').PropType<"plain" | "card">;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
layout: {
|
|
56
|
+
type: import('vue').PropType<"inline" | "block">;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
flipped: {
|
|
60
|
+
type: import('vue').PropType<boolean>;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
appearance: SwitchFieldAppearance;
|
|
65
|
+
layout: SwitchFieldLayout;
|
|
66
|
+
flipped: boolean;
|
|
67
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const SWITCH_FIELD_APPEARANCES: readonly ["plain", "card"];
|
|
2
|
+
export type SwitchFieldAppearance = (typeof SWITCH_FIELD_APPEARANCES)[number];
|
|
3
|
+
export declare const SWITCH_FIELD_LAYOUTS: readonly ["inline", "block"];
|
|
4
|
+
export type SwitchFieldLayout = (typeof SWITCH_FIELD_LAYOUTS)[number];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TextareaResize } from './constants';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<string>;
|
|
5
|
+
class: {
|
|
6
|
+
type: import('vue').PropType<any>;
|
|
7
|
+
};
|
|
8
|
+
resize: {
|
|
9
|
+
type: import('vue').PropType<"vertical" | "horizontal" | "none" | "both">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
modelValue: import('vue').PropType<string>;
|
|
14
|
+
class: {
|
|
15
|
+
type: import('vue').PropType<any>;
|
|
16
|
+
};
|
|
17
|
+
resize: {
|
|
18
|
+
type: import('vue').PropType<"vertical" | "horizontal" | "none" | "both">;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
resize: TextareaResize;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ToggleSize, ToggleSkin } from './constants';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
+
modelValue: import('vue').PropType<boolean>;
|
|
8
|
+
size: {
|
|
9
|
+
type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
class: {
|
|
13
|
+
type: import('vue').PropType<any>;
|
|
14
|
+
};
|
|
15
|
+
skin: {
|
|
16
|
+
type: import('vue').PropType<"ghost" | "outlined">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
modelValue: import('vue').PropType<boolean>;
|
|
21
|
+
size: {
|
|
22
|
+
type: import('vue').PropType<"small" | "mini" | "large" | "regular">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
class: {
|
|
26
|
+
type: import('vue').PropType<any>;
|
|
27
|
+
};
|
|
28
|
+
skin: {
|
|
29
|
+
type: import('vue').PropType<"ghost" | "outlined">;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {
|
|
33
|
+
size: ToggleSize;
|
|
34
|
+
skin: ToggleSkin;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ToggleGroupRootProps } from 'reka-ui';
|
|
3
|
+
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleGroupRootProps<import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]> & {
|
|
8
|
+
class?: HTMLAttributes["class"];
|
|
9
|
+
}>, {
|
|
10
|
+
orientation: string;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (payload: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleGroupRootProps<import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]> & {
|
|
14
|
+
class?: HTMLAttributes["class"];
|
|
15
|
+
}>, {
|
|
16
|
+
orientation: string;
|
|
17
|
+
}>>> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((payload: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
orientation: "vertical" | "horizontal";
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ToggleGroupItemProps } from 'reka-ui';
|
|
3
|
+
import { ToggleSize, ToggleSkin } from '../toggle/constants';
|
|
4
|
+
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleGroupItemProps & {
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
size?: ToggleSize;
|
|
11
|
+
skin?: ToggleSkin;
|
|
12
|
+
}>, {
|
|
13
|
+
size: string;
|
|
14
|
+
skin: string;
|
|
15
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleGroupItemProps & {
|
|
16
|
+
class?: HTMLAttributes["class"];
|
|
17
|
+
size?: ToggleSize;
|
|
18
|
+
skin?: ToggleSkin;
|
|
19
|
+
}>, {
|
|
20
|
+
size: string;
|
|
21
|
+
skin: string;
|
|
22
|
+
}>>> & Readonly<{}>, {
|
|
23
|
+
size: ToggleSize;
|
|
24
|
+
skin: ToggleSkin;
|
|
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_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
package/dist/field.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { cn } from './lib/utils';
|
|
2
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FIELD_LEGEND_VARIANTS, FIELD_ORIENTATIONS, } from './components/ui/field';
|
|
3
|
+
export type { FieldLegendVariant, FieldOrientation } from './components/ui/field';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { cn } from './lib/utils';
|
|
2
|
+
export { IconButton, iconButtonVariants, ICON_BUTTON_SIZES, ICON_BUTTON_ROUNDNESS, ICON_BUTTON_VARIANT_DEFAULT_ALIAS, ICON_BUTTON_SIZE_SM_ALIAS, ICON_BUTTON_SIZE_LG_ALIAS, } from './components/ui/icon-button';
|
|
3
|
+
export type { IconButtonVariants, IconButtonSize, IconButtonRoundness, } from './components/ui/icon-button';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
export { cn } from './lib/utils';
|
|
3
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, } from './components/ui/button-group';
|
|
4
|
+
export type { ButtonGroupVariants } from './components/ui/button-group';
|
|
5
|
+
export { ContentCard } from './components/ui/content-card';
|
|
6
|
+
export { KuatHeader, kuatHeaderVariants, EELogo } from './components/ui/kuat-header';
|
|
7
|
+
export type { KuatHeaderVariants, KuatHeaderVariant, KuatHeaderLockupVariant, KuatHeaderApp, KuatHeaderAppSwitcherConfig, KuatHeaderAccountConfig, KuatHeaderAccountItem, KuatHeaderNavItem, KuatHeaderLockupConfig, KuatHeaderMobileAccount, KuatHeaderMobileAccountItem, } from './components/ui/kuat-header';
|
|
8
|
+
export { shouldShowAppSwitcher, resolveAppSwitcherLabels, resolveHeaderLockup, } from './components/ui/kuat-header';
|
|
9
|
+
export { IconButton, iconButtonVariants, ICON_BUTTON_SIZES, ICON_BUTTON_ROUNDNESS, ICON_BUTTON_VARIANT_DEFAULT_ALIAS, ICON_BUTTON_SIZE_SM_ALIAS, ICON_BUTTON_SIZE_LG_ALIAS, } from './components/ui/icon-button';
|
|
10
|
+
export type { IconButtonVariants, IconButtonSize, IconButtonRoundness, } from './components/ui/icon-button';
|
|
11
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, } from './components/ui/carousel';
|
|
12
|
+
export type { CarouselItemBasis, CarouselResponsiveBasis, CarouselOrientation, CarouselApi, CarouselEventHandler, CarouselEventHandlers, } from './components/ui/carousel';
|
|
13
|
+
export { KuatCarousel, KuatCarouselContent, KuatCarouselItem, KuatCarouselPrevious, KuatCarouselNext, } from './components/ui/kuat-carousel';
|
|
14
|
+
export type { KuatCarouselSlidesPerView } from './components/ui/kuat-carousel';
|
|
15
|
+
export { KuatRadialProgress, KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './components/ui/kuat-radial-progress';
|
|
16
|
+
export type { KuatRadialProgressSize, KuatRadialProgressColor, } from './components/ui/kuat-radial-progress';
|
|
17
|
+
export { KuatLogoLockup, EELogoIcon, KUAT_LOGO_LOCKUP_USE, KUAT_LOGO_LOCKUP_MODE, } from './components/ui/kuat-logo-lockup';
|
|
18
|
+
export type { KuatLogoLockupUse, KuatLogoLockupMode, } from './components/ui/kuat-logo-lockup';
|
|
19
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
|
|
20
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './components/ui/alert-dialog';
|
|
21
|
+
export { Badge, badgeVariants, BADGE_VARIANTS, BADGE_ROUNDNESS } from './components/ui/badge';
|
|
22
|
+
export type { BadgeVariants, BadgeVariant, BadgeRoundness } from './components/ui/badge';
|
|
23
|
+
export { Breadcrumb } from './components/ui/breadcrumb';
|
|
24
|
+
export type { BreadcrumbItemEntry } from './components/ui/breadcrumb';
|
|
25
|
+
export { Button, buttonVariants, BUTTON_VARIANTS, BUTTON_SIZES, BUTTON_COLORS, } from './components/ui/button';
|
|
26
|
+
export type { ButtonVariants, ButtonVariant, ButtonSize, ButtonColor } from './components/ui/button';
|
|
27
|
+
export { Textarea, TEXTAREA_RESIZE } from './components/ui/textarea';
|
|
28
|
+
export type { TextareaResize } from './components/ui/textarea';
|
|
29
|
+
export { Input, INPUT_SIZES } from './components/ui/input';
|
|
30
|
+
export type { InputSize } from './components/ui/input';
|
|
31
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FIELD_LEGEND_VARIANTS, FIELD_ORIENTATIONS, } from './components/ui/field';
|
|
32
|
+
export type { FieldLegendVariant, FieldOrientation } from './components/ui/field';
|
|
33
|
+
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './components/ui/select';
|
|
34
|
+
export type { SelectItemGroup, SelectItemOption, SelectItems, SelectLines, SelectSize, } from './components/ui/select';
|
|
35
|
+
export { Checkbox, CheckboxField, CHECKBOX_FIELD_APPEARANCES, CHECKBOX_FIELD_LAYOUTS, } from './components/ui/checkbox';
|
|
36
|
+
export type { CheckboxFieldAppearance, CheckboxFieldLayout } from './components/ui/checkbox';
|
|
37
|
+
export { RadioGroup, RadioGroupItem, RadioField, RADIO_FIELD_APPEARANCES, RADIO_FIELD_LAYOUTS, } from './components/ui/radio';
|
|
38
|
+
export type { RadioFieldAppearance, RadioFieldLayout } from './components/ui/radio';
|
|
39
|
+
export { Switch, SwitchField, SWITCH_FIELD_APPEARANCES, SWITCH_FIELD_LAYOUTS, } from './components/ui/switch';
|
|
40
|
+
export type { SwitchFieldAppearance, SwitchFieldLayout } from './components/ui/switch';
|
|
41
|
+
export { Toggle, TOGGLE_SIZES, TOGGLE_SKINS } from './components/ui/toggle';
|
|
42
|
+
export type { ToggleSize, ToggleSkin } from './components/ui/toggle';
|
|
43
|
+
export { ToggleGroup, ToggleGroupItem, TOGGLE_GROUP_ORIENTATIONS, } from './components/ui/toggle-group';
|
|
44
|
+
export type { ToggleGroupOrientation } from './components/ui/toggle-group';
|
|
45
|
+
export { Sonner, SonnerContent, SONNER_POSITIONS, toast } from './components/ui/sonner';
|
|
46
|
+
export type { SonnerAnnouncement, SonnerContentAction, SonnerPosition, SonnerToastOptions, } from './components/ui/sonner';
|
package/dist/input.d.ts
ADDED
package/dist/radio.d.ts
ADDED
package/dist/select.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { cn } from './lib/utils';
|
|
2
|
+
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './components/ui/select';
|
|
3
|
+
export type { SelectItemGroup, SelectItemOption, SelectItems, SelectLines, SelectSize, } from './components/ui/select';
|
package/dist/sonner.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/ui/sonner';
|