@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,430 @@
|
|
|
1
|
+
const require_Typography_Text = require("./Typography/Text.cjs");
|
|
2
|
+
const require_Button = require("./Button.cjs");
|
|
3
|
+
const require_Typography_InlineButton = require("./Typography/InlineButton.cjs");
|
|
4
|
+
const require_Toast = require("./Toast-CPEKESLZ.cjs");
|
|
5
|
+
const require_components = require("./components-CL4KcKF0.cjs");
|
|
6
|
+
const require_Modal = require("./Modal-CiBqXyiK.cjs");
|
|
7
|
+
const require_toggleSwitch = require("./toggleSwitch.cjs");
|
|
8
|
+
let _evolve_ui_theme_system = require("@evolve.ui/theme-system");
|
|
9
|
+
let react = require("react");
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
//#region src/CookieConsent/types/cookieConsent.types.ts
|
|
12
|
+
/** Where the user interaction originated. */
|
|
13
|
+
let ConsentSource = /* @__PURE__ */ function(ConsentSource) {
|
|
14
|
+
ConsentSource["Banner"] = "banner";
|
|
15
|
+
ConsentSource["Modal"] = "modal";
|
|
16
|
+
return ConsentSource;
|
|
17
|
+
}({});
|
|
18
|
+
const DEFAULT_COOKIE_CATEGORIES = [
|
|
19
|
+
{
|
|
20
|
+
description: "Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.",
|
|
21
|
+
key: "necessary",
|
|
22
|
+
label: "Necessary",
|
|
23
|
+
required: true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
description: "Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.",
|
|
27
|
+
key: "preferences",
|
|
28
|
+
label: "Preferences"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
description: "Statistics cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.",
|
|
32
|
+
key: "statistics",
|
|
33
|
+
label: "Statistics"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
description: "Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.",
|
|
37
|
+
key: "marketing",
|
|
38
|
+
label: "Marketing"
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/CookieConsent/hooks/useCookieConsent.ts
|
|
43
|
+
const DEFAULT_CONSENT_STORAGE_KEY = "hui-cookie-consent";
|
|
44
|
+
const DEFAULT_CONSENT = {
|
|
45
|
+
marketing: false,
|
|
46
|
+
preferences: false,
|
|
47
|
+
statistics: false
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Reads a previously persisted consent payload from localStorage.
|
|
51
|
+
* Returns `undefined` during SSR, when nothing is stored, or when the stored
|
|
52
|
+
* value is corrupt/unparseable (corrupt values are treated as "no response yet"
|
|
53
|
+
* so the banner shows again rather than trusting bad data).
|
|
54
|
+
*/
|
|
55
|
+
const readStoredConsent = (storageKey) => {
|
|
56
|
+
/* istanbul ignore next -- @preserve: SSR guard; a React test renderer always runs with a defined `window`, so this branch is unreachable under jest/jsdom. */
|
|
57
|
+
if (typeof window === "undefined") return;
|
|
58
|
+
let raw = null;
|
|
59
|
+
try {
|
|
60
|
+
raw = window.localStorage.getItem(storageKey);
|
|
61
|
+
} catch {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
if (!raw) return;
|
|
65
|
+
try {
|
|
66
|
+
const parsed = JSON.parse(raw);
|
|
67
|
+
if (typeof parsed === "object" && parsed !== null && typeof parsed.marketing === "boolean" && typeof parsed.preferences === "boolean" && typeof parsed.statistics === "boolean") {
|
|
68
|
+
const payload = parsed;
|
|
69
|
+
return {
|
|
70
|
+
marketing: payload.marketing,
|
|
71
|
+
preferences: payload.preferences,
|
|
72
|
+
statistics: payload.statistics
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
} catch {}
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Persists a consent payload to localStorage. No-ops during SSR or when
|
|
79
|
+
* localStorage is unavailable.
|
|
80
|
+
*/
|
|
81
|
+
const writeStoredConsent = (storageKey, categories) => {
|
|
82
|
+
/* istanbul ignore next -- @preserve: SSR guard; consent writes are user-triggered client-side actions and a React test renderer always has a defined `window`, so this branch is unreachable under jest/jsdom. */
|
|
83
|
+
if (typeof window === "undefined") return;
|
|
84
|
+
const payload = {
|
|
85
|
+
...categories,
|
|
86
|
+
necessary: true
|
|
87
|
+
};
|
|
88
|
+
try {
|
|
89
|
+
window.localStorage.setItem(storageKey, JSON.stringify(payload));
|
|
90
|
+
} catch {}
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Low-level consent engine backed by localStorage.
|
|
94
|
+
*
|
|
95
|
+
* Uncontrolled (default) mode: on mount, reads any previously saved consent
|
|
96
|
+
* from localStorage. The banner is visible if and only if no stored consent
|
|
97
|
+
* exists. Action helpers (`acceptAll`, `declineAll`, `submitConsent`) persist
|
|
98
|
+
* the new consent payload and hide the banner.
|
|
99
|
+
*
|
|
100
|
+
* Controlled mode (`consent` param provided): an external CMP owns the state —
|
|
101
|
+
* nothing is read from or written to localStorage and the banner is never
|
|
102
|
+
* auto-shown; the preferences modal remains reachable via
|
|
103
|
+
* `CookieConsentHandle.openModal()`.
|
|
104
|
+
*
|
|
105
|
+
* Exposes `isBannerVisible`, current `consent` state, `hasResponse` (whether
|
|
106
|
+
* the user has already responded), and the action helpers.
|
|
107
|
+
*/
|
|
108
|
+
const useCookieConsent = ({ consent: controlledConsent, storageKey = DEFAULT_CONSENT_STORAGE_KEY } = {}) => {
|
|
109
|
+
const isControlled = controlledConsent !== void 0;
|
|
110
|
+
const [isBannerVisible, setIsBannerVisible] = (0, react.useState)(false);
|
|
111
|
+
const [internalConsent, setInternalConsent] = (0, react.useState)(DEFAULT_CONSENT);
|
|
112
|
+
const [hasStoredResponse, setHasStoredResponse] = (0, react.useState)(false);
|
|
113
|
+
(0, react.useEffect)(() => {
|
|
114
|
+
if (isControlled) return;
|
|
115
|
+
const stored = readStoredConsent(storageKey);
|
|
116
|
+
if (stored) {
|
|
117
|
+
setInternalConsent(stored);
|
|
118
|
+
setHasStoredResponse(true);
|
|
119
|
+
setIsBannerVisible(false);
|
|
120
|
+
} else setIsBannerVisible(true);
|
|
121
|
+
}, [isControlled, storageKey]);
|
|
122
|
+
const applyConsent = (0, react.useCallback)((categories) => {
|
|
123
|
+
if (!isControlled) writeStoredConsent(storageKey, categories);
|
|
124
|
+
setInternalConsent(categories);
|
|
125
|
+
setHasStoredResponse(true);
|
|
126
|
+
setIsBannerVisible(false);
|
|
127
|
+
}, [isControlled, storageKey]);
|
|
128
|
+
const acceptAll = (0, react.useCallback)(() => {
|
|
129
|
+
applyConsent({
|
|
130
|
+
marketing: true,
|
|
131
|
+
preferences: true,
|
|
132
|
+
statistics: true
|
|
133
|
+
});
|
|
134
|
+
}, [applyConsent]);
|
|
135
|
+
const declineAll = (0, react.useCallback)(() => {
|
|
136
|
+
applyConsent(DEFAULT_CONSENT);
|
|
137
|
+
}, [applyConsent]);
|
|
138
|
+
const submitConsent = (0, react.useCallback)((categories) => {
|
|
139
|
+
applyConsent(categories);
|
|
140
|
+
}, [applyConsent]);
|
|
141
|
+
return {
|
|
142
|
+
acceptAll,
|
|
143
|
+
consent: isControlled ? controlledConsent : internalConsent,
|
|
144
|
+
declineAll,
|
|
145
|
+
/** Whether the user has already responded (controlled mode counts as responded). */
|
|
146
|
+
hasResponse: isControlled || hasStoredResponse,
|
|
147
|
+
isBannerVisible,
|
|
148
|
+
submitConsent
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/CookieConsent/hooks/useCookieConsentState.ts
|
|
153
|
+
const DEFAULT_LOCAL_CONSENT = {
|
|
154
|
+
marketing: true,
|
|
155
|
+
preferences: true,
|
|
156
|
+
statistics: true
|
|
157
|
+
};
|
|
158
|
+
const buildConsentPayload = (consent) => ({
|
|
159
|
+
...consent,
|
|
160
|
+
necessary: true
|
|
161
|
+
});
|
|
162
|
+
/**
|
|
163
|
+
* UI state manager for the CookieConsent component.
|
|
164
|
+
*
|
|
165
|
+
* Wraps `useCookieConsent` and owns banner/modal visibility, local consent
|
|
166
|
+
* toggle state, and all user interaction handlers (OK, save, toggle, open/close).
|
|
167
|
+
*
|
|
168
|
+
* Modal toggles default to all-ON (`DEFAULT_LOCAL_CONSENT`). When opening the
|
|
169
|
+
* modal, existing consent is read from the consent engine only if the user has
|
|
170
|
+
* already responded — before a response, consent initializes as all `false`,
|
|
171
|
+
* so we fall back to the all-ON default.
|
|
172
|
+
*/
|
|
173
|
+
const useCookieConsentState = ({ consent: controlledConsent, onConsentChange, storageKey, toastMessage, tracking }) => {
|
|
174
|
+
const { acceptAll, consent, hasResponse, isBannerVisible, submitConsent } = useCookieConsent({
|
|
175
|
+
consent: controlledConsent,
|
|
176
|
+
storageKey
|
|
177
|
+
});
|
|
178
|
+
const trackingRef = (0, react.useRef)(tracking);
|
|
179
|
+
trackingRef.current = tracking;
|
|
180
|
+
const [showBanner, setShowBanner] = (0, react.useState)(false);
|
|
181
|
+
const [bannerExiting, setBannerExiting] = (0, react.useState)(false);
|
|
182
|
+
const [showDialog, setShowDialog] = (0, react.useState)(false);
|
|
183
|
+
const [localConsent, setLocalConsent] = (0, react.useState)(DEFAULT_LOCAL_CONSENT);
|
|
184
|
+
const readCurrentConsent = (0, react.useCallback)(() => hasResponse ? consent : DEFAULT_LOCAL_CONSENT, [consent, hasResponse]);
|
|
185
|
+
(0, react.useEffect)(() => {
|
|
186
|
+
if (isBannerVisible) {
|
|
187
|
+
setShowBanner(true);
|
|
188
|
+
setBannerExiting(false);
|
|
189
|
+
trackingRef.current?.onBannerViewed?.();
|
|
190
|
+
}
|
|
191
|
+
}, [isBannerVisible]);
|
|
192
|
+
const openModal = (0, react.useCallback)(() => {
|
|
193
|
+
setLocalConsent(readCurrentConsent());
|
|
194
|
+
setShowDialog(true);
|
|
195
|
+
}, [readCurrentConsent]);
|
|
196
|
+
const handleBannerAnimationEnd = (0, react.useCallback)((e) => {
|
|
197
|
+
/* istanbul ignore next -- @preserve: `bannerExiting` is only ever set to false in this hook (faithful hammer parity), so the exit-animation cleanup branch is unreachable. Reported as latent dead code, not modified to preserve parity. */
|
|
198
|
+
if (bannerExiting && e.target === e.currentTarget) {
|
|
199
|
+
setShowBanner(false);
|
|
200
|
+
setBannerExiting(false);
|
|
201
|
+
}
|
|
202
|
+
}, [bannerExiting]);
|
|
203
|
+
const openDialog = (0, react.useCallback)(() => {
|
|
204
|
+
setLocalConsent(readCurrentConsent());
|
|
205
|
+
setShowDialog(true);
|
|
206
|
+
setShowBanner(false);
|
|
207
|
+
setBannerExiting(false);
|
|
208
|
+
trackingRef.current?.onPreferencesOpened?.("banner");
|
|
209
|
+
}, [readCurrentConsent]);
|
|
210
|
+
return {
|
|
211
|
+
bannerExiting,
|
|
212
|
+
closeDialog: (0, react.useCallback)(() => {
|
|
213
|
+
setShowDialog(false);
|
|
214
|
+
trackingRef.current?.onPreferencesDismissed?.("modal");
|
|
215
|
+
if (isBannerVisible) {
|
|
216
|
+
setShowBanner(true);
|
|
217
|
+
setBannerExiting(false);
|
|
218
|
+
}
|
|
219
|
+
}, [isBannerVisible]),
|
|
220
|
+
handleBannerAnimationEnd,
|
|
221
|
+
handleOk: (0, react.useCallback)(() => {
|
|
222
|
+
const allConsent = {
|
|
223
|
+
marketing: true,
|
|
224
|
+
preferences: true,
|
|
225
|
+
statistics: true
|
|
226
|
+
};
|
|
227
|
+
acceptAll();
|
|
228
|
+
onConsentChange?.(allConsent);
|
|
229
|
+
setShowBanner(false);
|
|
230
|
+
setBannerExiting(false);
|
|
231
|
+
require_Toast.toast("success", { title: toastMessage });
|
|
232
|
+
trackingRef.current?.onPreferencesSaved?.({
|
|
233
|
+
consent: buildConsentPayload(allConsent),
|
|
234
|
+
source: "banner"
|
|
235
|
+
});
|
|
236
|
+
}, [
|
|
237
|
+
acceptAll,
|
|
238
|
+
onConsentChange,
|
|
239
|
+
toastMessage
|
|
240
|
+
]),
|
|
241
|
+
handleSavePreferences: (0, react.useCallback)(() => {
|
|
242
|
+
submitConsent(localConsent);
|
|
243
|
+
onConsentChange?.(localConsent);
|
|
244
|
+
setShowDialog(false);
|
|
245
|
+
setShowBanner(false);
|
|
246
|
+
setBannerExiting(false);
|
|
247
|
+
require_Toast.toast("success", { title: toastMessage });
|
|
248
|
+
trackingRef.current?.onPreferencesSaved?.({
|
|
249
|
+
consent: buildConsentPayload(localConsent),
|
|
250
|
+
source: "modal"
|
|
251
|
+
});
|
|
252
|
+
}, [
|
|
253
|
+
localConsent,
|
|
254
|
+
onConsentChange,
|
|
255
|
+
submitConsent,
|
|
256
|
+
toastMessage
|
|
257
|
+
]),
|
|
258
|
+
handleToggle: (0, react.useCallback)((key) => {
|
|
259
|
+
setLocalConsent((prev) => ({
|
|
260
|
+
...prev,
|
|
261
|
+
[key]: !prev[key]
|
|
262
|
+
}));
|
|
263
|
+
}, []),
|
|
264
|
+
localConsent,
|
|
265
|
+
openDialog,
|
|
266
|
+
openModal,
|
|
267
|
+
showBanner,
|
|
268
|
+
showDialog
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region src/CookieConsent/components/CookieConsentBanner/CookieConsentBanner.tsx
|
|
273
|
+
const CookieConsentBanner = (0, react.memo)(({ isExiting, onAnimationEnd, onDismiss, onOpenPreferences }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
274
|
+
"aria-label": "Cookie consent",
|
|
275
|
+
className: (0, _evolve_ui_theme_system.cn)("fixed inset-x-0 bottom-md z-[10300] mx-auto w-[calc(100%-48px)] max-w-[1200px] rounded-md border border-border-secondary bg-background-tertiary shadow-01", isExiting ? "animate-slideDown" : "animate-slideUp"),
|
|
276
|
+
onAnimationEnd,
|
|
277
|
+
role: "region",
|
|
278
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
279
|
+
className: "flex flex-col gap-xs p-sm smMin:flex-row smMin:items-center smMin:gap-md smMin:p-md",
|
|
280
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
281
|
+
className: "min-w-0 flex-1",
|
|
282
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.BodySecondary, {
|
|
283
|
+
className: "inline",
|
|
284
|
+
children: "We use cookies to improve your experience, to analyze website usage, and for marketing purposes."
|
|
285
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_InlineButton.InlineButton, {
|
|
286
|
+
className: "ml-2xs inline text-text-primary underline",
|
|
287
|
+
onClick: onOpenPreferences,
|
|
288
|
+
size: "sm",
|
|
289
|
+
children: "Cookie preferences"
|
|
290
|
+
})]
|
|
291
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
292
|
+
className: "shrink-0 self-end smMin:self-auto",
|
|
293
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Button.Button, {
|
|
294
|
+
className: "min-w-[96px]",
|
|
295
|
+
onClick: onDismiss,
|
|
296
|
+
size: "sm",
|
|
297
|
+
style: "neutral",
|
|
298
|
+
variant: "outlined",
|
|
299
|
+
children: "OK"
|
|
300
|
+
})
|
|
301
|
+
})]
|
|
302
|
+
})
|
|
303
|
+
}));
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/CookieConsent/components/CookieCategoryRow/CookieCategoryRow.tsx
|
|
306
|
+
const CookieCategoryRow = (0, react.memo)(({ description, isToggled, label, onToggleChange, required }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
307
|
+
className: "flex flex-col gap-2xs border-b border-border-secondary py-sm",
|
|
308
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
309
|
+
className: "flex h-[22px] items-center justify-between",
|
|
310
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.LabelStrong, { children: label }), required ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.BodySecondary, {
|
|
311
|
+
className: "text-text-primary",
|
|
312
|
+
children: "Required"
|
|
313
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_toggleSwitch.ToggleSwitch, {
|
|
314
|
+
"aria-label": label,
|
|
315
|
+
isToggled,
|
|
316
|
+
onToggleChange
|
|
317
|
+
})]
|
|
318
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.Caption, {
|
|
319
|
+
className: "text-text-secondary",
|
|
320
|
+
children: description
|
|
321
|
+
})]
|
|
322
|
+
}));
|
|
323
|
+
//#endregion
|
|
324
|
+
//#region src/CookieConsent/components/CookieConsentModal/CookieConsentModal.tsx
|
|
325
|
+
const CookieConsentModal = (0, react.memo)(({ categories = DEFAULT_COOKIE_CATEGORIES, localConsent, onClose, onSave, onToggle, show }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Modal.Modal, {
|
|
326
|
+
className: "max-w-[588px]",
|
|
327
|
+
handleClose: onClose,
|
|
328
|
+
show,
|
|
329
|
+
type: "composable",
|
|
330
|
+
children: [
|
|
331
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components.CloseButton, {}),
|
|
332
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components.ModalHeader, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.H2, { children: "Cookie Preferences" }) }),
|
|
333
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components.ModalContent, {
|
|
334
|
+
className: "max-w-460px pb-sm",
|
|
335
|
+
children: [
|
|
336
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography_Text.BodySecondary, {
|
|
337
|
+
className: "mb-sm",
|
|
338
|
+
children: "Our platform uses various types of cookies, each of which has a specific function. Manage your preferences below:"
|
|
339
|
+
}),
|
|
340
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "border-b border-border-secondary pb-sm" }),
|
|
341
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
342
|
+
className: "flex flex-col",
|
|
343
|
+
children: categories.map((cat) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CookieCategoryRow, {
|
|
344
|
+
description: cat.description,
|
|
345
|
+
isToggled: cat.required ? true : localConsent[cat.key],
|
|
346
|
+
label: cat.label,
|
|
347
|
+
onToggleChange: cat.required ? void 0 : () => onToggle(cat.key),
|
|
348
|
+
required: cat.required
|
|
349
|
+
}, cat.key))
|
|
350
|
+
})
|
|
351
|
+
]
|
|
352
|
+
}),
|
|
353
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components.ModalActions, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Button.Button, {
|
|
354
|
+
onClick: onSave,
|
|
355
|
+
size: "md",
|
|
356
|
+
style: "primary",
|
|
357
|
+
variant: "filled",
|
|
358
|
+
children: "SAVE PREFERENCES"
|
|
359
|
+
}) })
|
|
360
|
+
]
|
|
361
|
+
}));
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/CookieConsent/components/CookieConsent/CookieConsent.tsx
|
|
364
|
+
const DEFAULT_TOAST_MESSAGE = "Your privacy preferences have been saved.";
|
|
365
|
+
/**
|
|
366
|
+
* Custom cookie consent UI (banner + preferences modal).
|
|
367
|
+
*
|
|
368
|
+
* Renders the consent banner and modal. By default consent is persisted to
|
|
369
|
+
* localStorage via `useCookieConsentState`; pass the `consent` prop to let an
|
|
370
|
+
* external consent-management platform own the state instead. Exposes
|
|
371
|
+
* `openModal()` through a ref for programmatic access (e.g. footer
|
|
372
|
+
* "Cookie Preferences" link).
|
|
373
|
+
*/
|
|
374
|
+
const CookieConsent = (0, react.forwardRef)(({ categories, consent, onConsentChange, storageKey, toastMessage = DEFAULT_TOAST_MESSAGE, tracking } = {}, ref) => {
|
|
375
|
+
const state = useCookieConsentState({
|
|
376
|
+
consent,
|
|
377
|
+
onConsentChange,
|
|
378
|
+
storageKey,
|
|
379
|
+
toastMessage,
|
|
380
|
+
tracking
|
|
381
|
+
});
|
|
382
|
+
(0, react.useImperativeHandle)(ref, () => ({ openModal: state.openModal }), [state.openModal]);
|
|
383
|
+
if (!state.showBanner && !state.showDialog) return null;
|
|
384
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [state.showBanner && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CookieConsentBanner, {
|
|
385
|
+
isExiting: state.bannerExiting,
|
|
386
|
+
onAnimationEnd: state.handleBannerAnimationEnd,
|
|
387
|
+
onDismiss: state.handleOk,
|
|
388
|
+
onOpenPreferences: state.openDialog
|
|
389
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CookieConsentModal, {
|
|
390
|
+
categories,
|
|
391
|
+
localConsent: state.localConsent,
|
|
392
|
+
onClose: state.closeDialog,
|
|
393
|
+
onSave: state.handleSavePreferences,
|
|
394
|
+
onToggle: state.handleToggle,
|
|
395
|
+
show: state.showDialog
|
|
396
|
+
})] });
|
|
397
|
+
});
|
|
398
|
+
//#endregion
|
|
399
|
+
Object.defineProperty(exports, "ConsentSource", {
|
|
400
|
+
enumerable: true,
|
|
401
|
+
get: function() {
|
|
402
|
+
return ConsentSource;
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
Object.defineProperty(exports, "CookieConsent", {
|
|
406
|
+
enumerable: true,
|
|
407
|
+
get: function() {
|
|
408
|
+
return CookieConsent;
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
Object.defineProperty(exports, "DEFAULT_CONSENT_STORAGE_KEY", {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
get: function() {
|
|
414
|
+
return DEFAULT_CONSENT_STORAGE_KEY;
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
Object.defineProperty(exports, "DEFAULT_COOKIE_CATEGORIES", {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
get: function() {
|
|
420
|
+
return DEFAULT_COOKIE_CATEGORIES;
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
Object.defineProperty(exports, "useCookieConsent", {
|
|
424
|
+
enumerable: true,
|
|
425
|
+
get: function() {
|
|
426
|
+
return useCookieConsent;
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
|
|
430
|
+
//# sourceMappingURL=CookieConsent-PIglB_bb.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CookieConsent-PIglB_bb.cjs","names":["BodySecondary","InlineButton","Button","LabelStrong","BodySecondary","ToggleSwitch","Caption","Modal","CloseButton","ModalHeader","H2","ModalContent","BodySecondary","ModalActions","Button"],"sources":["../src/CookieConsent/types/cookieConsent.types.ts","../src/CookieConsent/hooks/useCookieConsent.ts","../src/CookieConsent/hooks/useCookieConsentState.ts","../src/CookieConsent/components/CookieConsentBanner/CookieConsentBanner.tsx","../src/CookieConsent/components/CookieCategoryRow/CookieCategoryRow.tsx","../src/CookieConsent/components/CookieConsentModal/CookieConsentModal.tsx","../src/CookieConsent/components/CookieConsent/CookieConsent.tsx"],"sourcesContent":["/**\n * The three non-essential consent categories managed by this component.\n * `necessary` is excluded because it's always implicitly granted.\n */\nexport type ConsentCategories = {\n marketing: boolean;\n preferences: boolean;\n statistics: boolean;\n};\n\n/** Full consent payload including the always-on `necessary` flag. */\nexport type ConsentPayload = ConsentCategories & { necessary: true };\n\n/** Where the user interaction originated. */\nexport enum ConsentSource {\n Banner = 'banner',\n Modal = 'modal',\n}\n\n/** Tracking callbacks for cookie consent analytics. */\nexport type CookieConsentTracking = {\n onBannerViewed?: () => void;\n onPreferencesDismissed?: (source: ConsentSource) => void;\n onPreferencesOpened?: (source: ConsentSource) => void;\n onPreferencesSaved?: (payload: { consent: ConsentPayload; source: ConsentSource }) => void;\n};\n\n/** Params for the useCookieConsentState hook. */\nexport type UseCookieConsentStateParams = {\n /**\n * Controlled consent state. When provided, an external consent-management\n * platform owns the consent state and internal localStorage persistence is\n * bypassed — sync changes back through `onConsentChange`.\n */\n consent?: ConsentCategories;\n onConsentChange?: (consent: ConsentCategories) => void;\n /** localStorage key used to persist consent in uncontrolled mode. */\n storageKey?: string;\n toastMessage: string;\n tracking?: CookieConsentTracking;\n};\n\n/** Definition for a single row in the preferences modal. */\nexport type CookieCategoryConfig = {\n description: string;\n /** Must match a `ConsentCategories` key, or `'necessary'` for the always-on row. */\n key: keyof ConsentCategories | 'necessary';\n label: string;\n /** When `true`, the toggle is locked on and the user cannot opt out. */\n required?: boolean;\n};\n\nexport const DEFAULT_COOKIE_CATEGORIES: CookieCategoryConfig[] = [\n {\n description:\n 'Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.',\n key: 'necessary',\n label: 'Necessary',\n required: true,\n },\n {\n description:\n 'Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.',\n key: 'preferences',\n label: 'Preferences',\n },\n {\n description:\n 'Statistics cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.',\n key: 'statistics',\n label: 'Statistics',\n },\n {\n description:\n 'Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.',\n key: 'marketing',\n label: 'Marketing',\n },\n];\n","import { useCallback, useEffect, useState } from 'react';\n\nimport type { ConsentCategories, ConsentPayload } from '../types/cookieConsent.types';\n\nexport const DEFAULT_CONSENT_STORAGE_KEY = 'hui-cookie-consent';\n\nconst DEFAULT_CONSENT: ConsentCategories = {\n marketing: false,\n preferences: false,\n statistics: false,\n};\n\n/**\n * Reads a previously persisted consent payload from localStorage.\n * Returns `undefined` during SSR, when nothing is stored, or when the stored\n * value is corrupt/unparseable (corrupt values are treated as \"no response yet\"\n * so the banner shows again rather than trusting bad data).\n */\nconst readStoredConsent = (storageKey: string): ConsentCategories | undefined => {\n /* istanbul ignore next -- @preserve: SSR guard; a React test renderer always runs with a defined `window`, so this branch is unreachable under jest/jsdom. */\n if (typeof window === 'undefined') {\n return undefined;\n }\n\n let raw: string | null = null;\n try {\n raw = window.localStorage.getItem(storageKey);\n } catch {\n // localStorage can throw (e.g. disabled in the browser) — treat as no response.\n return undefined;\n }\n\n if (!raw) {\n return undefined;\n }\n\n try {\n const parsed: unknown = JSON.parse(raw);\n if (\n typeof parsed === 'object' &&\n parsed !== null &&\n typeof (parsed as ConsentPayload).marketing === 'boolean' &&\n typeof (parsed as ConsentPayload).preferences === 'boolean' &&\n typeof (parsed as ConsentPayload).statistics === 'boolean'\n ) {\n const payload = parsed as ConsentPayload;\n return {\n marketing: payload.marketing,\n preferences: payload.preferences,\n statistics: payload.statistics,\n };\n }\n } catch {\n // Corrupt JSON — fall through to undefined.\n }\n\n return undefined;\n};\n\n/**\n * Persists a consent payload to localStorage. No-ops during SSR or when\n * localStorage is unavailable.\n */\nconst writeStoredConsent = (storageKey: string, categories: ConsentCategories) => {\n /* istanbul ignore next -- @preserve: SSR guard; consent writes are user-triggered client-side actions and a React test renderer always has a defined `window`, so this branch is unreachable under jest/jsdom. */\n if (typeof window === 'undefined') {\n return;\n }\n\n const payload: ConsentPayload = { ...categories, necessary: true };\n\n try {\n window.localStorage.setItem(storageKey, JSON.stringify(payload));\n } catch {\n // localStorage unavailable — consent still applies for this session via state.\n }\n};\n\n/** Params for the useCookieConsent hook. */\nexport type UseCookieConsentParams = {\n /**\n * Controlled consent state. When provided, an external consent-management\n * platform (CMP) owns the consent state: internal localStorage persistence\n * is bypassed, the banner is never auto-shown, and consent reads reflect\n * this value. Sync user changes back to the CMP via the component's\n * `onConsentChange` callback.\n */\n consent?: ConsentCategories;\n /** localStorage key used to persist consent in uncontrolled mode. */\n storageKey?: string;\n};\n\n/**\n * Low-level consent engine backed by localStorage.\n *\n * Uncontrolled (default) mode: on mount, reads any previously saved consent\n * from localStorage. The banner is visible if and only if no stored consent\n * exists. Action helpers (`acceptAll`, `declineAll`, `submitConsent`) persist\n * the new consent payload and hide the banner.\n *\n * Controlled mode (`consent` param provided): an external CMP owns the state —\n * nothing is read from or written to localStorage and the banner is never\n * auto-shown; the preferences modal remains reachable via\n * `CookieConsentHandle.openModal()`.\n *\n * Exposes `isBannerVisible`, current `consent` state, `hasResponse` (whether\n * the user has already responded), and the action helpers.\n */\nexport const useCookieConsent = ({\n consent: controlledConsent,\n storageKey = DEFAULT_CONSENT_STORAGE_KEY,\n}: UseCookieConsentParams = {}) => {\n const isControlled = controlledConsent !== undefined;\n\n const [isBannerVisible, setIsBannerVisible] = useState(false);\n const [internalConsent, setInternalConsent] = useState<ConsentCategories>(DEFAULT_CONSENT);\n const [hasStoredResponse, setHasStoredResponse] = useState(false);\n\n useEffect(() => {\n if (isControlled) {\n return;\n }\n\n const stored = readStoredConsent(storageKey);\n if (stored) {\n setInternalConsent(stored);\n setHasStoredResponse(true);\n setIsBannerVisible(false);\n } else {\n setIsBannerVisible(true);\n }\n }, [isControlled, storageKey]);\n\n const applyConsent = useCallback(\n (categories: ConsentCategories) => {\n if (!isControlled) {\n writeStoredConsent(storageKey, categories);\n }\n setInternalConsent(categories);\n setHasStoredResponse(true);\n setIsBannerVisible(false);\n },\n [isControlled, storageKey]\n );\n\n const acceptAll = useCallback(() => {\n applyConsent({ marketing: true, preferences: true, statistics: true });\n }, [applyConsent]);\n\n const declineAll = useCallback(() => {\n applyConsent(DEFAULT_CONSENT);\n }, [applyConsent]);\n\n const submitConsent = useCallback(\n (categories: ConsentCategories) => {\n applyConsent(categories);\n },\n [applyConsent]\n );\n\n return {\n acceptAll,\n consent: isControlled ? controlledConsent : internalConsent,\n declineAll,\n /** Whether the user has already responded (controlled mode counts as responded). */\n hasResponse: isControlled || hasStoredResponse,\n isBannerVisible,\n submitConsent,\n };\n};\n","import { AnimationEvent, useCallback, useEffect, useRef, useState } from 'react';\n\nimport { toast } from '../../Toast';\nimport {\n ConsentCategories,\n ConsentPayload,\n ConsentSource,\n UseCookieConsentStateParams,\n} from '../types/cookieConsent.types';\nimport { useCookieConsent } from './useCookieConsent';\n\nconst DEFAULT_LOCAL_CONSENT: ConsentCategories = {\n marketing: true,\n preferences: true,\n statistics: true,\n};\n\nconst buildConsentPayload = (consent: ConsentCategories): ConsentPayload => ({\n ...consent,\n necessary: true,\n});\n\n/**\n * UI state manager for the CookieConsent component.\n *\n * Wraps `useCookieConsent` and owns banner/modal visibility, local consent\n * toggle state, and all user interaction handlers (OK, save, toggle, open/close).\n *\n * Modal toggles default to all-ON (`DEFAULT_LOCAL_CONSENT`). When opening the\n * modal, existing consent is read from the consent engine only if the user has\n * already responded — before a response, consent initializes as all `false`,\n * so we fall back to the all-ON default.\n */\nexport const useCookieConsentState = ({\n consent: controlledConsent,\n onConsentChange,\n storageKey,\n toastMessage,\n tracking,\n}: UseCookieConsentStateParams) => {\n const { acceptAll, consent, hasResponse, isBannerVisible, submitConsent } = useCookieConsent({\n consent: controlledConsent,\n storageKey,\n });\n const trackingRef = useRef(tracking);\n trackingRef.current = tracking;\n\n const [showBanner, setShowBanner] = useState(false);\n const [bannerExiting, setBannerExiting] = useState(false);\n const [showDialog, setShowDialog] = useState(false);\n const [localConsent, setLocalConsent] = useState(DEFAULT_LOCAL_CONSENT);\n\n const readCurrentConsent = useCallback(\n (): ConsentCategories => (hasResponse ? consent : DEFAULT_LOCAL_CONSENT),\n [consent, hasResponse]\n );\n\n useEffect(() => {\n if (isBannerVisible) {\n setShowBanner(true);\n setBannerExiting(false);\n trackingRef.current?.onBannerViewed?.();\n }\n }, [isBannerVisible]);\n\n const openModal = useCallback(() => {\n setLocalConsent(readCurrentConsent());\n setShowDialog(true);\n }, [readCurrentConsent]);\n\n const handleBannerAnimationEnd = useCallback(\n (e: AnimationEvent<HTMLDivElement>) => {\n /* istanbul ignore next -- @preserve: `bannerExiting` is only ever set to false in this hook (faithful hammer parity), so the exit-animation cleanup branch is unreachable. Reported as latent dead code, not modified to preserve parity. */\n if (bannerExiting && e.target === e.currentTarget) {\n setShowBanner(false);\n setBannerExiting(false);\n }\n },\n [bannerExiting]\n );\n\n const openDialog = useCallback(() => {\n setLocalConsent(readCurrentConsent());\n setShowDialog(true);\n setShowBanner(false);\n setBannerExiting(false);\n trackingRef.current?.onPreferencesOpened?.(ConsentSource.Banner);\n }, [readCurrentConsent]);\n\n const closeDialog = useCallback(() => {\n setShowDialog(false);\n trackingRef.current?.onPreferencesDismissed?.(ConsentSource.Modal);\n if (isBannerVisible) {\n setShowBanner(true);\n setBannerExiting(false);\n }\n }, [isBannerVisible]);\n\n const handleOk = useCallback(() => {\n const allConsent: ConsentCategories = { marketing: true, preferences: true, statistics: true };\n acceptAll();\n onConsentChange?.(allConsent);\n setShowBanner(false);\n setBannerExiting(false);\n toast('success', { title: toastMessage });\n trackingRef.current?.onPreferencesSaved?.({\n consent: buildConsentPayload(allConsent),\n source: ConsentSource.Banner,\n });\n }, [acceptAll, onConsentChange, toastMessage]);\n\n const handleSavePreferences = useCallback(() => {\n submitConsent(localConsent);\n onConsentChange?.(localConsent);\n setShowDialog(false);\n setShowBanner(false);\n setBannerExiting(false);\n toast('success', { title: toastMessage });\n trackingRef.current?.onPreferencesSaved?.({\n consent: buildConsentPayload(localConsent),\n source: ConsentSource.Modal,\n });\n }, [localConsent, onConsentChange, submitConsent, toastMessage]);\n\n const handleToggle = useCallback((key: keyof ConsentCategories) => {\n setLocalConsent((prev) => ({ ...prev, [key]: !prev[key] }));\n }, []);\n\n return {\n bannerExiting,\n closeDialog,\n handleBannerAnimationEnd,\n handleOk,\n handleSavePreferences,\n handleToggle,\n localConsent,\n openDialog,\n openModal,\n showBanner,\n showDialog,\n };\n};\n","import { cn } from '@evolve.ui/theme-system';\nimport { AnimationEvent, memo } from 'react';\n\nimport { Button } from '../../../Button/Button';\nimport { InlineButton } from '../../../Typography/InlineButton/InlineButton';\nimport { BodySecondary } from '../../../Typography/Text/Text';\n\ntype Props = {\n isExiting: boolean;\n onAnimationEnd: (e: AnimationEvent<HTMLDivElement>) => void;\n onDismiss: () => void;\n onOpenPreferences: () => void;\n};\n\nexport const CookieConsentBanner = memo(({ isExiting, onAnimationEnd, onDismiss, onOpenPreferences }: Props) => (\n <div\n aria-label=\"Cookie consent\"\n className={cn(\n 'fixed inset-x-0 bottom-md z-[10300] mx-auto w-[calc(100%-48px)] max-w-[1200px] rounded-md border border-border-secondary bg-background-tertiary shadow-01',\n isExiting ? 'animate-slideDown' : 'animate-slideUp'\n )}\n onAnimationEnd={onAnimationEnd}\n role=\"region\"\n >\n <div className=\"flex flex-col gap-xs p-sm smMin:flex-row smMin:items-center smMin:gap-md smMin:p-md\">\n <div className=\"min-w-0 flex-1\">\n <BodySecondary className=\"inline\">\n We use cookies to improve your experience, to analyze website usage, and for marketing purposes.\n </BodySecondary>\n <InlineButton\n className=\"ml-2xs inline text-text-primary underline\"\n onClick={onOpenPreferences}\n size=\"sm\"\n >\n Cookie preferences\n </InlineButton>\n </div>\n <div className=\"shrink-0 self-end smMin:self-auto\">\n <Button\n className=\"min-w-[96px]\"\n onClick={onDismiss}\n size=\"sm\"\n style=\"neutral\"\n variant=\"outlined\"\n >\n OK\n </Button>\n </div>\n </div>\n </div>\n));\n","import { memo } from 'react';\n\nimport { ToggleSwitch } from '../../../ToggleSwitch/ToggleSwitch';\nimport { BodySecondary, Caption, LabelStrong } from '../../../Typography/Text/Text';\n\ntype Props = {\n description: string;\n isToggled: boolean;\n label: string;\n onToggleChange?: () => void;\n required?: boolean;\n};\n\nexport const CookieCategoryRow = memo(({ description, isToggled, label, onToggleChange, required }: Props) => (\n <div className=\"flex flex-col gap-2xs border-b border-border-secondary py-sm\">\n <div className=\"flex h-[22px] items-center justify-between\">\n <LabelStrong>{label}</LabelStrong>\n {required ? (\n <BodySecondary className=\"text-text-primary\">Required</BodySecondary>\n ) : (\n <ToggleSwitch\n aria-label={label}\n isToggled={isToggled}\n onToggleChange={onToggleChange}\n />\n )}\n </div>\n <Caption className=\"text-text-secondary\">{description}</Caption>\n </div>\n));\n","import { memo } from 'react';\n\nimport { Button } from '../../../Button/Button';\nimport { CloseButton, ModalActions, ModalContent, ModalHeader } from '../../../Modal/components';\nimport { Modal } from '../../../Modal/Modal';\nimport { BodySecondary, H2 } from '../../../Typography/Text/Text';\nimport { ConsentCategories, CookieCategoryConfig, DEFAULT_COOKIE_CATEGORIES } from '../../types/cookieConsent.types';\nimport { CookieCategoryRow } from '../CookieCategoryRow/CookieCategoryRow';\n\ntype Props = {\n categories?: CookieCategoryConfig[];\n localConsent: ConsentCategories;\n onClose: () => void;\n onSave: () => void;\n onToggle: (key: keyof ConsentCategories) => void;\n show: boolean;\n};\n\nexport const CookieConsentModal = memo(\n ({ categories = DEFAULT_COOKIE_CATEGORIES, localConsent, onClose, onSave, onToggle, show }: Props) => (\n <Modal\n className=\"max-w-[588px]\"\n handleClose={onClose}\n show={show}\n type=\"composable\"\n >\n <CloseButton />\n <ModalHeader>\n <H2>Cookie Preferences</H2>\n </ModalHeader>\n <ModalContent className=\"max-w-460px pb-sm\">\n <BodySecondary className=\"mb-sm\">\n Our platform uses various types of cookies, each of which has a specific function. Manage your\n preferences below:\n </BodySecondary>\n <div className=\"border-b border-border-secondary pb-sm\"></div>\n <div className=\"flex flex-col\">\n {categories.map((cat) => (\n <CookieCategoryRow\n description={cat.description}\n isToggled={cat.required ? true : localConsent[cat.key as keyof ConsentCategories]}\n key={cat.key}\n label={cat.label}\n onToggleChange={\n cat.required ? undefined : () => onToggle(cat.key as keyof ConsentCategories)\n }\n required={cat.required}\n />\n ))}\n </div>\n </ModalContent>\n <ModalActions>\n <Button\n onClick={onSave}\n size=\"md\"\n style=\"primary\"\n variant=\"filled\"\n >\n SAVE PREFERENCES\n </Button>\n </ModalActions>\n </Modal>\n )\n);\n","import { forwardRef, useImperativeHandle } from 'react';\n\nimport type { ConsentCategories, CookieCategoryConfig, CookieConsentTracking } from '../../types/cookieConsent.types';\n\nimport { useCookieConsentState } from '../../hooks/useCookieConsentState';\nimport { CookieConsentBanner } from '../CookieConsentBanner/CookieConsentBanner';\nimport { CookieConsentModal } from '../CookieConsentModal/CookieConsentModal';\n\nconst DEFAULT_TOAST_MESSAGE = 'Your privacy preferences have been saved.';\n\ntype Props = {\n categories?: CookieCategoryConfig[];\n /**\n * Controlled consent state. When provided, an external consent-management\n * platform (CMP) owns the consent state: internal localStorage persistence\n * is bypassed and the banner is never auto-shown. Sync user changes back to\n * the CMP via `onConsentChange`.\n */\n consent?: ConsentCategories;\n onConsentChange?: (consent: ConsentCategories) => void;\n /** localStorage key used to persist consent in uncontrolled mode (default `'hui-cookie-consent'`). */\n storageKey?: string;\n toastMessage?: string;\n tracking?: CookieConsentTracking;\n};\n\nexport type CookieConsentHandle = {\n openModal: () => void;\n};\n\n/**\n * Custom cookie consent UI (banner + preferences modal).\n *\n * Renders the consent banner and modal. By default consent is persisted to\n * localStorage via `useCookieConsentState`; pass the `consent` prop to let an\n * external consent-management platform own the state instead. Exposes\n * `openModal()` through a ref for programmatic access (e.g. footer\n * \"Cookie Preferences\" link).\n */\nexport const CookieConsent = forwardRef<CookieConsentHandle, Props>(\n (\n { categories, consent, onConsentChange, storageKey, toastMessage = DEFAULT_TOAST_MESSAGE, tracking } = {},\n ref\n ) => {\n const state = useCookieConsentState({ consent, onConsentChange, storageKey, toastMessage, tracking });\n\n useImperativeHandle(ref, () => ({ openModal: state.openModal }), [state.openModal]);\n\n if (!state.showBanner && !state.showDialog) {\n return null;\n }\n\n return (\n <>\n {state.showBanner && (\n <CookieConsentBanner\n isExiting={state.bannerExiting}\n onAnimationEnd={state.handleBannerAnimationEnd}\n onDismiss={state.handleOk}\n onOpenPreferences={state.openDialog}\n />\n )}\n <CookieConsentModal\n categories={categories}\n localConsent={state.localConsent}\n onClose={state.closeDialog}\n onSave={state.handleSavePreferences}\n onToggle={state.handleToggle}\n show={state.showDialog}\n />\n </>\n );\n }\n);\n"],"mappings":";;;;;;;;;;;;AAcA,IAAY,gBAAL,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c,CAAC,MAAM,YAC5B,OAAO;CAGX,OACI,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA,CACK,MAAM,cACH,iBAAA,GAAA,kBAAA,IAAA,CAAC,qBAAD;EACI,WAAW,MAAM;EACjB,gBAAgB,MAAM;EACtB,WAAW,MAAM;EACjB,mBAAmB,MAAM;CAC5B,CAAA,GAEL,iBAAA,GAAA,kBAAA,IAAA,CAAC,oBAAD;EACgB;EACZ,cAAc,MAAM;EACpB,SAAS,MAAM;EACf,QAAQ,MAAM;EACd,UAAU,MAAM;EAChB,MAAM,MAAM;CACf,CAAA,CACH,EAAA,CAAA;AAEV,CACJ"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as CountdownFlashpoint } from "./Countdown.types-B7yecprx.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/Countdown/Countdown.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @property completionTime Timestamp (in ms) for when the countdown will first reach zero
|
|
6
|
+
* @property flashpoint Amount of time left before the countdown turns red (signalling urgency)
|
|
7
|
+
* @property label Additional information for the countdown. *e.g.* 5d 23h **Until the event begins!**
|
|
8
|
+
* @property onComplete Called when the countdown reaches zero.
|
|
9
|
+
* @property preLabel Information shown before the countdown numbers. Will not be shown unless countdown is small
|
|
10
|
+
* @property small If true, all text (the countdown numbers and the label) will be the same size
|
|
11
|
+
* @property startTime Represents the time from which the countdown is counting down from
|
|
12
|
+
* @property timeLabels Used for internationalization, defaults to d/h/m/s, represents days/hours/minutes/seconds
|
|
13
|
+
*/
|
|
14
|
+
type CountdownProps = {
|
|
15
|
+
completionTime: number;
|
|
16
|
+
flashpoint?: CountdownFlashpoint;
|
|
17
|
+
forceSeconds?: boolean;
|
|
18
|
+
forceUrgent?: boolean;
|
|
19
|
+
label?: string;
|
|
20
|
+
onComplete?: () => void;
|
|
21
|
+
preLabel?: string;
|
|
22
|
+
small?: boolean;
|
|
23
|
+
startTime?: number;
|
|
24
|
+
timeLabels?: {
|
|
25
|
+
days?: string;
|
|
26
|
+
hours?: string;
|
|
27
|
+
minutes?: string;
|
|
28
|
+
seconds?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
declare const Countdown: ({
|
|
32
|
+
completionTime,
|
|
33
|
+
flashpoint,
|
|
34
|
+
forceSeconds,
|
|
35
|
+
forceUrgent,
|
|
36
|
+
label,
|
|
37
|
+
onComplete,
|
|
38
|
+
preLabel,
|
|
39
|
+
small,
|
|
40
|
+
startTime,
|
|
41
|
+
timeLabels
|
|
42
|
+
}: CountdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { CountdownProps as n, Countdown as t };
|
|
45
|
+
//# sourceMappingURL=Countdown-BaqV0LJL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Countdown-BaqV0LJL.d.mts","names":[],"sources":["../src/Countdown/Countdown.tsx"],"mappings":";;;;;AAgBA;;;;;;;;KAAY,cAAA;EAER,cAAA;EAEA,UAAA,GAAa,mBAAmB;EAEhC,YAAA;EAEA,WAAA;EAEA,KAAA;EAEA,UAAA;EAEA,QAAA;EAEA,KAAA;EAEA,SAAA;EAEA,UAAA;IACI,IAAA;IACA,KAAA;IACA,OAAA;IACA,OAAA;EAAA;AAAA;AAAA,cAIK,SAAA;EAAa,cAAA;EAAA,UAAA;EAAA,YAAA;EAAA,WAAA;EAAA,KAAA;EAAA,UAAA;EAAA,QAAA;EAAA,KAAA;EAAA,SAAA;EAAA;AAAA,GAWvB,cAAA,iCAAc,GAAA,CAAA,OAAA"}
|