@envive-ai/react-toolkit 0.3.0 → 0.3.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/components/Accordion/Accordion.d.cts +2 -2
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/AnimatedChevron/AnimatedChevron.d.cts +2 -2
- package/dist/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.cts +3 -3
- package/dist/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.ts +3 -3
- package/dist/components/ButtonBase/ButtonBase.d.cts +2 -2
- package/dist/components/ButtonBase/ButtonBase.d.ts +2 -2
- package/dist/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.cts +2 -2
- package/dist/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.ts +2 -2
- package/dist/components/FilterScrollbar/AppliedFiltersScrollbar.d.cts +3 -3
- package/dist/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts +3 -3
- package/dist/components/FilterScrollbar/DynamicFiltersScrollbar.d.cts +2 -2
- package/dist/components/ImageWithFallback/ImageWithFallback.d.cts +2 -2
- package/dist/components/ImageWithFallback/ImageWithFallback.d.ts +2 -2
- package/dist/components/ModalSheet/ModalSheet.d.ts +2 -2
- package/dist/components/ProductCard/ProductCard.cjs +2 -2
- package/dist/components/ProductCard/ProductCard.d.cts +4 -4
- package/dist/components/ProductCard/ProductCard.d.ts +4 -4
- package/dist/components/ProductCard/ProductCard.js +2 -2
- package/dist/components/ProductGrid/ProductGrid.d.cts +3 -3
- package/dist/components/ProductGrid/ProductGrid.d.ts +3 -3
- package/dist/components/RadioButton/RadioButton.d.cts +3 -3
- package/dist/components/RadioButton/RadioButton.d.ts +3 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.cts +3 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +3 -3
- package/dist/components/RecommendedProducts/RecommendedProducts.d.cts +2 -2
- package/dist/components/RecommendedProducts/RecommendedProducts.d.ts +2 -2
- package/dist/components/SearchAutocomplete/SearchAutocomplete.d.cts +2 -2
- package/dist/components/SearchAutocomplete/SearchAutocomplete.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilter.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilter.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterFooter.d.cts +3 -3
- package/dist/components/SearchFilter/SearchFilterFooter.d.ts +3 -3
- package/dist/components/SearchFilter/SearchFilterHeader.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilterHeader.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterItem.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilterItem.d.ts +2 -2
- package/dist/components/SearchFilter/types.d.cts +1 -1
- package/dist/components/SearchFilter/types.d.ts +1 -1
- package/dist/components/SearchFilter/utils.d.cts +3 -3
- package/dist/components/SearchFilter/utils.d.ts +3 -3
- package/dist/components/SearchInput/SearchInput.d.cts +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/SearchInputForm/SearchInputForm.d.cts +2 -2
- package/dist/components/SearchInputForm/SearchInputForm.d.ts +2 -2
- package/dist/components/SearchResultsContent/SearchResultsContent.d.cts +4 -4
- package/dist/components/SearchResultsContent/SearchResultsContent.d.ts +4 -4
- package/dist/components/SearchResultsFilterButton/SearchResultsFilterButton.d.cts +2 -2
- package/dist/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts +2 -2
- package/dist/components/SearchResultsFilterModal/SearchResultsFilterModal.d.cts +3 -3
- package/dist/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts +3 -3
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +3 -3
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +3 -3
- package/dist/components/SearchResultsStates/NoSearchResultsFound.d.cts +3 -3
- package/dist/components/SearchResultsStates/NoSearchResultsFound.d.ts +3 -3
- package/dist/components/SearchResultsStates/SearchResultsGrid.d.cts +3 -3
- package/dist/components/SearchResultsStates/SearchResultsGrid.d.ts +3 -3
- package/dist/components/SearchResultsStates/SearchResultsLoadingGrid.d.cts +2 -2
- package/dist/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts +2 -2
- package/dist/components/SearchResultsToolbar/SearchResultsToolbar.d.cts +3 -3
- package/dist/components/SearchResultsToolbar/SearchResultsToolbar.d.ts +3 -3
- package/dist/components/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/components/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/components/Spinner/Spinner.d.cts +2 -2
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/SuggestionButton/SuggestionButton.d.cts +2 -2
- package/dist/components/SuggestionButton/SuggestionButton.d.ts +2 -2
- package/dist/components/ToggleButton/ToggleButton.d.cts +2 -2
- package/dist/components/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/util/colorVar.d.cts +1 -1
- package/dist/util/colorVar.d.ts +1 -1
- package/package.json +1 -1
- package/dist/hooks/dist/application/models/api/response.d.cts +0 -11
- package/dist/hooks/dist/application/models/api/response.d.ts +0 -11
- package/dist/hooks/dist/application/models/colorsConfig.d.cts +0 -24
- package/dist/hooks/dist/application/models/colorsConfig.d.ts +0 -24
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.cts +0 -71
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.ts +0 -71
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +0 -58
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +0 -58
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.cts +0 -22
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.ts +0 -22
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.cts +0 -31
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.ts +0 -31
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.cts +0 -30
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.ts +0 -30
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +0 -30
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +0 -30
- package/dist/hooks/dist/atoms/search/searchAPI.d.cts +0 -11
- package/dist/hooks/dist/atoms/search/searchAPI.d.ts +0 -11
- package/dist/hooks/dist/contexts/types.d.cts +0 -17
- package/dist/hooks/dist/contexts/types.d.ts +0 -17
- package/dist/hooks/dist/hooks/utils.d.cts +0 -9
- package/dist/hooks/dist/hooks/utils.d.ts +0 -9
- package/dist/hooks/dist/types/search-filter-types.d.cts +0 -36
- package/dist/hooks/dist/types/search-filter-types.d.ts +0 -36
- package/dist/hooks/dist/types/test-types.d.cts +0 -8
- package/dist/hooks/dist/types/test-types.d.ts +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SearchFilterDatum } from "
|
|
1
|
+
import { SearchFilterDatum } from "@envive-ai/react-hooks/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchFilter/utils.d.ts
|
|
4
|
-
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) =>
|
|
5
|
-
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) =>
|
|
4
|
+
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => any;
|
|
5
|
+
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) => SearchFilterDatum;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SearchFilterDatum } from "
|
|
1
|
+
import { SearchFilterDatum } from "@envive-ai/react-hooks/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchFilter/utils.d.ts
|
|
4
|
-
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) =>
|
|
5
|
-
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) =>
|
|
4
|
+
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => any;
|
|
5
|
+
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) => SearchFilterDatum;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputVariant } from "../../atoms/search/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchInputForm/SearchInputForm.d.ts
|
|
5
5
|
interface SearchInputFormProps {
|
|
@@ -33,6 +33,6 @@ declare const SearchInputForm: ({
|
|
|
33
33
|
onSearchInputFocus,
|
|
34
34
|
onSearchInputBlur,
|
|
35
35
|
searchInputRef
|
|
36
|
-
}: SearchInputFormProps) =>
|
|
36
|
+
}: SearchInputFormProps) => react_jsx_runtime11.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SearchInputForm };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputVariant } from "../../atoms/search/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchInputForm/SearchInputForm.d.ts
|
|
5
5
|
interface SearchInputFormProps {
|
|
@@ -33,6 +33,6 @@ declare const SearchInputForm: ({
|
|
|
33
33
|
onSearchInputFocus,
|
|
34
34
|
onSearchInputBlur,
|
|
35
35
|
searchInputRef
|
|
36
|
-
}: SearchInputFormProps) =>
|
|
36
|
+
}: SearchInputFormProps) => react_jsx_runtime21.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SearchInputForm };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../hooks/dist/atoms/search/searchAPI.cjs";
|
|
2
1
|
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../ProductCard/types.cjs";
|
|
3
|
-
import { SearchResultsState } from "../../hooks/dist/hooks/utils.cjs";
|
|
4
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
5
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
6
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
|
+
import { SearchResultsState } from "@envive-ai/react-hooks/hooks/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/SearchResultsContent/SearchResultsContent.d.ts
|
|
9
9
|
interface SearchResultsContentProps {
|
|
@@ -52,6 +52,6 @@ declare const SearchResultsContent: ({
|
|
|
52
52
|
searchResultsRef,
|
|
53
53
|
toolbarHeight,
|
|
54
54
|
query
|
|
55
|
-
}: SearchResultsContentProps) =>
|
|
55
|
+
}: SearchResultsContentProps) => react_jsx_runtime8.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { SearchResultsContent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../hooks/dist/atoms/search/searchAPI.js";
|
|
2
1
|
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../ProductCard/types.js";
|
|
3
|
-
import { SearchResultsState } from "../../hooks/dist/hooks/utils.js";
|
|
4
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
5
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
|
+
import { SearchResultsState } from "@envive-ai/react-hooks/hooks/utils";
|
|
5
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
6
6
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
7
7
|
|
|
8
8
|
//#region src/components/SearchResultsContent/SearchResultsContent.d.ts
|
|
@@ -52,6 +52,6 @@ declare const SearchResultsContent: ({
|
|
|
52
52
|
searchResultsRef,
|
|
53
53
|
toolbarHeight,
|
|
54
54
|
query
|
|
55
|
-
}: SearchResultsContentProps) =>
|
|
55
|
+
}: SearchResultsContentProps) => react_jsx_runtime23.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { SearchResultsContent };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts
|
|
4
4
|
type SearchResultsFilterButtonProps = {
|
|
@@ -8,6 +8,6 @@ type SearchResultsFilterButtonProps = {
|
|
|
8
8
|
declare const SearchResultsFilterButton: ({
|
|
9
9
|
setIsOpen,
|
|
10
10
|
filterButtonText
|
|
11
|
-
}: SearchResultsFilterButtonProps) =>
|
|
11
|
+
}: SearchResultsFilterButtonProps) => react_jsx_runtime6.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchResultsFilterButton, SearchResultsFilterButtonProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts
|
|
4
4
|
type SearchResultsFilterButtonProps = {
|
|
@@ -8,6 +8,6 @@ type SearchResultsFilterButtonProps = {
|
|
|
8
8
|
declare const SearchResultsFilterButton: ({
|
|
9
9
|
setIsOpen,
|
|
10
10
|
filterButtonText
|
|
11
|
-
}: SearchResultsFilterButtonProps) =>
|
|
11
|
+
}: SearchResultsFilterButtonProps) => react_jsx_runtime15.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchResultsFilterButton, SearchResultsFilterButtonProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchFilterDatum, SelectFilterItem } from "../../hooks/dist/types/search-filter-types.cjs";
|
|
2
1
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts
|
|
6
6
|
type SearchResultsFilterModalProps = {
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilterModal: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterModalProps) =>
|
|
25
|
+
}: SearchResultsFilterModalProps) => react_jsx_runtime9.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilterModal, SearchResultsFilterModalProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchFilterDatum, SelectFilterItem } from "../../hooks/dist/types/search-filter-types.js";
|
|
2
1
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts
|
|
6
6
|
type SearchResultsFilterModalProps = {
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilterModal: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterModalProps) =>
|
|
25
|
+
}: SearchResultsFilterModalProps) => react_jsx_runtime16.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilterModal, SearchResultsFilterModalProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchFilterDatum, SelectFilterItem } from "../../hooks/dist/types/search-filter-types.cjs";
|
|
2
1
|
import { SearchFilterSidebarVariant } from "./types.cjs";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
6
6
|
type SearchResultsFilterProps = {
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilter: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterProps) =>
|
|
25
|
+
}: SearchResultsFilterProps) => react_jsx_runtime7.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchFilterDatum, SelectFilterItem } from "../../hooks/dist/types/search-filter-types.js";
|
|
2
1
|
import { SearchFilterSidebarVariant } from "./types.js";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
6
6
|
type SearchResultsFilterProps = {
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilter: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterProps) =>
|
|
25
|
+
}: SearchResultsFilterProps) => react_jsx_runtime17.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchResponseProductAttributes } from "../../hooks/dist/application/models/api/response.cjs";
|
|
2
1
|
import { ProductGridVariant } from "../ProductCard/types.cjs";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
6
6
|
interface NoSearchResultsFoundProps {
|
|
@@ -20,6 +20,6 @@ declare const NoSearchResultsFound: ({
|
|
|
20
20
|
searchText,
|
|
21
21
|
merchantShortName,
|
|
22
22
|
productGridVariant
|
|
23
|
-
}: NoSearchResultsFoundProps) =>
|
|
23
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime1.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { NoSearchResultsFound };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchResponseProductAttributes } from "../../hooks/dist/application/models/api/response.js";
|
|
2
1
|
import { ProductGridVariant } from "../ProductCard/types.js";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
6
6
|
interface NoSearchResultsFoundProps {
|
|
@@ -20,6 +20,6 @@ declare const NoSearchResultsFound: ({
|
|
|
20
20
|
searchText,
|
|
21
21
|
merchantShortName,
|
|
22
22
|
productGridVariant
|
|
23
|
-
}: NoSearchResultsFoundProps) =>
|
|
23
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime8.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { NoSearchResultsFound };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../hooks/dist/atoms/search/searchAPI.cjs";
|
|
2
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.cjs";
|
|
3
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
@@ -41,6 +41,6 @@ declare const SearchResultsGrid: ({
|
|
|
41
41
|
onRemoveFilter,
|
|
42
42
|
onToggleDynamicFilter,
|
|
43
43
|
onProductClick
|
|
44
|
-
}: SearchResultsGridProps) =>
|
|
44
|
+
}: SearchResultsGridProps) => react_jsx_runtime2.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { SearchResultsGrid };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../hooks/dist/atoms/search/searchAPI.js";
|
|
2
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.js";
|
|
3
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
4
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
4
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
@@ -41,6 +41,6 @@ declare const SearchResultsGrid: ({
|
|
|
41
41
|
onRemoveFilter,
|
|
42
42
|
onToggleDynamicFilter,
|
|
43
43
|
onProductClick
|
|
44
|
-
}: SearchResultsGridProps) =>
|
|
44
|
+
}: SearchResultsGridProps) => react_jsx_runtime10.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { SearchResultsGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
5
5
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -10,6 +10,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
10
10
|
productGridVariant: ProductGridVariant;
|
|
11
11
|
productGridClasses: string;
|
|
12
12
|
sparkleIconColor?: string;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchResultsLoadingGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
5
5
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -10,6 +10,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
10
10
|
productGridVariant: ProductGridVariant;
|
|
11
11
|
productGridClasses: string;
|
|
12
12
|
sparkleIconColor?: string;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime9.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchResultsLoadingGrid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
2
|
import React from "react";
|
|
3
|
+
import { SearchInputVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsToolbar/SearchResultsToolbar.d.ts
|
|
6
6
|
interface SearchResultsToolbarProps {
|
|
@@ -44,6 +44,6 @@ declare const SearchResultsToolbar: ({
|
|
|
44
44
|
toolbarRef,
|
|
45
45
|
isVisible,
|
|
46
46
|
className
|
|
47
|
-
}: SearchResultsToolbarProps) =>
|
|
47
|
+
}: SearchResultsToolbarProps) => react_jsx_runtime4.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SearchResultsToolbar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchInputVariant } from "../../hooks/dist/contexts/types.js";
|
|
2
1
|
import React from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
+
import { SearchInputVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsToolbar/SearchResultsToolbar.d.ts
|
|
6
6
|
interface SearchResultsToolbarProps {
|
|
@@ -44,6 +44,6 @@ declare const SearchResultsToolbar: ({
|
|
|
44
44
|
toolbarRef,
|
|
45
45
|
isVisible,
|
|
46
46
|
className
|
|
47
|
-
}: SearchResultsToolbarProps) =>
|
|
47
|
+
}: SearchResultsToolbarProps) => react_jsx_runtime13.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SearchResultsToolbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,6 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime30.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SparkleAnimation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,6 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime5.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { 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/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_runtime0.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 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_runtime0.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionButtonVariant } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/SuggestionButton.d.ts
|
|
5
5
|
declare const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
@@ -28,6 +28,6 @@ declare const SuggestionButton: ({
|
|
|
28
28
|
dataAttributes,
|
|
29
29
|
dataTestId,
|
|
30
30
|
onClick
|
|
31
|
-
}: SuggestionButtonProps) =>
|
|
31
|
+
}: SuggestionButtonProps) => react_jsx_runtime5.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionButtonVariant } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/SuggestionButton.d.ts
|
|
5
5
|
declare const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
@@ -28,6 +28,6 @@ declare const SuggestionButton: ({
|
|
|
28
28
|
dataAttributes,
|
|
29
29
|
dataTestId,
|
|
30
30
|
onClick
|
|
31
|
-
}: SuggestionButtonProps) =>
|
|
31
|
+
}: SuggestionButtonProps) => react_jsx_runtime14.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
type ToggleButtonProps = {
|
|
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
|
|
|
25
25
|
icon,
|
|
26
26
|
iconClassName,
|
|
27
27
|
variant
|
|
28
|
-
}: ToggleButtonProps) =>
|
|
28
|
+
}: ToggleButtonProps) => react_jsx_runtime31.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
type ToggleButtonProps = {
|
|
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
|
|
|
25
25
|
icon,
|
|
26
26
|
iconClassName,
|
|
27
27
|
variant
|
|
28
|
-
}: ToggleButtonProps) =>
|
|
28
|
+
}: ToggleButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
|
package/dist/util/colorVar.d.cts
CHANGED
package/dist/util/colorVar.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CamelCasedPropertiesDeep } from "../utilityTypes/camelCasedPropertiesDeep.cjs";
|
|
2
|
-
import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
|
|
4
|
-
//#region ../hooks/dist/application/models/api/response.d.ts
|
|
5
|
-
|
|
6
|
-
interface SearchResponseProductAttributes {
|
|
7
|
-
category: ResponseCategory.Product;
|
|
8
|
-
attributes: CamelCasedPropertiesDeep<SearchResponseProduct>;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { SearchResponseProductAttributes };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CamelCasedPropertiesDeep } from "../utilityTypes/camelCasedPropertiesDeep.js";
|
|
2
|
-
import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
|
|
4
|
-
//#region ../hooks/dist/application/models/api/response.d.ts
|
|
5
|
-
|
|
6
|
-
interface SearchResponseProductAttributes {
|
|
7
|
-
category: ResponseCategory.Product;
|
|
8
|
-
attributes: CamelCasedPropertiesDeep<SearchResponseProduct>;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { SearchResponseProductAttributes };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region ../hooks/dist/application/models/colorsConfig.d.ts
|
|
2
|
-
//#region src/application/models/colorsConfig.d.ts
|
|
3
|
-
declare enum ColorNames {
|
|
4
|
-
TextPrimary = "text-primary",
|
|
5
|
-
TextSecondary = "text-secondary",
|
|
6
|
-
TextAccent = "text-accent",
|
|
7
|
-
TextLink = "text-link",
|
|
8
|
-
TextLight = "text-light",
|
|
9
|
-
BackgroundPrimary = "background-primary",
|
|
10
|
-
BackgroundSecondary = "background-secondary",
|
|
11
|
-
BackgroundSecondaryDark = "background-secondary-dark",
|
|
12
|
-
BackgroundTertiary = "background-tertiary",
|
|
13
|
-
BackgroundDark = "background-dark",
|
|
14
|
-
BackgroundLight = "background-light",
|
|
15
|
-
BackgroundSaturated = "background-saturated",
|
|
16
|
-
BorderLight = "border-light",
|
|
17
|
-
BorderMedium = "border-medium",
|
|
18
|
-
BorderDark = "border-dark",
|
|
19
|
-
BorderOutline = "border-outline",
|
|
20
|
-
AccentPrimary = "accent-primary",
|
|
21
|
-
AccentSecondary = "accent-secondary",
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { ColorNames };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region ../hooks/dist/application/models/colorsConfig.d.ts
|
|
2
|
-
//#region src/application/models/colorsConfig.d.ts
|
|
3
|
-
declare enum ColorNames {
|
|
4
|
-
TextPrimary = "text-primary",
|
|
5
|
-
TextSecondary = "text-secondary",
|
|
6
|
-
TextAccent = "text-accent",
|
|
7
|
-
TextLink = "text-link",
|
|
8
|
-
TextLight = "text-light",
|
|
9
|
-
BackgroundPrimary = "background-primary",
|
|
10
|
-
BackgroundSecondary = "background-secondary",
|
|
11
|
-
BackgroundSecondaryDark = "background-secondary-dark",
|
|
12
|
-
BackgroundTertiary = "background-tertiary",
|
|
13
|
-
BackgroundDark = "background-dark",
|
|
14
|
-
BackgroundLight = "background-light",
|
|
15
|
-
BackgroundSaturated = "background-saturated",
|
|
16
|
-
BorderLight = "border-light",
|
|
17
|
-
BorderMedium = "border-medium",
|
|
18
|
-
BorderDark = "border-dark",
|
|
19
|
-
BorderOutline = "border-outline",
|
|
20
|
-
AccentPrimary = "accent-primary",
|
|
21
|
-
AccentSecondary = "accent-secondary",
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { ColorNames };
|