@envive-ai/react-toolkit-v3 0.3.40 → 0.3.41

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 (156) hide show
  1. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
  2. package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
  3. package/dist/Carousel/Carousel.cjs +1 -1
  4. package/dist/Carousel/Carousel.d.cts +2 -2
  5. package/dist/Carousel/Carousel.d.ts +2 -2
  6. package/dist/Carousel/Carousel.js +1 -1
  7. package/dist/Carousel/components/Container.cjs +2 -2
  8. package/dist/Carousel/components/Container.js +2 -2
  9. package/dist/ChatFooter/ChatFooter.cjs +1 -1
  10. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  11. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  12. package/dist/ChatFooter/ChatFooter.js +1 -1
  13. package/dist/ChatFooter/components/Layout.cjs +2 -2
  14. package/dist/ChatFooter/components/Layout.js +2 -2
  15. package/dist/ChatFooter/components/index.d.cts +5 -5
  16. package/dist/ChatFooter/components/index.d.ts +5 -5
  17. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  18. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  19. package/dist/ChatHeader/components/Handle.cjs +2 -2
  20. package/dist/ChatHeader/components/Handle.js +2 -2
  21. package/dist/ChatHeader/components/Toggle.cjs +3 -3
  22. package/dist/ChatHeader/components/Toggle.js +3 -3
  23. package/dist/ChatPreview/ChatPreview.cjs +1 -1
  24. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  25. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  26. package/dist/ChatPreview/ChatPreview.js +1 -1
  27. package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
  28. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  29. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  30. package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
  31. package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
  32. package/dist/ChatPreviewComparison/components/Headline.js +2 -2
  33. package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
  34. package/dist/ChatPreviewComparison/components/Layout.js +4 -4
  35. package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
  36. package/dist/ChatPreviewComparison/components/Message.js +2 -2
  37. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  38. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  39. package/dist/Container/Container.d.cts +174 -174
  40. package/dist/Container/Container.d.ts +174 -174
  41. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  42. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  43. package/dist/Disclaimer/components/Container.cjs +2 -2
  44. package/dist/Disclaimer/components/Container.js +2 -2
  45. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  46. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  47. package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
  48. package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
  49. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
  50. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
  51. package/dist/FloatingButton/FloatingButton.d.cts +2 -2
  52. package/dist/FloatingButton/FloatingButton.d.ts +2 -2
  53. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  54. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  55. package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
  56. package/dist/FloatingChat/components/ChatMessages.js +1 -1
  57. package/dist/FloatingChat/components/Layout.cjs +3 -3
  58. package/dist/FloatingChat/components/Layout.js +3 -3
  59. package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
  60. package/dist/FloatingChat/components/ResultsGridView.js +1 -1
  61. package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
  62. package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
  63. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +1 -1
  64. package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +1 -1
  65. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -1
  66. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  67. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -1
  68. package/dist/Image/Image.d.cts +2 -2
  69. package/dist/Image/Image.d.ts +2 -2
  70. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  71. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  72. package/dist/ImageGallery/components/Layout.cjs +1 -1
  73. package/dist/ImageGallery/components/Layout.js +1 -1
  74. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  75. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  76. package/dist/Message/components/LinkButton.cjs +1 -1
  77. package/dist/Message/components/LinkButton.js +1 -1
  78. package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
  79. package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
  80. package/dist/ProductCard/ProductCard.cjs +2 -2
  81. package/dist/ProductCard/ProductCard.d.cts +2 -2
  82. package/dist/ProductCard/ProductCard.d.ts +2 -2
  83. package/dist/ProductCard/ProductCard.js +2 -2
  84. package/dist/PromptButton/PromptButton.d.cts +2 -2
  85. package/dist/PromptButton/PromptButton.d.ts +2 -2
  86. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.cjs +2 -0
  87. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  88. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.js +2 -0
  89. package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +9 -4
  90. package/dist/PromptButtonCarouselWithImage/components/Layout.js +11 -6
  91. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +2 -2
  92. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +2 -2
  93. package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
  94. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  95. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  96. package/dist/PromptCarousel/PromptCarousel.js +3 -3
  97. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  98. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  99. package/dist/ReviewCard/components/Container.cjs +2 -2
  100. package/dist/ReviewCard/components/Container.js +2 -2
  101. package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
  102. package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
  103. package/dist/ReviewCard/components/index.d.cts +6 -6
  104. package/dist/ReviewCard/components/index.d.ts +4 -4
  105. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  106. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  107. package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
  108. package/dist/SalesAgentProductCard/components/Container.js +2 -2
  109. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  110. package/dist/SalesAgentProductCard/components/index.d.ts +6 -6
  111. package/dist/SocialProof/SocialProof.cjs +41 -54
  112. package/dist/SocialProof/SocialProof.d.cts +2 -2
  113. package/dist/SocialProof/SocialProof.d.ts +2 -2
  114. package/dist/SocialProof/SocialProof.js +41 -54
  115. package/dist/SocialProof/components/Headline.cjs +3 -3
  116. package/dist/SocialProof/components/Headline.js +3 -3
  117. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +4 -5
  118. package/dist/SocialProof/components/LayoutFourHorizontal.js +4 -5
  119. package/dist/SocialProof/components/LayoutSingle.cjs +5 -4
  120. package/dist/SocialProof/components/LayoutSingle.js +5 -4
  121. package/dist/SocialProof/components/Subheadline.cjs +1 -1
  122. package/dist/SocialProof/components/Subheadline.js +1 -1
  123. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  124. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  125. package/dist/Stack/Stack.d.cts +2 -2
  126. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
  127. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  128. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
  129. package/dist/Tokens/index.cjs +1 -1
  130. package/dist/Tokens/index.js +1 -1
  131. package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
  132. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  133. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  134. package/dist/TypingAnimation/TypingAnimation.js +1 -1
  135. package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
  136. package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
  137. package/dist/Typography/Typography.d.cts +4 -4
  138. package/dist/WelcomeMessage/components/Container.cjs +2 -2
  139. package/dist/WelcomeMessage/components/Container.js +2 -2
  140. package/dist/WidgetTextField/WidgetTextField.cjs +4 -4
  141. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  142. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  143. package/dist/WidgetTextField/WidgetTextField.js +1 -1
  144. package/dist/WidgetTextField/components/Container.cjs +2 -2
  145. package/dist/WidgetTextField/components/Container.js +2 -2
  146. package/dist/WidgetTextField/components/Icon.cjs +1 -1
  147. package/dist/WidgetTextField/components/Icon.js +1 -1
  148. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  149. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  150. package/package.json +1 -1
  151. package/src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.tsx +2 -0
  152. package/src/components/PromptButtonCarouselWithImage/components/Layout.tsx +17 -10
  153. package/src/components/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.tsx +1 -1
  154. package/src/components/SocialProof/SocialProof.tsx +41 -48
  155. package/src/components/SocialProof/components/LayoutFourHorizontal.tsx +5 -3
  156. package/src/components/SocialProof/components/LayoutSingle.tsx +6 -3
