@soul-refiner/design-system 2.14.134 → 2.14.136
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.
|
@@ -55,4 +55,4 @@
|
|
|
55
55
|
opacity: 0;
|
|
56
56
|
display: flex;
|
|
57
57
|
gap: 8px;
|
|
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
|
|
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,priority:A=!1})=>{const L=[];return O&&L.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&&L.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&&L.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:75,src:i,width:312,priority:A}),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,!!L.length&&e.jsx(c.Dropdown,{open:"left",offset:[40,10],maintainState:!1,options:L,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)})]})]})};
|
|
@@ -23,7 +23,8 @@ export interface MeetingCardProps {
|
|
|
23
23
|
handleVisibleToConnectionsOnClick?: (event: React.MouseEvent<HTMLDivElement>) => void | undefined;
|
|
24
24
|
rsvp?: `${RSVP}`;
|
|
25
25
|
dotsActions?: (Omit<DropdownOptionProps, 'selected'> | 'break')[];
|
|
26
|
+
priority?: boolean;
|
|
26
27
|
}
|
|
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;
|
|
28
|
+
export declare const MeetingCard: ({ href, image, sx, title, actions, course, startDate, endDate, startTime, endTime, location, shareModal, onShareClick, handleInterestedOnClick, handleNotInterestedOnClick, handleVisibleToConnectionsOnClick, rsvp, dotsActions, priority, }: MeetingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
29
|
export {};
|
|
29
30
|
//# 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,CAA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