@envive-ai/react-widgets 0.3.47 → 0.3.49
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.
- package/dist/SearchResults/SearchResultsWidget.cjs +1 -1
- package/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
- package/dist/SearchResults/SearchResultsWidget.js +1 -1
- package/dist/SearchZeroState/SearchIcon.cjs +1 -1
- package/dist/SearchZeroState/SearchIcon.js +1 -1
- package/dist/SearchZeroState/SearchZeroState.cjs +1 -1
- package/dist/SearchZeroState/SearchZeroState.js +1 -1
- package/dist/SearchZeroState/SearchZeroStateWidget.d.cts +2 -2
- package/dist/SearchZeroState/SearchZeroStateWidget.d.ts +2 -2
- package/dist/SearchZeroState/components/RecommendedProducts.cjs +2 -2
- package/dist/SearchZeroState/components/RecommendedProducts.js +1 -1
- package/dist/SuggestionBar/SuggestionBar.d.cts +2 -2
- package/dist/SuggestionBar/SuggestionBar.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@ const require_SearchResults = require('./SearchResults.cjs');
|
|
|
3
3
|
let react = require("react");
|
|
4
4
|
let jotai = require("jotai");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
let __envive_ai_react_hooks_hooks_NewOrgConfig = require("@envive-ai/react-hooks/hooks/NewOrgConfig");
|
|
7
6
|
let __envive_ai_react_hooks_atoms_globalSearch = require("@envive-ai/react-hooks/atoms/globalSearch");
|
|
8
7
|
let __envive_ai_react_hooks_atoms_search = require("@envive-ai/react-hooks/atoms/search");
|
|
8
|
+
let __envive_ai_react_hooks_hooks_NewOrgConfig = require("@envive-ai/react-hooks/hooks/NewOrgConfig");
|
|
9
9
|
|
|
10
10
|
//#region src/SearchResults/SearchResultsWidget.tsx
|
|
11
11
|
const SearchResultsWidget = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/SearchResults/SearchResultsWidget.d.ts
|
|
4
|
-
declare const SearchResultsWidget: () =>
|
|
4
|
+
declare const SearchResultsWidget: () => react_jsx_runtime0.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { SearchResultsWidget };
|
|
@@ -2,9 +2,9 @@ import { SearchResults } from "./SearchResults.js";
|
|
|
2
2
|
import { useEffect, useMemo } from "react";
|
|
3
3
|
import { useSetAtom } from "jotai";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { useNewOrgConfig } from "@envive-ai/react-hooks/hooks/NewOrgConfig";
|
|
6
5
|
import { isSearchResultsOpenAtom } from "@envive-ai/react-hooks/atoms/globalSearch";
|
|
7
6
|
import { searchSystemAtom } from "@envive-ai/react-hooks/atoms/search";
|
|
7
|
+
import { useNewOrgConfig } from "@envive-ai/react-hooks/hooks/NewOrgConfig";
|
|
8
8
|
|
|
9
9
|
//#region src/SearchResults/SearchResultsWidget.tsx
|
|
10
10
|
const SearchResultsWidget = () => {
|
|
@@ -4,9 +4,9 @@ const require_AiSearchThin = require('../packages/icons/dist/AiSearchThin.cjs');
|
|
|
4
4
|
let react = require("react");
|
|
5
5
|
react = require_rolldown_runtime.__toESM(react);
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
let __envive_ai_react_toolkit_Typography = require("@envive-ai/react-toolkit/Typography");
|
|
8
7
|
let classnames = require("classnames");
|
|
9
8
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
9
|
+
let __envive_ai_react_toolkit_Typography = require("@envive-ai/react-toolkit/Typography");
|
|
10
10
|
|
|
11
11
|
//#region src/SearchZeroState/SearchIcon.tsx
|
|
12
12
|
const SEARCH_ENTRYPOINT_BUTTON_TESTID = "spiffy-search-entrypoint-button";
|
|
@@ -2,8 +2,8 @@ import { AiSearchBold_default } from "../packages/icons/dist/AiSearchBold.js";
|
|
|
2
2
|
import { AiSearchThin_default } from "../packages/icons/dist/AiSearchThin.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { Typography } from "@envive-ai/react-toolkit/Typography";
|
|
6
5
|
import classNames from "classnames";
|
|
6
|
+
import { Typography } from "@envive-ai/react-toolkit/Typography";
|
|
7
7
|
|
|
8
8
|
//#region src/SearchZeroState/SearchIcon.tsx
|
|
9
9
|
const SEARCH_ENTRYPOINT_BUTTON_TESTID = "spiffy-search-entrypoint-button";
|
|
@@ -12,8 +12,8 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
12
12
|
let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
|
|
13
13
|
let framer_motion = require("framer-motion");
|
|
14
14
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
15
|
-
let __envive_ai_react_hooks_hooks_AmplitudeOperations = require("@envive-ai/react-hooks/hooks/AmplitudeOperations");
|
|
16
15
|
let __envive_ai_react_hooks_hooks_Search = require("@envive-ai/react-hooks/hooks/Search");
|
|
16
|
+
let __envive_ai_react_hooks_hooks_AmplitudeOperations = require("@envive-ai/react-hooks/hooks/AmplitudeOperations");
|
|
17
17
|
let __envive_ai_react_hooks_types = require("@envive-ai/react-hooks/types");
|
|
18
18
|
let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
|
|
19
19
|
let __envive_ai_react_toolkit_SearchInputForm = require("@envive-ai/react-toolkit/SearchInputForm");
|
|
@@ -10,8 +10,8 @@ import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
|
10
10
|
import { MessageType, SpiffyWidgets } from "@envive-ai/react-hooks/application/models";
|
|
11
11
|
import { AnimatePresence, motion } from "framer-motion";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { useAmplitudeTracking } from "@envive-ai/react-hooks/hooks/AmplitudeOperations";
|
|
14
13
|
import { useSearch } from "@envive-ai/react-hooks/hooks/Search";
|
|
14
|
+
import { useAmplitudeTracking } from "@envive-ai/react-hooks/hooks/AmplitudeOperations";
|
|
15
15
|
import { SuggestionBarLocationForMetrics } from "@envive-ai/react-hooks/types";
|
|
16
16
|
import { SpiffyMetricsEventName } from "@envive-ai/react-hooks/contexts/amplitudeContext";
|
|
17
17
|
import { SearchInputForm } from "@envive-ai/react-toolkit/SearchInputForm";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/SearchZeroState/SearchZeroStateWidget.d.ts
|
|
4
4
|
type SearchZeroStateWidgetProps = {
|
|
@@ -10,6 +10,6 @@ declare const SearchZeroStateWidget: ({
|
|
|
10
10
|
initialIsOpen,
|
|
11
11
|
widgetConfigId,
|
|
12
12
|
entryPointRef
|
|
13
|
-
}: SearchZeroStateWidgetProps) =>
|
|
13
|
+
}: SearchZeroStateWidgetProps) => react_jsx_runtime3.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchZeroStateWidget };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/SearchZeroState/SearchZeroStateWidget.d.ts
|
|
4
4
|
type SearchZeroStateWidgetProps = {
|
|
@@ -10,6 +10,6 @@ declare const SearchZeroStateWidget: ({
|
|
|
10
10
|
initialIsOpen,
|
|
11
11
|
widgetConfigId,
|
|
12
12
|
entryPointRef
|
|
13
|
-
}: SearchZeroStateWidgetProps) =>
|
|
13
|
+
}: SearchZeroStateWidgetProps) => react_jsx_runtime2.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchZeroStateWidget };
|
|
@@ -2,11 +2,11 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
|
|
3
3
|
let framer_motion = require("framer-motion");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let classnames = require("classnames");
|
|
6
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
5
7
|
let __envive_ai_react_hooks_hooks_AmplitudeOperations = require("@envive-ai/react-hooks/hooks/AmplitudeOperations");
|
|
6
8
|
let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
|
|
7
9
|
let __envive_ai_react_toolkit_Typography = require("@envive-ai/react-toolkit/Typography");
|
|
8
|
-
let classnames = require("classnames");
|
|
9
|
-
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
10
10
|
let __envive_ai_react_toolkit_ProductGrid = require("@envive-ai/react-toolkit/ProductGrid");
|
|
11
11
|
|
|
12
12
|
//#region src/SearchZeroState/components/RecommendedProducts.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChatElementDisplayLocation } from "@envive-ai/react-hooks/application/models";
|
|
2
2
|
import { motion } from "framer-motion";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
4
5
|
import { useAmplitudeTracking } from "@envive-ai/react-hooks/hooks/AmplitudeOperations";
|
|
5
6
|
import { SpiffyMetricsEventName } from "@envive-ai/react-hooks/contexts/amplitudeContext";
|
|
6
7
|
import { Typography } from "@envive-ai/react-toolkit/Typography";
|
|
7
|
-
import classNames from "classnames";
|
|
8
8
|
import { ProductGrid } from "@envive-ai/react-toolkit/ProductGrid";
|
|
9
9
|
|
|
10
10
|
//#region src/SearchZeroState/components/RecommendedProducts.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionBarLocationForMetrics } from "./types.cjs";
|
|
2
|
-
import * as
|
|
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
|
|
|
@@ -29,6 +29,6 @@ declare function SuggestionBar({
|
|
|
29
29
|
buttonBorderRadius,
|
|
30
30
|
handleReply,
|
|
31
31
|
dataTestId
|
|
32
|
-
}: Readonly<SuggestionBarProps>):
|
|
32
|
+
}: Readonly<SuggestionBarProps>): react_jsx_runtime0.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { SuggestionBar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionBarLocationForMetrics } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
import { SuggestionButtonVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
4
4
|
import { Message } from "postcss";
|
|
5
5
|
|
|
@@ -29,6 +29,6 @@ declare function SuggestionBar({
|
|
|
29
29
|
buttonBorderRadius,
|
|
30
30
|
handleReply,
|
|
31
31
|
dataTestId
|
|
32
|
-
}: Readonly<SuggestionBarProps>):
|
|
32
|
+
}: Readonly<SuggestionBarProps>): react_jsx_runtime3.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { SuggestionBar };
|