@envive-ai/react-toolkit-v3 0.3.30 → 0.3.31

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 (158) hide show
  1. package/dist/AnimatedText/AnimatedText.d.ts +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.cjs +1 -1
  5. package/dist/Carousel/Carousel.d.cts +2 -2
  6. package/dist/Carousel/Carousel.d.ts +2 -2
  7. package/dist/Carousel/Carousel.js +1 -1
  8. package/dist/Carousel/components/Container.cjs +2 -2
  9. package/dist/Carousel/components/Container.js +2 -2
  10. package/dist/ChatFooter/ChatFooter.cjs +1 -1
  11. package/dist/ChatFooter/ChatFooter.d.cts +2 -2
  12. package/dist/ChatFooter/ChatFooter.d.ts +2 -2
  13. package/dist/ChatFooter/ChatFooter.js +1 -1
  14. package/dist/ChatFooter/components/Layout.cjs +2 -2
  15. package/dist/ChatFooter/components/Layout.js +2 -2
  16. package/dist/ChatFooter/components/index.d.cts +5 -5
  17. package/dist/ChatFooter/components/index.d.ts +5 -5
  18. package/dist/ChatHeader/ChatHeader.d.cts +2 -2
  19. package/dist/ChatHeader/ChatHeader.d.ts +2 -2
  20. package/dist/ChatHeader/components/Handle.cjs +2 -2
  21. package/dist/ChatHeader/components/Handle.js +2 -2
  22. package/dist/ChatHeader/components/Toggle.cjs +3 -3
  23. package/dist/ChatHeader/components/Toggle.js +3 -3
  24. package/dist/ChatPreview/ChatPreview.cjs +1 -1
  25. package/dist/ChatPreview/ChatPreview.d.cts +2 -2
  26. package/dist/ChatPreview/ChatPreview.d.ts +2 -2
  27. package/dist/ChatPreview/ChatPreview.js +1 -1
  28. package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
  29. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
  30. package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
  31. package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
  32. package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
  33. package/dist/ChatPreviewComparison/components/Headline.js +2 -2
  34. package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
  35. package/dist/ChatPreviewComparison/components/Layout.js +4 -4
  36. package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
  37. package/dist/ChatPreviewComparison/components/Message.js +2 -2
  38. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
  39. package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
  40. package/dist/Container/Container.d.cts +175 -175
  41. package/dist/Container/Container.d.ts +175 -175
  42. package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
  43. package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
  44. package/dist/Disclaimer/components/Container.cjs +2 -2
  45. package/dist/Disclaimer/components/Container.js +2 -2
  46. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
  47. package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
  48. package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
  49. package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
  50. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
  51. package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
  52. package/dist/FloatingButton/FloatingButton.cjs +2 -1
  53. package/dist/FloatingButton/FloatingButton.d.cts +4 -3
  54. package/dist/FloatingButton/FloatingButton.d.ts +4 -3
  55. package/dist/FloatingButton/FloatingButton.js +2 -1
  56. package/dist/FloatingButton/components/Container.cjs +2 -1
  57. package/dist/FloatingButton/components/Container.js +2 -1
  58. package/dist/FloatingButton/types/types.d.cts +4 -0
  59. package/dist/FloatingButton/types/types.d.ts +4 -0
  60. package/dist/FloatingChat/FloatingChat.d.cts +2 -2
  61. package/dist/FloatingChat/FloatingChat.d.ts +2 -2
  62. package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
  63. package/dist/FloatingChat/components/ChatMessages.js +1 -1
  64. package/dist/FloatingChat/components/Layout.cjs +3 -3
  65. package/dist/FloatingChat/components/Layout.js +3 -3
  66. package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
  67. package/dist/FloatingChat/components/ResultsGridView.js +1 -1
  68. package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
  69. package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
  70. package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -1
  71. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
  72. package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
  73. package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -1
  74. package/dist/Image/Image.d.cts +2 -2
  75. package/dist/Image/Image.d.ts +2 -2
  76. package/dist/ImageGallery/ImageGallery.d.cts +2 -2
  77. package/dist/ImageGallery/ImageGallery.d.ts +2 -2
  78. package/dist/ImageGallery/components/Layout.cjs +1 -1
  79. package/dist/ImageGallery/components/Layout.js +1 -1
  80. package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
  81. package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
  82. package/dist/Message/components/LinkButton.cjs +1 -1
  83. package/dist/Message/components/LinkButton.js +1 -1
  84. package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
  85. package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
  86. package/dist/ProductCard/ProductCard.cjs +2 -2
  87. package/dist/ProductCard/ProductCard.d.cts +2 -2
  88. package/dist/ProductCard/ProductCard.d.ts +2 -2
  89. package/dist/ProductCard/ProductCard.js +2 -2
  90. package/dist/PromptButton/PromptButton.d.cts +2 -2
  91. package/dist/PromptButton/PromptButton.d.ts +2 -2
  92. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
  93. package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
  94. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
  95. package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
  96. package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
  97. package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
  98. package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
  99. package/dist/PromptCarousel/PromptCarousel.js +3 -3
  100. package/dist/ReviewCard/ReviewCard.d.cts +2 -2
  101. package/dist/ReviewCard/ReviewCard.d.ts +2 -2
  102. package/dist/ReviewCard/components/Container.cjs +2 -2
  103. package/dist/ReviewCard/components/Container.js +2 -2
  104. package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
  105. package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
  106. package/dist/ReviewCard/components/index.d.cts +6 -6
  107. package/dist/ReviewCard/components/index.d.ts +6 -6
  108. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
  109. package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
  110. package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
  111. package/dist/SalesAgentProductCard/components/Container.js +2 -2
  112. package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
  113. package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
  114. package/dist/SocialProof/SocialProof.cjs +1 -1
  115. package/dist/SocialProof/SocialProof.d.cts +2 -2
  116. package/dist/SocialProof/SocialProof.d.ts +2 -2
  117. package/dist/SocialProof/SocialProof.js +1 -1
  118. package/dist/SocialProof/components/Headline.cjs +3 -3
  119. package/dist/SocialProof/components/Headline.js +3 -3
  120. package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
  121. package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
  122. package/dist/SocialProof/components/Subheadline.cjs +1 -1
  123. package/dist/SocialProof/components/Subheadline.js +1 -1
  124. package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
  125. package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
  126. package/dist/Stack/Stack.d.cts +2 -2
  127. package/dist/Stack/Stack.d.ts +2 -2
  128. package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
  129. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
  130. package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
  131. package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
  132. package/dist/Tokens/index.cjs +1 -1
  133. package/dist/Tokens/index.js +1 -1
  134. package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
  135. package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
  136. package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
  137. package/dist/TypingAnimation/TypingAnimation.js +1 -1
  138. package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
  139. package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
  140. package/dist/Typography/Typography.d.cts +4 -4
  141. package/dist/WelcomeMessage/components/Container.cjs +2 -2
  142. package/dist/WelcomeMessage/components/Container.js +2 -2
  143. package/dist/WidgetTextField/WidgetTextField.cjs +4 -4
  144. package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
  145. package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
  146. package/dist/WidgetTextField/WidgetTextField.js +1 -1
  147. package/dist/WidgetTextField/components/Container.cjs +2 -2
  148. package/dist/WidgetTextField/components/Container.js +2 -2
  149. package/dist/WidgetTextField/components/Icon.cjs +1 -1
  150. package/dist/WidgetTextField/components/Icon.js +1 -1
  151. package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
  152. package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
  153. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
  154. package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
  155. package/package.json +1 -1
  156. package/src/components/FloatingButton/FloatingButton.tsx +2 -0
  157. package/src/components/FloatingButton/components/Container.tsx +3 -0
  158. package/src/components/FloatingButton/types/types.ts +4 -0
