@fy-/fws-vue 0.3.51 → 0.3.52

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.
@@ -26,7 +26,7 @@ const props = withDefaults(
26
26
  onClose?: Function;
27
27
  closeIcon?: Object;
28
28
  gridHeight?: number;
29
- mode: "mason" | "grid" | "button" | "hidden";
29
+ mode: "mason" | "grid" | "button" | "hidden" | "custom";
30
30
  paging?: APIPaging | undefined;
31
31
  buttonText?: string;
32
32
  buttonType?: string;
@@ -307,12 +307,14 @@ onUnmounted(() => {
307
307
  </DialogPanel>
308
308
  </Dialog>
309
309
  </TransitionRoot>
310
- <template v-if="mode == 'grid' || mode == 'mason'">
310
+ <template v-if="mode == 'grid' || mode == 'mason' || mode == 'custom'">
311
311
  <div
312
- class="grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4"
313
312
  :class="{
314
- 'items-start': mode == 'mason',
315
- 'items-center': mode == 'grid',
313
+ 'grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-start':
314
+ mode == 'mason',
315
+ 'grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-center':
316
+ mode == 'grid',
317
+ 'custom-grid': mode == 'custom',
316
318
  }"
317
319
  >
318
320
  <template v-for="i in images.length" :key="`g_${id}_${i}`">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.3.51",
3
+ "version": "0.3.52",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {