@soul-refiner/design-system 2.14.84 → 2.14.86

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.
Files changed (49) hide show
  1. package/dist/components/surfaces/post/post.js +41 -12
  2. package/dist/src/components/actions/upload/validations.d.ts +2 -2
  3. package/dist/src/components/actions/upload/validations.d.ts.map +1 -1
  4. package/dist/src/components/atoms/box/box.d.ts +1 -1
  5. package/dist/src/components/atoms/box/box.d.ts.map +1 -1
  6. package/dist/src/components/editor/context.d.ts +5 -5
  7. package/dist/src/components/editor/context.d.ts.map +1 -1
  8. package/dist/src/components/editor/navbar/navbar.d.ts +1 -1
  9. package/dist/src/components/editor/navbar/navbar.d.ts.map +1 -1
  10. package/dist/src/components/editor/plugins/blocks/blocks.d.ts +1 -1
  11. package/dist/src/components/editor/plugins/blocks/blocks.d.ts.map +1 -1
  12. package/dist/src/components/editor/plugins/blocks/buttons.d.ts +1 -1
  13. package/dist/src/components/editor/plugins/blocks/buttons.d.ts.map +1 -1
  14. package/dist/src/components/editor/plugins/blocks/dropdown-menu.d.ts +8 -8
  15. package/dist/src/components/editor/plugins/blocks/dropdown-menu.d.ts.map +1 -1
  16. package/dist/src/components/editor/plugins/blocks/image.d.ts +3 -3
  17. package/dist/src/components/editor/plugins/blocks/plate-button.d.ts +11 -11
  18. package/dist/src/components/editor/plugins/blocks/plate-button.d.ts.map +1 -1
  19. package/dist/src/components/editor/plugins/blocks/popover.d.ts +1 -1
  20. package/dist/src/components/editor/plugins/blocks/popover.d.ts.map +1 -1
  21. package/dist/src/components/editor/plugins/blocks/qa.d.ts +1 -1
  22. package/dist/src/components/editor/plugins/blocks/qa.d.ts.map +1 -1
  23. package/dist/src/components/editor/plugins/blocks/resizable.d.ts +18 -18
  24. package/dist/src/components/editor/plugins/blocks/resizable.d.ts.map +1 -1
  25. package/dist/src/components/editor/plugins/blocks/separator.d.ts +3 -3
  26. package/dist/src/components/editor/plugins/blocks/separator.d.ts.map +1 -1
  27. package/dist/src/components/editor/plugins/blocks/table-cell.d.ts +10 -10
  28. package/dist/src/components/editor/plugins/blocks/table-cell.d.ts.map +1 -1
  29. package/dist/src/components/editor/plugins/blocks/table-row.d.ts +4 -4
  30. package/dist/src/components/editor/plugins/blocks/table-row.d.ts.map +1 -1
  31. package/dist/src/components/editor/plugins/blocks/table.d.ts +3 -3
  32. package/dist/src/components/editor/plugins/blocks/text.d.ts +7 -7
  33. package/dist/src/components/editor/plugins/blocks/text.d.ts.map +1 -1
  34. package/dist/src/components/editor/plugins/blocks/video.d.ts +1 -1
  35. package/dist/src/components/editor/plugins/blocks/video.d.ts.map +1 -1
  36. package/dist/src/components/editor/plugins/leafs/link.d.ts +1 -1
  37. package/dist/src/components/editor/plugins/leafs/link.d.ts.map +1 -1
  38. package/dist/src/components/editor/plugins/plate.d.ts +34 -34
  39. package/dist/src/components/editor/plugins/utils/resetBlockType.d.ts +1 -1
  40. package/dist/src/components/editor/plugins/utils/utils.d.ts +1 -1
  41. package/dist/src/components/editor/plugins/utils/utils.d.ts.map +1 -1
  42. package/dist/src/components/editor/styles/menu_button.d.ts +1 -1
  43. package/dist/src/components/editor/styles/menu_button.d.ts.map +1 -1
  44. package/dist/src/components/media/video-player/video.d.ts +1 -1
  45. package/dist/src/components/media/video-player/video.d.ts.map +1 -1
  46. package/dist/src/components/surfaces/post/post.d.ts.map +1 -1
  47. package/dist/src/utils/date.d.ts +1 -1
  48. package/dist/src/utils/date.d.ts.map +1 -1
  49. package/package.json +3 -1
@@ -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"),n=require("styled-components"),o=require("react-show-more-text"),l=require("../../../common/regex.js"),s=require("../../atoms/box/box.js"),a=require("../../atoms/highlighter/highlighter.js"),d=require("../../atoms/typography/heading.js"),h=require("../../atoms/typography/paragraph.js"),c=require("../modal/modal.js");require("../../atoms/typography/display.js"),require("../../atoms/typography/typography.js");var p=require("../../atoms/time_ago/time_ago.js"),x=require("../../iconography/avatar/avatar.js"),u=require("../../../icons/security/lock.js"),g=require("../../../icons/arrow/chevron_left.js"),m=require("../../../icons/arrow/chevron_right.js"),f=require("../../media/video/video.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=y(t),w=y(i),j=y(r),b=y(o);const $=n.styled.div`
2
+ "use strict";var e=require("react/jsx-runtime"),i=require("react"),r=require("next/image"),t=require("next/link"),o=require("styled-components"),s=require("react-show-more-text"),n=require("../../../common/regex.js"),a=require("../../atoms/box/box.js"),l=require("../../atoms/highlighter/highlighter.js"),d=require("../../atoms/typography/heading.js"),c=require("../../atoms/typography/paragraph.js"),u=require("../modal/modal.js");require("../../atoms/typography/display.js"),require("../../atoms/typography/typography.js");var h=require("../../atoms/time_ago/time_ago.js"),p=require("../../iconography/avatar/avatar.js"),x=require("../../../icons/security/lock.js"),g=require("../../../icons/arrow/chevron_left.js"),j=require("../../../icons/arrow/chevron_right.js"),m=require("../../media/video/video.js");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"),require("../../card/action/action.js"),require("../../card/audio/audio.js"),require("../../card/feature/feature.js"),require("../../card/person/person.js"),require("../../card/price/price.js"),require("../../card/regular/regular.js"),require("../../card/video/video.js"),require("../../card/written/written.js"),require("../../card/meeting/meeting.js"),require("../../card/course-seats/course-seats.js"),require("../../editor/editor.js"),require("../../editor/simple_editor/simple_editor.js"),require("../../editor/minimal_editor/minimal_editor.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"),require("react-tooltip"),require("../../feedback/animated_toast/animated_toast.js"),require("../../feedback/emojiPicker/emoji-picker.js"),require("../../feedback/emojiPicker/emoji-reactions.js"),require("../../feedback/videoLoader/videoLoader.js"),require("../../iconography/icon/icon.js"),require("../../input/checkbox/checkbox.js"),require("../../input/counter/counter.js"),require("../../input/date/date.js"),require("../../input/filter/filter.js"),require("../../input/radio/radio.js"),require("../../input/search/search.js"),require("../../input/select/select.js"),require("../../input/text_area/text_area.js"),require("../../input/text_input/text_input.js"),require("../../input/calendar/calendar.js"),require("../../input/time/time.js"),require("@mui/x-date-pickers/LocalizationProvider"),require("@mui/x-date-pickers/AdapterDateFnsV3"),require("@mui/x-date-pickers/TimeField"),require("../../media/audio-player/audio-player.js"),require("../../media/audio-playlist/audio-playlist.js"),require("../../media/audio-preview/audio-preview.js"),require("../../media/video-player/video.js"),require("../../media/audio-playlist/playing_indicator.js"),require("../../navigation/breadcrumb/breadcrumb.js"),require("../../navigation/inner/inner.js"),require("../../navigation/tabs/tabs.js"),require("../../navigation/tabs/custom-tabs.js"),require("../accordion/accordion.js"),require("../carousel/card/card.js"),require("../comment/comment.js"),require("../discuss_post/discuss_post.js"),require("../drawer/drawer.js"),require("../drawer/bottom-drawer.js"),require("../message/message.js"),require("react-dom"),require("../calendar_date/calendar_date.js"),require("../success_modal/success-modal.js"),require("../../table/table/table.js"),require("../../custom/users_selection/users_selection.js"),require("../../custom/courses_selection/courses_selection.js");var f=require("../../../icons/audio_video/play.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var y=b(i),v=b(r),w=b(t),q=b(s);const $=o.styled.div`
3
3
  position: relative;
