@neatui/vue 2.0.17 → 2.0.19

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": "@neatui/vue",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "description": "basic component ui",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -106,6 +106,7 @@
106
106
 
107
107
  <style lang="scss">
108
108
  .iroute-view-dark {
109
+ pointer-events: auto;
109
110
  position: absolute;
110
111
  width: 100%;
111
112
  height: 100%;
@@ -113,14 +114,16 @@
113
114
  top: 0;
114
115
  }
115
116
  .iroute-view-body {
117
+ pointer-events: none;
118
+ position: relative;
119
+ display: flex;
116
120
  z-index: 1;
117
121
  flex: 1;
118
122
  overflow: hidden;
119
- }
120
-
121
- [am-mode='preview'] {
122
- .iroute-view-body > * {
123
- height: 100%;
123
+ width: 100%;
124
+ height: 100%;
125
+ & > * {
126
+ pointer-events: auto;
124
127
  }
125
128
  }
126
129
 
@@ -197,6 +200,10 @@
197
200
  [am-view][am-mode~='preview'] {
198
201
  overflow: hidden;
199
202
 
203
+ .iroute-view-body {
204
+ justify-content: end;
205
+ }
206
+
200
207
  @keyframes am-show-preview {
201
208
  0% {
202
209
  opacity: 0;
@@ -245,9 +252,6 @@
245
252
  align-items: stretch;
246
253
  align-content: space-between;
247
254
  pointer-events: none;
248
- & > * {
249
- pointer-events: auto;
250
- }
251
255
  }
252
256
  }
253
257
  &[am-view='list'],
@@ -281,6 +285,16 @@
281
285
  [am-view][am-mode~='pop-up'] {
282
286
  overflow: hidden;
283
287
 
288
+ .iroute-view-body {
289
+ position: relative;
290
+ display: flex;
291
+ flex-direction: column;
292
+ justify-content: center;
293
+ align-items: center;
294
+ align-content: center;
295
+ pointer-events: none;
296
+ }
297
+
284
298
  @keyframes am-show-pop-up {
285
299
  0% {
286
300
  opacity: 0;
@@ -332,9 +346,6 @@
332
346
  pointer-events: none;
333
347
  background-color: rgba(0, 0, 0, 0.5);
334
348
  transition: all 0.35s;
335
- & > * {
336
- pointer-events: auto;
337
- }
338
349
  }
339
350
  }
340
351
  &[am-view='list'],