nuxt-glorious 0.8.8 → 0.8.9

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.8"
4
+ "version": "0.8.9"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { watch } from "#imports";
2
+ import { watch, onMounted } from "#imports";
3
3
  const props = defineProps({
4
4
  items: {
5
5
  required: true,
@@ -9,7 +9,7 @@ const props = defineProps({
9
9
  color: {
10
10
  required: false,
11
11
  default: "primary",
12
- type: String,
12
+ type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
13
13
  },
14
14
  placeholder: {
15
15
  required: false,
@@ -24,7 +24,7 @@ const props = defineProps({
24
24
  size: {
25
25
  required: false,
26
26
  default: "md",
27
- type: String,
27
+ type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
28
28
  },
29
29
  error: {
30
30
  required: false,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.8",
2
+ "version": "0.8.9",
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",