@soul-refiner/design-system 2.14.110 → 2.14.112

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.
@@ -115,4 +115,4 @@
115
115
  display: inline-flex;
116
116
  align-items: center;
117
117
  gap: 4px;
118
- `;exports.LearningCourseCard=({content:i,href:r,image:n,creatorName:g,supportLabel:b,supportIcon:f=e.jsx(s.Video,{size:16,color:"white"}),title:w,onCardClick:v,progress:y,duration:j,watchedPercentage:m,sx:$})=>{const k=!!i,z=!!r,C=e.jsx(e.Fragment,{children:e.jsxs(d,{className:"normal-card",onClick:v,children:[e.jsx(c,{children:e.jsx(a.default,{alt:"",height:191,quality:100,src:n,width:339})}),e.jsx(x,{children:e.jsxs(p,{children:[e.jsxs(o.Box,{$dir:"column",$gap:8,children:[e.jsx(t.P,{sx:"font-size: 18px; font-style: normal; font-weight: 700; line-height: 26px; letter-spacing: -0.252px; color: var(--color-grey-2); text-overflow: ellipsis;overflow: hidden;",$textClampLines:2,dangerouslySetInnerHTML:{__html:w}}),e.jsxs(o.Box,{$dir:"row",$justify:"space-between",children:[e.jsxs(o.Box,{$dir:"row",$gap:5,children:[e.jsx(t.P,{$fontSize:12,$italic:!0,$lineHeight:16,$color:"grey-4",children:"by"}),e.jsx(t.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:g})]}),b&&e.jsxs(u,{children:[f,e.jsx(t.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:b})]})]})]}),e.jsxs(o.Box,{$dir:"column",$justify:"space-between",$gap:10,children:[e.jsx(h,{progressPercent:y/j}),e.jsxs(t.P,{$fontSize:12,$lineHeight:16,sx:"font-weight: 400;line-height: 16px;",children:[Math.round(m),"% Complete"]})]})]})})]})});return e.jsx(l,{as:"div",$sx:$,$hasContent:k,$isClickable:z,children:C})};
118
+ `;exports.LearningCourseCard=({content:i,href:r,image:n,creatorName:g,supportLabel:b,supportIcon:f=e.jsx(s.Video,{size:16,color:"white"}),title:w,onCardClick:v,progress:y,duration:j,watchedPercentage:m,sx:$})=>{const k=!!i,z=!!r,C=e.jsx(e.Fragment,{children:e.jsxs(d,{className:"normal-card",onClick:v,children:[e.jsx(c,{children:e.jsx(a.default,{alt:"",height:191,quality:100,src:n,width:339})}),e.jsx(x,{children:e.jsxs(p,{children:[e.jsxs(o.Box,{$dir:"column",$gap:8,children:[e.jsx(t.P,{sx:"font-size: 18px; font-style: normal; font-weight: 700; line-height: 26px; letter-spacing: -0.252px; color: var(--color-grey-2); text-overflow: ellipsis;overflow: hidden;",$textClampLines:2,dangerouslySetInnerHTML:{__html:w}}),e.jsxs(o.Box,{$dir:"row",$justify:"space-between",children:[e.jsxs(o.Box,{$dir:"row",$gap:5,children:[e.jsx(t.P,{$fontSize:12,$italic:!0,$lineHeight:16,$color:"grey-4",children:"by"}),e.jsx(t.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:g})]}),b&&e.jsxs(u,{children:[f,e.jsx(t.P,{$color:"white",$fontSize:12,$lineHeight:14,sx:"font-weight:500",children:b})]})]})]}),e.jsxs(o.Box,{$dir:"column",$justify:"space-between",$gap:10,children:[e.jsx(h,{progressPercent:y/j}),e.jsxs(t.P,{$fontSize:12,$lineHeight:16,sx:"font-weight: 400;line-height: 16px;",children:[Math.round(m),"% Complete"]})]})]})})]})});return e.jsx(l,{as:"div",$sx:$,$hasContent:k,$isClickable:z,children:C})};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),o=require("react"),i=require("next/image"),r=require("styled-components"),t=require("../../atoms/box/box.js"),l=require("../../atoms/typography/heading.js"),n=require("../../atoms/typography/paragraph.js"),s=require("../../surfaces/modal/modal.js"),a=require("../../actions/button/button.js"),c=require("../../actions/dropdown/dropdown.js"),d=require("../../feedback/tooltip/tooltip.js"),p=require("../../../icons/time/calendar.js"),x=require("../../../icons/basic/graduation_cap.js"),h=require("../../../icons/time/clock.js"),u=require("../../../icons/maps/pin.js"),j=require("../../../icons/arrow/forward_bold.js"),g=require("../../../icons/basic/star_filled.js"),m=require("../../../icons/basic/star.js"),y=require("../../../icons/basic/ellipsis_horizontal.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var $,v=b(o),T=b(i);!function(e){e.INTERESTED="INTERESTED",e.NOT_INTERESTED="NOT_INTERESTED"}($||($={}));const f=r.styled.div`
2
+ "use strict";var e=require("react/jsx-runtime"),o=require("react"),i=require("next/image"),t=require("styled-components"),r=require("../../atoms/box/box.js"),l=require("../../atoms/typography/heading.js"),n=require("../../atoms/typography/paragraph.js"),s=require("../../surfaces/modal/modal.js"),a=require("../../actions/button/button.js"),c=require("../../actions/dropdown/dropdown.js"),d=require("../../feedback/tooltip/tooltip.js"),p=require("../../../icons/time/calendar.js"),x=require("../../../icons/basic/graduation_cap.js"),h=require("../../../icons/time/clock.js"),u=require("../../../icons/maps/pin.js"),j=require("../../../icons/arrow/forward_bold.js"),g=require("../../../icons/basic/star_filled.js"),m=require("../../../icons/basic/star.js"),y=require("../../../icons/basic/ellipsis_horizontal.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var $,v=b(o),T=b(i);!function(e){e.INTERESTED="INTERESTED",e.NOT_INTERESTED="NOT_INTERESTED"}($||($={}));const f=t.styled.div`
3
3
  min-width: 312px;
4
4
  position: relative;
5
5
  display: block;
@@ -30,16 +30,16 @@
30
30
  }
31
31
 
32
32
  ${({$sx:e})=>e||""};
33
- `,E=r.styled.div`
33
+ `,E=t.styled.div`
34
34
  display: flex;
35
35
  flex-direction: column;
36
36
  gap: 16px;
37
37
  margin-top: 16px;
38
38
  height: 128px;
39
- `,C=r.styled.figure`
39
+ `,C=t.styled.figure`
40
40
  position: relative;
41
41
  margin: 0;
42
- `,q=r.styled.div`
42
+ `,S=t.styled.div`
43
43
  position: absolute;
44
44
  right: 0;
45
45
  bottom: 0;
@@ -47,7 +47,7 @@
47
47
  opacity: 0;
48
48
  display: flex;
49
49
  gap: 8px;
50
- `,w=r.styled.div`
50
+ `,w=t.styled.div`
51
51
  position: absolute;
52
52
  right: 0;
53
53
  top: 0;
@@ -55,4 +55,4 @@
55
55
  opacity: 0;
56
56
  display: flex;
57
57
  gap: 8px;
58
- `;exports.MeetingCard=({href:o,image:i,sx:r,title:b,actions:S,course:k,startDate:N,endDate:D,startTime:I,endTime:B,location:z,shareModal:R,handleInterestedOnClick:_,handleNotInterestedOnClick:O,handleVisibleToConnectionsOnClick:H,rsvp:F,dotsActions:M})=>{const P=[];return _&&P.push({value:"interested",label:"Interested",onClick:_,icon:e.jsx(d.Tooltip,{content:"Interested",place:"top",children:e.jsx(g.StarFilled,{color:"yellow-5"})}),color:F===$.INTERESTED?"primary-blue-2":void 0}),O&&P.push({value:"notInterested",label:"Not Interested",onClick:O,icon:e.jsx(d.Tooltip,{content:"Not Interested",place:"top",children:e.jsx(g.StarFilled,{color:"red-4"})}),color:F===$.NOT_INTERESTED?"primary-blue-2":void 0}),H&&P.push("break",{value:"visibleToConnections",label:"Visible to connections",onClick:H}),e.jsxs(f,{$isLink:!!o,$sx:r,as:o?"a":"div",href:o,children:[e.jsxs(C,{children:[e.jsx(T.default,{alt:"",height:160,quality:100,src:i,width:312}),e.jsx(w,{id:"overlayTop",children:M&&!!M.length&&e.jsx(c.Dropdown,{hasArrow:!0,maintainState:!1,options:M,trigger:e.jsx(a.Button,{icon:e.jsx(y.EllipsisHorizontal,{}),showChevron:!1,type:"outlined",size:"small",className:"icon"}),onClick:e=>e.preventDefault()})}),e.jsxs(q,{id:"overlayBottom",children:[R&&e.jsxs(s.Modal,{children:[e.jsx(s.Modal.Trigger,{children:e.jsx(a.Button,{icon:e.jsx(d.Tooltip,{content:"Share",place:"bottom",children:e.jsx(j.ForwardBold,{})}),type:"outlined",size:"small",onClick:e=>e.preventDefault(),className:"icon"})}),e.jsx(s.Modal.Content,{onClick:e=>e.preventDefault(),children:R})]}),!!P.length&&e.jsx(c.Dropdown,{open:"left",offset:[40,10],maintainState:!1,options:P,trigger:e.jsx(a.Button,{icon:e.jsx(d.Tooltip,{content:"Interested",place:"bottom",children:F===$.INTERESTED&&e.jsx(g.StarFilled,{sx:"color: var(--color-yellow-5);"})||F===$.NOT_INTERESTED&&e.jsx(g.StarFilled,{sx:"color: var(--color-red-4);"})||e.jsx(m.Star,{})}),type:"outlined",size:"small",className:"icon"}),onClick:e=>e.preventDefault()})]})]}),e.jsxs(t.Box,{$dir:"column",$padding:24,children:[e.jsx(d.Tooltip,{content:b,place:"bottom",children:e.jsx(l.H.Eight,{$textAlign:"center",$color:"grey-2",$mediumBold:!0,$textClampLines:1,children:b})}),e.jsxs(E,{children:[k&&e.jsxs(t.Box,{$align:"center",$gap:20,children:[e.jsx(x.GraduationCap,{color:"grey-6"}),e.jsx(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:k})]}),e.jsxs(t.Box,{$align:"center",$gap:20,children:[e.jsx(p.Calendar,{color:"grey-6"}),e.jsxs(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:[N," - ",D]})]}),e.jsxs(t.Box,{$align:"center",$gap:20,children:[e.jsx(h.Clock,{color:"grey-6"}),e.jsxs(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:[I," - ",B]})]}),e.jsxs(t.Box,{$align:"center",$gap:20,sx:"max-width: 264px;",children:[e.jsx(u.Pin,{color:"grey-6"}),e.jsx(d.Tooltip,{content:z,place:"bottom",children:e.jsx(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,$textClampLines:1,children:z})})]})]}),e.jsx(t.Box,{$display:"flex",$dir:"row",$gap:8,sx:"margin-top: 32px; width: 100%;",children:v.default.Children.toArray(S)})]})]})};
58
+ `;exports.MeetingCard=({href:o,image:i,sx:t,title:b,actions:k,course:q,startDate:N,endDate:D,startTime:I,endTime:B,location:z,shareModal:R,onShareClick:_,handleInterestedOnClick:O,handleNotInterestedOnClick:F,handleVisibleToConnectionsOnClick:H,rsvp:M,dotsActions:P})=>{const A=[];return O&&A.push({value:"interested",label:"Interested",onClick:O,icon:e.jsx(d.Tooltip,{content:"Interested",place:"top",children:e.jsx(g.StarFilled,{color:"yellow-5"})}),color:M===$.INTERESTED?"primary-blue-2":void 0}),F&&A.push({value:"notInterested",label:"Not Interested",onClick:F,icon:e.jsx(d.Tooltip,{content:"Not Interested",place:"top",children:e.jsx(g.StarFilled,{color:"red-4"})}),color:M===$.NOT_INTERESTED?"primary-blue-2":void 0}),H&&A.push("break",{value:"visibleToConnections",label:"Visible to connections",onClick:H}),e.jsxs(f,{$isLink:!!o,$sx:t,as:o?"a":"div",href:o,children:[e.jsxs(C,{children:[e.jsx(T.default,{alt:"",height:160,quality:100,src:i,width:312}),e.jsx(w,{id:"overlayTop",children:P&&!!P.length&&e.jsx(c.Dropdown,{hasArrow:!0,maintainState:!1,options:P,trigger:e.jsx(a.Button,{icon:e.jsx(y.EllipsisHorizontal,{}),showChevron:!1,type:"outlined",size:"small",className:"icon"}),onClick:e=>e.preventDefault()})}),e.jsxs(S,{id:"overlayBottom",children:[_?e.jsx(a.Button,{icon:e.jsx(d.Tooltip,{content:"Share",place:"bottom",children:e.jsx(j.ForwardBold,{})}),type:"outlined",size:"small",onClick:e=>{e.preventDefault(),_(e)},className:"icon"}):R?e.jsxs(s.Modal,{children:[e.jsx(s.Modal.Trigger,{children:e.jsx(a.Button,{icon:e.jsx(d.Tooltip,{content:"Share",place:"bottom",children:e.jsx(j.ForwardBold,{})}),type:"outlined",size:"small",onClick:e=>e.preventDefault(),className:"icon"})}),e.jsx(s.Modal.Content,{onClick:e=>e.preventDefault(),children:R})]}):null,!!A.length&&e.jsx(c.Dropdown,{open:"left",offset:[40,10],maintainState:!1,options:A,trigger:e.jsx(a.Button,{icon:e.jsx(d.Tooltip,{content:"Interested",place:"bottom",children:M===$.INTERESTED&&e.jsx(g.StarFilled,{sx:"color: var(--color-yellow-5);"})||M===$.NOT_INTERESTED&&e.jsx(g.StarFilled,{sx:"color: var(--color-red-4);"})||e.jsx(m.Star,{})}),type:"outlined",size:"small",className:"icon"}),onClick:e=>e.preventDefault()})]})]}),e.jsxs(r.Box,{$dir:"column",$padding:24,children:[e.jsx(d.Tooltip,{content:b,place:"bottom",children:e.jsx(l.H.Eight,{$textAlign:"center",$color:"grey-2",$mediumBold:!0,$textClampLines:1,children:b})}),e.jsxs(E,{children:[q&&e.jsxs(r.Box,{$align:"center",$gap:20,children:[e.jsx(x.GraduationCap,{color:"grey-6"}),e.jsx(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:q})]}),e.jsxs(r.Box,{$align:"center",$gap:20,children:[e.jsx(p.Calendar,{color:"grey-6"}),e.jsxs(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:[N," - ",D]})]}),e.jsxs(r.Box,{$align:"center",$gap:20,children:[e.jsx(h.Clock,{color:"grey-6"}),e.jsxs(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,children:[I," - ",B]})]}),e.jsxs(r.Box,{$align:"center",$gap:20,sx:"max-width: 264px;",children:[e.jsx(u.Pin,{color:"grey-6"}),e.jsx(d.Tooltip,{content:z,place:"bottom",children:e.jsx(n.P,{as:"span",$color:"grey-3",$lineHeight:20,$fontSize:14,$textClampLines:1,children:z})})]})]}),e.jsx(r.Box,{$display:"flex",$dir:"row",$gap:8,sx:"margin-top: 32px; width: 100%;",children:v.default.Children.toArray(k)})]})]})};
@@ -222,4 +222,4 @@
222
222
  &:hover {
223
223
  background-color: var(--color-white);
224
224
  }
