@redseed/redseed-ui-vue3 2.25.3 → 2.25.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "2.25.3",
3
+ "version": "2.25.4",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -154,10 +154,10 @@ function removeAction() {
154
154
  </slot>
155
155
  </div>
156
156
 
157
- <div v-if="stateSuccess && $slots['state-file-size']"
158
- class="rsui-form-field-uploader__state-file-size"
157
+ <div v-if="(stateSuccess || hasMedia) && $slots['file-size']"
158
+ class="rsui-form-field-uploader__file-size"
159
159
  >
160
- <slot name="state-file-size"></slot>
160
+ <slot name="file-size"></slot>
161
161
  </div>
162
162
 
163
163
  <div v-if="!stateSuccess"
@@ -221,7 +221,7 @@ function removeAction() {
221
221
  @apply line-clamp-2;
222
222
  }
223
223
 
224
- &__state-file-size {
224
+ &__file-size {
225
225
  @apply shrink-0 text-rsui-medium;
226
226
  }
227
227