@neuctra/cms-core 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -235,7 +235,6 @@ React keys must be passed directly to JSX without using spread:
235
235
  * This source code is licensed under the ISC license.
236
236
  * See the LICENSE file in the root directory of this source tree.
237
237
  */const Kf=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],Xf=Z("underline",Kf),Zf=e=>{switch(e){case"text":return{id:crypto.randomUUID(),type:"text",content:""};case"heading":return{id:crypto.randomUUID(),type:"heading",content:"",level:"h1"};case"image":return{id:crypto.randomUUID(),type:"image",url:"",caption:"",width:"100%",height:400,radius:24,opacity:1,objectFit:"cover"};case"code":return{id:crypto.randomUUID(),type:"code",language:"javascript",content:""};case"table":return{id:crypto.randomUUID(),type:"table",headers:["Column 1","Column 2"],rows:[["",""],["",""]]};default:return null}},rp=({value:e="",className:t=""})=>e&&e.replace(/<p><br><\/p>|<p><\/p>|<br>/gi,"").trim()?f.jsx("div",{className:`
238
- px-5 py-2
239
238
  prose prose-invert max-w-none
240
239
  prose-p:text-white/75
241
240
  prose-p:leading-8