nuxt-glorious 1.2.3-5 → 1.2.3-6

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": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.2.3-5"
4
+ "version": "1.2.3-6"
5
5
  }
@@ -7,29 +7,34 @@ const props = defineProps({
7
7
  },
8
8
  color: {
9
9
  required: false,
10
- default: "green",
11
- type: String as () => "orange" | "blue" | "gray" | "red" | "green",
10
+ default: 'green',
11
+ type: String as () => 'orange' | 'blue' | 'gray' | 'red' | 'green',
12
12
  },
13
13
  size: {
14
14
  required: false,
15
- default: "md",
16
- type: String as () => "xl" | "lg" | "md" | "sm" | "xs",
15
+ default: 'md',
16
+ type: String as () => 'xl' | 'lg' | 'md' | 'sm' | 'xs',
17
17
  },
18
18
  disabled: {
19
19
  required: false,
20
20
  default: false,
21
21
  type: Boolean,
22
22
  },
23
- });
23
+ })
24
24
 
25
- const emits = defineEmits(["update:modelValue"]);
25
+ const emits = defineEmits(['update:modelValue'])
26
26
 
27
27
  const inputFunction = (event: any) =>
28
- emits("update:modelValue", event.currentTarget.checked);
28
+ emits('update:modelValue', event.currentTarget.checked)
29
+
30
+ emits('update:modelValue', false)
29
31
  </script>
30
32
 
31
33
  <template>
32
- <label class="glorious-checkbox" :class="[props.color, `size-${props.size}`]">
34
+ <label
35
+ class="glorious-checkbox"
36
+ :class="[props.color, `size-${props.size}`]"
37
+ >
33
38
  <input
34
39
  type="checkbox"
35
40
  :disabled="props.disabled"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.3-5",
2
+ "version": "1.2.3-6",
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",