@@ -1,5 +1,5 @@
1
1
  import { ReviewCardProps } from "./types/types.js";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ReviewCard/ReviewCard.d.ts
5
5
 
@@ -27,6 +27,6 @@ declare const ReviewCard: ({
27
27
  verifiedBuyerLabel,
28
28
  onExpand,
29
29
  onCollapse
30
- }: ReviewCardProps) => react_jsx_runtime6.JSX.Element;
30
+ }: ReviewCardProps) => react_jsx_runtime9.JSX.Element;
31
31
  //#endregion
32
32
  export { ReviewCard };
@@ -1,8 +1,8 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_Stack = require('../../Stack/Stack.cjs');
3
- require('../../Stack/index.cjs');
4
2
  const require_Container = require('../../Container/Container.cjs');
5
3
  require('../../Container/index.cjs');
4
+ const require_Stack = require('../../Stack/Stack.cjs');
5
+ require('../../Stack/index.cjs');
6
6
  const require_useGetThemeProperties = require('../hooks/useGetThemeProperties.cjs');
7
7
  const require_useGetPaddingProperties = require('../hooks/useGetPaddingProperties.cjs');
8
8
  const require_useGetCardWidthProperties = require('../hooks/useGetCardWidthProperties.cjs');
@@ -1,7 +1,7 @@
1
- import { Stack } from "../../Stack/Stack.js";
2
- import "../../Stack/index.js";
3
1
  import { Container } from "../../Container/Container.js";
4
2
  import "../../Container/index.js";
3
+ import { Stack } from "../../Stack/Stack.js";
4
+ import "../../Stack/index.js";
5
5
  import { useGetThemeProperties } from "../hooks/useGetThemeProperties.js";
6
6
  import { useGetPaddingProperties } from "../hooks/useGetPaddingProperties.js";
7
7
  import { useGetCardWidthProperties } from "../hooks/useGetCardWidthProperties.js";
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
3
+ const require_CustomIcon = require('../../utils/CustomIcon.cjs');
3
4
  const require_index = require('../../Typography/types/index.cjs');
4
5
  const require_Typography = require('../../Typography/Typography.cjs');
