@stachelock/ui 0.7.0 → 0.8.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.
@@ -10,17 +10,22 @@ export interface MenuItemType {
10
10
  shortcut?: string;
11
11
  dividerAfter?: boolean;
12
12
  }
13
- type MenuPlacement = 'left' | 'right';
14
- type MenuWidth = 'auto' | 'sm' | 'md' | 'lg' | 'full';
13
+ export type MenuPlacement = 'left' | 'right';
14
+ export type MenuPosition = 'bottom' | 'top';
15
+ export type MenuWidth = 'auto' | 'sm' | 'md' | 'lg' | 'full';
15
16
  interface Props {
16
17
  items?: MenuItemType[];
18
+ /** Horizontal placement: left or right aligned */
17
19
  placement?: MenuPlacement;
20
+ /** Vertical position: bottom (default, opens downward) or top (opens upward, for menus near bottom of screen) */
21
+ position?: MenuPosition;
18
22
  width?: MenuWidth;
19
23
  disabled?: boolean;
20
24
  }
21
25
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
22
26
  items: () => never[];
23
27
  placement: string;
28
+ position: string;
24
29
  width: string;
25
30
  disabled: boolean;
26
31
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -28,12 +33,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
28
33
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
29
34
  items: () => never[];
30
35
  placement: string;
36
+ position: string;
31
37
  width: string;
32
38
  disabled: boolean;
