@moubing/bing-ui 0.9.3 → 0.10.0

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.
@@ -10,6 +10,7 @@ export interface BingTextareaProps {
10
10
  disabled?: boolean;
11
11
  readonly?: boolean;
12
12
  clearable?: boolean;
13
+ smoothCaret?: boolean;
13
14
  rows?: number;
14
15
  autosize?: BingTextareaAutosize;
15
16
  maxLength?: number;
@@ -24,6 +24,7 @@ declare const __VLS_export: import('vue').DefineComponent<BingTextareaProps, Bin
24
24
  modelValue: string;
25
25
  placeholder: string;
26
26
  clearable: boolean;
27
+ smoothCaret: boolean;
27
28
  clearAriaLabel: string;
28
29
  ariaDescribedby: string;
29
30
  status: "default" | "error" | "success" | "warning";
@@ -0,0 +1,3 @@
1
+ import { Ref } from 'vue';
2
+ /** 原生控件负责编辑和选区,装饰光标只跟随可准确测量的插入点。 */
3
+ export declare function useTextControlCaret(inputRef: Ref<HTMLInputElement | HTMLTextAreaElement | null>, layerRef: Ref<HTMLElement | null>, caretRef: Ref<HTMLElement | null>, enabled: () => boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moubing/bing-ui",
3
- "version": "0.9.3",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,3 +0,0 @@
1
- import { Ref } from 'vue';
2
- /** 真实 input 负责编辑和选区,装饰光标只跟随可准确测量的插入点。 */
3
- export declare function useInputCaret(inputRef: Ref<HTMLInputElement | null>, layerRef: Ref<HTMLElement | null>, caretRef: Ref<HTMLElement | null>, enabled: () => boolean): void;