nuxt-glorious 0.8.7 → 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.7"
4
+ "version": "0.8.8"
5
5
  }
@@ -2,14 +2,13 @@
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,
@@ -24,7 +23,7 @@ const props = defineProps({
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.7",
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",