225
- `;exports.SimpleCourseCard=({actions:r,content:o,href:i,image:h,numRating:B,priceText:T,price:_,rating:E,subtitle:L,supportLabel:F,supportIcon:I=e.jsx(d.Video,{size:16,color:"white"}),sx:M,title:R,additionalIcons:D,onHoverCardClick:A,trailerUrl:N,onTrailerClick:U,onShareClick:V,status:G,onEditClick:J})=>{const K=!!o,O=!!i,[Q,W]=g.default.useState(!1),X=g.default.useRef(null),Y=e=>{Q&&A&&(e.preventDefault(),A())},Z=()=>{K&&O&&(W(!0),X.current&&N&&X.current.play())},ee=()=>{W(!1),X.current&&(X.current.pause(),X.current.currentTime=0)},re=!i&&(G||J),oe=e.jsxs(e.Fragment,{children:[e.jsxs(y,{className:"normal-card",children:[e.jsxs(j,{children:[e.jsx(u.default,{alt:"",height:191,quality:100,src:h,width:339}),re&&e.jsxs(S,{children:[G&&e.jsxs(q,{$bgColor:b[G].bgColor,$dotColor:b[G].dotColor,children:[e.jsx(H,{$color:b[G].dotColor}),e.jsx(s.P,{$color:"grey-2",sx:"font-weight:500",$fontSize:12,$lineHeight:16,children:b[G].label})]}),J&&e.jsx(a.Tooltip,{content:"Edit Course",place:"top",children:e.jsx(P,{onClick:e=>{e.preventDefault(),e.stopPropagation(),J()},children:e.jsx(c.Pencil,{size:16,color:"grey-3"})})})]})]}),e.jsx(m,{children:e.jsxs(w,{children:[e.jsxs(n.Box,{$dir:"column",$gap:8,children:[e.jsx(t.H,{$color:"grey-2",$textClampLines:2,sx:"font-size: 18px !important; font-style: normal; font-weight: 700; line-height: 26px; letter-spacing: -0.252px;",dangerouslySetInnerHTML:{__html:R}}),e.jsx(s.P,{$color:"grey-4",sx:"font-size: 12px !important; font-style: normal; font-weight: 400; line-height: 16px;",dangerouslySetInnerHTML:{__html:L}})]}),e.jsxs(n.Box,{$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:4,children:[F&&e.jsxs(C,{children:[I,e.jsx(s.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:F})]}),void 0!==E&&e.jsxs(e.Fragment,{children:[e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:E/20}),e.jsx(l.Rate,{isRateable:!1,percent:E,size:"small"})]}),void 0!==B&&e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",B,")"]})]}),e.jsx(n.Box,{children:e.jsx(s.P,{$color:"grey-3",sx:"font-size: 14px; font-style: normal; font-weight: 700; line-height: 20px;",children:_})})]})]})})]}),K&&N&&e.jsxs(y,{className:"hover-card",children:[e.jsxs(j,{children:[e.jsx(v,{ref:X,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:Array.isArray(N)?N.map((r,o)=>e.jsx("source",{src:r},o)):e.jsx("source",{src:N,type:"video/mp4"})}),e.jsx($,{})]}),e.jsx(m,{children:e.jsxs(k,{children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",$gap:8,children:[e.jsxs(s.P,{$color:"primary-blue-2",$fontSize:16,$lineHeight:24,$bold:!0,children:[T," ",_]}),r&&e.jsx(n.Box,{onClick:e=>{e.preventDefault(),e.stopPropagation()},children:r})]}),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:R}}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,dangerouslySetInnerHTML:{__html:L}})]}),e.jsx(s.P,{$color:"grey-3",$fontSize:14,$lineHeight:20,$textClampLines:2,dangerouslySetInnerHTML:{__html:o}}),e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[F&&e.jsxs(C,{children:[I,e.jsx(s.P,{$color:"white",$fontSize:10,$lineHeight:14,sx:"font-weight:500",children:F})]}),void 0!==E&&e.jsxs(e.Fragment,{children:[e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:E/20}),e.jsx(l.Rate,{isRateable:!1,percent:E,size:"small"})]}),void 0!==B&&e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",B,")"]})]}),e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[U&&e.jsx(a.Tooltip,{content:"Trailer",place:"top",children:e.jsx(z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),U()},children:e.jsx(x.Trailer,{size:16})})}),V&&e.jsx(a.Tooltip,{content:"Share",place:"top",children:e.jsx(z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),V()},children:e.jsx(p.ForwardBold,{size:16})})}),D&&D.length>0&&e.jsx(e.Fragment,{children:g.default.Children.toArray(D)})]})]})]})})]})]});return i?e.jsx(f,{as:"a",$sx:M,href:i,$hasContent:K,$isClickable:O,onClick:Y,onMouseEnter:Z,onMouseLeave:ee,children:oe}):e.jsx(f,{as:"div",$sx:M,$hasContent:K,$isClickable:O,onMouseEnter:Z,onMouseLeave:ee,children:oe})};
225
+ `;exports.SimpleCourseCard=({actions:r,content:o,href:i,image:h,numRating:B,priceText:T,price:_,rating:E,subtitle:L,supportLabel:F,supportIcon:I=e.jsx(d.Video,{size:16,color:"white"}),sx:M,title:R,additionalIcons:D,onHoverCardClick:A,trailerUrl:N,onTrailerClick:U,onShareClick:V,status:G,onEditClick:J})=>{const K=!!o,O=!!i,[Q,W]=g.default.useState(!1),X=g.default.useRef(null),Y=e=>{Q&&A&&(e.preventDefault(),A())},Z=()=>{K&&O&&(W(!0),X.current&&N&&X.current.play())},ee=()=>{W(!1),X.current&&(X.current.pause(),X.current.currentTime=0)},re=!i&&(G||J),oe=e.jsxs(e.Fragment,{children:[e.jsxs(y,{className:"normal-card",children:[e.jsxs(j,{children:[e.jsx(u.default,{alt:"",height:191,quality:100,src:h,width:339}),re&&e.jsxs(S,{children:[G&&e.jsxs(q,{$bgColor:b[G].bgColor,$dotColor:b[G].dotColor,children:[e.jsx(H,{$color:b[G].dotColor}),e.jsx(s.P,{$color:"grey-2",sx:"font-weight:500",$fontSize:12,$lineHeight:16,children:b[G].label})]}),J&&e.jsx(a.Tooltip,{content:"Edit Course",place:"top",children:e.jsx(P,{onClick:e=>{e.preventDefault(),e.stopPropagation(),J()},children:e.jsx(c.Pencil,{size:16,color:"grey-3"})})})]})]}),e.jsx(m,{children:e.jsxs(w,{children:[e.jsxs(n.Box,{$dir:"column",$gap:8,children:[e.jsx(t.H,{$color:"grey-2",$textClampLines:2,sx:"font-size: 18px !important; font-style: normal; font-weight: 700; line-height: 26px; letter-spacing: -0.252px;",dangerouslySetInnerHTML:{__html:R}}),e.jsx(s.P,{$color:"grey-4",sx:"font-size: 12px !important; font-style: normal; font-weight: 400; line-height: 16px;",dangerouslySetInnerHTML:{__html:L}})]}),e.jsxs(n.Box,{$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:4,children:[F&&e.jsxs(C,{children:[I,e.jsx(s.P,{$color:"white",$fontSize:12,$lineHeight:14,sx:"font-weight:500",children:F})]}),void 0!==E&&e.jsxs(e.Fragment,{children:[e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:E/20}),e.jsx(l.Rate,{isRateable:!1,percent:E,size:"small"})]}),void 0!==B&&e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",B,")"]})]}),e.jsx(n.Box,{children:e.jsx(s.P,{$color:"grey-3",sx:"font-size: 14px; font-style: normal; font-weight: 700; line-height: 20px;",children:_})})]})]})})]}),K&&N&&e.jsxs(y,{className:"hover-card",children:[e.jsxs(j,{children:[e.jsx(v,{ref:X,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:Array.isArray(N)?N.map((r,o)=>e.jsx("source",{src:r},o)):e.jsx("source",{src:N,type:"video/mp4"})}),e.jsx($,{})]}),e.jsx(m,{children:e.jsxs(k,{children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",$gap:8,children:[e.jsxs(s.P,{$color:"primary-blue-2",$fontSize:16,$lineHeight:24,$bold:!0,children:[T," ",_]}),r&&e.jsx(n.Box,{onClick:e=>{e.preventDefault(),e.stopPropagation()},children:r})]}),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:R}}),e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,dangerouslySetInnerHTML:{__html:L}})]}),e.jsx(s.P,{$color:"grey-3",$fontSize:14,$lineHeight:20,$textClampLines:2,dangerouslySetInnerHTML:{__html:o}}),e.jsxs(n.Box,{$align:"center",$dir:"row",$justify:"space-between",children:[e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[F&&e.jsxs(C,{children:[I,e.jsx(s.P,{$color:"white",$fontSize:12,$lineHeight:14,sx:"font-weight:500",children:F})]}),void 0!==E&&e.jsxs(e.Fragment,{children:[e.jsx(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:E/20}),e.jsx(l.Rate,{isRateable:!1,percent:E,size:"small"})]}),void 0!==B&&e.jsxs(s.P,{$color:"grey-4",$fontSize:12,$lineHeight:16,children:["(",B,")"]})]}),e.jsxs(n.Box,{$align:"center",$dir:"row",$gap:8,children:[U&&e.jsx(a.Tooltip,{content:"Trailer",place:"top",children:e.jsx(z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),U()},children:e.jsx(x.Trailer,{size:16})})}),V&&e.jsx(a.Tooltip,{content:"Share",place:"top",children:e.jsx(z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),V()},children:e.jsx(p.ForwardBold,{size:16})})}),D&&D.length>0&&e.jsx(e.Fragment,{children:g.default.Children.toArray(D)})]})]})]})})]})]});return i?e.jsx(f,{as:"a",$sx:M,href:i,$hasContent:K,$isClickable:O,onClick:Y,onMouseEnter:Z,onMouseLeave:ee,children:oe}):e.jsx(f,{as:"div",$sx:M,$hasContent:K,$isClickable:O,onMouseEnter:Z,onMouseLeave:ee,children:oe})};
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/actions/dropdown/dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAGhD,KAAK,WAAW,GAAG,I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E,mBAAmB;;;CAjN1C,CAAC;AA0DF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,GAAG,SAAS,CAAC;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAqID,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAoCD,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -17,12 +17,13 @@ export interface MeetingCardProps {
17
17
  endTime: string;
18
18
  location: string;
19
19
  shareModal?: React.ReactElement;
20
+ onShareClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
20
21
  handleInterestedOnClick?: (event: React.MouseEvent<HTMLDivElement>) => void | undefined;
21
22
  handleNotInterestedOnClick?: (event: React.MouseEvent<HTMLDivElement>) => void | undefined;
22
23
  handleVisibleToConnectionsOnClick?: (event: React.MouseEvent<HTMLDivElement>) => void | undefined;
23
24
  rsvp?: `${RSVP}`;
24
25
  dotsActions?: (Omit<DropdownOptionProps, 'selected'> | 'break')[];
25
26
  }
