nuxt-hs-ui 2.1.16 → 2.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.1.16",
7
+ "version": "2.1.17",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -42,7 +42,7 @@ type Props = {
42
42
  | "decimal"
43
43
  | undefined;
44
44
  // ----------------------------------------------------------------------------
45
- data: string;
45
+ data: string | null;
46
46
  diff?: string | undefined;
47
47
  tabindex?: string | undefined;
48
48
  // ----------------------------------------------------------------------------
@@ -173,7 +173,7 @@ const updateValue = async (text: string | null) => {
173
173
  state.value = setText;
174
174
  emit("update:data", setText);
175
175
  await nextTick();
176
- emit("value-change", setText, before);
176
+ emit("value-change", setText, before || "");
177
177
  };
178
178
 
179
179
  const setValue = (text: string | null) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",