@envive-ai/react-toolkit 0.1.4 → 0.1.6
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 +84 -0
- package/dist/Accordion/index.d.cts +13 -0
- package/dist/Accordion/index.d.ts +13 -0
- package/dist/Accordion/index.js +77 -0
- package/dist/ButtonBase/index.cjs +7 -0
- package/dist/ButtonBase/index.d.cts +43 -0
- package/dist/ButtonBase/index.d.ts +43 -0
- package/dist/ButtonBase/index.js +6 -0
- package/dist/{ButtonBase-C1rsL9gO.js → ButtonBase-BIAu5fIG.js} +5 -5
- package/dist/ButtonBase-BRfuPPzN.js +1 -0
- package/dist/ButtonBase-BleAVeo-.cjs +0 -0
- package/dist/{ButtonBase-a8uj6c2f.cjs → ButtonBase-DcyxOe2v.cjs} +11 -5
- package/dist/{AppliedFiltersScrollbar-BlcyhZkZ.cjs → DynamicFiltersScrollbar-BTopFhyl.cjs} +34 -2
- package/dist/{AppliedFiltersScrollbar-DFGzRemu.js → DynamicFiltersScrollbar-BmPTqym5.js} +29 -3
- package/dist/FilterScrollbar/index.cjs +6 -0
- package/dist/FilterScrollbar/index.d.cts +47 -0
- package/dist/FilterScrollbar/index.d.ts +47 -0
- package/dist/FilterScrollbar/index.js +5 -0
- package/dist/Headline/index.cjs +4 -0
- package/dist/{common/Headline/Headline.d.cts → Headline/index.d.cts} +3 -3
- package/dist/{common/Headline/Headline.d.ts → Headline/index.d.ts} +3 -3
- package/dist/Headline/index.js +4 -0
- package/dist/{Headline-8on6ZB9e.js → Headline-XpaAeTSR.js} +2 -2
- package/dist/{Headline-CcWn0w-a.cjs → Headline-iP_MckEO.cjs} +2 -2
- package/dist/ImageWithFallback/index.cjs +3 -0
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.ts → ImageWithFallback/index.d.cts} +3 -3
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.cts → ImageWithFallback/index.d.ts} +2 -2
- package/dist/ImageWithFallback/index.js +3 -0
- package/dist/{ImageWithFallback-ioeMFrTf.cjs → ImageWithFallback-1LqhQK1q.cjs} +3 -3
- package/dist/{ImageWithFallback-gN5HDS9L.js → ImageWithFallback-Ckwsmd8P.js} +2 -2
- package/dist/ProductCard/index.cjs +17 -0
- package/dist/ProductCard/index.d.cts +3 -0
- package/dist/ProductCard/index.d.ts +3 -0
- package/dist/ProductCard/index.js +8 -0
- package/dist/{ProductCard-C7WUShhN.cjs → ProductCard-DZZKutY-.cjs} +138 -12
- package/dist/{ProductCard-B5wnOeR9.js → ProductCard-SF8-lXlT.js} +92 -9
- package/dist/ProductGrid/index.cjs +10 -0
- package/dist/ProductGrid/index.d.cts +36 -0
- package/dist/ProductGrid/index.d.ts +36 -0
- package/dist/ProductGrid/index.js +9 -0
- package/dist/{ProductGrid-DZgwGPSQ.cjs → ProductGrid-BSSmPr7K.cjs} +56 -30
- package/dist/{ProductGrid-wnSc9bXT.js → ProductGrid-DTUhH219.js} +50 -30
- package/dist/SearchAutocomplete/index.cjs +3 -0
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.cts → SearchAutocomplete/index.d.cts} +1 -1
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.ts → SearchAutocomplete/index.d.ts} +1 -1
- package/dist/SearchAutocomplete/index.js +3 -0
- package/dist/{SearchAutocomplete-B8mO03Rr.js → SearchAutocomplete-BPjlo6qq.js} +4 -4
- package/dist/{SearchAutocomplete-BrF2SMoZ.cjs → SearchAutocomplete-BzaEXmRQ.cjs} +8 -8
- package/dist/SearchFilter/index.cjs +8 -0
- package/dist/SearchFilter/index.d.cts +2 -0
- package/dist/SearchFilter/index.d.ts +2 -0
- package/dist/SearchFilter/index.js +6 -0
- package/dist/SearchFilter-B15tybnV.cjs +134 -0
- package/dist/SearchFilter-D427M2UE.js +114 -0
- package/dist/SearchInput/index.cjs +7 -0
- package/dist/SearchInput/index.d.cts +33 -0
- package/dist/SearchInput/index.d.ts +33 -0
- package/dist/SearchInput/index.js +6 -0
- package/dist/{SearchInput-CzVUsUSb.js → SearchInput-C0wB4hSV.js} +8 -8
- package/dist/{SearchInput-mLPisqFO.cjs → SearchInput-D6UW79wT.cjs} +12 -12
- package/dist/{search/SearchInputForm/SearchInputForm.cjs → SearchInputForm/index.cjs} +9 -8
- package/dist/SearchInputForm/index.d.cts +2 -0
- package/dist/SearchInputForm/index.d.ts +2 -0
- package/dist/{search/SearchInputForm/SearchInputForm.js → SearchInputForm/index.js} +8 -7
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.cjs → SearchResultsFilterSidebar/index.cjs} +15 -12
- package/dist/SearchResultsFilterSidebar/index.d.cts +3 -0
- package/dist/SearchResultsFilterSidebar/index.d.ts +3 -0
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.js → SearchResultsFilterSidebar/index.js} +11 -10
- package/dist/SearchResultsStates/index.cjs +126 -0
- package/dist/SearchResultsStates/index.d.cts +73 -0
- package/dist/SearchResultsStates/index.d.ts +73 -0
- package/dist/SearchResultsStates/index.js +118 -0
- package/dist/SparkleAnimation/index.cjs +4 -0
- package/dist/SparkleAnimation/index.d.cts +23 -0
- package/dist/SparkleAnimation/index.d.ts +23 -0
- package/dist/SparkleAnimation/index.js +3 -0
- package/dist/{SparkleAnimation-Qs17S1rn.js → SparkleAnimation-BdOjC8l-.js} +5 -5
- package/dist/{SparkleAnimation-Ba5G4MIQ.cjs → SparkleAnimation-BhyeL26m.cjs} +12 -6
- package/dist/Spinner/index.cjs +3 -0
- package/dist/Spinner/index.d.cts +11 -0
- package/dist/Spinner/index.d.ts +11 -0
- package/dist/Spinner/index.js +3 -0
- package/dist/{Spinner-BZ-kTOpm.js → Spinner-BgGihEfJ.js} +1 -1
- package/dist/{Spinner-CfQ85Ajl.cjs → Spinner-DzdIkS6t.cjs} +1 -1
- package/dist/{common/SuggestionButton/SuggestionButton.cjs → SuggestionButton/index.cjs} +5 -5
- package/dist/{common/SuggestionButton/SuggestionButton.d.cts → SuggestionButton/index.d.cts} +6 -6
- package/dist/{common/SuggestionButton/SuggestionButton.d.ts → SuggestionButton/index.d.ts} +6 -6
- package/dist/{common/SuggestionButton/SuggestionButton.js → SuggestionButton/index.js} +4 -4
- package/dist/Text/index.cjs +10 -0
- package/dist/Text/index.d.cts +42 -0
- package/dist/Text/index.d.ts +42 -0
- package/dist/Text/index.js +5 -0
- package/dist/{Text-Bdv7F5-u.js → Text-BMg3d10t.js} +2 -2
- package/dist/Text-CV9pv8ds.js +10 -0
- package/dist/{Text-C04c4Z93.cjs → Text-CgOYTs8D.cjs} +2 -2
- package/dist/Text-DDT3sqY1.cjs +16 -0
- package/dist/TextInput/index.cjs +4 -0
- package/dist/TextInput/index.d.cts +12 -0
- package/dist/TextInput/index.d.ts +12 -0
- package/dist/TextInput/index.js +4 -0
- package/dist/{TextInput-BO80ixsV.cjs → TextInput-C6fF9cSB.cjs} +4 -4
- package/dist/{TextInput-CEGWfdPC.js → TextInput-CRMqBW3X.js} +3 -3
- package/dist/{colorsConfig-BKBZfFq1.js → colorsConfig-BQlaCfxi.js} +1 -1
- package/dist/{colorsConfig-vunsVTFC.cjs → colorsConfig-DCvy_dV4.cjs} +1 -1
- package/dist/index-B0oln9VD.d.ts +58 -0
- package/dist/index-B125udRj.d.cts +78 -0
- package/dist/{search/SearchInputForm/SearchInputForm.d.cts → index-BHNzU-Pc.d.ts} +10 -6
- package/dist/{search/SearchInputForm/SearchInputForm.d.ts → index-BNCrvswP.d.cts} +10 -6
- package/dist/index-CQlBDGTL.d.cts +58 -0
- package/dist/index-CcnuEYQN.d.ts +379 -0
- package/dist/index-DMXTg_9L.d.ts +78 -0
- package/dist/index-wYn2mEDm.d.cts +379 -0
- package/dist/{searchFilterSidebarVariants-eoyfoWA8.js → searchFilterSidebarVariants-BWQyiKwS.js} +2 -2
- package/dist/{searchFilterSidebarVariants-L1rn5Ift.cjs → searchFilterSidebarVariants-D08jyA7U.cjs} +2 -2
- package/dist/{textVariantClasses-Bhf4VY5z.cjs → textVariantClasses-BnV4wXaw.cjs} +1 -1
- package/dist/textVariantClasses-C8OCWZAw.d.ts +174 -0
- package/dist/textVariantClasses-Cdg-UUHi.d.cts +174 -0
- package/dist/{textVariantClasses-5t3OricK.js → textVariantClasses-CnjwO2Fv.js} +1 -1
- package/dist/types-BQYpWDJ4.d.cts +6 -0
- package/dist/types-BruEHw-X.d.ts +6 -0
- package/package.json +62 -84
- package/src/components/Accordion/Accordion.tsx +90 -0
- package/src/components/Accordion/index.ts +1 -0
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +70 -0
- package/src/components/ButtonBase/index.ts +2 -0
- package/src/components/{common/ButtonBase → ButtonBase}/types.ts +1 -1
- package/src/components/{search/FilterScrollbar → DynamicFiltersScrollbar}/DynamicFiltersScrollbar.tsx +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/FilterScrollbar/DynamicFiltersScrollbar.tsx +52 -0
- package/src/components/FilterScrollbar/index.ts +2 -0
- package/src/components/Headline/index.ts +1 -0
- package/src/components/ImageWithFallback/index.ts +1 -0
- package/src/components/{common/ProductCard → ProductCard}/ProductCard.tsx +34 -17
- package/src/components/ProductCard/index.ts +4 -0
- package/src/components/{common/ProductCard → ProductCard}/types.ts +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +73 -0
- package/src/components/ProductGrid/index.ts +2 -0
- package/src/components/{search/SearchInputAutocomplete → SearchAutocomplete}/SearchAutocomplete.tsx +1 -1
- package/src/components/SearchAutocomplete/index.ts +1 -0
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilter.tsx +2 -2
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilterHeader.tsx +1 -1
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilterItem.tsx +1 -1
- package/src/components/SearchFilter/index.ts +4 -0
- package/src/components/{search/SearchInput → SearchInput}/SearchInput.tsx +6 -6
- package/src/components/SearchInput/index.ts +2 -0
- package/src/components/{search/SearchInput → SearchInput}/searchInputVariants.ts +5 -5
- package/src/components/{search/SearchInputForm → SearchInputForm}/SearchInputForm.tsx +6 -4
- package/src/components/SearchInputForm/index.ts +2 -0
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +87 -0
- package/src/components/SearchResultsContent/utils.ts +28 -0
- package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/SearchResultsFilter.tsx +5 -6
- package/src/components/SearchResultsFilterSidebar/index.ts +3 -0
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +58 -0
- package/src/components/SearchResultsFilterSidebar/types.ts +15 -0
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/NoSearchResultsFound.tsx +2 -2
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsGrid.tsx +14 -12
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsLoadingGrid.tsx +4 -5
- package/src/components/SearchResultsStates/index.ts +3 -0
- package/src/components/SparkleAnimation/index.ts +2 -0
- package/src/components/Spinner/index.ts +1 -0
- package/src/components/SuggestionButton/index.ts +2 -0
- package/src/components/Text/index.ts +3 -0
- package/src/components/TextInput/index.ts +1 -0
- package/dist/DynamicFiltersScrollbar-B2Rr1KnJ.cjs +0 -41
- package/dist/DynamicFiltersScrollbar-Dys6geP0.js +0 -32
- package/dist/ProductCardSkeleton-BPfp6IOp.js +0 -38
- package/dist/ProductCardSkeleton-BgvDlaty.cjs +0 -46
- package/dist/SearchFilter-D-2IdBKS.js +0 -62
- package/dist/SearchFilter-D0IzBlG5.cjs +0 -70
- package/dist/SearchFilterHeader-BQT0-ssS.js +0 -37
- package/dist/SearchFilterHeader-C3EklfoO.cjs +0 -45
- package/dist/SearchFilterItem-BodtWLoP.js +0 -26
- package/dist/SearchFilterItem-DmMkiqNC.cjs +0 -34
- package/dist/common/ButtonBase/ButtonBase.cjs +0 -5
- package/dist/common/ButtonBase/ButtonBase.d.cts +0 -35
- package/dist/common/ButtonBase/ButtonBase.d.ts +0 -35
- package/dist/common/ButtonBase/ButtonBase.js +0 -5
- package/dist/common/Headline/Headline.cjs +0 -4
- package/dist/common/Headline/Headline.js +0 -4
- package/dist/common/ImageWithFallback/ImageWithFallback.cjs +0 -3
- package/dist/common/ImageWithFallback/ImageWithFallback.js +0 -3
- package/dist/common/ProductCard/ProductCard.cjs +0 -11
- package/dist/common/ProductCard/ProductCard.d.cts +0 -91
- package/dist/common/ProductCard/ProductCard.d.ts +0 -91
- package/dist/common/ProductCard/ProductCard.js +0 -9
- package/dist/common/ProductCard/ProductCardSkeleton.cjs +0 -4
- package/dist/common/ProductCard/ProductCardSkeleton.d.cts +0 -12
- package/dist/common/ProductCard/ProductCardSkeleton.d.ts +0 -12
- package/dist/common/ProductCard/ProductCardSkeleton.js +0 -4
- package/dist/common/ProductGrid/ProductGrid.cjs +0 -11
- package/dist/common/ProductGrid/ProductGrid.d.cts +0 -26
- package/dist/common/ProductGrid/ProductGrid.d.ts +0 -26
- package/dist/common/ProductGrid/ProductGrid.js +0 -11
- package/dist/common/SparkleAnimation/SparkleAnimation.cjs +0 -3
- package/dist/common/SparkleAnimation/SparkleAnimation.d.cts +0 -15
- package/dist/common/SparkleAnimation/SparkleAnimation.d.ts +0 -15
- package/dist/common/SparkleAnimation/SparkleAnimation.js +0 -3
- package/dist/common/Spinner/Spinner.cjs +0 -3
- package/dist/common/Spinner/Spinner.d.cts +0 -11
- package/dist/common/Spinner/Spinner.d.ts +0 -11
- package/dist/common/Spinner/Spinner.js +0 -3
- package/dist/common/Text/Text.cjs +0 -4
- package/dist/common/Text/Text.d.cts +0 -28
- package/dist/common/Text/Text.d.ts +0 -28
- package/dist/common/Text/Text.js +0 -4
- package/dist/common/TextInput/TextInput.cjs +0 -4
- package/dist/common/TextInput/TextInput.d.cts +0 -98
- package/dist/common/TextInput/TextInput.d.ts +0 -98
- package/dist/common/TextInput/TextInput.js +0 -4
- package/dist/productCardVariants-C_QIZ-KF.js +0 -45
- package/dist/productCardVariants-Dd-wrJKP.cjs +0 -69
- package/dist/productGridVariants-BNX4YlRK.js +0 -20
- package/dist/productGridVariants-CsNV0ACt.cjs +0 -26
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.cjs +0 -5
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.cts +0 -22
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts +0 -22
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.js +0 -5
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.cjs +0 -5
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.cts +0 -28
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts +0 -28
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.js +0 -5
- package/dist/search/SearchFilter/SearchFilter.cjs +0 -7
- package/dist/search/SearchFilter/SearchFilter.d.cts +0 -18
- package/dist/search/SearchFilter/SearchFilter.d.ts +0 -18
- package/dist/search/SearchFilter/SearchFilter.js +0 -7
- package/dist/search/SearchFilter/SearchFilterHeader.cjs +0 -5
- package/dist/search/SearchFilter/SearchFilterHeader.d.cts +0 -12
- package/dist/search/SearchFilter/SearchFilterHeader.d.ts +0 -12
- package/dist/search/SearchFilter/SearchFilterHeader.js +0 -5
- package/dist/search/SearchFilter/SearchFilterItem.cjs +0 -5
- package/dist/search/SearchFilter/SearchFilterItem.d.cts +0 -13
- package/dist/search/SearchFilter/SearchFilterItem.d.ts +0 -13
- package/dist/search/SearchFilter/SearchFilterItem.js +0 -5
- package/dist/search/SearchInput/SearchInput.cjs +0 -6
- package/dist/search/SearchInput/SearchInput.d.cts +0 -20
- package/dist/search/SearchInput/SearchInput.d.ts +0 -20
- package/dist/search/SearchInput/SearchInput.js +0 -6
- package/dist/search/SearchInputAutocomplete/SearchAutocomplete.cjs +0 -3
- package/dist/search/SearchInputAutocomplete/SearchAutocomplete.js +0 -3
- package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +0 -28
- package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +0 -28
- package/dist/search/SearchResultsStates/NoSearchResultsFound.cjs +0 -30
- package/dist/search/SearchResultsStates/NoSearchResultsFound.d.cts +0 -17
- package/dist/search/SearchResultsStates/NoSearchResultsFound.d.ts +0 -17
- package/dist/search/SearchResultsStates/NoSearchResultsFound.js +0 -26
- package/dist/search/SearchResultsStates/SearchResultsGrid.cjs +0 -66
- package/dist/search/SearchResultsStates/SearchResultsGrid.d.cts +0 -41
- package/dist/search/SearchResultsStates/SearchResultsGrid.d.ts +0 -41
- package/dist/search/SearchResultsStates/SearchResultsGrid.js +0 -62
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.cjs +0 -52
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.cts +0 -15
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.ts +0 -15
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.js +0 -49
- package/dist/types-53zIialA.d.ts +0 -35
- package/dist/types-B4BGZSlV.d.cts +0 -4
- package/dist/types-BQNqA5xL.d.ts +0 -46
- package/dist/types-BRLWwGMI.d.ts +0 -4
- package/dist/types-CImLkcNh.d.cts +0 -46
- package/dist/types-Cph97xkm.d.ts +0 -6
- package/dist/types-CpiJO5UH.d.ts +0 -4
- package/dist/types-Dy4_w6Cf.d.cts +0 -4
- package/dist/types-TYhhwWZw.d.cts +0 -6
- package/dist/types-aa4flfRE.d.cts +0 -35
- package/src/components/common/ProductGrid/ProductGrid.tsx +0 -73
- package/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +0 -45
- package/src/components/search/SearchResultsFilterSidebar/types.ts +0 -2
- package/src/components/search/types.ts +0 -5
- package/src/types/external.ts +0 -24
- /package/dist/{types-DFetqNL2.d.ts → types-Bm-qQyO3.d.ts} +0 -0
- /package/dist/{types-DaSkJnT_.d.cts → types-C-Jrlw5Z.d.cts} +0 -0
- /package/src/components/{common/ButtonBase → ButtonBase}/ButtonBase.tsx +0 -0
- /package/src/components/{common/Headline → Headline}/Headline.tsx +0 -0
- /package/src/components/{common/ImageWithFallback → ImageWithFallback}/ImageWithFallback.tsx +0 -0
- /package/src/components/{common/ProductCard → ProductCard}/ProductCardSkeleton.tsx +0 -0
- /package/src/components/{common/ProductCard → ProductCard}/productCardVariants.ts +0 -0
- /package/src/components/{common/ProductGrid → ProductGrid}/productGridVariants.ts +0 -0
- /package/src/components/{search/SearchFilter → SearchFilter}/types.ts +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/types.ts +0 -0
- /package/src/components/{common/SparkleAnimation → SparkleAnimation}/SparkleAnimation.tsx +0 -0
- /package/src/components/{common/SparkleAnimation → SparkleAnimation}/types.ts +0 -0
- /package/src/components/{common/Spinner → Spinner}/Spinner.tsx +0 -0
- /package/src/components/{common/SuggestionButton → SuggestionButton}/SuggestionButton.tsx +0 -0
- /package/src/components/{common/SuggestionButton → SuggestionButton}/types.ts +0 -0
- /package/src/components/{common/Text → Text}/Text.tsx +0 -0
- /package/src/components/{common/Text → Text}/textVariantClasses.ts +0 -0
- /package/src/components/{common/Text → Text}/types.ts +0 -0
- /package/src/components/{common/TextInput → TextInput}/TextInput.tsx +0 -0
- /package/src/{components/models → models}/colorsConfig.ts +0 -0
- /package/src/{components/test → test}/types.ts +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { TestProps } from "../../types-TYhhwWZw.cjs";
|
|
2
|
-
import { ProductCardConfig, ProductCardHoverVariant, ProductCardLayoutVariant, ProductCardVariant } from "../../types-aa4flfRE.cjs";
|
|
3
|
-
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/config/chatElementDisplayLocation.d.ts
|
|
6
|
-
declare enum ChatElementDisplayLocation {
|
|
7
|
-
IN_CHAT = "in_chat",
|
|
8
|
-
CHAT_PREVIEW = "chat_preview",
|
|
9
|
-
FLOATING_BUTTON = "floating_button",
|
|
10
|
-
HELP_ME_CHOOSE = "help_me_choose",
|
|
11
|
-
PLP_IMAGE_BANNER = "plp_image_banner",
|
|
12
|
-
TOP_REVIEWS_SNIPPET = "top_reviews_snippet",
|
|
13
|
-
BOTTOM_REVIEWS_SNIPPET = "bottom_reviews_snippet",
|
|
14
|
-
BLOCK_BACK_BUTTON = "block_back_button",
|
|
15
|
-
SWITCH_TO_AGENT = "switch_to_agent",
|
|
16
|
-
CONVERSATIONAL_SEARCH = "conversational_search",
|
|
17
|
-
GLOBAL_SEARCH_ENTRYPOINT = "global_search_entrypoint",
|
|
18
|
-
SEARCH_NAV_ENTRYPOINT = "search_nav_entrypoint",
|
|
19
|
-
SEARCH_PROMPT = "search_prompt",
|
|
20
|
-
SEARCH_PROMPT_BUTTON = "search_prompt_button",
|
|
21
|
-
PRODUCT_GRID = "product_grid",
|
|
22
|
-
UNSPECIFIED = "unspecified",
|
|
23
|
-
FILTER_MODAL = "filter_modal",
|
|
24
|
-
PROMPT_CARD = "prompt_card",
|
|
25
|
-
WINDOW_API_CALL = "window_api_call",
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/components/common/ProductCard/ProductCard.d.ts
|
|
29
|
-
interface RatingSummaryProps {
|
|
30
|
-
stars: number;
|
|
31
|
-
reviewCount: number;
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
declare const RatingSummary: ({
|
|
35
|
-
stars,
|
|
36
|
-
reviewCount,
|
|
37
|
-
className
|
|
38
|
-
}: RatingSummaryProps) => react_jsx_runtime17.JSX.Element;
|
|
39
|
-
interface PriceSectionProps {
|
|
40
|
-
originalPrice?: string;
|
|
41
|
-
salePrice?: string;
|
|
42
|
-
pricePrefix?: string;
|
|
43
|
-
}
|
|
44
|
-
declare const PriceSection: ({
|
|
45
|
-
originalPrice,
|
|
46
|
-
salePrice,
|
|
47
|
-
pricePrefix
|
|
48
|
-
}: PriceSectionProps) => react_jsx_runtime17.JSX.Element;
|
|
49
|
-
interface ProductCardProps extends TestProps {
|
|
50
|
-
productCardConfig?: ProductCardConfig;
|
|
51
|
-
merchantShortName: string;
|
|
52
|
-
title: string;
|
|
53
|
-
url?: string;
|
|
54
|
-
searchResponseId?: string;
|
|
55
|
-
productResponseId?: string;
|
|
56
|
-
cardDisplayLocation: ChatElementDisplayLocation.IN_CHAT | ChatElementDisplayLocation.PRODUCT_GRID;
|
|
57
|
-
imageUrl?: string;
|
|
58
|
-
originalPrice?: number;
|
|
59
|
-
averageRating?: number;
|
|
60
|
-
numberReviews?: number;
|
|
61
|
-
salePrice?: number;
|
|
62
|
-
variant?: ProductCardVariant;
|
|
63
|
-
hoverVariant?: ProductCardHoverVariant;
|
|
64
|
-
layoutVariant?: ProductCardLayoutVariant;
|
|
65
|
-
zoomOnHover?: boolean;
|
|
66
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
67
|
-
clickPosition?: number | null;
|
|
68
|
-
growWithContainer?: boolean;
|
|
69
|
-
handleClick: (clickedUrl: string) => void;
|
|
70
|
-
}
|
|
71
|
-
declare const ProductCard: ({
|
|
72
|
-
productCardConfig,
|
|
73
|
-
merchantShortName,
|
|
74
|
-
imageUrl,
|
|
75
|
-
title,
|
|
76
|
-
url,
|
|
77
|
-
originalPrice,
|
|
78
|
-
averageRating,
|
|
79
|
-
numberReviews,
|
|
80
|
-
salePrice,
|
|
81
|
-
variant,
|
|
82
|
-
hoverVariant,
|
|
83
|
-
dataTestId,
|
|
84
|
-
layoutVariant,
|
|
85
|
-
zoomOnHover,
|
|
86
|
-
aspectRatio,
|
|
87
|
-
growWithContainer,
|
|
88
|
-
handleClick
|
|
89
|
-
}: ProductCardProps) => react_jsx_runtime17.JSX.Element;
|
|
90
|
-
//#endregion
|
|
91
|
-
export { PriceSection, ProductCard, RatingSummary };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { TestProps } from "../../types-Cph97xkm.js";
|
|
2
|
-
import { ProductCardConfig, ProductCardHoverVariant, ProductCardLayoutVariant, ProductCardVariant } from "../../types-53zIialA.js";
|
|
3
|
-
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/config/chatElementDisplayLocation.d.ts
|
|
6
|
-
declare enum ChatElementDisplayLocation {
|
|
7
|
-
IN_CHAT = "in_chat",
|
|
8
|
-
CHAT_PREVIEW = "chat_preview",
|
|
9
|
-
FLOATING_BUTTON = "floating_button",
|
|
10
|
-
HELP_ME_CHOOSE = "help_me_choose",
|
|
11
|
-
PLP_IMAGE_BANNER = "plp_image_banner",
|
|
12
|
-
TOP_REVIEWS_SNIPPET = "top_reviews_snippet",
|
|
13
|
-
BOTTOM_REVIEWS_SNIPPET = "bottom_reviews_snippet",
|
|
14
|
-
BLOCK_BACK_BUTTON = "block_back_button",
|
|
15
|
-
SWITCH_TO_AGENT = "switch_to_agent",
|
|
16
|
-
CONVERSATIONAL_SEARCH = "conversational_search",
|
|
17
|
-
GLOBAL_SEARCH_ENTRYPOINT = "global_search_entrypoint",
|
|
18
|
-
SEARCH_NAV_ENTRYPOINT = "search_nav_entrypoint",
|
|
19
|
-
SEARCH_PROMPT = "search_prompt",
|
|
20
|
-
SEARCH_PROMPT_BUTTON = "search_prompt_button",
|
|
21
|
-
PRODUCT_GRID = "product_grid",
|
|
22
|
-
UNSPECIFIED = "unspecified",
|
|
23
|
-
FILTER_MODAL = "filter_modal",
|
|
24
|
-
PROMPT_CARD = "prompt_card",
|
|
25
|
-
WINDOW_API_CALL = "window_api_call",
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/components/common/ProductCard/ProductCard.d.ts
|
|
29
|
-
interface RatingSummaryProps {
|
|
30
|
-
stars: number;
|
|
31
|
-
reviewCount: number;
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
declare const RatingSummary: ({
|
|
35
|
-
stars,
|
|
36
|
-
reviewCount,
|
|
37
|
-
className
|
|
38
|
-
}: RatingSummaryProps) => react_jsx_runtime15.JSX.Element;
|
|
39
|
-
interface PriceSectionProps {
|
|
40
|
-
originalPrice?: string;
|
|
41
|
-
salePrice?: string;
|
|
42
|
-
pricePrefix?: string;
|
|
43
|
-
}
|
|
44
|
-
declare const PriceSection: ({
|
|
45
|
-
originalPrice,
|
|
46
|
-
salePrice,
|
|
47
|
-
pricePrefix
|
|
48
|
-
}: PriceSectionProps) => react_jsx_runtime15.JSX.Element;
|
|
49
|
-
interface ProductCardProps extends TestProps {
|
|
50
|
-
productCardConfig?: ProductCardConfig;
|
|
51
|
-
merchantShortName: string;
|
|
52
|
-
title: string;
|
|
53
|
-
url?: string;
|
|
54
|
-
searchResponseId?: string;
|
|
55
|
-
productResponseId?: string;
|
|
56
|
-
cardDisplayLocation: ChatElementDisplayLocation.IN_CHAT | ChatElementDisplayLocation.PRODUCT_GRID;
|
|
57
|
-
imageUrl?: string;
|
|
58
|
-
originalPrice?: number;
|
|
59
|
-
averageRating?: number;
|
|
60
|
-
numberReviews?: number;
|
|
61
|
-
salePrice?: number;
|
|
62
|
-
variant?: ProductCardVariant;
|
|
63
|
-
hoverVariant?: ProductCardHoverVariant;
|
|
64
|
-
layoutVariant?: ProductCardLayoutVariant;
|
|
65
|
-
zoomOnHover?: boolean;
|
|
66
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
67
|
-
clickPosition?: number | null;
|
|
68
|
-
growWithContainer?: boolean;
|
|
69
|
-
handleClick: (clickedUrl: string) => void;
|
|
70
|
-
}
|
|
71
|
-
declare const ProductCard: ({
|
|
72
|
-
productCardConfig,
|
|
73
|
-
merchantShortName,
|
|
74
|
-
imageUrl,
|
|
75
|
-
title,
|
|
76
|
-
url,
|
|
77
|
-
originalPrice,
|
|
78
|
-
averageRating,
|
|
79
|
-
numberReviews,
|
|
80
|
-
salePrice,
|
|
81
|
-
variant,
|
|
82
|
-
hoverVariant,
|
|
83
|
-
dataTestId,
|
|
84
|
-
layoutVariant,
|
|
85
|
-
zoomOnHover,
|
|
86
|
-
aspectRatio,
|
|
87
|
-
growWithContainer,
|
|
88
|
-
handleClick
|
|
89
|
-
}: ProductCardProps) => react_jsx_runtime15.JSX.Element;
|
|
90
|
-
//#endregion
|
|
91
|
-
export { PriceSection, ProductCard, RatingSummary };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "../../textVariantClasses-5t3OricK.js";
|
|
2
|
-
import "../../Text-Bdv7F5-u.js";
|
|
3
|
-
import "../../ImageWithFallback-gN5HDS9L.js";
|
|
4
|
-
import "../../Headline-8on6ZB9e.js";
|
|
5
|
-
import "../../productCardVariants-C_QIZ-KF.js";
|
|
6
|
-
import { PriceSection, ProductCard, RatingSummary } from "../../ProductCard-B5wnOeR9.js";
|
|
7
|
-
import "../../Spinner-BZ-kTOpm.js";
|
|
8
|
-
|
|
9
|
-
export { PriceSection, ProductCard, RatingSummary };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ProductCardLayoutVariant } from "../../types-aa4flfRE.cjs";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductCard/ProductCardSkeleton.d.ts
|
|
5
|
-
interface ProductCardSkeletonProps {
|
|
6
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
7
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
8
|
-
growWithContainer?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ProductCardSkeleton };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ProductCardLayoutVariant } from "../../types-53zIialA.js";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductCard/ProductCardSkeleton.d.ts
|
|
5
|
-
interface ProductCardSkeletonProps {
|
|
6
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
7
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
8
|
-
growWithContainer?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ProductCardSkeleton };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../Text-C04c4Z93.cjs');
|
|
3
|
-
require('../../ImageWithFallback-ioeMFrTf.cjs');
|
|
4
|
-
require('../../Headline-CcWn0w-a.cjs');
|
|
5
|
-
require('../../productCardVariants-Dd-wrJKP.cjs');
|
|
6
|
-
require('../../ProductCard-C7WUShhN.cjs');
|
|
7
|
-
require('../../Spinner-CfQ85Ajl.cjs');
|
|
8
|
-
require('../../productGridVariants-CsNV0ACt.cjs');
|
|
9
|
-
const require_ProductGrid = require('../../ProductGrid-DZgwGPSQ.cjs');
|
|
10
|
-
|
|
11
|
-
exports.ProductGrid = require_ProductGrid.ProductGrid;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProduct } from "../../types-aa4flfRE.cjs";
|
|
2
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductGrid/ProductGrid.d.ts
|
|
5
|
-
interface ProductGridProps {
|
|
6
|
-
productList: SearchResponseProduct[];
|
|
7
|
-
productGridVariant: ProductGridVariant;
|
|
8
|
-
productGridClasses: string;
|
|
9
|
-
productCardConfig?: ProductCardConfig;
|
|
10
|
-
merchantShortName: string;
|
|
11
|
-
searchResponseId: string;
|
|
12
|
-
cardsGrowWithContainer?: boolean;
|
|
13
|
-
handleClick: (clickedUrl: string) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const ProductGrid: ({
|
|
16
|
-
productList,
|
|
17
|
-
productGridVariant,
|
|
18
|
-
productGridClasses,
|
|
19
|
-
productCardConfig,
|
|
20
|
-
merchantShortName,
|
|
21
|
-
searchResponseId,
|
|
22
|
-
cardsGrowWithContainer,
|
|
23
|
-
handleClick
|
|
24
|
-
}: ProductGridProps) => react_jsx_runtime13.JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { ProductGrid };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProduct } from "../../types-53zIialA.js";
|
|
2
|
-
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductGrid/ProductGrid.d.ts
|
|
5
|
-
interface ProductGridProps {
|
|
6
|
-
productList: SearchResponseProduct[];
|
|
7
|
-
productGridVariant: ProductGridVariant;
|
|
8
|
-
productGridClasses: string;
|
|
9
|
-
productCardConfig?: ProductCardConfig;
|
|
10
|
-
merchantShortName: string;
|
|
11
|
-
searchResponseId: string;
|
|
12
|
-
cardsGrowWithContainer?: boolean;
|
|
13
|
-
handleClick: (clickedUrl: string) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const ProductGrid: ({
|
|
16
|
-
productList,
|
|
17
|
-
productGridVariant,
|
|
18
|
-
productGridClasses,
|
|
19
|
-
productCardConfig,
|
|
20
|
-
merchantShortName,
|
|
21
|
-
searchResponseId,
|
|
22
|
-
cardsGrowWithContainer,
|
|
23
|
-
handleClick
|
|
24
|
-
}: ProductGridProps) => react_jsx_runtime18.JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { ProductGrid };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import "../../textVariantClasses-5t3OricK.js";
|
|
2
|
-
import "../../Text-Bdv7F5-u.js";
|
|
3
|
-
import "../../ImageWithFallback-gN5HDS9L.js";
|
|
4
|
-
import "../../Headline-8on6ZB9e.js";
|
|
5
|
-
import "../../productCardVariants-C_QIZ-KF.js";
|
|
6
|
-
import "../../ProductCard-B5wnOeR9.js";
|
|
7
|
-
import "../../Spinner-BZ-kTOpm.js";
|
|
8
|
-
import "../../productGridVariants-BNX4YlRK.js";
|
|
9
|
-
import { ProductGrid } from "../../ProductGrid-wnSc9bXT.js";
|
|
10
|
-
|
|
11
|
-
export { ProductGrid };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
|
-
interface SparkleAnimationProps {
|
|
5
|
-
color: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
animate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const SparkleAnimation: ({
|
|
10
|
-
color,
|
|
11
|
-
className,
|
|
12
|
-
animate
|
|
13
|
-
}: SparkleAnimationProps) => react_jsx_runtime12.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SparkleAnimation };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
|
-
interface SparkleAnimationProps {
|
|
5
|
-
color: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
animate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const SparkleAnimation: ({
|
|
10
|
-
color,
|
|
11
|
-
className,
|
|
12
|
-
animate
|
|
13
|
-
}: SparkleAnimationProps) => react_jsx_runtime1.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SparkleAnimation };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Spinner/Spinner.d.ts
|
|
4
|
-
type SpinnerProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const Spinner: ({
|
|
8
|
-
className
|
|
9
|
-
}: SpinnerProps) => react_jsx_runtime6.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Spinner };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Spinner/Spinner.d.ts
|
|
4
|
-
type SpinnerProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const Spinner: ({
|
|
8
|
-
className
|
|
9
|
-
}: SpinnerProps) => react_jsx_runtime11.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Spinner };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/types.d.ts
|
|
4
|
-
|
|
5
|
-
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
6
|
-
type TextType = 'p' | 'span' | 'sub';
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/common/Text/Text.d.ts
|
|
9
|
-
type TextProps = {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
noOfLines?: number;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
variant?: TextVariant;
|
|
15
|
-
type?: TextType;
|
|
16
|
-
testId?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const Text: ({
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
style,
|
|
22
|
-
noOfLines,
|
|
23
|
-
testId,
|
|
24
|
-
type,
|
|
25
|
-
variant
|
|
26
|
-
}: TextProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Text };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/types.d.ts
|
|
4
|
-
|
|
5
|
-
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
6
|
-
type TextType = 'p' | 'span' | 'sub';
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/common/Text/Text.d.ts
|
|
9
|
-
type TextProps = {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
noOfLines?: number;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
variant?: TextVariant;
|
|
15
|
-
type?: TextType;
|
|
16
|
-
testId?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const Text: ({
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
style,
|
|
22
|
-
noOfLines,
|
|
23
|
-
testId,
|
|
24
|
-
type,
|
|
25
|
-
variant
|
|
26
|
-
}: TextProps) => react_jsx_runtime8.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Text };
|
package/dist/common/Text/Text.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/textVariantClasses.d.ts
|
|
4
|
-
|
|
5
|
-
declare const TextStyleVariantMap: {
|
|
6
|
-
t1: {
|
|
7
|
-
'spiffy-headline': boolean;
|
|
8
|
-
'spiffy-headline-1': boolean;
|
|
9
|
-
'spiffy-tw-text-[32px]': boolean;
|
|
10
|
-
'spiffy-tw-font-medium': boolean;
|
|
11
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
12
|
-
};
|
|
13
|
-
t2: {
|
|
14
|
-
'spiffy-headline': boolean;
|
|
15
|
-
'spiffy-headline-1': boolean;
|
|
16
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
17
|
-
'spiffy-tw-font-medium': boolean;
|
|
18
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
19
|
-
};
|
|
20
|
-
t3: {
|
|
21
|
-
'spiffy-headline': boolean;
|
|
22
|
-
'spiffy-headline-1': boolean;
|
|
23
|
-
'spiffy-tw-text-[24px]': boolean;
|
|
24
|
-
'spiffy-tw-leading-[120%]': boolean;
|
|
25
|
-
};
|
|
26
|
-
h1: {
|
|
27
|
-
'spiffy-headline': boolean;
|
|
28
|
-
'spiffy-headline-1': boolean;
|
|
29
|
-
'spiffy-tw-text-[20px]': boolean;
|
|
30
|
-
'spiffy-tw-font-normal': boolean;
|
|
31
|
-
'spiffy-tw-leading-[120%]': boolean;
|
|
32
|
-
};
|
|
33
|
-
h2: {
|
|
34
|
-
'spiffy-headline': boolean;
|
|
35
|
-
'spiffy-headline-2': boolean;
|
|
36
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
37
|
-
'spiffy-tw-font-normal': boolean;
|
|
38
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
39
|
-
};
|
|
40
|
-
h3: {
|
|
41
|
-
'spiffy-headline': boolean;
|
|
42
|
-
'spiffy-headline-3': boolean;
|
|
43
|
-
'spiffy-tw-text-[15px]': boolean;
|
|
44
|
-
'spiffy-tw-font-medium': boolean;
|
|
45
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
46
|
-
};
|
|
47
|
-
h4: {
|
|
48
|
-
'spiffy-headline': boolean;
|
|
49
|
-
'spiffy-headline-4': boolean;
|
|
50
|
-
'spiffy-tw-text-[14px]': boolean;
|
|
51
|
-
'spiffy-tw-font-medium': boolean;
|
|
52
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
53
|
-
};
|
|
54
|
-
body1: {
|
|
55
|
-
'spiffy-body-text': boolean;
|
|
56
|
-
'spiffy-body-1': boolean;
|
|
57
|
-
'spiffy-tw-text-[20px]': boolean;
|
|
58
|
-
'spiffy-tw-font-normal': boolean;
|
|
59
|
-
'spiffy-tw-line-height-[120%]': boolean;
|
|
60
|
-
};
|
|
61
|
-
body2: {
|
|
62
|
-
'spiffy-body-text': boolean;
|
|
63
|
-
'spiffy-body-2': boolean;
|
|
64
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
65
|
-
'spiffy-tw-font-normal': boolean;
|
|
66
|
-
'spiffy-tw-line-height-[148%]': boolean;
|
|
67
|
-
};
|
|
68
|
-
body3: {
|
|
69
|
-
'spiffy-body-text': boolean;
|
|
70
|
-
'spiffy-body-3': boolean;
|
|
71
|
-
'spiffy-tw-text-sm': boolean;
|
|
72
|
-
'spiffy-tw-font-normal': boolean;
|
|
73
|
-
'spiffy-tw-leading-[140%]': boolean;
|
|
74
|
-
};
|
|
75
|
-
body4: {
|
|
76
|
-
'spiffy-body-text': boolean;
|
|
77
|
-
'spiffy-body-4': boolean;
|
|
78
|
-
'spiffy-tw-text-xs': boolean;
|
|
79
|
-
'spiffy-tw-font-medium': boolean;
|
|
80
|
-
'spiffy-tw-leading-[130%]': boolean;
|
|
81
|
-
};
|
|
82
|
-
body5: {
|
|
83
|
-
'spiffy-body-text': boolean;
|
|
84
|
-
'spiffy-body-5': boolean;
|
|
85
|
-
'spiffy-tw-text-[10px]': boolean;
|
|
86
|
-
'spiffy-tw-font-normal': boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/components/common/TextInput/TextInput.d.ts
|
|
91
|
-
interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
92
|
-
borderRadius: 'sm' | 'md' | 'lg' | 'xl';
|
|
93
|
-
borderColorClass?: string;
|
|
94
|
-
placeholderVariant?: keyof typeof TextStyleVariantMap;
|
|
95
|
-
}
|
|
96
|
-
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
97
|
-
//#endregion
|
|
98
|
-
export { TextInput, TextInputProps };
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/textVariantClasses.d.ts
|
|
4
|
-
|
|
5
|
-
declare const TextStyleVariantMap: {
|
|
6
|
-
t1: {
|
|
7
|
-
'spiffy-headline': boolean;
|
|
8
|
-
'spiffy-headline-1': boolean;
|
|
9
|
-
'spiffy-tw-text-[32px]': boolean;
|
|
10
|
-
'spiffy-tw-font-medium': boolean;
|
|
11
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
12
|
-
};
|
|
13
|
-
t2: {
|
|
14
|
-
'spiffy-headline': boolean;
|
|
15
|
-
'spiffy-headline-1': boolean;
|
|
16
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
17
|
-
'spiffy-tw-font-medium': boolean;
|
|
18
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
19
|
-
};
|
|
20
|
-
t3: {
|
|
21
|
-
'spiffy-headline': boolean;
|
|
22
|
-
'spiffy-headline-1': boolean;
|
|
23
|
-
'spiffy-tw-text-[24px]': boolean;
|
|
24
|
-
'spiffy-tw-leading-[120%]': boolean;
|
|
25
|
-
};
|
|
26
|
-
h1: {
|
|
27
|
-
'spiffy-headline': boolean;
|
|
28
|
-
'spiffy-headline-1': boolean;
|
|
29
|
-
'spiffy-tw-text-[20px]': boolean;
|
|
30
|
-
'spiffy-tw-font-normal': boolean;
|
|
31
|
-
'spiffy-tw-leading-[120%]': boolean;
|
|
32
|
-
};
|
|
33
|
-
h2: {
|
|
34
|
-
'spiffy-headline': boolean;
|
|
35
|
-
'spiffy-headline-2': boolean;
|
|
36
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
37
|
-
'spiffy-tw-font-normal': boolean;
|
|
38
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
39
|
-
};
|
|
40
|
-
h3: {
|
|
41
|
-
'spiffy-headline': boolean;
|
|
42
|
-
'spiffy-headline-3': boolean;
|
|
43
|
-
'spiffy-tw-text-[15px]': boolean;
|
|
44
|
-
'spiffy-tw-font-medium': boolean;
|
|
45
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
46
|
-
};
|
|
47
|
-
h4: {
|
|
48
|
-
'spiffy-headline': boolean;
|
|
49
|
-
'spiffy-headline-4': boolean;
|
|
50
|
-
'spiffy-tw-text-[14px]': boolean;
|
|
51
|
-
'spiffy-tw-font-medium': boolean;
|
|
52
|
-
'spiffy-tw-leading-[124%]': boolean;
|
|
53
|
-
};
|
|
54
|
-
body1: {
|
|
55
|
-
'spiffy-body-text': boolean;
|
|
56
|
-
'spiffy-body-1': boolean;
|
|
57
|
-
'spiffy-tw-text-[20px]': boolean;
|
|
58
|
-
'spiffy-tw-font-normal': boolean;
|
|
59
|
-
'spiffy-tw-line-height-[120%]': boolean;
|
|
60
|
-
};
|
|
61
|
-
body2: {
|
|
62
|
-
'spiffy-body-text': boolean;
|
|
63
|
-
'spiffy-body-2': boolean;
|
|
64
|
-
'spiffy-tw-text-[16px]': boolean;
|
|
65
|
-
'spiffy-tw-font-normal': boolean;
|
|
66
|
-
'spiffy-tw-line-height-[148%]': boolean;
|
|
67
|
-
};
|
|
68
|
-
body3: {
|
|
69
|
-
'spiffy-body-text': boolean;
|
|
70
|
-
'spiffy-body-3': boolean;
|
|
71
|
-
'spiffy-tw-text-sm': boolean;
|
|
72
|
-
'spiffy-tw-font-normal': boolean;
|
|
73
|
-
'spiffy-tw-leading-[140%]': boolean;
|
|
74
|
-
};
|
|
75
|
-
body4: {
|
|
76
|
-
'spiffy-body-text': boolean;
|
|
77
|
-
'spiffy-body-4': boolean;
|
|
78
|
-
'spiffy-tw-text-xs': boolean;
|
|
79
|
-
'spiffy-tw-font-medium': boolean;
|
|
80
|
-
'spiffy-tw-leading-[130%]': boolean;
|
|
81
|
-
};
|
|
82
|
-
body5: {
|
|
83
|
-
'spiffy-body-text': boolean;
|
|
84
|
-
'spiffy-body-5': boolean;
|
|
85
|
-
'spiffy-tw-text-[10px]': boolean;
|
|
86
|
-
'spiffy-tw-font-normal': boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/components/common/TextInput/TextInput.d.ts
|
|
91
|
-
interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
92
|
-
borderRadius: 'sm' | 'md' | 'lg' | 'xl';
|
|
93
|
-
borderColorClass?: string;
|
|
94
|
-
placeholderVariant?: keyof typeof TextStyleVariantMap;
|
|
95
|
-
}
|
|
96
|
-
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
97
|
-
//#endregion
|
|
98
|
-
export { TextInput, TextInputProps };
|