5
6
  require('../../Typography/index.cjs');
6
- const require_CustomIcon = require('../../utils/CustomIcon.cjs');
7
7
  const require_useGetReadMoreTypographyProperties = require('../hooks/useGetReadMoreTypographyProperties.cjs');
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let classnames = require("classnames");
@@ -1,8 +1,8 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
+ import { CustomIcon } from "../../utils/CustomIcon.js";
2
3
  import { TypographyColor } from "../../Typography/types/index.js";
3
4
  import { Typography } from "../../Typography/Typography.js";
4
5
  import "../../Typography/index.js";
5
- import { CustomIcon } from "../../utils/CustomIcon.js";
6
6
  import { useGetReadMoreTypographyProperties } from "../hooks/useGetReadMoreTypographyProperties.js";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import classNames from "classnames";
@@ -2,8 +2,8 @@ import { Theme } from "../../tokens/theme/theme.cjs";
2
2
  import { ContainerProps } from "./Container.cjs";
3
3
  import { RatingProps } from "./Rating.cjs";
4
4
  import { ReadMoreButtonProps } from "./ReadMoreButton.cjs";
5
- import * as react0 from "react";
6
- import * as react_jsx_runtime10 from "react/jsx-runtime";
5
+ import * as react4 from "react";
6
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/ReviewCard/components/index.d.ts
9
9
  declare const ReviewCardComponents: {
@@ -31,12 +31,12 @@ declare const ReviewCardComponents: {
31
31
  verifiedBuyerLabel?: string;
32
32
  className?: string;
33
33
  style?: React.CSSProperties;
34
- }) => react_jsx_runtime10.JSX.Element;
34
+ }) => react_jsx_runtime8.JSX.Element;
35
35
  Rating: ({
36
36
  rating,
37
37
  theme,
38
38
  style
39
- }: RatingProps) => react_jsx_runtime10.JSX.Element;
39
+ }: RatingProps) => react_jsx_runtime8.JSX.Element;
40
40
  StarIcon: ({
41
41
  theme,
42
42
  style,
@@ -45,7 +45,7 @@ declare const ReviewCardComponents: {
45
45
  theme: Theme;
46
46
  style?: React.CSSProperties;
47
47
  className?: string;
48
- }) => react0.ReactElement<react0.SVGProps<SVGSVGElement>, string | react0.JSXElementConstructor<any>>;
48
+ }) => react4.ReactElement<react4.SVGProps<SVGSVGElement>, string | react4.JSXElementConstructor<any>>;
49
49
  ReviewText: ({
50
50
  reviewText,
51
51
  isExpanded,
@@ -56,7 +56,7 @@ declare const ReviewCardComponents: {
56
56
  isExpanded: boolean;
57
57
  className?: string;
58
58
  style?: React.CSSProperties;
59
- }) => react_jsx_runtime10.JSX.Element;
59
+ }) => react_jsx_runtime8.JSX.Element;
60
60
  ReadMoreButton: ({
61
61
  isExpanded,
62
62
  onToggle,
@@ -3,7 +3,7 @@ import { ContainerProps } from "./Container.js";
3
3
  import { RatingProps } from "./Rating.js";
4
4
  import { ReadMoreButtonProps } from "./ReadMoreButton.js";
5
5
  import * as react4 from "react";
6
- import * as react_jsx_runtime7 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/ReviewCard/components/index.d.ts
9
9
  declare const ReviewCardComponents: {
@@ -31,12 +31,12 @@ declare const ReviewCardComponents: {
31
31
  verifiedBuyerLabel?: string;
32
32
  className?: string;
33
33
  style?: React.CSSProperties;
34
- }) => react_jsx_runtime7.JSX.Element;
34
+ }) => react_jsx_runtime10.JSX.Element;
35
35
  Rating: ({
36
36
  rating,
37
37
  theme,
38
38
  style
39
- }: RatingProps) => react_jsx_runtime7.JSX.Element;
39
+ }: RatingProps) => react_jsx_runtime10.JSX.Element;
40
40
  StarIcon: ({
41
41
  theme,
42
42
  style,
@@ -56,7 +56,7 @@ declare const ReviewCardComponents: {
56
56
  isExpanded: boolean;
57
57
  className?: string;
58
58
  style?: React.CSSProperties;
59
- }) => react_jsx_runtime7.JSX.Element;
59
+ }) => react_jsx_runtime10.JSX.Element;
60
60
  ReadMoreButton: ({
61
61
  isExpanded,
62
62
  onToggle,
@@ -1,5 +1,5 @@
1
1
  import { SalesAgentProductCardProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime18 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/SalesAgentProductCard/SalesAgentProductCard.d.ts
5
5
 
@@ -30,6 +30,6 @@ declare const SalesAgentProductCard: ({
30
30
  url,
31
31
  target,
32
32
  onClick
33
- }: SalesAgentProductCardProps) => react_jsx_runtime18.JSX.Element;
33
+ }: SalesAgentProductCardProps) => react_jsx_runtime26.JSX.Element;
34
34
  //#endregion
35
35
  export { SalesAgentProductCard };
@@ -1,5 +1,5 @@
1
1
  import { SalesAgentProductCardProps } from "./types/types.js";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/SalesAgentProductCard/SalesAgentProductCard.d.ts
5
5
 
@@ -30,6 +30,6 @@ declare const SalesAgentProductCard: ({
30
30
  url,
31
31
  target,
32
32
  onClick
33
- }: SalesAgentProductCardProps) => react_jsx_runtime17.JSX.Element;
33
+ }: SalesAgentProductCardProps) => react_jsx_runtime19.JSX.Element;
34
34
  //#endregion
