@envive-ai/react-toolkit-v3 0.3.6 → 0.3.7

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 (157) hide show
  1. package/dist/AnimatedText/AnimatedText.d.cts +3 -3
  2. package/dist/AnimatedText/AnimatedText.d.ts +3 -3
  3. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  4. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  5. package/dist/Carousel/Carousel.d.cts +2 -2
  6. package/dist/Carousel/Carousel.d.ts +2 -2
  7. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  8. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  9. package/dist/ChatFooter/components/index.d.cts +5 -5
  10. package/dist/ChatFooter/components/index.d.ts +5 -5
  11. package/dist/ChatFooter/hooks/useGetContainerProperties.cjs +2 -2
  12. package/dist/ChatFooter/hooks/useGetContainerProperties.js +2 -2
  13. package/dist/ChatHeader/ChatHeader.cjs +3 -2
  14. package/dist/ChatHeader/ChatHeader.d.cts +3 -2
  15. package/dist/ChatHeader/ChatHeader.d.ts +3 -2
  16. package/dist/ChatHeader/ChatHeader.js +3 -2
  17. package/dist/ChatHeader/components/Handle.cjs +27 -1
  18. package/dist/ChatHeader/components/Handle.js +27 -1
  19. package/dist/ChatHeader/types/index.d.cts +2 -0
  20. package/dist/ChatHeader/types/index.d.ts +2 -0
  21. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  22. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  23. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  24. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  25. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  26. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  27. package/dist/Container/Container.d.cts +176 -176
  28. package/dist/Container/Container.d.ts +176 -176
  29. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  30. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  31. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  32. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  33. package/dist/FloatingButton/FloatingButton.cjs +2 -1
  34. package/dist/FloatingButton/FloatingButton.d.cts +4 -3
  35. package/dist/FloatingButton/FloatingButton.d.ts +4 -3
  36. package/dist/FloatingButton/FloatingButton.js +2 -1
  37. package/dist/FloatingButton/components/Container.cjs +2 -2
  38. package/dist/FloatingButton/components/Container.js +2 -2
  39. package/dist/FloatingButton/hooks/useGetContainerProperties.cjs +2 -2
  40. package/dist/FloatingButton/hooks/useGetContainerProperties.js +2 -2
  41. package/dist/FloatingButton/types/types.cjs +4 -4
  42. package/dist/FloatingButton/types/types.d.cts +8 -4
  43. package/dist/FloatingButton/types/types.d.ts +8 -4
  44. package/dist/FloatingButton/types/types.js +4 -4
  45. package/dist/FloatingChat/FloatingChat.cjs +106 -39
  46. package/dist/FloatingChat/FloatingChat.d.cts +3 -2
  47. package/dist/FloatingChat/FloatingChat.d.ts +3 -2
  48. package/dist/FloatingChat/FloatingChat.js +108 -41
  49. package/dist/FloatingChat/components/AgentMessage.cjs +3 -2
  50. package/dist/FloatingChat/components/AgentMessage.js +3 -2
  51. package/dist/FloatingChat/components/ChatMessages.cjs +59 -41
  52. package/dist/FloatingChat/components/ChatMessages.js +58 -40
  53. package/dist/FloatingChat/components/Layout.cjs +2 -2
  54. package/dist/FloatingChat/components/Layout.js +2 -2
  55. package/dist/FloatingChat/components/ModalSheet.cjs +184 -0
  56. package/dist/FloatingChat/components/ModalSheet.js +182 -0
  57. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +3 -2
  58. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +3 -2
  59. package/dist/FloatingChat/components/index.cjs +1 -0
  60. package/dist/FloatingChat/components/index.js +1 -0
  61. package/dist/FloatingChat/hooks/useChatSuggestions.cjs +25 -0
  62. package/dist/FloatingChat/hooks/useChatSuggestions.js +24 -0
  63. package/dist/FloatingChat/hooks/useFilteredChatMessages.cjs +24 -0
  64. package/dist/FloatingChat/hooks/useFilteredChatMessages.js +23 -0
  65. package/dist/FloatingChat/hooks/usePreventScroll.cjs +117 -0
  66. package/dist/FloatingChat/hooks/usePreventScroll.js +116 -0
  67. package/dist/FloatingChat/hooks/useSnapCalculator.cjs +37 -0
  68. package/dist/FloatingChat/hooks/useSnapCalculator.js +35 -0
  69. package/dist/FloatingChat/hooks/useSnapControl.cjs +82 -0
  70. package/dist/FloatingChat/hooks/useSnapControl.js +81 -0
  71. package/dist/FloatingChat/hooks/useSnapSetup.cjs +59 -0
  72. package/dist/FloatingChat/hooks/useSnapSetup.js +58 -0
  73. package/dist/FloatingChat/types/types.d.cts +4 -0
  74. package/dist/FloatingChat/types/types.d.ts +4 -0
  75. package/dist/Image/Image.d.cts +2 -2
  76. package/dist/Image/Image.d.ts +2 -2
  77. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  78. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  79. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  80. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  81. package/dist/PromptButton/PromptButton.d.cts +2 -2
  82. package/dist/PromptButton/PromptButton.d.ts +2 -2
  83. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  84. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  85. package/dist/PromptCarousel/PromptCarousel.cjs +0 -1
  86. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  87. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  88. package/dist/PromptCarousel/PromptCarousel.js +0 -1
  89. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  90. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  91. package/dist/ReviewCard/components/index.d.cts +6 -6
  92. package/dist/ReviewCard/components/index.d.ts +6 -6
  93. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  94. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  95. package/dist/SalesAgentProductCard/components/index.d.cts +2 -2
  96. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  97. package/dist/SocialProof/SocialProof.cjs +9 -2
  98. package/dist/SocialProof/SocialProof.d.cts +2 -2
  99. package/dist/SocialProof/SocialProof.d.ts +2 -2
  100. package/dist/SocialProof/SocialProof.js +9 -2
  101. package/dist/SocialProof/hooks/index.cjs +1 -0
  102. package/dist/SocialProof/hooks/index.js +3 -0
  103. package/dist/SocialProof/hooks/useSocialProofCount.cjs +48 -0
  104. package/dist/SocialProof/hooks/useSocialProofCount.d.cts +15 -0
  105. package/dist/SocialProof/hooks/useSocialProofCount.d.ts +15 -0
  106. package/dist/SocialProof/hooks/useSocialProofCount.js +46 -0
  107. package/dist/SocialProof/index.cjs +5 -1
  108. package/dist/SocialProof/index.d.cts +3 -2
  109. package/dist/SocialProof/index.d.ts +3 -2
  110. package/dist/SocialProof/index.js +4 -2
  111. package/dist/SocialProof/types/types.cjs +8 -1
  112. package/dist/SocialProof/types/types.d.cts +16 -6
  113. package/dist/SocialProof/types/types.d.ts +16 -6
  114. package/dist/SocialProof/types/types.js +7 -1
  115. package/dist/Stack/Stack.d.cts +2 -2
  116. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  117. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  118. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  119. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  120. package/dist/Typography/Typography.d.cts +4 -4
  121. package/dist/Typography/Typography.d.ts +4 -4
  122. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  123. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  124. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  125. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  126. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  127. package/dist/styles.css +1 -1
  128. package/package.json +1 -1
  129. package/src/components/ChatFooter/hooks/useGetContainerProperties.ts +2 -2
  130. package/src/components/ChatHeader/ChatHeader.tsx +2 -0
  131. package/src/components/ChatHeader/components/Handle.tsx +29 -1
  132. package/src/components/ChatHeader/types/index.ts +3 -0
  133. package/src/components/FloatingButton/FloatingButton.tsx +2 -0
  134. package/src/components/FloatingButton/components/Container.tsx +3 -0
  135. package/src/components/FloatingButton/hooks/useGetContainerProperties.ts +2 -1
  136. package/src/components/FloatingButton/types/types.ts +9 -4
  137. package/src/components/FloatingChat/FloatingChat.tsx +160 -59
  138. package/src/components/FloatingChat/components/AgentMessage.tsx +3 -0
  139. package/src/components/FloatingChat/components/ChatMessages.tsx +25 -0
  140. package/src/components/FloatingChat/components/Layout.tsx +2 -2
  141. package/src/components/FloatingChat/components/ModalSheet.tsx +288 -0
  142. package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +7 -2
  143. package/src/components/FloatingChat/components/index.ts +3 -0
  144. package/src/components/FloatingChat/hooks/useChatSuggestions.ts +49 -0
  145. package/src/components/FloatingChat/hooks/useFilteredChatMessages.ts +43 -0
  146. package/src/components/FloatingChat/hooks/usePreventScroll.ts +207 -0
  147. package/src/components/FloatingChat/hooks/useSnapCalculator.ts +41 -0
  148. package/src/components/FloatingChat/hooks/useSnapControl.ts +131 -0
  149. package/src/components/FloatingChat/hooks/useSnapSetup.ts +106 -0
  150. package/src/components/FloatingChat/types/types.ts +4 -0
  151. package/src/components/PromptCarousel/PromptCarousel.tsx +0 -1
  152. package/src/components/SocialProof/SocialProof.tsx +8 -2
  153. package/src/components/SocialProof/__tests__/SocialProof.test.tsx +66 -17
  154. package/src/components/SocialProof/hooks/index.ts +2 -0
  155. package/src/components/SocialProof/hooks/useSocialProofCount.ts +67 -0
  156. package/src/components/SocialProof/index.ts +2 -1
  157. package/src/components/SocialProof/types/types.ts +18 -6