4
4
  max-width: 700px;
5
5
  width: 100%;
@@ -16,18 +16,47 @@
16
16
  text-decoration: underline;
17
17
  cursor: pointer;
18
18
  }
19
- `;n.styled.button`
19
+ `;o.styled.button`
20
20
  background: none;
21
21
  border: none;
22
22
  cursor: pointer;
23
23
  color: var(--color-grey-5);
24
- `;const k=n.styled.div`
24
+ `;const k=o.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=n.styled.div`
30
+ `,_=o.styled.div`
31
+ position: absolute;
32
+ width: 100%;
33
+ height: 100%;
34
+ top: 0;
35
+ left: 0;
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+ cursor: pointer;
40
+ z-index: 2;
41
+ background: var(--color-grey-0);
42
+ border-radius: inherit;
43
+ overflow: hidden;
44
+ `,C=o.styled.div`
45
+ position: absolute;
46
+ width: 64px;
47
+ height: 64px;
48
+ left: 50%;
49
+ top: 50%;
50
+ transform: translate(-50%, -50%);
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ background: rgba(0, 0, 0, 0.5);
55
+ border-radius: 50%;
56
+ z-index: 3;
57
+ pointer-events: none;
58
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
59
+ `,z=o.styled.div`
31
60
  position: relative;
32
61
  display: flex;
33
62
  gap: 8px;
@@ -46,7 +75,7 @@
46
75
  }
47
76
 
48
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 "}
49
- `,q=n.styled.div`
78
+ `,P=o.styled.div`
50
79
  position: relative;
51
80
  aspect-ratio: 700 / 427;
52
81
  flex: 1;
@@ -61,11 +90,11 @@
61
90
  height: 100%;
62
91
  pointer-events: none;
63
92
  }
64
- `,z=n.styled.div`
93
+ `,S=o.styled.div`
65
94
  position: relative;
66
95
  width: 100%;
67
96
  height: 480px;
68
- `,H=n.styled.div`
97
+ `,H=o.styled.div`
69
98
  position: relative;
70
99
  display: flex;
71
100
  flex-direction: column;
@@ -75,17 +104,17 @@
75
104
  justify-content: center;
76
105
  gap: 16px;
77
106
  overflow: hidden;
78
- `,P=n.styled.div`
107
+ `,L=o.styled.div`
79
108
  display: flex;
80
109
  justify-content: space-around;
81
110
  align-items: center;
82
111
  padding: 24px;
83
- `,S=n.styled.div`
112
+ `,R=o.styled.div`
84
113
  padding: 24px;
85
114
  display: flex;
86
115
  flex-flow: column nowrap;
87
116
  gap: 24px;
88
- `,E=n.styled.button`
117
+ `,E=o.styled.button`
89
118
  width: 48px;
90
119
  height: 150px;
91
120
  display: flex;
@@ -101,7 +130,7 @@
101
130
  &:hover {
102
131
  background-color: rgba(0, 0, 0, 0.2);
103
132
  }
104
- `,L=n.styled.div`
133
+ `,I=o.styled.div`
105
134
  margin-top: 24px;
106
135
  border-radius: 32px;
107
136
  border: 1px solid var(--color-grey-8);
@@ -109,4 +138,4 @@
109
138
  padding: 6px 16px;
110
139
  width: fit-content;
111
140
  cursor: pointer;