26
- export declare const MeetingCard: ({ href, image, sx, title, actions, course, startDate, endDate, startTime, endTime, location, shareModal, handleInterestedOnClick, handleNotInterestedOnClick, handleVisibleToConnectionsOnClick, rsvp, dotsActions, }: MeetingCardProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const MeetingCard: ({ href, image, sx, title, actions, course, startDate, endDate, startTime, endTime, location, shareModal, onShareClick, handleInterestedOnClick, handleNotInterestedOnClick, handleVisibleToConnectionsOnClick, rsvp, dotsActions, }: MeetingCardProps) => import("react/jsx-runtime").JSX.Element;
27
28
  export {};
28
29
  //# sourceMappingURL=meeting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meeting.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/meeting/meeting.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAWpF,aAAK,IAAI;IACP,UAAU,eAAe;IACzB,cAAc,mBAAmB;CAClC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAChC,uBAAuB,CAAC,EAAE,CACxB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KACpC,IAAI,GAAG,SAAS,CAAC;IACtB,0BAA0B,CAAC,EAAE,CAC3B,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KACpC,IAAI,GA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AAG,SAAS,CAAC;IACtB,0BAA0B,CAAC,EAAE,CAC3B,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KACpC,IAAI,GAAG,SAAS,CAAC;IACtB,iCAAiC,CAAC,EAAE,CAClC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KACpC,IAAI,GAAG,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,OAAO,CAAC,EAAE,CAAC;CACnE;AAED,eAAO,MAAM,WAAW,wOAmBrB,gBAAgB,4CAqLlB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.110",
3
+ "version": "2.14.112",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",