@@ -0,0 +1,48 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_types = require('../types/types.cjs');
3
+ let react = require("react");
4
+
5
+ //#region src/components/SocialProof/hooks/useSocialProofCount.ts
6
+ const RANDOM_NUMBER_MIN = 100;
7
+ const RANDOM_NUMBER_MAX = 200;
8
+ const SOCIAL_PROOF_COUNT_KEY = "v3_social_proof_values";
9
+ const useSocialProofCount = ({ pageVariant, countKey, id }) => {
10
+ const [customerCount, setCustomerCount] = (0, react.useState)(() => Math.floor(Math.random() * (RANDOM_NUMBER_MAX - RANDOM_NUMBER_MIN + 1) + RANDOM_NUMBER_MIN));
11
+ (0, react.useEffect)(() => {
12
+ const variant = pageVariant || require_types.PageVariant.PageVisit;
13
+ const key = countKey || id || "default";
14
+ try {
15
+ const storedData = localStorage.getItem(SOCIAL_PROOF_COUNT_KEY);
16
+ let customerCountMap = {};
17
+ if (storedData) try {
18
+ customerCountMap = JSON.parse(storedData);
19
+ } catch (parseError) {
20
+ console.warn("Failed to parse social proof count from localStorage:", parseError);
21
+ return;
22
+ }
23
+ if (customerCountMap[variant]?.[key]) setCustomerCount(customerCountMap[variant][key]);
24
+ else {
25
+ const randomCount = Math.floor(Math.random() * (RANDOM_NUMBER_MAX - RANDOM_NUMBER_MIN + 1) + RANDOM_NUMBER_MIN);
26
+ if (!customerCountMap[variant]) customerCountMap[variant] = {};
27
+ customerCountMap[variant][key] = randomCount;
28
+ try {
29
+ localStorage.setItem(SOCIAL_PROOF_COUNT_KEY, JSON.stringify(customerCountMap));
30
+ setCustomerCount(randomCount);
31
+ } catch (storageError) {
32
+ console.warn("Failed to save social proof count to localStorage:", storageError);
33
+ }
34
+ }
35
+ } catch (error) {
36
+ console.warn("Error managing social proof count:", error);
37
+ }
38
+ }, [
39
+ pageVariant,
40
+ countKey,
41
+ id
42
+ ]);
43
+ return `${customerCount} customers`;
44
+ };
45
+
46
+ //#endregion
47
+ exports.SOCIAL_PROOF_COUNT_KEY = SOCIAL_PROOF_COUNT_KEY;
48
+ exports.useSocialProofCount = useSocialProofCount;
@@ -0,0 +1,15 @@
1
+ import { PageVariant } from "../types/types.cjs";
2
+
3
+ //#region src/components/SocialProof/hooks/useSocialProofCount.d.ts
4
+ interface UseSocialProofCountParams {
5
+ pageVariant?: PageVariant;
6
+ countKey?: string;
7
+ id?: string;
8
+ }
9
+ declare const useSocialProofCount: ({
10
+ pageVariant,
11
+ countKey,
12
+ id
13
+ }: UseSocialProofCountParams) => string;
14
+ //#endregion
15
+ export { useSocialProofCount };
@@ -0,0 +1,15 @@
1
+ import { PageVariant } from "../types/types.js";
2
+
3
+ //#region src/components/SocialProof/hooks/useSocialProofCount.d.ts
4
+ interface UseSocialProofCountParams {
5
+ pageVariant?: PageVariant;
6
+ countKey?: string;
7
+ id?: string;
8
+ }
9
+ declare const useSocialProofCount: ({
10
+ pageVariant,
11
+ countKey,
12
+ id
13
+ }: UseSocialProofCountParams) => string;
14
+ //#endregion
15
+ export { useSocialProofCount };
@@ -0,0 +1,46 @@
1
+ import { PageVariant } from "../types/types.js";
2
+ import { useEffect, useState } from "react";
3
+
4
+ //#region src/components/SocialProof/hooks/useSocialProofCount.ts
5
+ const RANDOM_NUMBER_MIN = 100;
6
+ const RANDOM_NUMBER_MAX = 200;
7
+ const SOCIAL_PROOF_COUNT_KEY = "v3_social_proof_values";
8
+ const useSocialProofCount = ({ pageVariant, countKey, id }) => {
9
+ const [customerCount, setCustomerCount] = useState(() => Math.floor(Math.random() * (RANDOM_NUMBER_MAX - RANDOM_NUMBER_MIN + 1) + RANDOM_NUMBER_MIN));
10
+ useEffect(() => {
11
+ const variant = pageVariant || PageVariant.PageVisit;
12
+ const key = countKey || id || "default";
13
+ try {
14
+ const storedData = localStorage.getItem(SOCIAL_PROOF_COUNT_KEY);
15
+ let customerCountMap = {};
16
+ if (storedData) try {
17
+ customerCountMap = JSON.parse(storedData);
18
+ } catch (parseError) {
19
+ console.warn("Failed to parse social proof count from localStorage:", parseError);
20
+ return;
21
+ }
22
+ if (customerCountMap[variant]?.[key]) setCustomerCount(customerCountMap[variant][key]);
23
+ else {
24
+ const randomCount = Math.floor(Math.random() * (RANDOM_NUMBER_MAX - RANDOM_NUMBER_MIN + 1) + RANDOM_NUMBER_MIN);
25
+ if (!customerCountMap[variant]) customerCountMap[variant] = {};
26
+ customerCountMap[variant][key] = randomCount;
27
+ try {
28
+ localStorage.setItem(SOCIAL_PROOF_COUNT_KEY, JSON.stringify(customerCountMap));
29
+ setCustomerCount(randomCount);
30
+ } catch (storageError) {
31
+ console.warn("Failed to save social proof count to localStorage:", storageError);
32
+ }
33
+ }
34
+ } catch (error) {
35
+ console.warn("Error managing social proof count:", error);
36
+ }
37
+ }, [
38
+ pageVariant,
39
+ countKey,
40
+ id
41
+ ]);
42
+ return `${customerCount} customers`;
43
+ };
44
+
45
+ //#endregion
46
+ export { SOCIAL_PROOF_COUNT_KEY, useSocialProofCount };
@@ -1,5 +1,9 @@
1
1
  const require_types = require('./types/types.cjs');
