@envive-ai/react-toolkit-v3 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -0
- package/dist/AnimatedText/AnimatedText.cjs +47 -0
- package/dist/AnimatedText/AnimatedText.d.cts +13 -0
- package/dist/AnimatedText/AnimatedText.d.ts +13 -0
- package/dist/AnimatedText/AnimatedText.js +46 -0
- package/dist/AnimatedText/index.cjs +3 -0
- package/dist/AnimatedText/index.d.cts +2 -0
- package/dist/AnimatedText/index.d.ts +2 -0
- package/dist/AnimatedText/index.js +3 -0
- package/dist/AnimatedText/types/types.d.cts +14 -0
- package/dist/AnimatedText/types/types.d.ts +14 -0
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.cjs +14 -0
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +10 -0
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +10 -0
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.js +13 -0
- package/dist/CSSVariablesEditor/components/CSSVariablesEditor.cjs +119 -0
- package/dist/CSSVariablesEditor/components/CSSVariablesEditor.js +118 -0
- package/dist/CSSVariablesEditor/components/Container.cjs +14 -0
- package/dist/CSSVariablesEditor/components/Container.js +13 -0
- package/dist/CSSVariablesEditor/components/Header.cjs +14 -0
- package/dist/CSSVariablesEditor/components/Header.js +13 -0
- package/dist/CSSVariablesEditor/components/Purpose.cjs +14 -0
- package/dist/CSSVariablesEditor/components/Purpose.js +13 -0
- package/dist/CSSVariablesEditor/components/index.cjs +15 -0
- package/dist/CSSVariablesEditor/components/index.js +15 -0
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +120 -0
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +119 -0
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +165 -0
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +164 -0
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +423 -0
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +422 -0
- package/dist/CSSVariablesEditor/hooks/useHandleCssVariablesState.cjs +55 -0
- package/dist/CSSVariablesEditor/hooks/useHandleCssVariablesState.js +54 -0
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +103 -0
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +103 -0
- package/dist/CSSVariablesEditor/index.cjs +3 -0
- package/dist/CSSVariablesEditor/index.d.cts +2 -0
- package/dist/CSSVariablesEditor/index.d.ts +2 -0
- package/dist/CSSVariablesEditor/index.js +3 -0
- package/dist/CSSVariablesEditor/utils/functions.cjs +53 -0
- package/dist/CSSVariablesEditor/utils/functions.js +51 -0
- package/dist/Carousel/Carousel.cjs +26 -0
- package/dist/Carousel/Carousel.d.cts +16 -0
- package/dist/Carousel/Carousel.d.ts +16 -0
- package/dist/Carousel/Carousel.js +25 -0
- package/dist/Carousel/components/ArrowIcon.cjs +21 -0
- package/dist/Carousel/components/ArrowIcon.js +20 -0
- package/dist/Carousel/components/Badge.cjs +28 -0
- package/dist/Carousel/components/Badge.js +26 -0
- package/dist/Carousel/components/Container.cjs +68 -0
- package/dist/Carousel/components/Container.js +67 -0
- package/dist/Carousel/components/Item.cjs +11 -0
- package/dist/Carousel/components/Item.js +10 -0
- package/dist/Carousel/components/Next.cjs +17 -0
- package/dist/Carousel/components/Next.js +16 -0
- package/dist/Carousel/components/Previous.cjs +17 -0
- package/dist/Carousel/components/Previous.js +16 -0
- package/dist/Carousel/components/index.cjs +17 -0
- package/dist/Carousel/components/index.js +17 -0
- package/dist/Carousel/hooks/useCarouselButtons.cjs +13 -0
- package/dist/Carousel/hooks/useCarouselButtons.js +12 -0
- package/dist/Carousel/hooks/useCarouselItems.cjs +16 -0
- package/dist/Carousel/hooks/useCarouselItems.js +15 -0
- package/dist/Carousel/hooks/useCarouselNavigation.cjs +102 -0
- package/dist/Carousel/hooks/useCarouselNavigation.js +101 -0
- package/dist/Carousel/hooks/useCarouselNavigationButtons.cjs +33 -0
- package/dist/Carousel/hooks/useCarouselNavigationButtons.js +32 -0
- package/dist/Carousel/hooks/useGetBadgeProperties.cjs +20 -0
- package/dist/Carousel/hooks/useGetBadgeProperties.js +19 -0
- package/dist/Carousel/index.cjs +3 -0
- package/dist/Carousel/index.d.cts +3 -0
- package/dist/Carousel/index.d.ts +3 -0
- package/dist/Carousel/index.js +3 -0
- package/dist/Carousel/types/types.d.cts +50 -0
- package/dist/Carousel/types/types.d.ts +50 -0
- package/dist/ChatFooter/ChatFooter.cjs +43 -0
- package/dist/ChatFooter/ChatFooter.d.cts +23 -0
- package/dist/ChatFooter/ChatFooter.d.ts +23 -0
- package/dist/ChatFooter/ChatFooter.js +41 -0
- package/dist/ChatFooter/components/EnviveLogo.cjs +18 -0
- package/dist/ChatFooter/components/EnviveLogo.js +17 -0
- package/dist/ChatFooter/components/Layout.cjs +51 -0
- package/dist/ChatFooter/components/Layout.d.cts +17 -0
- package/dist/ChatFooter/components/Layout.d.ts +18 -0
- package/dist/ChatFooter/components/Layout.js +49 -0
- package/dist/ChatFooter/components/PromptSuggestions.cjs +21 -0
- package/dist/ChatFooter/components/PromptSuggestions.d.cts +13 -0
- package/dist/ChatFooter/components/PromptSuggestions.d.ts +14 -0
- package/dist/ChatFooter/components/PromptSuggestions.js +20 -0
- package/dist/ChatFooter/components/index.cjs +16 -0
- package/dist/ChatFooter/components/index.d.cts +51 -0
- package/dist/ChatFooter/components/index.d.ts +51 -0
- package/dist/ChatFooter/components/index.js +16 -0
- package/dist/ChatFooter/hooks/useGetButtonScrollProperties.cjs +18 -0
- package/dist/ChatFooter/hooks/useGetButtonScrollProperties.js +17 -0
- package/dist/ChatFooter/hooks/useGetChatScrollProperties.cjs +24 -0
- package/dist/ChatFooter/hooks/useGetChatScrollProperties.js +23 -0
- package/dist/ChatFooter/hooks/useGetContainerProperties.cjs +20 -0
- package/dist/ChatFooter/hooks/useGetContainerProperties.js +19 -0
- package/dist/ChatFooter/index.cjs +5 -0
- package/dist/ChatFooter/index.d.cts +3 -0
- package/dist/ChatFooter/index.d.ts +3 -0
- package/dist/ChatFooter/index.js +4 -0
- package/dist/ChatFooter/types/types.d.cts +74 -0
- package/dist/ChatFooter/types/types.d.ts +74 -0
- package/dist/ChatHeader/ChatHeader.cjs +45 -0
- package/dist/ChatHeader/ChatHeader.d.cts +25 -0
- package/dist/ChatHeader/ChatHeader.d.ts +25 -0
- package/dist/ChatHeader/ChatHeader.js +44 -0
- package/dist/ChatHeader/components/CloseButton.cjs +29 -0
- package/dist/ChatHeader/components/CloseButton.js +28 -0
- package/dist/ChatHeader/components/Handle.cjs +22 -0
- package/dist/ChatHeader/components/Handle.js +21 -0
- package/dist/ChatHeader/components/Layout.cjs +18 -0
- package/dist/ChatHeader/components/Layout.js +17 -0
- package/dist/ChatHeader/components/Logo.cjs +21 -0
- package/dist/ChatHeader/components/Logo.js +20 -0
- package/dist/ChatHeader/components/Toggle.cjs +45 -0
- package/dist/ChatHeader/components/Toggle.js +44 -0
- package/dist/ChatHeader/components/ToggleItem.cjs +38 -0
- package/dist/ChatHeader/components/ToggleItem.js +37 -0
- package/dist/ChatHeader/components/index.cjs +19 -0
- package/dist/ChatHeader/components/index.js +19 -0
- package/dist/ChatHeader/hooks/useGetCloseButtonProperties.cjs +28 -0
- package/dist/ChatHeader/hooks/useGetCloseButtonProperties.js +26 -0
- package/dist/ChatHeader/hooks/useGetHandleProperties.cjs +75 -0
- package/dist/ChatHeader/hooks/useGetHandleProperties.js +75 -0
- package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +33 -0
- package/dist/ChatHeader/hooks/useGetLayoutProperties.js +31 -0
- package/dist/ChatHeader/hooks/useGetLogoProperties.cjs +11 -0
- package/dist/ChatHeader/hooks/useGetLogoProperties.js +10 -0
- package/dist/ChatHeader/hooks/useGetToggleOptionProperties.cjs +83 -0
- package/dist/ChatHeader/hooks/useGetToggleOptionProperties.js +83 -0
- package/dist/ChatHeader/hooks/useGetToggleProperties.cjs +18 -0
- package/dist/ChatHeader/hooks/useGetToggleProperties.js +18 -0
- package/dist/ChatHeader/hooks/useHeaderLogoSelector.cjs +9 -0
- package/dist/ChatHeader/hooks/useHeaderLogoSelector.js +9 -0
- package/dist/ChatHeader/hooks/useToggleLogoSelector.cjs +14 -0
- package/dist/ChatHeader/hooks/useToggleLogoSelector.js +14 -0
- package/dist/ChatHeader/index.cjs +5 -0
- package/dist/ChatHeader/index.d.cts +3 -0
- package/dist/ChatHeader/index.d.ts +3 -0
- package/dist/ChatHeader/index.js +4 -0
- package/dist/ChatHeader/types/index.cjs +22 -0
- package/dist/ChatHeader/types/index.d.cts +49 -0
- package/dist/ChatHeader/types/index.d.ts +49 -0
- package/dist/ChatHeader/types/index.js +19 -0
- package/dist/ChatPreview/ChatPreview.cjs +56 -0
- package/dist/ChatPreview/ChatPreview.d.cts +12 -0
- package/dist/ChatPreview/ChatPreview.d.ts +12 -0
- package/dist/ChatPreview/ChatPreview.js +55 -0
- package/dist/ChatPreview/components/Layout.cjs +21 -0
- package/dist/ChatPreview/components/Layout.js +20 -0
- package/dist/ChatPreview/components/Message.cjs +17 -0
- package/dist/ChatPreview/components/Message.js +16 -0
- package/dist/ChatPreview/components/index.cjs +11 -0
- package/dist/ChatPreview/components/index.js +11 -0
- package/dist/ChatPreview/index.cjs +3 -0
- package/dist/ChatPreview/index.d.cts +3 -0
- package/dist/ChatPreview/index.d.ts +3 -0
- package/dist/ChatPreview/index.js +3 -0
- package/dist/ChatPreview/types/types.d.cts +143 -0
- package/dist/ChatPreview/types/types.d.ts +143 -0
- package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +67 -0
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +12 -0
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +12 -0
- package/dist/ChatPreviewComparison/ChatPreviewComparison.js +66 -0
- package/dist/ChatPreviewComparison/components/Headline.cjs +23 -0
- package/dist/ChatPreviewComparison/components/Headline.js +22 -0
- package/dist/ChatPreviewComparison/components/Layout.cjs +96 -0
- package/dist/ChatPreviewComparison/components/Layout.js +95 -0
- package/dist/ChatPreviewComparison/components/Message.cjs +23 -0
- package/dist/ChatPreviewComparison/components/Message.js +22 -0
- package/dist/ChatPreviewComparison/components/index.cjs +13 -0
- package/dist/ChatPreviewComparison/components/index.js +13 -0
- package/dist/ChatPreviewComparison/index.cjs +3 -0
- package/dist/ChatPreviewComparison/index.d.cts +3 -0
- package/dist/ChatPreviewComparison/index.d.ts +3 -0
- package/dist/ChatPreviewComparison/index.js +3 -0
- package/dist/ChatPreviewComparison/types/types.d.cts +152 -0
- package/dist/ChatPreviewComparison/types/types.d.ts +152 -0
- package/dist/ChatPreviewLoading/ChatPreviewLoading.cjs +59 -0
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +20 -0
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +20 -0
- package/dist/ChatPreviewLoading/ChatPreviewLoading.js +58 -0
- package/dist/ChatPreviewLoading/components/LayoutLoading.cjs +21 -0
- package/dist/ChatPreviewLoading/components/LayoutLoading.js +20 -0
- package/dist/ChatPreviewLoading/components/Skeleton.cjs +14 -0
- package/dist/ChatPreviewLoading/components/Skeleton.js +13 -0
- package/dist/ChatPreviewLoading/components/index.cjs +13 -0
- package/dist/ChatPreviewLoading/components/index.js +13 -0
- package/dist/ChatPreviewLoading/index.cjs +3 -0
- package/dist/ChatPreviewLoading/index.d.cts +3 -0
- package/dist/ChatPreviewLoading/index.d.ts +3 -0
- package/dist/ChatPreviewLoading/index.js +3 -0
- package/dist/ChatPreviewLoading/types/types.d.cts +76 -0
- package/dist/ChatPreviewLoading/types/types.d.ts +76 -0
- package/dist/Container/Container.cjs +26 -0
- package/dist/Container/Container.d.cts +303 -0
- package/dist/Container/Container.d.ts +303 -0
- package/dist/Container/Container.js +24 -0
- package/dist/Container/hooks/useGetCenterContentProperties.cjs +13 -0
- package/dist/Container/hooks/useGetCenterContentProperties.js +12 -0
- package/dist/Container/hooks/useGetFluidProperties.cjs +13 -0
- package/dist/Container/hooks/useGetFluidProperties.js +12 -0
- package/dist/Container/index.cjs +3 -0
- package/dist/Container/index.d.cts +3 -0
- package/dist/Container/index.d.ts +3 -0
- package/dist/Container/index.js +3 -0
- package/dist/Container/types/index.d.cts +43 -0
- package/dist/Container/types/index.d.ts +43 -0
- package/dist/DesignTokens/DesignTokensComponent.cjs +30 -0
- package/dist/DesignTokens/DesignTokensComponent.d.cts +14 -0
- package/dist/DesignTokens/DesignTokensComponent.d.ts +14 -0
- package/dist/DesignTokens/DesignTokensComponent.js +28 -0
- package/dist/DesignTokens/components/BorderRadius.cjs +27 -0
- package/dist/DesignTokens/components/BorderRadius.js +26 -0
- package/dist/DesignTokens/components/Breakpoints.cjs +35 -0
- package/dist/DesignTokens/components/Breakpoints.js +34 -0
- package/dist/DesignTokens/components/Container.cjs +14 -0
- package/dist/DesignTokens/components/Container.js +13 -0
- package/dist/DesignTokens/components/FontFamily.cjs +42 -0
- package/dist/DesignTokens/components/FontFamily.js +40 -0
- package/dist/DesignTokens/components/FontSize.cjs +47 -0
- package/dist/DesignTokens/components/FontSize.js +45 -0
- package/dist/DesignTokens/components/FontWeight.cjs +39 -0
- package/dist/DesignTokens/components/FontWeight.js +37 -0
- package/dist/DesignTokens/components/Header.cjs +14 -0
- package/dist/DesignTokens/components/Header.js +13 -0
- package/dist/DesignTokens/components/LetterSpacing.cjs +35 -0
- package/dist/DesignTokens/components/LetterSpacing.js +33 -0
- package/dist/DesignTokens/components/LineHeight.cjs +38 -0
- package/dist/DesignTokens/components/LineHeight.js +36 -0
- package/dist/DesignTokens/components/PaletteColors.cjs +146 -0
- package/dist/DesignTokens/components/PaletteColors.js +145 -0
- package/dist/DesignTokens/components/Purpose.cjs +14 -0
- package/dist/DesignTokens/components/Purpose.js +13 -0
- package/dist/DesignTokens/components/Spacing.cjs +37 -0
- package/dist/DesignTokens/components/Spacing.js +36 -0
- package/dist/DesignTokens/components/Typography.cjs +119 -0
- package/dist/DesignTokens/components/Typography.js +117 -0
- package/dist/DesignTokens/components/index.cjs +33 -0
- package/dist/DesignTokens/components/index.js +33 -0
- package/dist/DesignTokens/components/utils.cjs +20 -0
- package/dist/DesignTokens/components/utils.js +18 -0
- package/dist/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.cjs +34 -0
- package/dist/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.js +33 -0
- package/dist/DesignTokens/index.cjs +3 -0
- package/dist/DesignTokens/index.d.cts +2 -0
- package/dist/DesignTokens/index.d.ts +2 -0
- package/dist/DesignTokens/index.js +3 -0
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.cjs +40 -0
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +21 -0
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +21 -0
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.js +39 -0
- package/dist/DocumentRetrievalCard/components/Content.cjs +40 -0
- package/dist/DocumentRetrievalCard/components/Content.js +39 -0
- package/dist/DocumentRetrievalCard/components/Image.cjs +20 -0
- package/dist/DocumentRetrievalCard/components/Image.js +18 -0
- package/dist/DocumentRetrievalCard/components/Layout.cjs +45 -0
- package/dist/DocumentRetrievalCard/components/Layout.js +43 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +25 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +23 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +28 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +26 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +25 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +23 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/index.cjs +13 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/index.js +13 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton.cjs +40 -0
- package/dist/DocumentRetrievalCard/components/ViewArticleButton.js +39 -0
- package/dist/DocumentRetrievalCard/components/index.cjs +15 -0
- package/dist/DocumentRetrievalCard/components/index.js +15 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.cjs +16 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.js +16 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBorderProperties.cjs +16 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBorderProperties.js +16 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.cjs +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.js +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetCardWidthProperties.cjs +8 -0
- package/dist/DocumentRetrievalCard/hooks/useGetCardWidthProperties.js +7 -0
- package/dist/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.cjs +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.js +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetIconColorProperties.cjs +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetIconColorProperties.js +13 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.cjs +9 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.js +9 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.cjs +15 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.js +15 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.cjs +11 -0
- package/dist/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.js +10 -0
- package/dist/DocumentRetrievalCard/hooks/useGetPaddingProperties.cjs +11 -0
- package/dist/DocumentRetrievalCard/hooks/useGetPaddingProperties.js +10 -0
- package/dist/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.cjs +12 -0
- package/dist/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.js +11 -0
- package/dist/DocumentRetrievalCard/hooks/useGetThemeProperties.cjs +32 -0
- package/dist/DocumentRetrievalCard/hooks/useGetThemeProperties.js +32 -0
- package/dist/DocumentRetrievalCard/index.cjs +7 -0
- package/dist/DocumentRetrievalCard/index.d.cts +4 -0
- package/dist/DocumentRetrievalCard/index.d.ts +4 -0
- package/dist/DocumentRetrievalCard/index.js +5 -0
- package/dist/DocumentRetrievalCard/types/index.cjs +10 -0
- package/dist/DocumentRetrievalCard/types/index.d.cts +73 -0
- package/dist/DocumentRetrievalCard/types/index.d.ts +73 -0
- package/dist/DocumentRetrievalCard/types/index.js +9 -0
- package/dist/DocumentRetrievalCard/utils/functions.cjs +29 -0
- package/dist/DocumentRetrievalCard/utils/functions.js +27 -0
- package/dist/FloatingButton/FloatingButton.cjs +37 -0
- package/dist/FloatingButton/FloatingButton.d.cts +21 -0
- package/dist/FloatingButton/FloatingButton.d.ts +21 -0
- package/dist/FloatingButton/FloatingButton.js +36 -0
- package/dist/FloatingButton/components/Button.cjs +23 -0
- package/dist/FloatingButton/components/Button.js +21 -0
- package/dist/FloatingButton/components/Container.cjs +23 -0
- package/dist/FloatingButton/components/Container.js +21 -0
- package/dist/FloatingButton/components/Icon.cjs +25 -0
- package/dist/FloatingButton/components/Icon.js +24 -0
- package/dist/FloatingButton/components/Wrapper.cjs +18 -0
- package/dist/FloatingButton/components/Wrapper.js +16 -0
- package/dist/FloatingButton/components/index.cjs +15 -0
- package/dist/FloatingButton/components/index.js +15 -0
- package/dist/FloatingButton/hooks/useGetButtonHoverProperties.cjs +19 -0
- package/dist/FloatingButton/hooks/useGetButtonHoverProperties.js +19 -0
- package/dist/FloatingButton/hooks/useGetButtonProperties.cjs +22 -0
- package/dist/FloatingButton/hooks/useGetButtonProperties.js +22 -0
- package/dist/FloatingButton/hooks/useGetContainerProperties.cjs +57 -0
- package/dist/FloatingButton/hooks/useGetContainerProperties.js +57 -0
- package/dist/FloatingButton/hooks/useGetIconProperties.cjs +15 -0
- package/dist/FloatingButton/hooks/useGetIconProperties.js +15 -0
- package/dist/FloatingButton/hooks/useGetWrapperProperties.cjs +20 -0
- package/dist/FloatingButton/hooks/useGetWrapperProperties.js +20 -0
- package/dist/FloatingButton/index.cjs +8 -0
- package/dist/FloatingButton/index.d.cts +3 -0
- package/dist/FloatingButton/index.d.ts +3 -0
- package/dist/FloatingButton/index.js +4 -0
- package/dist/FloatingButton/types/types.cjs +45 -0
- package/dist/FloatingButton/types/types.d.cts +97 -0
- package/dist/FloatingButton/types/types.d.ts +97 -0
- package/dist/FloatingButton/types/types.js +41 -0
- package/dist/FloatingChat/FloatingChat.cjs +142 -0
- package/dist/FloatingChat/FloatingChat.d.cts +19 -0
- package/dist/FloatingChat/FloatingChat.d.ts +19 -0
- package/dist/FloatingChat/FloatingChat.js +141 -0
- package/dist/FloatingChat/components/AgentMessage.cjs +75 -0
- package/dist/FloatingChat/components/AgentMessage.js +74 -0
- package/dist/FloatingChat/components/ChatMessages.cjs +71 -0
- package/dist/FloatingChat/components/ChatMessages.js +69 -0
- package/dist/FloatingChat/components/DocumentRetrievalCardsCarousel.cjs +25 -0
- package/dist/FloatingChat/components/DocumentRetrievalCardsCarousel.js +24 -0
- package/dist/FloatingChat/components/Layout.cjs +59 -0
- package/dist/FloatingChat/components/Layout.js +57 -0
- package/dist/FloatingChat/components/MessageDivider.cjs +30 -0
- package/dist/FloatingChat/components/MessageDivider.js +29 -0
- package/dist/FloatingChat/components/OrderLookupCardCarousel.cjs +31 -0
- package/dist/FloatingChat/components/OrderLookupCardCarousel.js +30 -0
- package/dist/FloatingChat/components/ReviewCardsCarousel.cjs +27 -0
- package/dist/FloatingChat/components/ReviewCardsCarousel.js +26 -0
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +36 -0
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +35 -0
- package/dist/FloatingChat/components/ScrollToBottomButton.cjs +31 -0
- package/dist/FloatingChat/components/ScrollToBottomButton.js +30 -0
- package/dist/FloatingChat/components/UserMessage.cjs +35 -0
- package/dist/FloatingChat/components/UserMessage.js +34 -0
- package/dist/FloatingChat/components/index.cjs +27 -0
- package/dist/FloatingChat/components/index.js +27 -0
- package/dist/FloatingChat/hooks/useScrollToBottom.cjs +50 -0
- package/dist/FloatingChat/hooks/useScrollToBottom.js +49 -0
- package/dist/FloatingChat/index.cjs +3 -0
- package/dist/FloatingChat/index.d.cts +2 -0
- package/dist/FloatingChat/index.d.ts +2 -0
- package/dist/FloatingChat/index.js +3 -0
- package/dist/FloatingChat/types/types.d.cts +64 -0
- package/dist/FloatingChat/types/types.d.ts +65 -0
- package/dist/FloatingChat/utils/functions.cjs +85 -0
- package/dist/FloatingChat/utils/functions.js +79 -0
- package/dist/Form/Form.cjs +53 -0
- package/dist/Form/Form.d.cts +19 -0
- package/dist/Form/Form.d.ts +19 -0
- package/dist/Form/Form.js +51 -0
- package/dist/Form/components/Layout.cjs +35 -0
- package/dist/Form/components/Layout.js +33 -0
- package/dist/Form/components/SubmitButtonItem.cjs +24 -0
- package/dist/Form/components/SubmitButtonItem.js +22 -0
- package/dist/Form/components/TextFieldItem.cjs +43 -0
- package/dist/Form/components/TextFieldItem.js +41 -0
- package/dist/Form/components/index.cjs +13 -0
- package/dist/Form/components/index.js +13 -0
- package/dist/Form/hooks/useFormsTextFieldValues.cjs +31 -0
- package/dist/Form/hooks/useFormsTextFieldValues.js +30 -0
- package/dist/Form/hooks/useGetButtonProperties.cjs +21 -0
- package/dist/Form/hooks/useGetButtonProperties.js +20 -0
- package/dist/Form/hooks/useGetTextFieldProperties.cjs +25 -0
- package/dist/Form/hooks/useGetTextFieldProperties.js +24 -0
- package/dist/Form/index.cjs +3 -0
- package/dist/Form/index.d.cts +3 -0
- package/dist/Form/index.d.ts +3 -0
- package/dist/Form/index.js +3 -0
- package/dist/Form/types/index.d.cts +71 -0
- package/dist/Form/types/index.d.ts +71 -0
- package/dist/Form/utils/buildSubmitButtonElement.cjs +18 -0
- package/dist/Form/utils/buildSubmitButtonElement.js +17 -0
- package/dist/Form/utils/buildTextFieldsSubmitPayload.cjs +17 -0
- package/dist/Form/utils/buildTextFieldsSubmitPayload.js +16 -0
- package/dist/Form/utils/createFormSchema.cjs +40 -0
- package/dist/Form/utils/createFormSchema.js +39 -0
- package/dist/Form/utils/handleFormsSubmit.cjs +16 -0
- package/dist/Form/utils/handleFormsSubmit.js +16 -0
- package/dist/Form/utils/mapTextFields.cjs +24 -0
- package/dist/Form/utils/mapTextFields.js +23 -0
- package/dist/Form/utils/validateTextFieldsForSubmit.cjs +37 -0
- package/dist/Form/utils/validateTextFieldsForSubmit.js +37 -0
- package/dist/Image/Image.cjs +64 -0
- package/dist/Image/Image.d.cts +30 -0
- package/dist/Image/Image.d.ts +30 -0
- package/dist/Image/Image.js +62 -0
- package/dist/Image/hooks/useGetAccessibilityProperties.cjs +24 -0
- package/dist/Image/hooks/useGetAccessibilityProperties.js +23 -0
- package/dist/Image/hooks/useGetAspectRatioProperties.cjs +19 -0
- package/dist/Image/hooks/useGetAspectRatioProperties.js +18 -0
- package/dist/Image/hooks/useGetObjectFitProperties.cjs +20 -0
- package/dist/Image/hooks/useGetObjectFitProperties.js +19 -0
- package/dist/Image/hooks/useGetRoundedProperties.cjs +12 -0
- package/dist/Image/hooks/useGetRoundedProperties.js +11 -0
- package/dist/Image/hooks/useGetSkeletonProperties.cjs +13 -0
- package/dist/Image/hooks/useGetSkeletonProperties.js +12 -0
- package/dist/Image/hooks/useGetWidthProperties.cjs +19 -0
- package/dist/Image/hooks/useGetWidthProperties.js +18 -0
- package/dist/Image/hooks/useHandleImageLoading.cjs +32 -0
- package/dist/Image/hooks/useHandleImageLoading.js +31 -0
- package/dist/Image/index.cjs +6 -0
- package/dist/Image/index.d.cts +3 -0
- package/dist/Image/index.d.ts +3 -0
- package/dist/Image/index.js +4 -0
- package/dist/Image/types/index.cjs +54 -0
- package/dist/Image/types/index.d.cts +131 -0
- package/dist/Image/types/index.d.ts +131 -0
- package/dist/Image/types/index.js +52 -0
- package/dist/ImageGallery/ImageGallery.cjs +58 -0
- package/dist/ImageGallery/ImageGallery.d.cts +45 -0
- package/dist/ImageGallery/ImageGallery.d.ts +45 -0
- package/dist/ImageGallery/ImageGallery.js +57 -0
- package/dist/ImageGallery/components/ImageItem.cjs +11 -0
- package/dist/ImageGallery/components/ImageItem.js +10 -0
- package/dist/ImageGallery/components/Layout.cjs +52 -0
- package/dist/ImageGallery/components/Layout.js +50 -0
- package/dist/ImageGallery/components/NormalLayout.cjs +12 -0
- package/dist/ImageGallery/components/NormalLayout.js +10 -0
- package/dist/ImageGallery/components/OverlappedLayout.cjs +16 -0
- package/dist/ImageGallery/components/OverlappedLayout.js +15 -0
- package/dist/ImageGallery/components/index.cjs +15 -0
- package/dist/ImageGallery/components/index.js +15 -0
- package/dist/ImageGallery/hooks/useGetContainerProperties.cjs +19 -0
- package/dist/ImageGallery/hooks/useGetContainerProperties.js +18 -0
- package/dist/ImageGallery/hooks/useValidateImages.cjs +17 -0
- package/dist/ImageGallery/hooks/useValidateImages.js +17 -0
- package/dist/ImageGallery/index.cjs +5 -0
- package/dist/ImageGallery/index.d.cts +3 -0
- package/dist/ImageGallery/index.d.ts +3 -0
- package/dist/ImageGallery/index.js +4 -0
- package/dist/ImageGallery/types/types.cjs +12 -0
- package/dist/ImageGallery/types/types.d.cts +132 -0
- package/dist/ImageGallery/types/types.d.ts +132 -0
- package/dist/ImageGallery/types/types.js +11 -0
- package/dist/ImageGallery/utils/functions.cjs +15 -0
- package/dist/ImageGallery/utils/functions.js +15 -0
- package/dist/MarkdownProcessor/MarkdownProcessor.cjs +46 -0
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +14 -0
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +14 -0
- package/dist/MarkdownProcessor/MarkdownProcessor.js +42 -0
- package/dist/MarkdownProcessor/components/MarkdownLink.cjs +12 -0
- package/dist/MarkdownProcessor/components/MarkdownLink.js +11 -0
- package/dist/MarkdownProcessor/components/MarkdownListItem.cjs +15 -0
- package/dist/MarkdownProcessor/components/MarkdownListItem.js +14 -0
- package/dist/MarkdownProcessor/components/MarkdownOrderedList.cjs +11 -0
- package/dist/MarkdownProcessor/components/MarkdownOrderedList.js +10 -0
- package/dist/MarkdownProcessor/components/MarkdownParagraph.cjs +16 -0
- package/dist/MarkdownProcessor/components/MarkdownParagraph.js +15 -0
- package/dist/MarkdownProcessor/components/MarkdownSubscript.cjs +15 -0
- package/dist/MarkdownProcessor/components/MarkdownSubscript.js +14 -0
- package/dist/MarkdownProcessor/components/MarkdownUnorderedList.cjs +11 -0
- package/dist/MarkdownProcessor/components/MarkdownUnorderedList.js +10 -0
- package/dist/MarkdownProcessor/components/index.cjs +19 -0
- package/dist/MarkdownProcessor/components/index.js +19 -0
- package/dist/MarkdownProcessor/index.cjs +3 -0
- package/dist/MarkdownProcessor/index.d.cts +3 -0
- package/dist/MarkdownProcessor/index.d.ts +3 -0
- package/dist/MarkdownProcessor/index.js +3 -0
- package/dist/MarkdownProcessor/types/types.d.cts +44 -0
- package/dist/MarkdownProcessor/types/types.d.ts +44 -0
- package/dist/MarkdownProcessor/utils/functions.cjs +28 -0
- package/dist/MarkdownProcessor/utils/functions.js +26 -0
- package/dist/Message/Message.cjs +44 -0
- package/dist/Message/Message.d.cts +21 -0
- package/dist/Message/Message.d.ts +21 -0
- package/dist/Message/Message.js +43 -0
- package/dist/Message/components/AgentContent.cjs +16 -0
- package/dist/Message/components/AgentContent.js +15 -0
- package/dist/Message/components/AgentHeader.cjs +28 -0
- package/dist/Message/components/AgentHeader.js +27 -0
- package/dist/Message/components/Layout.cjs +25 -0
- package/dist/Message/components/Layout.js +23 -0
- package/dist/Message/components/LinkButton.cjs +53 -0
- package/dist/Message/components/LinkButton.d.cts +15 -0
- package/dist/Message/components/LinkButton.d.ts +15 -0
- package/dist/Message/components/LinkButton.js +52 -0
- package/dist/Message/components/LoadingSkeleton.cjs +19 -0
- package/dist/Message/components/LoadingSkeleton.js +18 -0
- package/dist/Message/components/SparkleIcon.cjs +22 -0
- package/dist/Message/components/SparkleIcon.js +21 -0
- package/dist/Message/components/UserContent.cjs +20 -0
- package/dist/Message/components/UserContent.js +19 -0
- package/dist/Message/components/index.cjs +21 -0
- package/dist/Message/components/index.js +21 -0
- package/dist/Message/hooks/useGetLinkButtonIconProperties.cjs +15 -0
- package/dist/Message/hooks/useGetLinkButtonIconProperties.js +14 -0
- package/dist/Message/hooks/useGetLinkButtonProperties.cjs +15 -0
- package/dist/Message/hooks/useGetLinkButtonProperties.js +14 -0
- package/dist/Message/hooks/useLatencyAnimation.cjs +47 -0
- package/dist/Message/hooks/useLatencyAnimation.js +46 -0
- package/dist/Message/hooks/useVariantStyleProperties.cjs +33 -0
- package/dist/Message/hooks/useVariantStyleProperties.js +32 -0
- package/dist/Message/index.cjs +7 -0
- package/dist/Message/index.d.cts +4 -0
- package/dist/Message/index.d.ts +4 -0
- package/dist/Message/index.js +5 -0
- package/dist/Message/types/index.cjs +13 -0
- package/dist/Message/types/index.d.cts +60 -0
- package/dist/Message/types/index.d.ts +60 -0
- package/dist/Message/types/index.js +12 -0
- package/dist/Message/utils/openUrlInNewTab.cjs +16 -0
- package/dist/Message/utils/openUrlInNewTab.js +15 -0
- package/dist/Message/utils/validateMessageProps.cjs +22 -0
- package/dist/Message/utils/validateMessageProps.js +21 -0
- package/dist/OrderLookupCard/OrderLookupCard.cjs +76 -0
- package/dist/OrderLookupCard/OrderLookupCard.d.cts +34 -0
- package/dist/OrderLookupCard/OrderLookupCard.d.ts +34 -0
- package/dist/OrderLookupCard/OrderLookupCard.js +74 -0
- package/dist/OrderLookupCard/components/Layout.cjs +27 -0
- package/dist/OrderLookupCard/components/Layout.js +25 -0
- package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +41 -0
- package/dist/OrderLookupCard/components/MoreProductsOverlay.js +39 -0
- package/dist/OrderLookupCard/components/OrderDate.cjs +21 -0
- package/dist/OrderLookupCard/components/OrderDate.js +20 -0
- package/dist/OrderLookupCard/components/OrderNumber.cjs +22 -0
- package/dist/OrderLookupCard/components/OrderNumber.js +21 -0
- package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +26 -0
- package/dist/OrderLookupCard/components/ProductImageGridItem.js +24 -0
- package/dist/OrderLookupCard/components/ProductImageItem.cjs +37 -0
- package/dist/OrderLookupCard/components/ProductImageItem.js +35 -0
- package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +31 -0
- package/dist/OrderLookupCard/components/ProductImagesGrid.js +29 -0
- package/dist/OrderLookupCard/components/StatusLabel.cjs +30 -0
- package/dist/OrderLookupCard/components/StatusLabel.js +28 -0
- package/dist/OrderLookupCard/components/TrackOrderLink.cjs +34 -0
- package/dist/OrderLookupCard/components/TrackOrderLink.js +32 -0
- package/dist/OrderLookupCard/components/index.cjs +23 -0
- package/dist/OrderLookupCard/components/index.js +23 -0
- package/dist/OrderLookupCard/hooks/useGetContainerProperties.cjs +24 -0
- package/dist/OrderLookupCard/hooks/useGetContainerProperties.js +24 -0
- package/dist/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.cjs +14 -0
- package/dist/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.js +14 -0
- package/dist/OrderLookupCard/hooks/useGetImageGridPositionProperties.cjs +33 -0
- package/dist/OrderLookupCard/hooks/useGetImageGridPositionProperties.js +32 -0
- package/dist/OrderLookupCard/hooks/useGetProductImagesGridProperties.cjs +14 -0
- package/dist/OrderLookupCard/hooks/useGetProductImagesGridProperties.js +13 -0
- package/dist/OrderLookupCard/hooks/useGetStatusLabelProperties.cjs +24 -0
- package/dist/OrderLookupCard/hooks/useGetStatusLabelProperties.js +24 -0
- package/dist/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.cjs +13 -0
- package/dist/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.js +13 -0
- package/dist/OrderLookupCard/index.cjs +3 -0
- package/dist/OrderLookupCard/index.d.cts +3 -0
- package/dist/OrderLookupCard/index.d.ts +3 -0
- package/dist/OrderLookupCard/index.js +3 -0
- package/dist/OrderLookupCard/types/index.d.cts +102 -0
- package/dist/OrderLookupCard/types/index.d.ts +102 -0
- package/dist/OrderLookupCard/utils/calculateMoreProductsCount.cjs +13 -0
- package/dist/OrderLookupCard/utils/calculateMoreProductsCount.js +12 -0
- package/dist/OrderLookupCard/utils/formatOrderDate.cjs +25 -0
- package/dist/OrderLookupCard/utils/formatOrderDate.js +24 -0
- package/dist/OrderLookupCard/utils/formatOrderNumber.cjs +13 -0
- package/dist/OrderLookupCard/utils/formatOrderNumber.js +12 -0
- package/dist/OrderLookupCard/utils/getProductImagesToDisplay.cjs +12 -0
- package/dist/OrderLookupCard/utils/getProductImagesToDisplay.js +11 -0
- package/dist/OrderLookupCard/utils/handleTrackOrderNavigation.cjs +12 -0
- package/dist/OrderLookupCard/utils/handleTrackOrderNavigation.js +11 -0
- package/dist/PromptButton/PromptButton.cjs +47 -0
- package/dist/PromptButton/PromptButton.d.cts +21 -0
- package/dist/PromptButton/PromptButton.d.ts +21 -0
- package/dist/PromptButton/PromptButton.js +45 -0
- package/dist/PromptButton/components/Icon.cjs +10 -0
- package/dist/PromptButton/components/Icon.js +9 -0
- package/dist/PromptButton/components/Label.cjs +19 -0
- package/dist/PromptButton/components/Label.js +18 -0
- package/dist/PromptButton/components/Layout.cjs +39 -0
- package/dist/PromptButton/components/Layout.js +37 -0
- package/dist/PromptButton/components/Loading.cjs +12 -0
- package/dist/PromptButton/components/Loading.js +10 -0
- package/dist/PromptButton/components/index.cjs +15 -0
- package/dist/PromptButton/components/index.js +15 -0
- package/dist/PromptButton/hooks/useGetBackgroundColorsProperties.cjs +17 -0
- package/dist/PromptButton/hooks/useGetBackgroundColorsProperties.js +17 -0
- package/dist/PromptButton/hooks/useGetBoldTextProperties.cjs +12 -0
- package/dist/PromptButton/hooks/useGetBoldTextProperties.js +11 -0
- package/dist/PromptButton/hooks/useGetBorderColorsProperties.cjs +17 -0
- package/dist/PromptButton/hooks/useGetBorderColorsProperties.js +17 -0
- package/dist/PromptButton/hooks/useGetIconColorsProperties.cjs +31 -0
- package/dist/PromptButton/hooks/useGetIconColorsProperties.js +31 -0
- package/dist/PromptButton/hooks/useGetLayoutBaseProperties.cjs +15 -0
- package/dist/PromptButton/hooks/useGetLayoutBaseProperties.js +13 -0
- package/dist/PromptButton/hooks/useGetTextColorsProperties.cjs +18 -0
- package/dist/PromptButton/hooks/useGetTextColorsProperties.js +18 -0
- package/dist/PromptButton/hooks/useGetVariantColorsProperties.cjs +28 -0
- package/dist/PromptButton/hooks/useGetVariantColorsProperties.js +28 -0
- package/dist/PromptButton/index.cjs +5 -0
- package/dist/PromptButton/index.d.cts +3 -0
- package/dist/PromptButton/index.d.ts +3 -0
- package/dist/PromptButton/index.js +4 -0
- package/dist/PromptButton/types/index.cjs +37 -0
- package/dist/PromptButton/types/index.d.cts +98 -0
- package/dist/PromptButton/types/index.d.ts +98 -0
- package/dist/PromptButton/types/index.js +33 -0
- package/dist/PromptButton/utils/functions.cjs +9 -0
- package/dist/PromptButton/utils/functions.js +9 -0
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.cjs +43 -0
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +23 -0
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +23 -0
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.js +42 -0
- package/dist/PromptButtonCarouselWithImage/components/Image.cjs +18 -0
- package/dist/PromptButtonCarouselWithImage/components/Image.js +17 -0
- package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +53 -0
- package/dist/PromptButtonCarouselWithImage/components/Layout.js +51 -0
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +29 -0
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +28 -0
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +15 -0
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +13 -0
- package/dist/PromptButtonCarouselWithImage/components/Title.cjs +20 -0
- package/dist/PromptButtonCarouselWithImage/components/Title.js +19 -0
- package/dist/PromptButtonCarouselWithImage/components/index.cjs +20 -0
- package/dist/PromptButtonCarouselWithImage/components/index.js +20 -0
- package/dist/PromptButtonCarouselWithImage/index.cjs +3 -0
- package/dist/PromptButtonCarouselWithImage/index.d.cts +3 -0
- package/dist/PromptButtonCarouselWithImage/index.d.ts +3 -0
- package/dist/PromptButtonCarouselWithImage/index.js +3 -0
- package/dist/PromptButtonCarouselWithImage/types/types.d.cts +76 -0
- package/dist/PromptButtonCarouselWithImage/types/types.d.ts +76 -0
- package/dist/PromptCarousel/PromptCarousel.cjs +96 -0
- package/dist/PromptCarousel/PromptCarousel.d.cts +24 -0
- package/dist/PromptCarousel/PromptCarousel.d.ts +24 -0
- package/dist/PromptCarousel/PromptCarousel.js +95 -0
- package/dist/PromptCarousel/components/BlockScrollContainer.cjs +23 -0
- package/dist/PromptCarousel/components/BlockScrollContainer.js +21 -0
- package/dist/PromptCarousel/components/ButtonContainerRow.cjs +34 -0
- package/dist/PromptCarousel/components/ButtonContainerRow.js +32 -0
- package/dist/PromptCarousel/components/CarouselContentWithBlockScroll.cjs +45 -0
- package/dist/PromptCarousel/components/CarouselContentWithBlockScroll.js +44 -0
- package/dist/PromptCarousel/components/CarouselContentWithRowScroll.cjs +33 -0
- package/dist/PromptCarousel/components/CarouselContentWithRowScroll.js +32 -0
- package/dist/PromptCarousel/components/index.cjs +13 -0
- package/dist/PromptCarousel/components/index.js +13 -0
- package/dist/PromptCarousel/hooks/index.cjs +5 -0
- package/dist/PromptCarousel/hooks/index.js +7 -0
- package/dist/PromptCarousel/hooks/useButtonScrollPosition.cjs +79 -0
- package/dist/PromptCarousel/hooks/useButtonScrollPosition.js +78 -0
- package/dist/PromptCarousel/hooks/useCarouselAnimation.cjs +23 -0
- package/dist/PromptCarousel/hooks/useCarouselAnimation.js +22 -0
- package/dist/PromptCarousel/hooks/useCarouselButtons.cjs +19 -0
- package/dist/PromptCarousel/hooks/useCarouselButtons.js +18 -0
- package/dist/PromptCarousel/hooks/useCarouselRefs.cjs +20 -0
- package/dist/PromptCarousel/hooks/useCarouselRefs.js +19 -0
- package/dist/PromptCarousel/hooks/useGetScrollProperties.cjs +18 -0
- package/dist/PromptCarousel/hooks/useGetScrollProperties.js +17 -0
- package/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.cjs +78 -0
- package/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.js +77 -0
- package/dist/PromptCarousel/index.cjs +6 -0
- package/dist/PromptCarousel/index.d.cts +3 -0
- package/dist/PromptCarousel/index.d.ts +3 -0
- package/dist/PromptCarousel/index.js +4 -0
- package/dist/PromptCarousel/types/types.cjs +24 -0
- package/dist/PromptCarousel/types/types.d.cts +102 -0
- package/dist/PromptCarousel/types/types.d.ts +102 -0
- package/dist/PromptCarousel/types/types.js +21 -0
- package/dist/PromptCarousel/utils/functions.cjs +17 -0
- package/dist/PromptCarousel/utils/functions.js +15 -0
- package/dist/ReviewCard/ReviewCard.cjs +55 -0
- package/dist/ReviewCard/ReviewCard.d.cts +30 -0
- package/dist/ReviewCard/ReviewCard.d.ts +30 -0
- package/dist/ReviewCard/ReviewCard.js +54 -0
- package/dist/ReviewCard/components/Container.cjs +44 -0
- package/dist/ReviewCard/components/Container.d.cts +17 -0
- package/dist/ReviewCard/components/Container.d.ts +17 -0
- package/dist/ReviewCard/components/Container.js +42 -0
- package/dist/ReviewCard/components/Name.cjs +36 -0
- package/dist/ReviewCard/components/Name.js +35 -0
- package/dist/ReviewCard/components/Rating.cjs +37 -0
- package/dist/ReviewCard/components/Rating.d.cts +10 -0
- package/dist/ReviewCard/components/Rating.d.ts +11 -0
- package/dist/ReviewCard/components/Rating.js +35 -0
- package/dist/ReviewCard/components/ReadMoreButton.cjs +42 -0
- package/dist/ReviewCard/components/ReadMoreButton.d.cts +13 -0
- package/dist/ReviewCard/components/ReadMoreButton.d.ts +13 -0
- package/dist/ReviewCard/components/ReadMoreButton.js +40 -0
- package/dist/ReviewCard/components/ReviewText.cjs +25 -0
- package/dist/ReviewCard/components/ReviewText.js +24 -0
- package/dist/ReviewCard/components/StarIcon.cjs +23 -0
- package/dist/ReviewCard/components/StarIcon.js +22 -0
- package/dist/ReviewCard/components/VerifiedBuyer.cjs +32 -0
- package/dist/ReviewCard/components/VerifiedBuyer.js +31 -0
- package/dist/ReviewCard/components/index.cjs +19 -0
- package/dist/ReviewCard/components/index.d.cts +70 -0
- package/dist/ReviewCard/components/index.d.ts +70 -0
- package/dist/ReviewCard/components/index.js +19 -0
- package/dist/ReviewCard/hooks/useGetBackgroundColorsProperties.cjs +13 -0
- package/dist/ReviewCard/hooks/useGetBackgroundColorsProperties.js +13 -0
- package/dist/ReviewCard/hooks/useGetBorderProperties.cjs +16 -0
- package/dist/ReviewCard/hooks/useGetBorderProperties.js +16 -0
- package/dist/ReviewCard/hooks/useGetBorderRadiusProperties.cjs +13 -0
- package/dist/ReviewCard/hooks/useGetBorderRadiusProperties.js +13 -0
- package/dist/ReviewCard/hooks/useGetCardWidthProperties.cjs +8 -0
- package/dist/ReviewCard/hooks/useGetCardWidthProperties.js +7 -0
- package/dist/ReviewCard/hooks/useGetNameProperties.cjs +15 -0
- package/dist/ReviewCard/hooks/useGetNameProperties.js +14 -0
- package/dist/ReviewCard/hooks/useGetPaddingProperties.cjs +8 -0
- package/dist/ReviewCard/hooks/useGetPaddingProperties.js +7 -0
- package/dist/ReviewCard/hooks/useGetRatingBackgroundProperties.cjs +13 -0
- package/dist/ReviewCard/hooks/useGetRatingBackgroundProperties.js +13 -0
- package/dist/ReviewCard/hooks/useGetReadMoreTypographyProperties.cjs +15 -0
- package/dist/ReviewCard/hooks/useGetReadMoreTypographyProperties.js +15 -0
- package/dist/ReviewCard/hooks/useGetReviewTextProperties.cjs +19 -0
- package/dist/ReviewCard/hooks/useGetReviewTextProperties.js +18 -0
- package/dist/ReviewCard/hooks/useGetStarIconProperties.cjs +17 -0
- package/dist/ReviewCard/hooks/useGetStarIconProperties.js +16 -0
- package/dist/ReviewCard/hooks/useGetThemeProperties.cjs +19 -0
- package/dist/ReviewCard/hooks/useGetThemeProperties.js +19 -0
- package/dist/ReviewCard/index.cjs +5 -0
- package/dist/ReviewCard/index.d.cts +4 -0
- package/dist/ReviewCard/index.d.ts +4 -0
- package/dist/ReviewCard/index.js +4 -0
- package/dist/ReviewCard/types/types.d.cts +66 -0
- package/dist/ReviewCard/types/types.d.ts +66 -0
- package/dist/SalesAgentProductCard/SalesAgentProductCard.cjs +54 -0
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +34 -0
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +34 -0
- package/dist/SalesAgentProductCard/SalesAgentProductCard.js +53 -0
- package/dist/SalesAgentProductCard/components/Container.cjs +55 -0
- package/dist/SalesAgentProductCard/components/Container.d.cts +20 -0
- package/dist/SalesAgentProductCard/components/Container.d.ts +21 -0
- package/dist/SalesAgentProductCard/components/Container.js +53 -0
- package/dist/SalesAgentProductCard/components/Price.cjs +31 -0
- package/dist/SalesAgentProductCard/components/Price.d.cts +9 -0
- package/dist/SalesAgentProductCard/components/Price.d.ts +11 -0
- package/dist/SalesAgentProductCard/components/Price.js +30 -0
- package/dist/SalesAgentProductCard/components/ProductImage.cjs +23 -0
- package/dist/SalesAgentProductCard/components/ProductImage.d.cts +12 -0
- package/dist/SalesAgentProductCard/components/ProductImage.d.ts +13 -0
- package/dist/SalesAgentProductCard/components/ProductImage.js +21 -0
- package/dist/SalesAgentProductCard/components/ProductName.cjs +28 -0
- package/dist/SalesAgentProductCard/components/ProductName.d.cts +11 -0
- package/dist/SalesAgentProductCard/components/ProductName.d.ts +12 -0
- package/dist/SalesAgentProductCard/components/ProductName.js +26 -0
- package/dist/SalesAgentProductCard/components/Rate.cjs +33 -0
- package/dist/SalesAgentProductCard/components/Rate.d.cts +10 -0
- package/dist/SalesAgentProductCard/components/Rate.d.ts +11 -0
- package/dist/SalesAgentProductCard/components/Rate.js +32 -0
- package/dist/SalesAgentProductCard/components/StarIcon.cjs +22 -0
- package/dist/SalesAgentProductCard/components/StarIcon.js +21 -0
- package/dist/SalesAgentProductCard/components/index.cjs +19 -0
- package/dist/SalesAgentProductCard/components/index.d.cts +60 -0
- package/dist/SalesAgentProductCard/components/index.d.ts +60 -0
- package/dist/SalesAgentProductCard/components/index.js +19 -0
- package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.cjs +30 -0
- package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.js +29 -0
- package/dist/SalesAgentProductCard/hooks/useGetImageProperties.cjs +12 -0
- package/dist/SalesAgentProductCard/hooks/useGetImageProperties.js +12 -0
- package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.cjs +38 -0
- package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.js +37 -0
- package/dist/SalesAgentProductCard/hooks/useGetProductNameProperties.cjs +13 -0
- package/dist/SalesAgentProductCard/hooks/useGetProductNameProperties.js +12 -0
- package/dist/SalesAgentProductCard/hooks/useGetStarIconProperties.cjs +17 -0
- package/dist/SalesAgentProductCard/hooks/useGetStarIconProperties.js +16 -0
- package/dist/SalesAgentProductCard/index.cjs +5 -0
- package/dist/SalesAgentProductCard/index.d.cts +3 -0
- package/dist/SalesAgentProductCard/index.d.ts +3 -0
- package/dist/SalesAgentProductCard/index.js +4 -0
- package/dist/SalesAgentProductCard/types/types.cjs +15 -0
- package/dist/SalesAgentProductCard/types/types.d.cts +104 -0
- package/dist/SalesAgentProductCard/types/types.d.ts +104 -0
- package/dist/SalesAgentProductCard/types/types.js +14 -0
- package/dist/SalesAgentProductCard/utils/functions.cjs +21 -0
- package/dist/SalesAgentProductCard/utils/functions.js +19 -0
- package/dist/SocialProof/SocialProof.cjs +106 -0
- package/dist/SocialProof/SocialProof.d.cts +12 -0
- package/dist/SocialProof/SocialProof.d.ts +12 -0
- package/dist/SocialProof/SocialProof.js +105 -0
- package/dist/SocialProof/components/Headline.cjs +53 -0
- package/dist/SocialProof/components/Headline.js +51 -0
- package/dist/SocialProof/components/ImageGallery.cjs +24 -0
- package/dist/SocialProof/components/ImageGallery.js +23 -0
- package/dist/SocialProof/components/LayoutFourGrid.cjs +43 -0
- package/dist/SocialProof/components/LayoutFourGrid.js +42 -0
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +58 -0
- package/dist/SocialProof/components/LayoutFourHorizontal.js +56 -0
- package/dist/SocialProof/components/LayoutSingle.cjs +63 -0
- package/dist/SocialProof/components/LayoutSingle.js +62 -0
- package/dist/SocialProof/components/Skeleton.cjs +14 -0
- package/dist/SocialProof/components/Skeleton.js +13 -0
- package/dist/SocialProof/components/Subheadline.cjs +37 -0
- package/dist/SocialProof/components/Subheadline.js +36 -0
- package/dist/SocialProof/components/Textfield.cjs +18 -0
- package/dist/SocialProof/components/Textfield.js +17 -0
- package/dist/SocialProof/components/index.cjs +23 -0
- package/dist/SocialProof/components/index.js +23 -0
- package/dist/SocialProof/index.cjs +5 -0
- package/dist/SocialProof/index.d.cts +3 -0
- package/dist/SocialProof/index.d.ts +3 -0
- package/dist/SocialProof/index.js +4 -0
- package/dist/SocialProof/types/types.cjs +10 -0
- package/dist/SocialProof/types/types.d.cts +216 -0
- package/dist/SocialProof/types/types.d.ts +216 -0
- package/dist/SocialProof/types/types.js +9 -0
- package/dist/SocialProof/utils/functions.cjs +15 -0
- package/dist/SocialProof/utils/functions.js +15 -0
- package/dist/Stack/Stack.cjs +35 -0
- package/dist/Stack/Stack.d.cts +10 -0
- package/dist/Stack/Stack.d.ts +10 -0
- package/dist/Stack/Stack.js +33 -0
- package/dist/Stack/hooks/useFormatStackChildren.cjs +26 -0
- package/dist/Stack/hooks/useFormatStackChildren.js +25 -0
- package/dist/Stack/hooks/useGetAlignProperties.cjs +19 -0
- package/dist/Stack/hooks/useGetAlignProperties.js +18 -0
- package/dist/Stack/hooks/useGetDirectionProperties.cjs +18 -0
- package/dist/Stack/hooks/useGetDirectionProperties.js +17 -0
- package/dist/Stack/hooks/useGetGapProperties.cjs +15 -0
- package/dist/Stack/hooks/useGetGapProperties.js +14 -0
- package/dist/Stack/hooks/useGetJustifyProperties.cjs +20 -0
- package/dist/Stack/hooks/useGetJustifyProperties.js +19 -0
- package/dist/Stack/hooks/useGetStyleProperties.cjs +37 -0
- package/dist/Stack/hooks/useGetStyleProperties.js +37 -0
- package/dist/Stack/hooks/useGetWrapProperties.cjs +12 -0
- package/dist/Stack/hooks/useGetWrapProperties.js +11 -0
- package/dist/Stack/index.cjs +3 -0
- package/dist/Stack/index.d.cts +3 -0
- package/dist/Stack/index.d.ts +3 -0
- package/dist/Stack/index.js +3 -0
- package/dist/Stack/types/index.d.cts +64 -0
- package/dist/Stack/types/index.d.ts +64 -0
- package/dist/Stack/utils/constants.cjs +41 -0
- package/dist/Stack/utils/constants.js +40 -0
- package/dist/TextField/TextField.cjs +57 -0
- package/dist/TextField/TextField.d.cts +24 -0
- package/dist/TextField/TextField.d.ts +24 -0
- package/dist/TextField/TextField.js +55 -0
- package/dist/TextField/components/Input.cjs +31 -0
- package/dist/TextField/components/Input.js +29 -0
- package/dist/TextField/components/Layout.cjs +22 -0
- package/dist/TextField/components/Layout.js +20 -0
- package/dist/TextField/components/SendIcon.cjs +26 -0
- package/dist/TextField/components/SendIcon.js +24 -0
- package/dist/TextField/components/index.cjs +13 -0
- package/dist/TextField/components/index.js +13 -0
- package/dist/TextField/hooks/useGetContainerProperties.cjs +51 -0
- package/dist/TextField/hooks/useGetContainerProperties.js +50 -0
- package/dist/TextField/hooks/useGetSkeletonProperties.cjs +13 -0
- package/dist/TextField/hooks/useGetSkeletonProperties.js +12 -0
- package/dist/TextField/hooks/useSendIconHandlers.cjs +32 -0
- package/dist/TextField/hooks/useSendIconHandlers.js +31 -0
- package/dist/TextField/hooks/useTextFieldFocus.cjs +22 -0
- package/dist/TextField/hooks/useTextFieldFocus.js +21 -0
- package/dist/TextField/hooks/useTextFieldSubmit.cjs +40 -0
- package/dist/TextField/hooks/useTextFieldSubmit.js +39 -0
- package/dist/TextField/hooks/useTextFieldValue.cjs +28 -0
- package/dist/TextField/hooks/useTextFieldValue.js +27 -0
- package/dist/TextField/index.cjs +3 -0
- package/dist/TextField/index.d.cts +3 -0
- package/dist/TextField/index.d.ts +3 -0
- package/dist/TextField/index.js +3 -0
- package/dist/TextField/types/index.d.cts +48 -0
- package/dist/TextField/types/index.d.ts +48 -0
- package/dist/TextField/utils/createInputChangeHandler.cjs +14 -0
- package/dist/TextField/utils/createInputChangeHandler.js +13 -0
- package/dist/TextField/utils/getIconColor.cjs +12 -0
- package/dist/TextField/utils/getIconColor.js +11 -0
- package/dist/TextField/utils/getInputClasses.cjs +17 -0
- package/dist/TextField/utils/getInputClasses.js +17 -0
- package/dist/TextField/utils/getLayoutStateProperties.cjs +15 -0
- package/dist/TextField/utils/getLayoutStateProperties.js +14 -0
- package/dist/TextField/utils/getSendIconElement.cjs +42 -0
- package/dist/TextField/utils/getSendIconElement.js +41 -0
- package/dist/Title/Title.cjs +32 -0
- package/dist/Title/Title.d.cts +19 -0
- package/dist/Title/Title.d.ts +19 -0
- package/dist/Title/Title.js +30 -0
- package/dist/Title/components/Image.cjs +38 -0
- package/dist/Title/components/Image.js +37 -0
- package/dist/Title/components/Label.cjs +19 -0
- package/dist/Title/components/Label.js +18 -0
- package/dist/Title/components/Layout.cjs +27 -0
- package/dist/Title/components/Layout.js +25 -0
- package/dist/Title/components/index.cjs +13 -0
- package/dist/Title/components/index.js +13 -0
- package/dist/Title/index.cjs +3 -0
- package/dist/Title/index.d.cts +3 -0
- package/dist/Title/index.d.ts +3 -0
- package/dist/Title/index.js +3 -0
- package/dist/Title/types/index.d.cts +40 -0
- package/dist/Title/types/index.d.ts +40 -0
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +48 -0
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +20 -0
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +20 -0
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +46 -0
- package/dist/TitledPromptCarousel/index.cjs +3 -0
- package/dist/TitledPromptCarousel/index.d.cts +3 -0
- package/dist/TitledPromptCarousel/index.d.ts +3 -0
- package/dist/TitledPromptCarousel/index.js +3 -0
- package/dist/TitledPromptCarousel/types/index.d.cts +71 -0
- package/dist/TitledPromptCarousel/types/index.d.ts +71 -0
- package/dist/Tokens/index.cjs +30 -0
- package/dist/Tokens/index.d.cts +14 -0
- package/dist/Tokens/index.d.ts +14 -0
- package/dist/Tokens/index.js +15 -0
- package/dist/TypingAnimation/TypingAnimation.cjs +94 -0
- package/dist/TypingAnimation/TypingAnimation.d.cts +12 -0
- package/dist/TypingAnimation/TypingAnimation.d.ts +12 -0
- package/dist/TypingAnimation/TypingAnimation.js +93 -0
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +12 -0
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +12 -0
- package/dist/TypingAnimation/index.cjs +3 -0
- package/dist/TypingAnimation/index.d.cts +3 -0
- package/dist/TypingAnimation/index.d.ts +3 -0
- package/dist/TypingAnimation/index.js +3 -0
- package/dist/TypingAnimation/types/index.d.cts +137 -0
- package/dist/TypingAnimation/types/index.d.ts +137 -0
- package/dist/Typography/Typography.cjs +42 -0
- package/dist/Typography/Typography.d.cts +32 -0
- package/dist/Typography/Typography.d.ts +32 -0
- package/dist/Typography/Typography.js +40 -0
- package/dist/Typography/hooks/useGetAccessibilityAttributes.cjs +30 -0
- package/dist/Typography/hooks/useGetAccessibilityAttributes.js +29 -0
- package/dist/Typography/hooks/useGetAlignProperties.cjs +19 -0
- package/dist/Typography/hooks/useGetAlignProperties.js +18 -0
- package/dist/Typography/hooks/useGetColorProperties.cjs +20 -0
- package/dist/Typography/hooks/useGetColorProperties.js +19 -0
- package/dist/Typography/hooks/useGetNoWrapProperties.cjs +12 -0
- package/dist/Typography/hooks/useGetNoWrapProperties.js +11 -0
- package/dist/Typography/hooks/useGetNumberOfLinesProperties.cjs +21 -0
- package/dist/Typography/hooks/useGetNumberOfLinesProperties.js +20 -0
- package/dist/Typography/hooks/useGetVariantProperties.cjs +61 -0
- package/dist/Typography/hooks/useGetVariantProperties.js +60 -0
- package/dist/Typography/index.cjs +7 -0
- package/dist/Typography/index.d.cts +3 -0
- package/dist/Typography/index.d.ts +3 -0
- package/dist/Typography/index.js +4 -0
- package/dist/Typography/types/index.cjs +46 -0
- package/dist/Typography/types/index.d.cts +95 -0
- package/dist/Typography/types/index.d.ts +95 -0
- package/dist/Typography/types/index.js +43 -0
- package/dist/Typography/utils/utils.cjs +11 -0
- package/dist/Typography/utils/utils.js +9 -0
- package/dist/WelcomeMessage/WelcomeMessage.cjs +40 -0
- package/dist/WelcomeMessage/WelcomeMessage.d.cts +21 -0
- package/dist/WelcomeMessage/WelcomeMessage.d.ts +21 -0
- package/dist/WelcomeMessage/WelcomeMessage.js +39 -0
- package/dist/WelcomeMessage/components/Container.cjs +34 -0
- package/dist/WelcomeMessage/components/Container.js +32 -0
- package/dist/WelcomeMessage/components/SparkleIcon.cjs +22 -0
- package/dist/WelcomeMessage/components/SparkleIcon.js +21 -0
- package/dist/WelcomeMessage/components/Text.cjs +19 -0
- package/dist/WelcomeMessage/components/Text.js +18 -0
- package/dist/WelcomeMessage/components/Title.cjs +20 -0
- package/dist/WelcomeMessage/components/Title.js +19 -0
- package/dist/WelcomeMessage/components/index.cjs +15 -0
- package/dist/WelcomeMessage/components/index.js +15 -0
- package/dist/WelcomeMessage/hooks/useGetContainerProperties.cjs +21 -0
- package/dist/WelcomeMessage/hooks/useGetContainerProperties.js +20 -0
- package/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.cjs +30 -0
- package/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.js +29 -0
- package/dist/WelcomeMessage/index.cjs +5 -0
- package/dist/WelcomeMessage/index.d.cts +3 -0
- package/dist/WelcomeMessage/index.d.ts +3 -0
- package/dist/WelcomeMessage/index.js +4 -0
- package/dist/WelcomeMessage/types/types.cjs +13 -0
- package/dist/WelcomeMessage/types/types.d.cts +44 -0
- package/dist/WelcomeMessage/types/types.d.ts +44 -0
- package/dist/WelcomeMessage/types/types.js +13 -0
- package/dist/WidgetTextField/WidgetTextField.cjs +26 -0
- package/dist/WidgetTextField/WidgetTextField.d.cts +18 -0
- package/dist/WidgetTextField/WidgetTextField.d.ts +18 -0
- package/dist/WidgetTextField/WidgetTextField.js +25 -0
- package/dist/WidgetTextField/components/Container.cjs +38 -0
- package/dist/WidgetTextField/components/Container.js +36 -0
- package/dist/WidgetTextField/components/FakeTextInput.cjs +18 -0
- package/dist/WidgetTextField/components/FakeTextInput.js +17 -0
- package/dist/WidgetTextField/components/Icon.cjs +34 -0
- package/dist/WidgetTextField/components/Icon.js +33 -0
- package/dist/WidgetTextField/components/Skeleton.cjs +19 -0
- package/dist/WidgetTextField/components/Skeleton.js +17 -0
- package/dist/WidgetTextField/components/index.cjs +15 -0
- package/dist/WidgetTextField/components/index.js +15 -0
- package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +19 -0
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +18 -0
- package/dist/WidgetTextField/hooks/useHandleKeyboard.cjs +14 -0
- package/dist/WidgetTextField/hooks/useHandleKeyboard.js +13 -0
- package/dist/WidgetTextField/index.cjs +3 -0
- package/dist/WidgetTextField/index.d.cts +3 -0
- package/dist/WidgetTextField/index.d.ts +3 -0
- package/dist/WidgetTextField/index.js +3 -0
- package/dist/WidgetTextField/types/types.d.cts +46 -0
- package/dist/WidgetTextField/types/types.d.ts +46 -0
- package/dist/WidgetWrapper/WidgetWrapper.cjs +28 -0
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +21 -0
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +21 -0
- package/dist/WidgetWrapper/WidgetWrapper.js +26 -0
- package/dist/WidgetWrapper/hooks/useGetWrapperProperties.cjs +19 -0
- package/dist/WidgetWrapper/hooks/useGetWrapperProperties.js +18 -0
- package/dist/WidgetWrapper/index.cjs +5 -0
- package/dist/WidgetWrapper/index.d.cts +3 -0
- package/dist/WidgetWrapper/index.d.ts +3 -0
- package/dist/WidgetWrapper/index.js +4 -0
- package/dist/WidgetWrapper/types/types.cjs +12 -0
- package/dist/WidgetWrapper/types/types.d.cts +34 -0
- package/dist/WidgetWrapper/types/types.d.ts +34 -0
- package/dist/WidgetWrapper/types/types.js +11 -0
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs +41 -0
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +19 -0
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +19 -0
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.js +40 -0
- package/dist/WidgetWrapperWithTitle/index.cjs +3 -0
- package/dist/WidgetWrapperWithTitle/index.d.cts +3 -0
- package/dist/WidgetWrapperWithTitle/index.d.ts +3 -0
- package/dist/WidgetWrapperWithTitle/index.js +3 -0
- package/dist/WidgetWrapperWithTitle/types/types.d.cts +70 -0
- package/dist/WidgetWrapperWithTitle/types/types.d.ts +70 -0
- package/dist/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/components-v3/src/models/colorsConfig.cjs +27 -0
- package/dist/components-v3/src/models/colorsConfig.d.cts +22 -0
- package/dist/components-v3/src/models/colorsConfig.d.ts +22 -0
- package/dist/components-v3/src/models/colorsConfig.js +25 -0
- package/dist/components-v3/tokens/aspectRatio/aspectRatio.cjs +36 -0
- package/dist/components-v3/tokens/aspectRatio/aspectRatio.d.cts +10 -0
- package/dist/components-v3/tokens/aspectRatio/aspectRatio.d.ts +10 -0
- package/dist/components-v3/tokens/aspectRatio/aspectRatio.js +32 -0
- package/dist/components-v3/tokens/breakpoints/breakpoints.cjs +33 -0
- package/dist/components-v3/tokens/breakpoints/breakpoints.d.cts +6 -0
- package/dist/components-v3/tokens/breakpoints/breakpoints.d.ts +6 -0
- package/dist/components-v3/tokens/breakpoints/breakpoints.js +30 -0
- package/dist/components-v3/tokens/colors/colors.cjs +53 -0
- package/dist/components-v3/tokens/colors/colors.d.cts +25 -0
- package/dist/components-v3/tokens/colors/colors.d.ts +25 -0
- package/dist/components-v3/tokens/colors/colors.js +50 -0
- package/dist/components-v3/tokens/montion/motion.cjs +171 -0
- package/dist/components-v3/tokens/montion/motion.d.cts +170 -0
- package/dist/components-v3/tokens/montion/motion.d.ts +170 -0
- package/dist/components-v3/tokens/montion/motion.js +169 -0
- package/dist/components-v3/tokens/radius/radius.cjs +65 -0
- package/dist/components-v3/tokens/radius/radius.d.cts +58 -0
- package/dist/components-v3/tokens/radius/radius.d.ts +58 -0
- package/dist/components-v3/tokens/radius/radius.js +64 -0
- package/dist/components-v3/tokens/spacing/spacing.cjs +40 -0
- package/dist/components-v3/tokens/spacing/spacing.d.cts +38 -0
- package/dist/components-v3/tokens/spacing/spacing.d.ts +38 -0
- package/dist/components-v3/tokens/spacing/spacing.js +39 -0
- package/dist/components-v3/tokens/theme/theme.cjs +17 -0
- package/dist/components-v3/tokens/theme/theme.d.cts +10 -0
- package/dist/components-v3/tokens/theme/theme.d.ts +10 -0
- package/dist/components-v3/tokens/theme/theme.js +15 -0
- package/dist/components-v3/tokens/typography/fontFamily.cjs +30 -0
- package/dist/components-v3/tokens/typography/fontFamily.d.cts +14 -0
- package/dist/components-v3/tokens/typography/fontFamily.d.ts +14 -0
- package/dist/components-v3/tokens/typography/fontFamily.js +28 -0
- package/dist/components-v3/tokens/typography/fontSize.cjs +54 -0
- package/dist/components-v3/tokens/typography/fontSize.d.cts +20 -0
- package/dist/components-v3/tokens/typography/fontSize.d.ts +20 -0
- package/dist/components-v3/tokens/typography/fontSize.js +52 -0
- package/dist/components-v3/tokens/typography/fontWeight.cjs +24 -0
- package/dist/components-v3/tokens/typography/fontWeight.d.cts +10 -0
- package/dist/components-v3/tokens/typography/fontWeight.d.ts +10 -0
- package/dist/components-v3/tokens/typography/fontWeight.js +22 -0
- package/dist/components-v3/tokens/typography/letterSpacing.cjs +21 -0
- package/dist/components-v3/tokens/typography/letterSpacing.d.cts +9 -0
- package/dist/components-v3/tokens/typography/letterSpacing.d.ts +9 -0
- package/dist/components-v3/tokens/typography/letterSpacing.js +19 -0
- package/dist/components-v3/tokens/typography/lineHeight.cjs +53 -0
- package/dist/components-v3/tokens/typography/lineHeight.d.cts +17 -0
- package/dist/components-v3/tokens/typography/lineHeight.d.ts +17 -0
- package/dist/components-v3/tokens/typography/lineHeight.js +49 -0
- package/dist/components-v3/tokens/typography/typography.cjs +161 -0
- package/dist/components-v3/tokens/typography/typography.d.cts +10 -0
- package/dist/components-v3/tokens/typography/typography.d.ts +10 -0
- package/dist/components-v3/tokens/typography/typography.js +161 -0
- package/dist/components-v3/tokens/utils.cjs +6 -0
- package/dist/components-v3/tokens/utils.js +5 -0
- package/dist/hooks/dist/application/models/api/response.d.cts +63 -0
- package/dist/hooks/dist/application/models/api/response.d.ts +63 -0
- package/dist/hooks/dist/application/models/api/responseGenerics.d.cts +41 -0
- package/dist/hooks/dist/application/models/api/responseGenerics.d.ts +41 -0
- package/dist/hooks/dist/application/models/api/suggestion.d.cts +10 -0
- package/dist/hooks/dist/application/models/api/suggestion.d.ts +10 -0
- package/dist/hooks/dist/application/models/api/userEvent.d.cts +60 -0
- package/dist/hooks/dist/application/models/api/userEvent.d.ts +60 -0
- package/dist/hooks/dist/application/models/message.d.cts +108 -0
- package/dist/hooks/dist/application/models/message.d.ts +108 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.cts +71 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCase.d.ts +71 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +58 -0
- package/dist/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +58 -0
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.cts +22 -0
- package/dist/hooks/dist/application/models/utilityTypes/internal.d.ts +22 -0
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.cts +31 -0
- package/dist/hooks/dist/application/models/utilityTypes/splitWords.d.ts +31 -0
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.cts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/trim.d.ts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +30 -0
- package/dist/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +30 -0
- package/dist/hooks/dist/contexts/salesAgentContext/chatAPI.d.cts +23 -0
- package/dist/hooks/dist/contexts/salesAgentContext/chatAPI.d.ts +23 -0
- package/dist/hooks/dist/contexts/salesAgentContext/index.d.ts +3 -0
- package/dist/hooks/dist/contexts/salesAgentContext/salesAgentContext.d.cts +18 -0
- package/dist/hooks/dist/contexts/salesAgentContext/salesAgentContext.d.ts +18 -0
- package/dist/hooks/dist/contexts/typesV3.d.cts +81 -0
- package/dist/hooks/dist/contexts/typesV3.d.ts +81 -0
- package/dist/icons/dist/ArrowUp.cjs +28 -0
- package/dist/icons/dist/ArrowUp.js +28 -0
- package/dist/icons/dist/Checkmark.cjs +31 -0
- package/dist/icons/dist/Checkmark.js +31 -0
- package/dist/icons/dist/ChevronDown.cjs +23 -0
- package/dist/icons/dist/ChevronDown.js +23 -0
- package/dist/icons/dist/Document.cjs +18 -0
- package/dist/icons/dist/Document.js +18 -0
- package/dist/icons/dist/EnviveWatermark.cjs +39 -0
- package/dist/icons/dist/EnviveWatermark.js +39 -0
- package/dist/icons/dist/FourPointStar.cjs +22 -0
- package/dist/icons/dist/FourPointStar.js +22 -0
- package/dist/icons/dist/IconCloseRounded.cjs +21 -0
- package/dist/icons/dist/IconCloseRounded.js +21 -0
- package/dist/icons/dist/IconCloseSharp.cjs +30 -0
- package/dist/icons/dist/IconCloseSharp.js +30 -0
- package/dist/icons/dist/IconCloseTransparent.cjs +23 -0
- package/dist/icons/dist/IconCloseTransparent.js +23 -0
- package/dist/icons/dist/LatencyIconEmptyStep.cjs +17 -0
- package/dist/icons/dist/LatencyIconEmptyStep.js +17 -0
- package/dist/icons/dist/LatencyIconStep1.cjs +43 -0
- package/dist/icons/dist/LatencyIconStep1.js +43 -0
- package/dist/icons/dist/LatencyIconStep2.cjs +32 -0
- package/dist/icons/dist/LatencyIconStep2.js +32 -0
- package/dist/icons/dist/LatencyIconStep3.cjs +25 -0
- package/dist/icons/dist/LatencyIconStep3.js +25 -0
- package/dist/icons/dist/LatencyIconStep4.cjs +25 -0
- package/dist/icons/dist/LatencyIconStep4.js +25 -0
- package/dist/icons/dist/LatencyIconStep5.cjs +32 -0
- package/dist/icons/dist/LatencyIconStep5.js +32 -0
- package/dist/icons/dist/Send.cjs +21 -0
- package/dist/icons/dist/Send.js +21 -0
- package/dist/icons/dist/SendMinimalist.cjs +34 -0
- package/dist/icons/dist/SendMinimalist.js +34 -0
- package/dist/icons/dist/SendModern.cjs +43 -0
- package/dist/icons/dist/SendModern.js +43 -0
- package/dist/icons/dist/SendStandard.cjs +21 -0
- package/dist/icons/dist/SendStandard.js +21 -0
- package/dist/icons/dist/Sparkles.cjs +43 -0
- package/dist/icons/dist/Sparkles.js +43 -0
- package/dist/icons/dist/Star.cjs +23 -0
- package/dist/icons/dist/Star.js +23 -0
- package/dist/icons/dist/VectorUpRight.cjs +17 -0
- package/dist/icons/dist/VectorUpRight.js +17 -0
- package/dist/icons/dist/_virtual/rolldown_runtime.cjs +27 -0
- package/dist/icons/dist/_virtual/rolldown_runtime.js +25 -0
- package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +696 -0
- package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +696 -0
- package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +43 -0
- package/dist/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +43 -0
- package/dist/icons/dist/node_modules/react/cjs/react.development.cjs +1528 -0
- package/dist/icons/dist/node_modules/react/cjs/react.development.js +1528 -0
- package/dist/icons/dist/node_modules/react/cjs/react.production.min.cjs +329 -0
- package/dist/icons/dist/node_modules/react/cjs/react.production.min.js +329 -0
- package/dist/icons/dist/node_modules/react/index.cjs +13 -0
- package/dist/icons/dist/node_modules/react/index.js +13 -0
- package/dist/icons/dist/node_modules/react/jsx-runtime.cjs +13 -0
- package/dist/icons/dist/node_modules/react/jsx-runtime.js +13 -0
- package/dist/styles.css +1 -0
- package/dist/utils/CustomIcon.cjs +21 -0
- package/dist/utils/CustomIcon.js +20 -0
- package/dist/utils/resolveTheme.cjs +12 -0
- package/dist/utils/resolveTheme.js +12 -0
- package/dist/utils/useCheckIsMobile.cjs +26 -0
- package/dist/utils/useCheckIsMobile.js +25 -0
- package/dist/utils/useGetContentSize.cjs +41 -0
- package/dist/utils/useGetContentSize.js +40 -0
- package/dist/utils/useHorizontalWheelScroll.cjs +29 -0
- package/dist/utils/useHorizontalWheelScroll.js +28 -0
- package/dist/utils/useResponsiveValue.cjs +56 -0
- package/dist/utils/useResponsiveValue.d.cts +6 -0
- package/dist/utils/useResponsiveValue.d.ts +6 -0
- package/dist/utils/useResponsiveValue.js +55 -0
- package/package.json +254 -0
- package/src/components/AnimatedText/AnimatedText.tsx +62 -0
- package/src/components/AnimatedText/__tests__/AnimatedText.test.tsx +226 -0
- package/src/components/AnimatedText/index.ts +1 -0
- package/src/components/AnimatedText/types/types.ts +11 -0
- package/src/components/CSSVariablesEditor/CssVariablesEditorComponent.tsx +16 -0
- package/src/components/CSSVariablesEditor/components/CSSVariablesEditor.tsx +158 -0
- package/src/components/CSSVariablesEditor/components/Container.tsx +11 -0
- package/src/components/CSSVariablesEditor/components/Header.tsx +7 -0
- package/src/components/CSSVariablesEditor/components/Purpose.tsx +14 -0
- package/src/components/CSSVariablesEditor/components/index.ts +11 -0
- package/src/components/CSSVariablesEditor/hooks/useGetCssVariablesOptions.ts +77 -0
- package/src/components/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.ts +224 -0
- package/src/components/CSSVariablesEditor/hooks/useGetDefaultCssVariables.ts +467 -0
- package/src/components/CSSVariablesEditor/hooks/useHandleCssVariablesState.ts +47 -0
- package/src/components/CSSVariablesEditor/hooks/useHandleUpdateCssVars.ts +107 -0
- package/src/components/CSSVariablesEditor/index.ts +1 -0
- package/src/components/CSSVariablesEditor/types/types.ts +18 -0
- package/src/components/CSSVariablesEditor/utils/functions.ts +94 -0
- package/src/components/Carousel/Carousel.tsx +42 -0
- package/src/components/Carousel/__tests__/Carousel.test.tsx +243 -0
- package/src/components/Carousel/__tests__/hooks/useCarouselButtons.test.tsx +184 -0
- package/src/components/Carousel/__tests__/hooks/useCarouselItems.test.tsx +98 -0
- package/src/components/Carousel/__tests__/hooks/useCarouselNavigation.test.ts +297 -0
- package/src/components/Carousel/__tests__/hooks/useCarouselNavigationButtons.test.ts +202 -0
- package/src/components/Carousel/components/ArrowIcon.tsx +22 -0
- package/src/components/Carousel/components/Badge.tsx +31 -0
- package/src/components/Carousel/components/Container.tsx +95 -0
- package/src/components/Carousel/components/Item.tsx +9 -0
- package/src/components/Carousel/components/Next.tsx +18 -0
- package/src/components/Carousel/components/Previous.tsx +18 -0
- package/src/components/Carousel/components/index.ts +13 -0
- package/src/components/Carousel/hooks/useCarouselButtons.ts +34 -0
- package/src/components/Carousel/hooks/useCarouselItems.ts +14 -0
- package/src/components/Carousel/hooks/useCarouselNavigation.ts +130 -0
- package/src/components/Carousel/hooks/useCarouselNavigationButtons.ts +46 -0
- package/src/components/Carousel/hooks/useGetBadgeProperties.ts +21 -0
- package/src/components/Carousel/index.ts +2 -0
- package/src/components/Carousel/types/types.ts +46 -0
- package/src/components/ChatFooter/ChatFooter.tsx +60 -0
- package/src/components/ChatFooter/__tests__/ChatFooter.test.tsx +311 -0
- package/src/components/ChatFooter/components/EnviveLogo.tsx +23 -0
- package/src/components/ChatFooter/components/Layout.tsx +81 -0
- package/src/components/ChatFooter/components/PromptSuggestions.tsx +32 -0
- package/src/components/ChatFooter/components/TextField.tsx +49 -0
- package/src/components/ChatFooter/components/index.ts +11 -0
- package/src/components/ChatFooter/hooks/useGetButtonScrollProperties.ts +14 -0
- package/src/components/ChatFooter/hooks/useGetChatScrollProperties.ts +22 -0
- package/src/components/ChatFooter/hooks/useGetContainerProperties.ts +26 -0
- package/src/components/ChatFooter/index.ts +2 -0
- package/src/components/ChatFooter/types/types.ts +70 -0
- package/src/components/ChatHeader/ChatHeader.tsx +71 -0
- package/src/components/ChatHeader/__tests__/ChatHeader.test.tsx +487 -0
- package/src/components/ChatHeader/components/CloseButton.tsx +32 -0
- package/src/components/ChatHeader/components/Handle.tsx +16 -0
- package/src/components/ChatHeader/components/Layout.tsx +21 -0
- package/src/components/ChatHeader/components/Logo.tsx +18 -0
- package/src/components/ChatHeader/components/Toggle.tsx +51 -0
- package/src/components/ChatHeader/components/ToggleItem.tsx +51 -0
- package/src/components/ChatHeader/components/index.ts +15 -0
- package/src/components/ChatHeader/hooks/useGetCloseButtonProperties.ts +30 -0
- package/src/components/ChatHeader/hooks/useGetHandleProperties.ts +86 -0
- package/src/components/ChatHeader/hooks/useGetLayoutProperties.ts +40 -0
- package/src/components/ChatHeader/hooks/useGetLogoProperties.ts +8 -0
- package/src/components/ChatHeader/hooks/useGetToggleOptionProperties.ts +97 -0
- package/src/components/ChatHeader/hooks/useGetToggleProperties.ts +21 -0
- package/src/components/ChatHeader/hooks/useHeaderLogoSelector.ts +9 -0
- package/src/components/ChatHeader/hooks/useToggleLogoSelector.ts +18 -0
- package/src/components/ChatHeader/index.ts +2 -0
- package/src/components/ChatHeader/types/index.ts +75 -0
- package/src/components/ChatPreview/ChatPreview.tsx +73 -0
- package/src/components/ChatPreview/__tests__/ChatPreview.test.tsx +382 -0
- package/src/components/ChatPreview/components/Layout.tsx +27 -0
- package/src/components/ChatPreview/components/Message.tsx +17 -0
- package/src/components/ChatPreview/components/index.ts +7 -0
- package/src/components/ChatPreview/index.ts +2 -0
- package/src/components/ChatPreview/types/types.ts +164 -0
- package/src/components/ChatPreviewComparison/ChatPreviewComparison.tsx +97 -0
- package/src/components/ChatPreviewComparison/__tests__/ChatPreviewComparison.test.tsx +400 -0
- package/src/components/ChatPreviewComparison/components/Headline.tsx +24 -0
- package/src/components/ChatPreviewComparison/components/Layout.tsx +165 -0
- package/src/components/ChatPreviewComparison/components/Message.tsx +28 -0
- package/src/components/ChatPreviewComparison/components/index.ts +9 -0
- package/src/components/ChatPreviewComparison/index.ts +2 -0
- package/src/components/ChatPreviewComparison/types/types.ts +170 -0
- package/src/components/ChatPreviewLoading/ChatPreviewLoading.tsx +85 -0
- package/src/components/ChatPreviewLoading/__tests__/ChatPreviewLoading.test.tsx +333 -0
- package/src/components/ChatPreviewLoading/components/LayoutLoading.tsx +21 -0
- package/src/components/ChatPreviewLoading/components/Skeleton.tsx +15 -0
- package/src/components/ChatPreviewLoading/components/index.ts +9 -0
- package/src/components/ChatPreviewLoading/index.ts +2 -0
- package/src/components/ChatPreviewLoading/types/types.ts +83 -0
- package/src/components/Container/Container.tsx +37 -0
- package/src/components/Container/__tests__/Container.test.tsx +83 -0
- package/src/components/Container/hooks/useGetCenterContentProperties.ts +14 -0
- package/src/components/Container/hooks/useGetFluidProperties.ts +14 -0
- package/src/components/Container/index.ts +2 -0
- package/src/components/Container/types/index.ts +44 -0
- package/src/components/DesignTokens/DesignTokensComponent.tsx +38 -0
- package/src/components/DesignTokens/components/BorderRadius.tsx +31 -0
- package/src/components/DesignTokens/components/Breakpoints.tsx +39 -0
- package/src/components/DesignTokens/components/Container.tsx +11 -0
- package/src/components/DesignTokens/components/FontFamily.tsx +51 -0
- package/src/components/DesignTokens/components/FontSize.tsx +56 -0
- package/src/components/DesignTokens/components/FontWeight.tsx +48 -0
- package/src/components/DesignTokens/components/Header.tsx +7 -0
- package/src/components/DesignTokens/components/LetterSpacing.tsx +45 -0
- package/src/components/DesignTokens/components/LineHeight.tsx +46 -0
- package/src/components/DesignTokens/components/PaletteColors.tsx +145 -0
- package/src/components/DesignTokens/components/Purpose.tsx +13 -0
- package/src/components/DesignTokens/components/Spacing.tsx +41 -0
- package/src/components/DesignTokens/components/Typography.tsx +128 -0
- package/src/components/DesignTokens/components/index.ts +29 -0
- package/src/components/DesignTokens/components/utils.ts +20 -0
- package/src/components/DesignTokens/hooks/useGetDesignTokensFromTailwindConfig.ts +45 -0
- package/src/components/DesignTokens/index.ts +2 -0
- package/src/components/DocumentRetrievalCard/DocumentRetrievalCard.tsx +61 -0
- package/src/components/DocumentRetrievalCard/__tests__/DocumentRetrievalCard.test.tsx +312 -0
- package/src/components/DocumentRetrievalCard/components/Content.tsx +56 -0
- package/src/components/DocumentRetrievalCard/components/Image.tsx +19 -0
- package/src/components/DocumentRetrievalCard/components/Layout.tsx +90 -0
- package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.tsx +29 -0
- package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Label.tsx +38 -0
- package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.tsx +36 -0
- package/src/components/DocumentRetrievalCard/components/ViewArticleButton/components/index.ts +9 -0
- package/src/components/DocumentRetrievalCard/components/ViewArticleButton.tsx +67 -0
- package/src/components/DocumentRetrievalCard/components/index.ts +11 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetBackgroundColorsProperties.ts +16 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetBorderProperties.ts +19 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetBorderRadiusProperties.ts +13 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetCardWidthProperties.ts +5 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetIconBackgroundProperties.ts +14 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetIconColorProperties.ts +14 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetLabelTextCaseProperties.ts +7 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetLabelTypographyProperties.ts +14 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetLabelUnderlineProperties.ts +12 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetPaddingProperties.ts +6 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetStackLayoutProperties.ts +14 -0
- package/src/components/DocumentRetrievalCard/hooks/useGetThemeProperties.ts +37 -0
- package/src/components/DocumentRetrievalCard/index.ts +4 -0
- package/src/components/DocumentRetrievalCard/types/index.ts +70 -0
- package/src/components/DocumentRetrievalCard/utils/functions.ts +25 -0
- package/src/components/FloatingButton/FloatingButton.tsx +55 -0
- package/src/components/FloatingButton/components/Button.tsx +62 -0
- package/src/components/FloatingButton/components/Container.tsx +60 -0
- package/src/components/FloatingButton/components/Icon.tsx +43 -0
- package/src/components/FloatingButton/components/Wrapper.tsx +42 -0
- package/src/components/FloatingButton/components/index.ts +11 -0
- package/src/components/FloatingButton/hooks/index.ts +6 -0
- package/src/components/FloatingButton/hooks/useGetButtonHoverProperties.ts +31 -0
- package/src/components/FloatingButton/hooks/useGetButtonProperties.ts +45 -0
- package/src/components/FloatingButton/hooks/useGetContainerProperties.ts +71 -0
- package/src/components/FloatingButton/hooks/useGetFloatingButtonStyles.ts +41 -0
- package/src/components/FloatingButton/hooks/useGetIconProperties.ts +30 -0
- package/src/components/FloatingButton/hooks/useGetWrapperProperties.ts +37 -0
- package/src/components/FloatingButton/index.ts +8 -0
- package/src/components/FloatingButton/types/types.ts +117 -0
- package/src/components/FloatingChat/FloatingChat.tsx +218 -0
- package/src/components/FloatingChat/components/AgentMessage.tsx +138 -0
- package/src/components/FloatingChat/components/ChatMessages.tsx +133 -0
- package/src/components/FloatingChat/components/DocumentRetrievalCardsCarousel.tsx +38 -0
- package/src/components/FloatingChat/components/Layout.tsx +87 -0
- package/src/components/FloatingChat/components/MessageDivider.tsx +28 -0
- package/src/components/FloatingChat/components/OrderLookupCardCarousel.tsx +39 -0
- package/src/components/FloatingChat/components/ReviewCardsCarousel.tsx +38 -0
- package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +59 -0
- package/src/components/FloatingChat/components/ScrollToBottomButton.tsx +37 -0
- package/src/components/FloatingChat/components/UserMessage.tsx +56 -0
- package/src/components/FloatingChat/components/index.ts +23 -0
- package/src/components/FloatingChat/hooks/useScrollToBottom.ts +76 -0
- package/src/components/FloatingChat/index.ts +3 -0
- package/src/components/FloatingChat/types/types.ts +60 -0
- package/src/components/FloatingChat/utils/functions.ts +119 -0
- package/src/components/Form/Form.tsx +71 -0
- package/src/components/Form/__tests__/Form.test.tsx +121 -0
- package/src/components/Form/components/Layout.tsx +50 -0
- package/src/components/Form/components/SubmitButtonItem.tsx +52 -0
- package/src/components/Form/components/TextFieldItem.tsx +94 -0
- package/src/components/Form/components/index.ts +9 -0
- package/src/components/Form/hooks/useFormsTextFieldValues.ts +34 -0
- package/src/components/Form/hooks/useGetButtonProperties.ts +26 -0
- package/src/components/Form/hooks/useGetTextFieldProperties.ts +51 -0
- package/src/components/Form/index.ts +2 -0
- package/src/components/Form/types/index.ts +72 -0
- package/src/components/Form/utils/buildSubmitButtonElement.ts +14 -0
- package/src/components/Form/utils/buildTextFieldsSubmitPayload.ts +17 -0
- package/src/components/Form/utils/createFormSchema.ts +63 -0
- package/src/components/Form/utils/handleFormsSubmit.ts +27 -0
- package/src/components/Form/utils/mapTextFields.ts +25 -0
- package/src/components/Form/utils/validateTextFieldsForSubmit.ts +48 -0
- package/src/components/Image/Image.tsx +98 -0
- package/src/components/Image/__tests__/Image.test.tsx +571 -0
- package/src/components/Image/hooks/useGetAccessibilityProperties.ts +43 -0
- package/src/components/Image/hooks/useGetAspectRatioProperties.ts +20 -0
- package/src/components/Image/hooks/useGetObjectFitProperties.ts +21 -0
- package/src/components/Image/hooks/useGetRoundedProperties.ts +10 -0
- package/src/components/Image/hooks/useGetSkeletonProperties.ts +12 -0
- package/src/components/Image/hooks/useGetWidthProperties.ts +23 -0
- package/src/components/Image/hooks/useHandleImageLoading.ts +37 -0
- package/src/components/Image/index.ts +3 -0
- package/src/components/Image/types/index.ts +132 -0
- package/src/components/ImageGallery/ImageGallery.tsx +74 -0
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +436 -0
- package/src/components/ImageGallery/components/ImageItem.tsx +6 -0
- package/src/components/ImageGallery/components/Layout.tsx +80 -0
- package/src/components/ImageGallery/components/NormalLayout.tsx +11 -0
- package/src/components/ImageGallery/components/OverlappedLayout.tsx +17 -0
- package/src/components/ImageGallery/components/index.ts +11 -0
- package/src/components/ImageGallery/hooks/useGetContainerProperties.ts +30 -0
- package/src/components/ImageGallery/hooks/useValidateImages.ts +29 -0
- package/src/components/ImageGallery/index.ts +3 -0
- package/src/components/ImageGallery/types/types.ts +130 -0
- package/src/components/ImageGallery/utils/functions.ts +26 -0
- package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +43 -0
- package/src/components/MarkdownProcessor/__tests__/MarkdownProcessor.test.tsx +194 -0
- package/src/components/MarkdownProcessor/components/MarkdownLink.tsx +13 -0
- package/src/components/MarkdownProcessor/components/MarkdownListItem.tsx +18 -0
- package/src/components/MarkdownProcessor/components/MarkdownOrderedList.tsx +7 -0
- package/src/components/MarkdownProcessor/components/MarkdownParagraph.tsx +25 -0
- package/src/components/MarkdownProcessor/components/MarkdownSubscript.tsx +22 -0
- package/src/components/MarkdownProcessor/components/MarkdownUnorderedList.tsx +7 -0
- package/src/components/MarkdownProcessor/components/index.ts +15 -0
- package/src/components/MarkdownProcessor/index.ts +5 -0
- package/src/components/MarkdownProcessor/types/types.ts +40 -0
- package/src/components/MarkdownProcessor/utils/functions.tsx +43 -0
- package/src/components/Message/Message.tsx +55 -0
- package/src/components/Message/__tests__/Message.test.tsx +357 -0
- package/src/components/Message/components/AgentContent.tsx +21 -0
- package/src/components/Message/components/AgentHeader.tsx +34 -0
- package/src/components/Message/components/Layout.tsx +54 -0
- package/src/components/Message/components/LinkButton.tsx +55 -0
- package/src/components/Message/components/LoadingSkeleton.tsx +19 -0
- package/src/components/Message/components/SparkleIcon.tsx +23 -0
- package/src/components/Message/components/UserContent.tsx +19 -0
- package/src/components/Message/components/index.ts +17 -0
- package/src/components/Message/hooks/useGetLinkButtonIconProperties.ts +20 -0
- package/src/components/Message/hooks/useGetLinkButtonProperties.ts +18 -0
- package/src/components/Message/hooks/useLatencyAnimation.ts +57 -0
- package/src/components/Message/hooks/useVariantStyleProperties.ts +42 -0
- package/src/components/Message/index.ts +4 -0
- package/src/components/Message/types/index.ts +87 -0
- package/src/components/Message/utils/openUrlInNewTab.ts +14 -0
- package/src/components/Message/utils/validateMessageProps.ts +29 -0
- package/src/components/OrderLookupCard/OrderLookupCard.tsx +104 -0
- package/src/components/OrderLookupCard/__tests__/OrderLookupCard.test.tsx +363 -0
- package/src/components/OrderLookupCard/components/Layout.tsx +42 -0
- package/src/components/OrderLookupCard/components/MoreProductsOverlay.tsx +67 -0
- package/src/components/OrderLookupCard/components/OrderDate.tsx +24 -0
- package/src/components/OrderLookupCard/components/OrderNumber.tsx +31 -0
- package/src/components/OrderLookupCard/components/ProductImageGridItem.tsx +46 -0
- package/src/components/OrderLookupCard/components/ProductImageItem.tsx +73 -0
- package/src/components/OrderLookupCard/components/ProductImagesGrid.tsx +59 -0
- package/src/components/OrderLookupCard/components/StatusLabel.tsx +53 -0
- package/src/components/OrderLookupCard/components/TrackOrderLink.tsx +56 -0
- package/src/components/OrderLookupCard/components/index.ts +19 -0
- package/src/components/OrderLookupCard/hooks/useGetContainerProperties.ts +32 -0
- package/src/components/OrderLookupCard/hooks/useGetImageBorderRadiusProperties.ts +14 -0
- package/src/components/OrderLookupCard/hooks/useGetImageGridPositionProperties.ts +49 -0
- package/src/components/OrderLookupCard/hooks/useGetMoreProductsOverlayProperties.ts +13 -0
- package/src/components/OrderLookupCard/hooks/useGetProductImagesGridProperties.ts +11 -0
- package/src/components/OrderLookupCard/hooks/useGetStatusLabelProperties.ts +38 -0
- package/src/components/OrderLookupCard/hooks/useGetTrackOrderLinkProperties.ts +15 -0
- package/src/components/OrderLookupCard/index.ts +2 -0
- package/src/components/OrderLookupCard/types/index.ts +98 -0
- package/src/components/OrderLookupCard/utils/calculateMoreProductsCount.ts +10 -0
- package/src/components/OrderLookupCard/utils/formatOrderDate.ts +28 -0
- package/src/components/OrderLookupCard/utils/formatOrderNumber.ts +10 -0
- package/src/components/OrderLookupCard/utils/getProductImagesToDisplay.ts +9 -0
- package/src/components/OrderLookupCard/utils/handleTrackOrderNavigation.ts +14 -0
- package/src/components/PromptButton/PromptButton.tsx +82 -0
- package/src/components/PromptButton/__tests__/PromptButton.test.tsx +358 -0
- package/src/components/PromptButton/components/Icon.tsx +15 -0
- package/src/components/PromptButton/components/Label.tsx +27 -0
- package/src/components/PromptButton/components/Layout.tsx +75 -0
- package/src/components/PromptButton/components/Loading.tsx +16 -0
- package/src/components/PromptButton/components/index.ts +11 -0
- package/src/components/PromptButton/hooks/useGetBackgroundColorsProperties.ts +17 -0
- package/src/components/PromptButton/hooks/useGetBoldTextProperties.ts +9 -0
- package/src/components/PromptButton/hooks/useGetBorderColorsProperties.ts +21 -0
- package/src/components/PromptButton/hooks/useGetIconColorsProperties.ts +43 -0
- package/src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts +32 -0
- package/src/components/PromptButton/hooks/useGetTextColorsProperties.ts +17 -0
- package/src/components/PromptButton/hooks/useGetVariantColorsProperties.ts +36 -0
- package/src/components/PromptButton/index.ts +3 -0
- package/src/components/PromptButton/types/index.ts +98 -0
- package/src/components/PromptButton/utils/functions.ts +5 -0
- package/src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.tsx +68 -0
- package/src/components/PromptButtonCarouselWithImage/__tests__/PromptButtonCarouselWithImage.test.tsx +415 -0
- package/src/components/PromptButtonCarouselWithImage/components/Image.tsx +20 -0
- package/src/components/PromptButtonCarouselWithImage/components/Layout.tsx +93 -0
- package/src/components/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.tsx +46 -0
- package/src/components/PromptButtonCarouselWithImage/components/Skeleton.tsx +15 -0
- package/src/components/PromptButtonCarouselWithImage/components/Title.tsx +23 -0
- package/src/components/PromptButtonCarouselWithImage/components/index.ts +15 -0
- package/src/components/PromptButtonCarouselWithImage/index.ts +5 -0
- package/src/components/PromptButtonCarouselWithImage/types/types.ts +72 -0
- package/src/components/PromptCarousel/PromptCarousel.tsx +128 -0
- package/src/components/PromptCarousel/__tests__/PromptCarousel.test.tsx +617 -0
- package/src/components/PromptCarousel/components/BlockScrollContainer.tsx +34 -0
- package/src/components/PromptCarousel/components/ButtonContainerRow.tsx +46 -0
- package/src/components/PromptCarousel/components/CarouselContentWithBlockScroll.tsx +83 -0
- package/src/components/PromptCarousel/components/CarouselContentWithRowScroll.tsx +71 -0
- package/src/components/PromptCarousel/components/index.ts +9 -0
- package/src/components/PromptCarousel/hooks/index.ts +5 -0
- package/src/components/PromptCarousel/hooks/useButtonScrollPosition.ts +128 -0
- package/src/components/PromptCarousel/hooks/useCarouselAnimation.ts +47 -0
- package/src/components/PromptCarousel/hooks/useCarouselButtons.ts +35 -0
- package/src/components/PromptCarousel/hooks/useCarouselRefs.ts +26 -0
- package/src/components/PromptCarousel/hooks/useGetScrollProperties.ts +14 -0
- package/src/components/PromptCarousel/hooks/useHorizontalScrollAnimation.ts +103 -0
- package/src/components/PromptCarousel/index.ts +3 -0
- package/src/components/PromptCarousel/types/types.ts +101 -0
- package/src/components/PromptCarousel/utils/functions.ts +19 -0
- package/src/components/ReviewCard/ReviewCard.tsx +77 -0
- package/src/components/ReviewCard/__tests__/ReviewCard.test.tsx +413 -0
- package/src/components/ReviewCard/components/Container.tsx +84 -0
- package/src/components/ReviewCard/components/Name.tsx +44 -0
- package/src/components/ReviewCard/components/Rating.tsx +45 -0
- package/src/components/ReviewCard/components/ReadMoreButton.tsx +62 -0
- package/src/components/ReviewCard/components/ReviewText.tsx +25 -0
- package/src/components/ReviewCard/components/StarIcon.tsx +34 -0
- package/src/components/ReviewCard/components/VerifiedBuyer.tsx +36 -0
- package/src/components/ReviewCard/components/index.ts +15 -0
- package/src/components/ReviewCard/hooks/useGetBackgroundColorsProperties.ts +13 -0
- package/src/components/ReviewCard/hooks/useGetBorderProperties.ts +19 -0
- package/src/components/ReviewCard/hooks/useGetBorderRadiusProperties.ts +13 -0
- package/src/components/ReviewCard/hooks/useGetCardWidthProperties.ts +5 -0
- package/src/components/ReviewCard/hooks/useGetNameProperties.ts +17 -0
- package/src/components/ReviewCard/hooks/useGetPaddingProperties.ts +5 -0
- package/src/components/ReviewCard/hooks/useGetRatingBackgroundProperties.ts +14 -0
- package/src/components/ReviewCard/hooks/useGetRatingProperties.ts +20 -0
- package/src/components/ReviewCard/hooks/useGetReadMoreTypographyProperties.ts +14 -0
- package/src/components/ReviewCard/hooks/useGetReviewTextProperties.ts +26 -0
- package/src/components/ReviewCard/hooks/useGetStarIconProperties.ts +20 -0
- package/src/components/ReviewCard/hooks/useGetThemeProperties.ts +19 -0
- package/src/components/ReviewCard/index.ts +3 -0
- package/src/components/ReviewCard/types/types.ts +62 -0
- package/src/components/SalesAgentProductCard/SalesAgentProductCard.tsx +77 -0
- package/src/components/SalesAgentProductCard/__tests__/SalesAgentProductCard.test.tsx +478 -0
- package/src/components/SalesAgentProductCard/__tests__/functions.test.ts +117 -0
- package/src/components/SalesAgentProductCard/components/Container.tsx +92 -0
- package/src/components/SalesAgentProductCard/components/Price.tsx +42 -0
- package/src/components/SalesAgentProductCard/components/ProductImage.tsx +33 -0
- package/src/components/SalesAgentProductCard/components/ProductName.tsx +36 -0
- package/src/components/SalesAgentProductCard/components/Rate.tsx +39 -0
- package/src/components/SalesAgentProductCard/components/StarIcon.tsx +25 -0
- package/src/components/SalesAgentProductCard/components/index.ts +15 -0
- package/src/components/SalesAgentProductCard/hooks/useGetContainerProperties.ts +39 -0
- package/src/components/SalesAgentProductCard/hooks/useGetImageProperties.ts +13 -0
- package/src/components/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.ts +56 -0
- package/src/components/SalesAgentProductCard/hooks/useGetProductNameProperties.ts +17 -0
- package/src/components/SalesAgentProductCard/hooks/useGetStarIconProperties.ts +20 -0
- package/src/components/SalesAgentProductCard/index.ts +2 -0
- package/src/components/SalesAgentProductCard/types/types.ts +101 -0
- package/src/components/SalesAgentProductCard/utils/functions.ts +24 -0
- package/src/components/SocialProof/SocialProof.tsx +161 -0
- package/src/components/SocialProof/__tests__/SocialProof.test.tsx +469 -0
- package/src/components/SocialProof/components/Headline.tsx +75 -0
- package/src/components/SocialProof/components/ImageGallery.tsx +39 -0
- package/src/components/SocialProof/components/LayoutFourGrid.tsx +57 -0
- package/src/components/SocialProof/components/LayoutFourHorizontal.tsx +97 -0
- package/src/components/SocialProof/components/LayoutSingle.tsx +127 -0
- package/src/components/SocialProof/components/Skeleton.tsx +15 -0
- package/src/components/SocialProof/components/Subheadline.tsx +54 -0
- package/src/components/SocialProof/components/Textfield.tsx +25 -0
- package/src/components/SocialProof/components/index.ts +19 -0
- package/src/components/SocialProof/index.ts +3 -0
- package/src/components/SocialProof/types/types.ts +244 -0
- package/src/components/SocialProof/utils/functions.ts +31 -0
- package/src/components/Stack/Stack.tsx +64 -0
- package/src/components/Stack/__tests__/Stack.test.tsx +257 -0
- package/src/components/Stack/hooks/useFormatStackChildren.tsx +34 -0
- package/src/components/Stack/hooks/useGetAlignProperties.ts +25 -0
- package/src/components/Stack/hooks/useGetDirectionProperties.ts +19 -0
- package/src/components/Stack/hooks/useGetGapProperties.ts +18 -0
- package/src/components/Stack/hooks/useGetJustifyProperties.ts +26 -0
- package/src/components/Stack/hooks/useGetStyleProperties.ts +44 -0
- package/src/components/Stack/hooks/useGetWrapProperties.ts +7 -0
- package/src/components/Stack/index.ts +13 -0
- package/src/components/Stack/types/index.ts +70 -0
- package/src/components/Stack/utils/constants.ts +36 -0
- package/src/components/TextField/TextField.tsx +84 -0
- package/src/components/TextField/__tests__/TextField.test.tsx +472 -0
- package/src/components/TextField/components/Input.tsx +58 -0
- package/src/components/TextField/components/Layout.tsx +65 -0
- package/src/components/TextField/components/SendIcon.tsx +42 -0
- package/src/components/TextField/components/StandardThemeSendIcon.tsx +27 -0
- package/src/components/TextField/components/index.ts +9 -0
- package/src/components/TextField/hooks/useGetContainerProperties.ts +73 -0
- package/src/components/TextField/hooks/useGetSkeletonProperties.ts +11 -0
- package/src/components/TextField/hooks/useSendIconHandlers.ts +30 -0
- package/src/components/TextField/hooks/useTextFieldFocus.ts +22 -0
- package/src/components/TextField/hooks/useTextFieldSubmit.ts +36 -0
- package/src/components/TextField/hooks/useTextFieldValue.ts +42 -0
- package/src/components/TextField/index.ts +2 -0
- package/src/components/TextField/types/index.ts +45 -0
- package/src/components/TextField/utils/createInputChangeHandler.ts +11 -0
- package/src/components/TextField/utils/getIconColor.ts +9 -0
- package/src/components/TextField/utils/getInputClasses.ts +33 -0
- package/src/components/TextField/utils/getLayoutStateProperties.ts +14 -0
- package/src/components/TextField/utils/getSendIconElement.tsx +53 -0
- package/src/components/Title/Title.tsx +40 -0
- package/src/components/Title/__tests__/Title.test.tsx +179 -0
- package/src/components/Title/components/Image.tsx +66 -0
- package/src/components/Title/components/Label.tsx +19 -0
- package/src/components/Title/components/Layout.tsx +42 -0
- package/src/components/Title/components/index.ts +9 -0
- package/src/components/Title/index.ts +2 -0
- package/src/components/Title/types/index.ts +37 -0
- package/src/components/TitledPromptCarousel/TitledPromptCarousel.tsx +55 -0
- package/src/components/TitledPromptCarousel/__tests__/TitledPromptCarousel.test.tsx +129 -0
- package/src/components/TitledPromptCarousel/index.ts +2 -0
- package/src/components/TitledPromptCarousel/types/index.ts +67 -0
- package/src/components/Tokens/index.ts +35 -0
- package/src/components/TypingAnimation/TypingAnimation.tsx +122 -0
- package/src/components/TypingAnimation/__tests__/TypingAnimation.test.tsx +329 -0
- package/src/components/TypingAnimation/hooks/useGetTypographyVariant.tsx +6 -0
- package/src/components/TypingAnimation/index.ts +2 -0
- package/src/components/TypingAnimation/types/index.ts +155 -0
- package/src/components/Typography/Typography.tsx +68 -0
- package/src/components/Typography/__tests__/Typography.test.tsx +384 -0
- package/src/components/Typography/hooks/useGetAccessibilityAttributes.ts +42 -0
- package/src/components/Typography/hooks/useGetAlignProperties.ts +17 -0
- package/src/components/Typography/hooks/useGetColorProperties.ts +18 -0
- package/src/components/Typography/hooks/useGetNoWrapProperties.ts +11 -0
- package/src/components/Typography/hooks/useGetNumberOfLinesProperties.ts +23 -0
- package/src/components/Typography/hooks/useGetVariantProperties.ts +63 -0
- package/src/components/Typography/index.ts +3 -0
- package/src/components/Typography/types/index.ts +106 -0
- package/src/components/Typography/utils/utils.ts +11 -0
- package/src/components/WelcomeMessage/WelcomeMessage.tsx +53 -0
- package/src/components/WelcomeMessage/__tests__/WelcomeMessage.test.tsx +132 -0
- package/src/components/WelcomeMessage/components/Container.tsx +56 -0
- package/src/components/WelcomeMessage/components/SparkleIcon.tsx +30 -0
- package/src/components/WelcomeMessage/components/Text.tsx +19 -0
- package/src/components/WelcomeMessage/components/Title.tsx +20 -0
- package/src/components/WelcomeMessage/components/index.ts +11 -0
- package/src/components/WelcomeMessage/hooks/useGetContainerProperties.ts +24 -0
- package/src/components/WelcomeMessage/hooks/useGetSparkleIconProperties.ts +35 -0
- package/src/components/WelcomeMessage/index.ts +3 -0
- package/src/components/WelcomeMessage/types/types.ts +43 -0
- package/src/components/WidgetTextField/WidgetTextField.tsx +38 -0
- package/src/components/WidgetTextField/__tests__/WidgetTextField.test.tsx +331 -0
- package/src/components/WidgetTextField/components/Container.tsx +66 -0
- package/src/components/WidgetTextField/components/FakeTextInput.tsx +18 -0
- package/src/components/WidgetTextField/components/Icon.tsx +47 -0
- package/src/components/WidgetTextField/components/Skeleton.tsx +28 -0
- package/src/components/WidgetTextField/components/index.ts +11 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +21 -0
- package/src/components/WidgetTextField/hooks/useHandleKeyboard.ts +10 -0
- package/src/components/WidgetTextField/index.ts +2 -0
- package/src/components/WidgetTextField/types/types.ts +42 -0
- package/src/components/WidgetWrapper/WidgetWrapper.tsx +31 -0
- package/src/components/WidgetWrapper/__tests__/WidgetWrapper.test.tsx +130 -0
- package/src/components/WidgetWrapper/hooks/useGetWrapperProperties.ts +21 -0
- package/src/components/WidgetWrapper/index.ts +3 -0
- package/src/components/WidgetWrapper/types/types.ts +34 -0
- package/src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.tsx +52 -0
- package/src/components/WidgetWrapperWithTitle/__tests__/WidgetWrapperWithTitle.test.tsx +352 -0
- package/src/components/WidgetWrapperWithTitle/index.ts +2 -0
- package/src/components/WidgetWrapperWithTitle/types/types.ts +76 -0
- package/src/components/utils/CustomIcon.tsx +45 -0
- package/src/components/utils/resolveTheme.ts +15 -0
- package/src/components/utils/useCheckIsMobile.ts +30 -0
- package/src/components/utils/useGetContentSize.tsx +55 -0
- package/src/components/utils/useHorizontalWheelScroll.ts +35 -0
- package/src/components/utils/useResponsiveValue.ts +107 -0
- package/src/logging/logger.ts +21 -0
- package/src/models/colorsConfig.ts +28 -0
- package/src/test/setup.ts +30 -0
- package/src/test/types.ts +3 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { require_react_jsx_runtime_production_min } from "./cjs/react-jsx-runtime.production.min.js";
|
|
3
|
+
import { require_react_jsx_runtime_development } from "./cjs/react-jsx-runtime.development.js";
|
|
4
|
+
|
|
5
|
+
//#region ../icons/dist/node_modules/react/jsx-runtime.js
|
|
6
|
+
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
+
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production_min();
|
|
8
|
+
else module.exports = require_react_jsx_runtime_development();
|
|
9
|
+
}));
|
|
10
|
+
var jsx_runtime_default = require_jsx_runtime();
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { require_jsx_runtime };
|
package/dist/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter Variable,Poppins,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.envive-tw-text-t1-md{font-size:var(--envive-typography-font-size-t1);line-height:var(--envive-typography-line-height-124)}.envive-tw-text-t1-md,.envive-tw-text-t2-md{font-weight:var(--envive-typography-font-weight-md);font-family:var(--envive-typography-font-family-title),sans-serif}.envive-tw-text-t2-md{font-size:var(--envive-typography-font-size-t2);line-height:var(--envive-typography-line-height-114)}.envive-tw-text-t3-md{font-size:var(--envive-typography-font-size-t3);font-weight:var(--envive-typography-font-weight-md);line-height:var(--envive-typography-line-height-118);font-family:var(--envive-typography-font-family-title),sans-serif}.envive-tw-text-h1-sb{font-weight:var(--envive-typography-font-weight-sb)}.envive-tw-text-h1-md,.envive-tw-text-h1-sb{font-size:var(--envive-typography-font-size-h1);line-height:var(--envive-typography-line-height-120);font-family:var(--envive-typography-font-family-header),sans-serif}.envive-tw-text-h1-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-h2-sb{font-weight:var(--envive-typography-font-weight-sb)}.envive-tw-text-h2-md,.envive-tw-text-h2-sb{font-size:var(--envive-typography-font-size-h2);line-height:var(--envive-typography-line-height-124);font-family:var(--envive-typography-font-family-header),sans-serif}.envive-tw-text-h2-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-h3-sb{font-weight:var(--envive-typography-font-weight-sb)}.envive-tw-text-h3-md,.envive-tw-text-h3-sb{font-size:var(--envive-typography-font-size-h3);line-height:var(--envive-typography-line-height-116);font-family:var(--envive-typography-font-family-header),sans-serif}.envive-tw-text-h3-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-b1-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-text-b1-md,.envive-tw-text-b1-rg{font-size:var(--envive-typography-font-size-b1);line-height:var(--envive-typography-line-height-120);font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-text-b1-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-b2-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-text-b2-md,.envive-tw-text-b2-rg{font-size:var(--envive-typography-font-size-b2);line-height:var(--envive-typography-line-height-148);font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-text-b2-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-b3-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-text-b3-md,.envive-tw-text-b3-rg{font-size:var(--envive-typography-font-size-b3);line-height:var(--envive-typography-line-height-140);font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-text-b3-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-b4-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-text-b4-md,.envive-tw-text-b4-rg{font-size:var(--envive-typography-font-size-b4);line-height:var(--envive-typography-line-height-130);font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-text-b4-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-b5-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-text-b5-md,.envive-tw-text-b5-rg{font-size:var(--envive-typography-font-size-b5);line-height:var(--envive-typography-line-height-130);font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-text-b5-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-text-l1-sb{font-size:var(--envive-typography-font-size-l1);line-height:var(--envive-typography-line-height-128)}.envive-tw-text-l1-sb,.envive-tw-text-l2-sb{font-weight:var(--envive-typography-font-weight-sb);font-family:var(--envive-typography-font-family-body),sans-serif;letter-spacing:var(--envive-typography-letter-spacing-wide-1)}.envive-tw-text-l2-sb{font-size:var(--envive-typography-font-size-l2);line-height:var(--envive-typography-line-height-133)}.envive-tw-pointer-events-none{pointer-events:none}.envive-tw-fixed{position:fixed}.envive-tw-absolute{position:absolute}.envive-tw-relative{position:relative}.envive-tw-bottom-\[10\%\]{bottom:10%}.envive-tw-bottom-\[170px\]{bottom:170px}.envive-tw-left-2{left:8px}.envive-tw-left-4{left:16px}.envive-tw-left-\[0px\]{left:0}.envive-tw-right-2{right:8px}.envive-tw-right-4{right:16px}.envive-tw-right-\[0px\]{right:0}.envive-tw-top-1\/2{top:50%}.envive-tw-top-\[0\],.envive-tw-top-\[0px\]{top:0}.envive-tw-z-10{z-index:10}.envive-tw-z-\[1000000\]{z-index:1000000}.envive-tw-z-\[1000\]{z-index:1000}.envive-tw-col-start-1{grid-column-start:1}.envive-tw-col-start-2{grid-column-start:2}.envive-tw-col-end-3{grid-column-end:3}.envive-tw-row-start-1{grid-row-start:1}.envive-tw-row-start-2{grid-row-start:2}.envive-tw-row-end-3{grid-row-end:3}.envive-tw-m-4{margin:16px}.envive-tw-mx-auto{margin-left:auto;margin-right:auto}.envive-tw-mb-1{margin-bottom:4px}.envive-tw-mb-12{margin-bottom:48px}.envive-tw-mb-2{margin-bottom:8px}.envive-tw-mb-4{margin-bottom:16px}.envive-tw-mb-6{margin-bottom:24px}.envive-tw-mt-1{margin-top:4px}.envive-tw-mt-2{margin-top:8px}.envive-tw-mt-6{margin-top:24px}.envive-tw-line-clamp-1{-webkit-line-clamp:1}.envive-tw-line-clamp-1,.envive-tw-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.envive-tw-line-clamp-2{-webkit-line-clamp:2}.envive-tw-line-clamp-3{-webkit-line-clamp:3}.envive-tw-line-clamp-3,.envive-tw-line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.envive-tw-line-clamp-4{-webkit-line-clamp:4}.envive-tw-line-clamp-5{-webkit-line-clamp:5}.envive-tw-line-clamp-5,.envive-tw-line-clamp-6{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.envive-tw-line-clamp-6{-webkit-line-clamp:6}.envive-tw-line-clamp-\[7\]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7}.envive-tw-block{display:block}.envive-tw-inline-block{display:inline-block}.envive-tw-inline{display:inline}.envive-tw-flex{display:flex}.envive-tw-inline-flex{display:inline-flex}.envive-tw-grid{display:grid}.envive-tw-aspect-\[3\/4\]{aspect-ratio:3/4}.envive-tw-aspect-global-custom{aspect-ratio:var(--envive-global-custom-aspect-ratio)}.envive-tw-aspect-landscape{aspect-ratio:16/9}.envive-tw-aspect-portrait{aspect-ratio:3/4}.envive-tw-aspect-square{aspect-ratio:1/1}.envive-tw-h-10{height:40px}.envive-tw-h-16{height:64px}.envive-tw-h-24{height:96px}.envive-tw-h-3{height:12px}.envive-tw-h-4{height:16px}.envive-tw-h-6{height:24px}.envive-tw-h-8{height:32px}.envive-tw-h-\[112px\]{height:112px}.envive-tw-h-\[128px\]{height:128px}.envive-tw-h-\[12px\]{height:12px}.envive-tw-h-\[13px\]{height:13px}.envive-tw-h-\[24px\]{height:24px}.envive-tw-h-\[25px\]{height:25px}.envive-tw-h-\[28px\]{height:28px}.envive-tw-h-\[29px\]{height:29px}.envive-tw-h-\[32px\]{height:32px}.envive-tw-h-\[33px\]{height:33px}.envive-tw-h-\[37\.6px\]{height:37.6px}.envive-tw-h-\[38px\]{height:38px}.envive-tw-h-\[40px\]{height:40px}.envive-tw-h-\[42px\]{height:42px}.envive-tw-h-\[44px\]{height:44px}.envive-tw-h-\[4px\]{height:4px}.envive-tw-h-\[50px\]{height:50px}.envive-tw-h-\[52px\]{height:52px}.envive-tw-h-\[56px\]{height:56px}.envive-tw-h-\[64px\]{height:64px}.envive-tw-h-fit{height:-moz-fit-content;height:fit-content}.envive-tw-h-full{height:100%}.envive-tw-min-h-screen{min-height:100vh}.envive-tw-w-16{width:64px}.envive-tw-w-2\/3{width:66.666667%}.envive-tw-w-20{width:80px}.envive-tw-w-24{width:96px}.envive-tw-w-3{width:12px}.envive-tw-w-4{width:16px}.envive-tw-w-4\/5{width:80%}.envive-tw-w-6{width:24px}.envive-tw-w-\[10px\]{width:10px}.envive-tw-w-\[112px\]{width:112px}.envive-tw-w-\[12\.58px\]{width:12.58px}.envive-tw-w-\[128px\]{width:128px}.envive-tw-w-\[200px\]{width:200px}.envive-tw-w-\[208px\]{width:208px}.envive-tw-w-\[22px\]{width:22px}.envive-tw-w-\[240px\]{width:240px}.envive-tw-w-\[248px\]{width:248px}.envive-tw-w-\[24px\]{width:24px}.envive-tw-w-\[319px\]{width:319px}.envive-tw-w-\[320px\]{width:320px}.envive-tw-w-\[32px\]{width:32px}.envive-tw-w-\[33px\]{width:33px}.envive-tw-w-\[44px\]{width:44px}.envive-tw-w-\[512px\]{width:512px}.envive-tw-w-\[53px\]{width:53px}.envive-tw-w-\[54px\]{width:54px}.envive-tw-w-\[56px\]{width:56px}.envive-tw-w-\[64px\]{width:64px}.envive-tw-w-\[80\%\]{width:80%}.envive-tw-w-fit{width:-moz-fit-content;width:fit-content}.envive-tw-w-full{width:100%}.envive-tw-w-max{width:-moz-max-content;width:max-content}.envive-tw-min-w-\[120px\]{min-width:120px}.envive-tw-min-w-\[140px\]{min-width:140px}.envive-tw-min-w-\[276px\]{min-width:276px}.envive-tw-min-w-\[358px\]{min-width:358px}.envive-tw-max-w-2xl{max-width:42rem}.envive-tw-max-w-6xl{max-width:72rem}.envive-tw-max-w-\[100px\]{max-width:100px}.envive-tw-max-w-\[300px\]{max-width:300px}.envive-tw-max-w-\[80px\]{max-width:80px}.envive-tw-max-w-\[90ch\]{max-width:90ch}.envive-tw-max-w-full{max-width:100%}.envive-tw-flex-1{flex:1 1 0%}.envive-tw-flex-shrink-0{flex-shrink:0}.envive-tw-flex-grow{flex-grow:1}.envive-tw--translate-y-1\/2{--tw-translate-y:-50%}.envive-tw--translate-y-1\/2,.envive-tw-translate-x-\[-1px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.envive-tw-translate-x-\[-1px\]{--tw-translate-x:-1px}.envive-tw-translate-x-\[1px\]{--tw-translate-x:1px}.envive-tw-translate-x-\[1px\],.envive-tw-translate-y-\[73\.75\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.envive-tw-translate-y-\[73\.75\%\]{--tw-translate-y:73.75%}.envive-tw-rotate-180{--tw-rotate:180deg}.envive-tw-rotate-180,.envive-tw-rotate-\[-10deg\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.envive-tw-rotate-\[-10deg\]{--tw-rotate:-10deg}.envive-tw-rotate-\[10deg\]{--tw-rotate:10deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes envive-tw-pulse{50%{opacity:.5}0%{border-color:var(--envive-colors-border-light);background:var(--envive-colors-border-light);opacity:1}to{border-color:var(--envive-colors-border-light);background:var(--envive-colors-border-light);opacity:1}}.envive-tw-animate-pulse{animation:envive-tw-pulse .8s linear infinite alternate}.envive-tw-cursor-not-allowed{cursor:not-allowed}.envive-tw-cursor-pointer{cursor:pointer}.envive-tw-cursor-text{cursor:text}.envive-tw-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.envive-tw-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.envive-tw-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.envive-tw-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.envive-tw-flex-row{flex-direction:row}.envive-tw-flex-row-reverse{flex-direction:row-reverse}.envive-tw-flex-col{flex-direction:column}.envive-tw-flex-col-reverse{flex-direction:column-reverse}.envive-tw-flex-wrap{flex-wrap:wrap}.envive-tw-flex-nowrap{flex-wrap:nowrap}.envive-tw-content-center{align-content:center}.envive-tw-items-start{align-items:flex-start}.envive-tw-items-end{align-items:flex-end}.envive-tw-items-center{align-items:center}.envive-tw-items-baseline{align-items:baseline}.envive-tw-items-stretch{align-items:stretch}.envive-tw-justify-start{justify-content:flex-start}.envive-tw-justify-end{justify-content:flex-end}.envive-tw-justify-center{justify-content:center}.envive-tw-justify-between{justify-content:space-between}.envive-tw-justify-around{justify-content:space-around}.envive-tw-justify-evenly{justify-content:space-evenly}.envive-tw-gap-0\.5{gap:2px}.envive-tw-gap-1{gap:4px}.envive-tw-gap-1\.5{gap:6px}.envive-tw-gap-10{gap:40px}.envive-tw-gap-12{gap:48px}.envive-tw-gap-14{gap:56px}.envive-tw-gap-16{gap:64px}.envive-tw-gap-2{gap:8px}.envive-tw-gap-2\.5{gap:10px}.envive-tw-gap-20{gap:80px}.envive-tw-gap-24{gap:96px}.envive-tw-gap-28{gap:112px}.envive-tw-gap-3{gap:12px}.envive-tw-gap-3\.5{gap:14px}.envive-tw-gap-32{gap:128px}.envive-tw-gap-36{gap:144px}.envive-tw-gap-4{gap:16px}.envive-tw-gap-40{gap:160px}.envive-tw-gap-44{gap:176px}.envive-tw-gap-48{gap:192px}.envive-tw-gap-5{gap:20px}.envive-tw-gap-52{gap:208px}.envive-tw-gap-56{gap:224px}.envive-tw-gap-6{gap:24px}.envive-tw-gap-60{gap:240px}.envive-tw-gap-64{gap:256px}.envive-tw-gap-7{gap:28px}.envive-tw-gap-72{gap:288px}.envive-tw-gap-8{gap:32px}.envive-tw-gap-80{gap:320px}.envive-tw-gap-9{gap:36px}.envive-tw-gap-96{gap:384px}.envive-tw-gap-\[10px\]{gap:10px}.envive-tw-gap-x-2{-moz-column-gap:8px;column-gap:8px}.envive-tw-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(4px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px*var(--tw-space-y-reverse))}.envive-tw-space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(48px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(48px*var(--tw-space-y-reverse))}.envive-tw-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(8px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px*var(--tw-space-y-reverse))}.envive-tw-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(12px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(12px*var(--tw-space-y-reverse))}.envive-tw-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(16px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(16px*var(--tw-space-y-reverse))}.envive-tw-space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(24px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(24px*var(--tw-space-y-reverse))}.envive-tw-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(32px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(32px*var(--tw-space-y-reverse))}.envive-tw-self-end{align-self:flex-end}.envive-tw-overflow-hidden{overflow:hidden}.envive-tw-overflow-scroll{overflow:scroll}.envive-tw-overflow-x-auto{overflow-x:auto}.envive-tw-overflow-y-auto{overflow-y:auto}.envive-tw-overflow-x-hidden{overflow-x:hidden}.envive-tw-overflow-y-hidden{overflow-y:hidden}.envive-tw-overflow-x-scroll{overflow-x:scroll}.envive-tw-scroll-smooth{scroll-behavior:smooth}.envive-tw-text-ellipsis{text-overflow:ellipsis}.envive-tw-whitespace-nowrap{white-space:nowrap}.envive-tw-break-all{word-break:break-all}.envive-tw-rounded-4{border-radius:4px}.envive-tw-rounded-\[--envive-global-custom-border-radius\]{border-radius:var(--envive-global-custom-border-radius)}.envive-tw-rounded-\[0_50px_50px_0\]{border-radius:0 50px 50px 0}.envive-tw-rounded-\[12px\]{border-radius:12px}.envive-tw-rounded-\[16px_16px_0_16px\]{border-radius:16px 16px 0 16px}.envive-tw-rounded-\[20px\]{border-radius:20px}.envive-tw-rounded-\[4px\]{border-radius:4px}.envive-tw-rounded-\[50px\]{border-radius:50px}.envive-tw-rounded-\[50px_0_0_50px\]{border-radius:50px 0 0 50px}.envive-tw-rounded-\[8px\]{border-radius:8px}.envive-tw-rounded-\[var\(--envive-global-custom-border-radius\)\],.envive-tw-rounded-global-custom{border-radius:var(--envive-global-custom-border-radius)}.envive-tw-rounded-l-\[4px\]{border-top-left-radius:4px;border-bottom-left-radius:4px}.envive-tw-rounded-r-\[4px\]{border-top-right-radius:4px;border-bottom-right-radius:4px}.envive-tw-rounded-t-\[var\(--envive-global-custom-border-radius\)\]{border-top-left-radius:var(--envive-global-custom-border-radius);border-top-right-radius:var(--envive-global-custom-border-radius)}.envive-tw-border{border-width:1px}.envive-tw-border-0{border-width:0}.envive-tw-border-\[1px\]{border-width:1px}.envive-tw-border-b{border-bottom-width:1px}.envive-tw-border-t{border-top-width:1px}.envive-tw-border-solid{border-style:solid}.envive-tw-border-none{border-style:none}.envive-tw-border-\[color-mix\(in_srgb\,var\(--envive-colors-background-secondary\)_90\%\,\#000000\)\]{border-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000)}.envive-tw-border-\[color-mix\(in_srgb\,var\(--envive-colors-background-secondary\)_90\%\,\#000000_10\%\)\]{border-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000 10%)}.envive-tw-border-\[color-mix\(in_srgb\,var\(--envive-colors-background-tertiary\)_90\%\,\#000000\)\]{border-color:color-mix(in srgb,var(--envive-colors-background-tertiary) 90%,#000)}.envive-tw-border-\[color-mix\(in_srgb\,var\(--envive-colors-button-light-background-color\)_90\%\,\#000000\)\]{border-color:color-mix(in srgb,var(--envive-colors-button-light-background-color) 90%,#000)}.envive-tw-border-\[var\(--envive-colors-background-dark\)\]{border-color:var(--envive-colors-background-dark)}.envive-tw-border-\[var\(--envive-colors-background-light\)\],.envive-tw-border-background-light{border-color:var(--envive-colors-background-light)}.envive-tw-border-border-dark{border-color:var(--envive-colors-border-dark)}.envive-tw-border-border-light{border-color:var(--envive-colors-border-light)}.envive-tw-border-button-dark-background-color{border-color:var(--envive-colors-button-dark-background-color)}.envive-tw-border-emerald-100{--tw-border-opacity:1;border-color:rgb(209 250 229/var(--tw-border-opacity,1))}.envive-tw-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.envive-tw-border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.envive-tw-border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.envive-tw-border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.envive-tw-border-text-secondary{border-color:var(--envive-colors-text-secondary)}.envive-tw-border-b-border-dark{border-bottom-color:var(--envive-colors-border-dark)}.envive-tw-border-b-border-medium{border-bottom-color:var(--envive-colors-border-medium)}.envive-tw-bg-\[\#1f5f51\]{--tw-bg-opacity:1;background-color:rgb(31 95 81/var(--tw-bg-opacity,1))}.envive-tw-bg-\[\#FFFFFFB2\]{background-color:#ffffffb2}.envive-tw-bg-\[\#FFFFFF\]{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.envive-tw-bg-\[--envive-colors-accent-primary\]{background-color:var(--envive-colors-accent-primary)}.envive-tw-bg-\[--envive-colors-accent-secondary\]{background-color:var(--envive-colors-accent-secondary)}.envive-tw-bg-\[--envive-colors-background-dark\]{background-color:var(--envive-colors-background-dark)}.envive-tw-bg-\[--envive-colors-background-light\]{background-color:var(--envive-colors-background-light)}.envive-tw-bg-\[--envive-colors-background-primary\]{background-color:var(--envive-colors-background-primary)}.envive-tw-bg-\[--envive-colors-background-secondary\]{background-color:var(--envive-colors-background-secondary)}.envive-tw-bg-\[--envive-colors-background-tertiary\]{background-color:var(--envive-colors-background-tertiary)}.envive-tw-bg-\[--envive-colors-border-dark\]{background-color:var(--envive-colors-border-dark)}.envive-tw-bg-\[--envive-colors-border-light\]{background-color:var(--envive-colors-border-light)}.envive-tw-bg-\[--envive-colors-border-medium\]{background-color:var(--envive-colors-border-medium)}.envive-tw-bg-\[--envive-colors-text-accent\]{background-color:var(--envive-colors-text-accent)}.envive-tw-bg-\[--envive-colors-text-light\]{background-color:var(--envive-colors-text-light)}.envive-tw-bg-\[--envive-colors-text-link\]{background-color:var(--envive-colors-text-link)}.envive-tw-bg-\[--envive-colors-text-primary\]{background-color:var(--envive-colors-text-primary)}.envive-tw-bg-\[--envive-colors-text-secondary\]{background-color:var(--envive-colors-text-secondary)}.envive-tw-bg-\[color-mix\(in_srgb\,var\(--envive-colors-background-secondary\)_90\%\,\#000000\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000)}.envive-tw-bg-\[color-mix\(in_srgb\,var\(--envive-colors-background-secondary\)_90\%\,\#000000_10\%\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000 10%)}.envive-tw-bg-\[color-mix\(in_srgb\,var\(--envive-colors-background-secondary\)_95\%\,\#000000\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 95%,#000)}.envive-tw-bg-\[rgb\(from_var\(--envive-colors-background-dark\)_r_g_b_\/_10\%\)\]{background-color:rgb(from var(--envive-colors-background-dark) r g b/10%)}.envive-tw-bg-\[rgb\(from_var\(--envive-colors-background-light\)_r_g_b_\/_90\%\)\]{background-color:rgb(from var(--envive-colors-background-light) r g b/90%)}.envive-tw-bg-\[rgba\(0\,0\,0\,0\.40\)\]{background-color:rgba(0,0,0,.4)}.envive-tw-bg-\[var\(--envive-colors-background-dark\)\]{background-color:var(--envive-colors-background-dark)}.envive-tw-bg-\[var\(--envive-colors-background-light\)\]{background-color:var(--envive-colors-background-light)}.envive-tw-bg-\[var\(--envive-colors-background-primary\)\]{background-color:var(--envive-colors-background-primary)}.envive-tw-bg-\[var\(--envive-colors-background-tertiary\)\]{background-color:var(--envive-colors-background-tertiary)}.envive-tw-bg-background-dark{background-color:var(--envive-colors-background-dark)}.envive-tw-bg-background-light{background-color:var(--envive-colors-background-light)}.envive-tw-bg-background-primary{background-color:var(--envive-colors-background-primary)}.envive-tw-bg-background-secondary{background-color:var(--envive-colors-background-secondary)}.envive-tw-bg-background-tertiary{background-color:var(--envive-colors-background-tertiary)}.envive-tw-bg-button-dark-background-color{background-color:var(--envive-colors-button-dark-background-color)}.envive-tw-bg-button-light-background-color{background-color:var(--envive-colors-button-light-background-color)}.envive-tw-bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.envive-tw-bg-emerald-50{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.envive-tw-bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.envive-tw-bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.envive-tw-bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.envive-tw-bg-text-link{background-color:var(--envive-colors-text-link)}.envive-tw-bg-transparent{background-color:transparent}.envive-tw-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.envive-tw-bg-\[linear-gradient\(0deg\,rgba\(0\,0\,0\,0\.40\)_0\%\,rgba\(0\,0\,0\,0\.40\)_100\%\)\]{background-image:linear-gradient(0deg,rgba(0,0,0,.4),rgba(0,0,0,.4))}.envive-tw-fill-button-dark-icon-color{fill:var(--envive-colors-button-dark-icon-color)}.envive-tw-fill-button-light-icon-color{fill:var(--envive-colors-button-light-icon-color)}.envive-tw-fill-transparent{fill:transparent}.envive-tw-stroke-background-light{stroke:var(--envive-colors-background-light)}.envive-tw-stroke-button-dark-icon-color{stroke:var(--envive-colors-button-dark-icon-color)}.envive-tw-stroke-button-light-icon-color{stroke:var(--envive-colors-button-light-icon-color)}.envive-tw-object-contain{-o-object-fit:contain;object-fit:contain}.envive-tw-object-cover{-o-object-fit:cover;object-fit:cover}.envive-tw-object-fill{-o-object-fit:fill;object-fit:fill}.envive-tw-object-none{-o-object-fit:none;object-fit:none}.envive-tw-object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.envive-tw-p-2{padding:8px}.envive-tw-p-3{padding:12px}.envive-tw-p-4{padding:16px}.envive-tw-p-8{padding:32px}.envive-tw-p-\[1px\]{padding:1px}.envive-tw-px-1{padding-left:4px;padding-right:4px}.envive-tw-px-2{padding-left:8px;padding-right:8px}.envive-tw-px-3{padding-left:12px;padding-right:12px}.envive-tw-px-4{padding-left:16px;padding-right:16px}.envive-tw-px-\[6px\]{padding-left:6px;padding-right:6px}.envive-tw-py-0\.5{padding-top:2px;padding-bottom:2px}.envive-tw-py-1{padding-top:4px;padding-bottom:4px}.envive-tw-py-16{padding-top:64px;padding-bottom:64px}.envive-tw-py-2{padding-top:8px;padding-bottom:8px}.envive-tw-py-3{padding-top:12px;padding-bottom:12px}.envive-tw-py-8{padding-top:32px;padding-bottom:32px}.envive-tw-py-\[2px\]{padding-top:2px;padding-bottom:2px}.envive-tw-pb-4{padding-bottom:16px}.envive-tw-pl-4{padding-left:16px}.envive-tw-pl-\[2px\]{padding-left:2px}.envive-tw-pr-2{padding-right:8px}.envive-tw-pt-1{padding-top:4px}.envive-tw-pt-2{padding-top:8px}.envive-tw-pt-3{padding-top:12px}.envive-tw-pt-4{padding-top:16px}.envive-tw-text-left{text-align:left}.envive-tw-text-center{text-align:center}.envive-tw-text-right{text-align:right}.envive-tw-text-justify{text-align:justify}.envive-tw-align-middle{vertical-align:middle}.envive-tw-font-body{font-family:var(--envive-typography-font-family-body),sans-serif}.envive-tw-font-header{font-family:var(--envive-typography-font-family-header),sans-serif}.envive-tw-font-title{font-family:var(--envive-typography-font-family-title),sans-serif}.envive-tw-text-2xl{font-size:1.5rem;line-height:2rem}.envive-tw-text-\[2\.25rem\]{font-size:2.25rem}.envive-tw-text-b1{font-size:var(--envive-typography-font-size-b1)}.envive-tw-text-b3{font-size:var(--envive-typography-font-size-b3)}.envive-tw-text-b4{font-size:var(--envive-typography-font-size-b4)}.envive-tw-text-b5{font-size:var(--envive-typography-font-size-b5)}.envive-tw-text-base{font-size:1rem;line-height:1.5rem}.envive-tw-text-h2{font-size:var(--envive-typography-font-size-h2)}.envive-tw-text-h3{font-size:var(--envive-typography-font-size-h3)}.envive-tw-text-lg{font-size:1.125rem;line-height:1.75rem}.envive-tw-text-sm{font-size:.875rem;line-height:1.25rem}.envive-tw-text-t1{font-size:var(--envive-typography-font-size-t1)}.envive-tw-text-t2{font-size:var(--envive-typography-font-size-t2)}.envive-tw-text-t3{font-size:var(--envive-typography-font-size-t3)}.envive-tw-text-xs{font-size:.75rem;line-height:1rem}.envive-tw-font-bold{font-weight:700}.envive-tw-font-md{font-weight:var(--envive-typography-font-weight-md)}.envive-tw-font-medium{font-weight:500}.envive-tw-font-rg{font-weight:var(--envive-typography-font-weight-rg)}.envive-tw-font-sb{font-weight:var(--envive-typography-font-weight-sb)}.envive-tw-font-semibold{font-weight:600}.envive-tw-uppercase{text-transform:uppercase}.envive-tw-capitalize{text-transform:capitalize}.envive-tw-leading-114{line-height:var(--envive-typography-line-height-114)}.envive-tw-leading-116{line-height:var(--envive-typography-line-height-116)}.envive-tw-leading-118{line-height:var(--envive-typography-line-height-118)}.envive-tw-leading-120{line-height:var(--envive-typography-line-height-120)}.envive-tw-leading-124{line-height:var(--envive-typography-line-height-124)}.envive-tw-leading-130{line-height:var(--envive-typography-line-height-130)}.envive-tw-leading-140{line-height:var(--envive-typography-line-height-140)}.envive-tw-leading-148{line-height:var(--envive-typography-line-height-148)}.envive-tw-leading-\[13px\]{line-height:13px}.envive-tw-leading-relaxed{line-height:1.625}.envive-tw-tracking-tighter{letter-spacing:-.05em}.envive-tw-text-\[\#f9f6ea\]{--tw-text-opacity:1;color:rgb(249 246 234/var(--tw-text-opacity,1))}.envive-tw-text-\[--envive-colors-text-accent\]{color:var(--envive-colors-text-accent)}.envive-tw-text-\[--envive-colors-text-light\]{color:var(--envive-colors-text-light)}.envive-tw-text-\[--envive-colors-text-link\]{color:var(--envive-colors-text-link)}.envive-tw-text-\[--envive-colors-text-primary\]{color:var(--envive-colors-text-primary)}.envive-tw-text-\[--envive-colors-text-secondary\]{color:var(--envive-colors-text-secondary)}.envive-tw-text-\[var\(--envive-colors-text-light\)\]{color:var(--envive-colors-text-light)}.envive-tw-text-\[var\(--envive-colors-text-primary\)\]{color:var(--envive-colors-text-primary)}.envive-tw-text-background-dark{color:var(--envive-colors-background-dark)}.envive-tw-text-background-light{color:var(--envive-colors-background-light)}.envive-tw-text-emerald-800{--tw-text-opacity:1;color:rgb(6 95 70/var(--tw-text-opacity,1))}.envive-tw-text-emerald-950{--tw-text-opacity:1;color:rgb(2 44 34/var(--tw-text-opacity,1))}.envive-tw-text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.envive-tw-text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.envive-tw-text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.envive-tw-text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.envive-tw-text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.envive-tw-text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.envive-tw-text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.envive-tw-text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.envive-tw-text-text-light{color:var(--envive-colors-text-light)}.envive-tw-text-text-link{color:var(--envive-colors-text-link)}.envive-tw-text-text-primary{color:var(--envive-colors-text-primary)}.envive-tw-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.envive-tw-underline{text-decoration-line:underline}.envive-tw-line-through{text-decoration-line:line-through}.envive-tw-opacity-0{opacity:0}.envive-tw-opacity-100{opacity:1}.envive-tw-opacity-50{opacity:.5}.envive-tw-opacity-90{opacity:.9}.envive-tw-shadow-\[2px_2px_6px_0px_rgba\(0\,0\,0\,0\.15\)\]{--tw-shadow:2px 2px 6px 0px rgba(0,0,0,.15);--tw-shadow-colored:2px 2px 6px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.envive-tw-shadow-\[2px_2px_8px_0_rgba\(0\,0\,0\,0\.25\)\]{--tw-shadow:2px 2px 8px 0 rgba(0,0,0,.25);--tw-shadow-colored:2px 2px 8px 0 var(--tw-shadow-color)}.envive-tw-shadow-\[2px_2px_8px_0_rgba\(0\,0\,0\,0\.25\)\],.envive-tw-shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.envive-tw-shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.envive-tw-shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.envive-tw-outline-none{outline:2px solid transparent;outline-offset:2px}.envive-tw-backdrop-blur-\[12px\]{--tw-backdrop-blur:blur(12px)}.envive-tw-backdrop-blur-\[12px\],.envive-tw-backdrop-blur-\[4px\]{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.envive-tw-backdrop-blur-\[4px\]{--tw-backdrop-blur:blur(4px)}.envive-tw-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.envive-tw-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.envive-tw-duration-200{transition-duration:.2s}.envive-tw-duration-300{transition-duration:.3s}.envive-tw-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.envive-tw-typography-ol,.envive-tw-typography-ul{list-style:inherit;margin:0;padding-left:24px;line-height:4px}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2) format("woff2-variations");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-italic.woff2) format("woff2-variations");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-400-normal.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-500-normal.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/poppins@latest/latin-600-normal.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.placeholder\:envive-tw-text-text-secondary::-moz-placeholder{color:var(--envive-colors-text-secondary)}.placeholder\:envive-tw-text-text-secondary::placeholder{color:var(--envive-colors-text-secondary)}.focus-within\:envive-tw-border-\[--envive-colors-text-link\]:focus-within{border-color:var(--envive-colors-text-link)}@media (hover:hover) and (pointer:fine){.hover\:envive-tw-border-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_90\%\2c \#000000\)\]:hover{border-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000)}.hover\:envive-tw-border-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_92\%\2c \#000000\)\]:hover{border-color:color-mix(in srgb,var(--envive-colors-background-secondary) 92%,#000)}.hover\:envive-tw-border-border-dark:hover{border-color:var(--envive-colors-border-dark)}.hover\:envive-tw-border-b-border-dark:hover{border-bottom-color:var(--envive-colors-border-dark)}.hover\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_92\%\2c \#000000\)\]:hover{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 92%,#000)}.hover\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_92\%\2c \#000000_08\%\)\]:hover,.hover\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_92\%\2c \#000000_8\%\)\]:hover{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 92%,#000 8%)}.hover\:envive-tw-bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.hover\:envive-tw-text-text-primary:hover{color:var(--envive-colors-text-primary)}.hover\:envive-tw-underline:hover{text-decoration-line:underline}}.focus\:envive-tw-border-\[\#1f5f51\]:focus{--tw-border-opacity:1;border-color:rgb(31 95 81/var(--tw-border-opacity,1))}.focus\:envive-tw-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:envive-tw-ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:envive-tw-ring-1:focus,.focus\:envive-tw-ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:envive-tw-ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:envive-tw-ring-\[\#1f5f51\]:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(31 95 81/var(--tw-ring-opacity,1))}.focus\:envive-tw-ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:placeholder\:envive-tw-text-text-primary:focus::-moz-placeholder{color:var(--envive-colors-text-primary)}.focus\:placeholder\:envive-tw-text-text-primary:focus::placeholder{color:var(--envive-colors-text-primary)}.disabled\:envive-tw-opacity-50:disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-h-\[30px\]{height:30px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-h-\[38px\]{height:38px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-h-\[51px\]{height:51px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-h-\[57px\]{height:57px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-h-\[72px\]{height:72px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-w-\[30px\]{width:30px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-w-\[38px\]{width:38px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-w-\[51px\]{width:51px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-w-\[62px\]{width:62px}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-w-\[72px\]{width:72px}.envive-tw-group\/card:hover .group-hover\/card\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_80\%\2c \#000000_20\%\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 80%,#000 20%)}.envive-tw-group\/card:hover .group-hover\/card\:envive-tw-bg-text-primary{background-color:var(--envive-colors-text-primary)}.envive-tw-group:hover .group-hover\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_90\%\2c \#000000_10\%\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 90%,#000 10%)}.envive-tw-group:hover .group-hover\:envive-tw-bg-\[color-mix\(in_srgb\2c var\(--envive-colors-background-secondary\)_92\%\2c \#000000\)\]{background-color:color-mix(in srgb,var(--envive-colors-background-secondary) 92%,#000)}.envive-tw-group:hover .group-hover\:envive-tw-fill-background-dark{fill:var(--envive-colors-background-dark)}.envive-tw-group:hover .group-hover\:envive-tw-stroke-background-dark{stroke:var(--envive-colors-background-dark)}.envive-tw-group:hover .group-hover\:envive-tw-text-text-primary,.envive-tw-group\/card:hover .group-hover\/card\:envive-tw-text-\[--envive-colors-text-primary\]{color:var(--envive-colors-text-primary)}.envive-tw-group:hover .group-hover\:envive-tw-underline{text-decoration-line:underline}.envive-tw-group\/floatingbutton:hover .group-hover\/floatingbutton\:envive-tw-shadow-\[2px_2px_8px_0_rgba\(0\2c 0\2c 0\2c 0\.25\)\]{--tw-shadow:2px 2px 8px 0 rgba(0,0,0,.25);--tw-shadow-colored:2px 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}}@media (min-width:768px){.md\:envive-tw-max-w-\[450px\]{max-width:450px}.md\:envive-tw-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:envive-tw-max-w-\[700px\]{max-width:700px}.lg\:envive-tw-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:envive-tw-text-\[3rem\]{font-size:3rem}}.\[\&\>div\>div\]\:envive-tw-items-end>div>div{align-items:flex-end}.\[\&\>img\]\:envive-tw-transition-transform>img{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.\[\&\>img\]\:envive-tw-duration-300>img{transition-duration:.3s}.\[\&\>img\]\:envive-tw-ease-in-out>img{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (hover:hover) and (pointer:fine){.envive-tw-group:hover .\[\&\>img\]\:group-hover\:envive-tw-scale-125>img{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.\[\&\>line\]\:envive-tw-stroke-\[var\(--envive-colors-background-light\)\]>line{stroke:var(--envive-colors-background-light)}.\[\&\>line\]\:envive-tw-stroke-\[var\(--envive-colors-text-secondary\)\]>line{stroke:var(--envive-colors-text-secondary)}.\[\&\>path\]\:envive-tw-fill-\[var\(--envive-colors-background-dark\)\]>path{fill:var(--envive-colors-background-dark)}.\[\&\>path\]\:envive-tw-fill-\[var\(--envive-colors-background-light\)\]>path{fill:var(--envive-colors-background-light)}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
|
|
5
|
+
//#region src/components/utils/CustomIcon.tsx
|
|
6
|
+
const CustomIcon = ({ IconComponent, style, className, fill, stroke }) => {
|
|
7
|
+
const iconId = `widget-icon-${(0, react.useId)().replace(/:/g, "-")}`;
|
|
8
|
+
const iconElement = IconComponent;
|
|
9
|
+
const cssRules = [];
|
|
10
|
+
if (fill) cssRules.push(`#${iconId} path { fill: ${fill} !important; }`);
|
|
11
|
+
if (stroke) cssRules.push(`#${iconId} path { stroke: ${stroke} !important; }`);
|
|
12
|
+
const clonedIcon = (0, react.cloneElement)(iconElement, {
|
|
13
|
+
id: iconId,
|
|
14
|
+
className,
|
|
15
|
+
style
|
|
16
|
+
});
|
|
17
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [cssRules.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", { dangerouslySetInnerHTML: { __html: cssRules.join("\n") } }), clonedIcon] });
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.CustomIcon = CustomIcon;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { cloneElement, useId } from "react";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/CustomIcon.tsx
|
|
5
|
+
const CustomIcon = ({ IconComponent, style, className, fill, stroke }) => {
|
|
6
|
+
const iconId = `widget-icon-${useId().replace(/:/g, "-")}`;
|
|
7
|
+
const iconElement = IconComponent;
|
|
8
|
+
const cssRules = [];
|
|
9
|
+
if (fill) cssRules.push(`#${iconId} path { fill: ${fill} !important; }`);
|
|
10
|
+
if (stroke) cssRules.push(`#${iconId} path { stroke: ${stroke} !important; }`);
|
|
11
|
+
const clonedIcon = cloneElement(iconElement, {
|
|
12
|
+
id: iconId,
|
|
13
|
+
className,
|
|
14
|
+
style
|
|
15
|
+
});
|
|
16
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [cssRules.length > 0 && /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: cssRules.join("\n") } }), clonedIcon] });
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { CustomIcon };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const require_utils = require('../DesignTokens/components/utils.cjs');
|
|
2
|
+
const require_theme = require('../components-v3/tokens/theme/theme.cjs');
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/resolveTheme.ts
|
|
5
|
+
const resolveTheme = (theme) => {
|
|
6
|
+
const globalCustomTheme = require_utils.getComputedCSSVariable(`var(--${require_theme.ThemeCSSVar.GlobalCustom})`);
|
|
7
|
+
if (globalCustomTheme && (theme === require_theme.Theme.GLOBAL_CUSTOM || theme === "var(--envive-colors-global-custom)")) return globalCustomTheme;
|
|
8
|
+
return theme;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.resolveTheme = resolveTheme;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getComputedCSSVariable } from "../DesignTokens/components/utils.js";
|
|
2
|
+
import { Theme, ThemeCSSVar } from "../components-v3/tokens/theme/theme.js";
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/resolveTheme.ts
|
|
5
|
+
const resolveTheme = (theme) => {
|
|
6
|
+
const globalCustomTheme = getComputedCSSVariable(`var(--${ThemeCSSVar.GlobalCustom})`);
|
|
7
|
+
if (globalCustomTheme && (theme === Theme.GLOBAL_CUSTOM || theme === "var(--envive-colors-global-custom)")) return globalCustomTheme;
|
|
8
|
+
return theme;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { resolveTheme };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_breakpoints = require('../components-v3/tokens/breakpoints/breakpoints.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
|
|
5
|
+
//#region src/components/utils/useCheckIsMobile.ts
|
|
6
|
+
const useCheckIsMobile = (breakpoint = "sm") => {
|
|
7
|
+
const [viewportWidth, setViewportWidth] = (0, react.useState)(() => typeof window !== "undefined" ? window.innerWidth : void 0);
|
|
8
|
+
(0, react.useEffect)(() => {
|
|
9
|
+
if (typeof window === "undefined") return;
|
|
10
|
+
const handleResize = () => {
|
|
11
|
+
setViewportWidth(window.innerWidth);
|
|
12
|
+
};
|
|
13
|
+
handleResize();
|
|
14
|
+
window.addEventListener("resize", handleResize);
|
|
15
|
+
return () => {
|
|
16
|
+
window.removeEventListener("resize", handleResize);
|
|
17
|
+
};
|
|
18
|
+
}, []);
|
|
19
|
+
return {
|
|
20
|
+
isMobile: viewportWidth !== void 0 && viewportWidth < require_breakpoints.screensBreakpointsVariables[breakpoint || "sm"],
|
|
21
|
+
viewportWidth
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.useCheckIsMobile = useCheckIsMobile;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { screensBreakpointsVariables } from "../components-v3/tokens/breakpoints/breakpoints.js";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/useCheckIsMobile.ts
|
|
5
|
+
const useCheckIsMobile = (breakpoint = "sm") => {
|
|
6
|
+
const [viewportWidth, setViewportWidth] = useState(() => typeof window !== "undefined" ? window.innerWidth : void 0);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
if (typeof window === "undefined") return;
|
|
9
|
+
const handleResize = () => {
|
|
10
|
+
setViewportWidth(window.innerWidth);
|
|
11
|
+
};
|
|
12
|
+
handleResize();
|
|
13
|
+
window.addEventListener("resize", handleResize);
|
|
14
|
+
return () => {
|
|
15
|
+
window.removeEventListener("resize", handleResize);
|
|
16
|
+
};
|
|
17
|
+
}, []);
|
|
18
|
+
return {
|
|
19
|
+
isMobile: viewportWidth !== void 0 && viewportWidth < screensBreakpointsVariables[breakpoint || "sm"],
|
|
20
|
+
viewportWidth
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { useCheckIsMobile };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/useGetContentSize.tsx
|
|
5
|
+
const useGetContentSize = ({ widthDefault, heightDefault }) => {
|
|
6
|
+
const ref = (0, react.useRef)(null);
|
|
7
|
+
const [contentWidth, setContentWidth] = (0, react.useState)(widthDefault);
|
|
8
|
+
const [contentHeight, setContentHeight] = (0, react.useState)(heightDefault);
|
|
9
|
+
(0, react.useEffect)(() => {
|
|
10
|
+
const updateHeight = () => {
|
|
11
|
+
if (ref.current) {
|
|
12
|
+
const height = ref.current.offsetHeight;
|
|
13
|
+
if (height > 0) setContentHeight(height);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const updateWidth = () => {
|
|
17
|
+
if (ref.current) {
|
|
18
|
+
const width = ref.current.offsetWidth;
|
|
19
|
+
if (width > 0) setContentWidth(width);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
updateHeight();
|
|
23
|
+
updateWidth();
|
|
24
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
25
|
+
requestAnimationFrame(updateHeight);
|
|
26
|
+
requestAnimationFrame(updateWidth);
|
|
27
|
+
});
|
|
28
|
+
if (ref.current) resizeObserver.observe(ref.current);
|
|
29
|
+
return () => {
|
|
30
|
+
resizeObserver.disconnect();
|
|
31
|
+
};
|
|
32
|
+
}, []);
|
|
33
|
+
return {
|
|
34
|
+
width: contentWidth,
|
|
35
|
+
height: contentHeight,
|
|
36
|
+
ref
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.useGetContentSize = useGetContentSize;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useEffect, useRef, useState } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/utils/useGetContentSize.tsx
|
|
4
|
+
const useGetContentSize = ({ widthDefault, heightDefault }) => {
|
|
5
|
+
const ref = useRef(null);
|
|
6
|
+
const [contentWidth, setContentWidth] = useState(widthDefault);
|
|
7
|
+
const [contentHeight, setContentHeight] = useState(heightDefault);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const updateHeight = () => {
|
|
10
|
+
if (ref.current) {
|
|
11
|
+
const height = ref.current.offsetHeight;
|
|
12
|
+
if (height > 0) setContentHeight(height);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const updateWidth = () => {
|
|
16
|
+
if (ref.current) {
|
|
17
|
+
const width = ref.current.offsetWidth;
|
|
18
|
+
if (width > 0) setContentWidth(width);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
updateHeight();
|
|
22
|
+
updateWidth();
|
|
23
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
24
|
+
requestAnimationFrame(updateHeight);
|
|
25
|
+
requestAnimationFrame(updateWidth);
|
|
26
|
+
});
|
|
27
|
+
if (ref.current) resizeObserver.observe(ref.current);
|
|
28
|
+
return () => {
|
|
29
|
+
resizeObserver.disconnect();
|
|
30
|
+
};
|
|
31
|
+
}, []);
|
|
32
|
+
return {
|
|
33
|
+
width: contentWidth,
|
|
34
|
+
height: contentHeight,
|
|
35
|
+
ref
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { useGetContentSize };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/useHorizontalWheelScroll.ts
|
|
5
|
+
/**
|
|
6
|
+
* Hook to enable horizontal scrolling with mouse wheel on a container
|
|
7
|
+
*/
|
|
8
|
+
const useHorizontalWheelScroll = (isEnabled = true) => {
|
|
9
|
+
const scrollContainerRef = (0, react.useRef)(null);
|
|
10
|
+
(0, react.useEffect)(() => {
|
|
11
|
+
if (!isEnabled) return;
|
|
12
|
+
const container = scrollContainerRef.current;
|
|
13
|
+
if (!container) return;
|
|
14
|
+
const handleWheel = (e) => {
|
|
15
|
+
if (Math.abs(e.deltaY) > Math.abs(e.deltaX)) {
|
|
16
|
+
e.preventDefault();
|
|
17
|
+
container.scrollLeft += e.deltaY;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
container.addEventListener("wheel", handleWheel, { passive: false });
|
|
21
|
+
return () => {
|
|
22
|
+
container.removeEventListener("wheel", handleWheel);
|
|
23
|
+
};
|
|
24
|
+
}, [isEnabled]);
|
|
25
|
+
return scrollContainerRef;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.useHorizontalWheelScroll = useHorizontalWheelScroll;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/utils/useHorizontalWheelScroll.ts
|
|
4
|
+
/**
|
|
5
|
+
* Hook to enable horizontal scrolling with mouse wheel on a container
|
|
6
|
+
*/
|
|
7
|
+
const useHorizontalWheelScroll = (isEnabled = true) => {
|
|
8
|
+
const scrollContainerRef = useRef(null);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
if (!isEnabled) return;
|
|
11
|
+
const container = scrollContainerRef.current;
|
|
12
|
+
if (!container) return;
|
|
13
|
+
const handleWheel = (e) => {
|
|
14
|
+
if (Math.abs(e.deltaY) > Math.abs(e.deltaX)) {
|
|
15
|
+
e.preventDefault();
|
|
16
|
+
container.scrollLeft += e.deltaY;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
container.addEventListener("wheel", handleWheel, { passive: false });
|
|
20
|
+
return () => {
|
|
21
|
+
container.removeEventListener("wheel", handleWheel);
|
|
22
|
+
};
|
|
23
|
+
}, [isEnabled]);
|
|
24
|
+
return scrollContainerRef;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { useHorizontalWheelScroll };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_breakpoints = require('../components-v3/tokens/breakpoints/breakpoints.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
|
|
5
|
+
//#region src/components/utils/useResponsiveValue.ts
|
|
6
|
+
const getActiveBreakpoint = (width) => {
|
|
7
|
+
if (width === void 0) return "base";
|
|
8
|
+
let active = "base";
|
|
9
|
+
for (const breakpoint of require_breakpoints.screensBreakpointsOrder) if (width >= require_breakpoints.screensBreakpointsVariables[breakpoint]) active = breakpoint;
|
|
10
|
+
return active;
|
|
11
|
+
};
|
|
12
|
+
const resolveFromRecord = (values, activeBreakpoint, fallback) => {
|
|
13
|
+
const activeIndex = require_breakpoints.screensBreakpointsOrder.indexOf(activeBreakpoint);
|
|
14
|
+
for (let index = activeIndex; index >= 0; index -= 1) {
|
|
15
|
+
const value = values[require_breakpoints.screensBreakpointsOrder[index]];
|
|
16
|
+
if (value !== void 0) return value;
|
|
17
|
+
}
|
|
18
|
+
return fallback;
|
|
19
|
+
};
|
|
20
|
+
const resolveFromArray = (values, activeBreakpoint, fallback) => {
|
|
21
|
+
const activeIndex = require_breakpoints.screensBreakpointsOrder.indexOf(activeBreakpoint);
|
|
22
|
+
for (let index = activeIndex; index >= 0; index -= 1) {
|
|
23
|
+
const value = values[index];
|
|
24
|
+
if (value !== void 0) return value;
|
|
25
|
+
}
|
|
26
|
+
return values.find((value) => value !== void 0) ?? fallback;
|
|
27
|
+
};
|
|
28
|
+
const resolveResponsiveValue = (responsiveValue, fallback, viewportWidth) => {
|
|
29
|
+
if (responsiveValue === void 0) return fallback;
|
|
30
|
+
if (typeof responsiveValue !== "object") return responsiveValue;
|
|
31
|
+
const activeBreakpoint = getActiveBreakpoint(viewportWidth);
|
|
32
|
+
if (Array.isArray(responsiveValue)) return resolveFromArray(responsiveValue, activeBreakpoint, fallback);
|
|
33
|
+
return resolveFromRecord(responsiveValue, activeBreakpoint, fallback);
|
|
34
|
+
};
|
|
35
|
+
const useResponsiveValue = ({ value, fallback }) => {
|
|
36
|
+
const [viewportWidth, setViewportWidth] = (0, react.useState)(() => typeof window !== "undefined" ? window.innerWidth : void 0);
|
|
37
|
+
(0, react.useEffect)(() => {
|
|
38
|
+
if (typeof window === "undefined") return void 0;
|
|
39
|
+
const handleResize = () => {
|
|
40
|
+
setViewportWidth(window.innerWidth);
|
|
41
|
+
};
|
|
42
|
+
handleResize();
|
|
43
|
+
window.addEventListener("resize", handleResize);
|
|
44
|
+
return () => {
|
|
45
|
+
window.removeEventListener("resize", handleResize);
|
|
46
|
+
};
|
|
47
|
+
}, []);
|
|
48
|
+
return (0, react.useMemo)(() => resolveResponsiveValue(value, fallback, viewportWidth), [
|
|
49
|
+
value,
|
|
50
|
+
fallback,
|
|
51
|
+
viewportWidth
|
|
52
|
+
]);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
exports.useResponsiveValue = useResponsiveValue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Breakpoint } from "../components-v3/tokens/breakpoints/breakpoints.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/components/utils/useResponsiveValue.d.ts
|
|
4
|
+
type ResponsiveValue<T> = T | Array<T | undefined> | Partial<Record<Breakpoint, T>>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ResponsiveValue };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Breakpoint } from "../components-v3/tokens/breakpoints/breakpoints.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/utils/useResponsiveValue.d.ts
|
|
4
|
+
type ResponsiveValue<T> = T | Array<T | undefined> | Partial<Record<Breakpoint, T>>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ResponsiveValue };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { screensBreakpointsOrder, screensBreakpointsVariables } from "../components-v3/tokens/breakpoints/breakpoints.js";
|
|
2
|
+
import { useEffect, useMemo, useState } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/utils/useResponsiveValue.ts
|
|
5
|
+
const getActiveBreakpoint = (width) => {
|
|
6
|
+
if (width === void 0) return "base";
|
|
7
|
+
let active = "base";
|
|
8
|
+
for (const breakpoint of screensBreakpointsOrder) if (width >= screensBreakpointsVariables[breakpoint]) active = breakpoint;
|
|
9
|
+
return active;
|
|
10
|
+
};
|
|
11
|
+
const resolveFromRecord = (values, activeBreakpoint, fallback) => {
|
|
12
|
+
const activeIndex = screensBreakpointsOrder.indexOf(activeBreakpoint);
|
|
13
|
+
for (let index = activeIndex; index >= 0; index -= 1) {
|
|
14
|
+
const value = values[screensBreakpointsOrder[index]];
|
|
15
|
+
if (value !== void 0) return value;
|
|
16
|
+
}
|
|
17
|
+
return fallback;
|
|
18
|
+
};
|
|
19
|
+
const resolveFromArray = (values, activeBreakpoint, fallback) => {
|
|
20
|
+
const activeIndex = screensBreakpointsOrder.indexOf(activeBreakpoint);
|
|
21
|
+
for (let index = activeIndex; index >= 0; index -= 1) {
|
|
22
|
+
const value = values[index];
|
|
23
|
+
if (value !== void 0) return value;
|
|
24
|
+
}
|
|
25
|
+
return values.find((value) => value !== void 0) ?? fallback;
|
|
26
|
+
};
|
|
27
|
+
const resolveResponsiveValue = (responsiveValue, fallback, viewportWidth) => {
|
|
28
|
+
if (responsiveValue === void 0) return fallback;
|
|
29
|
+
if (typeof responsiveValue !== "object") return responsiveValue;
|
|
30
|
+
const activeBreakpoint = getActiveBreakpoint(viewportWidth);
|
|
31
|
+
if (Array.isArray(responsiveValue)) return resolveFromArray(responsiveValue, activeBreakpoint, fallback);
|
|
32
|
+
return resolveFromRecord(responsiveValue, activeBreakpoint, fallback);
|
|
33
|
+
};
|
|
34
|
+
const useResponsiveValue = ({ value, fallback }) => {
|
|
35
|
+
const [viewportWidth, setViewportWidth] = useState(() => typeof window !== "undefined" ? window.innerWidth : void 0);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
if (typeof window === "undefined") return void 0;
|
|
38
|
+
const handleResize = () => {
|
|
39
|
+
setViewportWidth(window.innerWidth);
|
|
40
|
+
};
|
|
41
|
+
handleResize();
|
|
42
|
+
window.addEventListener("resize", handleResize);
|
|
43
|
+
return () => {
|
|
44
|
+
window.removeEventListener("resize", handleResize);
|
|
45
|
+
};
|
|
46
|
+
}, []);
|
|
47
|
+
return useMemo(() => resolveResponsiveValue(value, fallback, viewportWidth), [
|
|
48
|
+
value,
|
|
49
|
+
fallback,
|
|
50
|
+
viewportWidth
|
|
51
|
+
]);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
export { useResponsiveValue };
|