@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.
Files changed (42) hide show
  1. package/dist/components/AdvancedGallery/AdvancedGallery.cjs.js +1 -0
  2. package/dist/components/AdvancedGallery/AdvancedGallery.d.ts +7 -0
  3. package/dist/components/AdvancedGallery/AdvancedGallery.es.js +75 -0
  4. package/dist/components/AdvancedGallery/advancedGallery.module.css +64 -0
  5. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.cjs.js +1 -0
  6. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.d.ts +9 -0
  7. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/ImageGalleryPagination.es.js +28 -0
  8. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/imageGalleryPagination.module.css +58 -0
  9. package/dist/components/AdvancedGallery/components/ImageGalleryPagination/index.d.ts +1 -0
  10. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.cjs.js +1 -0
  11. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.d.ts +13 -0
  12. package/dist/components/AdvancedGallery/components/VideoSlide/VideoSlide.es.js +53 -0
  13. package/dist/components/AdvancedGallery/components/VideoSlide/videoSlide.module.css +49 -0
  14. package/dist/components/AdvancedGallery/components/index.d.ts +1 -0
  15. package/dist/components/AdvancedGallery/index.d.ts +2 -0
  16. package/dist/components/AdvancedGallery/types.d.ts +14 -0
  17. package/dist/components/AudioButton/AudioButton.cjs.js +1 -0
  18. package/dist/components/AudioButton/AudioButton.d.ts +7 -0
  19. package/dist/components/AudioButton/AudioButton.es.js +10 -0
  20. package/dist/components/AudioButton/audioButton.module.css +37 -0
  21. package/dist/components/AudioButton/index.d.ts +1 -0
  22. package/dist/components/Icon/constants.cjs.js +1 -1
  23. package/dist/components/Icon/constants.d.ts +3 -0
  24. package/dist/components/Icon/constants.es.js +4 -1
  25. package/dist/components/Icon/iconsMap.cjs.js +1 -1
  26. package/dist/components/Icon/iconsMap.es.js +150 -144
  27. package/dist/icons/action/alt-play.svg +3 -0
  28. package/dist/icons/action/alt-play.svg.cjs.js +1 -0
  29. package/dist/icons/action/alt-play.svg.es.js +5 -0
  30. package/dist/icons/action/audio.svg +15 -0
  31. package/dist/icons/action/audio.svg.cjs.js +7 -0
  32. package/dist/icons/action/audio.svg.es.js +11 -0
  33. package/dist/icons/action/mute.svg +16 -0
  34. package/dist/icons/action/mute.svg.cjs.js +7 -0
  35. package/dist/icons/action/mute.svg.es.js +11 -0
  36. package/dist/lib/useSwiper.d.ts +1 -0
  37. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.cjs.js +1 -1
  38. package/dist/modules/IndividualProductCardV2/IndividualProductCardV2.es.js +44 -42
  39. package/dist/modules/IndividualProductCardV2/types.d.ts +2 -0
  40. package/dist/utils/useSwiper/useSwiper.cjs.js +1 -1
  41. package/dist/utils/useSwiper/useSwiper.es.js +49 -48
  42. 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/check.svg.es.js";
5
- import i from "../../icons/action/circle-check-fill.svg.es.js";
6
- import t from "../../icons/action/circle-check.svg.es.js";
7
- import p from "../../icons/action/close.svg.es.js";
8
- import g from "../../icons/action/bracket-left.svg.es.js";
9
- import v from "../../icons/action/bracket-right.svg.es.js";
10
- import f from "../../icons/action/help.svg.es.js";
11
- import R from "../../icons/action/info.svg.es.js";
12
- import A from "../../icons/action/menu.svg.es.js";
13
- import E from "../../icons/action/play.svg.es.js";
14
- import O from "../../icons/action/plus.svg.es.js";
15
- import C from "../../icons/action/remove.svg.es.js";
16
- import L from "../../icons/action/search.svg.es.js";
17
- import e from "../../icons/action/warning.svg.es.js";
18
- import l from "../../icons/action/visible.svg.es.js";
19
- import I from "../../icons/action/invisible.svg.es.js";
20
- import a from "../../icons/action/profile.svg.es.js";
21
- import _ from "../../icons/arrow/arrow-back.svg.es.js";
22
- import F from "../../icons/arrow/arrow-downward.svg.es.js";
23
- import N from "../../icons/arrow/arrow-forward.svg.es.js";
24
- import T from "../../icons/arrow/arrow-forward-thin.svg.es.js";
25
- import D from "../../icons/arrow/arrow-insert.svg.es.js";
26
- import n from "../../icons/arrow/arrow-outward.svg.es.js";
27
- import P from "../../icons/arrow/arrow-return.svg.es.js";
28
- import c from "../../icons/arrow/arrow-upward.svg.es.js";
29
- import H from "../../icons/arrow/chevron-back.svg.es.js";
30
- import s from "../../icons/arrow/chevron-down.svg.es.js";
31
- import B from "../../icons/arrow/chevron-forward.svg.es.js";
32
- import W from "../../icons/arrow/chevron-up.svg.es.js";
33
- import w from "../../icons/chat/message-fill.svg.es.js";
34
- import d from "../../icons/chat/message.svg.es.js";
35
- import k from "../../icons/eCommerce/calendar.svg.es.js";
36
- import K from "../../icons/eCommerce/cart.svg.es.js";
37
- import M from "../../icons/eCommerce/package-fill.svg.es.js";
38
- import h from "../../icons/eCommerce/package.svg.es.js";
39
- import G from "../../icons/faces/smile-fill.svg.es.js";
40
- import U from "../../icons/faces/smile.svg.es.js";
41
- import V from "../../icons/indicators/circle-dash-fill.svg.es.js";
42
- import u from "../../icons/indicators/circle-dash.svg.es.js";
43
- import b from "../../icons/global/pin-drop.svg.es.js";
44
- import y from "../../icons/global/filter.svg.es.js";
45
- import X from "../../icons/global/settings.svg.es.js";
46
- import Y from "../../icons/global/cookie.svg.es.js";
47
- import x from "../../icons/global/lock.svg.es.js";
48
- import z from "../../icons/global/lock-open.svg.es.js";
49
- import Z from "../../icons/global/speed.svg.es.js";
50
- import j from "../../icons/global/video.svg.es.js";
51
- import q from "../../icons/medical/coaching.svg.es.js";
52
- import J from "../../icons/medical/labs.svg.es.js";
53
- import Q from "../../icons/medical/myspan.svg.es.js";
54
- import $ from "../../icons/medical/optimizations.svg.es.js";
55
- import rr from "../../icons/medical/protocols.svg.es.js";
56
- import or from "../../icons/medical/ruler.svg.es.js";
57
- import mr from "../../icons/medical/scale.svg.es.js";
58
- import Sr from "../../icons/social/facebook.svg.es.js";
59
- import ir from "../../icons/social/heart-fill.svg.es.js";
60
- import tr from "../../icons/social/heart.svg.es.js";
61
- import pr from "../../icons/social/instagram.svg.es.js";
62
- import gr from "../../icons/social/star-fill.svg.es.js";
63
- import vr from "../../icons/social/star-half.svg.es.js";
64
- import fr from "../../icons/social/star-outline.svg.es.js";
65
- import Rr from "../../icons/social/star.svg.es.js";
66
- import Ar from "../../icons/social/x.svg.es.js";
67
- import Er from "../../icons/social/google.svg.es.js";
68
- import Or from "../../icons/social/apple.svg.es.js";
69
- import Cr from "../../icons/bold/arrow-bold.svg.es.js";
70
- import Lr from "../../icons/bold/close-bold.svg.es.js";
71
- import er from "../../icons/bold/dot-bold.svg.es.js";
72
- import lr from "../../icons/bold/plus-bold.svg.es.js";
73
- import Ir from "../../icons/social/linkedin.svg.es.js";
74
- import ar from "../../icons/action/dot.svg.es.js";
75
- const uo = {
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.CHECK]: S,
79
- [r.CIRCLE_CHECK_FILL]: i,
80
- [r.CIRCLE_CHECK]: t,
81
- [r.CLOSE]: p,
82
- [r.BRACKET_LEFT]: g,
83
- [r.BRACKET_RIGHT]: v,
84
- [r.HELP]: f,
85
- [r.INFO]: R,
86
- [r.MENU]: A,
87
- [r.PLAY]: E,
88
- [r.PLUS]: O,
89
- [r.REMOVE]: C,
90
- [r.SEARCH]: L,
91
- [r.WARNING]: e,
92
- [r.VISIBLE]: l,
93
- [r.INVISIBLE]: I,
94
- [r.PROFILE]: a,
95
- [r.ARROW_BACK]: _,
96
- [r.ARROW_DOWNWARD]: F,
97
- [r.ARROW_FORWARD]: N,
98
- [r.ARROW_FORWARD_THIN]: T,
99
- [r.ARROW_INSERT]: D,
100
- [r.ARROW_OUTWARD]: n,
101
- [r.ARROW_RETURN]: P,
102
- [r.ARROW_UPWARD]: c,
103
- [r.CHEVRON_BACK]: H,
104
- [r.CHEVRON_DOWN]: s,
105
- [r.CHEVRON_FORWARD]: B,
106
- [r.CHEVRON_UP]: W,
107
- [r.MESSAGE_FILL]: w,
108
- [r.MESSAGE]: d,
109
- [r.CALENDAR]: k,
110
- [r.CART]: K,
111
- [r.PACKAGE_FILL]: M,
112
- [r.PACKAGE]: h,
113
- [r.SMILE_FILL]: G,
114
- [r.SMILE]: U,
115
- [r.CIRCLE_DASH_FILL]: V,
116
- [r.CIRCLE_DASH]: u,
117
- [r.PIN_DROP]: b,
118
- [r.FILTER]: y,
119
- [r.SETTINGS]: X,
120
- [r.COOKIE]: Y,
121
- [r.LOCK]: x,
122
- [r.LOCK_OPEN]: z,
123
- [r.SPEED]: Z,
124
- [r.VIDEO]: j,
125
- [r.COACHING]: q,
126
- [r.LABS]: J,
127
- [r.MYSPAN]: Q,
128
- [r.OPTIMIZATIONS]: $,
129
- [r.PROTOCOLS]: rr,
130
- [r.RULER]: or,
131
- [r.SCALE]: mr,
132
- [r.FACEBOOK]: Sr,
133
- [r.HEART_FILL]: ir,
134
- [r.HEART]: tr,
135
- [r.INSTAGRAM]: pr,
136
- [r.STAR_FILL]: gr,
137
- [r.STAR_HALF]: vr,
138
- [r.STAR_OUTLINE]: fr,
139
- [r.STAR]: Rr,
140
- [r.X]: Ar,
141
- [r.GOOGLE]: Er,
142
- [r.APPLE]: Or,
143
- [r.ARROW_BOLD]: Cr,
144
- [r.CLOSE_BOLD]: Lr,
145
- [r.DOT_BOLD]: er,
146
- [r.PLUS_BOLD]: lr,
147
- [r.LINKEDIN]: Ir,
148
- [r.DOT]: ar
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
- uo as ICON_COMPONENTS
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
+ };
@@ -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"),P=require("../../utils/cn/cn.cjs.js"),i=require("../../src/modules/IndividualProductCardV2/individualProductCardV2.module.css"),G=require("../../components/ImageGallery/ImageGallery.cjs.js"),_=require("../../components/RatingPreview/RatingPreview.cjs.js"),u=require("../../components/Typography/Typography.cjs.js"),I=require("../IndividualProductCard/components/Features/Features.cjs.js"),D=require("../../components/PlainFeaturesGroup/PlainFeaturesGroup.cjs.js"),V=require("../../components/PriceDisplay/PriceDisplay.cjs.js"),F=require("../IndividualProductCard/components/PlanCard/PlanCard.cjs.js"),k=require("../../components/Button/Button.cjs.js"),R=require("../../components/Quote/Quote.cjs.js"),B=t=>{const{zenpatientId:p,signupUrl:c,name:S,description:q,label:f,images:N,features:T,quote:y,featuresGroup:m,ratingPreview:v,view:r,button:a}=t,n=r==="plans_list"?t.plans:void 0,E=n&&n.length>0,h=r==="plans_list"?t.selectedPlanId:void 0,o=n==null?void 0:n.find(s=>s.id===h),g=o?`${(a==null?void 0:a.link)||c}?defaultDurationSelection=${o==null?void 0:o.durationAmount}`:(a==null?void 0:a.link)||c,x=r==="pricing_display"?t.priceDisplay:void 0,C={event:d.EAnalyticsEvent.ctaClicked,type:d.EAnalyticsEventType.interaction,component:"Pricing",payload:{ctaLabel:(a==null?void 0:a.text)||"GET STARTED",ctaLink:g||c,productId:p}},A=s=>{var j;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:p,planId:s,planPrice:l==null?void 0:l.price,planDuration:l==null?void 0:l.duration}};(j=window.eventBus)==null||j.emit("analytics",b)};return e.jsx("section",{className:i.root,children:e.jsxs("div",{className:i.mainContainer,children:[e.jsxs("div",{className:i.leftColumn,children:[e.jsx(G.ImageGallery,{images:N,label:f}),e.jsx("div",{className:P.cn(i.ratingContainer,i.mobileOnly),children:e.jsx(_.RatingPreview,{...v})}),y&&e.jsx("div",{className:i.quoteWrapper,children:e.jsx(R.Quote,{...y})})]}),e.jsxs("div",{className:i.rightColumn,children:[e.jsxs("div",{className:i.header,children:[e.jsx(u.Typography,{as:"h1",defaultVariant:"displayXs",mobileVariant:"headingLg",children:S}),e.jsx(u.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",className:i.description,children:q})]}),e.jsx(I.Features,{features:T}),m&&e.jsx(D.PlainFeaturesGroup,{...m}),r==="pricing_display"&&x&&e.jsx(V.PriceDisplay,{items:x}),r==="plans_list"&&E&&e.jsx("div",{className:i.plansSection,children:e.jsxs("div",{className:i.plans,children:[e.jsx(u.Typography,{as:"h4",defaultVariant:"labelSm",emphasis:!0,weight:"regular",children:"Subscribe & Save"}),n.map(s=>e.jsx(F.PlanCard,{plan:s,onSelect:A,isActive:h===s.id},s.id))]})}),e.jsx("div",{className:P.cn(i.ratingContainer,i.desktopOnly),children:e.jsx(_.RatingPreview,{...v})}),e.jsxs("div",{className:i.actions,children:[e.jsx(k.Button,{as:"a",variant:"primary",size:"lg",href:g||c,analyticsProps:C,children:(a==null?void 0:a.text)||"Get started"}),e.jsx(u.Typography,{as:"p",defaultVariant:"labelMd",className:i.hsaFsaText,children:"HSA/FSA Eligible"})]})]})]})})};exports.IndividualProductCardV2=B;
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 S, EAnalyticsEvent as N } from "../../types/analytics/analytics.es.js";
3
- import { cn as C } from "../../utils/cn/cn.es.js";
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 { ImageGallery as G } from "../../components/ImageGallery/ImageGallery.es.js";
6
- import { RatingPreview as A } from "../../components/RatingPreview/RatingPreview.es.js";
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 F } from "../IndividualProductCard/components/Features/Features.es.js";
9
- import { PlainFeaturesGroup as L } from "../../components/PlainFeaturesGroup/PlainFeaturesGroup.es.js";
10
- import { PriceDisplay as j } from "../../components/PriceDisplay/PriceDisplay.es.js";
11
- import { PlanCard as q } from "../IndividualProductCard/components/PlanCard/PlanCard.es.js";
12
- import { Button as z } from "../../components/Button/Button.es.js";
13
- import { Quote as B } from "../../components/Quote/Quote.es.js";
14
- const ii = (r) => {
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: p,
17
+ zenpatientId: h,
17
18
  signupUrl: c,
18
- name: E,
19
- description: b,
20
- label: V,
19
+ name: G,
20
+ description: V,
21
+ label: v,
21
22
  images: k,
23
+ advancedGallery: p,
22
24
  features: w,
23
- quote: h,
24
- featuresGroup: u,
25
- ratingPreview: v,
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, f = l === "plans_list" ? r.selectedPlanId : void 0, d = t == null ? void 0 : t.find((n) => n.id === f), y = d ? `${(a == null ? void 0 : a.link) || c}?defaultDurationSelection=${d == null ? void 0 : d.durationAmount}` : (a == null ? void 0 : a.link) || c, g = l === "pricing_display" ? r.priceDisplay : void 0, D = {
29
- event: N.ctaClicked,
30
- type: S.interaction,
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: y || c,
35
- productId: p
36
+ ctaLink: P || c,
37
+ productId: h
36
38
  }
37
39
  }, I = (n) => {
38
- var P;
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: N.userSelectedPlan,
44
+ event: C.userSelectedPlan,
43
45
  location: "IPCv2",
44
- type: S.interaction,
46
+ type: A.interaction,
45
47
  payload: {
46
- productId: p,
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
- (P = window.eventBus) == null || P.emit("analytics", T);
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(G, { images: k, label: V }),
57
- /* @__PURE__ */ i("div", { className: C(e.ratingContainer, e.mobileOnly), children: /* @__PURE__ */ i(A, { ...v }) }),
58
- h && /* @__PURE__ */ i("div", { className: e.quoteWrapper, children: /* @__PURE__ */ i(B, { ...h }) })
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: E }),
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: b
72
+ children: V
71
73
  }
72
74
  )
73
75
  ] }),
74
- /* @__PURE__ */ i(F, { features: w }),
75
- u && /* @__PURE__ */ i(L, { ...u }),
76
- l === "pricing_display" && g && /* @__PURE__ */ i(j, { items: g }),
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
- q,
82
+ B,
81
83
  {
82
84
  plan: n,
83
85
  onSelect: I,
84
- isActive: f === n.id
86
+ isActive: g === n.id
85
87
  },
86
88
  n.id
87
89
  ))
88
90
  ] }) }),
89
- /* @__PURE__ */ i("div", { className: C(e.ratingContainer, e.desktopOnly), children: /* @__PURE__ */ i(A, { ...v }) }),
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
- z,
94
+ M,
93
95
  {
94
96
  as: "a",
95
97
  variant: "primary",
96
98
  size: "lg",
97
- href: y || c,
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
- ii as IndividualProductCardV2
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;