2
+ const require_useSocialProofCount = require('./hooks/useSocialProofCount.cjs');
3
+ require('./hooks/index.cjs');
2
4
  const require_SocialProof = require('./SocialProof.cjs');
3
5
 
4
6
  exports.DynamicLayout = require_types.DynamicLayout;
5
- exports.SocialProof = require_SocialProof.SocialProof;
7
+ exports.PageVariant = require_types.PageVariant;
8
+ exports.SocialProof = require_SocialProof.SocialProof;
9
+ exports.useSocialProofCount = require_useSocialProofCount.useSocialProofCount;
@@ -1,3 +1,4 @@
1
- import { DynamicLayout, SocialProofProps } from "./types/types.cjs";
1
+ import { DynamicLayout, PageVariant, SocialProofProps } from "./types/types.cjs";
2
2
  import { SocialProof } from "./SocialProof.cjs";
3
- export { DynamicLayout, SocialProof, type SocialProofProps };
3
+ import { useSocialProofCount } from "./hooks/useSocialProofCount.cjs";
4
+ export { DynamicLayout, PageVariant, SocialProof, type SocialProofProps, useSocialProofCount };
@@ -1,3 +1,4 @@
1
- import { DynamicLayout, SocialProofProps } from "./types/types.js";
1
+ import { DynamicLayout, PageVariant, SocialProofProps } from "./types/types.js";
2
2
  import { SocialProof } from "./SocialProof.js";
