@envive-ai/react-toolkit 0.2.9 → 0.2.11
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/index.cjs +2 -2
- package/dist/Accordion/index.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/Accordion/index.js +2 -2
- package/dist/{Accordion-DxtXK__u.js → Accordion-B8aUlf0q.js} +2 -2
- package/dist/{Accordion-RpyCFs2a.cjs → Accordion-FyCFBOen.cjs} +3 -3
- package/dist/AnimatedChevron/index.cjs +1 -1
- package/dist/AnimatedChevron/index.d.cts +2 -2
- package/dist/AnimatedChevron/index.d.ts +2 -2
- package/dist/AnimatedChevron/index.js +1 -1
- package/dist/AppliedFiltersScrollbar/index.cjs +3 -3
- package/dist/AppliedFiltersScrollbar/index.d.cts +3 -3
- package/dist/AppliedFiltersScrollbar/index.d.ts +3 -3
- package/dist/AppliedFiltersScrollbar/index.js +2 -2
- package/dist/ButtonBase/index.cjs +2 -2
- package/dist/ButtonBase/index.d.cts +3 -3
- package/dist/ButtonBase/index.d.ts +3 -3
- package/dist/ButtonBase/index.js +2 -2
- package/dist/{ButtonBase-AU23oGQr.cjs → ButtonBase-B6vDKbGQ.cjs} +3 -3
- package/dist/{ButtonBase-6wjsZ1tU.js → ButtonBase-Bpc7nOpz.js} +2 -2
- package/dist/DynamicFiltersScrollbar/index.cjs +3 -3
- package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
- package/dist/DynamicFiltersScrollbar/index.js +2 -2
- package/dist/{DynamicFiltersScrollbar-AhyHehrB.js → DynamicFiltersScrollbar-D8OqC4DA.js} +2 -2
- package/dist/{DynamicFiltersScrollbar-50i_InZz.cjs → DynamicFiltersScrollbar-DIwHWq6v.cjs} +3 -3
- package/dist/FilterScrollbar/index.cjs +2 -2
- package/dist/FilterScrollbar/index.d.cts +4 -4
- package/dist/FilterScrollbar/index.d.ts +4 -4
- package/dist/FilterScrollbar/index.js +2 -2
- package/dist/ImageWithFallback/index.cjs +1 -1
- package/dist/ImageWithFallback/index.d.cts +2 -2
- package/dist/ImageWithFallback/index.d.ts +2 -2
- package/dist/ImageWithFallback/index.js +1 -1
- package/dist/{ImageWithFallback-Ckwsmd8P.js → ImageWithFallback-BW57cQw-.js} +1 -1
- package/dist/{ImageWithFallback-1LqhQK1q.cjs → ImageWithFallback-DvaVpR6v.cjs} +2 -2
- package/dist/ModalSheet/index.cjs +2 -2
- package/dist/ModalSheet/index.d.cts +2 -2
- package/dist/ModalSheet/index.d.ts +2 -2
- package/dist/ModalSheet/index.js +2 -2
- package/dist/{ModalSheet-CcthFeMD.cjs → ModalSheet-BvM2PJbH.cjs} +3 -3
- package/dist/{ModalSheet-BSj_g9JF.js → ModalSheet-DFva7krP.js} +2 -2
- package/dist/ProductCard/index.cjs +4 -6
- package/dist/ProductCard/index.d.cts +82 -2
- package/dist/ProductCard/index.d.ts +82 -2
- package/dist/ProductCard/index.js +5 -5
- package/dist/{ProductCard-DRczevG8.js → ProductCard-BiWAcPO4.js} +8 -16
- package/dist/{ProductCard-DksbHI3v.cjs → ProductCard-C2KvH4MN.cjs} +8 -28
- package/dist/ProductGrid/index.cjs +5 -5
- package/dist/ProductGrid/index.d.cts +6 -5
- package/dist/ProductGrid/index.d.ts +6 -5
- package/dist/ProductGrid/index.js +5 -5
- package/dist/{ProductGrid-B36atUp5.js → ProductGrid-B1RtE58G.js} +6 -5
- package/dist/{ProductGrid-CStAsiRj.cjs → ProductGrid-DkOyRAEg.cjs} +7 -6
- package/dist/RadioButton/index.cjs +2 -2
- package/dist/RadioButton/index.d.cts +3 -3
- package/dist/RadioButton/index.d.ts +3 -3
- package/dist/RadioButton/index.js +2 -2
- package/dist/{RadioButton-DoqlQgeW.js → RadioButton-CQ6qOvBl.js} +2 -2
- package/dist/{RadioButton-OqwNhq7S.cjs → RadioButton-DP-qs5cy.cjs} +3 -3
- package/dist/RadioButtonGroup/index.cjs +3 -3
- package/dist/RadioButtonGroup/index.d.cts +1 -1
- package/dist/RadioButtonGroup/index.d.ts +3 -3
- package/dist/RadioButtonGroup/index.js +3 -3
- package/dist/{RadioButtonGroup-DwMWFYga.cjs → RadioButtonGroup-CJPWfAaA.cjs} +3 -3
- package/dist/{RadioButtonGroup-BP4aECu6.js → RadioButtonGroup-Ce8cKqYw.js} +2 -2
- package/dist/SearchAutocomplete/index.cjs +2 -2
- package/dist/SearchAutocomplete/index.d.cts +2 -2
- package/dist/SearchAutocomplete/index.d.ts +2 -2
- package/dist/SearchAutocomplete/index.js +2 -2
- package/dist/{SearchAutocomplete-B690CIZB.js → SearchAutocomplete-CjjL2_lm.js} +2 -2
- package/dist/{SearchAutocomplete-DAEDHeqr.cjs → SearchAutocomplete-bbMvWWjI.cjs} +3 -3
- package/dist/SearchFilter/index.cjs +9 -9
- package/dist/SearchFilter/index.d.cts +6 -43
- package/dist/SearchFilter/index.d.ts +6 -43
- package/dist/SearchFilter/index.js +9 -9
- package/dist/{SearchFilter-Yk01V_VO.cjs → SearchFilter-BLi6E9Wx.cjs} +8 -8
- package/dist/{SearchFilter-X18X1iOO.js → SearchFilter-wHwOym_n.js} +7 -7
- package/dist/SearchInput/index.cjs +4 -4
- package/dist/SearchInput/index.d.cts +3 -4
- package/dist/SearchInput/index.d.ts +3 -4
- package/dist/SearchInput/index.js +4 -4
- package/dist/{SearchInput-Bn6wD39s.cjs → SearchInput-BA6bepV_.cjs} +7 -5
- package/dist/{SearchInput-DFoKyqJV.js → SearchInput-C3nNkmBm.js} +4 -3
- package/dist/SearchInputForm/index.cjs +7 -7
- package/dist/SearchInputForm/index.d.cts +3 -3
- package/dist/SearchInputForm/index.d.ts +3 -3
- package/dist/SearchInputForm/index.js +6 -6
- package/dist/SearchResultsContent/index.cjs +15 -15
- package/dist/SearchResultsContent/index.d.cts +3 -6
- package/dist/SearchResultsContent/index.d.ts +3 -6
- package/dist/SearchResultsContent/index.js +11 -11
- package/dist/SearchResultsFilterSidebar/index.cjs +13 -13
- package/dist/SearchResultsFilterSidebar/index.d.cts +42 -2
- package/dist/SearchResultsFilterSidebar/index.d.ts +42 -2
- package/dist/SearchResultsFilterSidebar/index.js +12 -12
- package/dist/SearchResultsStates/index.cjs +10 -10
- package/dist/SearchResultsStates/index.d.cts +5 -7
- package/dist/SearchResultsStates/index.d.ts +5 -7
- package/dist/SearchResultsStates/index.js +10 -10
- package/dist/{SearchResultsStates-CKoDWkXP.cjs → SearchResultsStates-C-8fh8B9.cjs} +8 -8
- package/dist/{SearchResultsStates-DF65ZU2r.js → SearchResultsStates-D62WbDTD.js} +7 -7
- package/dist/SparkleAnimation/index.cjs +2 -3
- package/dist/SparkleAnimation/index.d.cts +3 -11
- package/dist/SparkleAnimation/index.d.ts +3 -11
- package/dist/SparkleAnimation/index.js +2 -2
- package/dist/{SparkleAnimation-CvGlWUqv.cjs → SparkleAnimation-BFAj73CF.cjs} +7 -16
- package/dist/{SparkleAnimation-paLhSu5E.js → SparkleAnimation-BYDUEqWX.js} +7 -10
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.d.cts +2 -2
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-DjK8ts9E.cjs → Spinner-Ccy6VFEp.cjs} +2 -2
- package/dist/{Spinner-BqTt55uu.js → Spinner-D2HbRsuw.js} +1 -1
- package/dist/SuggestionButton/index.cjs +4 -4
- package/dist/SuggestionButton/index.d.cts +3 -3
- package/dist/SuggestionButton/index.d.ts +3 -3
- package/dist/SuggestionButton/index.js +3 -3
- package/dist/TextInput/index.cjs +2 -2
- package/dist/TextInput/index.d.cts +2 -2
- package/dist/TextInput/index.d.ts +2 -2
- package/dist/TextInput/index.js +2 -2
- package/dist/{TextInput-BTTG_drp.cjs → TextInput-CYTko3-n.cjs} +3 -3
- package/dist/{TextInput-BfUhaQUc.js → TextInput-CmxnphaT.js} +2 -2
- package/dist/ToggleButton/index.cjs +2 -2
- package/dist/ToggleButton/index.d.cts +2 -2
- package/dist/ToggleButton/index.d.ts +2 -2
- package/dist/ToggleButton/index.js +2 -2
- package/dist/{ToggleButton-DCiR4sB5.cjs → ToggleButton-CvxNLMe_.cjs} +3 -3
- package/dist/{ToggleButton-8P9eNKy1.js → ToggleButton-V9Qsaks7.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.d.cts +2 -2
- package/dist/Typography/index.d.ts +2 -2
- package/dist/Typography/index.js +1 -1
- package/dist/colorVar-B5CLhSof.cjs +11 -0
- package/dist/colorVar-BJve0Z4_.js +5 -0
- package/dist/{index-Qtr26aUO.d.ts → index-C5iOTsRG.d.ts} +1 -1
- package/dist/{index-BMHF0IWd.d.cts → index-DoTNu3mL.d.cts} +1 -1
- package/dist/{searchFilterSidebarVariants-B1P8YS86.cjs → searchFilterSidebarVariants-BQ7OC862.cjs} +10 -7
- package/dist/{searchFilterSidebarVariants-CN9_kzJ8.js → searchFilterSidebarVariants-C_rWIcxf.js} +2 -1
- package/package.json +2 -1
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ButtonBase/types.ts +1 -1
- package/src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ProductCard/ProductCard.tsx +12 -12
- package/src/components/ProductCard/ProductCardSkeleton.tsx +13 -1
- package/src/components/ProductCard/index.ts +0 -1
- package/src/components/ProductCard/productCardVariants.ts +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +10 -3
- package/src/components/ProductGrid/productGridVariants.ts +1 -1
- package/src/components/RadioButton/RadioButton.tsx +1 -1
- package/src/components/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/components/SearchFilter/SearchFilter.tsx +1 -2
- package/src/components/SearchFilter/SearchFilterFooter.tsx +1 -1
- package/src/components/SearchFilter/SearchFilterHeader.tsx +1 -1
- package/src/components/SearchFilter/SearchFilterItem.tsx +1 -1
- package/src/components/SearchFilter/useHasFilterStateChanged.tsx +1 -1
- package/src/components/SearchFilter/utils.ts +1 -1
- package/src/components/SearchInput/SearchInput.tsx +1 -1
- package/src/components/SearchInput/searchInputVariants.ts +2 -2
- package/src/components/SearchInputForm/SearchInputForm.tsx +4 -7
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +4 -4
- package/src/components/SearchResultsFilterSidebar/SearchResultsFilter.tsx +1 -2
- package/src/components/SearchResultsFilterSidebar/index.ts +0 -1
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +2 -2
- package/src/components/SearchResultsStates/SearchResultsGrid.tsx +6 -3
- package/src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx +2 -1
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +7 -1
- package/src/components/SparkleAnimation/index.ts +0 -1
- package/src/components/SuggestionButton/SuggestionButton.tsx +1 -1
- package/src/util/colorVar.ts +3 -0
- package/dist/colorsConfig-BjmNL7s7.cjs +0 -38
- package/dist/colorsConfig-E7w6Ol6W.js +0 -26
- package/dist/index-DL1kptAp.d.ts +0 -46
- package/dist/index-Dfe_lkL2.d.cts +0 -46
- package/dist/index-Dz7MKQfH.d.cts +0 -325
- package/dist/index-Wd_cQHmW.d.ts +0 -325
- package/dist/types-BhGjnuWx.d.cts +0 -4
- package/dist/types-DlqhqT_S.d.ts +0 -4
- package/src/atoms/search/types.ts +0 -1
- package/src/components/ProductCard/types.ts +0 -49
- package/src/components/SearchFilter/types.ts +0 -45
- package/src/components/SearchResultsFilterSidebar/types.ts +0 -2
- package/src/components/SparkleAnimation/types.ts +0 -6
- package/src/config/chatElementDisplayLocation.ts +0 -23
- package/src/models/colorsConfig.ts +0 -28
- package/src/util/camelCase.ts +0 -87
- package/src/util/camelCasedPropertiesDeep.ts +0 -81
- package/src/util/internal.ts +0 -97
- package/src/util/primitive.ts +0 -8
- package/src/util/splitWords.ts +0 -76
- package/src/util/trim.ts +0 -28
- package/src/util/unknownArray.ts +0 -25
- /package/dist/{AnimatedChevron-Bik7GMSe.js → AnimatedChevron-Dee6Pe81.js} +0 -0
- /package/dist/{AnimatedChevron-Q96FneFy.cjs → AnimatedChevron-wpcAHp6d.cjs} +0 -0
- /package/dist/{Typography-D3vDkBMS.js → Typography-C3QmJzFK.js} +0 -0
- /package/dist/{Typography-CFNWgbM5.cjs → Typography-Ds4gfOJz.cjs} +0 -0
- /package/dist/{typographyVariantClasses-B6wiawat.d.ts → typographyVariantClasses-BFRoEloZ.d.cts} +0 -0
- /package/dist/{typographyVariantClasses-DTSltxPN.d.cts → typographyVariantClasses-D7h3ACAj.d.ts} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
5
|
-
const require_ButtonBase = require('../ButtonBase-
|
|
2
|
+
require('../AnimatedChevron-wpcAHp6d.cjs');
|
|
3
|
+
require('../Typography-Ds4gfOJz.cjs');
|
|
4
|
+
require('../Accordion-FyCFBOen.cjs');
|
|
5
|
+
const require_ButtonBase = require('../ButtonBase-B6vDKbGQ.cjs');
|
|
6
6
|
require('../ButtonBase-DbWQ25n-.cjs');
|
|
7
|
-
require('../ModalSheet-
|
|
8
|
-
require('../RadioButton-
|
|
9
|
-
require('../RadioButtonGroup-
|
|
10
|
-
require('../
|
|
11
|
-
|
|
12
|
-
require('../
|
|
13
|
-
const require_searchFilterSidebarVariants = require('../searchFilterSidebarVariants-
|
|
14
|
-
let react = require("react");
|
|
15
|
-
react = require_chunk.__toESM(react);
|
|
7
|
+
require('../ModalSheet-BvM2PJbH.cjs');
|
|
8
|
+
require('../RadioButton-DP-qs5cy.cjs');
|
|
9
|
+
require('../RadioButtonGroup-CJPWfAaA.cjs');
|
|
10
|
+
const require_SearchFilter = require('../SearchFilter-BLi6E9Wx.cjs');
|
|
11
|
+
require('../ToggleButton-CvxNLMe_.cjs');
|
|
12
|
+
require('../colorVar-B5CLhSof.cjs');
|
|
13
|
+
const require_searchFilterSidebarVariants = require('../searchFilterSidebarVariants-BQ7OC862.cjs');
|
|
16
14
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
17
15
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
16
|
+
let react = require("react");
|
|
17
|
+
react = require_chunk.__toESM(react);
|
|
18
18
|
|
|
19
19
|
//#region ../icons/src/SettingsVariant.tsx
|
|
20
20
|
const SvgSettingsVariant = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
@@ -1,2 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { CloseIconVariant, SearchFilterDatum, SearchFilterSidebarVariant, SelectFilterItem } from "@envive-ai/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts
|
|
5
|
+
interface SearchFilterSidebarVariantClasses {
|
|
6
|
+
searchFilterHeaderClasses: string;
|
|
7
|
+
radioButtonFillColor: string;
|
|
8
|
+
radioButtonHoverColor: string;
|
|
9
|
+
radioButtonUncheckedBorderColor: string;
|
|
10
|
+
filterDefaultClasses: string;
|
|
11
|
+
filterActiveClasses: string;
|
|
12
|
+
filterHoverClasses: string;
|
|
13
|
+
appliedFilterBackgroundClasses: string;
|
|
14
|
+
applyFiltersUnchangedClasses: string;
|
|
15
|
+
applyFiltersChangedClasses: string;
|
|
16
|
+
filterCloseIconVariant: CloseIconVariant;
|
|
17
|
+
}
|
|
18
|
+
declare const searchFilterSidebarVariantClasses: Record<SearchFilterSidebarVariant, SearchFilterSidebarVariantClasses>;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
21
|
+
type SearchResultsFilterProps = {
|
|
22
|
+
productCount: number;
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
25
|
+
searchFilters: SearchFilterDatum[];
|
|
26
|
+
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
27
|
+
onSelectFilterItem: SelectFilterItem;
|
|
28
|
+
onClearAllFilters: () => void;
|
|
29
|
+
filterButtonText: string;
|
|
30
|
+
};
|
|
31
|
+
declare const SearchResultsFilter: ({
|
|
32
|
+
productCount,
|
|
33
|
+
isOpen,
|
|
34
|
+
setIsOpen,
|
|
35
|
+
searchFilters,
|
|
36
|
+
searchFilterSidebarVariant,
|
|
37
|
+
onSelectFilterItem,
|
|
38
|
+
onClearAllFilters,
|
|
39
|
+
filterButtonText
|
|
40
|
+
}: SearchResultsFilterProps) => react_jsx_runtime0.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -1,2 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
|
+
import { CloseIconVariant, SearchFilterDatum, SearchFilterSidebarVariant, SelectFilterItem } from "@envive-ai/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts
|
|
5
|
+
interface SearchFilterSidebarVariantClasses {
|
|
6
|
+
searchFilterHeaderClasses: string;
|
|
7
|
+
radioButtonFillColor: string;
|
|
8
|
+
radioButtonHoverColor: string;
|
|
9
|
+
radioButtonUncheckedBorderColor: string;
|
|
10
|
+
filterDefaultClasses: string;
|
|
11
|
+
filterActiveClasses: string;
|
|
12
|
+
filterHoverClasses: string;
|
|
13
|
+
appliedFilterBackgroundClasses: string;
|
|
14
|
+
applyFiltersUnchangedClasses: string;
|
|
15
|
+
applyFiltersChangedClasses: string;
|
|
16
|
+
filterCloseIconVariant: CloseIconVariant;
|
|
17
|
+
}
|
|
18
|
+
declare const searchFilterSidebarVariantClasses: Record<SearchFilterSidebarVariant, SearchFilterSidebarVariantClasses>;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
21
|
+
type SearchResultsFilterProps = {
|
|
22
|
+
productCount: number;
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
25
|
+
searchFilters: SearchFilterDatum[];
|
|
26
|
+
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
27
|
+
onSelectFilterItem: SelectFilterItem;
|
|
28
|
+
onClearAllFilters: () => void;
|
|
29
|
+
filterButtonText: string;
|
|
30
|
+
};
|
|
31
|
+
declare const SearchResultsFilter: ({
|
|
32
|
+
productCount,
|
|
33
|
+
isOpen,
|
|
34
|
+
setIsOpen,
|
|
35
|
+
searchFilters,
|
|
36
|
+
searchFilterSidebarVariant,
|
|
37
|
+
onSelectFilterItem,
|
|
38
|
+
onClearAllFilters,
|
|
39
|
+
filterButtonText
|
|
40
|
+
}: SearchResultsFilterProps) => react_jsx_runtime28.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import { ButtonBase } from "../ButtonBase-
|
|
1
|
+
import "../AnimatedChevron-Dee6Pe81.js";
|
|
2
|
+
import "../Typography-C3QmJzFK.js";
|
|
3
|
+
import "../Accordion-B8aUlf0q.js";
|
|
4
|
+
import { ButtonBase } from "../ButtonBase-Bpc7nOpz.js";
|
|
5
5
|
import "../ButtonBase-C_uKnl48.js";
|
|
6
|
-
import "../ModalSheet-
|
|
7
|
-
import "../RadioButton-
|
|
8
|
-
import "../RadioButtonGroup-
|
|
9
|
-
import "../
|
|
10
|
-
import
|
|
11
|
-
import "../
|
|
12
|
-
import { searchFilterSidebarVariantClasses } from "../searchFilterSidebarVariants-
|
|
13
|
-
import { useCallback } from "react";
|
|
6
|
+
import "../ModalSheet-DFva7krP.js";
|
|
7
|
+
import "../RadioButton-CQ6qOvBl.js";
|
|
8
|
+
import "../RadioButtonGroup-Ce8cKqYw.js";
|
|
9
|
+
import { SearchFilter, SearchFilterHeader } from "../SearchFilter-wHwOym_n.js";
|
|
10
|
+
import "../ToggleButton-V9Qsaks7.js";
|
|
11
|
+
import "../colorVar-BJve0Z4_.js";
|
|
12
|
+
import { searchFilterSidebarVariantClasses } from "../searchFilterSidebarVariants-C_rWIcxf.js";
|
|
14
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { useCallback } from "react";
|
|
15
15
|
|
|
16
16
|
//#region ../icons/src/SettingsVariant.tsx
|
|
17
17
|
const SvgSettingsVariant = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
require('../Typography-
|
|
2
|
-
require('../DynamicFiltersScrollbar-
|
|
3
|
-
require('../ImageWithFallback-
|
|
4
|
-
require('../ProductCard-
|
|
5
|
-
require('../Spinner-
|
|
6
|
-
require('../ProductGrid-
|
|
7
|
-
require('../
|
|
8
|
-
const require_SearchResultsStates = require('../SearchResultsStates-
|
|
9
|
-
require('../searchFilterSidebarVariants-
|
|
10
|
-
require('../SparkleAnimation-
|
|
1
|
+
require('../Typography-Ds4gfOJz.cjs');
|
|
2
|
+
require('../DynamicFiltersScrollbar-DIwHWq6v.cjs');
|
|
3
|
+
require('../ImageWithFallback-DvaVpR6v.cjs');
|
|
4
|
+
require('../ProductCard-C2KvH4MN.cjs');
|
|
5
|
+
require('../Spinner-Ccy6VFEp.cjs');
|
|
6
|
+
require('../ProductGrid-DkOyRAEg.cjs');
|
|
7
|
+
require('../colorVar-B5CLhSof.cjs');
|
|
8
|
+
const require_SearchResultsStates = require('../SearchResultsStates-C-8fh8B9.cjs');
|
|
9
|
+
require('../searchFilterSidebarVariants-BQ7OC862.cjs');
|
|
10
|
+
require('../SparkleAnimation-BFAj73CF.cjs');
|
|
11
11
|
|
|
12
12
|
exports.NoSearchResultsFound = require_SearchResultsStates.NoSearchResultsFound;
|
|
13
13
|
exports.SearchResultsGrid = require_SearchResultsStates.SearchResultsGrid;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SearchFilterSidebarVariant } from "
|
|
3
|
-
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
|
-
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
|
+
import { ProductCardConfig, ProductGridVariant, SearchFilterSidebarVariant, SelectedFilterOption } from "@envive-ai/types";
|
|
5
3
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
4
|
|
|
7
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -16,7 +14,7 @@ declare const NoSearchResultsFound: ({
|
|
|
16
14
|
includeBottomMargin,
|
|
17
15
|
noResultsFoundText,
|
|
18
16
|
sparkleIconColor
|
|
19
|
-
}: NoSearchResultsFoundProps) =>
|
|
17
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime3.JSX.Element;
|
|
20
18
|
//#endregion
|
|
21
19
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
22
20
|
interface SearchResultsGridProps {
|
|
@@ -53,7 +51,7 @@ declare const SearchResultsGrid: ({
|
|
|
53
51
|
productGridClasses,
|
|
54
52
|
onRemoveFilter,
|
|
55
53
|
onToggleDynamicFilter
|
|
56
|
-
}: SearchResultsGridProps) =>
|
|
54
|
+
}: SearchResultsGridProps) => react_jsx_runtime3.JSX.Element;
|
|
57
55
|
//#endregion
|
|
58
56
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
59
57
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -64,6 +62,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
64
62
|
productGridVariant: ProductGridVariant;
|
|
65
63
|
productGridClasses: string;
|
|
66
64
|
sparkleIconColor?: string;
|
|
67
|
-
}) =>
|
|
65
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
68
66
|
//#endregion
|
|
69
67
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SearchFilterSidebarVariant } from "
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
|
+
import { ProductCardConfig, ProductGridVariant, SearchFilterSidebarVariant, SelectedFilterOption } from "@envive-ai/types";
|
|
5
3
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
4
|
|
|
7
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -16,7 +14,7 @@ declare const NoSearchResultsFound: ({
|
|
|
16
14
|
includeBottomMargin,
|
|
17
15
|
noResultsFoundText,
|
|
18
16
|
sparkleIconColor
|
|
19
|
-
}: NoSearchResultsFoundProps) =>
|
|
17
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime1.JSX.Element;
|
|
20
18
|
//#endregion
|
|
21
19
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
22
20
|
interface SearchResultsGridProps {
|
|
@@ -53,7 +51,7 @@ declare const SearchResultsGrid: ({
|
|
|
53
51
|
productGridClasses,
|
|
54
52
|
onRemoveFilter,
|
|
55
53
|
onToggleDynamicFilter
|
|
56
|
-
}: SearchResultsGridProps) =>
|
|
54
|
+
}: SearchResultsGridProps) => react_jsx_runtime1.JSX.Element;
|
|
57
55
|
//#endregion
|
|
58
56
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
59
57
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -64,6 +62,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
64
62
|
productGridVariant: ProductGridVariant;
|
|
65
63
|
productGridClasses: string;
|
|
66
64
|
sparkleIconColor?: string;
|
|
67
|
-
}) =>
|
|
65
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
68
66
|
//#endregion
|
|
69
67
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../Typography-
|
|
2
|
-
import "../DynamicFiltersScrollbar-
|
|
3
|
-
import "../ImageWithFallback-
|
|
4
|
-
import "../ProductCard-
|
|
5
|
-
import "../Spinner-
|
|
6
|
-
import "../ProductGrid-
|
|
7
|
-
import "../
|
|
8
|
-
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-
|
|
9
|
-
import "../searchFilterSidebarVariants-
|
|
10
|
-
import "../SparkleAnimation-
|
|
1
|
+
import "../Typography-C3QmJzFK.js";
|
|
2
|
+
import "../DynamicFiltersScrollbar-D8OqC4DA.js";
|
|
3
|
+
import "../ImageWithFallback-BW57cQw-.js";
|
|
4
|
+
import "../ProductCard-BiWAcPO4.js";
|
|
5
|
+
import "../Spinner-D2HbRsuw.js";
|
|
6
|
+
import "../ProductGrid-B1RtE58G.js";
|
|
7
|
+
import "../colorVar-BJve0Z4_.js";
|
|
8
|
+
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-D62WbDTD.js";
|
|
9
|
+
import "../searchFilterSidebarVariants-C_rWIcxf.js";
|
|
10
|
+
import "../SparkleAnimation-BYDUEqWX.js";
|
|
11
11
|
|
|
12
12
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_Typography = require('./Typography-
|
|
3
|
-
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-
|
|
4
|
-
const require_ProductCard = require('./ProductCard-
|
|
5
|
-
const require_ProductGrid = require('./ProductGrid-
|
|
6
|
-
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-
|
|
7
|
-
const require_SparkleAnimation = require('./SparkleAnimation-
|
|
2
|
+
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
+
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-DIwHWq6v.cjs');
|
|
4
|
+
const require_ProductCard = require('./ProductCard-C2KvH4MN.cjs');
|
|
5
|
+
const require_ProductGrid = require('./ProductGrid-DkOyRAEg.cjs');
|
|
6
|
+
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-BQ7OC862.cjs');
|
|
7
|
+
const require_SparkleAnimation = require('./SparkleAnimation-BFAj73CF.cjs');
|
|
8
8
|
let framer_motion = require("framer-motion");
|
|
9
9
|
framer_motion = require_chunk.__toESM(framer_motion);
|
|
10
|
-
let classnames = require("classnames");
|
|
11
|
-
classnames = require_chunk.__toESM(classnames);
|
|
12
10
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
11
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
12
|
+
let classnames = require("classnames");
|
|
13
|
+
classnames = require_chunk.__toESM(classnames);
|
|
14
14
|
let __envive_ai_react_icons_Sparkles = require("@envive-ai/react-icons/Sparkles");
|
|
15
15
|
__envive_ai_react_icons_Sparkles = require_chunk.__toESM(__envive_ai_react_icons_Sparkles);
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Typography } from "./Typography-
|
|
2
|
-
import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-
|
|
3
|
-
import { ProductCardSkeleton } from "./ProductCard-
|
|
4
|
-
import { ProductGrid, productGridVariantClasses } from "./ProductGrid-
|
|
5
|
-
import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-
|
|
6
|
-
import { SparkleAnimation } from "./SparkleAnimation-
|
|
1
|
+
import { Typography } from "./Typography-C3QmJzFK.js";
|
|
2
|
+
import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-D8OqC4DA.js";
|
|
3
|
+
import { ProductCardSkeleton } from "./ProductCard-BiWAcPO4.js";
|
|
4
|
+
import { ProductGrid, productGridVariantClasses } from "./ProductGrid-B1RtE58G.js";
|
|
5
|
+
import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-C_rWIcxf.js";
|
|
6
|
+
import { SparkleAnimation } from "./SparkleAnimation-BYDUEqWX.js";
|
|
7
7
|
import { motion } from "framer-motion";
|
|
8
|
-
import classNames from "classnames";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import classNames from "classnames";
|
|
10
10
|
import Sparkles from "@envive-ai/react-icons/Sparkles";
|
|
11
11
|
|
|
12
12
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.tsx
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const require_SparkleAnimation = require('../SparkleAnimation-
|
|
1
|
+
const require_SparkleAnimation = require('../SparkleAnimation-BFAj73CF.cjs');
|
|
2
2
|
|
|
3
|
-
exports.SparkleAnimation = require_SparkleAnimation.SparkleAnimation;
|
|
4
|
-
exports.SparkleAnimationOverride = require_SparkleAnimation.SparkleAnimationOverride;
|
|
3
|
+
exports.SparkleAnimation = require_SparkleAnimation.SparkleAnimation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,14 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime0.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
|
|
16
|
-
declare enum SparkleAnimationOverride {
|
|
17
|
-
CONTAINER = "spiffy-sparkle-animation-container",
|
|
18
|
-
STAR_ONE_CONTAINER = "spiffy-sparkle-animation-star-one-container",
|
|
19
|
-
STAR_TWO_CONTAINER = "spiffy-sparkle-animation-star-two-container",
|
|
20
|
-
STAR_THREE_CONTAINER = "spiffy-sparkle-animation-star-three-container",
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { SparkleAnimation, SparkleAnimationOverride };
|
|
15
|
+
export { SparkleAnimation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,14 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime7.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
|
|
16
|
-
declare enum SparkleAnimationOverride {
|
|
17
|
-
CONTAINER = "spiffy-sparkle-animation-container",
|
|
18
|
-
STAR_ONE_CONTAINER = "spiffy-sparkle-animation-star-one-container",
|
|
19
|
-
STAR_TWO_CONTAINER = "spiffy-sparkle-animation-star-two-container",
|
|
20
|
-
STAR_THREE_CONTAINER = "spiffy-sparkle-animation-star-three-container",
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { SparkleAnimation, SparkleAnimationOverride };
|
|
15
|
+
export { SparkleAnimation };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SparkleAnimation
|
|
1
|
+
import { SparkleAnimation } from "../SparkleAnimation-BYDUEqWX.js";
|
|
2
2
|
|
|
3
|
-
export { SparkleAnimation
|
|
3
|
+
export { SparkleAnimation };
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
let framer_motion = require("framer-motion");
|
|
3
3
|
framer_motion = require_chunk.__toESM(framer_motion);
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
4
6
|
let react = require("react");
|
|
5
7
|
react = require_chunk.__toESM(react);
|
|
6
8
|
let classnames = require("classnames");
|
|
7
9
|
classnames = require_chunk.__toESM(classnames);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
10
10
|
let __envive_ai_react_icons_FourPointStar = require("@envive-ai/react-icons/FourPointStar");
|
|
11
11
|
__envive_ai_react_icons_FourPointStar = require_chunk.__toESM(__envive_ai_react_icons_FourPointStar);
|
|
12
12
|
|
|
13
|
-
//#region src/components/SparkleAnimation/
|
|
14
|
-
|
|
13
|
+
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
14
|
+
const ANIMATION_CYCLE_TIME = 1e3;
|
|
15
|
+
const STAR_DELAY_OFFSET = 250;
|
|
16
|
+
var SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
|
15
17
|
SparkleAnimationOverride$1["CONTAINER"] = "spiffy-sparkle-animation-container";
|
|
16
18
|
SparkleAnimationOverride$1["STAR_ONE_CONTAINER"] = "spiffy-sparkle-animation-star-one-container";
|
|
17
19
|
SparkleAnimationOverride$1["STAR_TWO_CONTAINER"] = "spiffy-sparkle-animation-star-two-container";
|
|
18
20
|
SparkleAnimationOverride$1["STAR_THREE_CONTAINER"] = "spiffy-sparkle-animation-star-three-container";
|
|
19
21
|
return SparkleAnimationOverride$1;
|
|
20
|
-
}({});
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
24
|
-
const ANIMATION_CYCLE_TIME = 1e3;
|
|
25
|
-
const STAR_DELAY_OFFSET = 250;
|
|
22
|
+
}(SparkleAnimationOverride || {});
|
|
26
23
|
const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
27
24
|
const [mainStarScale, setMainStarScale] = (0, react.useState)(animate ? 0 : 1);
|
|
28
25
|
const [smallStar1Scale, setSmallStar1Scale] = (0, react.useState)(animate ? 0 : 1);
|
|
@@ -92,10 +89,4 @@ Object.defineProperty(exports, 'SparkleAnimation', {
|
|
|
92
89
|
get: function () {
|
|
93
90
|
return SparkleAnimation;
|
|
94
91
|
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, 'SparkleAnimationOverride', {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return SparkleAnimationOverride;
|
|
100
|
-
}
|
|
101
92
|
});
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { motion } from "framer-motion";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useEffect, useState } from "react";
|
|
3
4
|
import classNames from "classnames";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import FourPointStar from "@envive-ai/react-icons/FourPointStar";
|
|
6
6
|
|
|
7
|
-
//#region src/components/SparkleAnimation/
|
|
8
|
-
|
|
7
|
+
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
8
|
+
const ANIMATION_CYCLE_TIME = 1e3;
|
|
9
|
+
const STAR_DELAY_OFFSET = 250;
|
|
10
|
+
var SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
|
9
11
|
SparkleAnimationOverride$1["CONTAINER"] = "spiffy-sparkle-animation-container";
|
|
10
12
|
SparkleAnimationOverride$1["STAR_ONE_CONTAINER"] = "spiffy-sparkle-animation-star-one-container";
|
|
11
13
|
SparkleAnimationOverride$1["STAR_TWO_CONTAINER"] = "spiffy-sparkle-animation-star-two-container";
|
|
12
14
|
SparkleAnimationOverride$1["STAR_THREE_CONTAINER"] = "spiffy-sparkle-animation-star-three-container";
|
|
13
15
|
return SparkleAnimationOverride$1;
|
|
14
|
-
}({});
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
18
|
-
const ANIMATION_CYCLE_TIME = 1e3;
|
|
19
|
-
const STAR_DELAY_OFFSET = 250;
|
|
16
|
+
}(SparkleAnimationOverride || {});
|
|
20
17
|
const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
21
18
|
const [mainStarScale, setMainStarScale] = useState(animate ? 0 : 1);
|
|
22
19
|
const [smallStar1Scale, setSmallStar1Scale] = useState(animate ? 0 : 1);
|
|
@@ -81,4 +78,4 @@ const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
|
81
78
|
};
|
|
82
79
|
|
|
83
80
|
//#endregion
|
|
84
|
-
export { SparkleAnimation
|
|
81
|
+
export { SparkleAnimation };
|
package/dist/Spinner/index.cjs
CHANGED
package/dist/Spinner/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Spinner/Spinner.d.ts
|
|
4
4
|
type SpinnerProps = {
|
|
@@ -6,6 +6,6 @@ type SpinnerProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const Spinner: ({
|
|
8
8
|
className
|
|
9
|
-
}: SpinnerProps) =>
|
|
9
|
+
}: SpinnerProps) => react_jsx_runtime4.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
package/dist/Spinner/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Spinner/Spinner.d.ts
|
|
4
4
|
type SpinnerProps = {
|
|
@@ -6,6 +6,6 @@ type SpinnerProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const Spinner: ({
|
|
8
8
|
className
|
|
9
|
-
}: SpinnerProps) =>
|
|
9
|
+
}: SpinnerProps) => react_jsx_runtime2.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
package/dist/Spinner/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
let classnames = require("classnames");
|
|
3
|
-
classnames = require_chunk.__toESM(classnames);
|
|
4
2
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
3
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
4
|
+
let classnames = require("classnames");
|
|
5
|
+
classnames = require_chunk.__toESM(classnames);
|
|
6
6
|
|
|
7
7
|
//#region src/components/Spinner/Spinner.tsx
|
|
8
8
|
const Spinner = ({ className }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
|
-
require('../Typography-
|
|
3
|
-
const require_ButtonBase = require('../ButtonBase-
|
|
4
|
-
let classnames = require("classnames");
|
|
5
|
-
classnames = require_chunk.__toESM(classnames);
|
|
2
|
+
require('../Typography-Ds4gfOJz.cjs');
|
|
3
|
+
const require_ButtonBase = require('../ButtonBase-B6vDKbGQ.cjs');
|
|
6
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
5
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
6
|
+
let classnames = require("classnames");
|
|
7
|
+
classnames = require_chunk.__toESM(classnames);
|
|
8
8
|
let __envive_ai_react_icons_OutlinedStar = require("@envive-ai/react-icons/OutlinedStar");
|
|
9
9
|
__envive_ai_react_icons_OutlinedStar = require_chunk.__toESM(__envive_ai_react_icons_OutlinedStar);
|
|
10
10
|
let __envive_ai_react_icons_FourPointStar = require("@envive-ai/react-icons/FourPointStar");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
5
5
|
type SuggestionButtonVariant = 'outlined' | 'outlinedLight' | 'primary' | 'secondary' | 'tertiary' | 'dark' | 'darkAccent' | 'darkAccentContrast' | 'darkPrimary' | 'secondaryDark' | 'secondaryAccent' | 'transparent' | 'transparentDark' | 'lightDark';
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime25.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
5
5
|
type SuggestionButtonVariant = 'outlined' | 'outlinedLight' | 'primary' | 'secondary' | 'tertiary' | 'dark' | 'darkAccent' | 'darkAccentContrast' | 'darkPrimary' | 'secondaryDark' | 'secondaryAccent' | 'transparent' | 'transparentDark' | 'lightDark';
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime6.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../Typography-
|
|
2
|
-
import { ButtonBase } from "../ButtonBase-
|
|
3
|
-
import classNames from "classnames";
|
|
1
|
+
import "../Typography-C3QmJzFK.js";
|
|
2
|
+
import { ButtonBase } from "../ButtonBase-Bpc7nOpz.js";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
5
5
|
import OutlinedStar from "@envive-ai/react-icons/OutlinedStar";
|
|
6
6
|
import FourPointStar from "@envive-ai/react-icons/FourPointStar";
|
|
7
7
|
|
package/dist/TextInput/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypographyVariantMap } from "../typographyVariantClasses-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { TypographyVariantMap } from "../typographyVariantClasses-BFRoEloZ.cjs";
|
|
2
|
+
import "../index-DoTNu3mL.cjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/TextInput/TextInput.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypographyVariantMap } from "../typographyVariantClasses-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { TypographyVariantMap } from "../typographyVariantClasses-D7h3ACAj.js";
|
|
2
|
+
import "../index-C5iOTsRG.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/TextInput/TextInput.d.ts
|
package/dist/TextInput/index.js
CHANGED