@soul-refiner/design-system 2.14.98 → 2.14.100
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/card/card.js +1 -1
- package/dist/components/card/simple-course/horizontal-course-card.js +112 -0
- package/dist/components/surfaces/success_modal/success-modal.js +32 -10
- package/dist/index.js +1 -1
- package/dist/src/components/card/card.d.ts +3 -2
- package/dist/src/components/card/card.d.ts.map +1 -1
- package/dist/src/components/card/index.d.ts +2 -0
- package/dist/src/components/card/index.d.ts.map +1 -1
- package/dist/src/components/card/simple-course/horizontal-course-card.d.ts +19 -0
- package/dist/src/components/card/simple-course/horizontal-course-card.d.ts.map +1 -0
- package/dist/src/components/card/simple-course/index.d.ts +2 -0
- package/dist/src/components/card/simple-course/index.d.ts.map +1 -1
- package/dist/src/components/surfaces/success_modal/success-modal.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("./action/action.js"),s=require("./audio/audio.js"),i=require("./feature/feature.js"),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("./action/action.js"),s=require("./audio/audio.js"),i=require("./feature/feature.js"),o=require("./person/person.js"),u=require("./price/price.js"),a=require("./regular/regular.js"),t=require("./video/video.js"),d=require("./written/written.js"),j=require("./meeting/meeting.js"),c=require("./course-seats/course-seats.js"),n=require("./simple-course/simple-course.js"),p=require("./simple-course/horizontal-course-card.js");exports.Card=({type:C="regular",...x})=>({action:e.jsx(r.ActionCard,{...x}),"audio-episode":e.jsx(s.AudioEpisodeCard,{...x}),feature:e.jsx(i.FeatureCard,{...x}),person:e.jsx(o.PersonCard,{...x}),price:e.jsx(u.PriceCard,{...x}),regular:e.jsx(a.RegularCard,{...x}),"video-episode":e.jsx(t.VideoEpisodeCard,{...x}),"written-episode":e.jsx(d.WrittenEpisodeCard,{...x}),meeting:e.jsx(j.MeetingCard,{...x}),"course-seats":e.jsx(c.CourseSeatsCard,{...x}),"simple-course":e.jsx(n.SimpleCourseCard,{...x}),"horizontal-course":e.jsx(p.HorizontalCourseCard,{...x})}[C]);
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),i=require("next/image"),r=require("styled-components"),t=require("../../atoms/typography/heading.js"),o=require("../../atoms/typography/paragraph.js"),l=require("../../actions/rate/rate.js"),n=require("../../../icons/basic/video.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=d(i);const a=r.styled.div`
|
|
3
|
+
display: inline-block;
|
|
4
|
+
width: 100%;
|
|
5
|
+
border-radius: 16px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
|
|
8
|
+
${({$sx:e})=>e||""};
|
|
9
|
+
`,c=r.styled.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
width: 100%;
|
|
13
|
+
background-color: ${({$bgColor:e})=>e};
|
|
14
|
+
gap: 0;
|
|
15
|
+
|
|
16
|
+
@media (max-width: 768px) {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
`,x=r.styled.div`
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 20rem;
|
|
22
|
+
height: 11.25594rem;
|
|
23
|
+
padding: 0 0.625rem 0 0;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 0.625rem;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
|
|
29
|
+
img {
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
border-radius: 16px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (max-width: 768px) {
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 200px;
|
|
39
|
+
}
|
|
40
|
+
`,h=r.styled.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
flex: 1;
|
|
44
|
+
padding: 0px 4px;
|
|
45
|
+
background-color: ${({$bgColor:e})=>e};
|
|
46
|
+
min-width: 0;
|
|
47
|
+
|
|
48
|
+
@media (max-width: 768px) {
|
|
49
|
+
padding: 6px;
|
|
50
|
+
}
|
|
51
|
+
`,p=r.styled.div`
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
gap: 24px;
|
|
56
|
+
width: 100%;
|
|
57
|
+
|
|
58
|
+
@media (max-width: 768px) {
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
gap: 16px;
|
|
61
|
+
}
|
|
62
|
+
`,g=r.styled.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
gap: 8px;
|
|
66
|
+
flex: 1;
|
|
67
|
+
min-width: 0;
|
|
68
|
+
`,f=r.styled.div`
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 8px;
|
|
73
|
+
`,y=r.styled.div`
|
|
74
|
+
background-color: var(--color-primary-blue-2);
|
|
75
|
+
border-radius: 10px;
|
|
76
|
+
padding: 4px 8px;
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: 4px;
|
|
80
|
+
width: fit-content;
|
|
81
|
+
`,m=r.styled.div`
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: flex-end;
|
|
85
|
+
gap: 12px;
|
|
86
|
+
flex-shrink: 0;
|
|
87
|
+
|
|
88
|
+
@media (max-width: 768px) {
|
|
89
|
+
flex-direction: row;
|
|
90
|
+
justify-content: space-between;
|
|
91
|
+
align-items: center;
|
|
92
|
+
}
|
|
93
|
+
`,u=r.styled.button`
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
width: 40px;
|
|
98
|
+
height: 40px;
|
|
99
|
+
border: none;
|
|
100
|
+
outline: none;
|
|
101
|
+
background-color: var(--color-grey-6);
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
padding: 0;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
color: var(--color-grey-4);
|
|
106
|
+
transition: background-color 0.2s ease, color 0.2s ease;
|
|
107
|
+
|
|
108
|
+
&:hover {
|
|
109
|
+
background-color: var(--color-grey-5);
|
|
110
|
+
color: var(--color-primary-blue-2);
|
|
111
|
+
}
|
|
112
|
+
`;exports.HorizontalCourseCard=({author:i,description:r,image:d,numRating:$,price:j,rating:w,title:v,supportLabel:b,supportIcon:k=e.jsx(n.Video,{size:16,color:"white"}),favoriteIcon:H,sx:z,onFavoriteClick:C,theme:S="light",transparent:q=!1})=>{const P="dark"===S,I=P?"white":"grey-2",L=P?"grey-9":"grey-4",_=q?"transparent":P?"var(--color-grey-0)":"var(--color-white)",R=P?"white":"grey-2";return e.jsx(a,{$sx:z,children:e.jsxs(c,{$bgColor:_,children:[e.jsx(x,{children:e.jsx(s.default,{alt:"",height:150,quality:100,src:d,width:275})}),e.jsx(h,{$bgColor:_,children:e.jsxs(p,{children:[e.jsxs(g,{children:[e.jsx(t.H,{$color:I,$textClampLines:2,$semiBold:!0,$fontSize:16,$lineHeight:28,dangerouslySetInnerHTML:{__html:v}}),r&&e.jsx(o.P,{$color:L,$fontSize:16,$lineHeight:20,$textClampLines:2,sx:"font-family: Inter; font-weight: 400; font-style: normal; text-overflow: ellipsis;",dangerouslySetInnerHTML:{__html:r}}),void 0!==w?i&&e.jsxs(o.P,{$color:L,$fontSize:12,$lineHeight:16,children:["by ",i]}):e.jsx("div",{style:{height:"50px"}}),void 0!==w?e.jsxs(f,{children:[e.jsx(o.P,{$color:L,$fontSize:14,$lineHeight:20,$semiBold:!0,children:w/20}),e.jsx(l.Rate,{isRateable:!1,percent:w,size:"small"}),void 0!==$&&e.jsxs(o.P,{$color:L,$fontSize:14,$lineHeight:20,children:["(",$,")"]})]}):i?e.jsxs(o.P,{$color:L,$fontSize:12,$lineHeight:16,children:["by ",i]}):e.jsx("div",{style:{height:"20px"}}),b&&e.jsxs(y,{children:[k,e.jsx(o.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:b})]})]}),e.jsxs(m,{children:[e.jsx(o.P,{$color:R,$fontSize:16,$lineHeight:24,$bold:!0,children:j}),H&&C&&e.jsx(u,{onClick:C,children:H})]})]})})]})})};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");require("../../atoms/box/box.js"),require("../../atoms/highlighter/highlighter.js"),require("../../atoms/typography/display.js"),require("../../atoms/typography/heading.js");var
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");require("../../atoms/box/box.js"),require("../../atoms/highlighter/highlighter.js"),require("../../atoms/typography/display.js"),require("../../atoms/typography/heading.js");var t=require("../../atoms/typography/paragraph.js");require("../../atoms/typography/typography.js"),require("../../atoms/countdown/countdown.js"),require("../../iconography/icon/icon.js");var r=require("../../../icons/basic/close.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var i=o(require("styled-components"));const n=i.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
position: relative;
|
|
19
19
|
max-width: 90%;
|
|
20
20
|
border-top: 4px solid var(--color-primary-blue-2);
|
|
21
|
+
|
|
22
|
+
@media (max-width: 550px) {
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 24px 16px;
|
|
25
|
+
max-width: 80%;
|
|
26
|
+
}
|
|
21
27
|
`,l=i.default.button`
|
|
22
28
|
position: absolute;
|
|
23
29
|
top: 15px;
|
|
@@ -30,14 +36,30 @@
|
|
|
30
36
|
&:hover {
|
|
31
37
|
color: var(--color-grey-1);
|
|
32
38
|
}
|
|
33
|
-
|
|
34
|
-
font-size: 40px;
|
|
39
|
+
`,p=i.default(t.P)`
|
|
35
40
|
font-weight: 600;
|
|
36
41
|
color: var(--color-grey-2);
|
|
37
42
|
text-align: center;
|
|
38
43
|
margin: 0 0 30px 0;
|
|
39
44
|
line-height: 1.2;
|
|
40
|
-
|
|
45
|
+
font-size: 48px;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
text-align: center;
|
|
48
|
+
line-height: 64px;
|
|
49
|
+
letter-spacing: -1.056px;
|
|
50
|
+
|
|
51
|
+
@media (max-width: 550px) {
|
|
52
|
+
font-size: 28px;
|
|
53
|
+
margin-bottom: 16px;
|
|
54
|
+
line-height: 1.3;
|
|
55
|
+
max-width: 50%;
|
|
56
|
+
text-align: center;
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
margin-left: auto;
|
|
60
|
+
margin-right: auto;
|
|
61
|
+
}
|
|
62
|
+
`,s=i.default.div`
|
|
41
63
|
width: 100px;
|
|
42
64
|
height: 100px;
|
|
43
65
|
border-radius: 50%;
|
|
@@ -46,11 +68,11 @@
|
|
|
46
68
|
justify-content: center;
|
|
47
69
|
align-items: center;
|
|
48
70
|
margin: 0 auto 30px auto;
|
|
49
|
-
`,
|
|
71
|
+
`,c=i.default.svg`
|
|
50
72
|
width: 50px;
|
|
51
73
|
height: 50px;
|
|
52
74
|
fill: var(--color-white);
|
|
53
|
-
`,
|
|
75
|
+
`,d=i.default.button`
|
|
54
76
|
background-color: var(--color-primary-blue-2);
|
|
55
77
|
color: var(--color-white);
|
|
56
78
|
border: none;
|
|
@@ -68,7 +90,7 @@
|
|
|
68
90
|
letter-spacing: '-0.084px';
|
|
69
91
|
height: 48px;
|
|
70
92
|
width: 230px;
|
|
71
|
-
`,
|
|
93
|
+
`,x=i.default.button`
|
|
72
94
|
background-color: var(--color-white);
|
|
73
95
|
color: var(--color-grey-3);
|
|
74
96
|
font-family: Inter;
|
|
@@ -91,7 +113,7 @@
|
|
|
91
113
|
@media screen and (min-width: 500px) {
|
|
92
114
|
display: none;
|
|
93
115
|
}
|
|
94
|
-
`,
|
|
116
|
+
`,g=i.default.p`
|
|
95
117
|
font-size: 14px;
|
|
96
118
|
font-weight: 400;
|
|
97
119
|
color: var(--color-grey-3);
|
|
@@ -101,7 +123,7 @@
|
|
|
101
123
|
letter-spacing: -0.084px;
|
|
102
124
|
font-family: var(--font-inter);
|
|
103
125
|
text-align: center;
|
|
104
|
-
`,
|
|
126
|
+
`,h=i.default.div`
|
|
105
127
|
display: flex;
|
|
106
128
|
flex-direction: column;
|
|
107
129
|
align-items: center;
|
|
@@ -110,4 +132,4 @@
|
|
|
110
132
|
justify-content: center;
|
|
111
133
|
/* mx auto */
|
|
112
134
|
margin: 0 auto;
|
|
113
|
-
`;exports.SuccessModal=({onClose:t,title:
|
|
135
|
+
`;exports.SuccessModal=({onClose:t,title:o,message:i,actionText:u,onAction:f,openAppText:m="Open in the app",openAppAction:y=()=>{}})=>e.jsx(n,{children:e.jsxs(a,{children:[e.jsx(l,{onClick:t,children:e.jsx(r.Close,{})}),e.jsx(p,{children:o}),e.jsx(s,{children:e.jsx(c,{viewBox:"0 0 24 24",children:e.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19l12-12-1.41-1.41z"})})}),e.jsx(g,{children:i}),e.jsxs(h,{children:[e.jsx(d,{onClick:f,children:u}),e.jsx(x,{onClick:y,children:m})]})]})});
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./components/actions/button/button.js"),o=require("./components/actions/dropdown/dropdown.js"),r=require("./components/actions/rate/rate.js"),s=require("./components/actions/switch/switch.js"),t=require("./components/actions/toggle/toggle.js"),i=require("./components/actions/upload/upload.js"),n=require("./components/actions/AccountSelector/selector.js"),a=require("./components/actions/stepIndicator/stepIndicator.js"),p=require("./components/atoms/box/box.js"),c=require("./components/atoms/hide/hide.js"),u=require("./components/atoms/highlighter/highlighter.js"),m=require("./components/atoms/seconds_to_duration/seconds_to_duration.js"),d=require("./components/atoms/typography/display.js"),l=require("./components/atoms/typography/heading.js"),x=require("./components/atoms/typography/paragraph.js"),j=require("./components/atoms/typography/typography.js"),q=require("./components/atoms/time_ago/time_ago.js"),g=require("./components/atoms/countdown/countdown.js"),b=require("./components/card/card.js"),h=require("./components/editor/editor.js"),
|
|
1
|
+
"use strict";var e=require("./components/actions/button/button.js"),o=require("./components/actions/dropdown/dropdown.js"),r=require("./components/actions/rate/rate.js"),s=require("./components/actions/switch/switch.js"),t=require("./components/actions/toggle/toggle.js"),i=require("./components/actions/upload/upload.js"),n=require("./components/actions/AccountSelector/selector.js"),a=require("./components/actions/stepIndicator/stepIndicator.js"),p=require("./components/atoms/box/box.js"),c=require("./components/atoms/hide/hide.js"),u=require("./components/atoms/highlighter/highlighter.js"),m=require("./components/atoms/seconds_to_duration/seconds_to_duration.js"),d=require("./components/atoms/typography/display.js"),l=require("./components/atoms/typography/heading.js"),x=require("./components/atoms/typography/paragraph.js"),j=require("./components/atoms/typography/typography.js"),q=require("./components/atoms/time_ago/time_ago.js"),g=require("./components/atoms/countdown/countdown.js"),b=require("./components/card/card.js"),h=require("./components/card/simple-course/horizontal-course-card.js"),y=require("./components/editor/editor.js"),C=require("./components/editor/simple_editor/simple_editor.js"),f=require("./components/editor/minimal_editor/minimal_editor.js"),T=require("./components/feedback/badge/badge.js"),_=require("./components/feedback/banner/banner.js"),w=require("./components/feedback/loader/loader.js"),P=require("./components/feedback/notification/notification.js"),k=require("./components/feedback/progress/progress.js"),v=require("./components/feedback/toast/toast.js"),S=require("./components/feedback/tooltip/tooltip.js"),A=require("./components/feedback/animated_toast/animated_toast.js"),D=require("./components/feedback/emojiPicker/emoji-picker.js"),I=require("./components/feedback/emojiPicker/emoji-reactions.js"),B=require("./components/feedback/videoLoader/videoLoader.js"),M=require("./components/iconography/avatar/avatar.js"),E=require("./components/iconography/icon/icon.js"),H=require("./components/input/checkbox/checkbox.js"),R=require("./components/input/counter/counter.js"),L=require("./components/input/date/date.js"),N=require("./components/input/filter/filter.js"),V=require("./components/input/radio/radio.js"),U=require("./components/input/search/search.js"),z=require("./components/input/select/select.js"),F=require("./components/input/text_area/text_area.js"),G=require("./components/input/text_input/text_input.js"),J=require("./components/input/calendar/calendar.js"),K=require("./components/input/time/time.js"),O=require("./components/input/time_input/time_input.js"),Q=require("./components/media/audio-player/audio-player.js"),W=require("./components/media/audio-playlist/audio-playlist.js"),X=require("./components/media/audio-preview/audio-preview.js"),Y=require("./components/media/video/video.js"),Z=require("./components/media/video-player/video.js"),$=require("./components/media/audio-playlist/playing_indicator.js"),ee=require("./components/navigation/breadcrumb/breadcrumb.js"),oe=require("./components/navigation/inner/inner.js"),re=require("./components/navigation/tabs/tabs.js"),se=require("./components/navigation/tabs/custom-tabs.js"),te=require("./components/surfaces/accordion/accordion.js"),ie=require("./components/surfaces/carousel/card/card.js"),ne=require("./components/surfaces/comment/comment.js"),ae=require("./components/surfaces/discuss_post/discuss_post.js"),pe=require("./components/surfaces/drawer/drawer.js"),ce=require("./components/surfaces/drawer/bottom-drawer.js"),ue=require("./components/surfaces/message/message.js"),me=require("./components/surfaces/modal/modal.js"),de=require("./components/surfaces/portal/portal.js"),le=require("./components/surfaces/post/post.js"),xe=require("./components/surfaces/calendar_date/calendar_date.js"),je=require("./components/surfaces/success_modal/success-modal.js"),qe=require("./components/surfaces/trailer-modal/trailer-modal.js"),ge=require("./components/table/table/table.js"),be=require("./components/custom/users_selection/users_selection.js"),he=require("./components/custom/courses_selection/courses_selection.js"),ye=require("./components/animation/carousel/Carousel.js"),Ce=require("./components/animation/marquee/Marquee.js"),fe=require("./icons/index.js"),Te=require("./emoji/emojis.json.js");exports.Button=e.Button,exports.Dropdown=o.Dropdown,exports.Rate=r.Rate,exports.Switch=s.Switch,exports.Toggle=t.Toggle,exports.Upload=i.Upload,exports.AccountSelector=n.AccountSelector,exports.StepIndicator=a.StepIndicator,exports.Box=p.Box,exports.HideButRender=c.HideButRender,exports.Highlighter=u.Highlighter,exports.SecToDuration=m.SecToDuration,exports.Display=d.Display,exports.H=l.H,exports.P=x.P,exports.Typography=j.Typography,exports.TimeAgo=q.TimeAgo,exports.Countdown=g.Countdown,exports.Card=b.Card,exports.HorizontalCourseCard=h.HorizontalCourseCard,exports.Editor=y.Editor,exports.SimpleEditor=C.SimpleEditor,exports.MinimalEditor=f.MinimalEditor,exports.Badge=T.Badge,exports.Banner=_.Banner,exports.Loader=w.Loader,exports.Notification=P.Notification,exports.Progress=k.Progress,exports.Toast=v.Toast,exports.Tooltip=S.Tooltip,exports.AnimatedToast=A.AnimatedToast,exports.CustomEmojiPicker=D.CustomEmojiPicker,exports.EmojiReaction=I.EmojiReaction,exports.VideoLoader=B.VideoLoader,exports.Avatar=M.Avatar,exports.Icon=E.Icon,exports.Checkbox=H.Checkbox,exports.Counter=R.Counter,exports.DatePicker=L.DatePicker,exports.Filter=N.Filter,exports.Radio=V.Radio,exports.Search=U.Search,exports.Select=z.Select,exports.TextArea=F.TextArea,exports.TextInput=G.TextInput,exports.CalendarInput=J.CalendarInput,exports.Time=K.Time,exports.TimeInput=O.TimeInput,exports.AudioPlayer=Q.AudioPlayer,exports.AudioPlaylist=W.AudioPlaylist,exports.AudioPreview=X.AudioPreview,exports.Video=Y.Video,exports.VideoPlayer=Z.VideoPlayer,exports.NowPlaying=$.NowPlaying,exports.Breadcrumb=ee.Breadcrumb,exports.InnerNav=oe.InnerNav,exports.Tabs=re.Tabs,exports.CustomTabs=se.CustomTabs,exports.Accordion=te.Accordion,exports.CardCarousel=ie.CardCarousel,exports.Comment=ne.Comment,exports.DiscussPost=ae.DiscussPost,exports.Drawer=pe.Drawer,exports.BottomDrawer=ce.BottomDrawer,exports.Message=ue.Message,exports.Modal=me.Modal,exports.Portal=de.Portal,exports.Post=le.Post,exports.CalendarDate=xe.CalendarDate,exports.SuccessModal=je.SuccessModal,exports.TrailerModal=qe.TrailerModal,exports.Table=ge.Table,exports.UsersSelection=be.UsersSelection,exports.CoursesSelection=he.CoursesSelection,exports.Carousel=ye.Carousel,exports.Marquee=Ce.Marquee,exports.Icons=fe,exports.emoji=Te;
|
|
@@ -10,8 +10,9 @@ import { WrittenEpisodeCardProps } from './written/written';
|
|
|
10
10
|
import { MeetingCardProps } from './meeting/meeting';
|
|
11
11
|
import { CourseSeatsCardProps } from './course-seats/course-seats';
|
|
12
12
|
import { SimpleCourseCardProps } from './simple-course/simple-course';
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
import { HorizontalCourseCardProps } from './simple-course/horizontal-course-card';
|
|
14
|
+
type CardType = 'action' | 'audio-episode' | 'feature' | 'person' | 'price' | 'regular' | 'video-episode' | 'written-episode' | 'meeting' | 'course-seats' | 'simple-course' | 'horizontal-course';
|
|
15
|
+
export type CardProps = (ActionCardProps | AudioEpisodeCardProps | FeatureCardProps | PersonCardProps | PriceCardProps | RegularCardProps | VideoEpisodeCardProps | WrittenEpisodeCardProps | MeetingCardProps | CourseSeatsCardProps | SimpleCourseCardProps | HorizontalCourseCardProps) & {
|
|
15
16
|
type: CardType;
|
|
16
17
|
};
|
|
17
18
|
export declare const Card: ({ type, ...rest }: CardProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,KAAK,QAAQ,GACT,QAAQ,GACR,eAAe,GACf,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,cAAc,GACd,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,KAAK,QAAQ,GACT,QAAQ,GACR,eAAe,GACf,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,cAAc,GACd,eAAe,GACf,mBAAmB,CAAC;AAExB,MAAM,MAAM,SAAS,GAAG,CACpB,eAAe,GACf,qBAAqB,GACrB,gBAAgB,GAChB,eAAe,GACf,cAAc,GACd,gBAAgB,GAChB,qBAAqB,GACrB,uBAAuB,GACvB,gBAAgB,GAChB,oBAAoB,GACpB,qBAAqB,GACrB,yBAAyB,CAC5B,GAAG;IACF,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,IAAI,sBAAmC,SAAS,uEAqB5D,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { Card } from './card';
|
|
2
2
|
export type { CardProps } from './card';
|
|
3
|
+
export { HorizontalCourseCard } from './simple-course/horizontal-course-card';
|
|
4
|
+
export type { HorizontalCourseCardProps } from './simple-course/horizontal-course-card';
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,YAAY,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface HorizontalCourseCardProps {
|
|
3
|
+
author?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
image: string;
|
|
6
|
+
numRating?: number;
|
|
7
|
+
price: string;
|
|
8
|
+
rating?: number;
|
|
9
|
+
title: string;
|
|
10
|
+
supportLabel?: string;
|
|
11
|
+
supportIcon?: React.ReactElement;
|
|
12
|
+
favoriteIcon?: React.ReactElement;
|
|
13
|
+
sx?: string;
|
|
14
|
+
onFavoriteClick?: () => void;
|
|
15
|
+
theme?: 'light' | 'dark';
|
|
16
|
+
transparent?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const HorizontalCourseCard: ({ author, description, image, numRating, price, rating, title, supportLabel, supportIcon, favoriteIcon, sx, onFavoriteClick, theme, transparent, }: HorizontalCourseCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=horizontal-course-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-course-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/simple-course/horizontal-course-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,oBAAoB,uJAe9B,yBAAyB,4CA0G3B,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { SimpleCourseCard } from './simple-course';
|
|
2
2
|
export type { SimpleCourseCardProps } from './simple-course';
|
|
3
|
+
export { HorizontalCourseCard } from './horizontal-course-card';
|
|
4
|
+
export type { HorizontalCourseCardProps } from './horizontal-course-card';
|
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/simple-course/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/simple-course/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"AA+JA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,mFAQtB,iBAAiB,4CAqBnB,CAAC"}
|