@mindly/ui-components 8.2.43 → 8.3.1
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 +2 -2
- package/dist/cjs/lib2/features/AppNotSupporedFeature/AppNotSupportedFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/PromptCardsFeature/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/PromptCard/types.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/AppNotSupporedFeature/AppNotSupportedFeature.d.ts +3 -2
- package/dist/esm/lib2/features/PromptCardsFeature/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/PromptCard/types.d.ts +1 -0
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -2,7 +2,8 @@ import React, { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { TranslationType } from '../../shared/types';
|
|
3
3
|
type AppNotSupportedProps = {
|
|
4
4
|
isOpen: boolean;
|
|
5
|
-
|
|
5
|
+
onUpdate?: () => void;
|
|
6
|
+
redirectToWeb?: () => void;
|
|
6
7
|
} & TranslationType;
|
|
7
|
-
export declare function AppNotSupportedFeature({ isOpen,
|
|
8
|
+
export declare function AppNotSupportedFeature({ isOpen, onUpdate, redirectToWeb, t, children, }: PropsWithChildren<AppNotSupportedProps>): React.ReactElement;
|
|
8
9
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1891,6 +1891,7 @@ declare const Counter: React__default.FC<CounterProps>;
|
|
|
1891
1891
|
type PromptCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
1892
1892
|
title?: string;
|
|
1893
1893
|
description?: string;
|
|
1894
|
+
ctaButtonText?: string;
|
|
1894
1895
|
badgeText?: string;
|
|
1895
1896
|
onStartConversation?: () => void;
|
|
1896
1897
|
isLoading?: boolean;
|
|
@@ -2884,9 +2885,10 @@ declare const ReviewsCardFeatureSkeleton: React__default.MemoExoticComponent<()
|
|
|
2884
2885
|
|
|
2885
2886
|
type AppNotSupportedProps = {
|
|
2886
2887
|
isOpen: boolean;
|
|
2887
|
-
|
|
2888
|
+
onUpdate?: () => void;
|
|
2889
|
+
redirectToWeb?: () => void;
|
|
2888
2890
|
} & TranslationType;
|
|
2889
|
-
declare function AppNotSupportedFeature({ isOpen,
|
|
2891
|
+
declare function AppNotSupportedFeature({ isOpen, onUpdate, redirectToWeb, t, children, }: PropsWithChildren<AppNotSupportedProps>): React__default.ReactElement;
|
|
2890
2892
|
|
|
2891
2893
|
type ScreenInputUpdateFeatureProps = React__default.PropsWithChildren<{
|
|
2892
2894
|
title: string;
|
|
@@ -3636,6 +3638,7 @@ interface PromptCardData {
|
|
|
3636
3638
|
description: string;
|
|
3637
3639
|
badgeText?: string;
|
|
3638
3640
|
badgeColorHex?: string;
|
|
3641
|
+
ctaButtonText?: string;
|
|
3639
3642
|
}
|
|
3640
3643
|
type PromptCardsFeatureProps = Settings & {
|
|
3641
3644
|
cards?: PromptCardData[];
|