nuxt-glorious 1.1.9-4 → 1.1.9-6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/module.json +1 -1
- package/dist/runtime/assets/style/components/buttons.css +4 -0
- package/dist/runtime/assets/style/components/modal.css +6 -6
- package/dist/runtime/components/G/Button.vue +4 -0
- package/dist/runtime/components/G/Modal.vue +6 -6
- package/dist/runtime/composables/useGloriousFetch.mjs +0 -2
- package/dist/runtime/utils/tailwindColor.mjs +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
@@ -31,15 +31,15 @@
|
|
31
31
|
.g-scafold-modal.close {
|
32
32
|
@apply hidden;
|
33
33
|
}
|
34
|
-
.g-scafold-modal.open {
|
35
|
-
animation: animation-mobile 0.3s normal forwards;
|
36
|
-
}
|
37
34
|
@screen md {
|
38
35
|
.g-scafold-modal.open {
|
39
|
-
animation:
|
36
|
+
animation: animationOpacity 0.2s normal forwards;
|
40
37
|
}
|
41
38
|
}
|
42
|
-
|
39
|
+
.g-scafold-modal.open {
|
40
|
+
animation: animationMobile 0.3s normal forwards;
|
41
|
+
}
|
42
|
+
@keyframes animationOpacity {
|
43
43
|
from {
|
44
44
|
opacity: 0;
|
45
45
|
}
|
@@ -47,7 +47,7 @@
|
|
47
47
|
opacity: 1;
|
48
48
|
}
|
49
49
|
}
|
50
|
-
@keyframes
|
50
|
+
@keyframes animationMobile {
|
51
51
|
from {
|
52
52
|
transform: translateY(100%);
|
53
53
|
}
|
@@ -72,6 +72,10 @@ const props = defineProps({
|
|
72
72
|
</template>
|
73
73
|
|
74
74
|
<style>
|
75
|
+
button:focus-visible {
|
76
|
+
@apply outline-none;
|
77
|
+
}
|
78
|
+
|
75
79
|
.xl.glorious-button-orange, .xl.glorious-button-blue, .xl.glorious-button-gray, .xl.glorious-button-red, .xl.glorious-button-primary {
|
76
80
|
@apply py-2.5;
|
77
81
|
}
|
@@ -150,15 +150,15 @@ watch(
|
|
150
150
|
.g-scafold-modal.close {
|
151
151
|
@apply hidden;
|
152
152
|
}
|
153
|
-
.g-scafold-modal.open {
|
154
|
-
animation: animation-mobile 0.3s normal forwards;
|
155
|
-
}
|
156
153
|
@screen md {
|
157
154
|
.g-scafold-modal.open {
|
158
|
-
animation:
|
155
|
+
animation: animationOpacity 0.2s normal forwards;
|
159
156
|
}
|
160
157
|
}
|
161
|
-
|
158
|
+
.g-scafold-modal.open {
|
159
|
+
animation: animationMobile 0.3s normal forwards;
|
160
|
+
}
|
161
|
+
@keyframes animationOpacity {
|
162
162
|
from {
|
163
163
|
opacity: 0;
|
164
164
|
}
|
@@ -166,7 +166,7 @@ watch(
|
|
166
166
|
opacity: 1;
|
167
167
|
}
|
168
168
|
}
|
169
|
-
@keyframes
|
169
|
+
@keyframes animationMobile {
|
170
170
|
from {
|
171
171
|
transform: translateY(100%);
|
172
172
|
}
|
@@ -21,8 +21,6 @@ export default function(url, options = defaultOptions) {
|
|
21
21
|
options.params = computeParams(options.params);
|
22
22
|
options.headers = { ...options.headers, ...computeAuth() };
|
23
23
|
if (options.bodyType === "formData") options.body = computeFormData(options);
|
24
|
-
if (options.bodyType === "normal" && Object.entries(options.body).length === 0)
|
25
|
-
delete options.body;
|
26
24
|
const opt = {
|
27
25
|
...options,
|
28
26
|
onRequest() {
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.1.9-
|
2
|
+
"version": "1.1.9-6",
|
3
3
|
"name": "nuxt-glorious",
|
4
4
|
"description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
|
5
5
|
"repository": "sajadhzj/nuxt-glorious",
|