@@ -1,7 +1,7 @@
1
1
  const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
2
+ require('../../Tokens/index.cjs');
2
3
  const require_index = require('../../Typography/types/index.cjs');
3
4
  require('../../Typography/index.cjs');
4
- require('../../Tokens/index.cjs');
5
5
 
6
6
  //#region src/components/TypingAnimation/hooks/useGetTypographyVariant.tsx
7
7
  const useGetTypographyVariant = (theme) => {
@@ -1,7 +1,7 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
+ import "../../Tokens/index.js";
2
3
  import { TypographyVariant } from "../../Typography/types/index.js";
3
4
  import "../../Typography/index.js";
4
- import "../../Tokens/index.js";
5
5
 
6
6
  //#region src/components/TypingAnimation/hooks/useGetTypographyVariant.tsx
7
7
  const useGetTypographyVariant = (theme) => {
@@ -1,5 +1,5 @@
1
1
  import { TypographyProps } from "./types/index.cjs";
2
- import * as react0 from "react";
2
+ import * as react10 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) => react10.DetailedReactHTMLElement<{
22
22
  'aria-label': string;
23
23
  'aria-level'?: number;
24
- role?: react0.AriaRole;
24
+ role?: react10.AriaRole;
25
25
  title?: string;
26
26
  className: string;
27
- style: react0.CSSProperties;
27
+ style: react10.CSSProperties;
28
28
  id: string;
29
29
  'data-testid': string;
30
30
  }, HTMLElement>;
@@ -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_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
8
  let classnames = require("classnames");
@@ -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 { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import classNames from "classnames";
@@ -1,11 +1,11 @@
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_index = require('../Typography/types/index.cjs');
4
3
  const require_resolveTheme = require('../utils/resolveTheme.cjs');
5
- const require_index$1 = require('../TextField/components/index.cjs');
4
+ const require_index = require('../TextField/components/index.cjs');
6
5
  const require_useGetSkeletonProperties = require('../TextField/hooks/useGetSkeletonProperties.cjs');
7
6
  const require_react = require('../node_modules/jotai/esm/react.cjs');
8
7
  const require_useVoiceInput = require('../TextField/hooks/useVoiceInput.cjs');
8
+ const require_index$1 = require('../Typography/types/index.cjs');
9
9
  const require_types = require('./types/types.cjs');
10
10
  const require_index$2 = require('./components/index.cjs');
11
11
  const require_useGetMicWidgetButtonProperties = require('./hooks/useGetMicWidgetButtonProperties.cjs');
@@ -15,7 +15,7 @@ classnames = require_rolldown_runtime.__toESM(classnames);
15
15
  let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
16
16
 
17
17
  //#region src/components/WidgetTextField/WidgetTextField.tsx
18
- const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, theme = require_theme.Theme.GLOBAL_CUSTOM, minimalFrame = "full", iconVariant = require_types.IconVariant.DEFAULT, textColor = require_index.TypographyColor.TEXT_SECONDARY, placeholder, ariaLabel, disabled, isLoading, onClick, enableVoiceInput = false, onTranscriptionStarted }) => {
18
+ const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, theme = require_theme.Theme.GLOBAL_CUSTOM, minimalFrame = "full", iconVariant = require_types.IconVariant.DEFAULT, textColor = require_index$1.TypographyColor.TEXT_SECONDARY, placeholder, ariaLabel, disabled, isLoading, onClick, enableVoiceInput = false, onTranscriptionStarted }) => {
19
19
  const resolvedTheme = require_resolveTheme.resolveTheme(theme);
20
20
  const setListeningToSpeech = require_react.useSetAtom(__envive_ai_react_hooks_atoms_chat.listeningToSpeechAtom);
21
21
  const { skeletonClass } = require_useGetSkeletonProperties.useGetSkeletonProperties(isLoading);
@@ -31,7 +31,7 @@ const WidgetTextField = ({ id, testId, style, className, voiceInputClassName, th
31
31
  onTranscriptionStarted?.();
32
32
  onClick();
33
33
  };
34
- const voiceInputButton = enableVoiceInput && browserSupportsSpeechRecognition ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.TextFieldComponents.VoiceInputButton, {
34
+ const voiceInputButton = enableVoiceInput && browserSupportsSpeechRecognition ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.TextFieldComponents.VoiceInputButton, {
35
35
  theme: resolvedTheme,
36
36
  isListening: false,
37
37
  onToggleListening: disabled ? void 0 : handleToggleListening,
@@ -1,5 +1,5 @@
1
1
  import { WidgetTextFieldProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -19,6 +19,6 @@ declare const WidgetTextField: ({
19
19
  onClick,
20
20
  enableVoiceInput,
21
21
  onTranscriptionStarted
22
- }: WidgetTextFieldProps) => react_jsx_runtime0.JSX.Element;
22
+ }: WidgetTextFieldProps) => react_jsx_runtime23.JSX.Element;
23
23
  //#endregion
24
24
  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_runtime13 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/WidgetTextField/WidgetTextField.d.ts
5
5
  declare const WidgetTextField: ({
@@ -19,6 +19,6 @@ declare const WidgetTextField: ({
19
19
  onClick,
20
20
  enableVoiceInput,
21
21
  onTranscriptionStarted
22
- }: WidgetTextFieldProps) => react_jsx_runtime6.JSX.Element;
22
+ }: WidgetTextFieldProps) => react_jsx_runtime13.JSX.Element;
23
23
  //#endregion
24
24
  export { WidgetTextField };
@@ -1,10 +1,10 @@
1
1
  import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
2
- import { TypographyColor } from "../Typography/types/index.js";
3
2
  import { resolveTheme } from "../utils/resolveTheme.js";
4
3
  import { TextFieldComponents } from "../TextField/components/index.js";
5
4
  import { useGetSkeletonProperties } from "../TextField/hooks/useGetSkeletonProperties.js";
6
5
  import { useSetAtom } from "../node_modules/jotai/esm/react.js";
7
6
  import { useVoiceInput } from "../TextField/hooks/useVoiceInput.js";
7
+ import { TypographyColor } from "../Typography/types/index.js";
8
8
  import { IconVariant } from "./types/types.js";
9
9
  import { WidgetTextFieldComponents } from "./components/index.js";
10
10
  import { useGetMicWidgetButtonProperties } from "./hooks/useGetMicWidgetButtonProperties.js";
@@ -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_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
7
7
  const require_useHandleKeyboard = require('../hooks/useHandleKeyboard.cjs');
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -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 { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
6
6
  import { useHandleKeyboard } from "../hooks/useHandleKeyboard.js";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
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_index = require('../../Typography/types/index.cjs');
4
3
  const require_CustomIcon = require('../../utils/CustomIcon.cjs');
4
+ const require_index = require('../../Typography/types/index.cjs');
5
5
  const require_types = require('../types/types.cjs');
6
6
  let react_jsx_runtime = require("react/jsx-runtime");
7
7
  let __envive_ai_react_icons_SendStandard = require("@envive-ai/react-icons/SendStandard");
@@ -1,6 +1,6 @@
1
1
  import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
2
- import { TypographyColor } from "../../Typography/types/index.js";
3
2
  import { CustomIcon } from "../../utils/CustomIcon.js";
3
+ import { TypographyColor } from "../../Typography/types/index.js";
4
4
  import { IconVariant } from "../types/types.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import SendStandard from "@envive-ai/react-icons/SendStandard";
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.cjs";
2
- import * as react_jsx_runtime35 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 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_runtime35.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime1.JSX.Element;
20
20
  //#endregion
21
21
  export { WidgetWrapper };
@@ -1,5 +1,5 @@
1
1
  import { WidgetWrapperProps } from "./types/types.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime9 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_runtime0.JSX.Element;
19
+ }: WidgetWrapperProps) => react_jsx_runtime9.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_runtime7 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 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_runtime7.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime4.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_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 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_runtime8.JSX.Element;
17
+ }: WidgetWrapperWithTitleProps) => react_jsx_runtime2.JSX.Element;
18
18
  //#endregion