3
- export { DynamicLayout, SocialProof, type SocialProofProps };
3
+ import { useSocialProofCount } from "./hooks/useSocialProofCount.js";
4
+ export { DynamicLayout, PageVariant, SocialProof, type SocialProofProps, useSocialProofCount };
@@ -1,4 +1,6 @@
1
- import { DynamicLayout } from "./types/types.js";
1
+ import { DynamicLayout, PageVariant } from "./types/types.js";
2
+ import { useSocialProofCount } from "./hooks/useSocialProofCount.js";
3
+ import "./hooks/index.js";
2
4
  import { SocialProof } from "./SocialProof.js";
3
5
 
4
- export { DynamicLayout, SocialProof };
6
+ export { DynamicLayout, PageVariant, SocialProof, useSocialProofCount };
@@ -5,6 +5,13 @@ let DynamicLayout = /* @__PURE__ */ function(DynamicLayout$1) {
5
5
  DynamicLayout$1["WIDE"] = "wide";
6
6
  return DynamicLayout$1;
7
7
  }({});
8
+ let PageVariant = /* @__PURE__ */ function(PageVariant$1) {
9
+ PageVariant$1["PLP"] = "PLP";
10
+ PageVariant$1["PDP"] = "PDP";
11
+ PageVariant$1["PageVisit"] = "PageVisit";
12
+ return PageVariant$1;
13
+ }({});
8
14
 
