@envive-ai/react-widgets-v3 0.3.45 → 0.3.47

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 (51) hide show
  1. package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
  2. package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
  3. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/CustomerServiceApi.cjs +20 -65
  4. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/DefaultApi.cjs +87 -168
  5. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/InferenceApi.cjs +20 -65
  6. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/ProductsApi.cjs +4 -13
  7. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/apis/SearchApi.cjs +14 -50
  8. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/AISuggestionsServedMethodAttribution.cjs +78 -0
  9. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/ExperimentNamespace.cjs +61 -0
  10. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/FormResponseAttributesFormCategory.cjs +0 -2
  11. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrderItemInfo.cjs +3 -3
  12. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/Organization.cjs +2 -2
  13. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/OrganizationConfigResults.cjs +10 -2
  14. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/PLPAttributesAttributes.cjs +0 -2
  15. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigExperimentConfigResolutionMetadata.cjs +73 -0
  16. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/StatsigExperimentLayerAssignment.cjs +64 -0
  17. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UrlResolvingResponseSpecificDetails.cjs +0 -2
  18. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/UserEventAttributes.cjs +0 -2
  19. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetTextResponse.cjs +6 -0
  20. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/index.cjs +8 -0
  21. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/runtime.cjs +1 -3
  22. package/dist/packages/widgets/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
  23. package/dist/packages/widgets/dist/SuggestionBar/SuggestionBar.d.ts +2 -2
  24. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
  25. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
  26. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
  27. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
  28. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.cts +3 -3
  29. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +1 -0
  30. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +1 -0
  31. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +2 -2
  32. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +2 -2
  33. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
  34. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.ts +2 -2
  35. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
  36. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
  37. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
  38. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
  39. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +2 -2
  40. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
  41. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
  42. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
  43. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
  44. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
  45. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
  46. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
  47. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
  48. package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
  49. package/dist/widgets/dist/SuggestionBar/SuggestionBar.d.cts +2 -2
  50. package/package.json +4 -3
  51. package/src/widgets/FloatingChatWidget/FloatingChatOverlay.tsx +1 -0
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts
4
4
  interface TitledPromptCarouselWidgetProps {
@@ -7,7 +7,7 @@ interface TitledPromptCarouselWidgetProps {
7
7
  declare const TitledPromptCarouselWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TitledPromptCarouselWidgetProps): react_jsx_runtime4.JSX.Element;
10
+ }: TitledPromptCarouselWidgetProps): react_jsx_runtime0.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts
4
4
  interface TypingAnimationFlowWidgetProps {
@@ -7,7 +7,7 @@ interface TypingAnimationFlowWidgetProps {
7
7
  declare const TypingAnimationFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TypingAnimationFlowWidgetProps): react_jsx_runtime7.JSX.Element;
10
+ }: TypingAnimationFlowWidgetProps): react_jsx_runtime6.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts
4
4
  interface TypingAnimationFlowWidgetProps {
@@ -7,7 +7,7 @@ interface TypingAnimationFlowWidgetProps {
7
7
  declare const TypingAnimationFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TypingAnimationFlowWidgetProps): react_jsx_runtime0.JSX.Element;
10
+ }: TypingAnimationFlowWidgetProps): react_jsx_runtime19.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/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/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts
5
5
  declare const TypingAnimationWithBaseWidget: {
6
- (props: BaseWidgetProps): react_jsx_runtime8.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime7.JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  interface TypingAnimationWidgetProps {
@@ -12,7 +12,7 @@ interface TypingAnimationWidgetProps {
12
12
  declare const TypingAnimationWidget: {
13
13
  ({
14
14
  widgetConfigId
15
- }: TypingAnimationWidgetProps): react_jsx_runtime8.JSX.Element;
15
+ }: TypingAnimationWidgetProps): react_jsx_runtime7.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/types.js";
2
- import * as react_jsx_runtime18 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts
5
5
  declare const TypingAnimationWithBaseWidget: {
6
- (props: BaseWidgetProps): react_jsx_runtime18.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime2.JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  interface TypingAnimationWidgetProps {
@@ -12,7 +12,7 @@ interface TypingAnimationWidgetProps {
12
12
  declare const TypingAnimationWidget: {
13
13
  ({
14
14
  widgetConfigId
15
- }: TypingAnimationWidgetProps): react_jsx_runtime18.JSX.Element;
15
+ }: TypingAnimationWidgetProps): react_jsx_runtime2.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
 
3
3
  //#region ../widgets/dist/SearchResults/SearchResultsWidget.d.ts
4
4
  //#region src/SearchResults/SearchResultsWidget.d.ts
5
- declare const SearchResultsWidget: () => react_jsx_runtime0.JSX.Element;
5
+ declare const SearchResultsWidget: () => react_jsx_runtime2.JSX.Element;
6
6
  //#endregion
7
7
 
8
8
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { SuggestionBarLocationForMetrics } from "./types.cjs";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { SuggestionButtonVariant } from "@envive-ai/react-hooks/contexts/types";
4
4
  import { Message } from "postcss";
5
5
 
@@ -30,7 +30,7 @@ declare function SuggestionBar({
30
30
  buttonBorderRadius,
31
31
  handleReply,
32
32
  dataTestId
33
- }: Readonly<SuggestionBarProps>): react_jsx_runtime2.JSX.Element;
33
+ }: Readonly<SuggestionBarProps>): react_jsx_runtime0.JSX.Element;
34
34
  //#endregion
35
35
  //#endregion
36
36
  export { SuggestionBar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envive-ai/react-widgets-v3",
3
- "version": "0.3.45",
3
+ "version": "0.3.47",
4
4
  "description": "React widget library v3 for Envive services.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,9 +46,9 @@
46
46
  "react-dom": "^18.3.0 || ^19.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@envive-ai/react-widgets": "*",
50
- "@envive-ai/react-toolkit-v3": "*",
51
49
  "@chromatic-com/storybook": "^4.1.1",
50
+ "@envive-ai/react-toolkit-v3": "*",
51
+ "@envive-ai/react-widgets": "*",
52
52
  "@mdx-js/react": "^3.1.1",
53
53
  "@storybook/addon-a11y": "^9.1.4",
54
54
  "@storybook/addon-docs": "^9.1.4",
@@ -57,6 +57,7 @@
57
57
  "@storybook/addon-vitest": "^9.1.10",
58
58
  "@storybook/icons": "^1.6.0",
59
59
  "@storybook/react-vite": "^9.1.4",
60
+ "@tailwindcss/container-queries": "^0.1.1",
60
61
  "@testing-library/jest-dom": "^6.9.1",
61
62
  "@testing-library/react": "^16.3.0",
62
63
  "@testing-library/user-event": "^14.6.1",
@@ -97,6 +97,7 @@ export const FloatingChatOverlay = ({
97
97
  {isOpened && (
98
98
  <motion.div
99
99
  key="floating-chat-overlay"
100
+ id="envive-ai-floating-chat-overlay"
100
101
  className={overlayClasses}
101
102
  style={{ top: '0px' }}
102
103
  initial={{ opacity: 0 }}