35
35
  export { SalesAgentProductCard };
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
3
- const require_Stack = require('../../Stack/Stack.cjs');
4
- require('../../Stack/index.cjs');
5
3
  const require_Container = require('../../Container/Container.cjs');
6
4
  require('../../Container/index.cjs');
5
+ const require_Stack = require('../../Stack/Stack.cjs');
6
+ require('../../Stack/index.cjs');
7
7
  const require_types = require('../types/types.cjs');
8
8
  const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
9
9
  const require_useGetProductDescriptionProperties = require('../hooks/useGetProductDescriptionProperties.cjs');
@@ -1,8 +1,8 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
- import { Stack } from "../../Stack/Stack.js";
3
- import "../../Stack/index.js";
4
2
  import { Container } from "../../Container/Container.js";
5
3
  import "../../Container/index.js";
4
+ import { Stack } from "../../Stack/Stack.js";
5
+ import "../../Stack/index.js";
6
6
  import { SalesAgentProductCardVariant } from "../types/types.js";
7
7
  import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
8
8
  import { useGetProductDescriptionProperties } from "../hooks/useGetProductDescriptionProperties.js";
@@ -4,8 +4,8 @@ import { ProductNameProps } from "./ProductName.cjs";
4
4
  import { PriceProps } from "./Price.cjs";
5
5
  import { RateProps } from "./Rate.cjs";
6
6
  import { ProductImageProps } from "./ProductImage.cjs";
7
- import * as react2 from "react";
8
- import * as react_jsx_runtime13 from "react/jsx-runtime";
7
+ import * as react178 from "react";
8
+ import * as react_jsx_runtime21 from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/SalesAgentProductCard/components/index.d.ts
11
11
  declare const SalesAgentProductCardComponents: {
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
23
23
  url,
24
24
  target,
25
25
  onClick
26
- }: ContainerProps) => react_jsx_runtime13.JSX.Element;
26
+ }: ContainerProps) => react_jsx_runtime21.JSX.Element;
27
27
  ProductName: ({
28
28
  label,
29
29
  theme,
30
30
  style,
31
31
  className
32
- }: ProductNameProps) => react_jsx_runtime13.JSX.Element;
32
+ }: ProductNameProps) => react_jsx_runtime21.JSX.Element;
33
33
  Price: ({
34
34
  previousPrice,
35
35
  currentPrice,
36
36
  pricePrefix,
37
37
  forceShowCurrentPriceSpace
38
- }: PriceProps) => react_jsx_runtime13.JSX.Element;
38
+ }: PriceProps) => react_jsx_runtime21.JSX.Element;
39
39
  Rate: ({
40
40
  rate,
41
41
  numberOfReviews,
42
42
  theme
43
- }: RateProps) => react_jsx_runtime13.JSX.Element;
43
+ }: RateProps) => react_jsx_runtime21.JSX.Element;
44
44
  ProductImage: ({
45
45
  src,
46
46
  alt,
@@ -48,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
48
48
  aspectRatio,
49
49
  className,
50
50
  ...props
51
- }: ProductImageProps) => react_jsx_runtime13.JSX.Element;
51
+ }: ProductImageProps) => react_jsx_runtime21.JSX.Element;
52
52
  StarIcon: ({
53
53
  theme,
54
54
  style
55
55
  }: {
56
56
  theme: Theme;
57
57
  style?: React.CSSProperties;
58
- }) => react2.ReactElement<react2.SVGProps<SVGSVGElement>, string | react2.JSXElementConstructor<any>>;
58
+ }) => react178.ReactElement<react178.SVGProps<SVGSVGElement>, string | react178.JSXElementConstructor<any>>;
59
59
  };
