@envive-ai/react-toolkit-v3 0.3.32 → 0.3.33
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/AnimatedText/AnimatedText.d.cts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +166 -61
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +166 -61
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +31 -16
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +31 -16
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/components/Badge.cjs +1 -1
- package/dist/Carousel/components/Badge.js +1 -1
- package/dist/Carousel/components/Container.cjs +1 -1
- package/dist/Carousel/components/Container.js +1 -1
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +1 -1
- package/dist/ChatFooter/components/Layout.cjs +1 -1
- package/dist/ChatFooter/components/Layout.js +1 -1
- package/dist/ChatFooter/components/index.d.cts +5 -5
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatHeader/hooks/useGetHandleProperties.cjs +1 -1
- package/dist/ChatHeader/hooks/useGetHandleProperties.js +1 -1
- package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +1 -1
- package/dist/ChatHeader/hooks/useGetLayoutProperties.js +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Layout.js +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +172 -172
- package/dist/Container/Container.d.ts +172 -172
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DesignTokens/components/FontFamily.cjs +1 -1
- package/dist/DesignTokens/components/FontFamily.js +1 -1
- package/dist/DesignTokens/components/FontSize.cjs +1 -1
- package/dist/DesignTokens/components/FontSize.js +1 -1
- package/dist/DesignTokens/components/FontWeight.cjs +5 -4
- package/dist/DesignTokens/components/FontWeight.js +5 -4
- package/dist/DesignTokens/components/LetterSpacing.cjs +16 -2
- package/dist/DesignTokens/components/LetterSpacing.js +16 -2
- package/dist/DesignTokens/components/LineHeight.cjs +14 -9
- package/dist/DesignTokens/components/LineHeight.js +14 -9
- package/dist/DesignTokens/components/Typography.cjs +1 -1
- package/dist/DesignTokens/components/Typography.js +1 -1
- package/dist/Disclaimer/components/Container.cjs +1 -1
- package/dist/Disclaimer/components/Container.js +1 -1
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Image.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Image.js +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +1 -1
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingButton/components/Button.cjs +1 -1
- package/dist/FloatingButton/components/Button.js +1 -1
- package/dist/FloatingButton/components/Container.cjs +1 -1
- package/dist/FloatingButton/components/Container.js +1 -1
- package/dist/FloatingButton/components/Wrapper.cjs +1 -1
- package/dist/FloatingButton/components/Wrapper.js +1 -1
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +1 -1
- package/dist/FloatingChat/components/Layout.js +1 -1
- package/dist/FloatingChat/components/ProductResultsModal.cjs +1 -1
- package/dist/FloatingChat/components/ProductResultsModal.js +1 -1
- package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
- package/dist/FloatingChat/components/ResultsGridView.js +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +4 -4
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +4 -4
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +6 -3
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +6 -3
- package/dist/FloatingChat/utils/functions.cjs +2 -1
- package/dist/FloatingChat/utils/functions.js +2 -1
- package/dist/Form/Form.cjs +1 -1
- package/dist/Form/Form.js +1 -1
- package/dist/Form/components/Layout.cjs +1 -1
- package/dist/Form/components/Layout.js +1 -1
- package/dist/Form/components/SubmitButtonItem.cjs +1 -1
- package/dist/Form/components/SubmitButtonItem.js +1 -1
- package/dist/Form/components/TextFieldItem.cjs +1 -1
- package/dist/Form/components/TextFieldItem.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/components/Layout.cjs +1 -1
- package/dist/FullPageSalesAgent/components/Layout.js +1 -1
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +1 -1
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +1 -1
- package/dist/Image/Image.cjs +1 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/Image/Image.js +1 -1
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/ImageGallery/utils/functions.cjs +1 -1
- package/dist/ImageGallery/utils/functions.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/Layout.cjs +1 -1
- package/dist/Message/components/Layout.js +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/OrderLookupCard/components/Layout.cjs +1 -1
- package/dist/OrderLookupCard/components/Layout.js +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.js +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.cjs +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.js +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.cjs +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +14 -8
- package/dist/ProductCard/ProductCard.d.cts +3 -2
- package/dist/ProductCard/ProductCard.d.ts +3 -2
- package/dist/ProductCard/ProductCard.js +10 -4
- package/dist/ProductCard/components/Header.cjs +7 -5
- package/dist/ProductCard/components/Header.js +7 -5
- package/dist/ProductCard/components/Poster.cjs +3 -2
- package/dist/ProductCard/components/Poster.js +3 -2
- package/dist/ProductCard/hooks/useGetPosterProperties.cjs +5 -3
- package/dist/ProductCard/hooks/useGetPosterProperties.js +6 -3
- package/dist/ProductCard/index.cjs +3 -1
- package/dist/ProductCard/index.d.cts +2 -2
- package/dist/ProductCard/index.d.ts +2 -2
- package/dist/ProductCard/index.js +2 -1
- package/dist/ProductCard/types/index.cjs +10 -0
- package/dist/ProductCard/types/index.d.cts +13 -3
- package/dist/ProductCard/types/index.d.ts +13 -3
- package/dist/ProductCard/types/index.js +9 -0
- package/dist/PromptButton/PromptButton.cjs +1 -1
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButton/PromptButton.js +1 -1
- package/dist/PromptButton/components/Layout.cjs +1 -1
- package/dist/PromptButton/components/Layout.js +1 -1
- package/dist/PromptButton/components/Loading.cjs +1 -1
- package/dist/PromptButton/components/Loading.js +1 -1
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Layout.js +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +1 -1
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +1 -1
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +1 -1
- package/dist/ReviewCard/components/Container.js +1 -1
- package/dist/ReviewCard/components/Rating.cjs +1 -1
- package/dist/ReviewCard/components/Rating.js +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/Container.cjs +1 -1
- package/dist/SalesAgentProductCard/components/Container.js +1 -1
- package/dist/SalesAgentProductCard/components/ProductImage.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductImage.js +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.js +1 -1
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/components/Headline.cjs +1 -1
- package/dist/SocialProof/components/Headline.js +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/TextField/TextField.cjs +1 -1
- package/dist/TextField/TextField.js +1 -1
- package/dist/TextField/components/Input.cjs +1 -1
- package/dist/TextField/components/Input.js +1 -1
- package/dist/TextField/components/Layout.cjs +1 -1
- package/dist/TextField/components/Layout.js +1 -1
- package/dist/TextField/components/SendIcon.cjs +1 -1
- package/dist/TextField/components/SendIcon.js +1 -1
- package/dist/Title/Title.cjs +1 -1
- package/dist/Title/Title.js +1 -1
- package/dist/Title/components/Layout.cjs +1 -1
- package/dist/Title/components/Layout.js +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
- package/dist/Tokens/index.cjs +2 -2
- package/dist/Tokens/index.js +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WelcomeMessage/components/Container.cjs +1 -1
- package/dist/WelcomeMessage/components/Container.js +1 -1
- package/dist/WidgetTextField/WidgetTextField.cjs +3 -2
- package/dist/WidgetTextField/WidgetTextField.d.cts +1 -0
- package/dist/WidgetTextField/WidgetTextField.d.ts +1 -0
- package/dist/WidgetTextField/WidgetTextField.js +3 -2
- package/dist/WidgetTextField/components/Container.cjs +4 -3
- package/dist/WidgetTextField/components/Container.js +4 -3
- package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
- package/dist/WidgetTextField/components/Skeleton.js +1 -1
- package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +7 -3
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +7 -3
- package/dist/WidgetTextField/types/types.d.cts +2 -0
- package/dist/WidgetTextField/types/types.d.ts +2 -0
- package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.js +1 -1
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/packages/components-v3/tokens/typography/fontWeight.cjs +12 -9
- package/dist/packages/components-v3/tokens/typography/fontWeight.d.ts +4 -3
- package/dist/packages/components-v3/tokens/typography/fontWeight.js +12 -9
- package/dist/packages/components-v3/tokens/typography/letterSpacing.cjs +39 -6
- package/dist/packages/components-v3/tokens/typography/letterSpacing.d.ts +13 -2
- package/dist/packages/components-v3/tokens/typography/letterSpacing.js +39 -6
- package/dist/packages/components-v3/tokens/typography/lineHeight.cjs +39 -30
- package/dist/packages/components-v3/tokens/typography/lineHeight.d.ts +15 -12
- package/dist/packages/components-v3/tokens/typography/lineHeight.js +39 -30
- package/dist/packages/components-v3/tokens/typography/typography.cjs +63 -63
- package/dist/packages/components-v3/tokens/typography/typography.js +63 -63
- package/dist/styles.css +1 -1
- package/dist/tokens/typography/fontWeight.d.cts +4 -3
- package/dist/tokens/typography/letterSpacing.d.cts +13 -2
- package/dist/tokens/typography/lineHeight.d.cts +15 -12
- package/dist/utils/resolveTheme.cjs +1 -1
- package/dist/utils/resolveTheme.js +1 -1
- package/package.json +1 -1
- package/src/components/CSSVariablesEditor/hooks/useGetDefaultCssVariables.ts +165 -60
- package/src/components/CSSVariablesEditor/hooks/useHandleUpdateCssVars.ts +30 -15
- package/src/components/DesignTokens/components/FontWeight.tsx +4 -3
- package/src/components/DesignTokens/components/LetterSpacing.tsx +13 -1
- package/src/components/DesignTokens/components/LineHeight.tsx +13 -8
- package/src/components/FloatingChat/components/SalesAgentBadgeContent.tsx +8 -2
- package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +5 -2
- package/src/components/FloatingChat/utils/functions.ts +2 -3
- package/src/components/ProductCard/ProductCard.tsx +8 -4
- package/src/components/ProductCard/components/Header.tsx +11 -5
- package/src/components/ProductCard/components/Poster.tsx +12 -3
- package/src/components/ProductCard/hooks/useGetPosterProperties.ts +15 -3
- package/src/components/ProductCard/index.ts +1 -0
- package/src/components/ProductCard/types/index.ts +13 -1
- package/src/components/WidgetTextField/WidgetTextField.tsx +2 -0
- package/src/components/WidgetTextField/components/Container.tsx +3 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +8 -2
- package/src/components/WidgetTextField/types/types.ts +2 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AnimatedTextProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react181 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AnimatedText/AnimatedText.d.ts
|
|
5
|
-
declare const AnimatedText:
|
|
5
|
+
declare const AnimatedText: react181.MemoExoticComponent<({
|
|
6
6
|
sequence,
|
|
7
7
|
typingDuration,
|
|
8
8
|
transition,
|
|
9
9
|
loop,
|
|
10
10
|
getNodeWrapper
|
|
11
|
-
}: AnimatedTextProps) =>
|
|
11
|
+
}: AnimatedTextProps) => react181.ReactNode>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { AnimatedText };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
|
|
4
4
|
declare const CssVariablesEditorComponent: ({
|
|
5
5
|
selectedMerchantName
|
|
6
6
|
}: {
|
|
7
7
|
selectedMerchantName: string;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => react_jsx_runtime29.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CssVariablesEditorComponent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/CSSVariablesEditor/CssVariablesEditorComponent.d.ts
|
|
4
4
|
declare const CssVariablesEditorComponent: ({
|
|
5
5
|
selectedMerchantName
|
|
6
6
|
}: {
|
|
7
7
|
selectedMerchantName: string;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => react_jsx_runtime35.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CssVariablesEditorComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
2
|
const require_colors = require('../../packages/components-v3/tokens/colors/colors.cjs');
|
|
4
3
|
const require_aspectRatio = require('../../packages/components-v3/tokens/aspectRatio/aspectRatio.cjs');
|
|
4
|
+
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
5
5
|
let react = require("react");
|
|
6
6
|
|
|
7
7
|
//#region src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
1
|
import { ColorsNamesVars } from "../../packages/components-v3/tokens/colors/colors.js";
|
|
3
2
|
import { AspectRatio } from "../../packages/components-v3/tokens/aspectRatio/aspectRatio.js";
|
|
3
|
+
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_utils = require('../../DesignTokens/components/utils.cjs');
|
|
3
2
|
const require_colorsConfig = require('../../packages/components-v3/src/models/colorsConfig.cjs');
|
|
3
|
+
const require_utils = require('../../DesignTokens/components/utils.cjs');
|
|
4
4
|
let react = require("react");
|
|
5
5
|
|
|
6
6
|
//#region src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getCSSVariable } from "../../DesignTokens/components/utils.js";
|
|
2
1
|
import { ColorNames } from "../../packages/components-v3/src/models/colorsConfig.js";
|
|
2
|
+
import { getCSSVariable } from "../../DesignTokens/components/utils.js";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
2
|
const require_colorsConfig = require('../../packages/components-v3/src/models/colorsConfig.cjs');
|
|
4
3
|
const require_colors = require('../../packages/components-v3/tokens/colors/colors.cjs');
|
|
5
4
|
const require_fontSize = require('../../packages/components-v3/tokens/typography/fontSize.cjs');
|
|
@@ -9,6 +8,7 @@ const require_letterSpacing = require('../../packages/components-v3/tokens/typog
|
|
|
9
8
|
const require_fontFamily = require('../../packages/components-v3/tokens/typography/fontFamily.cjs');
|
|
10
9
|
const require_radius = require('../../packages/components-v3/tokens/radius/radius.cjs');
|
|
11
10
|
const require_aspectRatio = require('../../packages/components-v3/tokens/aspectRatio/aspectRatio.cjs');
|
|
11
|
+
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
12
12
|
const require_useGetCssVariablesOptions = require('./useGetCssVariablesOptions.cjs');
|
|
13
13
|
let react = require("react");
|
|
14
14
|
|
|
@@ -260,108 +260,213 @@ const useGetDefaultCssVariables = ({ defaultMerchantColors }) => {
|
|
|
260
260
|
category: "Typography"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
key: "font-weight-
|
|
264
|
-
name: "Font Weight
|
|
265
|
-
variable: require_fontWeight.FontWeightCSSVar.
|
|
266
|
-
defaultValue: require_fontWeight.fontWeight.
|
|
263
|
+
key: "font-weight-title",
|
|
264
|
+
name: "Font Weight Title",
|
|
265
|
+
variable: require_fontWeight.FontWeightCSSVar.Title,
|
|
266
|
+
defaultValue: require_fontWeight.fontWeight.title,
|
|
267
|
+
category: "Typography"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
key: "font-weight-header",
|
|
271
|
+
name: "Font Weight Header",
|
|
272
|
+
variable: require_fontWeight.FontWeightCSSVar.Header,
|
|
273
|
+
defaultValue: require_fontWeight.fontWeight.header,
|
|
274
|
+
category: "Typography"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
key: "font-weight-body-emphasis",
|
|
278
|
+
name: "Font Weight Body Emphasis",
|
|
279
|
+
variable: require_fontWeight.FontWeightCSSVar.BodyEmphasis,
|
|
280
|
+
defaultValue: require_fontWeight.fontWeight.body_emphasis,
|
|
281
|
+
category: "Typography"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
key: "font-weight-body-standard",
|
|
285
|
+
name: "Font Weight Body Standard",
|
|
286
|
+
variable: require_fontWeight.FontWeightCSSVar.BodyStandard,
|
|
287
|
+
defaultValue: require_fontWeight.fontWeight.body_standard,
|
|
288
|
+
category: "Typography"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
key: "line-height-t1",
|
|
292
|
+
name: "Line Height T1",
|
|
293
|
+
variable: require_lineHeight.LineHeightCSSVar.T1,
|
|
294
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.t1),
|
|
295
|
+
category: "Typography"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
key: "line-height-t2",
|
|
299
|
+
name: "Line Height T2",
|
|
300
|
+
variable: require_lineHeight.LineHeightCSSVar.T2,
|
|
301
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.t2),
|
|
302
|
+
category: "Typography"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
key: "line-height-t3",
|
|
306
|
+
name: "Line Height T3",
|
|
307
|
+
variable: require_lineHeight.LineHeightCSSVar.T3,
|
|
308
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.t3),
|
|
309
|
+
category: "Typography"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
key: "line-height-h1",
|
|
313
|
+
name: "Line Height H1",
|
|
314
|
+
variable: require_lineHeight.LineHeightCSSVar.H1,
|
|
315
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.h1),
|
|
316
|
+
category: "Typography"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
key: "line-height-h2",
|
|
320
|
+
name: "Line Height H2",
|
|
321
|
+
variable: require_lineHeight.LineHeightCSSVar.H2,
|
|
322
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.h2),
|
|
323
|
+
category: "Typography"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
key: "line-height-h3",
|
|
327
|
+
name: "Line Height H3",
|
|
328
|
+
variable: require_lineHeight.LineHeightCSSVar.H3,
|
|
329
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.h3),
|
|
330
|
+
category: "Typography"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
key: "line-height-b1",
|
|
334
|
+
name: "Line Height B1",
|
|
335
|
+
variable: require_lineHeight.LineHeightCSSVar.B1,
|
|
336
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.b1),
|
|
337
|
+
category: "Typography"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
key: "line-height-b2",
|
|
341
|
+
name: "Line Height B2",
|
|
342
|
+
variable: require_lineHeight.LineHeightCSSVar.B2,
|
|
343
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.b2),
|
|
344
|
+
category: "Typography"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
key: "line-height-b3",
|
|
348
|
+
name: "Line Height B3",
|
|
349
|
+
variable: require_lineHeight.LineHeightCSSVar.B3,
|
|
350
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.b3),
|
|
351
|
+
category: "Typography"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
key: "line-height-b4",
|
|
355
|
+
name: "Line Height B4",
|
|
356
|
+
variable: require_lineHeight.LineHeightCSSVar.B4,
|
|
357
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.b4),
|
|
358
|
+
category: "Typography"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
key: "line-height-b5",
|
|
362
|
+
name: "Line Height B5",
|
|
363
|
+
variable: require_lineHeight.LineHeightCSSVar.B5,
|
|
364
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.b5),
|
|
365
|
+
category: "Typography"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
key: "line-height-l1",
|
|
369
|
+
name: "Line Height L1",
|
|
370
|
+
variable: require_lineHeight.LineHeightCSSVar.L1,
|
|
371
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.l1),
|
|
267
372
|
category: "Typography"
|
|
268
373
|
},
|
|
269
374
|
{
|
|
270
|
-
key: "
|
|
271
|
-
name: "
|
|
272
|
-
variable:
|
|
273
|
-
defaultValue:
|
|
375
|
+
key: "line-height-l2",
|
|
376
|
+
name: "Line Height L2",
|
|
377
|
+
variable: require_lineHeight.LineHeightCSSVar.L2,
|
|
378
|
+
defaultValue: require_lineHeight.convertLineHeightToPercentage(require_lineHeight.lineHeight.l2),
|
|
274
379
|
category: "Typography"
|
|
275
380
|
},
|
|
276
381
|
{
|
|
277
|
-
key: "
|
|
278
|
-
name: "
|
|
279
|
-
variable:
|
|
280
|
-
defaultValue:
|
|
382
|
+
key: "letter-spacing-t1",
|
|
383
|
+
name: "Letter Spacing T1",
|
|
384
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.T1,
|
|
385
|
+
defaultValue: require_letterSpacing.letterSpacing.t1,
|
|
281
386
|
category: "Typography"
|
|
282
387
|
},
|
|
283
388
|
{
|
|
284
|
-
key: "
|
|
285
|
-
name: "
|
|
286
|
-
variable:
|
|
287
|
-
defaultValue:
|
|
389
|
+
key: "letter-spacing-t2",
|
|
390
|
+
name: "Letter Spacing T2",
|
|
391
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.T2,
|
|
392
|
+
defaultValue: require_letterSpacing.letterSpacing.t2,
|
|
288
393
|
category: "Typography"
|
|
289
394
|
},
|
|
290
395
|
{
|
|
291
|
-
key: "
|
|
292
|
-
name: "
|
|
293
|
-
variable:
|
|
294
|
-
defaultValue:
|
|
396
|
+
key: "letter-spacing-t3",
|
|
397
|
+
name: "Letter Spacing T3",
|
|
398
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.T3,
|
|
399
|
+
defaultValue: require_letterSpacing.letterSpacing.t3,
|
|
295
400
|
category: "Typography"
|
|
296
401
|
},
|
|
297
402
|
{
|
|
298
|
-
key: "
|
|
299
|
-
name: "
|
|
300
|
-
variable:
|
|
301
|
-
defaultValue:
|
|
403
|
+
key: "letter-spacing-h1",
|
|
404
|
+
name: "Letter Spacing H1",
|
|
405
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.H1,
|
|
406
|
+
defaultValue: require_letterSpacing.letterSpacing.h1,
|
|
302
407
|
category: "Typography"
|
|
303
408
|
},
|
|
304
409
|
{
|
|
305
|
-
key: "
|
|
306
|
-
name: "
|
|
307
|
-
variable:
|
|
308
|
-
defaultValue:
|
|
410
|
+
key: "letter-spacing-h2",
|
|
411
|
+
name: "Letter Spacing H2",
|
|
412
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.H2,
|
|
413
|
+
defaultValue: require_letterSpacing.letterSpacing.h2,
|
|
309
414
|
category: "Typography"
|
|
310
415
|
},
|
|
311
416
|
{
|
|
312
|
-
key: "
|
|
313
|
-
name: "
|
|
314
|
-
variable:
|
|
315
|
-
defaultValue:
|
|
417
|
+
key: "letter-spacing-h3",
|
|
418
|
+
name: "Letter Spacing H3",
|
|
419
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.H3,
|
|
420
|
+
defaultValue: require_letterSpacing.letterSpacing.h3,
|
|
316
421
|
category: "Typography"
|
|
317
422
|
},
|
|
318
423
|
{
|
|
319
|
-
key: "
|
|
320
|
-
name: "
|
|
321
|
-
variable:
|
|
322
|
-
defaultValue:
|
|
424
|
+
key: "letter-spacing-b1",
|
|
425
|
+
name: "Letter Spacing B1",
|
|
426
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.B1,
|
|
427
|
+
defaultValue: require_letterSpacing.letterSpacing.b1,
|
|
323
428
|
category: "Typography"
|
|
324
429
|
},
|
|
325
430
|
{
|
|
326
|
-
key: "
|
|
327
|
-
name: "
|
|
328
|
-
variable:
|
|
329
|
-
defaultValue:
|
|
431
|
+
key: "letter-spacing-b2",
|
|
432
|
+
name: "Letter Spacing B2",
|
|
433
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.B2,
|
|
434
|
+
defaultValue: require_letterSpacing.letterSpacing.b2,
|
|
330
435
|
category: "Typography"
|
|
331
436
|
},
|
|
332
437
|
{
|
|
333
|
-
key: "
|
|
334
|
-
name: "
|
|
335
|
-
variable:
|
|
336
|
-
defaultValue:
|
|
438
|
+
key: "letter-spacing-b3",
|
|
439
|
+
name: "Letter Spacing B3",
|
|
440
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.B3,
|
|
441
|
+
defaultValue: require_letterSpacing.letterSpacing.b3,
|
|
337
442
|
category: "Typography"
|
|
338
443
|
},
|
|
339
444
|
{
|
|
340
|
-
key: "
|
|
341
|
-
name: "
|
|
342
|
-
variable:
|
|
343
|
-
defaultValue:
|
|
445
|
+
key: "letter-spacing-b4",
|
|
446
|
+
name: "Letter Spacing B4",
|
|
447
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.B4,
|
|
448
|
+
defaultValue: require_letterSpacing.letterSpacing.b4,
|
|
344
449
|
category: "Typography"
|
|
345
450
|
},
|
|
346
451
|
{
|
|
347
|
-
key: "
|
|
348
|
-
name: "
|
|
349
|
-
variable:
|
|
350
|
-
defaultValue:
|
|
452
|
+
key: "letter-spacing-b5",
|
|
453
|
+
name: "Letter Spacing B5",
|
|
454
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.B5,
|
|
455
|
+
defaultValue: require_letterSpacing.letterSpacing.b5,
|
|
351
456
|
category: "Typography"
|
|
352
457
|
},
|
|
353
458
|
{
|
|
354
|
-
key: "letter-spacing-
|
|
355
|
-
name: "Letter Spacing
|
|
356
|
-
variable: require_letterSpacing.LetterSpacingCSSVar.
|
|
357
|
-
defaultValue: require_letterSpacing.letterSpacing
|
|
459
|
+
key: "letter-spacing-l1",
|
|
460
|
+
name: "Letter Spacing L1",
|
|
461
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.L1,
|
|
462
|
+
defaultValue: require_letterSpacing.letterSpacing.l1,
|
|
358
463
|
category: "Typography"
|
|
359
464
|
},
|
|
360
465
|
{
|
|
361
|
-
key: "letter-spacing-
|
|
362
|
-
name: "Letter Spacing
|
|
363
|
-
variable: require_letterSpacing.LetterSpacingCSSVar.
|
|
364
|
-
defaultValue: require_letterSpacing.letterSpacing
|
|
466
|
+
key: "letter-spacing-l2",
|
|
467
|
+
name: "Letter Spacing L2",
|
|
468
|
+
variable: require_letterSpacing.LetterSpacingCSSVar.L2,
|
|
469
|
+
defaultValue: require_letterSpacing.letterSpacing.l2,
|
|
365
470
|
category: "Typography"
|
|
366
471
|
},
|
|
367
472
|
{
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Theme, ThemeCSSVar } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
1
|
import { ColorNames } from "../../packages/components-v3/src/models/colorsConfig.js";
|
|
3
2
|
import { ButtonColorsVars, ColorsNamesVars } from "../../packages/components-v3/tokens/colors/colors.js";
|
|
4
3
|
import { FontSizeCSSVar, fontSize } from "../../packages/components-v3/tokens/typography/fontSize.js";
|
|
@@ -8,6 +7,7 @@ import { LetterSpacingCSSVar, letterSpacing } from "../../packages/components-v3
|
|
|
8
7
|
import { FontFamily, FontFamilyCSSVar } from "../../packages/components-v3/tokens/typography/fontFamily.js";
|
|
9
8
|
import { BorderRadiusCSSVar } from "../../packages/components-v3/tokens/radius/radius.js";
|
|
10
9
|
import { AspectRatio, AspectRatioCSSVar } from "../../packages/components-v3/tokens/aspectRatio/aspectRatio.js";
|
|
10
|
+
import { Theme, ThemeCSSVar } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
11
11
|
import { useGetCssVariablesOptions } from "./useGetCssVariablesOptions.js";
|
|
12
12
|
import { useMemo } from "react";
|
|
13
13
|
|
|
@@ -259,108 +259,213 @@ const useGetDefaultCssVariables = ({ defaultMerchantColors }) => {
|
|
|
259
259
|
category: "Typography"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
|
-
key: "font-weight-
|
|
263
|
-
name: "Font Weight
|
|
264
|
-
variable: FontWeightCSSVar.
|
|
265
|
-
defaultValue: fontWeight.
|
|
262
|
+
key: "font-weight-title",
|
|
263
|
+
name: "Font Weight Title",
|
|
264
|
+
variable: FontWeightCSSVar.Title,
|
|
265
|
+
defaultValue: fontWeight.title,
|
|
266
|
+
category: "Typography"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
key: "font-weight-header",
|
|
270
|
+
name: "Font Weight Header",
|
|
271
|
+
variable: FontWeightCSSVar.Header,
|
|
272
|
+
defaultValue: fontWeight.header,
|
|
273
|
+
category: "Typography"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
key: "font-weight-body-emphasis",
|
|
277
|
+
name: "Font Weight Body Emphasis",
|
|
278
|
+
variable: FontWeightCSSVar.BodyEmphasis,
|
|
279
|
+
defaultValue: fontWeight.body_emphasis,
|
|
280
|
+
category: "Typography"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
key: "font-weight-body-standard",
|
|
284
|
+
name: "Font Weight Body Standard",
|
|
285
|
+
variable: FontWeightCSSVar.BodyStandard,
|
|
286
|
+
defaultValue: fontWeight.body_standard,
|
|
287
|
+
category: "Typography"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
key: "line-height-t1",
|
|
291
|
+
name: "Line Height T1",
|
|
292
|
+
variable: LineHeightCSSVar.T1,
|
|
293
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.t1),
|
|
294
|
+
category: "Typography"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
key: "line-height-t2",
|
|
298
|
+
name: "Line Height T2",
|
|
299
|
+
variable: LineHeightCSSVar.T2,
|
|
300
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.t2),
|
|
301
|
+
category: "Typography"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
key: "line-height-t3",
|
|
305
|
+
name: "Line Height T3",
|
|
306
|
+
variable: LineHeightCSSVar.T3,
|
|
307
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.t3),
|
|
308
|
+
category: "Typography"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
key: "line-height-h1",
|
|
312
|
+
name: "Line Height H1",
|
|
313
|
+
variable: LineHeightCSSVar.H1,
|
|
314
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.h1),
|
|
315
|
+
category: "Typography"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
key: "line-height-h2",
|
|
319
|
+
name: "Line Height H2",
|
|
320
|
+
variable: LineHeightCSSVar.H2,
|
|
321
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.h2),
|
|
322
|
+
category: "Typography"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
key: "line-height-h3",
|
|
326
|
+
name: "Line Height H3",
|
|
327
|
+
variable: LineHeightCSSVar.H3,
|
|
328
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.h3),
|
|
329
|
+
category: "Typography"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
key: "line-height-b1",
|
|
333
|
+
name: "Line Height B1",
|
|
334
|
+
variable: LineHeightCSSVar.B1,
|
|
335
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.b1),
|
|
336
|
+
category: "Typography"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
key: "line-height-b2",
|
|
340
|
+
name: "Line Height B2",
|
|
341
|
+
variable: LineHeightCSSVar.B2,
|
|
342
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.b2),
|
|
343
|
+
category: "Typography"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
key: "line-height-b3",
|
|
347
|
+
name: "Line Height B3",
|
|
348
|
+
variable: LineHeightCSSVar.B3,
|
|
349
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.b3),
|
|
350
|
+
category: "Typography"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
key: "line-height-b4",
|
|
354
|
+
name: "Line Height B4",
|
|
355
|
+
variable: LineHeightCSSVar.B4,
|
|
356
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.b4),
|
|
357
|
+
category: "Typography"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
key: "line-height-b5",
|
|
361
|
+
name: "Line Height B5",
|
|
362
|
+
variable: LineHeightCSSVar.B5,
|
|
363
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.b5),
|
|
364
|
+
category: "Typography"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
key: "line-height-l1",
|
|
368
|
+
name: "Line Height L1",
|
|
369
|
+
variable: LineHeightCSSVar.L1,
|
|
370
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.l1),
|
|
266
371
|
category: "Typography"
|
|
267
372
|
},
|
|
268
373
|
{
|
|
269
|
-
key: "
|
|
270
|
-
name: "
|
|
271
|
-
variable:
|
|
272
|
-
defaultValue:
|
|
374
|
+
key: "line-height-l2",
|
|
375
|
+
name: "Line Height L2",
|
|
376
|
+
variable: LineHeightCSSVar.L2,
|
|
377
|
+
defaultValue: convertLineHeightToPercentage(lineHeight.l2),
|
|
273
378
|
category: "Typography"
|
|
274
379
|
},
|
|
275
380
|
{
|
|
276
|
-
key: "
|
|
277
|
-
name: "
|
|
278
|
-
variable:
|
|
279
|
-
defaultValue:
|
|
381
|
+
key: "letter-spacing-t1",
|
|
382
|
+
name: "Letter Spacing T1",
|
|
383
|
+
variable: LetterSpacingCSSVar.T1,
|
|
384
|
+
defaultValue: letterSpacing.t1,
|
|
280
385
|
category: "Typography"
|
|
281
386
|
},
|
|
282
387
|
{
|
|
283
|
-
key: "
|
|
284
|
-
name: "
|
|
285
|
-
variable:
|
|
286
|
-
defaultValue:
|
|
388
|
+
key: "letter-spacing-t2",
|
|
389
|
+
name: "Letter Spacing T2",
|
|
390
|
+
variable: LetterSpacingCSSVar.T2,
|
|
391
|
+
defaultValue: letterSpacing.t2,
|
|
287
392
|
category: "Typography"
|
|
288
393
|
},
|
|
289
394
|
{
|
|
290
|
-
key: "
|
|
291
|
-
name: "
|
|
292
|
-
variable:
|
|
293
|
-
defaultValue:
|
|
395
|
+
key: "letter-spacing-t3",
|
|
396
|
+
name: "Letter Spacing T3",
|
|
397
|
+
variable: LetterSpacingCSSVar.T3,
|
|
398
|
+
defaultValue: letterSpacing.t3,
|
|
294
399
|
category: "Typography"
|
|
295
400
|
},
|
|
296
401
|
{
|
|
297
|
-
key: "
|
|
298
|
-
name: "
|
|
299
|
-
variable:
|
|
300
|
-
defaultValue:
|
|
402
|
+
key: "letter-spacing-h1",
|
|
403
|
+
name: "Letter Spacing H1",
|
|
404
|
+
variable: LetterSpacingCSSVar.H1,
|
|
405
|
+
defaultValue: letterSpacing.h1,
|
|
301
406
|
category: "Typography"
|
|
302
407
|
},
|
|
303
408
|
{
|
|
304
|
-
key: "
|
|
305
|
-
name: "
|
|
306
|
-
variable:
|
|
307
|
-
defaultValue:
|
|
409
|
+
key: "letter-spacing-h2",
|
|
410
|
+
name: "Letter Spacing H2",
|
|
411
|
+
variable: LetterSpacingCSSVar.H2,
|
|
412
|
+
defaultValue: letterSpacing.h2,
|
|
308
413
|
category: "Typography"
|
|
309
414
|
},
|
|
310
415
|
{
|
|
311
|
-
key: "
|
|
312
|
-
name: "
|
|
313
|
-
variable:
|
|
314
|
-
defaultValue:
|
|
416
|
+
key: "letter-spacing-h3",
|
|
417
|
+
name: "Letter Spacing H3",
|
|
418
|
+
variable: LetterSpacingCSSVar.H3,
|
|
419
|
+
defaultValue: letterSpacing.h3,
|
|
315
420
|
category: "Typography"
|
|
316
421
|
},
|
|
317
422
|
{
|
|
318
|
-
key: "
|
|
319
|
-
name: "
|
|
320
|
-
variable:
|
|
321
|
-
defaultValue:
|
|
423
|
+
key: "letter-spacing-b1",
|
|
424
|
+
name: "Letter Spacing B1",
|
|
425
|
+
variable: LetterSpacingCSSVar.B1,
|
|
426
|
+
defaultValue: letterSpacing.b1,
|
|
322
427
|
category: "Typography"
|
|
323
428
|
},
|
|
324
429
|
{
|
|
325
|
-
key: "
|
|
326
|
-
name: "
|
|
327
|
-
variable:
|
|
328
|
-
defaultValue:
|
|
430
|
+
key: "letter-spacing-b2",
|
|
431
|
+
name: "Letter Spacing B2",
|
|
432
|
+
variable: LetterSpacingCSSVar.B2,
|
|
433
|
+
defaultValue: letterSpacing.b2,
|
|
329
434
|
category: "Typography"
|
|
330
435
|
},
|
|
331
436
|
{
|
|
332
|
-
key: "
|
|
333
|
-
name: "
|
|
334
|
-
variable:
|
|
335
|
-
defaultValue:
|
|
437
|
+
key: "letter-spacing-b3",
|
|
438
|
+
name: "Letter Spacing B3",
|
|
439
|
+
variable: LetterSpacingCSSVar.B3,
|
|
440
|
+
defaultValue: letterSpacing.b3,
|
|
336
441
|
category: "Typography"
|
|
337
442
|
},
|
|
338
443
|
{
|
|
339
|
-
key: "
|
|
340
|
-
name: "
|
|
341
|
-
variable:
|
|
342
|
-
defaultValue:
|
|
444
|
+
key: "letter-spacing-b4",
|
|
445
|
+
name: "Letter Spacing B4",
|
|
446
|
+
variable: LetterSpacingCSSVar.B4,
|
|
447
|
+
defaultValue: letterSpacing.b4,
|
|
343
448
|
category: "Typography"
|
|
344
449
|
},
|
|
345
450
|
{
|
|
346
|
-
key: "
|
|
347
|
-
name: "
|
|
348
|
-
variable:
|
|
349
|
-
defaultValue:
|
|
451
|
+
key: "letter-spacing-b5",
|
|
452
|
+
name: "Letter Spacing B5",
|
|
453
|
+
variable: LetterSpacingCSSVar.B5,
|
|
454
|
+
defaultValue: letterSpacing.b5,
|
|
350
455
|
category: "Typography"
|
|
351
456
|
},
|
|
352
457
|
{
|
|
353
|
-
key: "letter-spacing-
|
|
354
|
-
name: "Letter Spacing
|
|
355
|
-
variable: LetterSpacingCSSVar.
|
|
356
|
-
defaultValue: letterSpacing
|
|
458
|
+
key: "letter-spacing-l1",
|
|
459
|
+
name: "Letter Spacing L1",
|
|
460
|
+
variable: LetterSpacingCSSVar.L1,
|
|
461
|
+
defaultValue: letterSpacing.l1,
|
|
357
462
|
category: "Typography"
|
|
358
463
|
},
|
|
359
464
|
{
|
|
360
|
-
key: "letter-spacing-
|
|
361
|
-
name: "Letter Spacing
|
|
362
|
-
variable: LetterSpacingCSSVar.
|
|
363
|
-
defaultValue: letterSpacing
|
|
465
|
+
key: "letter-spacing-l2",
|
|
466
|
+
name: "Letter Spacing L2",
|
|
467
|
+
variable: LetterSpacingCSSVar.L2,
|
|
468
|
+
defaultValue: letterSpacing.l2,
|
|
364
469
|
category: "Typography"
|
|
365
470
|
},
|
|
366
471
|
{
|