@zenpatient-org/healthspan-marketing-ui 0.1.22 → 0.1.24
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/README.md +11 -1
- package/dist/components/Accordion/Accordion.cjs.js +1 -0
- package/dist/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.es.js +27 -0
- package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
- package/dist/components/Accordion/accordion.module.css.es.js +7 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
- package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
- package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
- package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
- package/dist/components/Accordion/components/index.d.ts +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/types.d.ts +6 -0
- package/dist/components/Button/Button.es.js +24 -6
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
- package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
- package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
- package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
- package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
- package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
- package/dist/components/Icon/constants.cjs.js +1 -1
- package/dist/components/Icon/constants.d.ts +3 -0
- package/dist/components/Icon/constants.es.js +4 -1
- package/dist/components/Icon/iconsMap.cjs.js +1 -1
- package/dist/components/Icon/iconsMap.es.js +104 -98
- package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
- package/dist/components/IconBracket/IconBracket.d.ts +3 -0
- package/dist/components/IconBracket/IconBracket.es.js +16 -0
- package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
- package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
- package/dist/components/IconBracket/index.d.ts +1 -0
- package/dist/components/IconBracket/types.d.ts +8 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
- package/dist/components/Label/Label.es.js +9 -1
- package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
- package/dist/components/PlayButton/PlayButton.d.ts +8 -0
- package/dist/components/PlayButton/PlayButton.es.js +9 -0
- package/dist/components/PlayButton/index.d.ts +1 -0
- package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
- package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
- package/dist/components/Pricing/Pricing.cjs.js +1 -0
- package/dist/components/Pricing/Pricing.d.ts +3 -0
- package/dist/components/Pricing/Pricing.es.js +41 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
- package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
- package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
- package/dist/components/Pricing/components/index.d.ts +1 -0
- package/dist/components/Pricing/index.d.ts +2 -0
- package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
- package/dist/components/Pricing/pricing.module.css.es.js +25 -0
- package/dist/components/Pricing/types.d.ts +17 -0
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
- package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
- package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
- package/dist/components/ProgressButton/ProgressButton.es.js +24 -12
- package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
- package/dist/components/RatingStars/RatingStars.d.ts +6 -0
- package/dist/components/RatingStars/RatingStars.es.js +18 -0
- package/dist/components/RatingStars/index.d.ts +1 -0
- package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
- package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
- package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
- package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
- package/dist/components/Tabs/TabsWithFade.es.js +10 -1
- package/dist/components/Typography/Typography.es.js +8 -1
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
- package/dist/icons/action/bracket-left.svg.es.js +5 -0
- package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
- package/dist/icons/action/bracket-right.svg.es.js +5 -0
- package/dist/icons/action/play.svg.cjs.js +1 -0
- package/dist/icons/action/play.svg.es.js +5 -0
- package/dist/modules/Benefits/Benefits.es.js +3 -26
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
- package/dist/modules/Compare/Compare.cjs.js +1 -0
- package/dist/modules/Compare/Compare.d.ts +3 -0
- package/dist/modules/Compare/Compare.es.js +26 -0
- package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
- package/dist/modules/Compare/compare.module.css.es.js +13 -0
- package/dist/modules/Compare/index.d.ts +1 -0
- package/dist/modules/Compare/types.d.ts +9 -0
- package/dist/modules/Comparison/Comparison.es.js +20 -5
- package/dist/modules/FAQ/FAQ.cjs.js +1 -0
- package/dist/modules/FAQ/FAQ.d.ts +3 -0
- package/dist/modules/FAQ/FAQ.es.js +17 -0
- package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
- package/dist/modules/FAQ/faq.module.css.es.js +17 -0
- package/dist/modules/FAQ/index.d.ts +1 -0
- package/dist/modules/FAQ/types.d.ts +10 -0
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
- package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
- package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
- package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
- package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
- package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
- package/dist/modules/ImageWithText/imageWithText.module.css.es.js +21 -0
- package/dist/modules/ImageWithText/index.d.ts +1 -0
- package/dist/modules/ImageWithText/types.d.ts +9 -0
- package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
- package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
- package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
- package/dist/modules/LongevityPathways/index.d.ts +2 -0
- package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
- package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
- package/dist/modules/LongevityPathways/types.d.ts +9 -0
- package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +24 -7
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
- package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
- package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
- package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
- package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
- package/dist/modules/OurProcess/OurProcess.es.js +17 -8
- package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
- package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
- package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
- package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
- package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
- package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
- package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
- package/dist/modules/Testimonial/Testimonial.es.js +88 -0
- package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
- package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
- package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
- package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
- package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
- package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
- package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
- package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
- package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
- package/dist/modules/Testimonial/index.d.ts +1 -0
- package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
- package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
- package/dist/modules/Testimonial/types.d.ts +26 -0
- package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
- package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
- package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
- package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
- package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
- package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
- package/dist/modules/TrackProgress/index.d.ts +1 -0
- package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
- package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
- package/dist/modules/TrackProgress/types.d.ts +6 -0
- package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
- package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
- package/dist/modules/TypesOfTests/types.d.ts +4 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
- package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
- package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
- package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
- package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
- package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
- package/dist/node_modules/gsap/Flip.cjs.js +8 -0
- package/dist/node_modules/gsap/Flip.es.js +525 -0
- package/dist/node_modules/gsap/Observer.cjs.js +8 -0
- package/dist/node_modules/gsap/Observer.es.js +242 -0
- package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
- package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
- package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
- package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
- package/dist/node_modules/gsap/index.cjs.js +1 -0
- package/dist/node_modules/gsap/index.es.js +13 -0
- package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
- package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
- package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
- package/dist/pageComponents/Gradient/index.d.ts +1 -0
- package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
- package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
- package/package.json +95 -4
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
|
@@ -2,109 +2,115 @@ import { EIconName as r } from "./constants.es.js";
|
|
|
2
2
|
import o from "../../icons/action/alert-error-fill.svg.es.js";
|
|
3
3
|
import m from "../../icons/action/alert-error.svg.es.js";
|
|
4
4
|
import S from "../../icons/action/check.svg.es.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import v from "../../icons/action/
|
|
11
|
-
import f from "../../icons/action/
|
|
12
|
-
import A from "../../icons/action/
|
|
13
|
-
import C from "../../icons/action/
|
|
14
|
-
import E from "../../icons/action/
|
|
15
|
-
import e from "../../icons/
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import l from "../../icons/arrow/arrow-
|
|
20
|
-
import I from "../../icons/arrow/arrow-
|
|
21
|
-
import _ from "../../icons/arrow/arrow-
|
|
22
|
-
import F from "../../icons/arrow/
|
|
23
|
-
import N from "../../icons/arrow/
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import P from "../../icons/
|
|
29
|
-
import D from "../../icons/
|
|
30
|
-
import W from "../../icons/
|
|
31
|
-
import s from "../../icons/eCommerce/
|
|
32
|
-
import w from "../../icons/
|
|
33
|
-
import M from "../../icons/
|
|
34
|
-
import h from "../../icons/
|
|
5
|
+
import t from "../../icons/action/circle-check-fill.svg.es.js";
|
|
6
|
+
import i from "../../icons/action/circle-check.svg.es.js";
|
|
7
|
+
import R from "../../icons/action/close.svg.es.js";
|
|
8
|
+
import g from "../../icons/action/bracket-left.svg.es.js";
|
|
9
|
+
import p from "../../icons/action/bracket-right.svg.es.js";
|
|
10
|
+
import v from "../../icons/action/help.svg.es.js";
|
|
11
|
+
import f from "../../icons/action/info.svg.es.js";
|
|
12
|
+
import A from "../../icons/action/menu.svg.es.js";
|
|
13
|
+
import C from "../../icons/action/play.svg.es.js";
|
|
14
|
+
import E from "../../icons/action/plus.svg.es.js";
|
|
15
|
+
import e from "../../icons/action/remove.svg.es.js";
|
|
16
|
+
import a from "../../icons/action/search.svg.es.js";
|
|
17
|
+
import L from "../../icons/action/warning.svg.es.js";
|
|
18
|
+
import O from "../../icons/arrow/arrow-back.svg.es.js";
|
|
19
|
+
import l from "../../icons/arrow/arrow-downward.svg.es.js";
|
|
20
|
+
import I from "../../icons/arrow/arrow-forward.svg.es.js";
|
|
21
|
+
import _ from "../../icons/arrow/arrow-insert.svg.es.js";
|
|
22
|
+
import F from "../../icons/arrow/arrow-outward.svg.es.js";
|
|
23
|
+
import N from "../../icons/arrow/arrow-return.svg.es.js";
|
|
24
|
+
import T from "../../icons/arrow/arrow-upward.svg.es.js";
|
|
25
|
+
import n from "../../icons/arrow/chevron-back.svg.es.js";
|
|
26
|
+
import c from "../../icons/arrow/chevron-down.svg.es.js";
|
|
27
|
+
import H from "../../icons/arrow/chevron-forward.svg.es.js";
|
|
28
|
+
import P from "../../icons/arrow/chevron-up.svg.es.js";
|
|
29
|
+
import D from "../../icons/chat/message-fill.svg.es.js";
|
|
30
|
+
import W from "../../icons/chat/message.svg.es.js";
|
|
31
|
+
import s from "../../icons/eCommerce/calendar.svg.es.js";
|
|
32
|
+
import w from "../../icons/eCommerce/cart.svg.es.js";
|
|
33
|
+
import M from "../../icons/eCommerce/package-fill.svg.es.js";
|
|
34
|
+
import h from "../../icons/eCommerce/package.svg.es.js";
|
|
35
|
+
import k from "../../icons/faces/smile-fill.svg.es.js";
|
|
36
|
+
import B from "../../icons/faces/smile.svg.es.js";
|
|
37
|
+
import K from "../../icons/indicators/circle-dash-fill.svg.es.js";
|
|
35
38
|
import U from "../../icons/indicators/circle-dash.svg.es.js";
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
const
|
|
39
|
+
import G from "../../icons/global/pin-drop.svg.es.js";
|
|
40
|
+
import d from "../../icons/global/filter.svg.es.js";
|
|
41
|
+
import u from "../../icons/medical/coaching.svg.es.js";
|
|
42
|
+
import V from "../../icons/medical/labs.svg.es.js";
|
|
43
|
+
import b from "../../icons/medical/myspan.svg.es.js";
|
|
44
|
+
import y from "../../icons/medical/optimizations.svg.es.js";
|
|
45
|
+
import X from "../../icons/medical/protocols.svg.es.js";
|
|
46
|
+
import Y from "../../icons/medical/ruler.svg.es.js";
|
|
47
|
+
import x from "../../icons/medical/scale.svg.es.js";
|
|
48
|
+
import z from "../../icons/social/facebook.svg.es.js";
|
|
49
|
+
import Z from "../../icons/social/heart-fill.svg.es.js";
|
|
50
|
+
import j from "../../icons/social/heart.svg.es.js";
|
|
51
|
+
import q from "../../icons/social/instagram.svg.es.js";
|
|
52
|
+
import J from "../../icons/social/star-fill.svg.es.js";
|
|
53
|
+
import Q from "../../icons/social/star-half.svg.es.js";
|
|
54
|
+
import $ from "../../icons/social/star-outline.svg.es.js";
|
|
55
|
+
import rr from "../../icons/social/star.svg.es.js";
|
|
56
|
+
import or from "../../icons/social/x.svg.es.js";
|
|
57
|
+
const to = {
|
|
55
58
|
[r.ALERT_ERROR_FILL]: o,
|
|
56
59
|
[r.ALERT_ERROR]: m,
|
|
57
60
|
[r.CHECK]: S,
|
|
58
|
-
[r.CIRCLE_CHECK_FILL]:
|
|
59
|
-
[r.CIRCLE_CHECK]:
|
|
60
|
-
[r.CLOSE]:
|
|
61
|
-
[r.
|
|
62
|
-
[r.
|
|
63
|
-
[r.
|
|
64
|
-
[r.
|
|
65
|
-
[r.
|
|
66
|
-
[r.
|
|
67
|
-
[r.
|
|
68
|
-
[r.
|
|
69
|
-
[r.
|
|
70
|
-
[r.
|
|
71
|
-
[r.
|
|
72
|
-
[r.
|
|
73
|
-
[r.
|
|
74
|
-
[r.
|
|
75
|
-
[r.
|
|
76
|
-
[r.
|
|
77
|
-
[r.
|
|
78
|
-
[r.
|
|
79
|
-
[r.
|
|
80
|
-
[r.
|
|
81
|
-
[r.
|
|
82
|
-
[r.
|
|
83
|
-
[r.
|
|
84
|
-
[r.
|
|
85
|
-
[r.
|
|
86
|
-
[r.
|
|
87
|
-
[r.
|
|
61
|
+
[r.CIRCLE_CHECK_FILL]: t,
|
|
62
|
+
[r.CIRCLE_CHECK]: i,
|
|
63
|
+
[r.CLOSE]: R,
|
|
64
|
+
[r.BRACKET_LEFT]: g,
|
|
65
|
+
[r.BRACKET_RIGHT]: p,
|
|
66
|
+
[r.HELP]: v,
|
|
67
|
+
[r.INFO]: f,
|
|
68
|
+
[r.MENU]: A,
|
|
69
|
+
[r.PLAY]: C,
|
|
70
|
+
[r.PLUS]: E,
|
|
71
|
+
[r.REMOVE]: e,
|
|
72
|
+
[r.SEARCH]: a,
|
|
73
|
+
[r.WARNING]: L,
|
|
74
|
+
[r.ARROW_BACK]: O,
|
|
75
|
+
[r.ARROW_DOWNWARD]: l,
|
|
76
|
+
[r.ARROW_FORWARD]: I,
|
|
77
|
+
[r.ARROW_INSERT]: _,
|
|
78
|
+
[r.ARROW_OUTWARD]: F,
|
|
79
|
+
[r.ARROW_RETURN]: N,
|
|
80
|
+
[r.ARROW_UPWARD]: T,
|
|
81
|
+
[r.CHEVRON_BACK]: n,
|
|
82
|
+
[r.CHEVRON_DOWN]: c,
|
|
83
|
+
[r.CHEVRON_FORWARD]: H,
|
|
84
|
+
[r.CHEVRON_UP]: P,
|
|
85
|
+
[r.MESSAGE_FILL]: D,
|
|
86
|
+
[r.MESSAGE]: W,
|
|
87
|
+
[r.CALENDAR]: s,
|
|
88
|
+
[r.CART]: w,
|
|
89
|
+
[r.PACKAGE_FILL]: M,
|
|
90
|
+
[r.PACKAGE]: h,
|
|
91
|
+
[r.SMILE_FILL]: k,
|
|
92
|
+
[r.SMILE]: B,
|
|
93
|
+
[r.CIRCLE_DASH_FILL]: K,
|
|
88
94
|
[r.CIRCLE_DASH]: U,
|
|
89
|
-
[r.PIN_DROP]:
|
|
90
|
-
[r.FILTER]:
|
|
91
|
-
[r.COACHING]:
|
|
92
|
-
[r.LABS]:
|
|
93
|
-
[r.MYSPAN]:
|
|
94
|
-
[r.OPTIMIZATIONS]:
|
|
95
|
-
[r.PROTOCOLS]:
|
|
96
|
-
[r.RULER]:
|
|
97
|
-
[r.SCALE]:
|
|
98
|
-
[r.FACEBOOK]:
|
|
99
|
-
[r.HEART_FILL]:
|
|
100
|
-
[r.HEART]:
|
|
101
|
-
[r.INSTAGRAM]:
|
|
102
|
-
[r.STAR_FILL]:
|
|
103
|
-
[r.STAR_HALF]:
|
|
104
|
-
[r.STAR_OUTLINE]:
|
|
105
|
-
[r.STAR]:
|
|
106
|
-
[r.X]:
|
|
95
|
+
[r.PIN_DROP]: G,
|
|
96
|
+
[r.FILTER]: d,
|
|
97
|
+
[r.COACHING]: u,
|
|
98
|
+
[r.LABS]: V,
|
|
99
|
+
[r.MYSPAN]: b,
|
|
100
|
+
[r.OPTIMIZATIONS]: y,
|
|
101
|
+
[r.PROTOCOLS]: X,
|
|
102
|
+
[r.RULER]: Y,
|
|
103
|
+
[r.SCALE]: x,
|
|
104
|
+
[r.FACEBOOK]: z,
|
|
105
|
+
[r.HEART_FILL]: Z,
|
|
106
|
+
[r.HEART]: j,
|
|
107
|
+
[r.INSTAGRAM]: q,
|
|
108
|
+
[r.STAR_FILL]: J,
|
|
109
|
+
[r.STAR_HALF]: Q,
|
|
110
|
+
[r.STAR_OUTLINE]: $,
|
|
111
|
+
[r.STAR]: rr,
|
|
112
|
+
[r.X]: or
|
|
107
113
|
};
|
|
108
114
|
export {
|
|
109
|
-
|
|
115
|
+
to as ICON_COMPONENTS
|
|
110
116
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../Icon/Icon.cjs.js"),n=require("../Icon/constants.cjs.js"),c=require("./iconBracket.module.css.cjs.js"),t={close:n.EIconName.CLOSE,plus:n.EIconName.PLUS,arrow:n.EIconName.ARROW_FORWARD},r=({style:a,size:I,variant:s})=>e.jsxs("div",{className:c.default.root,children:[e.jsx(o.Icon,{name:n.EIconName.BRACKET_LEFT}),e.jsx("div",{className:c.default.contentIcon,children:e.jsx(o.Icon,{name:t[s]})}),e.jsx(o.Icon,{name:n.EIconName.BRACKET_RIGHT})]});exports.IconBracket=r;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as e } from "../Icon/Icon.es.js";
|
|
3
|
+
import { EIconName as o } from "../Icon/constants.es.js";
|
|
4
|
+
import s from "./iconBracket.module.css.es.js";
|
|
5
|
+
const t = {
|
|
6
|
+
close: o.CLOSE,
|
|
7
|
+
plus: o.PLUS,
|
|
8
|
+
arrow: o.ARROW_FORWARD
|
|
9
|
+
}, I = ({ style: c, size: a, variant: m }) => /* @__PURE__ */ n("div", { className: s.root, children: [
|
|
10
|
+
/* @__PURE__ */ r(e, { name: o.BRACKET_LEFT }),
|
|
11
|
+
/* @__PURE__ */ r("div", { className: s.contentIcon, children: /* @__PURE__ */ r(e, { name: t[m] }) }),
|
|
12
|
+
/* @__PURE__ */ r(e, { name: o.BRACKET_RIGHT })
|
|
13
|
+
] });
|
|
14
|
+
export {
|
|
15
|
+
I as IconBracket
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="iconBracket-module__root___2YA8I",t="iconBracket-module__contentIcon___DWot0",e={root:o,contentIcon:t};exports.contentIcon=t;exports.default=e;exports.root=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IconBracket } from './IconBracket';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type TIconBracketStyle = 'light' | 'dark';
|
|
2
|
+
export type TIconBracketSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type TIconBracketVariant = 'close' | 'plus' | 'arrow';
|
|
4
|
+
export type TIconBracketProps = {
|
|
5
|
+
style: TIconBracketStyle;
|
|
6
|
+
size: TIconBracketSize;
|
|
7
|
+
variant: TIconBracketVariant;
|
|
8
|
+
};
|
|
@@ -51,7 +51,15 @@ function P({ items: c, speed: y = 50, contentClassName: W, itemClassName: q, roo
|
|
|
51
51
|
const t = s + 200, e = Math.min(t, 0);
|
|
52
52
|
R(e);
|
|
53
53
|
}
|
|
54
|
-
})), /* @__PURE__ */ M("div", { className: w(x.root, F), onMouseEnter: N, onMouseLeave: X, children: /* @__PURE__ */ M(
|
|
54
|
+
})), /* @__PURE__ */ M("div", { className: w(x.root, F), onMouseEnter: N, onMouseLeave: X, children: /* @__PURE__ */ M(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: w(x.content, W),
|
|
58
|
+
style: { transform: `translate3D(${s}px, 0, 0)` },
|
|
59
|
+
ref: l,
|
|
60
|
+
children: Array.from({ length: c.length * I }, (t, e) => /* @__PURE__ */ M("div", { className: w(x.item, q), children: S(c[e % c.length], e) }, e))
|
|
61
|
+
}
|
|
62
|
+
) });
|
|
55
63
|
}
|
|
56
64
|
const G = D(P);
|
|
57
65
|
export {
|
|
@@ -5,7 +5,15 @@ import e from "./label.module.css.es.js";
|
|
|
5
5
|
const p = {
|
|
6
6
|
sm: o.labelXs,
|
|
7
7
|
lg: o.labelSm
|
|
8
|
-
}, f = ({ children: m, color: t, size: r = "sm", className: a }) => /* @__PURE__ */ s(
|
|
8
|
+
}, f = ({ children: m, color: t, size: r = "sm", className: a }) => /* @__PURE__ */ s(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
className: l(e.root, o.labelEmphasis, p[r], a),
|
|
12
|
+
"data-size": r,
|
|
13
|
+
"data-color": t,
|
|
14
|
+
children: m
|
|
15
|
+
}
|
|
16
|
+
);
|
|
9
17
|
export {
|
|
10
18
|
f as Label
|
|
11
19
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("../../utils/cn/cn.cjs.js"),r=require("../Icon/Icon.cjs.js"),s=require("../Icon/constants.cjs.js"),n=require("./playButton.module.css.cjs.js"),u=({inverted:t,onClick:o})=>e.jsx("button",{className:c.cn(n.default.button,t&&n.default.inverted),onClick:o,children:e.jsx("div",{className:n.default.iconWrapper,children:e.jsx(r.Icon,{name:s.EIconName.PLAY})})});exports.PlayButton=u;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
type PlayButtonProps = {
|
|
4
|
+
inverted?: boolean;
|
|
5
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const PlayButton: ({ inverted, onClick }: PlayButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import { Icon as e } from "../Icon/Icon.es.js";
|
|
4
|
+
import { EIconName as i } from "../Icon/constants.es.js";
|
|
5
|
+
import r from "./playButton.module.css.es.js";
|
|
6
|
+
const f = ({ inverted: t, onClick: m }) => /* @__PURE__ */ o("button", { className: n(r.button, t && r.inverted), onClick: m, children: /* @__PURE__ */ o("div", { className: r.iconWrapper, children: /* @__PURE__ */ o(e, { name: i.PLAY }) }) });
|
|
7
|
+
export {
|
|
8
|
+
f as PlayButton
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlayButton } from './PlayButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="playButton-module__button___SiZc2",t="playButton-module__inverted___gjeVr",o="playButton-module__iconWrapper___1vrne",n={button:e,inverted:t,iconWrapper:o};exports.button=e;exports.default=n;exports.iconWrapper=o;exports.inverted=t;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const t = "playButton-module__button___SiZc2", e = "playButton-module__inverted___gjeVr", n = "playButton-module__iconWrapper___1vrne", o = {
|
|
2
|
+
button: t,
|
|
3
|
+
inverted: e,
|
|
4
|
+
iconWrapper: n
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
t as button,
|
|
8
|
+
o as default,
|
|
9
|
+
n as iconWrapper,
|
|
10
|
+
e as inverted
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../../utils/cn/cn.cjs.js"),t=require("../Button/Button.cjs.js"),c=require("../Label/Label.cjs.js"),o=require("../Typography/Typography.cjs.js"),m=require("./components/BenefitItem/BenefitItem.cjs.js"),a=require("./pricing.module.css.cjs.js"),g=({label:i,price:d,items:u,link:r,button:s})=>e.jsxs("div",{className:a.default.root,children:[e.jsx(c.Label,{size:"lg",color:i.color,className:n.cn(a.default.pricingLabel,a.default.pricingLabelDesktop),children:i.label}),e.jsx(c.Label,{size:"sm",color:i.color,className:n.cn(a.default.pricingLabel,a.default.pricingLabelMobile),children:i.label}),e.jsxs("p",{className:a.default.pricing,children:[e.jsx(o.Typography,{as:"span",defaultVariant:"displayMd",mobileVariant:"displaySm",className:a.default.pricingTextPrimary,children:`$${d}`}),e.jsx(o.Typography,{as:"span",defaultVariant:"headingSm",mobileVariant:"headingXs",className:a.default.pricingTextSecondary,children:"/ mo"})]}),e.jsx("div",{className:a.default.benefits,children:u.map((l,p)=>e.jsx(m.BenefitItem,{badge:l.badge,label:l.label},p))}),e.jsx("div",{className:a.default.pricingButtonContainerDesktop,children:e.jsx(t.Button,{...s,size:"lg",as:"a",href:r,children:"GET STARTED"})}),e.jsx("div",{className:a.default.pricingButtonContainerMobile,children:e.jsx(t.Button,{...s,size:"md",as:"a",href:r,children:"GET STARTED"})}),e.jsx("div",{className:a.default.leftBorder}),e.jsx("div",{className:a.default.rightBorder})]});exports.Pricing=g;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "../../utils/cn/cn.es.js";
|
|
3
|
+
import { Button as c } from "../Button/Button.es.js";
|
|
4
|
+
import { Label as m } from "../Label/Label.es.js";
|
|
5
|
+
import { Typography as t } from "../Typography/Typography.es.js";
|
|
6
|
+
import { BenefitItem as h } from "./components/BenefitItem/BenefitItem.es.js";
|
|
7
|
+
import i from "./pricing.module.css.es.js";
|
|
8
|
+
const u = ({ label: r, price: d, items: p, link: a, button: s }) => /* @__PURE__ */ o("div", { className: i.root, children: [
|
|
9
|
+
/* @__PURE__ */ e(m, { size: "lg", color: r.color, className: n(i.pricingLabel, i.pricingLabelDesktop), children: r.label }),
|
|
10
|
+
/* @__PURE__ */ e(m, { size: "sm", color: r.color, className: n(i.pricingLabel, i.pricingLabelMobile), children: r.label }),
|
|
11
|
+
/* @__PURE__ */ o("p", { className: i.pricing, children: [
|
|
12
|
+
/* @__PURE__ */ e(
|
|
13
|
+
t,
|
|
14
|
+
{
|
|
15
|
+
as: "span",
|
|
16
|
+
defaultVariant: "displayMd",
|
|
17
|
+
mobileVariant: "displaySm",
|
|
18
|
+
className: i.pricingTextPrimary,
|
|
19
|
+
children: `$${d}`
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ e(
|
|
23
|
+
t,
|
|
24
|
+
{
|
|
25
|
+
as: "span",
|
|
26
|
+
defaultVariant: "headingSm",
|
|
27
|
+
mobileVariant: "headingXs",
|
|
28
|
+
className: i.pricingTextSecondary,
|
|
29
|
+
children: "/ mo"
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ e("div", { className: i.benefits, children: p.map((l, g) => /* @__PURE__ */ e(h, { badge: l.badge, label: l.label }, g)) }),
|
|
34
|
+
/* @__PURE__ */ e("div", { className: i.pricingButtonContainerDesktop, children: /* @__PURE__ */ e(c, { ...s, size: "lg", as: "a", href: a, children: "GET STARTED" }) }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: i.pricingButtonContainerMobile, children: /* @__PURE__ */ e(c, { ...s, size: "md", as: "a", href: a, children: "GET STARTED" }) }),
|
|
36
|
+
/* @__PURE__ */ e("div", { className: i.leftBorder }),
|
|
37
|
+
/* @__PURE__ */ e("div", { className: i.rightBorder })
|
|
38
|
+
] });
|
|
39
|
+
export {
|
|
40
|
+
u as Pricing
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../../TypeBadge/TypeBadge.cjs.js"),t=require("./benefitItem.module.css.cjs.js"),i=({badge:r,label:n})=>e.jsxs("div",{className:t.default.root,children:[e.jsx(s.TypeBadge,{type:r}),e.jsx("p",{className:t.default.benefitLabel,children:n})]});exports.BenefitItem=i;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { TypeBadge as m } from "../../../TypeBadge/TypeBadge.es.js";
|
|
3
|
+
import r from "./benefitItem.module.css.es.js";
|
|
4
|
+
const l = ({ badge: t, label: o }) => /* @__PURE__ */ s("div", { className: r.root, children: [
|
|
5
|
+
/* @__PURE__ */ e(m, { type: t }),
|
|
6
|
+
/* @__PURE__ */ e("p", { className: r.benefitLabel, children: o })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
l as BenefitItem
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="benefitItem-module__root___2QX95",t={root:e};exports.default=t;exports.root=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BenefitItem } from './BenefitItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BenefitItem } from './BenefitItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i="pricing-module__root___alGxI",e="pricing-module__pricingLabel___BrDUJ",n="pricing-module__pricingLabelDesktop___7H4iO",o="pricing-module__pricingLabelMobile___dpLsD",r="pricing-module__pricing___h1pM-",t="pricing-module__benefits___X-1Oc",_="pricing-module__pricingButtonContainerDesktop___kW7G4",c="pricing-module__pricingButtonContainerMobile___I-OGE",p="pricing-module__leftBorder___84NLl",l="pricing-module__rightBorder___50VVT",g={root:i,pricingLabel:e,pricingLabelDesktop:n,pricingLabelMobile:o,pricing:r,benefits:t,pricingButtonContainerDesktop:_,pricingButtonContainerMobile:c,leftBorder:p,rightBorder:l};exports.benefits=t;exports.default=g;exports.leftBorder=p;exports.pricing=r;exports.pricingButtonContainerDesktop=_;exports.pricingButtonContainerMobile=c;exports.pricingLabel=e;exports.pricingLabelDesktop=n;exports.pricingLabelMobile=o;exports.rightBorder=l;exports.root=i;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const i = "pricing-module__root___alGxI", n = "pricing-module__pricingLabel___BrDUJ", o = "pricing-module__pricingLabelDesktop___7H4iO", e = "pricing-module__pricingLabelMobile___dpLsD", r = "pricing-module__pricing___h1pM-", t = "pricing-module__benefits___X-1Oc", _ = "pricing-module__pricingButtonContainerDesktop___kW7G4", c = "pricing-module__pricingButtonContainerMobile___I-OGE", p = "pricing-module__leftBorder___84NLl", l = "pricing-module__rightBorder___50VVT", g = {
|
|
2
|
+
root: i,
|
|
3
|
+
pricingLabel: n,
|
|
4
|
+
pricingLabelDesktop: o,
|
|
5
|
+
pricingLabelMobile: e,
|
|
6
|
+
pricing: r,
|
|
7
|
+
benefits: t,
|
|
8
|
+
pricingButtonContainerDesktop: _,
|
|
9
|
+
pricingButtonContainerMobile: c,
|
|
10
|
+
leftBorder: p,
|
|
11
|
+
rightBorder: l
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
t as benefits,
|
|
15
|
+
g as default,
|
|
16
|
+
p as leftBorder,
|
|
17
|
+
r as pricing,
|
|
18
|
+
_ as pricingButtonContainerDesktop,
|
|
19
|
+
c as pricingButtonContainerMobile,
|
|
20
|
+
n as pricingLabel,
|
|
21
|
+
o as pricingLabelDesktop,
|
|
22
|
+
e as pricingLabelMobile,
|
|
23
|
+
l as rightBorder,
|
|
24
|
+
i as root
|
|
25
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ButtonProps } from '../Button';
|
|
2
|
+
import { LabelColor } from '../Label';
|
|
3
|
+
import { ETypeBadge } from '../TypeBadge';
|
|
4
|
+
|
|
5
|
+
export type PricingElementView = {
|
|
6
|
+
label: {
|
|
7
|
+
label: string;
|
|
8
|
+
color: LabelColor;
|
|
9
|
+
};
|
|
10
|
+
items: Array<{
|
|
11
|
+
badge: ETypeBadge;
|
|
12
|
+
label: string;
|
|
13
|
+
}>;
|
|
14
|
+
price: number;
|
|
15
|
+
button: ButtonProps;
|
|
16
|
+
link: string;
|
|
17
|
+
};
|
|
@@ -3,5 +3,5 @@ import { TProductGalleryCardView } from './types';
|
|
|
3
3
|
type ProductGalleryCardProps = {
|
|
4
4
|
isHoverable?: boolean;
|
|
5
5
|
} & TProductGalleryCardView;
|
|
6
|
-
export declare const ProductGalleryCard: ({ name, price, image, link, buttons, isHoverable }: ProductGalleryCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const ProductGalleryCard: ({ name, price, image, link, buttons, isHoverable, }: ProductGalleryCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,7 +3,14 @@ import { Button as s } from "../Button/Button.es.js";
|
|
|
3
3
|
import { Typography as c } from "../Typography/Typography.es.js";
|
|
4
4
|
import { cn as m } from "../../utils/cn/cn.es.js";
|
|
5
5
|
import e from "./productGalleryCard.module.css.es.js";
|
|
6
|
-
const k = ({
|
|
6
|
+
const k = ({
|
|
7
|
+
name: d,
|
|
8
|
+
price: p,
|
|
9
|
+
image: h,
|
|
10
|
+
link: u,
|
|
11
|
+
buttons: t,
|
|
12
|
+
isHoverable: o = !0
|
|
13
|
+
}) => {
|
|
7
14
|
const i = (r) => {
|
|
8
15
|
r.preventDefault(), r.stopPropagation();
|
|
9
16
|
};
|
|
@@ -13,8 +20,22 @@ const k = ({ name: d, price: p, image: h, link: u, buttons: t, isHoverable: o =
|
|
|
13
20
|
/* @__PURE__ */ a(c, { defaultVariant: "labelXl", mobileVariant: "labelLg", className: e.price, children: p })
|
|
14
21
|
] }),
|
|
15
22
|
/* @__PURE__ */ a("img", { src: h, alt: "product image", className: e.productImage }),
|
|
16
|
-
/* @__PURE__ */ a(
|
|
17
|
-
|
|
23
|
+
/* @__PURE__ */ a(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
onClick: i,
|
|
27
|
+
className: m(e.buttonContainerDesktop, o && e.hoverableButtons),
|
|
28
|
+
children: t.map((r, l) => /* @__PURE__ */ a(s, { size: "sm", ...r, children: r.label }, l))
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ a(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
onClick: i,
|
|
35
|
+
className: m(e.buttonContainerMobile, o && e.hoverableButtons),
|
|
36
|
+
children: t.map((r, l) => /* @__PURE__ */ a(s, { size: "xs", ...r, children: r.label }, l))
|
|
37
|
+
}
|
|
38
|
+
)
|
|
18
39
|
] });
|
|
19
40
|
};
|
|
20
41
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("../../utils/cn/cn.cjs.js"),l=require("../Icon/Icon.cjs.js"),r=require("../Icon/constants.cjs.js"),e=require("./progressButton.module.css.cjs.js"),a=({orientation:n,icon:o,disabled:s=!1,onClick:c})=>t.jsx("button",{className:i.cn(e.default.button,{[e.default.buttonLeft]:n==="left",[e.default.buttonRight]:n==="right"}),disabled:s,onClick:c,children:t.jsx("div",{className:e.default.iconWrap,children:t.jsx(l.Icon,{name:o,className:e.default.icon})})}),d=({invert:n=!1,left:o,right:s,className:c})=>t.jsxs("div",{className:i.cn(e.default.root,{[e.default.inverted]:n},c),children:[t.jsx(a,{orientation:"left",icon:r.EIconName.ARROW_BACK,disabled:o.disabled,onClick:o.onClick}),t.jsx("div",{className:i.cn(e.default.divider,{[e.default.inverted]:n})}),t.jsx(a,{orientation:"right",icon:r.EIconName.ARROW_FORWARD,disabled:s.disabled,onClick:s.onClick})]});exports.ProgressButton=d;
|
|
@@ -10,5 +10,6 @@ export type ProgressButtonProps = {
|
|
|
10
10
|
invert?: boolean;
|
|
11
11
|
left: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
12
12
|
right: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
13
|
+
className?: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const ProgressButton: ({ invert, left, right }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ProgressButton: ({ invert, left, right, className }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,41 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
2
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
3
3
|
import { Icon as d } from "../Icon/Icon.es.js";
|
|
4
|
-
import { EIconName as
|
|
4
|
+
import { EIconName as c } from "../Icon/constants.es.js";
|
|
5
5
|
import o from "./progressButton.module.css.es.js";
|
|
6
|
-
const
|
|
6
|
+
const a = ({ orientation: i, icon: e, disabled: n = !1, onClick: r }) => /* @__PURE__ */ t(
|
|
7
7
|
"button",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
9
|
+
className: s(o.button, {
|
|
10
10
|
[o.buttonLeft]: i === "left",
|
|
11
11
|
[o.buttonRight]: i === "right"
|
|
12
12
|
}),
|
|
13
13
|
disabled: n,
|
|
14
|
-
onClick:
|
|
14
|
+
onClick: r,
|
|
15
15
|
children: /* @__PURE__ */ t("div", { className: o.iconWrap, children: /* @__PURE__ */ t(d, { name: e, className: o.icon }) })
|
|
16
16
|
}
|
|
17
|
-
), R = ({ invert: i = !1, left: e, right: n }) => /* @__PURE__ */ l(
|
|
17
|
+
), R = ({ invert: i = !1, left: e, right: n, className: r }) => /* @__PURE__ */ l(
|
|
18
18
|
"div",
|
|
19
19
|
{
|
|
20
|
-
className:
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
className: s(
|
|
21
|
+
o.root,
|
|
22
|
+
{
|
|
23
|
+
[o.inverted]: i
|
|
24
|
+
},
|
|
25
|
+
r
|
|
26
|
+
),
|
|
23
27
|
children: [
|
|
24
|
-
/* @__PURE__ */ t(
|
|
25
|
-
/* @__PURE__ */ t("div", { className:
|
|
26
|
-
/* @__PURE__ */ t(
|
|
28
|
+
/* @__PURE__ */ t(a, { orientation: "left", icon: c.ARROW_BACK, disabled: e.disabled, onClick: e.onClick }),
|
|
29
|
+
/* @__PURE__ */ t("div", { className: s(o.divider, { [o.inverted]: i }) }),
|
|
30
|
+
/* @__PURE__ */ t(
|
|
31
|
+
a,
|
|
32
|
+
{
|
|
33
|
+
orientation: "right",
|
|
34
|
+
icon: c.ARROW_FORWARD,
|
|
35
|
+
disabled: n.disabled,
|
|
36
|
+
onClick: n.onClick
|
|
37
|
+
}
|
|
38
|
+
)
|
|
27
39
|
]
|
|
28
40
|
}
|
|
29
41
|
);
|