60
60
  //#endregion
61
61
  export { SalesAgentProductCardComponents };
@@ -5,7 +5,7 @@ import { PriceProps } from "./Price.js";
5
5
  import { RateProps } from "./Rate.js";
6
6
  import { ProductImageProps } from "./ProductImage.js";
7
7
  import * as react7 from "react";
8
- import * as react_jsx_runtime12 from "react/jsx-runtime";
8
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/SalesAgentProductCard/components/index.d.ts
11
11
  declare const SalesAgentProductCardComponents: {
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
23
23
  url,
24
24
  target,
25
25
  onClick
26
- }: ContainerProps) => react_jsx_runtime12.JSX.Element;
26
+ }: ContainerProps) => react_jsx_runtime14.JSX.Element;
27
27
  ProductName: ({
28
28
  label,
29
29
  theme,
30
30
  style,
31
31
  className
32
- }: ProductNameProps) => react_jsx_runtime12.JSX.Element;
32
+ }: ProductNameProps) => react_jsx_runtime14.JSX.Element;
33
33
  Price: ({
34
34
  previousPrice,
35
35
  currentPrice,
36
36
  pricePrefix,
37
37
  forceShowCurrentPriceSpace
38
- }: PriceProps) => react_jsx_runtime12.JSX.Element;
38
+ }: PriceProps) => react_jsx_runtime14.JSX.Element;
39
39
  Rate: ({
40
40
  rate,
41
41
  numberOfReviews,
42
42
  theme
43
- }: RateProps) => react_jsx_runtime12.JSX.Element;
43
+ }: RateProps) => react_jsx_runtime14.JSX.Element;
44
44
  ProductImage: ({
45
45
  src,
46
46
  alt,
@@ -48,7 +48,7 @@ declare const SalesAgentProductCardComponents: {
48
48
  aspectRatio,
49
49
  className,
50
50
  ...props
51
- }: ProductImageProps) => react_jsx_runtime12.JSX.Element;
51
+ }: ProductImageProps) => react_jsx_runtime14.JSX.Element;
52
52
  StarIcon: ({
53
53
  theme,
54
54
  style
@@ -1,16 +1,17 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
3
- const require_resolveTheme = require('../utils/resolveTheme.cjs');
3
+ const require_breakpoints = require('../packages/components-v3/tokens/breakpoints/breakpoints.cjs');
4
4
  require('../Tokens/index.cjs');
5
+ const require_resolveTheme = require('../utils/resolveTheme.cjs');
5
6
  const require_PromptButton_types_index = require('../PromptButton/types/index.cjs');
6
7
  require('../PromptButton/index.cjs');
7
- const require_utils_useCheckIsMobile = require('../utils/useCheckIsMobile.cjs');
8
8
  const require_PromptCarousel_types_types = require('../PromptCarousel/types/types.cjs');
9
9
  require('../PromptCarousel/index.cjs');
10
10
  const require_types = require('../WidgetTextField/types/types.cjs');
11
11
  const require_types$1 = require('../WidgetWrapper/types/types.cjs');
12
12
  require('../WidgetWrapper/index.cjs');
13
13
  const require_WidgetWrapperWithTitle = require('../WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs');
14
+ const require_useGetContentSize = require('../utils/useGetContentSize.cjs');
14
15
  const require_types$2 = require('../ImageGallery/types/types.cjs');
15
16
  const require_functions = require('./utils/functions.cjs');
16
17
  const require_types$3 = require('./types/types.cjs');
@@ -32,7 +33,8 @@ const SocialProof = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEv
32
33
  });
33
34
  const { handlePrimaryButtonClick, handlePrimaryButtonHover, handleSecondaryButtonClick, handleSecondaryButtonHover, handleSecondaryButtonDrag, handleSecondaryButtonMouseDown, handleSecondaryButtonMouseUp, handleSecondaryButtonTouchStart, handleSecondaryButtonTouchEnd, handleTextFieldClick, onTranscriptionStarted, onTranscriptionCompleted } = widgetEventProps ?? {};
34
35
  const finalTheme = require_resolveTheme.resolveTheme(theme);
35
- const { isMobile } = require_utils_useCheckIsMobile.useCheckIsMobile("sm");
36
+ const { width: containerWidth, ref: containerRef } = require_useGetContentSize.useGetContentSize({});
37
+ const isMobile = containerWidth !== void 0 ? containerWidth < require_breakpoints.screensBreakpointsVariables.sm : typeof window !== "undefined" && window.innerWidth < require_breakpoints.screensBreakpointsVariables.sm;
36
38
  const hasDynamicLayout = kind === require_types$3.WidgetKind.DYNAMIC || dynamicLayout !== void 0;
