@v1nt1248/3nclient-lib 0.3.18 → 0.3.20

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/README.md CHANGED
@@ -71,6 +71,7 @@ You can run the project as `pnpm dev` or `npm run dev`.
71
71
  - copyToClipboard
72
72
  - executeFunc
73
73
  - removeWhitespaceInString
74
+ - debounce
74
75
  - selection [UI]
75
76
  - markSearch [UI]
76
77
  - html2text [UI]
@@ -0,0 +1,5 @@
1
+ export declare const iconSizeByButtonSize: {
2
+ small: number;
3
+ regular: number;
4
+ large: number;
5
+ };
@@ -1,9 +1,11 @@
1
1
  import { VNode } from 'vue';
2
2
  export interface Ui3nButtonProps {
3
3
  /** Button type */
4
- type?: 'primary' | 'secondary' | 'tertiary' | 'icon' | 'custom';
4
+ type?: 'primary' | 'secondary' | 'tertiary' | 'outline' | 'icon' | 'custom';
5
5
  /** Button size */
6
- size?: 'regular' | 'small';
6
+ size?: 'small' | 'regular' | 'large';
7
+ /** The unrounded button */
8
+ square?: boolean;
7
9
  /** Whether to stretch the button to the full width of the parent block */
8
10
  block?: boolean;
9
11
  /** Button text color */
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nButtonProps, {}
21
21
  onFocus?: ((value: Event) => any) | undefined;
22
22
  onInit?: ((value: HTMLButtonElement) => any) | undefined;
23
23
  }>, {
24
- size: "regular" | "small";
25
- type: "primary" | "secondary" | "tertiary" | "icon" | "custom";
24
+ size: "small" | "regular" | "large";
25
+ type: "primary" | "secondary" | "tertiary" | "outline" | "icon" | "custom";
26
26
  disabled: boolean;
27
27
  iconPosition: "left" | "right";
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -12,6 +12,11 @@ export interface Ui3nInputProps {
12
12
  * @default 'text'
13
13
  */
14
14
  type?: 'text' | 'password';
15
+ /**
16
+ * Input field size (height)
17
+ * @default 'regular'
18
+ */
19
+ size?: 'regular' | 'large';
15
20
  /**
16
21
  * Input placeholder
17
22
  */
@@ -40,7 +40,24 @@ declare const _default: import('vue').DefineComponent<Ui3nInputProps, {
40
40
  onClear?: (() => any) | undefined;
41
41
  onEscape?: ((value: Event) => any) | undefined;
42
42
  "onUpdate:valid"?: ((value: boolean) => any) | undefined;
43
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
+ }>, {
44
+ icon: string;
45
+ size: "regular" | "large";
46
+ type: "text" | "password";
47
+ label: string;
48
+ disabled: boolean;
49
+ iconColor: string;
50
+ placeholder: string;
51
+ modelValue: string;
52
+ clearable: boolean;
53
+ autofocus: boolean;
54
+ rules: Array<(v: unknown) => boolean | string>;
55
+ validateAtStartup: boolean;
56
+ hideBottomSpace: boolean;
57
+ displayStateMode: "error" | "success";
58
+ displayStateWithIcon: boolean;
59
+ displayStateMessage: string;
60
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
44
61
  inputElement: HTMLInputElement;
45
62
  }, HTMLDivElement>;
46
63
  export default _default;