@envive-ai/react-toolkit 0.2.12 → 0.2.13-arthur-1
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/{Accordion-D8Vm8J1y.js → Accordion-8zFBEEaN.js} +21 -2
- package/dist/{Accordion-B0TzPN3m.cjs → Accordion-DPUaEXiE.cjs} +21 -3
- package/dist/FourPointStar-3DqnYmfN.js +21 -0
- package/dist/FourPointStar-AQ9OSu0S.cjs +26 -0
- package/dist/{ModalSheet-DVrY7Mw0.js → ModalSheet-C5f5abw1.js} +1 -1
- package/dist/{ModalSheet-Be7-bkXK.cjs → ModalSheet-JZerJZ1T.cjs} +1 -1
- package/dist/OutlinedStar-CC0V_jAK.cjs +26 -0
- package/dist/OutlinedStar-WWs3gRwt.js +21 -0
- package/dist/{ProductCard-BeY85PBf.cjs → ProductCard-C7rZyWpj.cjs} +2 -2
- package/dist/{ProductCard-BoyYu6mI.js → ProductCard-GxpFxjh0.js} +2 -2
- package/dist/{ProductGrid-CxKK7w_X.cjs → ProductGrid-0A8vml2y.cjs} +1 -1
- package/dist/{ProductGrid-DmtSXfyE.js → ProductGrid-DAwc9dKV.js} +1 -1
- package/dist/{RadioButtonGroup-BnnMx8sE.cjs → RadioButtonGroup-ByzTXNAb.cjs} +1 -1
- package/dist/{RadioButtonGroup-hme7gSiQ.js → RadioButtonGroup-YQIxmR7j.js} +1 -1
- package/dist/{RecommendedProducts-LalI8aVC.js → RecommendedProducts-C6dLpLPP.js} +1 -1
- package/dist/{RecommendedProducts-C2eNVrLo.cjs → RecommendedProducts-qkPxXVJn.cjs} +1 -1
- package/dist/{SearchAutocomplete-A3HXkHwK.cjs → SearchAutocomplete-BdTWETDB.cjs} +2 -3
- package/dist/{SearchAutocomplete-Rza3A-gs.js → SearchAutocomplete-DNe193EV.js} +2 -2
- package/dist/{SearchFilter-DxrQOLx0.cjs → SearchFilter-BRtCSuAn.cjs} +5 -5
- package/dist/{SearchFilter-CYY5sNXV.js → SearchFilter-DvJx0b0W.js} +5 -5
- package/dist/{SearchInput-3ppsm2Ke.cjs → SearchInput-CImlqrau.cjs} +62 -8
- package/dist/{SearchInput-DE9Iz7A8.js → SearchInput-kLhxkpgq.js} +62 -6
- package/dist/{SearchInputForm-DrI4WHDt.js → SearchInputForm-CFm_hUvX.js} +5 -4
- package/dist/{SearchInputForm-CZz62rOX.cjs → SearchInputForm-ZgNNEX6E.cjs} +5 -4
- package/dist/SearchResultsFilterButton-D929tRt9.cjs +96 -0
- package/dist/SearchResultsFilterButton-Dk7u7rgn.js +90 -0
- package/dist/{SearchResultsFilterSidebar-Dgz98oyD.cjs → SearchResultsFilterSidebar-BRFONIEq.cjs} +3 -3
- package/dist/{SearchResultsFilterSidebar-Bvpk7Uoo.js → SearchResultsFilterSidebar-DLzQoFGD.js} +3 -3
- package/dist/{SearchResultsStates-D37wFr9h.cjs → SearchResultsStates-CQR5Il4l.cjs} +47 -9
- package/dist/{SearchResultsStates-DrGtw0pM.js → SearchResultsStates-D7HfsLeZ.js} +47 -8
- package/dist/{SparkleAnimation-B5A_NCuy.cjs → SparkleAnimation-BikAiAmb.cjs} +4 -5
- package/dist/{SparkleAnimation-BSI_34HX.js → SparkleAnimation-szzXiTam.js} +4 -4
- package/dist/components/Accordion/{index-BPofgdcd.d.cts → index-D_7-KJa0.d.cts} +2 -2
- package/dist/components/Accordion/{index-DBEaF9x5.d.ts → index-Dd_9XeqA.d.ts} +2 -2
- package/dist/components/Accordion/index.cjs +2 -1
- package/dist/components/Accordion/index.js +2 -1
- package/dist/components/AnimatedChevron/{index-Bvff3AGS.d.ts → index-DZdGWikh.d.ts} +2 -2
- package/dist/components/AnimatedChevron/index.cjs +1 -1
- package/dist/components/AnimatedChevron/index.js +1 -1
- package/dist/components/AppliedFiltersScrollbar/{index-BKNoroAl.d.ts → index-Dcyc-5Bv.d.ts} +2 -2
- package/dist/components/AppliedFiltersScrollbar/{index-DADY550R.d.cts → index-VbXAIfym.d.cts} +2 -2
- package/dist/components/ButtonBase/{index-BCw2WQ-2.d.ts → index-Bxdhf_O8.d.cts} +3 -3
- package/dist/components/ButtonBase/{index-pBSmWoqg.d.cts → index-VoanK6Pr.d.ts} +3 -3
- package/dist/components/ButtonBase/index.cjs +2 -2
- package/dist/components/ButtonBase/index.js +2 -2
- package/dist/components/DynamicFiltersScrollbar/{index-X--ALCSa.d.cts → index-CHzxQmaW.d.cts} +2 -2
- package/dist/components/DynamicFiltersScrollbar/{index-BvAT64cX.d.ts → index-vVNOOaOF.d.ts} +2 -2
- package/dist/components/FilterScrollbar/{index-DgxXE1ff.d.cts → index-DXcZLcQi.d.cts} +3 -3
- package/dist/components/FilterScrollbar/{index-xlg1Q06Q.d.ts → index-DwLyxqQl.d.ts} +3 -3
- package/dist/components/FilterScrollbar/index.cjs +1 -1
- package/dist/components/FilterScrollbar/index.js +1 -1
- package/dist/components/ImageWithFallback/{index-C8Fqb7AQ.d.cts → index-BLbkDyG8.d.cts} +2 -2
- package/dist/components/ImageWithFallback/{index-yxDWrUCQ.d.ts → index-NJZsMOXc.d.ts} +2 -2
- package/dist/components/ImageWithFallback/index.cjs +1 -1
- package/dist/components/ImageWithFallback/index.js +1 -1
- package/dist/components/ModalSheet/{index-Cp_h5dbe.d.ts → index-B5q4MHdq.d.cts} +2 -2
- package/dist/components/ModalSheet/{index-Dnt-aUte.d.cts → index-BN20-QS0.d.ts} +2 -2
- package/dist/components/ModalSheet/index.cjs +2 -2
- package/dist/components/ModalSheet/index.js +2 -2
- package/dist/components/ProductCard/{index-BF8pv46P.d.ts → index-CglXQ3wh.d.ts} +1 -1
- package/dist/components/ProductCard/{index-C6TLdXjC.d.cts → index-XVlN6iMl.d.cts} +1 -1
- package/dist/components/ProductCard/index.cjs +3 -3
- package/dist/components/ProductCard/index.js +3 -3
- package/dist/components/ProductGrid/{index-B1eVXjB4.d.cts → index-BPBgwFsa.d.cts} +3 -3
- package/dist/components/ProductGrid/{index-CyDy1V6o.d.ts → index-D_YpwJCd.d.ts} +3 -3
- package/dist/components/ProductGrid/index.cjs +4 -4
- package/dist/components/ProductGrid/index.js +4 -4
- package/dist/components/RadioButton/{index-BHl3dM6k.d.cts → index-BeOT_AlW.d.cts} +2 -2
- package/dist/components/RadioButton/{index-BZrcz8-J.d.ts → index-CxluCaJw.d.ts} +2 -2
- package/dist/components/RadioButton/index.cjs +1 -1
- package/dist/components/RadioButton/index.js +1 -1
- package/dist/components/RadioButtonGroup/{index-DtdjcXo-.d.cts → index-BOhV-rG3.d.cts} +2 -2
- package/dist/components/RadioButtonGroup/{index-DdyMuFCX.d.ts → index-KeOIiYNW.d.ts} +2 -2
- package/dist/components/RadioButtonGroup/index.cjs +2 -2
- package/dist/components/RadioButtonGroup/index.js +2 -2
- package/dist/components/RecommendedProducts/index.cjs +5 -5
- package/dist/components/RecommendedProducts/index.js +5 -5
- package/dist/components/SearchAutocomplete/{index-Ce9gkkbU.d.cts → index-BcnHcv7Q.d.cts} +2 -2
- package/dist/components/SearchAutocomplete/index.cjs +3 -1
- package/dist/components/SearchAutocomplete/index.js +3 -1
- package/dist/components/SearchFilter/{index-VygXUBM9.d.ts → index-BbIqmoO8.d.ts} +5 -5
- package/dist/components/SearchFilter/{index-DAR4UKSA.d.cts → index-DAL3Wl6U.d.cts} +5 -5
- package/dist/components/SearchFilter/index.cjs +10 -9
- package/dist/components/SearchFilter/index.js +10 -9
- package/dist/components/SearchInput/{index-UY0W77Y0.d.ts → index-C0H51Flv.d.ts} +2 -2
- package/dist/components/SearchInput/index.cjs +4 -3
- package/dist/components/SearchInput/index.js +4 -3
- package/dist/components/SearchInputForm/{index-_sR_KugL.d.ts → index-Cleto06d.d.cts} +6 -4
- package/dist/components/SearchInputForm/{index-dlLBivQA.d.cts → index-DjjoY7MQ.d.ts} +4 -2
- package/dist/components/SearchInputForm/index.cjs +7 -5
- package/dist/components/SearchInputForm/index.js +7 -5
- package/dist/components/SearchResultsContent/{index-CayvNVCK.d.cts → index-C4qsTFUd.d.cts} +2 -2
- package/dist/components/SearchResultsContent/{index-B_6-7-t-.d.ts → index-KdFf9yzs.d.ts} +4 -4
- package/dist/components/SearchResultsContent/index.cjs +12 -10
- package/dist/components/SearchResultsContent/index.js +12 -10
- package/dist/components/SearchResultsFilterButton/{index-D_u8PzTc.d.cts → index-BvntKdyC.d.ts} +2 -2
- package/dist/components/SearchResultsFilterButton/{index-DuTGqa7-.d.ts → index-zgQsT6vz.d.cts} +2 -2
- package/dist/components/SearchResultsFilterButton/index.cjs +4 -3
- package/dist/components/SearchResultsFilterButton/index.js +4 -3
- package/dist/components/SearchResultsFilterModal/{index-BNZEJiXR.d.cts → index-CNBQ1ikL.d.ts} +3 -3
- package/dist/components/SearchResultsFilterModal/{index-CXBAA2-F.d.ts → index-mRcnKysU.d.cts} +3 -3
- package/dist/components/SearchResultsFilterModal/index.cjs +13 -12
- package/dist/components/SearchResultsFilterModal/index.js +13 -12
- package/dist/components/SearchResultsFilterSidebar/{index-BDcl27l4.d.ts → index-C7PE9z5a.d.ts} +1 -1
- package/dist/components/SearchResultsFilterSidebar/{index-DgPB1knO.d.cts → index-DKzEKFV3.d.cts} +1 -1
- package/dist/components/SearchResultsFilterSidebar/index.cjs +13 -12
- package/dist/components/SearchResultsFilterSidebar/index.js +13 -12
- package/dist/components/SearchResultsStates/{index-DJaUfKjE.d.ts → index-Dugoegtn.d.ts} +6 -6
- package/dist/components/SearchResultsStates/{index-CjYl1v-v.d.cts → index-RVgPTFiH.d.cts} +2 -2
- package/dist/components/SearchResultsStates/index.cjs +12 -10
- package/dist/components/SearchResultsStates/index.js +12 -10
- package/dist/components/SearchResultsToolbar/{index-tAB6lEUm.d.ts → index-CIvuccni.d.ts} +2 -2
- package/dist/components/SearchResultsToolbar/{index-CVstdvRQ.d.cts → index-PYr086HM.d.cts} +2 -2
- package/dist/components/SearchResultsToolbar/index.cjs +10 -8
- package/dist/components/SearchResultsToolbar/index.js +10 -8
- package/dist/components/SparkleAnimation/{index-BQOC3G_6.d.cts → index-BFqUibyY.d.ts} +2 -2
- package/dist/components/SparkleAnimation/{index-DjRK3Dys.d.ts → index-CSBR76H5.d.cts} +2 -2
- package/dist/components/SparkleAnimation/index.cjs +3 -1
- package/dist/components/SparkleAnimation/index.js +3 -1
- package/dist/components/Spinner/{index-CIr1izou.d.ts → index-DrYhRG9D.d.cts} +2 -2
- package/dist/components/Spinner/{index-C0pGovHC.d.cts → index-TKsPifGM.d.ts} +2 -2
- package/dist/components/Spinner/index.cjs +1 -1
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/SuggestionButton/{index-D6_y1hTj.d.ts → index-BioM3QHW.d.ts} +2 -2
- package/dist/components/SuggestionButton/{index-B4J70IPS.d.cts → index-CjV6Ar4Y.d.cts} +2 -2
- package/dist/components/SuggestionButton/index.cjs +6 -7
- package/dist/components/SuggestionButton/index.js +6 -5
- package/dist/components/TextInput/{index-CkQtHiR9.d.ts → index-DAhxej1K.d.ts} +2 -2
- package/dist/components/TextInput/index.cjs +1 -1
- package/dist/components/TextInput/index.js +1 -1
- package/dist/components/ToggleButton/{index-Dc-cs_tK.d.ts → index-eLDrp4ic.d.cts} +2 -2
- package/dist/components/ToggleButton/{index-B2rBwaVX.d.cts → index-pFQuGdoj.d.ts} +2 -2
- package/dist/components/ToggleButton/index.cjs +1 -1
- package/dist/components/ToggleButton/index.js +1 -1
- package/dist/components/Typography/{index-DE1Nhjra.d.ts → index-ymH7f3jB.d.ts} +2 -2
- package/dist/{index-CqfgJHj8.d.cts → index-BCBtAzCc.d.ts} +5 -5
- package/dist/{index-8cIrhPDk.d.ts → index-BiKhzraQ.d.cts} +2 -2
- package/dist/{index-Cz6qxTZG.d.ts → index-CzbumwVZ.d.cts} +5 -5
- package/dist/{index-BKYA7uMB.d.cts → index-DK0xpfMg.d.ts} +2 -2
- package/dist/{index-Cr8VXccr.d.ts → index-DXGw5Z56.d.ts} +1 -1
- package/dist/jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs +2586 -0
- package/dist/jsx-runtime-Dg2m6dxZ-CU_SzTu4.js +2580 -0
- package/dist/{searchFilterSidebarVariants-C61Byr1S.cjs → searchFilterSidebarVariants-CjyRGKK_.cjs} +1 -1
- package/dist/{searchFilterSidebarVariants-DcwlBfvY.js → searchFilterSidebarVariants-gkgkflXx.js} +1 -1
- package/package.json +2 -2
- package/src/components/SearchInputForm/SearchInputForm.tsx +3 -0
- package/dist/SearchResultsFilterButton-BedTofz5.cjs +0 -29
- package/dist/SearchResultsFilterButton-CV11UTGi.js +0 -22
- /package/dist/{AnimatedChevron-9xf90bpP.cjs → AnimatedChevron-CPW5KPLr.cjs} +0 -0
- /package/dist/{AnimatedChevron-DghLnmlM.js → AnimatedChevron-DO_jcnJg.js} +0 -0
- /package/dist/{ButtonBase-BMEAmPnS.cjs → ButtonBase-C44g6llb.cjs} +0 -0
- /package/dist/{ButtonBase-BIXx56hq.cjs → ButtonBase-Cb6Iec6f.cjs} +0 -0
- /package/dist/{ButtonBase-CT397aT3.js → ButtonBase-Cjo-fBg2.js} +0 -0
- /package/dist/{ButtonBase-C9fn-c5h.js → ButtonBase-D2eXuapk.js} +0 -0
- /package/dist/{DynamicFiltersScrollbar-DqIydLJu.cjs → DynamicFiltersScrollbar-IO886VXD.cjs} +0 -0
- /package/dist/{DynamicFiltersScrollbar-CibstqNd.js → DynamicFiltersScrollbar-s5yfmMau.js} +0 -0
- /package/dist/{ImageWithFallback-CuPe6XF6.cjs → ImageWithFallback-C-ZQn7tR.cjs} +0 -0
- /package/dist/{ImageWithFallback-_QZT0EKI.js → ImageWithFallback-DjDNefaG.js} +0 -0
- /package/dist/{RadioButton-Bm0qK3bX.js → RadioButton-DOc8g47U.js} +0 -0
- /package/dist/{RadioButton-Dcdj8pNp.cjs → RadioButton-DpF1wymL.cjs} +0 -0
- /package/dist/{Spinner-FQpy5bGu.cjs → Spinner-7HblFCja.cjs} +0 -0
- /package/dist/{Spinner-CDDFWySo.js → Spinner-OFbXMms8.js} +0 -0
- /package/dist/{TextInput-Do5-j1V_.cjs → TextInput-CaynCoDf.cjs} +0 -0
- /package/dist/{TextInput-PtrUXoZo.js → TextInput-CsdOvLBQ.js} +0 -0
- /package/dist/{ToggleButton-BTz_zIdc.js → ToggleButton-D8--AKKK.js} +0 -0
- /package/dist/{ToggleButton-CmxTz-ou.cjs → ToggleButton-Dxk3U1hR.cjs} +0 -0
- /package/dist/{colorsConfig-BjdoRtRK.js → colorsConfig-CFI1KN8R.js} +0 -0
- /package/dist/{colorsConfig-D-MZuBvt.cjs → colorsConfig-Dp7w5LPb.cjs} +0 -0
- /package/dist/{types-CQpdBL3M.d.ts → types-D6fl4HOx.d.ts} +0 -0
- /package/dist/{typographyVariantClasses-CrT5OfVw.d.ts → typographyVariantClasses-_oNpv-aN.d.ts} +0 -0
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
2
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
3
|
import { useRef, useState } from "react";
|
|
3
4
|
import { motion } from "framer-motion";
|
|
4
5
|
import classNames from "classnames";
|
|
5
|
-
import ChevronDown from "@envive-ai/react-icons/ChevronDown";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
|
+
//#region ../icons/dist/ChevronDown.js
|
|
9
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
10
|
+
const SvgChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
11
|
+
width: 24,
|
|
12
|
+
height: 24,
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M5.46783 10.4697C5.76072 10.1768 6.2356 10.1768 6.52849 10.4697L11.655 15.5962L16.7815 10.4697C17.0744 10.1768 17.5493 10.1768 17.8422 10.4697C18.1351 10.7626 18.1351 11.2374 17.8422 11.5303L11.655 17.7175L5.46783 11.5303C5.17494 11.2374 5.17494 10.7626 5.46783 10.4697Z",
|
|
21
|
+
fill: "#222222"
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
var ChevronDown_default = SvgChevronDown;
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
8
27
|
//#region src/components/Accordion/Accordion.tsx
|
|
9
28
|
const ANIMATION_DURATION = .3;
|
|
10
29
|
const Accordion = ({ title, content }) => {
|
|
@@ -46,7 +65,7 @@ const Accordion = ({ title, content }) => {
|
|
|
46
65
|
duration: ANIMATION_DURATION,
|
|
47
66
|
ease: "easeOut"
|
|
48
67
|
},
|
|
49
|
-
children: /* @__PURE__ */ jsx(
|
|
68
|
+
children: /* @__PURE__ */ jsx(ChevronDown_default, {})
|
|
50
69
|
})]
|
|
51
70
|
}), /* @__PURE__ */ jsx(motion.div, {
|
|
52
71
|
variants: {
|
|
@@ -1,13 +1,31 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
3
4
|
let react = require("react");
|
|
4
5
|
let framer_motion = require("framer-motion");
|
|
5
6
|
let classnames = require("classnames");
|
|
6
7
|
classnames = require_chunk.__toESM(classnames);
|
|
7
|
-
let __envive_ai_react_icons_ChevronDown = require("@envive-ai/react-icons/ChevronDown");
|
|
8
|
-
__envive_ai_react_icons_ChevronDown = require_chunk.__toESM(__envive_ai_react_icons_ChevronDown);
|
|
9
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
9
|
|
|
10
|
+
//#region ../icons/dist/ChevronDown.js
|
|
11
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
12
|
+
const SvgChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
13
|
+
width: 24,
|
|
14
|
+
height: 24,
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
clipRule: "evenodd",
|
|
22
|
+
d: "M5.46783 10.4697C5.76072 10.1768 6.2356 10.1768 6.52849 10.4697L11.655 15.5962L16.7815 10.4697C17.0744 10.1768 17.5493 10.1768 17.8422 10.4697C18.1351 10.7626 18.1351 11.2374 17.8422 11.5303L11.655 17.7175L5.46783 11.5303C5.17494 11.2374 5.17494 10.7626 5.46783 10.4697Z",
|
|
23
|
+
fill: "#222222"
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
var ChevronDown_default = SvgChevronDown;
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
11
29
|
//#region src/components/Accordion/Accordion.tsx
|
|
12
30
|
const ANIMATION_DURATION = .3;
|
|
13
31
|
const Accordion = ({ title, content }) => {
|
|
@@ -49,7 +67,7 @@ const Accordion = ({ title, content }) => {
|
|
|
49
67
|
duration: ANIMATION_DURATION,
|
|
50
68
|
ease: "easeOut"
|
|
51
69
|
},
|
|
52
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
70
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChevronDown_default, {})
|
|
53
71
|
})]
|
|
54
72
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
55
73
|
variants: {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/FourPointStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
5
|
+
const SvgFourPointStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 13,
|
|
7
|
+
height: 12,
|
|
8
|
+
viewBox: "0 0 13 12",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
12
|
+
d: "M6.45324 0.546875L7.50401 3.27887C7.67488 3.72314 7.76032 3.94528 7.89318 4.13213C8.01094 4.29774 8.15563 4.44242 8.32123 4.56018C8.50808 4.69304 8.73023 4.77848 9.1745 4.94935L11.9065 6.00012L9.1745 7.05089C8.73023 7.22176 8.50808 7.3072 8.32123 7.44006C8.15563 7.55782 8.01094 7.7025 7.89318 7.86811C7.76032 8.05496 7.67488 8.2771 7.50401 8.72138L6.45324 11.4534L5.40248 8.72138C5.2316 8.2771 5.14616 8.05496 5.0133 7.86811C4.89555 7.7025 4.75086 7.55782 4.58526 7.44006C4.3984 7.3072 4.17627 7.22176 3.73199 7.05089L1 6.00012L3.73199 4.94935C4.17627 4.77848 4.3984 4.69304 4.58526 4.56018C4.75086 4.44242 4.89555 4.29774 5.0133 4.13213C5.14616 3.94528 5.2316 3.72314 5.40248 3.27887L6.45324 0.546875Z",
|
|
13
|
+
strokeWidth: .908874,
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var FourPointStar_default = SvgFourPointStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { FourPointStar_default as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/FourPointStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
5
|
+
const SvgFourPointStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 13,
|
|
7
|
+
height: 12,
|
|
8
|
+
viewBox: "0 0 13 12",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
12
|
+
d: "M6.45324 0.546875L7.50401 3.27887C7.67488 3.72314 7.76032 3.94528 7.89318 4.13213C8.01094 4.29774 8.15563 4.44242 8.32123 4.56018C8.50808 4.69304 8.73023 4.77848 9.1745 4.94935L11.9065 6.00012L9.1745 7.05089C8.73023 7.22176 8.50808 7.3072 8.32123 7.44006C8.15563 7.55782 8.01094 7.7025 7.89318 7.86811C7.76032 8.05496 7.67488 8.2771 7.50401 8.72138L6.45324 11.4534L5.40248 8.72138C5.2316 8.2771 5.14616 8.05496 5.0133 7.86811C4.89555 7.7025 4.75086 7.55782 4.58526 7.44006C4.3984 7.3072 4.17627 7.22176 3.73199 7.05089L1 6.00012L3.73199 4.94935C4.17627 4.77848 4.3984 4.69304 4.58526 4.56018C4.75086 4.44242 4.89555 4.29774 5.0133 4.13213C5.14616 3.94528 5.2316 3.72314 5.40248 3.27887L6.45324 0.546875Z",
|
|
13
|
+
strokeWidth: .908874,
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var FourPointStar_default = SvgFourPointStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'FourPointStar_default', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return FourPointStar_default;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AnimatedChevron } from "./AnimatedChevron-
|
|
1
|
+
import { t as AnimatedChevron } from "./AnimatedChevron-DO_jcnJg.js";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import { motion, useMotionValue } from "framer-motion";
|
|
4
4
|
import classNames from "classnames";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_AnimatedChevron = require('./AnimatedChevron-
|
|
2
|
+
const require_AnimatedChevron = require('./AnimatedChevron-CPW5KPLr.cjs');
|
|
3
3
|
let react = require("react");
|
|
4
4
|
let framer_motion = require("framer-motion");
|
|
5
5
|
let classnames = require("classnames");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/OutlinedStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
5
|
+
const SvgOutlinedStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 10,
|
|
7
|
+
height: 10,
|
|
8
|
+
viewBox: "0 0 10 10",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
13
|
+
d: "M5 1L5.30785 2.36664C5.56897 3.52576 6.4742 4.43104 7.63336 4.69216L9 5L7.63336 5.30784C6.4742 5.56896 5.56897 6.47416 5.30785 7.63336L5 9L4.69215 7.63336C4.43103 6.47416 3.5258 5.56896 2.36662 5.30784L1 5L2.36662 4.69216C3.5258 4.43104 4.43103 3.52584 4.69215 2.36664L5 1Z",
|
|
14
|
+
strokeWidth: .75,
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var OutlinedStar_default = SvgOutlinedStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'OutlinedStar_default', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return OutlinedStar_default;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/OutlinedStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
5
|
+
const SvgOutlinedStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 10,
|
|
7
|
+
height: 10,
|
|
8
|
+
viewBox: "0 0 10 10",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
13
|
+
d: "M5 1L5.30785 2.36664C5.56897 3.52576 6.4742 4.43104 7.63336 4.69216L9 5L7.63336 5.30784C6.4742 5.56896 5.56897 6.47416 5.30785 7.63336L5 9L4.69215 7.63336C4.43103 6.47416 3.5258 5.56896 2.36662 5.30784L1 5L2.36662 4.69216C3.5258 4.43104 4.43103 3.52584 4.69215 2.36664L5 1Z",
|
|
14
|
+
strokeWidth: .75,
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var OutlinedStar_default = SvgOutlinedStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { OutlinedStar_default as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_formatPrice = require('./formatPrice-CyfkjZ3R.cjs');
|
|
3
3
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
4
|
-
const require_ImageWithFallback = require('./ImageWithFallback-
|
|
5
|
-
const require_Spinner = require('./Spinner-
|
|
4
|
+
const require_ImageWithFallback = require('./ImageWithFallback-C-ZQn7tR.cjs');
|
|
5
|
+
const require_Spinner = require('./Spinner-7HblFCja.cjs');
|
|
6
6
|
let classnames = require("classnames");
|
|
7
7
|
classnames = require_chunk.__toESM(classnames);
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as formatPrice } from "./formatPrice-DexQu2aZ.js";
|
|
2
2
|
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
3
|
-
import { t as ImageWithFallback } from "./ImageWithFallback-
|
|
4
|
-
import { t as Spinner } from "./Spinner-
|
|
3
|
+
import { t as ImageWithFallback } from "./ImageWithFallback-DjDNefaG.js";
|
|
4
|
+
import { t as Spinner } from "./Spinner-OFbXMms8.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { MdStar } from "react-icons/md";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_ProductCard = require('./ProductCard-
|
|
2
|
+
const require_ProductCard = require('./ProductCard-C7rZyWpj.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_RadioButton = require('./RadioButton-
|
|
2
|
+
const require_RadioButton = require('./RadioButton-DpF1wymL.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
2
|
-
import { t as ProductGrid } from "./ProductGrid-
|
|
2
|
+
import { t as ProductGrid } from "./ProductGrid-DAwc9dKV.js";
|
|
3
3
|
import { motion } from "framer-motion";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
const require_ProductGrid = require('./ProductGrid-
|
|
3
|
+
const require_ProductGrid = require('./ProductGrid-0A8vml2y.cjs');
|
|
4
4
|
let framer_motion = require("framer-motion");
|
|
5
5
|
let classnames = require("classnames");
|
|
6
6
|
classnames = require_chunk.__toESM(classnames);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
+
const require_OutlinedStar = require('./OutlinedStar-CC0V_jAK.cjs');
|
|
3
4
|
let react = require("react");
|
|
4
5
|
react = require_chunk.__toESM(react);
|
|
5
6
|
let framer_motion = require("framer-motion");
|
|
6
7
|
let classnames = require("classnames");
|
|
7
8
|
classnames = require_chunk.__toESM(classnames);
|
|
8
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
let __envive_ai_react_icons_OutlinedStar = require("@envive-ai/react-icons/OutlinedStar");
|
|
10
|
-
__envive_ai_react_icons_OutlinedStar = require_chunk.__toESM(__envive_ai_react_icons_OutlinedStar);
|
|
11
10
|
|
|
12
11
|
//#region src/components/SearchAutocomplete/SearchAutocomplete.tsx
|
|
13
12
|
const SearchAutocomplete = ({ id, results, focusedIndex, searchText = "", onSuggestionSelect, iconColor }) => {
|
|
@@ -59,7 +58,7 @@ const SearchAutocomplete = ({ id, results, focusedIndex, searchText = "", onSugg
|
|
|
59
58
|
onKeyDown: (event) => {
|
|
60
59
|
if (event.key === "Enter" || event.keyCode === 13) onSuggestionSelect(result, index);
|
|
61
60
|
},
|
|
62
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
61
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_OutlinedStar.OutlinedStar_default, {
|
|
63
62
|
className: "spiffy-tw-w-[16px] spiffy-tw-h-[16px] spiffy-tw-mr-[16px]",
|
|
64
63
|
fill: iconColor
|
|
65
64
|
}), highlightMatchingText(result, searchText)]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
2
|
+
import { t as OutlinedStar_default } from "./OutlinedStar-WWs3gRwt.js";
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { motion } from "framer-motion";
|
|
4
5
|
import classNames from "classnames";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import OutlinedStar from "@envive-ai/react-icons/OutlinedStar";
|
|
7
7
|
|
|
8
8
|
//#region src/components/SearchAutocomplete/SearchAutocomplete.tsx
|
|
9
9
|
const SearchAutocomplete = ({ id, results, focusedIndex, searchText = "", onSuggestionSelect, iconColor }) => {
|
|
@@ -55,7 +55,7 @@ const SearchAutocomplete = ({ id, results, focusedIndex, searchText = "", onSugg
|
|
|
55
55
|
onKeyDown: (event) => {
|
|
56
56
|
if (event.key === "Enter" || event.keyCode === 13) onSuggestionSelect(result, index);
|
|
57
57
|
},
|
|
58
|
-
children: [/* @__PURE__ */ jsx(
|
|
58
|
+
children: [/* @__PURE__ */ jsx(OutlinedStar_default, {
|
|
59
59
|
className: "spiffy-tw-w-[16px] spiffy-tw-h-[16px] spiffy-tw-mr-[16px]",
|
|
60
60
|
fill: iconColor
|
|
61
61
|
}), highlightMatchingText(result, searchText)]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
const require_Accordion = require('./Accordion-
|
|
4
|
-
const require_ButtonBase = require('./ButtonBase-
|
|
5
|
-
const require_ModalSheet = require('./ModalSheet-
|
|
6
|
-
const require_RadioButtonGroup = require('./RadioButtonGroup-
|
|
7
|
-
const require_ToggleButton = require('./ToggleButton-
|
|
3
|
+
const require_Accordion = require('./Accordion-DPUaEXiE.cjs');
|
|
4
|
+
const require_ButtonBase = require('./ButtonBase-C44g6llb.cjs');
|
|
5
|
+
const require_ModalSheet = require('./ModalSheet-JZerJZ1T.cjs');
|
|
6
|
+
const require_RadioButtonGroup = require('./RadioButtonGroup-ByzTXNAb.cjs');
|
|
7
|
+
const require_ToggleButton = require('./ToggleButton-Dxk3U1hR.cjs');
|
|
8
8
|
let react = require("react");
|
|
9
9
|
let classnames = require("classnames");
|
|
10
10
|
classnames = require_chunk.__toESM(classnames);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
2
|
-
import { t as Accordion } from "./Accordion-
|
|
3
|
-
import { t as ButtonBase } from "./ButtonBase-
|
|
4
|
-
import { t as ModalSheet } from "./ModalSheet-
|
|
5
|
-
import { t as RadioButtonGroup } from "./RadioButtonGroup-
|
|
6
|
-
import { t as ToggleButton } from "./ToggleButton-
|
|
2
|
+
import { t as Accordion } from "./Accordion-8zFBEEaN.js";
|
|
3
|
+
import { t as ButtonBase } from "./ButtonBase-Cjo-fBg2.js";
|
|
4
|
+
import { t as ModalSheet } from "./ModalSheet-C5f5abw1.js";
|
|
5
|
+
import { t as RadioButtonGroup } from "./RadioButtonGroup-YQIxmR7j.js";
|
|
6
|
+
import { t as ToggleButton } from "./ToggleButton-D8--AKKK.js";
|
|
7
7
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
8
8
|
import classNames from "classnames";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,70 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
3
|
+
const require_TextInput = require('./TextInput-CaynCoDf.cjs');
|
|
4
|
+
const require_colorsConfig = require('./colorsConfig-Dp7w5LPb.cjs');
|
|
4
5
|
let react = require("react");
|
|
5
6
|
react = require_chunk.__toESM(react);
|
|
6
7
|
let classnames = require("classnames");
|
|
7
8
|
classnames = require_chunk.__toESM(classnames);
|
|
8
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
let __envive_ai_react_icons_MagnifyingGlassStarVariant = require("@envive-ai/react-icons/MagnifyingGlassStarVariant");
|
|
10
|
-
__envive_ai_react_icons_MagnifyingGlassStarVariant = require_chunk.__toESM(__envive_ai_react_icons_MagnifyingGlassStarVariant);
|
|
11
|
-
let __envive_ai_react_icons_IconClose = require("@envive-ai/react-icons/IconClose");
|
|
12
|
-
__envive_ai_react_icons_IconClose = require_chunk.__toESM(__envive_ai_react_icons_IconClose);
|
|
13
10
|
|
|
11
|
+
//#region ../icons/dist/MagnifyingGlassStarVariant.js
|
|
12
|
+
var import_jsx_runtime$1 = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
13
|
+
const SvgMagnifyingGlassStarVariant = (props) => /* @__PURE__ */ (0, import_jsx_runtime$1.jsxs)("svg", {
|
|
14
|
+
width: 23,
|
|
15
|
+
height: 21,
|
|
16
|
+
viewBox: "0 0 23 21",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
...props,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
22
|
+
d: "M16.9017 1.07275L17.6915 3.12627C17.82 3.46022 17.8842 3.62719 17.984 3.76764C18.0726 3.89211 18.1813 4.00087 18.3058 4.08938C18.4462 4.18925 18.6132 4.25347 18.9472 4.38191L21.0007 5.17172L18.9472 5.96154C18.6132 6.08998 18.4462 6.1542 18.3058 6.25406C18.1813 6.34257 18.0726 6.45133 17.984 6.57581C17.8842 6.71625 17.82 6.88323 17.6915 7.21717L16.9017 9.27069L16.1119 7.21717C15.9834 6.88323 15.9192 6.71625 15.8194 6.57581C15.7308 6.45133 15.6221 6.34257 15.4976 6.25406C15.3572 6.1542 15.1902 6.08998 14.8563 5.96154L12.8027 5.17172L14.8563 4.38191C15.1902 4.25347 15.3572 4.18925 15.4976 4.08938C15.6221 4.00087 15.7308 3.89211 15.8194 3.76764C15.9192 3.62719 15.9834 3.46022 16.1119 3.12627L16.9017 1.07275Z",
|
|
23
|
+
fill: "#595959",
|
|
24
|
+
stroke: "#595959",
|
|
25
|
+
strokeWidth: .910882,
|
|
26
|
+
strokeLinecap: "round",
|
|
27
|
+
strokeLinejoin: "round"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
30
|
+
d: "M11.5954 2.64387C10.5786 1.97247 9.36711 1.56895 8.05921 1.53651C4.34389 1.44434 1.25732 4.38149 1.16515 8.09681C1.07299 11.8121 4.01013 14.8987 7.72546 14.9909C10.9196 15.0701 13.6491 12.9102 14.4105 9.94181",
|
|
31
|
+
stroke: "#595959",
|
|
32
|
+
strokeWidth: 1.5,
|
|
33
|
+
strokeLinecap: "round"
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
36
|
+
d: "M13.75 15.7759L16.9274 19.2557",
|
|
37
|
+
stroke: "#595959",
|
|
38
|
+
strokeWidth: 1.5,
|
|
39
|
+
strokeLinecap: "round"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
var MagnifyingGlassStarVariant_default = SvgMagnifyingGlassStarVariant;
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region ../icons/dist/IconClose.js
|
|
47
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
48
|
+
const SvgIconClose = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
49
|
+
width: 24,
|
|
50
|
+
height: 24,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
54
|
+
...props,
|
|
55
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
56
|
+
cx: 12,
|
|
57
|
+
cy: 12,
|
|
58
|
+
r: 12,
|
|
59
|
+
fill: "#FCFCF9"
|
|
60
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
61
|
+
d: "M16.167 6L11.5 10.667L6.833 6L5 7.833L9.667 12.5L5 17.167L6.833 19L11.5 14.333L16.167 19L18 17.167L13.333 12.5L18 7.833L16.167 6Z",
|
|
62
|
+
fill: "currentColor"
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
65
|
+
var IconClose_default = SvgIconClose;
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
14
68
|
//#region src/components/SearchInput/searchInputVariants.ts
|
|
15
69
|
const searchInputVariantClasses = { standard: {
|
|
16
70
|
searchInputIconColor: "transparent",
|
|
@@ -52,7 +106,7 @@ const SearchInput = react.default.forwardRef(({ searchInputVariant = "standard",
|
|
|
52
106
|
children: [
|
|
53
107
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
54
108
|
className: "spiffy-tw-absolute spiffy-tw-left-3 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2",
|
|
55
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
109
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MagnifyingGlassStarVariant_default, {
|
|
56
110
|
className: value.length > 0 ? magnifyingGlassClassesActive : magnifyingGlassClassesInactive,
|
|
57
111
|
stroke: iconColor,
|
|
58
112
|
strokeWidth: "1px"
|
|
@@ -84,7 +138,7 @@ const SearchInput = react.default.forwardRef(({ searchInputVariant = "standard",
|
|
|
84
138
|
className: "spiffy-tw-absolute spiffy-tw-right-5 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2 spiffy-tw-text-neutral-500 hover:spiffy-tw-text-neutral-700",
|
|
85
139
|
"aria-label": "Clear search input",
|
|
86
140
|
type: "button",
|
|
87
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
141
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClose_default, { className: closeButtonIconClassName })
|
|
88
142
|
})
|
|
89
143
|
]
|
|
90
144
|
});
|
|
@@ -1,11 +1,67 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
import { t as TextInput } from "./TextInput-CsdOvLBQ.js";
|
|
3
|
+
import { n as colorVar, t as ColorNames } from "./colorsConfig-CFI1KN8R.js";
|
|
3
4
|
import React, { useImperativeHandle, useRef } from "react";
|
|
4
5
|
import classNames from "classnames";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import MagnifyingGlassStarVariant from "@envive-ai/react-icons/MagnifyingGlassStarVariant";
|
|
7
|
-
import IconClose from "@envive-ai/react-icons/IconClose";
|
|
8
7
|
|
|
8
|
+
//#region ../icons/dist/MagnifyingGlassStarVariant.js
|
|
9
|
+
var import_jsx_runtime$1 = require_jsx_runtime();
|
|
10
|
+
const SvgMagnifyingGlassStarVariant = (props) => /* @__PURE__ */ (0, import_jsx_runtime$1.jsxs)("svg", {
|
|
11
|
+
width: 23,
|
|
12
|
+
height: 21,
|
|
13
|
+
viewBox: "0 0 23 21",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
19
|
+
d: "M16.9017 1.07275L17.6915 3.12627C17.82 3.46022 17.8842 3.62719 17.984 3.76764C18.0726 3.89211 18.1813 4.00087 18.3058 4.08938C18.4462 4.18925 18.6132 4.25347 18.9472 4.38191L21.0007 5.17172L18.9472 5.96154C18.6132 6.08998 18.4462 6.1542 18.3058 6.25406C18.1813 6.34257 18.0726 6.45133 17.984 6.57581C17.8842 6.71625 17.82 6.88323 17.6915 7.21717L16.9017 9.27069L16.1119 7.21717C15.9834 6.88323 15.9192 6.71625 15.8194 6.57581C15.7308 6.45133 15.6221 6.34257 15.4976 6.25406C15.3572 6.1542 15.1902 6.08998 14.8563 5.96154L12.8027 5.17172L14.8563 4.38191C15.1902 4.25347 15.3572 4.18925 15.4976 4.08938C15.6221 4.00087 15.7308 3.89211 15.8194 3.76764C15.9192 3.62719 15.9834 3.46022 16.1119 3.12627L16.9017 1.07275Z",
|
|
20
|
+
fill: "#595959",
|
|
21
|
+
stroke: "#595959",
|
|
22
|
+
strokeWidth: .910882,
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
27
|
+
d: "M11.5954 2.64387C10.5786 1.97247 9.36711 1.56895 8.05921 1.53651C4.34389 1.44434 1.25732 4.38149 1.16515 8.09681C1.07299 11.8121 4.01013 14.8987 7.72546 14.9909C10.9196 15.0701 13.6491 12.9102 14.4105 9.94181",
|
|
28
|
+
stroke: "#595959",
|
|
29
|
+
strokeWidth: 1.5,
|
|
30
|
+
strokeLinecap: "round"
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
33
|
+
d: "M13.75 15.7759L16.9274 19.2557",
|
|
34
|
+
stroke: "#595959",
|
|
35
|
+
strokeWidth: 1.5,
|
|
36
|
+
strokeLinecap: "round"
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
var MagnifyingGlassStarVariant_default = SvgMagnifyingGlassStarVariant;
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../icons/dist/IconClose.js
|
|
44
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
45
|
+
const SvgIconClose = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
46
|
+
width: 24,
|
|
47
|
+
height: 24,
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
fill: "none",
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
...props,
|
|
52
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
53
|
+
cx: 12,
|
|
54
|
+
cy: 12,
|
|
55
|
+
r: 12,
|
|
56
|
+
fill: "#FCFCF9"
|
|
57
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
58
|
+
d: "M16.167 6L11.5 10.667L6.833 6L5 7.833L9.667 12.5L5 17.167L6.833 19L11.5 14.333L16.167 19L18 17.167L13.333 12.5L18 7.833L16.167 6Z",
|
|
59
|
+
fill: "currentColor"
|
|
60
|
+
})]
|
|
61
|
+
});
|
|
62
|
+
var IconClose_default = SvgIconClose;
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
9
65
|
//#region src/components/SearchInput/searchInputVariants.ts
|
|
10
66
|
const searchInputVariantClasses = { standard: {
|
|
11
67
|
searchInputIconColor: "transparent",
|
|
@@ -47,7 +103,7 @@ const SearchInput = React.forwardRef(({ searchInputVariant = "standard", value,
|
|
|
47
103
|
children: [
|
|
48
104
|
/* @__PURE__ */ jsx("div", {
|
|
49
105
|
className: "spiffy-tw-absolute spiffy-tw-left-3 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2",
|
|
50
|
-
children: /* @__PURE__ */ jsx(
|
|
106
|
+
children: /* @__PURE__ */ jsx(MagnifyingGlassStarVariant_default, {
|
|
51
107
|
className: value.length > 0 ? magnifyingGlassClassesActive : magnifyingGlassClassesInactive,
|
|
52
108
|
stroke: iconColor,
|
|
53
109
|
strokeWidth: "1px"
|
|
@@ -79,7 +135,7 @@ const SearchInput = React.forwardRef(({ searchInputVariant = "standard", value,
|
|
|
79
135
|
className: "spiffy-tw-absolute spiffy-tw-right-5 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2 spiffy-tw-text-neutral-500 hover:spiffy-tw-text-neutral-700",
|
|
80
136
|
"aria-label": "Clear search input",
|
|
81
137
|
type: "button",
|
|
82
|
-
children: /* @__PURE__ */ jsx(
|
|
138
|
+
children: /* @__PURE__ */ jsx(IconClose_default, { className: closeButtonIconClassName })
|
|
83
139
|
})
|
|
84
140
|
]
|
|
85
141
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as SearchAutocomplete } from "./SearchAutocomplete-
|
|
2
|
-
import { n as searchInputVariantClasses, t as SearchInput } from "./SearchInput-
|
|
1
|
+
import { t as SearchAutocomplete } from "./SearchAutocomplete-DNe193EV.js";
|
|
2
|
+
import { n as searchInputVariantClasses, t as SearchInput } from "./SearchInput-kLhxkpgq.js";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { SEARCH_INPUT_TESTID } from "@envive-ai/react-hooks/config/locators/components/search";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SearchInputForm/SearchInputForm.tsx
|
|
8
|
-
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur }) => {
|
|
8
|
+
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur, searchInputRef }) => {
|
|
9
9
|
const { autocompleteIconColor } = searchInputVariantClasses[searchInputVariant];
|
|
10
10
|
const containerClasses = classNames("spiffy-tw-relative", "spiffy-tw-w-full");
|
|
11
11
|
const formClasses = classNames({
|
|
@@ -32,7 +32,8 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
32
32
|
onKeyDown,
|
|
33
33
|
onChange: onSearchInputChange,
|
|
34
34
|
onFocus: onSearchInputFocus,
|
|
35
|
-
onBlur: onSearchInputBlur
|
|
35
|
+
onBlur: onSearchInputBlur,
|
|
36
|
+
ref: searchInputRef
|
|
36
37
|
})
|
|
37
38
|
}), shouldShowAutocomplete && /* @__PURE__ */ jsx("div", {
|
|
38
39
|
className: autocompleteContainerClasses,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_SearchAutocomplete = require('./SearchAutocomplete-
|
|
3
|
-
const require_SearchInput = require('./SearchInput-
|
|
2
|
+
const require_SearchAutocomplete = require('./SearchAutocomplete-BdTWETDB.cjs');
|
|
3
|
+
const require_SearchInput = require('./SearchInput-CImlqrau.cjs');
|
|
4
4
|
let classnames = require("classnames");
|
|
5
5
|
classnames = require_chunk.__toESM(classnames);
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let __envive_ai_react_hooks_config_locators_components_search = require("@envive-ai/react-hooks/config/locators/components/search");
|
|
8
8
|
|
|
9
9
|
//#region src/components/SearchInputForm/SearchInputForm.tsx
|
|
10
|
-
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur }) => {
|
|
10
|
+
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur, searchInputRef }) => {
|
|
11
11
|
const { autocompleteIconColor } = require_SearchInput.searchInputVariantClasses[searchInputVariant];
|
|
12
12
|
const containerClasses = (0, classnames.default)("spiffy-tw-relative", "spiffy-tw-w-full");
|
|
13
13
|
const formClasses = (0, classnames.default)({
|
|
@@ -34,7 +34,8 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
34
34
|
onKeyDown,
|
|
35
35
|
onChange: onSearchInputChange,
|
|
36
36
|
onFocus: onSearchInputFocus,
|
|
37
|
-
onBlur: onSearchInputBlur
|
|
37
|
+
onBlur: onSearchInputBlur,
|
|
38
|
+
ref: searchInputRef
|
|
38
39
|
})
|
|
39
40
|
}), shouldShowAutocomplete && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
40
41
|
className: autocompleteContainerClasses,
|