@mindly/ui-components 7.3.0-dev.8 → 7.3.0-dev.9

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.
@@ -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 _default: React.NamedExoticComponent<ExploreCardSwiperFeatureProps>;
6
- export default _default;
5
+ declare const ExploreCardSwiperFeature: React.ForwardRefExoticComponent<ExploreCardSwiperFeatureProps & React.RefAttributes<HTMLDivElement>>;
6
+ export default ExploreCardSwiperFeature;
@@ -5,11 +5,22 @@ 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;
8
11
  }
9
12
  export interface ExploreCardSwiperFeatureProps {
10
13
  cards?: ExploreCardData[];
11
14
  className?: string;
12
- onCardSendMessage?: (cardId: string, message: string) => void;
15
+ onInputClicked: (cardId?: string) => void;
13
16
  isLoading?: boolean;
14
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;
15
26
  }
@@ -11,6 +11,7 @@ export type CircleRatingContent = {
11
11
  text?: string;
12
12
  isPercentage?: boolean;
13
13
  showIcon?: boolean;
14
+ hideValue?: boolean;
14
15
  };
15
16
  export type CircleRatingDataProps = {
16
17
  progress: number;
@@ -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
- onSendMessage?: (message: string) => void;
7
+ onInputClicked?: () => void;
8
8
  className?: string;
9
9
  }
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { ProgressCardProps } from './types';
3
+ declare const _default: React.NamedExoticComponent<ProgressCardProps>;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as ProgressCard } from './ProgressCard';
2
+ export type { ProgressCardProps } from './types';
@@ -0,0 +1 @@
1
+ export declare const progressCardStyles: import("tailwind-variants").TVReturnType<{}, undefined, "bg-color-background-anti-flash-light flex flex-col items-center justify-between pb-7 pt-10 px-7 size-full rounded-[20px] h-full", import("tailwind-variants/dist/config").TVConfig<{}, {}>, {}, undefined, import("tailwind-variants").TVReturnType<{}, undefined, "bg-color-background-anti-flash-light flex flex-col items-center justify-between pb-7 pt-10 px-7 size-full rounded-[20px] h-full", import("tailwind-variants/dist/config").TVConfig<{}, {}>, unknown, unknown, undefined>>;
@@ -0,0 +1,11 @@
1
+ export interface ProgressCardProps {
2
+ title: string;
3
+ description: string;
4
+ currentMessageCount: number;
5
+ requiredMessageCount: number;
6
+ className?: string;
7
+ loadingImage: string;
8
+ placeholder: string;
9
+ circleText: string;
10
+ onInputClicked?: () => void;
11
+ }
@@ -17,4 +17,6 @@ export type SolidInputProps = {
17
17
  onButtonClick?: () => void;
18
18
  onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
19
19
  onKeyDown?: KeyboardEventHandler;
20
+ readonly?: boolean;
21
+ onClick?: () => void;
20
22
  };
@@ -48,3 +48,4 @@ export * from './SolidInput';
48
48
  export * from './Counter';
49
49
  export * from './PromptCard';
50
50
  export * from './ExploreCard';
51
+ export * from './ProgressCard';