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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.1.9-4"
4
+ "version": "1.1.9-6"
5
5
  }
@@ -1,3 +1,7 @@
1
+ button:focus-visible {
2
+ @apply outline-none;
3
+ }
4
+
1
5
  .xl.glorious-button-orange, .xl.glorious-button-blue, .xl.glorious-button-gray, .xl.glorious-button-red, .xl.glorious-button-primary {
2
6
  @apply py-2.5;
3
7
  }
@@ -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: animation-opacity 0.2s normal forwards;
36
+ animation: animationOpacity 0.2s normal forwards;
40
37
  }
41
38
  }
42
- @keyframes animation-opacity {
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 animation-mobile {
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: animation-opacity 0.2s normal forwards;
155
+ animation: animationOpacity 0.2s normal forwards;
159
156
  }
160
157
  }
161
- @keyframes animation-opacity {
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 animation-mobile {
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() {
@@ -1,5 +1,6 @@
1
1
  import colors from "tailwindcss/colors";
2
2
  export default function tailwindColor(name, range) {
3
3
  const tailwindColor2 = colors;
4
+ console.log(colors);
4
5
  return tailwindColor2[name][range];
5
6
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.9-4",
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",