nuxt-glorious 1.1.9-4 → 1.1.9-5

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-5"
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
  }
@@ -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
  }
@@ -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-5",
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",