9
15
  //#endregion
10
- exports.DynamicLayout = DynamicLayout;
16
+ exports.DynamicLayout = DynamicLayout;
17
+ exports.PageVariant = PageVariant;
@@ -9,6 +9,11 @@ declare enum DynamicLayout {
9
9
  NARROW = "narrow",
10
10
  WIDE = "wide",
11
11
  }
12
+ declare enum PageVariant {
13
+ PLP = "PLP",
14
+ PDP = "PDP",
15
+ PageVisit = "PageVisit",
16
+ }
12
17
  /**
13
18
  * Base props for the SocialProof component container.
14
19
  *
@@ -31,6 +36,16 @@ type BaseProps = {
31
36
  * Inline styles to apply to the container.
32
37
  */
33
38
  style?: React.CSSProperties;
39
+ /**
40
+ * Page variant for localStorage persistence of customer counts (PLP, PDP, or PageVisit).
41
+ */
42
+ pageVariant?: PageVariant;
43
+ /**
44
+ * Specific identifier for the pageVariant (e.g., productId for PDP, plpId for PLP, category for PageVisit).
45
+ * Used as the key for localStorage persistence.
46
+ * Falls back to the `id` prop if not provided.
47
+ */
48
+ countKey?: string;
34
49
  };
35
50
  /**
36
51
  * Content props for the SocialProof component.
@@ -47,11 +62,6 @@ type WidgetContentProps = {
47
62
  * Text label displayed in the widget title.
48
63
  */
49
64
  titleLabel: string;
50
- /**
51
- * Text displaying the number of customers (e.g., "114 customers").
52
- * Displayed in the headline section.
53
- */
54
- numberOfCustomersText?: string;
55
65
  /**
56
66
  * Text displaying what customers asked (e.g., "asked which products are best for gifting...").
57
67
  * Displayed in the headline section alongside the customer count.
@@ -213,4 +223,4 @@ type SocialProofProps = {
213
223
  widgetEventProps?: WidgetEventProps;
214
224
  };
215
225
  //#endregion
216
- export { DynamicLayout, SocialProofProps };
226
+ export { DynamicLayout, PageVariant, SocialProofProps };
@@ -9,6 +9,11 @@ declare enum DynamicLayout {
9
9
  NARROW = "narrow",
10
10
  WIDE = "wide",
11
11
  }
12
+ declare enum PageVariant {
13
+ PLP = "PLP",
14
+ PDP = "PDP",
15
+ PageVisit = "PageVisit",
16
+ }
12
17
  /**
13
18
  * Base props for the SocialProof component container.
14
19
  *
@@ -31,6 +36,16 @@ type BaseProps = {
31
36
  * Inline styles to apply to the container.
32
37
  */
33
38
  style?: React.CSSProperties;