37
39
  const hideImageGallery = require_functions.shouldHideImageGallery({
38
40
  hideImage,
@@ -73,59 +75,44 @@ const SocialProof = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEv
73
75
  onTranscriptionStarted,
74
76
  onTranscriptionCompleted
75
77
  });
76
- if (isFourGridLayout) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WidgetWrapperWithTitle.WidgetWrapperWithTitle, {
77
- id,
78
- testId,
79
- variant,
80
- className,
81
- style,
82
- titleLabel,
83
- logoSrc,
84
- hexCardColor,
85
- hideLogo,
86
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutFourGrid, {
87
- hideImage: hideImageGallery,
88
- images,
89
- headline,
90
- subheadline,
91
- textfield: !hideTextField && textfield
92
- })
93
- });
94
- if (isFourHorizontalLayout) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WidgetWrapperWithTitle.WidgetWrapperWithTitle, {
95
- id,
96
- testId,
97
- variant,
98
- className,
78
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
79
+ ref: containerRef,
99
80
  style,
100
- titleLabel,
101
- logoSrc,
102
- hexCardColor,
103
- hideLogo,
104
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutFourHorizontal, {
105
- hideImage: hideImageGallery,
106
- images,
107
- headline,
108
- subheadline,
109
- textfield: !hideTextField && textfield
110
- })
111
- });
112
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WidgetWrapperWithTitle.WidgetWrapperWithTitle, {
113
- id,
114
- testId,
115
- variant,
116
81
  className,
117
- style,
118
- titleLabel,
119
- logoSrc,
120
- hexCardColor,
121
- hideLogo,
122
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutSingle, {
123
- hideImage: hideImageGallery,
124
- dynamicLayout,
125
- images,
126
- headline,
127
- subheadline,
128
- textfield: !hideTextField && textfield
82
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_WidgetWrapperWithTitle.WidgetWrapperWithTitle, {
83
+ id,
84
+ testId,
85
+ variant,
86
+ titleLabel,
87
+ logoSrc,
88
+ hexCardColor,
89
+ hideLogo,
90
+ children: (() => {
91
+ if (isFourGridLayout) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutFourGrid, {
92
+ hideImage: hideImageGallery,
93
+ images,
94
+ headline,
95
+ subheadline,
96
+ textfield: !hideTextField && textfield
97
+ });
98
+ if (isFourHorizontalLayout) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutFourHorizontal, {
99
+ hideImage: hideImageGallery,
100
+ images,
101
+ headline,
102
+ subheadline,
103
+ textfield: !hideTextField && textfield,
104
+ containerWidth
105
+ });
106
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.SocialProofComponents.LayoutSingle, {
107
+ hideImage: hideImageGallery,
108
+ dynamicLayout,
109
+ images,
110
+ headline,
111
+ subheadline,
112
+ textfield: !hideTextField && textfield,
113
+ containerWidth
114
+ });
115
+ })()
129
116
  })
130
117
  });
131
118
  };
@@ -1,5 +1,5 @@
1
1
  import { SocialProofProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/SocialProof/SocialProof.d.ts
5
5
  declare const SocialProof: ({
@@ -7,6 +7,6 @@ declare const SocialProof: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: SocialProofProps) => react_jsx_runtime8.JSX.Element;
10
+ }: SocialProofProps) => react_jsx_runtime14.JSX.Element;
11
11
  //#endregion
12
12
  export { SocialProof };
@@ -1,5 +1,5 @@
1
1
  import { SocialProofProps } from "./types/types.js";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/SocialProof/SocialProof.d.ts
5
5
  declare const SocialProof: ({
@@ -7,6 +7,6 @@ declare const SocialProof: ({
7
7
  widgetContentProps,
8
8
  widgetStyleProps,
9
9
  widgetEventProps
10
- }: SocialProofProps) => react_jsx_runtime5.JSX.Element;
10
+ }: SocialProofProps) => react_jsx_runtime8.JSX.Element;
11
11
  //#endregion
12
12
  export { SocialProof };
@@ -1,15 +1,16 @@
1
1
  import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import { resolveTheme } from "../utils/resolveTheme.js";
2
+ import { screensBreakpointsVariables } from "../packages/components-v3/tokens/breakpoints/breakpoints.js";
3
3
  import "../Tokens/index.js";
4
+ import { resolveTheme } from "../utils/resolveTheme.js";
4
5
  import { PromptButtonVariant } from "../PromptButton/types/index.js";