33
39
  }>>> & Readonly<{
34
40
  "onItem-click"?: ((item: MenuItemType) => any) | undefined;
35
41
  }>, {
36
42
  disabled: boolean;
43
+ position: MenuPosition;
37
44
  width: MenuWidth;
38
45
  items: MenuItemType[];
39
46
  placement: MenuPlacement;
@@ -0,0 +1,83 @@
1
+ import { Component } from 'vue';
2
+
3
+ export interface WelcomeFeature {
4
+ /** Icon component to display */
5
+ icon: Component;
6
+ /** Feature label text */
7
+ label: string;
8
+ }
9
+ interface Props {
10
+ /** Main title text (or brand name if using titlePrefix) */
11
+ title: string;
12
+ /** Optional prefix before title (e.g., "Welcome to") */
13
+ titlePrefix?: string;
14
+ /** Subtitle under the main title */
15
+ subtitle: string;
16
+ /** Description paragraph */
17
+ description: string;
18
+ /** Array of features to highlight */
19
+ features?: WelcomeFeature[];
20
+ /** Text for the login button */
21
+ loginButtonLabel?: string;
22
+ /** Logo image source (if not using slot) */
23
+ logoSrc?: string;
24
+ /** Logo alt text */
25
+ logoAlt?: string;
26
+ /** Theme variant */
27
+ theme?: 'jello' | 'primary' | 'custom';
28
+ }
29
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
30
+ titlePrefix: string;
31
+ features: () => never[];
32
+ loginButtonLabel: string;
33
+ logoSrc: string;
34
+ logoAlt: string;
35
+ theme: string;
36
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ login: () => void;
38
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
39
+ titlePrefix: string;
40
+ features: () => never[];
41
+ loginButtonLabel: string;
42
+ logoSrc: string;
43
+ logoAlt: string;
44
+ theme: string;
45
+ }>>> & Readonly<{
46
+ onLogin?: (() => any) | undefined;
47
+ }>, {
48
+ theme: "primary" | "custom" | "jello";
49
+ features: WelcomeFeature[];
50
+ titlePrefix: string;
51
+ loginButtonLabel: string;
52
+ logoSrc: string;
53
+ logoAlt: string;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
55
+ logo?(_: {}): any;
56
+ title?(_: {}): any;
57
+ "extra-content"?(_: {}): any;
58
+ "login-icon"?(_: {}): any;
59
+ footer?(_: {}): any;
60
+ }>;
61
+ export default _default;
62
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
+ type __VLS_TypePropsToRuntimeProps<T> = {
64
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
65
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
66
+ } : {
67
+ type: import('vue').PropType<T[K]>;
68
+ required: true;
69
+ };
70
+ };
71
+ type __VLS_WithDefaults<P, D> = {
72
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
+ default: D[K];
74
+ }> : P[K];
75
+ };
76
+ type __VLS_Prettify<T> = {
77
+ [K in keyof T]: T[K];
78
+ } & {};
79
+ type __VLS_WithTemplateSlots<T, S> = T & {
80
+ new (): {
81
+ $slots: S;
82
+ };
83
+ };
@@ -0,0 +1,87 @@
1
+ export type ErrorVariant = 'error' | 'warning' | 'info' | 'neutral';
2
+ interface Props {
3
+ /** HTTP-style status code (e.g., "404", "500") */
4
+ statusCode?: string;
5
+ /** Main error title */
6
+ title: string;
7
+ /** Error description text */
8
+ description?: string;
9
+ /** Show default support link */
10
+ showDefaultSupport?: boolean;
11
+ /** Support email for default support link */
12
+ supportEmail?: string;
13
+ /** Primary action button label */
14
+ primaryActionLabel?: string;
15
+ /** Secondary action button label */
16
+ secondaryActionLabel?: string;
17
+ /** Error variant for color theming */
18
+ variant?: ErrorVariant;
19
+ /** Show the default icon */
20
+ showDefaultIcon?: boolean;
21
+ /** Fill the screen height */
22
+ fullHeight?: boolean;
23
+ /** Background style */
24
+ background?: 'white' | 'gray' | 'transparent';
25
+ /** Maximum width for content */
26
+ maxWidth?: 'sm' | 'md' | 'lg' | 'xl';
27
+ }
28
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
29
+ showDefaultSupport: boolean;
30
+ supportEmail: string;
31
+ variant: string;
32
+ showDefaultIcon: boolean;
33
+ fullHeight: boolean;
34
+ background: string;
35
+ maxWidth: string;
36
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ "primary-action": () => void;
38
+ "secondary-action": () => void;
39
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
40
+ showDefaultSupport: boolean;
41
+ supportEmail: string;
42
+ variant: string;
43
+ showDefaultIcon: boolean;
44
+ fullHeight: boolean;
45
+ background: string;
46
+ maxWidth: string;
47
+ }>>> & Readonly<{
48
+ "onPrimary-action"?: (() => any) | undefined;
49
+ "onSecondary-action"?: (() => any) | undefined;
50
+ }>, {
51
+ background: "white" | "transparent" | "gray";
52
+ variant: ErrorVariant;
53
+ maxWidth: "sm" | "md" | "lg" | "xl";
54
+ fullHeight: boolean;
55
+ showDefaultSupport: boolean;
56
+ supportEmail: string;
57
+ showDefaultIcon: boolean;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
59
+ icon?(_: {}): any;
60
+ description?(_: {}): any;
61
+ "primary-actions"?(_: {}): any;
62
+ "secondary-actions"?(_: {}): any;
63
+ context?(_: {}): any;
64
+ }>;
65
+ export default _default;
66
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
67
+ type __VLS_TypePropsToRuntimeProps<T> = {
68
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
69
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
70
+ } : {
71
+ type: import('vue').PropType<T[K]>;
72
+ required: true;
73
+ };
74
+ };
75
+ type __VLS_WithDefaults<P, D> = {
76
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
77
+ default: D[K];
78
+ }> : P[K];
79
+ };
80
+ type __VLS_Prettify<T> = {
81
+ [K in keyof T]: T[K];
82
+ } & {};
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -0,0 +1,76 @@
1
+ export type MissingResourceVariant = 'warning' | 'error' | 'info' | 'neutral';
2
+ interface Props {
3
+ /** Badge text (e.g., "Registration link required") */
4
+ badge?: string;
5
+ /** Main title */
6
+ title: string;
7
+ /** Primary description text */
8
+ description?: string;
9
+ /** Secondary supporting text */
10
+ supportingText?: string;
11
+ /** Lottie animation data object */
12
+ animationData?: Record<string, unknown> | null;
13
+ /** Animation height */
14
+ animationHeight?: number;
15
+ /** Animation width */
16
+ animationWidth?: number;
17
+ /** Whether the animation should loop */
18
+ animationLoop?: boolean;
19
+ /** Show loading state while animation loads */
20
+ isAnimationLoading?: boolean;
21
+ /** Show fallback icon when no animation */
22
+ showFallbackIcon?: boolean;
23
+ /** Color variant for badge and icon */
24
+ variant?: MissingResourceVariant;
25
+ }
26
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
+ animationHeight: number;
28
+ animationWidth: number;
29
+ animationLoop: boolean;
30
+ isAnimationLoading: boolean;
31
+ showFallbackIcon: boolean;
32
+ variant: string;
33
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
34
+ animationHeight: number;
35
+ animationWidth: number;
36
+ animationLoop: boolean;
37
+ isAnimationLoading: boolean;
38
+ showFallbackIcon: boolean;
39
+ variant: string;
40
+ }>>> & Readonly<{}>, {
41
+ variant: MissingResourceVariant;
42
+ animationHeight: number;
43
+ animationWidth: number;
44
+ animationLoop: boolean;
45
+ isAnimationLoading: boolean;
46
+ showFallbackIcon: boolean;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
48
+ animation?(_: {}): any;
49
+ icon?(_: {}): any;
50
+ description?(_: {}): any;
51
+ "supporting-text"?(_: {}): any;
52
+ actions?(_: {}): any;
53
+ }>;
54
+ export default _default;
55
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
+ type __VLS_TypePropsToRuntimeProps<T> = {
57
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
58
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
+ } : {
60
+ type: import('vue').PropType<T[K]>;
61
+ required: true;
62
+ };
63
+ };
64
+ type __VLS_WithDefaults<P, D> = {
65
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
66
+ default: D[K];
67
+ }> : P[K];
68
+ };
69
+ type __VLS_Prettify<T> = {
70
+ [K in keyof T]: T[K];
71
+ } & {};
72
+ type __VLS_WithTemplateSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
@@ -0,0 +1,57 @@
1
+ export type ProcessingVariant = 'primary' | 'success' | 'warning' | 'neutral';
2
+ interface Props {
3
+ /** Badge text above the title */
4
+ badge?: string;
5
+ /** Main title */
6
+ title: string;
7
+ /** Description text */
8
+ description?: string;
9
+ /** Color variant */
10
+ variant?: ProcessingVariant;
11
+ /** Show progress bar */
12
+ showProgress?: boolean;
13
+ /** Progress percentage (0-100) */
14
+ progress?: number;
15
+ /** Progress label text */
16
+ progressLabel?: string;
17
+ }
18
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
19
+ variant: string;
20
+ showProgress: boolean;
21
+ progress: number;
22
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
+ variant: string;
24
+ showProgress: boolean;
25
+ progress: number;
26
+ }>>> & Readonly<{}>, {
27
+ progress: number;
28
+ variant: ProcessingVariant;
29
+ showProgress: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
31
+ loading?(_: {}): any;
32
+ description?(_: {}): any;
33
+ default?(_: {}): any;
34
+ }>;
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
+ } & {};
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1,71 @@
1
+ export type ResultVariant = 'success' | 'pending' | 'accepted' | 'expired' | 'revoked' | 'invalid' | 'info';
2
+ interface Props {
3
+ /** Result variant for theming */
4
+ variant?: ResultVariant;
5
+ /** Title text */
6
+ title: string;
7
+ /** Description text */
8
+ description?: string;
9
+ /** Lottie animation data */
10
+ animationData?: Record<string, unknown> | null;
11
+ /** Animation size (height and width) */
12
+ animationSize?: number;
13
+ /** Whether the animation should loop */
14
+ animationLoop?: boolean;
15
+ /** Show action button */
16
+ showAction?: boolean;
17
+ /** Action button label */
18
+ actionLabel?: string;
19
+ }
20
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
21
+ variant: string;
22
+ animationSize: number;
23
+ animationLoop: boolean;
24
+ showAction: boolean;
25
+ actionLabel: string;
26
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ action: () => void;
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
29
+ variant: string;
30
+ animationSize: number;
31
+ animationLoop: boolean;
32
+ showAction: boolean;
33
+ actionLabel: string;
34
+ }>>> & Readonly<{
35
+ onAction?: (() => any) | undefined;
36
+ }>, {
37
+ actionLabel: string;
38
+ variant: ResultVariant;
39
+ animationLoop: boolean;
40
+ animationSize: number;
41
+ showAction: boolean;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
43
+ animation?(_: {}): any;
44
+ description?(_: {}): any;
45
+ default?(_: {}): any;
46
+ "action-icon"?(_: {}): any;
47
+ actions?(_: {}): any;
48
+ }>;
49
+ export default _default;
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToRuntimeProps<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: import('vue').PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };
59
+ type __VLS_WithDefaults<P, D> = {
60
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
61
+ default: D[K];
62
+ }> : P[K];
63
+ };
64
+ type __VLS_Prettify<T> = {
65
+ [K in keyof T]: T[K];
66
+ } & {};
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -1,2 +1,6 @@
1
1
  export { default as ComingSoon } from './ComingSoon';