39
+ /**
40
+ * Page variant for localStorage persistence of customer counts (PLP, PDP, or PageVisit).
41
+ */
42
+ pageVariant?: PageVariant;
43
+ /**
44
+ * Specific identifier for the pageVariant (e.g., productId for PDP, plpId for PLP, category for PageVisit).
45
+ * Used as the key for localStorage persistence.
46
+ * Falls back to the `id` prop if not provided.
47
+ */
48
+ countKey?: string;
34
49
  };
35
50
  /**
36
51
  * Content props for the SocialProof component.
@@ -47,11 +62,6 @@ type WidgetContentProps = {
47
62
  * Text label displayed in the widget title.
48
63
  */
49
64
  titleLabel: string;
50
- /**
51
- * Text displaying the number of customers (e.g., "114 customers").
52
- * Displayed in the headline section.
53
- */
54
- numberOfCustomersText?: string;
55
65
  /**
56
66
  * Text displaying what customers asked (e.g., "asked which products are best for gifting...").
57
67
  * Displayed in the headline section alongside the customer count.
@@ -213,4 +223,4 @@ type SocialProofProps = {
213
223
  widgetEventProps?: WidgetEventProps;
214
224
  };
215
225
  //#endregion
216
- export { DynamicLayout, SocialProofProps };
226
+ export { DynamicLayout, PageVariant, SocialProofProps };
@@ -4,6 +4,12 @@ let DynamicLayout = /* @__PURE__ */ function(DynamicLayout$1) {
4
4
  DynamicLayout$1["WIDE"] = "wide";
5
5
  return DynamicLayout$1;
6
6
  }({});
7
+ let PageVariant = /* @__PURE__ */ function(PageVariant$1) {
8
+ PageVariant$1["PLP"] = "PLP";
9
+ PageVariant$1["PDP"] = "PDP";
10
+ PageVariant$1["PageVisit"] = "PageVisit";
11
+ return PageVariant$1;
12
+ }({});
7
13
 
8
14
  //#endregion
9
- export { DynamicLayout };
15
+ export { DynamicLayout, PageVariant };
@@ -1,10 +1,10 @@
1
1
  import { StackProps } from "./types/index.cjs";
2
- import * as react184 from "react";
2
+ import * as react2 from "react";
3
3
 
4
4
  //#region src/components/Stack/Stack.d.ts
5
5
  /**
6
6
  * Stack component for laying out children in a flexible container with gap.
7
7
  */
8
- declare const Stack: react184.ForwardRefExoticComponent<StackProps & react184.RefAttributes<HTMLDivElement>>;
8
+ declare const Stack: react2.ForwardRefExoticComponent<StackProps & react2.RefAttributes<HTMLDivElement>>;
9
9
  //#endregion
10
10
  export { Stack };
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime41 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -15,6 +15,6 @@ declare const TitledPromptCarousel: ({
15
15
  handleButtonClick,
16
16
  promptButtonTexts,
17
17
  promptCarouselAriaLabel
18
- }: TitledPromptCarouselProps) => react_jsx_runtime41.JSX.Element;
18
+ }: TitledPromptCarouselProps) => react_jsx_runtime9.JSX.Element;
19
19
  //#endregion
20
20
  export { TitledPromptCarousel };
@@ -1,5 +1,5 @@
1
1
  import { TitledPromptCarouselProps } from "./types/index.js";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TitledPromptCarousel/TitledPromptCarousel.d.ts
5
5
  declare const TitledPromptCarousel: ({
@@ -15,6 +15,6 @@ declare const TitledPromptCarousel: ({
15
15
  handleButtonClick,
16
16
  promptButtonTexts,
17
17
  promptCarouselAriaLabel
18
- }: TitledPromptCarouselProps) => react_jsx_runtime17.JSX.Element;
18
+ }: TitledPromptCarouselProps) => react_jsx_runtime13.JSX.Element;
19
19
  //#endregion
20
20
  export { TitledPromptCarousel };
@@ -1,5 +1,5 @@
1
1
  import { TypingAnimationProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TypingAnimation/TypingAnimation.d.ts
5
5
  declare const TypingAnimation: ({
@@ -7,6 +7,6 @@ declare const TypingAnimation: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: TypingAnimationProps) => react_jsx_runtime6.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime11.JSX.Element;
11
11
  //#endregion
12
12
  export { TypingAnimation };
@@ -1,5 +1,5 @@
1
1
  import { TypingAnimationProps } from "./types/index.js";
2
- import * as react_jsx_runtime18 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/TypingAnimation/TypingAnimation.d.ts
5
5
  declare const TypingAnimation: ({
@@ -7,6 +7,6 @@ declare const TypingAnimation: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: TypingAnimationProps) => react_jsx_runtime18.JSX.Element;
10
+ }: TypingAnimationProps) => react_jsx_runtime7.JSX.Element;
11
11
  //#endregion
12
12
  export { TypingAnimation };
@@ -1,5 +1,5 @@
1
1
  import { TypographyProps } from "./types/index.cjs";
2
- import * as react0 from "react";
2
+ import * as react4 from "react";
3
3
 
4
4
  //#region src/components/Typography/Typography.d.ts
5
5
  /**
@@ -18,13 +18,13 @@ declare const Typography: ({
18
18
  noWrap,
19
19
  as,
20
20
  "aria-label": ariaLabel
21
- }: TypographyProps) => react0.DetailedReactHTMLElement<{
21
+ }: TypographyProps) => react4.DetailedReactHTMLElement<{
22
22
  'aria-label': string;
23
23
  'aria-level'?: number;
24
- role?: react0.AriaRole;
24
+ role?: react4.AriaRole;
25
25
  title?: string;
26
26
  className: string;
27
- style: react0.CSSProperties;
27
+ style: react4.CSSProperties;
28
28
  id: string;
29
29
  'data-testid': string;
30
30
  }, HTMLElement>;
@@ -1,5 +1,5 @@
1
1
  import { TypographyProps } from "./types/index.js";
2
- import * as react7 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/components/Typography/Typography.d.ts
5
5
  /**
@@ -18,13 +18,13 @@ declare const Typography: ({
18
18
  noWrap,
19
19
  as,
20
20
  "aria-label": ariaLabel
21
- }: TypographyProps) => react7.DetailedReactHTMLElement<{
21
+ }: TypographyProps) => react0.DetailedReactHTMLElement<{
22
22
  'aria-label': string;
23
23
  'aria-level'?: number;
24
- role?: react7.AriaRole;
24
+ role?: react0.AriaRole;
25
25
  title?: string;
26
26
  className: string;
27
- style: react7.CSSProperties;
27
+ style: react0.CSSProperties;
28
28
  id: string;
29
29
  'data-testid': string;
30
30
  }, HTMLElement>;
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime7 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -13,6 +13,6 @@ declare const WidgetTextField: ({
13
13
  disabled,
14
14
  isLoading,
15
15
  onClick
16
- }: WidgetTextFieldProps) => react_jsx_runtime7.JSX.Element;
16
+ }: WidgetTextFieldProps) => react_jsx_runtime8.JSX.Element;
17
17
  //#endregion
18
18
  export { WidgetTextField };
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.js";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -13,6 +13,6 @@ declare const WidgetTextField: ({
13
13
  disabled,
14
14
  isLoading,
15
15
  onClick
16
- }: WidgetTextFieldProps) => react_jsx_runtime6.JSX.Element;
16
+ }: WidgetTextFieldProps) => react_jsx_runtime15.JSX.Element;
17
17
  //#endregion
18
18
  export { WidgetTextField };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapper/WidgetWrapper.d.ts
5
5
 
@@ -16,6 +16,6 @@ declare const WidgetWrapper: ({
16
16
  className,
17
17
  style,
18
18
  ...containerProps
19
- }: WidgetWrapperProps) => react_jsx_runtime8.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime7.JSX.Element;
20
20
  //#endregion
21
21
  export { WidgetWrapper };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperWithTitleProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime9 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts
5
5
  declare const WidgetWrapperWithTitle: ({
@@ -14,6 +14,6 @@ declare const WidgetWrapperWithTitle: ({
14
14
  hexCardColor,
15
15
  hideLogo,
16
16
  fullIsLoading
17
- }: WidgetWrapperWithTitleProps) => react_jsx_runtime9.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime10.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperWithTitleProps } from "./types/types.js";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts
5
5
  declare const WidgetWrapperWithTitle: ({
@@ -14,6 +14,6 @@ declare const WidgetWrapperWithTitle: ({
14
14
  hexCardColor,
15
15
  hideLogo,
16
16
  fullIsLoading
17
- }: WidgetWrapperWithTitleProps) => react_jsx_runtime15.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };