@evolve.ui/core-components 1.0.0
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/Accordion--J93KLdp.d.cts +38 -0
- package/Accordion--J93KLdp.d.cts.map +1 -0
- package/Accordion-CdgdzUNC.d.mts +38 -0
- package/Accordion-CdgdzUNC.d.mts.map +1 -0
- package/AddressDisplay-C6av_Ava.d.cts +40 -0
- package/AddressDisplay-C6av_Ava.d.cts.map +1 -0
- package/AddressDisplay-C6av_Ava.d.mts +40 -0
- package/AddressDisplay-C6av_Ava.d.mts.map +1 -0
- package/AddressDisplay-CI1h4Pyv.cjs +1504 -0
- package/AddressDisplay-CI1h4Pyv.cjs.map +1 -0
- package/AddressDisplay-D5p9wJT6.mjs +1499 -0
- package/AddressDisplay-D5p9wJT6.mjs.map +1 -0
- package/AutomatedCarousel-BbH74siI.d.mts +48 -0
- package/AutomatedCarousel-BbH74siI.d.mts.map +1 -0
- package/AutomatedCarousel-CmVyxeSl.mjs +274 -0
- package/AutomatedCarousel-CmVyxeSl.mjs.map +1 -0
- package/AutomatedCarousel-Dhr1za_D.d.cts +48 -0
- package/AutomatedCarousel-Dhr1za_D.d.cts.map +1 -0
- package/AutomatedCarousel-ylYqkHPX.cjs +281 -0
- package/AutomatedCarousel-ylYqkHPX.cjs.map +1 -0
- package/Badge/ItemBadge.cjs +75 -0
- package/Badge/ItemBadge.cjs.map +1 -0
- package/Badge/ItemBadge.d.cts +2 -0
- package/Badge/ItemBadge.d.mts +2 -0
- package/Badge/ItemBadge.mjs +71 -0
- package/Badge/ItemBadge.mjs.map +1 -0
- package/Badge/LiveStatusBadge.cjs +78 -0
- package/Badge/LiveStatusBadge.cjs.map +1 -0
- package/Badge/LiveStatusBadge.d.cts +2 -0
- package/Badge/LiveStatusBadge.d.mts +2 -0
- package/Badge/LiveStatusBadge.mjs +74 -0
- package/Badge/LiveStatusBadge.mjs.map +1 -0
- package/Badge-C1BBu1fH.d.mts +71 -0
- package/Badge-C1BBu1fH.d.mts.map +1 -0
- package/Badge-lOH4Ssq_.d.cts +71 -0
- package/Badge-lOH4Ssq_.d.cts.map +1 -0
- package/Badge.cjs +72 -0
- package/Badge.cjs.map +1 -0
- package/Badge.d.cts +2 -0
- package/Badge.d.mts +2 -0
- package/Badge.mjs +68 -0
- package/Badge.mjs.map +1 -0
- package/BannerNotification-D9Sfa2si.cjs +156 -0
- package/BannerNotification-D9Sfa2si.cjs.map +1 -0
- package/BannerNotification-DM78PllX.d.cts +59 -0
- package/BannerNotification-DM78PllX.d.cts.map +1 -0
- package/BannerNotification-DM78PllX.d.mts +59 -0
- package/BannerNotification-DM78PllX.d.mts.map +1 -0
- package/BannerNotification-DzprO7bZ.mjs +151 -0
- package/BannerNotification-DzprO7bZ.mjs.map +1 -0
- package/BottomSheet-ZV_eq3xt.mjs +1708 -0
- package/BottomSheet-ZV_eq3xt.mjs.map +1 -0
- package/BottomSheet-emWP9Fct.cjs +1715 -0
- package/BottomSheet-emWP9Fct.cjs.map +1 -0
- package/Breadcrumbs-7jTSZ7NM.cjs +98 -0
- package/Breadcrumbs-7jTSZ7NM.cjs.map +1 -0
- package/Breadcrumbs-CopNM2AH.d.cts +30 -0
- package/Breadcrumbs-CopNM2AH.d.cts.map +1 -0
- package/Breadcrumbs-CopNM2AH.d.mts +30 -0
- package/Breadcrumbs-CopNM2AH.d.mts.map +1 -0
- package/Breadcrumbs-blgWG9cP.mjs +93 -0
- package/Breadcrumbs-blgWG9cP.mjs.map +1 -0
- package/Button-B9vfIXTi.d.cts +12 -0
- package/Button-B9vfIXTi.d.cts.map +1 -0
- package/Button-Bitf-VVv.d.mts +12 -0
- package/Button-Bitf-VVv.d.mts.map +1 -0
- package/Button.cjs +102 -0
- package/Button.cjs.map +1 -0
- package/Button.d.cts +2 -0
- package/Button.d.mts +2 -0
- package/Button.mjs +98 -0
- package/Button.mjs.map +1 -0
- package/Button.types-CjidejRG.d.cts +79 -0
- package/Button.types-CjidejRG.d.cts.map +1 -0
- package/Button.types-CyzsUcMe.d.mts +79 -0
- package/Button.types-CyzsUcMe.d.mts.map +1 -0
- package/Callout-BDrz5jjK.d.mts +45 -0
- package/Callout-BDrz5jjK.d.mts.map +1 -0
- package/Callout-BiFCfawA.d.cts +45 -0
- package/Callout-BiFCfawA.d.cts.map +1 -0
- package/Callout-DrWwRGi4.cjs +132 -0
- package/Callout-DrWwRGi4.cjs.map +1 -0
- package/Callout-Olv0CM82.mjs +127 -0
- package/Callout-Olv0CM82.mjs.map +1 -0
- package/Callout.cjs +8 -0
- package/Callout.d.cts +2 -0
- package/Callout.d.mts +2 -0
- package/Callout.mjs +4 -0
- package/CardGrid-BhfrwrN0.d.cts +72 -0
- package/CardGrid-BhfrwrN0.d.cts.map +1 -0
- package/CardGrid-BpX_oOS4.mjs +175 -0
- package/CardGrid-BpX_oOS4.mjs.map +1 -0
- package/CardGrid-CHZSF83h.d.mts +72 -0
- package/CardGrid-CHZSF83h.d.mts.map +1 -0
- package/CardGrid-CXi9XvDo.cjs +180 -0
- package/CardGrid-CXi9XvDo.cjs.map +1 -0
- package/Carousel-8CbTiwMk.mjs +462 -0
- package/Carousel-8CbTiwMk.mjs.map +1 -0
- package/Carousel-Du89BCCK.cjs +487 -0
- package/Carousel-Du89BCCK.cjs.map +1 -0
- package/CheckCircle-BcTMEm4l.mjs +42 -0
- package/CheckCircle-BcTMEm4l.mjs.map +1 -0
- package/CheckCircle-BjBbSga6.cjs +49 -0
- package/CheckCircle-BjBbSga6.cjs.map +1 -0
- package/Checkbox.cjs +13 -0
- package/Checkbox.d.cts +2 -0
- package/Checkbox.d.mts +2 -0
- package/Checkbox.mjs +3 -0
- package/Chip-UMJoX3ST.d.cts +38 -0
- package/Chip-UMJoX3ST.d.cts.map +1 -0
- package/Chip-giQtR8GC.d.mts +38 -0
- package/Chip-giQtR8GC.d.mts.map +1 -0
- package/ChipGroup-DIyCVKZm.d.cts +24 -0
- package/ChipGroup-DIyCVKZm.d.cts.map +1 -0
- package/ChipGroup-VGpv5cHt.d.mts +24 -0
- package/ChipGroup-VGpv5cHt.d.mts.map +1 -0
- package/ChoiceListItem-BqZ3bIj9.mjs +168 -0
- package/ChoiceListItem-BqZ3bIj9.mjs.map +1 -0
- package/ChoiceListItem-D_74Zcpd.cjs +209 -0
- package/ChoiceListItem-D_74Zcpd.cjs.map +1 -0
- package/Collapsible-Bbs4SWEA.d.cts +18 -0
- package/Collapsible-Bbs4SWEA.d.cts.map +1 -0
- package/Collapsible-Bbs4SWEA.d.mts +18 -0
- package/Collapsible-Bbs4SWEA.d.mts.map +1 -0
- package/Confetti--vMcCOQ7.cjs +166 -0
- package/Confetti--vMcCOQ7.cjs.map +1 -0
- package/Confetti-Csdjmzfv.mjs +161 -0
- package/Confetti-Csdjmzfv.mjs.map +1 -0
- package/ContentPager-AM9sSsgG.d.cts +37 -0
- package/ContentPager-AM9sSsgG.d.cts.map +1 -0
- package/ContentPager-B9UIPahb.mjs +138 -0
- package/ContentPager-B9UIPahb.mjs.map +1 -0
- package/ContentPager-BJo1L64Y.cjs +158 -0
- package/ContentPager-BJo1L64Y.cjs.map +1 -0
- package/ContentPager-DuxgJP42.d.mts +37 -0
- package/ContentPager-DuxgJP42.d.mts.map +1 -0
- package/CookieConsent-CIwm0bTz.mjs +401 -0
- package/CookieConsent-CIwm0bTz.mjs.map +1 -0
- package/CookieConsent-PIglB_bb.cjs +430 -0
- package/CookieConsent-PIglB_bb.cjs.map +1 -0
- package/Countdown-BaqV0LJL.d.mts +45 -0
- package/Countdown-BaqV0LJL.d.mts.map +1 -0
- package/Countdown-D4-QPv6V.cjs +181 -0
- package/Countdown-D4-QPv6V.cjs.map +1 -0
- package/Countdown-Dw5j-JJ4.d.cts +45 -0
- package/Countdown-Dw5j-JJ4.d.cts.map +1 -0
- package/Countdown-Hiu5EYUI.mjs +174 -0
- package/Countdown-Hiu5EYUI.mjs.map +1 -0
- package/Countdown.types-B7yecprx.d.cts +8 -0
- package/Countdown.types-B7yecprx.d.cts.map +1 -0
- package/Countdown.types-B7yecprx.d.mts +8 -0
- package/Countdown.types-B7yecprx.d.mts.map +1 -0
- package/CreditCardIcon-DirCX2rx.d.cts +29 -0
- package/CreditCardIcon-DirCX2rx.d.cts.map +1 -0
- package/CreditCardIcon-DirCX2rx.d.mts +29 -0
- package/CreditCardIcon-DirCX2rx.d.mts.map +1 -0
- package/CreditCardIcon-OqdAEE3e.cjs +281 -0
- package/CreditCardIcon-OqdAEE3e.cjs.map +1 -0
- package/CreditCardIcon-rpcjx4S_.mjs +270 -0
- package/CreditCardIcon-rpcjx4S_.mjs.map +1 -0
- package/DateInput-B8XQZPTx.d.cts +34 -0
- package/DateInput-B8XQZPTx.d.cts.map +1 -0
- package/DateInput-CfNmywqQ.d.mts +34 -0
- package/DateInput-CfNmywqQ.d.mts.map +1 -0
- package/DatePickerTarget-BcX_noF3.d.cts +14 -0
- package/DatePickerTarget-BcX_noF3.d.cts.map +1 -0
- package/DatePickerTarget-BcX_noF3.d.mts +14 -0
- package/DatePickerTarget-BcX_noF3.d.mts.map +1 -0
- package/DatePickerTarget-CKni-6Rq.mjs +14 -0
- package/DatePickerTarget-CKni-6Rq.mjs.map +1 -0
- package/DatePickerTarget-D_gR7380.cjs +25 -0
- package/DatePickerTarget-D_gR7380.cjs.map +1 -0
- package/Drawer-9HFG45OA.cjs +259 -0
- package/Drawer-9HFG45OA.cjs.map +1 -0
- package/Drawer-BkCPfK6P.mjs +254 -0
- package/Drawer-BkCPfK6P.mjs.map +1 -0
- package/Drawer-CFZbwg0R.d.cts +231 -0
- package/Drawer-CFZbwg0R.d.cts.map +1 -0
- package/Drawer-CFZbwg0R.d.mts +231 -0
- package/Drawer-CFZbwg0R.d.mts.map +1 -0
- package/EducationalPopover-CLNgGomH.d.cts +48 -0
- package/EducationalPopover-CLNgGomH.d.cts.map +1 -0
- package/EducationalPopover-DP63Yqlm.d.mts +48 -0
- package/EducationalPopover-DP63Yqlm.d.mts.map +1 -0
- package/FavoriteButton-BRY8FVpV.d.mts +142 -0
- package/FavoriteButton-BRY8FVpV.d.mts.map +1 -0
- package/FavoriteButton-CC3qL0lR.mjs +199 -0
- package/FavoriteButton-CC3qL0lR.mjs.map +1 -0
- package/FavoriteButton-CowOPoqo.d.cts +142 -0
- package/FavoriteButton-CowOPoqo.d.cts.map +1 -0
- package/FavoriteButton-DliYzkfu.cjs +204 -0
- package/FavoriteButton-DliYzkfu.cjs.map +1 -0
- package/FeatureFlagDevToolsUI-B13AuQ2A.mjs +276 -0
- package/FeatureFlagDevToolsUI-B13AuQ2A.mjs.map +1 -0
- package/FeatureFlagDevToolsUI-CutvngLI.d.cts +39 -0
- package/FeatureFlagDevToolsUI-CutvngLI.d.cts.map +1 -0
- package/FeatureFlagDevToolsUI-CutvngLI.d.mts +39 -0
- package/FeatureFlagDevToolsUI-CutvngLI.d.mts.map +1 -0
- package/FeatureFlagDevToolsUI-MBFES3GM.cjs +281 -0
- package/FeatureFlagDevToolsUI-MBFES3GM.cjs.map +1 -0
- package/FileUpload--e_UJ_ek.cjs +1771 -0
- package/FileUpload--e_UJ_ek.cjs.map +1 -0
- package/FileUpload-p_pl9NXr.mjs +1706 -0
- package/FileUpload-p_pl9NXr.mjs.map +1 -0
- package/FormLabel-D4602qfd.d.cts +140 -0
- package/FormLabel-D4602qfd.d.cts.map +1 -0
- package/FormLabel-D4602qfd.d.mts +140 -0
- package/FormLabel-D4602qfd.d.mts.map +1 -0
- package/IconBase-C_Lx9rDx.d.cts +89 -0
- package/IconBase-C_Lx9rDx.d.cts.map +1 -0
- package/IconBase-C_Lx9rDx.d.mts +89 -0
- package/IconBase-C_Lx9rDx.d.mts.map +1 -0
- package/IconButton-DHTn5DQ_.d.mts +40 -0
- package/IconButton-DHTn5DQ_.d.mts.map +1 -0
- package/IconButton-Df9usxq_.d.cts +40 -0
- package/IconButton-Df9usxq_.d.cts.map +1 -0
- package/IconButton.cjs +68 -0
- package/IconButton.cjs.map +1 -0
- package/IconButton.d.cts +2 -0
- package/IconButton.d.mts +2 -0
- package/IconButton.mjs +64 -0
- package/IconButton.mjs.map +1 -0
- package/Icons/CreditCardIcon.cjs +7 -0
- package/Icons/CreditCardIcon.d.cts +2 -0
- package/Icons/CreditCardIcon.d.mts +2 -0
- package/Icons/CreditCardIcon.mjs +2 -0
- package/Icons/IconBase.cjs +60 -0
- package/Icons/IconBase.cjs.map +1 -0
- package/Icons/IconBase.d.cts +2 -0
- package/Icons/IconBase.d.mts +2 -0
- package/Icons/IconBase.mjs +54 -0
- package/Icons/IconBase.mjs.map +1 -0
- package/Icons/anyIcon.cjs +0 -0
- package/Icons/anyIcon.d.cts +2 -0
- package/Icons/anyIcon.d.mts +2 -0
- package/Icons/anyIcon.mjs +1 -0
- package/Icons/socialIcons/appleSocialIcon.cjs +48 -0
- package/Icons/socialIcons/appleSocialIcon.cjs.map +1 -0
- package/Icons/socialIcons/appleSocialIcon.d.cts +19 -0
- package/Icons/socialIcons/appleSocialIcon.d.cts.map +1 -0
- package/Icons/socialIcons/appleSocialIcon.d.mts +19 -0
- package/Icons/socialIcons/appleSocialIcon.d.mts.map +1 -0
- package/Icons/socialIcons/appleSocialIcon.mjs +42 -0
- package/Icons/socialIcons/appleSocialIcon.mjs.map +1 -0
- package/Icons/socialIcons/facebookSocialIcon.cjs +41 -0
- package/Icons/socialIcons/facebookSocialIcon.cjs.map +1 -0
- package/Icons/socialIcons/facebookSocialIcon.d.cts +14 -0
- package/Icons/socialIcons/facebookSocialIcon.d.cts.map +1 -0
- package/Icons/socialIcons/facebookSocialIcon.d.mts +14 -0
- package/Icons/socialIcons/facebookSocialIcon.d.mts.map +1 -0
- package/Icons/socialIcons/facebookSocialIcon.mjs +36 -0
- package/Icons/socialIcons/facebookSocialIcon.mjs.map +1 -0
- package/Icons/socialIcons/googleSocialIcon.cjs +135 -0
- package/Icons/socialIcons/googleSocialIcon.cjs.map +1 -0
- package/Icons/socialIcons/googleSocialIcon.d.cts +19 -0
- package/Icons/socialIcons/googleSocialIcon.d.cts.map +1 -0
- package/Icons/socialIcons/googleSocialIcon.d.mts +19 -0
- package/Icons/socialIcons/googleSocialIcon.d.mts.map +1 -0
- package/Icons/socialIcons/googleSocialIcon.mjs +129 -0
- package/Icons/socialIcons/googleSocialIcon.mjs.map +1 -0
- package/Icons.cjs +5489 -0
- package/Icons.cjs.map +1 -0
- package/Icons.d.cts +2 -0
- package/Icons.d.mts +2 -0
- package/Icons.mjs +5335 -0
- package/Icons.mjs.map +1 -0
- package/ImageCluster-BXaQi8SB.d.cts +24 -0
- package/ImageCluster-BXaQi8SB.d.cts.map +1 -0
- package/ImageCluster-BXaQi8SB.d.mts +24 -0
- package/ImageCluster-BXaQi8SB.d.mts.map +1 -0
- package/ImageSlider-BidXfnLj.cjs +861 -0
- package/ImageSlider-BidXfnLj.cjs.map +1 -0
- package/ImageSlider-CDrg_TbL.mjs +838 -0
- package/ImageSlider-CDrg_TbL.mjs.map +1 -0
- package/InfoIconTooltip-CZax9TVq.d.cts +27 -0
- package/InfoIconTooltip-CZax9TVq.d.cts.map +1 -0
- package/InfoIconTooltip-Ca4AHkY2.d.mts +27 -0
- package/InfoIconTooltip-Ca4AHkY2.d.mts.map +1 -0
- package/InfoIconTooltip.cjs +29 -0
- package/InfoIconTooltip.cjs.map +1 -0
- package/InfoIconTooltip.d.cts +2 -0
- package/InfoIconTooltip.d.mts +2 -0
- package/InfoIconTooltip.mjs +25 -0
- package/InfoIconTooltip.mjs.map +1 -0
- package/InlineButton-CRLbNJZ3.d.mts +68 -0
- package/InlineButton-CRLbNJZ3.d.mts.map +1 -0
- package/InlineButton-DoXGLiSE.d.cts +68 -0
- package/InlineButton-DoXGLiSE.d.cts.map +1 -0
- package/InlineNotification--hYpy2m2.d.cts +18 -0
- package/InlineNotification--hYpy2m2.d.cts.map +1 -0
- package/InlineNotification--hYpy2m2.d.mts +18 -0
- package/InlineNotification--hYpy2m2.d.mts.map +1 -0
- package/Input.cjs +104 -0
- package/Input.cjs.map +1 -0
- package/Input.d.cts +2 -0
- package/Input.d.mts +2 -0
- package/Input.mjs +100 -0
- package/Input.mjs.map +1 -0
- package/ItemBadge-D1S8YsIy.d.cts +46 -0
- package/ItemBadge-D1S8YsIy.d.cts.map +1 -0
- package/ItemBadge-D1S8YsIy.d.mts +46 -0
- package/ItemBadge-D1S8YsIy.d.mts.map +1 -0
- package/JumpMenu-BXYZnPIH.cjs +499 -0
- package/JumpMenu-BXYZnPIH.cjs.map +1 -0
- package/JumpMenu-DcZjAiej.mjs +494 -0
- package/JumpMenu-DcZjAiej.mjs.map +1 -0
- package/Links-Ch0YdIz6.d.cts +214 -0
- package/Links-Ch0YdIz6.d.cts.map +1 -0
- package/Links-Ch0YdIz6.d.mts +214 -0
- package/Links-Ch0YdIz6.d.mts.map +1 -0
- package/LiveStatusBadge-D1TX11B6.d.cts +53 -0
- package/LiveStatusBadge-D1TX11B6.d.cts.map +1 -0
- package/LiveStatusBadge-D1TX11B6.d.mts +53 -0
- package/LiveStatusBadge-D1TX11B6.d.mts.map +1 -0
- package/Loading-B9LLlAyM.d.cts +19 -0
- package/Loading-B9LLlAyM.d.cts.map +1 -0
- package/Loading-B9LLlAyM.d.mts +19 -0
- package/Loading-B9LLlAyM.d.mts.map +1 -0
- package/Loading-BL7_u25j.cjs +47 -0
- package/Loading-BL7_u25j.cjs.map +1 -0
- package/Loading-BenQpF_w.mjs +42 -0
- package/Loading-BenQpF_w.mjs.map +1 -0
- package/LoadingSpinner-BWwhuAGb.d.mts +16 -0
- package/LoadingSpinner-BWwhuAGb.d.mts.map +1 -0
- package/LoadingSpinner-DjC4uC_2.d.cts +16 -0
- package/LoadingSpinner-DjC4uC_2.d.cts.map +1 -0
- package/LoadingSpinner.cjs +25 -0
- package/LoadingSpinner.cjs.map +1 -0
- package/LoadingSpinner.d.cts +2 -0
- package/LoadingSpinner.d.mts +2 -0
- package/LoadingSpinner.mjs +21 -0
- package/LoadingSpinner.mjs.map +1 -0
- package/Menu-ClUogmwE.cjs +385 -0
- package/Menu-ClUogmwE.cjs.map +1 -0
- package/Menu-Cxu8CaX1.mjs +368 -0
- package/Menu-Cxu8CaX1.mjs.map +1 -0
- package/Modal-C6gatdtT.mjs +301 -0
- package/Modal-C6gatdtT.mjs.map +1 -0
- package/Modal-CiBqXyiK.cjs +306 -0
- package/Modal-CiBqXyiK.cjs.map +1 -0
- package/Modal-DM0aXJZ5.d.cts +265 -0
- package/Modal-DM0aXJZ5.d.cts.map +1 -0
- package/Modal-DM0aXJZ5.d.mts +265 -0
- package/Modal-DM0aXJZ5.d.mts.map +1 -0
- package/ModalTarget-CD0Nmzfb.d.cts +14 -0
- package/ModalTarget-CD0Nmzfb.d.cts.map +1 -0
- package/ModalTarget-CD0Nmzfb.d.mts +14 -0
- package/ModalTarget-CD0Nmzfb.d.mts.map +1 -0
- package/NotificationBadge-B442UBjI.d.cts +22 -0
- package/NotificationBadge-B442UBjI.d.cts.map +1 -0
- package/NotificationBadge-B442UBjI.d.mts +22 -0
- package/NotificationBadge-B442UBjI.d.mts.map +1 -0
- package/Pagination-DIpGKMLz.mjs +386 -0
- package/Pagination-DIpGKMLz.mjs.map +1 -0
- package/Pagination-bAtbN478.cjs +409 -0
- package/Pagination-bAtbN478.cjs.map +1 -0
- package/PhoneInput-B5pkpkdt.mjs +398 -0
- package/PhoneInput-B5pkpkdt.mjs.map +1 -0
- package/PhoneInput-BXnkBME4.d.mts +70 -0
- package/PhoneInput-BXnkBME4.d.mts.map +1 -0
- package/PhoneInput-Bkrbrins.d.cts +70 -0
- package/PhoneInput-Bkrbrins.d.cts.map +1 -0
- package/PhoneInput-CUMPOSxJ.cjs +408 -0
- package/PhoneInput-CUMPOSxJ.cjs.map +1 -0
- package/ProgressCircle-B2dfVdH-.d.cts +50 -0
- package/ProgressCircle-B2dfVdH-.d.cts.map +1 -0
- package/ProgressCircle-BC81D9sU.cjs +196 -0
- package/ProgressCircle-BC81D9sU.cjs.map +1 -0
- package/ProgressCircle-CxrflaLd.d.mts +50 -0
- package/ProgressCircle-CxrflaLd.d.mts.map +1 -0
- package/ProgressCircle-ae8cvZhe.mjs +191 -0
- package/ProgressCircle-ae8cvZhe.mjs.map +1 -0
- package/ProgressSteps-C3xJUDTs.d.mts +32 -0
- package/ProgressSteps-C3xJUDTs.d.mts.map +1 -0
- package/ProgressSteps-Ls0XahjM.d.cts +32 -0
- package/ProgressSteps-Ls0XahjM.d.cts.map +1 -0
- package/Radio.cjs +13 -0
- package/Radio.d.cts +2 -0
- package/Radio.d.mts +2 -0
- package/Radio.mjs +3 -0
- package/SaveConfetti-DI0MTd63.mjs +179 -0
- package/SaveConfetti-DI0MTd63.mjs.map +1 -0
- package/SaveConfetti-DSJtuE3b.cjs +184 -0
- package/SaveConfetti-DSJtuE3b.cjs.map +1 -0
- package/SearchInput-DYIPC8Cd.d.cts +126 -0
- package/SearchInput-DYIPC8Cd.d.cts.map +1 -0
- package/SearchInput-IfEWePDQ.d.mts +126 -0
- package/SearchInput-IfEWePDQ.d.mts.map +1 -0
- package/SegmentedControl-B5FZ0uX8.cjs +107 -0
- package/SegmentedControl-B5FZ0uX8.cjs.map +1 -0
- package/SegmentedControl-DHf4SQQL.mjs +96 -0
- package/SegmentedControl-DHf4SQQL.mjs.map +1 -0
- package/Select-BXDjzyDs.cjs +248 -0
- package/Select-BXDjzyDs.cjs.map +1 -0
- package/Select-BkZu8OLs.mjs +241 -0
- package/Select-BkZu8OLs.mjs.map +1 -0
- package/Select-g4yFQq1-.d.mts +36 -0
- package/Select-g4yFQq1-.d.mts.map +1 -0
- package/Select-ghtIe-gD.d.cts +36 -0
- package/Select-ghtIe-gD.d.cts.map +1 -0
- package/SelectAsync-267GxTnI.d.cts +11 -0
- package/SelectAsync-267GxTnI.d.cts.map +1 -0
- package/SelectAsync-CLcESc8k.d.mts +11 -0
- package/SelectAsync-CLcESc8k.d.mts.map +1 -0
- package/SelectAsyncCreatable-B2gB_MWk.d.mts +11 -0
- package/SelectAsyncCreatable-B2gB_MWk.d.mts.map +1 -0
- package/SelectAsyncCreatable-BhuvLhbk.d.cts +11 -0
- package/SelectAsyncCreatable-BhuvLhbk.d.cts.map +1 -0
- package/SelectCreatable-C87i1L43.d.cts +11 -0
- package/SelectCreatable-C87i1L43.d.cts.map +1 -0
- package/SelectCreatable-CNVa1sx-.d.mts +11 -0
- package/SelectCreatable-CNVa1sx-.d.mts.map +1 -0
- package/SingleCard-DPaHU2wR.d.mts +19 -0
- package/SingleCard-DPaHU2wR.d.mts.map +1 -0
- package/SingleCard-X1dP0AHZ.d.cts +19 -0
- package/SingleCard-X1dP0AHZ.d.cts.map +1 -0
- package/Skeleton-40Vi20JV.d.cts +15 -0
- package/Skeleton-40Vi20JV.d.cts.map +1 -0
- package/Skeleton-40Vi20JV.d.mts +15 -0
- package/Skeleton-40Vi20JV.d.mts.map +1 -0
- package/SplitButton-DK-LdIwN.d.cts +80 -0
- package/SplitButton-DK-LdIwN.d.cts.map +1 -0
- package/SplitButton-DK-LdIwN.d.mts +80 -0
- package/SplitButton-DK-LdIwN.d.mts.map +1 -0
- package/SplitButton-DcmmLW8j.cjs +184 -0
- package/SplitButton-DcmmLW8j.cjs.map +1 -0
- package/SplitButton-WE5ymwCQ.mjs +179 -0
- package/SplitButton-WE5ymwCQ.mjs.map +1 -0
- package/StarRating-CRGx_jeU.mjs +81 -0
- package/StarRating-CRGx_jeU.mjs.map +1 -0
- package/StarRating-Dski54FS.cjs +86 -0
- package/StarRating-Dski54FS.cjs.map +1 -0
- package/StarRating-Dx1nbkcG.d.mts +89 -0
- package/StarRating-Dx1nbkcG.d.mts.map +1 -0
- package/StarRating-TfkOMATk.d.cts +89 -0
- package/StarRating-TfkOMATk.d.cts.map +1 -0
- package/SuggestionChip-BLq_0VFE.d.cts +13 -0
- package/SuggestionChip-BLq_0VFE.d.cts.map +1 -0
- package/SuggestionChip-CilkTYTJ.d.mts +13 -0
- package/SuggestionChip-CilkTYTJ.d.mts.map +1 -0
- package/Table-CLlDragJ.cjs +500 -0
- package/Table-CLlDragJ.cjs.map +1 -0
- package/Table-M-rANdMt.mjs +495 -0
- package/Table-M-rANdMt.mjs.map +1 -0
- package/Tabs-DRT-IQZk.d.cts +41 -0
- package/Tabs-DRT-IQZk.d.cts.map +1 -0
- package/Tabs-DRT-IQZk.d.mts +41 -0
- package/Tabs-DRT-IQZk.d.mts.map +1 -0
- package/Text-BVoakc0X.d.cts +63 -0
- package/Text-BVoakc0X.d.cts.map +1 -0
- package/Text-OlyNC1yj.d.mts +63 -0
- package/Text-OlyNC1yj.d.mts.map +1 -0
- package/TextArea-C-a06VpC.d.cts +58 -0
- package/TextArea-C-a06VpC.d.cts.map +1 -0
- package/TextArea-CTHcW_IE.d.mts +58 -0
- package/TextArea-CTHcW_IE.d.mts.map +1 -0
- package/TextInput-BhkeQZh4.d.cts +47 -0
- package/TextInput-BhkeQZh4.d.cts.map +1 -0
- package/TextInput-CWCeR18b.d.mts +47 -0
- package/TextInput-CWCeR18b.d.mts.map +1 -0
- package/Thumbnails-B-eOrf55.d.cts +226 -0
- package/Thumbnails-B-eOrf55.d.cts.map +1 -0
- package/Thumbnails-B-eOrf55.d.mts +226 -0
- package/Thumbnails-B-eOrf55.d.mts.map +1 -0
- package/TimePickerTarget-BHceCsfc.cjs +25 -0
- package/TimePickerTarget-BHceCsfc.cjs.map +1 -0
- package/TimePickerTarget-DlbryTho.mjs +14 -0
- package/TimePickerTarget-DlbryTho.mjs.map +1 -0
- package/TimePickerTarget-pYRxAfb2.d.cts +14 -0
- package/TimePickerTarget-pYRxAfb2.d.cts.map +1 -0
- package/TimePickerTarget-pYRxAfb2.d.mts +14 -0
- package/TimePickerTarget-pYRxAfb2.d.mts.map +1 -0
- package/Toast-CPEKESLZ.cjs +107 -0
- package/Toast-CPEKESLZ.cjs.map +1 -0
- package/Toast-CdUaFVpt.mjs +96 -0
- package/Toast-CdUaFVpt.mjs.map +1 -0
- package/ToggleSwitch-D-HRkEg2.d.cts +60 -0
- package/ToggleSwitch-D-HRkEg2.d.cts.map +1 -0
- package/ToggleSwitch-D-HRkEg2.d.mts +60 -0
- package/ToggleSwitch-D-HRkEg2.d.mts.map +1 -0
- package/Tooltip-D6_5Rsmd.d.cts +21 -0
- package/Tooltip-D6_5Rsmd.d.cts.map +1 -0
- package/Tooltip-D6_5Rsmd.d.mts +21 -0
- package/Tooltip-D6_5Rsmd.d.mts.map +1 -0
- package/Tooltip.cjs +38 -0
- package/Tooltip.cjs.map +1 -0
- package/Tooltip.d.cts +2 -0
- package/Tooltip.d.mts +2 -0
- package/Tooltip.mjs +26 -0
- package/Tooltip.mjs.map +1 -0
- package/Typography/InlineButton.cjs +63 -0
- package/Typography/InlineButton.cjs.map +1 -0
- package/Typography/InlineButton.d.cts +2 -0
- package/Typography/InlineButton.d.mts +2 -0
- package/Typography/InlineButton.mjs +59 -0
- package/Typography/InlineButton.mjs.map +1 -0
- package/Typography/Links.cjs +62 -0
- package/Typography/Links.cjs.map +1 -0
- package/Typography/Links.d.cts +2 -0
- package/Typography/Links.d.mts +2 -0
- package/Typography/Links.mjs +51 -0
- package/Typography/Links.mjs.map +1 -0
- package/Typography/Text.cjs +178 -0
- package/Typography/Text.cjs.map +1 -0
- package/Typography/Text.d.cts +2 -0
- package/Typography/Text.d.mts +2 -0
- package/Typography/Text.mjs +163 -0
- package/Typography/Text.mjs.map +1 -0
- package/ViewMore-BBoUvo7p.cjs +138 -0
- package/ViewMore-BBoUvo7p.cjs.map +1 -0
- package/ViewMore-BrZPuE4E.mjs +133 -0
- package/ViewMore-BrZPuE4E.mjs.map +1 -0
- package/ViewMore-DKC9SYL4.d.cts +93 -0
- package/ViewMore-DKC9SYL4.d.cts.map +1 -0
- package/ViewMore-DKC9SYL4.d.mts +93 -0
- package/ViewMore-DKC9SYL4.d.mts.map +1 -0
- package/WebRTCPlayer-C-sTtskR.mjs +940 -0
- package/WebRTCPlayer-C-sTtskR.mjs.map +1 -0
- package/WebRTCPlayer-CssffyCM.cjs +983 -0
- package/WebRTCPlayer-CssffyCM.cjs.map +1 -0
- package/accordion.cjs +126 -0
- package/accordion.cjs.map +1 -0
- package/accordion.d.cts +2 -0
- package/accordion.d.mts +2 -0
- package/accordion.mjs +120 -0
- package/accordion.mjs.map +1 -0
- package/addressDisplay.cjs +7 -0
- package/addressDisplay.d.cts +2 -0
- package/addressDisplay.d.mts +2 -0
- package/addressDisplay.mjs +3 -0
- package/anyIcon-C3IQzJJ9.d.cts +7 -0
- package/anyIcon-C3IQzJJ9.d.cts.map +1 -0
- package/anyIcon-eR07wvJb.d.mts +7 -0
- package/anyIcon-eR07wvJb.d.mts.map +1 -0
- package/automatedCarousel.cjs +7 -0
- package/automatedCarousel.d.cts +2 -0
- package/automatedCarousel.d.mts +2 -0
- package/automatedCarousel.mjs +3 -0
- package/bannerNotification.cjs +7 -0
- package/bannerNotification.d.cts +2 -0
- package/bannerNotification.d.mts +2 -0
- package/bannerNotification.mjs +3 -0
- package/bottomSheet.cjs +7 -0
- package/bottomSheet.d.cts +2 -0
- package/bottomSheet.d.mts +2 -0
- package/bottomSheet.mjs +3 -0
- package/breadcrumbs.cjs +7 -0
- package/breadcrumbs.d.cts +2 -0
- package/breadcrumbs.d.mts +2 -0
- package/breadcrumbs.mjs +3 -0
- package/breakpoints.cjs +53 -0
- package/breakpoints.cjs.map +1 -0
- package/breakpoints.d.cts +2 -0
- package/breakpoints.d.mts +2 -0
- package/breakpoints.mjs +46 -0
- package/breakpoints.mjs.map +1 -0
- package/buttonColorClasses-B7OU4aQA.mjs +22 -0
- package/buttonColorClasses-B7OU4aQA.mjs.map +1 -0
- package/buttonColorClasses-C3hg1at8.cjs +93 -0
- package/buttonColorClasses-C3hg1at8.cjs.map +1 -0
- package/card/cardGrid.cjs +7 -0
- package/card/cardGrid.d.cts +2 -0
- package/card/cardGrid.d.mts +2 -0
- package/card/cardGrid.mjs +3 -0
- package/card/components/createBadge.cjs +27 -0
- package/card/components/createBadge.cjs.map +1 -0
- package/card/components/createBadge.d.cts +2 -0
- package/card/components/createBadge.d.mts +2 -0
- package/card/components/createBadge.mjs +23 -0
- package/card/components/createBadge.mjs.map +1 -0
- package/card/components/createFavoriteButton.cjs +31 -0
- package/card/components/createFavoriteButton.cjs.map +1 -0
- package/card/components/createFavoriteButton.d.cts +2 -0
- package/card/components/createFavoriteButton.d.mts +2 -0
- package/card/components/createFavoriteButton.mjs +27 -0
- package/card/components/createFavoriteButton.mjs.map +1 -0
- package/card/components/createImage.cjs +44 -0
- package/card/components/createImage.cjs.map +1 -0
- package/card/components/createImage.d.cts +2 -0
- package/card/components/createImage.d.mts +2 -0
- package/card/components/createImage.mjs +40 -0
- package/card/components/createImage.mjs.map +1 -0
- package/card/components/createInfo.cjs +61 -0
- package/card/components/createInfo.cjs.map +1 -0
- package/card/components/createInfo.d.cts +2 -0
- package/card/components/createInfo.d.mts +2 -0
- package/card/components/createInfo.mjs +56 -0
- package/card/components/createInfo.mjs.map +1 -0
- package/card/components/createName.cjs +43 -0
- package/card/components/createName.cjs.map +1 -0
- package/card/components/createName.d.cts +2 -0
- package/card/components/createName.d.mts +2 -0
- package/card/components/createName.mjs +39 -0
- package/card/components/createName.mjs.map +1 -0
- package/card/components/createPriceStatus.cjs +77 -0
- package/card/components/createPriceStatus.cjs.map +1 -0
- package/card/components/createPriceStatus.d.cts +2 -0
- package/card/components/createPriceStatus.d.mts +2 -0
- package/card/components/createPriceStatus.mjs +70 -0
- package/card/components/createPriceStatus.mjs.map +1 -0
- package/card/factory.cjs +7 -0
- package/card/factory.d.cts +3 -0
- package/card/factory.d.mts +3 -0
- package/card/factory.mjs +3 -0
- package/card/singleCard.cjs +18 -0
- package/card/singleCard.cjs.map +1 -0
- package/card/singleCard.d.cts +2 -0
- package/card/singleCard.d.mts +2 -0
- package/card/singleCard.mjs +14 -0
- package/card/singleCard.mjs.map +1 -0
- package/cardFactory-B0Ah0Qb8.mjs +102 -0
- package/cardFactory-B0Ah0Qb8.mjs.map +1 -0
- package/cardFactory-CEKTSSXs.d.cts +37 -0
- package/cardFactory-CEKTSSXs.d.cts.map +1 -0
- package/cardFactory-DTU3jY-R.cjs +107 -0
- package/cardFactory-DTU3jY-R.cjs.map +1 -0
- package/cardFactory-Z5a675Nr.d.mts +37 -0
- package/cardFactory-Z5a675Nr.d.mts.map +1 -0
- package/carousel.cjs +10 -0
- package/carousel.d.cts +2 -0
- package/carousel.d.mts +2 -0
- package/carousel.mjs +3 -0
- package/chipTypes-Bi0ZROty.d.cts +109 -0
- package/chipTypes-Bi0ZROty.d.cts.map +1 -0
- package/chipTypes-Bi0ZROty.d.mts +109 -0
- package/chipTypes-Bi0ZROty.d.mts.map +1 -0
- package/chips/chip.cjs +102 -0
- package/chips/chip.cjs.map +1 -0
- package/chips/chip.d.cts +2 -0
- package/chips/chip.d.mts +2 -0
- package/chips/chip.mjs +98 -0
- package/chips/chip.mjs.map +1 -0
- package/chips/chipGroup.cjs +127 -0
- package/chips/chipGroup.cjs.map +1 -0
- package/chips/chipGroup.d.cts +2 -0
- package/chips/chipGroup.d.mts +2 -0
- package/chips/chipGroup.mjs +123 -0
- package/chips/chipGroup.mjs.map +1 -0
- package/chips/suggestion.cjs +20 -0
- package/chips/suggestion.cjs.map +1 -0
- package/chips/suggestion.d.cts +2 -0
- package/chips/suggestion.d.mts +2 -0
- package/chips/suggestion.mjs +16 -0
- package/chips/suggestion.mjs.map +1 -0
- package/chips/types.cjs +1 -0
- package/chips/types.d.cts +2 -0
- package/chips/types.d.mts +2 -0
- package/chips/types.mjs +2 -0
- package/chips.cjs +12 -0
- package/chips.d.cts +5 -0
- package/chips.d.mts +5 -0
- package/chips.mjs +6 -0
- package/collapsible.cjs +47 -0
- package/collapsible.cjs.map +1 -0
- package/collapsible.d.cts +2 -0
- package/collapsible.d.mts +2 -0
- package/collapsible.mjs +43 -0
- package/collapsible.mjs.map +1 -0
- package/components-BPFB_cmZ.mjs +346 -0
- package/components-BPFB_cmZ.mjs.map +1 -0
- package/components-CL4KcKF0.cjs +393 -0
- package/components-CL4KcKF0.cjs.map +1 -0
- package/confetti.cjs +7 -0
- package/confetti.d.cts +2 -0
- package/confetti.d.mts +2 -0
- package/confetti.mjs +3 -0
- package/contentPager.cjs +9 -0
- package/contentPager.d.cts +2 -0
- package/contentPager.d.mts +2 -0
- package/contentPager.mjs +3 -0
- package/context--_0mDNFa.d.cts +24 -0
- package/context--_0mDNFa.d.cts.map +1 -0
- package/context--_0mDNFa.d.mts +24 -0
- package/context--_0mDNFa.d.mts.map +1 -0
- package/cookieConsent.cjs +11 -0
- package/cookieConsent.d.cts +2 -0
- package/cookieConsent.d.mts +2 -0
- package/cookieConsent.mjs +3 -0
- package/countdown/types.cjs +1 -0
- package/countdown/types.d.cts +2 -0
- package/countdown/types.d.mts +2 -0
- package/countdown/types.mjs +2 -0
- package/countdown.cjs +7 -0
- package/countdown.d.cts +2 -0
- package/countdown.d.mts +2 -0
- package/countdown.mjs +3 -0
- package/createBadge-CYumy92O.d.mts +19 -0
- package/createBadge-CYumy92O.d.mts.map +1 -0
- package/createBadge-LFbUXGlB.d.cts +19 -0
- package/createBadge-LFbUXGlB.d.cts.map +1 -0
- package/createFavoriteButton-8xbCWiTD.d.mts +21 -0
- package/createFavoriteButton-8xbCWiTD.d.mts.map +1 -0
- package/createFavoriteButton-Bnp0UOEq.d.cts +21 -0
- package/createFavoriteButton-Bnp0UOEq.d.cts.map +1 -0
- package/createImage-BYnNgRok.d.mts +26 -0
- package/createImage-BYnNgRok.d.mts.map +1 -0
- package/createImage-DYLD7AJb.d.cts +26 -0
- package/createImage-DYLD7AJb.d.cts.map +1 -0
- package/createInfo-C9sqGWBq.d.mts +44 -0
- package/createInfo-C9sqGWBq.d.mts.map +1 -0
- package/createInfo-USBqE7Tt.d.cts +44 -0
- package/createInfo-USBqE7Tt.d.cts.map +1 -0
- package/createName-DB7BL9GP.d.cts +26 -0
- package/createName-DB7BL9GP.d.cts.map +1 -0
- package/createName-U7oHRNVL.d.mts +26 -0
- package/createName-U7oHRNVL.d.mts.map +1 -0
- package/createPriceStatus-C-amebFt.d.cts +30 -0
- package/createPriceStatus-C-amebFt.d.cts.map +1 -0
- package/createPriceStatus-DBWT6ob8.d.mts +30 -0
- package/createPriceStatus-DBWT6ob8.d.mts.map +1 -0
- package/dateInput.cjs +98 -0
- package/dateInput.cjs.map +1 -0
- package/dateInput.d.cts +2 -0
- package/dateInput.d.mts +2 -0
- package/dateInput.mjs +94 -0
- package/dateInput.mjs.map +1 -0
- package/datePicker-DQ32Z8yo.mjs +136 -0
- package/datePicker-DQ32Z8yo.mjs.map +1 -0
- package/datePicker-DaYegd15.cjs +141 -0
- package/datePicker-DaYegd15.cjs.map +1 -0
- package/datePicker.cjs +9 -0
- package/datePicker.d.cts +3 -0
- package/datePicker.d.mts +3 -0
- package/datePicker.mjs +4 -0
- package/dateTimeInput/utils.cjs +8 -0
- package/dateTimeInput/utils.d.cts +2 -0
- package/dateTimeInput/utils.d.mts +2 -0
- package/dateTimeInput/utils.mjs +3 -0
- package/drawer.cjs +7 -0
- package/drawer.d.cts +2 -0
- package/drawer.d.mts +2 -0
- package/drawer.mjs +3 -0
- package/educationalPopover.cjs +110 -0
- package/educationalPopover.cjs.map +1 -0
- package/educationalPopover.d.cts +2 -0
- package/educationalPopover.d.mts +2 -0
- package/educationalPopover.mjs +106 -0
- package/educationalPopover.mjs.map +1 -0
- package/effectEventListener-DmVY5Sgy.cjs +16 -0
- package/effectEventListener-DmVY5Sgy.cjs.map +1 -0
- package/effectEventListener-WApakaup.mjs +11 -0
- package/effectEventListener-WApakaup.mjs.map +1 -0
- package/favoriteButton.cjs +7 -0
- package/favoriteButton.d.cts +2 -0
- package/favoriteButton.d.mts +2 -0
- package/favoriteButton.mjs +3 -0
- package/featureFlagProvider-Cl66ibpA.cjs +25 -0
- package/featureFlagProvider-Cl66ibpA.cjs.map +1 -0
- package/featureFlagProvider-_wGBROhw.mjs +14 -0
- package/featureFlagProvider-_wGBROhw.mjs.map +1 -0
- package/featureFlags/devTools/FeatureFlagDevToolsUI.cjs +7 -0
- package/featureFlags/devTools/FeatureFlagDevToolsUI.d.cts +2 -0
- package/featureFlags/devTools/FeatureFlagDevToolsUI.d.mts +2 -0
- package/featureFlags/devTools/FeatureFlagDevToolsUI.mjs +3 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.cjs +27 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.cjs.map +1 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.d.cts +15 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.d.cts.map +1 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.d.mts +15 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.d.mts.map +1 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.mjs +23 -0
- package/featureFlags/devTools/getFeatureFlagCookieOverrides.mjs.map +1 -0
- package/featureFlags/hooks.cjs +9 -0
- package/featureFlags/hooks.d.cts +2 -0
- package/featureFlags/hooks.d.mts +2 -0
- package/featureFlags/hooks.mjs +4 -0
- package/fileUpload/hooks.cjs +8 -0
- package/fileUpload/hooks.d.cts +2 -0
- package/fileUpload/hooks.d.mts +2 -0
- package/fileUpload/hooks.mjs +3 -0
- package/fileUpload/testUtils/mockFilesAndImages.cjs +68 -0
- package/fileUpload/testUtils/mockFilesAndImages.cjs.map +1 -0
- package/fileUpload/testUtils/mockFilesAndImages.d.cts +19 -0
- package/fileUpload/testUtils/mockFilesAndImages.d.cts.map +1 -0
- package/fileUpload/testUtils/mockFilesAndImages.d.mts +19 -0
- package/fileUpload/testUtils/mockFilesAndImages.d.mts.map +1 -0
- package/fileUpload/testUtils/mockFilesAndImages.mjs +52 -0
- package/fileUpload/testUtils/mockFilesAndImages.mjs.map +1 -0
- package/fileUpload/testUtils/testUtils.cjs +91 -0
- package/fileUpload/testUtils/testUtils.cjs.map +1 -0
- package/fileUpload/testUtils/testUtils.d.cts +13 -0
- package/fileUpload/testUtils/testUtils.d.cts.map +1 -0
- package/fileUpload/testUtils/testUtils.d.mts +13 -0
- package/fileUpload/testUtils/testUtils.d.mts.map +1 -0
- package/fileUpload/testUtils/testUtils.mjs +81 -0
- package/fileUpload/testUtils/testUtils.mjs.map +1 -0
- package/fileUpload/types.cjs +31 -0
- package/fileUpload/types.cjs.map +1 -0
- package/fileUpload/types.d.cts +2 -0
- package/fileUpload/types.d.mts +2 -0
- package/fileUpload/types.mjs +26 -0
- package/fileUpload/types.mjs.map +1 -0
- package/fileUpload.cjs +24 -0
- package/fileUpload.d.cts +4 -0
- package/fileUpload.d.mts +4 -0
- package/fileUpload.mjs +4 -0
- package/formLabel.cjs +108 -0
- package/formLabel.cjs.map +1 -0
- package/formLabel.d.cts +2 -0
- package/formLabel.d.mts +2 -0
- package/formLabel.mjs +103 -0
- package/formLabel.mjs.map +1 -0
- package/grid.cjs +128 -0
- package/grid.cjs.map +1 -0
- package/grid.d.cts +3 -0
- package/grid.d.mts +3 -0
- package/grid.mjs +118 -0
- package/grid.mjs.map +1 -0
- package/gridHighlighter-BU9PvG5f.d.cts +29 -0
- package/gridHighlighter-BU9PvG5f.d.cts.map +1 -0
- package/gridHighlighter-BU9PvG5f.d.mts +29 -0
- package/gridHighlighter-BU9PvG5f.d.mts.map +1 -0
- package/gridHighlighter-BcGNd3EE.mjs +55 -0
- package/gridHighlighter-BcGNd3EE.mjs.map +1 -0
- package/gridHighlighter-BiSMM7lW.cjs +66 -0
- package/gridHighlighter-BiSMM7lW.cjs.map +1 -0
- package/hooks/usePrevious.cjs +21 -0
- package/hooks/usePrevious.cjs.map +1 -0
- package/hooks/usePrevious.d.cts +2 -0
- package/hooks/usePrevious.d.mts +2 -0
- package/hooks/usePrevious.mjs +17 -0
- package/hooks/usePrevious.mjs.map +1 -0
- package/hooks-8VsDqwlb.cjs +672 -0
- package/hooks-8VsDqwlb.cjs.map +1 -0
- package/hooks-BudbgYTF.mjs +22 -0
- package/hooks-BudbgYTF.mjs.map +1 -0
- package/hooks-D4sJ62Xl.mjs +607 -0
- package/hooks-D4sJ62Xl.mjs.map +1 -0
- package/hooks-DDMD_CDN.cjs +27 -0
- package/hooks-DDMD_CDN.cjs.map +1 -0
- package/horizontalScrollFadeMixin-BBr1qJpj.mjs +38 -0
- package/horizontalScrollFadeMixin-BBr1qJpj.mjs.map +1 -0
- package/horizontalScrollFadeMixin-ChYR-9hE.cjs +43 -0
- package/horizontalScrollFadeMixin-ChYR-9hE.cjs.map +1 -0
- package/imageCluster.cjs +54 -0
- package/imageCluster.cjs.map +1 -0
- package/imageCluster.d.cts +2 -0
- package/imageCluster.d.mts +2 -0
- package/imageCluster.mjs +50 -0
- package/imageCluster.mjs.map +1 -0
- package/imageSlider.cjs +10 -0
- package/imageSlider.d.cts +2 -0
- package/imageSlider.d.mts +2 -0
- package/imageSlider.mjs +3 -0
- package/index-3V0Y3AU3.d.mts +25 -0
- package/index-3V0Y3AU3.d.mts.map +1 -0
- package/index-9649Aqry.d.cts +84 -0
- package/index-9649Aqry.d.cts.map +1 -0
- package/index-9649Aqry.d.mts +84 -0
- package/index-9649Aqry.d.mts.map +1 -0
- package/index-B-GVogfk2.d.mts +519 -0
- package/index-B-GVogfk2.d.mts.map +1 -0
- package/index-BAR19_eg.d.cts +494 -0
- package/index-BAR19_eg.d.cts.map +1 -0
- package/index-BAR19_eg.d.mts +494 -0
- package/index-BAR19_eg.d.mts.map +1 -0
- package/index-BIbZcTRq.d.cts +236 -0
- package/index-BIbZcTRq.d.cts.map +1 -0
- package/index-BVb-FJDo.d.mts +322 -0
- package/index-BVb-FJDo.d.mts.map +1 -0
- package/index-BXz3rMMk.d.cts +322 -0
- package/index-BXz3rMMk.d.cts.map +1 -0
- package/index-Bm-eSWuV.d.mts +75 -0
- package/index-Bm-eSWuV.d.mts.map +1 -0
- package/index-BsA0Oogf.d.cts +75 -0
- package/index-BsA0Oogf.d.cts.map +1 -0
- package/index-Bu7c6X7O.d.mts +117 -0
- package/index-Bu7c6X7O.d.mts.map +1 -0
- package/index-BvJOKeoD.d.cts +94 -0
- package/index-BvJOKeoD.d.cts.map +1 -0
- package/index-BvJOKeoD.d.mts +94 -0
- package/index-BvJOKeoD.d.mts.map +1 -0
- package/index-ByYgcpRS.d.cts +1644 -0
- package/index-ByYgcpRS.d.cts.map +1 -0
- package/index-ByZJ4iMT2.d.mts +143 -0
- package/index-ByZJ4iMT2.d.mts.map +1 -0
- package/index-BzN9RaXe.d.cts +117 -0
- package/index-BzN9RaXe.d.cts.map +1 -0
- package/index-C1knx8x3.d.cts +8 -0
- package/index-C1knx8x3.d.cts.map +1 -0
- package/index-C1knx8x3.d.mts +8 -0
- package/index-C1knx8x3.d.mts.map +1 -0
- package/index-CEUCcUr8.d.mts +26 -0
- package/index-CEUCcUr8.d.mts.map +1 -0
- package/index-CQb7B4U7.d.mts +25 -0
- package/index-CQb7B4U7.d.mts.map +1 -0
- package/index-CTGvafCc.d.mts +68 -0
- package/index-CTGvafCc.d.mts.map +1 -0
- package/index-CTfIOH2Z2.d.cts +519 -0
- package/index-CTfIOH2Z2.d.cts.map +1 -0
- package/index-CXbRJmrm.d.cts +49 -0
- package/index-CXbRJmrm.d.cts.map +1 -0
- package/index-CXbRJmrm.d.mts +49 -0
- package/index-CXbRJmrm.d.mts.map +1 -0
- package/index-Co9X1Vty.d.cts +25 -0
- package/index-Co9X1Vty.d.cts.map +1 -0
- package/index-D1Zpm1h7.d.cts +58 -0
- package/index-D1Zpm1h7.d.cts.map +1 -0
- package/index-D1Zpm1h7.d.mts +58 -0
- package/index-D1Zpm1h7.d.mts.map +1 -0
- package/index-D2HDrkK3.d.cts +172 -0
- package/index-D2HDrkK3.d.cts.map +1 -0
- package/index-D2HDrkK3.d.mts +172 -0
- package/index-D2HDrkK3.d.mts.map +1 -0
- package/index-D8NtFEaq.d.cts +193 -0
- package/index-D8NtFEaq.d.cts.map +1 -0
- package/index-D8NtFEaq.d.mts +193 -0
- package/index-D8NtFEaq.d.mts.map +1 -0
- package/index-DBYqF9Sr.d.cts +39 -0
- package/index-DBYqF9Sr.d.cts.map +1 -0
- package/index-DS-jIZFO.d.mts +1644 -0
- package/index-DS-jIZFO.d.mts.map +1 -0
- package/index-DTEgNDXq.d.mts +111 -0
- package/index-DTEgNDXq.d.mts.map +1 -0
- package/index-DTEgNDXq2.d.cts +111 -0
- package/index-DTEgNDXq2.d.cts.map +1 -0
- package/index-DUdcrvAe.d.cts +26 -0
- package/index-DUdcrvAe.d.cts.map +1 -0
- package/index-DUdcrvAe.d.mts +26 -0
- package/index-DUdcrvAe.d.mts.map +1 -0
- package/index-DwA_GqJq.d.cts +26 -0
- package/index-DwA_GqJq.d.cts.map +1 -0
- package/index-MX_CgDGs.d.cts +147 -0
- package/index-MX_CgDGs.d.cts.map +1 -0
- package/index-MX_CgDGs.d.mts +147 -0
- package/index-MX_CgDGs.d.mts.map +1 -0
- package/index-NeSBj5ci.d.cts +200 -0
- package/index-NeSBj5ci.d.cts.map +1 -0
- package/index-NeSBj5ci.d.mts +200 -0
- package/index-NeSBj5ci.d.mts.map +1 -0
- package/index-XZwBshBM.d.cts +177 -0
- package/index-XZwBshBM.d.cts.map +1 -0
- package/index-XZwBshBM.d.mts +177 -0
- package/index-XZwBshBM.d.mts.map +1 -0
- package/index-dpfLYhgI.d.mts +39 -0
- package/index-dpfLYhgI.d.mts.map +1 -0
- package/index-kchg551L.d.cts +25 -0
- package/index-kchg551L.d.cts.map +1 -0
- package/index-l7Awc0i3.d.cts +68 -0
- package/index-l7Awc0i3.d.cts.map +1 -0
- package/index-ojxI7tqs.d.cts +143 -0
- package/index-ojxI7tqs.d.cts.map +1 -0
- package/index-otqj7yHa.d.mts +236 -0
- package/index-otqj7yHa.d.mts.map +1 -0
- package/index.cjs +472 -0
- package/index.d.cts +101 -0
- package/index.d.mts +101 -0
- package/index.mjs +99 -0
- package/inlineNotification.cjs +82 -0
- package/inlineNotification.cjs.map +1 -0
- package/inlineNotification.d.cts +2 -0
- package/inlineNotification.d.mts +2 -0
- package/inlineNotification.mjs +78 -0
- package/inlineNotification.mjs.map +1 -0
- package/intl/utils.cjs +41 -0
- package/intl/utils.cjs.map +1 -0
- package/intl/utils.d.cts +18 -0
- package/intl/utils.d.cts.map +1 -0
- package/intl/utils.d.mts +18 -0
- package/intl/utils.d.mts.map +1 -0
- package/intl/utils.mjs +34 -0
- package/intl/utils.mjs.map +1 -0
- package/intl.cjs +34 -0
- package/intl.d.cts +5 -0
- package/intl.d.mts +5 -0
- package/intl.mjs +6 -0
- package/jumpMenu.cjs +7 -0
- package/jumpMenu.d.cts +2 -0
- package/jumpMenu.d.mts +2 -0
- package/jumpMenu.mjs +3 -0
- package/loading.cjs +7 -0
- package/loading.d.cts +2 -0
- package/loading.d.mts +2 -0
- package/loading.mjs +3 -0
- package/menu.cjs +9 -0
- package/menu.d.cts +2 -0
- package/menu.d.mts +2 -0
- package/menu.mjs +3 -0
- package/menuContext-4P6eKzkH.mjs +14 -0
- package/menuContext-4P6eKzkH.mjs.map +1 -0
- package/menuContext-B6MhMBDf.cjs +25 -0
- package/menuContext-B6MhMBDf.cjs.map +1 -0
- package/mixins-CoXneD1m.mjs +235 -0
- package/mixins-CoXneD1m.mjs.map +1 -0
- package/mixins-D56ptENc.cjs +282 -0
- package/mixins-D56ptENc.cjs.map +1 -0
- package/mixins.cjs +13 -0
- package/mixins.d.cts +2 -0
- package/mixins.d.mts +2 -0
- package/mixins.mjs +2 -0
- package/modal/components.cjs +16 -0
- package/modal/components.d.cts +3 -0
- package/modal/components.d.mts +3 -0
- package/modal/components.mjs +4 -0
- package/modal/context.cjs +26 -0
- package/modal/context.cjs.map +1 -0
- package/modal/context.d.cts +2 -0
- package/modal/context.d.mts +2 -0
- package/modal/context.mjs +21 -0
- package/modal/context.mjs.map +1 -0
- package/modal/useCloseModal.cjs +103 -0
- package/modal/useCloseModal.cjs.map +1 -0
- package/modal/useCloseModal.d.cts +2 -0
- package/modal/useCloseModal.d.mts +2 -0
- package/modal/useCloseModal.mjs +98 -0
- package/modal/useCloseModal.mjs.map +1 -0
- package/modal.cjs +7 -0
- package/modal.d.cts +2 -0
- package/modal.d.mts +2 -0
- package/modal.mjs +3 -0
- package/nodeEnv-B4v61vkJ.mjs +6 -0
- package/nodeEnv-B4v61vkJ.mjs.map +1 -0
- package/nodeEnv-BdQ-HyQz.cjs +11 -0
- package/nodeEnv-BdQ-HyQz.cjs.map +1 -0
- package/notificationBadge.cjs +24 -0
- package/notificationBadge.cjs.map +1 -0
- package/notificationBadge.d.cts +2 -0
- package/notificationBadge.d.mts +2 -0
- package/notificationBadge.mjs +20 -0
- package/notificationBadge.mjs.map +1 -0
- package/package.json +73 -0
- package/pagination.cjs +10 -0
- package/pagination.d.cts +2 -0
- package/pagination.d.mts +2 -0
- package/pagination.mjs +3 -0
- package/phoneInput.cjs +34 -0
- package/phoneInput.d.cts +5 -0
- package/phoneInput.d.mts +5 -0
- package/phoneInput.mjs +6 -0
- package/progressCircle.cjs +7 -0
- package/progressCircle.d.cts +2 -0
- package/progressCircle.d.mts +2 -0
- package/progressCircle.mjs +3 -0
- package/progressSteps.cjs +92 -0
- package/progressSteps.cjs.map +1 -0
- package/progressSteps.d.cts +2 -0
- package/progressSteps.d.mts +2 -0
- package/progressSteps.mjs +88 -0
- package/progressSteps.mjs.map +1 -0
- package/providers.cjs +333 -0
- package/providers.cjs.map +1 -0
- package/providers.d.cts +5 -0
- package/providers.d.mts +5 -0
- package/providers.mjs +292 -0
- package/providers.mjs.map +1 -0
- package/rolldown-runtime-D6vf50IK.cjs +28 -0
- package/saveConfetti.cjs +7 -0
- package/saveConfetti.d.cts +2 -0
- package/saveConfetti.d.mts +2 -0
- package/saveConfetti.mjs +3 -0
- package/searchInput.cjs +92 -0
- package/searchInput.cjs.map +1 -0
- package/searchInput.d.cts +2 -0
- package/searchInput.d.mts +2 -0
- package/searchInput.mjs +88 -0
- package/searchInput.mjs.map +1 -0
- package/segmentedControl.cjs +8 -0
- package/segmentedControl.d.cts +2 -0
- package/segmentedControl.d.mts +2 -0
- package/segmentedControl.mjs +3 -0
- package/select.cjs +9 -0
- package/select.d.cts +2 -0
- package/select.d.mts +2 -0
- package/select.mjs +3 -0
- package/selectAsync.cjs +20 -0
- package/selectAsync.cjs.map +1 -0
- package/selectAsync.d.cts +2 -0
- package/selectAsync.d.mts +2 -0
- package/selectAsync.mjs +14 -0
- package/selectAsync.mjs.map +1 -0
- package/selectAsyncCreatable.cjs +19 -0
- package/selectAsyncCreatable.cjs.map +1 -0
- package/selectAsyncCreatable.d.cts +2 -0
- package/selectAsyncCreatable.d.mts +2 -0
- package/selectAsyncCreatable.mjs +13 -0
- package/selectAsyncCreatable.mjs.map +1 -0
- package/selectComponents.cjs +12 -0
- package/selectComponents.d.cts +2 -0
- package/selectComponents.d.mts +2 -0
- package/selectComponents.mjs +3 -0
- package/selectCreatable.cjs +19 -0
- package/selectCreatable.cjs.map +1 -0
- package/selectCreatable.d.cts +2 -0
- package/selectCreatable.d.mts +2 -0
- package/selectCreatable.mjs +13 -0
- package/selectCreatable.mjs.map +1 -0
- package/sharedProps-D7PSXdXt.d.mts +16 -0
- package/sharedProps-D7PSXdXt.d.mts.map +1 -0
- package/sharedProps-DPhLON6O.d.cts +16 -0
- package/sharedProps-DPhLON6O.d.cts.map +1 -0
- package/skeleton.cjs +24 -0
- package/skeleton.cjs.map +1 -0
- package/skeleton.d.cts +2 -0
- package/skeleton.d.mts +2 -0
- package/skeleton.mjs +18 -0
- package/skeleton.mjs.map +1 -0
- package/spacing.cjs +27 -0
- package/spacing.cjs.map +1 -0
- package/spacing.d.cts +13 -0
- package/spacing.d.cts.map +1 -0
- package/spacing.d.mts +13 -0
- package/spacing.d.mts.map +1 -0
- package/spacing.mjs +15 -0
- package/spacing.mjs.map +1 -0
- package/splitButton.cjs +7 -0
- package/splitButton.d.cts +2 -0
- package/splitButton.d.mts +2 -0
- package/splitButton.mjs +3 -0
- package/starRating.cjs +7 -0
- package/starRating.d.cts +2 -0
- package/starRating.d.mts +2 -0
- package/starRating.mjs +3 -0
- package/table.cjs +7 -0
- package/table.d.cts +2 -0
- package/table.d.mts +2 -0
- package/table.mjs +3 -0
- package/tabs.cjs +191 -0
- package/tabs.cjs.map +1 -0
- package/tabs.d.cts +2 -0
- package/tabs.d.mts +2 -0
- package/tabs.mjs +187 -0
- package/tabs.mjs.map +1 -0
- package/textArea.cjs +75 -0
- package/textArea.cjs.map +1 -0
- package/textArea.d.cts +2 -0
- package/textArea.d.mts +2 -0
- package/textArea.mjs +71 -0
- package/textArea.mjs.map +1 -0
- package/textInput.cjs +7 -0
- package/textInput.d.cts +2 -0
- package/textInput.d.mts +2 -0
- package/textInput.mjs +3 -0
- package/timePicker-BPrJk5TQ.mjs +376 -0
- package/timePicker-BPrJk5TQ.mjs.map +1 -0
- package/timePicker-Bs25zweI.cjs +381 -0
- package/timePicker-Bs25zweI.cjs.map +1 -0
- package/timePicker.cjs +9 -0
- package/timePicker.d.cts +3 -0
- package/timePicker.d.mts +3 -0
- package/timePicker.mjs +4 -0
- package/toast.cjs +8 -0
- package/toast.d.cts +2 -0
- package/toast.d.mts +2 -0
- package/toast.mjs +3 -0
- package/toggleSwitch.cjs +95 -0
- package/toggleSwitch.cjs.map +1 -0
- package/toggleSwitch.d.cts +2 -0
- package/toggleSwitch.d.mts +2 -0
- package/toggleSwitch.mjs +91 -0
- package/toggleSwitch.mjs.map +1 -0
- package/types-rTX1-GHe.d.cts +8 -0
- package/types-rTX1-GHe.d.cts.map +1 -0
- package/types-rTX1-GHe.d.mts +8 -0
- package/types-rTX1-GHe.d.mts.map +1 -0
- package/types-wcNSa96H.d.cts +60 -0
- package/types-wcNSa96H.d.cts.map +1 -0
- package/types-wcNSa96H.d.mts +60 -0
- package/types-wcNSa96H.d.mts.map +1 -0
- package/useCloseModal-CIPrwKwM.d.cts +26 -0
- package/useCloseModal-CIPrwKwM.d.cts.map +1 -0
- package/useCloseModal-CIPrwKwM.d.mts +26 -0
- package/useCloseModal-CIPrwKwM.d.mts.map +1 -0
- package/useFeatureFlags--GRuT9Qc.cjs +24 -0
- package/useFeatureFlags--GRuT9Qc.cjs.map +1 -0
- package/useFeatureFlags-Dmf_37f8.mjs +19 -0
- package/useFeatureFlags-Dmf_37f8.mjs.map +1 -0
- package/useIntersectionObserver-Q6Y3c3sz.mjs +47 -0
- package/useIntersectionObserver-Q6Y3c3sz.mjs.map +1 -0
- package/useIntersectionObserver-oYkZjzFF.cjs +52 -0
- package/useIntersectionObserver-oYkZjzFF.cjs.map +1 -0
- package/usePrevious-DLOWI2sB.d.cts +8 -0
- package/usePrevious-DLOWI2sB.d.cts.map +1 -0
- package/usePrevious-DLOWI2sB.d.mts +8 -0
- package/usePrevious-DLOWI2sB.d.mts.map +1 -0
- package/utils/dateTimeFormat.cjs +217 -0
- package/utils/dateTimeFormat.cjs.map +1 -0
- package/utils/dateTimeFormat.d.cts +176 -0
- package/utils/dateTimeFormat.d.cts.map +1 -0
- package/utils/dateTimeFormat.d.mts +176 -0
- package/utils/dateTimeFormat.d.mts.map +1 -0
- package/utils/dateTimeFormat.mjs +199 -0
- package/utils/dateTimeFormat.mjs.map +1 -0
- package/utils/formatFileSize.cjs +24 -0
- package/utils/formatFileSize.cjs.map +1 -0
- package/utils/formatFileSize.d.cts +5 -0
- package/utils/formatFileSize.d.cts.map +1 -0
- package/utils/formatFileSize.d.mts +5 -0
- package/utils/formatFileSize.d.mts.map +1 -0
- package/utils/formatFileSize.mjs +20 -0
- package/utils/formatFileSize.mjs.map +1 -0
- package/utils-C6Ngn6x9.mjs +23 -0
- package/utils-C6Ngn6x9.mjs.map +1 -0
- package/utils-CvmfGpqu.cjs +34 -0
- package/utils-CvmfGpqu.cjs.map +1 -0
- package/viewMore.cjs +7 -0
- package/viewMore.d.cts +2 -0
- package/viewMore.d.mts +2 -0
- package/viewMore.mjs +3 -0
- package/webRTCPlayer.cjs +13 -0
- package/webRTCPlayer.d.cts +2 -0
- package/webRTCPlayer.d.mts +2 -0
- package/webRTCPlayer.mjs +3 -0
- package/windowSizeProvider-BMaATFiZ.cjs +147 -0
- package/windowSizeProvider-BMaATFiZ.cjs.map +1 -0
- package/windowSizeProvider-sYwAqaOy.mjs +64 -0
- package/windowSizeProvider-sYwAqaOy.mjs.map +1 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { cn } from "@evolve.ui/theme-system";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/Typography/Links/Links.tsx
|
|
6
|
+
function factory(classes) {
|
|
7
|
+
return forwardRef(({ as: Component = "a", className, disabled, href, navigate, onClick, size = "md", ...rest }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(Component, {
|
|
9
|
+
"aria-disabled": disabled,
|
|
10
|
+
className: cn("cursor-pointer outline-offset-2 transition-colors hover:underline aria-disabled:cursor-not-allowed aria-disabled:text-link-disabled", {
|
|
11
|
+
"hui-link-md": size === "md",
|
|
12
|
+
"hui-link-sm": size === "sm",
|
|
13
|
+
"hui-link-xs": size === "xs"
|
|
14
|
+
}, classes, className),
|
|
15
|
+
href,
|
|
16
|
+
onClick: (e) => {
|
|
17
|
+
if (disabled) {
|
|
18
|
+
e.preventDefault();
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (onClick) onClick(e);
|
|
22
|
+
if (e.defaultPrevented || !href) return;
|
|
23
|
+
if (href.startsWith("#") || /^\w+:/.test(href) || rest.target === "_blank") return;
|
|
24
|
+
if (navigate) navigate(href)(e);
|
|
25
|
+
},
|
|
26
|
+
ref,
|
|
27
|
+
tabIndex: 0,
|
|
28
|
+
...rest
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
const Link = factory("underline text-link-primary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
33
|
+
Link.displayName = "Link";
|
|
34
|
+
const WeakLink = factory("underline text-link-secondary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
35
|
+
WeakLink.displayName = "WeakLink";
|
|
36
|
+
const MonochromeLink = factory("underline text-link-monochrome hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
37
|
+
MonochromeLink.displayName = "MonochromeLink";
|
|
38
|
+
const InverseLink = factory("underline text-link-inverse hui-focus-visible-outline-inverse");
|
|
39
|
+
InverseLink.displayName = "InverseLink";
|
|
40
|
+
const SubtleLink = factory("text-link-primary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
41
|
+
SubtleLink.displayName = "SubtleLink";
|
|
42
|
+
const SubtleWeakLink = factory("text-link-secondary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
43
|
+
SubtleWeakLink.displayName = "SubtleWeakLink";
|
|
44
|
+
const SubtleMonochromeLink = factory("text-link-monochrome hover:text-link-hover active:text-link-pressed hui-focus-visible-outline");
|
|
45
|
+
SubtleMonochromeLink.displayName = "SubtleMonochromeLink";
|
|
46
|
+
const SubtleInverseLink = factory("text-link-inverse hui-focus-visible-outline-inverse");
|
|
47
|
+
SubtleInverseLink.displayName = "SubtleInverseLink";
|
|
48
|
+
//#endregion
|
|
49
|
+
export { InverseLink, Link, MonochromeLink, SubtleInverseLink, SubtleLink, SubtleMonochromeLink, SubtleWeakLink, WeakLink };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=Links.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Links.mjs","names":[],"sources":["../../src/Typography/Links/Links.tsx"],"sourcesContent":["import { cn } from '@evolve.ui/theme-system';\nimport { forwardRef, HTMLProps, ElementType } from 'react';\n\nfunction factory(classes: string) {\n return forwardRef<\n HTMLAnchorElement,\n Omit<HTMLProps<HTMLAnchorElement>, 'size'> & {\n /**\n * Polymorphic component type. Use this to render as a Next.js Link or any other element.\n * @example <Link as={NextLink} href=\"/about\">About</Link>\n */\n as?: ElementType;\n /**\n * Whether the link is disabled. Disables `onClick` as well.\n */\n disabled?: boolean;\n /**\n * Optional custom navigation handler. Called instead of default link behavior\n * when no special case applies and `onClick` did not preventDefault.\n *\n * Receives the `href` and returns a click event handler.\n */\n navigate?: (href: string) => (e: React.MouseEvent<HTMLAnchorElement>) => void;\n /**\n * The size of the link to render.\n *\n * xs = extra small\n * sm = small\n * md = medium (default)\n */\n size?: 'xs' | 'sm' | 'md';\n }\n >(({ as: Component = 'a', className, disabled, href, navigate, onClick, size = 'md', ...rest }, ref) => {\n return (\n <Component\n aria-disabled={disabled}\n className={cn(\n 'cursor-pointer outline-offset-2 transition-colors hover:underline aria-disabled:cursor-not-allowed aria-disabled:text-link-disabled',\n {\n 'hui-link-md': size === 'md',\n 'hui-link-sm': size === 'sm',\n 'hui-link-xs': size === 'xs',\n },\n classes,\n className\n )}\n href={href}\n onClick={(e: React.MouseEvent<HTMLAnchorElement>) => {\n if (disabled) {\n e.preventDefault();\n return;\n }\n\n if (onClick) {\n onClick(e);\n }\n\n if (e.defaultPrevented || !href) {\n return;\n }\n\n // Browser/default navigation handles these cases.\n if (href.startsWith('#') || /^\\w+:/.test(href) || rest.target === '_blank') {\n return;\n }\n\n if (navigate) {\n navigate(href)(e);\n }\n }}\n ref={ref}\n tabIndex={0}\n {...rest}\n />\n );\n });\n}\n\nexport const Link = factory(\n 'underline text-link-primary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nLink.displayName = 'Link';\n\nexport const WeakLink = factory(\n 'underline text-link-secondary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nWeakLink.displayName = 'WeakLink';\n\nexport const MonochromeLink = factory(\n 'underline text-link-monochrome hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nMonochromeLink.displayName = 'MonochromeLink';\n\nexport const InverseLink = factory('underline text-link-inverse hui-focus-visible-outline-inverse');\nInverseLink.displayName = 'InverseLink';\n\nexport const SubtleLink = factory(\n 'text-link-primary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nSubtleLink.displayName = 'SubtleLink';\n\nexport const SubtleWeakLink = factory(\n 'text-link-secondary hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nSubtleWeakLink.displayName = 'SubtleWeakLink';\n\nexport const SubtleMonochromeLink = factory(\n 'text-link-monochrome hover:text-link-hover active:text-link-pressed hui-focus-visible-outline'\n);\nSubtleMonochromeLink.displayName = 'SubtleMonochromeLink';\n\nexport const SubtleInverseLink = factory('text-link-inverse hui-focus-visible-outline-inverse');\nSubtleInverseLink.displayName = 'SubtleInverseLink';\n"],"mappings":";;;;AAGA,SAAS,QAAQ,SAAiB;CAC9B,OAAO,YA4BJ,EAAE,IAAI,YAAY,KAAK,WAAW,UAAU,MAAM,UAAU,SAAS,OAAO,MAAM,GAAG,QAAQ,QAAQ;EACpG,OACI,oBAAC,WAAD;GACI,iBAAe;GACf,WAAW,GACP,uIACA;IACI,eAAe,SAAS;IACxB,eAAe,SAAS;IACxB,eAAe,SAAS;GAC5B,GACA,SACA,SACJ;GACM;GACN,UAAU,MAA2C;IACjD,IAAI,UAAU;KACV,EAAE,eAAe;KACjB;IACJ;IAEA,IAAI,SACA,QAAQ,CAAC;IAGb,IAAI,EAAE,oBAAoB,CAAC,MACvB;IAIJ,IAAI,KAAK,WAAW,GAAG,KAAK,QAAQ,KAAK,IAAI,KAAK,KAAK,WAAW,UAC9D;IAGJ,IAAI,UACA,SAAS,IAAI,CAAC,CAAC,CAAC;GAExB;GACK;GACL,UAAU;GACV,GAAI;EACP,CAAA;CAET,CAAC;AACL;AAEA,MAAa,OAAO,QAChB,sGACJ;AACA,KAAK,cAAc;AAEnB,MAAa,WAAW,QACpB,wGACJ;AACA,SAAS,cAAc;AAEvB,MAAa,iBAAiB,QAC1B,yGACJ;AACA,eAAe,cAAc;AAE7B,MAAa,cAAc,QAAQ,+DAA+D;AAClG,YAAY,cAAc;AAE1B,MAAa,aAAa,QACtB,4FACJ;AACA,WAAW,cAAc;AAEzB,MAAa,iBAAiB,QAC1B,8FACJ;AACA,eAAe,cAAc;AAE7B,MAAa,uBAAuB,QAChC,+FACJ;AACA,qBAAqB,cAAc;AAEnC,MAAa,oBAAoB,QAAQ,qDAAqD;AAC9F,kBAAkB,cAAc"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
let _evolve_ui_theme_system = require("@evolve.ui/theme-system");
|
|
6
|
+
let react = require("react");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
//#region src/Typography/Text/Text.tsx
|
|
9
|
+
const colors = {
|
|
10
|
+
critical: "text-text-critical",
|
|
11
|
+
disabled: "text-text-disabled",
|
|
12
|
+
inactive: "text-text-inactive",
|
|
13
|
+
info: "text-text-info",
|
|
14
|
+
inverse: "text-text-inverse",
|
|
15
|
+
primary: "text-text-primary",
|
|
16
|
+
secondary: "text-text-secondary",
|
|
17
|
+
success: "text-text-success",
|
|
18
|
+
warning: "text-text-warning"
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* H1 styled text. If you need a non `h1` with the same styles, use the classnames `hui-text-h1` and `text-text-[yourColor]`.
|
|
22
|
+
*/
|
|
23
|
+
const H1 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
24
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
|
|
25
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h1", colors[color], className),
|
|
26
|
+
ref,
|
|
27
|
+
...props,
|
|
28
|
+
children
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
H1.displayName = "H1";
|
|
32
|
+
/**
|
|
33
|
+
* H2 styled text. If you need a non `h2` with the same styles, use the classnames `hui-text-h2` and `text-text-[yourColor]`.
|
|
34
|
+
*/
|
|
35
|
+
const H2 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
36
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
37
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h2", colors[color], className),
|
|
38
|
+
ref,
|
|
39
|
+
...props,
|
|
40
|
+
children
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
H2.displayName = "H2";
|
|
44
|
+
/**
|
|
45
|
+
* H3 styled text. If you need a non `h3` with the same styles, use the classnames `hui-text-h3` and `text-text-[yourColor]`.
|
|
46
|
+
*/
|
|
47
|
+
const H3 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
48
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
|
|
49
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h3", colors[color], className),
|
|
50
|
+
ref,
|
|
51
|
+
...props,
|
|
52
|
+
children
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
H3.displayName = "H3";
|
|
56
|
+
/**
|
|
57
|
+
* H4 styled text. If you need a non `h4` with the same styles, use the classnames `hui-text-h4` and `text-text-[yourColor]`.
|
|
58
|
+
*/
|
|
59
|
+
const H4 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
60
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h4", {
|
|
61
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h4", colors[color], className),
|
|
62
|
+
ref,
|
|
63
|
+
...props,
|
|
64
|
+
children
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
H4.displayName = "H4";
|
|
68
|
+
/**
|
|
69
|
+
* H5 styled text. If you need a non `h5` with the same styles, use the classnames `hui-text-h5` and `text-text-[yourColor]`.
|
|
70
|
+
*/
|
|
71
|
+
const H5 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
72
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h5", {
|
|
73
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h5", colors[color], className),
|
|
74
|
+
ref,
|
|
75
|
+
...props,
|
|
76
|
+
children
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
H5.displayName = "H5";
|
|
80
|
+
/**
|
|
81
|
+
* H6 styled text. If you need a non `h6` with the same styles, use the classnames `hui-text-h6` and `text-text-[yourColor]`.
|
|
82
|
+
*/
|
|
83
|
+
const H6 = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
84
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h6", {
|
|
85
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-h6", colors[color], className),
|
|
86
|
+
ref,
|
|
87
|
+
...props,
|
|
88
|
+
children
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
H6.displayName = "H6";
|
|
92
|
+
/**
|
|
93
|
+
* BodyPrimary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-primary` and `text-text-[yourColor]`.
|
|
94
|
+
*/
|
|
95
|
+
const BodyPrimary = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
96
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
97
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-body-primary", colors[color], className),
|
|
98
|
+
ref,
|
|
99
|
+
...props,
|
|
100
|
+
children
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
BodyPrimary.displayName = "BodyPrimary";
|
|
104
|
+
/**
|
|
105
|
+
* BodySecondary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-secondary` and `text-text-[yourColor]`.
|
|
106
|
+
*/
|
|
107
|
+
const BodySecondary = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
108
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
109
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-body-secondary", colors[color], className),
|
|
110
|
+
ref,
|
|
111
|
+
...props,
|
|
112
|
+
children
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
BodySecondary.displayName = "BodySecondary";
|
|
116
|
+
/**
|
|
117
|
+
* Caption styled text. If you need a non `span` with the same styles, use the classnames `hui-text-caption` and `text-text-[yourColor]`.
|
|
118
|
+
*/
|
|
119
|
+
const Caption = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
120
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
121
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-caption", colors[color], className),
|
|
122
|
+
ref,
|
|
123
|
+
...props,
|
|
124
|
+
children
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
Caption.displayName = "Caption";
|
|
128
|
+
/**
|
|
129
|
+
* LabelMini styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini` and `text-text-[yourColor]`.
|
|
130
|
+
*/
|
|
131
|
+
const LabelMini = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
132
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
133
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-label-mini", colors[color], className),
|
|
134
|
+
ref,
|
|
135
|
+
...props,
|
|
136
|
+
children
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
LabelMini.displayName = "LabelMini";
|
|
140
|
+
/**
|
|
141
|
+
* LabelMiniStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini-strong` and `text-text-[yourColor]`.
|
|
142
|
+
*/
|
|
143
|
+
const LabelMiniStrong = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
144
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
145
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-label-mini-strong", colors[color], className),
|
|
146
|
+
ref,
|
|
147
|
+
...props,
|
|
148
|
+
children
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
LabelMiniStrong.displayName = "LabelMiniStrong";
|
|
152
|
+
/**
|
|
153
|
+
* LabelStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-strong` and `text-text-[yourColor]`.
|
|
154
|
+
*/
|
|
155
|
+
const LabelStrong = (0, react.forwardRef)(({ children, className, color = "primary", ...props }, ref) => {
|
|
156
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
157
|
+
className: (0, _evolve_ui_theme_system.cn)("hui-text-label-strong", colors[color], className),
|
|
158
|
+
ref,
|
|
159
|
+
...props,
|
|
160
|
+
children
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
LabelStrong.displayName = "LabelStrong";
|
|
164
|
+
//#endregion
|
|
165
|
+
exports.BodyPrimary = BodyPrimary;
|
|
166
|
+
exports.BodySecondary = BodySecondary;
|
|
167
|
+
exports.Caption = Caption;
|
|
168
|
+
exports.H1 = H1;
|
|
169
|
+
exports.H2 = H2;
|
|
170
|
+
exports.H3 = H3;
|
|
171
|
+
exports.H4 = H4;
|
|
172
|
+
exports.H5 = H5;
|
|
173
|
+
exports.H6 = H6;
|
|
174
|
+
exports.LabelMini = LabelMini;
|
|
175
|
+
exports.LabelMiniStrong = LabelMiniStrong;
|
|
176
|
+
exports.LabelStrong = LabelStrong;
|
|
177
|
+
|
|
178
|
+
//# sourceMappingURL=Text.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.cjs","names":[],"sources":["../../src/Typography/Text/Text.tsx"],"sourcesContent":["import { cn, type TextColorAliases } from '@evolve.ui/theme-system';\nimport { forwardRef, HTMLProps } from 'react';\n\ntype ColorProp = {\n /**\n * Pass any text color like 'primary', 'secondary', 'critical', 'success', 'info', 'inverse', etc.\n *\n * You can access all of these colors through tailwind through `text-text-[color]` like `text-text-primary`, etc.\n */\n color?: TextColorAliases;\n};\n\nconst colors = {\n critical: 'text-text-critical',\n disabled: 'text-text-disabled',\n inactive: 'text-text-inactive',\n info: 'text-text-info',\n inverse: 'text-text-inverse',\n primary: 'text-text-primary',\n secondary: 'text-text-secondary',\n success: 'text-text-success',\n warning: 'text-text-warning',\n} satisfies Record<TextColorAliases, string>;\n\n/**\n * H1 styled text. If you need a non `h1` with the same styles, use the classnames `hui-text-h1` and `text-text-[yourColor]`.\n */\nexport const H1 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h1\n className={cn('hui-text-h1', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h1>\n );\n }\n);\nH1.displayName = 'H1';\n\n/**\n * H2 styled text. If you need a non `h2` with the same styles, use the classnames `hui-text-h2` and `text-text-[yourColor]`.\n */\nexport const H2 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h2\n className={cn('hui-text-h2', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h2>\n );\n }\n);\nH2.displayName = 'H2';\n\n/**\n * H3 styled text. If you need a non `h3` with the same styles, use the classnames `hui-text-h3` and `text-text-[yourColor]`.\n */\nexport const H3 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h3\n className={cn('hui-text-h3', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h3>\n );\n }\n);\nH3.displayName = 'H3';\n\n/**\n * H4 styled text. If you need a non `h4` with the same styles, use the classnames `hui-text-h4` and `text-text-[yourColor]`.\n */\nexport const H4 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h4\n className={cn('hui-text-h4', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h4>\n );\n }\n);\nH4.displayName = 'H4';\n\n/**\n * H5 styled text. If you need a non `h5` with the same styles, use the classnames `hui-text-h5` and `text-text-[yourColor]`.\n */\nexport const H5 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h5\n className={cn('hui-text-h5', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h5>\n );\n }\n);\nH5.displayName = 'H5';\n\n/**\n * H6 styled text. If you need a non `h6` with the same styles, use the classnames `hui-text-h6` and `text-text-[yourColor]`.\n */\nexport const H6 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h6\n className={cn('hui-text-h6', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h6>\n );\n }\n);\nH6.displayName = 'H6';\n\n/**\n * BodyPrimary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-primary` and `text-text-[yourColor]`.\n */\nexport const BodyPrimary = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-body-primary', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nBodyPrimary.displayName = 'BodyPrimary';\n\n/**\n * BodySecondary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-secondary` and `text-text-[yourColor]`.\n */\nexport const BodySecondary = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-body-secondary', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nBodySecondary.displayName = 'BodySecondary';\n\n/**\n * Caption styled text. If you need a non `span` with the same styles, use the classnames `hui-text-caption` and `text-text-[yourColor]`.\n */\nexport const Caption = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-caption', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nCaption.displayName = 'Caption';\n\n/**\n * LabelMini styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini` and `text-text-[yourColor]`.\n */\nexport const LabelMini = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-mini', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelMini.displayName = 'LabelMini';\n\n/**\n * LabelMiniStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini-strong` and `text-text-[yourColor]`.\n */\nexport const LabelMiniStrong = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-mini-strong', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelMiniStrong.displayName = 'LabelMiniStrong';\n\n/**\n * LabelStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-strong` and `text-text-[yourColor]`.\n */\nexport const LabelStrong = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-strong', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelStrong.displayName = 'LabelStrong';\n"],"mappings":";;;;;;;;AAYA,MAAM,SAAS;CACX,UAAU;CACV,UAAU;CACV,UAAU;CACV,MAAM;CACN,SAAS;CACT,SAAS;CACT,WAAW;CACX,SAAS;CACT,SAAS;AACb;;;;AAKA,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,MAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,eAAe,OAAO,QAAQ,SAAS;EAChD;EACL,GAAI;EAEH;CACD,CAAA;AAEZ,CACJ;AACA,GAAG,cAAc;;;;AAKjB,MAAa,eAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,yBAAyB,OAAO,QAAQ,SAAS;EAC1D;EACL,GAAI;EAEH;CACC,CAAA;AAEd,CACJ;AACA,YAAY,cAAc;;;;AAK1B,MAAa,iBAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,2BAA2B,OAAO,QAAQ,SAAS;EAC5D;EACL,GAAI;EAEH;CACC,CAAA;AAEd,CACJ;AACA,cAAc,cAAc;;;;AAK5B,MAAa,WAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,oBAAoB,OAAO,QAAQ,SAAS;EACrD;EACL,GAAI;EAEH;CACC,CAAA;AAEd,CACJ;AACA,QAAQ,cAAc;;;;AAKtB,MAAa,aAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,uBAAuB,OAAO,QAAQ,SAAS;EACxD;EACL,GAAI;EAEH;CACE,CAAA;AAEf,CACJ;AACA,UAAU,cAAc;;;;AAKxB,MAAa,mBAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,8BAA8B,OAAO,QAAQ,SAAS;EAC/D;EACL,GAAI;EAEH;CACE,CAAA;AAEf,CACJ;AACA,gBAAgB,cAAc;;;;AAK9B,MAAa,eAAA,GAAA,MAAA,WAAA,EACR,EAAE,UAAU,WAAW,QAAQ,WAAW,GAAG,SAAS,QAAQ;CAC3D,OACI,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;EACI,YAAA,GAAA,wBAAA,GAAA,CAAc,yBAAyB,OAAO,QAAQ,SAAS;EAC1D;EACL,GAAI;EAEH;CACE,CAAA;AAEf,CACJ;AACA,YAAY,cAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as H2, c as H5, d as LabelMiniStrong, f as LabelStrong, i as H1, l as H6, n as BodySecondary, o as H3, r as Caption, s as H4, t as BodyPrimary, u as LabelMini } from "../Text-BVoakc0X.cjs";
|
|
2
|
+
export { BodyPrimary, BodySecondary, Caption, H1, H2, H3, H4, H5, H6, LabelMini, LabelMiniStrong, LabelStrong };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as H2, c as H5, d as LabelMiniStrong, f as LabelStrong, i as H1, l as H6, n as BodySecondary, o as H3, r as Caption, s as H4, t as BodyPrimary, u as LabelMini } from "../Text-OlyNC1yj.mjs";
|
|
2
|
+
export { BodyPrimary, BodySecondary, Caption, H1, H2, H3, H4, H5, H6, LabelMini, LabelMiniStrong, LabelStrong };
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { cn } from "@evolve.ui/theme-system";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
//#region src/Typography/Text/Text.tsx
|
|
5
|
+
const colors = {
|
|
6
|
+
critical: "text-text-critical",
|
|
7
|
+
disabled: "text-text-disabled",
|
|
8
|
+
inactive: "text-text-inactive",
|
|
9
|
+
info: "text-text-info",
|
|
10
|
+
inverse: "text-text-inverse",
|
|
11
|
+
primary: "text-text-primary",
|
|
12
|
+
secondary: "text-text-secondary",
|
|
13
|
+
success: "text-text-success",
|
|
14
|
+
warning: "text-text-warning"
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* H1 styled text. If you need a non `h1` with the same styles, use the classnames `hui-text-h1` and `text-text-[yourColor]`.
|
|
18
|
+
*/
|
|
19
|
+
const H1 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
20
|
+
return /* @__PURE__ */ jsx("h1", {
|
|
21
|
+
className: cn("hui-text-h1", colors[color], className),
|
|
22
|
+
ref,
|
|
23
|
+
...props,
|
|
24
|
+
children
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
H1.displayName = "H1";
|
|
28
|
+
/**
|
|
29
|
+
* H2 styled text. If you need a non `h2` with the same styles, use the classnames `hui-text-h2` and `text-text-[yourColor]`.
|
|
30
|
+
*/
|
|
31
|
+
const H2 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
32
|
+
return /* @__PURE__ */ jsx("h2", {
|
|
33
|
+
className: cn("hui-text-h2", colors[color], className),
|
|
34
|
+
ref,
|
|
35
|
+
...props,
|
|
36
|
+
children
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
H2.displayName = "H2";
|
|
40
|
+
/**
|
|
41
|
+
* H3 styled text. If you need a non `h3` with the same styles, use the classnames `hui-text-h3` and `text-text-[yourColor]`.
|
|
42
|
+
*/
|
|
43
|
+
const H3 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
44
|
+
return /* @__PURE__ */ jsx("h3", {
|
|
45
|
+
className: cn("hui-text-h3", colors[color], className),
|
|
46
|
+
ref,
|
|
47
|
+
...props,
|
|
48
|
+
children
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
H3.displayName = "H3";
|
|
52
|
+
/**
|
|
53
|
+
* H4 styled text. If you need a non `h4` with the same styles, use the classnames `hui-text-h4` and `text-text-[yourColor]`.
|
|
54
|
+
*/
|
|
55
|
+
const H4 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
56
|
+
return /* @__PURE__ */ jsx("h4", {
|
|
57
|
+
className: cn("hui-text-h4", colors[color], className),
|
|
58
|
+
ref,
|
|
59
|
+
...props,
|
|
60
|
+
children
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
H4.displayName = "H4";
|
|
64
|
+
/**
|
|
65
|
+
* H5 styled text. If you need a non `h5` with the same styles, use the classnames `hui-text-h5` and `text-text-[yourColor]`.
|
|
66
|
+
*/
|
|
67
|
+
const H5 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
68
|
+
return /* @__PURE__ */ jsx("h5", {
|
|
69
|
+
className: cn("hui-text-h5", colors[color], className),
|
|
70
|
+
ref,
|
|
71
|
+
...props,
|
|
72
|
+
children
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
H5.displayName = "H5";
|
|
76
|
+
/**
|
|
77
|
+
* H6 styled text. If you need a non `h6` with the same styles, use the classnames `hui-text-h6` and `text-text-[yourColor]`.
|
|
78
|
+
*/
|
|
79
|
+
const H6 = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
80
|
+
return /* @__PURE__ */ jsx("h6", {
|
|
81
|
+
className: cn("hui-text-h6", colors[color], className),
|
|
82
|
+
ref,
|
|
83
|
+
...props,
|
|
84
|
+
children
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
H6.displayName = "H6";
|
|
88
|
+
/**
|
|
89
|
+
* BodyPrimary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-primary` and `text-text-[yourColor]`.
|
|
90
|
+
*/
|
|
91
|
+
const BodyPrimary = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
92
|
+
return /* @__PURE__ */ jsx("span", {
|
|
93
|
+
className: cn("hui-text-body-primary", colors[color], className),
|
|
94
|
+
ref,
|
|
95
|
+
...props,
|
|
96
|
+
children
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
BodyPrimary.displayName = "BodyPrimary";
|
|
100
|
+
/**
|
|
101
|
+
* BodySecondary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-secondary` and `text-text-[yourColor]`.
|
|
102
|
+
*/
|
|
103
|
+
const BodySecondary = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
104
|
+
return /* @__PURE__ */ jsx("span", {
|
|
105
|
+
className: cn("hui-text-body-secondary", colors[color], className),
|
|
106
|
+
ref,
|
|
107
|
+
...props,
|
|
108
|
+
children
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
BodySecondary.displayName = "BodySecondary";
|
|
112
|
+
/**
|
|
113
|
+
* Caption styled text. If you need a non `span` with the same styles, use the classnames `hui-text-caption` and `text-text-[yourColor]`.
|
|
114
|
+
*/
|
|
115
|
+
const Caption = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
116
|
+
return /* @__PURE__ */ jsx("span", {
|
|
117
|
+
className: cn("hui-text-caption", colors[color], className),
|
|
118
|
+
ref,
|
|
119
|
+
...props,
|
|
120
|
+
children
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
Caption.displayName = "Caption";
|
|
124
|
+
/**
|
|
125
|
+
* LabelMini styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini` and `text-text-[yourColor]`.
|
|
126
|
+
*/
|
|
127
|
+
const LabelMini = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
128
|
+
return /* @__PURE__ */ jsx("label", {
|
|
129
|
+
className: cn("hui-text-label-mini", colors[color], className),
|
|
130
|
+
ref,
|
|
131
|
+
...props,
|
|
132
|
+
children
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
LabelMini.displayName = "LabelMini";
|
|
136
|
+
/**
|
|
137
|
+
* LabelMiniStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini-strong` and `text-text-[yourColor]`.
|
|
138
|
+
*/
|
|
139
|
+
const LabelMiniStrong = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
140
|
+
return /* @__PURE__ */ jsx("label", {
|
|
141
|
+
className: cn("hui-text-label-mini-strong", colors[color], className),
|
|
142
|
+
ref,
|
|
143
|
+
...props,
|
|
144
|
+
children
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
LabelMiniStrong.displayName = "LabelMiniStrong";
|
|
148
|
+
/**
|
|
149
|
+
* LabelStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-strong` and `text-text-[yourColor]`.
|
|
150
|
+
*/
|
|
151
|
+
const LabelStrong = forwardRef(({ children, className, color = "primary", ...props }, ref) => {
|
|
152
|
+
return /* @__PURE__ */ jsx("label", {
|
|
153
|
+
className: cn("hui-text-label-strong", colors[color], className),
|
|
154
|
+
ref,
|
|
155
|
+
...props,
|
|
156
|
+
children
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
LabelStrong.displayName = "LabelStrong";
|
|
160
|
+
//#endregion
|
|
161
|
+
export { BodyPrimary, BodySecondary, Caption, H1, H2, H3, H4, H5, H6, LabelMini, LabelMiniStrong, LabelStrong };
|
|
162
|
+
|
|
163
|
+
//# sourceMappingURL=Text.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.mjs","names":[],"sources":["../../src/Typography/Text/Text.tsx"],"sourcesContent":["import { cn, type TextColorAliases } from '@evolve.ui/theme-system';\nimport { forwardRef, HTMLProps } from 'react';\n\ntype ColorProp = {\n /**\n * Pass any text color like 'primary', 'secondary', 'critical', 'success', 'info', 'inverse', etc.\n *\n * You can access all of these colors through tailwind through `text-text-[color]` like `text-text-primary`, etc.\n */\n color?: TextColorAliases;\n};\n\nconst colors = {\n critical: 'text-text-critical',\n disabled: 'text-text-disabled',\n inactive: 'text-text-inactive',\n info: 'text-text-info',\n inverse: 'text-text-inverse',\n primary: 'text-text-primary',\n secondary: 'text-text-secondary',\n success: 'text-text-success',\n warning: 'text-text-warning',\n} satisfies Record<TextColorAliases, string>;\n\n/**\n * H1 styled text. If you need a non `h1` with the same styles, use the classnames `hui-text-h1` and `text-text-[yourColor]`.\n */\nexport const H1 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h1\n className={cn('hui-text-h1', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h1>\n );\n }\n);\nH1.displayName = 'H1';\n\n/**\n * H2 styled text. If you need a non `h2` with the same styles, use the classnames `hui-text-h2` and `text-text-[yourColor]`.\n */\nexport const H2 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h2\n className={cn('hui-text-h2', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h2>\n );\n }\n);\nH2.displayName = 'H2';\n\n/**\n * H3 styled text. If you need a non `h3` with the same styles, use the classnames `hui-text-h3` and `text-text-[yourColor]`.\n */\nexport const H3 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h3\n className={cn('hui-text-h3', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h3>\n );\n }\n);\nH3.displayName = 'H3';\n\n/**\n * H4 styled text. If you need a non `h4` with the same styles, use the classnames `hui-text-h4` and `text-text-[yourColor]`.\n */\nexport const H4 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h4\n className={cn('hui-text-h4', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h4>\n );\n }\n);\nH4.displayName = 'H4';\n\n/**\n * H5 styled text. If you need a non `h5` with the same styles, use the classnames `hui-text-h5` and `text-text-[yourColor]`.\n */\nexport const H5 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h5\n className={cn('hui-text-h5', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h5>\n );\n }\n);\nH5.displayName = 'H5';\n\n/**\n * H6 styled text. If you need a non `h6` with the same styles, use the classnames `hui-text-h6` and `text-text-[yourColor]`.\n */\nexport const H6 = forwardRef<HTMLHeadingElement, HTMLProps<HTMLHeadingElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <h6\n className={cn('hui-text-h6', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </h6>\n );\n }\n);\nH6.displayName = 'H6';\n\n/**\n * BodyPrimary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-primary` and `text-text-[yourColor]`.\n */\nexport const BodyPrimary = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-body-primary', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nBodyPrimary.displayName = 'BodyPrimary';\n\n/**\n * BodySecondary styled text. If you need a non `span` with the same styles, use the classnames `hui-text-body-secondary` and `text-text-[yourColor]`.\n */\nexport const BodySecondary = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-body-secondary', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nBodySecondary.displayName = 'BodySecondary';\n\n/**\n * Caption styled text. If you need a non `span` with the same styles, use the classnames `hui-text-caption` and `text-text-[yourColor]`.\n */\nexport const Caption = forwardRef<HTMLSpanElement, HTMLProps<HTMLSpanElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <span\n className={cn('hui-text-caption', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </span>\n );\n }\n);\nCaption.displayName = 'Caption';\n\n/**\n * LabelMini styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini` and `text-text-[yourColor]`.\n */\nexport const LabelMini = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-mini', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelMini.displayName = 'LabelMini';\n\n/**\n * LabelMiniStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-mini-strong` and `text-text-[yourColor]`.\n */\nexport const LabelMiniStrong = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-mini-strong', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelMiniStrong.displayName = 'LabelMiniStrong';\n\n/**\n * LabelStrong styled text. If you need a non `label` with the same styles, use the classnames `hui-text-label-strong` and `text-text-[yourColor]`.\n */\nexport const LabelStrong = forwardRef<HTMLLabelElement, HTMLProps<HTMLLabelElement> & ColorProp>(\n ({ children, className, color = 'primary', ...props }, ref) => {\n return (\n <label\n className={cn('hui-text-label-strong', colors[color], className)}\n ref={ref}\n {...props}\n >\n {children}\n </label>\n );\n }\n);\nLabelStrong.displayName = 'LabelStrong';\n"],"mappings":"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"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
const require_Icons = require("./Icons.cjs");
|
|
2
|
+
const require_Typography_InlineButton = require("./Typography/InlineButton.cjs");
|
|
3
|
+
const require_effectEventListener = require("./effectEventListener-DmVY5Sgy.cjs");
|
|
4
|
+
let _evolve_ui_theme_system = require("@evolve.ui/theme-system");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
//#region src/utils/smoothScrollTo.ts
|
|
8
|
+
/**
|
|
9
|
+
* Easing function for smooth scroll animation
|
|
10
|
+
* Uses cubic easing in-out curve
|
|
11
|
+
* @param t - Progress value between 0 and 1
|
|
12
|
+
* @returns Eased progress value
|
|
13
|
+
*/
|
|
14
|
+
const easeInOutCubic = (t) => {
|
|
15
|
+
return t < .5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Smoothly scrolls the window to a specific vertical position using requestAnimationFrame
|
|
19
|
+
* @param targetY - The target vertical scroll position in pixels
|
|
20
|
+
* @param duration - The duration of the scroll animation in milliseconds (defaults to 300ms)
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* // Scroll to 500px from the top over 300ms
|
|
25
|
+
* smoothScrollTo(500);
|
|
26
|
+
*
|
|
27
|
+
* // Scroll to top of an element with custom duration
|
|
28
|
+
* const element = document.getElementById('my-element');
|
|
29
|
+
* if (element) {
|
|
30
|
+
* const targetY = element.getBoundingClientRect().top + window.scrollY;
|
|
31
|
+
* smoothScrollTo(targetY, 500);
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
const smoothScrollTo = (targetY, duration = 300) => {
|
|
36
|
+
const startY = window.scrollY;
|
|
37
|
+
const distance = targetY - startY;
|
|
38
|
+
const startTime = performance.now();
|
|
39
|
+
const scroll = (currentTime) => {
|
|
40
|
+
const elapsed = currentTime - startTime;
|
|
41
|
+
const progress = Math.min(elapsed / duration, 1);
|
|
42
|
+
const easeProgress = easeInOutCubic(progress);
|
|
43
|
+
window.scrollTo(0, startY + distance * easeProgress);
|
|
44
|
+
if (progress < 1) requestAnimationFrame(scroll);
|
|
45
|
+
};
|
|
46
|
+
requestAnimationFrame(scroll);
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/ViewMore/ViewMore.tsx
|
|
50
|
+
const SCROLL_TOP_OFFSET = 100;
|
|
51
|
+
const SCROLL_DURATION = 200;
|
|
52
|
+
const ViewMore = ({ centerInlineButton, children, className, collapseText = "Read Less", defaultExpanded = false, disableExpand = false, expandText = "Read More", fadeBackgroundColor, onChange, onClick, removeFadeBackgroundColor, showIcon = false, textCutoffHeight = 150, useWeakInlineButton }) => {
|
|
53
|
+
const [isExpanded, setIsExpanded] = (0, react.useState)(defaultExpanded);
|
|
54
|
+
const [height, setHeight] = (0, react.useState)(defaultExpanded ? 9999 : textCutoffHeight);
|
|
55
|
+
const [showViewToggle, setShowViewToggle] = (0, react.useState)(false);
|
|
56
|
+
const [enableTransitions, setEnableTransitions] = (0, react.useState)(false);
|
|
57
|
+
const containerRef = (0, react.useRef)(null);
|
|
58
|
+
const contentRef = (0, react.useRef)(null);
|
|
59
|
+
const toggleDescription = (0, react.useCallback)((event) => {
|
|
60
|
+
onClick?.(event);
|
|
61
|
+
if (disableExpand) return;
|
|
62
|
+
setEnableTransitions(true);
|
|
63
|
+
setIsExpanded((prevIsExpanded) => {
|
|
64
|
+
const newHeight = prevIsExpanded ? textCutoffHeight : contentRef.current?.scrollHeight ?? textCutoffHeight;
|
|
65
|
+
setHeight(newHeight);
|
|
66
|
+
onChange?.(!prevIsExpanded);
|
|
67
|
+
if (prevIsExpanded && containerRef.current) smoothScrollTo(containerRef.current.getBoundingClientRect().top + window.scrollY - SCROLL_TOP_OFFSET, SCROLL_DURATION);
|
|
68
|
+
return !prevIsExpanded;
|
|
69
|
+
});
|
|
70
|
+
}, [
|
|
71
|
+
textCutoffHeight,
|
|
72
|
+
onChange,
|
|
73
|
+
onClick,
|
|
74
|
+
disableExpand
|
|
75
|
+
]);
|
|
76
|
+
const updateView = (0, react.useCallback)(() => {
|
|
77
|
+
if (!contentRef.current) return;
|
|
78
|
+
const scrollHeight = contentRef.current.scrollHeight;
|
|
79
|
+
const shouldShowToggle = scrollHeight > textCutoffHeight;
|
|
80
|
+
setShowViewToggle(shouldShowToggle);
|
|
81
|
+
setHeight(isExpanded || !shouldShowToggle ? scrollHeight : textCutoffHeight);
|
|
82
|
+
}, [isExpanded, textCutoffHeight]);
|
|
83
|
+
(0, react.useEffect)(() => {
|
|
84
|
+
if (!contentRef.current) return;
|
|
85
|
+
updateView();
|
|
86
|
+
const cleanupResizeListener = require_effectEventListener.effectEventListener(window, "resize", updateView);
|
|
87
|
+
const resizeObserver = new ResizeObserver(updateView);
|
|
88
|
+
resizeObserver.observe(contentRef.current);
|
|
89
|
+
return () => {
|
|
90
|
+
cleanupResizeListener();
|
|
91
|
+
resizeObserver.disconnect();
|
|
92
|
+
};
|
|
93
|
+
}, [updateView, children]);
|
|
94
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
95
|
+
className: (0, _evolve_ui_theme_system.cn)(className, "flex flex-col gap-xs"),
|
|
96
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
97
|
+
className: (0, _evolve_ui_theme_system.cn)("relative overflow-hidden", { "transition-all duration-300 ease-in-out": enableTransitions }),
|
|
98
|
+
"data-testid": "description-container",
|
|
99
|
+
ref: containerRef,
|
|
100
|
+
style: {
|
|
101
|
+
height: showViewToggle ? `${height}px` : "auto",
|
|
102
|
+
maxHeight: showViewToggle || isExpanded ? void 0 : `${textCutoffHeight}px`
|
|
103
|
+
},
|
|
104
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
105
|
+
ref: contentRef,
|
|
106
|
+
children
|
|
107
|
+
}), showViewToggle && !removeFadeBackgroundColor && !isExpanded && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
108
|
+
className: "absolute bottom-0 left-0 right-0 h-xl w-full",
|
|
109
|
+
style: { background: fadeBackgroundColor ? `linear-gradient(to bottom, transparent, ${fadeBackgroundColor})` : `linear-gradient(to bottom, transparent, ${(0, _evolve_ui_theme_system.wrapVarRgb)("--color-background-primary")})` }
|
|
110
|
+
})]
|
|
111
|
+
}), showViewToggle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
112
|
+
className: (0, _evolve_ui_theme_system.cn)("w-full", { "text-center": centerInlineButton }),
|
|
113
|
+
children: useWeakInlineButton ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_InlineButton.InlineButton, {
|
|
114
|
+
className: "w-fit",
|
|
115
|
+
icon: showIcon ? isExpanded ? require_Icons.CaretUp : require_Icons.CaretDown : void 0,
|
|
116
|
+
iconPlacement: "right",
|
|
117
|
+
onClick: toggleDescription,
|
|
118
|
+
style: "neutral",
|
|
119
|
+
children: isExpanded ? collapseText : expandText
|
|
120
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_InlineButton.InlineButton, {
|
|
121
|
+
className: "w-fit",
|
|
122
|
+
icon: showIcon ? isExpanded ? require_Icons.CaretUp : require_Icons.CaretDown : void 0,
|
|
123
|
+
iconPlacement: "right",
|
|
124
|
+
onClick: toggleDescription,
|
|
125
|
+
children: isExpanded ? collapseText : expandText
|
|
126
|
+
})
|
|
127
|
+
})]
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
//#endregion
|
|
131
|
+
Object.defineProperty(exports, "ViewMore", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function() {
|
|
134
|
+
return ViewMore;
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
//# sourceMappingURL=ViewMore-BBoUvo7p.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewMore-BBoUvo7p.cjs","names":["effectEventListener","InlineButton","CaretUp","CaretDown"],"sources":["../src/utils/smoothScrollTo.ts","../src/ViewMore/ViewMore.tsx"],"sourcesContent":["/**\n * Easing function for smooth scroll animation\n * Uses cubic easing in-out curve\n * @param t - Progress value between 0 and 1\n * @returns Eased progress value\n */\nconst easeInOutCubic = (t: number): number => {\n return t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;\n};\n\n/**\n * Smoothly scrolls the window to a specific vertical position using requestAnimationFrame\n * @param targetY - The target vertical scroll position in pixels\n * @param duration - The duration of the scroll animation in milliseconds (defaults to 300ms)\n *\n * @example\n * ```tsx\n * // Scroll to 500px from the top over 300ms\n * smoothScrollTo(500);\n *\n * // Scroll to top of an element with custom duration\n * const element = document.getElementById('my-element');\n * if (element) {\n * const targetY = element.getBoundingClientRect().top + window.scrollY;\n * smoothScrollTo(targetY, 500);\n * }\n * ```\n */\nexport const smoothScrollTo = (targetY: number, duration: number = 300): void => {\n const startY = window.scrollY;\n const distance = targetY - startY;\n const startTime = performance.now();\n\n const scroll = (currentTime: number) => {\n const elapsed = currentTime - startTime;\n const progress = Math.min(elapsed / duration, 1);\n const easeProgress = easeInOutCubic(progress);\n\n window.scrollTo(0, startY + distance * easeProgress);\n\n if (progress < 1) {\n requestAnimationFrame(scroll);\n }\n };\n\n requestAnimationFrame(scroll);\n};\n","import { cn, wrapVarRgb } from '@evolve.ui/theme-system';\nimport { MouseEvent, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { CaretDown, CaretUp } from '../Icons';\nimport { InlineButton } from '../Typography/InlineButton/InlineButton';\nimport { effectEventListener } from '../utils/effectEventListener';\nimport { smoothScrollTo } from '../utils/smoothScrollTo';\n\nconst SCROLL_TOP_OFFSET = 100;\nconst SCROLL_DURATION = 200;\n\ntype Props = {\n /**\n * Determines whether to center the inline button.\n */\n centerInlineButton?: boolean;\n /**\n * The inner text description or content to display.\n *\n */\n children: React.ReactNode;\n className?: string;\n /**\n * Custom text for the collapse button.\n *\n * @default 'Read Less'\n */\n collapseText?: string;\n /**\n * Whether the view more should be expanded by default.\n *\n * @default false\n */\n defaultExpanded?: boolean;\n /**\n * Prevents expansion/collapse while still allowing onClick callback to fire.\n * Useful when you want to control the expansion behavior externally.\n *\n * @default false\n */\n disableExpand?: boolean;\n /**\n * Custom text for the expand button.\n *\n * @default 'Read More'\n */\n expandText?: string;\n /**\n * Custom fade color.\n */\n fadeBackgroundColor?: string;\n /**\n * Callback function that is called when the view more is expanded or collapsed.\n */\n onChange?: (isExpanded: boolean) => void;\n /**\n * Callback function that is called when the view more button is clicked.\n * Can be used to track analytics or trigger other actions when the view more is interacted with.\n * Use the `disableExpand` prop if you want to prevent the default expansion/collapse behavior.\n */\n onClick?: (event: MouseEvent<HTMLButtonElement>) => void;\n /**\n * Determines whether to remove the fade background color.\n */\n removeFadeBackgroundColor?: boolean;\n /**\n * Whether to display caret icons (CaretDown/CaretUp) alongside the button text.\n *\n * @default false\n */\n showIcon?: boolean;\n /**\n * Number in pixels at which the text description will cut off and show the expand toggle.\n *\n * @default 150\n */\n textCutoffHeight?: number;\n /**\n * Determines whether to use a weak inline button.\n */\n useWeakInlineButton?: boolean;\n};\n\nexport const ViewMore = ({\n centerInlineButton,\n children,\n className,\n collapseText = 'Read Less',\n defaultExpanded = false,\n disableExpand = false,\n expandText = 'Read More',\n fadeBackgroundColor,\n onChange,\n onClick,\n removeFadeBackgroundColor,\n showIcon = false,\n textCutoffHeight = 150,\n useWeakInlineButton,\n}: Props) => {\n const [isExpanded, setIsExpanded] = useState<boolean>(defaultExpanded);\n // Set initial height for SSR-friendly rendering:\n // - When expanded: Use large value (9999px) to show all content before useEffect measures actual height\n // - When collapsed: Use textCutoffHeight to truncate content appropriately\n const [height, setHeight] = useState<number>(defaultExpanded ? 9999 : textCutoffHeight);\n const [showViewToggle, setShowViewToggle] = useState<boolean>(false);\n const [enableTransitions, setEnableTransitions] = useState<boolean>(false);\n\n const containerRef = useRef<HTMLDivElement>(null);\n const contentRef = useRef<HTMLDivElement>(null);\n\n const toggleDescription = useCallback(\n (event: MouseEvent<HTMLButtonElement>) => {\n onClick?.(event);\n\n // If disableExpand is true, call onClick but don't toggle the expansion\n if (disableExpand) {\n return;\n }\n\n // Enable transitions on first user interaction\n setEnableTransitions(true);\n\n setIsExpanded((prevIsExpanded) => {\n const newHeight = prevIsExpanded\n ? textCutoffHeight\n : (contentRef.current?.scrollHeight ?? textCutoffHeight);\n setHeight(newHeight);\n onChange?.(!prevIsExpanded);\n\n // Scroll to top when collapsing with custom smooth scroll to match 300ms transition\n if (prevIsExpanded && containerRef.current) {\n const top = containerRef.current.getBoundingClientRect().top + window.scrollY - SCROLL_TOP_OFFSET;\n smoothScrollTo(top, SCROLL_DURATION);\n }\n\n return !prevIsExpanded;\n });\n },\n [textCutoffHeight, onChange, onClick, disableExpand]\n );\n\n const updateView = useCallback(() => {\n if (!contentRef.current) {\n return;\n }\n\n const scrollHeight = contentRef.current.scrollHeight;\n const shouldShowToggle = scrollHeight > textCutoffHeight;\n setShowViewToggle(shouldShowToggle);\n setHeight(isExpanded || !shouldShowToggle ? scrollHeight : textCutoffHeight);\n }, [isExpanded, textCutoffHeight]);\n\n useEffect(() => {\n if (!contentRef.current) {\n return;\n }\n updateView();\n\n const cleanupResizeListener = effectEventListener(window, 'resize', updateView);\n\n // Add ResizeObserver to detect content height changes\n const resizeObserver = new ResizeObserver(updateView);\n resizeObserver.observe(contentRef.current);\n\n return () => {\n cleanupResizeListener();\n resizeObserver.disconnect();\n };\n }, [updateView, children]);\n\n return (\n <div className={cn(className, 'flex flex-col gap-xs')}>\n <div\n className={cn('relative overflow-hidden', {\n 'transition-all duration-300 ease-in-out': enableTransitions,\n })}\n data-testid=\"description-container\"\n ref={containerRef}\n style={{\n height: showViewToggle ? `${height}px` : 'auto',\n maxHeight: showViewToggle || isExpanded ? undefined : `${textCutoffHeight}px`,\n }}\n >\n <div ref={contentRef}>{children}</div>\n {showViewToggle && !removeFadeBackgroundColor && !isExpanded && (\n <div\n className=\"absolute bottom-0 left-0 right-0 h-xl w-full\"\n style={{\n background: fadeBackgroundColor\n ? `linear-gradient(to bottom, transparent, ${fadeBackgroundColor})`\n : `linear-gradient(to bottom, transparent, ${wrapVarRgb('--color-background-primary')})`,\n }}\n />\n )}\n </div>\n {showViewToggle && (\n <div\n className={cn('w-full', {\n 'text-center': centerInlineButton,\n })}\n >\n {useWeakInlineButton ? (\n <InlineButton\n className=\"w-fit\"\n icon={showIcon ? (isExpanded ? CaretUp : CaretDown) : undefined}\n iconPlacement=\"right\"\n onClick={toggleDescription}\n style=\"neutral\"\n >\n {isExpanded ? collapseText : expandText}\n </InlineButton>\n ) : (\n <InlineButton\n className=\"w-fit\"\n icon={showIcon ? (isExpanded ? CaretUp : CaretDown) : undefined}\n iconPlacement=\"right\"\n onClick={toggleDescription}\n >\n {isExpanded ? collapseText : expandText}\n </InlineButton>\n )}\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;;;AAMA,MAAM,kBAAkB,MAAsB;CAC1C,OAAO,IAAI,KAAM,IAAI,IAAI,IAAI,IAAI,IAAI,KAAK,IAAI,KAAK,IAAI,GAAG,CAAC,IAAI;AACnE;;;;;;;;;;;;;;;;;;;AAoBA,MAAa,kBAAkB,SAAiB,WAAmB,QAAc;CAC7E,MAAM,SAAS,OAAO;CACtB,MAAM,WAAW,UAAU;CAC3B,MAAM,YAAY,YAAY,IAAI;CAElC,MAAM,UAAU,gBAAwB;EACpC,MAAM,UAAU,cAAc;EAC9B,MAAM,WAAW,KAAK,IAAI,UAAU,UAAU,CAAC;EAC/C,MAAM,eAAe,eAAe,QAAQ;EAE5C,OAAO,SAAS,GAAG,SAAS,WAAW,YAAY;EAEnD,IAAI,WAAW,GACX,sBAAsB,MAAM;CAEpC;CAEA,sBAAsB,MAAM;AAChC;;;ACtCA,MAAM,oBAAoB;AAC1B,MAAM,kBAAkB;AA0ExB,MAAa,YAAY,EACrB,oBACA,UACA,WACA,eAAe,aACf,kBAAkB,OAClB,gBAAgB,OAChB,aAAa,aACb,qBACA,UACA,SACA,2BACA,WAAW,OACX,mBAAmB,KACnB,0BACS;CACT,MAAM,CAAC,YAAY,kBAAA,GAAA,MAAA,SAAA,CAAmC,eAAe;CAIrE,MAAM,CAAC,QAAQ,cAAA,GAAA,MAAA,SAAA,CAA8B,kBAAkB,OAAO,gBAAgB;CACtF,MAAM,CAAC,gBAAgB,sBAAA,GAAA,MAAA,SAAA,CAAuC,KAAK;CACnE,MAAM,CAAC,mBAAmB,yBAAA,GAAA,MAAA,SAAA,CAA0C,KAAK;CAEzE,MAAM,gBAAA,GAAA,MAAA,OAAA,CAAsC,IAAI;CAChD,MAAM,cAAA,GAAA,MAAA,OAAA,CAAoC,IAAI;CAE9C,MAAM,qBAAA,GAAA,MAAA,YAAA,EACD,UAAyC;EACtC,UAAU,KAAK;EAGf,IAAI,eACA;EAIJ,qBAAqB,IAAI;EAEzB,eAAe,mBAAmB;GAC9B,MAAM,YAAY,iBACZ,mBACC,WAAW,SAAS,gBAAgB;GAC3C,UAAU,SAAS;GACnB,WAAW,CAAC,cAAc;GAG1B,IAAI,kBAAkB,aAAa,SAE/B,eADY,aAAa,QAAQ,sBAAsB,CAAC,CAAC,MAAM,OAAO,UAAU,mBAC5D,eAAe;GAGvC,OAAO,CAAC;EACZ,CAAC;CACL,GACA;EAAC;EAAkB;EAAU;EAAS;CAAa,CACvD;CAEA,MAAM,cAAA,GAAA,MAAA,YAAA,OAA+B;EACjC,IAAI,CAAC,WAAW,SACZ;EAGJ,MAAM,eAAe,WAAW,QAAQ;EACxC,MAAM,mBAAmB,eAAe;EACxC,kBAAkB,gBAAgB;EAClC,UAAU,cAAc,CAAC,mBAAmB,eAAe,gBAAgB;CAC/E,GAAG,CAAC,YAAY,gBAAgB,CAAC;CAEjC,CAAA,GAAA,MAAA,UAAA,OAAgB;EACZ,IAAI,CAAC,WAAW,SACZ;EAEJ,WAAW;EAEX,MAAM,wBAAwBA,4BAAAA,oBAAoB,QAAQ,UAAU,UAAU;EAG9E,MAAM,iBAAiB,IAAI,eAAe,UAAU;EACpD,eAAe,QAAQ,WAAW,OAAO;EAEzC,aAAa;GACT,sBAAsB;GACtB,eAAe,WAAW;EAC9B;CACJ,GAAG,CAAC,YAAY,QAAQ,CAAC;CAEzB,OACI,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,YAAA,GAAA,wBAAA,GAAA,CAAc,WAAW,sBAAsB;YAApD,CACI,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GACI,YAAA,GAAA,wBAAA,GAAA,CAAc,4BAA4B,EACtC,2CAA2C,kBAC/C,CAAC;GACD,eAAY;GACZ,KAAK;GACL,OAAO;IACH,QAAQ,iBAAiB,GAAG,OAAO,MAAM;IACzC,WAAW,kBAAkB,aAAa,KAAA,IAAY,GAAG,iBAAiB;GAC9E;aATJ,CAWI,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IAAK,KAAK;IAAa;GAAc,CAAA,GACpC,kBAAkB,CAAC,6BAA6B,CAAC,cAC9C,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;IACI,WAAU;IACV,OAAO,EACH,YAAY,sBACN,2CAA2C,oBAAoB,KAC/D,4CAAA,GAAA,wBAAA,WAAA,CAAsD,4BAA4B,EAAE,GAC9F;GACH,CAAA,CAEJ;MACJ,kBACG,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;GACI,YAAA,GAAA,wBAAA,GAAA,CAAc,UAAU,EACpB,eAAe,mBACnB,CAAC;aAEA,sBACG,iBAAA,GAAA,kBAAA,IAAA,CAACC,gCAAAA,cAAD;IACI,WAAU;IACV,MAAM,WAAY,aAAaC,cAAAA,UAAUC,cAAAA,YAAa,KAAA;IACtD,eAAc;IACd,SAAS;IACT,OAAM;cAEL,aAAa,eAAe;GACnB,CAAA,IAEd,iBAAA,GAAA,kBAAA,IAAA,CAACF,gCAAAA,cAAD;IACI,WAAU;IACV,MAAM,WAAY,aAAaC,cAAAA,UAAUC,cAAAA,YAAa,KAAA;IACtD,eAAc;IACd,SAAS;cAER,aAAa,eAAe;GACnB,CAAA;EAEjB,CAAA,CAER;;AAEb"}
|