2
2
  export { default as EmptyState } from './EmptyState';
3
+ export { default as ErrorState } from './ErrorState';
4
+ export { default as MissingResourceState } from './MissingResourceState';
5
+ export { default as ProcessingState } from './ProcessingState';
6
+ export { default as ResultState } from './ResultState';
@@ -18,6 +18,7 @@ export { default as ProgressBar } from './UiProgressBar';
18
18
  export { default as RadialProgressBar } from './UiRadialProgressBar';
19
19
  export { default as Table } from './UiTable';
20
20
  export { default as Transition } from './UiTransition';
21
+ export { default as UnauthenticatedWelcome } from './UnauthenticatedWelcome';
21
22
  export * from './avatars';
22
23
  export * from './calendars';
23
24
  export * from './charts';
@@ -0,0 +1,80 @@
1
+ export type BadgeVariant = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
2
+ interface Props {
3
+ /** Badge text above title (e.g., "Member Registration", "Event RSVP") */
4
+ badge?: string;
5
+ /** Badge color variant */
6
+ badgeVariant?: BadgeVariant;
7
+ /** Main title (e.g., project name) */
8
+ title?: string;
9
+ /** Subtitle or message below title */
10
+ subtitle?: string;
11
+ /** Description text */
12
+ description?: string;
13
+ /** Whether the header is in loading state */
14
+ loading?: boolean;
15
+ /** Image URL for the project logo */
16
+ imageUrl?: string;
17
+ /** Alt text for the image */
18
+ imageAlt?: string;
19
+ /** Whether to show image placeholder when no image */
20
+ showPlaceholder?: boolean;
21
+ /** Placeholder text when no image */
22
+ placeholderText?: string;
23
+ /** Image size variant */
24
+ imageSize?: 'sm' | 'md' | 'lg';
25
+ /** Show badge skeleton during loading */
26
+ showBadgeSkeleton?: boolean;
27
+ /** Show description skeleton during loading */
28
+ showDescriptionSkeleton?: boolean;
29
+ }
30
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
31
+ badgeVariant: string;
32
+ imageAlt: string;
33
+ showPlaceholder: boolean;
34
+ placeholderText: string;
35
+ imageSize: string;
36
+ showBadgeSkeleton: boolean;
37
+ showDescriptionSkeleton: boolean;
38
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
39
+ badgeVariant: string;
40
+ imageAlt: string;
41
+ showPlaceholder: boolean;
42
+ placeholderText: string;
43
+ imageSize: string;
44
+ showBadgeSkeleton: boolean;
45
+ showDescriptionSkeleton: boolean;
46
+ }>>> & Readonly<{}>, {
47
+ imageSize: "sm" | "md" | "lg";
48
+ badgeVariant: BadgeVariant;
49
+ imageAlt: string;
50
+ showPlaceholder: boolean;
51
+ placeholderText: string;
52
+ showBadgeSkeleton: boolean;
53
+ showDescriptionSkeleton: boolean;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
55
+ content?(_: {}): any;
56
+ image?(_: {}): any;
57
+ }>;
58
+ export default _default;
59
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
+ type __VLS_TypePropsToRuntimeProps<T> = {
61
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
62
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
63
+ } : {
64
+ type: import('vue').PropType<T[K]>;
65
+ required: true;
66
+ };
67
+ };
68
+ type __VLS_WithDefaults<P, D> = {
69
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
70
+ default: D[K];
71
+ }> : P[K];
72
+ };
73
+ type __VLS_Prettify<T> = {
74
+ [K in keyof T]: T[K];
75
+ } & {};
76
+ type __VLS_WithTemplateSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S;
79
+ };
80
+ };
@@ -0,0 +1,75 @@
1
+ export type StatusPageStatus = 'loading' | 'success' | 'error' | 'info' | null;
2
+ interface Props {
3
+ /** Badge text displayed above the title */
4
+ badge?: string;
5
+ /** Main title */
6
+ title: string;
7
+ /** Current status state */
8
+ status?: StatusPageStatus;
9
+ /** Status message below the title */
10
+ statusMessage?: string;
11
+ /** Error message (used when status is 'error') */
12
+ errorMessage?: string;
13
+ /** Success message (used when status is 'success') */
14
+ successMessage?: string;
15
+ /** Action button label for error state */
16
+ actionLabel?: string;
17
+ /** Maximum width size variant */
18
+ size?: 'sm' | 'md' | 'lg';
19
+ /** Background style variant */
20
+ background?: 'gray' | 'white' | 'transparent';
21
+ /** Badge color variant based on status */
22
+ badgeVariant?: 'primary' | 'success' | 'error' | 'warning' | 'neutral';
23
+ }
24
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
+ status: null;
26
+ size: string;
27
+ background: string;
28
+ badgeVariant: string;
29
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ action: () => void;
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
32
+ status: null;
33
+ size: string;
34
+ background: string;
35
+ badgeVariant: string;
36
+ }>>> & Readonly<{
37
+ onAction?: (() => any) | undefined;
38
+ }>, {
39
+ size: "sm" | "md" | "lg";
40
+ background: "white" | "transparent" | "gray";
41
+ status: StatusPageStatus;
42
+ badgeVariant: "primary" | "success" | "warning" | "error" | "neutral";
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
44
+ loading?(_: {}): any;
45
+ success?(_: {}): any;
46
+ "error-icon"?(_: {}): any;
47
+ "error-actions"?(_: {}): any;
48
+ info?(_: {}): any;
49
+ default?(_: {}): any;
50
+ footer?(_: {}): any;
51
+ "below-card"?(_: {}): any;
52
+ }>;
53
+ export default _default;
54
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
+ type __VLS_TypePropsToRuntimeProps<T> = {
56
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
57
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
+ } : {
59
+ type: import('vue').PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
63
+ type __VLS_WithDefaults<P, D> = {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
65
+ default: D[K];
66
+ }> : P[K];
67
+ };
68
+ type __VLS_Prettify<T> = {
69
+ [K in keyof T]: T[K];
70
+ } & {};
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -8,11 +8,13 @@ export { default as NavigationItem } from './NavigationItem';
8
8
  export { default as NestedNavigationItem } from './NestedNavigationItem';
9
9
  export { default as NestedSidebar } from './NestedSidebar';
10
10
  export { default as ProfileHeaderAvatar } from './ProfileHeaderAvatar';
11
+ export { default as ProjectInfoHeader } from './ProjectInfoHeader';
11
12
  export { default as ProjectLogo } from './ProjectLogo';
12
13
  export { default as PropsTable } from './PropsTable';
13
14
  export { default as ShowcaseCard } from './ShowcaseCard';
14
15
  export { default as ShowcaseLayout } from './ShowcaseLayout';
15
16
  export { default as SidebarLayout } from './SidebarLayout';
16
17
  export { default as StateDisplay } from './StateDisplay';
18
+ export { default as StatusPageLayout } from './StatusPageLayout';
17
19
  export { default as DetailPanel } from './UiDetailPanel';
18
20
  export { default as SplitPanelLayout } from './UiSplitPanelLayout';