@mindly/ui-components 7.3.0-dev.15 → 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.
Files changed (40) hide show
  1. package/dist/cjs/index.js +7 -7
  2. package/dist/cjs/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
  3. package/dist/cjs/lib2/features/ExploreCardSwiperFeature/index.d.ts +1 -1
  4. package/dist/cjs/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -13
  5. package/dist/cjs/lib2/features/TabsFeature/types.d.ts +0 -5
  6. package/dist/cjs/lib2/shared/types/ratingCircleTypes.d.ts +0 -2
  7. package/dist/cjs/lib2/shared/ui/Badge/styles.d.ts +0 -7
  8. package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -1
  9. package/dist/cjs/lib2/shared/ui/ExploreCard/index.d.ts +1 -1
  10. package/dist/cjs/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
  11. package/dist/cjs/lib2/shared/ui/PromptCard/types.d.ts +2 -2
  12. package/dist/cjs/lib2/shared/ui/RatingCircle/styles.d.ts +0 -3
  13. package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +0 -2
  14. package/dist/cjs/lib2/shared/ui/index.d.ts +0 -1
  15. package/dist/esm/index.js +8 -8
  16. package/dist/esm/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
  17. package/dist/esm/lib2/features/ExploreCardSwiperFeature/index.d.ts +1 -1
  18. package/dist/esm/lib2/features/ExploreCardSwiperFeature/types.d.ts +1 -13
  19. package/dist/esm/lib2/features/TabsFeature/types.d.ts +0 -5
  20. package/dist/esm/lib2/shared/types/ratingCircleTypes.d.ts +0 -2
  21. package/dist/esm/lib2/shared/ui/Badge/styles.d.ts +0 -7
  22. package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -1
  23. package/dist/esm/lib2/shared/ui/ExploreCard/index.d.ts +1 -1
  24. package/dist/esm/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
  25. package/dist/esm/lib2/shared/ui/PromptCard/types.d.ts +2 -2
  26. package/dist/esm/lib2/shared/ui/RatingCircle/styles.d.ts +0 -3
  27. package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +0 -2
  28. package/dist/esm/lib2/shared/ui/index.d.ts +0 -1
  29. package/dist/index.d.ts +30 -69
  30. package/package.json +2 -3
  31. package/dist/cjs/lib2/features/ExploreCardSwiperFeature/useSlidesToShow.d.ts +0 -1
  32. package/dist/cjs/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +0 -4
  33. package/dist/cjs/lib2/shared/ui/ProgressCard/index.d.ts +0 -2
  34. package/dist/cjs/lib2/shared/ui/ProgressCard/styles.d.ts +0 -1
  35. package/dist/cjs/lib2/shared/ui/ProgressCard/types.d.ts +0 -11
  36. package/dist/esm/lib2/features/ExploreCardSwiperFeature/useSlidesToShow.d.ts +0 -1
  37. package/dist/esm/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +0 -4
  38. package/dist/esm/lib2/shared/ui/ProgressCard/index.d.ts +0 -2
  39. package/dist/esm/lib2/shared/ui/ProgressCard/styles.d.ts +0 -1
  40. package/dist/esm/lib2/shared/ui/ProgressCard/types.d.ts +0 -11
@@ -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 ExploreCardSwiperFeature: React.ForwardRefExoticComponent<ExploreCardSwiperFeatureProps & React.RefAttributes<HTMLDivElement>>;
6
- export default ExploreCardSwiperFeature;
5
+ declare const _default: React.NamedExoticComponent<ExploreCardSwiperFeatureProps>;
6
+ export default _default;
@@ -1,2 +1,2 @@
1
- export { default as ExploreCardSwiperFeature } from './ExploreCardSwiperFeature';
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
- onInputClicked: (cardId?: string) => void;
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
  }
@@ -7,10 +7,5 @@ export type TabsFeatureProps = {
7
7
  }[];
8
8
  className?: string;
9
9
  isLoading?: boolean;
10
- /**
11
- * When true, tabs will stretch to fill the available width equally
12
- */
13
- fullWidth?: boolean;
14
- defaultActiveTab?: string;
15
10
  onTabClick?(tab: string): void;
16
11
  };
@@ -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' | 'personalized';
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 { default as ExploreCard } from './ExploreCard';
1
+ export * from './ExploreCard';
2
2
  export * from './types';
@@ -4,6 +4,6 @@ export interface ExploreCardProps {
4
4
  badgeText?: string;
5
5
  badgeVariant?: 'success' | 'info' | 'attention' | 'warning' | 'neutral' | 'brand';
6
6
  placeholder?: string;
7
- onInputClicked?: () => void;
7
+ onSendMessage?: (message: string) => void;
8
8
  className?: string;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export type PromptCardProps = React.ComponentPropsWithoutRef<'div'> & {
3
- title?: string;
4
- description?: string;
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;
@@ -17,6 +17,4 @@ export type SolidInputProps = {
17
17
  onButtonClick?: () => void;
18
18
  onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
19
19
  onKeyDown?: KeyboardEventHandler;
20
- readonly?: boolean;
21
- onClick?: () => void;
22
20
  };
@@ -48,4 +48,3 @@ export * from './SolidInput';
48
48
  export * from './Counter';
49
49
  export * from './PromptCard';
50
50
  export * from './ExploreCard';
51
- export * from './ProgressCard';