@equal-experts/kuat-vue 0.4.0 → 0.4.2
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/README.md +10 -27
- package/dist/AccordionTrigger-BRz5PzEd.js +105 -0
- package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js +173 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/accordion.js +2 -2
- package/dist/alert-dialog.js +2 -2
- package/dist/badge.js +2 -2
- package/dist/button-group.js +2 -2
- package/dist/button.js +5 -6
- package/dist/components/ui/badge/Badge.vue.d.ts +9 -2
- package/dist/components/ui/badge/constants.d.ts +4 -0
- package/dist/components/ui/badge/index.d.ts +12 -5
- 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 +13 -3
- package/dist/components/ui/button/constants.d.ts +12 -0
- package/dist/components/ui/button/index.d.ts +10 -6
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +20 -6
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -2
- package/dist/components/ui/button-group/constants.d.ts +2 -0
- package/dist/components/ui/button-group/index.d.ts +10 -5
- package/dist/components/ui/content-card/ContentCard.vue.d.ts +62 -0
- package/dist/components/ui/content-card/index.d.ts +1 -0
- package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +47 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselContent.vue.d.ts +25 -0
- package/dist/components/ui/kuat-carousel/KuatCarouselItem.vue.d.ts +25 -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 +55 -0
- package/dist/components/ui/kuat-header/constants.d.ts +4 -0
- package/dist/components/ui/kuat-header/index.d.ts +15 -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/index-C3VyxnTa.js +35 -0
- package/dist/index-CBmjn3iX.js +58 -0
- package/dist/index-iz_NZI-V.js +85 -0
- package/dist/index.d.ts +18 -6
- package/dist/index.js +2006 -29
- package/dist/style.css +1 -1
- package/dist/test/setup.d.ts +1 -0
- package/dist/{styles-qaFjX9_3.js → utils-DLUjLwnh.js} +0 -1
- package/package.json +17 -9
- package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-vy6KzwI7.js +0 -107
- package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DNFUKWlR.js +0 -185
- package/dist/Button.vue_vue_type_script_setup_true_lang-Xhp6qpI9.js +0 -30
- package/dist/index-BS0sZM3b.js +0 -45
- package/dist/index-Cctx-joO.js +0 -103
- package/dist/index-D5fkjZ2l.js +0 -34
- package/dist/index-DCxse3sU.js +0 -33
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonGroupOrientation } from './constants';
|
|
2
2
|
|
|
3
3
|
export { default as ButtonGroup } from './ButtonGroup.vue';
|
|
4
4
|
export { default as ButtonGroupSeparator } from './ButtonGroupSeparator.vue';
|
|
5
5
|
export { default as ButtonGroupText } from './ButtonGroupText.vue';
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
export { BUTTON_GROUP_ORIENTATIONS } from './constants';
|
|
7
|
+
export type { ButtonGroupOrientation } from './constants';
|
|
8
|
+
export type ButtonGroupVariants = {
|
|
9
|
+
orientation?: ButtonGroupOrientation;
|
|
10
|
+
};
|
|
11
|
+
/** Returns class string for button group (backward compatibility). */
|
|
12
|
+
export declare function buttonGroupVariants(options?: {
|
|
13
|
+
orientation?: ButtonGroupOrientation;
|
|
14
|
+
}): string;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
3
|
+
|
|
4
|
+
interface Props extends PrimitiveProps {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
/** Optional media; when `null`, the media area is removed (no gap). */
|
|
7
|
+
imageSrc?: string | null;
|
|
8
|
+
imageAlt?: string;
|
|
9
|
+
/** Header props (not slots). */
|
|
10
|
+
category: string;
|
|
11
|
+
title: string;
|
|
12
|
+
titleHeadingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
13
|
+
/** Optional basic content text (hidden when omitted). */
|
|
14
|
+
contentText?: string | null;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
badge?(_: {}): any;
|
|
19
|
+
"header-accessory"?(_: {}): any;
|
|
20
|
+
"custom-content"?(_: {}): any;
|
|
21
|
+
footer?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
|
+
as: string;
|
|
25
|
+
imageSrc: null;
|
|
26
|
+
imageAlt: string;
|
|
27
|
+
contentText: null;
|
|
28
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
|
+
as: string;
|
|
30
|
+
imageSrc: null;
|
|
31
|
+
imageAlt: string;
|
|
32
|
+
contentText: null;
|
|
33
|
+
}>>> & Readonly<{}>, {
|
|
34
|
+
as: import('reka-ui').AsTag | import('vue').Component;
|
|
35
|
+
imageSrc: string | null;
|
|
36
|
+
imageAlt: string;
|
|
37
|
+
contentText: string | null;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
|
51
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
+
default: D[K];
|
|
53
|
+
}> : P[K];
|
|
54
|
+
};
|
|
55
|
+
type __VLS_Prettify<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ContentCard } from './ContentCard.vue';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type KuatCarouselSlidesPerView = 1 | 2 | 3;
|
|
4
|
+
interface Props {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
opts?: Record<string, unknown>;
|
|
7
|
+
slidesPerView?: KuatCarouselSlidesPerView;
|
|
8
|
+
orientation?: "horizontal" | "vertical";
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
content?(_: {}): any;
|
|
12
|
+
controls?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
slidesPerView: number;
|
|
16
|
+
orientation: string;
|
|
17
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
slidesPerView: number;
|
|
19
|
+
orientation: string;
|
|
20
|
+
}>>> & Readonly<{}>, {
|
|
21
|
+
orientation: "horizontal" | "vertical";
|
|
22
|
+
slidesPerView: KuatCarouselSlidesPerView;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as KuatCarousel } from './KuatCarousel.vue';
|
|
2
|
+
export { default as KuatCarouselContent } from './KuatCarouselContent.vue';
|
|
3
|
+
export { default as KuatCarouselItem } from './KuatCarouselItem.vue';
|
|
4
|
+
export { default as KuatCarouselPrevious } from './KuatCarouselPrevious.vue';
|
|
5
|
+
export { default as KuatCarouselNext } from './KuatCarouselNext.vue';
|
|
6
|
+
export type KuatCarouselSlidesPerView = 1 | 2 | 3;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EELogoTextColor } from './constants';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
/** Text color variant - grey for default, white for bold */
|
|
6
|
+
textColor?: EELogoTextColor;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
9
|
+
textColor: string;
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
textColor: string;
|
|
12
|
+
}>>> & Readonly<{}>, {
|
|
13
|
+
textColor: EELogoTextColor;
|
|
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,55 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { KuatHeaderVariant } from './constants';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
variant?: KuatHeaderVariant;
|
|
7
|
+
title?: string;
|
|
8
|
+
/** Hide the default EE logo */
|
|
9
|
+
hideLogo?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
logo?(_: {
|
|
13
|
+
variant: "bold" | "default";
|
|
14
|
+
}): any;
|
|
15
|
+
title?(_: {}): any;
|
|
16
|
+
navigation?(_: {}): any;
|
|
17
|
+
actions?(_: {}): any;
|
|
18
|
+
"mobile-menu-trigger"?(_: {}): any;
|
|
19
|
+
"mobile-menu"?(_: {}): any;
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
23
|
+
variant: string;
|
|
24
|
+
hideLogo: boolean;
|
|
25
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
26
|
+
variant: string;
|
|
27
|
+
hideLogo: boolean;
|
|
28
|
+
}>>> & Readonly<{}>, {
|
|
29
|
+
variant: KuatHeaderVariant;
|
|
30
|
+
hideLogo: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const KUAT_HEADER_VARIANTS: readonly ["default", "bold"];
|
|
2
|
+
export type KuatHeaderVariant = (typeof KUAT_HEADER_VARIANTS)[number];
|
|
3
|
+
export declare const EE_LOGO_TEXT_COLORS: readonly ["grey", "white"];
|
|
4
|
+
export type EELogoTextColor = (typeof EE_LOGO_TEXT_COLORS)[number];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { cn } from '../../../lib/utils';
|
|
2
|
+
import { KuatHeaderVariant } from './constants';
|
|
3
|
+
|
|
4
|
+
export { default as KuatHeader } from './KuatHeader.vue';
|
|
5
|
+
export { default as EELogo } from './EELogo.vue';
|
|
6
|
+
export { cn };
|
|
7
|
+
export { KUAT_HEADER_VARIANTS, EE_LOGO_TEXT_COLORS } from './constants';
|
|
8
|
+
export type { KuatHeaderVariant, EELogoTextColor } from './constants';
|
|
9
|
+
export type KuatHeaderVariants = {
|
|
10
|
+
variant?: KuatHeaderVariant;
|
|
11
|
+
};
|
|
12
|
+
/** Returns class string for header variant (backward compatibility). */
|
|
13
|
+
export declare function kuatHeaderVariants(options?: {
|
|
14
|
+
variant?: KuatHeaderVariant;
|
|
15
|
+
}): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equal Experts logo icon (bracket mark only, no wordmark).
|
|
3
|
+
* Used in dark Service logo lockup.
|
|
4
|
+
*/
|
|
5
|
+
interface Props {
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { KuatLogoLockupMode, KuatLogoLockupUse } from './constants';
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
/** Service name (Service use) or primary title (Demo use) */
|
|
7
|
+
title: string;
|
|
8
|
+
/** Service: logo first + name. Demo: title primary, "A demo by" + small logo. */
|
|
9
|
+
use?: KuatLogoLockupUse;
|
|
10
|
+
/** Visual theme */
|
|
11
|
+
mode?: KuatLogoLockupMode;
|
|
12
|
+
/** When true, force dark styling (e.g. on dark background) */
|
|
13
|
+
forceDark?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
use: string;
|
|
17
|
+
mode: string;
|
|
18
|
+
forceDark: boolean;
|
|
19
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
20
|
+
use: string;
|
|
21
|
+
mode: string;
|
|
22
|
+
forceDark: boolean;
|
|
23
|
+
}>>> & Readonly<{}>, {
|
|
24
|
+
use: KuatLogoLockupUse;
|
|
25
|
+
mode: KuatLogoLockupMode;
|
|
26
|
+
forceDark: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const KUAT_LOGO_LOCKUP_USE: readonly ["service", "demo"];
|
|
2
|
+
export type KuatLogoLockupUse = (typeof KUAT_LOGO_LOCKUP_USE)[number];
|
|
3
|
+
export declare const KUAT_LOGO_LOCKUP_MODE: readonly ["light", "dark"];
|
|
4
|
+
export type KuatLogoLockupMode = (typeof KUAT_LOGO_LOCKUP_MODE)[number];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as KuatLogoLockup } from './KuatLogoLockup.vue';
|
|
2
|
+
export { default as EELogoIcon } from './EELogoIcon.vue';
|
|
3
|
+
export { KUAT_LOGO_LOCKUP_USE, KUAT_LOGO_LOCKUP_MODE, } from './constants';
|
|
4
|
+
export type { KuatLogoLockupUse, KuatLogoLockupMode, } from './constants';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { KuatRadialProgressColor, KuatRadialProgressSize } from './constants';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
/** Value from 0 to 100 */
|
|
6
|
+
value: number;
|
|
7
|
+
size?: KuatRadialProgressSize;
|
|
8
|
+
/** Bar colour from Kuat palette */
|
|
9
|
+
color?: KuatRadialProgressColor;
|
|
10
|
+
/** When true, animate from 0 to value on mount */
|
|
11
|
+
animate?: boolean;
|
|
12
|
+
class?: HTMLAttributes["class"];
|
|
13
|
+
}>, {
|
|
14
|
+
size: string;
|
|
15
|
+
color: string;
|
|
16
|
+
animate: boolean;
|
|
17
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
/** Value from 0 to 100 */
|
|
19
|
+
value: number;
|
|
20
|
+
size?: KuatRadialProgressSize;
|
|
21
|
+
/** Bar colour from Kuat palette */
|
|
22
|
+
color?: KuatRadialProgressColor;
|
|
23
|
+
/** When true, animate from 0 to value on mount */
|
|
24
|
+
animate?: boolean;
|
|
25
|
+
class?: HTMLAttributes["class"];
|
|
26
|
+
}>, {
|
|
27
|
+
size: string;
|
|
28
|
+
color: string;
|
|
29
|
+
animate: boolean;
|
|
30
|
+
}>>> & Readonly<{}>, {
|
|
31
|
+
size: KuatRadialProgressSize;
|
|
32
|
+
animate: boolean;
|
|
33
|
+
color: KuatRadialProgressColor;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const KUAT_RADIAL_PROGRESS_SIZES: readonly ["mini", "small", "medium", "large"];
|
|
2
|
+
export declare const KUAT_RADIAL_PROGRESS_COLORS: readonly ["default", "primary", "ee-blue", "tech-blue", "transform-teal", "equal-ember"];
|
|
3
|
+
export type KuatRadialProgressSize = (typeof KUAT_RADIAL_PROGRESS_SIZES)[number];
|
|
4
|
+
export type KuatRadialProgressColor = (typeof KUAT_RADIAL_PROGRESS_COLORS)[number];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as t, createBlock as n, openBlock as l, unref as d, normalizeClass as c, withCtx as u, renderSlot as f } from "vue";
|
|
2
|
+
import { Primitive as o } from "reka-ui";
|
|
3
|
+
import { c as r } from "./utils-DLUjLwnh.js";
|
|
4
|
+
import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const m = /* @__PURE__ */ t({
|
|
6
|
+
__name: "Badge",
|
|
7
|
+
props: {
|
|
8
|
+
variant: { default: "default" },
|
|
9
|
+
roundness: { default: "default" },
|
|
10
|
+
class: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: { default: "div" }
|
|
13
|
+
},
|
|
14
|
+
setup(a) {
|
|
15
|
+
const e = a;
|
|
16
|
+
return (s, g) => (l(), n(d(o), {
|
|
17
|
+
as: a.as,
|
|
18
|
+
"as-child": a.asChild,
|
|
19
|
+
class: c(d(r)("badge", `badge--${e.variant}`, `badge--roundness-${e.roundness}`, e.class))
|
|
20
|
+
}, {
|
|
21
|
+
default: u(() => [
|
|
22
|
+
f(s.$slots, "default", {}, void 0, !0)
|
|
23
|
+
]),
|
|
24
|
+
_: 3
|
|
25
|
+
}, 8, ["as", "as-child", "class"]));
|
|
26
|
+
}
|
|
27
|
+
}), B = /* @__PURE__ */ i(m, [["__scopeId", "data-v-3daa11ff"]]);
|
|
28
|
+
function C(a) {
|
|
29
|
+
const e = (a == null ? void 0 : a.variant) ?? "default", s = (a == null ? void 0 : a.roundness) ?? "default";
|
|
30
|
+
return r("badge", `badge--${e}`, `badge--roundness-${s}`);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
B,
|
|
34
|
+
C as b
|
|
35
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as s, openBlock as f, unref as l, normalizeClass as o, withCtx as m, renderSlot as d } from "vue";
|
|
2
|
+
import { Primitive as b } from "reka-ui";
|
|
3
|
+
import { c as i } from "./utils-DLUjLwnh.js";
|
|
4
|
+
const C = /* @__PURE__ */ c({
|
|
5
|
+
__name: "Button",
|
|
6
|
+
props: {
|
|
7
|
+
variant: { default: "primary" },
|
|
8
|
+
size: { default: "default" },
|
|
9
|
+
color: { default: "ee-blue" },
|
|
10
|
+
class: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: { default: "button" }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const e = r;
|
|
16
|
+
function a(t) {
|
|
17
|
+
return t === "default" ? "primary" : t ?? "primary";
|
|
18
|
+
}
|
|
19
|
+
function n(t) {
|
|
20
|
+
return t === "sm" ? "small" : t === "lg" ? "large" : t ?? "default";
|
|
21
|
+
}
|
|
22
|
+
return (t, u) => (f(), s(l(b), {
|
|
23
|
+
as: r.as,
|
|
24
|
+
"as-child": r.asChild,
|
|
25
|
+
class: o(l(i)(
|
|
26
|
+
"button",
|
|
27
|
+
`button--variant-${a(e.variant)}`,
|
|
28
|
+
a(e.variant) === "destructive" ? [] : `button--color-${e.color}`,
|
|
29
|
+
`button--size-${n(e.size)}`,
|
|
30
|
+
e.class
|
|
31
|
+
))
|
|
32
|
+
}, {
|
|
33
|
+
default: m(() => [
|
|
34
|
+
d(t.$slots, "default")
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
}, 8, ["as", "as-child", "class"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
function z(r) {
|
|
41
|
+
return r === "default" ? "primary" : r ?? "primary";
|
|
42
|
+
}
|
|
43
|
+
function v(r) {
|
|
44
|
+
return r === "sm" ? "small" : r === "lg" ? "large" : r ?? "default";
|
|
45
|
+
}
|
|
46
|
+
function g(r) {
|
|
47
|
+
const e = z((r == null ? void 0 : r.variant) ?? "primary"), a = v((r == null ? void 0 : r.size) ?? "default"), n = (r == null ? void 0 : r.color) ?? "ee-blue", u = e === "destructive" ? "" : `button--color-${n}`;
|
|
48
|
+
return i(
|
|
49
|
+
"button",
|
|
50
|
+
`button--variant-${e}`,
|
|
51
|
+
u,
|
|
52
|
+
`button--size-${a}`
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
C as _,
|
|
57
|
+
g as b
|
|
58
|
+
};
|