@mindly/ui-components 7.3.0-dev.16 → 7.3.0-dev.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/dist/cjs/index.js +7 -7
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/index.d.ts +1 -1
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -13
- package/dist/cjs/lib2/shared/types/ratingCircleTypes.d.ts +0 -2
- 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/index.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 +2 -2
- package/dist/cjs/lib2/shared/ui/RatingCircle/styles.d.ts +0 -3
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +0 -2
- package/dist/cjs/lib2/shared/ui/index.d.ts +0 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/index.d.ts +1 -1
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -13
- package/dist/esm/lib2/shared/types/ratingCircleTypes.d.ts +0 -2
- 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/index.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 +2 -2
- package/dist/esm/lib2/shared/ui/RatingCircle/styles.d.ts +0 -3
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/index.d.ts +0 -2
- package/dist/index.d.ts +30 -77
- package/package.json +2 -3
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/useSlidesToShow.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +0 -4
- package/dist/cjs/lib2/shared/ui/ProgressCard/index.d.ts +0 -2
- package/dist/cjs/lib2/shared/ui/ProgressCard/styles.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ProgressCard/types.d.ts +0 -11
- package/dist/cjs/lib2/shared/ui/SimpleTabs/SimpleTabs.d.ts +0 -14
- package/dist/cjs/lib2/shared/ui/SimpleTabs/index.d.ts +0 -3
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/useSlidesToShow.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +0 -4
- package/dist/esm/lib2/shared/ui/ProgressCard/index.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/ProgressCard/styles.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ProgressCard/types.d.ts +0 -11
- package/dist/esm/lib2/shared/ui/SimpleTabs/SimpleTabs.d.ts +0 -14
- package/dist/esm/lib2/shared/ui/SimpleTabs/index.d.ts +0 -3
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
import { ExploreCardSwiperFeatureProps } from './types';
|
|
3
3
|
import 'slick-carousel/slick/slick.css';
|
|
4
4
|
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
declare const
|
|
6
|
-
export default
|
|
5
|
+
declare const _default: React.NamedExoticComponent<ExploreCardSwiperFeatureProps>;
|
|
6
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './ExploreCardSwiperFeature';
|
|
2
2
|
export * from './types';
|
|
@@ -5,22 +5,10 @@ export interface ExploreCardData {
|
|
|
5
5
|
badgeText?: string;
|
|
6
6
|
badgeVariant?: 'success' | 'info' | 'attention' | 'warning' | 'neutral' | 'brand';
|
|
7
7
|
placeholder?: string;
|
|
8
|
-
isProgressState?: boolean;
|
|
9
|
-
currentMessageCount?: number;
|
|
10
|
-
requiredMessageCount?: number;
|
|
11
8
|
}
|
|
12
9
|
export interface ExploreCardSwiperFeatureProps {
|
|
13
10
|
cards?: ExploreCardData[];
|
|
14
11
|
className?: string;
|
|
15
|
-
|
|
12
|
+
onCardSendMessage?: (cardId: string, message: string) => void;
|
|
16
13
|
isLoading?: boolean;
|
|
17
|
-
slidesToShow?: number;
|
|
18
|
-
progressImage: string;
|
|
19
|
-
progressPlaceholder: string;
|
|
20
|
-
progressSentCount: number;
|
|
21
|
-
progressNeededCount: number;
|
|
22
|
-
progressTitle: string;
|
|
23
|
-
progressDescription: string;
|
|
24
|
-
progressCircleText: string;
|
|
25
|
-
showProgress: boolean;
|
|
26
14
|
}
|
|
@@ -11,7 +11,6 @@ export type CircleRatingContent = {
|
|
|
11
11
|
text?: string;
|
|
12
12
|
isPercentage?: boolean;
|
|
13
13
|
showIcon?: boolean;
|
|
14
|
-
hideValue?: boolean;
|
|
15
14
|
};
|
|
16
15
|
export type CircleRatingDataProps = {
|
|
17
16
|
progress: number;
|
|
@@ -72,7 +71,6 @@ export type CircleRatingComponentProps = {
|
|
|
72
71
|
isWithAnimation?: boolean;
|
|
73
72
|
isPrimaryColor?: boolean;
|
|
74
73
|
isProgressWithAnimation?: boolean;
|
|
75
|
-
isWhiteBackgroundStroke?: boolean;
|
|
76
74
|
className?: string;
|
|
77
75
|
onProgressEnd?: () => void;
|
|
78
76
|
};
|
|
@@ -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';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './ExploreCard';
|
|
2
2
|
export * from './types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type PromptCardProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
3
|
-
title
|
|
4
|
-
description
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
5
|
badgeText?: string;
|
|
6
6
|
onStartConversation?: () => void;
|
|
7
7
|
isLoading?: boolean;
|
|
@@ -39,7 +39,6 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
39
39
|
breakPoint: string;
|
|
40
40
|
defaultStroke: string;
|
|
41
41
|
coloredStroke: string;
|
|
42
|
-
whiteStroke: string;
|
|
43
42
|
icon: string;
|
|
44
43
|
contentWrapper: string;
|
|
45
44
|
contentColor: string;
|
|
@@ -159,7 +158,6 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
159
158
|
breakPoint: string;
|
|
160
159
|
defaultStroke: string;
|
|
161
160
|
coloredStroke: string;
|
|
162
|
-
whiteStroke: string;
|
|
163
161
|
icon: string;
|
|
164
162
|
contentWrapper: string;
|
|
165
163
|
contentColor: string;
|
|
@@ -205,7 +203,6 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
205
203
|
breakPoint: string;
|
|
206
204
|
defaultStroke: string;
|
|
207
205
|
coloredStroke: string;
|
|
208
|
-
whiteStroke: string;
|
|
209
206
|
icon: string;
|
|
210
207
|
contentWrapper: string;
|
|
211
208
|
contentColor: string;
|
|
@@ -34,7 +34,6 @@ export * from './ProgressBarDashed';
|
|
|
34
34
|
export * from './DrumListPicker';
|
|
35
35
|
export * from './CollapsableText';
|
|
36
36
|
export * from './Tabs';
|
|
37
|
-
export * from './SimpleTabs';
|
|
38
37
|
export * from './AlertCard';
|
|
39
38
|
export * from './SuperSpecialist';
|
|
40
39
|
export * from './MatchProgress';
|
|
@@ -49,4 +48,3 @@ export * from './SolidInput';
|
|
|
49
48
|
export * from './Counter';
|
|
50
49
|
export * from './PromptCard';
|
|
51
50
|
export * from './ExploreCard';
|
|
52
|
-
export * from './ProgressCard';
|