@soul-refiner/design-system 2.14.132 → 2.14.133
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/course-seats/course-seats.js +8 -8
- package/dist/components/surfaces/comment/comment.js +4 -4
- package/dist/components/surfaces/post/post.js +14 -14
- package/dist/src/components/card/course-seats/course-seats.d.ts.map +1 -1
- package/dist/src/components/surfaces/comment/comment.d.ts.map +1 -1
- package/dist/src/components/surfaces/post/post.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("next/image"),i=require("styled-components"),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),r=require("next/image"),i=require("styled-components"),a=require("../../atoms/typography/heading.js"),s=require("../../atoms/typography/paragraph.js"),t=require("../../actions/button/button.js"),o=require("../../iconography/avatar/avatar.js");require("../../feedback/badge/badge.js"),require("../../feedback/banner/banner.js"),require("../../feedback/loader/loader.js"),require("../../feedback/notification/notification.js"),require("../../feedback/progress/progress.js"),require("../../feedback/toast/toast.js");var l=require("../../feedback/tooltip/tooltip.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../feedback/animated_toast/animated_toast.js"),require("../../feedback/emojiPicker/emoji-picker.js"),require("../../feedback/emojiPicker/emoji-reactions.js"),require("../../feedback/videoLoader/videoLoader.js");var d=n(r);const c=i.styled.div`
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
gap: 8px;
|
|
35
35
|
flex: 1;
|
|
36
|
-
`,
|
|
36
|
+
`,g=i.styled(a.H)`
|
|
37
37
|
font-size: 18px;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
color: var(--color-grey-2);
|
|
40
40
|
margin: 0;
|
|
41
41
|
line-height: 26px;
|
|
42
|
-
`,
|
|
42
|
+
`,f=i.styled.div`
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
`,h=i.styled.span`
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: flex-start;
|
|
53
53
|
flex: 1;
|
|
54
|
-
`,
|
|
54
|
+
`,m=i.styled.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
57
|
flex-wrap: wrap;
|
|
58
|
-
`,
|
|
58
|
+
`,j=i.styled.div`
|
|
59
59
|
border: 2px solid var(--color-white);
|
|
60
60
|
border-radius: 50%;
|
|
61
61
|
position: relative;
|
|
62
|
-
`,
|
|
62
|
+
`,v=i.styled.div`
|
|
63
63
|
margin-left: -8px;
|
|
64
64
|
width: 32px;
|
|
65
65
|
height: 32px;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
font-weight: 600;
|
|
74
74
|
color: var(--color-grey-3);
|
|
75
75
|
z-index: 1;
|
|
76
|
-
`,
|
|
76
|
+
`,y=i.styled.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
gap: 12px;
|
|
79
79
|
margin-top: auto;
|
|
@@ -99,4 +99,4 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
transition: all 0.2s ease;
|
|
102
|
-
`;exports.CourseSeatsCard=({courseId:r,courseName:i,alert:
|
|
102
|
+
`;exports.CourseSeatsCard=({courseId:r,courseName:i,alert:a,courseImage:n,href:q,assignedSeats:w,totalSeats:$,assignedUsers:z,onManageSeats:A,onAddSeats:S,sx:U})=>e.jsxs(c,{$sx:U,children:[a,e.jsx(p,{children:q?e.jsx(b,{href:q,children:e.jsx(d.default,{alt:i,src:n,fill:!0,style:{objectFit:"cover"}})}):e.jsx(d.default,{alt:i,src:n,fill:!0,style:{objectFit:"cover"}})}),e.jsxs(x,{children:[e.jsx(g,{children:i}),e.jsx(f,{children:e.jsxs(s.P,{$fontSize:14,$color:"grey-3",children:["Seat:",e.jsxs(h,{$isOverAssigned:w>$,children:[w,"/",$," Available"]})]})}),e.jsx(u,{children:z.length>0&&e.jsxs(m,{children:[z.slice(0,8).map((r,i)=>e.jsx(l.Tooltip,{content:r.name,place:"top",children:e.jsx(j,{children:r.url?e.jsx(k,{href:`/people/${r.url}/post`,children:r.imageUrl&&"/images/default_avatar.png"!==r.imageUrl?e.jsx(o.Avatar,{image:r.imageUrl,size:24}):e.jsx(o.Avatar.Initials,{name:r.name||"U",size:24,sx:"font-size: 10px;"})}):r.imageUrl&&"/images/default_avatar.png"!==r.imageUrl?e.jsx(o.Avatar,{image:r.imageUrl,size:24}):e.jsx(o.Avatar.Initials,{name:r.name||"U",size:24,sx:"font-size: 10px;"})},`${r.id}-${i}`)},`${r.id}-${i}`)),z.length>8&&e.jsxs(v,{children:["+",z.length-8]})]})}),e.jsxs(y,{children:[e.jsx(t.Button,{type:"outlined",size:"small",fluid:!0,onClick:()=>A(r),sx:"font-size: 14px;",children:"Manage Seats"}),e.jsx(t.Button,{type:"primary",fluid:!0,sx:"font-size: 14px;",size:"small",onClick:()=>S(r),children:"Add Seats"})]})]})]});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("styled-components"),r=require("next/link"),o=require("../../iconography/avatar/avatar.js"),i=require("../../atoms/box/box.js"),s=require("../../atoms/highlighter/highlighter.js"),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("styled-components"),r=require("next/link"),o=require("../../iconography/avatar/avatar.js"),i=require("../../atoms/box/box.js"),s=require("../../atoms/highlighter/highlighter.js"),a=require("../../atoms/typography/paragraph.js"),l=require("../../actions/button/button.js"),c=require("../portal/portal.js"),d=require("../../../common/regex.js"),p=require("../../../common/styles.js"),x=require("../../../icons/basic/emoticon_add.js"),u=require("../../../icons/message/comment.js"),h=require("./helpers.js"),g=require("../../input/responsive-text_area/responsive_text_area.js"),f=require("../../../icons/email/send_text.js"),m=require("../../actions/AccountSelector/selector.js"),j=require("../../feedback/emojiPicker/emoji-picker.js"),y=require("../../feedback/emojiPicker/emoji-reactions.js"),$=require("../../../icons/basic/trash_slash.js"),b=require("../../../icons/security/lock.js"),v=require("../../../icons/basic/eye.js"),w=require("../../../icons/time/calendar_dates.js");function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=k(t),S=k(n),C=k(r);const P=/@(\S+)/g,R=(t,n={})=>{if(!t)return e.jsx(e.Fragment,{children:t});const r=new RegExp(P.source,"g");if(!r.test(t))return e.jsx(s.Highlighter,{highlightRender:t=>e.jsx(a.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t,target:"_blank",children:t})}),seperator:d.URL_REGEX,text:t});const o=[];let i=0;const l=[];let c;for(r.lastIndex=0;null!==(c=r.exec(t));)l.push({index:c.index,type:"mention",match:c});const p=new RegExp(d.URL_REGEX.source,"g");for(;null!==(c=p.exec(t));)l.push({index:c.index,type:"url",match:c});l.sort((e,t)=>e.index-t.index);for(const{index:e,type:n,match:r}of l)e>i&&o.push({type:"text",content:t.substring(i,e),start:i,end:e}),"mention"===n?(o.push({type:"mention",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length):(o.push({type:"url",content:r[0],start:e,end:e+r[0].length}),i=e+r[0].length);return i<t.length&&o.push({type:"text",content:t.substring(i),start:i,end:t.length}),e.jsx(e.Fragment,{children:o.map((t,r)=>{if("mention"===t.type){const o=t.content.substring(1),i=n[o];return i?e.jsx(A,{children:e.jsx(C.default,{href:i,children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(A,{children:t.content},`${t.start}-${t.end}-${r}`)}return"url"===t.type?e.jsx(a.P,{as:"span",$color:"primary-blue-2",children:e.jsx(C.default,{href:t.content,target:"_blank",children:t.content})},`${t.start}-${t.end}-${r}`):e.jsx(a.P,{as:"span",children:t.content},`${t.start}-${t.end}-${r}`)})})},B={PRIVATE:"Private",MEETING_MEMBERS:"Meeting",PUBLIC:"Public",PUBLIC_WITH_MEETING:""},I={PRIVATE:e.jsx(b.Lock,{}),MEETING_MEMBERS:e.jsx(w.CalendarDates,{}),PUBLIC:e.jsx(v.Eye,{}),PUBLIC_WITH_MEETING:e.jsx(e.Fragment,{})},z=S.default.div`
|
|
3
3
|
max-width: 700px;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: row;
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
${({$sx:e})=>e||""}
|
|
10
10
|
|
|
11
11
|
${({$moveButtonsToLeft:e})=>e?"justify-content: flex-start;":"justify-content: space-between;"}
|
|
12
|
-
`,
|
|
12
|
+
`,q=S.default.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
word-break: break-word;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
${({$hasReplies:e})=>e?'\n position: relative;\n\n &::before {\n content: "";\n position: absolute;\n top: 32px;\n left: -28px;\n height: calc(100% - 12px);\n border-left: 2px solid var(--color-grey-9);\n }':""}
|
|
17
|
-
`,
|
|
17
|
+
`,T=S.default.div`
|
|
18
18
|
padding: 16px;
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
@@ -70,4 +70,4 @@
|
|
|
70
70
|
gap: 12px;
|
|
71
71
|
width: 90%;
|
|
72
72
|
padding: 8px 0;
|
|
73
|
-
`;exports.Comment=({avatarTooltipContent:t,avatarTooltipSx:n,content:r,createdDate:s,hasMoreReplies:d,id:p,onComment:b,onReact:v,latestReaction:w,onShowReplies:k,onEdit:S,isEditing:P,setIsEditing:A,dropdown:G,reactionModal:N,reactions:D,replies:H,userImageUri:O,userName:W,userReactions:V,visibilityIcon:X,customPlaceHolder:Y,userProfileUri:J,sx:K,moveButtonsToLeft:Q=!1,useNewVersion:Z=!1,onDelete:ee,visibility:te,shareDropdown:ne,belongsToLoggedUser:re=!1,disableRedirectionToUserProfile:oe=!1,replyAccountOptions:ie,selectedReplyAccount:se,onReplyAccountChange:
|
|
73
|
+
`;exports.Comment=({avatarTooltipContent:t,avatarTooltipSx:n,content:r,createdDate:s,hasMoreReplies:d,id:p,onComment:b,onReact:v,latestReaction:w,onShowReplies:k,onEdit:S,isEditing:P,setIsEditing:A,dropdown:G,reactionModal:N,reactions:D,replies:H,userImageUri:O,userName:W,userReactions:V,visibilityIcon:X,customPlaceHolder:Y,userProfileUri:J,sx:K,moveButtonsToLeft:Q=!1,useNewVersion:Z=!1,onDelete:ee,visibility:te,shareDropdown:ne,belongsToLoggedUser:re=!1,disableRedirectionToUserProfile:oe=!1,replyAccountOptions:ie,selectedReplyAccount:se,onReplyAccountChange:ae,showAccountSelector:le=!1,accountSelectorSize:ce=32,activeReplyId:de,onReplyClick:pe,flatReplies:xe=!1,mentionMap:ue={}})=>{const[he,ge]=E.default.useState(!1),[fe,me]=E.default.useState({x:0,y:0}),[je,ye]=E.default.useState("up"),[$e,be]=E.default.useState(!1),[ve,we]=E.default.useState(!1),[ke,Ee]=E.default.useState(""),[Se,Ce]=E.default.useState(r),Pe=E.default.useRef(null),[Re,Be]=E.default.useState(!1),Ie=de===p,ze=E.default.Children.toArray(H);E.default.useEffect(()=>{(P||Re)&&Pe.current&&Pe.current.focus()},[P,Re]);const qe=e=>{e.stopPropagation(),ge(e=>!e),me({y:e.clientY,x:e.clientX}),ye(e.clientY>400?"up":"down")},Te=()=>{k&&k(),we(!0)},_e=h.abbrTimeBeforeDate(s),Le=D&&Object.entries(D).slice(0,5).sort((e,t)=>e[1]<t[1]?1:-1).map(([t,n])=>e.jsx(e.Fragment,{children:e.jsx(y.EmojiReaction,{size:16,emoji:t,isActive:V?.includes(t),onReact:()=>v(t),showSparkle:t===w,count:n,showCount:!0},p+t)})),Me=!!ze?.length&&ze.length>0,Ae=Me&&ze.map((t,n)=>{if(!E.default.isValidElement(t))return null;const r=t.props?.id,o=n!==ze.length-1||d;return xe?e.jsx(E.default.Fragment,{children:t},r):e.jsxs(M,{$hasLine:o,children:[t,e.jsx(U,{})]},r)});return e.jsxs(z,{$sx:K,id:"comment-"+p,$moveButtonsToLeft:Q,children:[O&&"/images/default_avatar.png"!==O?e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}):e.jsx(o.Avatar.Initials,{name:W||"U",size:32,sx:"font-size: 12px;"}),e.jsxs(i.Box,{$flex:1,$dir:"column",children:[e.jsxs(q,{$hasReplies:!xe&&(Me||!!d),children:[P||Re?e.jsx(g.ResponsiveTextArea,{inputStyles:"min-height: 104px;",wrapperStyles:"background:var(--color-grey-9); ",onChange:e=>{Ce(e.target.value)},value:Se,ref:Pe,onBlur:async()=>{Z&&(S&&await S(Se,p),Be(!1))}}):e.jsxs(T,{onClick:()=>Z&&re?Be(!0):void 0,children:[e.jsxs(i.Box,{$dir:"row",$justify:"space-between",$align:"center",children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx(a.P,{as:oe?void 0:J?C.default:"span",href:oe?void 0:J,$bold:!0,$color:"grey-2",sx:"text-decoration:none !important; color:var(--color-grey-2) !important;",$fontSize:14,$lineHeight:20,children:W}),Z&&te&&("PUBLIC_WITH_MEETING"===te?e.jsxs(e.Fragment,{children:[I.PUBLIC,e.jsx(a.P,{$fontSize:14,children:B.PUBLIC}),I.MEETING_MEMBERS,e.jsx(a.P,{$fontSize:14,children:B.MEETING_MEMBERS})]}):e.jsxs(e.Fragment,{children:[I[te],e.jsx(a.P,{$fontSize:14,children:B[te]})]}))]}),Z&&re?e.jsx($.TrashSlash,{sx:"cursor: pointer;",onClick:e=>{e.stopPropagation(),e.preventDefault(),ee&&ee()}}):G]}),e.jsx(a.P,{sx:"white-space: pre-line;letter-spacing: -0.176px; word-break: break-word;",children:R(r,ue)})]}),e.jsxs(i.Box,{$align:"flex-start",$dir:"row",$display:"flex",$gap:16,sx:"margin: 8px 0px; position: relative;",children:[P?e.jsxs(i.Box,{$display:"flex",$align:"center",$justify:"space-between",$gap:6,sx:"margin-top: 8px; width: 100%;",children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:qe,size:24,sx:`cursor: pointer; flex-shrink: 0;\n ${!Q&&"margin-right: auto;"}\n `}),e.jsx(l.Button,{onClick:()=>{A&&A(!P),Ce(r)},sx:`background-color: transparent; border: none; box-shadow: none; color: var(--color-primary-blue-2);\n ${Q?"margin-left: 20px;":"margin-left: auto;"}\n &:hover, &:focus {\n border: none;\n outline: none;\n }\n `,size:"small",type:"outlined",children:"Cancel"}),e.jsx(l.Button,{onClick:()=>{S&&S(Se,p),A&&A(!1)},size:"small",type:"primary",children:"Save"})]}):e.jsxs(e.Fragment,{children:[e.jsx(x.Emoticon,{color:"primary-blue-2",onClick:qe,size:24,sx:" cursor: pointer; flex-shrink: 0;"}),e.jsx(u.Comment,{color:"primary-blue-2",onClick:()=>{pe&&p?pe(de===p?"":p):be(e=>!e)},size:24,sx:"border-radius: 50%; cursor: pointer; flex-shrink: 0;"}),e.jsx(a.P,{$color:"grey-7",children:"•"}),e.jsx(a.P,{$color:"grey-4",$fontSize:12,$lineHeight:24,sx:"flex-shrink: 0;",children:_e}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",marginLeft:"auto",width:"100%"},children:[e.jsxs(i.Box,{$display:"flex",$flow:"row wrap",$justify:"flex-end",$align:"flex-end",$gap:6,sx:` \n margin-left: auto;\n @media (max-width: 500px) {\n max-width: 100%;\n }\n ${Le?.length?"margin-bottom: 12px;":""}\n `,children:[Le,N]}),Z&&ne]})]}),he&&e.jsx(c.Portal,{children:e.jsx(_,{$pickerOrientation:je,$top:fe.y,$left:fe.x,children:e.jsx(j.CustomEmojiPicker,{open:he,trigger:e.jsx(e.Fragment,{}),onSelect:({native:e})=>{v(e),ge(!1)},onClickOutside:()=>ge(!1)})})})]})]}),Me&&ve&&e.jsx(L,{children:Ae}),!ve&&!d&&Me&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(l.Button,{onClick:Te,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show replies"}),e.jsx(U,{})]})}),d&&e.jsx(L,{children:e.jsxs(M,{$hasLine:!1,children:[e.jsx(l.Button,{onClick:Te,size:"small",sx:"color: var(--color-grey-3);",type:"text",children:"show more replies"}),e.jsx(U,{})]})}),(Ie||$e)&&e.jsxs(F,{children:[le&&ie&&ae?e.jsx(m.AccountSelector,{selectedOption:se??null,options:ie,onOptionChange:ae,size:ce,showChevron:ie.length>1}):O&&"/images/default_avatar.png"!==O?e.jsx(o.Avatar,{as:oe?void 0:C.default,href:oe?void 0:J,image:O,size:32,tooltipContent:t,tooltipSx:n}):e.jsx(o.Avatar.Initials,{name:W||"U",size:32,sx:"font-size: 12px;"}),e.jsx(g.ResponsiveTextArea,{bg:"var(--color-grey-10)",value:ke,onChange:e=>{Ee(e.target.value)},placeholder:Y||"Write a reply",maxCharacters:1e3,minWidth:"100%",wrapperStyles:"margin: 16px 0; width: 100%;",actionComponent:e.jsxs(i.Box,{sx:"margin: auto 0 5px 0px;",$align:"center",$justify:"center",$gap:8,children:[X,e.jsx(l.Button,{disabled:!ke.length,icon:e.jsx(f.SendText,{}),onClick:e=>{e.stopPropagation(),e.preventDefault(),b(ke,p),Ee("")},sx:"\n justify-content: center; \n background-color: var(--color-primary-blue-2);\n align-items: center; \n height: 40px;\n width: 40px;\n cursor: pointer;\n border: none;\n box-shadow: none;\n svg {\n fill: white;\n }\n &:disabled {\n svg {\n fill: var(--color-grey-7);\n }\n border: none !important;\n background-color: var(--color-grey-1);\n }\n ",type:"secondary"})]}),inputStyles:"font-size: 14px;"})]})]})]})};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),r=require("next/link"),
|
|
2
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),i=require("next/image"),r=require("next/link"),n=require("styled-components"),o=require("react-show-more-text"),s=require("../../../common/regex.js"),l=require("../../atoms/box/box.js"),a=require("../../atoms/highlighter/highlighter.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),h=require("../modal/modal.js");require("../../atoms/typography/display.js"),require("../../atoms/typography/typography.js");var u=require("../../atoms/time_ago/time_ago.js");require("../../atoms/countdown/countdown.js");var p=require("../../iconography/avatar/avatar.js"),x=require("../../../icons/security/lock.js"),g=require("../../../icons/arrow/chevron_left.js"),f=require("../../../icons/arrow/chevron_right.js"),m=require("../../media/video/video.js");require("../../iconography/icon/icon.js");var y=require("../../../icons/audio_video/play.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../icons/security/verified_filled.js"),require("../../../common/colors.js");var v=j(t),b=j(i),w=j(r),$=j(o);const k=n.styled.div`
|
|
3
3
|
position: relative;
|
|
4
4
|
max-width: 700px;
|
|
5
5
|
width: 100%;
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
text-decoration: underline;
|
|
17
17
|
cursor: pointer;
|
|
18
18
|
}
|
|
19
|
-
`;
|
|
19
|
+
`;n.styled.button`
|
|
20
20
|
background: none;
|
|
21
21
|
border: none;
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
color: var(--color-grey-5);
|
|
24
|
-
`;const q=
|
|
24
|
+
`;const q=n.styled.div`
|
|
25
25
|
padding: 16px 24px;
|
|
26
26
|
display: flex;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
align-items: flex-start;
|
|
29
29
|
border-bottom: 1px solid var(--color-grey-9);
|
|
30
|
-
`,C=
|
|
30
|
+
`,C=n.styled.div`
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
background: var(--color-grey-0);
|
|
42
42
|
border-radius: inherit;
|
|
43
43
|
overflow: hidden;
|
|
44
|
-
`,z=
|
|
44
|
+
`,z=n.styled.div`
|
|
45
45
|
position: absolute;
|
|
46
46
|
width: 64px;
|
|
47
47
|
height: 64px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
z-index: 3;
|
|
57
57
|
pointer-events: none;
|
|
58
58
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
59
|
-
`,
|
|
59
|
+
`,H=n.styled.div`
|
|
60
60
|
position: relative;
|
|
61
61
|
display: flex;
|
|
62
62
|
gap: 8px;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
${({$numImages:e})=>e>1?"\n div {\n min-width: calc(50% - 4px);\n max-width: calc(50% - 4px);\n\n flex:1;\n img {\n object-fit: cover;\n width: 100%;\n height: 100%;\n }\n }":"\n div > img {\n object-fit: contain;\n width: 100%;\n height: 100%;\n }\n "}
|
|
78
|
-
`,
|
|
78
|
+
`,P=n.styled.div`
|
|
79
79
|
position: relative;
|
|
80
80
|
aspect-ratio: 700 / 427;
|
|
81
81
|
flex: 1;
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
height: 100%;
|
|
91
91
|
pointer-events: none;
|
|
92
92
|
}
|
|
93
|
-
`,S=
|
|
93
|
+
`,S=n.styled.div`
|
|
94
94
|
position: relative;
|
|
95
95
|
width: 100%;
|
|
96
96
|
height: 480px;
|
|
97
|
-
`,R=
|
|
97
|
+
`,R=n.styled.div`
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: column;
|
|
@@ -104,17 +104,17 @@
|
|
|
104
104
|
justify-content: center;
|
|
105
105
|
gap: 16px;
|
|
106
106
|
overflow: hidden;
|
|
107
|
-
`,E=
|
|
107
|
+
`,E=n.styled.div`
|
|
108
108
|
display: flex;
|
|
109
109
|
justify-content: space-around;
|
|
110
110
|
align-items: center;
|
|
111
111
|
padding: 24px;
|
|
112
|
-
`,L=
|
|
112
|
+
`,L=n.styled.div`
|
|
113
113
|
padding: 24px;
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-flow: column nowrap;
|
|
116
116
|
gap: 24px;
|
|
117
|
-
`,_=
|
|
117
|
+
`,_=n.styled.button`
|
|
118
118
|
width: 48px;
|
|
119
119
|
height: 150px;
|
|
120
120
|
display: flex;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
&:hover {
|
|
131
131
|
background-color: rgba(0, 0, 0, 0.2);
|
|
132
132
|
}
|
|
133
|
-
`,
|
|
133
|
+
`,U=n.styled.div`
|
|
134
134
|
margin-top: 24px;
|
|
135
135
|
border-radius: 32px;
|
|
136
136
|
border: 1px solid var(--color-grey-8);
|
|
@@ -138,4 +138,4 @@
|
|
|
138
138
|
padding: 6px 16px;
|
|
139
139
|
width: fit-content;
|
|
140
140
|
cursor: pointer;
|
|
141
|
-
`;exports.Post=({actions:t,author:i,authorActive:r,authorHref:
|
|
141
|
+
`;exports.Post=({actions:t,author:i,authorActive:r,authorHref:n,authorImage:o,avatarTooltipContent:j,avatarTooltipSx:A,children:B,content:I,createdDate:M,dropdown:T,hasComments:F,id:W,images:D,isPaidUser:J,isPaywalled:V=!1,link:X,video:G,onJoin:N,monthlyMembershipPrice:O,onImageClick:Y})=>{const K=v.default.useId(),Q=v.default.useRef(null),[Z,ee]=v.default.useState(!1),[te,ie]=v.default.useState(-1),[re,ne]=v.default.useState(!1);v.default.useRef(null);const[oe,se]=v.default.useState(-1),[le,ae]=v.default.useState({x:"30vw",y:"30vh"}),de=!!G?.url&&!!G?.thumbnail,ce=G?.displayHtmlVideo,[he,ue]=v.default.useState(!1),pe=v.default.useRef(null);v.default.useEffect(()=>{if(Q.current&&I?.length>0){const e=24,t=Math.ceil(Q.current.offsetHeight/e);if(ie(t),!Z)try{const t=Q.current.style.webkitLineClamp;Q.current.style.webkitLineClamp="none";const i=Q.current.offsetHeight,r=Math.ceil(i/e);Q.current.style.webkitLineClamp=t,ne(r>3)}catch(e){ne(t>=3)}}else ie(-1),ne(!1)},[I,Z]),v.default.useEffect(()=>{const e=e=>{"ArrowLeft"===e.key?me():"ArrowRight"===e.key?fe():"Escape"!==e.key&&"Enter"!==e.key||se(-1)};return"undefined"!=typeof document&&D?.length&&oe>-1&&document.addEventListener("keydown",e),()=>{D?.length&&document.removeEventListener("keydown",e)}},[]);const xe=v.default.Children.toArray(t),ge=v.default.Children.toArray(B),fe=()=>{se(e=>D?.length&&e!==D.length-1?e+1:e)},me=()=>{se(e=>D?.length&&0!==e?e-1:e)};return e.jsxs(k,{id:W,children:[oe>-1&&!!D?.[oe]&&e.jsx(h.Modal,{alwaysRender:!1,controlledOpen:!0,onChange:e=>!e&&se(-1),children:e.jsxs(h.Modal.Content,{sx:`\n position: relative; \n height: ${le.y}; \n width: ${le.x};\n margin: 0 auto;\n `,children:[e.jsx(_,{$side:"left",$visible:0!==oe,onClick:me,children:e.jsx(g.ChevronLeft,{color:"white",size:48})}),e.jsx(b.default,{alt:"",fill:!0,quality:100,onLoad:e=>{const{naturalHeight:t,naturalWidth:i}=e.target;let r=`${i}px`,n=`${t}px`;window?.innerHeight<t&&window?.innerWidth<i?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,n=`${Math.round(.95*window.innerWidth*t/i)}px`):window?.innerHeight<t?(r=`${Math.floor(.95*window.innerHeight*i/t)}px`,n="95vh"):window?.innerWidth<i&&(r="95vw",n=`${Math.round(.95*window.innerWidth*t/i)}px`),ae({x:r,y:n})},draggable:!1,priority:!0,sizes:"100vw",src:D[oe],style:{objectFit:"cover"}}),e.jsx(_,{$side:"right",$visible:oe!==D.length-1,onClick:fe,children:e.jsx(f.ChevronRight,{color:"white",size:48})})]})}),e.jsxs(q,{children:[o&&"/images/default_avatar.png"!==o?e.jsx(p.Avatar,{isPaidUser:J,as:n?w.default:"button",href:n,image:o,size:64,status:r?"online":void 0,subtitle:e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(u.TimeAgo,{date:new Date(M)})}),title:e.jsx(d.H,{as:n?w.default:"span",href:n,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),textPosition:"right",tooltipContent:j,tooltipSx:A,sx:n?"img { cursor: pointer; }":void 0}):e.jsxs(l.Box,{$align:"center",$gap:12,children:[e.jsx(p.Avatar.Initials,{name:i||"U",size:64}),e.jsxs(l.Box,{$dir:"column",children:[e.jsx(d.H,{as:n?w.default:"span",href:n,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(u.TimeAgo,{date:new Date(M)})})]})]}),T]}),!!I?.length&&e.jsxs("div",{style:{padding:"16px 24px"},children:[V&&te>1?e.jsx($.default,{lines:2,more:"Continue Reading",onClick:N,anchorClass:"see-more",expanded:!1,truncatedEndingComponent:"... ",children:e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",$textClampLines:2,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:I})})}):e.jsxs(e.Fragment,{children:[e.jsx(c.P,{$sx:"white-space: pre-line; word-break: break-word;",innerRef:Q,$textClampLines:Z?void 0:5,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:t,target:"_blank",children:t})}),seperator:s.URL_REGEX,text:V&&1===te?"This is a premium post. Join to the membership to unlock the full access.":I})}),re&&!V?e.jsx(c.P,{$color:"grey-5",sx:"cursor:pointer;",$mediumBold:!0,$fontSize:14,onClick:()=>ee(e=>!e),children:Z?"See less":"See more"}):null]}),V&&!D?.length&&e.jsx(U,{onClick:N,children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),V&&!!D?.length&&!de&&e.jsxs(R,{children:[e.jsx(b.default,{alt:"",width:650,height:427,priority:!0,quality:100,src:D[0],style:{objectFit:"fill",height:"100%",width:"100%",filter:"blur(60px)",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"}}),e.jsx(x.Lock,{size:40,color:"white",sx:"z-index: 1"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",zIndex:1},children:[e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"Become a member"}),e.jsx(c.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"to unlock this post"})]}),e.jsx(U,{onClick:N,style:{zIndex:1,marginTop:0},children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),!!D?.length&&!de&&!V&&e.jsxs(H,{$numImages:D.length,children:[D.slice(0,4).map((t,i)=>e.jsx(P,{children:e.jsx(b.default,{alt:"",fill:!0,onClick:()=>{Y?.(i),se(i)},quality:100,src:t,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})},`${K}${t.slice(0,15)}${i}`)),D.length>4&&e.jsxs(d.H,{as:"p",className:"more-than",sx:"pointer-events: none;",$color:"grey-10",$fontSize:28,$lineHeight:36,$semiBold:!0,children:["+",D.length-4]})]}),!D?.length&&!de&&X&&!V&&e.jsxs(w.default,{href:X.url,target:"_blank",children:[e.jsx(P,{children:e.jsx(b.default,{alt:"",fill:!0,quality:100,src:X.imageUrl,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})}),e.jsxs(l.Box,{$dir:"column",$gap:8,sx:"padding: 8px 16px;",children:[e.jsx(c.P,{$color:"grey-2",$semiBold:!0,children:X.title}),e.jsx(c.P,{$color:"grey-5",children:X.description})]})]}),de&&e.jsx(S,{children:ce?he?e.jsxs("video",{ref:pe,style:{width:"100%",height:"100%"},controls:!0,playsInline:!0,poster:G.thumbnail,children:[G.videoUrls.webm&&e.jsx("source",{src:G.videoUrls.webm,type:"video/webm; codecs=vp9"}),G.videoUrls.mp4&&e.jsx("source",{src:G.videoUrls.mp4,type:"video/mp4; codecs=avc1.42E01E"}),"Your browser does not support the video tag."]}):e.jsxs(C,{onClick:()=>{ue(!0),setTimeout(()=>{pe.current?.play()},100)},children:[e.jsx(b.default,{src:G.thumbnail,alt:"Video thumbnail",fill:!0,style:{objectFit:"cover",borderRadius:"inherit"},priority:!0,draggable:!1}),e.jsx(z,{children:e.jsx(y.Play,{size:32,color:"white"})})]}):e.jsx(m.Video,{src:G.url,thumbnail:G.thumbnail,subtitles:[],title:G?.title})}),!!xe.length&&e.jsx(E,{children:!V&&xe}),F&&!!ge.length&&e.jsx(L,{children:ge})]})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"course-seats.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/course-seats.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,eAAe,iIAYzB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"course-seats.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/course-seats.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ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