@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.
@@ -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
- showMessenger: () => void;
5
+ onUpdate?: () => void;
6
+ redirectToWeb?: () => void;
6
7
  } & TranslationType;
7
- export declare function AppNotSupportedFeature({ isOpen, showMessenger, t, children, }: PropsWithChildren<AppNotSupportedProps>): React.ReactElement;
8
+ export declare function AppNotSupportedFeature({ isOpen, onUpdate, redirectToWeb, t, children, }: PropsWithChildren<AppNotSupportedProps>): React.ReactElement;
8
9
  export {};
@@ -5,6 +5,7 @@ export interface PromptCardData {
5
5
  description: string;
6
6
  badgeText?: string;
7
7
  badgeColorHex?: string;
8
+ ctaButtonText?: string;
8
9
  }
9
10
  export type PromptCardsFeatureProps = SliderSettings & {
10
11
  cards?: PromptCardData[];
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  export type PromptCardProps = React.ComponentPropsWithoutRef<'div'> & {
3
3
  title?: string;
4
4
  description?: string;
5
+ ctaButtonText?: string;
5
6
  badgeText?: string;
6
7
  onStartConversation?: () => void;
7
8
  isLoading?: boolean;
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
- showMessenger: () => void;
2888
+ onUpdate?: () => void;
2889
+ redirectToWeb?: () => void;
2888
2890
  } & TranslationType;
2889
- declare function AppNotSupportedFeature({ isOpen, showMessenger, t, children, }: PropsWithChildren<AppNotSupportedProps>): React__default.ReactElement;
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.2.43",
3
+ "version": "8.3.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",