nuxt-glorious 0.8.6 → 0.8.7

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": "0.8.6"
4
+ "version": "0.8.7"
5
5
  }
@@ -3,12 +3,12 @@ const props = defineProps({
3
3
  color: {
4
4
  required: false,
5
5
  default: "primary",
6
- type: String,
6
+ type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
7
7
  },
8
8
  size: {
9
9
  required: false,
10
10
  default: "md",
11
- type: String,
11
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
12
12
  },
13
13
  outline: {
14
14
  required: false,
@@ -33,7 +33,7 @@ onMounted(() => {
33
33
  >
34
34
   
35
35
  </button>
36
- <GIcon :name="props.icon" :color="$tailwindColor('gray', '500')" />
36
+ <GIcon :name="props.icon" color="#000" />
37
37
  </div>
38
38
  <div>
39
39
  <slot />
@@ -13,12 +13,12 @@ const props = defineProps({
13
13
  },
14
14
  placeholder: {
15
15
  required: false,
16
- default: "",
16
+ default: "choose file",
17
17
  type: String,
18
18
  },
19
19
  title: {
20
20
  required: false,
21
- default: "",
21
+ default: "file",
22
22
  type: String,
23
23
  },
24
24
  size: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.6",
2
+ "version": "0.8.7",
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",