@envive-ai/react-toolkit 0.3.3 → 0.3.5
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/AnimatedChevron/AnimatedChevron.d.ts +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.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/FilterScrollbar/DynamicFiltersScrollbar.d.ts +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.cts +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 +4 -3
- package/dist/components/RadioButton/RadioButton.d.ts +4 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.cts +4 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +4 -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/SearchFilter/SearchFilter.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilter.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterFooter.d.cts +4 -3
- package/dist/components/SearchFilter/SearchFilterFooter.d.ts +4 -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 +2 -1
- package/dist/components/SearchFilter/types.d.ts +2 -1
- package/dist/components/SearchFilter/utils.d.cts +4 -3
- package/dist/components/SearchFilter/utils.d.ts +4 -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 +4 -3
- package/dist/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts +4 -3
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +4 -3
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +4 -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/hooks/dist/application/models/api/response.d.cts +11 -0
- package/dist/hooks/dist/application/models/api/response.d.ts +11 -0
- package/dist/hooks/dist/application/models/chatElementDisplayLocation.d.cts +27 -0
- package/dist/hooks/dist/application/models/chatElementDisplayLocation.d.ts +27 -0
- package/dist/hooks/dist/application/models/colorsConfig.d.cts +24 -0
- package/dist/hooks/dist/application/models/colorsConfig.d.ts +24 -0
- package/dist/hooks/dist/application/models/featureGates.d.cts +30 -0
- package/dist/hooks/dist/application/models/featureGates.d.ts +30 -0
- package/dist/hooks/dist/application/models/frontendConfig.d.cts +17 -0
- package/dist/hooks/dist/application/models/frontendConfig.d.ts +17 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.cts +71 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.ts +71 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +58 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +58 -0
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.cts +22 -0
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.ts +22 -0
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.cts +31 -0
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.ts +31 -0
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.cts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.ts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +30 -0
- package/dist/hooks/dist/application/models/variantInfo/pageVisitInfo.d.cts +11 -0
- package/dist/hooks/dist/application/models/variantInfo/pageVisitInfo.d.ts +11 -0
- package/dist/hooks/dist/application/models/variantInfo/plpInfo.d.cts +8 -0
- package/dist/hooks/dist/application/models/variantInfo/plpInfo.d.ts +8 -0
- package/dist/hooks/dist/application/models/variantInfo/productInfo.d.cts +10 -0
- package/dist/hooks/dist/application/models/variantInfo/productInfo.d.ts +10 -0
- package/dist/hooks/dist/application/models/variantInfo/variantInfo.d.cts +31 -0
- package/dist/hooks/dist/application/models/variantInfo/variantInfo.d.ts +31 -0
- package/dist/hooks/dist/application/utils/overrides.d.cts +22 -0
- package/dist/hooks/dist/application/utils/overrides.d.ts +22 -0
- package/dist/hooks/dist/atoms/search/searchAPI.d.cts +11 -0
- package/dist/hooks/dist/atoms/search/searchAPI.d.ts +11 -0
- package/dist/hooks/dist/contexts/types.d.cts +672 -0
- package/dist/hooks/dist/contexts/types.d.ts +672 -0
- package/dist/hooks/dist/hooks/utils.d.cts +9 -0
- package/dist/hooks/dist/hooks/utils.d.ts +9 -0
- package/dist/hooks/dist/merchants/domInsertion.d.cts +15 -0
- package/dist/hooks/dist/merchants/domInsertion.d.ts +15 -0
- package/dist/hooks/dist/merchants/gridInsertion.d.cts +22 -0
- package/dist/hooks/dist/merchants/gridInsertion.d.ts +22 -0
- package/dist/hooks/dist/types/customerService.d.cts +24 -0
- package/dist/hooks/dist/types/customerService.d.ts +24 -0
- package/dist/hooks/dist/types/custservice-types.d.cts +10 -0
- package/dist/hooks/dist/types/custservice-types.d.ts +10 -0
- package/dist/hooks/dist/types/enviveConfig.d.cts +30 -0
- package/dist/hooks/dist/types/enviveConfig.d.ts +30 -0
- package/dist/hooks/dist/types/index.d.cts +6 -0
- package/dist/hooks/dist/types/index.d.ts +6 -0
- package/dist/hooks/dist/types/search-filter-types.d.cts +36 -0
- package/dist/hooks/dist/types/search-filter-types.d.ts +36 -0
- package/dist/hooks/dist/types/suggestionBarV2-types.d.cts +9 -0
- package/dist/hooks/dist/types/suggestionBarV2-types.d.ts +9 -0
- package/dist/hooks/dist/types/test-types.d.cts +8 -0
- package/dist/hooks/dist/types/test-types.d.ts +8 -0
- package/dist/util/colorVar.d.cts +1 -1
- package/dist/util/colorVar.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../hooks/dist/merchants/domInsertion.d.ts
|
|
2
|
+
//#region src/merchants/domInsertion.d.ts
|
|
3
|
+
declare enum DOMInsertionType {
|
|
4
|
+
AFTER = "after",
|
|
5
|
+
BEFORE = "before",
|
|
6
|
+
ADJACENT_AFTER_BEGIN = "adjacent-after-begin",
|
|
7
|
+
ADJACENT_BEFORE_BEGIN = "adjacent-before-begin",
|
|
8
|
+
ADJACENT_AFTER_END = "adjacent-after-end",
|
|
9
|
+
ADJACENT_BEFORE_END = "adjacent-before-end",
|
|
10
|
+
APPEND_CHILD = "append-child",
|
|
11
|
+
NONE = "none",
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#endregion
|
|
15
|
+
export { DOMInsertionType };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../hooks/dist/merchants/domInsertion.d.ts
|
|
2
|
+
//#region src/merchants/domInsertion.d.ts
|
|
3
|
+
declare enum DOMInsertionType {
|
|
4
|
+
AFTER = "after",
|
|
5
|
+
BEFORE = "before",
|
|
6
|
+
ADJACENT_AFTER_BEGIN = "adjacent-after-begin",
|
|
7
|
+
ADJACENT_BEFORE_BEGIN = "adjacent-before-begin",
|
|
8
|
+
ADJACENT_AFTER_END = "adjacent-after-end",
|
|
9
|
+
ADJACENT_BEFORE_END = "adjacent-before-end",
|
|
10
|
+
APPEND_CHILD = "append-child",
|
|
11
|
+
NONE = "none",
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#endregion
|
|
15
|
+
export { DOMInsertionType };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../hooks/dist/merchants/gridInsertion.d.ts
|
|
2
|
+
//#region src/merchants/gridInsertion.d.ts
|
|
3
|
+
declare enum GridInsertionType {
|
|
4
|
+
FIXED_1 = "fixed-1",
|
|
5
|
+
FIXED_2 = "fixed-2",
|
|
6
|
+
FIXED_3 = "fixed-3",
|
|
7
|
+
FIXED_4 = "fixed-4",
|
|
8
|
+
FIXED_5 = "fixed-5",
|
|
9
|
+
FIXED_6 = "fixed-6",
|
|
10
|
+
FIXED_7 = "fixed-7",
|
|
11
|
+
FIXED_8 = "fixed-8",
|
|
12
|
+
FIXED_9 = "fixed-9",
|
|
13
|
+
FIXED_12 = "fixed-12",
|
|
14
|
+
FIXED_13 = "fixed-13",
|
|
15
|
+
ROW_1 = "row-1",
|
|
16
|
+
ROW_2 = "row-2",
|
|
17
|
+
ROW_3 = "row-3",
|
|
18
|
+
ROW_4 = "row-4",
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GridInsertionType };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../hooks/dist/merchants/gridInsertion.d.ts
|
|
2
|
+
//#region src/merchants/gridInsertion.d.ts
|
|
3
|
+
declare enum GridInsertionType {
|
|
4
|
+
FIXED_1 = "fixed-1",
|
|
5
|
+
FIXED_2 = "fixed-2",
|
|
6
|
+
FIXED_3 = "fixed-3",
|
|
7
|
+
FIXED_4 = "fixed-4",
|
|
8
|
+
FIXED_5 = "fixed-5",
|
|
9
|
+
FIXED_6 = "fixed-6",
|
|
10
|
+
FIXED_7 = "fixed-7",
|
|
11
|
+
FIXED_8 = "fixed-8",
|
|
12
|
+
FIXED_9 = "fixed-9",
|
|
13
|
+
FIXED_12 = "fixed-12",
|
|
14
|
+
FIXED_13 = "fixed-13",
|
|
15
|
+
ROW_1 = "row-1",
|
|
16
|
+
ROW_2 = "row-2",
|
|
17
|
+
ROW_3 = "row-3",
|
|
18
|
+
ROW_4 = "row-4",
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GridInsertionType };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/customerService.d.ts
|
|
2
|
+
|
|
3
|
+
//#region src/types/customerService.d.ts
|
|
4
|
+
declare enum CustomerServiceType {
|
|
5
|
+
shopify = "shopify",
|
|
6
|
+
gorgias = "gorgias",
|
|
7
|
+
kustomer = "kustomer",
|
|
8
|
+
groove = "groove",
|
|
9
|
+
tidio = "tidio",
|
|
10
|
+
zowie = "zowie",
|
|
11
|
+
redo = "redo",
|
|
12
|
+
gladly = "gladly",
|
|
13
|
+
richpanel = "richpanel",
|
|
14
|
+
zendesk = "zendesk",
|
|
15
|
+
unsupported = "unsupported",
|
|
16
|
+
}
|
|
17
|
+
declare enum CustomerServiceIntegrationMode {
|
|
18
|
+
none = "none",
|
|
19
|
+
simple = "simple",
|
|
20
|
+
full = "full",
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CustomerServiceIntegrationMode, CustomerServiceType };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/customerService.d.ts
|
|
2
|
+
|
|
3
|
+
//#region src/types/customerService.d.ts
|
|
4
|
+
declare enum CustomerServiceType {
|
|
5
|
+
shopify = "shopify",
|
|
6
|
+
gorgias = "gorgias",
|
|
7
|
+
kustomer = "kustomer",
|
|
8
|
+
groove = "groove",
|
|
9
|
+
tidio = "tidio",
|
|
10
|
+
zowie = "zowie",
|
|
11
|
+
redo = "redo",
|
|
12
|
+
gladly = "gladly",
|
|
13
|
+
richpanel = "richpanel",
|
|
14
|
+
zendesk = "zendesk",
|
|
15
|
+
unsupported = "unsupported",
|
|
16
|
+
}
|
|
17
|
+
declare enum CustomerServiceIntegrationMode {
|
|
18
|
+
none = "none",
|
|
19
|
+
simple = "simple",
|
|
20
|
+
full = "full",
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CustomerServiceIntegrationMode, CustomerServiceType };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FrontendConfigOverrides } from "../application/models/frontendConfig.cjs";
|
|
2
|
+
import { VariantInfo } from "../application/models/variantInfo/variantInfo.cjs";
|
|
3
|
+
|
|
4
|
+
//#region ../hooks/dist/types/enviveConfig.d.ts
|
|
5
|
+
//#region src/types/enviveConfig.d.ts
|
|
6
|
+
interface EnviveConfig {
|
|
7
|
+
publicKey?: string;
|
|
8
|
+
userID?: string;
|
|
9
|
+
env?: 'prod' | 'dev';
|
|
10
|
+
clientID?: string;
|
|
11
|
+
show?: boolean;
|
|
12
|
+
featureOverrides?: Record<string, boolean>;
|
|
13
|
+
variantInfoOverride?: VariantInfo;
|
|
14
|
+
variantUrlOverride?: string;
|
|
15
|
+
pageVariantIdOverride?: string;
|
|
16
|
+
selectedCustomizeOption?: string;
|
|
17
|
+
reducedMotionOverride?: boolean;
|
|
18
|
+
initialOpenSearchOverlay?: boolean;
|
|
19
|
+
WidgetMountingOverride?: Record<string, any>[];
|
|
20
|
+
configChanges?: FrontendConfigOverrides[];
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface Window {
|
|
24
|
+
_spiffy?: EnviveConfig;
|
|
25
|
+
_envive?: EnviveConfig;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#endregion
|
|
30
|
+
export { EnviveConfig };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FrontendConfigOverrides } from "../application/models/frontendConfig.js";
|
|
2
|
+
import { VariantInfo } from "../application/models/variantInfo/variantInfo.js";
|
|
3
|
+
|
|
4
|
+
//#region ../hooks/dist/types/enviveConfig.d.ts
|
|
5
|
+
//#region src/types/enviveConfig.d.ts
|
|
6
|
+
interface EnviveConfig {
|
|
7
|
+
publicKey?: string;
|
|
8
|
+
userID?: string;
|
|
9
|
+
env?: 'prod' | 'dev';
|
|
10
|
+
clientID?: string;
|
|
11
|
+
show?: boolean;
|
|
12
|
+
featureOverrides?: Record<string, boolean>;
|
|
13
|
+
variantInfoOverride?: VariantInfo;
|
|
14
|
+
variantUrlOverride?: string;
|
|
15
|
+
pageVariantIdOverride?: string;
|
|
16
|
+
selectedCustomizeOption?: string;
|
|
17
|
+
reducedMotionOverride?: boolean;
|
|
18
|
+
initialOpenSearchOverlay?: boolean;
|
|
19
|
+
WidgetMountingOverride?: Record<string, any>[];
|
|
20
|
+
configChanges?: FrontendConfigOverrides[];
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface Window {
|
|
24
|
+
_spiffy?: EnviveConfig;
|
|
25
|
+
_envive?: EnviveConfig;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#endregion
|
|
30
|
+
export { EnviveConfig };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChatState } from "./custservice-types.cjs";
|
|
2
|
+
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types.cjs";
|
|
3
|
+
import { TestProps } from "./test-types.cjs";
|
|
4
|
+
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "./search-filter-types.cjs";
|
|
5
|
+
import { EnviveConfig } from "./enviveConfig.cjs";
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChatState } from "./custservice-types.js";
|
|
2
|
+
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types.js";
|
|
3
|
+
import { TestProps } from "./test-types.js";
|
|
4
|
+
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "./search-filter-types.js";
|
|
5
|
+
import { EnviveConfig } from "./enviveConfig.js";
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/search-filter-types.d.ts
|
|
2
|
+
|
|
3
|
+
type CloseIconVariant = 'light' | 'tertiary' | 'dark';
|
|
4
|
+
type SelectFilterItem = ({
|
|
5
|
+
filterId,
|
|
6
|
+
filterItemId,
|
|
7
|
+
isSelected,
|
|
8
|
+
displayName
|
|
9
|
+
}: {
|
|
10
|
+
filterId: string;
|
|
11
|
+
filterItemId: string;
|
|
12
|
+
isSelected: boolean;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
type SearchFilterDatum = {
|
|
16
|
+
filterId: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
items: SearchFilterItemDatum[];
|
|
19
|
+
};
|
|
20
|
+
type SearchFilterItemDatum = {
|
|
21
|
+
filterItemId: string;
|
|
22
|
+
displayName: string;
|
|
23
|
+
productCount: number;
|
|
24
|
+
isSelected: boolean;
|
|
25
|
+
};
|
|
26
|
+
type FilterFooterProps = {
|
|
27
|
+
closeModal: () => void;
|
|
28
|
+
clearAllFilters: () => void;
|
|
29
|
+
filterCount: number;
|
|
30
|
+
hasFiltersChanged: boolean;
|
|
31
|
+
applyFiltersUnchangedClasses: string;
|
|
32
|
+
applyFiltersChangedClasses: string;
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
//#endregion
|
|
36
|
+
export { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/search-filter-types.d.ts
|
|
2
|
+
|
|
3
|
+
type CloseIconVariant = 'light' | 'tertiary' | 'dark';
|
|
4
|
+
type SelectFilterItem = ({
|
|
5
|
+
filterId,
|
|
6
|
+
filterItemId,
|
|
7
|
+
isSelected,
|
|
8
|
+
displayName
|
|
9
|
+
}: {
|
|
10
|
+
filterId: string;
|
|
11
|
+
filterItemId: string;
|
|
12
|
+
isSelected: boolean;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
type SearchFilterDatum = {
|
|
16
|
+
filterId: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
items: SearchFilterItemDatum[];
|
|
19
|
+
};
|
|
20
|
+
type SearchFilterItemDatum = {
|
|
21
|
+
filterItemId: string;
|
|
22
|
+
displayName: string;
|
|
23
|
+
productCount: number;
|
|
24
|
+
isSelected: boolean;
|
|
25
|
+
};
|
|
26
|
+
type FilterFooterProps = {
|
|
27
|
+
closeModal: () => void;
|
|
28
|
+
clearAllFilters: () => void;
|
|
29
|
+
filterCount: number;
|
|
30
|
+
hasFiltersChanged: boolean;
|
|
31
|
+
applyFiltersUnchangedClasses: string;
|
|
32
|
+
applyFiltersChangedClasses: string;
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
//#endregion
|
|
36
|
+
export { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/suggestionBarV2-types.d.ts
|
|
2
|
+
//#region src/types/suggestionBarV2-types.d.ts
|
|
3
|
+
declare enum SuggestionBarLocationForMetrics {
|
|
4
|
+
SUGGESTION_BAR_TOP = "top",
|
|
5
|
+
SUGGESTION_BAR_BOTTOM = "bottom",
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SuggestionBarLocationForMetrics };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../hooks/dist/types/suggestionBarV2-types.d.ts
|
|
2
|
+
//#region src/types/suggestionBarV2-types.d.ts
|
|
3
|
+
declare enum SuggestionBarLocationForMetrics {
|
|
4
|
+
SUGGESTION_BAR_TOP = "top",
|
|
5
|
+
SUGGESTION_BAR_BOTTOM = "bottom",
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SuggestionBarLocationForMetrics };
|
package/dist/util/colorVar.d.cts
CHANGED
package/dist/util/colorVar.d.ts
CHANGED