@mindly/ui-components 7.4.0-dev.5 → 7.4.0-dev.7
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/dist/cjs/index.js +4 -4
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -1
- package/dist/cjs/lib2/features/PromptCardsFeature/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Badge/styles.d.ts +0 -7
- package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/PromptCard/types.d.ts +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -1
- package/dist/esm/lib2/features/PromptCardsFeature/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Badge/styles.d.ts +0 -7
- package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/PromptCard/types.d.ts +1 -0
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export interface ExploreCardData {
|
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
5
|
badgeText?: string;
|
|
6
|
-
|
|
6
|
+
badgeColorHex?: string;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
isProgressState?: boolean;
|
|
9
9
|
currentMessageCount?: number;
|
|
@@ -7,7 +7,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
success: "";
|
|
8
8
|
brand: "";
|
|
9
9
|
info: "";
|
|
10
|
-
personalized: "";
|
|
11
10
|
};
|
|
12
11
|
size: {
|
|
13
12
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -26,7 +25,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
26
25
|
success: "";
|
|
27
26
|
brand: "";
|
|
28
27
|
info: "";
|
|
29
|
-
personalized: "";
|
|
30
28
|
};
|
|
31
29
|
size: {
|
|
32
30
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -45,7 +43,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
45
43
|
success: "";
|
|
46
44
|
brand: "";
|
|
47
45
|
info: "";
|
|
48
|
-
personalized: "";
|
|
49
46
|
};
|
|
50
47
|
size: {
|
|
51
48
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -64,7 +61,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
64
61
|
success: "";
|
|
65
62
|
brand: "";
|
|
66
63
|
info: "";
|
|
67
|
-
personalized: "";
|
|
68
64
|
};
|
|
69
65
|
size: {
|
|
70
66
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -83,7 +79,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
83
79
|
success: "";
|
|
84
80
|
brand: "";
|
|
85
81
|
info: "";
|
|
86
|
-
personalized: "";
|
|
87
82
|
};
|
|
88
83
|
size: {
|
|
89
84
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -102,7 +97,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
102
97
|
success: "";
|
|
103
98
|
brand: "";
|
|
104
99
|
info: "";
|
|
105
|
-
personalized: "";
|
|
106
100
|
};
|
|
107
101
|
size: {
|
|
108
102
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -121,7 +115,6 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
|
121
115
|
success: "";
|
|
122
116
|
brand: "";
|
|
123
117
|
info: "";
|
|
124
|
-
personalized: "";
|
|
125
118
|
};
|
|
126
119
|
size: {
|
|
127
120
|
S: "px-2 py-1 text-xs/[140%] font-semibold";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type BadgeType = 'default' | 'accent';
|
|
3
|
-
export type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info'
|
|
3
|
+
export type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
|
|
4
4
|
export type BadgeProps = React.ComponentPropsWithoutRef<'span'> & {
|
|
5
5
|
variant: BadgeVariants;
|
|
6
6
|
size?: 'S' | 'M';
|
|
@@ -2,7 +2,7 @@ export interface ExploreCardProps {
|
|
|
2
2
|
title: string;
|
|
3
3
|
description: string;
|
|
4
4
|
badgeText?: string;
|
|
5
|
-
|
|
5
|
+
badgeColorHex?: string;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
onInputClicked?: () => void;
|
|
8
8
|
className?: string;
|