sprintify-ui 0.6.40 → 0.6.41

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.
@@ -54,6 +54,8 @@ declare const _default: import("vue").DefineComponent<{
54
54
  focus: typeof focus;
55
55
  blur: typeof blur;
56
56
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ blur: (...args: any[]) => void;
58
+ focus: (...args: any[]) => void;
57
59
  "update:modelValue": (...args: any[]) => void;
58
60
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
61
  modelValue: {
@@ -105,6 +107,8 @@ declare const _default: import("vue").DefineComponent<{
105
107
  type: BooleanConstructor;
106
108
  };
107
109
  }>> & {
110
+ onFocus?: ((...args: any[]) => any) | undefined;
111
+ onBlur?: ((...args: any[]) => any) | undefined;
108
112
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109
113
  }, {
110
114
  class: string | string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.40",
3
+ "version": "0.6.41",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -11,6 +11,8 @@
11
11
  :autocomplete="autocomplete ? 'on' : 'off'"
12
12
  :class="classes"
13
13
  @input="emitUpdate(transformInputValue($event))"
14
+ @blur="$emit('blur')"
15
+ @focus="$emit('focus')"
14
16
  />
15
17
  </template>
16
18
 
@@ -76,7 +78,7 @@ const props = defineProps({
76
78
  },
77
79
  });
78
80
 
79
- const emit = defineEmits(['update:modelValue']);
81
+ const emit = defineEmits(['update:modelValue', 'blur', 'focus']);
80
82
 
81
83
  const { nameInternal, requiredInternal, hasErrorInternal, emitUpdate, sizeInternal } =
82
84
  useField({