@zenpatient-org/healthspan-marketing-ui 0.2.47 → 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/components/Quote/Quote.d.ts +1 -1
- package/dist/components/RatingPreview/RatingPreview.cjs.js +1 -1
- package/dist/components/RatingPreview/RatingPreview.d.ts +0 -1
- package/dist/components/RatingPreview/RatingPreview.es.js +6 -7
- 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 +10 -5
|
@@ -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
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("../../src/components/RatingPreview/ratingPreview.module.css"),n=require("../Typography/Typography.cjs.js"),c=require("../Icon/Icon.cjs.js"),l=require("../Icon/constants.cjs.js"),u=s=>{const e=Math.round(s*2)/2,a=[];for(let r=0;r<Math.floor(e);r++)a.push(o.jsx(c.Icon,{name:l.EIconName.STAR_FILL,className:t.starIcon},`full-${r}`));return e%1===.5&&a.push(o.jsx(c.Icon,{name:l.EIconName.STAR_HALF,className:t.starIcon},"half")),a},p=({rating:s,text:e})=>{if(!(s!=null&&s.stars)&&!e)return null;const a=!!(s!=null&&s.stars)&&!!e;return o.jsxs("div",{className:t.ratingPreview,children:[s!==void 0&&s.stars!==void 0&&o.jsxs(n.Typography,{as:"p",defaultVariant:"labelMd",children:[s.stars," ",u(s.stars)]}),a&&o.jsx(n.Typography,{as:"p",defaultVariant:"labelSm",children:"|"}),e&&o.jsx(n.Typography,{as:"p",defaultVariant:"labelSm",emphasis:!0,children:e})]})};exports.RatingPreview=p;
|
|
@@ -2,12 +2,12 @@ import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "../../components/RatingPreview/ratingPreview.module.css";
|
|
3
3
|
import { Typography as l } from "../Typography/Typography.es.js";
|
|
4
4
|
import { Icon as c } from "../Icon/Icon.es.js";
|
|
5
|
-
import { EIconName as
|
|
6
|
-
const
|
|
5
|
+
import { EIconName as n } from "../Icon/constants.es.js";
|
|
6
|
+
const d = (s) => {
|
|
7
7
|
const a = Math.round(s * 2) / 2, r = [];
|
|
8
8
|
for (let o = 0; o < Math.floor(a); o++)
|
|
9
|
-
r.push(/* @__PURE__ */ e(c, { name:
|
|
10
|
-
return a % 1 === 0.5 && r.push(/* @__PURE__ */ e(c, { name:
|
|
9
|
+
r.push(/* @__PURE__ */ e(c, { name: n.STAR_FILL, className: t.starIcon }, `full-${o}`));
|
|
10
|
+
return a % 1 === 0.5 && r.push(/* @__PURE__ */ e(c, { name: n.STAR_HALF, className: t.starIcon }, "half")), r;
|
|
11
11
|
}, v = ({ rating: s, text: a }) => {
|
|
12
12
|
if (!(s != null && s.stars) && !a) return null;
|
|
13
13
|
const r = !!(s != null && s.stars) && !!a;
|
|
@@ -15,13 +15,12 @@ const f = (s) => {
|
|
|
15
15
|
s !== void 0 && s.stars !== void 0 && /* @__PURE__ */ m(l, { as: "p", defaultVariant: "labelMd", children: [
|
|
16
16
|
s.stars,
|
|
17
17
|
" ",
|
|
18
|
-
|
|
18
|
+
d(s.stars)
|
|
19
19
|
] }),
|
|
20
20
|
r && /* @__PURE__ */ e(l, { as: "p", defaultVariant: "labelSm", children: "|" }),
|
|
21
21
|
a && /* @__PURE__ */ e(l, { as: "p", defaultVariant: "labelSm", emphasis: !0, children: a })
|
|
22
22
|
] });
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
v as RatingPreview
|
|
26
|
-
v as default
|
|
25
|
+
v as RatingPreview
|
|
27
26
|
};
|
|
@@ -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;
|