nostr-blog-widget 0.3.3 → 0.3.5

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.
@@ -1,3 +1,3 @@
1
- /*! Nostr Blog Widget v0.3.2 | https://github.com/bigmarh/nostr-blog-widget */
1
+ /*! Nostr Blog Widget v0.3.5 | https://github.com/bigmarh/nostr-blog-widget */
2
2
  "use strict";(this.webpackChunkNostrBlog=this.webpackChunkNostrBlog||[]).push([[485],{485(n,r,e){e.d(r,{Navigation:()=>s});var t=e(35),b=e(701),o=(0,t.vs)('<nav class=nbw-space-y-2><a href=#/ class="nbw-block nbw-px-4 nbw-py-2 nbw-rounded nbw-transition-colors hover:nbw-bg-gray-100 nbw-text-gray-900 nbw-no-underline">Home</a><div class="nbw-border-t nbw-border-gray-200 nbw-my-2">'),a=(0,t.vs)('<a class="nbw-block nbw-px-4 nbw-py-2 nbw-rounded nbw-transition-colors hover:nbw-bg-gray-100 nbw-text-gray-700 nbw-no-underline nbw-text-sm">');const s=n=>(()=>{var r=o(),e=r.firstChild;e.nextSibling;return e.$$click=r=>{r.preventDefault(),n.onHome()},(0,t.Yr)(r,(0,b.a0)(b.a,{get each(){return n.posts},children:r=>{return(e=a()).$$click=e=>{e.preventDefault(),n.onNavigate(r.id)},(0,t.Yr)(e,()=>r.title),(0,b.gb)(b=>{var o=`#/post/${r.id}`,a={"nbw-bg-gray-200 nbw-font-semibold":n.currentPostId===r.id};return o!==b.e&&(0,t.Bq)(e,"href",b.e=o),b.t=(0,t.pP)(e,a,b.t),b},{e:void 0,t:void 0}),e;var e}}),null),(0,b.gb)(r=>(0,t.pP)(e,{"nbw-bg-gray-200 nbw-font-semibold":!n.currentPostId},r)),r})();(0,t.z_)(["click"])}}]);
3
3
  //# sourceMappingURL=485.nostr-blog.js.map
@@ -1,4 +1,4 @@
1
- /*! Nostr Blog Widget v0.3.2 | https://github.com/bigmarh/nostr-blog-widget */
1
+ /*! Nostr Blog Widget v0.3.5 | https://github.com/bigmarh/nostr-blog-widget */
2
2
  *, ::before, ::after {
3
3
  --tw-border-spacing-x: 0;
4
4
  --tw-border-spacing-y: 0;