@wyxos/vibe 1.6.20 → 1.6.22
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/lib/index.js +961 -836
- package/lib/vibe.css +1 -1
- package/package.json +1 -1
- package/src/Masonry.vue +1646 -1566
- package/src/components/MasonryItem.vue +4 -1
- package/src/pages.json +16472 -16472
- package/src/useMasonryScroll.ts +60 -60
- package/src/useMasonryTransitions.ts +52 -1
- package/src/useSwipeMode.ts +233 -0
- package/src/utils/errorHandler.ts +8 -0
|
@@ -392,7 +392,10 @@ watch(
|
|
|
392
392
|
>
|
|
393
393
|
<!-- Media type indicator badge - shown BEFORE preloading starts -->
|
|
394
394
|
<div class="w-12 h-12 rounded-full bg-white/80 backdrop-blur-sm flex items-center justify-center shadow-sm">
|
|
395
|
-
|
|
395
|
+
<!-- Allow custom icon via slot, fallback to default -->
|
|
396
|
+
<slot name="placeholder-icon" :mediaType="mediaType">
|
|
397
|
+
<i :class="mediaType === 'video' ? 'fas fa-video text-xl text-slate-400' : 'fas fa-image text-xl text-slate-400'"></i>
|
|
398
|
+
</slot>
|
|
396
399
|
</div>
|
|
397
400
|
</div>
|
|
398
401
|
|