@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.
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/types.d.ts +12 -1
- package/dist/cjs/lib2/shared/types/ratingCircleTypes.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/ProgressCard/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ProgressCard/styles.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ProgressCard/types.d.ts +11 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/ExploreCardSwiperFeature.d.ts +2 -2
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/types.d.ts +12 -1
- package/dist/esm/lib2/shared/types/ratingCircleTypes.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ExploreCard/types.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ProgressCard/ProgressCard.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/ProgressCard/index.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ProgressCard/styles.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ProgressCard/types.d.ts +11 -0
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +58 -30
- package/package.json +1 -1
|
@@ -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 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
|
-
|
|
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
|
}
|
|
@@ -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
|
+
}
|