@envive-ai/react-toolkit 0.1.4 → 0.1.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/ButtonBase/index.cjs +6 -0
- package/dist/ButtonBase/index.d.cts +43 -0
- package/dist/{common/ButtonBase/ButtonBase.d.ts → ButtonBase/index.d.ts} +14 -6
- package/dist/ButtonBase/index.js +5 -0
- package/dist/{ButtonBase-C1rsL9gO.js → ButtonBase-CpmFsiUf.js} +4 -4
- package/dist/{ButtonBase-a8uj6c2f.cjs → ButtonBase-Dlh3bpR3.cjs} +9 -3
- package/dist/{AppliedFiltersScrollbar-BlcyhZkZ.cjs → DynamicFiltersScrollbar-D8Lms7Ox.cjs} +34 -2
- package/dist/{AppliedFiltersScrollbar-DFGzRemu.js → DynamicFiltersScrollbar-t_JASmYC.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.ts → Headline/index.d.cts} +3 -3
- package/dist/{common/Headline/Headline.d.cts → Headline/index.d.ts} +1 -1
- package/dist/Headline/index.js +4 -0
- package/dist/{Headline-8on6ZB9e.js → Headline-COAnonc2.js} +2 -2
- package/dist/{Headline-CcWn0w-a.cjs → Headline-CdddUGwy.cjs} +2 -2
- package/dist/ImageWithFallback/index.cjs +3 -0
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.cts → ImageWithFallback/index.d.cts} +1 -1
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.ts → ImageWithFallback/index.d.ts} +3 -3
- package/dist/ImageWithFallback/index.js +3 -0
- package/dist/{ImageWithFallback-ioeMFrTf.cjs → ImageWithFallback-By6QdlCR.cjs} +1 -1
- package/dist/{ImageWithFallback-gN5HDS9L.js → ImageWithFallback-DtUrq_bk.js} +1 -1
- package/dist/ProductCard/index.cjs +18 -0
- package/dist/{common/ProductCard/ProductCard.d.ts → ProductCard/index.d.cts} +26 -8
- package/dist/{common/ProductCard/ProductCard.d.cts → ProductCard/index.d.ts} +22 -4
- package/dist/ProductCard/index.js +9 -0
- package/dist/{ProductCard-C7WUShhN.cjs → ProductCard-CvTRvhm7.cjs} +77 -10
- package/dist/{ProductCard-B5wnOeR9.js → ProductCard-aJbQz6Q7.js} +50 -7
- package/dist/{ProductCardSkeleton-BPfp6IOp.js → ProductCardSkeleton-B6YetUCT.js} +9 -4
- package/dist/{ProductCardSkeleton-BgvDlaty.cjs → ProductCardSkeleton-BzBK36m-.cjs} +21 -4
- 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-CSIH2_G9.cjs} +28 -4
- package/dist/{ProductGrid-wnSc9bXT.js → ProductGrid-NOCayW9O.js} +22 -4
- package/dist/{SearchAutocomplete-BrF2SMoZ.cjs → SearchAutocomplete-CQxxe5Op.cjs} +1 -1
- package/dist/{SearchAutocomplete-B8mO03Rr.js → SearchAutocomplete-DCu9-Yfk.js} +1 -1
- package/dist/SearchFilter/index.cjs +8 -0
- package/dist/SearchFilter/index.d.cts +35 -0
- package/dist/SearchFilter/index.d.ts +35 -0
- package/dist/SearchFilter/index.js +6 -0
- package/dist/SearchFilterHeader-BDEcDc_4.js +114 -0
- package/dist/SearchFilterHeader-qkRVfAB5.cjs +134 -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-mLPisqFO.cjs → SearchInput-Cdpwswyv.cjs} +4 -4
- package/dist/{SearchInput-CzVUsUSb.js → SearchInput-DxGvYGZO.js} +4 -4
- package/dist/SearchInputAutocomplete/index.cjs +3 -0
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.cts → SearchInputAutocomplete/index.d.cts} +1 -1
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.ts → SearchInputAutocomplete/index.d.ts} +1 -1
- package/dist/SearchInputAutocomplete/index.js +3 -0
- package/dist/{search/SearchInputForm/SearchInputForm.cjs → SearchInputForm/index.cjs} +7 -7
- package/dist/{search/SearchInputForm/SearchInputForm.d.ts → SearchInputForm/index.d.cts} +5 -5
- package/dist/{search/SearchInputForm/SearchInputForm.d.cts → SearchInputForm/index.d.ts} +5 -5
- package/dist/{search/SearchInputForm/SearchInputForm.js → SearchInputForm/index.js} +6 -6
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.cjs → SearchResultsFilterSidebar/index.cjs} +11 -12
- package/dist/SearchResultsFilterSidebar/index.d.cts +44 -0
- package/dist/SearchResultsFilterSidebar/index.d.ts +44 -0
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.js → SearchResultsFilterSidebar/index.js} +8 -10
- package/dist/SearchResultsStates/index.cjs +127 -0
- package/dist/SearchResultsStates/index.d.cts +66 -0
- package/dist/SearchResultsStates/index.d.ts +66 -0
- package/dist/SearchResultsStates/index.js +120 -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-DfMCtvAQ.js} +3 -3
- package/dist/{SparkleAnimation-Ba5G4MIQ.cjs → SparkleAnimation-j-mAMEZZ.cjs} +8 -2
- 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-D9kkaM9d.js} +1 -1
- package/dist/{Spinner-CfQ85Ajl.cjs → Spinner-DX35Epv3.cjs} +1 -1
- package/dist/{common/SuggestionButton/SuggestionButton.cjs → SuggestionButton/index.cjs} +7 -7
- 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} +5 -5
- package/dist/Text/index.cjs +18 -0
- package/dist/Text/index.d.cts +42 -0
- package/dist/Text/index.d.ts +42 -0
- package/dist/Text/index.js +13 -0
- package/dist/{Text-Bdv7F5-u.js → Text-BMg3d10t.js} +2 -2
- package/dist/{Text-C04c4Z93.cjs → Text-CgOYTs8D.cjs} +2 -2
- 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-CObd_Wcw.cjs} +2 -2
- package/dist/{TextInput-CEGWfdPC.js → TextInput-ChPhL54o.js} +2 -2
- package/dist/{colorsConfig-BKBZfFq1.js → colorsConfig-CKiMYHO_.js} +1 -1
- package/dist/{colorsConfig-vunsVTFC.cjs → colorsConfig-DulwYRIk.cjs} +1 -1
- package/dist/{searchFilterSidebarVariants-eoyfoWA8.js → searchFilterSidebarVariants-C_UTEIpZ.js} +2 -2
- package/dist/{searchFilterSidebarVariants-L1rn5Ift.cjs → searchFilterSidebarVariants-DcQLi_TT.cjs} +2 -2
- package/dist/{textVariantClasses-Bhf4VY5z.cjs → textVariantClasses-BnV4wXaw.cjs} +1 -1
- package/dist/{textVariantClasses-5t3OricK.js → textVariantClasses-CnjwO2Fv.js} +1 -1
- package/dist/textVariantClasses-DwnnFNBf.d.cts +174 -0
- package/dist/textVariantClasses-sT9E8Uty.d.ts +174 -0
- package/dist/types-5luH4G-3.d.cts +5 -0
- package/dist/types-B7hf-Lif.d.ts +272 -0
- package/dist/{types-BQNqA5xL.d.ts → types-BCAU5OQD.d.cts} +1 -1
- package/dist/types-BIPqyTOJ.d.ts +5 -0
- package/dist/types-BQYpWDJ4.d.cts +6 -0
- package/dist/{types-CImLkcNh.d.cts → types-BwPquD10.d.ts} +1 -1
- package/dist/types-CosVh8Hj.d.cts +4 -0
- package/dist/types-DpfHwTzY.d.ts +6 -0
- package/dist/types-Dvgr3ZeV.d.cts +272 -0
- package/dist/types-nR3jHgIO.d.ts +4 -0
- package/package.json +58 -85
- package/src/components/ButtonBase/index.ts +2 -0
- package/src/components/{common/ButtonBase → ButtonBase}/types.ts +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/DynamicFiltersScrollbar.tsx +1 -1
- 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 +3 -3
- package/src/components/ProductCard/index.ts +4 -0
- package/src/components/ProductGrid/index.ts +2 -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 +1 -1
- package/src/components/SearchInput/index.ts +2 -0
- package/src/components/{search/SearchInput → SearchInput}/searchInputVariants.ts +2 -2
- package/src/components/SearchInputAutocomplete/index.ts +1 -0
- package/src/components/SearchInputForm/index.ts +2 -0
- package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/SearchResultsFilter.tsx +1 -1
- package/src/components/SearchResultsFilterSidebar/index.ts +3 -0
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +58 -0
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/NoSearchResultsFound.tsx +1 -1
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsGrid.tsx +2 -2
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsLoadingGrid.tsx +5 -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/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.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.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-BRLWwGMI.d.ts +0 -4
- 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/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +0 -45
- package/src/components/search/types.ts +0 -5
- /package/dist/{types-DFetqNL2.d.ts → types-B19i3fxM.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/ProductCard → ProductCard}/types.ts +0 -0
- /package/src/components/{common/ProductGrid → ProductGrid}/ProductGrid.tsx +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/SearchInputAutocomplete → SearchInputAutocomplete}/SearchAutocomplete.tsx +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/SearchInputForm.tsx +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/types.ts +0 -0
- /package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/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,10 +1,10 @@
|
|
|
1
|
-
import { TestProps } from "
|
|
2
|
-
import * as
|
|
1
|
+
import { TestProps } from "../types-DpfHwTzY.js";
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/SuggestionButton/types.d.ts
|
|
5
5
|
type SuggestionButtonVariant = 'outlined' | 'outlinedLight' | 'primary' | 'secondary' | 'tertiary' | 'dark' | 'darkAccent' | 'darkPrimary' | 'secondaryDark' | 'secondaryAccent' | 'transparent' | 'transparentDark' | 'lightDark';
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region src/components/
|
|
7
|
+
//#region src/components/SuggestionButton/SuggestionButton.d.ts
|
|
8
8
|
declare const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
9
9
|
declare const SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS = "spiffy-suggestion-button-answer-class";
|
|
10
10
|
declare const SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS = "spiffy-suggestion-button-text-class";
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime16.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton };
|
|
35
|
+
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ButtonBase } from "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
1
|
+
import { ButtonBase } from "../ButtonBase-CpmFsiUf.js";
|
|
2
|
+
import "../textVariantClasses-CnjwO2Fv.js";
|
|
3
|
+
import "../Text-BMg3d10t.js";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import FourPointStar from "@envive-ai/react-icons/src/FourPointStar";
|
|
7
6
|
import OutlinedStar from "@envive-ai/react-icons/src/OutlinedStar";
|
|
7
|
+
import FourPointStar from "@envive-ai/react-icons/src/FourPointStar";
|
|
8
8
|
|
|
9
|
-
//#region src/components/
|
|
9
|
+
//#region src/components/SuggestionButton/SuggestionButton.tsx
|
|
10
10
|
const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
11
11
|
const SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS = "spiffy-suggestion-button-answer-class";
|
|
12
12
|
const SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS = "spiffy-suggestion-button-text-class";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const require_textVariantClasses = require('../textVariantClasses-BnV4wXaw.cjs');
|
|
2
|
+
const require_Text = require('../Text-CgOYTs8D.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/types.ts
|
|
5
|
+
let ExpandableTextOverrides = /* @__PURE__ */ function(ExpandableTextOverrides$1) {
|
|
6
|
+
ExpandableTextOverrides$1["EXPANDABLE_TEXT_CONTAINER"] = "spiffy-expandable-text-container";
|
|
7
|
+
ExpandableTextOverrides$1["EXPANDABLE_TEXT"] = "spiffy-expandable-text";
|
|
8
|
+
ExpandableTextOverrides$1["EXPANDABLE_BUTTON"] = "spiffy-expandable-button";
|
|
9
|
+
return ExpandableTextOverrides$1;
|
|
10
|
+
}({});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.ExpandableTextOverrides = ExpandableTextOverrides;
|
|
14
|
+
exports.HeadlineVariantMap = require_textVariantClasses.HeadlineVariantMap;
|
|
15
|
+
exports.Text = require_Text.Text;
|
|
16
|
+
exports.TextStyleVariantMap = require_textVariantClasses.TextStyleVariantMap;
|
|
17
|
+
exports.TextVariantMap = require_textVariantClasses.TextVariantMap;
|
|
18
|
+
exports.getVariantPlaceholderClassNames = require_textVariantClasses.getVariantPlaceholderClassNames;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-DwnnFNBf.cjs";
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/types.d.ts
|
|
5
|
+
declare enum ExpandableTextOverrides {
|
|
6
|
+
EXPANDABLE_TEXT_CONTAINER = "spiffy-expandable-text-container",
|
|
7
|
+
EXPANDABLE_TEXT = "spiffy-expandable-text",
|
|
8
|
+
EXPANDABLE_BUTTON = "spiffy-expandable-button",
|
|
9
|
+
}
|
|
10
|
+
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
11
|
+
type TextType = 'p' | 'span' | 'sub';
|
|
12
|
+
type HeadlineProps = {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
variant?: HeadlineVariant;
|
|
17
|
+
testId?: string;
|
|
18
|
+
id?: string;
|
|
19
|
+
};
|
|
20
|
+
type HeadlineVariant = 't1' | 't2' | 't3' | 'h1' | 'h2' | 'h3' | 'h4';
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/Text/Text.d.ts
|
|
23
|
+
type TextProps = {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
noOfLines?: number;
|
|
26
|
+
className?: string;
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
variant?: TextVariant;
|
|
29
|
+
type?: TextType;
|
|
30
|
+
testId?: string;
|
|
31
|
+
};
|
|
32
|
+
declare const Text: ({
|
|
33
|
+
children,
|
|
34
|
+
className,
|
|
35
|
+
style,
|
|
36
|
+
noOfLines,
|
|
37
|
+
testId,
|
|
38
|
+
type,
|
|
39
|
+
variant
|
|
40
|
+
}: TextProps) => react_jsx_runtime5.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ExpandableTextOverrides, HeadlineProps, HeadlineVariant, HeadlineVariantMap, Text, TextStyleVariantMap, TextType, TextVariant, TextVariantMap, getVariantPlaceholderClassNames };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-sT9E8Uty.js";
|
|
2
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/types.d.ts
|
|
5
|
+
declare enum ExpandableTextOverrides {
|
|
6
|
+
EXPANDABLE_TEXT_CONTAINER = "spiffy-expandable-text-container",
|
|
7
|
+
EXPANDABLE_TEXT = "spiffy-expandable-text",
|
|
8
|
+
EXPANDABLE_BUTTON = "spiffy-expandable-button",
|
|
9
|
+
}
|
|
10
|
+
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
11
|
+
type TextType = 'p' | 'span' | 'sub';
|
|
12
|
+
type HeadlineProps = {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
variant?: HeadlineVariant;
|
|
17
|
+
testId?: string;
|
|
18
|
+
id?: string;
|
|
19
|
+
};
|
|
20
|
+
type HeadlineVariant = 't1' | 't2' | 't3' | 'h1' | 'h2' | 'h3' | 'h4';
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/Text/Text.d.ts
|
|
23
|
+
type TextProps = {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
noOfLines?: number;
|
|
26
|
+
className?: string;
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
variant?: TextVariant;
|
|
29
|
+
type?: TextType;
|
|
30
|
+
testId?: string;
|
|
31
|
+
};
|
|
32
|
+
declare const Text: ({
|
|
33
|
+
children,
|
|
34
|
+
className,
|
|
35
|
+
style,
|
|
36
|
+
noOfLines,
|
|
37
|
+
testId,
|
|
38
|
+
type,
|
|
39
|
+
variant
|
|
40
|
+
}: TextProps) => react_jsx_runtime11.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ExpandableTextOverrides, HeadlineProps, HeadlineVariant, HeadlineVariantMap, Text, TextStyleVariantMap, TextType, TextVariant, TextVariantMap, getVariantPlaceholderClassNames };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-CnjwO2Fv.js";
|
|
2
|
+
import { Text } from "../Text-BMg3d10t.js";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/types.ts
|
|
5
|
+
let ExpandableTextOverrides = /* @__PURE__ */ function(ExpandableTextOverrides$1) {
|
|
6
|
+
ExpandableTextOverrides$1["EXPANDABLE_TEXT_CONTAINER"] = "spiffy-expandable-text-container";
|
|
7
|
+
ExpandableTextOverrides$1["EXPANDABLE_TEXT"] = "spiffy-expandable-text";
|
|
8
|
+
ExpandableTextOverrides$1["EXPANDABLE_BUTTON"] = "spiffy-expandable-button";
|
|
9
|
+
return ExpandableTextOverrides$1;
|
|
10
|
+
}({});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ExpandableTextOverrides, HeadlineVariantMap, Text, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TextVariantMap } from "./textVariantClasses-
|
|
1
|
+
import { TextVariantMap } from "./textVariantClasses-CnjwO2Fv.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/Text/Text.tsx
|
|
6
6
|
const Text = ({ children, className, style, noOfLines, testId, type = "span", variant = "body3" }) => {
|
|
7
7
|
const variantClassNames = variant ? TextVariantMap[variant] : {};
|
|
8
8
|
const textClassNames = classNames(className, variantClassNames, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_textVariantClasses = require('./textVariantClasses-
|
|
2
|
+
const require_textVariantClasses = require('./textVariantClasses-BnV4wXaw.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
7
7
|
|
|
8
|
-
//#region src/components/
|
|
8
|
+
//#region src/components/Text/Text.tsx
|
|
9
9
|
const Text = ({ children, className, style, noOfLines, testId, type = "span", variant = "body3" }) => {
|
|
10
10
|
const variantClassNames = variant ? require_textVariantClasses.TextVariantMap[variant] : {};
|
|
11
11
|
const textClassNames = (0, classnames.default)(className, variantClassNames, {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TextStyleVariantMap } from "../textVariantClasses-DwnnFNBf.cjs";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/TextInput/TextInput.d.ts
|
|
5
|
+
interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
6
|
+
borderRadius: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
+
borderColorClass?: string;
|
|
8
|
+
placeholderVariant?: keyof typeof TextStyleVariantMap;
|
|
9
|
+
}
|
|
10
|
+
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { TextInput, TextInputProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TextStyleVariantMap } from "../textVariantClasses-sT9E8Uty.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/TextInput/TextInput.d.ts
|
|
5
|
+
interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
6
|
+
borderRadius: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
+
borderColorClass?: string;
|
|
8
|
+
placeholderVariant?: keyof typeof TextStyleVariantMap;
|
|
9
|
+
}
|
|
10
|
+
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { TextInput, TextInputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_textVariantClasses = require('./textVariantClasses-
|
|
2
|
+
const require_textVariantClasses = require('./textVariantClasses-BnV4wXaw.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react = require("react");
|
|
@@ -7,7 +7,7 @@ react = require_chunk.__toESM(react);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
9
9
|
|
|
10
|
-
//#region src/components/
|
|
10
|
+
//#region src/components/TextInput/TextInput.tsx
|
|
11
11
|
const TextInput = react.default.forwardRef(({ className, borderRadius, borderColorClass, placeholderVariant,...rest }, ref) => {
|
|
12
12
|
const variantClassNames = placeholderVariant ? require_textVariantClasses.TextStyleVariantMap[placeholderVariant] : {};
|
|
13
13
|
const placeholderVariantClassNames = require_textVariantClasses.getVariantPlaceholderClassNames(variantClassNames);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TextStyleVariantMap, getVariantPlaceholderClassNames } from "./textVariantClasses-
|
|
1
|
+
import { TextStyleVariantMap, getVariantPlaceholderClassNames } from "./textVariantClasses-CnjwO2Fv.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
|
-
//#region src/components/
|
|
6
|
+
//#region src/components/TextInput/TextInput.tsx
|
|
7
7
|
const TextInput = React.forwardRef(({ className, borderRadius, borderColorClass, placeholderVariant,...rest }, ref) => {
|
|
8
8
|
const variantClassNames = placeholderVariant ? TextStyleVariantMap[placeholderVariant] : {};
|
|
9
9
|
const placeholderVariantClassNames = getVariantPlaceholderClassNames(variantClassNames);
|
package/dist/{searchFilterSidebarVariants-eoyfoWA8.js → searchFilterSidebarVariants-C_UTEIpZ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ColorNames, colorVar } from "./colorsConfig-
|
|
1
|
+
import { ColorNames, colorVar } from "./colorsConfig-CKiMYHO_.js";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
|
|
4
4
|
const searchFilterSidebarVariantClasses = {
|
|
5
5
|
darkButton: {
|
|
6
6
|
radioButtonFillColor: colorVar(ColorNames.BackgroundDark),
|
package/dist/{searchFilterSidebarVariants-L1rn5Ift.cjs → searchFilterSidebarVariants-DcQLi_TT.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_colorsConfig = require('./colorsConfig-
|
|
1
|
+
const require_colorsConfig = require('./colorsConfig-DulwYRIk.cjs');
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
3
|
+
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts
|
|
4
4
|
const searchFilterSidebarVariantClasses = {
|
|
5
5
|
darkButton: {
|
|
6
6
|
radioButtonFillColor: require_colorsConfig.colorVar(require_colorsConfig.ColorNames.BackgroundDark),
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
//#region src/components/Text/textVariantClasses.d.ts
|
|
2
|
+
declare const HeadlineVariantMap: {
|
|
3
|
+
t1: {
|
|
4
|
+
'spiffy-headline': boolean;
|
|
5
|
+
'spiffy-headline-1': boolean;
|
|
6
|
+
'spiffy-tw-text-[32px]': boolean;
|
|
7
|
+
'spiffy-tw-font-medium': boolean;
|
|
8
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
9
|
+
};
|
|
10
|
+
t2: {
|
|
11
|
+
'spiffy-headline': boolean;
|
|
12
|
+
'spiffy-headline-1': boolean;
|
|
13
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
14
|
+
'spiffy-tw-font-medium': boolean;
|
|
15
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
16
|
+
};
|
|
17
|
+
t3: {
|
|
18
|
+
'spiffy-headline': boolean;
|
|
19
|
+
'spiffy-headline-1': boolean;
|
|
20
|
+
'spiffy-tw-text-[24px]': boolean;
|
|
21
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
22
|
+
};
|
|
23
|
+
h1: {
|
|
24
|
+
'spiffy-headline': boolean;
|
|
25
|
+
'spiffy-headline-1': boolean;
|
|
26
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
27
|
+
'spiffy-tw-font-normal': boolean;
|
|
28
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
29
|
+
};
|
|
30
|
+
h2: {
|
|
31
|
+
'spiffy-headline': boolean;
|
|
32
|
+
'spiffy-headline-2': boolean;
|
|
33
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
34
|
+
'spiffy-tw-font-normal': boolean;
|
|
35
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
36
|
+
};
|
|
37
|
+
h3: {
|
|
38
|
+
'spiffy-headline': boolean;
|
|
39
|
+
'spiffy-headline-3': boolean;
|
|
40
|
+
'spiffy-tw-text-[15px]': boolean;
|
|
41
|
+
'spiffy-tw-font-medium': boolean;
|
|
42
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
43
|
+
};
|
|
44
|
+
h4: {
|
|
45
|
+
'spiffy-headline': boolean;
|
|
46
|
+
'spiffy-headline-4': boolean;
|
|
47
|
+
'spiffy-tw-text-[14px]': boolean;
|
|
48
|
+
'spiffy-tw-font-medium': boolean;
|
|
49
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
declare const TextVariantMap: {
|
|
53
|
+
body1: {
|
|
54
|
+
'spiffy-body-text': boolean;
|
|
55
|
+
'spiffy-body-1': boolean;
|
|
56
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
57
|
+
'spiffy-tw-font-normal': boolean;
|
|
58
|
+
'spiffy-tw-line-height-[120%]': boolean;
|
|
59
|
+
};
|
|
60
|
+
body2: {
|
|
61
|
+
'spiffy-body-text': boolean;
|
|
62
|
+
'spiffy-body-2': boolean;
|
|
63
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
64
|
+
'spiffy-tw-font-normal': boolean;
|
|
65
|
+
'spiffy-tw-line-height-[148%]': boolean;
|
|
66
|
+
};
|
|
67
|
+
body3: {
|
|
68
|
+
'spiffy-body-text': boolean;
|
|
69
|
+
'spiffy-body-3': boolean;
|
|
70
|
+
'spiffy-tw-text-sm': boolean;
|
|
71
|
+
'spiffy-tw-font-normal': boolean;
|
|
72
|
+
'spiffy-tw-leading-[140%]': boolean;
|
|
73
|
+
};
|
|
74
|
+
body4: {
|
|
75
|
+
'spiffy-body-text': boolean;
|
|
76
|
+
'spiffy-body-4': boolean;
|
|
77
|
+
'spiffy-tw-text-xs': boolean;
|
|
78
|
+
'spiffy-tw-font-medium': boolean;
|
|
79
|
+
'spiffy-tw-leading-[130%]': boolean;
|
|
80
|
+
};
|
|
81
|
+
body5: {
|
|
82
|
+
'spiffy-body-text': boolean;
|
|
83
|
+
'spiffy-body-5': boolean;
|
|
84
|
+
'spiffy-tw-text-[10px]': boolean;
|
|
85
|
+
'spiffy-tw-font-normal': boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
declare const TextStyleVariantMap: {
|
|
89
|
+
t1: {
|
|
90
|
+
'spiffy-headline': boolean;
|
|
91
|
+
'spiffy-headline-1': boolean;
|
|
92
|
+
'spiffy-tw-text-[32px]': boolean;
|
|
93
|
+
'spiffy-tw-font-medium': boolean;
|
|
94
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
95
|
+
};
|
|
96
|
+
t2: {
|
|
97
|
+
'spiffy-headline': boolean;
|
|
98
|
+
'spiffy-headline-1': boolean;
|
|
99
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
100
|
+
'spiffy-tw-font-medium': boolean;
|
|
101
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
102
|
+
};
|
|
103
|
+
t3: {
|
|
104
|
+
'spiffy-headline': boolean;
|
|
105
|
+
'spiffy-headline-1': boolean;
|
|
106
|
+
'spiffy-tw-text-[24px]': boolean;
|
|
107
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
108
|
+
};
|
|
109
|
+
h1: {
|
|
110
|
+
'spiffy-headline': boolean;
|
|
111
|
+
'spiffy-headline-1': boolean;
|
|
112
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
113
|
+
'spiffy-tw-font-normal': boolean;
|
|
114
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
115
|
+
};
|
|
116
|
+
h2: {
|
|
117
|
+
'spiffy-headline': boolean;
|
|
118
|
+
'spiffy-headline-2': boolean;
|
|
119
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
120
|
+
'spiffy-tw-font-normal': boolean;
|
|
121
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
122
|
+
};
|
|
123
|
+
h3: {
|
|
124
|
+
'spiffy-headline': boolean;
|
|
125
|
+
'spiffy-headline-3': boolean;
|
|
126
|
+
'spiffy-tw-text-[15px]': boolean;
|
|
127
|
+
'spiffy-tw-font-medium': boolean;
|
|
128
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
129
|
+
};
|
|
130
|
+
h4: {
|
|
131
|
+
'spiffy-headline': boolean;
|
|
132
|
+
'spiffy-headline-4': boolean;
|
|
133
|
+
'spiffy-tw-text-[14px]': boolean;
|
|
134
|
+
'spiffy-tw-font-medium': boolean;
|
|
135
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
136
|
+
};
|
|
137
|
+
body1: {
|
|
138
|
+
'spiffy-body-text': boolean;
|
|
139
|
+
'spiffy-body-1': boolean;
|
|
140
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
141
|
+
'spiffy-tw-font-normal': boolean;
|
|
142
|
+
'spiffy-tw-line-height-[120%]': boolean;
|
|
143
|
+
};
|
|
144
|
+
body2: {
|
|
145
|
+
'spiffy-body-text': boolean;
|
|
146
|
+
'spiffy-body-2': boolean;
|
|
147
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
148
|
+
'spiffy-tw-font-normal': boolean;
|
|
149
|
+
'spiffy-tw-line-height-[148%]': boolean;
|
|
150
|
+
};
|
|
151
|
+
body3: {
|
|
152
|
+
'spiffy-body-text': boolean;
|
|
153
|
+
'spiffy-body-3': boolean;
|
|
154
|
+
'spiffy-tw-text-sm': boolean;
|
|
155
|
+
'spiffy-tw-font-normal': boolean;
|
|
156
|
+
'spiffy-tw-leading-[140%]': boolean;
|
|
157
|
+
};
|
|
158
|
+
body4: {
|
|
159
|
+
'spiffy-body-text': boolean;
|
|
160
|
+
'spiffy-body-4': boolean;
|
|
161
|
+
'spiffy-tw-text-xs': boolean;
|
|
162
|
+
'spiffy-tw-font-medium': boolean;
|
|
163
|
+
'spiffy-tw-leading-[130%]': boolean;
|
|
164
|
+
};
|
|
165
|
+
body5: {
|
|
166
|
+
'spiffy-body-text': boolean;
|
|
167
|
+
'spiffy-body-5': boolean;
|
|
168
|
+
'spiffy-tw-text-[10px]': boolean;
|
|
169
|
+
'spiffy-tw-font-normal': boolean;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
declare const getVariantPlaceholderClassNames: (classes: Record<string, boolean>) => Record<string, boolean>;
|
|
173
|
+
//#endregion
|
|
174
|
+
export { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames };
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
//#region src/components/Text/textVariantClasses.d.ts
|
|
2
|
+
declare const HeadlineVariantMap: {
|
|
3
|
+
t1: {
|
|
4
|
+
'spiffy-headline': boolean;
|
|
5
|
+
'spiffy-headline-1': boolean;
|
|
6
|
+
'spiffy-tw-text-[32px]': boolean;
|
|
7
|
+
'spiffy-tw-font-medium': boolean;
|
|
8
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
9
|
+
};
|
|
10
|
+
t2: {
|
|
11
|
+
'spiffy-headline': boolean;
|
|
12
|
+
'spiffy-headline-1': boolean;
|
|
13
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
14
|
+
'spiffy-tw-font-medium': boolean;
|
|
15
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
16
|
+
};
|
|
17
|
+
t3: {
|
|
18
|
+
'spiffy-headline': boolean;
|
|
19
|
+
'spiffy-headline-1': boolean;
|
|
20
|
+
'spiffy-tw-text-[24px]': boolean;
|
|
21
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
22
|
+
};
|
|
23
|
+
h1: {
|
|
24
|
+
'spiffy-headline': boolean;
|
|
25
|
+
'spiffy-headline-1': boolean;
|
|
26
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
27
|
+
'spiffy-tw-font-normal': boolean;
|
|
28
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
29
|
+
};
|
|
30
|
+
h2: {
|
|
31
|
+
'spiffy-headline': boolean;
|
|
32
|
+
'spiffy-headline-2': boolean;
|
|
33
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
34
|
+
'spiffy-tw-font-normal': boolean;
|
|
35
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
36
|
+
};
|
|
37
|
+
h3: {
|
|
38
|
+
'spiffy-headline': boolean;
|
|
39
|
+
'spiffy-headline-3': boolean;
|
|
40
|
+
'spiffy-tw-text-[15px]': boolean;
|
|
41
|
+
'spiffy-tw-font-medium': boolean;
|
|
42
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
43
|
+
};
|
|
44
|
+
h4: {
|
|
45
|
+
'spiffy-headline': boolean;
|
|
46
|
+
'spiffy-headline-4': boolean;
|
|
47
|
+
'spiffy-tw-text-[14px]': boolean;
|
|
48
|
+
'spiffy-tw-font-medium': boolean;
|
|
49
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
declare const TextVariantMap: {
|
|
53
|
+
body1: {
|
|
54
|
+
'spiffy-body-text': boolean;
|
|
55
|
+
'spiffy-body-1': boolean;
|
|
56
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
57
|
+
'spiffy-tw-font-normal': boolean;
|
|
58
|
+
'spiffy-tw-line-height-[120%]': boolean;
|
|
59
|
+
};
|
|
60
|
+
body2: {
|
|
61
|
+
'spiffy-body-text': boolean;
|
|
62
|
+
'spiffy-body-2': boolean;
|
|
63
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
64
|
+
'spiffy-tw-font-normal': boolean;
|
|
65
|
+
'spiffy-tw-line-height-[148%]': boolean;
|
|
66
|
+
};
|
|
67
|
+
body3: {
|
|
68
|
+
'spiffy-body-text': boolean;
|
|
69
|
+
'spiffy-body-3': boolean;
|
|
70
|
+
'spiffy-tw-text-sm': boolean;
|
|
71
|
+
'spiffy-tw-font-normal': boolean;
|
|
72
|
+
'spiffy-tw-leading-[140%]': boolean;
|
|
73
|
+
};
|
|
74
|
+
body4: {
|
|
75
|
+
'spiffy-body-text': boolean;
|
|
76
|
+
'spiffy-body-4': boolean;
|
|
77
|
+
'spiffy-tw-text-xs': boolean;
|
|
78
|
+
'spiffy-tw-font-medium': boolean;
|
|
79
|
+
'spiffy-tw-leading-[130%]': boolean;
|
|
80
|
+
};
|
|
81
|
+
body5: {
|
|
82
|
+
'spiffy-body-text': boolean;
|
|
83
|
+
'spiffy-body-5': boolean;
|
|
84
|
+
'spiffy-tw-text-[10px]': boolean;
|
|
85
|
+
'spiffy-tw-font-normal': boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
declare const TextStyleVariantMap: {
|
|
89
|
+
t1: {
|
|
90
|
+
'spiffy-headline': boolean;
|
|
91
|
+
'spiffy-headline-1': boolean;
|
|
92
|
+
'spiffy-tw-text-[32px]': boolean;
|
|
93
|
+
'spiffy-tw-font-medium': boolean;
|
|
94
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
95
|
+
};
|
|
96
|
+
t2: {
|
|
97
|
+
'spiffy-headline': boolean;
|
|
98
|
+
'spiffy-headline-1': boolean;
|
|
99
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
100
|
+
'spiffy-tw-font-medium': boolean;
|
|
101
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
102
|
+
};
|
|
103
|
+
t3: {
|
|
104
|
+
'spiffy-headline': boolean;
|
|
105
|
+
'spiffy-headline-1': boolean;
|
|
106
|
+
'spiffy-tw-text-[24px]': boolean;
|
|
107
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
108
|
+
};
|
|
109
|
+
h1: {
|
|
110
|
+
'spiffy-headline': boolean;
|
|
111
|
+
'spiffy-headline-1': boolean;
|
|
112
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
113
|
+
'spiffy-tw-font-normal': boolean;
|
|
114
|
+
'spiffy-tw-leading-[120%]': boolean;
|
|
115
|
+
};
|
|
116
|
+
h2: {
|
|
117
|
+
'spiffy-headline': boolean;
|
|
118
|
+
'spiffy-headline-2': boolean;
|
|
119
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
120
|
+
'spiffy-tw-font-normal': boolean;
|
|
121
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
122
|
+
};
|
|
123
|
+
h3: {
|
|
124
|
+
'spiffy-headline': boolean;
|
|
125
|
+
'spiffy-headline-3': boolean;
|
|
126
|
+
'spiffy-tw-text-[15px]': boolean;
|
|
127
|
+
'spiffy-tw-font-medium': boolean;
|
|
128
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
129
|
+
};
|
|
130
|
+
h4: {
|
|
131
|
+
'spiffy-headline': boolean;
|
|
132
|
+
'spiffy-headline-4': boolean;
|
|
133
|
+
'spiffy-tw-text-[14px]': boolean;
|
|
134
|
+
'spiffy-tw-font-medium': boolean;
|
|
135
|
+
'spiffy-tw-leading-[124%]': boolean;
|
|
136
|
+
};
|
|
137
|
+
body1: {
|
|
138
|
+
'spiffy-body-text': boolean;
|
|
139
|
+
'spiffy-body-1': boolean;
|
|
140
|
+
'spiffy-tw-text-[20px]': boolean;
|
|
141
|
+
'spiffy-tw-font-normal': boolean;
|
|
142
|
+
'spiffy-tw-line-height-[120%]': boolean;
|
|
143
|
+
};
|
|
144
|
+
body2: {
|
|
145
|
+
'spiffy-body-text': boolean;
|
|
146
|
+
'spiffy-body-2': boolean;
|
|
147
|
+
'spiffy-tw-text-[16px]': boolean;
|
|
148
|
+
'spiffy-tw-font-normal': boolean;
|
|
149
|
+
'spiffy-tw-line-height-[148%]': boolean;
|
|
150
|
+
};
|
|
151
|
+
body3: {
|
|
152
|
+
'spiffy-body-text': boolean;
|
|
153
|
+
'spiffy-body-3': boolean;
|
|
154
|
+
'spiffy-tw-text-sm': boolean;
|
|
155
|
+
'spiffy-tw-font-normal': boolean;
|
|
156
|
+
'spiffy-tw-leading-[140%]': boolean;
|
|
157
|
+
};
|
|
158
|
+
body4: {
|
|
159
|
+
'spiffy-body-text': boolean;
|
|
160
|
+
'spiffy-body-4': boolean;
|
|
161
|
+
'spiffy-tw-text-xs': boolean;
|
|
162
|
+
'spiffy-tw-font-medium': boolean;
|
|
163
|
+
'spiffy-tw-leading-[130%]': boolean;
|
|
164
|
+
};
|
|
165
|
+
body5: {
|
|
166
|
+
'spiffy-body-text': boolean;
|
|
167
|
+
'spiffy-body-5': boolean;
|
|
168
|
+
'spiffy-tw-text-[10px]': boolean;
|
|
169
|
+
'spiffy-tw-font-normal': boolean;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
declare const getVariantPlaceholderClassNames: (classes: Record<string, boolean>) => Record<string, boolean>;
|
|
173
|
+
//#endregion
|
|
174
|
+
export { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames };
|