@maas/vue-equipment 0.11.4 → 0.11.5
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/dist/nuxt/module.json
CHANGED
|
@@ -131,8 +131,8 @@ watch(
|
|
|
131
131
|
--magic-toast-padding-y: 1rem;
|
|
132
132
|
|
|
133
133
|
--mt-multiplier: 1;
|
|
134
|
-
--mt-
|
|
135
|
-
--mt-
|
|
134
|
+
--mt-align-items: flex-start;
|
|
135
|
+
--mt-justify-content: center;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.magic-toast {
|
|
@@ -156,12 +156,9 @@ watch(
|
|
|
156
156
|
max-height: 100%;
|
|
157
157
|
width: 100%;
|
|
158
158
|
height: 100%;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
transform: translateX(var(--mt-transform-x, -50%))
|
|
163
|
-
translateY(var(--mt-transform-y, -50%));
|
|
164
|
-
}
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: var(--mt-align-items);
|
|
161
|
+
justify-content: var(--mt-justify-content);
|
|
165
162
|
}
|
|
166
163
|
|
|
167
164
|
.magic-toast__inner * {
|
|
@@ -174,10 +171,9 @@ watch(
|
|
|
174
171
|
--magic-toast-transform-y: 10;
|
|
175
172
|
--magic-toast-enter-animation: slide-ttb-in 300ms ease;
|
|
176
173
|
--mt-multiplier: 1;
|
|
177
|
-
& .magic-
|
|
178
|
-
top: 0;
|
|
174
|
+
& .magic-toast__inner {
|
|
179
175
|
padding-top: var(--magic-toast-padding-y, 1rem);
|
|
180
|
-
--mt-
|
|
176
|
+
--mt-align-items: flex-start;
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
|
|
@@ -187,43 +183,40 @@ watch(
|
|
|
187
183
|
--magic-toast-transform-y: 10;
|
|
188
184
|
--magic-toast-enter-animation: slide-btt-in 300ms ease;
|
|
189
185
|
--mt-multiplier: -1;
|
|
190
|
-
& .magic-
|
|
191
|
-
top: unset;
|
|
192
|
-
bottom: 0;
|
|
186
|
+
& .magic-toast__inner {
|
|
193
187
|
padding-bottom: var(--magic-toast-padding-y, 1rem);
|
|
194
|
-
--mt-
|
|
188
|
+
--mt-align-items: flex-end;
|
|
195
189
|
}
|
|
196
190
|
}
|
|
197
191
|
|
|
198
192
|
.magic-toast.-top-left,
|
|
199
193
|
.magic-toast.-bottom-left {
|
|
200
|
-
& .magic-
|
|
201
|
-
left: 0;
|
|
194
|
+
& .magic-toast__inner {
|
|
202
195
|
padding-left: var(--magic-toast-padding-x, 1rem);
|
|
203
|
-
--mt-
|
|
196
|
+
--mt-justify-content: flex-start;
|
|
204
197
|
}
|
|
205
198
|
}
|
|
206
199
|
|
|
207
200
|
.magic-toast.-top-right,
|
|
208
201
|
.magic-toast.-bottom-right {
|
|
209
|
-
& .magic-
|
|
210
|
-
left: unset;
|
|
211
|
-
right: 0;
|
|
202
|
+
& .magic-toast__inner {
|
|
212
203
|
padding-right: var(--magic-toast-padding-x, 1rem);
|
|
213
|
-
--mt-
|
|
204
|
+
--mt-justify-content: flex-end;
|
|
214
205
|
}
|
|
215
206
|
}
|
|
216
207
|
|
|
217
208
|
.magic-toast.-from-left {
|
|
218
209
|
--magic-toast-enter-animation: slide-ltr-in 300ms ease;
|
|
219
210
|
--magic-toast-transform-y: 0;
|
|
220
|
-
--magic-toast-transform-x:
|
|
211
|
+
--magic-toast-transform-x: 30;
|
|
212
|
+
--mt-multiplier: 1;
|
|
221
213
|
}
|
|
222
214
|
|
|
223
215
|
.magic-toast.-from-right {
|
|
224
216
|
--magic-toast-enter-animation: slide-rtl-in 300ms ease;
|
|
225
217
|
--magic-toast-transform-y: 0;
|
|
226
218
|
--magic-toast-transform-x: 30;
|
|
219
|
+
--mt-multiplier: -1;
|
|
227
220
|
}
|
|
228
221
|
|
|
229
222
|
.magic-toast--list-enter-active {
|
|
@@ -91,11 +91,12 @@ watchEffect(() => {
|
|
|
91
91
|
|
|
92
92
|
.magic-toast-component.expanded {
|
|
93
93
|
--mt-matrix-scale: 1;
|
|
94
|
-
--mt-matrix-transform-y: calc(
|
|
94
|
+
--mt-matrix-transform-y: calc(var(--mt-offset) * var(--mt-multiplier));
|
|
95
95
|
--mt-matrix-transform-x: 0;
|
|
96
96
|
&:not(:last-child) {
|
|
97
97
|
& .magic-toast-component__inner {
|
|
98
98
|
padding-bottom: calc(var(--magic-toast-gap) * var(--mt-index));
|
|
99
|
+
padding-top: calc(var(--magic-toast-gap) * var(--mt-index));
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.5",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@antfu/ni": "^0.21.5",
|