nuxt-glorious 0.8.6 → 0.8.8

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.8"
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 />
@@ -2,29 +2,28 @@
2
2
  import { GloriousStore } from "#imports";
3
3
  const props = defineProps({
4
4
  modelValue: {
5
- required: false,
6
- default: "",
5
+ required: true,
7
6
  type: [String, Object],
8
7
  },
9
8
  color: {
10
9
  required: false,
11
10
  default: "primary",
12
- type: String,
11
+ type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
13
12
  },
14
13
  placeholder: {
15
14
  required: false,
16
- default: "",
15
+ default: "choose file",
17
16
  type: String,
18
17
  },
19
18
  title: {
20
19
  required: false,
21
- default: "",
20
+ default: "file",
22
21
  type: String,
23
22
  },
24
23
  size: {
25
24
  required: false,
26
25
  default: "md",
27
- type: String,
26
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
28
27
  },
29
28
  error: {
30
29
  required: false,
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  color: {
11
11
  required: false,
12
12
  default: "primary",
13
- type: String,
13
+ type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
14
14
  },
15
15
  placeholder: {
16
16
  required: false,
@@ -25,7 +25,7 @@ const props = defineProps({
25
25
  size: {
26
26
  required: false,
27
27
  default: "md",
28
- type: String,
28
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
29
29
  },
30
30
  error: {
31
31
  required: false,
@@ -7,8 +7,8 @@ const props = defineProps({
7
7
  },
8
8
  size: {
9
9
  required: false,
10
- default: "md", //[sm,md,lg,xl,full]
11
- type: String,
10
+ default: "md",
11
+ type: String as () => "xl" | "lg" | "md" | "sm" | "full",
12
12
  },
13
13
  title: {
14
14
  required: false,
@@ -60,7 +60,6 @@ const arrowNext = () => {
60
60
  v-if="props.currentPage && props.lastPage !== 1"
61
61
  class="w-max glorious-paginate"
62
62
  >
63
- ds
64
63
  <div>
65
64
  <GIcon
66
65
  :color="props.currentPage !== 1 ? '#000' : '#cbd5e1'"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.6",
2
+ "version": "0.8.8",
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",