@v1nt1248/3nclient-lib 0.2.85 → 0.2.86

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
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.2.85",
5
+ "version": "0.2.86",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -35,4 +35,5 @@ export interface Ui3nDialogComponentSlots {
35
35
  header?: () => VNode;
36
36
  body: () => VNode;
37
37
  actions?: () => VNode;
38
+ loading?: () => VNode;
38
39
  }
@@ -214,6 +214,12 @@
214
214
  <slot name="actions" />
215
215
  </div>
216
216
 
217
+ <div
218
+ v-if="$slots['loading']"
219
+ :class="$style.loading"
220
+ >
221
+ <slot name="loading" />
222
+ </div>
217
223
 
218
224
  <ui3n-button
219
225
  :class="$style.closeBtn"
@@ -231,16 +237,6 @@
231
237
  <style lang="scss" module>
232
238
  @use '../../assets/styles/mixins' as mixins;
233
239
 
234
- .modal-overlay {
235
- position: fixed;
236
- z-index: 1000;
237
- inset: 0;
238
- display: flex;
239
- justify-content: center;
240
- align-items: center;
241
- background-color: var(--shadow-close);
242
- }
243
-
244
240
  .dialog {
245
241
  --ui3n-dialog-border-radius: 8px;
246
242
  --ui3n-dialog-title-height: 48px;
@@ -325,4 +321,13 @@
325
321
  align-items: center;
326
322
  gap: var(--spacing-s);
327
323
  }
324
+
325
+ .loading {
326
+ position: absolute;
327
+ inset: 0;
328
+ z-index: 1;
329
+ display: flex;
330
+ justify-content: center;
331
+ align-items: center;
332
+ }
328
333
  </style>