nuxt-glorious 1.1.2 → 1.1.4

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": "1.1.2"
4
+ "version": "1.1.4"
5
5
  }
@@ -77,6 +77,19 @@ const props = defineProps({
77
77
  default: "",
78
78
  type: String as () => "price",
79
79
  },
80
+ inputMode: {
81
+ required: false,
82
+ default: "text",
83
+ type: String as () =>
84
+ | "text"
85
+ | "none"
86
+ | "decimal"
87
+ | "numeric"
88
+ | "tel"
89
+ | "search"
90
+ | "email"
91
+ | "url",
92
+ },
80
93
  });
81
94
 
82
95
  const inputValue: any = ref(null);
@@ -177,6 +190,7 @@ const typeInput = ref(props.type);
177
190
  <div class="relative">
178
191
  <input
179
192
  v-model="inputValue"
193
+ :inputmode="props.inputMode"
180
194
  :autocomplete="props.autocomplete"
181
195
  class="w-full"
182
196
  :class="[
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.2",
2
+ "version": "1.1.4",
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",
@@ -22,7 +22,7 @@
22
22
  "dev": "nuxi dev playground",
23
23
  "dev:build": "nuxi build playground",
24
24
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
25
- "release": "npm run prepack && changelogen --release && npm publish && git push --follow-tags",
25
+ "release": "npm run prepack && npm publish",
26
26
  "lint": "eslint .",
27
27
  "test": "vitest run",
28
28
  "test:watch": "vitest watch"
@@ -50,4 +50,4 @@
50
50
  "overrides": {
51
51
  "vue": "latest"
52
52
  }
53
- }
53
+ }