112
- `;exports.Post=({actions:t,author:i,authorActive:r,authorHref:n,authorImage:o,avatarTooltipContent:y,avatarTooltipSx:R,children:M,content:U,createdDate:_,dropdown:I,hasComments:A,id:B,images:F,isPaidUser:T,isPaywalled:W=!1,link:J,video:D,onJoin:X,monthlyMembershipPrice:G,onImageClick:V})=>{const N=v.default.useId(),O=v.default.useRef(null),[Y,K]=v.default.useState(!1),[Q,Z]=v.default.useState(-1),[ee,te]=v.default.useState(!1),ie=v.default.useRef(null),[re,ne]=v.default.useState(-1),[oe,le]=v.default.useState({x:"30vw",y:"30vh"}),se=!!D?.url&&!!D?.thumbnail,ae=D?.displayHtmlVideo;v.default.useEffect(()=>{if(O.current&&U?.length>0){const e=24,t=Math.ceil(O.current.offsetHeight/e);if(Z(t),!Y)try{const t=O.current.style.webkitLineClamp;O.current.style.webkitLineClamp="none";const i=O.current.offsetHeight,r=Math.ceil(i/e);O.current.style.webkitLineClamp=t,te(r>3)}catch(e){te(t>=3)}}else Z(-1),te(!1)},[U,Y]),v.default.useEffect(()=>{const e=e=>{"ArrowLeft"===e.key?pe():"ArrowRight"===e.key?ce():"Escape"!==e.key&&"Enter"!==e.key||ne(-1)};return"undefined"!=typeof document&&F?.length&&re>-1&&document.addEventListener("keydown",e),()=>{F?.length&&document.removeEventListener("keydown",e)}},[]);const de=v.default.Children.toArray(t),he=v.default.Children.toArray(M),ce=()=>{ne(e=>F?.length&&e!==F.length-1?e+1:e)},pe=()=>{ne(e=>F?.length&&0!==e?e-1:e)};return e.jsxs($,{id:B,children:[re>-1&&!!F?.[re]&&e.jsx(c.Modal,{alwaysRender:!1,controlledOpen:!0,onChange:e=>!e&&ne(-1),children:e.jsxs(c.Modal.Content,{sx:`\n position: relative; \n height: ${oe.y}; \n width: ${oe.x};\n margin: 0 auto;\n `,children:[e.jsx(E,{$side:"left",$visible:0!==re,onClick:pe,children:e.jsx(g.ChevronLeft,{color:"white",size:48})}),e.jsx(w.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`),le({x:r,y:n})},draggable:!1,priority:!0,sizes:"100vw",src:F[re],style:{objectFit:"cover"}}),e.jsx(E,{$side:"right",$visible:re!==F.length-1,onClick:ce,children:e.jsx(m.ChevronRight,{color:"white",size:48})})]})}),e.jsxs(k,{children:[e.jsx(x.Avatar,{isPaidUser:T,as:n?j.default:"button",href:n,image:o,size:64,status:r?"online":void 0,subtitle:e.jsx(h.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(p.TimeAgo,{date:new Date(_)})}),title:e.jsx(d.H,{as:n?j.default:"span",href:n,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:i}),textPosition:"right",tooltipContent:y,tooltipSx:R,sx:n?"img { cursor: pointer; }":void 0}),I]}),!!U?.length&&e.jsxs("div",{style:{padding:"16px 24px"},children:[W&&Q>1?e.jsx(b.default,{lines:2,more:"Continue Reading",onClick:X,anchorClass:"see-more",expanded:!1,truncatedEndingComponent:"... ",children:e.jsx(h.P,{$sx:"white-space: pre-line; word-break: break-word;",$textClampLines:2,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(h.P,{as:"span",$color:"primary-blue-2",children:e.jsx(j.default,{href:t,target:"_blank",children:t})}),seperator:l.URL_REGEX,text:U})})}):e.jsxs(e.Fragment,{children:[e.jsx(h.P,{$sx:"white-space: pre-line; word-break: break-word;",innerRef:O,$textClampLines:Y?void 0:5,children:e.jsx(a.Highlighter,{highlightRender:t=>e.jsx(h.P,{as:"span",$color:"primary-blue-2",children:e.jsx(j.default,{href:t,target:"_blank",children:t})}),seperator:l.URL_REGEX,text:W&&1===Q?"This is a premium post. Join to the membership to unlock the full access.":U})}),ee&&!W?e.jsx(h.P,{$color:"grey-5",sx:"cursor:pointer;",$mediumBold:!0,$fontSize:14,onClick:()=>K(e=>!e),children:Y?"See less":"See more"}):null]}),W&&!F?.length&&e.jsx(L,{onClick:X,children:e.jsxs(h.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",G," per month"]})})]}),W&&!!F?.length&&!se&&e.jsxs(H,{children:[e.jsx(w.default,{alt:"",width:650,height:427,priority:!0,quality:100,src:F[0],style:{objectFit:"fill",height:"100%",width:"100%",filter:"blur(60px)",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"}}),e.jsx(u.Lock,{size:40,color:"white",sx:"z-index: 1"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",zIndex:1},children:[e.jsx(h.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"Become a member"}),e.jsx(h.P,{$color:"white",$fontSize:14,$bold:!0,$lineHeight:20,children:"to unlock this post"})]}),e.jsx(L,{onClick:X,style:{zIndex:1,marginTop:0},children:e.jsxs(h.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",G," per month"]})})]}),!!F?.length&&!se&&!W&&e.jsxs(C,{$numImages:F.length,children:[F.slice(0,4).map((t,i)=>e.jsx(q,{children:e.jsx(w.default,{alt:"",fill:!0,onClick:()=>{V?.(i),ne(i)},quality:100,src:t,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})},`${N}${t.slice(0,15)}${i}`)),F.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:["+",F.length-4]})]}),!F?.length&&!se&&J&&!W&&e.jsxs(j.default,{href:J.url,target:"_blank",children:[e.jsx(q,{children:e.jsx(w.default,{alt:"",fill:!0,quality:100,src:J.imageUrl,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})}),e.jsxs(s.Box,{$dir:"column",$gap:8,sx:"padding: 8px 16px;",children:[e.jsx(h.P,{$color:"grey-2",$semiBold:!0,children:J.title}),e.jsx(h.P,{$color:"grey-5",children:J.description})]})]}),se&&e.jsx(z,{children:ae?e.jsxs("video",{ref:ie,style:{width:"100%",height:"100%"},controls:!0,playsInline:!0,poster:D.thumbnail,children:[D.videoUrls.webm&&e.jsx("source",{src:D.videoUrls.webm,type:"video/webm; codecs=vp9"}),D.videoUrls.mp4&&e.jsx("source",{src:D.videoUrls.mp4,type:"video/mp4; codecs=avc1.42E01E"}),"Your browser does not support the video tag."]}):e.jsx(f.Video,{src:D.url,thumbnail:D.thumbnail,subtitles:[],title:D?.title})}),!!de.length&&e.jsx(P,{children:!W&&de}),A&&!!he.length&&e.jsx(S,{children:he})]})};
141
+ `;exports.Post=({actions:i,author:r,authorActive:t,authorHref:o,authorImage:s,avatarTooltipContent:b,avatarTooltipSx:A,children:M,content:U,createdDate:F,dropdown:B,hasComments:T,id:W,images:D,isPaidUser:J,isPaywalled:V=!1,link:X,video:G,onJoin:N,monthlyMembershipPrice:O,onImageClick:Y})=>{const K=y.default.useId(),Q=y.default.useRef(null),[Z,ee]=y.default.useState(!1),[ie,re]=y.default.useState(-1),[te,oe]=y.default.useState(!1);y.default.useRef(null);const[se,ne]=y.default.useState(-1),[ae,le]=y.default.useState({x:"30vw",y:"30vh"}),de=!!G?.url&&!!G?.thumbnail,ce=G?.displayHtmlVideo,[ue,he]=y.default.useState(!1),pe=y.default.useRef(null);y.default.useEffect(()=>{if(Q.current&&U?.length>0){const e=24,i=Math.ceil(Q.current.offsetHeight/e);if(re(i),!Z)try{const i=Q.current.style.webkitLineClamp;Q.current.style.webkitLineClamp="none";const r=Q.current.offsetHeight,t=Math.ceil(r/e);Q.current.style.webkitLineClamp=i,oe(t>3)}catch(e){oe(i>=3)}}else re(-1),oe(!1)},[U,Z]),y.default.useEffect(()=>{const e=e=>{"ArrowLeft"===e.key?me():"ArrowRight"===e.key?je():"Escape"!==e.key&&"Enter"!==e.key||ne(-1)};return"undefined"!=typeof document&&D?.length&&se>-1&&document.addEventListener("keydown",e),()=>{D?.length&&document.removeEventListener("keydown",e)}},[]);const xe=y.default.Children.toArray(i),ge=y.default.Children.toArray(M),je=()=>{ne(e=>D?.length&&e!==D.length-1?e+1:e)},me=()=>{ne(e=>D?.length&&0!==e?e-1:e)};return e.jsxs($,{id:W,children:[se>-1&&!!D?.[se]&&e.jsx(u.Modal,{alwaysRender:!1,controlledOpen:!0,onChange:e=>!e&&ne(-1),children:e.jsxs(u.Modal.Content,{sx:`\n position: relative; \n height: ${ae.y}; \n width: ${ae.x};\n margin: 0 auto;\n `,children:[e.jsx(E,{$side:"left",$visible:0!==se,onClick:me,children:e.jsx(g.ChevronLeft,{color:"white",size:48})}),e.jsx(v.default,{alt:"",fill:!0,quality:100,onLoad:e=>{const{naturalHeight:i,naturalWidth:r}=e.target;let t=`${r}px`,o=`${i}px`;window?.innerHeight<i&&window?.innerWidth<r?(t=`${Math.floor(.95*window.innerHeight*r/i)}px`,o=`${Math.round(.95*window.innerWidth*i/r)}px`):window?.innerHeight<i?(t=`${Math.floor(.95*window.innerHeight*r/i)}px`,o="95vh"):window?.innerWidth<r&&(t="95vw",o=`${Math.round(.95*window.innerWidth*i/r)}px`),le({x:t,y:o})},draggable:!1,priority:!0,sizes:"100vw",src:D[se],style:{objectFit:"cover"}}),e.jsx(E,{$side:"right",$visible:se!==D.length-1,onClick:je,children:e.jsx(j.ChevronRight,{color:"white",size:48})})]})}),e.jsxs(k,{children:[e.jsx(p.Avatar,{isPaidUser:J,as:o?w.default:"button",href:o,image:s,size:64,status:t?"online":void 0,subtitle:e.jsx(c.P,{as:"span",sx:"vertical-align: top;",$fontSize:14,$lineHeight:20,children:e.jsx(h.TimeAgo,{date:new Date(F)})}),title:e.jsx(d.H,{as:o?w.default:"span",href:o,sx:"text-decoration:none;",$bold:!0,$fontSize:18,$lineHeight:26,children:r}),textPosition:"right",tooltipContent:b,tooltipSx:A,sx:o?"img { cursor: pointer; }":void 0}),B]}),!!U?.length&&e.jsxs("div",{style:{padding:"16px 24px"},children:[V&&ie>1?e.jsx(q.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(l.Highlighter,{highlightRender:i=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:i,target:"_blank",children:i})}),seperator:n.URL_REGEX,text:U})})}):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(l.Highlighter,{highlightRender:i=>e.jsx(c.P,{as:"span",$color:"primary-blue-2",children:e.jsx(w.default,{href:i,target:"_blank",children:i})}),seperator:n.URL_REGEX,text:V&&1===ie?"This is a premium post. Join to the membership to unlock the full access.":U})}),te&&!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(I,{onClick:N,children:e.jsxs(c.P,{$fontSize:14,$mediumBold:!0,children:["Join now for $",O," per month"]})})]}),V&&!!D?.length&&!de&&e.jsxs(H,{children:[e.jsx(v.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(I,{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(z,{$numImages:D.length,children:[D.slice(0,4).map((i,r)=>e.jsx(P,{children:e.jsx(v.default,{alt:"",fill:!0,onClick:()=>{Y?.(r),ne(r)},quality:100,src:i,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})},`${K}${i.slice(0,15)}${r}`)),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(v.default,{alt:"",fill:!0,quality:100,src:X.imageUrl,draggable:!1,style:{cursor:"pointer",objectFit:"cover"}})}),e.jsxs(a.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?ue?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(_,{onClick:()=>{he(!0),setTimeout(()=>{pe.current?.play()},100)},children:[e.jsx(v.default,{src:G.thumbnail,alt:"Video thumbnail",fill:!0,style:{objectFit:"cover",borderRadius:"inherit"},priority:!0,draggable:!1}),e.jsx(C,{children:e.jsx(f.Play,{size:32,color:"white"})})]}):e.jsx(m.Video,{src:G.url,thumbnail:G.thumbnail,subtitles:[],title:G?.title})}),!!xe.length&&e.jsx(L,{children:!V&&xe}),T&&!!ge.length&&e.jsx(R,{children:ge})]})};
@@ -4,14 +4,14 @@
4
4
  * @param format An array of strings representing acceptable MIME types.
5
5
  * @returns A promise that resolves with 'format' if the file's MIME type is not in the provided list; otherwise, resolves with null.
6
6
  */
7
- export declare const validateFormat: (file: File, format: string[]) => Promise<"format" | null>;
7
+ export declare const validateFormat: (file: File, format: string[]) => Promise<string>;
8
8
  /**
9
9
  * Asynchronously validates the size of a given file against a specified limit.
10
10
  * @param file The file object to be validated.
11
11
  * @param size A string representing the maximum file size (e.g., "10MB").
12
12
  * @returns A promise that resolves with 'size' if the file exceeds the specified size; otherwise, resolves with null.
13
13
  */
14
- export declare const validateSize: (file: File, size: string) => Promise<"size" | null>;
14
+ export declare const validateSize: (file: File, size: string) => Promise<string>;
15
15
  export interface DimensionOptions {
16
16
  width?: number;
17
17
  height?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../../../src/components/actions/upload/validations.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,SAAgB,IAAI,UAAU,MAAM,EAAE,6BAKhE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,SAAgB,IAAI,QAAQ,MAAM,2BAK1D,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,SACvB,IAAI,WACD,gBAAgB,KACxB,QAAQ,MAAM,EAAE,CA8ClB,CAAC;AACF,eAAO,MAAM,YAAY,SACjB,IAAI,cACE;IACV,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,gBAAgB,KACnB,QAAQ,MAAM,EAAE,CAkBlB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D,eAAO,MAAM,YAAY,EAAE,MAAM,CAC/B,WAAW,EACX,MAAM,CAAC,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,OAAO,GAAG,aAAa,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,CAkD7E,CAAC;AACF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC"}
1
+ {"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../../../src/components/actions/upload/validations.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,SAAgB,IAAI,UAAU,MAAM,EAAE,oBAKhE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,SAAgB,IAAI,QAAQ,MAAM,oBAK1D,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,SACvB,IAAI,WACD,gBAAgB,KACxB,QAAQ,MAAM,EAAE,CA8ClB,CAAC;AACF,eAAO,MAAM,YAAY,SACjB,IAAI,cACE;IACV,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,gBAAgB,KACnB,QAAQ,MAAM,EAAE,CAkBlB,CAAC;AACF,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D,eAAO,MAAM,YAAY,EAAE,MAAM,CAC/B,WAAW,EACX,MAAM,CAAC,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,OAAO,GAAG,aAAa,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,CAkD7E,CAAC;AACF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC"}
@@ -17,7 +17,7 @@ export interface BoxProps extends BackgroundColor, BorderRadius, Elevation, Flex
17
17
  }
18
18
  export declare const Box: ({ $display, sx, ...args }: BoxProps) => import("react/jsx-runtime").JSX.Element;
19
19
  export declare const Component: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps & {
20
- $sx?: string | undefined;
20
+ $sx?: string;
21
21
  }>>;
22
22
  export {};
23
23
  //# sourceMappingURL=box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/box/box.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,KAAK,WAAW,GAAG,IAAI,CACrB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAClC,UAAU,GACV,WAAW,GACX,yBAAyB,GACzB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,cAAc,GACd,YAAY,GACZ,aAAa,GACb,OAAO,CACV,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,MAAM,WAAW,QACf,SAAQ,eAAe,EACrB,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,EACT,WAAW;IACb,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,GAAG,8BAAwC,QAAQ,4CAE/D,CAAC;AAEF,eAAO,MAAM,SAAS;;GAUrB,CAAC"}
1
+ {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/box/box.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,KAAK,WAAW,GAAG,IAAI,CACrB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAClC,UAAU,GACV,WAAW,GACX,yBAAyB,GACzB,QAAQ,GACR,eAAe,GACf,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,oBAAoB,GACpB,cAAc,GACd,cAAc,GACd,YAAY,GACZ,aAAa,GACb,OAAO,CACV,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,MAAM,WAAW,QACf,SAAQ,eAAe,EACrB,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,MAAM,EACN,OAAO,EACP,WAAW,EACX,SAAS,EACT,WAAW;IACb,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,GAAG,8BAAwC,QAAQ,4CAE/D,CAAC;AAEF,eAAO,MAAM,SAAS;UAAiC,MAAM;GAU5D,CAAC"}
@@ -17,14 +17,14 @@ export interface FilterComponentProps {
17
17
  export declare const EditorContext: React.Context<{
18
18
  commentInputLoader: (props: CommentInputProps) => React.ReactElement;
19
19
  commentLoader: (props: CommentLoaderProps) => React.ReactElement;
20
- handleVideoClick?: ((id: number) => void) | undefined;
20
+ handleVideoClick?: (id: number) => void;
21
21
  imageSrcLoader: (id: number) => Promise<string>;
22
22
  videoTitleLoader: (props: {
23
23
  courseMediaId: number;
24
24
  }) => React.ReactElement;
25
- filterComponent?: React.ComponentType<FilterComponentProps> | undefined;
26
- defaultFilter?: string | undefined;
27
- hideShowAnswersButton?: boolean | undefined;
28
- showAnswersBelowInput?: boolean | undefined;
25
+ filterComponent?: React.ComponentType<FilterComponentProps>;
26
+ defaultFilter?: string;
27
+ hideShowAnswersButton?: boolean;
28
+ showAnswersBelowInput?: boolean;
29
29
  }>;
30
30
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa;wBACJ,CAAC,KAAK,EAAE,iBAAiB,KAAK,MAAM,YAAY;mBACrD,CAAC,KAAK,EAAE,kBAAkB,KAAK,MAAM,YAAY;6BACxC,MAAM,KAAK,IAAI;oBACvB,CAAC,EAAE,EAAE,MAAM,KAAK,QAAQ,MAAM,CAAC;sBAC7B,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,YAAY;;;;;EAe1E,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAClD,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa;wBACJ,CAAC,KAAK,EAAE,iBAAiB,KAAK,MAAM,YAAY;mBACrD,CAAC,KAAK,EAAE,kBAAkB,KAAK,MAAM,YAAY;uBAC7C,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI;oBACvB,CAAC,EAAE,EAAE,MAAM,KAAK,QAAQ,MAAM,CAAC;sBAC7B,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,YAAY;sBACxD,MAAM,aAAa,CAAC,oBAAoB,CAAC;oBAC3C,MAAM;4BACE,OAAO;4BACP,OAAO;EAW/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const EditorBar: () => import("react/jsx-runtime").JSX.Element;
3
3
  export declare const MenuButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
4
- $active?: boolean | undefined;
4
+ $active?: boolean;
5
5
  }>>;
6
6
  //# sourceMappingURL=navbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/navbar/navbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,eAAO,MAAM,SAAS,+CAuOrB,CAAC;AA6BF,eAAO,MAAM,UAAU;;GA+BtB,CAAC"}
1
+ {"version":3,"file":"navbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/navbar/navbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6C1B,eAAO,MAAM,SAAS,+CAuOrB,CAAC;AA6BF,eAAO,MAAM,UAAU;cACX,OAAO;GA8BlB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const blocks: (import("@udecode/plate-core").PlatePlugin<import("@udecode/utils").AnyObject, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").HotkeyPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-code-block").CodeBlockPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-heading").HeadingsPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-media").ImagePlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-indent").IndentPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-indent-list").IndentListPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-media").MediaPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-reset-node").ResetNodePlugin<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-table").TablePlugin<import("@udecode/slate").Value>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>)[];
1
+ export declare const blocks: (import("@udecode/plate-core").PlatePlugin<import("@udecode/utils").AnyObject, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").HotkeyPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-heading").HeadingsPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-indent").IndentPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-indent-list").IndentListPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-media").MediaPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-reset-node").ResetNodePlugin<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-table").TablePlugin<import("@udecode/slate").Value>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>)[];
2
2
  //# sourceMappingURL=blocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/blocks.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,MAAM,wkEA2ClB,CAAC"}
1
+ {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/blocks.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,MAAM,yrDA2ClB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { PlateElementProps } from '@udecode/plate';
3
3
  export declare const Button: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
4
- export declare const createButtonsPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
4
+ export declare const createButtonsPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
5
5
  //# sourceMappingURL=buttons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAQL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,MAAM,4FAqFjB,CAAC;AAyBH,eAAO,MAAM,mBAAmB,ghBAa9B,CAAC"}
1
+ {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAQL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,MAAM,4FAqFjB,CAAC;AAyBH,eAAO,MAAM,mBAAmB,wfAa9B,CAAC"}
@@ -7,20 +7,20 @@ export declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.Dropdown
7
7
  export declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
8
  export declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
9
  export declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean | undefined;
10
+ inset?: boolean;
11
11
  } & React.RefAttributes<HTMLDivElement>>;
12
12
  export declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- export declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
15
- inset?: boolean | null | undefined;
16
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: {
15
+ inset?: boolean;
16
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
17
17
  export declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  export declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
19
- hideIcon?: boolean | undefined;
19
+ hideIcon?: boolean;
20
20
  } & React.RefAttributes<HTMLDivElement>>;
21
- export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
22
- inset?: boolean | null | undefined;
23
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
21
+ export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: {
22
+ inset?: boolean;
23
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
24
24
  export declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
25
  export declare const DropdownMenuShortcut: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
26
26
  export declare const useOpenState: () => {
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAavE,eAAO,MAAM,YAAY,mDAA6B,CAAC;AACvD,eAAO,MAAM,mBAAmB,0HAAgC,CAAC;AACjE,eAAO,MAAM,iBAAiB,qHAA8B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,yDAA+B,CAAC;AAC/D,eAAO,MAAM,eAAe,sDAA4B,CAAC;AACzD,eAAO,MAAM,sBAAsB,0HAAmC,CAAC;AAEvE,eAAO,MAAM,sBAAsB;;wCAmBjC,CAAC;AAEH,eAAO,MAAM,sBAAsB,6KAGlC,CAAC;AASF,eAAO,MAAM,mBAAmB,0KAM9B,CAAC;AAgBH,eAAO,MAAM,gBAAgB;;sHAI5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,+KAmBnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;wCAwBhC,CAAC;AAaH,eAAO,MAAM,iBAAiB;;sHAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4KAGjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,0NAGhC,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAcxB,CAAC"}
1
+ {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAavE,eAAO,MAAM,YAAY,mDAA6B,CAAC;AACvD,eAAO,MAAM,mBAAmB,0HAAgC,CAAC;AACjE,eAAO,MAAM,iBAAiB,qHAA8B,CAAC;AAC7D,eAAO,MAAM,kBAAkB,yDAA+B,CAAC;AAC/D,eAAO,MAAM,eAAe,sDAA4B,CAAC;AACzD,eAAO,MAAM,sBAAsB,0HAAmC,CAAC;AAEvE,eAAO,MAAM,sBAAsB;YAGvB,OAAO;wCAgBjB,CAAC;AAEH,eAAO,MAAM,sBAAsB,6KAGlC,CAAC;AASF,eAAO,MAAM,mBAAmB,0KAM9B,CAAC;AAgBH,eAAO,MAAM,gBAAgB;;8GAI5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,+KAmBnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;eAGnB,OAAO;wCAqBpB,CAAC;AAaH,eAAO,MAAM,iBAAiB;;8GAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4KAGjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,0NAGhC,CAAC;AAEF,eAAO,MAAM,YAAY;;;CAcxB,CAAC"}
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  export declare const ImageElement: React.ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
3
3
  element: import("@udecode/slate").TElement;
4
4
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- asChild?: boolean | undefined;
5
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
6
+ asChild?: boolean;
7
7
  } & React.RefAttributes<any> & {
8
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
8
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
9
9
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<any>, "ref"> & React.RefAttributes<unknown>>;
10
10
  //# sourceMappingURL=image.d.ts.map
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- export declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "inlineLink" | null | undefined;
5
- size?: "default" | "xs" | "sm" | "sms" | "lg" | "icon" | "none" | null | undefined;
6
- isMenu?: boolean | null | undefined;
7
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
- export declare const Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "inlineLink" | null | undefined;
10
- size?: "default" | "xs" | "sm" | "sms" | "lg" | "icon" | "none" | null | undefined;
11
- isMenu?: boolean | null | undefined;
12
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
13
- asChild?: boolean | undefined;
3
+ export declare const buttonVariants: (props?: {
4
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "inlineLink";
5
+ size?: "default" | "xs" | "sm" | "sms" | "lg" | "icon" | "none";
6
+ isMenu?: boolean;
7
+ } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ export declare const Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: {
9
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "inlineLink";
10
+ size?: "default" | "xs" | "sm" | "sms" | "lg" | "icon" | "none";
11
+ isMenu?: boolean;
12
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & {
13
+ asChild?: boolean;
14
14
  } & React.RefAttributes<HTMLButtonElement>>;
15
15
  //# sourceMappingURL=plate-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plate-button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/plate-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,cAAc;;;;8EAkC1B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;2CAejB,CAAC"}
1
+ {"version":3,"file":"plate-button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/plate-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,eAAO,MAAM,cAAc;;;;sEAkC1B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;cAGL,OAAO;2CAYnB,CAAC"}
@@ -3,6 +3,6 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
3
  export declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
4
  export declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  export declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
6
- export declare const popoverVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
+ export declare const popoverVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
7
7
  export declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
8
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,eAAO,MAAM,OAAO,yCAAwB,CAAC;AAC7C,eAAO,MAAM,cAAc,gHAA2B,CAAC;AACvD,eAAO,MAAM,aAAa,4GAA0B,CAAC;AAErD,eAAO,MAAM,eAAe,oFAE3B,CAAC;AAEF,eAAO,MAAM,cAAc,gKAa1B,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAI5D,eAAO,MAAM,OAAO,yCAAwB,CAAC;AAC7C,eAAO,MAAM,cAAc,gHAA2B,CAAC;AACvD,eAAO,MAAM,aAAa,4GAA0B,CAAC;AAErD,eAAO,MAAM,eAAe,6EAE3B,CAAC;AAEF,eAAO,MAAM,cAAc,gKAa1B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { PlateElementProps } from '@udecode/plate';
3
3
  export declare const QuestionAnswerElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
4
- export declare const createQAPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
4
+ export declare const createQAPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
5
5
  //# sourceMappingURL=qa.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"qa.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/qa.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAGL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAWxB,eAAO,MAAM,qBAAqB,4FA4GhC,CAAC;AAUH,eAAO,MAAM,cAAc,ghBAKzB,CAAC"}
1
+ {"version":3,"file":"qa.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/qa.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAGL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAWxB,eAAO,MAAM,qBAAqB,4FA4GhC,CAAC;AAUH,eAAO,MAAM,cAAc,wfAKzB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
- export declare const mediaResizeHandleVariants: (props?: ({
3
- direction?: "left" | "right" | null | undefined;
4
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2
+ export declare const mediaResizeHandleVariants: (props?: {
3
+ direction?: "left" | "right";
4
+ } & import("class-variance-authority/dist/types").ClassProp) => string;
5
5
  export declare const ResizeHandle: React.ForwardRefExoticComponent<Omit<{
6
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
7
- asChild?: boolean | undefined;
8
- className?: string | undefined;
9
- style?: React.CSSProperties | undefined;
10
- options?: import("@udecode/plate-resizable").ResizeHandleOptions | undefined;
6
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
7
+ asChild?: boolean;
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ options?: import("@udecode/plate-resizable").ResizeHandleOptions;
11
11
  state?: {
12
12
  isResizing: boolean;
13
13
  setIsResizing: React.Dispatch<React.SetStateAction<boolean>>;
@@ -18,23 +18,23 @@ export declare const ResizeHandle: React.ForwardRefExoticComponent<Omit<{
18
18
  isHorizontal: boolean;
19
19
  direction: import("@udecode/plate-resizable").ResizeDirection;
20
20
  onResize: (event: import("@udecode/plate-resizable").ResizeEvent) => void;
21
- onMouseDown: React.MouseEventHandler<Element> | undefined;
22
- onTouchStart: React.TouchEventHandler<Element> | undefined;
23
- onHover: (() => void) | undefined;
24
- onHoverEnd: (() => void) | undefined;
25
- } | undefined;
26
- setProps?: ((hookProps: {
21
+ onMouseDown: React.MouseEventHandler<Element>;
22
+ onTouchStart: React.TouchEventHandler<Element>;
23
+ onHover: () => void;
24
+ onHoverEnd: () => void;
25
+ };
26
+ setProps?: (hookProps: {
27
27
  onMouseDown: React.MouseEventHandler<Element>;
28
28
  onTouchStart: React.TouchEventHandler<Element>;
29
29
  onMouseOver: () => void;
30
30
  onMouseOut: () => void;
31
31
  onTouchMove: () => void;
32
32
  onTouchEnd: () => void;
33
- }) => Omit<React.HTMLAttributes<HTMLDivElement>, "onResize">) | undefined;
33
+ }) => Omit<React.HTMLAttributes<HTMLDivElement>, "onResize">;
34
34
  } & Omit<React.HTMLAttributes<HTMLDivElement>, "onResize"> & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
35
35
  export declare const Resizable: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
36
36
  options: import("@udecode/plate-resizable").ResizableOptions;
37
- } & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
38
- align?: "left" | "right" | "center" | null | undefined;
39
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
37
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: {
38
+ align?: "left" | "right" | "center";
39
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
40
40
  //# sourceMappingURL=resizable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,yBAAyB;;8EAarC,CAAC;AAmBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAQxB,CAAC;AAYF,eAAO,MAAM,SAAS;;;;sHAEpB,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,yBAAyB;;sEAarC,CAAC;AAmBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAQxB,CAAC;AAYF,eAAO,MAAM,SAAS;;;;8GAEpB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
- export declare const Separator: import("react").ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
4
- orientation?: "horizontal" | "vertical" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
3
+ export declare const Separator: import("react").ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: {
4
+ orientation?: "horizontal" | "vertical";
5
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & import("react").RefAttributes<HTMLDivElement>>;
6
6
  //# sourceMappingURL=separator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/separator.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAgBhE,eAAO,MAAM,SAAS;;gIAMrB,CAAC"}
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/separator.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAgBhE,eAAO,MAAM,SAAS;;wHAMrB,CAAC"}
@@ -2,23 +2,23 @@ import React from 'react';
2
2
  export declare const TableCellElement: React.ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
3
3
  element: import("@udecode/slate").TElement;
4
4
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- asChild?: boolean | undefined;
5
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
6
+ asChild?: boolean;
7
7
  } & React.RefAttributes<any> & {
8
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
8
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
9
9
  } & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- hideBorder?: boolean | undefined;
11
- isHeader?: boolean | undefined;
10
+ hideBorder?: boolean;
11
+ isHeader?: boolean;
12
12
  } & React.RefAttributes<any>>;
13
13
  export declare const TableCellHeaderElement: React.ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
14
14
  element: import("@udecode/slate").TElement;
15
15
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
17
- asChild?: boolean | undefined;
16
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
17
+ asChild?: boolean;
18
18
  } & React.RefAttributes<any> & {
19
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
19
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
20
20
  } & React.RefAttributes<HTMLDivElement>, "ref"> & {
21
- hideBorder?: boolean | undefined;
22
- isHeader?: boolean | undefined;
21
+ hideBorder?: boolean;
22
+ isHeader?: boolean;
23
23
  } & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;
24
24
  //# sourceMappingURL=table-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,eAAO,MAAM,gBAAgB;;;;;;;;;;6BA2H3B,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;gEAEjC,CAAC"}
1
+ {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/table-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,eAAO,MAAM,gBAAgB;;;;;;;;iBAGZ,OAAO;eACT,OAAO;6BAuHpB,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;iBA3HlB,OAAO;eACT,OAAO;gEA4HpB,CAAC"}
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  export declare const TableRowElement: React.ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
3
3
  element: import("@udecode/slate").TElement;
4
4
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- asChild?: boolean | undefined;
5
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
6
+ asChild?: boolean;
7
7
  } & React.RefAttributes<any> & {
8
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
8
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
9
9
  } & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- hideBorder?: boolean | undefined;
10
+ hideBorder?: boolean;
11
11
  } & React.RefAttributes<any>>;
12
12
  //# sourceMappingURL=table-row.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe;;;;;;;;;6BAgB1B,CAAC"}
1
+ {"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/table-row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe;;;;;;;;iBAGX,OAAO;6BAatB,CAAC"}
@@ -5,9 +5,9 @@ export declare const TableFloatingToolbar: React.ForwardRefExoticComponent<Omit<
5
5
  export declare const TableElement: React.ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
6
6
  element: import("@udecode/slate").TElement;
7
7
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
9
- asChild?: boolean | undefined;
8
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
9
+ asChild?: boolean;
10
10
  } & React.RefAttributes<any> & {
11
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
11
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
12
12
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<any>, "ref"> & React.RefAttributes<unknown>>;
13
13
  //# sourceMappingURL=table.d.ts.map
@@ -1,17 +1,17 @@
1
1
  import React from 'react';
2
2
  import { PlateElementProps } from '@udecode/plate';
3
3
  export declare const ParagraphElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
4
- export declare const createParagraphPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
4
+ export declare const createParagraphPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
5
5
  export declare const HOneElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
6
- export declare const createHOnePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
6
+ export declare const createHOnePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
7
7
  export declare const HTwoElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
8
- export declare const createHTwoPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
8
+ export declare const createHTwoPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
9
9
  export declare const HThreeElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
10
- export declare const createHThreePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
10
+ export declare const createHThreePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
11
11
  export declare const HFourElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
12
- export declare const createHFourPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
12
+ export declare const createHFourPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
13
13
  export declare const HFiveElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
14
- export declare const createHFivePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
14
+ export declare const createHFivePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
15
15
  export declare const HSixElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
16
- export declare const createHSixPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
16
+ export declare const createHSixPlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
17
17
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,iBAAiB,EAGlB,MAAM,gBAAgB,CAAC;AASxB,eAAO,MAAM,gBAAgB,4FAiB3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,ghBAIhC,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,ghBAI3B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,ghBAI3B,CAAC;AAEH,eAAO,MAAM,aAAa,4FAYxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,ghBAI7B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,ghBAI5B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,ghBAI5B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,ghBAI3B,CAAC"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,iBAAiB,EAGlB,MAAM,gBAAgB,CAAC;AASxB,eAAO,MAAM,gBAAgB,4FAiB3B,CAAC;AAEH,eAAO,MAAM,qBAAqB,wfAIhC,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,wfAI3B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,wfAI3B,CAAC;AAEH,eAAO,MAAM,aAAa,4FAYxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,wfAI7B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,wfAI5B,CAAC;AAEH,eAAO,MAAM,YAAY,4FAYvB,CAAC;AAEH,eAAO,MAAM,iBAAiB,wfAI5B,CAAC;AAEH,eAAO,MAAM,WAAW,4FAYtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,wfAI3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { PlateElementProps } from '@udecode/plate';
3
3
  export declare const VideoTitleElement: React.ForwardRefExoticComponent<Omit<PlateElementProps, "ref"> & React.RefAttributes<any>>;
4
- export declare const createVideoTitlePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
4
+ export declare const createVideoTitlePlugin: <OP = import("@udecode/utils").AnyObject, OV extends import("@udecode/slate").Value = import("@udecode/slate").Value, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>>, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE>) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
5
5
  //# sourceMappingURL=video.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,iBAAiB,4FAoC5B,CAAC;AAEH,eAAO,MAAM,sBAAsB,ghBAcjC,CAAC"}
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/blocks/video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,iBAAiB,EAElB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,iBAAiB,4FAoC5B,CAAC;AAEH,eAAO,MAAM,sBAAsB,wfAcjC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { PlateElementProps, TEditableProps, TLinkElement, Value } from '@udecode/plate';
3
3
  export declare const LinkElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<Value, TLinkElement>, "ref"> & React.RefAttributes<any>>;
4
- export declare const LinkFloatingMenu: ({ readOnly }: TEditableProps) => import("react/jsx-runtime").JSX.Element | null;
4
+ export declare const LinkFloatingMenu: ({ readOnly }: TEditableProps) => import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/leafs/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAIL,iBAAiB,EACjB,cAAc,EACd,YAAY,EAOZ,KAAK,EACN,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,WAAW,iHAWtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,iBAAkB,cAAc,mDAwG5D,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/leafs/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAIL,iBAAiB,EACjB,cAAc,EACd,YAAY,EAOZ,KAAK,EACN,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,WAAW,iHAWtB,CAAC;AAEH,eAAO,MAAM,gBAAgB,iBAAkB,cAAc,4CAwG5D,CAAC"}
@@ -12,93 +12,93 @@ export declare const plateUI: {
12
12
  ol: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
13
13
  element: import("@udecode/slate").TElement;
14
14
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
- asChild?: boolean | undefined;
15
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
16
+ asChild?: boolean;
17
17
  } & import("react").RefAttributes<any>, "ref"> & {
18
- ref?: ((instance: any) => void) | import("react").RefObject<any> | null | undefined;
18
+ ref?: import("react").Ref<any>;
19
19
  } & {
20
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
20
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
21
21
  } & {
22
22
  variant: "ol" | "ul";
23
23
  }, "ref"> & import("react").RefAttributes<any>>;
24
24
  ul: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
25
25
  element: import("@udecode/slate").TElement;
26
26
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
27
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
- asChild?: boolean | undefined;
27
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
28
+ asChild?: boolean;
29
29
  } & import("react").RefAttributes<any>, "ref"> & {
30
- ref?: ((instance: any) => void) | import("react").RefObject<any> | null | undefined;
30
+ ref?: import("react").Ref<any>;
31
31
  } & {
32
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
32
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
33
33
  } & {
34
34
  variant: "ol" | "ul";
35
35
  }, "ref"> & import("react").RefAttributes<any>>;
36
36
  img: import("react").ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
37
37
  element: import("@udecode/slate").TElement;
38
38
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
39
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
- asChild?: boolean | undefined;
39
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
40
+ asChild?: boolean;
41
41
  } & import("react").RefAttributes<any> & {
42
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
42
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
43
43
  } & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<unknown>>;
44
44
  button: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-utils").PlateElementProps, "ref"> & import("react").RefAttributes<any>>;
45
45
  table: import("react").ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
46
46
  element: import("@udecode/slate").TElement;
47
47
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
48
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
49
- asChild?: boolean | undefined;
48
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
49
+ asChild?: boolean;
50
50
  } & import("react").RefAttributes<any> & {
51
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
51
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
52
52
  } & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<unknown>>;
53
53
  td: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
54
54
  element: import("@udecode/slate").TElement;
55
55
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
56
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
57
- asChild?: boolean | undefined;
56
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
57
+ asChild?: boolean;
58
58
  } & import("react").RefAttributes<any> & {
59
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
59
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
60
60
  } & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
61
- hideBorder?: boolean | undefined;
62
- isHeader?: boolean | undefined;
61
+ hideBorder?: boolean;
62
+ isHeader?: boolean;
63
63
  } & import("react").RefAttributes<any>>;
64
64
  th: import("react").ForwardRefExoticComponent<Omit<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
65
65
  element: import("@udecode/slate").TElement;
66
66
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
67
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
68
- asChild?: boolean | undefined;
67
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
68
+ asChild?: boolean;
69
69
  } & import("react").RefAttributes<any> & {
70
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
70
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
71
71
  } & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
72
- hideBorder?: boolean | undefined;
73
- isHeader?: boolean | undefined;
72
+ hideBorder?: boolean;
73
+ isHeader?: boolean;
74
74
  } & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<any>>;
75
75
  tr: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderElementProps, "element"> & {
76
76
  element: import("@udecode/slate").TElement;
77
77
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
78
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
79
- asChild?: boolean | undefined;
78
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
79
+ asChild?: boolean;
80
80
  } & import("react").RefAttributes<any> & {
81
- elementToAttributes?: ((element: import("@udecode/slate").TElement) => any) | undefined;
81
+ elementToAttributes?: (element: import("@udecode/slate").TElement) => any;
82
82
  } & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
83
- hideBorder?: boolean | undefined;
83
+ hideBorder?: boolean;
84
84
  } & import("react").RefAttributes<any>>;
85
85
  subscript: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderLeafProps, "leaf" | "text"> & {
86
86
  leaf: import("@udecode/slate").TText;
87
87
  text: import("@udecode/slate").TText;
88
88
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
89
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
90
- asChild?: boolean | undefined;
89
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
90
+ asChild?: boolean;
91
91
  } & import("react").RefAttributes<any> & {
92
- leafToAttributes?: ((leaf: import("@udecode/slate").TText) => any) | undefined;
92
+ leafToAttributes?: (leaf: import("@udecode/slate").TText) => any;
93
93
  } & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<any>>;
94
94
  superscript: import("react").ForwardRefExoticComponent<Omit<import("@udecode/plate-core").PlateRenderNodeProps<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> & Omit<import("slate-react").RenderLeafProps, "leaf" | "text"> & {
95
95
  leaf: import("@udecode/slate").TText;
96
96
  text: import("@udecode/slate").TText;
97
97
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
98
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
99
- asChild?: boolean | undefined;
98
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
99
+ asChild?: boolean;
100
100
  } & import("react").RefAttributes<any> & {
101
- leafToAttributes?: ((leaf: import("@udecode/slate").TText) => any) | undefined;
101
+ leafToAttributes?: (leaf: import("@udecode/slate").TText) => any;
102
102
  } & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<any>>;
103
103
  };
104
104
  //# sourceMappingURL=plate.d.ts.map
@@ -2,7 +2,7 @@ export declare const resetBlockTypePlugin: {
2
2
  options: {
3
3
  rules: {
4
4
  hotkey: string;
5
- predicate: <V extends import("@udecode/slate").Value>(editor: import("@udecode/slate").TEditor<V>, options?: import("@udecode/slate").GetAboveNodeOptions<V> | undefined) => boolean;
5
+ predicate: <V extends import("@udecode/slate").Value>(editor: import("@udecode/slate").TEditor<V>, options?: import("@udecode/slate").GetAboveNodeOptions<V>) => boolean;
6
6
  types: string[];
7
7
  defaultType: string;
8
8
  }[];
@@ -1,2 +1,2 @@
1
- export declare const utils: (import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-break").ExitBreakPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/utils").AnyObject, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-reset-node").ResetNodePlugin<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-select").SelectOnBackspacePlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-break").SoftBreakPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>)[];
1
+ export declare const utils: (import("@udecode/plate-core").PlatePlugin<import("@udecode/utils").AnyObject, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-reset-node").ResetNodePlugin<import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-select").SelectOnBackspacePlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>> | import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-break").SoftBreakPlugin, import("@udecode/slate").Value, import("@udecode/plate-core").PlateEditor<import("@udecode/slate").Value>>)[];
2
2
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/utils/utils.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK,mlCAMjB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/plugins/utils/utils.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK,44BAMjB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const MenuButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
3
- $active?: boolean | undefined;
3
+ $active?: boolean;
4
4
  }>>;
5
5
  //# sourceMappingURL=menu_button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu_button.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/styles/menu_button.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,UAAU;;GA+BtB,CAAC"}
1
+ {"version":3,"file":"menu_button.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/styles/menu_button.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,UAAU;cACX,OAAO;GA8BlB,CAAC"}
@@ -75,5 +75,5 @@ export interface VideoPlayerProps {
75
75
  * ReactPlayer props reference -> https://www.npmjs.com/package/react-player#props
76
76
  * HLS Option props reference -> https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning
77
77
  */
78
- export declare const VideoPlayer: ({ activeIndex, pip, playable, playlist, onClickPreview, onPipChange, onProgress, onStart, orientation, setMediaItem, onShowAllPlaylist, forwardedRef, subtitle, title, trailer, additionalMedia, }: VideoPlayerProps) => import("react/jsx-runtime").JSX.Element | null;
78
+ export declare const VideoPlayer: ({ activeIndex, pip, playable, playlist, onClickPreview, onPipChange, onProgress, onStart, orientation, setMediaItem, onShowAllPlaylist, forwardedRef, subtitle, title, trailer, additionalMedia, }: VideoPlayerProps) => import("react/jsx-runtime").JSX.Element;
79
79
  //# sourceMappingURL=video.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../src/components/media/video-player/video.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWhE,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,CACV,QAAQ,EAAE;QACR,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;KACvB,EACD,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;IACV;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAE3C,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,uMAiBrB,gBAAgB,mDAgvBlB,CAAC"}
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../src/components/media/video-player/video.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWhE,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,CACV,QAAQ,EAAE;QACR,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;KACvB,EACD,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;IACV;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAE3C,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,uMAiBrB,gBAAgB,4CAgvBlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/post/post.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,iBAAiB;IACxD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,IAAI,8PAsBd,SAAS,4CA4aX,CAAC"}
1
+ {"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/post/post.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,iBAAiB;IACxD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,IAAI,8PAsBd,SAAS,4CAscX,CAAC"}
@@ -4,7 +4,7 @@ export declare const getMonthFirstDay: (month?: number, year?: number) => number
4
4
  export declare const isDate: (date: Date) => boolean;
5
5
  export declare const isSameMonth: (date: Date, basedate?: Date) => boolean;
6
6
  export declare const isSameDay: (date: Date, basedate?: Date) => boolean;
7
- export declare const getDateISO: (date?: Date) => string | null;
7
+ export declare const getDateISO: (date?: Date) => string;
8
8
  export declare const getPreviousMonth: (month: number, year: number) => {
9
9
  month: number;
10
10
  year: number;
@@ -1 +1 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,UAAW,MAAM,UAAU,MAAM,WAEpD,CAAC;AAEF,eAAO,MAAM,YAAY,WAChB,MAAM,SACP,MAAM,sBAWb,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAE5B,CAAC;AAEF,eAAO,MAAM,MAAM,SAAU,IAAI,YAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,IAAI,6BAOrC,CAAC;AAEF,eAAO,MAAM,SAAS,SAAU,IAAI,6BAanC,CAAC;AAEF,eAAO,MAAM,UAAU,gCAOtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,MAAM;;;CAI3D,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,MAAM;;;CAIvD,CAAC;AAEF,eAAO,MAAM,aAAa,4DA6BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAClB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,KAC9B,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,EAOvB,CAAC"}
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/utils/date.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,UAAW,MAAM,UAAU,MAAM,WAEpD,CAAC;AAEF,eAAO,MAAM,YAAY,WAChB,MAAM,SACP,MAAM,sBAWb,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAE5B,CAAC;AAEF,eAAO,MAAM,MAAM,SAAU,IAAI,YAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,IAAI,6BAOrC,CAAC;AAEF,eAAO,MAAM,SAAS,SAAU,IAAI,6BAanC,CAAC;AAEF,eAAO,MAAM,UAAU,yBAOtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,MAAM;;;CAI3D,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,MAAM;;;CAIvD,CAAC;AAEF,eAAO,MAAM,aAAa,4DA6BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAClB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,KAC9B,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,EAOvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.84",
3
+ "version": "2.14.86",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",
@@ -57,6 +57,8 @@
57
57
  },
58
58
  "scripts": {
59
59
  "build": "yarn rollup --config",
60
+ "build:refinery": "rollup --config",
61
+ "build:watch": "rollup --config --watch",
60
62
  "build:tailwind": "npx tailwindcss -i ./src/styles/globals.css -o ./dist/styles/output.css",
61
63
  "format": "prettier --write .",
62
64
  "storybook": "yarn build:tailwind && storybook dev -p 6006",