@envive-ai/react-toolkit-v3 0.3.42 → 0.3.44

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 (86) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  3. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  4. package/dist/Carousel/Carousel.d.cts +2 -2
  5. package/dist/Carousel/Carousel.d.ts +2 -2
  6. package/dist/Carousel/components/Container.cjs +1 -1
  7. package/dist/Carousel/components/Container.js +1 -1
  8. package/dist/Carousel/components/Item.cjs +4 -1
  9. package/dist/Carousel/components/Item.js +4 -1
  10. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  11. package/dist/ChatFooter/components/index.d.cts +5 -5
  12. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  13. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  14. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  15. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  16. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  17. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  18. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  19. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  20. package/dist/Container/Container.d.cts +223 -223
  21. package/dist/Container/Container.d.ts +56 -56
  22. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  23. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  24. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  25. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  26. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  27. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  28. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  29. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  30. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +25 -5
  31. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +5 -3
  32. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +5 -3
  33. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +26 -6
  34. package/dist/FullPageSalesAgent/components/Layout.cjs +15 -7
  35. package/dist/FullPageSalesAgent/components/Layout.js +15 -7
  36. package/dist/Image/Image.d.cts +2 -2
  37. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  38. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  39. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  40. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  41. package/dist/ProductCard/ProductCard.d.cts +2 -2
  42. package/dist/ProductCard/ProductCard.d.ts +2 -2
  43. package/dist/PromptButton/PromptButton.d.cts +2 -2
  44. package/dist/PromptButton/PromptButton.d.ts +2 -2
  45. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  46. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  47. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  48. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  49. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  50. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  51. package/dist/ReviewCard/components/index.d.cts +6 -6
  52. package/dist/ReviewCard/components/index.d.ts +6 -6
  53. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  54. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  55. package/dist/SalesAgentProductCard/components/Container.cjs +14 -10
  56. package/dist/SalesAgentProductCard/components/Container.js +14 -10
  57. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  58. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  59. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.cjs +3 -0
  60. package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.js +3 -0
  61. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.cjs +3 -3
  62. package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.js +3 -3
  63. package/dist/SocialProof/SocialProof.d.cts +2 -2
  64. package/dist/SocialProof/SocialProof.d.ts +2 -2
  65. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  66. package/dist/Stack/Stack.d.cts +2 -2
  67. package/dist/Stack/Stack.d.ts +2 -2
  68. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  69. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  70. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  71. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  72. package/dist/Typography/Typography.d.ts +4 -4
  73. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  74. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  75. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  76. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  77. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  78. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  79. package/package.json +1 -1
  80. package/src/components/Carousel/components/Container.tsx +1 -1
  81. package/src/components/Carousel/components/Item.tsx +1 -1
  82. package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +49 -5
  83. package/src/components/FullPageSalesAgent/components/Layout.tsx +7 -0
  84. package/src/components/SalesAgentProductCard/components/Container.tsx +15 -5
  85. package/src/components/SalesAgentProductCard/hooks/useGetContainerProperties.ts +11 -1
  86. package/src/components/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.ts +8 -4
@@ -1,13 +1,13 @@
1
1
  import { AnimatedTextProps } from "./types/types.cjs";
2
- import * as react181 from "react";
2
+ import * as react11 from "react";
3
3
 
4
4
  //#region src/components/AnimatedText/AnimatedText.d.ts
5
- declare const AnimatedText: react181.MemoExoticComponent<({
5
+ declare const AnimatedText: react11.MemoExoticComponent<({
6
6
  sequence,
7
7
  typingDuration,
8
8
  transition,
9
9
  loop,
10
10
  getNodeWrapper
11
- }: AnimatedTextProps) => react181.ReactNode>;
11
+ }: AnimatedTextProps) => react11.ReactNode>;
12
12
  //#endregion
13
13
  export { AnimatedText };
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime33 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
4
4
  declare const CssVariablesEditorComponent: ({
5
5
  selectedMerchantName
6
6
  }: {
7
7
  selectedMerchantName: string;
8
- }) => react_jsx_runtime33.JSX.Element;
8
+ }) => react_jsx_runtime36.JSX.Element;
9
9
  //#endregion
10
10
  export { CssVariablesEditorComponent };
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime26 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
4
4
  declare const CssVariablesEditorComponent: ({
5
5
  selectedMerchantName
6
6
  }: {
7
7
  selectedMerchantName: string;
8
- }) => react_jsx_runtime26.JSX.Element;
8
+ }) => react_jsx_runtime28.JSX.Element;
9
9
  //#endregion
10
10
  export { CssVariablesEditorComponent };
