@envive-ai/react-toolkit-v3 0.3.12 → 0.3.14
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/AnimatedText/AnimatedText.d.ts +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 +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +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.cts +2 -2
- 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 +6 -5
- package/dist/ChatPreviewComparison/components/Layout.js +6 -5
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +173 -173
- package/dist/Container/Container.d.ts +173 -173
- 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 +1 -1
- package/dist/DesignTokens/components/FontWeight.js +1 -1
- package/dist/DesignTokens/components/LetterSpacing.cjs +1 -1
- package/dist/DesignTokens/components/LetterSpacing.js +1 -1
- package/dist/DesignTokens/components/LineHeight.cjs +1 -1
- package/dist/DesignTokens/components/LineHeight.js +1 -1
- 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.cjs +12 -5
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.js +12 -5
- package/dist/FloatingChat/components/AgentMessage.cjs +2 -2
- package/dist/FloatingChat/components/AgentMessage.js +2 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +2 -2
- package/dist/FloatingChat/components/ChatMessages.js +2 -2
- package/dist/FloatingChat/components/Layout.cjs +1 -1
- package/dist/FloatingChat/components/Layout.js +1 -1
- package/dist/FloatingChat/hooks/useSnapSetup.cjs +10 -7
- package/dist/FloatingChat/hooks/useSnapSetup.js +10 -7
- 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/Image/Image.cjs +1 -1
- package/dist/Image/Image.d.cts +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.cjs +14 -27
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +3 -5
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +3 -5
- package/dist/MarkdownProcessor/MarkdownProcessor.js +15 -26
- package/dist/MarkdownProcessor/components/index.cjs +1 -3
- package/dist/MarkdownProcessor/components/index.js +1 -3
- package/dist/MarkdownProcessor/utils/functions.cjs +1 -11
- package/dist/MarkdownProcessor/utils/functions.js +1 -10
- package/dist/Message/components/AgentHeader.cjs +6 -2
- package/dist/Message/components/AgentHeader.js +6 -2
- package/dist/Message/components/Layout.cjs +1 -1
- package/dist/Message/components/Layout.js +1 -1
- package/dist/Message/components/index.cjs +1 -1
- package/dist/Message/components/index.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 +1 -1
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/ProductCard/ProductCard.js +1 -1
- package/dist/ProductCard/components/Header.cjs +33 -7
- package/dist/ProductCard/components/Header.js +34 -8
- 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.cjs +107 -0
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +15 -0
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +15 -0
- package/dist/SparkleAnimation/SparkleAnimation.js +105 -0
- package/dist/SparkleAnimation/index.cjs +5 -0
- package/dist/SparkleAnimation/index.d.cts +3 -0
- package/dist/SparkleAnimation/index.d.ts +3 -0
- package/dist/SparkleAnimation/index.js +4 -0
- package/dist/SparkleAnimation/types.cjs +12 -0
- package/dist/SparkleAnimation/types.d.cts +9 -0
- package/dist/SparkleAnimation/types.d.ts +9 -0
- package/dist/SparkleAnimation/types.js +11 -0
- 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.cjs +61 -19
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +62 -20
- package/dist/TypingAnimation/types/index.d.cts +8 -0
- package/dist/TypingAnimation/types/index.d.ts +8 -0
- 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.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetTextField/components/Container.cjs +1 -1
- package/dist/WidgetTextField/components/Container.js +1 -1
- package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
- package/dist/WidgetTextField/components/Skeleton.js +1 -1
- package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +1 -1
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +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/styles.css +1 -1
- package/dist/utils/resolveTheme.cjs +1 -1
- package/dist/utils/resolveTheme.js +1 -1
- package/dist/utils/useAnimatedTextMinHeight.cjs +28 -0
- package/dist/utils/useAnimatedTextMinHeight.js +27 -0
- package/package.json +5 -3
- package/src/components/ChatPreviewComparison/components/Layout.tsx +2 -2
- package/src/components/FloatingChat/FloatingChat.tsx +10 -1
- package/src/components/FloatingChat/components/AgentMessage.tsx +3 -1
- package/src/components/FloatingChat/components/ChatMessages.tsx +1 -1
- package/src/components/FloatingChat/hooks/useSnapSetup.ts +11 -4
- package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +3 -19
- package/src/components/MarkdownProcessor/__tests__/MarkdownProcessor.test.tsx +1 -39
- package/src/components/MarkdownProcessor/components/index.ts +0 -2
- package/src/components/MarkdownProcessor/utils/functions.tsx +0 -19
- package/src/components/Message/components/AgentHeader.tsx +7 -2
- package/src/components/ProductCard/components/Header.tsx +39 -9
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +102 -0
- package/src/components/SparkleAnimation/index.ts +2 -0
- package/src/components/SparkleAnimation/types.ts +6 -0
- package/src/components/TypingAnimation/TypingAnimation.tsx +72 -22
- package/src/components/TypingAnimation/types/index.ts +10 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +1 -1
- package/src/components/utils/useAnimatedTextMinHeight.ts +29 -0
- package/dist/MarkdownProcessor/components/MarkdownSubscript.cjs +0 -15
- package/dist/MarkdownProcessor/components/MarkdownSubscript.js +0 -14
- package/src/components/MarkdownProcessor/components/MarkdownSubscript.tsx +0 -22
|
@@ -7,9 +7,9 @@ require('../../Container/index.cjs');
|
|
|
7
7
|
const require_types = require('../types/types.cjs');
|
|
8
8
|
const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
|
|
9
9
|
const require_useGetProductDescriptionProperties = require('../hooks/useGetProductDescriptionProperties.cjs');
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
11
|
let classnames = require("classnames");
|
|
11
12
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
12
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
13
|
|
|
14
14
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
15
15
|
const Container$1 = ({ id, testId, className, style, variant = require_types.SalesAgentProductCardVariant.SMALL, theme = require_theme.Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, target = "_self", onClick }) => {
|
|
@@ -6,8 +6,8 @@ import "../../Container/index.js";
|
|
|
6
6
|
import { SalesAgentProductCardVariant } from "../types/types.js";
|
|
7
7
|
import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
|
|
8
8
|
import { useGetProductDescriptionProperties } from "../hooks/useGetProductDescriptionProperties.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
|
|
12
12
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
13
13
|
const Container$1 = ({ id, testId, className, style, variant = SalesAgentProductCardVariant.SMALL, theme = Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, target = "_self", onClick }) => {
|
|
@@ -2,9 +2,9 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
const require_Image = require('../../Image/Image.cjs');
|
|
3
3
|
require('../../Image/index.cjs');
|
|
4
4
|
const require_useGetImageProperties = require('../hooks/useGetImageProperties.cjs');
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
6
|
let classnames = require("classnames");
|
|
6
7
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
|
|
9
9
|
//#region src/components/SalesAgentProductCard/components/ProductImage.tsx
|
|
10
10
|
const ProductImage = ({ src, alt, variant, aspectRatio, className, ...props }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Image } from "../../Image/Image.js";
|
|
2
2
|
import "../../Image/index.js";
|
|
3
3
|
import { useGetImageProperties } from "../hooks/useGetImageProperties.js";
|
|
4
|
-
import classNames from "classnames";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import classNames from "classnames";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SalesAgentProductCard/components/ProductImage.tsx
|
|
8
8
|
const ProductImage = ({ src, alt, variant, aspectRatio, className, ...props }) => {
|
|
@@ -4,9 +4,9 @@ const require_index = require('../../Typography/types/index.cjs');
|
|
|
4
4
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
5
5
|
require('../../Typography/index.cjs');
|
|
6
6
|
const require_useGetProductNameProperties = require('../hooks/useGetProductNameProperties.cjs');
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
8
|
let classnames = require("classnames");
|
|
8
9
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
|
|
11
11
|
//#region src/components/SalesAgentProductCard/components/ProductName.tsx
|
|
12
12
|
const ProductName = ({ label, theme = require_theme.Theme.GLOBAL_CUSTOM, style, className }) => {
|
|
@@ -3,8 +3,8 @@ import { TypographyColor, TypographyVariant } from "../../Typography/types/index
|
|
|
3
3
|
import { Typography } from "../../Typography/Typography.js";
|
|
4
4
|
import "../../Typography/index.js";
|
|
5
5
|
import { useGetProductNameProperties } from "../hooks/useGetProductNameProperties.js";
|
|
6
|
-
import classNames from "classnames";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import classNames from "classnames";
|
|
8
8
|
|
|
9
9
|
//#region src/components/SalesAgentProductCard/components/ProductName.tsx
|
|
10
10
|
const ProductName = ({ label, theme = Theme.GLOBAL_CUSTOM, style, className }) => {
|
|
@@ -4,8 +4,8 @@ import { ProductNameProps } from "./ProductName.cjs";
|
|
|
4
4
|
import { PriceProps } from "./Price.cjs";
|
|
5
5
|
import { RateProps } from "./Rate.cjs";
|
|
6
6
|
import { ProductImageProps } from "./ProductImage.cjs";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react2 from "react";
|
|
8
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/SalesAgentProductCard/components/index.d.ts
|
|
11
11
|
declare const SalesAgentProductCardComponents: {
|
|
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
|
|
|
23
23
|
url,
|
|
24
24
|
target,
|
|
25
25
|
onClick
|
|
26
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime5.JSX.Element;
|
|
27
27
|
ProductName: ({
|
|
28
28
|
label,
|
|
29
29
|
theme,
|
|
30
30
|
style,
|
|
31
31
|
className
|
|
32
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime5.JSX.Element;
|
|
33
33
|
Price: ({
|
|
34
34
|
previousPrice,
|
|
35
35
|
currentPrice,
|
|
36
36
|
pricePrefix,
|
|
37
37
|
forceShowCurrentPriceSpace
|
|
38
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime5.JSX.Element;
|
|
39
39
|
Rate: ({
|
|
40
40
|
rate,
|
|
41
41
|
numberOfReviews,
|
|
42
42
|
theme
|
|
43
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime5.JSX.Element;
|
|
44
44
|
ProductImage: ({
|
|
45
45
|
src,
|
|
46
46
|
alt,
|
|
@@ -48,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
|
|
|
48
48
|
aspectRatio,
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: ProductImageProps) =>
|
|
51
|
+
}: ProductImageProps) => react_jsx_runtime5.JSX.Element;
|
|
52
52
|
StarIcon: ({
|
|
53
53
|
theme,
|
|
54
54
|
style
|
|
55
55
|
}: {
|
|
56
56
|
theme: Theme;
|
|
57
57
|
style?: React.CSSProperties;
|
|
58
|
-
}) =>
|
|
58
|
+
}) => react2.ReactElement<react2.SVGProps<SVGSVGElement>, string | react2.JSXElementConstructor<any>>;
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SalesAgentProductCardComponents };
|
|
@@ -4,8 +4,8 @@ import { ProductNameProps } from "./ProductName.js";
|
|
|
4
4
|
import { PriceProps } from "./Price.js";
|
|
5
5
|
import { RateProps } from "./Rate.js";
|
|
6
6
|
import { ProductImageProps } from "./ProductImage.js";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react1 from "react";
|
|
8
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/SalesAgentProductCard/components/index.d.ts
|
|
11
11
|
declare const SalesAgentProductCardComponents: {
|
|
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
|
|
|
23
23
|
url,
|
|
24
24
|
target,
|
|
25
25
|
onClick
|
|
26
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime9.JSX.Element;
|
|
27
27
|
ProductName: ({
|
|
28
28
|
label,
|
|
29
29
|
theme,
|
|
30
30
|
style,
|
|
31
31
|
className
|
|
32
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime9.JSX.Element;
|
|
33
33
|
Price: ({
|
|
34
34
|
previousPrice,
|
|
35
35
|
currentPrice,
|
|
36
36
|
pricePrefix,
|
|
37
37
|
forceShowCurrentPriceSpace
|
|
38
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime9.JSX.Element;
|
|
39
39
|
Rate: ({
|
|
40
40
|
rate,
|
|
41
41
|
numberOfReviews,
|
|
42
42
|
theme
|
|
43
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime9.JSX.Element;
|
|
44
44
|
ProductImage: ({
|
|
45
45
|
src,
|
|
46
46
|
alt,
|
|
@@ -48,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
|
|
|
48
48
|
aspectRatio,
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: ProductImageProps) =>
|
|
51
|
+
}: ProductImageProps) => react_jsx_runtime9.JSX.Element;
|
|
52
52
|
StarIcon: ({
|
|
53
53
|
theme,
|
|
54
54
|
style
|
|
55
55
|
}: {
|
|
56
56
|
theme: Theme;
|
|
57
57
|
style?: React.CSSProperties;
|
|
58
|
-
}) =>
|
|
58
|
+
}) => react1.ReactElement<react1.SVGProps<SVGSVGElement>, string | react1.JSXElementConstructor<any>>;
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SalesAgentProductCardComponents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SocialProofProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SocialProof/SocialProof.d.ts
|
|
5
5
|
declare const SocialProof: ({
|
|
@@ -7,6 +7,6 @@ declare const SocialProof: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: SocialProofProps) =>
|
|
10
|
+
}: SocialProofProps) => react_jsx_runtime4.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SocialProof };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SocialProofProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SocialProof/SocialProof.d.ts
|
|
5
5
|
declare const SocialProof: ({
|
|
@@ -7,6 +7,6 @@ declare const SocialProof: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: SocialProofProps) =>
|
|
10
|
+
}: SocialProofProps) => react_jsx_runtime8.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SocialProof };
|
|
@@ -12,9 +12,9 @@ const require_PromptButton_types_index = require('../../PromptButton/types/index
|
|
|
12
12
|
const require_PromptButton = require('../../PromptButton/PromptButton.cjs');
|
|
13
13
|
require('../../PromptButton/index.cjs');
|
|
14
14
|
let react = require("react");
|
|
15
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
15
16
|
let classnames = require("classnames");
|
|
16
17
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
17
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
18
18
|
|
|
19
19
|
//#region src/components/SocialProof/components/Headline.tsx
|
|
20
20
|
const Headline = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL_CUSTOM, className, isLoading, socialProofCounter, socialProofHeadline, primaryPromptButtonText, primaryPromptButtonVariant = require_PromptButton_types_index.PromptButtonVariant.DARK, handleButtonClick }, ref) => {
|
|
@@ -11,8 +11,8 @@ import { PromptButtonVariant } from "../../PromptButton/types/index.js";
|
|
|
11
11
|
import { PromptButton } from "../../PromptButton/PromptButton.js";
|
|
12
12
|
import "../../PromptButton/index.js";
|
|
13
13
|
import { forwardRef } from "react";
|
|
14
|
-
import classNames from "classnames";
|
|
15
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import classNames from "classnames";
|
|
16
16
|
|
|
17
17
|
//#region src/components/SocialProof/components/Headline.tsx
|
|
18
18
|
const Headline = forwardRef(({ theme = Theme.GLOBAL_CUSTOM, className, isLoading, socialProofCounter, socialProofHeadline, primaryPromptButtonText, primaryPromptButtonVariant = PromptButtonVariant.DARK, handleButtonClick }, ref) => {
|
|
@@ -8,9 +8,9 @@ const require_useGetContentSize = require('../../utils/useGetContentSize.cjs');
|
|
|
8
8
|
const require_functions = require('../utils/functions.cjs');
|
|
9
9
|
const require_types = require('../../ImageGallery/types/types.cjs');
|
|
10
10
|
const require_ImageGallery = require('./ImageGallery.cjs');
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
12
|
let classnames = require("classnames");
|
|
12
13
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
13
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
14
|
|
|
15
15
|
//#region src/components/SocialProof/components/LayoutFourHorizontal.tsx
|
|
16
16
|
const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield }) => {
|
|
@@ -7,8 +7,8 @@ import { useGetContentSize } from "../../utils/useGetContentSize.js";
|
|
|
7
7
|
import { calculateWidthImageGallery } from "../utils/functions.js";
|
|
8
8
|
import { ImageGalleryLayout } from "../../ImageGallery/types/types.js";
|
|
9
9
|
import { ImageGallery } from "./ImageGallery.js";
|
|
10
|
-
import classNames from "classnames";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import classNames from "classnames";
|
|
12
12
|
|
|
13
13
|
//#region src/components/SocialProof/components/LayoutFourHorizontal.tsx
|
|
14
14
|
const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield }) => {
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_types = require('./types.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let __envive_ai_react_icons_FourPointStar = require("@envive-ai/react-icons/FourPointStar");
|
|
6
|
+
__envive_ai_react_icons_FourPointStar = require_rolldown_runtime.__toESM(__envive_ai_react_icons_FourPointStar);
|
|
7
|
+
let framer_motion = require("framer-motion");
|
|
8
|
+
|
|
9
|
+
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
10
|
+
const ANIMATION_CYCLE_TIME = 1e3;
|
|
11
|
+
const STAR_DELAY_OFFSET = 250;
|
|
12
|
+
const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
13
|
+
const [mainStarScale, setMainStarScale] = (0, react.useState)(animate ? 0 : 1);
|
|
14
|
+
const [smallStar1Scale, setSmallStar1Scale] = (0, react.useState)(animate ? 0 : 1);
|
|
15
|
+
const [smallStar2Scale, setSmallStar2Scale] = (0, react.useState)(animate ? 0 : 1);
|
|
16
|
+
(0, react.useEffect)(() => {
|
|
17
|
+
if (!animate) {
|
|
18
|
+
setMainStarScale(1);
|
|
19
|
+
setSmallStar1Scale(1);
|
|
20
|
+
setSmallStar2Scale(1);
|
|
21
|
+
}
|
|
22
|
+
}, [animate]);
|
|
23
|
+
(0, react.useEffect)(() => {
|
|
24
|
+
if (!animate) return;
|
|
25
|
+
const newScale = mainStarScale === 1 ? 0 : 1;
|
|
26
|
+
setTimeout(() => setMainStarScale(newScale), ANIMATION_CYCLE_TIME);
|
|
27
|
+
setTimeout(() => setSmallStar1Scale(newScale), ANIMATION_CYCLE_TIME + STAR_DELAY_OFFSET);
|
|
28
|
+
setTimeout(() => setSmallStar2Scale(newScale), ANIMATION_CYCLE_TIME + 2 * STAR_DELAY_OFFSET);
|
|
29
|
+
}, [mainStarScale, animate]);
|
|
30
|
+
const starTransition = {
|
|
31
|
+
duration: .3,
|
|
32
|
+
ease: "easeOut"
|
|
33
|
+
};
|
|
34
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
35
|
+
className: `${require_types.SparkleAnimationOverride.CONTAINER} ${className || ""}`,
|
|
36
|
+
style: {
|
|
37
|
+
width: "24px",
|
|
38
|
+
height: "24px",
|
|
39
|
+
position: "relative"
|
|
40
|
+
},
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
43
|
+
className: require_types.SparkleAnimationOverride.STAR_ONE_CONTAINER,
|
|
44
|
+
style: {
|
|
45
|
+
position: "absolute",
|
|
46
|
+
left: 0,
|
|
47
|
+
top: "-2px"
|
|
48
|
+
},
|
|
49
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
50
|
+
animate: { scale: mainStarScale },
|
|
51
|
+
transition: starTransition,
|
|
52
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
53
|
+
fill: color,
|
|
54
|
+
style: {
|
|
55
|
+
display: "inline-block",
|
|
56
|
+
height: "16px",
|
|
57
|
+
width: "16px"
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
63
|
+
className: require_types.SparkleAnimationOverride.STAR_TWO_CONTAINER,
|
|
64
|
+
style: {
|
|
65
|
+
position: "absolute",
|
|
66
|
+
top: "-7px",
|
|
67
|
+
left: "10px"
|
|
68
|
+
},
|
|
69
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
70
|
+
animate: { scale: smallStar1Scale },
|
|
71
|
+
transition: starTransition,
|
|
72
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
73
|
+
fill: color,
|
|
74
|
+
style: {
|
|
75
|
+
display: "inline-block",
|
|
76
|
+
height: "8px",
|
|
77
|
+
width: "8px"
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
83
|
+
className: require_types.SparkleAnimationOverride.STAR_THREE_CONTAINER,
|
|
84
|
+
style: {
|
|
85
|
+
position: "absolute",
|
|
86
|
+
left: "12px",
|
|
87
|
+
top: "1px"
|
|
88
|
+
},
|
|
89
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
90
|
+
animate: { scale: smallStar2Scale },
|
|
91
|
+
transition: starTransition,
|
|
92
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
93
|
+
fill: color,
|
|
94
|
+
style: {
|
|
95
|
+
display: "inline-block",
|
|
96
|
+
height: "8px",
|
|
97
|
+
width: "8px"
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
})
|
|
101
|
+
})
|
|
102
|
+
]
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
exports.SparkleAnimation = SparkleAnimation;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/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_runtime0.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { SparkleAnimation };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/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_runtime0.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { SparkleAnimation };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { SparkleAnimationOverride } from "./types.js";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import FourPointStar from "@envive-ai/react-icons/FourPointStar";
|
|
5
|
+
import { motion } from "framer-motion";
|
|
6
|
+
|
|
7
|
+
//#region src/components/SparkleAnimation/SparkleAnimation.tsx
|
|
8
|
+
const ANIMATION_CYCLE_TIME = 1e3;
|
|
9
|
+
const STAR_DELAY_OFFSET = 250;
|
|
10
|
+
const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
11
|
+
const [mainStarScale, setMainStarScale] = useState(animate ? 0 : 1);
|
|
12
|
+
const [smallStar1Scale, setSmallStar1Scale] = useState(animate ? 0 : 1);
|
|
13
|
+
const [smallStar2Scale, setSmallStar2Scale] = useState(animate ? 0 : 1);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
if (!animate) {
|
|
16
|
+
setMainStarScale(1);
|
|
17
|
+
setSmallStar1Scale(1);
|
|
18
|
+
setSmallStar2Scale(1);
|
|
19
|
+
}
|
|
20
|
+
}, [animate]);
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (!animate) return;
|
|
23
|
+
const newScale = mainStarScale === 1 ? 0 : 1;
|
|
24
|
+
setTimeout(() => setMainStarScale(newScale), ANIMATION_CYCLE_TIME);
|
|
25
|
+
setTimeout(() => setSmallStar1Scale(newScale), ANIMATION_CYCLE_TIME + STAR_DELAY_OFFSET);
|
|
26
|
+
setTimeout(() => setSmallStar2Scale(newScale), ANIMATION_CYCLE_TIME + 2 * STAR_DELAY_OFFSET);
|
|
27
|
+
}, [mainStarScale, animate]);
|
|
28
|
+
const starTransition = {
|
|
29
|
+
duration: .3,
|
|
30
|
+
ease: "easeOut"
|
|
31
|
+
};
|
|
32
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
33
|
+
className: `${SparkleAnimationOverride.CONTAINER} ${className || ""}`,
|
|
34
|
+
style: {
|
|
35
|
+
width: "24px",
|
|
36
|
+
height: "24px",
|
|
37
|
+
position: "relative"
|
|
38
|
+
},
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ jsx("div", {
|
|
41
|
+
className: SparkleAnimationOverride.STAR_ONE_CONTAINER,
|
|
42
|
+
style: {
|
|
43
|
+
position: "absolute",
|
|
44
|
+
left: 0,
|
|
45
|
+
top: "-2px"
|
|
46
|
+
},
|
|
47
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
48
|
+
animate: { scale: mainStarScale },
|
|
49
|
+
transition: starTransition,
|
|
50
|
+
children: /* @__PURE__ */ jsx(FourPointStar, {
|
|
51
|
+
fill: color,
|
|
52
|
+
style: {
|
|
53
|
+
display: "inline-block",
|
|
54
|
+
height: "16px",
|
|
55
|
+
width: "16px"
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
})
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsx("div", {
|
|
61
|
+
className: SparkleAnimationOverride.STAR_TWO_CONTAINER,
|
|
62
|
+
style: {
|
|
63
|
+
position: "absolute",
|
|
64
|
+
top: "-7px",
|
|
65
|
+
left: "10px"
|
|
66
|
+
},
|
|
67
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
68
|
+
animate: { scale: smallStar1Scale },
|
|
69
|
+
transition: starTransition,
|
|
70
|
+
children: /* @__PURE__ */ jsx(FourPointStar, {
|
|
71
|
+
fill: color,
|
|
72
|
+
style: {
|
|
73
|
+
display: "inline-block",
|
|
74
|
+
height: "8px",
|
|
75
|
+
width: "8px"
|
|
76
|
+
}
|
|
77
|
+
})
|
|
78
|
+
})
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ jsx("div", {
|
|
81
|
+
className: SparkleAnimationOverride.STAR_THREE_CONTAINER,
|
|
82
|
+
style: {
|
|
83
|
+
position: "absolute",
|
|
84
|
+
left: "12px",
|
|
85
|
+
top: "1px"
|
|
86
|
+
},
|
|
87
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
88
|
+
animate: { scale: smallStar2Scale },
|
|
89
|
+
transition: starTransition,
|
|
90
|
+
children: /* @__PURE__ */ jsx(FourPointStar, {
|
|
91
|
+
fill: color,
|
|
92
|
+
style: {
|
|
93
|
+
display: "inline-block",
|
|
94
|
+
height: "8px",
|
|
95
|
+
width: "8px"
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
//#endregion
|
|
105
|
+
export { SparkleAnimation };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/components/SparkleAnimation/types.ts
|
|
3
|
+
let SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
|
4
|
+
SparkleAnimationOverride$1["CONTAINER"] = "spiffy-sparkle-animation-container";
|
|
5
|
+
SparkleAnimationOverride$1["STAR_ONE_CONTAINER"] = "spiffy-sparkle-animation-star-one-container";
|
|
6
|
+
SparkleAnimationOverride$1["STAR_TWO_CONTAINER"] = "spiffy-sparkle-animation-star-two-container";
|
|
7
|
+
SparkleAnimationOverride$1["STAR_THREE_CONTAINER"] = "spiffy-sparkle-animation-star-three-container";
|
|
8
|
+
return SparkleAnimationOverride$1;
|
|
9
|
+
}({});
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.SparkleAnimationOverride = SparkleAnimationOverride;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/components/SparkleAnimation/types.d.ts
|
|
2
|
+
declare enum SparkleAnimationOverride {
|
|
3
|
+
CONTAINER = "spiffy-sparkle-animation-container",
|
|
4
|
+
STAR_ONE_CONTAINER = "spiffy-sparkle-animation-star-one-container",
|
|
5
|
+
STAR_TWO_CONTAINER = "spiffy-sparkle-animation-star-two-container",
|
|
6
|
+
STAR_THREE_CONTAINER = "spiffy-sparkle-animation-star-three-container",
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SparkleAnimationOverride };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/components/SparkleAnimation/types.d.ts
|
|
2
|
+
declare enum SparkleAnimationOverride {
|
|
3
|
+
CONTAINER = "spiffy-sparkle-animation-container",
|
|
4
|
+
STAR_ONE_CONTAINER = "spiffy-sparkle-animation-star-one-container",
|
|
5
|
+
STAR_TWO_CONTAINER = "spiffy-sparkle-animation-star-two-container",
|
|
6
|
+
STAR_THREE_CONTAINER = "spiffy-sparkle-animation-star-three-container",
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { SparkleAnimationOverride };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/SparkleAnimation/types.ts
|
|
2
|
+
let SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
|
3
|
+
SparkleAnimationOverride$1["CONTAINER"] = "spiffy-sparkle-animation-container";
|
|
4
|
+
SparkleAnimationOverride$1["STAR_ONE_CONTAINER"] = "spiffy-sparkle-animation-star-one-container";
|
|
5
|
+
SparkleAnimationOverride$1["STAR_TWO_CONTAINER"] = "spiffy-sparkle-animation-star-two-container";
|
|
6
|
+
SparkleAnimationOverride$1["STAR_THREE_CONTAINER"] = "spiffy-sparkle-animation-star-three-container";
|
|
7
|
+
return SparkleAnimationOverride$1;
|
|
8
|
+
}({});
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { SparkleAnimationOverride };
|
package/dist/Stack/Stack.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StackProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react8 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Stack/Stack.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Stack component for laying out children in a flexible container with gap.
|
|
7
7
|
*/
|
|
8
|
-
declare const Stack:
|
|
8
|
+
declare const Stack: react8.ForwardRefExoticComponent<StackProps & react8.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Stack };
|
package/dist/Stack/Stack.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StackProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Stack/Stack.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Stack component for laying out children in a flexible container with gap.
|
|
7
7
|
*/
|
|
8
|
-
declare const Stack:
|
|
8
|
+
declare const Stack: react0.ForwardRefExoticComponent<StackProps & react0.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Stack };
|
|
@@ -6,9 +6,9 @@ const require_useGetSkeletonProperties = require('./hooks/useGetSkeletonProperti
|
|
|
6
6
|
const require_useTextFieldValue = require('./hooks/useTextFieldValue.cjs');
|
|
7
7
|
const require_useTextFieldFocus = require('./hooks/useTextFieldFocus.cjs');
|
|
8
8
|
const require_useTextFieldSubmit = require('./hooks/useTextFieldSubmit.cjs');
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
10
|
let classnames = require("classnames");
|
|
10
11
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
|
|
13
13
|
//#region src/components/TextField/TextField.tsx
|
|
14
14
|
/**
|
|
@@ -5,8 +5,8 @@ import { useGetSkeletonProperties } from "./hooks/useGetSkeletonProperties.js";
|
|
|
5
5
|
import { useTextFieldValue } from "./hooks/useTextFieldValue.js";
|
|
6
6
|
import { useTextFieldFocus } from "./hooks/useTextFieldFocus.js";
|
|
7
7
|
import { useTextFieldSubmit } from "./hooks/useTextFieldSubmit.js";
|
|
8
|
-
import classNames from "classnames";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import classNames from "classnames";
|
|
10
10
|
|
|
11
11
|
//#region src/components/TextField/TextField.tsx
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_getInputClasses = require('../utils/getInputClasses.cjs');
|
|
3
3
|
const require_createInputChangeHandler = require('../utils/createInputChangeHandler.cjs');
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
5
|
let classnames = require("classnames");
|
|
5
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/TextField/components/Input.tsx
|
|
9
9
|
const Input = ({ theme, placeholder, value, onChange, onKeyDown, onFocus, onBlur, disabled = false, id, testId, className, style, ariaLabel }) => {
|