@zenpatient-org/healthspan-marketing-ui 0.2.48 → 0.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AdvancedGallery/AdvancedGallery.cjs.js +1 -0
- package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +7 -0
- package/dist/components/AdvancedGallery/AdvancedGallery.es.js +75 -0
- package/dist/components/AdvancedGallery/advancedGallery.module.css +64 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.cjs.js +1 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +9 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.es.js +28 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/imageGalleryPagination.module.css +58 -0
- package/dist/components/AdvancedGallery/components/ImageGalleryPagination/index.d.ts +1 -0
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.cjs.js +1 -0
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +13 -0
- package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.es.js +53 -0
- package/dist/components/AdvancedGallery/components/VideoSlide/videoSlide.module.css +49 -0
- package/dist/components/AdvancedGallery/components/index.d.ts +1 -0
- package/dist/components/AdvancedGallery/index.d.ts +2 -0
- package/dist/components/AdvancedGallery/types.d.ts +14 -0
- package/dist/components/AudioButton/AudioButton.cjs.js +1 -0
- package/dist/components/AudioButton/AudioButton.d.ts +7 -0
- package/dist/components/AudioButton/AudioButton.es.js +10 -0
- package/dist/components/AudioButton/audioButton.module.css +37 -0
- package/dist/components/AudioButton/index.d.ts +1 -0
- 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 +150 -144
- package/dist/icons/action/alt-play.svg +3 -0
- package/dist/icons/action/alt-play.svg.cjs.js +1 -0
- package/dist/icons/action/alt-play.svg.es.js +5 -0
- package/dist/icons/action/audio.svg +15 -0
- package/dist/icons/action/audio.svg.cjs.js +7 -0
- package/dist/icons/action/audio.svg.es.js +11 -0
- package/dist/icons/action/mute.svg +16 -0
- package/dist/icons/action/mute.svg.cjs.js +7 -0
- package/dist/icons/action/mute.svg.es.js +11 -0
- package/dist/lib/useSwiper.d.ts +1 -0
- package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.cjs.js +1 -1
- package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.es.js +44 -42
- package/dist/modules/IndividualProductCardV2/types.d.ts +2 -0
- package/dist/utils/useSwiper/useSwiper.cjs.js +1 -1
- package/dist/utils/useSwiper/useSwiper.es.js +49 -48
- package/package.json +6 -1
|
@@ -1,152 +1,158 @@
|
|
|
1
1
|
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
|
-
import S from "../../icons/action/
|
|
5
|
-
import i from "../../icons/action/
|
|
6
|
-
import t from "../../icons/action/circle-check.svg.es.js";
|
|
7
|
-
import p from "../../icons/action/
|
|
8
|
-
import g from "../../icons/action/
|
|
9
|
-
import v from "../../icons/action/bracket-
|
|
10
|
-
import f from "../../icons/action/
|
|
11
|
-
import R from "../../icons/action/
|
|
12
|
-
import A from "../../icons/action/
|
|
13
|
-
import E from "../../icons/action/
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import l from "../../icons/action/
|
|
19
|
-
import I from "../../icons/action/
|
|
20
|
-
import a from "../../icons/action/
|
|
21
|
-
import _ from "../../icons/
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import c from "../../icons/arrow/arrow-
|
|
29
|
-
import H from "../../icons/arrow/
|
|
30
|
-
import s from "../../icons/arrow/
|
|
31
|
-
import B from "../../icons/arrow/
|
|
32
|
-
import W from "../../icons/arrow/chevron-
|
|
33
|
-
import w from "../../icons/
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import h from "../../icons/eCommerce/
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import V from "../../icons/
|
|
42
|
-
import u from "../../icons/
|
|
43
|
-
import b from "../../icons/
|
|
44
|
-
import y from "../../icons/
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import x from "../../icons/global/
|
|
48
|
-
import z from "../../icons/global/
|
|
49
|
-
import Z from "../../icons/global/
|
|
50
|
-
import j from "../../icons/global/
|
|
51
|
-
import q from "../../icons/
|
|
52
|
-
import J from "../../icons/
|
|
53
|
-
import Q from "../../icons/
|
|
54
|
-
import $ from "../../icons/medical/
|
|
55
|
-
import rr from "../../icons/medical/
|
|
56
|
-
import or from "../../icons/medical/
|
|
57
|
-
import mr from "../../icons/medical/
|
|
58
|
-
import Sr from "../../icons/
|
|
59
|
-
import ir from "../../icons/
|
|
60
|
-
import tr from "../../icons/
|
|
61
|
-
import pr from "../../icons/social/
|
|
62
|
-
import gr from "../../icons/social/
|
|
63
|
-
import vr from "../../icons/social/
|
|
64
|
-
import fr from "../../icons/social/
|
|
65
|
-
import Rr from "../../icons/social/star.svg.es.js";
|
|
66
|
-
import Ar from "../../icons/social/
|
|
67
|
-
import Er from "../../icons/social/
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import lr from "../../icons/bold/
|
|
73
|
-
import Ir from "../../icons/
|
|
74
|
-
import ar from "../../icons/
|
|
75
|
-
|
|
4
|
+
import S from "../../icons/action/alt-play.svg.es.js";
|
|
5
|
+
import i from "../../icons/action/check.svg.es.js";
|
|
6
|
+
import t from "../../icons/action/circle-check-fill.svg.es.js";
|
|
7
|
+
import p from "../../icons/action/circle-check.svg.es.js";
|
|
8
|
+
import g from "../../icons/action/close.svg.es.js";
|
|
9
|
+
import v from "../../icons/action/bracket-left.svg.es.js";
|
|
10
|
+
import f from "../../icons/action/bracket-right.svg.es.js";
|
|
11
|
+
import R from "../../icons/action/help.svg.es.js";
|
|
12
|
+
import A from "../../icons/action/info.svg.es.js";
|
|
13
|
+
import E from "../../icons/action/menu.svg.es.js";
|
|
14
|
+
import L from "../../icons/action/play.svg.es.js";
|
|
15
|
+
import O from "../../icons/action/audio.svg.es.js";
|
|
16
|
+
import e from "../../icons/action/mute.svg.es.js";
|
|
17
|
+
import C from "../../icons/action/plus.svg.es.js";
|
|
18
|
+
import l from "../../icons/action/remove.svg.es.js";
|
|
19
|
+
import I from "../../icons/action/search.svg.es.js";
|
|
20
|
+
import a from "../../icons/action/warning.svg.es.js";
|
|
21
|
+
import _ from "../../icons/action/visible.svg.es.js";
|
|
22
|
+
import T from "../../icons/action/invisible.svg.es.js";
|
|
23
|
+
import F from "../../icons/action/profile.svg.es.js";
|
|
24
|
+
import D from "../../icons/arrow/arrow-back.svg.es.js";
|
|
25
|
+
import N from "../../icons/arrow/arrow-downward.svg.es.js";
|
|
26
|
+
import P from "../../icons/arrow/arrow-forward.svg.es.js";
|
|
27
|
+
import n from "../../icons/arrow/arrow-forward-thin.svg.es.js";
|
|
28
|
+
import c from "../../icons/arrow/arrow-insert.svg.es.js";
|
|
29
|
+
import H from "../../icons/arrow/arrow-outward.svg.es.js";
|
|
30
|
+
import s from "../../icons/arrow/arrow-return.svg.es.js";
|
|
31
|
+
import B from "../../icons/arrow/arrow-upward.svg.es.js";
|
|
32
|
+
import W from "../../icons/arrow/chevron-back.svg.es.js";
|
|
33
|
+
import w from "../../icons/arrow/chevron-down.svg.es.js";
|
|
34
|
+
import M from "../../icons/arrow/chevron-forward.svg.es.js";
|
|
35
|
+
import d from "../../icons/arrow/chevron-up.svg.es.js";
|
|
36
|
+
import k from "../../icons/chat/message-fill.svg.es.js";
|
|
37
|
+
import K from "../../icons/chat/message.svg.es.js";
|
|
38
|
+
import h from "../../icons/eCommerce/calendar.svg.es.js";
|
|
39
|
+
import U from "../../icons/eCommerce/cart.svg.es.js";
|
|
40
|
+
import G from "../../icons/eCommerce/package-fill.svg.es.js";
|
|
41
|
+
import V from "../../icons/eCommerce/package.svg.es.js";
|
|
42
|
+
import u from "../../icons/faces/smile-fill.svg.es.js";
|
|
43
|
+
import b from "../../icons/faces/smile.svg.es.js";
|
|
44
|
+
import y from "../../icons/indicators/circle-dash-fill.svg.es.js";
|
|
45
|
+
import Y from "../../icons/indicators/circle-dash.svg.es.js";
|
|
46
|
+
import X from "../../icons/global/pin-drop.svg.es.js";
|
|
47
|
+
import x from "../../icons/global/filter.svg.es.js";
|
|
48
|
+
import z from "../../icons/global/settings.svg.es.js";
|
|
49
|
+
import Z from "../../icons/global/cookie.svg.es.js";
|
|
50
|
+
import j from "../../icons/global/lock.svg.es.js";
|
|
51
|
+
import q from "../../icons/global/lock-open.svg.es.js";
|
|
52
|
+
import J from "../../icons/global/speed.svg.es.js";
|
|
53
|
+
import Q from "../../icons/global/video.svg.es.js";
|
|
54
|
+
import $ from "../../icons/medical/coaching.svg.es.js";
|
|
55
|
+
import rr from "../../icons/medical/labs.svg.es.js";
|
|
56
|
+
import or from "../../icons/medical/myspan.svg.es.js";
|
|
57
|
+
import mr from "../../icons/medical/optimizations.svg.es.js";
|
|
58
|
+
import Sr from "../../icons/medical/protocols.svg.es.js";
|
|
59
|
+
import ir from "../../icons/medical/ruler.svg.es.js";
|
|
60
|
+
import tr from "../../icons/medical/scale.svg.es.js";
|
|
61
|
+
import pr from "../../icons/social/facebook.svg.es.js";
|
|
62
|
+
import gr from "../../icons/social/heart-fill.svg.es.js";
|
|
63
|
+
import vr from "../../icons/social/heart.svg.es.js";
|
|
64
|
+
import fr from "../../icons/social/instagram.svg.es.js";
|
|
65
|
+
import Rr from "../../icons/social/star-fill.svg.es.js";
|
|
66
|
+
import Ar from "../../icons/social/star-half.svg.es.js";
|
|
67
|
+
import Er from "../../icons/social/star-outline.svg.es.js";
|
|
68
|
+
import Lr from "../../icons/social/star.svg.es.js";
|
|
69
|
+
import Or from "../../icons/social/x.svg.es.js";
|
|
70
|
+
import er from "../../icons/social/google.svg.es.js";
|
|
71
|
+
import Cr from "../../icons/social/apple.svg.es.js";
|
|
72
|
+
import lr from "../../icons/bold/arrow-bold.svg.es.js";
|
|
73
|
+
import Ir from "../../icons/bold/close-bold.svg.es.js";
|
|
74
|
+
import ar from "../../icons/bold/dot-bold.svg.es.js";
|
|
75
|
+
import _r from "../../icons/bold/plus-bold.svg.es.js";
|
|
76
|
+
import Tr from "../../icons/social/linkedin.svg.es.js";
|
|
77
|
+
import Fr from "../../icons/action/dot.svg.es.js";
|
|
78
|
+
const zo = {
|
|
76
79
|
[r.ALERT_ERROR_FILL]: o,
|
|
77
80
|
[r.ALERT_ERROR]: m,
|
|
78
|
-
[r.
|
|
79
|
-
[r.
|
|
80
|
-
[r.
|
|
81
|
-
[r.
|
|
82
|
-
[r.
|
|
83
|
-
[r.
|
|
84
|
-
[r.
|
|
85
|
-
[r.
|
|
86
|
-
[r.
|
|
87
|
-
[r.
|
|
88
|
-
[r.
|
|
89
|
-
[r.
|
|
90
|
-
[r.
|
|
91
|
-
[r.
|
|
92
|
-
[r.
|
|
93
|
-
[r.
|
|
94
|
-
[r.
|
|
95
|
-
[r.
|
|
96
|
-
[r.
|
|
97
|
-
[r.
|
|
98
|
-
[r.
|
|
99
|
-
[r.
|
|
100
|
-
[r.
|
|
101
|
-
[r.
|
|
102
|
-
[r.
|
|
103
|
-
[r.
|
|
104
|
-
[r.
|
|
105
|
-
[r.
|
|
106
|
-
[r.
|
|
107
|
-
[r.
|
|
108
|
-
[r.
|
|
109
|
-
[r.
|
|
110
|
-
[r.
|
|
111
|
-
[r.
|
|
112
|
-
[r.
|
|
113
|
-
[r.
|
|
114
|
-
[r.
|
|
115
|
-
[r.
|
|
116
|
-
[r.
|
|
117
|
-
[r.
|
|
118
|
-
[r.
|
|
119
|
-
[r.
|
|
120
|
-
[r.
|
|
121
|
-
[r.
|
|
122
|
-
[r.
|
|
123
|
-
[r.
|
|
124
|
-
[r.
|
|
125
|
-
[r.
|
|
126
|
-
[r.
|
|
127
|
-
[r.
|
|
128
|
-
[r.
|
|
129
|
-
[r.
|
|
130
|
-
[r.
|
|
131
|
-
[r.
|
|
132
|
-
[r.
|
|
133
|
-
[r.
|
|
134
|
-
[r.
|
|
135
|
-
[r.
|
|
136
|
-
[r.
|
|
137
|
-
[r.
|
|
138
|
-
[r.
|
|
139
|
-
[r.
|
|
140
|
-
[r.
|
|
141
|
-
[r.
|
|
142
|
-
[r.
|
|
143
|
-
[r.
|
|
144
|
-
[r.
|
|
145
|
-
[r.
|
|
146
|
-
[r.
|
|
147
|
-
[r.
|
|
148
|
-
[r.
|
|
81
|
+
[r.ALT_PLAY]: S,
|
|
82
|
+
[r.AUDIO]: O,
|
|
83
|
+
[r.CHECK]: i,
|
|
84
|
+
[r.CIRCLE_CHECK_FILL]: t,
|
|
85
|
+
[r.CIRCLE_CHECK]: p,
|
|
86
|
+
[r.CLOSE]: g,
|
|
87
|
+
[r.BRACKET_LEFT]: v,
|
|
88
|
+
[r.BRACKET_RIGHT]: f,
|
|
89
|
+
[r.HELP]: R,
|
|
90
|
+
[r.INFO]: A,
|
|
91
|
+
[r.MENU]: E,
|
|
92
|
+
[r.MUTE]: e,
|
|
93
|
+
[r.PLAY]: L,
|
|
94
|
+
[r.PLUS]: C,
|
|
95
|
+
[r.REMOVE]: l,
|
|
96
|
+
[r.SEARCH]: I,
|
|
97
|
+
[r.WARNING]: a,
|
|
98
|
+
[r.VISIBLE]: _,
|
|
99
|
+
[r.INVISIBLE]: T,
|
|
100
|
+
[r.PROFILE]: F,
|
|
101
|
+
[r.ARROW_BACK]: D,
|
|
102
|
+
[r.ARROW_DOWNWARD]: N,
|
|
103
|
+
[r.ARROW_FORWARD]: P,
|
|
104
|
+
[r.ARROW_FORWARD_THIN]: n,
|
|
105
|
+
[r.ARROW_INSERT]: c,
|
|
106
|
+
[r.ARROW_OUTWARD]: H,
|
|
107
|
+
[r.ARROW_RETURN]: s,
|
|
108
|
+
[r.ARROW_UPWARD]: B,
|
|
109
|
+
[r.CHEVRON_BACK]: W,
|
|
110
|
+
[r.CHEVRON_DOWN]: w,
|
|
111
|
+
[r.CHEVRON_FORWARD]: M,
|
|
112
|
+
[r.CHEVRON_UP]: d,
|
|
113
|
+
[r.MESSAGE_FILL]: k,
|
|
114
|
+
[r.MESSAGE]: K,
|
|
115
|
+
[r.CALENDAR]: h,
|
|
116
|
+
[r.CART]: U,
|
|
117
|
+
[r.PACKAGE_FILL]: G,
|
|
118
|
+
[r.PACKAGE]: V,
|
|
119
|
+
[r.SMILE_FILL]: u,
|
|
120
|
+
[r.SMILE]: b,
|
|
121
|
+
[r.CIRCLE_DASH_FILL]: y,
|
|
122
|
+
[r.CIRCLE_DASH]: Y,
|
|
123
|
+
[r.PIN_DROP]: X,
|
|
124
|
+
[r.FILTER]: x,
|
|
125
|
+
[r.SETTINGS]: z,
|
|
126
|
+
[r.COOKIE]: Z,
|
|
127
|
+
[r.LOCK]: j,
|
|
128
|
+
[r.LOCK_OPEN]: q,
|
|
129
|
+
[r.SPEED]: J,
|
|
130
|
+
[r.VIDEO]: Q,
|
|
131
|
+
[r.COACHING]: $,
|
|
132
|
+
[r.LABS]: rr,
|
|
133
|
+
[r.MYSPAN]: or,
|
|
134
|
+
[r.OPTIMIZATIONS]: mr,
|
|
135
|
+
[r.PROTOCOLS]: Sr,
|
|
136
|
+
[r.RULER]: ir,
|
|
137
|
+
[r.SCALE]: tr,
|
|
138
|
+
[r.FACEBOOK]: pr,
|
|
139
|
+
[r.HEART_FILL]: gr,
|
|
140
|
+
[r.HEART]: vr,
|
|
141
|
+
[r.INSTAGRAM]: fr,
|
|
142
|
+
[r.STAR_FILL]: Rr,
|
|
143
|
+
[r.STAR_HALF]: Ar,
|
|
144
|
+
[r.STAR_OUTLINE]: Er,
|
|
145
|
+
[r.STAR]: Lr,
|
|
146
|
+
[r.X]: Or,
|
|
147
|
+
[r.GOOGLE]: er,
|
|
148
|
+
[r.APPLE]: Cr,
|
|
149
|
+
[r.ARROW_BOLD]: lr,
|
|
150
|
+
[r.CLOSE_BOLD]: Ir,
|
|
151
|
+
[r.DOT_BOLD]: ar,
|
|
152
|
+
[r.PLUS_BOLD]: _r,
|
|
153
|
+
[r.LINKEDIN]: Tr,
|
|
154
|
+
[r.DOT]: Fr
|
|
149
155
|
};
|
|
150
156
|
export {
|
|
151
|
-
|
|
157
|
+
zo as ICON_COMPONENTS
|
|
152
158
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="54" viewBox="0 0 40 54" fill="none">
|
|
2
|
+
<path d="M6.21159 53.0793L37.7043 30.0741C39.8407 28.5134 39.8407 25.325 37.7043 23.7643L6.21159 0.759091C3.63011 -1.12667 0 0.717069 0 3.91396V49.9244C0 53.1213 3.63011 54.965 6.21159 53.0793Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react");function a(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=a(o),c=e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:54,viewBox:"0 0 40 54",fill:"none",...e},l.createElement("path",{d:"M6.21159 53.0793L37.7043 30.0741C39.8407 28.5134 39.8407 25.325 37.7043 23.7643L6.21159 0.759091C3.63011 -1.12667 0 0.717069 0 3.91396V49.9244C0 53.1213 3.63011 54.965 6.21159 53.0793Z",fill:"white"}));exports.default=c;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const l = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 40, height: 54, viewBox: "0 0 40 54", fill: "none", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M6.21159 53.0793L37.7043 30.0741C39.8407 28.5134 39.8407 25.325 37.7043 23.7643L6.21159 0.759091C3.63011 -1.12667 0 0.717069 0 3.91396V49.9244C0 53.1213 3.63011 54.965 6.21159 53.0793Z", fill: "white" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 93 93">
|
|
3
|
+
<!-- Generator: Adobe Illustrator 29.8.2, SVG Export Plug-In . SVG Version: 2.1.1 Build 3) -->
|
|
4
|
+
<defs>
|
|
5
|
+
<style>
|
|
6
|
+
.st0 {
|
|
7
|
+
fill: none;
|
|
8
|
+
stroke: #81b1e2;
|
|
9
|
+
stroke-width: 4px;
|
|
10
|
+
}
|
|
11
|
+
</style>
|
|
12
|
+
</defs>
|
|
13
|
+
<path class="st0" d="M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z"/>
|
|
14
|
+
<path class="st0" d="M58.8,37.8c5,5,5,13.1,0,18"/>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react");function c(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(l,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return l.default=e,Object.freeze(l)}const t=c(a),s=e=>t.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 93 93",...e},t.createElement("defs",null,t.createElement("style",null,`
|
|
2
|
+
.st0 {
|
|
3
|
+
fill: none;
|
|
4
|
+
stroke: #81b1e2;
|
|
5
|
+
stroke-width: 4px;
|
|
6
|
+
}
|
|
7
|
+
`)),t.createElement("path",{className:"st0",d:"M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z"}),t.createElement("path",{className:"st0",d:"M58.8,37.8c5,5,5,13.1,0,18"}));exports.default=s;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 93 93", ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, `
|
|
3
|
+
.st0 {
|
|
4
|
+
fill: none;
|
|
5
|
+
stroke: #81b1e2;
|
|
6
|
+
stroke-width: 4px;
|
|
7
|
+
}
|
|
8
|
+
`)), /* @__PURE__ */ e.createElement("path", { className: "st0", d: "M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z" }), /* @__PURE__ */ e.createElement("path", { className: "st0", d: "M58.8,37.8c5,5,5,13.1,0,18" }));
|
|
9
|
+
export {
|
|
10
|
+
l as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 93 93">
|
|
3
|
+
<!-- Generator: Adobe Illustrator 29.8.2, SVG Export Plug-In . SVG Version: 2.1.1 Build 3) -->
|
|
4
|
+
<defs>
|
|
5
|
+
<style>
|
|
6
|
+
.st0 {
|
|
7
|
+
fill: none;
|
|
8
|
+
stroke: #81b1e2;
|
|
9
|
+
stroke-width: 4px;
|
|
10
|
+
}
|
|
11
|
+
</style>
|
|
12
|
+
</defs>
|
|
13
|
+
<path class="st0" d="M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z"/>
|
|
14
|
+
<path class="st0" d="M57.5,54.3l15-15"/>
|
|
15
|
+
<path class="st0" d="M57.5,39.3l15,15"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react");function s(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(l,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return l.default=e,Object.freeze(l)}const t=s(r),c=e=>t.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 93 93",...e},t.createElement("defs",null,t.createElement("style",null,`
|
|
2
|
+
.st0 {
|
|
3
|
+
fill: none;
|
|
4
|
+
stroke: #81b1e2;
|
|
5
|
+
stroke-width: 4px;
|
|
6
|
+
}
|
|
7
|
+
`)),t.createElement("path",{className:"st0",d:"M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z"}),t.createElement("path",{className:"st0",d:"M57.5,54.3l15-15"}),t.createElement("path",{className:"st0",d:"M57.5,39.3l15,15"}));exports.default=c;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const l = (t) => /* @__PURE__ */ e.createElement("svg", { id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 93 93", ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, `
|
|
3
|
+
.st0 {
|
|
4
|
+
fill: none;
|
|
5
|
+
stroke: #81b1e2;
|
|
6
|
+
stroke-width: 4px;
|
|
7
|
+
}
|
|
8
|
+
`)), /* @__PURE__ */ e.createElement("path", { className: "st0", d: "M47.7,67.7l-13.3-13.3h-8.5v-15.2h8.5l13.3-13.3v41.7Z" }), /* @__PURE__ */ e.createElement("path", { className: "st0", d: "M57.5,54.3l15-15" }), /* @__PURE__ */ e.createElement("path", { className: "st0", d: "M57.5,39.3l15,15" }));
|
|
9
|
+
export {
|
|
10
|
+
l as default
|
|
11
|
+
};
|
package/dist/lib/useSwiper.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type BaseSwiperReturnProps = {
|
|
|
8
8
|
setActiveIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
9
9
|
isEnd: boolean;
|
|
10
10
|
isBeginning: boolean;
|
|
11
|
+
isLocked: boolean;
|
|
11
12
|
setIsBeginning: React.Dispatch<React.SetStateAction<boolean>>;
|
|
12
13
|
setIsEnd: React.Dispatch<React.SetStateAction<boolean>>;
|
|
13
14
|
handleReachEnd: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("../../types/analytics/analytics.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("../../types/analytics/analytics.cjs.js"),q=require("../../utils/cn/cn.cjs.js"),a=require("../../src/modules/IndividualProductCardV2/individualProductCardV2.module.css"),I=require("../../components/AdvancedGallery/AdvancedGallery.cjs.js"),D=require("../../components/ImageGallery/ImageGallery.cjs.js"),S=require("../../components/RatingPreview/RatingPreview.cjs.js"),u=require("../../components/Typography/Typography.cjs.js"),V=require("../IndividualProductCard/components/Features/Features.cjs.js"),F=require("../../components/PlainFeaturesGroup/PlainFeaturesGroup.cjs.js"),k=require("../../components/PriceDisplay/PriceDisplay.cjs.js"),R=require("../IndividualProductCard/components/PlanCard/PlanCard.cjs.js"),B=require("../../components/Button/Button.cjs.js"),L=require("../../components/Quote/Quote.cjs.js"),M=t=>{const{zenpatientId:y,signupUrl:c,name:f,description:A,label:m,images:G,advancedGallery:p,features:N,quote:v,featuresGroup:h,ratingPreview:g,view:r,button:i}=t,n=r==="plans_list"?t.plans:void 0,T=n&&n.length>0,x=r==="plans_list"?t.selectedPlanId:void 0,o=n==null?void 0:n.find(s=>s.id===x),j=o?`${(i==null?void 0:i.link)||c}?defaultDurationSelection=${o==null?void 0:o.durationAmount}`:(i==null?void 0:i.link)||c,_=r==="pricing_display"?t.priceDisplay:void 0,E={event:d.EAnalyticsEvent.ctaClicked,type:d.EAnalyticsEventType.interaction,component:"Pricing",payload:{ctaLabel:(i==null?void 0:i.text)||"GET STARTED",ctaLink:j||c,productId:y}},C=s=>{var P;if(r!=="plans_list"||!t.onSelectPlan)return;t.onSelectPlan(s);const l=n==null?void 0:n.find(w=>w.id===s),b={event:d.EAnalyticsEvent.userSelectedPlan,location:"IPCv2",type:d.EAnalyticsEventType.interaction,payload:{productId:y,planId:s,planPrice:l==null?void 0:l.price,planDuration:l==null?void 0:l.duration}};(P=window.eventBus)==null||P.emit("analytics",b)};return e.jsx("section",{className:a.root,children:e.jsxs("div",{className:a.mainContainer,children:[e.jsxs("div",{className:a.leftColumn,children:[p&&p.items.length>0?e.jsx(I.AdvancedGallery,{items:p.items,label:m}):e.jsx(D.ImageGallery,{images:G,label:m}),e.jsx("div",{className:q.cn(a.ratingContainer,a.mobileOnly),children:e.jsx(S.RatingPreview,{...g})}),v&&e.jsx("div",{className:a.quoteWrapper,children:e.jsx(L.Quote,{...v})})]}),e.jsxs("div",{className:a.rightColumn,children:[e.jsxs("div",{className:a.header,children:[e.jsx(u.Typography,{as:"h1",defaultVariant:"displayXs",mobileVariant:"headingLg",children:f}),e.jsx(u.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",className:a.description,children:A})]}),e.jsx(V.Features,{features:N}),h&&e.jsx(F.PlainFeaturesGroup,{...h}),r==="pricing_display"&&_&&e.jsx(k.PriceDisplay,{items:_}),r==="plans_list"&&T&&e.jsx("div",{className:a.plansSection,children:e.jsxs("div",{className:a.plans,children:[e.jsx(u.Typography,{as:"h4",defaultVariant:"labelSm",emphasis:!0,weight:"regular",children:"Subscribe & Save"}),n.map(s=>e.jsx(R.PlanCard,{plan:s,onSelect:C,isActive:x===s.id},s.id))]})}),e.jsx("div",{className:q.cn(a.ratingContainer,a.desktopOnly),children:e.jsx(S.RatingPreview,{...g})}),e.jsxs("div",{className:a.actions,children:[e.jsx(B.Button,{as:"a",variant:"primary",size:"lg",href:j||c,analyticsProps:E,children:(i==null?void 0:i.text)||"Get started"}),e.jsx(u.Typography,{as:"p",defaultVariant:"labelMd",className:a.hsaFsaText,children:"HSA/FSA Eligible"})]})]})]})})};exports.IndividualProductCardV2=M;
|
|
@@ -1,65 +1,67 @@
|
|
|
1
1
|
import { jsx as i, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { EAnalyticsEventType as
|
|
3
|
-
import { cn as
|
|
2
|
+
import { EAnalyticsEventType as A, EAnalyticsEvent as C } from "../../types/analytics/analytics.es.js";
|
|
3
|
+
import { cn as E } from "../../utils/cn/cn.es.js";
|
|
4
4
|
import e from "../../modules/IndividualProductCardV2/individualProductCardV2.module.css";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { AdvancedGallery as F } from "../../components/AdvancedGallery/AdvancedGallery.es.js";
|
|
6
|
+
import { ImageGallery as L } from "../../components/ImageGallery/ImageGallery.es.js";
|
|
7
|
+
import { RatingPreview as b } from "../../components/RatingPreview/RatingPreview.es.js";
|
|
7
8
|
import { Typography as m } from "../../components/Typography/Typography.es.js";
|
|
8
|
-
import { Features as
|
|
9
|
-
import { PlainFeaturesGroup as
|
|
10
|
-
import { PriceDisplay as
|
|
11
|
-
import { PlanCard as
|
|
12
|
-
import { Button as
|
|
13
|
-
import { Quote as
|
|
14
|
-
const
|
|
9
|
+
import { Features as j } from "../IndividualProductCard/components/Features/Features.es.js";
|
|
10
|
+
import { PlainFeaturesGroup as q } from "../../components/PlainFeaturesGroup/PlainFeaturesGroup.es.js";
|
|
11
|
+
import { PriceDisplay as z } from "../../components/PriceDisplay/PriceDisplay.es.js";
|
|
12
|
+
import { PlanCard as B } from "../IndividualProductCard/components/PlanCard/PlanCard.es.js";
|
|
13
|
+
import { Button as M } from "../../components/Button/Button.es.js";
|
|
14
|
+
import { Quote as O } from "../../components/Quote/Quote.es.js";
|
|
15
|
+
const ti = (r) => {
|
|
15
16
|
const {
|
|
16
|
-
zenpatientId:
|
|
17
|
+
zenpatientId: h,
|
|
17
18
|
signupUrl: c,
|
|
18
|
-
name:
|
|
19
|
-
description:
|
|
20
|
-
label:
|
|
19
|
+
name: G,
|
|
20
|
+
description: V,
|
|
21
|
+
label: v,
|
|
21
22
|
images: k,
|
|
23
|
+
advancedGallery: p,
|
|
22
24
|
features: w,
|
|
23
|
-
quote:
|
|
24
|
-
featuresGroup:
|
|
25
|
-
ratingPreview:
|
|
25
|
+
quote: u,
|
|
26
|
+
featuresGroup: y,
|
|
27
|
+
ratingPreview: f,
|
|
26
28
|
view: l,
|
|
27
29
|
button: a
|
|
28
|
-
} = r, t = l === "plans_list" ? r.plans : void 0, x = t && t.length > 0,
|
|
29
|
-
event:
|
|
30
|
-
type:
|
|
30
|
+
} = r, t = l === "plans_list" ? r.plans : void 0, x = t && t.length > 0, g = l === "plans_list" ? r.selectedPlanId : void 0, d = t == null ? void 0 : t.find((n) => n.id === g), P = d ? `${(a == null ? void 0 : a.link) || c}?defaultDurationSelection=${d == null ? void 0 : d.durationAmount}` : (a == null ? void 0 : a.link) || c, S = l === "pricing_display" ? r.priceDisplay : void 0, D = {
|
|
31
|
+
event: C.ctaClicked,
|
|
32
|
+
type: A.interaction,
|
|
31
33
|
component: "Pricing",
|
|
32
34
|
payload: {
|
|
33
35
|
ctaLabel: (a == null ? void 0 : a.text) || "GET STARTED",
|
|
34
|
-
ctaLink:
|
|
35
|
-
productId:
|
|
36
|
+
ctaLink: P || c,
|
|
37
|
+
productId: h
|
|
36
38
|
}
|
|
37
39
|
}, I = (n) => {
|
|
38
|
-
var
|
|
40
|
+
var N;
|
|
39
41
|
if (l !== "plans_list" || !r.onSelectPlan) return;
|
|
40
42
|
r.onSelectPlan(n);
|
|
41
43
|
const s = t == null ? void 0 : t.find((_) => _.id === n), T = {
|
|
42
|
-
event:
|
|
44
|
+
event: C.userSelectedPlan,
|
|
43
45
|
location: "IPCv2",
|
|
44
|
-
type:
|
|
46
|
+
type: A.interaction,
|
|
45
47
|
payload: {
|
|
46
|
-
productId:
|
|
48
|
+
productId: h,
|
|
47
49
|
planId: n,
|
|
48
50
|
planPrice: s == null ? void 0 : s.price,
|
|
49
51
|
planDuration: s == null ? void 0 : s.duration
|
|
50
52
|
}
|
|
51
53
|
};
|
|
52
|
-
(
|
|
54
|
+
(N = window.eventBus) == null || N.emit("analytics", T);
|
|
53
55
|
};
|
|
54
56
|
return /* @__PURE__ */ i("section", { className: e.root, children: /* @__PURE__ */ o("div", { className: e.mainContainer, children: [
|
|
55
57
|
/* @__PURE__ */ o("div", { className: e.leftColumn, children: [
|
|
56
|
-
/* @__PURE__ */ i(
|
|
57
|
-
/* @__PURE__ */ i("div", { className:
|
|
58
|
-
|
|
58
|
+
p && p.items.length > 0 ? /* @__PURE__ */ i(F, { items: p.items, label: v }) : /* @__PURE__ */ i(L, { images: k, label: v }),
|
|
59
|
+
/* @__PURE__ */ i("div", { className: E(e.ratingContainer, e.mobileOnly), children: /* @__PURE__ */ i(b, { ...f }) }),
|
|
60
|
+
u && /* @__PURE__ */ i("div", { className: e.quoteWrapper, children: /* @__PURE__ */ i(O, { ...u }) })
|
|
59
61
|
] }),
|
|
60
62
|
/* @__PURE__ */ o("div", { className: e.rightColumn, children: [
|
|
61
63
|
/* @__PURE__ */ o("div", { className: e.header, children: [
|
|
62
|
-
/* @__PURE__ */ i(m, { as: "h1", defaultVariant: "displayXs", mobileVariant: "headingLg", children:
|
|
64
|
+
/* @__PURE__ */ i(m, { as: "h1", defaultVariant: "displayXs", mobileVariant: "headingLg", children: G }),
|
|
63
65
|
/* @__PURE__ */ i(
|
|
64
66
|
m,
|
|
65
67
|
{
|
|
@@ -67,34 +69,34 @@ const ii = (r) => {
|
|
|
67
69
|
defaultVariant: "bodyMd",
|
|
68
70
|
mobileVariant: "bodySm",
|
|
69
71
|
className: e.description,
|
|
70
|
-
children:
|
|
72
|
+
children: V
|
|
71
73
|
}
|
|
72
74
|
)
|
|
73
75
|
] }),
|
|
74
|
-
/* @__PURE__ */ i(
|
|
75
|
-
|
|
76
|
-
l === "pricing_display" &&
|
|
76
|
+
/* @__PURE__ */ i(j, { features: w }),
|
|
77
|
+
y && /* @__PURE__ */ i(q, { ...y }),
|
|
78
|
+
l === "pricing_display" && S && /* @__PURE__ */ i(z, { items: S }),
|
|
77
79
|
l === "plans_list" && x && /* @__PURE__ */ i("div", { className: e.plansSection, children: /* @__PURE__ */ o("div", { className: e.plans, children: [
|
|
78
80
|
/* @__PURE__ */ i(m, { as: "h4", defaultVariant: "labelSm", emphasis: !0, weight: "regular", children: "Subscribe & Save" }),
|
|
79
81
|
t.map((n) => /* @__PURE__ */ i(
|
|
80
|
-
|
|
82
|
+
B,
|
|
81
83
|
{
|
|
82
84
|
plan: n,
|
|
83
85
|
onSelect: I,
|
|
84
|
-
isActive:
|
|
86
|
+
isActive: g === n.id
|
|
85
87
|
},
|
|
86
88
|
n.id
|
|
87
89
|
))
|
|
88
90
|
] }) }),
|
|
89
|
-
/* @__PURE__ */ i("div", { className:
|
|
91
|
+
/* @__PURE__ */ i("div", { className: E(e.ratingContainer, e.desktopOnly), children: /* @__PURE__ */ i(b, { ...f }) }),
|
|
90
92
|
/* @__PURE__ */ o("div", { className: e.actions, children: [
|
|
91
93
|
/* @__PURE__ */ i(
|
|
92
|
-
|
|
94
|
+
M,
|
|
93
95
|
{
|
|
94
96
|
as: "a",
|
|
95
97
|
variant: "primary",
|
|
96
98
|
size: "lg",
|
|
97
|
-
href:
|
|
99
|
+
href: P || c,
|
|
98
100
|
analyticsProps: D,
|
|
99
101
|
children: (a == null ? void 0 : a.text) || "Get started"
|
|
100
102
|
}
|
|
@@ -105,5 +107,5 @@ const ii = (r) => {
|
|
|
105
107
|
] }) });
|
|
106
108
|
};
|
|
107
109
|
export {
|
|
108
|
-
|
|
110
|
+
ti as IndividualProductCardV2
|
|
109
111
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ETypeBadge } from '../../components/TypeBadge';
|
|
2
2
|
import { EIconName } from '../../components/Icon/constants';
|
|
3
|
+
import { TAdvancedGalleryView } from '../../components/AdvancedGallery';
|
|
3
4
|
|
|
4
5
|
export type TTypeBadge = 'senescence' | 'supplements' | 'outline' | 'energy' | 'metabolism' | 'labs';
|
|
5
6
|
export type TProductFeature = {
|
|
@@ -43,6 +44,7 @@ export type TIndividualProductCardV2Base = {
|
|
|
43
44
|
signupUrl: string;
|
|
44
45
|
name: string;
|
|
45
46
|
images: Array<string>;
|
|
47
|
+
advancedGallery?: TAdvancedGalleryView;
|
|
46
48
|
features: Array<TProductFeature>;
|
|
47
49
|
description?: string;
|
|
48
50
|
label?: string;
|