@webhandle/tree-file-browser 1.0.0 → 1.0.2

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.
@@ -10,4 +10,4 @@ export let imageBrowserFrame = t3
10
10
  export let variantChoiceBox = t4
11
11
  export let extensionPill = t5
12
12
  export let guidedImageUploadForm = t6
13
- export let guidedFileUploadForm = t7
13
+ export let guidedFileUploadForm = t7
@@ -24,6 +24,10 @@
24
24
  On screen width (px):
25
25
  <input name="width" type="number" />
26
26
  </label>
27
+ <label>
28
+ Output quality (0 to 1):
29
+ <input name="quality" value="0.7" type="number" min="0" max="1" step=".01" />
30
+ </label>
27
31
 
28
32
  <label>
29
33
  Alt text:
@@ -68,6 +68,9 @@
68
68
  </span>
69
69
  </button>
70
70
  </div>
71
+ <div class="folder-info">
72
+
73
+ </div>
71
74
 
72
75
  </div>
73
76
  </div>
@@ -1,7 +1,7 @@
1
1
  <div class="variant-choice-box">
2
2
  <div class="img">
3
3
  __!this.thumbnail??'<span class="material-icons thumbnail-icon">' + thumbnailIcon + '</span>'__
4
- __this.thumbnail??'<img class="thumbnail-image" src="' + thumbnail + '" />'__
4
+ __this.thumbnail??'<img loading="lazy" class="thumbnail-image" src="' + safeThumbnail + '" />'__
5
5
  </div>
6
6
  <div class="size-line">
7
7
  __size__
@@ -9,7 +9,7 @@
9
9
  <div class="bottom">
10
10
  <div class="content">
11
11
  <div class="basename">
12
- __baseName__
12
+ __safeBaseName__
13
13
  </div>
14
14
  <div class="extensions">
15
15
  __extensions::./extension-pill__