5
6
  import "../PromptButton/index.js";
6
- import { useCheckIsMobile } from "../utils/useCheckIsMobile.js";
7
7
  import { PromptCarouselRows } from "../PromptCarousel/types/types.js";
8
8
  import "../PromptCarousel/index.js";
9
9
  import { IconVariant } from "../WidgetTextField/types/types.js";
10
10
  import { WidgetWrapperVariant } from "../WidgetWrapper/types/types.js";
11
11
  import "../WidgetWrapper/index.js";
12
12
  import { WidgetWrapperWithTitle } from "../WidgetWrapperWithTitle/WidgetWrapperWithTitle.js";
13
+ import { useGetContentSize } from "../utils/useGetContentSize.js";
13
14
  import { ImageGalleryLayout } from "../ImageGallery/types/types.js";
14
15
  import { shouldHideImageGallery } from "./utils/functions.js";
15
16
  import { WidgetKind } from "./types/types.js";
@@ -31,7 +32,8 @@ const SocialProof = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEv
31
32
  });
32
33
  const { handlePrimaryButtonClick, handlePrimaryButtonHover, handleSecondaryButtonClick, handleSecondaryButtonHover, handleSecondaryButtonDrag, handleSecondaryButtonMouseDown, handleSecondaryButtonMouseUp, handleSecondaryButtonTouchStart, handleSecondaryButtonTouchEnd, handleTextFieldClick, onTranscriptionStarted, onTranscriptionCompleted } = widgetEventProps ?? {};
33
34
  const finalTheme = resolveTheme(theme);
34
- const { isMobile } = useCheckIsMobile("sm");
35
+ const { width: containerWidth, ref: containerRef } = useGetContentSize({});
36
+ const isMobile = containerWidth !== void 0 ? containerWidth < screensBreakpointsVariables.sm : typeof window !== "undefined" && window.innerWidth < screensBreakpointsVariables.sm;
35
37
  const hasDynamicLayout = kind === WidgetKind.DYNAMIC || dynamicLayout !== void 0;
