@soul-refiner/design-system 2.14.89 → 2.14.91
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/simple-course.js +158 -0
- package/dist/components/editor/simple_editor/simple_editor.js +3 -3
- package/dist/components/surfaces/trailer-modal/trailer-modal.js +46 -0
- 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/simple-course/index.d.ts +3 -0
- package/dist/src/components/card/simple-course/index.d.ts.map +1 -0
- package/dist/src/components/card/simple-course/simple-course.d.ts +22 -0
- package/dist/src/components/card/simple-course/simple-course.d.ts.map +1 -0
- package/dist/src/components/surfaces/index.d.ts +2 -0
- package/dist/src/components/surfaces/index.d.ts.map +1 -1
- package/dist/src/components/surfaces/trailer-modal/index.d.ts +3 -0
- package/dist/src/components/surfaces/trailer-modal/index.d.ts.map +1 -0
- package/dist/src/components/surfaces/trailer-modal/trailer-modal.d.ts +8 -0
- package/dist/src/components/surfaces/trailer-modal/trailer-modal.d.ts.map +1 -0
- 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"),u=require("./person/person.js"),a=require("./price/price.js"),o=require("./regular/regular.js"),t=require("./video/video.js"),d=require("./written/written.js"),j=require("./meeting/meeting.js"),p=require("./course-seats/course-seats.js"),n=require("./simple-course/simple-course.js");exports.Card=({type:c="regular",...C})=>({action:e.jsx(r.ActionCard,{...C}),"audio-episode":e.jsx(s.AudioEpisodeCard,{...C}),feature:e.jsx(i.FeatureCard,{...C}),person:e.jsx(u.PersonCard,{...C}),price:e.jsx(a.PriceCard,{...C}),regular:e.jsx(o.RegularCard,{...C}),"video-episode":e.jsx(t.VideoEpisodeCard,{...C}),"written-episode":e.jsx(d.WrittenEpisodeCard,{...C}),meeting:e.jsx(j.MeetingCard,{...C}),"course-seats":e.jsx(p.CourseSeatsCard,{...C}),"simple-course":e.jsx(n.SimpleCourseCard,{...C})}[c]);
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),i=require("react"),r=require("next/image"),o=require("styled-components"),n=require("../../atoms/box/box.js"),t=require("../../atoms/typography/heading.js"),s=require("../../atoms/typography/paragraph.js"),a=require("../../actions/rate/rate.js"),l=require("../../feedback/tooltip/tooltip.js"),d=require("../../../icons/basic/video.js");require("../../iconography/icon/icon.js");var c=require("../../../icons/arrow/forward_bold.js"),p=require("../../../icons/audio_video/play_display.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var x=h(i),u=h(r);const g=o.styled.div`
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
position: relative;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
user-select: none;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
width: 312px;
|
|
10
|
+
vertical-align: top;
|
|
11
|
+
background-color: var(--color-white);
|
|
12
|
+
border-radius: 16px;
|
|
13
|
+
|
|
14
|
+
&[href] {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not([href]) {
|
|
19
|
+
cursor: default;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&::after {
|
|
23
|
+
content: '';
|
|
24
|
+
display: block;
|
|
25
|
+
height: 288px;
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
figure {
|
|
30
|
+
width: 312px;
|
|
31
|
+
background-color: var(--color-white);
|
|
32
|
+
border-radius: 16px;
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
transition: transform 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.normal-card {
|
|
40
|
+
opacity: 1;
|
|
41
|
+
visibility: visible;
|
|
42
|
+
box-shadow: var(--elevation-1);
|
|
43
|
+
z-index: 1;
|
|
44
|
+
transition: opacity 0.1s ease, visibility 0s ease, transform 0.3s ease,
|
|
45
|
+
width 0.3s ease, box-shadow 0.3s ease;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.hover-card {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
visibility: hidden;
|
|
51
|
+
box-shadow: var(--elevation-3);
|
|
52
|
+
z-index: 2;
|
|
53
|
+
transition: opacity 0.15s ease 0.05s, visibility 0s ease 0.2s,
|
|
54
|
+
transform 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (min-width: 768px) {
|
|
58
|
+
${({$hasContent:e,$isClickable:i})=>e&&i&&"\n &:hover {\n z-index: 6;\n\n .normal-card {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.1s ease 0.1s, visibility 0s ease 0.1s, transform 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;\n }\n\n .hover-card {\n opacity: 1;\n visibility: visible;\n transform: translate(-13px, -55px);\n width: 338px;\n transition: opacity 0.1s ease, visibility 0s ease, transform 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;\n }\n\n .hover-card figcaption {\n padding: 16px 16px 20px;\n }\n }\n "}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
${({$sx:e})=>e||""};
|
|
62
|
+
`,b=o.styled.figure`
|
|
63
|
+
margin: 0px;
|
|
64
|
+
border-radius: 16px;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
border: none;
|
|
69
|
+
gap: 0;
|
|
70
|
+
line-height: 0;
|
|
71
|
+
`,$=o.styled.div`
|
|
72
|
+
position: relative;
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: 180px;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
flex-shrink: 0;
|
|
77
|
+
background-color: var(--color-white);
|
|
78
|
+
border-radius: 16px;
|
|
79
|
+
border: none;
|
|
80
|
+
outline: none;
|
|
81
|
+
|
|
82
|
+
.hover-card & {
|
|
83
|
+
border-radius: 16px 16px 0 0;
|
|
84
|
+
background-color: #f8fafc;
|
|
85
|
+
}
|
|
86
|
+
`,y=o.styled.video`
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
object-fit: cover;
|
|
90
|
+
display: block;
|
|
91
|
+
border: none;
|
|
92
|
+
outline: none;
|
|
93
|
+
background-color: var(--color-white);
|
|
94
|
+
`,f=o.styled.div`
|
|
95
|
+
position: absolute;
|
|
96
|
+
bottom: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
right: 0;
|
|
99
|
+
height: 100px;
|
|
100
|
+
background: linear-gradient(
|
|
101
|
+
to bottom,
|
|
102
|
+
rgba(248, 250, 252, 0) 0%,
|
|
103
|
+
rgba(248, 250, 252, 0.1) 20%,
|
|
104
|
+
rgba(248, 250, 252, 0.3) 40%,
|
|
105
|
+
rgba(248, 250, 252, 0.6) 60%,
|
|
106
|
+
rgba(248, 250, 252, 0.85) 80%,
|
|
107
|
+
rgba(248, 250, 252, 1) 100%
|
|
108
|
+
);
|
|
109
|
+
pointer-events: none;
|
|
110
|
+
border: none;
|
|
111
|
+
outline: none;
|
|
112
|
+
`,j=o.styled.figcaption`
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-flow: column nowrap;
|
|
115
|
+
padding: 12px;
|
|
116
|
+
position: relative;
|
|
117
|
+
width: 100%;
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
background-color: #f8fafc;
|
|
120
|
+
line-height: normal;
|
|
121
|
+
transition: padding 0.3s ease;
|
|
122
|
+
border: none;
|
|
123
|
+
outline: none;
|
|
124
|
+
`,v=o.styled.div`
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: 12px;
|
|
128
|
+
position: relative;
|
|
129
|
+
z-index: 2;
|
|
130
|
+
border: none;
|
|
131
|
+
`,m=o.styled.div`
|
|
132
|
+
background-color: var(--color-primary-blue-2);
|
|
133
|
+
border-radius: 10px;
|
|
134
|
+
padding: 2px 6px;
|
|
135
|
+
display: inline-flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
gap: 4px;
|
|
138
|
+
`,w=o.styled.div`
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
gap: 12px;
|
|
142
|
+
position: relative;
|
|
143
|
+
z-index: 2;
|
|
144
|
+
`,k=o.styled.button`
|
|
145
|
+
display: flex;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
align-items: center;
|
|
148
|
+
border: none;
|
|
149
|
+
outline: none;
|
|
150
|
+
background-color: transparent;
|
|
151
|
+
padding: 0;
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
color: var(--color-grey-4);
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
color: var(--color-primary-blue-2);
|
|
157
|
+
}
|
|
158
|
+
`;exports.SimpleCourseCard=({actions:i,content:r,href:o,image:h,numRating:z,price:S,rating:H,subtitle:C,supportLabel:q,supportIcon:P=e.jsx(d.Video,{size:16,color:"white"}),sx:_,title:B,additionalIcons:L,onHoverCardClick:T,trailerUrl:M,onTrailerClick:I,onShareClick:R})=>{const D=!!r,A=!!o,[F,E]=x.default.useState(!1),N=x.default.useRef(null),U=e=>{F&&T&&(e.preventDefault(),T())},V=()=>{D&&A&&(E(!0),N.current&&M&&N.current.play())},G=()=>{E(!1),N.current&&(N.current.pause(),N.current.currentTime=0)},J=e.jsxs(e.Fragment,{children:[e.jsxs(b,{className:"normal-card",children:[e.jsx($,{children:e.jsx(u.default,{alt:"",height:180,quality:100,src:h,width:312})}),e.jsx(j,{children:e.jsxs(v,{children:[e.jsxs(n.Box,{$dir:"column",$gap:4,children:[e.jsx(t.H,{$color:"grey-2",$textClampLines:2,$semiBold:!0,$fontSize:16,$lineHeight:26,dangerouslySetInnerHTML:{__html:B}}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,dangerouslySetInnerHTML:{__html:C}})]}),e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:4,children:[q&&e.jsxs(m,{children:[P,e.jsx(s.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:q})]}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:H/20}),e.jsx(a.Rate,{isRateable:!1,percent:H,size:"small"}),e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",z,")"]})]}),e.jsx(s.P,{$color:"grey-2",$fontSize:16,$lineHeight:24,$bold:!0,children:S})]})]})})]}),D&&M&&e.jsxs(b,{className:"hover-card",children:[e.jsxs($,{children:[e.jsx(y,{ref:N,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:Array.isArray(M)?M.map((i,r)=>e.jsx("source",{src:i},r)):e.jsx("source",{src:M,type:"video/mp4"})}),e.jsx(f,{})]}),e.jsx(j,{children:e.jsxs(w,{children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",$gap:8,children:[e.jsx(s.P,{$color:"primary-blue-2",$fontSize:16,$lineHeight:24,$bold:!0,children:S}),i&&e.jsx(n.Box,{onClick:e=>{e.preventDefault(),e.stopPropagation()},children:i})]}),e.jsxs(n.Box,{$dir:"column",$gap:4,children:[e.jsx(t.H,{$color:"grey-2",$textClampLines:2,$semiBold:!0,$fontSize:16,$lineHeight:26,dangerouslySetInnerHTML:{__html:B}}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,dangerouslySetInnerHTML:{__html:C}})]}),e.jsx(s.P,{$color:"grey-3",$fontSize:14,$lineHeight:20,$textClampLines:4,dangerouslySetInnerHTML:{__html:r}}),e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[q&&e.jsxs(m,{children:[P,e.jsx(s.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:q})]}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:H/20}),e.jsx(a.Rate,{isRateable:!1,percent:H,size:"small"}),e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",z,")"]})]}),e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[I&&e.jsx(l.Tooltip,{content:"Trailer",place:"top",children:e.jsx(k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),I()},children:e.jsx(p.PlayDisplay,{size:20})})}),R&&e.jsx(l.Tooltip,{content:"Share",place:"top",children:e.jsx(k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),R()},children:e.jsx(c.ForwardBold,{size:20})})}),L&&L.length>0&&e.jsx(e.Fragment,{children:x.default.Children.toArray(L)})]})]})]})})]})]});return o?e.jsx(g,{as:"a",$sx:_,href:o,$hasContent:D,$isClickable:A,onClick:U,onMouseEnter:V,onMouseLeave:G,children:J}):e.jsx(g,{as:"div",$sx:_,$hasContent:D,$isClickable:A,onMouseEnter:V,onMouseLeave:G,children:J})};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("react"),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("react"),a=require("styled-components"),t=require("@udecode/plate"),i=require("./plugins.js"),o=require("./navbar.js");require("../../surfaces/accordion/accordion.js"),require("../../surfaces/carousel/card/card.js"),require("../../surfaces/comment/comment.js"),require("../../surfaces/discuss_post/discuss_post.js"),require("../../surfaces/drawer/drawer.js"),require("../../surfaces/drawer/bottom-drawer.js"),require("../../surfaces/message/message.js");var s=require("../../surfaces/modal/modal.js");require("react-dom"),require("../../surfaces/post/post.js"),require("../../surfaces/calendar_date/calendar_date.js"),require("../../surfaces/success_modal/success-modal.js"),require("../../surfaces/trailer-modal/trailer-modal.js");var n=require("../../atoms/box/box.js");require("../../atoms/highlighter/highlighter.js"),require("../../atoms/typography/display.js");var l=require("../../atoms/typography/heading.js"),d=require("../../atoms/typography/paragraph.js");require("../../atoms/typography/typography.js");var c=require("../../actions/button/button.js");require("../../actions/dropdown/dropdown.js"),require("../../actions/rate/rate.js"),require("../../actions/switch/switch.js"),require("../../actions/toggle/toggle.js"),require("../../actions/upload/upload.js"),require("../../actions/AccountSelector/selector.js"),require("../../actions/stepIndicator/stepIndicator.js");var u=require("../../actions/upload/validations.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=p(r);const g=a.styled.div`
|
|
3
3
|
& > div {
|
|
4
4
|
padding: 24px;
|
|
5
5
|
min-height: 224px;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
${({$sx:e})=>e||""};
|
|
13
|
-
`,x=
|
|
13
|
+
`,x=a.styled.div`
|
|
14
14
|
position: relative;
|
|
15
15
|
max-width: 1200px;
|
|
16
16
|
width: 100%;
|
|
@@ -65,4 +65,4 @@
|
|
|
65
65
|
& > [data-slate-editor='true'] > * {
|
|
66
66
|
margin: 24px 0px;
|
|
67
67
|
}
|
|
68
|
-
`;exports.SimpleEditor=({editable:r,handleUploadImage:
|
|
68
|
+
`;exports.SimpleEditor=({editable:r,handleUploadImage:a,onChange:p,validation:m,sx:j,validationMessage:f,placeholder:q="",previousContent:y=[{type:"p",children:[{text:""}]}]})=>{const[v,b]=h.default.useState([]);return e.jsxs(e.Fragment,{children:[e.jsx(s.Modal,{controlledOpen:v.length>0,children:e.jsx(s.Modal.Content,{footer:e.jsx(n.Box,{$display:"flex",$justify:"center",$gap:16,sx:"position: relative; width: 100%;",children:e.jsx(c.Button,{fluid:!0,size:"small",type:"primary",onClick:()=>b([]),children:"Close"})}),header:e.jsx(l.H,{$bold:!0,$color:"grey-2",$fontSize:20,children:"Can't read files"}),children:e.jsx(n.Box,{$align:"flex-start",$display:"flex",$dir:"column",$gap:32,sx:"width: 500px",children:e.jsx(d.P,{$textClampLines:10,children:f})})})}),e.jsx(t.Plate,{id:"main",initialValue:y,onChange:p,plugins:i.plugins,children:e.jsxs(x,{children:[r&&e.jsx(o.EditorBar,{handleUploadImage:async e=>{b([]);const r=[];if(m)for(let a=0;a<e.length;a++){const t=e[a],i=await u.validateFile(t,m);if(i.length>0){r.push(...i);break}}return r?.length>0?(b(r),""):await a(e)}}),e.jsx(g,{$sx:j,children:e.jsx(t.PlateContent,{id:"main",autoFocus:!0,placeholder:q,readOnly:!r,spellCheck:!0})})]})})]})};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),o=require("react-player"),r=require("styled-components"),n=require("../../atoms/typography/heading.js"),l=require("../../actions/button/button.js"),i=require("../../../icons/basic/close.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=s(t),a=s(o);const d=r.styled.div`
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
z-index: 1000;
|
|
13
|
+
padding: 16px;
|
|
14
|
+
`,u=r.styled.div`
|
|
15
|
+
position: relative;
|
|
16
|
+
background-color: var(--color-white);
|
|
17
|
+
border-radius: 16px;
|
|
18
|
+
box-shadow: var(--elevation-2);
|
|
19
|
+
max-width: 95vw;
|
|
20
|
+
max-height: 95vh;
|
|
21
|
+
width: 1400px;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
`,p=r.styled.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
padding: 24px;
|
|
28
|
+
background-color: var(--color-white);
|
|
29
|
+
`,f=r.styled.div`
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 16px;
|
|
32
|
+
right: 16px;
|
|
33
|
+
z-index: 10;
|
|
34
|
+
`,h=r.styled.div`
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
aspect-ratio: 16 / 9;
|
|
38
|
+
background-color: black;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
|
|
41
|
+
& > div {
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 0;
|
|
44
|
+
left: 0;
|
|
45
|
+
}
|
|
46
|
+
`;exports.TrailerModal=({open:t,onClose:o,videoUrl:r,title:s})=>{const g=c.default.useRef(!1),x=c.default.useRef(null);if(c.default.useEffect(()=>{if(t){const e=()=>{const e=x.current?.getInternalPlayer();e&&e.requestFullscreen&&e.requestFullscreen().catch(e=>{console.log("Fullscreen request failed:",e)})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)}},[t]),c.default.useEffect(()=>{const e=()=>{!document.fullscreenElement&&t&&o()};return document.addEventListener("fullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e)}},[t,o]),!t)return null;const v=Array.isArray(r)?r[0]:r,y=v?.includes(".m3u8")||!1;return e.jsx(d,{onMouseUp:e=>{null===e.target.closest("[data-modal-content]")&&!g.current&&o()},onMouseDown:e=>{g.current=null!==e.target.closest("[data-modal-content]")},children:e.jsxs(u,{"data-modal-content":!0,children:[s&&e.jsxs(p,{children:[e.jsxs(n.H,{$color:"grey-2",$fontSize:20,$lineHeight:28,children:[s," - Trailer"]}),e.jsx(l.Button,{icon:e.jsx(i.Close,{}),type:"special",onClick:o})]}),!s&&e.jsx(f,{children:e.jsx(l.Button,{icon:e.jsx(i.Close,{}),type:"special",onClick:o})}),e.jsx(h,{children:e.jsx(a.default,{ref:x,url:r,controls:!0,playing:t,pip:!0,width:"100%",height:"100%",config:{file:{attributes:{crossOrigin:"true",controlsList:"nodownload"},forceHLS:y,hlsOptions:y?{autoStartLoad:!0}:void 0}},style:{backgroundColor:"black"}})})]})})};
|
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/card/card.js"),b=require("./components/editor/editor.js"),h=require("./components/editor/simple_editor/simple_editor.js"),y=require("./components/editor/minimal_editor/minimal_editor.js"),f=require("./components/feedback/badge/badge.js"),T=require("./components/feedback/banner/banner.js"),_=require("./components/feedback/loader/loader.js"),P=require("./components/feedback/notification/notification.js"),k=require("./components/feedback/progress/progress.js"),w=require("./components/feedback/toast/toast.js"),C=require("./components/feedback/tooltip/tooltip.js"),v=require("./components/feedback/animated_toast/animated_toast.js"),S=require("./components/feedback/emojiPicker/emoji-picker.js"),A=require("./components/feedback/emojiPicker/emoji-reactions.js"),D=require("./components/feedback/videoLoader/videoLoader.js"),I=require("./components/iconography/avatar/avatar.js"),B=require("./components/iconography/icon/icon.js"),E=require("./components/input/checkbox/checkbox.js"),M=require("./components/input/counter/counter.js"),R=require("./components/input/date/date.js"),H=require("./components/input/filter/filter.js"),L=require("./components/input/radio/radio.js"),N=require("./components/input/search/search.js"),V=require("./components/input/select/select.js"),U=require("./components/input/text_area/text_area.js"),F=require("./components/input/text_input/text_input.js"),z=require("./components/input/calendar/calendar.js"),G=require("./components/input/time/time.js"),J=require("./components/input/time_input/time_input.js"),K=require("./components/media/audio-player/audio-player.js"),O=require("./components/media/audio-playlist/audio-playlist.js"),Q=require("./components/media/audio-preview/audio-preview.js"),W=require("./components/media/video/video.js"),X=require("./components/media/video-player/video.js"),Y=require("./components/media/audio-playlist/playing_indicator.js"),Z=require("./components/navigation/breadcrumb/breadcrumb.js"),$=require("./components/navigation/inner/inner.js"),ee=require("./components/navigation/tabs/tabs.js"),oe=require("./components/navigation/tabs/custom-tabs.js"),re=require("./components/surfaces/accordion/accordion.js"),se=require("./components/surfaces/carousel/card/card.js"),te=require("./components/surfaces/comment/comment.js"),ie=require("./components/surfaces/discuss_post/discuss_post.js"),ne=require("./components/surfaces/drawer/drawer.js"),ae=require("./components/surfaces/drawer/bottom-drawer.js"),pe=require("./components/surfaces/message/message.js"),ce=require("./components/surfaces/modal/modal.js"),ue=require("./components/surfaces/portal/portal.js"),me=require("./components/surfaces/post/post.js"),de=require("./components/surfaces/calendar_date/calendar_date.js"),le=require("./components/surfaces/success_modal/success-modal.js"),xe=require("./components/table/table/table.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/card/card.js"),b=require("./components/editor/editor.js"),h=require("./components/editor/simple_editor/simple_editor.js"),y=require("./components/editor/minimal_editor/minimal_editor.js"),f=require("./components/feedback/badge/badge.js"),T=require("./components/feedback/banner/banner.js"),_=require("./components/feedback/loader/loader.js"),P=require("./components/feedback/notification/notification.js"),k=require("./components/feedback/progress/progress.js"),w=require("./components/feedback/toast/toast.js"),C=require("./components/feedback/tooltip/tooltip.js"),v=require("./components/feedback/animated_toast/animated_toast.js"),S=require("./components/feedback/emojiPicker/emoji-picker.js"),A=require("./components/feedback/emojiPicker/emoji-reactions.js"),D=require("./components/feedback/videoLoader/videoLoader.js"),I=require("./components/iconography/avatar/avatar.js"),B=require("./components/iconography/icon/icon.js"),E=require("./components/input/checkbox/checkbox.js"),M=require("./components/input/counter/counter.js"),R=require("./components/input/date/date.js"),H=require("./components/input/filter/filter.js"),L=require("./components/input/radio/radio.js"),N=require("./components/input/search/search.js"),V=require("./components/input/select/select.js"),U=require("./components/input/text_area/text_area.js"),F=require("./components/input/text_input/text_input.js"),z=require("./components/input/calendar/calendar.js"),G=require("./components/input/time/time.js"),J=require("./components/input/time_input/time_input.js"),K=require("./components/media/audio-player/audio-player.js"),O=require("./components/media/audio-playlist/audio-playlist.js"),Q=require("./components/media/audio-preview/audio-preview.js"),W=require("./components/media/video/video.js"),X=require("./components/media/video-player/video.js"),Y=require("./components/media/audio-playlist/playing_indicator.js"),Z=require("./components/navigation/breadcrumb/breadcrumb.js"),$=require("./components/navigation/inner/inner.js"),ee=require("./components/navigation/tabs/tabs.js"),oe=require("./components/navigation/tabs/custom-tabs.js"),re=require("./components/surfaces/accordion/accordion.js"),se=require("./components/surfaces/carousel/card/card.js"),te=require("./components/surfaces/comment/comment.js"),ie=require("./components/surfaces/discuss_post/discuss_post.js"),ne=require("./components/surfaces/drawer/drawer.js"),ae=require("./components/surfaces/drawer/bottom-drawer.js"),pe=require("./components/surfaces/message/message.js"),ce=require("./components/surfaces/modal/modal.js"),ue=require("./components/surfaces/portal/portal.js"),me=require("./components/surfaces/post/post.js"),de=require("./components/surfaces/calendar_date/calendar_date.js"),le=require("./components/surfaces/success_modal/success-modal.js"),xe=require("./components/surfaces/trailer-modal/trailer-modal.js"),je=require("./components/table/table/table.js"),qe=require("./components/custom/users_selection/users_selection.js"),ge=require("./components/custom/courses_selection/courses_selection.js"),be=require("./icons/index.js"),he=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.Card=g.Card,exports.Editor=b.Editor,exports.SimpleEditor=h.SimpleEditor,exports.MinimalEditor=y.MinimalEditor,exports.Badge=f.Badge,exports.Banner=T.Banner,exports.Loader=_.Loader,exports.Notification=P.Notification,exports.Progress=k.Progress,exports.Toast=w.Toast,exports.Tooltip=C.Tooltip,exports.AnimatedToast=v.AnimatedToast,exports.CustomEmojiPicker=S.CustomEmojiPicker,exports.EmojiReaction=A.EmojiReaction,exports.VideoLoader=D.VideoLoader,exports.Avatar=I.Avatar,exports.Icon=B.Icon,exports.Checkbox=E.Checkbox,exports.Counter=M.Counter,exports.DatePicker=R.DatePicker,exports.Filter=H.Filter,exports.Radio=L.Radio,exports.Search=N.Search,exports.Select=V.Select,exports.TextArea=U.TextArea,exports.TextInput=F.TextInput,exports.CalendarInput=z.CalendarInput,exports.Time=G.Time,exports.TimeInput=J.TimeInput,exports.AudioPlayer=K.AudioPlayer,exports.AudioPlaylist=O.AudioPlaylist,exports.AudioPreview=Q.AudioPreview,exports.Video=W.Video,exports.VideoPlayer=X.VideoPlayer,exports.NowPlaying=Y.NowPlaying,exports.Breadcrumb=Z.Breadcrumb,exports.InnerNav=$.InnerNav,exports.Tabs=ee.Tabs,exports.CustomTabs=oe.CustomTabs,exports.Accordion=re.Accordion,exports.CardCarousel=se.CardCarousel,exports.Comment=te.Comment,exports.DiscussPost=ie.DiscussPost,exports.Drawer=ne.Drawer,exports.BottomDrawer=ae.BottomDrawer,exports.Message=pe.Message,exports.Modal=ce.Modal,exports.Portal=ue.Portal,exports.Post=me.Post,exports.CalendarDate=de.CalendarDate,exports.SuccessModal=le.SuccessModal,exports.TrailerModal=xe.TrailerModal,exports.Table=je.Table,exports.UsersSelection=qe.UsersSelection,exports.CoursesSelection=ge.CoursesSelection,exports.Icons=be,exports.emoji=he;
|
|
@@ -9,8 +9,9 @@ import { VideoEpisodeCardProps } from './video/video';
|
|
|
9
9
|
import { WrittenEpisodeCardProps } from './written/written';
|
|
10
10
|
import { MeetingCardProps } from './meeting/meeting';
|
|
11
11
|
import { CourseSeatsCardProps } from './course-seats/course-seats';
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
import { SimpleCourseCardProps } from './simple-course/simple-course';
|
|
13
|
+
type CardType = 'action' | 'audio-episode' | 'feature' | 'person' | 'price' | 'regular' | 'video-episode' | 'written-episode' | 'meeting' | 'course-seats' | 'simple-course';
|
|
14
|
+
export type CardProps = (ActionCardProps | AudioEpisodeCardProps | FeatureCardProps | PersonCardProps | PriceCardProps | RegularCardProps | VideoEpisodeCardProps | WrittenEpisodeCardProps | MeetingCardProps | CourseSeatsCardProps | SimpleCourseCardProps) & {
|
|
14
15
|
type: CardType;
|
|
15
16
|
};
|
|
16
17
|
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,KAAK,QAAQ,GACT,QAAQ,GACR,eAAe,GACf,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,cAAc,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,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;AAEpB,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,CACxB,GAAG;IACF,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,IAAI,sBAAmC,SAAS,uEAkB5D,CAAC"}
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SimpleCourseCardProps {
|
|
3
|
+
actions?: React.ReactElement;
|
|
4
|
+
content?: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
image: string;
|
|
7
|
+
numRating: number;
|
|
8
|
+
price: string;
|
|
9
|
+
rating: number;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
supportLabel?: string;
|
|
12
|
+
supportIcon?: React.ReactElement;
|
|
13
|
+
sx?: string;
|
|
14
|
+
title: string;
|
|
15
|
+
additionalIcons?: React.ReactElement[];
|
|
16
|
+
onHoverCardClick?: () => void;
|
|
17
|
+
trailerUrl?: string | string[];
|
|
18
|
+
onTrailerClick?: () => void;
|
|
19
|
+
onShareClick?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const SimpleCourseCard: ({ actions, content, href, image, numRating, price, rating, subtitle, supportLabel, supportIcon, sx, title, additionalIcons, onHoverCardClick, trailerUrl, onTrailerClick, onShareClick, }: SimpleCourseCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=simple-course.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simple-course.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/simple-course/simple-course.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,8LAkB1B,qBAAqB,4CAmPvB,CAAC"}
|
|
@@ -22,4 +22,6 @@ export type { CalendarDateProps } from './calendar_date';
|
|
|
22
22
|
export { CalendarDate } from './calendar_date';
|
|
23
23
|
export type { SuccessModalProps } from './success_modal';
|
|
24
24
|
export { SuccessModal } from './success_modal';
|
|
25
|
+
export type { TrailerModalProps } from './trailer-modal';
|
|
26
|
+
export { TrailerModal } from './trailer-modal';
|
|
25
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/trailer-modal/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface TrailerModalProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
videoUrl: string | string[];
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TrailerModal: ({ open, onClose, videoUrl, title, }: TrailerModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=trailer-modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trailer-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/trailer-modal/trailer-modal.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,YAAY,wCAKtB,iBAAiB,4CA0GnB,CAAC"}
|