adminforth 2.4.0-next.10 → 2.4.0-next.11

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.
@@ -5,13 +5,15 @@
5
5
  @dragleave.prevent="dragging = false"
6
6
  @drop.prevent="dragging = false; doEmit($event.dataTransfer.files)"
7
7
  >
8
- <label :id="id" class="flex flex-col items-center justify-center w-full h-32 border-2 border-dashed rounded-lg cursor-pointer dark:hover:bg-gray-800
8
+ <label :id="id" class="flex flex-col items-center justify-center w-full border-2 border-dashed rounded-lg cursor-pointer dark:hover:bg-gray-800
9
9
  hover:bg-gray-100 dark:hover:border-gray-500 dark:hover:bg-gray-600"
10
10
  :class="{
11
11
  'border-blue-600 dark:border-blue-400': dragging,
12
12
  'border-gray-300 dark:border-gray-600': !dragging,
13
13
  'bg-blue-50 dark:bg-blue-800': dragging,
14
14
  'bg-gray-50 dark:bg-gray-800': !dragging,
15
+ 'min-h-32 h-full': props.multiple,
16
+ 'h-32': !props.multiple,
15
17
  }"
16
18
  >
17
19
  <div class="flex flex-col items-center justify-center pt-5 pb-6">
@@ -20,7 +22,7 @@
20
22
  <svg v-if="!selectedFiles.length" class="w-8 h-8 mb-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 16">
21
23
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"/>
22
24
  </svg>
23
- <div v-else class="flex items-center justify-center w-full mt-1 mb-4">
25
+ <div v-else class="flex items-center justify-center flex-wrap gap-1 w-full mt-1 mb-4">
24
26
  <template v-for="file in selectedFiles">
25
27
  <p class="text-sm text-gray-500 dark:text-gray-400 flex items-center gap-1">
26
28
  <IconFileSolid class="w-5 h-5" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.10",
3
+ "version": "2.4.0-next.11",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",