@@ -1,5 +1,5 @@
1
1
  import { CarouselProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime32 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime34 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Carousel/Carousel.d.ts
5
5
  declare const Carousel: ({
@@ -12,6 +12,6 @@ declare const Carousel: ({
12
12
  badgeContent,
13
13
  theme,
14
14
  hideNavigation
15
- }: CarouselProps) => react_jsx_runtime32.JSX.Element;
15
+ }: CarouselProps) => react_jsx_runtime34.JSX.Element;
16
16
  //#endregion
17
17
  export { Carousel };
@@ -1,5 +1,5 @@
1
1
  import { CarouselProps } from "./types/types.js";
2
- import * as react_jsx_runtime32 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Carousel/Carousel.d.ts
5
5
  declare const Carousel: ({
@@ -12,6 +12,6 @@ declare const Carousel: ({
12
12
  badgeContent,
13
13
  theme,
14
14
  hideNavigation
15
- }: CarouselProps) => react_jsx_runtime32.JSX.Element;
15
+ }: CarouselProps) => react_jsx_runtime27.JSX.Element;
16
16
  //#endregion
17
17
  export { Carousel };
@@ -59,7 +59,7 @@ const Container$1 = ({ children, className, id, testId, style, next, previous, b
59
59
  },
60
60
  children: items.map((item, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
61
61
  "data-carousel-item": true,
62
- className: "envive-tw-flex-shrink-0",
62
+ className: "envive-tw-flex envive-tw-flex-shrink-0 envive-tw-flex-col",
63
63
  children: item
64
64
  }, `carousel-item-${String(index)}`))
65
65
  }),
@@ -58,7 +58,7 @@ const Container$1 = ({ children, className, id, testId, style, next, previous, b
58
58
  },
59
59
  children: items.map((item, index) => /* @__PURE__ */ jsx("div", {
60
60
  "data-carousel-item": true,
61
- className: "envive-tw-flex-shrink-0",
61
+ className: "envive-tw-flex envive-tw-flex-shrink-0 envive-tw-flex-col",
62
62
  children: item
63
63
  }, `carousel-item-${String(index)}`))
64
64
  }),
@@ -4,7 +4,10 @@ let react_jsx_runtime = require("react/jsx-runtime");
4
4
 
5
5
  //#region src/components/Carousel/components/Item.tsx
6
6
  const Item = ({ children }) => {
7
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Container.Container, { children });
7
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Container.Container, {
8
+ className: "envive-tw-flex-1",
9
+ children
10
+ });
8
11
  };
9
12
 
10
13
  //#endregion
@@ -3,7 +3,10 @@ import { jsx } from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Carousel/components/Item.tsx
5
5
  const Item = ({ children }) => {
6
- return /* @__PURE__ */ jsx(Container, { children });
6
+ return /* @__PURE__ */ jsx(Container, {
7
+ className: "envive-tw-flex-1",
8
+ children
9
+ });
7
10
  };
8
11
 
9
12
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { ChatFooterProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime30 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatFooter/ChatFooter.d.ts
5
5
  declare const ChatFooter: ({
@@ -24,6 +24,6 @@ declare const ChatFooter: ({
24
24
  voiceInputEnabled,
25
25
  onTranscriptionStarted,
26
26
  onTranscriptionCompleted
27
- }: ChatFooterProps) => react_jsx_runtime36.JSX.Element;
27
+ }: ChatFooterProps) => react_jsx_runtime30.JSX.Element;
28
28
  //#endregion
29
29
  export { ChatFooter };
@@ -1,8 +1,8 @@
1
1
  import { LayoutProps } from "./Layout.cjs";
2
2
  import { PromptSuggestionsProps } from "./PromptSuggestions.cjs";
3
3
  import { TextFieldProps } from "../../TextField/types/index.cjs";
4
- import * as react183 from "react";
5
- import * as react_jsx_runtime34 from "react/jsx-runtime";
4
+ import * as react8 from "react";
5
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/ChatFooter/components/index.d.ts
8
8
  declare const ChatFooterComponents: {
@@ -18,13 +18,13 @@ declare const ChatFooterComponents: {
18
18
  testId,
19
19
  className,
20
20
  style
21
- }: LayoutProps) => react_jsx_runtime34.JSX.Element;
21
+ }: LayoutProps) => react_jsx_runtime28.JSX.Element;
22
22
  EnviveLogo: ({
23
23
  style
24
24
  }: {
25
25
  className?: string;
26
26
  style?: React.CSSProperties;
27
- }) => react183.ReactElement<react183.SVGProps<SVGSVGElement>, string | react183.JSXElementConstructor<any>>;
27
+ }) => react8.ReactElement<react8.SVGProps<SVGSVGElement>, string | react8.JSXElementConstructor<any>>;
28
28
  PromptSuggestions: ({
29
29
  theme,
30
30
  suggestions,
@@ -33,7 +33,7 @@ declare const ChatFooterComponents: {
33
33
  style,
34
34
  disabled,
35
35
  parentWidget
36
- }: PromptSuggestionsProps) => react_jsx_runtime34.JSX.Element;
36
+ }: PromptSuggestionsProps) => react_jsx_runtime28.JSX.Element;
37
37
  TextField: ({
38
38
  theme,
39
39
  placeholder,
@@ -1,5 +1,5 @@
1
1
  import { ChatHeaderProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatHeader/ChatHeader.d.ts
5
5
  declare const ChatHeader: ({
@@ -21,6 +21,6 @@ declare const ChatHeader: ({
21
21
  headerBgColor,
22
22
  onClose,
23
23
  onToggle
24
- }: ChatHeaderProps) => react_jsx_runtime23.JSX.Element;
24
+ }: ChatHeaderProps) => react_jsx_runtime33.JSX.Element;
25
25
  //#endregion
26
26
  export { ChatHeader };
@@ -1,5 +1,5 @@
1
1
  import { ChatHeaderProps } from "./types/index.js";
2
- import * as react_jsx_runtime29 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime31 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatHeader/ChatHeader.d.ts
5
5
  declare const ChatHeader: ({
@@ -21,6 +21,6 @@ declare const ChatHeader: ({
21
21
  headerBgColor,
22
22
  onClose,
23
23
  onToggle
24
- }: ChatHeaderProps) => react_jsx_runtime29.JSX.Element;
24
+ }: ChatHeaderProps) => react_jsx_runtime31.JSX.Element;
25
25
  //#endregion
26
26
  export { ChatHeader };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime27 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreview/ChatPreview.d.ts
5
5
  declare const ChatPreview: ({
@@ -7,6 +7,6 @@ declare const ChatPreview: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: ChatPreviewProps) => react_jsx_runtime27.JSX.Element;
10
+ }: ChatPreviewProps) => react_jsx_runtime35.JSX.Element;
11
11
  //#endregion
12
12
  export { ChatPreview };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewProps } from "./types/types.js";
2
- import * as react_jsx_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreview/ChatPreview.d.ts
5
5
  declare const ChatPreview: ({
@@ -7,6 +7,6 @@ declare const ChatPreview: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: ChatPreviewProps) => react_jsx_runtime23.JSX.Element;
10
+ }: ChatPreviewProps) => react_jsx_runtime19.JSX.Element;
11
11
  //#endregion
12
12
  export { ChatPreview };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewComparisonProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime29 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreviewComparison/ChatPreviewComparison.d.ts
5
5
  declare const ChatPreviewComparison: ({
@@ -7,6 +7,6 @@ declare const ChatPreviewComparison: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: ChatPreviewComparisonProps) => react_jsx_runtime29.JSX.Element;
10
+ }: ChatPreviewComparisonProps) => react_jsx_runtime24.JSX.Element;
11
11
  //#endregion
12
12
  export { ChatPreviewComparison };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewComparisonProps } from "./types/types.js";
2
- import * as react_jsx_runtime28 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreviewComparison/ChatPreviewComparison.d.ts
5
5
  declare const ChatPreviewComparison: ({
@@ -7,6 +7,6 @@ declare const ChatPreviewComparison: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: ChatPreviewComparisonProps) => react_jsx_runtime28.JSX.Element;
10
+ }: ChatPreviewComparisonProps) => react_jsx_runtime29.JSX.Element;
11
11
  //#endregion
12
12
  export { ChatPreviewComparison };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewLoadingProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime24 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime31 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreviewLoading/ChatPreviewLoading.d.ts
5
5
  declare const ChatPreviewLoading: ({
@@ -16,6 +16,6 @@ declare const ChatPreviewLoading: ({
16
16
  logoSrc,
17
17
  titleLabel,
18
18
  voiceInputEnabled
19
- }: ChatPreviewLoadingProps) => react_jsx_runtime24.JSX.Element;
19
+ }: ChatPreviewLoadingProps) => react_jsx_runtime31.JSX.Element;
20
20
  //#endregion
21
21
  export { ChatPreviewLoading };
@@ -1,5 +1,5 @@
1
1
  import { ChatPreviewLoadingProps } from "./types/types.js";
2
- import * as react_jsx_runtime24 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ChatPreviewLoading/ChatPreviewLoading.d.ts
5
5
  declare const ChatPreviewLoading: ({
@@ -16,6 +16,6 @@ declare const ChatPreviewLoading: ({
16
16
  logoSrc,
17
17
  titleLabel,
18
18
  voiceInputEnabled
19
- }: ChatPreviewLoadingProps) => react_jsx_runtime24.JSX.Element;
19
+ }: ChatPreviewLoadingProps) => react_jsx_runtime32.JSX.Element;
20
20
  //#endregion
21
21
  export { ChatPreviewLoading };