19
19
  export { WidgetWrapperWithTitle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envive-ai/react-toolkit-v3",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "React component library for Envive services.",
5
5
  "keywords": [
6
6
  "react",
@@ -17,6 +17,7 @@ export const FloatingButton = ({
17
17
  onMouseOver,
18
18
  ariaLabel,
19
19
  previewMode = false,
20
+ containerRef,
20
21
  }: FloatingButtonProps) => {
21
22
  const button = (
22
23
  <FloatingButtonComponents.Button
@@ -37,6 +38,7 @@ export const FloatingButton = ({
37
38
 
38
39
  return (
39
40
  <FloatingButtonComponents.Container
41
+ containerRef={containerRef}
40
42
  id={id}
41
43
  testId={testId}
42
44
  location={location}
@@ -13,6 +13,7 @@ export type ContainerProps = {
13
13
  className?: string;
14
14
  style?: React.CSSProperties;
15
15
  previewMode?: boolean;
16
+ containerRef?: React.RefObject<HTMLDivElement>;
16
17
  };
17
18
 
18
19
  export const Container = ({
@@ -26,6 +27,7 @@ export const Container = ({
26
27
  className = '',
27
28
  style,
28
29
  previewMode = false,
30
+ containerRef,
29
31
  }: ContainerProps) => {
30
32
  const { positionClasses, locationClasses, zIndexClass, shouldRender } = useGetContainerProperties(
31
33
  location,
@@ -52,6 +54,7 @@ export const Container = ({
52
54
 
53
55
  return (
54
56
  <div
57
+ ref={containerRef}
55
58
  id={id}
56
59
  data-testid={testId}
57
60
  className={allClasses}
@@ -50,6 +50,10 @@ export type FloatingButtonBackgroundColor = Extract<
50
50
  * Props for the FloatingButton component.
51
51
  */
52
52
  export type FloatingButtonProps = {
53
+ /**
54
+ * Ref forwarded to the outermost container div.
55
+ */
56
+ containerRef?: React.RefObject<HTMLDivElement>;
53
57
  /**
54
58
  * Unique identifier for the floating button element.
55
59
  */