@mindly/ui-components 7.4.0-dev.6 → 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;
|
package/dist/index.d.ts
CHANGED
|
@@ -1396,7 +1396,7 @@ type PictureProps = {
|
|
|
1396
1396
|
declare const _default$1b: React__default.NamedExoticComponent<PictureProps>;
|
|
1397
1397
|
|
|
1398
1398
|
type BadgeType = 'default' | 'accent';
|
|
1399
|
-
type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info'
|
|
1399
|
+
type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
|
|
1400
1400
|
type BadgeProps = React$1.ComponentPropsWithoutRef<'span'> & {
|
|
1401
1401
|
variant: BadgeVariants;
|
|
1402
1402
|
size?: 'S' | 'M';
|
|
@@ -1877,6 +1877,7 @@ type PromptCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
|
1877
1877
|
badgeText?: string;
|
|
1878
1878
|
onStartConversation?: () => void;
|
|
1879
1879
|
isLoading?: boolean;
|
|
1880
|
+
badgeColorHex?: string;
|
|
1880
1881
|
};
|
|
1881
1882
|
|
|
1882
1883
|
declare const _default$Z: React$1.NamedExoticComponent<PromptCardProps>;
|
|
@@ -1885,7 +1886,7 @@ interface ExploreCardProps {
|
|
|
1885
1886
|
title: string;
|
|
1886
1887
|
description: string;
|
|
1887
1888
|
badgeText?: string;
|
|
1888
|
-
|
|
1889
|
+
badgeColorHex?: string;
|
|
1889
1890
|
placeholder?: string;
|
|
1890
1891
|
onInputClicked?: () => void;
|
|
1891
1892
|
className?: string;
|
|
@@ -3550,6 +3551,7 @@ interface PromptCardData {
|
|
|
3550
3551
|
title: string;
|
|
3551
3552
|
description: string;
|
|
3552
3553
|
badgeText?: string;
|
|
3554
|
+
badgeColorHex?: string;
|
|
3553
3555
|
}
|
|
3554
3556
|
type PromptCardsFeatureProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
3555
3557
|
cards?: PromptCardData[];
|
|
@@ -3564,7 +3566,7 @@ interface ExploreCardData {
|
|
|
3564
3566
|
title: string;
|
|
3565
3567
|
description: string;
|
|
3566
3568
|
badgeText?: string;
|
|
3567
|
-
|
|
3569
|
+
badgeColorHex?: string;
|
|
3568
3570
|
placeholder?: string;
|
|
3569
3571
|
isProgressState?: boolean;
|
|
3570
3572
|
currentMessageCount?: number;
|