36
38
  const hideImageGallery = shouldHideImageGallery({
37
39
  hideImage,
@@ -72,59 +74,44 @@ const SocialProof = ({ baseProps, widgetContentProps, widgetStyleProps, widgetEv
72
74
  onTranscriptionStarted,
73
75
  onTranscriptionCompleted
74
76
  });
75
- if (isFourGridLayout) return /* @__PURE__ */ jsx(WidgetWrapperWithTitle, {
76
- id,
77
- testId,
78
- variant,
79
- className,
80
- style,
81
- titleLabel,
82
- logoSrc,
83
- hexCardColor,
84
- hideLogo,
85
- children: /* @__PURE__ */ jsx(SocialProofComponents.LayoutFourGrid, {
86
- hideImage: hideImageGallery,
87
- images,
88
- headline,
89
- subheadline,
90
- textfield: !hideTextField && textfield
91
- })
92
- });
93
- if (isFourHorizontalLayout) return /* @__PURE__ */ jsx(WidgetWrapperWithTitle, {
94
- id,
95
- testId,
96
- variant,
97
- className,
77
+ return /* @__PURE__ */ jsx("div", {
78
+ ref: containerRef,
98
79
  style,
99
- titleLabel,
100
- logoSrc,
101
- hexCardColor,
102
- hideLogo,
103
- children: /* @__PURE__ */ jsx(SocialProofComponents.LayoutFourHorizontal, {
104
- hideImage: hideImageGallery,
105
- images,
106
- headline,
107
- subheadline,
108
- textfield: !hideTextField && textfield
109
- })
110
- });
111
- return /* @__PURE__ */ jsx(WidgetWrapperWithTitle, {
112
- id,
113
- testId,
114
- variant,
115
80
  className,
116
- style,
117
- titleLabel,
118
- logoSrc,
119
- hexCardColor,
120
- hideLogo,
121
- children: /* @__PURE__ */ jsx(SocialProofComponents.LayoutSingle, {
122
- hideImage: hideImageGallery,
123
- dynamicLayout,
124
- images,
125
- headline,
126
- subheadline,
127
- textfield: !hideTextField && textfield
81
+ children: /* @__PURE__ */ jsx(WidgetWrapperWithTitle, {
82
+ id,
83
+ testId,
84
+ variant,
85
+ titleLabel,
86
+ logoSrc,
87
+ hexCardColor,
88
+ hideLogo,
89
+ children: (() => {
90
+ if (isFourGridLayout) return /* @__PURE__ */ jsx(SocialProofComponents.LayoutFourGrid, {
91
+ hideImage: hideImageGallery,
92
+ images,
93
+ headline,
94
+ subheadline,
95
+ textfield: !hideTextField && textfield
96
+ });
97
+ if (isFourHorizontalLayout) return /* @__PURE__ */ jsx(SocialProofComponents.LayoutFourHorizontal, {
98
+ hideImage: hideImageGallery,
99
+ images,
100
+ headline,
101
+ subheadline,
102
+ textfield: !hideTextField && textfield,
103
+ containerWidth
104
+ });
105
+ return /* @__PURE__ */ jsx(SocialProofComponents.LayoutSingle, {
106
+ hideImage: hideImageGallery,
107
+ dynamicLayout,
108
+ images,
109
+ headline,
110
+ subheadline,
111
+ textfield: !hideTextField && textfield,
112
+ containerWidth
113
+ });
114
+ })()
128
115
  })
129
116
  });
130
117
  };
@@ -1,13 +1,13 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
3
- const require_Stack = require('../../Stack/Stack.cjs');
4
- require('../../Stack/index.cjs');
3
+ const require_resolveTheme = require('../../utils/resolveTheme.cjs');
5
4
  const require_Container = require('../../Container/Container.cjs');
6
5
  require('../../Container/index.cjs');
6
+ const require_Stack = require('../../Stack/Stack.cjs');
7
+ require('../../Stack/index.cjs');
7
8
  const require_index = require('../../Typography/types/index.cjs');
8
9
  const require_Typography = require('../../Typography/Typography.cjs');
9
10
  require('../../Typography/index.cjs');
10
- const require_resolveTheme = require('../../utils/resolveTheme.cjs');
11
11
  const require_PromptButton_types_index = require('../../PromptButton/types/index.cjs');
12
12
  const require_PromptButton = require('../../PromptButton/PromptButton.cjs');
13
13
  require('../../PromptButton/index.cjs');
@@ -1,12 +1,12 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
- import { Stack } from "../../Stack/Stack.js";
3
- import "../../Stack/index.js";
2
+ import { resolveTheme } from "../../utils/resolveTheme.js";
4
3
  import { Container } from "../../Container/Container.js";
5
4
  import "../../Container/index.js";
5
+ import { Stack } from "../../Stack/Stack.js";
6
+ import "../../Stack/index.js";
6
7
  import { TypographyColor, TypographyVariant } from "../../Typography/types/index.js";
7
8
  import { Typography } from "../../Typography/Typography.js";
8
9
  import "../../Typography/index.js";
9
- import { resolveTheme } from "../../utils/resolveTheme.js";
10
10
  import { PromptButtonVariant } from "../../PromptButton/types/index.js";
11
11
  import { PromptButton } from "../../PromptButton/PromptButton.js";
12
12
  import "../../PromptButton/index.js";
@@ -1,9 +1,8 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_breakpoints = require('../../packages/components-v3/tokens/breakpoints/breakpoints.cjs');
3
+ require('../../Tokens/index.cjs');
3
4
  const require_Stack = require('../../Stack/Stack.cjs');
4
5
  require('../../Stack/index.cjs');
5
- require('../../Tokens/index.cjs');
6
- const require_utils_useCheckIsMobile = require('../../utils/useCheckIsMobile.cjs');
7
6
  const require_useGetContentSize = require('../../utils/useGetContentSize.cjs');
8
7
  const require_types = require('../../ImageGallery/types/types.cjs');
9
8
  const require_functions = require('../utils/functions.cjs');
@@ -13,9 +12,9 @@ let classnames = require("classnames");
13
12
  classnames = require_rolldown_runtime.__toESM(classnames);
14
13
 
15
14
  //#region src/components/SocialProof/components/LayoutFourHorizontal.tsx
16
- const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield }) => {
17
- const { isMobile, viewportWidth } = require_utils_useCheckIsMobile.useCheckIsMobile("sm");
18
- const isTablet = !isMobile && viewportWidth !== void 0 && viewportWidth < require_breakpoints.screensBreakpointsVariables.xl;
15
+ const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield, containerWidth }) => {
16
+ const isMobile = containerWidth !== void 0 && containerWidth < require_breakpoints.screensBreakpointsVariables.sm;
17
+ const isTablet = !isMobile && containerWidth !== void 0 && containerWidth < require_breakpoints.screensBreakpointsVariables.xl;
19
18
  const { height, ref } = require_useGetContentSize.useGetContentSize({ heightDefault: 170 });
20
19
  const imageGalleryWidth = require_functions.calculateWidthImageGallery(height, 4, 1);
21
20
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {